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
|
@@ -78,11 +80,23 @@ module Twilio
|
|
78
80
|
|
79
81
|
##
|
80
82
|
# Fetch a WorkspaceCumulativeStatisticsInstance
|
81
|
-
# @param [Time] end_date
|
82
|
-
#
|
83
|
-
#
|
84
|
-
# @param [String]
|
85
|
-
#
|
83
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
84
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
85
|
+
# Timestamp
|
86
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
87
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
88
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
89
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
90
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
91
|
+
# Timestamp
|
92
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
93
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
94
|
+
# TaskChannelSid.
|
95
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
96
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
97
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
98
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
99
|
+
# tasks or tasks that failed to meet your SLA.
|
86
100
|
# @return [WorkspaceCumulativeStatisticsInstance] Fetched WorkspaceCumulativeStatisticsInstance
|
87
101
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
88
102
|
params = Twilio::Values.of({
|
@@ -172,7 +186,7 @@ module Twilio
|
|
172
186
|
end
|
173
187
|
|
174
188
|
##
|
175
|
-
# @return [String] The
|
189
|
+
# @return [String] The average time from Task creation to acceptance
|
176
190
|
def avg_task_acceptance_time
|
177
191
|
@properties['avg_task_acceptance_time']
|
178
192
|
end
|
@@ -190,91 +204,91 @@ module Twilio
|
|
190
204
|
end
|
191
205
|
|
192
206
|
##
|
193
|
-
# @return [String] The
|
207
|
+
# @return [String] The total number of Reservations that were created for Workers
|
194
208
|
def reservations_created
|
195
209
|
@properties['reservations_created']
|
196
210
|
end
|
197
211
|
|
198
212
|
##
|
199
|
-
# @return [String] The
|
213
|
+
# @return [String] The total number of Reservations accepted by Workers
|
200
214
|
def reservations_accepted
|
201
215
|
@properties['reservations_accepted']
|
202
216
|
end
|
203
217
|
|
204
218
|
##
|
205
|
-
# @return [String] The
|
219
|
+
# @return [String] The total number of Reservations that were rejected
|
206
220
|
def reservations_rejected
|
207
221
|
@properties['reservations_rejected']
|
208
222
|
end
|
209
223
|
|
210
224
|
##
|
211
|
-
# @return [String] The
|
225
|
+
# @return [String] The total number of Reservations that were timed out
|
212
226
|
def reservations_timed_out
|
213
227
|
@properties['reservations_timed_out']
|
214
228
|
end
|
215
229
|
|
216
230
|
##
|
217
|
-
# @return [String] The
|
231
|
+
# @return [String] The total number of Reservations that were canceled
|
218
232
|
def reservations_canceled
|
219
233
|
@properties['reservations_canceled']
|
220
234
|
end
|
221
235
|
|
222
236
|
##
|
223
|
-
# @return [String] The
|
237
|
+
# @return [String] The total number of Reservations that were rescinded
|
224
238
|
def reservations_rescinded
|
225
239
|
@properties['reservations_rescinded']
|
226
240
|
end
|
227
241
|
|
228
242
|
##
|
229
|
-
# @return [Hash] The
|
243
|
+
# @return [Hash] The splits of the tasks canceled and accepted based on the provided SplitByWaitTime parameter.
|
230
244
|
def split_by_wait_time
|
231
245
|
@properties['split_by_wait_time']
|
232
246
|
end
|
233
247
|
|
234
248
|
##
|
235
|
-
# @return [Hash] The
|
249
|
+
# @return [Hash] The wait duration stats for tasks that were accepted.
|
236
250
|
def wait_duration_until_accepted
|
237
251
|
@properties['wait_duration_until_accepted']
|
238
252
|
end
|
239
253
|
|
240
254
|
##
|
241
|
-
# @return [Hash] The
|
255
|
+
# @return [Hash] The wait duration stats for tasks that were canceled.
|
242
256
|
def wait_duration_until_canceled
|
243
257
|
@properties['wait_duration_until_canceled']
|
244
258
|
end
|
245
259
|
|
246
260
|
##
|
247
|
-
# @return [String] The
|
261
|
+
# @return [String] The total number of Tasks that were canceled
|
248
262
|
def tasks_canceled
|
249
263
|
@properties['tasks_canceled']
|
250
264
|
end
|
251
265
|
|
252
266
|
##
|
253
|
-
# @return [String] The
|
267
|
+
# @return [String] The total number of Tasks that were completed
|
254
268
|
def tasks_completed
|
255
269
|
@properties['tasks_completed']
|
256
270
|
end
|
257
271
|
|
258
272
|
##
|
259
|
-
# @return [String] The
|
273
|
+
# @return [String] The total number of Tasks created
|
260
274
|
def tasks_created
|
261
275
|
@properties['tasks_created']
|
262
276
|
end
|
263
277
|
|
264
278
|
##
|
265
|
-
# @return [String] The
|
279
|
+
# @return [String] The total number of Tasks that were deleted
|
266
280
|
def tasks_deleted
|
267
281
|
@properties['tasks_deleted']
|
268
282
|
end
|
269
283
|
|
270
284
|
##
|
271
|
-
# @return [String] The
|
285
|
+
# @return [String] The total number of Tasks that were moved from one queue to another
|
272
286
|
def tasks_moved
|
273
287
|
@properties['tasks_moved']
|
274
288
|
end
|
275
289
|
|
276
290
|
##
|
277
|
-
# @return [String] The
|
291
|
+
# @return [String] The total number of Tasks that were timed out of their Workflows
|
278
292
|
def tasks_timed_out_in_workflow
|
279
293
|
@properties['tasks_timed_out_in_workflow']
|
280
294
|
end
|
@@ -293,11 +307,23 @@ module Twilio
|
|
293
307
|
|
294
308
|
##
|
295
309
|
# Fetch a WorkspaceCumulativeStatisticsInstance
|
296
|
-
# @param [Time] end_date
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# @param [String]
|
300
|
-
#
|
310
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
311
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
312
|
+
# Timestamp
|
313
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
314
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
315
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
316
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
317
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
318
|
+
# Timestamp
|
319
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
320
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
321
|
+
# TaskChannelSid.
|
322
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
323
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
324
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
325
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
326
|
+
# tasks or tasks that failed to meet your SLA.
|
301
327
|
# @return [WorkspaceCumulativeStatisticsInstance] Fetched WorkspaceCumulativeStatisticsInstance
|
302
328
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
303
329
|
context.fetch(
|
@@ -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
|
@@ -74,7 +76,9 @@ module Twilio
|
|
74
76
|
|
75
77
|
##
|
76
78
|
# Fetch a WorkspaceRealTimeStatisticsInstance
|
77
|
-
# @param [String] task_channel
|
79
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
80
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
81
|
+
# TaskChannelSid.
|
78
82
|
# @return [WorkspaceRealTimeStatisticsInstance] Fetched WorkspaceRealTimeStatisticsInstance
|
79
83
|
def fetch(task_channel: :unset)
|
80
84
|
params = Twilio::Values.of({'TaskChannel' => task_channel, })
|
@@ -142,13 +146,13 @@ module Twilio
|
|
142
146
|
end
|
143
147
|
|
144
148
|
##
|
145
|
-
# @return [Hash]
|
149
|
+
# @return [Hash] A breakdown of Workers by Activity
|
146
150
|
def activity_statistics
|
147
151
|
@properties['activity_statistics']
|
148
152
|
end
|
149
153
|
|
150
154
|
##
|
151
|
-
# @return [String] The
|
155
|
+
# @return [String] The age of the longest waiting Task
|
152
156
|
def longest_task_waiting_age
|
153
157
|
@properties['longest_task_waiting_age']
|
154
158
|
end
|
@@ -160,19 +164,19 @@ module Twilio
|
|
160
164
|
end
|
161
165
|
|
162
166
|
##
|
163
|
-
# @return [Hash] The
|
167
|
+
# @return [Hash] The Tasks broken down by status
|
164
168
|
def tasks_by_status
|
165
169
|
@properties['tasks_by_status']
|
166
170
|
end
|
167
171
|
|
168
172
|
##
|
169
|
-
# @return [String] The
|
173
|
+
# @return [String] The total number of Tasks
|
170
174
|
def total_tasks
|
171
175
|
@properties['total_tasks']
|
172
176
|
end
|
173
177
|
|
174
178
|
##
|
175
|
-
# @return [String] The
|
179
|
+
# @return [String] The total number of Workers in the workspace
|
176
180
|
def total_workers
|
177
181
|
@properties['total_workers']
|
178
182
|
end
|
@@ -191,7 +195,9 @@ module Twilio
|
|
191
195
|
|
192
196
|
##
|
193
197
|
# Fetch a WorkspaceRealTimeStatisticsInstance
|
194
|
-
# @param [String] task_channel
|
198
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
199
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
200
|
+
# TaskChannelSid.
|
195
201
|
# @return [WorkspaceRealTimeStatisticsInstance] Fetched WorkspaceRealTimeStatisticsInstance
|
196
202
|
def fetch(task_channel: :unset)
|
197
203
|
context.fetch(task_channel: task_channel, )
|
@@ -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
|
@@ -74,11 +76,23 @@ module Twilio
|
|
74
76
|
|
75
77
|
##
|
76
78
|
# Fetch a WorkspaceStatisticsInstance
|
77
|
-
# @param [String] minutes
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# @param [
|
81
|
-
#
|
79
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
80
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
81
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
82
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
83
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
84
|
+
# Timestamp
|
85
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
86
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
87
|
+
# Timestamp
|
88
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
89
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
90
|
+
# TaskChannelSid.
|
91
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
92
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
93
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
94
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
95
|
+
# tasks or tasks that failed to meet your SLA.
|
82
96
|
# @return [WorkspaceStatisticsInstance] Fetched WorkspaceStatisticsInstance
|
83
97
|
def fetch(minutes: :unset, start_date: :unset, end_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
84
98
|
params = Twilio::Values.of({
|
@@ -173,11 +187,23 @@ module Twilio
|
|
173
187
|
|
174
188
|
##
|
175
189
|
# Fetch a WorkspaceStatisticsInstance
|
176
|
-
# @param [String] minutes
|
177
|
-
#
|
178
|
-
#
|
179
|
-
# @param [
|
180
|
-
#
|
190
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
191
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
192
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
193
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
194
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
195
|
+
# Timestamp
|
196
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
197
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
198
|
+
# Timestamp
|
199
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
200
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
201
|
+
# TaskChannelSid.
|
202
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
203
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
204
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
205
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
206
|
+
# tasks or tasks that failed to meet your SLA.
|
181
207
|
# @return [WorkspaceStatisticsInstance] Fetched WorkspaceStatisticsInstance
|
182
208
|
def fetch(minutes: :unset, start_date: :unset, end_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
183
209
|
context.fetch(
|
@@ -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
|
@@ -25,7 +27,9 @@ module Twilio
|
|
25
27
|
# Lists WorkspaceInstance records from the API as a list.
|
26
28
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
27
29
|
# memory before returning.
|
28
|
-
# @param [String] friendly_name
|
30
|
+
# @param [String] friendly_name Filter by a workspace’s friendly name. This is a
|
31
|
+
# human readable description of this Workspace (for example "Customer Support" or
|
32
|
+
# "2014 Election Campaign")
|
29
33
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
30
34
|
# guarantees to never return more than limit. Default is no limit
|
31
35
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -41,7 +45,9 @@ module Twilio
|
|
41
45
|
# Streams WorkspaceInstance records from the API as an Enumerable.
|
42
46
|
# This operation lazily loads records as efficiently as possible until the limit
|
43
47
|
# is reached.
|
44
|
-
# @param [String] friendly_name
|
48
|
+
# @param [String] friendly_name Filter by a workspace’s friendly name. This is a
|
49
|
+
# human readable description of this Workspace (for example "Customer Support" or
|
50
|
+
# "2014 Election Campaign")
|
45
51
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
46
52
|
# guarantees to never return more than limit. Default is no limit.
|
47
53
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -74,7 +80,9 @@ module Twilio
|
|
74
80
|
##
|
75
81
|
# Retrieve a single page of WorkspaceInstance records from the API.
|
76
82
|
# Request is executed immediately.
|
77
|
-
# @param [String] friendly_name
|
83
|
+
# @param [String] friendly_name Filter by a workspace’s friendly name. This is a
|
84
|
+
# human readable description of this Workspace (for example "Customer Support" or
|
85
|
+
# "2014 Election Campaign")
|
78
86
|
# @param [String] page_token PageToken provided by the API
|
79
87
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
80
88
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -110,12 +118,33 @@ module Twilio
|
|
110
118
|
##
|
111
119
|
# Retrieve a single page of WorkspaceInstance records from the API.
|
112
120
|
# Request is executed immediately.
|
113
|
-
# @param [String] friendly_name
|
114
|
-
#
|
115
|
-
# @param [String]
|
116
|
-
#
|
117
|
-
#
|
118
|
-
# @param [
|
121
|
+
# @param [String] friendly_name Human readable description of this workspace (for
|
122
|
+
# example "Customer Support" or "2014 Election Campaign")
|
123
|
+
# @param [String] event_callback_url If provided, the Workspace will publish
|
124
|
+
# events to this URL. You can use this to gather data for reporting. See Workspace
|
125
|
+
# Events for more information.
|
126
|
+
# @param [String] events_filter Use this parameter to receive webhooks on
|
127
|
+
# EventCallbackUrl for specific events on a workspace. For example if
|
128
|
+
# 'EventsFilter=task.created,task.canceled,worker.activity.update', then
|
129
|
+
# TaskRouter will webhook to EventCallbackUrl only when a task is created,
|
130
|
+
# canceled or a worker activity is updated.
|
131
|
+
# @param [Boolean] multi_task_enabled Multi tasking allows workers to handle
|
132
|
+
# multiple tasks simultaneously. When enabled (MultiTaskEnabled=true), each worker
|
133
|
+
# will be eligible to receive parallel reservations up to the per-channel maximums
|
134
|
+
# defined in the Workers section. Default is disabled (MultiTaskEnabled=false),
|
135
|
+
# where each worker will only receive a new reservation when the previous task is
|
136
|
+
# completed. Learn more by visiting [Multitasking][/docs/taskrouter/multitasking].
|
137
|
+
# @param [String] template One of the available template names. Will pre-configure
|
138
|
+
# this Workspace with the Workflow and Activities specified in the template.
|
139
|
+
# "NONE" will create a Workspace with a set of default activities and nothing
|
140
|
+
# else. "FIFO" will configure TaskRouter with a set of default activities and a
|
141
|
+
# single task queue for first-in, first-out distribution, useful if you want to
|
142
|
+
# see a simple TaskRouter configuration when getting started. Defaults to "NONE".
|
143
|
+
# @param [workspace.QueueOrder] prioritize_queue_order Use this parameter to
|
144
|
+
# configure whether to prioritize LIFO or FIFO when workers are receiving Tasks
|
145
|
+
# from combination of LIFO and FIFO TaskQueues. Default is FIFO. [Click
|
146
|
+
# here][/docs/taskrouter/queue-ordering-last-first-out-lifo] to learn more about
|
147
|
+
# LIFO and the use of the parameter.
|
119
148
|
# @return [WorkspaceInstance] Newly created WorkspaceInstance
|
120
149
|
def create(friendly_name: nil, event_callback_url: :unset, events_filter: :unset, multi_task_enabled: :unset, template: :unset, prioritize_queue_order: :unset)
|
121
150
|
data = Twilio::Values.of({
|
@@ -215,13 +244,28 @@ module Twilio
|
|
215
244
|
|
216
245
|
##
|
217
246
|
# Update the WorkspaceInstance
|
218
|
-
# @param [String] default_activity_sid The
|
219
|
-
#
|
220
|
-
# @param [String]
|
221
|
-
#
|
222
|
-
#
|
223
|
-
# @param [String]
|
224
|
-
#
|
247
|
+
# @param [String] default_activity_sid The ID of the Activity that will be used
|
248
|
+
# when new Workers are created in this Workspace.
|
249
|
+
# @param [String] event_callback_url The Workspace will publish events to this
|
250
|
+
# URL. You can use this to gather data for reporting. See
|
251
|
+
# [Events][/docs/taskrouter/api/events] for more information.
|
252
|
+
# @param [String] events_filter Use this parameter to receive webhooks on
|
253
|
+
# EventCallbackUrl for specific events on a workspace. For example if
|
254
|
+
# 'EventsFilter=task.created,task.canceled,worker.activity.update', then
|
255
|
+
# TaskRouter will webhook to EventCallbackUrl only when a task is created,
|
256
|
+
# canceled or a worker activity is updated.
|
257
|
+
# @param [String] friendly_name Human readable description of this workspace (for
|
258
|
+
# example "Sales Call Center" or "Customer Support Team")
|
259
|
+
# @param [Boolean] multi_task_enabled Enable or Disable Multitasking by passing
|
260
|
+
# either *true* or *False* with the POST request. Learn more by visiting
|
261
|
+
# [Multitasking][/docs/taskrouter/multitasking].
|
262
|
+
# @param [String] timeout_activity_sid The ID of the Activity that will be
|
263
|
+
# assigned to a Worker when a Task reservation times out without a response.
|
264
|
+
# @param [workspace.QueueOrder] prioritize_queue_order Use this parameter to
|
265
|
+
# configure whether to prioritize LIFO or FIFO when workers are receiving Tasks
|
266
|
+
# from combination of LIFO and FIFO TaskQueues. Default is FIFO. [Click
|
267
|
+
# here][/docs/taskrouter/queue-ordering-last-first-out-lifo] to learn more about
|
268
|
+
# LIFO and the use of the parameter.
|
225
269
|
# @return [WorkspaceInstance] Updated WorkspaceInstance
|
226
270
|
def update(default_activity_sid: :unset, event_callback_url: :unset, events_filter: :unset, friendly_name: :unset, multi_task_enabled: :unset, timeout_activity_sid: :unset, prioritize_queue_order: :unset)
|
227
271
|
data = Twilio::Values.of({
|
@@ -454,79 +498,79 @@ module Twilio
|
|
454
498
|
end
|
455
499
|
|
456
500
|
##
|
457
|
-
# @return [String] The
|
501
|
+
# @return [String] The ID of the account that owns this Workflow
|
458
502
|
def account_sid
|
459
503
|
@properties['account_sid']
|
460
504
|
end
|
461
505
|
|
462
506
|
##
|
463
|
-
# @return [Time] The
|
507
|
+
# @return [Time] The time the Workspace was created, given as GMT in ISO 8601 format.
|
464
508
|
def date_created
|
465
509
|
@properties['date_created']
|
466
510
|
end
|
467
511
|
|
468
512
|
##
|
469
|
-
# @return [Time] The
|
513
|
+
# @return [Time] The time the Workspace was last updated, given as GMT in ISO 8601 format.
|
470
514
|
def date_updated
|
471
515
|
@properties['date_updated']
|
472
516
|
end
|
473
517
|
|
474
518
|
##
|
475
|
-
# @return [String] The
|
519
|
+
# @return [String] The human readable name of the default activity.
|
476
520
|
def default_activity_name
|
477
521
|
@properties['default_activity_name']
|
478
522
|
end
|
479
523
|
|
480
524
|
##
|
481
|
-
# @return [String] The
|
525
|
+
# @return [String] The ID of the Activity that will be used when new Workers are created in this Workspace.
|
482
526
|
def default_activity_sid
|
483
527
|
@properties['default_activity_sid']
|
484
528
|
end
|
485
529
|
|
486
530
|
##
|
487
|
-
# @return [String]
|
531
|
+
# @return [String] If provided, the Workspace will publish events to this URL.
|
488
532
|
def event_callback_url
|
489
533
|
@properties['event_callback_url']
|
490
534
|
end
|
491
535
|
|
492
536
|
##
|
493
|
-
# @return [String]
|
537
|
+
# @return [String] Use this parameter to receive webhooks on EventCallbackUrl for specific events on a workspace.
|
494
538
|
def events_filter
|
495
539
|
@properties['events_filter']
|
496
540
|
end
|
497
541
|
|
498
542
|
##
|
499
|
-
# @return [String]
|
543
|
+
# @return [String] Filter by a workspace’s friendly name.
|
500
544
|
def friendly_name
|
501
545
|
@properties['friendly_name']
|
502
546
|
end
|
503
547
|
|
504
548
|
##
|
505
|
-
# @return [Boolean]
|
549
|
+
# @return [Boolean] Multi tasking allows workers to handle multiple tasks simultaneously.
|
506
550
|
def multi_task_enabled
|
507
551
|
@properties['multi_task_enabled']
|
508
552
|
end
|
509
553
|
|
510
554
|
##
|
511
|
-
# @return [String] The
|
555
|
+
# @return [String] The unique ID of the Workspace
|
512
556
|
def sid
|
513
557
|
@properties['sid']
|
514
558
|
end
|
515
559
|
|
516
560
|
##
|
517
|
-
# @return [String] The
|
561
|
+
# @return [String] The human readable name of the timeout activity.
|
518
562
|
def timeout_activity_name
|
519
563
|
@properties['timeout_activity_name']
|
520
564
|
end
|
521
565
|
|
522
566
|
##
|
523
|
-
# @return [String] The
|
567
|
+
# @return [String] The ID of the Activity that will be assigned to a Worker when a Task reservation times out without a response.
|
524
568
|
def timeout_activity_sid
|
525
569
|
@properties['timeout_activity_sid']
|
526
570
|
end
|
527
571
|
|
528
572
|
##
|
529
|
-
# @return [workspace.QueueOrder]
|
573
|
+
# @return [workspace.QueueOrder] Use this parameter to configure whether to prioritize LIFO or FIFO when workers are receiving Tasks from combination of LIFO and FIFO TaskQueues.
|
530
574
|
def prioritize_queue_order
|
531
575
|
@properties['prioritize_queue_order']
|
532
576
|
end
|
@@ -552,13 +596,28 @@ module Twilio
|
|
552
596
|
|
553
597
|
##
|
554
598
|
# Update the WorkspaceInstance
|
555
|
-
# @param [String] default_activity_sid The
|
556
|
-
#
|
557
|
-
# @param [String]
|
558
|
-
#
|
559
|
-
#
|
560
|
-
# @param [String]
|
561
|
-
#
|
599
|
+
# @param [String] default_activity_sid The ID of the Activity that will be used
|
600
|
+
# when new Workers are created in this Workspace.
|
601
|
+
# @param [String] event_callback_url The Workspace will publish events to this
|
602
|
+
# URL. You can use this to gather data for reporting. See
|
603
|
+
# [Events][/docs/taskrouter/api/events] for more information.
|
604
|
+
# @param [String] events_filter Use this parameter to receive webhooks on
|
605
|
+
# EventCallbackUrl for specific events on a workspace. For example if
|
606
|
+
# 'EventsFilter=task.created,task.canceled,worker.activity.update', then
|
607
|
+
# TaskRouter will webhook to EventCallbackUrl only when a task is created,
|
608
|
+
# canceled or a worker activity is updated.
|
609
|
+
# @param [String] friendly_name Human readable description of this workspace (for
|
610
|
+
# example "Sales Call Center" or "Customer Support Team")
|
611
|
+
# @param [Boolean] multi_task_enabled Enable or Disable Multitasking by passing
|
612
|
+
# either *true* or *False* with the POST request. Learn more by visiting
|
613
|
+
# [Multitasking][/docs/taskrouter/multitasking].
|
614
|
+
# @param [String] timeout_activity_sid The ID of the Activity that will be
|
615
|
+
# assigned to a Worker when a Task reservation times out without a response.
|
616
|
+
# @param [workspace.QueueOrder] prioritize_queue_order Use this parameter to
|
617
|
+
# configure whether to prioritize LIFO or FIFO when workers are receiving Tasks
|
618
|
+
# from combination of LIFO and FIFO TaskQueues. Default is FIFO. [Click
|
619
|
+
# here][/docs/taskrouter/queue-ordering-last-first-out-lifo] to learn more about
|
620
|
+
# LIFO and the use of the parameter.
|
562
621
|
# @return [WorkspaceInstance] Updated WorkspaceInstance
|
563
622
|
def update(default_activity_sid: :unset, event_callback_url: :unset, events_filter: :unset, friendly_name: :unset, multi_task_enabled: :unset, timeout_activity_sid: :unset, prioritize_queue_order: :unset)
|
564
623
|
context.update(
|