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
|
@@ -243,7 +243,7 @@ module Twilio
|
|
|
243
243
|
|
|
244
244
|
unless @interactions
|
|
245
245
|
@interactions = InteractionList.new(
|
|
246
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
@interactions
|
|
@@ -262,7 +262,7 @@ module Twilio
|
|
|
262
262
|
|
|
263
263
|
unless @participants
|
|
264
264
|
@participants = ParticipantList.new(
|
|
265
|
-
@version, service_sid: @solution[:service_sid],
|
|
265
|
+
@version, service_sid: @solution[:service_sid], session_sid: @solution[:sid], )
|
|
266
266
|
end
|
|
267
267
|
|
|
268
268
|
@participants
|
|
@@ -37,7 +37,7 @@ module Twilio
|
|
|
37
37
|
# @param [GeoMatchLevel] geo_match_level
|
|
38
38
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
39
39
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
40
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
40
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
41
41
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
42
42
|
# @return [ServiceInstance] Created ServiceInstance
|
|
43
43
|
def create(
|
|
@@ -212,7 +212,7 @@ module Twilio
|
|
|
212
212
|
# @param [GeoMatchLevel] geo_match_level
|
|
213
213
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
214
214
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
215
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
215
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
216
216
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
217
217
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
218
218
|
def update(
|
|
@@ -448,7 +448,7 @@ module Twilio
|
|
|
448
448
|
end
|
|
449
449
|
|
|
450
450
|
##
|
|
451
|
-
# @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
451
|
+
# @return [String] The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
452
452
|
def out_of_session_callback_url
|
|
453
453
|
@properties['out_of_session_callback_url']
|
|
454
454
|
end
|
|
@@ -501,7 +501,7 @@ module Twilio
|
|
|
501
501
|
# @param [GeoMatchLevel] geo_match_level
|
|
502
502
|
# @param [NumberSelectionBehavior] number_selection_behavior
|
|
503
503
|
# @param [String] intercept_callback_url The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues.
|
|
504
|
-
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
504
|
+
# @param [String] out_of_session_callback_url The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
|
|
505
505
|
# @param [String] chat_instance_sid The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship.
|
|
506
506
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
507
507
|
def update(
|
|
@@ -221,7 +221,7 @@ module Twilio
|
|
|
221
221
|
|
|
222
222
|
unless @asset_versions
|
|
223
223
|
@asset_versions = AssetVersionList.new(
|
|
224
|
-
@version, service_sid: @solution[:service_sid],
|
|
224
|
+
@version, service_sid: @solution[:service_sid], asset_sid: @solution[:sid], )
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
@asset_versions
|
|
@@ -205,7 +205,7 @@ module Twilio
|
|
|
205
205
|
|
|
206
206
|
unless @logs
|
|
207
207
|
@logs = LogList.new(
|
|
208
|
-
@version, service_sid: @solution[:service_sid],
|
|
208
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
@logs
|
|
@@ -224,7 +224,7 @@ module Twilio
|
|
|
224
224
|
|
|
225
225
|
unless @variables
|
|
226
226
|
@variables = VariableList.new(
|
|
227
|
-
@version, service_sid: @solution[:service_sid],
|
|
227
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
228
228
|
end
|
|
229
229
|
|
|
230
230
|
@variables
|
|
@@ -243,7 +243,7 @@ module Twilio
|
|
|
243
243
|
|
|
244
244
|
unless @deployments
|
|
245
245
|
@deployments = DeploymentList.new(
|
|
246
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
@deployments
|
|
@@ -221,7 +221,7 @@ module Twilio
|
|
|
221
221
|
|
|
222
222
|
unless @function_versions
|
|
223
223
|
@function_versions = FunctionVersionList.new(
|
|
224
|
-
@version, service_sid: @solution[:service_sid],
|
|
224
|
+
@version, service_sid: @solution[:service_sid], function_sid: @solution[:sid], )
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
@function_versions
|
|
@@ -249,7 +249,7 @@ module Twilio
|
|
|
249
249
|
|
|
250
250
|
unless @steps
|
|
251
251
|
@steps = ExecutionStepList.new(
|
|
252
|
-
@version, flow_sid: @solution[:flow_sid],
|
|
252
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
@steps
|
|
@@ -249,7 +249,7 @@ module Twilio
|
|
|
249
249
|
|
|
250
250
|
unless @steps
|
|
251
251
|
@steps = ExecutionStepList.new(
|
|
252
|
-
@version, flow_sid: @solution[:flow_sid],
|
|
252
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
@steps
|
|
@@ -231,7 +231,7 @@ module Twilio
|
|
|
231
231
|
|
|
232
232
|
unless @document_permissions
|
|
233
233
|
@document_permissions = DocumentPermissionList.new(
|
|
234
|
-
@version, service_sid: @solution[:service_sid],
|
|
234
|
+
@version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
@document_permissions
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
unless @sync_list_permissions
|
|
231
231
|
@sync_list_permissions = SyncListPermissionList.new(
|
|
232
|
-
@version, service_sid: @solution[:service_sid],
|
|
232
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
@sync_list_permissions
|
|
@@ -248,7 +248,7 @@ module Twilio
|
|
|
248
248
|
|
|
249
249
|
unless @sync_list_items
|
|
250
250
|
@sync_list_items = SyncListItemList.new(
|
|
251
|
-
@version, service_sid: @solution[:service_sid],
|
|
251
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
@sync_list_items
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
unless @sync_map_items
|
|
231
231
|
@sync_map_items = SyncMapItemList.new(
|
|
232
|
-
@version, service_sid: @solution[:service_sid],
|
|
232
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
@sync_map_items
|
|
@@ -248,7 +248,7 @@ module Twilio
|
|
|
248
248
|
|
|
249
249
|
unless @sync_map_permissions
|
|
250
250
|
@sync_map_permissions = SyncMapPermissionList.new(
|
|
251
|
-
@version, service_sid: @solution[:service_sid],
|
|
251
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
@sync_map_permissions
|
|
@@ -215,7 +215,7 @@ module Twilio
|
|
|
215
215
|
def stream_messages
|
|
216
216
|
unless @stream_messages
|
|
217
217
|
@stream_messages = StreamMessageList.new(
|
|
218
|
-
@version, service_sid: @solution[:service_sid],
|
|
218
|
+
@version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
|
|
219
219
|
end
|
|
220
220
|
@stream_messages
|
|
221
221
|
end
|
|
@@ -305,7 +305,7 @@ module Twilio
|
|
|
305
305
|
|
|
306
306
|
unless @reservations
|
|
307
307
|
@reservations = ReservationList.new(
|
|
308
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
308
|
+
@version, workspace_sid: @solution[:workspace_sid], task_sid: @solution[:sid], )
|
|
309
309
|
end
|
|
310
310
|
|
|
311
311
|
@reservations
|
|
@@ -300,7 +300,7 @@ module Twilio
|
|
|
300
300
|
|
|
301
301
|
unless @reservations
|
|
302
302
|
@reservations = ReservationList.new(
|
|
303
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
303
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
|
304
304
|
end
|
|
305
305
|
|
|
306
306
|
@reservations
|
|
@@ -352,7 +352,7 @@ module Twilio
|
|
|
352
352
|
|
|
353
353
|
unless @worker_channels
|
|
354
354
|
@worker_channels = WorkerChannelList.new(
|
|
355
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
355
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
|
356
356
|
end
|
|
357
357
|
|
|
358
358
|
@worker_channels
|
|
@@ -245,7 +245,7 @@ module Twilio
|
|
|
245
245
|
def notifications
|
|
246
246
|
unless @notifications
|
|
247
247
|
@notifications = NotificationList.new(
|
|
248
|
-
@version, service_sid: @solution[:service_sid],
|
|
248
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], challenge_sid: @solution[:sid], )
|
|
249
249
|
end
|
|
250
250
|
@notifications
|
|
251
251
|
end
|
|
@@ -193,7 +193,7 @@ module Twilio
|
|
|
193
193
|
def new_factors
|
|
194
194
|
unless @new_factors
|
|
195
195
|
@new_factors = NewFactorList.new(
|
|
196
|
-
@version, service_sid: @solution[:service_sid],
|
|
196
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
197
197
|
end
|
|
198
198
|
@new_factors
|
|
199
199
|
end
|
|
@@ -211,7 +211,7 @@ module Twilio
|
|
|
211
211
|
|
|
212
212
|
unless @factors
|
|
213
213
|
@factors = FactorList.new(
|
|
214
|
-
@version, service_sid: @solution[:service_sid],
|
|
214
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
@factors
|
|
@@ -230,7 +230,7 @@ module Twilio
|
|
|
230
230
|
|
|
231
231
|
unless @challenges
|
|
232
232
|
@challenges = ChallengeList.new(
|
|
233
|
-
@version, service_sid: @solution[:service_sid],
|
|
233
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
@challenges
|
|
@@ -34,7 +34,7 @@ module Twilio
|
|
|
34
34
|
##
|
|
35
35
|
# Create the MessagingConfigurationInstance
|
|
36
36
|
# @param [String] country The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
|
|
37
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
37
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
38
38
|
# @return [MessagingConfigurationInstance] Created MessagingConfigurationInstance
|
|
39
39
|
def create(
|
|
40
40
|
country: nil,
|
|
@@ -188,7 +188,7 @@ module Twilio
|
|
|
188
188
|
|
|
189
189
|
##
|
|
190
190
|
# Update the MessagingConfigurationInstance
|
|
191
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
191
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
192
192
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
193
193
|
def update(
|
|
194
194
|
messaging_service_sid: nil
|
|
@@ -310,7 +310,7 @@ module Twilio
|
|
|
310
310
|
end
|
|
311
311
|
|
|
312
312
|
##
|
|
313
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
313
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
314
314
|
def messaging_service_sid
|
|
315
315
|
@properties['messaging_service_sid']
|
|
316
316
|
end
|
|
@@ -351,7 +351,7 @@ module Twilio
|
|
|
351
351
|
|
|
352
352
|
##
|
|
353
353
|
# Update the MessagingConfigurationInstance
|
|
354
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
354
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
355
355
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
356
356
|
def update(
|
|
357
357
|
messaging_service_sid: nil
|
|
@@ -222,7 +222,7 @@ module Twilio
|
|
|
222
222
|
|
|
223
223
|
unless @buckets
|
|
224
224
|
@buckets = BucketList.new(
|
|
225
|
-
@version, service_sid: @solution[:service_sid],
|
|
225
|
+
@version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
@buckets
|
|
@@ -211,7 +211,7 @@ module Twilio
|
|
|
211
211
|
def subscribe_rules
|
|
212
212
|
unless @subscribe_rules
|
|
213
213
|
@subscribe_rules = SubscribeRulesList.new(
|
|
214
|
-
@version, room_sid: @solution[:room_sid],
|
|
214
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
215
215
|
end
|
|
216
216
|
@subscribe_rules
|
|
217
217
|
end
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
unless @subscribed_tracks
|
|
231
231
|
@subscribed_tracks = SubscribedTrackList.new(
|
|
232
|
-
@version, room_sid: @solution[:room_sid],
|
|
232
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
@subscribed_tracks
|
|
@@ -259,7 +259,7 @@ module Twilio
|
|
|
259
259
|
|
|
260
260
|
unless @published_tracks
|
|
261
261
|
@published_tracks = PublishedTrackList.new(
|
|
262
|
-
@version, room_sid: @solution[:room_sid],
|
|
262
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
@published_tracks
|
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.7.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-
|
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jwt
|
|
@@ -332,6 +332,7 @@ files:
|
|
|
332
332
|
- lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb
|
|
333
333
|
- lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb
|
|
334
334
|
- lib/twilio-ruby/rest/api/v2010/account/validation_request.rb
|
|
335
|
+
- lib/twilio-ruby/rest/api/v2010/safelist.rb
|
|
335
336
|
- lib/twilio-ruby/rest/api_base.rb
|
|
336
337
|
- lib/twilio-ruby/rest/autopilot.rb
|
|
337
338
|
- lib/twilio-ruby/rest/autopilot/v1.rb
|