twilio-ruby 5.20.0 → 5.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +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
|
@@ -247,6 +247,13 @@ module Twilio
|
|
|
247
247
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
248
248
|
"#<Twilio.Studio.V1.EngagementContext #{context}>"
|
|
249
249
|
end
|
|
250
|
+
|
|
251
|
+
##
|
|
252
|
+
# Provide a detailed, user friendly representation
|
|
253
|
+
def inspect
|
|
254
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
255
|
+
"#<Twilio.Studio.V1.EngagementContext #{context}>"
|
|
256
|
+
end
|
|
250
257
|
end
|
|
251
258
|
|
|
252
259
|
class EngagementInstance < InstanceResource
|
|
@@ -108,6 +108,13 @@ module Twilio
|
|
|
108
108
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
109
109
|
"#<Twilio.Studio.V1.EngagementContextContext #{context}>"
|
|
110
110
|
end
|
|
111
|
+
|
|
112
|
+
##
|
|
113
|
+
# Provide a detailed, user friendly representation
|
|
114
|
+
def inspect
|
|
115
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
116
|
+
"#<Twilio.Studio.V1.EngagementContextContext #{context}>"
|
|
117
|
+
end
|
|
111
118
|
end
|
|
112
119
|
|
|
113
120
|
class EngagementContextInstance < InstanceResource
|
|
@@ -204,6 +204,13 @@ module Twilio
|
|
|
204
204
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
205
205
|
"#<Twilio.Studio.V1.StepContext #{context}>"
|
|
206
206
|
end
|
|
207
|
+
|
|
208
|
+
##
|
|
209
|
+
# Provide a detailed, user friendly representation
|
|
210
|
+
def inspect
|
|
211
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
212
|
+
"#<Twilio.Studio.V1.StepContext #{context}>"
|
|
213
|
+
end
|
|
207
214
|
end
|
|
208
215
|
|
|
209
216
|
class StepInstance < InstanceResource
|
|
@@ -114,6 +114,13 @@ module Twilio
|
|
|
114
114
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
115
115
|
"#<Twilio.Studio.V1.StepContextContext #{context}>"
|
|
116
116
|
end
|
|
117
|
+
|
|
118
|
+
##
|
|
119
|
+
# Provide a detailed, user friendly representation
|
|
120
|
+
def inspect
|
|
121
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
122
|
+
"#<Twilio.Studio.V1.StepContextContext #{context}>"
|
|
123
|
+
end
|
|
117
124
|
end
|
|
118
125
|
|
|
119
126
|
class StepContextInstance < InstanceResource
|
|
@@ -274,6 +274,13 @@ module Twilio
|
|
|
274
274
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
275
275
|
"#<Twilio.Studio.V1.ExecutionContext #{context}>"
|
|
276
276
|
end
|
|
277
|
+
|
|
278
|
+
##
|
|
279
|
+
# Provide a detailed, user friendly representation
|
|
280
|
+
def inspect
|
|
281
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
282
|
+
"#<Twilio.Studio.V1.ExecutionContext #{context}>"
|
|
283
|
+
end
|
|
277
284
|
end
|
|
278
285
|
|
|
279
286
|
class ExecutionInstance < InstanceResource
|
|
@@ -108,6 +108,13 @@ module Twilio
|
|
|
108
108
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
109
109
|
"#<Twilio.Studio.V1.ExecutionContextContext #{context}>"
|
|
110
110
|
end
|
|
111
|
+
|
|
112
|
+
##
|
|
113
|
+
# Provide a detailed, user friendly representation
|
|
114
|
+
def inspect
|
|
115
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
116
|
+
"#<Twilio.Studio.V1.ExecutionContextContext #{context}>"
|
|
117
|
+
end
|
|
111
118
|
end
|
|
112
119
|
|
|
113
120
|
class ExecutionContextInstance < InstanceResource
|
|
@@ -209,6 +209,13 @@ module Twilio
|
|
|
209
209
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
210
210
|
"#<Twilio.Studio.V1.ExecutionStepContext #{context}>"
|
|
211
211
|
end
|
|
212
|
+
|
|
213
|
+
##
|
|
214
|
+
# Provide a detailed, user friendly representation
|
|
215
|
+
def inspect
|
|
216
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
217
|
+
"#<Twilio.Studio.V1.ExecutionStepContext #{context}>"
|
|
218
|
+
end
|
|
212
219
|
end
|
|
213
220
|
|
|
214
221
|
class ExecutionStepInstance < InstanceResource
|
|
@@ -114,6 +114,13 @@ module Twilio
|
|
|
114
114
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
115
115
|
"#<Twilio.Studio.V1.ExecutionStepContextContext #{context}>"
|
|
116
116
|
end
|
|
117
|
+
|
|
118
|
+
##
|
|
119
|
+
# Provide a detailed, user friendly representation
|
|
120
|
+
def inspect
|
|
121
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
122
|
+
"#<Twilio.Studio.V1.ExecutionStepContextContext #{context}>"
|
|
123
|
+
end
|
|
117
124
|
end
|
|
118
125
|
|
|
119
126
|
class ExecutionStepContextInstance < InstanceResource
|
|
@@ -328,6 +328,13 @@ module Twilio
|
|
|
328
328
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
329
329
|
"#<Twilio.Sync.V1.ServiceContext #{context}>"
|
|
330
330
|
end
|
|
331
|
+
|
|
332
|
+
##
|
|
333
|
+
# Provide a detailed, user friendly representation
|
|
334
|
+
def inspect
|
|
335
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
336
|
+
"#<Twilio.Sync.V1.ServiceContext #{context}>"
|
|
337
|
+
end
|
|
331
338
|
end
|
|
332
339
|
|
|
333
340
|
##
|
|
@@ -261,6 +261,13 @@ module Twilio
|
|
|
261
261
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
262
262
|
"#<Twilio.Sync.V1.DocumentContext #{context}>"
|
|
263
263
|
end
|
|
264
|
+
|
|
265
|
+
##
|
|
266
|
+
# Provide a detailed, user friendly representation
|
|
267
|
+
def inspect
|
|
268
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
269
|
+
"#<Twilio.Sync.V1.DocumentContext #{context}>"
|
|
270
|
+
end
|
|
264
271
|
end
|
|
265
272
|
|
|
266
273
|
##
|
|
@@ -238,6 +238,13 @@ module Twilio
|
|
|
238
238
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
239
239
|
"#<Twilio.Sync.V1.DocumentPermissionContext #{context}>"
|
|
240
240
|
end
|
|
241
|
+
|
|
242
|
+
##
|
|
243
|
+
# Provide a detailed, user friendly representation
|
|
244
|
+
def inspect
|
|
245
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
246
|
+
"#<Twilio.Sync.V1.DocumentPermissionContext #{context}>"
|
|
247
|
+
end
|
|
241
248
|
end
|
|
242
249
|
|
|
243
250
|
##
|
|
@@ -285,6 +285,13 @@ module Twilio
|
|
|
285
285
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
286
286
|
"#<Twilio.Sync.V1.SyncListContext #{context}>"
|
|
287
287
|
end
|
|
288
|
+
|
|
289
|
+
##
|
|
290
|
+
# Provide a detailed, user friendly representation
|
|
291
|
+
def inspect
|
|
292
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
293
|
+
"#<Twilio.Sync.V1.SyncListContext #{context}>"
|
|
294
|
+
end
|
|
288
295
|
end
|
|
289
296
|
|
|
290
297
|
##
|
|
@@ -302,6 +302,13 @@ module Twilio
|
|
|
302
302
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
303
303
|
"#<Twilio.Sync.V1.SyncListItemContext #{context}>"
|
|
304
304
|
end
|
|
305
|
+
|
|
306
|
+
##
|
|
307
|
+
# Provide a detailed, user friendly representation
|
|
308
|
+
def inspect
|
|
309
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
310
|
+
"#<Twilio.Sync.V1.SyncListItemContext #{context}>"
|
|
311
|
+
end
|
|
305
312
|
end
|
|
306
313
|
|
|
307
314
|
##
|
|
@@ -238,6 +238,13 @@ module Twilio
|
|
|
238
238
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
239
239
|
"#<Twilio.Sync.V1.SyncListPermissionContext #{context}>"
|
|
240
240
|
end
|
|
241
|
+
|
|
242
|
+
##
|
|
243
|
+
# Provide a detailed, user friendly representation
|
|
244
|
+
def inspect
|
|
245
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
246
|
+
"#<Twilio.Sync.V1.SyncListPermissionContext #{context}>"
|
|
247
|
+
end
|
|
241
248
|
end
|
|
242
249
|
|
|
243
250
|
##
|
|
@@ -285,6 +285,13 @@ module Twilio
|
|
|
285
285
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
286
286
|
"#<Twilio.Sync.V1.SyncMapContext #{context}>"
|
|
287
287
|
end
|
|
288
|
+
|
|
289
|
+
##
|
|
290
|
+
# Provide a detailed, user friendly representation
|
|
291
|
+
def inspect
|
|
292
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
293
|
+
"#<Twilio.Sync.V1.SyncMapContext #{context}>"
|
|
294
|
+
end
|
|
288
295
|
end
|
|
289
296
|
|
|
290
297
|
##
|
|
@@ -314,6 +314,13 @@ module Twilio
|
|
|
314
314
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
315
315
|
"#<Twilio.Sync.V1.SyncMapItemContext #{context}>"
|
|
316
316
|
end
|
|
317
|
+
|
|
318
|
+
##
|
|
319
|
+
# Provide a detailed, user friendly representation
|
|
320
|
+
def inspect
|
|
321
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
322
|
+
"#<Twilio.Sync.V1.SyncMapItemContext #{context}>"
|
|
323
|
+
end
|
|
317
324
|
end
|
|
318
325
|
|
|
319
326
|
##
|
|
@@ -238,6 +238,13 @@ module Twilio
|
|
|
238
238
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
239
239
|
"#<Twilio.Sync.V1.SyncMapPermissionContext #{context}>"
|
|
240
240
|
end
|
|
241
|
+
|
|
242
|
+
##
|
|
243
|
+
# Provide a detailed, user friendly representation
|
|
244
|
+
def inspect
|
|
245
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
246
|
+
"#<Twilio.Sync.V1.SyncMapPermissionContext #{context}>"
|
|
247
|
+
end
|
|
241
248
|
end
|
|
242
249
|
|
|
243
250
|
##
|
|
@@ -260,6 +260,13 @@ module Twilio
|
|
|
260
260
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
261
261
|
"#<Twilio.Sync.V1.SyncStreamContext #{context}>"
|
|
262
262
|
end
|
|
263
|
+
|
|
264
|
+
##
|
|
265
|
+
# Provide a detailed, user friendly representation
|
|
266
|
+
def inspect
|
|
267
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
268
|
+
"#<Twilio.Sync.V1.SyncStreamContext #{context}>"
|
|
269
|
+
end
|
|
263
270
|
end
|
|
264
271
|
|
|
265
272
|
##
|
|
@@ -450,6 +450,13 @@ module Twilio
|
|
|
450
450
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
451
451
|
"#<Twilio.Taskrouter.V1.WorkspaceContext #{context}>"
|
|
452
452
|
end
|
|
453
|
+
|
|
454
|
+
##
|
|
455
|
+
# Provide a detailed, user friendly representation
|
|
456
|
+
def inspect
|
|
457
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
458
|
+
"#<Twilio.Taskrouter.V1.WorkspaceContext #{context}>"
|
|
459
|
+
end
|
|
453
460
|
end
|
|
454
461
|
|
|
455
462
|
class WorkspaceInstance < InstanceResource
|
|
@@ -260,6 +260,13 @@ module Twilio
|
|
|
260
260
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
261
261
|
"#<Twilio.Taskrouter.V1.ActivityContext #{context}>"
|
|
262
262
|
end
|
|
263
|
+
|
|
264
|
+
##
|
|
265
|
+
# Provide a detailed, user friendly representation
|
|
266
|
+
def inspect
|
|
267
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
268
|
+
"#<Twilio.Taskrouter.V1.ActivityContext #{context}>"
|
|
269
|
+
end
|
|
263
270
|
end
|
|
264
271
|
|
|
265
272
|
class ActivityInstance < InstanceResource
|
|
@@ -15,7 +15,7 @@ module Twilio
|
|
|
15
15
|
##
|
|
16
16
|
# Initialize the EventList
|
|
17
17
|
# @param [Version] version Version that contains the resource
|
|
18
|
-
# @param [String] workspace_sid The
|
|
18
|
+
# @param [String] workspace_sid The workspace_sid
|
|
19
19
|
# @return [EventList] EventList
|
|
20
20
|
def initialize(version, workspace_sid: nil)
|
|
21
21
|
super(version)
|
|
@@ -44,7 +44,11 @@ module Twilio
|
|
|
44
44
|
# @param [String] task_sid Filter events by those pertaining to a particular task
|
|
45
45
|
# @param [String] worker_sid Filter events by those pertaining to a particular
|
|
46
46
|
# worker
|
|
47
|
-
# @param [String] workflow_sid
|
|
47
|
+
# @param [String] workflow_sid Filter events by those pertaining to a particular
|
|
48
|
+
# workflow
|
|
49
|
+
# @param [String] task_channel Filter events by those pertaining to a particular
|
|
50
|
+
# task channel
|
|
51
|
+
# @param [String] sid Filter events by those pertaining to a particular event
|
|
48
52
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
49
53
|
# guarantees to never return more than limit. Default is no limit
|
|
50
54
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -52,7 +56,7 @@ module Twilio
|
|
|
52
56
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
53
57
|
# efficient page size, i.e. min(limit, 1000)
|
|
54
58
|
# @return [Array] Array of up to limit results
|
|
55
|
-
def list(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, limit: nil, page_size: nil)
|
|
59
|
+
def list(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, task_channel: :unset, sid: :unset, limit: nil, page_size: nil)
|
|
56
60
|
self.stream(
|
|
57
61
|
end_date: end_date,
|
|
58
62
|
event_type: event_type,
|
|
@@ -63,6 +67,8 @@ module Twilio
|
|
|
63
67
|
task_sid: task_sid,
|
|
64
68
|
worker_sid: worker_sid,
|
|
65
69
|
workflow_sid: workflow_sid,
|
|
70
|
+
task_channel: task_channel,
|
|
71
|
+
sid: sid,
|
|
66
72
|
limit: limit,
|
|
67
73
|
page_size: page_size
|
|
68
74
|
).entries
|
|
@@ -87,7 +93,11 @@ module Twilio
|
|
|
87
93
|
# @param [String] task_sid Filter events by those pertaining to a particular task
|
|
88
94
|
# @param [String] worker_sid Filter events by those pertaining to a particular
|
|
89
95
|
# worker
|
|
90
|
-
# @param [String] workflow_sid
|
|
96
|
+
# @param [String] workflow_sid Filter events by those pertaining to a particular
|
|
97
|
+
# workflow
|
|
98
|
+
# @param [String] task_channel Filter events by those pertaining to a particular
|
|
99
|
+
# task channel
|
|
100
|
+
# @param [String] sid Filter events by those pertaining to a particular event
|
|
91
101
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
92
102
|
# guarantees to never return more than limit. Default is no limit.
|
|
93
103
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -95,7 +105,7 @@ module Twilio
|
|
|
95
105
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
96
106
|
# efficient page size, i.e. min(limit, 1000)
|
|
97
107
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
98
|
-
def stream(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, limit: nil, page_size: nil)
|
|
108
|
+
def stream(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, task_channel: :unset, sid: :unset, limit: nil, page_size: nil)
|
|
99
109
|
limits = @version.read_limits(limit, page_size)
|
|
100
110
|
|
|
101
111
|
page = self.page(
|
|
@@ -108,6 +118,8 @@ module Twilio
|
|
|
108
118
|
task_sid: task_sid,
|
|
109
119
|
worker_sid: worker_sid,
|
|
110
120
|
workflow_sid: workflow_sid,
|
|
121
|
+
task_channel: task_channel,
|
|
122
|
+
sid: sid,
|
|
111
123
|
page_size: limits[:page_size],
|
|
112
124
|
)
|
|
113
125
|
|
|
@@ -146,12 +158,16 @@ module Twilio
|
|
|
146
158
|
# @param [String] task_sid Filter events by those pertaining to a particular task
|
|
147
159
|
# @param [String] worker_sid Filter events by those pertaining to a particular
|
|
148
160
|
# worker
|
|
149
|
-
# @param [String] workflow_sid
|
|
161
|
+
# @param [String] workflow_sid Filter events by those pertaining to a particular
|
|
162
|
+
# workflow
|
|
163
|
+
# @param [String] task_channel Filter events by those pertaining to a particular
|
|
164
|
+
# task channel
|
|
165
|
+
# @param [String] sid Filter events by those pertaining to a particular event
|
|
150
166
|
# @param [String] page_token PageToken provided by the API
|
|
151
167
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
152
168
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
153
169
|
# @return [Page] Page of EventInstance
|
|
154
|
-
def page(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
170
|
+
def page(end_date: :unset, event_type: :unset, minutes: :unset, reservation_sid: :unset, start_date: :unset, task_queue_sid: :unset, task_sid: :unset, worker_sid: :unset, workflow_sid: :unset, task_channel: :unset, sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
155
171
|
params = Twilio::Values.of({
|
|
156
172
|
'EndDate' => Twilio.serialize_iso8601_datetime(end_date),
|
|
157
173
|
'EventType' => event_type,
|
|
@@ -162,6 +178,8 @@ module Twilio
|
|
|
162
178
|
'TaskSid' => task_sid,
|
|
163
179
|
'WorkerSid' => worker_sid,
|
|
164
180
|
'WorkflowSid' => workflow_sid,
|
|
181
|
+
'TaskChannel' => task_channel,
|
|
182
|
+
'Sid' => sid,
|
|
165
183
|
'PageToken' => page_token,
|
|
166
184
|
'Page' => page_number,
|
|
167
185
|
'PageSize' => page_size,
|
|
@@ -259,6 +277,13 @@ module Twilio
|
|
|
259
277
|
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
260
278
|
"#<Twilio.Taskrouter.V1.EventContext #{context}>"
|
|
261
279
|
end
|
|
280
|
+
|
|
281
|
+
##
|
|
282
|
+
# Provide a detailed, user friendly representation
|
|
283
|
+
def inspect
|
|
284
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
285
|
+
"#<Twilio.Taskrouter.V1.EventContext #{context}>"
|
|
286
|
+
end
|
|
262
287
|
end
|
|
263
288
|
|
|
264
289
|
class EventInstance < InstanceResource
|
|
@@ -266,7 +291,7 @@ module Twilio
|
|
|
266
291
|
# Initialize the EventInstance
|
|
267
292
|
# @param [Version] version Version that contains the resource
|
|
268
293
|
# @param [Hash] payload payload that contains response from Twilio
|
|
269
|
-
# @param [String] workspace_sid The
|
|
294
|
+
# @param [String] workspace_sid The workspace_sid
|
|
270
295
|
# @param [String] sid The sid
|
|
271
296
|
# @return [EventInstance] EventInstance
|
|
272
297
|
def initialize(version, payload, workspace_sid: nil, sid: nil)
|
|
@@ -281,6 +306,7 @@ module Twilio
|
|
|
281
306
|
'description' => payload['description'],
|
|
282
307
|
'event_data' => payload['event_data'],
|
|
283
308
|
'event_date' => Twilio.deserialize_iso8601_datetime(payload['event_date']),
|
|
309
|
+
'event_date_ms' => payload['event_date_ms'].to_i,
|
|
284
310
|
'event_type' => payload['event_type'],
|
|
285
311
|
'resource_sid' => payload['resource_sid'],
|
|
286
312
|
'resource_type' => payload['resource_type'],
|
|
@@ -289,6 +315,7 @@ module Twilio
|
|
|
289
315
|
'source' => payload['source'],
|
|
290
316
|
'source_ip_address' => payload['source_ip_address'],
|
|
291
317
|
'url' => payload['url'],
|
|
318
|
+
'workspace_sid' => payload['workspace_sid'],
|
|
292
319
|
}
|
|
293
320
|
|
|
294
321
|
# Context
|
|
@@ -338,7 +365,7 @@ module Twilio
|
|
|
338
365
|
end
|
|
339
366
|
|
|
340
367
|
##
|
|
341
|
-
# @return [
|
|
368
|
+
# @return [Hash] Data about this specific event.
|
|
342
369
|
def event_data
|
|
343
370
|
@properties['event_data']
|
|
344
371
|
end
|
|
@@ -349,6 +376,12 @@ module Twilio
|
|
|
349
376
|
@properties['event_date']
|
|
350
377
|
end
|
|
351
378
|
|
|
379
|
+
##
|
|
380
|
+
# @return [String] The time this event was sent in ms
|
|
381
|
+
def event_date_ms
|
|
382
|
+
@properties['event_date_ms']
|
|
383
|
+
end
|
|
384
|
+
|
|
352
385
|
##
|
|
353
386
|
# @return [String] An identifier for this event
|
|
354
387
|
def event_type
|
|
@@ -397,6 +430,12 @@ module Twilio
|
|
|
397
430
|
@properties['url']
|
|
398
431
|
end
|
|
399
432
|
|
|
433
|
+
##
|
|
434
|
+
# @return [String] The workspace_sid
|
|
435
|
+
def workspace_sid
|
|
436
|
+
@properties['workspace_sid']
|
|
437
|
+
end
|
|
438
|
+
|
|
400
439
|
##
|
|
401
440
|
# Fetch a EventInstance
|
|
402
441
|
# @return [EventInstance] Fetched EventInstance
|