Skip to content

Commit 710b1a7

Browse files
committed
[Librarian] Regenerated @ 39bbd47c92a659f8a7464cedcc75b92c7ba69773 f51169e3becf53bb375f9c7413aec0c78fe78fcc
1 parent 12c089a commit 710b1a7

File tree

5 files changed

+45
-39
lines changed

5 files changed

+45
-39
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2025-07-10] Version 7.6.5
5+
--------------------------
6+
**Flex**
7+
- update team name for web_channel, webchat_init_token, webchat_refresh_token
8+
9+
410
[2025-07-03] Version 7.6.4
511
--------------------------
612
**Library - Chore**

lib/twilio-ruby/rest/lookups/v2/lookup_override.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class V2 < Version
2020
class LookupOverrideList < ListResource
2121

2222
class OverridesRequest
23-
# @param [line_type]: [String]
24-
# @param [reason]: [String]
23+
# @param [line_type]: [String] The new line type to override the original line type
24+
# @param [reason]: [String] The reason for the override
2525
attr_accessor :line_type, :reason
2626
def initialize(payload)
2727
@line_type = payload["line_type"]
@@ -242,19 +242,19 @@ def context
242242
end
243243

244244
##
245-
# @return [String]
245+
# @return [String] The phone number for which the override was created
246246
def phone_number
247247
@properties['phone_number']
248248
end
249249

250250
##
251-
# @return [String]
251+
# @return [String] The original line type
252252
def original_line_type
253253
@properties['original_line_type']
254254
end
255255

256256
##
257-
# @return [String]
257+
# @return [String] The new line type after the override
258258
def overridden_line_type
259259
@properties['overridden_line_type']
260260
end
@@ -272,7 +272,7 @@ def override_timestamp
272272
end
273273

274274
##
275-
# @return [String] The user who overrode the line type
275+
# @return [String] The Account SID for the user who made the override
276276
def overridden_by_account_sid
277277
@properties['overridden_by_account_sid']
278278
end

lib/twilio-ruby/rest/numbers/v1.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def initialize(domain)
2828
@porting_portabilities = nil
2929
@porting_webhook_configurations = nil
3030
@porting_webhook_configurations_delete = nil
31+
@porting_webhook_configuration_fetch = nil
3132
@signing_request_configurations = nil
32-
@webhook = nil
3333
end
3434

3535
##
@@ -135,16 +135,16 @@ def porting_webhook_configurations_delete(webhook_type=:unset)
135135
end
136136
end
137137
##
138+
# @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationFetchList]
139+
def porting_webhook_configuration_fetch
140+
@porting_webhook_configuration_fetch ||= PortingWebhookConfigurationFetchList.new self
141+
end
142+
##
138143
# @return [Twilio::REST::Numbers::V1::SigningRequestConfigurationList]
139144
def signing_request_configurations
140145
@signing_request_configurations ||= SigningRequestConfigurationList.new self
141146
end
142147
##
143-
# @return [Twilio::REST::Numbers::V1::WebhookList]
144-
def webhook
145-
@webhook ||= WebhookList.new self
146-
end
147-
##
148148
# Provide a user friendly representation
149149
def to_s
150150
'<Twilio::REST::Numbers::V1>';

lib/twilio-ruby/rest/numbers/v1/webhook.rb renamed to lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ module Twilio
1717
module REST
1818
class Numbers < NumbersBase
1919
class V1 < Version
20-
class WebhookList < ListResource
20+
class PortingWebhookConfigurationFetchList < ListResource
2121

2222
##
23-
# Initialize the WebhookList
23+
# Initialize the PortingWebhookConfigurationFetchList
2424
# @param [Version] version Version that contains the resource
25-
# @return [WebhookList] WebhookList
25+
# @return [PortingWebhookConfigurationFetchList] PortingWebhookConfigurationFetchList
2626
def initialize(version)
2727
super(version)
2828
# Path Solution
@@ -31,8 +31,8 @@ def initialize(version)
3131

3232
end
3333
##
34-
# Fetch the WebhookInstance
35-
# @return [WebhookInstance] Fetched WebhookInstance
34+
# Fetch the PortingWebhookConfigurationFetchInstance
35+
# @return [PortingWebhookConfigurationFetchInstance] Fetched PortingWebhookConfigurationFetchInstance
3636
def fetch
3737

3838
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -42,7 +42,7 @@ def fetch
4242

4343

4444
payload = @version.fetch('GET', @uri, headers: headers)
45-
WebhookInstance.new(
45+
PortingWebhookConfigurationFetchInstance.new(
4646
@version,
4747
payload,
4848
)
@@ -53,17 +53,17 @@ def fetch
5353

5454
# Provide a user friendly representation
5555
def to_s
56-
'#<Twilio.Numbers.V1.WebhookList>'
56+
'#<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>'
5757
end
5858
end
5959

60-
class WebhookPage < Page
60+
class PortingWebhookConfigurationFetchPage < Page
6161
##
62-
# Initialize the WebhookPage
62+
# Initialize the PortingWebhookConfigurationFetchPage
6363
# @param [Version] version Version that contains the resource
6464
# @param [Response] response Response from the API
6565
# @param [Hash] solution Path solution for the resource
66-
# @return [WebhookPage] WebhookPage
66+
# @return [PortingWebhookConfigurationFetchPage] PortingWebhookConfigurationFetchPage
6767
def initialize(version, response, solution)
6868
super(version, response)
6969

@@ -72,29 +72,29 @@ def initialize(version, response, solution)
7272
end
7373

7474
##
75-
# Build an instance of WebhookInstance
75+
# Build an instance of PortingWebhookConfigurationFetchInstance
7676
# @param [Hash] payload Payload response from the API
77-
# @return [WebhookInstance] WebhookInstance
77+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
7878
def get_instance(payload)
79-
WebhookInstance.new(@version, payload)
79+
PortingWebhookConfigurationFetchInstance.new(@version, payload)
8080
end
8181

8282
##
8383
# Provide a user friendly representation
8484
def to_s
85-
'<Twilio.Numbers.V1.WebhookPage>'
85+
'<Twilio.Numbers.V1.PortingWebhookConfigurationFetchPage>'
8686
end
8787
end
88-
class WebhookInstance < InstanceResource
88+
class PortingWebhookConfigurationFetchInstance < InstanceResource
8989
##
90-
# Initialize the WebhookInstance
90+
# Initialize the PortingWebhookConfigurationFetchInstance
9191
# @param [Version] version Version that contains the resource
9292
# @param [Hash] payload payload that contains response from Twilio
9393
# @param [String] account_sid The SID of the
94-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Webhook
94+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationFetch
9595
# resource.
9696
# @param [String] sid The SID of the Call resource to fetch.
97-
# @return [WebhookInstance] WebhookInstance
97+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
9898
def initialize(version, payload )
9999
super(version)
100100

@@ -149,13 +149,13 @@ def port_out_target_date_created
149149
##
150150
# Provide a user friendly representation
151151
def to_s
152-
"<Twilio.Numbers.V1.WebhookInstance>"
152+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
153153
end
154154

155155
##
156156
# Provide a detailed, user friendly representation
157157
def inspect
158-
"<Twilio.Numbers.V1.WebhookInstance>"
158+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
159159
end
160160
end
161161

lib/twilio-ruby/rest/video/v1/room/transcriptions.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,13 @@ def initialize(version, payload , room_sid: nil, ttid: nil)
281281
'account_sid' => payload['account_sid'],
282282
'room_sid' => payload['room_sid'],
283283
'status' => payload['status'],
284-
'identity' => payload['identity'],
285284
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
286285
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
287286
'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
288287
'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
289288
'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i,
290289
'url' => payload['url'],
290+
'configuration' => payload['configuration'],
291291
}
292292

293293
# Context
@@ -330,12 +330,6 @@ def status
330330
@properties['status']
331331
end
332332

333-
##
334-
# @return [String] The application-defined string that uniquely identifies the resource's User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info.
335-
def identity
336-
@properties['identity']
337-
end
338-
339333
##
340334
# @return [Time] The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
341335
def date_created
@@ -372,6 +366,12 @@ def url
372366
@properties['url']
373367
end
374368

369+
##
370+
# @return [Hash] An JSON object that describes the video layout of the composition in terms of regions. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
371+
def configuration
372+
@properties['configuration']
373+
end
374+
375375
##
376376
# Fetch the TranscriptionsInstance
377377
# @return [TranscriptionsInstance] Fetched TranscriptionsInstance

0 commit comments

Comments
 (0)