Skip to content

Instantly share code, notes, and snippets.

@shrutiburman
Last active December 1, 2022 10:45
Show Gist options
  • Save shrutiburman/10e05cba2314511617794d344f8d2788 to your computer and use it in GitHub Desktop.
Save shrutiburman/10e05cba2314511617794d344f8d2788 to your computer and use it in GitHub Desktop.
This gist skips GeneratingChangelog to get to the release step. Files: client.rb & log.sh gist
# cd /twilio/repos/ruby-oai/lib/twilio-ruby/rest
# cat client.rb
##
# This code was generated by
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
#
# NOTE: This class is auto generated by OpenAPI Generator.
# https://openapi-generator.tech
# Do not edit the class manually.
module Twilio
module REST
##
# A client for accessing the Twilio API.
class Client
@@default_region = 'us1'
attr_accessor :http_client, :username, :password, :account_sid, :auth_token, :region, :edge, :logger, :user_agent_extensions
##
# Initializes the Twilio Client
def initialize(username=nil, password=nil, account_sid=nil, region=nil, http_client=nil, logger=nil, user_agent_extensions=nil)
@username = username || Twilio.account_sid
@password = password || Twilio.auth_token
@region = region || Twilio.region
@edge = Twilio.edge
@account_sid = account_sid || @username
@auth_token = @password
@auth = [@username, @password]
@http_client = http_client || Twilio.http_client || Twilio::HTTP::Client.new
@logger = logger || Twilio.logger
@user_agent_extensions = user_agent_extensions || []
# Domains
@accounts = nil
@api = nil
@autopilot = nil
@bulkexports = nil
@chat = nil
@content = nil
@conversations = nil
@events = nil
@flexApi = nil
@frontlineApi = nil
@insights = nil
@ipMessaging = nil
@lookups = nil
@media = nil
@messaging = nil
@microvisor = nil
@monitor = nil
@notify = nil
@numbers = nil
@oauth = nil
@preview = nil
@pricing = nil
@proxy = nil
@routes = nil
@serverless = nil
@studio = nil
@supersim = nil
@sync = nil
@taskrouter = nil
@trunking = nil
@trusthub = nil
@verify = nil
@video = nil
@voice = nil
@wireless = nil
end
##
# Makes a request to the Twilio API using the configured http client
# Authentication information is automatically added if none is provided
def request(host, port, method, uri, params={}, data={}, headers={}, auth=nil, timeout=nil)
auth ||= @auth
ruby_config = RbConfig::CONFIG
headers['User-Agent'] = "twilio-ruby/#{Twilio::VERSION} (#{ruby_config["host_os"]} #{ruby_config["host_cpu"]}) Ruby/#{RUBY_VERSION}"
headers['Accept-Charset'] = 'utf-8'
user_agent_extensions.each { |extension| headers['User-Agent'] += " #{extension}" }
if method == 'POST' && !headers['Content-Type']
headers['Content-Type'] = 'application/x-www-form-urlencoded'
end
unless headers['Accept']
headers['Accept'] = 'application/json'
end
uri = build_uri(uri)
if @logger
@logger.debug("--BEGIN Twilio API Request--")
@logger.debug("Request Method: <#{method}>")
headers.each do |key, value|
unless key.downcase == 'authorization'
@logger.debug("#{key}:#{value}")
end
end
url = URI(uri)
@logger.debug("Host:#{url.host}")
@logger.debug("Path:#{url.path}")
@logger.debug("Query:#{url.query}")
@logger.debug("Request Params:#{params}")
end
response = @http_client.request(
host,
port,
method,
uri,
params,
data,
headers,
auth,
timeout
)
if @logger
@logger.debug("Response Status Code:#{response.status_code}")
@logger.debug("Response Headers:#{response.headers}")
@logger.debug("--END TWILIO API REQUEST--")
end
response
end
##
# Build the final request uri
def build_uri(uri)
if @region.nil? and @edge.nil?
return uri
end
parsed_url = URI(uri)
pieces = parsed_url.host.split('.')
product = pieces[0]
domain = pieces[-2, 2]
new_edge = @edge
new_region = @region
if pieces.length == 4
new_region ||= pieces[1]
elsif pieces.length == 5
new_edge ||= pieces[1]
new_region ||= pieces[2]
end
if !new_edge.nil? && new_region.nil?
new_region = @@default_region
end
parsed_url.host = [product, new_edge, new_region, domain].select {|item| !item.nil?}.join('.')
parsed_url.to_s
end
##
# Validate the new SSL certificate for the Twilio API
def validate_ssl_certificate
response = request('api.twilio.com', '8443', 'GET', 'https://api.twilio.com:8443/.json')
if response.status_code < 200 || response.status_code >= 300
raise RestError.new 'Unexpected response from certificate endpoint', response
end
end
##
# Access the Accounts Twilio Domain
def accounts
@accounts ||= Accounts.new self
end
##
# Access the Api Twilio Domain
def api
@api ||= Api.new self
end
##
# Access the Autopilot Twilio Domain
def autopilot
@autopilot ||= Autopilot.new self
end
##
# Access the Bulkexports Twilio Domain
def bulkexports
@bulkexports ||= Bulkexports.new self
end
##
# Access the Chat Twilio Domain
def chat
@chat ||= Chat.new self
end
##
# Access the Content Twilio Domain
def content
@content ||= Content.new self
end
##
# Access the Conversations Twilio Domain
def conversations
@conversations ||= Conversations.new self
end
##
# Access the Events Twilio Domain
def events
@events ||= Events.new self
end
##
# Access the FlexApi Twilio Domain
def flexApi
@flexApi ||= FlexApi.new self
end
##
# Access the FrontlineApi Twilio Domain
def frontlineApi
@frontlineApi ||= FrontlineApi.new self
end
##
# Access the Insights Twilio Domain
def insights
@insights ||= Insights.new self
end
##
# Access the IpMessaging Twilio Domain
def ipMessaging
@ipMessaging ||= IpMessaging.new self
end
##
# Access the Lookups Twilio Domain
def lookups
@lookups ||= Lookups.new self
end
##
# Access the Media Twilio Domain
def media
@media ||= Media.new self
end
##
# Access the Messaging Twilio Domain
def messaging
@messaging ||= Messaging.new self
end
##
# Access the Microvisor Twilio Domain
def microvisor
@microvisor ||= Microvisor.new self
end
##
# Access the Monitor Twilio Domain
def monitor
@monitor ||= Monitor.new self
end
##
# Access the Notify Twilio Domain
def notify
@notify ||= Notify.new self
end
##
# Access the Numbers Twilio Domain
def numbers
@numbers ||= Numbers.new self
end
##
# Access the Oauth Twilio Domain
def oauth
@oauth ||= Oauth.new self
end
##
# Access the Preview Twilio Domain
def preview
@preview ||= Preview.new self
end
##
# Access the Pricing Twilio Domain
def pricing
@pricing ||= Pricing.new self
end
##
# Access the Proxy Twilio Domain
def proxy
@proxy ||= Proxy.new self
end
##
# Access the Routes Twilio Domain
def routes
@routes ||= Routes.new self
end
##
# Access the Serverless Twilio Domain
def serverless
@serverless ||= Serverless.new self
end
##
# Access the Studio Twilio Domain
def studio
@studio ||= Studio.new self
end
##
# Access the Supersim Twilio Domain
def supersim
@supersim ||= Supersim.new self
end
##
# Access the Sync Twilio Domain
def sync
@sync ||= Sync.new self
end
##
# Access the Taskrouter Twilio Domain
def taskrouter
@taskrouter ||= Taskrouter.new self
end
##
# Access the Trunking Twilio Domain
def trunking
@trunking ||= Trunking.new self
end
##
# Access the Trusthub Twilio Domain
def trusthub
@trusthub ||= Trusthub.new self
end
##
# Access the Verify Twilio Domain
def verify
@verify ||= Verify.new self
end
##
# Access the Video Twilio Domain
def video
@video ||= Video.new self
end
##
# Access the Voice Twilio Domain
def voice
@voice ||= Voice.new self
end
##
# Access the Wireless Twilio Domain
def wireless
@wireless ||= Wireless.new self
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Address resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::AddressInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::AddressList]
def addresses(sid=:unset)
self.api.v2010.account.addresses(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Application resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::ApplicationInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::ApplicationList]
def applications(sid=:unset)
self.api.v2010.account.applications(sid)
end
##
# @param [string] connectAppSid The SID of the Connect App to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::AuthorizedConnectAppInstance] if connectAppSid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::AuthorizedConnectAppList]
def authorizedConnectApps(connectAppSid=:unset)
self.api.v2010.account.authorizedConnectApps(connectAppSid)
end
##
# @param [string] countryCode The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country to fetch available phone number information about.
# @return [Twilio::REST::Api::V2010::AccountContext::AvailablePhoneNumberCountryInstance] if countryCode was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::AvailablePhoneNumberCountryList]
def availablePhoneNumbers(countryCode=:unset)
self.api.v2010.account.availablePhoneNumbers(countryCode)
end
##
# @param [string] sid The SID of the Call resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::CallInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::CallList]
def calls(sid=:unset)
self.api.v2010.account.calls(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Conference resource to fetch
# @return [Twilio::REST::Api::V2010::AccountContext::ConferenceInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::ConferenceList]
def conferences(sid=:unset)
self.api.v2010.account.conferences(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the ConnectApp resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::ConnectAppInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::ConnectAppList]
def connectApps(sid=:unset)
self.api.v2010.account.connectApps(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::IncomingPhoneNumberInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::IncomingPhoneNumberList]
def incomingPhoneNumbers(sid=:unset)
self.api.v2010.account.incomingPhoneNumbers(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Key resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::KeyInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::KeyList]
def keys(sid=:unset)
self.api.v2010.account.keys(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Message resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::MessageInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::MessageList]
def messages(sid=:unset)
self.api.v2010.account.messages(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Notification resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::NotificationInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::NotificationList]
def notifications(sid=:unset)
self.api.v2010.account.notifications(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::OutgoingCallerIdInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::OutgoingCallerIdList]
def outgoingCallerIds(sid=:unset)
self.api.v2010.account.outgoingCallerIds(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Queue resource to fetch
# @return [Twilio::REST::Api::V2010::AccountContext::QueueInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::QueueList]
def queues(sid=:unset)
self.api.v2010.account.queues(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Recording resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::RecordingInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::RecordingList]
def recordings(sid=:unset)
self.api.v2010.account.recordings(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the ShortCode resource to fetch
# @return [Twilio::REST::Api::V2010::AccountContext::ShortCodeInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::ShortCodeList]
def shortCodes(sid=:unset)
self.api.v2010.account.shortCodes(sid)
end
##
# @return [Twilio::REST::Api::V2010::AccountContext::SigningKeyInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::SigningKeyList]
def signingKeys(sid=:unset)
self.api.v2010.account.signingKeys(sid)
end
##
# @param [string] sid The Twilio-provided string that uniquely identifies the Transcription resource to fetch.
# @return [Twilio::REST::Api::V2010::AccountContext::TranscriptionInstance] if sid was passed.
# @return [Twilio::REST::Api::V2010::AccountContext::TranscriptionList]
def transcriptions(sid=:unset)
self.api.v2010.account.transcriptions(sid)
end
##
# Provide a user friendly representation
def to_s
"#<Twilio::REST::Client #{@account_sid}>"
end
end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class BaseClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class IpMessagingClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class LookupsClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class MonitorClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class PricingClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class TaskRouterClient < ObsoleteClient; end
##
# Dummy client which provides no functionality. Please use Twilio::REST::Client instead.
class TrunkingClient < ObsoleteClient; end
end
end
#
Entire log:
---------------->
➜ librarian git:(init-ruby-client) ✗ make docker-start LIBRARIES="ruby-oai"
touch aws.env github.env
docker-compose build --pull
Building librarian
[+] Building 134.7s (28/29)
[+] Building 134.9s (28/29)
[+] Building 135.2s (28/29)
[+] Building 135.3s (28/29)
[+] Building 135.8s (28/29)
[+] Building 136.1s (28/29)
[+] Building 179.4s (28/29)
[+] Building 179.7s (28/29)
[+] Building 179.9s (28/29)
[+] Building 344.2s (28/29)
[+] Building 344.5s (28/29)
[+] Building 344.7s (28/29)
[+] Building 366.8s (29/30)
[+] Building 367.3s (29/30)
[+] Building 367.4s (29/30)
[+] Building 371.8s (30/30) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for registry.twilio.com/library/python/3.10:latest 1.2s
=> [ 1/25] FROM registry.twilio.com/library/python/3.10@sha256:12f4b4712d12b1a4b57d8ae155b9240056ecb4177e00845f1a99d24daf121f38 0.0s
=> [internal] load build context 6.0s
=> => transferring context: 91.81MB 6.0s
=> CACHED [ 2/25] RUN pip install awscli -i https://pypi.dev.twilio.com/simple 0.0s
=> CACHED [ 3/25] RUN apt-get update && apt-get install -y apt-transport-https curl lsb-release software-properties-common zip 0.0s
=> CACHED [ 4/25] RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF ; echo "deb https 0.0s
=> CACHED [ 5/25] RUN wget -O packages-microsoft-prod.deb https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb ; dpkg -i pa 0.0s
=> CACHED [ 6/25] RUN curl -sSL https://dl.google.com/go/go1.18.linux-amd64.tar.gz -o go.tar.gz ; tar -zxf go.tar.gz -C /usr/local ; rm go.tar.g 0.0s
=> CACHED [ 7/25] RUN apt-get update && apt-get install -y msopenjdk-11=11.0.12* maven 0.0s
=> CACHED [ 8/25] RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - ; apt-get update && apt-get install -y nodejs yarn 0.0s
=> CACHED [ 9/25] RUN pip install virtualenv -i https://pypi.dev.twilio.com/simple 0.0s
=> CACHED [10/25] RUN curl -ssL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash - ; rbenv install 2.6.5 ; rbenv glo 0.0s
=> CACHED [11/25] RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - ; apt-add-repository "deb [arch=amd64] https://apt.release 0.0s
=> CACHED [12/25] RUN apt-get update && apt-get install -y php php-common php-curl php-xml php-mbstring ; curl -s https://getcomposer.org/installe 0.0s
=> CACHED [13/25] RUN apt-get update && apt-get install -y less screen 0.0s
=> CACHED [14/25] RUN mkdir /twilio 0.0s
=> CACHED [15/25] WORKDIR /twilio 0.0s
=> CACHED [16/25] COPY Makefile setup.py ./ 0.0s
=> CACHED [17/25] COPY pip.conf /root/pip.conf 0.0s
=> CACHED [18/25] COPY .buildkite .buildkite 0.0s
=> [19/25] COPY librarian librarian 0.7s
=> [20/25] COPY templates templates 0.0s
=> [21/25] COPY resources resources 0.1s
=> [22/25] COPY submodules submodules 1.4s
=> [23/25] COPY .git/modules/submodules/api-definitions .git/modules/submodules/api-definitions 0.3s
=> [24/25] RUN make develop 76.2s
=> [25/25] RUN if [ "false" = "false" ] ; then venv/bin/librarian init ruby-oai; fi 278.9s
=> exporting to image 6.7s
=> => exporting layers 6.7s
=> => writing image sha256:2d92a6c92a56154761c737ccf03ac24fd829ba08433c42a87c392fe9ecfba8fd 0.0s
=> => naming to docker.io/library/librarian_librarian 0.0s
docker-compose up -d --force-recreate
Recreating librarian_librarian_1 ... done
Last login: Thu Dec 1 16:00:20 on ttys004
docker exec -it d480e6af9d4fc922010f5589ea660bac343ecc2bf3c25238adc565c9799994c5 /bin/sh
[oh-my-zsh] It's time to update! You can do that by running `omz update`
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
➜ ~ docker exec -it d480e6af9d4fc922010f5589ea660bac343ecc2bf3c25238adc565c9799
994c5 /bin/sh
# rbenv rehash && venv/bin/librarian generate ruby-oai
[Oai] ResetDirectory: cat github.env (in .)
[Oai] ResetDirectory: Credentials not configured properly or expired: not enough values to unpack (expected 2, got 1)
[Oai] GenerateChangelog: Verifying Github credentials
[Oai] GenerateChangelog: cat github.env (in .)
[Oai] GenerateChangelog: Credentials not configured properly or expired: not enough values to unpack (expected 2, got 1)
[Oai] GenerateChangelog: Failed to validate GitHub credentials: 'GIT_TWILIO_USERNAME'
[Oai] GenerateChangelog: git log -1 --pretty=format:"%H" --grep "\[Librarian\] Regenerated @"
[Oai] GenerateChangelog: git show -s --format="%cI %s" 13f971db9f33d269d96a5c1fe3cedc651d403c70
[WARN] [Oai] GenerateChangelog: Last regeneration was at 2022-11-30 11:35:34-08:00 with api def hash: 262cdcd92a729094d792ceac9c0d3fcf895fea3d
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/accounts/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/ai/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/api/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/autopilot/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/bulkexports/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/chat/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/content/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/context/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/conversations/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/events/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/flex/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/frontline/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/iam/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/insights/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/integrations/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/intelligence/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/ip_messaging/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/lookups/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/media/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/messaging/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/microvisor/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/monitor/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/notify/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/numbers/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/oauth/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/preview/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/pricing/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/proxy/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/routes/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/serverless/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/studio/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/supersim/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/sync/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/taskrouter/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/trunking/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/trusthub/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/verify/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/video/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/voice/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/base/wireless/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: git diff -w 262cdcd92a729094d792ceac9c0d3fcf895fea3d -- /twilio/submodules/api-definitions/twiml/changes.md (in submodules/api-definitions)
[Oai] GenerateChangelog: No changes to add to the changelog, skipping release
[RubyOai] ResetDirectory: cat github.env (in .)
[RubyOai] ResetDirectory: Credentials not configured properly or expired: not enough values to unpack (expected 2, got 1)
[RubyOai] ResetDirectory: Discarding changes in ./repos/ruby-oai
[RubyOai] ResetDirectory: git config user.email team_interfaces+github@twilio.com
[RubyOai] ResetDirectory: git config user.name Twilio DX
[RubyOai] ResetDirectory: git checkout main
[RubyOai] ResetDirectory: git clean -df
[RubyOai] ResetDirectory: git reset --hard origin/main
[RubyOai] ResetDirectory: git fetch --prune origin "+refs/tags/*:refs/tags/*"
[RubyOai] FetchLatest: Fetching the latest main branch in ./repos/ruby-oai
[RubyOai] FetchLatest: git fetch origin --tags
[RubyOai] FetchLatest: git checkout main
[RubyOai] FetchLatest: git pull origin main
[RubyOai] GenerateRubyLibrary: Generating /twilio/repos/ruby-oai/lib/twilio-ruby using OpenAPI Generator in ./submodules/twilio_oai_generator
[RubyOai] GenerateRubyLibrary: . venv/bin/activate; yoyo generate /twilio/repos/ruby-oai/lib/twilio-ruby --visibility public --output /twilio/submodules/twilio_oai_generator (in submodules/yoyodyne)
[RubyOai] WriteVersion: Writing version to in ./repos/ruby-oai
[RubyOai] Commit: Committing changes to twilio-ruby in ./repos/ruby-oai
[RubyOai] Commit: git add /twilio/repos/ruby-oai/lib/twilio-ruby /twilio/repos/ruby-oai/spec
[RubyOai] Commit: git log -1 --pretty=format:"%H" (in submodules/api-definitions)
[RubyOai] Commit: Auto-detected api-definitions commit d7d9bc4f2f4226dc193b98a702aa26b609a127b1
[RubyOai] Commit: git commit -anm "[Librarian] Regenerated @ d7d9bc4f2f4226dc193b98a702aa26b609a127b1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment