twilio-ruby 5.25.4 → 5.26.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/.rubocop.yml +1 -3
- data/.travis.yml +3 -0
- data/CHANGES.md +24 -0
- data/README.md +22 -14
- data/lib/twilio-ruby/http/http_client.rb +4 -3
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +10 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +2 -2
- data/lib/twilio-ruby/rest/authy/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/authy/v1/service/entity.rb +2 -2
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +2 -2
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +2 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v2.rb +2 -4
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +12 -14
- data/lib/twilio-ruby/rest/chat/v2/service.rb +35 -43
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +17 -19
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +28 -24
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +17 -16
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +43 -44
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +38 -37
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +25 -26
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +19 -17
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +17 -17
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +25 -27
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +8 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +32 -6
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +30 -6
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +27 -6
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +2 -2
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +2 -2
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +14 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +12 -14
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +35 -43
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +17 -19
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +28 -24
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +17 -16
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +43 -44
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +38 -37
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +25 -26
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +19 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +17 -17
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +25 -27
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +8 -5
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/session.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/session/message.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/session/participant.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/session/webhook.rb +2 -2
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -2
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +2 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +2 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +2 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +2 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +2 -2
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +2 -2
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +2 -2
- data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +10 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +2 -2
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +2 -2
- data/lib/twilio-ruby/rest/studio.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +13 -13
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +25 -24
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +11 -11
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +20 -20
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +15 -17
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +44 -38
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +12 -11
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +21 -20
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +18 -17
- data/lib/twilio-ruby/rest/sync.rb +2 -1
- data/lib/twilio-ruby/rest/sync/v1.rb +1 -1
- data/lib/twilio-ruby/rest/sync/v1/service.rb +90 -93
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +46 -33
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +36 -38
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +44 -31
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +94 -76
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +37 -38
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +45 -33
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +98 -81
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +35 -38
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +39 -28
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +14 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/terminating_sip_domain.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +3 -3
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/composition.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/recording.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +2 -2
- data/lib/twilio-ruby/rest/wireless.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1.rb +3 -6
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +54 -52
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +64 -65
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +147 -141
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +34 -28
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +32 -32
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +19 -19
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/call_spec.rb +45 -0
- data/spec/integration/api/v2010/account/message_spec.rb +37 -0
- data/spec/integration/conversations/v1/conversation/message_spec.rb +5 -0
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +8 -10
- data/spec/integration/conversations/v1/conversation_spec.rb +4 -0
- data/spec/integration/flex_api/v1/configuration_spec.rb +24 -0
- data/spec/integration/preview/trusted_comms/branded_call_spec.rb +1 -0
- data/spec/integration/verify/v2/service/verification_spec.rb +1 -1
- metadata +2 -2
|
@@ -210,7 +210,7 @@ module Twilio
|
|
|
210
210
|
|
|
211
211
|
##
|
|
212
212
|
# Deletes the KeyInstance
|
|
213
|
-
# @return [Boolean] true if delete succeeds,
|
|
213
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
214
214
|
def delete
|
|
215
215
|
@version.delete('delete', @uri)
|
|
216
216
|
end
|
|
@@ -356,7 +356,7 @@ module Twilio
|
|
|
356
356
|
|
|
357
357
|
##
|
|
358
358
|
# Deletes the KeyInstance
|
|
359
|
-
# @return [Boolean] true if delete succeeds,
|
|
359
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
360
360
|
def delete
|
|
361
361
|
context.delete
|
|
362
362
|
end
|
|
@@ -314,7 +314,7 @@ module Twilio
|
|
|
314
314
|
|
|
315
315
|
##
|
|
316
316
|
# Deletes the HostedNumberOrderInstance
|
|
317
|
-
# @return [Boolean] true if delete succeeds,
|
|
317
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
318
318
|
def delete
|
|
319
319
|
@version.delete('delete', @uri)
|
|
320
320
|
end
|
|
@@ -586,7 +586,7 @@ module Twilio
|
|
|
586
586
|
|
|
587
587
|
##
|
|
588
588
|
# Deletes the HostedNumberOrderInstance
|
|
589
|
-
# @return [Boolean] true if delete succeeds,
|
|
589
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
590
590
|
def delete
|
|
591
591
|
context.delete
|
|
592
592
|
end
|
|
@@ -196,7 +196,7 @@ module Twilio
|
|
|
196
196
|
|
|
197
197
|
##
|
|
198
198
|
# Deletes the InstalledAddOnInstance
|
|
199
|
-
# @return [Boolean] true if delete succeeds,
|
|
199
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
200
200
|
def delete
|
|
201
201
|
@version.delete('delete', @uri)
|
|
202
202
|
end
|
|
@@ -377,7 +377,7 @@ module Twilio
|
|
|
377
377
|
|
|
378
378
|
##
|
|
379
379
|
# Deletes the InstalledAddOnInstance
|
|
380
|
-
# @return [Boolean] true if delete succeeds,
|
|
380
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
381
381
|
def delete
|
|
382
382
|
context.delete
|
|
383
383
|
end
|
|
@@ -208,7 +208,7 @@ module Twilio
|
|
|
208
208
|
|
|
209
209
|
##
|
|
210
210
|
# Deletes the ServiceInstance
|
|
211
|
-
# @return [Boolean] true if delete succeeds,
|
|
211
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
212
212
|
def delete
|
|
213
213
|
@version.delete('delete', @uri)
|
|
214
214
|
end
|
|
@@ -417,7 +417,7 @@ module Twilio
|
|
|
417
417
|
|
|
418
418
|
##
|
|
419
419
|
# Deletes the ServiceInstance
|
|
420
|
-
# @return [Boolean] true if delete succeeds,
|
|
420
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
421
421
|
def delete
|
|
422
422
|
context.delete
|
|
423
423
|
end
|
|
@@ -202,7 +202,7 @@ module Twilio
|
|
|
202
202
|
|
|
203
203
|
##
|
|
204
204
|
# Deletes the DocumentInstance
|
|
205
|
-
# @return [Boolean] true if delete succeeds,
|
|
205
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
206
206
|
def delete
|
|
207
207
|
@version.delete('delete', @uri)
|
|
208
208
|
end
|
|
@@ -379,7 +379,7 @@ module Twilio
|
|
|
379
379
|
|
|
380
380
|
##
|
|
381
381
|
# Deletes the DocumentInstance
|
|
382
|
-
# @return [Boolean] true if delete succeeds,
|
|
382
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
383
383
|
def delete
|
|
384
384
|
context.delete
|
|
385
385
|
end
|
|
@@ -199,7 +199,7 @@ module Twilio
|
|
|
199
199
|
|
|
200
200
|
##
|
|
201
201
|
# Deletes the DocumentPermissionInstance
|
|
202
|
-
# @return [Boolean] true if delete succeeds,
|
|
202
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
203
203
|
def delete
|
|
204
204
|
@version.delete('delete', @uri)
|
|
205
205
|
end
|
|
@@ -357,7 +357,7 @@ module Twilio
|
|
|
357
357
|
|
|
358
358
|
##
|
|
359
359
|
# Deletes the DocumentPermissionInstance
|
|
360
|
-
# @return [Boolean] true if delete succeeds,
|
|
360
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
361
361
|
def delete
|
|
362
362
|
context.delete
|
|
363
363
|
end
|
|
@@ -202,7 +202,7 @@ module Twilio
|
|
|
202
202
|
|
|
203
203
|
##
|
|
204
204
|
# Deletes the SyncListInstance
|
|
205
|
-
# @return [Boolean] true if delete succeeds,
|
|
205
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
206
206
|
def delete
|
|
207
207
|
@version.delete('delete', @uri)
|
|
208
208
|
end
|
|
@@ -378,7 +378,7 @@ module Twilio
|
|
|
378
378
|
|
|
379
379
|
##
|
|
380
380
|
# Deletes the SyncListInstance
|
|
381
|
-
# @return [Boolean] true if delete succeeds,
|
|
381
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
382
382
|
def delete
|
|
383
383
|
context.delete
|
|
384
384
|
end
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
##
|
|
231
231
|
# Deletes the SyncListItemInstance
|
|
232
|
-
# @return [Boolean] true if delete succeeds,
|
|
232
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
233
233
|
def delete
|
|
234
234
|
@version.delete('delete', @uri)
|
|
235
235
|
end
|
|
@@ -393,7 +393,7 @@ module Twilio
|
|
|
393
393
|
|
|
394
394
|
##
|
|
395
395
|
# Deletes the SyncListItemInstance
|
|
396
|
-
# @return [Boolean] true if delete succeeds,
|
|
396
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
397
397
|
def delete
|
|
398
398
|
context.delete
|
|
399
399
|
end
|
|
@@ -199,7 +199,7 @@ module Twilio
|
|
|
199
199
|
|
|
200
200
|
##
|
|
201
201
|
# Deletes the SyncListPermissionInstance
|
|
202
|
-
# @return [Boolean] true if delete succeeds,
|
|
202
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
203
203
|
def delete
|
|
204
204
|
@version.delete('delete', @uri)
|
|
205
205
|
end
|
|
@@ -357,7 +357,7 @@ module Twilio
|
|
|
357
357
|
|
|
358
358
|
##
|
|
359
359
|
# Deletes the SyncListPermissionInstance
|
|
360
|
-
# @return [Boolean] true if delete succeeds,
|
|
360
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
361
361
|
def delete
|
|
362
362
|
context.delete
|
|
363
363
|
end
|
|
@@ -202,7 +202,7 @@ module Twilio
|
|
|
202
202
|
|
|
203
203
|
##
|
|
204
204
|
# Deletes the SyncMapInstance
|
|
205
|
-
# @return [Boolean] true if delete succeeds,
|
|
205
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
206
206
|
def delete
|
|
207
207
|
@version.delete('delete', @uri)
|
|
208
208
|
end
|
|
@@ -378,7 +378,7 @@ module Twilio
|
|
|
378
378
|
|
|
379
379
|
##
|
|
380
380
|
# Deletes the SyncMapInstance
|
|
381
|
-
# @return [Boolean] true if delete succeeds,
|
|
381
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
382
382
|
def delete
|
|
383
383
|
context.delete
|
|
384
384
|
end
|
|
@@ -230,7 +230,7 @@ module Twilio
|
|
|
230
230
|
|
|
231
231
|
##
|
|
232
232
|
# Deletes the SyncMapItemInstance
|
|
233
|
-
# @return [Boolean] true if delete succeeds,
|
|
233
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
234
234
|
def delete
|
|
235
235
|
@version.delete('delete', @uri)
|
|
236
236
|
end
|
|
@@ -390,7 +390,7 @@ module Twilio
|
|
|
390
390
|
|
|
391
391
|
##
|
|
392
392
|
# Deletes the SyncMapItemInstance
|
|
393
|
-
# @return [Boolean] true if delete succeeds,
|
|
393
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
394
394
|
def delete
|
|
395
395
|
context.delete
|
|
396
396
|
end
|
|
@@ -199,7 +199,7 @@ module Twilio
|
|
|
199
199
|
|
|
200
200
|
##
|
|
201
201
|
# Deletes the SyncMapPermissionInstance
|
|
202
|
-
# @return [Boolean] true if delete succeeds,
|
|
202
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
203
203
|
def delete
|
|
204
204
|
@version.delete('delete', @uri)
|
|
205
205
|
end
|
|
@@ -357,7 +357,7 @@ module Twilio
|
|
|
357
357
|
|
|
358
358
|
##
|
|
359
359
|
# Deletes the SyncMapPermissionInstance
|
|
360
|
-
# @return [Boolean] true if delete succeeds,
|
|
360
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
361
361
|
def delete
|
|
362
362
|
context.delete
|
|
363
363
|
end
|
|
@@ -36,9 +36,10 @@ module Twilio
|
|
|
36
36
|
# (https://en.wikipedia.org/wiki/E.164).
|
|
37
37
|
# @param [String] reason The business reason for this phone call that will appear
|
|
38
38
|
# in the terminating device's screen.
|
|
39
|
+
# @param [String] call_sid The call_sid
|
|
39
40
|
# @return [BrandedCallInstance] Newly created BrandedCallInstance
|
|
40
|
-
def create(from: nil, to: nil, reason: nil)
|
|
41
|
-
data = Twilio::Values.of({'From' => from, 'To' => to, 'Reason' => reason, })
|
|
41
|
+
def create(from: nil, to: nil, reason: nil, call_sid: :unset)
|
|
42
|
+
data = Twilio::Values.of({'From' => from, 'To' => to, 'Reason' => reason, 'CallSid' => call_sid, })
|
|
42
43
|
|
|
43
44
|
payload = @version.create(
|
|
44
45
|
'POST',
|
|
@@ -108,6 +109,7 @@ module Twilio
|
|
|
108
109
|
'from' => payload['from'],
|
|
109
110
|
'logo' => payload['logo'],
|
|
110
111
|
'reason' => payload['reason'],
|
|
112
|
+
'sid' => payload['sid'],
|
|
111
113
|
'status' => payload['status'],
|
|
112
114
|
'to' => payload['to'],
|
|
113
115
|
'url' => payload['url'],
|
|
@@ -163,6 +165,12 @@ module Twilio
|
|
|
163
165
|
@properties['reason']
|
|
164
166
|
end
|
|
165
167
|
|
|
168
|
+
##
|
|
169
|
+
# @return [String] A string that uniquely identifies this current phone call.
|
|
170
|
+
def sid
|
|
171
|
+
@properties['sid']
|
|
172
|
+
end
|
|
173
|
+
|
|
166
174
|
##
|
|
167
175
|
# @return [String] The status of the current phone call
|
|
168
176
|
def status
|
|
@@ -272,7 +272,7 @@ module Twilio
|
|
|
272
272
|
|
|
273
273
|
##
|
|
274
274
|
# Deletes the AssistantInstance
|
|
275
|
-
# @return [Boolean] true if delete succeeds,
|
|
275
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
276
276
|
def delete
|
|
277
277
|
@version.delete('delete', @uri)
|
|
278
278
|
end
|
|
@@ -565,7 +565,7 @@ module Twilio
|
|
|
565
565
|
|
|
566
566
|
##
|
|
567
567
|
# Deletes the AssistantInstance
|
|
568
|
-
# @return [Boolean] true if delete succeeds,
|
|
568
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
569
569
|
def delete
|
|
570
570
|
context.delete
|
|
571
571
|
end
|
|
@@ -233,7 +233,7 @@ module Twilio
|
|
|
233
233
|
|
|
234
234
|
##
|
|
235
235
|
# Deletes the FieldTypeInstance
|
|
236
|
-
# @return [Boolean] true if delete succeeds,
|
|
236
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
237
237
|
def delete
|
|
238
238
|
@version.delete('delete', @uri)
|
|
239
239
|
end
|
|
@@ -391,7 +391,7 @@ module Twilio
|
|
|
391
391
|
|
|
392
392
|
##
|
|
393
393
|
# Deletes the FieldTypeInstance
|
|
394
|
-
# @return [Boolean] true if delete succeeds,
|
|
394
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
395
395
|
def delete
|
|
396
396
|
context.delete
|
|
397
397
|
end
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
##
|
|
231
231
|
# Deletes the FieldValueInstance
|
|
232
|
-
# @return [Boolean] true if delete succeeds,
|
|
232
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
233
233
|
def delete
|
|
234
234
|
@version.delete('delete', @uri)
|
|
235
235
|
end
|
|
@@ -372,7 +372,7 @@ module Twilio
|
|
|
372
372
|
|
|
373
373
|
##
|
|
374
374
|
# Deletes the FieldValueInstance
|
|
375
|
-
# @return [Boolean] true if delete succeeds,
|
|
375
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
376
376
|
def delete
|
|
377
377
|
context.delete
|
|
378
378
|
end
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
##
|
|
231
231
|
# Deletes the ModelBuildInstance
|
|
232
|
-
# @return [Boolean] true if delete succeeds,
|
|
232
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
233
233
|
def delete
|
|
234
234
|
@version.delete('delete', @uri)
|
|
235
235
|
end
|
|
@@ -371,7 +371,7 @@ module Twilio
|
|
|
371
371
|
|
|
372
372
|
##
|
|
373
373
|
# Deletes the ModelBuildInstance
|
|
374
|
-
# @return [Boolean] true if delete succeeds,
|
|
374
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
375
375
|
def delete
|
|
376
376
|
context.delete
|
|
377
377
|
end
|
|
@@ -263,7 +263,7 @@ module Twilio
|
|
|
263
263
|
|
|
264
264
|
##
|
|
265
265
|
# Deletes the QueryInstance
|
|
266
|
-
# @return [Boolean] true if delete succeeds,
|
|
266
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
267
267
|
def delete
|
|
268
268
|
@version.delete('delete', @uri)
|
|
269
269
|
end
|
|
@@ -428,7 +428,7 @@ module Twilio
|
|
|
428
428
|
|
|
429
429
|
##
|
|
430
430
|
# Deletes the QueryInstance
|
|
431
|
-
# @return [Boolean] true if delete succeeds,
|
|
431
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
432
432
|
def delete
|
|
433
433
|
context.delete
|
|
434
434
|
end
|
|
@@ -245,7 +245,7 @@ module Twilio
|
|
|
245
245
|
|
|
246
246
|
##
|
|
247
247
|
# Deletes the TaskInstance
|
|
248
|
-
# @return [Boolean] true if delete succeeds,
|
|
248
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
249
249
|
def delete
|
|
250
250
|
@version.delete('delete', @uri)
|
|
251
251
|
end
|
|
@@ -458,7 +458,7 @@ module Twilio
|
|
|
458
458
|
|
|
459
459
|
##
|
|
460
460
|
# Deletes the TaskInstance
|
|
461
|
-
# @return [Boolean] true if delete succeeds,
|
|
461
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
462
462
|
def delete
|
|
463
463
|
context.delete
|
|
464
464
|
end
|
|
@@ -223,7 +223,7 @@ module Twilio
|
|
|
223
223
|
|
|
224
224
|
##
|
|
225
225
|
# Deletes the FieldInstance
|
|
226
|
-
# @return [Boolean] true if delete succeeds,
|
|
226
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
227
227
|
def delete
|
|
228
228
|
@version.delete('delete', @uri)
|
|
229
229
|
end
|
|
@@ -359,7 +359,7 @@ module Twilio
|
|
|
359
359
|
|
|
360
360
|
##
|
|
361
361
|
# Deletes the FieldInstance
|
|
362
|
-
# @return [Boolean] true if delete succeeds,
|
|
362
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
363
363
|
def delete
|
|
364
364
|
context.delete
|
|
365
365
|
end
|
|
@@ -262,7 +262,7 @@ module Twilio
|
|
|
262
262
|
|
|
263
263
|
##
|
|
264
264
|
# Deletes the SampleInstance
|
|
265
|
-
# @return [Boolean] true if delete succeeds,
|
|
265
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
266
266
|
def delete
|
|
267
267
|
@version.delete('delete', @uri)
|
|
268
268
|
end
|
|
@@ -418,7 +418,7 @@ module Twilio
|
|
|
418
418
|
|
|
419
419
|
##
|
|
420
420
|
# Deletes the SampleInstance
|
|
421
|
-
# @return [Boolean] true if delete succeeds,
|
|
421
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
422
422
|
def delete
|
|
423
423
|
context.delete
|
|
424
424
|
end
|
|
@@ -232,7 +232,7 @@ module Twilio
|
|
|
232
232
|
|
|
233
233
|
##
|
|
234
234
|
# Deletes the RatePlanInstance
|
|
235
|
-
# @return [Boolean] true if delete succeeds,
|
|
235
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
236
236
|
def delete
|
|
237
237
|
@version.delete('delete', @uri)
|
|
238
238
|
end
|
|
@@ -400,7 +400,7 @@ module Twilio
|
|
|
400
400
|
|
|
401
401
|
##
|
|
402
402
|
# Deletes the RatePlanInstance
|
|
403
|
-
# @return [Boolean] true if delete succeeds,
|
|
403
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
404
404
|
def delete
|
|
405
405
|
context.delete
|
|
406
406
|
end
|
|
@@ -247,7 +247,7 @@ module Twilio
|
|
|
247
247
|
|
|
248
248
|
##
|
|
249
249
|
# Deletes the ServiceInstance
|
|
250
|
-
# @return [Boolean] true if delete succeeds,
|
|
250
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
251
251
|
def delete
|
|
252
252
|
@version.delete('delete', @uri)
|
|
253
253
|
end
|
|
@@ -523,7 +523,7 @@ module Twilio
|
|
|
523
523
|
|
|
524
524
|
##
|
|
525
525
|
# Deletes the ServiceInstance
|
|
526
|
-
# @return [Boolean] true if delete succeeds,
|
|
526
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
527
527
|
def delete
|
|
528
528
|
context.delete
|
|
529
529
|
end
|
|
@@ -196,7 +196,7 @@ module Twilio
|
|
|
196
196
|
|
|
197
197
|
##
|
|
198
198
|
# Deletes the PhoneNumberInstance
|
|
199
|
-
# @return [Boolean] true if delete succeeds,
|
|
199
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
200
200
|
def delete
|
|
201
201
|
@version.delete('delete', @uri)
|
|
202
202
|
end
|
|
@@ -381,7 +381,7 @@ module Twilio
|
|
|
381
381
|
|
|
382
382
|
##
|
|
383
383
|
# Deletes the PhoneNumberInstance
|
|
384
|
-
# @return [Boolean] true if delete succeeds,
|
|
384
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
|
385
385
|
def delete
|
|
386
386
|
context.delete
|
|
387
387
|
end
|