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
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb
CHANGED
@@ -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
|
@@ -82,11 +84,23 @@ module Twilio
|
|
82
84
|
|
83
85
|
##
|
84
86
|
# Fetch a TaskQueueCumulativeStatisticsInstance
|
85
|
-
# @param [Time] end_date
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# @param [String]
|
89
|
-
#
|
87
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
88
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
89
|
+
# Timestamp.
|
90
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
91
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
92
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
93
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
94
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
95
|
+
# Timestamp.
|
96
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
97
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
98
|
+
# TaskChannelSid.
|
99
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
100
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
101
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
102
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
103
|
+
# tasks or tasks that failed to meet your SLA.
|
90
104
|
# @return [TaskQueueCumulativeStatisticsInstance] Fetched TaskQueueCumulativeStatisticsInstance
|
91
105
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
92
106
|
params = Twilio::Values.of({
|
@@ -182,7 +196,7 @@ module Twilio
|
|
182
196
|
end
|
183
197
|
|
184
198
|
##
|
185
|
-
# @return [String] The
|
199
|
+
# @return [String] The average time from Task creation to reservation acceptance while in this TaskQueue
|
186
200
|
def avg_task_acceptance_time
|
187
201
|
@properties['avg_task_acceptance_time']
|
188
202
|
end
|
@@ -200,43 +214,43 @@ module Twilio
|
|
200
214
|
end
|
201
215
|
|
202
216
|
##
|
203
|
-
# @return [String] The
|
217
|
+
# @return [String] The total number of Reservations that were created for Tasks while in this TaskQueue
|
204
218
|
def reservations_created
|
205
219
|
@properties['reservations_created']
|
206
220
|
end
|
207
221
|
|
208
222
|
##
|
209
|
-
# @return [String] The
|
223
|
+
# @return [String] The total number of Reservations that were accepted for Tasks while in this TaskQueue
|
210
224
|
def reservations_accepted
|
211
225
|
@properties['reservations_accepted']
|
212
226
|
end
|
213
227
|
|
214
228
|
##
|
215
|
-
# @return [String] The
|
229
|
+
# @return [String] The total number of Reservations that were rejected for Tasks while in this TaskQueue
|
216
230
|
def reservations_rejected
|
217
231
|
@properties['reservations_rejected']
|
218
232
|
end
|
219
233
|
|
220
234
|
##
|
221
|
-
# @return [String] The
|
235
|
+
# @return [String] The total number of Reservations that were timed out for Tasks while in this TaskQueue
|
222
236
|
def reservations_timed_out
|
223
237
|
@properties['reservations_timed_out']
|
224
238
|
end
|
225
239
|
|
226
240
|
##
|
227
|
-
# @return [String] The
|
241
|
+
# @return [String] The total number of Reservations that were canceled for Tasks while in this TaskQueue
|
228
242
|
def reservations_canceled
|
229
243
|
@properties['reservations_canceled']
|
230
244
|
end
|
231
245
|
|
232
246
|
##
|
233
|
-
# @return [String] The
|
247
|
+
# @return [String] The total number of Reservations that were rescinded
|
234
248
|
def reservations_rescinded
|
235
249
|
@properties['reservations_rescinded']
|
236
250
|
end
|
237
251
|
|
238
252
|
##
|
239
|
-
# @return [Hash] The
|
253
|
+
# @return [Hash] The splits of the tasks canceled and accepted based on the provided SplitByWaitTime parameter
|
240
254
|
def split_by_wait_time
|
241
255
|
@properties['split_by_wait_time']
|
242
256
|
end
|
@@ -248,43 +262,43 @@ module Twilio
|
|
248
262
|
end
|
249
263
|
|
250
264
|
##
|
251
|
-
# @return [Hash] The
|
265
|
+
# @return [Hash] The wait duration stats for tasks that were accepted while in this TaskQueue
|
252
266
|
def wait_duration_until_accepted
|
253
267
|
@properties['wait_duration_until_accepted']
|
254
268
|
end
|
255
269
|
|
256
270
|
##
|
257
|
-
# @return [Hash] The
|
271
|
+
# @return [Hash] The wait duration stats for tasks that were canceled while in this TaskQueue
|
258
272
|
def wait_duration_until_canceled
|
259
273
|
@properties['wait_duration_until_canceled']
|
260
274
|
end
|
261
275
|
|
262
276
|
##
|
263
|
-
# @return [String] The
|
277
|
+
# @return [String] The total number of Tasks canceled while in this TaskQueue
|
264
278
|
def tasks_canceled
|
265
279
|
@properties['tasks_canceled']
|
266
280
|
end
|
267
281
|
|
268
282
|
##
|
269
|
-
# @return [String] The
|
283
|
+
# @return [String] The total number of Tasks completed while in this TaskQueue
|
270
284
|
def tasks_completed
|
271
285
|
@properties['tasks_completed']
|
272
286
|
end
|
273
287
|
|
274
288
|
##
|
275
|
-
# @return [String] The
|
289
|
+
# @return [String] The total number of Tasks that were deleted while in this TaskQueue
|
276
290
|
def tasks_deleted
|
277
291
|
@properties['tasks_deleted']
|
278
292
|
end
|
279
293
|
|
280
294
|
##
|
281
|
-
# @return [String] The
|
295
|
+
# @return [String] The total number of Tasks entered into this TaskQueue
|
282
296
|
def tasks_entered
|
283
297
|
@properties['tasks_entered']
|
284
298
|
end
|
285
299
|
|
286
300
|
##
|
287
|
-
# @return [String] The
|
301
|
+
# @return [String] The total number of Tasks moved to another TaskQueue from this TaskQueue
|
288
302
|
def tasks_moved
|
289
303
|
@properties['tasks_moved']
|
290
304
|
end
|
@@ -303,11 +317,23 @@ module Twilio
|
|
303
317
|
|
304
318
|
##
|
305
319
|
# Fetch a TaskQueueCumulativeStatisticsInstance
|
306
|
-
# @param [Time] end_date
|
307
|
-
#
|
308
|
-
#
|
309
|
-
# @param [String]
|
310
|
-
#
|
320
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
321
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
322
|
+
# Timestamp.
|
323
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
324
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
325
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
326
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
327
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
328
|
+
# Timestamp.
|
329
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
330
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
331
|
+
# TaskChannelSid.
|
332
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
333
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
334
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
335
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
336
|
+
# tasks or tasks that failed to meet your SLA.
|
311
337
|
# @return [TaskQueueCumulativeStatisticsInstance] Fetched TaskQueueCumulativeStatisticsInstance
|
312
338
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
313
339
|
context.fetch(
|
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb
CHANGED
@@ -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
|
@@ -82,7 +84,9 @@ module Twilio
|
|
82
84
|
|
83
85
|
##
|
84
86
|
# Fetch a TaskQueueRealTimeStatisticsInstance
|
85
|
-
# @param [String] task_channel
|
87
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
88
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
89
|
+
# TaskChannelSid.
|
86
90
|
# @return [TaskQueueRealTimeStatisticsInstance] Fetched TaskQueueRealTimeStatisticsInstance
|
87
91
|
def fetch(task_channel: :unset)
|
88
92
|
params = Twilio::Values.of({'TaskChannel' => task_channel, })
|
@@ -162,13 +166,13 @@ module Twilio
|
|
162
166
|
end
|
163
167
|
|
164
168
|
##
|
165
|
-
# @return [Hash] The
|
169
|
+
# @return [Hash] The current Worker status count breakdown by Activity
|
166
170
|
def activity_statistics
|
167
171
|
@properties['activity_statistics']
|
168
172
|
end
|
169
173
|
|
170
174
|
##
|
171
|
-
# @return [String] The
|
175
|
+
# @return [String] The age of the longest waiting Task
|
172
176
|
def longest_task_waiting_age
|
173
177
|
@properties['longest_task_waiting_age']
|
174
178
|
end
|
@@ -180,31 +184,31 @@ module Twilio
|
|
180
184
|
end
|
181
185
|
|
182
186
|
##
|
183
|
-
# @return [Hash] The
|
187
|
+
# @return [Hash] The Tasks broken down by priority
|
184
188
|
def tasks_by_priority
|
185
189
|
@properties['tasks_by_priority']
|
186
190
|
end
|
187
191
|
|
188
192
|
##
|
189
|
-
# @return [Hash] The
|
193
|
+
# @return [Hash] The Tasks broken down by status
|
190
194
|
def tasks_by_status
|
191
195
|
@properties['tasks_by_status']
|
192
196
|
end
|
193
197
|
|
194
198
|
##
|
195
|
-
# @return [String] The
|
199
|
+
# @return [String] The total number of Workers available for Tasks in this TaskQueue
|
196
200
|
def total_available_workers
|
197
201
|
@properties['total_available_workers']
|
198
202
|
end
|
199
203
|
|
200
204
|
##
|
201
|
-
# @return [String] The
|
205
|
+
# @return [String] The total number of Workers eligible for Tasks in this TaskQueue, irrespective of Activity state.
|
202
206
|
def total_eligible_workers
|
203
207
|
@properties['total_eligible_workers']
|
204
208
|
end
|
205
209
|
|
206
210
|
##
|
207
|
-
# @return [String] The
|
211
|
+
# @return [String] The total number of Tasks
|
208
212
|
def total_tasks
|
209
213
|
@properties['total_tasks']
|
210
214
|
end
|
@@ -223,7 +227,9 @@ module Twilio
|
|
223
227
|
|
224
228
|
##
|
225
229
|
# Fetch a TaskQueueRealTimeStatisticsInstance
|
226
|
-
# @param [String] task_channel
|
230
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
231
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
232
|
+
# TaskChannelSid.
|
227
233
|
# @return [TaskQueueRealTimeStatisticsInstance] Fetched TaskQueueRealTimeStatisticsInstance
|
228
234
|
def fetch(task_channel: :unset)
|
229
235
|
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
|
@@ -82,11 +84,23 @@ module Twilio
|
|
82
84
|
|
83
85
|
##
|
84
86
|
# Fetch a TaskQueueStatisticsInstance
|
85
|
-
# @param [Time] end_date
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# @param [String]
|
89
|
-
#
|
87
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
88
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
89
|
+
# Timestamp.
|
90
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
91
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
92
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
93
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
94
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
95
|
+
# Timestamp.
|
96
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
97
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
98
|
+
# TaskChannelSid.
|
99
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
100
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
101
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
102
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
103
|
+
# tasks or tasks that failed to meet your SLA.
|
90
104
|
# @return [TaskQueueStatisticsInstance] Fetched TaskQueueStatisticsInstance
|
91
105
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
92
106
|
params = Twilio::Values.of({
|
@@ -198,11 +212,23 @@ module Twilio
|
|
198
212
|
|
199
213
|
##
|
200
214
|
# Fetch a TaskQueueStatisticsInstance
|
201
|
-
# @param [Time] end_date
|
202
|
-
#
|
203
|
-
#
|
204
|
-
# @param [String]
|
205
|
-
#
|
215
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
216
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
217
|
+
# Timestamp.
|
218
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
219
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
220
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
221
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
222
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
223
|
+
# Timestamp.
|
224
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
225
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
226
|
+
# TaskChannelSid.
|
227
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
228
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
229
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
230
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
231
|
+
# tasks or tasks that failed to meet your SLA.
|
206
232
|
# @return [TaskQueueStatisticsInstance] Fetched TaskQueueStatisticsInstance
|
207
233
|
def fetch(end_date: :unset, minutes: :unset, start_date: :unset, task_channel: :unset, split_by_wait_time: :unset)
|
208
234
|
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
|
@@ -14,7 +16,7 @@ module Twilio
|
|
14
16
|
##
|
15
17
|
# Initialize the TaskQueuesStatisticsList
|
16
18
|
# @param [Version] version Version that contains the resource
|
17
|
-
# @param [String] workspace_sid The
|
19
|
+
# @param [String] workspace_sid The ID of the Workspace that owns this TaskQueue
|
18
20
|
# @return [TaskQueuesStatisticsList] TaskQueuesStatisticsList
|
19
21
|
def initialize(version, workspace_sid: nil)
|
20
22
|
super(version)
|
@@ -28,12 +30,25 @@ module Twilio
|
|
28
30
|
# Lists TaskQueuesStatisticsInstance records from the API as a list.
|
29
31
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
30
32
|
# memory before returning.
|
31
|
-
# @param [Time] end_date
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# @param [
|
35
|
-
#
|
36
|
-
# @param [String]
|
33
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
34
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
35
|
+
# Timestamp.
|
36
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue’s
|
37
|
+
# name (only for list resource)
|
38
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
39
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
40
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
41
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
42
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
43
|
+
# Timestamp.
|
44
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
45
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
46
|
+
# TaskChannelSid.
|
47
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
48
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
49
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
50
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
51
|
+
# tasks or tasks that failed to meet your SLA.
|
37
52
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
38
53
|
# guarantees to never return more than limit. Default is no limit
|
39
54
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -58,12 +73,25 @@ module Twilio
|
|
58
73
|
# Streams TaskQueuesStatisticsInstance records from the API as an Enumerable.
|
59
74
|
# This operation lazily loads records as efficiently as possible until the limit
|
60
75
|
# is reached.
|
61
|
-
# @param [Time] end_date
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# @param [
|
65
|
-
#
|
66
|
-
# @param [String]
|
76
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
77
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
78
|
+
# Timestamp.
|
79
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue’s
|
80
|
+
# name (only for list resource)
|
81
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
82
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
83
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
84
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
85
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
86
|
+
# Timestamp.
|
87
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
88
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
89
|
+
# TaskChannelSid.
|
90
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
91
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
92
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
93
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
94
|
+
# tasks or tasks that failed to meet your SLA.
|
67
95
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
68
96
|
# guarantees to never return more than limit. Default is no limit.
|
69
97
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -104,12 +132,25 @@ module Twilio
|
|
104
132
|
##
|
105
133
|
# Retrieve a single page of TaskQueuesStatisticsInstance records from the API.
|
106
134
|
# Request is executed immediately.
|
107
|
-
# @param [Time] end_date
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# @param [
|
111
|
-
#
|
112
|
-
# @param [String]
|
135
|
+
# @param [Time] end_date Filter cumulative statistics by an end date. This is
|
136
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
137
|
+
# Timestamp.
|
138
|
+
# @param [String] friendly_name Filter the TaskQueue stats based on a TaskQueue’s
|
139
|
+
# name (only for list resource)
|
140
|
+
# @param [String] minutes Filter cumulative statistics by up to ‘x’ minutes in the
|
141
|
+
# past. This is helpful for statistics for the last 15 minutes, 240 minutes (4
|
142
|
+
# hours), and 480 minutes (8 hours) to see trends. Defaults to 15 minutes.
|
143
|
+
# @param [Time] start_date Filter cumulative statistics by a start date. This is
|
144
|
+
# helpful for defining a range of statistics to capture. Input is a GMT ISO 8601
|
145
|
+
# Timestamp.
|
146
|
+
# @param [String] task_channel Filter real-time and cumulative statistics by
|
147
|
+
# TaskChannel. Takes in a Unique Name ("voice", "sms", "default", etc.) or a
|
148
|
+
# TaskChannelSid.
|
149
|
+
# @param [String] split_by_wait_time A comma separated values for viewing splits
|
150
|
+
# of tasks canceled and accepted above the given threshold in seconds. Ex: "5,30"
|
151
|
+
# would show splits of tasks that were canceled or accepted before or after 5
|
152
|
+
# seconds and respectively, 30 seconds. This is great for showing short abandoned
|
153
|
+
# tasks or tasks that failed to meet your SLA.
|
113
154
|
# @param [String] page_token PageToken provided by the API
|
114
155
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
115
156
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -188,7 +229,7 @@ module Twilio
|
|
188
229
|
# Initialize the TaskQueuesStatisticsInstance
|
189
230
|
# @param [Version] version Version that contains the resource
|
190
231
|
# @param [Hash] payload payload that contains response from Twilio
|
191
|
-
# @param [String] workspace_sid The
|
232
|
+
# @param [String] workspace_sid The ID of the Workspace that owns this TaskQueue
|
192
233
|
# @return [TaskQueuesStatisticsInstance] TaskQueuesStatisticsInstance
|
193
234
|
def initialize(version, payload, workspace_sid: nil)
|
194
235
|
super(version)
|