twilio-ruby 7.6.4 → 7.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v1/{webhook.rb → porting_webhook_configuration_fetch.rb} +20 -20
- data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/room/transcriptions.rb +7 -7
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133dba44ff1c8cd6de6ea4d887595c604fa790be
|
4
|
+
data.tar.gz: 8630417e440372137cf666b8ae2bd9ce31859d86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d577852d62d5d4b0d0e05ad47bc6985d15ba3349550c2c7b7dda0761358259597b3648ab92e2c8279cb522051c4e1c0ba1ee4846a2260231aae42f67b7b01aa9
|
7
|
+
data.tar.gz: 96c04a7e244907013f87ba249f3050fa0f1f80b8b221baab5e04d098dcb874e03083abb135bb6723d3901a3aa7c29202b5d28726fe872685f596439911b28829
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
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
|
+
|
4
10
|
[2025-07-03] Version 7.6.4
|
5
11
|
--------------------------
|
6
12
|
**Library - Chore**
|
data/README.md
CHANGED
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
|
|
39
39
|
To install using [Bundler][bundler] grab the latest stable version:
|
40
40
|
|
41
41
|
```ruby
|
42
|
-
gem 'twilio-ruby', '~> 7.6.
|
42
|
+
gem 'twilio-ruby', '~> 7.6.5'
|
43
43
|
```
|
44
44
|
|
45
45
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
46
46
|
|
47
47
|
```bash
|
48
|
-
gem install twilio-ruby -v 7.6.
|
48
|
+
gem install twilio-ruby -v 7.6.5
|
49
49
|
```
|
50
50
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
@@ -20,8 +20,8 @@ module Twilio
|
|
20
20
|
class LookupOverrideList < ListResource
|
21
21
|
|
22
22
|
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
|
25
25
|
attr_accessor :line_type, :reason
|
26
26
|
def initialize(payload)
|
27
27
|
@line_type = payload["line_type"]
|
@@ -242,19 +242,19 @@ module Twilio
|
|
242
242
|
end
|
243
243
|
|
244
244
|
##
|
245
|
-
# @return [String]
|
245
|
+
# @return [String] The phone number for which the override was created
|
246
246
|
def phone_number
|
247
247
|
@properties['phone_number']
|
248
248
|
end
|
249
249
|
|
250
250
|
##
|
251
|
-
# @return [String]
|
251
|
+
# @return [String] The original line type
|
252
252
|
def original_line_type
|
253
253
|
@properties['original_line_type']
|
254
254
|
end
|
255
255
|
|
256
256
|
##
|
257
|
-
# @return [String]
|
257
|
+
# @return [String] The new line type after the override
|
258
258
|
def overridden_line_type
|
259
259
|
@properties['overridden_line_type']
|
260
260
|
end
|
@@ -272,7 +272,7 @@ module Twilio
|
|
272
272
|
end
|
273
273
|
|
274
274
|
##
|
275
|
-
# @return [String] The user who
|
275
|
+
# @return [String] The Account SID for the user who made the override
|
276
276
|
def overridden_by_account_sid
|
277
277
|
@properties['overridden_by_account_sid']
|
278
278
|
end
|
@@ -17,12 +17,12 @@ module Twilio
|
|
17
17
|
module REST
|
18
18
|
class Numbers < NumbersBase
|
19
19
|
class V1 < Version
|
20
|
-
class
|
20
|
+
class PortingWebhookConfigurationFetchList < ListResource
|
21
21
|
|
22
22
|
##
|
23
|
-
# Initialize the
|
23
|
+
# Initialize the PortingWebhookConfigurationFetchList
|
24
24
|
# @param [Version] version Version that contains the resource
|
25
|
-
# @return [
|
25
|
+
# @return [PortingWebhookConfigurationFetchList] PortingWebhookConfigurationFetchList
|
26
26
|
def initialize(version)
|
27
27
|
super(version)
|
28
28
|
# Path Solution
|
@@ -31,8 +31,8 @@ module Twilio
|
|
31
31
|
|
32
32
|
end
|
33
33
|
##
|
34
|
-
# Fetch the
|
35
|
-
# @return [
|
34
|
+
# Fetch the PortingWebhookConfigurationFetchInstance
|
35
|
+
# @return [PortingWebhookConfigurationFetchInstance] Fetched PortingWebhookConfigurationFetchInstance
|
36
36
|
def fetch
|
37
37
|
|
38
38
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
@@ -42,7 +42,7 @@ module Twilio
|
|
42
42
|
|
43
43
|
|
44
44
|
payload = @version.fetch('GET', @uri, headers: headers)
|
45
|
-
|
45
|
+
PortingWebhookConfigurationFetchInstance.new(
|
46
46
|
@version,
|
47
47
|
payload,
|
48
48
|
)
|
@@ -53,17 +53,17 @@ module Twilio
|
|
53
53
|
|
54
54
|
# Provide a user friendly representation
|
55
55
|
def to_s
|
56
|
-
'#<Twilio.Numbers.V1.
|
56
|
+
'#<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>'
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
class
|
60
|
+
class PortingWebhookConfigurationFetchPage < Page
|
61
61
|
##
|
62
|
-
# Initialize the
|
62
|
+
# Initialize the PortingWebhookConfigurationFetchPage
|
63
63
|
# @param [Version] version Version that contains the resource
|
64
64
|
# @param [Response] response Response from the API
|
65
65
|
# @param [Hash] solution Path solution for the resource
|
66
|
-
# @return [
|
66
|
+
# @return [PortingWebhookConfigurationFetchPage] PortingWebhookConfigurationFetchPage
|
67
67
|
def initialize(version, response, solution)
|
68
68
|
super(version, response)
|
69
69
|
|
@@ -72,29 +72,29 @@ module Twilio
|
|
72
72
|
end
|
73
73
|
|
74
74
|
##
|
75
|
-
# Build an instance of
|
75
|
+
# Build an instance of PortingWebhookConfigurationFetchInstance
|
76
76
|
# @param [Hash] payload Payload response from the API
|
77
|
-
# @return [
|
77
|
+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
|
78
78
|
def get_instance(payload)
|
79
|
-
|
79
|
+
PortingWebhookConfigurationFetchInstance.new(@version, payload)
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
83
83
|
# Provide a user friendly representation
|
84
84
|
def to_s
|
85
|
-
'<Twilio.Numbers.V1.
|
85
|
+
'<Twilio.Numbers.V1.PortingWebhookConfigurationFetchPage>'
|
86
86
|
end
|
87
87
|
end
|
88
|
-
class
|
88
|
+
class PortingWebhookConfigurationFetchInstance < InstanceResource
|
89
89
|
##
|
90
|
-
# Initialize the
|
90
|
+
# Initialize the PortingWebhookConfigurationFetchInstance
|
91
91
|
# @param [Version] version Version that contains the resource
|
92
92
|
# @param [Hash] payload payload that contains response from Twilio
|
93
93
|
# @param [String] account_sid The SID of the
|
94
|
-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this
|
94
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationFetch
|
95
95
|
# resource.
|
96
96
|
# @param [String] sid The SID of the Call resource to fetch.
|
97
|
-
# @return [
|
97
|
+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
|
98
98
|
def initialize(version, payload )
|
99
99
|
super(version)
|
100
100
|
|
@@ -149,13 +149,13 @@ module Twilio
|
|
149
149
|
##
|
150
150
|
# Provide a user friendly representation
|
151
151
|
def to_s
|
152
|
-
"<Twilio.Numbers.V1.
|
152
|
+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
|
153
153
|
end
|
154
154
|
|
155
155
|
##
|
156
156
|
# Provide a detailed, user friendly representation
|
157
157
|
def inspect
|
158
|
-
"<Twilio.Numbers.V1.
|
158
|
+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
@@ -28,8 +28,8 @@ module Twilio
|
|
28
28
|
@porting_portabilities = nil
|
29
29
|
@porting_webhook_configurations = nil
|
30
30
|
@porting_webhook_configurations_delete = nil
|
31
|
+
@porting_webhook_configuration_fetch = nil
|
31
32
|
@signing_request_configurations = nil
|
32
|
-
@webhook = nil
|
33
33
|
end
|
34
34
|
|
35
35
|
##
|
@@ -135,16 +135,16 @@ module Twilio
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
##
|
138
|
+
# @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationFetchList]
|
139
|
+
def porting_webhook_configuration_fetch
|
140
|
+
@porting_webhook_configuration_fetch ||= PortingWebhookConfigurationFetchList.new self
|
141
|
+
end
|
142
|
+
##
|
138
143
|
# @return [Twilio::REST::Numbers::V1::SigningRequestConfigurationList]
|
139
144
|
def signing_request_configurations
|
140
145
|
@signing_request_configurations ||= SigningRequestConfigurationList.new self
|
141
146
|
end
|
142
147
|
##
|
143
|
-
# @return [Twilio::REST::Numbers::V1::WebhookList]
|
144
|
-
def webhook
|
145
|
-
@webhook ||= WebhookList.new self
|
146
|
-
end
|
147
|
-
##
|
148
148
|
# Provide a user friendly representation
|
149
149
|
def to_s
|
150
150
|
'<Twilio::REST::Numbers::V1>';
|
@@ -281,13 +281,13 @@ module Twilio
|
|
281
281
|
'account_sid' => payload['account_sid'],
|
282
282
|
'room_sid' => payload['room_sid'],
|
283
283
|
'status' => payload['status'],
|
284
|
-
'identity' => payload['identity'],
|
285
284
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
286
285
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
287
286
|
'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
|
288
287
|
'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
|
289
288
|
'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i,
|
290
289
|
'url' => payload['url'],
|
290
|
+
'configuration' => payload['configuration'],
|
291
291
|
}
|
292
292
|
|
293
293
|
# Context
|
@@ -330,12 +330,6 @@ module Twilio
|
|
330
330
|
@properties['status']
|
331
331
|
end
|
332
332
|
|
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
|
-
|
339
333
|
##
|
340
334
|
# @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.
|
341
335
|
def date_created
|
@@ -372,6 +366,12 @@ module Twilio
|
|
372
366
|
@properties['url']
|
373
367
|
end
|
374
368
|
|
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
|
+
|
375
375
|
##
|
376
376
|
# Fetch the TranscriptionsInstance
|
377
377
|
# @return [TranscriptionsInstance] Fetched TranscriptionsInstance
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.6.
|
4
|
+
version: 7.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -621,8 +621,8 @@ files:
|
|
621
621
|
- lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
|
622
622
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
|
623
623
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
|
624
|
+
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
|
624
625
|
- lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
|
625
|
-
- lib/twilio-ruby/rest/numbers/v1/webhook.rb
|
626
626
|
- lib/twilio-ruby/rest/numbers/v2.rb
|
627
627
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
|
628
628
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
|