twilio-ruby 6.4.0 → 6.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +17 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +9 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -19
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -3
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -7
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -1
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +27 -0
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +256 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -19
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -2
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18506ca31c0165881a82313bcafe5ca11f173432
|
4
|
+
data.tar.gz: 015e37822cb56243e7776a875324e3f1a20b8372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56afa3854ce26be8d2d50ca191b7a525411dedf30607a82bcbf784c7916e4b2b3e9e24e56e5933e1f6608497f791d446e0cede893da4d2196ec4b98bd5617e0d
|
7
|
+
data.tar.gz: 5791197ac553f41a28c1168bfc047b3856f48973bd7c7412447d3cbf6b971c1162ac54fb6bce5cfb26e7b082799381e29052f88e3843ae6609a9927d9b4ef35a
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2023-08-24] Version 6.5.0
|
5
|
+
--------------------------
|
6
|
+
**Api**
|
7
|
+
- Add new property `RiskCheck` for SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request
|
8
|
+
|
9
|
+
**Flex**
|
10
|
+
- Changing `sid<UO>` path param to `sid<UT>` in interaction channel participant update endpoint **(breaking change)**
|
11
|
+
|
12
|
+
**Messaging**
|
13
|
+
- Add Channel Sender api
|
14
|
+
- Fixing country code docs and removing Zipwhip references
|
15
|
+
|
16
|
+
**Numbers**
|
17
|
+
- Request status changed in numbers/v2/BulkHostedNumberOrders **(breaking change)**
|
18
|
+
- Add bulk hosting orders API under version `/v2
|
19
|
+
|
20
|
+
|
4
21
|
[2023-08-10] Version 6.4.0
|
5
22
|
--------------------------
|
6
23
|
**Library - Fix**
|
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', '~> 6.
|
42
|
+
gem 'twilio-ruby', '~> 6.5.0'
|
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 6.
|
48
|
+
gem install twilio-ruby -v 6.5.0
|
49
49
|
```
|
50
50
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
@@ -33,8 +33,8 @@ module Twilio
|
|
33
33
|
end
|
34
34
|
##
|
35
35
|
# Create the MessageInstance
|
36
|
-
# @param [String] to The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/
|
37
|
-
# @param [String] status_callback The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
36
|
+
# @param [String] to The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/messaging/channels), e.g. `whatsapp:+15552229999`.
|
37
|
+
# @param [String] status_callback The URL of the endpoint to which Twilio sends [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url). URL must contain a valid hostname and underscores are not allowed. If you include this parameter with the `messaging_service_sid`, Twilio uses this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource).
|
38
38
|
# @param [String] application_sid The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). If this parameter is provided, the `status_callback` parameter of this request is ignored; [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App's `message_status_callback` URL.
|
39
39
|
# @param [Float] max_price The maximum price in US dollars that you are willing to pay for this Message's delivery. The value can have up to four decimal places. When the `max_price` parameter is provided, the cost of a message is checked before it is sent. If the cost exceeds `max_price`, the message is not sent and the Message `status` is `failed`.
|
40
40
|
# @param [Boolean] provide_feedback Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`.
|
@@ -50,7 +50,8 @@ module Twilio
|
|
50
50
|
# @param [Time] send_at The time that Twilio will send the message. Must be in ISO 8601 format.
|
51
51
|
# @param [Boolean] send_as_mms If set to `true`, Twilio delivers the message as a single MMS message, regardless of the presence of media.
|
52
52
|
# @param [String] content_variables For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used.
|
53
|
-
# @param [
|
53
|
+
# @param [RiskCheck] risk_check
|
54
|
+
# @param [String] from The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool.
|
54
55
|
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool.
|
55
56
|
# @param [String] body The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages).
|
56
57
|
# @param [Array[String]] media_url The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply.
|
@@ -74,6 +75,7 @@ module Twilio
|
|
74
75
|
send_at: :unset,
|
75
76
|
send_as_mms: :unset,
|
76
77
|
content_variables: :unset,
|
78
|
+
risk_check: :unset,
|
77
79
|
from: :unset,
|
78
80
|
messaging_service_sid: :unset,
|
79
81
|
body: :unset,
|
@@ -99,6 +101,7 @@ module Twilio
|
|
99
101
|
'SendAt' => Twilio.serialize_iso8601_datetime(send_at),
|
100
102
|
'SendAsMms' => send_as_mms,
|
101
103
|
'ContentVariables' => content_variables,
|
104
|
+
'RiskCheck' => risk_check,
|
102
105
|
'From' => from,
|
103
106
|
'MessagingServiceSid' => messaging_service_sid,
|
104
107
|
'Body' => body,
|
@@ -448,13 +451,13 @@ module Twilio
|
|
448
451
|
end
|
449
452
|
|
450
453
|
##
|
451
|
-
# @return [String] The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/wireless/
|
454
|
+
# @return [String] The sender's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent.
|
452
455
|
def from
|
453
456
|
@properties['from']
|
454
457
|
end
|
455
458
|
|
456
459
|
##
|
457
|
-
# @return [String] The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/
|
460
|
+
# @return [String] The recipient's phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format) or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g. `whatsapp:+15552229999`)
|
458
461
|
def to
|
459
462
|
@properties['to']
|
460
463
|
end
|
@@ -502,7 +505,7 @@ module Twilio
|
|
502
505
|
end
|
503
506
|
|
504
507
|
##
|
505
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
508
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) associated with the Message resource. The value is `null` if a Messaging Service was not used.
|
506
509
|
def messaging_service_sid
|
507
510
|
@properties['messaging_service_sid']
|
508
511
|
end
|
@@ -34,13 +34,13 @@ module Twilio
|
|
34
34
|
end
|
35
35
|
##
|
36
36
|
# Create the ParticipantInstance
|
37
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
38
|
-
# @param [String] messaging_binding_address The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with proxy_address) is only null when the participant is interacting from an SDK endpoint (see the
|
39
|
-
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the
|
40
|
-
# @param [Time] date_created The date
|
41
|
-
# @param [Time] date_updated The date
|
42
|
-
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set
|
43
|
-
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS.
|
37
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
38
|
+
# @param [String] messaging_binding_address The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with `proxy_address`) is only null when the participant is interacting from an SDK endpoint (see the `identity` field).
|
39
|
+
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the `identity` field).
|
40
|
+
# @param [Time] date_created The date on which this resource was created.
|
41
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
42
|
+
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned.
|
43
|
+
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS.
|
44
44
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
45
45
|
# @param [ServiceConversationParticipantEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
46
46
|
# @return [ParticipantInstance] Created ParticipantInstance
|
@@ -217,10 +217,10 @@ module Twilio
|
|
217
217
|
|
218
218
|
##
|
219
219
|
# Update the ParticipantInstance
|
220
|
-
# @param [Time] date_created The date
|
221
|
-
# @param [Time] date_updated The date
|
222
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
223
|
-
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set
|
220
|
+
# @param [Time] date_created The date on which this resource was created.
|
221
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
222
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
223
|
+
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned.
|
224
224
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
225
225
|
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it.
|
226
226
|
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it.
|
@@ -379,13 +379,13 @@ module Twilio
|
|
379
379
|
end
|
380
380
|
|
381
381
|
##
|
382
|
-
# @return [String] A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
382
|
+
# @return [String] A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
383
383
|
def identity
|
384
384
|
@properties['identity']
|
385
385
|
end
|
386
386
|
|
387
387
|
##
|
388
|
-
# @return [String] An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set
|
388
|
+
# @return [String] An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned.
|
389
389
|
def attributes
|
390
390
|
@properties['attributes']
|
391
391
|
end
|
@@ -403,13 +403,13 @@ module Twilio
|
|
403
403
|
end
|
404
404
|
|
405
405
|
##
|
406
|
-
# @return [Time] The date
|
406
|
+
# @return [Time] The date on which this resource was created.
|
407
407
|
def date_created
|
408
408
|
@properties['date_created']
|
409
409
|
end
|
410
410
|
|
411
411
|
##
|
412
|
-
# @return [Time] The date
|
412
|
+
# @return [Time] The date on which this resource was last updated.
|
413
413
|
def date_updated
|
414
414
|
@properties['date_updated']
|
415
415
|
end
|
@@ -455,10 +455,10 @@ module Twilio
|
|
455
455
|
|
456
456
|
##
|
457
457
|
# Update the ParticipantInstance
|
458
|
-
# @param [Time] date_created The date
|
459
|
-
# @param [Time] date_updated The date
|
460
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
461
|
-
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set
|
458
|
+
# @param [Time] date_created The date on which this resource was created.
|
459
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
460
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
461
|
+
# @param [String] attributes An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned.
|
462
462
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
463
463
|
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it.
|
464
464
|
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it.
|
@@ -306,7 +306,7 @@ module Twilio
|
|
306
306
|
end
|
307
307
|
|
308
308
|
##
|
309
|
-
# @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/
|
309
|
+
# @return [String] Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#end_reason).
|
310
310
|
def end_reason
|
311
311
|
@properties['end_reason']
|
312
312
|
end
|
@@ -330,7 +330,7 @@ module Twilio
|
|
330
330
|
end
|
331
331
|
|
332
332
|
##
|
333
|
-
# @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/
|
333
|
+
# @return [Hash] Object containing information about the participant's data from the room. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#properties) for more information.
|
334
334
|
def properties
|
335
335
|
@properties['properties']
|
336
336
|
end
|
@@ -342,7 +342,7 @@ module Twilio
|
|
342
342
|
end
|
343
343
|
|
344
344
|
##
|
345
|
-
# @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/
|
345
|
+
# @return [Hash] Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/troubleshooting/video-log-analyzer-api#publisher_info) for more information.
|
346
346
|
def publisher_info
|
347
347
|
@properties['publisher_info']
|
348
348
|
end
|
@@ -31,10 +31,10 @@ module Twilio
|
|
31
31
|
end
|
32
32
|
##
|
33
33
|
# Create the MediaProcessorInstance
|
34
|
-
# @param [String] extension The [Media Extension](/docs/live/
|
35
|
-
# @param [String] extension_context The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/
|
36
|
-
# @param [Object] extension_environment User-defined environment variables for the Media Extension, represented as a JSON dictionary of key/value strings. See the documentation for the specific [Media Extension](/docs/live/
|
37
|
-
# @param [String] status_callback The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/status-callbacks) for details.
|
34
|
+
# @param [String] extension The [Media Extension](/docs/live/media-extensions-overview) name or URL. Ex: `video-composer-v2`
|
35
|
+
# @param [String] extension_context The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about the context to send.
|
36
|
+
# @param [Object] extension_environment User-defined environment variables for the Media Extension, represented as a JSON dictionary of key/value strings. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about whether you need to provide this.
|
37
|
+
# @param [String] status_callback The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/api/status-callbacks) for details.
|
38
38
|
# @param [String] status_callback_method The HTTP method Twilio should use to call the `status_callback` URL. Can be `POST` or `GET` and the default is `POST`.
|
39
39
|
# @param [String] max_duration The maximum time, in seconds, that the MediaProcessor can run before automatically ends. The default value is 300 seconds, and the maximum value is 90000 seconds. Once this maximum duration is reached, Twilio will end the MediaProcessor, regardless of whether media is still streaming.
|
40
40
|
# @return [MediaProcessorInstance] Created MediaProcessorInstance
|
@@ -331,13 +331,13 @@ module Twilio
|
|
331
331
|
end
|
332
332
|
|
333
333
|
##
|
334
|
-
# @return [String] The [Media Extension](/docs/live/
|
334
|
+
# @return [String] The [Media Extension](/docs/live/media-extensions-overview) name or URL. Ex: `video-composer-v2`
|
335
335
|
def extension
|
336
336
|
@properties['extension']
|
337
337
|
end
|
338
338
|
|
339
339
|
##
|
340
|
-
# @return [String] The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/
|
340
|
+
# @return [String] The context of the Media Extension, represented as a JSON dictionary. See the documentation for the specific [Media Extension](/docs/live/media-extensions-overview) you are using for more information about the context to send.
|
341
341
|
def extension_context
|
342
342
|
@properties['extension_context']
|
343
343
|
end
|
@@ -361,7 +361,7 @@ module Twilio
|
|
361
361
|
end
|
362
362
|
|
363
363
|
##
|
364
|
-
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/status-callbacks) for details.
|
364
|
+
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every MediaProcessor event. See [Status Callbacks](/docs/live/api/status-callbacks) for details.
|
365
365
|
def status_callback
|
366
366
|
@properties['status_callback']
|
367
367
|
end
|
@@ -350,7 +350,7 @@ module Twilio
|
|
350
350
|
end
|
351
351
|
|
352
352
|
##
|
353
|
-
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every MediaRecording event. See [Status Callbacks](/docs/live/status-callbacks) for more details.
|
353
|
+
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every MediaRecording event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details.
|
354
354
|
def status_callback
|
355
355
|
@properties['status_callback']
|
356
356
|
end
|
@@ -32,7 +32,7 @@ module Twilio
|
|
32
32
|
##
|
33
33
|
# Create the PlayerStreamerInstance
|
34
34
|
# @param [Boolean] video Specifies whether the PlayerStreamer is configured to stream video. Defaults to `true`.
|
35
|
-
# @param [String] status_callback The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/status-callbacks) for more details.
|
35
|
+
# @param [String] status_callback The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details.
|
36
36
|
# @param [String] status_callback_method The HTTP method Twilio should use to call the `status_callback` URL. Can be `POST` or `GET` and the default is `POST`.
|
37
37
|
# @param [String] max_duration The maximum time, in seconds, that the PlayerStreamer is active (`created` or `started`) before automatically ends. The default value is 300 seconds, and the maximum value is 90000 seconds. Once this maximum duration is reached, Twilio will end the PlayerStreamer, regardless of whether media is still streaming.
|
38
38
|
# @return [PlayerStreamerInstance] Created PlayerStreamerInstance
|
@@ -360,7 +360,7 @@ module Twilio
|
|
360
360
|
end
|
361
361
|
|
362
362
|
##
|
363
|
-
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/status-callbacks) for more details.
|
363
|
+
# @return [String] The URL to which Twilio will send asynchronous webhook requests for every PlayerStreamer event. See [Status Callbacks](/docs/live/api/status-callbacks) for more details.
|
364
364
|
def status_callback
|
365
365
|
@properties['status_callback']
|
366
366
|
end
|
@@ -0,0 +1,329 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
+
#
|
7
|
+
# Twilio - Messaging
|
8
|
+
# This is the public Twilio REST API.
|
9
|
+
#
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
11
|
+
# https://openapi-generator.tech
|
12
|
+
# Do not edit the class manually.
|
13
|
+
#
|
14
|
+
|
15
|
+
|
16
|
+
module Twilio
|
17
|
+
module REST
|
18
|
+
class Messaging < MessagingBase
|
19
|
+
class V1 < Version
|
20
|
+
class ServiceContext < InstanceContext
|
21
|
+
|
22
|
+
class ChannelSenderList < ListResource
|
23
|
+
##
|
24
|
+
# Initialize the ChannelSenderList
|
25
|
+
# @param [Version] version Version that contains the resource
|
26
|
+
# @return [ChannelSenderList] ChannelSenderList
|
27
|
+
def initialize(version, messaging_service_sid: nil)
|
28
|
+
super(version)
|
29
|
+
# Path Solution
|
30
|
+
@solution = { messaging_service_sid: messaging_service_sid }
|
31
|
+
@uri = "/Services/#{@solution[:messaging_service_sid]}/ChannelSenders"
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
##
|
36
|
+
# Lists ChannelSenderInstance records from the API as a list.
|
37
|
+
# Unlike stream(), this operation is eager and will load `limit` records into
|
38
|
+
# memory before returning.
|
39
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
40
|
+
# guarantees to never return more than limit. Default is no limit
|
41
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
42
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
43
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
44
|
+
# efficient page size, i.e. min(limit, 1000)
|
45
|
+
# @return [Array] Array of up to limit results
|
46
|
+
def list(limit: nil, page_size: nil)
|
47
|
+
self.stream(
|
48
|
+
limit: limit,
|
49
|
+
page_size: page_size
|
50
|
+
).entries
|
51
|
+
end
|
52
|
+
|
53
|
+
##
|
54
|
+
# Streams Instance records from the API as an Enumerable.
|
55
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
56
|
+
# is reached.
|
57
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
58
|
+
# guarantees to never return more than limit. Default is no limit
|
59
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
60
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
61
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
62
|
+
# efficient page size, i.e. min(limit, 1000)
|
63
|
+
# @return [Enumerable] Enumerable that will yield up to limit results
|
64
|
+
def stream(limit: nil, page_size: nil)
|
65
|
+
limits = @version.read_limits(limit, page_size)
|
66
|
+
|
67
|
+
page = self.page(
|
68
|
+
page_size: limits[:page_size], )
|
69
|
+
|
70
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
71
|
+
end
|
72
|
+
|
73
|
+
##
|
74
|
+
# When passed a block, yields ChannelSenderInstance records from the API.
|
75
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
76
|
+
# is reached.
|
77
|
+
def each
|
78
|
+
limits = @version.read_limits
|
79
|
+
|
80
|
+
page = self.page(page_size: limits[:page_size], )
|
81
|
+
|
82
|
+
@version.stream(page,
|
83
|
+
limit: limits[:limit],
|
84
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
85
|
+
end
|
86
|
+
|
87
|
+
##
|
88
|
+
# Retrieve a single page of ChannelSenderInstance records from the API.
|
89
|
+
# Request is executed immediately.
|
90
|
+
# @param [String] page_token PageToken provided by the API
|
91
|
+
# @param [Integer] page_number Page Number, this value is simply for client state
|
92
|
+
# @param [Integer] page_size Number of records to return, defaults to 50
|
93
|
+
# @return [Page] Page of ChannelSenderInstance
|
94
|
+
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
95
|
+
params = Twilio::Values.of({
|
96
|
+
'PageToken' => page_token,
|
97
|
+
'Page' => page_number,
|
98
|
+
'PageSize' => page_size,
|
99
|
+
})
|
100
|
+
|
101
|
+
response = @version.page('GET', @uri, params: params)
|
102
|
+
|
103
|
+
ChannelSenderPage.new(@version, response, @solution)
|
104
|
+
end
|
105
|
+
|
106
|
+
##
|
107
|
+
# Retrieve a single page of ChannelSenderInstance records from the API.
|
108
|
+
# Request is executed immediately.
|
109
|
+
# @param [String] target_url API-generated URL for the requested results page
|
110
|
+
# @return [Page] Page of ChannelSenderInstance
|
111
|
+
def get_page(target_url)
|
112
|
+
response = @version.domain.request(
|
113
|
+
'GET',
|
114
|
+
target_url
|
115
|
+
)
|
116
|
+
ChannelSenderPage.new(@version, response, @solution)
|
117
|
+
end
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
# Provide a user friendly representation
|
122
|
+
def to_s
|
123
|
+
'#<Twilio.Messaging.V1.ChannelSenderList>'
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
|
128
|
+
##
|
129
|
+
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
130
|
+
class ChannelSenderContext < InstanceContext
|
131
|
+
##
|
132
|
+
# Initialize the ChannelSenderContext
|
133
|
+
# @param [Version] version Version that contains the resource
|
134
|
+
# @param [String] messaging_service_sid The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from.
|
135
|
+
# @param [String] sid The SID of the ChannelSender resource to fetch.
|
136
|
+
# @return [ChannelSenderContext] ChannelSenderContext
|
137
|
+
def initialize(version, messaging_service_sid, sid)
|
138
|
+
super(version)
|
139
|
+
|
140
|
+
# Path Solution
|
141
|
+
@solution = { messaging_service_sid: messaging_service_sid, sid: sid, }
|
142
|
+
@uri = "/Services/#{@solution[:messaging_service_sid]}/ChannelSenders/#{@solution[:sid]}"
|
143
|
+
|
144
|
+
|
145
|
+
end
|
146
|
+
##
|
147
|
+
# Fetch the ChannelSenderInstance
|
148
|
+
# @return [ChannelSenderInstance] Fetched ChannelSenderInstance
|
149
|
+
def fetch
|
150
|
+
|
151
|
+
payload = @version.fetch('GET', @uri)
|
152
|
+
ChannelSenderInstance.new(
|
153
|
+
@version,
|
154
|
+
payload,
|
155
|
+
messaging_service_sid: @solution[:messaging_service_sid],
|
156
|
+
sid: @solution[:sid],
|
157
|
+
)
|
158
|
+
end
|
159
|
+
|
160
|
+
|
161
|
+
##
|
162
|
+
# Provide a user friendly representation
|
163
|
+
def to_s
|
164
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
165
|
+
"#<Twilio.Messaging.V1.ChannelSenderContext #{context}>"
|
166
|
+
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# Provide a detailed, user friendly representation
|
170
|
+
def inspect
|
171
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
172
|
+
"#<Twilio.Messaging.V1.ChannelSenderContext #{context}>"
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
class ChannelSenderPage < Page
|
177
|
+
##
|
178
|
+
# Initialize the ChannelSenderPage
|
179
|
+
# @param [Version] version Version that contains the resource
|
180
|
+
# @param [Response] response Response from the API
|
181
|
+
# @param [Hash] solution Path solution for the resource
|
182
|
+
# @return [ChannelSenderPage] ChannelSenderPage
|
183
|
+
def initialize(version, response, solution)
|
184
|
+
super(version, response)
|
185
|
+
|
186
|
+
# Path Solution
|
187
|
+
@solution = solution
|
188
|
+
end
|
189
|
+
|
190
|
+
##
|
191
|
+
# Build an instance of ChannelSenderInstance
|
192
|
+
# @param [Hash] payload Payload response from the API
|
193
|
+
# @return [ChannelSenderInstance] ChannelSenderInstance
|
194
|
+
def get_instance(payload)
|
195
|
+
ChannelSenderInstance.new(@version, payload, messaging_service_sid: @solution[:messaging_service_sid])
|
196
|
+
end
|
197
|
+
|
198
|
+
##
|
199
|
+
# Provide a user friendly representation
|
200
|
+
def to_s
|
201
|
+
'<Twilio.Messaging.V1.ChannelSenderPage>'
|
202
|
+
end
|
203
|
+
end
|
204
|
+
class ChannelSenderInstance < InstanceResource
|
205
|
+
##
|
206
|
+
# Initialize the ChannelSenderInstance
|
207
|
+
# @param [Version] version Version that contains the resource
|
208
|
+
# @param [Hash] payload payload that contains response from Twilio
|
209
|
+
# @param [String] account_sid The SID of the
|
210
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this ChannelSender
|
211
|
+
# resource.
|
212
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
213
|
+
# @return [ChannelSenderInstance] ChannelSenderInstance
|
214
|
+
def initialize(version, payload , messaging_service_sid: nil, sid: nil)
|
215
|
+
super(version)
|
216
|
+
|
217
|
+
# Marshaled Properties
|
218
|
+
@properties = {
|
219
|
+
'account_sid' => payload['account_sid'],
|
220
|
+
'messaging_service_sid' => payload['messaging_service_sid'],
|
221
|
+
'sid' => payload['sid'],
|
222
|
+
'sender' => payload['sender'],
|
223
|
+
'sender_type' => payload['sender_type'],
|
224
|
+
'country_code' => payload['country_code'],
|
225
|
+
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
226
|
+
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
227
|
+
'url' => payload['url'],
|
228
|
+
}
|
229
|
+
|
230
|
+
# Context
|
231
|
+
@instance_context = nil
|
232
|
+
@params = { 'messaging_service_sid' => messaging_service_sid || @properties['messaging_service_sid'] ,'sid' => sid || @properties['sid'] , }
|
233
|
+
end
|
234
|
+
|
235
|
+
##
|
236
|
+
# Generate an instance context for the instance, the context is capable of
|
237
|
+
# performing various actions. All instance actions are proxied to the context
|
238
|
+
# @return [ChannelSenderContext] CallContext for this CallInstance
|
239
|
+
def context
|
240
|
+
unless @instance_context
|
241
|
+
@instance_context = ChannelSenderContext.new(@version , @params['messaging_service_sid'], @params['sid'])
|
242
|
+
end
|
243
|
+
@instance_context
|
244
|
+
end
|
245
|
+
|
246
|
+
##
|
247
|
+
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ChannelSender resource.
|
248
|
+
def account_sid
|
249
|
+
@properties['account_sid']
|
250
|
+
end
|
251
|
+
|
252
|
+
##
|
253
|
+
# @return [String] The SID of the [Service](https://www.twilio.com/docs/messaging/services) the resource is associated with.
|
254
|
+
def messaging_service_sid
|
255
|
+
@properties['messaging_service_sid']
|
256
|
+
end
|
257
|
+
|
258
|
+
##
|
259
|
+
# @return [String] The unique string that we created to identify the ChannelSender resource.
|
260
|
+
def sid
|
261
|
+
@properties['sid']
|
262
|
+
end
|
263
|
+
|
264
|
+
##
|
265
|
+
# @return [String] The unique string that identifies the sender e.g whatsapp:+123456XXXX.
|
266
|
+
def sender
|
267
|
+
@properties['sender']
|
268
|
+
end
|
269
|
+
|
270
|
+
##
|
271
|
+
# @return [String] A string value that identifies the sender type e.g WhatsApp, Messenger.
|
272
|
+
def sender_type
|
273
|
+
@properties['sender_type']
|
274
|
+
end
|
275
|
+
|
276
|
+
##
|
277
|
+
# @return [String] The 2-character [ISO Country Code](https://www.iso.org/iso-3166-country-codes.html) of the number.
|
278
|
+
def country_code
|
279
|
+
@properties['country_code']
|
280
|
+
end
|
281
|
+
|
282
|
+
##
|
283
|
+
# @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.
|
284
|
+
def date_created
|
285
|
+
@properties['date_created']
|
286
|
+
end
|
287
|
+
|
288
|
+
##
|
289
|
+
# @return [Time] The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
290
|
+
def date_updated
|
291
|
+
@properties['date_updated']
|
292
|
+
end
|
293
|
+
|
294
|
+
##
|
295
|
+
# @return [String]
|
296
|
+
def url
|
297
|
+
@properties['url']
|
298
|
+
end
|
299
|
+
|
300
|
+
##
|
301
|
+
# Fetch the ChannelSenderInstance
|
302
|
+
# @return [ChannelSenderInstance] Fetched ChannelSenderInstance
|
303
|
+
def fetch
|
304
|
+
|
305
|
+
context.fetch
|
306
|
+
end
|
307
|
+
|
308
|
+
##
|
309
|
+
# Provide a user friendly representation
|
310
|
+
def to_s
|
311
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
312
|
+
"<Twilio.Messaging.V1.ChannelSenderInstance #{values}>"
|
313
|
+
end
|
314
|
+
|
315
|
+
##
|
316
|
+
# Provide a detailed, user friendly representation
|
317
|
+
def inspect
|
318
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
319
|
+
"<Twilio.Messaging.V1.ChannelSenderInstance #{values}>"
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
|
@@ -208,6 +208,7 @@ module Twilio
|
|
208
208
|
@us_app_to_person = nil
|
209
209
|
@phone_numbers = nil
|
210
210
|
@alpha_senders = nil
|
211
|
+
@channel_senders = nil
|
211
212
|
end
|
212
213
|
##
|
213
214
|
# Delete the ServiceInstance
|
@@ -382,6 +383,25 @@ module Twilio
|
|
382
383
|
|
383
384
|
@alpha_senders
|
384
385
|
end
|
386
|
+
##
|
387
|
+
# Access the channel_senders
|
388
|
+
# @return [ChannelSenderList]
|
389
|
+
# @return [ChannelSenderContext] if sid was passed.
|
390
|
+
def channel_senders(sid=:unset)
|
391
|
+
|
392
|
+
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
393
|
+
|
394
|
+
if sid != :unset
|
395
|
+
return ChannelSenderContext.new(@version, @solution[:sid],sid )
|
396
|
+
end
|
397
|
+
|
398
|
+
unless @channel_senders
|
399
|
+
@channel_senders = ChannelSenderList.new(
|
400
|
+
@version, messaging_service_sid: @solution[:sid], )
|
401
|
+
end
|
402
|
+
|
403
|
+
@channel_senders
|
404
|
+
end
|
385
405
|
|
386
406
|
##
|
387
407
|
# Provide a user friendly representation
|
@@ -729,6 +749,13 @@ module Twilio
|
|
729
749
|
context.alpha_senders
|
730
750
|
end
|
731
751
|
|
752
|
+
##
|
753
|
+
# Access the channel_senders
|
754
|
+
# @return [channel_senders] channel_senders
|
755
|
+
def channel_senders
|
756
|
+
context.channel_senders
|
757
|
+
end
|
758
|
+
|
732
759
|
##
|
733
760
|
# Provide a user friendly representation
|
734
761
|
def to_s
|
@@ -0,0 +1,256 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
+
#
|
7
|
+
# Twilio - Numbers
|
8
|
+
# This is the public Twilio REST API.
|
9
|
+
#
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
11
|
+
# https://openapi-generator.tech
|
12
|
+
# Do not edit the class manually.
|
13
|
+
#
|
14
|
+
|
15
|
+
|
16
|
+
module Twilio
|
17
|
+
module REST
|
18
|
+
class Numbers < NumbersBase
|
19
|
+
class V2 < Version
|
20
|
+
class BulkHostedNumberOrderList < ListResource
|
21
|
+
##
|
22
|
+
# Initialize the BulkHostedNumberOrderList
|
23
|
+
# @param [Version] version Version that contains the resource
|
24
|
+
# @return [BulkHostedNumberOrderList] BulkHostedNumberOrderList
|
25
|
+
def initialize(version)
|
26
|
+
super(version)
|
27
|
+
# Path Solution
|
28
|
+
@solution = { }
|
29
|
+
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
# Provide a user friendly representation
|
36
|
+
def to_s
|
37
|
+
'#<Twilio.Numbers.V2.BulkHostedNumberOrderList>'
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
|
42
|
+
##
|
43
|
+
#PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
|
44
|
+
class BulkHostedNumberOrderContext < InstanceContext
|
45
|
+
##
|
46
|
+
# Initialize the BulkHostedNumberOrderContext
|
47
|
+
# @param [Version] version Version that contains the resource
|
48
|
+
# @param [String] sid A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
49
|
+
# @return [BulkHostedNumberOrderContext] BulkHostedNumberOrderContext
|
50
|
+
def initialize(version, sid)
|
51
|
+
super(version)
|
52
|
+
|
53
|
+
# Path Solution
|
54
|
+
@solution = { sid: sid, }
|
55
|
+
@uri = "/HostedNumber/Orders/Bulk/#{@solution[:sid]}"
|
56
|
+
|
57
|
+
|
58
|
+
end
|
59
|
+
##
|
60
|
+
# Fetch the BulkHostedNumberOrderInstance
|
61
|
+
# @param [String] order_status Order status can be used for filtering on Hosted Number Order status values. To see a complete list of order statuses, please check 'https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/hosted-number-order-resource#status-values'.
|
62
|
+
# @return [BulkHostedNumberOrderInstance] Fetched BulkHostedNumberOrderInstance
|
63
|
+
def fetch(
|
64
|
+
order_status: :unset
|
65
|
+
)
|
66
|
+
|
67
|
+
params = Twilio::Values.of({
|
68
|
+
'OrderStatus' => order_status,
|
69
|
+
})
|
70
|
+
payload = @version.fetch('GET', @uri, params: params)
|
71
|
+
BulkHostedNumberOrderInstance.new(
|
72
|
+
@version,
|
73
|
+
payload,
|
74
|
+
sid: @solution[:sid],
|
75
|
+
)
|
76
|
+
end
|
77
|
+
|
78
|
+
|
79
|
+
##
|
80
|
+
# Provide a user friendly representation
|
81
|
+
def to_s
|
82
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
83
|
+
"#<Twilio.Numbers.V2.BulkHostedNumberOrderContext #{context}>"
|
84
|
+
end
|
85
|
+
|
86
|
+
##
|
87
|
+
# Provide a detailed, user friendly representation
|
88
|
+
def inspect
|
89
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
90
|
+
"#<Twilio.Numbers.V2.BulkHostedNumberOrderContext #{context}>"
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class BulkHostedNumberOrderPage < Page
|
95
|
+
##
|
96
|
+
# Initialize the BulkHostedNumberOrderPage
|
97
|
+
# @param [Version] version Version that contains the resource
|
98
|
+
# @param [Response] response Response from the API
|
99
|
+
# @param [Hash] solution Path solution for the resource
|
100
|
+
# @return [BulkHostedNumberOrderPage] BulkHostedNumberOrderPage
|
101
|
+
def initialize(version, response, solution)
|
102
|
+
super(version, response)
|
103
|
+
|
104
|
+
# Path Solution
|
105
|
+
@solution = solution
|
106
|
+
end
|
107
|
+
|
108
|
+
##
|
109
|
+
# Build an instance of BulkHostedNumberOrderInstance
|
110
|
+
# @param [Hash] payload Payload response from the API
|
111
|
+
# @return [BulkHostedNumberOrderInstance] BulkHostedNumberOrderInstance
|
112
|
+
def get_instance(payload)
|
113
|
+
BulkHostedNumberOrderInstance.new(@version, payload)
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Provide a user friendly representation
|
118
|
+
def to_s
|
119
|
+
'<Twilio.Numbers.V2.BulkHostedNumberOrderPage>'
|
120
|
+
end
|
121
|
+
end
|
122
|
+
class BulkHostedNumberOrderInstance < InstanceResource
|
123
|
+
##
|
124
|
+
# Initialize the BulkHostedNumberOrderInstance
|
125
|
+
# @param [Version] version Version that contains the resource
|
126
|
+
# @param [Hash] payload payload that contains response from Twilio
|
127
|
+
# @param [String] account_sid The SID of the
|
128
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this BulkHostedNumberOrder
|
129
|
+
# resource.
|
130
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
131
|
+
# @return [BulkHostedNumberOrderInstance] BulkHostedNumberOrderInstance
|
132
|
+
def initialize(version, payload , sid: nil)
|
133
|
+
super(version)
|
134
|
+
|
135
|
+
# Marshaled Properties
|
136
|
+
@properties = {
|
137
|
+
'sid' => payload['sid'],
|
138
|
+
'account_sid' => payload['account_sid'],
|
139
|
+
'request_status' => payload['request_status'],
|
140
|
+
'friendly_name' => payload['friendly_name'],
|
141
|
+
'notification_email' => payload['notification_email'],
|
142
|
+
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
143
|
+
'date_completed' => Twilio.deserialize_iso8601_datetime(payload['date_completed']),
|
144
|
+
'url' => payload['url'],
|
145
|
+
'total_count' => payload['total_count'] == nil ? payload['total_count'] : payload['total_count'].to_i,
|
146
|
+
'results' => payload['results'],
|
147
|
+
}
|
148
|
+
|
149
|
+
# Context
|
150
|
+
@instance_context = nil
|
151
|
+
@params = { 'sid' => sid || @properties['sid'] , }
|
152
|
+
end
|
153
|
+
|
154
|
+
##
|
155
|
+
# Generate an instance context for the instance, the context is capable of
|
156
|
+
# performing various actions. All instance actions are proxied to the context
|
157
|
+
# @return [BulkHostedNumberOrderContext] CallContext for this CallInstance
|
158
|
+
def context
|
159
|
+
unless @instance_context
|
160
|
+
@instance_context = BulkHostedNumberOrderContext.new(@version , @params['sid'])
|
161
|
+
end
|
162
|
+
@instance_context
|
163
|
+
end
|
164
|
+
|
165
|
+
##
|
166
|
+
# @return [String] A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
167
|
+
def sid
|
168
|
+
@properties['sid']
|
169
|
+
end
|
170
|
+
|
171
|
+
##
|
172
|
+
# @return [String] A 34 character string that uniquely identifies the account.
|
173
|
+
def account_sid
|
174
|
+
@properties['account_sid']
|
175
|
+
end
|
176
|
+
|
177
|
+
##
|
178
|
+
# @return [RequestStatus]
|
179
|
+
def request_status
|
180
|
+
@properties['request_status']
|
181
|
+
end
|
182
|
+
|
183
|
+
##
|
184
|
+
# @return [String] A 128 character string that is a human-readable text that describes this resource.
|
185
|
+
def friendly_name
|
186
|
+
@properties['friendly_name']
|
187
|
+
end
|
188
|
+
|
189
|
+
##
|
190
|
+
# @return [String] Email address used for send notifications about this Bulk hosted number request.
|
191
|
+
def notification_email
|
192
|
+
@properties['notification_email']
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# @return [Time] The date this resource was created, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
|
197
|
+
def date_created
|
198
|
+
@properties['date_created']
|
199
|
+
end
|
200
|
+
|
201
|
+
##
|
202
|
+
# @return [Time] The date that this resource was completed, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
|
203
|
+
def date_completed
|
204
|
+
@properties['date_completed']
|
205
|
+
end
|
206
|
+
|
207
|
+
##
|
208
|
+
# @return [String] The URL of this BulkHostedNumberOrder resource.
|
209
|
+
def url
|
210
|
+
@properties['url']
|
211
|
+
end
|
212
|
+
|
213
|
+
##
|
214
|
+
# @return [String] The total count of phone numbers in this Bulk hosting request.
|
215
|
+
def total_count
|
216
|
+
@properties['total_count']
|
217
|
+
end
|
218
|
+
|
219
|
+
##
|
220
|
+
# @return [Array<Hash>] Contains a list of all the individual hosting orders and their information, for this Bulk request. Each result object is grouped by its order status. To see a complete list of order status, please check 'https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/hosted-number-order-resource#status-values'.
|
221
|
+
def results
|
222
|
+
@properties['results']
|
223
|
+
end
|
224
|
+
|
225
|
+
##
|
226
|
+
# Fetch the BulkHostedNumberOrderInstance
|
227
|
+
# @param [String] order_status Order status can be used for filtering on Hosted Number Order status values. To see a complete list of order statuses, please check 'https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/hosted-number-order-resource#status-values'.
|
228
|
+
# @return [BulkHostedNumberOrderInstance] Fetched BulkHostedNumberOrderInstance
|
229
|
+
def fetch(
|
230
|
+
order_status: :unset
|
231
|
+
)
|
232
|
+
|
233
|
+
context.fetch(
|
234
|
+
order_status: order_status,
|
235
|
+
)
|
236
|
+
end
|
237
|
+
|
238
|
+
##
|
239
|
+
# Provide a user friendly representation
|
240
|
+
def to_s
|
241
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
242
|
+
"<Twilio.Numbers.V2.BulkHostedNumberOrderInstance #{values}>"
|
243
|
+
end
|
244
|
+
|
245
|
+
##
|
246
|
+
# Provide a detailed, user friendly representation
|
247
|
+
def inspect
|
248
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
249
|
+
"<Twilio.Numbers.V2.BulkHostedNumberOrderInstance #{values}>"
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
@@ -242,8 +242,8 @@ module Twilio
|
|
242
242
|
@uri = "/RegulatoryCompliance/Bundles/#{@solution[:sid]}"
|
243
243
|
|
244
244
|
# Dependents
|
245
|
-
@bundle_copies = nil
|
246
245
|
@replace_items = nil
|
246
|
+
@bundle_copies = nil
|
247
247
|
@item_assignments = nil
|
248
248
|
@evaluations = nil
|
249
249
|
end
|
@@ -297,17 +297,6 @@ module Twilio
|
|
297
297
|
)
|
298
298
|
end
|
299
299
|
|
300
|
-
##
|
301
|
-
# Access the bundle_copies
|
302
|
-
# @return [BundleCopyList]
|
303
|
-
# @return [BundleCopyContext]
|
304
|
-
def bundle_copies
|
305
|
-
unless @bundle_copies
|
306
|
-
@bundle_copies = BundleCopyList.new(
|
307
|
-
@version, bundle_sid: @solution[:sid], )
|
308
|
-
end
|
309
|
-
@bundle_copies
|
310
|
-
end
|
311
300
|
##
|
312
301
|
# Access the replace_items
|
313
302
|
# @return [ReplaceItemsList]
|
@@ -320,6 +309,17 @@ module Twilio
|
|
320
309
|
@replace_items
|
321
310
|
end
|
322
311
|
##
|
312
|
+
# Access the bundle_copies
|
313
|
+
# @return [BundleCopyList]
|
314
|
+
# @return [BundleCopyContext]
|
315
|
+
def bundle_copies
|
316
|
+
unless @bundle_copies
|
317
|
+
@bundle_copies = BundleCopyList.new(
|
318
|
+
@version, bundle_sid: @solution[:sid], )
|
319
|
+
end
|
320
|
+
@bundle_copies
|
321
|
+
end
|
322
|
+
##
|
323
323
|
# Access the item_assignments
|
324
324
|
# @return [ItemAssignmentList]
|
325
325
|
# @return [ItemAssignmentContext] if sid was passed.
|
@@ -556,13 +556,6 @@ module Twilio
|
|
556
556
|
)
|
557
557
|
end
|
558
558
|
|
559
|
-
##
|
560
|
-
# Access the bundle_copies
|
561
|
-
# @return [bundle_copies] bundle_copies
|
562
|
-
def bundle_copies
|
563
|
-
context.bundle_copies
|
564
|
-
end
|
565
|
-
|
566
559
|
##
|
567
560
|
# Access the replace_items
|
568
561
|
# @return [replace_items] replace_items
|
@@ -570,6 +563,13 @@ module Twilio
|
|
570
563
|
context.replace_items
|
571
564
|
end
|
572
565
|
|
566
|
+
##
|
567
|
+
# Access the bundle_copies
|
568
|
+
# @return [bundle_copies] bundle_copies
|
569
|
+
def bundle_copies
|
570
|
+
context.bundle_copies
|
571
|
+
end
|
572
|
+
|
573
573
|
##
|
574
574
|
# Access the item_assignments
|
575
575
|
# @return [item_assignments] item_assignments
|
@@ -28,15 +28,28 @@ module Twilio
|
|
28
28
|
@solution = { }
|
29
29
|
@uri = "/RegulatoryCompliance"
|
30
30
|
# Components
|
31
|
+
@supporting_documents = nil
|
31
32
|
@end_users = nil
|
32
33
|
@bundles = nil
|
33
34
|
@supporting_document_types = nil
|
34
35
|
@regulations = nil
|
35
36
|
@end_user_types = nil
|
36
|
-
@supporting_documents = nil
|
37
37
|
end
|
38
38
|
|
39
39
|
|
40
|
+
##
|
41
|
+
# Access the supporting_documents
|
42
|
+
# @return [SupportingDocumentList]
|
43
|
+
# @return [SupportingDocumentContext] if sid was passed.
|
44
|
+
def supporting_documents(sid=:unset)
|
45
|
+
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
46
|
+
|
47
|
+
if sid != :unset
|
48
|
+
return SupportingDocumentContext.new(@version,sid )
|
49
|
+
end
|
50
|
+
|
51
|
+
@supporting_documents ||= SupportingDocumentList.new(@version )
|
52
|
+
end
|
40
53
|
##
|
41
54
|
# Access the end_users
|
42
55
|
# @return [EndUserList]
|
@@ -102,19 +115,6 @@ module Twilio
|
|
102
115
|
|
103
116
|
@end_user_types ||= EndUserTypeList.new(@version )
|
104
117
|
end
|
105
|
-
##
|
106
|
-
# Access the supporting_documents
|
107
|
-
# @return [SupportingDocumentList]
|
108
|
-
# @return [SupportingDocumentContext] if sid was passed.
|
109
|
-
def supporting_documents(sid=:unset)
|
110
|
-
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
111
|
-
|
112
|
-
if sid != :unset
|
113
|
-
return SupportingDocumentContext.new(@version,sid )
|
114
|
-
end
|
115
|
-
|
116
|
-
@supporting_documents ||= SupportingDocumentList.new(@version )
|
117
|
-
end
|
118
118
|
|
119
119
|
# Provide a user friendly representation
|
120
120
|
def to_s
|
@@ -22,6 +22,7 @@ module Twilio
|
|
22
22
|
super
|
23
23
|
@version = 'v2'
|
24
24
|
@authorization_documents = nil
|
25
|
+
@bulk_hosted_number_orders = nil
|
25
26
|
@hosted_number_orders = nil
|
26
27
|
@regulatory_compliance = nil
|
27
28
|
end
|
@@ -41,6 +42,20 @@ module Twilio
|
|
41
42
|
end
|
42
43
|
end
|
43
44
|
##
|
45
|
+
# @param [String] sid A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
46
|
+
# @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderContext] if sid was passed.
|
47
|
+
# @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderList]
|
48
|
+
def bulk_hosted_number_orders(sid=:unset)
|
49
|
+
if sid.nil?
|
50
|
+
raise ArgumentError, 'sid cannot be nil'
|
51
|
+
end
|
52
|
+
if sid == :unset
|
53
|
+
@bulk_hosted_number_orders ||= BulkHostedNumberOrderList.new self
|
54
|
+
else
|
55
|
+
BulkHostedNumberOrderContext.new(self, sid)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
##
|
44
59
|
# @param [String] sid A 34 character string that uniquely identifies this HostedNumberOrder.
|
45
60
|
# @return [Twilio::REST::Numbers::V2::HostedNumberOrderContext] if sid was passed.
|
46
61
|
# @return [Twilio::REST::Numbers::V2::HostedNumberOrderList]
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# @param [String] max_participants The maximum number of concurrent Participants allowed in the room. Peer-to-peer rooms can have up to 10 Participants. Small Group rooms can have up to 4 Participants. Group rooms can have up to 50 Participants.
|
40
40
|
# @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect. ***This feature is not available in `peer-to-peer` rooms.***
|
41
41
|
# @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`. ***This feature is not available in `peer-to-peer` rooms***
|
42
|
-
# @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-
|
42
|
+
# @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
|
43
43
|
# @param [Object] recording_rules A collection of Recording Rules that describe how to include or exclude matching tracks for recording
|
44
44
|
# @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. Group rooms only.
|
45
45
|
# @param [String] max_participant_duration The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours).
|
@@ -512,7 +512,7 @@ module Twilio
|
|
512
512
|
end
|
513
513
|
|
514
514
|
##
|
515
|
-
# @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-
|
515
|
+
# @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
|
516
516
|
def media_region
|
517
517
|
@properties['media_region']
|
518
518
|
end
|
@@ -41,7 +41,7 @@ module Twilio
|
|
41
41
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
42
42
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
43
43
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
44
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
44
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
45
45
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
46
46
|
# guarantees to never return more than limit. Default is no limit
|
47
47
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -71,7 +71,7 @@ module Twilio
|
|
71
71
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
72
72
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
73
73
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
74
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
74
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
75
75
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
76
76
|
# guarantees to never return more than limit. Default is no limit
|
77
77
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -116,7 +116,7 @@ module Twilio
|
|
116
116
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
117
117
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
118
118
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
119
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
119
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
120
120
|
# @param [String] page_token PageToken provided by the API
|
121
121
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
122
122
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -326,7 +326,7 @@ module Twilio
|
|
326
326
|
end
|
327
327
|
|
328
328
|
##
|
329
|
-
# @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/
|
329
|
+
# @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
|
330
330
|
def high_risk_tollfraud_numbers_enabled
|
331
331
|
@properties['high_risk_tollfraud_numbers_enabled']
|
332
332
|
end
|
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: 6.
|
4
|
+
version: 6.5.0
|
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: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -537,6 +537,7 @@ files:
|
|
537
537
|
- lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb
|
538
538
|
- lib/twilio-ruby/rest/messaging/v1/service.rb
|
539
539
|
- lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb
|
540
|
+
- lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb
|
540
541
|
- lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb
|
541
542
|
- lib/twilio-ruby/rest/messaging/v1/service/short_code.rb
|
542
543
|
- lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb
|
@@ -574,6 +575,7 @@ files:
|
|
574
575
|
- lib/twilio-ruby/rest/numbers/v2.rb
|
575
576
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
|
576
577
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
|
578
|
+
- lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb
|
577
579
|
- lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb
|
578
580
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb
|
579
581
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb
|