twilio-ruby 5.25.4 → 5.26.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -186,7 +186,7 @@ module Twilio
|
|
186
186
|
|
187
187
|
##
|
188
188
|
# Deletes the EntityInstance
|
189
|
-
# @return [Boolean] true if delete succeeds,
|
189
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
190
190
|
def delete
|
191
191
|
@version.delete('delete', @uri)
|
192
192
|
end
|
@@ -339,7 +339,7 @@ module Twilio
|
|
339
339
|
|
340
340
|
##
|
341
341
|
# Deletes the EntityInstance
|
342
|
-
# @return [Boolean] true if delete succeeds,
|
342
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
343
343
|
def delete
|
344
344
|
context.delete
|
345
345
|
end
|
@@ -210,7 +210,7 @@ module Twilio
|
|
210
210
|
|
211
211
|
##
|
212
212
|
# Deletes the FactorInstance
|
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
|
@@ -436,7 +436,7 @@ module Twilio
|
|
436
436
|
|
437
437
|
##
|
438
438
|
# Deletes the FactorInstance
|
439
|
-
# @return [Boolean] true if delete succeeds,
|
439
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
440
440
|
def delete
|
441
441
|
context.delete
|
442
442
|
end
|
@@ -132,7 +132,7 @@ module Twilio
|
|
132
132
|
|
133
133
|
##
|
134
134
|
# Deletes the ChallengeInstance
|
135
|
-
# @return [Boolean] true if delete succeeds,
|
135
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
136
136
|
def delete
|
137
137
|
@version.delete('delete', @uri)
|
138
138
|
end
|
@@ -368,7 +368,7 @@ module Twilio
|
|
368
368
|
|
369
369
|
##
|
370
370
|
# Deletes the ChallengeInstance
|
371
|
-
# @return [Boolean] true if delete succeeds,
|
371
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
372
372
|
def delete
|
373
373
|
context.delete
|
374
374
|
end
|
@@ -269,7 +269,7 @@ module Twilio
|
|
269
269
|
|
270
270
|
##
|
271
271
|
# Deletes the AssistantInstance
|
272
|
-
# @return [Boolean] true if delete succeeds,
|
272
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
273
273
|
def delete
|
274
274
|
@version.delete('delete', @uri)
|
275
275
|
end
|
@@ -586,7 +586,7 @@ module Twilio
|
|
586
586
|
|
587
587
|
##
|
588
588
|
# Deletes the AssistantInstance
|
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
|
@@ -240,7 +240,7 @@ module Twilio
|
|
240
240
|
|
241
241
|
##
|
242
242
|
# Deletes the FieldTypeInstance
|
243
|
-
# @return [Boolean] true if delete succeeds,
|
243
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
244
244
|
def delete
|
245
245
|
@version.delete('delete', @uri)
|
246
246
|
end
|
@@ -402,7 +402,7 @@ module Twilio
|
|
402
402
|
|
403
403
|
##
|
404
404
|
# Deletes the FieldTypeInstance
|
405
|
-
# @return [Boolean] true if delete succeeds,
|
405
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
406
406
|
def delete
|
407
407
|
context.delete
|
408
408
|
end
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
|
236
236
|
##
|
237
237
|
# Deletes the FieldValueInstance
|
238
|
-
# @return [Boolean] true if delete succeeds,
|
238
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
239
239
|
def delete
|
240
240
|
@version.delete('delete', @uri)
|
241
241
|
end
|
@@ -381,7 +381,7 @@ module Twilio
|
|
381
381
|
|
382
382
|
##
|
383
383
|
# Deletes the FieldValueInstance
|
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
|
@@ -237,7 +237,7 @@ module Twilio
|
|
237
237
|
|
238
238
|
##
|
239
239
|
# Deletes the ModelBuildInstance
|
240
|
-
# @return [Boolean] true if delete succeeds,
|
240
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
241
241
|
def delete
|
242
242
|
@version.delete('delete', @uri)
|
243
243
|
end
|
@@ -383,7 +383,7 @@ module Twilio
|
|
383
383
|
|
384
384
|
##
|
385
385
|
# Deletes the ModelBuildInstance
|
386
|
-
# @return [Boolean] true if delete succeeds,
|
386
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
387
387
|
def delete
|
388
388
|
context.delete
|
389
389
|
end
|
@@ -269,7 +269,7 @@ module Twilio
|
|
269
269
|
|
270
270
|
##
|
271
271
|
# Deletes the QueryInstance
|
272
|
-
# @return [Boolean] true if delete succeeds,
|
272
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
273
273
|
def delete
|
274
274
|
@version.delete('delete', @uri)
|
275
275
|
end
|
@@ -437,7 +437,7 @@ module Twilio
|
|
437
437
|
|
438
438
|
##
|
439
439
|
# Deletes the QueryInstance
|
440
|
-
# @return [Boolean] true if delete succeeds,
|
440
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
441
441
|
def delete
|
442
442
|
context.delete
|
443
443
|
end
|
@@ -253,7 +253,7 @@ module Twilio
|
|
253
253
|
|
254
254
|
##
|
255
255
|
# Deletes the TaskInstance
|
256
|
-
# @return [Boolean] true if delete succeeds,
|
256
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
257
257
|
def delete
|
258
258
|
@version.delete('delete', @uri)
|
259
259
|
end
|
@@ -470,7 +470,7 @@ module Twilio
|
|
470
470
|
|
471
471
|
##
|
472
472
|
# Deletes the TaskInstance
|
473
|
-
# @return [Boolean] true if delete succeeds,
|
473
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
474
474
|
def delete
|
475
475
|
context.delete
|
476
476
|
end
|
@@ -232,7 +232,7 @@ module Twilio
|
|
232
232
|
|
233
233
|
##
|
234
234
|
# Deletes the FieldInstance
|
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
|
@@ -372,7 +372,7 @@ module Twilio
|
|
372
372
|
|
373
373
|
##
|
374
374
|
# Deletes the FieldInstance
|
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
|
@@ -277,7 +277,7 @@ module Twilio
|
|
277
277
|
|
278
278
|
##
|
279
279
|
# Deletes the SampleInstance
|
280
|
-
# @return [Boolean] true if delete succeeds,
|
280
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
281
281
|
def delete
|
282
282
|
@version.delete('delete', @uri)
|
283
283
|
end
|
@@ -439,7 +439,7 @@ module Twilio
|
|
439
439
|
|
440
440
|
##
|
441
441
|
# Deletes the SampleInstance
|
442
|
-
# @return [Boolean] true if delete succeeds,
|
442
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
443
443
|
def delete
|
444
444
|
context.delete
|
445
445
|
end
|
@@ -255,7 +255,7 @@ module Twilio
|
|
255
255
|
|
256
256
|
##
|
257
257
|
# Deletes the WebhookInstance
|
258
|
-
# @return [Boolean] true if delete succeeds,
|
258
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
259
259
|
def delete
|
260
260
|
@version.delete('delete', @uri)
|
261
261
|
end
|
@@ -411,7 +411,7 @@ module Twilio
|
|
411
411
|
|
412
412
|
##
|
413
413
|
# Deletes the WebhookInstance
|
414
|
-
# @return [Boolean] true if delete succeeds,
|
414
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
415
415
|
def delete
|
416
416
|
context.delete
|
417
417
|
end
|
@@ -257,7 +257,7 @@ module Twilio
|
|
257
257
|
|
258
258
|
##
|
259
259
|
# Deletes the CredentialInstance
|
260
|
-
# @return [Boolean] true if delete succeeds,
|
260
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
261
261
|
def delete
|
262
262
|
@version.delete('delete', @uri)
|
263
263
|
end
|
@@ -405,7 +405,7 @@ module Twilio
|
|
405
405
|
|
406
406
|
##
|
407
407
|
# Deletes the CredentialInstance
|
408
|
-
# @return [Boolean] true if delete succeeds,
|
408
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
409
409
|
def delete
|
410
410
|
context.delete
|
411
411
|
end
|
@@ -196,7 +196,7 @@ module Twilio
|
|
196
196
|
|
197
197
|
##
|
198
198
|
# Deletes the ServiceInstance
|
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
|
@@ -670,7 +670,7 @@ module Twilio
|
|
670
670
|
|
671
671
|
##
|
672
672
|
# Deletes the ServiceInstance
|
673
|
-
# @return [Boolean] true if delete succeeds,
|
673
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
674
674
|
def delete
|
675
675
|
context.delete
|
676
676
|
end
|
@@ -223,7 +223,7 @@ module Twilio
|
|
223
223
|
|
224
224
|
##
|
225
225
|
# Deletes the ChannelInstance
|
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
|
@@ -477,7 +477,7 @@ module Twilio
|
|
477
477
|
|
478
478
|
##
|
479
479
|
# Deletes the ChannelInstance
|
480
|
-
# @return [Boolean] true if delete succeeds,
|
480
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
481
481
|
def delete
|
482
482
|
context.delete
|
483
483
|
end
|
@@ -243,7 +243,7 @@ module Twilio
|
|
243
243
|
|
244
244
|
##
|
245
245
|
# Deletes the InviteInstance
|
246
|
-
# @return [Boolean] true if delete succeeds,
|
246
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
247
247
|
def delete
|
248
248
|
@version.delete('delete', @uri)
|
249
249
|
end
|
@@ -388,7 +388,7 @@ module Twilio
|
|
388
388
|
|
389
389
|
##
|
390
390
|
# Deletes the InviteInstance
|
391
|
-
# @return [Boolean] true if delete succeeds,
|
391
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
392
392
|
def delete
|
393
393
|
context.delete
|
394
394
|
end
|
@@ -243,7 +243,7 @@ module Twilio
|
|
243
243
|
|
244
244
|
##
|
245
245
|
# Deletes the MemberInstance
|
246
|
-
# @return [Boolean] true if delete succeeds,
|
246
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
247
247
|
def delete
|
248
248
|
@version.delete('delete', @uri)
|
249
249
|
end
|
@@ -426,7 +426,7 @@ module Twilio
|
|
426
426
|
|
427
427
|
##
|
428
428
|
# Deletes the MemberInstance
|
429
|
-
# @return [Boolean] true if delete succeeds,
|
429
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
430
430
|
def delete
|
431
431
|
context.delete
|
432
432
|
end
|
@@ -234,7 +234,7 @@ module Twilio
|
|
234
234
|
|
235
235
|
##
|
236
236
|
# Deletes the MessageInstance
|
237
|
-
# @return [Boolean] true if delete succeeds,
|
237
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
238
238
|
def delete
|
239
239
|
@version.delete('delete', @uri)
|
240
240
|
end
|
@@ -426,7 +426,7 @@ module Twilio
|
|
426
426
|
|
427
427
|
##
|
428
428
|
# Deletes the MessageInstance
|
429
|
-
# @return [Boolean] true if delete succeeds,
|
429
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
430
430
|
def delete
|
431
431
|
context.delete
|
432
432
|
end
|
@@ -209,7 +209,7 @@ module Twilio
|
|
209
209
|
|
210
210
|
##
|
211
211
|
# Deletes the RoleInstance
|
212
|
-
# @return [Boolean] true if delete succeeds,
|
212
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
213
213
|
def delete
|
214
214
|
@version.delete('delete', @uri)
|
215
215
|
end
|
@@ -354,7 +354,7 @@ module Twilio
|
|
354
354
|
|
355
355
|
##
|
356
356
|
# Deletes the RoleInstance
|
357
|
-
# @return [Boolean] true if delete succeeds,
|
357
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
358
358
|
def delete
|
359
359
|
context.delete
|
360
360
|
end
|
@@ -216,7 +216,7 @@ module Twilio
|
|
216
216
|
|
217
217
|
##
|
218
218
|
# Deletes the UserInstance
|
219
|
-
# @return [Boolean] true if delete succeeds,
|
219
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
220
220
|
def delete
|
221
221
|
@version.delete('delete', @uri)
|
222
222
|
end
|
@@ -418,7 +418,7 @@ module Twilio
|
|
418
418
|
|
419
419
|
##
|
420
420
|
# Deletes the UserInstance
|
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
|
@@ -20,8 +20,7 @@ module Twilio
|
|
20
20
|
end
|
21
21
|
|
22
22
|
##
|
23
|
-
# @param [String] sid The
|
24
|
-
# Credential resource to fetch.
|
23
|
+
# @param [String] sid The SID of the Credential resource to fetch.
|
25
24
|
# @return [Twilio::REST::Chat::V2::CredentialContext] if sid was passed.
|
26
25
|
# @return [Twilio::REST::Chat::V2::CredentialList]
|
27
26
|
def credentials(sid=:unset)
|
@@ -35,8 +34,7 @@ module Twilio
|
|
35
34
|
end
|
36
35
|
|
37
36
|
##
|
38
|
-
# @param [String] sid The
|
39
|
-
# Service resource to fetch.
|
37
|
+
# @param [String] sid The SID of the Service resource to fetch.
|
40
38
|
# @return [Twilio::REST::Chat::V2::ServiceContext] if sid was passed.
|
41
39
|
# @return [Twilio::REST::Chat::V2::ServiceList]
|
42
40
|
def services(sid=:unset)
|
@@ -115,12 +115,12 @@ module Twilio
|
|
115
115
|
# @param [String] certificate [APN only] The URL encoded representation of the
|
116
116
|
# certificate. For example,
|
117
117
|
# `-----BEGIN CERTIFICATE-----
|
118
|
-
# MIIFnTCCBIWgAwIBAgIIAjy9H849+
|
118
|
+
# MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==
|
119
119
|
# -----END CERTIFICATE-----`
|
120
120
|
# @param [String] private_key [APN only] The URL encoded representation of the
|
121
121
|
# private key. For example,
|
122
122
|
# `-----BEGIN RSA PRIVATE KEY-----
|
123
|
-
# MIIEpQIBAAKCAQEAuyf/
|
123
|
+
# MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...
|
124
124
|
# -----END RSA PRIVATE KEY-----`
|
125
125
|
# @param [Boolean] sandbox [APN only] Whether to send the credential to sandbox
|
126
126
|
# APNs. Can be `true` to send to sandbox APNs or `false` to send to production.
|
@@ -189,8 +189,7 @@ module Twilio
|
|
189
189
|
##
|
190
190
|
# Initialize the CredentialContext
|
191
191
|
# @param [Version] version Version that contains the resource
|
192
|
-
# @param [String] sid The
|
193
|
-
# Credential resource to fetch.
|
192
|
+
# @param [String] sid The SID of the Credential resource to fetch.
|
194
193
|
# @return [CredentialContext] CredentialContext
|
195
194
|
def initialize(version, sid)
|
196
195
|
super(version)
|
@@ -222,12 +221,12 @@ module Twilio
|
|
222
221
|
# @param [String] certificate [APN only] The URL encoded representation of the
|
223
222
|
# certificate. For example,
|
224
223
|
# `-----BEGIN CERTIFICATE-----
|
225
|
-
# MIIFnTCCBIWgAwIBAgIIAjy9H849+
|
224
|
+
# MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==
|
226
225
|
# -----END CERTIFICATE-----`
|
227
226
|
# @param [String] private_key [APN only] The URL encoded representation of the
|
228
227
|
# private key. For example,
|
229
228
|
# `-----BEGIN RSA PRIVATE KEY-----
|
230
|
-
# MIIEpQIBAAKCAQEAuyf/
|
229
|
+
# MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...
|
231
230
|
# -----END RSA PRIVATE KEY-----`
|
232
231
|
# @param [Boolean] sandbox [APN only] Whether to send the credential to sandbox
|
233
232
|
# APNs. Can be `true` to send to sandbox APNs or `false` to send to production.
|
@@ -257,7 +256,7 @@ module Twilio
|
|
257
256
|
|
258
257
|
##
|
259
258
|
# Deletes the CredentialInstance
|
260
|
-
# @return [Boolean] true if delete succeeds,
|
259
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
261
260
|
def delete
|
262
261
|
@version.delete('delete', @uri)
|
263
262
|
end
|
@@ -282,8 +281,7 @@ module Twilio
|
|
282
281
|
# Initialize the CredentialInstance
|
283
282
|
# @param [Version] version Version that contains the resource
|
284
283
|
# @param [Hash] payload payload that contains response from Twilio
|
285
|
-
# @param [String] sid The
|
286
|
-
# Credential resource to fetch.
|
284
|
+
# @param [String] sid The SID of the Credential resource to fetch.
|
287
285
|
# @return [CredentialInstance] CredentialInstance
|
288
286
|
def initialize(version, payload, sid: nil)
|
289
287
|
super(version)
|
@@ -347,13 +345,13 @@ module Twilio
|
|
347
345
|
end
|
348
346
|
|
349
347
|
##
|
350
|
-
# @return [Time] The
|
348
|
+
# @return [Time] The ISO 8601 date and time in GMT when the resource was created
|
351
349
|
def date_created
|
352
350
|
@properties['date_created']
|
353
351
|
end
|
354
352
|
|
355
353
|
##
|
356
|
-
# @return [Time] The
|
354
|
+
# @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
|
357
355
|
def date_updated
|
358
356
|
@properties['date_updated']
|
359
357
|
end
|
@@ -378,12 +376,12 @@ module Twilio
|
|
378
376
|
# @param [String] certificate [APN only] The URL encoded representation of the
|
379
377
|
# certificate. For example,
|
380
378
|
# `-----BEGIN CERTIFICATE-----
|
381
|
-
# MIIFnTCCBIWgAwIBAgIIAjy9H849+
|
379
|
+
# MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==
|
382
380
|
# -----END CERTIFICATE-----`
|
383
381
|
# @param [String] private_key [APN only] The URL encoded representation of the
|
384
382
|
# private key. For example,
|
385
383
|
# `-----BEGIN RSA PRIVATE KEY-----
|
386
|
-
# MIIEpQIBAAKCAQEAuyf/
|
384
|
+
# MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...
|
387
385
|
# -----END RSA PRIVATE KEY-----`
|
388
386
|
# @param [Boolean] sandbox [APN only] Whether to send the credential to sandbox
|
389
387
|
# APNs. Can be `true` to send to sandbox APNs or `false` to send to production.
|
@@ -405,7 +403,7 @@ module Twilio
|
|
405
403
|
|
406
404
|
##
|
407
405
|
# Deletes the CredentialInstance
|
408
|
-
# @return [Boolean] true if delete succeeds,
|
406
|
+
# @return [Boolean] true if delete succeeds, false otherwise
|
409
407
|
def delete
|
410
408
|
context.delete
|
411
409
|
end
|