twilio-ruby 5.8.1 → 5.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +9 -0
- data/PULL_REQUEST_TEMPLATE.md +4 -0
- data/README.md +2 -2
- data/lib/rack/twilio_webhook_authentication.rb +2 -0
- data/lib/twilio-ruby/framework/domain.rb +2 -0
- data/lib/twilio-ruby/framework/error.rb +2 -0
- data/lib/twilio-ruby/framework/helper.rb +2 -0
- data/lib/twilio-ruby/framework/obsolete_client.rb +2 -0
- data/lib/twilio-ruby/framework/page.rb +2 -0
- data/lib/twilio-ruby/framework/request.rb +2 -0
- data/lib/twilio-ruby/framework/resource.rb +2 -0
- data/lib/twilio-ruby/framework/response.rb +2 -0
- data/lib/twilio-ruby/framework/serialize.rb +2 -0
- data/lib/twilio-ruby/framework/twilio_response.rb +2 -0
- data/lib/twilio-ruby/framework/values.rb +2 -0
- data/lib/twilio-ruby/framework/version.rb +2 -0
- data/lib/twilio-ruby/http/http_client.rb +2 -0
- data/lib/twilio-ruby/jwt/access_token.rb +2 -0
- data/lib/twilio-ruby/jwt/client_capability.rb +2 -0
- data/lib/twilio-ruby/jwt/jwt.rb +2 -0
- data/lib/twilio-ruby/jwt/task_router.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +2 -0
- data/lib/twilio-ruby/rest/accounts.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +6 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +82 -45
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +65 -51
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +174 -73
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +174 -73
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +174 -73
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +12 -6
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +19 -9
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +150 -81
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +66 -50
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +13 -7
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +19 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +110 -58
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +110 -58
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +110 -58
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +106 -79
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +6 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +74 -26
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +12 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +18 -10
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +7 -3
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +21 -14
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +7 -5
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +6 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +29 -13
- data/lib/twilio-ruby/rest/api/v2010/account.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010.rb +2 -0
- data/lib/twilio-ruby/rest/api.rb +3 -1
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2.rb +2 -0
- data/lib/twilio-ruby/rest/chat.rb +2 -0
- data/lib/twilio-ruby/rest/client.rb +3 -1
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +2 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +11 -6
- data/lib/twilio-ruby/rest/fax/v1.rb +2 -0
- data/lib/twilio-ruby/rest/fax.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging.rb +2 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/lookups/v1.rb +2 -0
- data/lib/twilio-ruby/rest/lookups.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +17 -11
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +15 -12
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +54 -28
- data/lib/twilio-ruby/rest/messaging/v1.rb +2 -0
- data/lib/twilio-ruby/rest/messaging.rb +3 -1
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +52 -23
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
- data/lib/twilio-ruby/rest/monitor/v1.rb +2 -0
- data/lib/twilio-ruby/rest/monitor.rb +3 -1
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1.rb +2 -0
- data/lib/twilio-ruby/rest/notify.rb +2 -0
- data/lib/twilio-ruby/rest/preview/acc_security/service/verification.rb +2 -0
- data/lib/twilio-ruby/rest/preview/acc_security/service/verification_check.rb +2 -0
- data/lib/twilio-ruby/rest/preview/acc_security/service.rb +2 -0
- data/lib/twilio-ruby/rest/preview/acc_security.rb +2 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +2 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +2 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +2 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +2 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices.rb +2 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +14 -12
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +26 -21
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +36 -25
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +9 -5
- data/lib/twilio-ruby/rest/preview/marketplace.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +2 -0
- data/lib/twilio-ruby/rest/preview/proxy.rb +2 -0
- data/lib/twilio-ruby/rest/preview/studio/flow/engagement/step.rb +2 -0
- data/lib/twilio-ruby/rest/preview/studio/flow/engagement.rb +2 -0
- data/lib/twilio-ruby/rest/preview/studio/flow.rb +2 -0
- data/lib/twilio-ruby/rest/preview/studio.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -0
- data/lib/twilio-ruby/rest/preview/sync.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/intent/field.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/intent/sample.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/intent.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +2 -0
- data/lib/twilio-ruby/rest/preview/understand.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless.rb +2 -0
- data/lib/twilio-ruby/rest/preview.rb +5 -2
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1.rb +2 -0
- data/lib/twilio-ruby/rest/pricing.rb +2 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +3 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +16 -32
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +15 -15
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +15 -17
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +37 -42
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +4 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +34 -23
- data/lib/twilio-ruby/rest/proxy/v1.rb +2 -0
- data/lib/twilio-ruby/rest/proxy.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1.rb +2 -0
- data/lib/twilio-ruby/rest/studio.rb +2 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +31 -21
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +40 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +20 -15
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +31 -20
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +24 -17
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +10 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +14 -9
- data/lib/twilio-ruby/rest/sync/v1/service.rb +39 -16
- data/lib/twilio-ruby/rest/sync/v1.rb +2 -0
- data/lib/twilio-ruby/rest/sync.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +42 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +56 -33
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +69 -64
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +128 -55
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +51 -25
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +15 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +36 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +61 -20
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +83 -35
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +27 -24
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +36 -20
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +24 -8
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +31 -15
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +36 -14
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +71 -37
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +52 -26
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +11 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +36 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +68 -33
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +52 -26
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +13 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +36 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +95 -36
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter.rb +3 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +2 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +2 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +2 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +2 -0
- data/lib/twilio-ruby/rest/trunking/v1.rb +2 -0
- data/lib/twilio-ruby/rest/trunking.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +29 -24
- data/lib/twilio-ruby/rest/video/v1/recording.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +34 -21
- data/lib/twilio-ruby/rest/video/v1/room.rb +59 -40
- data/lib/twilio-ruby/rest/video/v1.rb +2 -0
- data/lib/twilio-ruby/rest/video.rb +4 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +2 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +2 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +2 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +2 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -0
- data/lib/twilio-ruby/rest/wireless/v1.rb +2 -0
- data/lib/twilio-ruby/rest/wireless.rb +2 -0
- data/lib/twilio-ruby/security/request_validator.rb +2 -0
- data/lib/twilio-ruby/twiml/fax_response.rb +2 -0
- data/lib/twilio-ruby/twiml/messaging_response.rb +2 -0
- data/lib/twilio-ruby/twiml/twiml.rb +2 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +2 -0
- data/lib/twilio-ruby/util/configuration.rb +2 -0
- data/lib/twilio-ruby/util.rb +2 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/lib/twilio-ruby.rb +2 -0
- data/spec/integration/accounts/v1/credential/aws_spec.rb +2 -0
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +2 -0
- data/spec/integration/accounts/v1/credential_spec.rb +2 -0
- data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +2 -0
- data/spec/integration/api/v2010/account/address_spec.rb +2 -0
- data/spec/integration/api/v2010/account/application_spec.rb +2 -0
- data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +2 -0
- data/spec/integration/api/v2010/account/available_phone_number_spec.rb +2 -0
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +2 -0
- data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +2 -0
- data/spec/integration/api/v2010/account/call/notification_spec.rb +2 -0
- data/spec/integration/api/v2010/account/call/recording_spec.rb +2 -0
- data/spec/integration/api/v2010/account/call_spec.rb +2 -0
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +2 -0
- data/spec/integration/api/v2010/account/conference_spec.rb +2 -0
- data/spec/integration/api/v2010/account/connect_app_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +2 -0
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +2 -0
- data/spec/integration/api/v2010/account/key_spec.rb +2 -0
- data/spec/integration/api/v2010/account/message/feedback_spec.rb +2 -0
- data/spec/integration/api/v2010/account/message/media_spec.rb +2 -0
- data/spec/integration/api/v2010/account/message_spec.rb +2 -0
- data/spec/integration/api/v2010/account/new_key_spec.rb +2 -0
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +2 -0
- data/spec/integration/api/v2010/account/notification_spec.rb +2 -0
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +2 -0
- data/spec/integration/api/v2010/account/queue/member_spec.rb +2 -0
- data/spec/integration/api/v2010/account/queue_spec.rb +2 -0
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +2 -0
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +2 -0
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +2 -0
- data/spec/integration/api/v2010/account/recording_spec.rb +2 -0
- data/spec/integration/api/v2010/account/short_code_spec.rb +2 -0
- data/spec/integration/api/v2010/account/signing_key_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +2 -0
- data/spec/integration/api/v2010/account/sip_spec.rb +2 -0
- data/spec/integration/api/v2010/account/token_spec.rb +2 -0
- data/spec/integration/api/v2010/account/transcription_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/record_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +2 -0
- data/spec/integration/api/v2010/account/usage_spec.rb +2 -0
- data/spec/integration/api/v2010/account/validation_request_spec.rb +2 -0
- data/spec/integration/api/v2010/account_spec.rb +2 -0
- data/spec/integration/chat/v1/credential_spec.rb +2 -0
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +2 -0
- data/spec/integration/chat/v1/service/channel/member_spec.rb +2 -0
- data/spec/integration/chat/v1/service/channel/message_spec.rb +2 -0
- data/spec/integration/chat/v1/service/channel_spec.rb +2 -0
- data/spec/integration/chat/v1/service/role_spec.rb +2 -0
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +2 -0
- data/spec/integration/chat/v1/service/user_spec.rb +2 -0
- data/spec/integration/chat/v1/service_spec.rb +2 -0
- data/spec/integration/chat/v2/credential_spec.rb +2 -0
- data/spec/integration/chat/v2/service/binding_spec.rb +2 -0
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +2 -0
- data/spec/integration/chat/v2/service/channel/member_spec.rb +2 -0
- data/spec/integration/chat/v2/service/channel/message_spec.rb +2 -0
- data/spec/integration/chat/v2/service/channel_spec.rb +2 -0
- data/spec/integration/chat/v2/service/role_spec.rb +2 -0
- data/spec/integration/chat/v2/service/user/user_binding_spec.rb +2 -0
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +2 -0
- data/spec/integration/chat/v2/service/user_spec.rb +2 -0
- data/spec/integration/chat/v2/service_spec.rb +2 -0
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +2 -0
- data/spec/integration/fax/v1/fax_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/credential_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +2 -0
- data/spec/integration/ip_messaging/v1/service_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/credential_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/binding_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +2 -0
- data/spec/integration/ip_messaging/v2/service_spec.rb +2 -0
- data/spec/integration/lookups/v1/phone_number_spec.rb +2 -0
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +2 -0
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +2 -0
- data/spec/integration/messaging/v1/service/short_code_spec.rb +2 -0
- data/spec/integration/messaging/v1/service_spec.rb +2 -0
- data/spec/integration/monitor/v1/alert_spec.rb +2 -0
- data/spec/integration/monitor/v1/event_spec.rb +2 -0
- data/spec/integration/notify/v1/credential_spec.rb +2 -0
- data/spec/integration/notify/v1/service/binding_spec.rb +2 -0
- data/spec/integration/notify/v1/service/notification_spec.rb +2 -0
- data/spec/integration/notify/v1/service/segment_spec.rb +2 -0
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +2 -0
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +2 -0
- data/spec/integration/notify/v1/service/user_spec.rb +2 -0
- data/spec/integration/notify/v1/service_spec.rb +2 -0
- data/spec/integration/preview/acc_security/service/verification_check_spec.rb +2 -0
- data/spec/integration/preview/acc_security/service/verification_spec.rb +2 -0
- data/spec/integration/preview/acc_security/service_spec.rb +2 -0
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +2 -0
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +2 -0
- data/spec/integration/preview/bulk_exports/export_spec.rb +2 -0
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +2 -0
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +2 -0
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +2 -0
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +2 -0
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +2 -0
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +2 -0
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +2 -0
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +2 -0
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +2 -0
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +2 -0
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +2 -0
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/session_spec.rb +2 -0
- data/spec/integration/preview/proxy/service/short_code_spec.rb +2 -0
- data/spec/integration/preview/proxy/service_spec.rb +2 -0
- data/spec/integration/preview/studio/flow/engagement/step_spec.rb +2 -0
- data/spec/integration/preview/studio/flow/engagement_spec.rb +2 -0
- data/spec/integration/preview/studio/flow_spec.rb +2 -0
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +2 -0
- data/spec/integration/preview/sync/service/document_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_list_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +2 -0
- data/spec/integration/preview/sync/service/sync_map_spec.rb +2 -0
- data/spec/integration/preview/sync/service_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/field_type_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/intent/field_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/intent/sample_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/intent_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/model_build_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant/query_spec.rb +2 -0
- data/spec/integration/preview/understand/assistant_spec.rb +2 -0
- data/spec/integration/preview/wireless/command_spec.rb +2 -0
- data/spec/integration/preview/wireless/rate_plan_spec.rb +2 -0
- data/spec/integration/preview/wireless/sim/usage_spec.rb +2 -0
- data/spec/integration/preview/wireless/sim_spec.rb +2 -0
- data/spec/integration/pricing/v1/messaging/country_spec.rb +2 -0
- data/spec/integration/pricing/v1/messaging_spec.rb +2 -0
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +2 -0
- data/spec/integration/pricing/v1/phone_number_spec.rb +2 -0
- data/spec/integration/pricing/v1/voice/country_spec.rb +2 -0
- data/spec/integration/pricing/v1/voice/number_spec.rb +2 -0
- data/spec/integration/pricing/v1/voice_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/session/interaction_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/session_spec.rb +2 -0
- data/spec/integration/proxy/v1/service/short_code_spec.rb +2 -0
- data/spec/integration/proxy/v1/service_spec.rb +2 -0
- data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +2 -0
- data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +2 -0
- data/spec/integration/studio/v1/flow/engagement/step_spec.rb +2 -0
- data/spec/integration/studio/v1/flow/engagement_spec.rb +2 -0
- data/spec/integration/studio/v1/flow_spec.rb +2 -0
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +2 -0
- data/spec/integration/sync/v1/service/document_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_list_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_map_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +2 -0
- data/spec/integration/sync/v1/service/sync_stream_spec.rb +2 -0
- data/spec/integration/sync/v1/service_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +2 -0
- data/spec/integration/taskrouter/v1/workspace_spec.rb +2 -0
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +2 -0
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +2 -0
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +2 -0
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +2 -0
- data/spec/integration/trunking/v1/trunk_spec.rb +2 -0
- data/spec/integration/video/v1/composition_spec.rb +118 -19
- data/spec/integration/video/v1/recording_spec.rb +2 -0
- data/spec/integration/video/v1/room/recording_spec.rb +2 -0
- data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +2 -0
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +2 -0
- data/spec/integration/video/v1/room/room_participant_spec.rb +2 -0
- data/spec/integration/video/v1/room_spec.rb +2 -0
- data/spec/integration/wireless/v1/command_spec.rb +2 -0
- data/spec/integration/wireless/v1/rate_plan_spec.rb +2 -0
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -0
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +2 -0
- data/spec/integration/wireless/v1/sim_spec.rb +2 -0
- metadata +3 -2
@@ -3,6 +3,8 @@
|
|
3
3
|
# \ / _ _ _| _ _
|
4
4
|
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
5
|
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
6
8
|
|
7
9
|
module Twilio
|
8
10
|
module REST
|
@@ -15,7 +17,8 @@ module Twilio
|
|
15
17
|
##
|
16
18
|
# Initialize the SyncStreamList
|
17
19
|
# @param [Version] version Version that contains the resource
|
18
|
-
# @param [String] service_sid The unique SID identifier of the Service Instance
|
20
|
+
# @param [String] service_sid The unique SID identifier of the Service Instance
|
21
|
+
# that hosts this Message Stream.
|
19
22
|
# @return [SyncStreamList] SyncStreamList
|
20
23
|
def initialize(version, service_sid: nil)
|
21
24
|
super(version)
|
@@ -30,8 +33,8 @@ module Twilio
|
|
30
33
|
# Request is executed immediately.
|
31
34
|
# @param [String] unique_name The unique and addressable name of this Stream.
|
32
35
|
# Optional, up to 256 characters long.
|
33
|
-
# @param [String] ttl
|
34
|
-
# range [1, 31 536 000 (1 year)], or 0 for infinity.
|
36
|
+
# @param [String] ttl (optional) Time-to-live of this Stream in seconds, defaults
|
37
|
+
# to no expiration. In the range [1, 31 536 000 (1 year)], or 0 for infinity.
|
35
38
|
# @return [SyncStreamInstance] Newly created SyncStreamInstance
|
36
39
|
def create(unique_name: :unset, ttl: :unset)
|
37
40
|
data = Twilio::Values.of({'UniqueName' => unique_name, 'Ttl' => ttl, })
|
@@ -171,7 +174,8 @@ module Twilio
|
|
171
174
|
##
|
172
175
|
# Initialize the SyncStreamContext
|
173
176
|
# @param [Version] version Version that contains the resource
|
174
|
-
# @param [String] service_sid
|
177
|
+
# @param [String] service_sid Identifier of the Service Instance. Either a SID or
|
178
|
+
# 'default'.
|
175
179
|
# @param [String] sid Identifier of the Stream. Either a SID or a unique name.
|
176
180
|
# @return [SyncStreamContext] SyncStreamContext
|
177
181
|
def initialize(version, service_sid, sid)
|
@@ -214,8 +218,8 @@ module Twilio
|
|
214
218
|
|
215
219
|
##
|
216
220
|
# Update the SyncStreamInstance
|
217
|
-
# @param [String] ttl
|
218
|
-
# 536 000 (1 year)], or 0 for infinity.
|
221
|
+
# @param [String] ttl New time-to-live of this Stream in seconds. In the range [1,
|
222
|
+
# 31 536 000 (1 year)], or 0 for infinity.
|
219
223
|
# @return [SyncStreamInstance] Updated SyncStreamInstance
|
220
224
|
def update(ttl: :unset)
|
221
225
|
data = Twilio::Values.of({'Ttl' => ttl, })
|
@@ -265,7 +269,8 @@ module Twilio
|
|
265
269
|
# Initialize the SyncStreamInstance
|
266
270
|
# @param [Version] version Version that contains the resource
|
267
271
|
# @param [Hash] payload payload that contains response from Twilio
|
268
|
-
# @param [String] service_sid The unique SID identifier of the Service Instance
|
272
|
+
# @param [String] service_sid The unique SID identifier of the Service Instance
|
273
|
+
# that hosts this Message Stream.
|
269
274
|
# @param [String] sid Identifier of the Stream. Either a SID or a unique name.
|
270
275
|
# @return [SyncStreamInstance] SyncStreamInstance
|
271
276
|
def initialize(version, payload, service_sid: nil, sid: nil)
|
@@ -377,8 +382,8 @@ module Twilio
|
|
377
382
|
|
378
383
|
##
|
379
384
|
# Update the SyncStreamInstance
|
380
|
-
# @param [String] ttl
|
381
|
-
# 536 000 (1 year)], or 0 for infinity.
|
385
|
+
# @param [String] ttl New time-to-live of this Stream in seconds. In the range [1,
|
386
|
+
# 31 536 000 (1 year)], or 0 for infinity.
|
382
387
|
# @return [SyncStreamInstance] Updated SyncStreamInstance
|
383
388
|
def update(ttl: :unset)
|
384
389
|
context.update(ttl: ttl, )
|
@@ -3,6 +3,8 @@
|
|
3
3
|
# \ / _ _ _| _ _
|
4
4
|
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
5
|
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
6
8
|
|
7
9
|
module Twilio
|
8
10
|
module REST
|
@@ -26,10 +28,17 @@ module Twilio
|
|
26
28
|
##
|
27
29
|
# Retrieve a single page of ServiceInstance records from the API.
|
28
30
|
# Request is executed immediately.
|
29
|
-
# @param [String] friendly_name
|
30
|
-
#
|
31
|
-
# @param [
|
32
|
-
#
|
31
|
+
# @param [String] friendly_name (optional) Human-readable name for this service
|
32
|
+
# instance
|
33
|
+
# @param [String] webhook_url (optional) A URL that will receive event updates
|
34
|
+
# when objects are manipulated.
|
35
|
+
# @param [Boolean] reachability_webhooks_enabled (optional) `true` or `false` -
|
36
|
+
# controls whether this instance fires webhooks when client endpoints connect to
|
37
|
+
# Sync Defaults to false.
|
38
|
+
# @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
|
39
|
+
# token identities must be granted access to Sync objects via the [Permissions
|
40
|
+
# API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
|
41
|
+
# this Service.
|
33
42
|
# @return [ServiceInstance] Newly created ServiceInstance
|
34
43
|
def create(friendly_name: :unset, webhook_url: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
|
35
44
|
data = Twilio::Values.of({
|
@@ -214,10 +223,17 @@ module Twilio
|
|
214
223
|
|
215
224
|
##
|
216
225
|
# Update the ServiceInstance
|
217
|
-
# @param [String] webhook_url
|
218
|
-
#
|
219
|
-
# @param [
|
220
|
-
#
|
226
|
+
# @param [String] webhook_url (optional) A URL that will receive event updates
|
227
|
+
# when objects are manipulated.
|
228
|
+
# @param [String] friendly_name (optional) Human-readable name for this service
|
229
|
+
# instance
|
230
|
+
# @param [Boolean] reachability_webhooks_enabled (optional) True or false -
|
231
|
+
# controls whether this instance fires webhooks when client endpoints connect to
|
232
|
+
# Sync Defaults to false.
|
233
|
+
# @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
|
234
|
+
# token identities must be granted access to Sync objects via the [Permissions
|
235
|
+
# API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
|
236
|
+
# this Service.
|
221
237
|
# @return [ServiceInstance] Updated ServiceInstance
|
222
238
|
def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
|
223
239
|
data = Twilio::Values.of({
|
@@ -378,7 +394,7 @@ module Twilio
|
|
378
394
|
end
|
379
395
|
|
380
396
|
##
|
381
|
-
# @return [String]
|
397
|
+
# @return [String] Human-readable name for this service instance
|
382
398
|
def friendly_name
|
383
399
|
@properties['friendly_name']
|
384
400
|
end
|
@@ -402,19 +418,19 @@ module Twilio
|
|
402
418
|
end
|
403
419
|
|
404
420
|
##
|
405
|
-
# @return [String]
|
421
|
+
# @return [String] A URL that will receive event updates when objects are manipulated.
|
406
422
|
def webhook_url
|
407
423
|
@properties['webhook_url']
|
408
424
|
end
|
409
425
|
|
410
426
|
##
|
411
|
-
# @return [Boolean]
|
427
|
+
# @return [Boolean] true or false - controls whether this instance fires webhooks when client endpoints connect to Sync
|
412
428
|
def reachability_webhooks_enabled
|
413
429
|
@properties['reachability_webhooks_enabled']
|
414
430
|
end
|
415
431
|
|
416
432
|
##
|
417
|
-
# @return [Boolean]
|
433
|
+
# @return [Boolean] true or false - determines whether token identities must be granted access to Sync objects via the Permissions API in this Service.
|
418
434
|
def acl_enabled
|
419
435
|
@properties['acl_enabled']
|
420
436
|
end
|
@@ -441,10 +457,17 @@ module Twilio
|
|
441
457
|
|
442
458
|
##
|
443
459
|
# Update the ServiceInstance
|
444
|
-
# @param [String] webhook_url
|
445
|
-
#
|
446
|
-
# @param [
|
447
|
-
#
|
460
|
+
# @param [String] webhook_url (optional) A URL that will receive event updates
|
461
|
+
# when objects are manipulated.
|
462
|
+
# @param [String] friendly_name (optional) Human-readable name for this service
|
463
|
+
# instance
|
464
|
+
# @param [Boolean] reachability_webhooks_enabled (optional) True or false -
|
465
|
+
# controls whether this instance fires webhooks when client endpoints connect to
|
466
|
+
# Sync Defaults to false.
|
467
|
+
# @param [Boolean] acl_enabled (optional) `true` or `false` - determines whether
|
468
|
+
# token identities must be granted access to Sync objects via the [Permissions
|
469
|
+
# API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
|
470
|
+
# this Service.
|
448
471
|
# @return [ServiceInstance] Updated ServiceInstance
|
449
472
|
def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset)
|
450
473
|
context.update(
|
@@ -3,6 +3,8 @@
|
|
3
3
|
# \ / _ _ _| _ _
|
4
4
|
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
5
|
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
6
8
|
|
7
9
|
module Twilio
|
8
10
|
module REST
|
@@ -13,7 +15,8 @@ module Twilio
|
|
13
15
|
##
|
14
16
|
# Initialize the ActivityList
|
15
17
|
# @param [Version] version Version that contains the resource
|
16
|
-
# @param [String] workspace_sid The
|
18
|
+
# @param [String] workspace_sid The unique ID of the Workspace that this Activity
|
19
|
+
# belongs to.
|
17
20
|
# @return [ActivityList] ActivityList
|
18
21
|
def initialize(version, workspace_sid: nil)
|
19
22
|
super(version)
|
@@ -27,8 +30,10 @@ module Twilio
|
|
27
30
|
# Lists ActivityInstance records from the API as a list.
|
28
31
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
29
32
|
# memory before returning.
|
30
|
-
# @param [String] friendly_name
|
31
|
-
# @param [String] available
|
33
|
+
# @param [String] friendly_name Filter by an Activity's friendly name
|
34
|
+
# @param [String] available Filter by activities that are available or
|
35
|
+
# unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
|
36
|
+
# All other values will represent false)
|
32
37
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
33
38
|
# guarantees to never return more than limit. Default is no limit
|
34
39
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -49,8 +54,10 @@ module Twilio
|
|
49
54
|
# Streams ActivityInstance records from the API as an Enumerable.
|
50
55
|
# This operation lazily loads records as efficiently as possible until the limit
|
51
56
|
# is reached.
|
52
|
-
# @param [String] friendly_name
|
53
|
-
# @param [String] available
|
57
|
+
# @param [String] friendly_name Filter by an Activity's friendly name
|
58
|
+
# @param [String] available Filter by activities that are available or
|
59
|
+
# unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
|
60
|
+
# All other values will represent false)
|
54
61
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
55
62
|
# guarantees to never return more than limit. Default is no limit.
|
56
63
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -83,8 +90,10 @@ module Twilio
|
|
83
90
|
##
|
84
91
|
# Retrieve a single page of ActivityInstance records from the API.
|
85
92
|
# Request is executed immediately.
|
86
|
-
# @param [String] friendly_name
|
87
|
-
# @param [String] available
|
93
|
+
# @param [String] friendly_name Filter by an Activity's friendly name
|
94
|
+
# @param [String] available Filter by activities that are available or
|
95
|
+
# unavailable. (Note: This can be 'true', '1'' or 'yes' to indicate a true value.
|
96
|
+
# All other values will represent false)
|
88
97
|
# @param [String] page_token PageToken provided by the API
|
89
98
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
90
99
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -121,8 +130,15 @@ module Twilio
|
|
121
130
|
##
|
122
131
|
# Retrieve a single page of ActivityInstance records from the API.
|
123
132
|
# Request is executed immediately.
|
124
|
-
# @param [String] friendly_name
|
125
|
-
#
|
133
|
+
# @param [String] friendly_name A human-readable name for the Activity, such as
|
134
|
+
# 'On Call', 'Break', 'Email', etc. Must be unique in this Workspace. These names
|
135
|
+
# will be used to calculate and expose statistics about workers, and give you
|
136
|
+
# visibility into the state of each of your workers.
|
137
|
+
# @param [Boolean] available Boolean value indicating whether the worker should be
|
138
|
+
# eligible to receive a Task when they occupy this Activity. For example, a call
|
139
|
+
# center might have an activity named 'On Call' with an availability set to
|
140
|
+
# 'false'. Note: This can be 'true', '1' or 'yes' to indicate a true value. All
|
141
|
+
# other values will represent false. Defaults to false.
|
126
142
|
# @return [ActivityInstance] Newly created ActivityInstance
|
127
143
|
def create(friendly_name: nil, available: :unset)
|
128
144
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'Available' => available, })
|
@@ -209,7 +225,10 @@ module Twilio
|
|
209
225
|
|
210
226
|
##
|
211
227
|
# Update the ActivityInstance
|
212
|
-
# @param [String] friendly_name
|
228
|
+
# @param [String] friendly_name A human-readable name for the Activity, such as
|
229
|
+
# 'on-call', 'break', 'email', etc. These names will be used to calculate and
|
230
|
+
# expose statistics about workers, and give you visibility into the state of each
|
231
|
+
# of your workers.
|
213
232
|
# @return [ActivityInstance] Updated ActivityInstance
|
214
233
|
def update(friendly_name: :unset)
|
215
234
|
data = Twilio::Values.of({'FriendlyName' => friendly_name, })
|
@@ -248,7 +267,8 @@ module Twilio
|
|
248
267
|
# Initialize the ActivityInstance
|
249
268
|
# @param [Version] version Version that contains the resource
|
250
269
|
# @param [Hash] payload payload that contains response from Twilio
|
251
|
-
# @param [String] workspace_sid The
|
270
|
+
# @param [String] workspace_sid The unique ID of the Workspace that this Activity
|
271
|
+
# belongs to.
|
252
272
|
# @param [String] sid The sid
|
253
273
|
# @return [ActivityInstance] ActivityInstance
|
254
274
|
def initialize(version, payload, workspace_sid: nil, sid: nil)
|
@@ -283,43 +303,43 @@ module Twilio
|
|
283
303
|
end
|
284
304
|
|
285
305
|
##
|
286
|
-
# @return [String] The
|
306
|
+
# @return [String] The unique ID of the Account that owns this Activity.
|
287
307
|
def account_sid
|
288
308
|
@properties['account_sid']
|
289
309
|
end
|
290
310
|
|
291
311
|
##
|
292
|
-
# @return [Boolean]
|
312
|
+
# @return [Boolean] Filter by activities that are available or unavailable.
|
293
313
|
def available
|
294
314
|
@properties['available']
|
295
315
|
end
|
296
316
|
|
297
317
|
##
|
298
|
-
# @return [Time] The
|
318
|
+
# @return [Time] The date this Activity was created.
|
299
319
|
def date_created
|
300
320
|
@properties['date_created']
|
301
321
|
end
|
302
322
|
|
303
323
|
##
|
304
|
-
# @return [Time] The
|
324
|
+
# @return [Time] The date this Activity was updated.
|
305
325
|
def date_updated
|
306
326
|
@properties['date_updated']
|
307
327
|
end
|
308
328
|
|
309
329
|
##
|
310
|
-
# @return [String]
|
330
|
+
# @return [String] Filter by an Activity's friendly name
|
311
331
|
def friendly_name
|
312
332
|
@properties['friendly_name']
|
313
333
|
end
|
314
334
|
|
315
335
|
##
|
316
|
-
# @return [String] The
|
336
|
+
# @return [String] The unique ID for this Activity.
|
317
337
|
def sid
|
318
338
|
@properties['sid']
|
319
339
|
end
|
320
340
|
|
321
341
|
##
|
322
|
-
# @return [String] The
|
342
|
+
# @return [String] The unique ID of the Workspace that this Activity belongs to.
|
323
343
|
def workspace_sid
|
324
344
|
@properties['workspace_sid']
|
325
345
|
end
|
@@ -339,7 +359,10 @@ module Twilio
|
|
339
359
|
|
340
360
|
##
|
341
361
|
# Update the ActivityInstance
|
342
|
-
# @param [String] friendly_name
|
362
|
+
# @param [String] friendly_name A human-readable name for the Activity, such as
|
363
|
+
# 'on-call', 'break', 'email', etc. These names will be used to calculate and
|
364
|
+
# expose statistics about workers, and give you visibility into the state of each
|
365
|
+
# of your workers.
|
343
366
|
# @return [ActivityInstance] Updated ActivityInstance
|
344
367
|
def update(friendly_name: :unset)
|
345
368
|
context.update(friendly_name: friendly_name, )
|
@@ -3,6 +3,8 @@
|
|
3
3
|
# \ / _ _ _| _ _
|
4
4
|
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
5
5
|
# / /
|
6
|
+
#
|
7
|
+
# frozen_string_literal: true
|
6
8
|
|
7
9
|
module Twilio
|
8
10
|
module REST
|
@@ -13,7 +15,7 @@ module Twilio
|
|
13
15
|
##
|
14
16
|
# Initialize the EventList
|
15
17
|
# @param [Version] version Version that contains the resource
|
16
|
-
# @param [String] workspace_sid The
|
18
|
+
# @param [String] workspace_sid The unique ID of the Workspace
|
17
19
|
# @return [EventList] EventList
|
18
20
|
def initialize(version, workspace_sid: nil)
|
19
21
|
super(version)
|
@@ -27,14 +29,21 @@ module Twilio
|
|
27
29
|
# Lists EventInstance records from the API as a list.
|
28
30
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
29
31
|
# memory before returning.
|
30
|
-
# @param [Time] end_date
|
31
|
-
#
|
32
|
-
# @param [String]
|
33
|
-
# @param [String]
|
34
|
-
#
|
35
|
-
#
|
36
|
-
# @param [String]
|
37
|
-
#
|
32
|
+
# @param [Time] end_date Filter events by an end date. This is helpful for
|
33
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
34
|
+
# @param [String] event_type Filter events by those of a certain event type
|
35
|
+
# @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
|
36
|
+
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
37
|
+
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
38
|
+
# @param [String] reservation_sid Filter events by those pertaining to a
|
39
|
+
# particular reservation
|
40
|
+
# @param [Time] start_date Filter events by a start date. This is helpful for
|
41
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
42
|
+
# @param [String] task_queue_sid Filter events by those pertaining to a particular
|
43
|
+
# queue
|
44
|
+
# @param [String] task_sid Filter events by those pertaining to a particular task
|
45
|
+
# @param [String] worker_sid Filter events by those pertaining to a particular
|
46
|
+
# worker
|
38
47
|
# @param [String] workflow_sid The workflow_sid
|
39
48
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
40
49
|
# guarantees to never return more than limit. Default is no limit
|
@@ -63,14 +72,21 @@ module Twilio
|
|
63
72
|
# Streams EventInstance records from the API as an Enumerable.
|
64
73
|
# This operation lazily loads records as efficiently as possible until the limit
|
65
74
|
# is reached.
|
66
|
-
# @param [Time] end_date
|
67
|
-
#
|
68
|
-
# @param [String]
|
69
|
-
# @param [String]
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# @param [String]
|
73
|
-
#
|
75
|
+
# @param [Time] end_date Filter events by an end date. This is helpful for
|
76
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
77
|
+
# @param [String] event_type Filter events by those of a certain event type
|
78
|
+
# @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
|
79
|
+
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
80
|
+
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
81
|
+
# @param [String] reservation_sid Filter events by those pertaining to a
|
82
|
+
# particular reservation
|
83
|
+
# @param [Time] start_date Filter events by a start date. This is helpful for
|
84
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
85
|
+
# @param [String] task_queue_sid Filter events by those pertaining to a particular
|
86
|
+
# queue
|
87
|
+
# @param [String] task_sid Filter events by those pertaining to a particular task
|
88
|
+
# @param [String] worker_sid Filter events by those pertaining to a particular
|
89
|
+
# worker
|
74
90
|
# @param [String] workflow_sid The workflow_sid
|
75
91
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
76
92
|
# guarantees to never return more than limit. Default is no limit.
|
@@ -115,14 +131,21 @@ module Twilio
|
|
115
131
|
##
|
116
132
|
# Retrieve a single page of EventInstance records from the API.
|
117
133
|
# Request is executed immediately.
|
118
|
-
# @param [Time] end_date
|
119
|
-
#
|
120
|
-
# @param [String]
|
121
|
-
# @param [String]
|
122
|
-
#
|
123
|
-
#
|
124
|
-
# @param [String]
|
125
|
-
#
|
134
|
+
# @param [Time] end_date Filter events by an end date. This is helpful for
|
135
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
136
|
+
# @param [String] event_type Filter events by those of a certain event type
|
137
|
+
# @param [String] minutes Filter events by up to ‘x’ minutes in the past. This is
|
138
|
+
# helpful for events for the last 15 minutes, 240 minutes (4 hours), and 480
|
139
|
+
# minutes (8 hours) to see trends. Defaults to 15 minutes.
|
140
|
+
# @param [String] reservation_sid Filter events by those pertaining to a
|
141
|
+
# particular reservation
|
142
|
+
# @param [Time] start_date Filter events by a start date. This is helpful for
|
143
|
+
# defining a range of events to capture. Input is a GMT ISO 8601 Timestamp.
|
144
|
+
# @param [String] task_queue_sid Filter events by those pertaining to a particular
|
145
|
+
# queue
|
146
|
+
# @param [String] task_sid Filter events by those pertaining to a particular task
|
147
|
+
# @param [String] worker_sid Filter events by those pertaining to a particular
|
148
|
+
# worker
|
126
149
|
# @param [String] workflow_sid The workflow_sid
|
127
150
|
# @param [String] page_token PageToken provided by the API
|
128
151
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
@@ -243,7 +266,7 @@ module Twilio
|
|
243
266
|
# Initialize the EventInstance
|
244
267
|
# @param [Version] version Version that contains the resource
|
245
268
|
# @param [Hash] payload payload that contains response from Twilio
|
246
|
-
# @param [String] workspace_sid The
|
269
|
+
# @param [String] workspace_sid The unique ID of the Workspace
|
247
270
|
# @param [String] sid The sid
|
248
271
|
# @return [EventInstance] EventInstance
|
249
272
|
def initialize(version, payload, workspace_sid: nil, sid: nil)
|
@@ -285,7 +308,7 @@ module Twilio
|
|
285
308
|
end
|
286
309
|
|
287
310
|
##
|
288
|
-
# @return [String] The
|
311
|
+
# @return [String] The account owning this event
|
289
312
|
def account_sid
|
290
313
|
@properties['account_sid']
|
291
314
|
end
|
@@ -309,37 +332,37 @@ module Twilio
|
|
309
332
|
end
|
310
333
|
|
311
334
|
##
|
312
|
-
# @return [String]
|
335
|
+
# @return [String] A description of the event
|
313
336
|
def description
|
314
337
|
@properties['description']
|
315
338
|
end
|
316
339
|
|
317
340
|
##
|
318
|
-
# @return [String]
|
341
|
+
# @return [String] Data about this specific event.
|
319
342
|
def event_data
|
320
343
|
@properties['event_data']
|
321
344
|
end
|
322
345
|
|
323
346
|
##
|
324
|
-
# @return [Time] The
|
347
|
+
# @return [Time] The time this event was sent
|
325
348
|
def event_date
|
326
349
|
@properties['event_date']
|
327
350
|
end
|
328
351
|
|
329
352
|
##
|
330
|
-
# @return [String]
|
353
|
+
# @return [String] An identifier for this event
|
331
354
|
def event_type
|
332
355
|
@properties['event_type']
|
333
356
|
end
|
334
357
|
|
335
358
|
##
|
336
|
-
# @return [String] The
|
359
|
+
# @return [String] The sid of the object this event is most relevant to
|
337
360
|
def resource_sid
|
338
361
|
@properties['resource_sid']
|
339
362
|
end
|
340
363
|
|
341
364
|
##
|
342
|
-
# @return [String] The
|
365
|
+
# @return [String] The type of object this event is most relevant to
|
343
366
|
def resource_type
|
344
367
|
@properties['resource_type']
|
345
368
|
end
|