twilio-ruby 5.20.0 → 5.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +22 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +7 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +11 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +7 -0
- data/lib/twilio-ruby/rest/authy/v1/form.rb +7 -0
- data/lib/twilio-ruby/rest/authy/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/authy/v1/service/entity.rb +7 -0
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +7 -0
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +7 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +7 -0
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +7 -0
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +7 -0
- data/lib/twilio-ruby/rest/flex_api.rb +44 -0
- data/lib/twilio-ruby/rest/flex_api/v1.rb +35 -0
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +408 -0
- data/lib/twilio-ruby/rest/insights/v1/summary.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +7 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/session.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/session/message.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/session/participant.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/webhook.rb +7 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +7 -0
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +7 -0
- data/lib/twilio-ruby/rest/preview/acc_security/service.rb +7 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +7 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +7 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +7 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +7 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +48 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +14 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +18 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +14 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +14 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/verify/v1/service.rb +26 -3
- data/lib/twilio-ruby/rest/verify/v1/service/verification.rb +21 -1
- data/lib/twilio-ruby/rest/verify/v1/service/verification_check.rb +26 -2
- data/lib/twilio-ruby/rest/video/v1/composition.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +7 -0
- data/lib/twilio-ruby/rest/voice/v1/voice_permission/country.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +7 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +3 -3
- data/spec/integration/flex_api/v1/configuration_spec.rb +350 -0
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +6 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +1 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +1 -0
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +1 -0
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +1 -1
- data/spec/integration/verify/v1/service/verification_check_spec.rb +2 -0
- data/spec/integration/verify/v1/service/verification_spec.rb +3 -1
- data/spec/integration/verify/v1/service_spec.rb +4 -0
- metadata +7 -2
@@ -320,6 +320,13 @@ module Twilio
|
|
320
320
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
321
321
|
"#<Twilio.Fax.V1.FaxContext #{context}>"
|
322
322
|
end
|
323
|
+
|
324
|
+
##
|
325
|
+
# Provide a detailed, user friendly representation
|
326
|
+
def inspect
|
327
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
328
|
+
"#<Twilio.Fax.V1.FaxContext #{context}>"
|
329
|
+
end
|
323
330
|
end
|
324
331
|
|
325
332
|
##
|
@@ -194,6 +194,13 @@ module Twilio
|
|
194
194
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
195
195
|
"#<Twilio.Fax.V1.FaxMediaContext #{context}>"
|
196
196
|
end
|
197
|
+
|
198
|
+
##
|
199
|
+
# Provide a detailed, user friendly representation
|
200
|
+
def inspect
|
201
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
202
|
+
"#<Twilio.Fax.V1.FaxMediaContext #{context}>"
|
203
|
+
end
|
197
204
|
end
|
198
205
|
|
199
206
|
##
|
@@ -0,0 +1,44 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
module Twilio
|
10
|
+
module REST
|
11
|
+
class FlexApi < Domain
|
12
|
+
##
|
13
|
+
# Initialize the FlexApi Domain
|
14
|
+
def initialize(twilio)
|
15
|
+
super
|
16
|
+
|
17
|
+
@base_url = 'https://flex-api.twilio.com'
|
18
|
+
@host = 'flex-api.twilio.com'
|
19
|
+
@port = 443
|
20
|
+
|
21
|
+
# Versions
|
22
|
+
@v1 = nil
|
23
|
+
end
|
24
|
+
|
25
|
+
##
|
26
|
+
# Version v1 of flex_api
|
27
|
+
def v1
|
28
|
+
@v1 ||= V1.new self
|
29
|
+
end
|
30
|
+
|
31
|
+
##
|
32
|
+
# @return [Twilio::REST::Flex_api::V1::ConfigurationInstance]
|
33
|
+
def configuration
|
34
|
+
self.v1.configuration()
|
35
|
+
end
|
36
|
+
|
37
|
+
##
|
38
|
+
# Provide a user friendly representation
|
39
|
+
def to_s
|
40
|
+
'#<Twilio::REST::FlexApi>'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
module Twilio
|
10
|
+
module REST
|
11
|
+
class FlexApi
|
12
|
+
class V1 < Version
|
13
|
+
##
|
14
|
+
# Initialize the V1 version of FlexApi
|
15
|
+
def initialize(domain)
|
16
|
+
super
|
17
|
+
@version = 'v1'
|
18
|
+
@configuration = nil
|
19
|
+
end
|
20
|
+
|
21
|
+
##
|
22
|
+
# @return [Twilio::REST::Flex_api::V1::ConfigurationContext]
|
23
|
+
def configuration
|
24
|
+
@configuration ||= ConfigurationContext.new self
|
25
|
+
end
|
26
|
+
|
27
|
+
##
|
28
|
+
# Provide a user friendly representation
|
29
|
+
def to_s
|
30
|
+
'<Twilio::REST::FlexApi::V1>'
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,408 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# \ / _ _ _| _ _
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
|
+
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
8
|
+
|
9
|
+
module Twilio
|
10
|
+
module REST
|
11
|
+
class FlexApi < Domain
|
12
|
+
class V1 < Version
|
13
|
+
class ConfigurationList < ListResource
|
14
|
+
##
|
15
|
+
# Initialize the ConfigurationList
|
16
|
+
# @param [Version] version Version that contains the resource
|
17
|
+
# @return [ConfigurationList] ConfigurationList
|
18
|
+
def initialize(version)
|
19
|
+
super(version)
|
20
|
+
|
21
|
+
# Path Solution
|
22
|
+
@solution = {}
|
23
|
+
end
|
24
|
+
|
25
|
+
##
|
26
|
+
# Provide a user friendly representation
|
27
|
+
def to_s
|
28
|
+
'#<Twilio.FlexApi.V1.ConfigurationList>'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
class ConfigurationPage < Page
|
33
|
+
##
|
34
|
+
# Initialize the ConfigurationPage
|
35
|
+
# @param [Version] version Version that contains the resource
|
36
|
+
# @param [Response] response Response from the API
|
37
|
+
# @param [Hash] solution Path solution for the resource
|
38
|
+
# @return [ConfigurationPage] ConfigurationPage
|
39
|
+
def initialize(version, response, solution)
|
40
|
+
super(version, response)
|
41
|
+
|
42
|
+
# Path Solution
|
43
|
+
@solution = solution
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Build an instance of ConfigurationInstance
|
48
|
+
# @param [Hash] payload Payload response from the API
|
49
|
+
# @return [ConfigurationInstance] ConfigurationInstance
|
50
|
+
def get_instance(payload)
|
51
|
+
ConfigurationInstance.new(@version, payload, )
|
52
|
+
end
|
53
|
+
|
54
|
+
##
|
55
|
+
# Provide a user friendly representation
|
56
|
+
def to_s
|
57
|
+
'<Twilio.FlexApi.V1.ConfigurationPage>'
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
class ConfigurationContext < InstanceContext
|
62
|
+
##
|
63
|
+
# Initialize the ConfigurationContext
|
64
|
+
# @param [Version] version Version that contains the resource
|
65
|
+
# @return [ConfigurationContext] ConfigurationContext
|
66
|
+
def initialize(version)
|
67
|
+
super(version)
|
68
|
+
|
69
|
+
# Path Solution
|
70
|
+
@solution = {}
|
71
|
+
@uri = "/Configuration"
|
72
|
+
end
|
73
|
+
|
74
|
+
##
|
75
|
+
# Fetch a ConfigurationInstance
|
76
|
+
# @param [String] ui_version Pinned UI version
|
77
|
+
# @return [ConfigurationInstance] Fetched ConfigurationInstance
|
78
|
+
def fetch(ui_version: :unset)
|
79
|
+
params = Twilio::Values.of({'UiVersion' => ui_version, })
|
80
|
+
|
81
|
+
payload = @version.fetch(
|
82
|
+
'GET',
|
83
|
+
@uri,
|
84
|
+
params,
|
85
|
+
)
|
86
|
+
|
87
|
+
ConfigurationInstance.new(@version, payload, )
|
88
|
+
end
|
89
|
+
|
90
|
+
##
|
91
|
+
# Retrieve a single page of ConfigurationInstance records from the API.
|
92
|
+
# Request is executed immediately.
|
93
|
+
# @return [ConfigurationInstance] Newly created ConfigurationInstance
|
94
|
+
def create
|
95
|
+
data = Twilio::Values.of({})
|
96
|
+
|
97
|
+
payload = @version.create(
|
98
|
+
'POST',
|
99
|
+
@uri,
|
100
|
+
data: data
|
101
|
+
)
|
102
|
+
|
103
|
+
ConfigurationInstance.new(@version, payload, )
|
104
|
+
end
|
105
|
+
|
106
|
+
##
|
107
|
+
# Update the ConfigurationInstance
|
108
|
+
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
109
|
+
def update
|
110
|
+
data = Twilio::Values.of({})
|
111
|
+
|
112
|
+
payload = @version.update(
|
113
|
+
'POST',
|
114
|
+
@uri,
|
115
|
+
data: data,
|
116
|
+
)
|
117
|
+
|
118
|
+
ConfigurationInstance.new(@version, payload, )
|
119
|
+
end
|
120
|
+
|
121
|
+
##
|
122
|
+
# Provide a user friendly representation
|
123
|
+
def to_s
|
124
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
125
|
+
"#<Twilio.FlexApi.V1.ConfigurationContext #{context}>"
|
126
|
+
end
|
127
|
+
|
128
|
+
##
|
129
|
+
# Provide a detailed, user friendly representation
|
130
|
+
def inspect
|
131
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
132
|
+
"#<Twilio.FlexApi.V1.ConfigurationContext #{context}>"
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class ConfigurationInstance < InstanceResource
|
137
|
+
##
|
138
|
+
# Initialize the ConfigurationInstance
|
139
|
+
# @param [Version] version Version that contains the resource
|
140
|
+
# @param [Hash] payload payload that contains response from Twilio
|
141
|
+
# @return [ConfigurationInstance] ConfigurationInstance
|
142
|
+
def initialize(version, payload)
|
143
|
+
super(version)
|
144
|
+
|
145
|
+
# Marshaled Properties
|
146
|
+
@properties = {
|
147
|
+
'account_sid' => payload['account_sid'],
|
148
|
+
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
149
|
+
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
150
|
+
'attributes' => payload['attributes'],
|
151
|
+
'status' => payload['status'],
|
152
|
+
'taskrouter_workspace_sid' => payload['taskrouter_workspace_sid'],
|
153
|
+
'taskrouter_target_workflow_sid' => payload['taskrouter_target_workflow_sid'],
|
154
|
+
'taskrouter_target_taskqueue_sid' => payload['taskrouter_target_taskqueue_sid'],
|
155
|
+
'taskrouter_taskqueues' => payload['taskrouter_taskqueues'],
|
156
|
+
'taskrouter_skills' => payload['taskrouter_skills'],
|
157
|
+
'taskrouter_worker_channels' => payload['taskrouter_worker_channels'],
|
158
|
+
'taskrouter_worker_attributes' => payload['taskrouter_worker_attributes'],
|
159
|
+
'taskrouter_offline_activity_sid' => payload['taskrouter_offline_activity_sid'],
|
160
|
+
'runtime_domain' => payload['runtime_domain'],
|
161
|
+
'messaging_service_instance_sid' => payload['messaging_service_instance_sid'],
|
162
|
+
'chat_service_instance_sid' => payload['chat_service_instance_sid'],
|
163
|
+
'ui_language' => payload['ui_language'],
|
164
|
+
'ui_attributes' => payload['ui_attributes'],
|
165
|
+
'ui_version' => payload['ui_version'],
|
166
|
+
'service_version' => payload['service_version'],
|
167
|
+
'call_recording_enabled' => payload['call_recording_enabled'],
|
168
|
+
'call_recording_webhook_url' => payload['call_recording_webhook_url'],
|
169
|
+
'crm_enabled' => payload['crm_enabled'],
|
170
|
+
'crm_type' => payload['crm_type'],
|
171
|
+
'crm_callback_url' => payload['crm_callback_url'],
|
172
|
+
'crm_fallback_url' => payload['crm_fallback_url'],
|
173
|
+
'crm_attributes' => payload['crm_attributes'],
|
174
|
+
'public_attributes' => payload['public_attributes'],
|
175
|
+
'url' => payload['url'],
|
176
|
+
}
|
177
|
+
|
178
|
+
# Context
|
179
|
+
@instance_context = nil
|
180
|
+
@params = {}
|
181
|
+
end
|
182
|
+
|
183
|
+
##
|
184
|
+
# Generate an instance context for the instance, the context is capable of
|
185
|
+
# performing various actions. All instance actions are proxied to the context
|
186
|
+
# @return [ConfigurationContext] ConfigurationContext for this ConfigurationInstance
|
187
|
+
def context
|
188
|
+
unless @instance_context
|
189
|
+
@instance_context = ConfigurationContext.new(@version, )
|
190
|
+
end
|
191
|
+
@instance_context
|
192
|
+
end
|
193
|
+
|
194
|
+
##
|
195
|
+
# @return [String] The unique id of the Account responsible for this configuration
|
196
|
+
def account_sid
|
197
|
+
@properties['account_sid']
|
198
|
+
end
|
199
|
+
|
200
|
+
##
|
201
|
+
# @return [Time] The time the Configuration was created, given as GMT in ISO 8601 format
|
202
|
+
def date_created
|
203
|
+
@properties['date_created']
|
204
|
+
end
|
205
|
+
|
206
|
+
##
|
207
|
+
# @return [Time] The time the Configuration was last updated, given as GMT in ISO 8601 format
|
208
|
+
def date_updated
|
209
|
+
@properties['date_updated']
|
210
|
+
end
|
211
|
+
|
212
|
+
##
|
213
|
+
# @return [Hash] Attiributes
|
214
|
+
def attributes
|
215
|
+
@properties['attributes']
|
216
|
+
end
|
217
|
+
|
218
|
+
##
|
219
|
+
# @return [configuration.Status] Status of the Flex onboarding
|
220
|
+
def status
|
221
|
+
@properties['status']
|
222
|
+
end
|
223
|
+
|
224
|
+
##
|
225
|
+
# @return [String] The unique ID of the TaskRouter Workspace
|
226
|
+
def taskrouter_workspace_sid
|
227
|
+
@properties['taskrouter_workspace_sid']
|
228
|
+
end
|
229
|
+
|
230
|
+
##
|
231
|
+
# @return [String] The unique ID of the TaskRouter Target Workflow
|
232
|
+
def taskrouter_target_workflow_sid
|
233
|
+
@properties['taskrouter_target_workflow_sid']
|
234
|
+
end
|
235
|
+
|
236
|
+
##
|
237
|
+
# @return [String] The unique ID of the TaskRouter Target TaskQueue
|
238
|
+
def taskrouter_target_taskqueue_sid
|
239
|
+
@properties['taskrouter_target_taskqueue_sid']
|
240
|
+
end
|
241
|
+
|
242
|
+
##
|
243
|
+
# @return [Hash] Array of TaskRouter TaskQueues
|
244
|
+
def taskrouter_taskqueues
|
245
|
+
@properties['taskrouter_taskqueues']
|
246
|
+
end
|
247
|
+
|
248
|
+
##
|
249
|
+
# @return [Hash] Skill description for TaskRouter workers
|
250
|
+
def taskrouter_skills
|
251
|
+
@properties['taskrouter_skills']
|
252
|
+
end
|
253
|
+
|
254
|
+
##
|
255
|
+
# @return [Hash] TaskRouter default channel capacities and availability for workers
|
256
|
+
def taskrouter_worker_channels
|
257
|
+
@properties['taskrouter_worker_channels']
|
258
|
+
end
|
259
|
+
|
260
|
+
##
|
261
|
+
# @return [Hash] The taskrouter_worker_attributes
|
262
|
+
def taskrouter_worker_attributes
|
263
|
+
@properties['taskrouter_worker_attributes']
|
264
|
+
end
|
265
|
+
|
266
|
+
##
|
267
|
+
# @return [String] The unique ID of the offline activity
|
268
|
+
def taskrouter_offline_activity_sid
|
269
|
+
@properties['taskrouter_offline_activity_sid']
|
270
|
+
end
|
271
|
+
|
272
|
+
##
|
273
|
+
# @return [String] Flex resources hosting URL for the main UI
|
274
|
+
def runtime_domain
|
275
|
+
@properties['runtime_domain']
|
276
|
+
end
|
277
|
+
|
278
|
+
##
|
279
|
+
# @return [String] Unique 34 character ID of the Messaging Service
|
280
|
+
def messaging_service_instance_sid
|
281
|
+
@properties['messaging_service_instance_sid']
|
282
|
+
end
|
283
|
+
|
284
|
+
##
|
285
|
+
# @return [String] The unique id of the Chat Service this user belongs to
|
286
|
+
def chat_service_instance_sid
|
287
|
+
@properties['chat_service_instance_sid']
|
288
|
+
end
|
289
|
+
|
290
|
+
##
|
291
|
+
# @return [String] Main language of the Flex UI
|
292
|
+
def ui_language
|
293
|
+
@properties['ui_language']
|
294
|
+
end
|
295
|
+
|
296
|
+
##
|
297
|
+
# @return [Hash] UI Attributes
|
298
|
+
def ui_attributes
|
299
|
+
@properties['ui_attributes']
|
300
|
+
end
|
301
|
+
|
302
|
+
##
|
303
|
+
# @return [String] Pinned UI version
|
304
|
+
def ui_version
|
305
|
+
@properties['ui_version']
|
306
|
+
end
|
307
|
+
|
308
|
+
##
|
309
|
+
# @return [String] Flex Service version
|
310
|
+
def service_version
|
311
|
+
@properties['service_version']
|
312
|
+
end
|
313
|
+
|
314
|
+
##
|
315
|
+
# @return [Boolean] Call recording enabled
|
316
|
+
def call_recording_enabled
|
317
|
+
@properties['call_recording_enabled']
|
318
|
+
end
|
319
|
+
|
320
|
+
##
|
321
|
+
# @return [String] Call recording webhook url
|
322
|
+
def call_recording_webhook_url
|
323
|
+
@properties['call_recording_webhook_url']
|
324
|
+
end
|
325
|
+
|
326
|
+
##
|
327
|
+
# @return [Boolean] Flag indicating whether CRM is present for Flex
|
328
|
+
def crm_enabled
|
329
|
+
@properties['crm_enabled']
|
330
|
+
end
|
331
|
+
|
332
|
+
##
|
333
|
+
# @return [String] CRM Type
|
334
|
+
def crm_type
|
335
|
+
@properties['crm_type']
|
336
|
+
end
|
337
|
+
|
338
|
+
##
|
339
|
+
# @return [String] CRM Callback URL
|
340
|
+
def crm_callback_url
|
341
|
+
@properties['crm_callback_url']
|
342
|
+
end
|
343
|
+
|
344
|
+
##
|
345
|
+
# @return [String] CRM Fallback URL
|
346
|
+
def crm_fallback_url
|
347
|
+
@properties['crm_fallback_url']
|
348
|
+
end
|
349
|
+
|
350
|
+
##
|
351
|
+
# @return [Hash] CRM Attributes
|
352
|
+
def crm_attributes
|
353
|
+
@properties['crm_attributes']
|
354
|
+
end
|
355
|
+
|
356
|
+
##
|
357
|
+
# @return [Hash] Public Attributes
|
358
|
+
def public_attributes
|
359
|
+
@properties['public_attributes']
|
360
|
+
end
|
361
|
+
|
362
|
+
##
|
363
|
+
# @return [String] The URL for this resource
|
364
|
+
def url
|
365
|
+
@properties['url']
|
366
|
+
end
|
367
|
+
|
368
|
+
##
|
369
|
+
# Fetch a ConfigurationInstance
|
370
|
+
# @param [String] ui_version Pinned UI version
|
371
|
+
# @return [ConfigurationInstance] Fetched ConfigurationInstance
|
372
|
+
def fetch(ui_version: :unset)
|
373
|
+
context.fetch(ui_version: ui_version, )
|
374
|
+
end
|
375
|
+
|
376
|
+
##
|
377
|
+
# Retrieve a single page of ConfigurationInstance records from the API.
|
378
|
+
# Request is executed immediately.
|
379
|
+
# @return [ConfigurationInstance] Newly created ConfigurationInstance
|
380
|
+
def create
|
381
|
+
context.create
|
382
|
+
end
|
383
|
+
|
384
|
+
##
|
385
|
+
# Update the ConfigurationInstance
|
386
|
+
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
387
|
+
def update
|
388
|
+
context.update
|
389
|
+
end
|
390
|
+
|
391
|
+
##
|
392
|
+
# Provide a user friendly representation
|
393
|
+
def to_s
|
394
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
395
|
+
"<Twilio.FlexApi.V1.ConfigurationInstance #{values}>"
|
396
|
+
end
|
397
|
+
|
398
|
+
##
|
399
|
+
# Provide a detailed, user friendly representation
|
400
|
+
def inspect
|
401
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
402
|
+
"<Twilio.FlexApi.V1.ConfigurationInstance #{values}>"
|
403
|
+
end
|
404
|
+
end
|
405
|
+
end
|
406
|
+
end
|
407
|
+
end
|
408
|
+
end
|