twilio-ruby 6.5.0 → 6.7.0
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 +34 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -7
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +13 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/api/v2010.rb +6 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -4
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -7
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +14 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +8 -8
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +11 -18
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v2.rb +7 -7
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -3
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -3
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -4
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -3
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +3 -2
|
@@ -159,8 +159,8 @@ module Twilio
|
|
|
159
159
|
|
|
160
160
|
##
|
|
161
161
|
# Update the InteractionChannelInstance
|
|
162
|
-
# @param [
|
|
163
|
-
# @param [Object] routing
|
|
162
|
+
# @param [UpdateChannelStatus] status
|
|
163
|
+
# @param [Object] routing It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`.
|
|
164
164
|
# @return [InteractionChannelInstance] Updated InteractionChannelInstance
|
|
165
165
|
def update(
|
|
166
166
|
status: nil,
|
|
@@ -188,7 +188,7 @@ module Twilio
|
|
|
188
188
|
def invites
|
|
189
189
|
unless @invites
|
|
190
190
|
@invites = InteractionChannelInviteList.new(
|
|
191
|
-
@version, interaction_sid: @solution[:interaction_sid],
|
|
191
|
+
@version, interaction_sid: @solution[:interaction_sid], channel_sid: @solution[:sid], )
|
|
192
192
|
end
|
|
193
193
|
@invites
|
|
194
194
|
end
|
|
@@ -206,7 +206,7 @@ module Twilio
|
|
|
206
206
|
|
|
207
207
|
unless @participants
|
|
208
208
|
@participants = InteractionChannelParticipantList.new(
|
|
209
|
-
@version, interaction_sid: @solution[:interaction_sid],
|
|
209
|
+
@version, interaction_sid: @solution[:interaction_sid], channel_sid: @solution[:sid], )
|
|
210
210
|
end
|
|
211
211
|
|
|
212
212
|
@participants
|
|
@@ -354,8 +354,8 @@ module Twilio
|
|
|
354
354
|
|
|
355
355
|
##
|
|
356
356
|
# Update the InteractionChannelInstance
|
|
357
|
-
# @param [
|
|
358
|
-
# @param [Object] routing
|
|
357
|
+
# @param [UpdateChannelStatus] status
|
|
358
|
+
# @param [Object] routing It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`.
|
|
359
359
|
# @return [InteractionChannelInstance] Updated InteractionChannelInstance
|
|
360
360
|
def update(
|
|
361
361
|
status: nil,
|
|
@@ -243,7 +243,7 @@ module Twilio
|
|
|
243
243
|
|
|
244
244
|
unless @members
|
|
245
245
|
@members = MemberList.new(
|
|
246
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
@members
|
|
@@ -262,7 +262,7 @@ module Twilio
|
|
|
262
262
|
|
|
263
263
|
unless @messages
|
|
264
264
|
@messages = MessageList.new(
|
|
265
|
-
@version, service_sid: @solution[:service_sid],
|
|
265
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
266
266
|
end
|
|
267
267
|
|
|
268
268
|
@messages
|
|
@@ -281,7 +281,7 @@ module Twilio
|
|
|
281
281
|
|
|
282
282
|
unless @invites
|
|
283
283
|
@invites = InviteList.new(
|
|
284
|
-
@version, service_sid: @solution[:service_sid],
|
|
284
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
285
285
|
end
|
|
286
286
|
|
|
287
287
|
@invites
|
|
@@ -227,7 +227,7 @@ module Twilio
|
|
|
227
227
|
def user_channels
|
|
228
228
|
unless @user_channels
|
|
229
229
|
@user_channels = UserChannelList.new(
|
|
230
|
-
@version, service_sid: @solution[:service_sid],
|
|
230
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
231
231
|
end
|
|
232
232
|
@user_channels
|
|
233
233
|
end
|
|
@@ -272,7 +272,7 @@ module Twilio
|
|
|
272
272
|
|
|
273
273
|
unless @webhooks
|
|
274
274
|
@webhooks = WebhookList.new(
|
|
275
|
-
@version, service_sid: @solution[:service_sid],
|
|
275
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
276
276
|
end
|
|
277
277
|
|
|
278
278
|
@webhooks
|
|
@@ -291,7 +291,7 @@ module Twilio
|
|
|
291
291
|
|
|
292
292
|
unless @members
|
|
293
293
|
@members = MemberList.new(
|
|
294
|
-
@version, service_sid: @solution[:service_sid],
|
|
294
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
295
295
|
end
|
|
296
296
|
|
|
297
297
|
@members
|
|
@@ -310,7 +310,7 @@ module Twilio
|
|
|
310
310
|
|
|
311
311
|
unless @messages
|
|
312
312
|
@messages = MessageList.new(
|
|
313
|
-
@version, service_sid: @solution[:service_sid],
|
|
313
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
314
314
|
end
|
|
315
315
|
|
|
316
316
|
@messages
|
|
@@ -329,7 +329,7 @@ module Twilio
|
|
|
329
329
|
|
|
330
330
|
unless @invites
|
|
331
331
|
@invites = InviteList.new(
|
|
332
|
-
@version, service_sid: @solution[:service_sid],
|
|
332
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
333
333
|
end
|
|
334
334
|
|
|
335
335
|
@invites
|
|
@@ -241,7 +241,7 @@ module Twilio
|
|
|
241
241
|
|
|
242
242
|
unless @user_channels
|
|
243
243
|
@user_channels = UserChannelList.new(
|
|
244
|
-
@version, service_sid: @solution[:service_sid],
|
|
244
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
245
245
|
end
|
|
246
246
|
|
|
247
247
|
@user_channels
|
|
@@ -260,7 +260,7 @@ module Twilio
|
|
|
260
260
|
|
|
261
261
|
unless @user_bindings
|
|
262
262
|
@user_bindings = UserBindingList.new(
|
|
263
|
-
@version, service_sid: @solution[:service_sid],
|
|
263
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
264
264
|
end
|
|
265
265
|
|
|
266
266
|
@user_bindings
|
|
@@ -32,7 +32,7 @@ module Twilio
|
|
|
32
32
|
##
|
|
33
33
|
# Create the ExternalCampaignInstance
|
|
34
34
|
# @param [String] campaign_id ID of the preregistered campaign.
|
|
35
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
35
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
|
|
36
36
|
# @return [ExternalCampaignInstance] Created ExternalCampaignInstance
|
|
37
37
|
def create(
|
|
38
38
|
campaign_id: nil,
|
|
@@ -131,7 +131,7 @@ module Twilio
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
##
|
|
134
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
134
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
|
|
135
135
|
def messaging_service_sid
|
|
136
136
|
@properties['messaging_service_sid']
|
|
137
137
|
end
|
|
@@ -187,7 +187,7 @@ module Twilio
|
|
|
187
187
|
##
|
|
188
188
|
# Initialize the UsAppToPersonContext
|
|
189
189
|
# @param [Version] version Version that contains the resource
|
|
190
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
190
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from.
|
|
191
191
|
# @param [String] sid The SID of the US A2P Compliance resource to fetch `QE2c6890da8086d771620e9b13fadeba0b`.
|
|
192
192
|
# @return [UsAppToPersonContext] UsAppToPersonContext
|
|
193
193
|
def initialize(version, messaging_service_sid, sid)
|
|
@@ -342,7 +342,7 @@ module Twilio
|
|
|
342
342
|
end
|
|
343
343
|
|
|
344
344
|
##
|
|
345
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
345
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
|
|
346
346
|
def messaging_service_sid
|
|
347
347
|
@properties['messaging_service_sid']
|
|
348
348
|
end
|
|
@@ -41,11 +41,11 @@ module Twilio
|
|
|
41
41
|
# @param [Boolean] mms_converter Whether to enable the [MMS Converter](https://www.twilio.com/docs/messaging/services#mms-converter) for messages sent through the Service instance.
|
|
42
42
|
# @param [Boolean] smart_encoding Whether to enable [Smart Encoding](https://www.twilio.com/docs/messaging/services#smart-encoding) for messages sent through the Service instance.
|
|
43
43
|
# @param [ScanMessageContent] scan_message_content
|
|
44
|
-
# @param [Boolean] fallback_to_long_code
|
|
44
|
+
# @param [Boolean] fallback_to_long_code [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.
|
|
45
45
|
# @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
|
|
46
46
|
# @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
|
|
47
47
|
# @param [Boolean] synchronous_validation Reserved.
|
|
48
|
-
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used.
|
|
48
|
+
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
|
|
49
49
|
# @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
|
|
50
50
|
# @return [ServiceInstance] Created ServiceInstance
|
|
51
51
|
def create(
|
|
@@ -243,11 +243,11 @@ module Twilio
|
|
|
243
243
|
# @param [Boolean] mms_converter Whether to enable the [MMS Converter](https://www.twilio.com/docs/messaging/services#mms-converter) for messages sent through the Service instance.
|
|
244
244
|
# @param [Boolean] smart_encoding Whether to enable [Smart Encoding](https://www.twilio.com/docs/messaging/services#smart-encoding) for messages sent through the Service instance.
|
|
245
245
|
# @param [ScanMessageContent] scan_message_content
|
|
246
|
-
# @param [Boolean] fallback_to_long_code
|
|
246
|
+
# @param [Boolean] fallback_to_long_code [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.
|
|
247
247
|
# @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
|
|
248
248
|
# @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
|
|
249
249
|
# @param [Boolean] synchronous_validation Reserved.
|
|
250
|
-
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used.
|
|
250
|
+
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
|
|
251
251
|
# @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
|
|
252
252
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
253
253
|
def update(
|
|
@@ -587,7 +587,7 @@ module Twilio
|
|
|
587
587
|
end
|
|
588
588
|
|
|
589
589
|
##
|
|
590
|
-
# @return [Boolean]
|
|
590
|
+
# @return [Boolean] [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.
|
|
591
591
|
def fallback_to_long_code
|
|
592
592
|
@properties['fallback_to_long_code']
|
|
593
593
|
end
|
|
@@ -623,7 +623,7 @@ module Twilio
|
|
|
623
623
|
end
|
|
624
624
|
|
|
625
625
|
##
|
|
626
|
-
# @return [String] A string that describes the scenario in which the Messaging Service will be used.
|
|
626
|
+
# @return [String] A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
|
|
627
627
|
def usecase
|
|
628
628
|
@properties['usecase']
|
|
629
629
|
end
|
|
@@ -668,11 +668,11 @@ module Twilio
|
|
|
668
668
|
# @param [Boolean] mms_converter Whether to enable the [MMS Converter](https://www.twilio.com/docs/messaging/services#mms-converter) for messages sent through the Service instance.
|
|
669
669
|
# @param [Boolean] smart_encoding Whether to enable [Smart Encoding](https://www.twilio.com/docs/messaging/services#smart-encoding) for messages sent through the Service instance.
|
|
670
670
|
# @param [ScanMessageContent] scan_message_content
|
|
671
|
-
# @param [Boolean] fallback_to_long_code
|
|
671
|
+
# @param [Boolean] fallback_to_long_code [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.
|
|
672
672
|
# @param [Boolean] area_code_geomatch Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance.
|
|
673
673
|
# @param [String] validity_period How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`.
|
|
674
674
|
# @param [Boolean] synchronous_validation Reserved.
|
|
675
|
-
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used.
|
|
675
|
+
# @param [String] usecase A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
|
|
676
676
|
# @param [Boolean] use_inbound_webhook_on_number A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service.
|
|
677
677
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
678
678
|
def update(
|
data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
CHANGED
|
@@ -36,7 +36,7 @@ module Twilio
|
|
|
36
36
|
# Lists DependentHostedNumberOrderInstance records from the API as a list.
|
|
37
37
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
38
38
|
# memory before returning.
|
|
39
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
39
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
40
40
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
41
41
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
42
42
|
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
@@ -62,7 +62,7 @@ module Twilio
|
|
|
62
62
|
# Streams Instance records from the API as an Enumerable.
|
|
63
63
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
64
64
|
# is reached.
|
|
65
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
65
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
66
66
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
67
67
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
68
68
|
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
@@ -103,7 +103,7 @@ module Twilio
|
|
|
103
103
|
##
|
|
104
104
|
# Retrieve a single page of DependentHostedNumberOrderInstance records from the API.
|
|
105
105
|
# Request is executed immediately.
|
|
106
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
106
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
107
107
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
108
108
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
109
109
|
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
@@ -69,7 +69,7 @@ module Twilio
|
|
|
69
69
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
70
70
|
# memory before returning.
|
|
71
71
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
72
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
72
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
73
73
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
74
74
|
# guarantees to never return more than limit. Default is no limit
|
|
75
75
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -91,7 +91,7 @@ module Twilio
|
|
|
91
91
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
92
92
|
# is reached.
|
|
93
93
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
94
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
94
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
95
95
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
96
96
|
# guarantees to never return more than limit. Default is no limit
|
|
97
97
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -128,7 +128,7 @@ module Twilio
|
|
|
128
128
|
# Retrieve a single page of AuthorizationDocumentInstance records from the API.
|
|
129
129
|
# Request is executed immediately.
|
|
130
130
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
131
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
131
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
132
132
|
# @param [String] page_token PageToken provided by the API
|
|
133
133
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
134
134
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
@@ -45,14 +45,14 @@ module Twilio
|
|
|
45
45
|
##
|
|
46
46
|
# Initialize the BulkHostedNumberOrderContext
|
|
47
47
|
# @param [Version] version Version that contains the resource
|
|
48
|
-
# @param [String]
|
|
48
|
+
# @param [String] bulk_hosting_sid A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
|
49
49
|
# @return [BulkHostedNumberOrderContext] BulkHostedNumberOrderContext
|
|
50
|
-
def initialize(version,
|
|
50
|
+
def initialize(version, bulk_hosting_sid)
|
|
51
51
|
super(version)
|
|
52
52
|
|
|
53
53
|
# Path Solution
|
|
54
|
-
@solution = {
|
|
55
|
-
@uri = "/HostedNumber/Orders/Bulk/#{@solution[:
|
|
54
|
+
@solution = { bulk_hosting_sid: bulk_hosting_sid, }
|
|
55
|
+
@uri = "/HostedNumber/Orders/Bulk/#{@solution[:bulk_hosting_sid]}"
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
end
|
|
@@ -71,7 +71,7 @@ module Twilio
|
|
|
71
71
|
BulkHostedNumberOrderInstance.new(
|
|
72
72
|
@version,
|
|
73
73
|
payload,
|
|
74
|
-
|
|
74
|
+
bulk_hosting_sid: @solution[:bulk_hosting_sid],
|
|
75
75
|
)
|
|
76
76
|
end
|
|
77
77
|
|
|
@@ -129,13 +129,12 @@ module Twilio
|
|
|
129
129
|
# resource.
|
|
130
130
|
# @param [String] sid The SID of the Call resource to fetch.
|
|
131
131
|
# @return [BulkHostedNumberOrderInstance] BulkHostedNumberOrderInstance
|
|
132
|
-
def initialize(version, payload ,
|
|
132
|
+
def initialize(version, payload , bulk_hosting_sid: nil)
|
|
133
133
|
super(version)
|
|
134
134
|
|
|
135
135
|
# Marshaled Properties
|
|
136
136
|
@properties = {
|
|
137
|
-
'
|
|
138
|
-
'account_sid' => payload['account_sid'],
|
|
137
|
+
'bulk_hosting_sid' => payload['bulk_hosting_sid'],
|
|
139
138
|
'request_status' => payload['request_status'],
|
|
140
139
|
'friendly_name' => payload['friendly_name'],
|
|
141
140
|
'notification_email' => payload['notification_email'],
|
|
@@ -148,7 +147,7 @@ module Twilio
|
|
|
148
147
|
|
|
149
148
|
# Context
|
|
150
149
|
@instance_context = nil
|
|
151
|
-
@params = { '
|
|
150
|
+
@params = { 'bulk_hosting_sid' => bulk_hosting_sid || @properties['bulk_hosting_sid'] , }
|
|
152
151
|
end
|
|
153
152
|
|
|
154
153
|
##
|
|
@@ -157,21 +156,15 @@ module Twilio
|
|
|
157
156
|
# @return [BulkHostedNumberOrderContext] CallContext for this CallInstance
|
|
158
157
|
def context
|
|
159
158
|
unless @instance_context
|
|
160
|
-
@instance_context = BulkHostedNumberOrderContext.new(@version , @params['
|
|
159
|
+
@instance_context = BulkHostedNumberOrderContext.new(@version , @params['bulk_hosting_sid'])
|
|
161
160
|
end
|
|
162
161
|
@instance_context
|
|
163
162
|
end
|
|
164
163
|
|
|
165
164
|
##
|
|
166
165
|
# @return [String] A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
|
167
|
-
def
|
|
168
|
-
@properties['
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
##
|
|
172
|
-
# @return [String] A 34 character string that uniquely identifies the account.
|
|
173
|
-
def account_sid
|
|
174
|
-
@properties['account_sid']
|
|
166
|
+
def bulk_hosting_sid
|
|
167
|
+
@properties['bulk_hosting_sid']
|
|
175
168
|
end
|
|
176
169
|
|
|
177
170
|
##
|
|
@@ -364,7 +364,7 @@ module Twilio
|
|
|
364
364
|
end
|
|
365
365
|
|
|
366
366
|
##
|
|
367
|
-
# @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/
|
|
367
|
+
# @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
|
|
368
368
|
def incoming_phone_number_sid
|
|
369
369
|
@properties['incoming_phone_number_sid']
|
|
370
370
|
end
|
|
@@ -376,7 +376,7 @@ module Twilio
|
|
|
376
376
|
end
|
|
377
377
|
|
|
378
378
|
##
|
|
379
|
-
# @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/
|
|
379
|
+
# @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
|
|
380
380
|
def signing_document_sid
|
|
381
381
|
@properties['signing_document_sid']
|
|
382
382
|
end
|
|
@@ -42,17 +42,17 @@ module Twilio
|
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
##
|
|
45
|
-
# @param [String]
|
|
46
|
-
# @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderContext] if
|
|
45
|
+
# @param [String] bulk_hosting_sid A 34 character string that uniquely identifies this BulkHostedNumberOrder.
|
|
46
|
+
# @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderContext] if bulkHostingSid was passed.
|
|
47
47
|
# @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderList]
|
|
48
|
-
def bulk_hosted_number_orders(
|
|
49
|
-
if
|
|
50
|
-
raise ArgumentError, '
|
|
48
|
+
def bulk_hosted_number_orders(bulk_hosting_sid=:unset)
|
|
49
|
+
if bulk_hosting_sid.nil?
|
|
50
|
+
raise ArgumentError, 'bulk_hosting_sid cannot be nil'
|
|
51
51
|
end
|
|
52
|
-
if
|
|
52
|
+
if bulk_hosting_sid == :unset
|
|
53
53
|
@bulk_hosted_number_orders ||= BulkHostedNumberOrderList.new self
|
|
54
54
|
else
|
|
55
|
-
BulkHostedNumberOrderContext.new(self,
|
|
55
|
+
BulkHostedNumberOrderContext.new(self, bulk_hosting_sid)
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
##
|
|
@@ -36,7 +36,7 @@ module Twilio
|
|
|
36
36
|
# Lists DependentHostedNumberOrderInstance records from the API as a list.
|
|
37
37
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
38
38
|
# memory before returning.
|
|
39
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
39
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
40
40
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
41
41
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
42
42
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
@@ -64,7 +64,7 @@ module Twilio
|
|
|
64
64
|
# Streams Instance records from the API as an Enumerable.
|
|
65
65
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
66
66
|
# is reached.
|
|
67
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
67
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
68
68
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
69
69
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
70
70
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
@@ -107,7 +107,7 @@ module Twilio
|
|
|
107
107
|
##
|
|
108
108
|
# Retrieve a single page of DependentHostedNumberOrderInstance records from the API.
|
|
109
109
|
# Request is executed immediately.
|
|
110
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
110
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
111
111
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
112
112
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
113
113
|
# @param [String] friendly_name A human readable description of this resource, up to 64 characters.
|
|
@@ -69,7 +69,7 @@ module Twilio
|
|
|
69
69
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
70
70
|
# memory before returning.
|
|
71
71
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
72
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
72
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
73
73
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
74
74
|
# guarantees to never return more than limit. Default is no limit
|
|
75
75
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -91,7 +91,7 @@ module Twilio
|
|
|
91
91
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
92
92
|
# is reached.
|
|
93
93
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
94
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
94
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
95
95
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
96
96
|
# guarantees to never return more than limit. Default is no limit
|
|
97
97
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -128,7 +128,7 @@ module Twilio
|
|
|
128
128
|
# Retrieve a single page of AuthorizationDocumentInstance records from the API.
|
|
129
129
|
# Request is executed immediately.
|
|
130
130
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
131
|
-
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/
|
|
131
|
+
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses.
|
|
132
132
|
# @param [String] page_token PageToken provided by the API
|
|
133
133
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
134
134
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
@@ -175,7 +175,7 @@ module Twilio
|
|
|
175
175
|
##
|
|
176
176
|
# Initialize the AuthorizationDocumentContext
|
|
177
177
|
# @param [Version] version Version that contains the resource
|
|
178
|
-
# @param [String] sid
|
|
178
|
+
# @param [String] sid A 34 character string that uniquely identifies this AuthorizationDocument.
|
|
179
179
|
# @return [AuthorizationDocumentContext] AuthorizationDocumentContext
|
|
180
180
|
def initialize(version, sid)
|
|
181
181
|
super(version)
|
|
@@ -226,7 +226,7 @@ module Twilio
|
|
|
226
226
|
##
|
|
227
227
|
# Initialize the HostedNumberOrderContext
|
|
228
228
|
# @param [Version] version Version that contains the resource
|
|
229
|
-
# @param [String] sid
|
|
229
|
+
# @param [String] sid A 34 character string that uniquely identifies this HostedNumberOrder.
|
|
230
230
|
# @return [HostedNumberOrderContext] HostedNumberOrderContext
|
|
231
231
|
def initialize(version, sid)
|
|
232
232
|
super(version)
|
|
@@ -418,7 +418,7 @@ module Twilio
|
|
|
418
418
|
end
|
|
419
419
|
|
|
420
420
|
##
|
|
421
|
-
# @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/
|
|
421
|
+
# @return [String] A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
|
|
422
422
|
def incoming_phone_number_sid
|
|
423
423
|
@properties['incoming_phone_number_sid']
|
|
424
424
|
end
|
|
@@ -430,7 +430,7 @@ module Twilio
|
|
|
430
430
|
end
|
|
431
431
|
|
|
432
432
|
##
|
|
433
|
-
# @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/
|
|
433
|
+
# @return [String] A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
|
|
434
434
|
def signing_document_sid
|
|
435
435
|
@properties['signing_document_sid']
|
|
436
436
|
end
|
|
@@ -227,7 +227,7 @@ module Twilio
|
|
|
227
227
|
|
|
228
228
|
unless @document_permissions
|
|
229
229
|
@document_permissions = DocumentPermissionList.new(
|
|
230
|
-
@version, service_sid: @solution[:service_sid],
|
|
230
|
+
@version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
@document_permissions
|
|
@@ -201,7 +201,7 @@ module Twilio
|
|
|
201
201
|
|
|
202
202
|
unless @sync_list_permissions
|
|
203
203
|
@sync_list_permissions = SyncListPermissionList.new(
|
|
204
|
-
@version, service_sid: @solution[:service_sid],
|
|
204
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
@sync_list_permissions
|
|
@@ -220,7 +220,7 @@ module Twilio
|
|
|
220
220
|
|
|
221
221
|
unless @sync_list_items
|
|
222
222
|
@sync_list_items = SyncListItemList.new(
|
|
223
|
-
@version, service_sid: @solution[:service_sid],
|
|
223
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
|
224
224
|
end
|
|
225
225
|
|
|
226
226
|
@sync_list_items
|
|
@@ -201,7 +201,7 @@ module Twilio
|
|
|
201
201
|
|
|
202
202
|
unless @sync_map_items
|
|
203
203
|
@sync_map_items = SyncMapItemList.new(
|
|
204
|
-
@version, service_sid: @solution[:service_sid],
|
|
204
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
@sync_map_items
|
|
@@ -220,7 +220,7 @@ module Twilio
|
|
|
220
220
|
|
|
221
221
|
unless @sync_map_permissions
|
|
222
222
|
@sync_map_permissions = SyncMapPermissionList.new(
|
|
223
|
-
@version, service_sid: @solution[:service_sid],
|
|
223
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
224
224
|
end
|
|
225
225
|
|
|
226
226
|
@sync_map_permissions
|
|
@@ -227,7 +227,7 @@ module Twilio
|
|
|
227
227
|
|
|
228
228
|
unless @field_values
|
|
229
229
|
@field_values = FieldValueList.new(
|
|
230
|
-
@version, assistant_sid: @solution[:assistant_sid],
|
|
230
|
+
@version, assistant_sid: @solution[:assistant_sid], field_type_sid: @solution[:sid], )
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
@field_values
|
|
@@ -264,7 +264,7 @@ module Twilio
|
|
|
264
264
|
|
|
265
265
|
unless @samples
|
|
266
266
|
@samples = SampleList.new(
|
|
267
|
-
@version, assistant_sid: @solution[:assistant_sid],
|
|
267
|
+
@version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
@samples
|
|
@@ -283,7 +283,7 @@ module Twilio
|
|
|
283
283
|
|
|
284
284
|
unless @fields
|
|
285
285
|
@fields = FieldList.new(
|
|
286
|
-
@version, assistant_sid: @solution[:assistant_sid],
|
|
286
|
+
@version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
|
|
287
287
|
end
|
|
288
288
|
|
|
289
289
|
@fields
|
|
@@ -213,7 +213,7 @@ module Twilio
|
|
|
213
213
|
|
|
214
214
|
unless @message_interactions
|
|
215
215
|
@message_interactions = MessageInteractionList.new(
|
|
216
|
-
@version, service_sid: @solution[:service_sid],
|
|
216
|
+
@version, service_sid: @solution[:service_sid], session_sid: @solution[:session_sid], participant_sid: @solution[:sid], )
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
@message_interactions
|