twilio-ruby 5.48.0 → 5.66.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/pr-lint.yml +15 -0
- data/.github/workflows/test-and-deploy.yml +129 -0
- data/.gitignore +5 -1
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +91 -28
- data/CHANGES.md +621 -0
- data/Gemfile +1 -0
- data/Makefile +5 -9
- data/README.md +16 -8
- data/examples/examples.rb +1 -1
- data/lib/rack/twilio_webhook_authentication.rb +25 -1
- data/lib/twilio-ruby/framework/{domain.rb → rest/domain.rb} +0 -0
- data/lib/twilio-ruby/framework/{error.rb → rest/error.rb} +0 -0
- data/lib/twilio-ruby/framework/{helper.rb → rest/helper.rb} +0 -0
- data/lib/twilio-ruby/framework/{obsolete_client.rb → rest/obsolete_client.rb} +0 -0
- data/lib/twilio-ruby/framework/{page.rb → rest/page.rb} +0 -0
- data/lib/twilio-ruby/framework/{resource.rb → rest/resource.rb} +0 -0
- data/lib/twilio-ruby/framework/{version.rb → rest/version.rb} +0 -0
- data/lib/twilio-ruby/http/http_client.rb +15 -3
- data/lib/twilio-ruby/http.rb +5 -0
- data/lib/twilio-ruby/jwt/access_token.rb +13 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +27 -27
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +674 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +674 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +71 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +12 -8
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +17 -10
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +19 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +27 -7
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010.rb +5 -4
- data/lib/twilio-ruby/rest/api.rb +1 -1
- data/lib/twilio-ruby/rest/autopilot/v1.rb +5 -4
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -8
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +15 -7
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +15 -9
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +0 -8
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +0 -8
- data/lib/twilio-ruby/rest/bulkexports/v1.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v1.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -4
- data/lib/twilio-ruby/rest/chat/v2.rb +10 -8
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +275 -0
- data/lib/twilio-ruby/rest/chat/v3.rb +48 -0
- data/lib/twilio-ruby/rest/chat.rb +16 -0
- data/lib/twilio-ruby/rest/client.rb +21 -6
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +447 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +7 -0
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +312 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +18 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +269 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +7 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +324 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +466 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +44 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +23 -0
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +442 -0
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +35 -0
- data/lib/twilio-ruby/rest/conversations/v1.rb +49 -20
- data/lib/twilio-ruby/rest/conversations.rb +15 -0
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +16 -9
- data/lib/twilio-ruby/rest/events/v1/schema/{schema_version.rb → version.rb} +41 -41
- data/lib/twilio-ruby/rest/events/v1/schema.rb +16 -16
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/sink.rb +45 -9
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +139 -9
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +12 -6
- data/lib/twilio-ruby/rest/events/v1.rb +20 -16
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +0 -77
- data/lib/twilio-ruby/rest/fax/v1.rb +5 -4
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +28 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +55 -34
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +236 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +330 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +377 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +233 -0
- data/lib/twilio-ruby/rest/flex_api/v1.rb +31 -12
- data/lib/twilio-ruby/rest/flex_api.rb +9 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +258 -0
- data/lib/twilio-ruby/rest/frontline_api/v1.rb +45 -0
- data/lib/twilio-ruby/rest/frontline_api.rb +47 -0
- data/lib/twilio-ruby/rest/insights/v1/annotation.rb +271 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +434 -0
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +474 -0
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +512 -0
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +22 -22
- data/lib/twilio-ruby/rest/insights/v1/room.rb +55 -43
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +215 -0
- data/lib/twilio-ruby/rest/insights/v1.rb +57 -9
- data/lib/twilio-ruby/rest/insights.rb +29 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +10 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +10 -8
- data/lib/twilio-ruby/rest/lookups/v1.rb +5 -4
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +397 -0
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +406 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +221 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +403 -0
- data/lib/twilio-ruby/rest/media/v1.rb +76 -0
- data/lib/twilio-ruby/rest/media.rb +65 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +353 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +127 -2
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +150 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +433 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +129 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +144 -26
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +111 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +24 -8
- data/lib/twilio-ruby/rest/messaging.rb +12 -0
- data/lib/twilio-ruby/rest/monitor/v1.rb +10 -8
- data/lib/twilio-ruby/rest/notify/v1.rb +10 -8
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +268 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +188 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +128 -26
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +7 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +10 -8
- data/lib/twilio-ruby/rest/preview/deployed_devices.rb +5 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +10 -8
- data/lib/twilio-ruby/rest/preview/marketplace.rb +10 -8
- data/lib/twilio-ruby/rest/preview/sync.rb +5 -4
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +5 -4
- data/lib/twilio-ruby/rest/preview/understand.rb +5 -4
- data/lib/twilio-ruby/rest/preview/wireless.rb +15 -12
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +280 -0
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +225 -0
- data/lib/twilio-ruby/rest/pricing/v2.rb +37 -0
- data/lib/twilio-ruby/rest/pricing.rb +19 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1.rb +5 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/serverless/v1.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1.rb +5 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v2.rb +5 -4
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +372 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +86 -45
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +416 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +231 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +45 -0
- data/lib/twilio-ruby/rest/supersim/v1/{command.rb → sms_command.rb} +81 -78
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +9 -9
- data/lib/twilio-ruby/rest/supersim/v1.rb +62 -25
- data/lib/twilio-ruby/rest/supersim.rb +24 -6
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +9 -16
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +22 -33
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +9 -15
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +22 -35
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +9 -15
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +9 -15
- data/lib/twilio-ruby/rest/sync/v1.rb +5 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +31 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +6 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +23 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +4 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +4 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +45 -30
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +5 -4
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +19 -3
- data/lib/twilio-ruby/rest/trunking/v1.rb +5 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +35 -28
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +155 -10
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +205 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +111 -20
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +68 -60
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +309 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +31 -3
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +18 -7
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +24 -5
- data/lib/twilio-ruby/rest/verify/v2/service.rb +88 -5
- data/lib/twilio-ruby/rest/verify/v2/template.rb +206 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +89 -21
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +234 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +29 -12
- data/lib/twilio-ruby/rest/verify.rb +14 -2
- data/lib/twilio-ruby/rest/video/v1/composition.rb +21 -8
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -8
- data/lib/twilio-ruby/rest/video/v1/recording.rb +21 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb +0 -6
- data/lib/twilio-ruby/rest/video/v1/room.rb +55 -5
- data/lib/twilio-ruby/rest/video/v1.rb +20 -16
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +184 -0
- data/lib/twilio-ruby/rest/voice/v1.rb +41 -16
- data/lib/twilio-ruby/rest/voice.rb +8 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +16 -26
- data/lib/twilio-ruby/rest/wireless/v1.rb +15 -12
- data/lib/twilio-ruby/rest.rb +13 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +635 -36
- data/lib/twilio-ruby/version.rb +1 -1
- data/lib/twilio-ruby.rb +6 -16
- data/sonar-project.properties +13 -0
- data/twilio-ruby.gemspec +1 -2
- metadata +64 -872
- data/.travis.yml +0 -45
- data/spec/framework/request_spec.rb +0 -36
- data/spec/framework/serialize_spec.rb +0 -80
- data/spec/framework/version_spec.rb +0 -219
- data/spec/holodeck/holodeck.rb +0 -66
- data/spec/holodeck/hologram.rb +0 -4
- data/spec/http/http_client_spec.rb +0 -122
- data/spec/integration/accounts/v1/auth_token_promotion_spec.rb +0 -44
- data/spec/integration/accounts/v1/credential/aws_spec.rb +0 -222
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +0 -222
- data/spec/integration/accounts/v1/credential_spec.rb +0 -12
- data/spec/integration/accounts/v1/secondary_auth_token_spec.rb +0 -69
- data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +0 -106
- data/spec/integration/api/v2010/account/address_spec.rb +0 -269
- data/spec/integration/api/v2010/account/application_spec.rb +0 -274
- data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +0 -137
- data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +0 -102
- data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +0 -102
- data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +0 -101
- data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +0 -102
- data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +0 -102
- data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +0 -101
- data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +0 -102
- data/spec/integration/api/v2010/account/available_phone_number_spec.rb +0 -128
- data/spec/integration/api/v2010/account/balance_spec.rb +0 -44
- data/spec/integration/api/v2010/account/call/event_spec.rb +0 -102
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +0 -138
- data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +0 -149
- data/spec/integration/api/v2010/account/call/notification_spec.rb +0 -143
- data/spec/integration/api/v2010/account/call/payment_spec.rb +0 -135
- data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -287
- data/spec/integration/api/v2010/account/call_spec.rb +0 -660
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +0 -768
- data/spec/integration/api/v2010/account/conference/recording_spec.rb +0 -234
- data/spec/integration/api/v2010/account/conference_spec.rb +0 -716
- data/spec/integration/api/v2010/account/connect_app_spec.rb +0 -197
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -135
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -220
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +0 -189
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +0 -189
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +0 -189
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +0 -358
- data/spec/integration/api/v2010/account/key_spec.rb +0 -176
- data/spec/integration/api/v2010/account/message/feedback_spec.rb +0 -49
- data/spec/integration/api/v2010/account/message/media_spec.rb +0 -161
- data/spec/integration/api/v2010/account/message_spec.rb +0 -507
- data/spec/integration/api/v2010/account/new_key_spec.rb +0 -46
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +0 -46
- data/spec/integration/api/v2010/account/notification_spec.rb +0 -138
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +0 -185
- data/spec/integration/api/v2010/account/queue/member_spec.rb +0 -208
- data/spec/integration/api/v2010/account/queue_spec.rb +0 -244
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +0 -174
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +0 -165
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +0 -173
- data/spec/integration/api/v2010/account/recording_spec.rb +0 -184
- data/spec/integration/api/v2010/account/short_code_spec.rb +0 -179
- data/spec/integration/api/v2010/account/signing_key_spec.rb +0 -176
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +0 -252
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +0 -241
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +0 -217
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +0 -217
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping_spec.rb +0 -12
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +0 -217
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping_spec.rb +0 -12
- data/spec/integration/api/v2010/account/sip/domain/auth_types_spec.rb +0 -12
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +0 -207
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +0 -217
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +0 -303
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +0 -254
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +0 -251
- data/spec/integration/api/v2010/account/sip_spec.rb +0 -12
- data/spec/integration/api/v2010/account/token_spec.rb +0 -71
- data/spec/integration/api/v2010/account/transcription_spec.rb +0 -166
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +0 -113
- data/spec/integration/api/v2010/account/usage/record_spec.rb +0 -110
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +0 -281
- data/spec/integration/api/v2010/account/usage_spec.rb +0 -12
- data/spec/integration/api/v2010/account/validation_request_spec.rb +0 -48
- data/spec/integration/api/v2010/account_spec.rb +0 -327
- data/spec/integration/autopilot/v1/assistant/defaults_spec.rb +0 -79
- data/spec/integration/autopilot/v1/assistant/dialogue_spec.rb +0 -46
- data/spec/integration/autopilot/v1/assistant/field_type/field_value_spec.rb +0 -207
- data/spec/integration/autopilot/v1/assistant/field_type_spec.rb +0 -242
- data/spec/integration/autopilot/v1/assistant/model_build_spec.rb +0 -236
- data/spec/integration/autopilot/v1/assistant/query_spec.rb +0 -290
- data/spec/integration/autopilot/v1/assistant/style_sheet_spec.rb +0 -79
- data/spec/integration/autopilot/v1/assistant/task/field_spec.rb +0 -204
- data/spec/integration/autopilot/v1/assistant/task/sample_spec.rb +0 -249
- data/spec/integration/autopilot/v1/assistant/task/task_actions_spec.rb +0 -85
- data/spec/integration/autopilot/v1/assistant/task/task_statistics_spec.rb +0 -49
- data/spec/integration/autopilot/v1/assistant/task_spec.rb +0 -258
- data/spec/integration/autopilot/v1/assistant/webhook_spec.rb +0 -242
- data/spec/integration/autopilot/v1/assistant_spec.rb +0 -277
- data/spec/integration/autopilot/v1/restore_assistant_spec.rb +0 -53
- data/spec/integration/bulkexports/v1/export/day_spec.rb +0 -115
- data/spec/integration/bulkexports/v1/export/export_custom_job_spec.rb +0 -129
- data/spec/integration/bulkexports/v1/export/job_spec.rb +0 -78
- data/spec/integration/bulkexports/v1/export_configuration_spec.rb +0 -77
- data/spec/integration/bulkexports/v1/export_spec.rb +0 -44
- data/spec/integration/chat/v1/credential_spec.rb +0 -219
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +0 -207
- data/spec/integration/chat/v1/service/channel/member_spec.rb +0 -280
- data/spec/integration/chat/v1/service/channel/message_spec.rb +0 -290
- data/spec/integration/chat/v1/service/channel_spec.rb +0 -272
- data/spec/integration/chat/v1/service/role_spec.rb +0 -260
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +0 -93
- data/spec/integration/chat/v1/service/user_spec.rb +0 -262
- data/spec/integration/chat/v1/service_spec.rb +0 -295
- data/spec/integration/chat/v2/credential_spec.rb +0 -219
- data/spec/integration/chat/v2/service/binding_spec.rb +0 -174
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +0 -207
- data/spec/integration/chat/v2/service/channel/member_spec.rb +0 -263
- data/spec/integration/chat/v2/service/channel/message_spec.rb +0 -406
- data/spec/integration/chat/v2/service/channel/webhook_spec.rb +0 -303
- data/spec/integration/chat/v2/service/channel_spec.rb +0 -282
- data/spec/integration/chat/v2/service/role_spec.rb +0 -260
- data/spec/integration/chat/v2/service/user/user_binding_spec.rb +0 -177
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +0 -247
- data/spec/integration/chat/v2/service/user_spec.rb +0 -270
- data/spec/integration/chat/v2/service_spec.rb +0 -350
- data/spec/integration/conversations/v1/configuration/webhook_spec.rb +0 -90
- data/spec/integration/conversations/v1/configuration_spec.rb +0 -87
- data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +0 -136
- data/spec/integration/conversations/v1/conversation/message_spec.rb +0 -409
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +0 -402
- data/spec/integration/conversations/v1/conversation/webhook_spec.rb +0 -282
- data/spec/integration/conversations/v1/conversation_spec.rb +0 -278
- data/spec/integration/conversations/v1/credential_spec.rb +0 -219
- data/spec/integration/conversations/v1/role_spec.rb +0 -249
- data/spec/integration/conversations/v1/service/binding_spec.rb +0 -166
- data/spec/integration/conversations/v1/service/configuration/notification_spec.rb +0 -115
- data/spec/integration/conversations/v1/service/configuration_spec.rb +0 -89
- data/spec/integration/conversations/v1/service/conversation/message/delivery_receipt_spec.rb +0 -144
- data/spec/integration/conversations/v1/service/conversation/message_spec.rb +0 -429
- data/spec/integration/conversations/v1/service/conversation/participant_spec.rb +0 -427
- data/spec/integration/conversations/v1/service/conversation/webhook_spec.rb +0 -299
- data/spec/integration/conversations/v1/service/conversation_spec.rb +0 -289
- data/spec/integration/conversations/v1/service/role_spec.rb +0 -260
- data/spec/integration/conversations/v1/service/user_spec.rb +0 -241
- data/spec/integration/conversations/v1/service_spec.rb +0 -174
- data/spec/integration/conversations/v1/user_spec.rb +0 -231
- data/spec/integration/events/v1/event_type_spec.rb +0 -133
- data/spec/integration/events/v1/schema/schema_version_spec.rb +0 -126
- data/spec/integration/events/v1/schema_spec.rb +0 -46
- data/spec/integration/events/v1/sink/sink_test_spec.rb +0 -42
- data/spec/integration/events/v1/sink/sink_validate_spec.rb +0 -44
- data/spec/integration/events/v1/sink_spec.rb +0 -231
- data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +0 -91
- data/spec/integration/events/v1/subscription_spec.rb +0 -292
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -125
- data/spec/integration/fax/v1/fax_spec.rb +0 -267
- data/spec/integration/flex_api/v1/channel_spec.rb +0 -188
- data/spec/integration/flex_api/v1/configuration_spec.rb +0 -578
- data/spec/integration/flex_api/v1/flex_flow_spec.rb +0 -259
- data/spec/integration/flex_api/v1/web_channel_spec.rb +0 -216
- data/spec/integration/insights/v1/call/event_spec.rb +0 -166
- data/spec/integration/insights/v1/call/metric_spec.rb +0 -154
- data/spec/integration/insights/v1/call/summary_spec.rb +0 -64
- data/spec/integration/insights/v1/call_spec.rb +0 -46
- data/spec/integration/insights/v1/room/participant_spec.rb +0 -147
- data/spec/integration/insights/v1/room_spec.rb +0 -164
- data/spec/integration/ip_messaging/v1/credential_spec.rb +0 -219
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +0 -207
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +0 -280
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +0 -290
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +0 -272
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +0 -260
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +0 -93
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +0 -262
- data/spec/integration/ip_messaging/v1/service_spec.rb +0 -295
- data/spec/integration/ip_messaging/v2/credential_spec.rb +0 -219
- data/spec/integration/ip_messaging/v2/service/binding_spec.rb +0 -174
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +0 -207
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +0 -263
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +0 -406
- data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +0 -303
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +0 -282
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +0 -260
- data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +0 -177
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +0 -247
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +0 -270
- data/spec/integration/ip_messaging/v2/service_spec.rb +0 -350
- data/spec/integration/lookups/v1/phone_number_spec.rb +0 -336
- data/spec/integration/messaging/v1/brand_registration_spec.rb +0 -143
- data/spec/integration/messaging/v1/deactivation_spec.rb +0 -40
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -173
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -198
- data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -176
- data/spec/integration/messaging/v1/service_spec.rb +0 -267
- data/spec/integration/monitor/v1/alert_spec.rb +0 -138
- data/spec/integration/monitor/v1/event_spec.rb +0 -148
- data/spec/integration/notify/v1/credential_spec.rb +0 -219
- data/spec/integration/notify/v1/service/binding_spec.rb +0 -222
- data/spec/integration/notify/v1/service/notification_spec.rb +0 -98
- data/spec/integration/notify/v1/service_spec.rb +0 -289
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/evaluation_spec.rb +0 -620
- data/spec/integration/numbers/v2/regulatory_compliance/bundle/item_assignment_spec.rb +0 -195
- data/spec/integration/numbers/v2/regulatory_compliance/bundle_spec.rb +0 -258
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +0 -238
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_type_spec.rb +0 -141
- data/spec/integration/numbers/v2/regulatory_compliance/regulation_spec.rb +0 -181
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +0 -250
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_type_spec.rb +0 -131
- data/spec/integration/numbers/v2/regulatory_compliance_spec.rb +0 -12
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -115
- data/spec/integration/preview/bulk_exports/export/export_custom_job_spec.rb +0 -129
- data/spec/integration/preview/bulk_exports/export/job_spec.rb +0 -78
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -77
- data/spec/integration/preview/bulk_exports/export_spec.rb +0 -44
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +0 -234
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +0 -228
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +0 -244
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +0 -232
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +0 -241
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +0 -110
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +0 -224
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -389
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -121
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -142
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -162
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -250
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -201
- data/spec/integration/preview/sync/service/document_spec.rb +0 -252
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +0 -255
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -201
- data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -205
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +0 -255
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -201
- data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -205
- data/spec/integration/preview/sync/service_spec.rb +0 -241
- data/spec/integration/preview/trusted_comms/branded_channel/channel_spec.rb +0 -50
- data/spec/integration/preview/trusted_comms/branded_channel_spec.rb +0 -47
- data/spec/integration/preview/trusted_comms/brands_information_spec.rb +0 -45
- data/spec/integration/preview/trusted_comms/cps_spec.rb +0 -44
- data/spec/integration/preview/trusted_comms/current_call_spec.rb +0 -58
- data/spec/integration/preview/understand/assistant/assistant_fallback_actions_spec.rb +0 -79
- data/spec/integration/preview/understand/assistant/assistant_initiation_actions_spec.rb +0 -79
- data/spec/integration/preview/understand/assistant/dialogue_spec.rb +0 -46
- data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +0 -207
- data/spec/integration/preview/understand/assistant/field_type_spec.rb +0 -242
- data/spec/integration/preview/understand/assistant/model_build_spec.rb +0 -236
- data/spec/integration/preview/understand/assistant/query_spec.rb +0 -302
- data/spec/integration/preview/understand/assistant/style_sheet_spec.rb +0 -79
- data/spec/integration/preview/understand/assistant/task/field_spec.rb +0 -204
- data/spec/integration/preview/understand/assistant/task/sample_spec.rb +0 -249
- data/spec/integration/preview/understand/assistant/task/task_actions_spec.rb +0 -85
- data/spec/integration/preview/understand/assistant/task/task_statistics_spec.rb +0 -49
- data/spec/integration/preview/understand/assistant/task_spec.rb +0 -258
- data/spec/integration/preview/understand/assistant_spec.rb +0 -269
- data/spec/integration/preview/wireless/command_spec.rb +0 -167
- data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -257
- data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -50
- data/spec/integration/preview/wireless/sim_spec.rb +0 -207
- data/spec/integration/pricing/v1/messaging/country_spec.rb +0 -137
- data/spec/integration/pricing/v1/messaging_spec.rb +0 -12
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +0 -128
- data/spec/integration/pricing/v1/phone_number_spec.rb +0 -12
- data/spec/integration/pricing/v1/voice/country_spec.rb +0 -138
- data/spec/integration/pricing/v1/voice/number_spec.rb +0 -55
- data/spec/integration/pricing/v1/voice_spec.rb +0 -12
- data/spec/integration/pricing/v2/voice/country_spec.rb +0 -179
- data/spec/integration/pricing/v2/voice/number_spec.rb +0 -61
- data/spec/integration/pricing/v2/voice_spec.rb +0 -12
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +0 -231
- data/spec/integration/proxy/v1/service/session/interaction_spec.rb +0 -133
- data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +0 -163
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -240
- data/spec/integration/proxy/v1/service/session_spec.rb +0 -225
- data/spec/integration/proxy/v1/service/short_code_spec.rb +0 -225
- data/spec/integration/proxy/v1/service_spec.rb +0 -214
- data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +0 -93
- data/spec/integration/serverless/v1/service/asset_spec.rb +0 -202
- data/spec/integration/serverless/v1/service/build/build_status_spec.rb +0 -48
- data/spec/integration/serverless/v1/service/build_spec.rb +0 -224
- data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +0 -133
- data/spec/integration/serverless/v1/service/environment/log_spec.rb +0 -97
- data/spec/integration/serverless/v1/service/environment/variable_spec.rb +0 -207
- data/spec/integration/serverless/v1/service/environment_spec.rb +0 -170
- data/spec/integration/serverless/v1/service/function/function_version/function_version_content_spec.rb +0 -51
- data/spec/integration/serverless/v1/service/function/function_version_spec.rb +0 -96
- data/spec/integration/serverless/v1/service/function_spec.rb +0 -202
- data/spec/integration/serverless/v1/service_spec.rb +0 -205
- data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +0 -50
- data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +0 -53
- data/spec/integration/studio/v1/flow/engagement/step_spec.rb +0 -99
- data/spec/integration/studio/v1/flow/engagement_spec.rb +0 -168
- data/spec/integration/studio/v1/flow/execution/execution_context_spec.rb +0 -50
- data/spec/integration/studio/v1/flow/execution/execution_step/execution_step_context_spec.rb +0 -53
- data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +0 -100
- data/spec/integration/studio/v1/flow/execution_spec.rb +0 -214
- data/spec/integration/studio/v1/flow_spec.rb +0 -114
- data/spec/integration/studio/v2/flow/execution/execution_context_spec.rb +0 -50
- data/spec/integration/studio/v2/flow/execution/execution_step/execution_step_context_spec.rb +0 -53
- data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +0 -100
- data/spec/integration/studio/v2/flow/execution_spec.rb +0 -211
- data/spec/integration/studio/v2/flow/flow_revision_spec.rb +0 -110
- data/spec/integration/studio/v2/flow/test_user_spec.rb +0 -85
- data/spec/integration/studio/v2/flow_spec.rb +0 -251
- data/spec/integration/studio/v2/flow_validate_spec.rb +0 -46
- data/spec/integration/supersim/v1/command_spec.rb +0 -184
- data/spec/integration/supersim/v1/fleet_spec.rb +0 -222
- data/spec/integration/supersim/v1/network_access_profile/network_access_profile_network_spec.rb +0 -176
- data/spec/integration/supersim/v1/network_access_profile_spec.rb +0 -219
- data/spec/integration/supersim/v1/network_spec.rb +0 -137
- data/spec/integration/supersim/v1/sim_spec.rb +0 -323
- data/spec/integration/supersim/v1/usage_record_spec.rb +0 -647
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -201
- data/spec/integration/sync/v1/service/document_spec.rb +0 -254
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +0 -257
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -201
- data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -252
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +0 -257
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -201
- data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -252
- data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +0 -47
- data/spec/integration/sync/v1/service/sync_stream_spec.rb +0 -244
- data/spec/integration/sync/v1/service_spec.rb +0 -261
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +0 -232
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +0 -163
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +0 -222
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +0 -312
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +0 -101
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +0 -83
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +0 -107
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +0 -145
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +0 -290
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +0 -325
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +0 -191
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -185
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +0 -91
- data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +0 -88
- data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +0 -69
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +0 -115
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +0 -290
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +0 -96
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +0 -57
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +0 -70
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +0 -266
- data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +0 -93
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +0 -72
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +0 -104
- data/spec/integration/taskrouter/v1/workspace_spec.rb +0 -291
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +0 -189
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +0 -189
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +0 -248
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +0 -264
- data/spec/integration/trunking/v1/trunk/recording_spec.rb +0 -75
- data/spec/integration/trunking/v1/trunk_spec.rb +0 -281
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment_spec.rb +0 -192
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_entity_assignments_spec.rb +0 -186
- data/spec/integration/trusthub/v1/customer_profiles/customer_profiles_evaluations_spec.rb +0 -615
- data/spec/integration/trusthub/v1/customer_profiles_spec.rb +0 -255
- data/spec/integration/trusthub/v1/end_user_spec.rb +0 -247
- data/spec/integration/trusthub/v1/end_user_type_spec.rb +0 -176
- data/spec/integration/trusthub/v1/policies_spec.rb +0 -252
- data/spec/integration/trusthub/v1/supporting_document_spec.rb +0 -235
- data/spec/integration/trusthub/v1/supporting_document_type_spec.rb +0 -159
- data/spec/integration/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment_spec.rb +0 -192
- data/spec/integration/trusthub/v1/trust_products/trust_products_entity_assignments_spec.rb +0 -186
- data/spec/integration/trusthub/v1/trust_products/trust_products_evaluations_spec.rb +0 -615
- data/spec/integration/trusthub/v1/trust_products_spec.rb +0 -255
- data/spec/integration/verify/v2/form_spec.rb +0 -47
- data/spec/integration/verify/v2/service/access_token_spec.rb +0 -44
- data/spec/integration/verify/v2/service/entity/challenge_spec.rb +0 -288
- data/spec/integration/verify/v2/service/entity/factor_spec.rb +0 -277
- data/spec/integration/verify/v2/service/entity_spec.rb +0 -201
- data/spec/integration/verify/v2/service/messaging_configuration_spec.rb +0 -228
- data/spec/integration/verify/v2/service/rate_limit/bucket_spec.rb +0 -245
- data/spec/integration/verify/v2/service/rate_limit_spec.rb +0 -217
- data/spec/integration/verify/v2/service/verification_check_spec.rb +0 -80
- data/spec/integration/verify/v2/service/verification_spec.rb +0 -318
- data/spec/integration/verify/v2/service/webhook_spec.rb +0 -258
- data/spec/integration/verify/v2/service_spec.rb +0 -279
- data/spec/integration/verify/v2/verification_attempt_spec.rb +0 -146
- data/spec/integration/video/v1/composition_hook_spec.rb +0 -407
- data/spec/integration/video/v1/composition_settings_spec.rb +0 -85
- data/spec/integration/video/v1/composition_spec.rb +0 -347
- data/spec/integration/video/v1/recording_settings_spec.rb +0 -85
- data/spec/integration/video/v1/recording_spec.rb +0 -176
- data/spec/integration/video/v1/room/recording_spec.rb +0 -185
- data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +0 -94
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribe_rule_spec.rb +0 -103
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +0 -95
- data/spec/integration/video/v1/room/room_participant_spec.rb +0 -187
- data/spec/integration/video/v1/room/room_recording_rule_spec.rb +0 -89
- data/spec/integration/video/v1/room_spec.rb +0 -301
- data/spec/integration/voice/v1/byoc_trunk_spec.rb +0 -245
- data/spec/integration/voice/v1/connection_policy/connection_policy_target_spec.rb +0 -242
- data/spec/integration/voice/v1/connection_policy_spec.rb +0 -221
- data/spec/integration/voice/v1/dialing_permissions/bulk_country_update_spec.rb +0 -45
- data/spec/integration/voice/v1/dialing_permissions/country/highrisk_special_prefix_spec.rb +0 -60
- data/spec/integration/voice/v1/dialing_permissions/country_spec.rb +0 -110
- data/spec/integration/voice/v1/dialing_permissions/settings_spec.rb +0 -75
- data/spec/integration/voice/v1/dialing_permissions_spec.rb +0 -12
- data/spec/integration/voice/v1/ip_record_spec.rb +0 -219
- data/spec/integration/voice/v1/source_ip_mapping_spec.rb +0 -216
- data/spec/integration/wireless/v1/command_spec.rb +0 -286
- data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -277
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +0 -88
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -114
- data/spec/integration/wireless/v1/sim_spec.rb +0 -325
- data/spec/integration/wireless/v1/usage_record_spec.rb +0 -110
- data/spec/jwt/access_token_spec.rb +0 -159
- data/spec/jwt/client_capability_spec.rb +0 -104
- data/spec/jwt/task_router_spec.rb +0 -172
- data/spec/rack/twilio_webhook_authentication_spec.rb +0 -106
- data/spec/rest/client_spec.rb +0 -255
- data/spec/security/request_validator_spec.rb +0 -125
- data/spec/spec_helper.rb +0 -38
- data/spec/support/fakeweb.rb +0 -2
- data/spec/twilio_spec.rb +0 -17
- data/spec/twiml/messaging_response_spec.rb +0 -235
- data/spec/twiml/voice_response_spec.rb +0 -847
- data/spec/util/configuration_spec.rb +0 -33
- data/spec/util/url_encode_spec.rb +0 -12
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# \ / _ _ _| _ _
|
|
4
|
+
# | (_)\/(_)(_|\/| |(/_ v1.0.0
|
|
5
|
+
# / /
|
|
6
|
+
#
|
|
7
|
+
# frozen_string_literal: true
|
|
8
|
+
|
|
9
|
+
module Twilio
|
|
10
|
+
module REST
|
|
11
|
+
class Insights < Domain
|
|
12
|
+
class V1 < Version
|
|
13
|
+
class ConferenceList < ListResource
|
|
14
|
+
##
|
|
15
|
+
# Initialize the ConferenceList
|
|
16
|
+
# @param [Version] version Version that contains the resource
|
|
17
|
+
# @return [ConferenceList] ConferenceList
|
|
18
|
+
def initialize(version)
|
|
19
|
+
super(version)
|
|
20
|
+
|
|
21
|
+
# Path Solution
|
|
22
|
+
@solution = {}
|
|
23
|
+
@uri = "/Conferences"
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
##
|
|
27
|
+
# Lists ConferenceInstance records from the API as a list.
|
|
28
|
+
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
29
|
+
# memory before returning.
|
|
30
|
+
# @param [String] conference_sid The SID of the conference.
|
|
31
|
+
# @param [String] friendly_name Custom label for the conference resource, up to 64
|
|
32
|
+
# characters.
|
|
33
|
+
# @param [String] status Conference status.
|
|
34
|
+
# @param [String] created_after Conferences created after the provided timestamp
|
|
35
|
+
# specified in ISO 8601 format
|
|
36
|
+
# @param [String] created_before Conferences created before the provided timestamp
|
|
37
|
+
# specified in ISO 8601 format.
|
|
38
|
+
# @param [String] mixer_region Twilio region where the conference media was mixed.
|
|
39
|
+
# @param [String] tags Tags applied by Twilio for common potential configuration,
|
|
40
|
+
# quality, or performance issues.
|
|
41
|
+
# @param [String] subaccount Account SID for the subaccount whose resources you
|
|
42
|
+
# wish to retrieve.
|
|
43
|
+
# @param [String] detected_issues Potential configuration, behavior, or
|
|
44
|
+
# performance issues detected during the conference.
|
|
45
|
+
# @param [String] end_reason Conference end reason; e.g. last participant left,
|
|
46
|
+
# modified by API, etc.
|
|
47
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
48
|
+
# guarantees to never return more than limit. Default is no limit
|
|
49
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
50
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
51
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
52
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
53
|
+
# @return [Array] Array of up to limit results
|
|
54
|
+
def list(conference_sid: :unset, friendly_name: :unset, status: :unset, created_after: :unset, created_before: :unset, mixer_region: :unset, tags: :unset, subaccount: :unset, detected_issues: :unset, end_reason: :unset, limit: nil, page_size: nil)
|
|
55
|
+
self.stream(
|
|
56
|
+
conference_sid: conference_sid,
|
|
57
|
+
friendly_name: friendly_name,
|
|
58
|
+
status: status,
|
|
59
|
+
created_after: created_after,
|
|
60
|
+
created_before: created_before,
|
|
61
|
+
mixer_region: mixer_region,
|
|
62
|
+
tags: tags,
|
|
63
|
+
subaccount: subaccount,
|
|
64
|
+
detected_issues: detected_issues,
|
|
65
|
+
end_reason: end_reason,
|
|
66
|
+
limit: limit,
|
|
67
|
+
page_size: page_size
|
|
68
|
+
).entries
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
##
|
|
72
|
+
# Streams ConferenceInstance records from the API as an Enumerable.
|
|
73
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
|
74
|
+
# is reached.
|
|
75
|
+
# @param [String] conference_sid The SID of the conference.
|
|
76
|
+
# @param [String] friendly_name Custom label for the conference resource, up to 64
|
|
77
|
+
# characters.
|
|
78
|
+
# @param [String] status Conference status.
|
|
79
|
+
# @param [String] created_after Conferences created after the provided timestamp
|
|
80
|
+
# specified in ISO 8601 format
|
|
81
|
+
# @param [String] created_before Conferences created before the provided timestamp
|
|
82
|
+
# specified in ISO 8601 format.
|
|
83
|
+
# @param [String] mixer_region Twilio region where the conference media was mixed.
|
|
84
|
+
# @param [String] tags Tags applied by Twilio for common potential configuration,
|
|
85
|
+
# quality, or performance issues.
|
|
86
|
+
# @param [String] subaccount Account SID for the subaccount whose resources you
|
|
87
|
+
# wish to retrieve.
|
|
88
|
+
# @param [String] detected_issues Potential configuration, behavior, or
|
|
89
|
+
# performance issues detected during the conference.
|
|
90
|
+
# @param [String] end_reason Conference end reason; e.g. last participant left,
|
|
91
|
+
# modified by API, etc.
|
|
92
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
93
|
+
# guarantees to never return more than limit. Default is no limit.
|
|
94
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
95
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
96
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
97
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
98
|
+
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
99
|
+
def stream(conference_sid: :unset, friendly_name: :unset, status: :unset, created_after: :unset, created_before: :unset, mixer_region: :unset, tags: :unset, subaccount: :unset, detected_issues: :unset, end_reason: :unset, limit: nil, page_size: nil)
|
|
100
|
+
limits = @version.read_limits(limit, page_size)
|
|
101
|
+
|
|
102
|
+
page = self.page(
|
|
103
|
+
conference_sid: conference_sid,
|
|
104
|
+
friendly_name: friendly_name,
|
|
105
|
+
status: status,
|
|
106
|
+
created_after: created_after,
|
|
107
|
+
created_before: created_before,
|
|
108
|
+
mixer_region: mixer_region,
|
|
109
|
+
tags: tags,
|
|
110
|
+
subaccount: subaccount,
|
|
111
|
+
detected_issues: detected_issues,
|
|
112
|
+
end_reason: end_reason,
|
|
113
|
+
page_size: limits[:page_size],
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
##
|
|
120
|
+
# When passed a block, yields ConferenceInstance records from the API.
|
|
121
|
+
# This operation lazily loads records as efficiently as possible until the limit
|
|
122
|
+
# is reached.
|
|
123
|
+
def each
|
|
124
|
+
limits = @version.read_limits
|
|
125
|
+
|
|
126
|
+
page = self.page(page_size: limits[:page_size], )
|
|
127
|
+
|
|
128
|
+
@version.stream(page,
|
|
129
|
+
limit: limits[:limit],
|
|
130
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
##
|
|
134
|
+
# Retrieve a single page of ConferenceInstance records from the API.
|
|
135
|
+
# Request is executed immediately.
|
|
136
|
+
# @param [String] conference_sid The SID of the conference.
|
|
137
|
+
# @param [String] friendly_name Custom label for the conference resource, up to 64
|
|
138
|
+
# characters.
|
|
139
|
+
# @param [String] status Conference status.
|
|
140
|
+
# @param [String] created_after Conferences created after the provided timestamp
|
|
141
|
+
# specified in ISO 8601 format
|
|
142
|
+
# @param [String] created_before Conferences created before the provided timestamp
|
|
143
|
+
# specified in ISO 8601 format.
|
|
144
|
+
# @param [String] mixer_region Twilio region where the conference media was mixed.
|
|
145
|
+
# @param [String] tags Tags applied by Twilio for common potential configuration,
|
|
146
|
+
# quality, or performance issues.
|
|
147
|
+
# @param [String] subaccount Account SID for the subaccount whose resources you
|
|
148
|
+
# wish to retrieve.
|
|
149
|
+
# @param [String] detected_issues Potential configuration, behavior, or
|
|
150
|
+
# performance issues detected during the conference.
|
|
151
|
+
# @param [String] end_reason Conference end reason; e.g. last participant left,
|
|
152
|
+
# modified by API, etc.
|
|
153
|
+
# @param [String] page_token PageToken provided by the API
|
|
154
|
+
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
155
|
+
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
156
|
+
# @return [Page] Page of ConferenceInstance
|
|
157
|
+
def page(conference_sid: :unset, friendly_name: :unset, status: :unset, created_after: :unset, created_before: :unset, mixer_region: :unset, tags: :unset, subaccount: :unset, detected_issues: :unset, end_reason: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
158
|
+
params = Twilio::Values.of({
|
|
159
|
+
'ConferenceSid' => conference_sid,
|
|
160
|
+
'FriendlyName' => friendly_name,
|
|
161
|
+
'Status' => status,
|
|
162
|
+
'CreatedAfter' => created_after,
|
|
163
|
+
'CreatedBefore' => created_before,
|
|
164
|
+
'MixerRegion' => mixer_region,
|
|
165
|
+
'Tags' => tags,
|
|
166
|
+
'Subaccount' => subaccount,
|
|
167
|
+
'DetectedIssues' => detected_issues,
|
|
168
|
+
'EndReason' => end_reason,
|
|
169
|
+
'PageToken' => page_token,
|
|
170
|
+
'Page' => page_number,
|
|
171
|
+
'PageSize' => page_size,
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
response = @version.page('GET', @uri, params: params)
|
|
175
|
+
|
|
176
|
+
ConferencePage.new(@version, response, @solution)
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
##
|
|
180
|
+
# Retrieve a single page of ConferenceInstance records from the API.
|
|
181
|
+
# Request is executed immediately.
|
|
182
|
+
# @param [String] target_url API-generated URL for the requested results page
|
|
183
|
+
# @return [Page] Page of ConferenceInstance
|
|
184
|
+
def get_page(target_url)
|
|
185
|
+
response = @version.domain.request(
|
|
186
|
+
'GET',
|
|
187
|
+
target_url
|
|
188
|
+
)
|
|
189
|
+
ConferencePage.new(@version, response, @solution)
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
##
|
|
193
|
+
# Provide a user friendly representation
|
|
194
|
+
def to_s
|
|
195
|
+
'#<Twilio.Insights.V1.ConferenceList>'
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class ConferencePage < Page
|
|
200
|
+
##
|
|
201
|
+
# Initialize the ConferencePage
|
|
202
|
+
# @param [Version] version Version that contains the resource
|
|
203
|
+
# @param [Response] response Response from the API
|
|
204
|
+
# @param [Hash] solution Path solution for the resource
|
|
205
|
+
# @return [ConferencePage] ConferencePage
|
|
206
|
+
def initialize(version, response, solution)
|
|
207
|
+
super(version, response)
|
|
208
|
+
|
|
209
|
+
# Path Solution
|
|
210
|
+
@solution = solution
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
##
|
|
214
|
+
# Build an instance of ConferenceInstance
|
|
215
|
+
# @param [Hash] payload Payload response from the API
|
|
216
|
+
# @return [ConferenceInstance] ConferenceInstance
|
|
217
|
+
def get_instance(payload)
|
|
218
|
+
ConferenceInstance.new(@version, payload, )
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
##
|
|
222
|
+
# Provide a user friendly representation
|
|
223
|
+
def to_s
|
|
224
|
+
'<Twilio.Insights.V1.ConferencePage>'
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
class ConferenceContext < InstanceContext
|
|
229
|
+
##
|
|
230
|
+
# Initialize the ConferenceContext
|
|
231
|
+
# @param [Version] version Version that contains the resource
|
|
232
|
+
# @param [String] conference_sid The unique SID identifier of the Conference.
|
|
233
|
+
# @return [ConferenceContext] ConferenceContext
|
|
234
|
+
def initialize(version, conference_sid)
|
|
235
|
+
super(version)
|
|
236
|
+
|
|
237
|
+
# Path Solution
|
|
238
|
+
@solution = {conference_sid: conference_sid, }
|
|
239
|
+
@uri = "/Conferences/#{@solution[:conference_sid]}"
|
|
240
|
+
|
|
241
|
+
# Dependents
|
|
242
|
+
@conference_participants = nil
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
##
|
|
246
|
+
# Fetch the ConferenceInstance
|
|
247
|
+
# @return [ConferenceInstance] Fetched ConferenceInstance
|
|
248
|
+
def fetch
|
|
249
|
+
payload = @version.fetch('GET', @uri)
|
|
250
|
+
|
|
251
|
+
ConferenceInstance.new(@version, payload, conference_sid: @solution[:conference_sid], )
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
##
|
|
255
|
+
# Access the conference_participants
|
|
256
|
+
# @return [ConferenceParticipantList]
|
|
257
|
+
# @return [ConferenceParticipantContext] if participant_sid was passed.
|
|
258
|
+
def conference_participants(participant_sid=:unset)
|
|
259
|
+
raise ArgumentError, 'participant_sid cannot be nil' if participant_sid.nil?
|
|
260
|
+
|
|
261
|
+
if participant_sid != :unset
|
|
262
|
+
return ConferenceParticipantContext.new(@version, @solution[:conference_sid], participant_sid, )
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
unless @conference_participants
|
|
266
|
+
@conference_participants = ConferenceParticipantList.new(
|
|
267
|
+
@version,
|
|
268
|
+
conference_sid: @solution[:conference_sid],
|
|
269
|
+
)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
@conference_participants
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
##
|
|
276
|
+
# Provide a user friendly representation
|
|
277
|
+
def to_s
|
|
278
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
279
|
+
"#<Twilio.Insights.V1.ConferenceContext #{context}>"
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
##
|
|
283
|
+
# Provide a detailed, user friendly representation
|
|
284
|
+
def inspect
|
|
285
|
+
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
|
|
286
|
+
"#<Twilio.Insights.V1.ConferenceContext #{context}>"
|
|
287
|
+
end
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
class ConferenceInstance < InstanceResource
|
|
291
|
+
##
|
|
292
|
+
# Initialize the ConferenceInstance
|
|
293
|
+
# @param [Version] version Version that contains the resource
|
|
294
|
+
# @param [Hash] payload payload that contains response from Twilio
|
|
295
|
+
# @param [String] conference_sid The unique SID identifier of the Conference.
|
|
296
|
+
# @return [ConferenceInstance] ConferenceInstance
|
|
297
|
+
def initialize(version, payload, conference_sid: nil)
|
|
298
|
+
super(version)
|
|
299
|
+
|
|
300
|
+
# Marshaled Properties
|
|
301
|
+
@properties = {
|
|
302
|
+
'conference_sid' => payload['conference_sid'],
|
|
303
|
+
'account_sid' => payload['account_sid'],
|
|
304
|
+
'friendly_name' => payload['friendly_name'],
|
|
305
|
+
'create_time' => Twilio.deserialize_iso8601_datetime(payload['create_time']),
|
|
306
|
+
'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
|
|
307
|
+
'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
|
|
308
|
+
'duration_seconds' => payload['duration_seconds'] == nil ? payload['duration_seconds'] : payload['duration_seconds'].to_i,
|
|
309
|
+
'connect_duration_seconds' => payload['connect_duration_seconds'] == nil ? payload['connect_duration_seconds'] : payload['connect_duration_seconds'].to_i,
|
|
310
|
+
'status' => payload['status'],
|
|
311
|
+
'max_participants' => payload['max_participants'] == nil ? payload['max_participants'] : payload['max_participants'].to_i,
|
|
312
|
+
'max_concurrent_participants' => payload['max_concurrent_participants'] == nil ? payload['max_concurrent_participants'] : payload['max_concurrent_participants'].to_i,
|
|
313
|
+
'unique_participants' => payload['unique_participants'] == nil ? payload['unique_participants'] : payload['unique_participants'].to_i,
|
|
314
|
+
'end_reason' => payload['end_reason'],
|
|
315
|
+
'ended_by' => payload['ended_by'],
|
|
316
|
+
'mixer_region' => payload['mixer_region'],
|
|
317
|
+
'mixer_region_requested' => payload['mixer_region_requested'],
|
|
318
|
+
'recording_enabled' => payload['recording_enabled'],
|
|
319
|
+
'detected_issues' => payload['detected_issues'],
|
|
320
|
+
'tags' => payload['tags'],
|
|
321
|
+
'tag_info' => payload['tag_info'],
|
|
322
|
+
'processing_state' => payload['processing_state'],
|
|
323
|
+
'url' => payload['url'],
|
|
324
|
+
'links' => payload['links'],
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
# Context
|
|
328
|
+
@instance_context = nil
|
|
329
|
+
@params = {'conference_sid' => conference_sid || @properties['conference_sid'], }
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
##
|
|
333
|
+
# Generate an instance context for the instance, the context is capable of
|
|
334
|
+
# performing various actions. All instance actions are proxied to the context
|
|
335
|
+
# @return [ConferenceContext] ConferenceContext for this ConferenceInstance
|
|
336
|
+
def context
|
|
337
|
+
unless @instance_context
|
|
338
|
+
@instance_context = ConferenceContext.new(@version, @params['conference_sid'], )
|
|
339
|
+
end
|
|
340
|
+
@instance_context
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
##
|
|
344
|
+
# @return [String] Conference SID.
|
|
345
|
+
def conference_sid
|
|
346
|
+
@properties['conference_sid']
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
##
|
|
350
|
+
# @return [String] Account SID.
|
|
351
|
+
def account_sid
|
|
352
|
+
@properties['account_sid']
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
##
|
|
356
|
+
# @return [String] Custom label for the conference.
|
|
357
|
+
def friendly_name
|
|
358
|
+
@properties['friendly_name']
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
##
|
|
362
|
+
# @return [Time] Conference creation date/time.
|
|
363
|
+
def create_time
|
|
364
|
+
@properties['create_time']
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
##
|
|
368
|
+
# @return [Time] Timestamp in ISO 8601 format when the conference started.
|
|
369
|
+
def start_time
|
|
370
|
+
@properties['start_time']
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
##
|
|
374
|
+
# @return [Time] Conference end date/time.
|
|
375
|
+
def end_time
|
|
376
|
+
@properties['end_time']
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
##
|
|
380
|
+
# @return [String] Conference duration in seconds.
|
|
381
|
+
def duration_seconds
|
|
382
|
+
@properties['duration_seconds']
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
##
|
|
386
|
+
# @return [String] Duration of the conference in seconds.
|
|
387
|
+
def connect_duration_seconds
|
|
388
|
+
@properties['connect_duration_seconds']
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
##
|
|
392
|
+
# @return [conference.ConferenceStatus] Status of conference
|
|
393
|
+
def status
|
|
394
|
+
@properties['status']
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
##
|
|
398
|
+
# @return [String] Max participants specified in config.
|
|
399
|
+
def max_participants
|
|
400
|
+
@properties['max_participants']
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
##
|
|
404
|
+
# @return [String] Actual maximum concurrent participants.
|
|
405
|
+
def max_concurrent_participants
|
|
406
|
+
@properties['max_concurrent_participants']
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
##
|
|
410
|
+
# @return [String] Unique conference participants.
|
|
411
|
+
def unique_participants
|
|
412
|
+
@properties['unique_participants']
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
##
|
|
416
|
+
# @return [conference.ConferenceEndReason] Conference end reason.
|
|
417
|
+
def end_reason
|
|
418
|
+
@properties['end_reason']
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
##
|
|
422
|
+
# @return [String] Call SID that ended the conference.
|
|
423
|
+
def ended_by
|
|
424
|
+
@properties['ended_by']
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
##
|
|
428
|
+
# @return [conference.Region] Region where the conference was mixed.
|
|
429
|
+
def mixer_region
|
|
430
|
+
@properties['mixer_region']
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
##
|
|
434
|
+
# @return [conference.Region] Configuration-requested conference mixer region.
|
|
435
|
+
def mixer_region_requested
|
|
436
|
+
@properties['mixer_region_requested']
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
##
|
|
440
|
+
# @return [Boolean] Boolean. Indicates whether recording was enabled.
|
|
441
|
+
def recording_enabled
|
|
442
|
+
@properties['recording_enabled']
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
##
|
|
446
|
+
# @return [Hash] Potential issues detected during the conference.
|
|
447
|
+
def detected_issues
|
|
448
|
+
@properties['detected_issues']
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
##
|
|
452
|
+
# @return [Array[conference.Tag]] Tags for detected conference conditions and participant behaviors.
|
|
453
|
+
def tags
|
|
454
|
+
@properties['tags']
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
##
|
|
458
|
+
# @return [Hash] Object. Contains details about conference tags.
|
|
459
|
+
def tag_info
|
|
460
|
+
@properties['tag_info']
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
##
|
|
464
|
+
# @return [conference.ProcessingState] Processing state for the Conference Summary resource.
|
|
465
|
+
def processing_state
|
|
466
|
+
@properties['processing_state']
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
##
|
|
470
|
+
# @return [String] The URL of this resource.
|
|
471
|
+
def url
|
|
472
|
+
@properties['url']
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
##
|
|
476
|
+
# @return [String] Nested resource URLs.
|
|
477
|
+
def links
|
|
478
|
+
@properties['links']
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
##
|
|
482
|
+
# Fetch the ConferenceInstance
|
|
483
|
+
# @return [ConferenceInstance] Fetched ConferenceInstance
|
|
484
|
+
def fetch
|
|
485
|
+
context.fetch
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
##
|
|
489
|
+
# Access the conference_participants
|
|
490
|
+
# @return [conference_participants] conference_participants
|
|
491
|
+
def conference_participants
|
|
492
|
+
context.conference_participants
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
##
|
|
496
|
+
# Provide a user friendly representation
|
|
497
|
+
def to_s
|
|
498
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
|
499
|
+
"<Twilio.Insights.V1.ConferenceInstance #{values}>"
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
##
|
|
503
|
+
# Provide a detailed, user friendly representation
|
|
504
|
+
def inspect
|
|
505
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
|
506
|
+
"<Twilio.Insights.V1.ConferenceInstance #{values}>"
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
end
|
|
@@ -17,7 +17,7 @@ module Twilio
|
|
|
17
17
|
##
|
|
18
18
|
# Initialize the ParticipantList
|
|
19
19
|
# @param [Version] version Version that contains the resource
|
|
20
|
-
# @param [String] room_sid
|
|
20
|
+
# @param [String] room_sid Unique identifier for the room.
|
|
21
21
|
# @return [ParticipantList] ParticipantList
|
|
22
22
|
def initialize(version, room_sid: nil)
|
|
23
23
|
super(version)
|
|
@@ -151,8 +151,8 @@ module Twilio
|
|
|
151
151
|
##
|
|
152
152
|
# Initialize the ParticipantContext
|
|
153
153
|
# @param [Version] version Version that contains the resource
|
|
154
|
-
# @param [String] room_sid The
|
|
155
|
-
# @param [String] participant_sid The
|
|
154
|
+
# @param [String] room_sid The SID of the Room resource.
|
|
155
|
+
# @param [String] participant_sid The SID of the Participant resource.
|
|
156
156
|
# @return [ParticipantContext] ParticipantContext
|
|
157
157
|
def initialize(version, room_sid, participant_sid)
|
|
158
158
|
super(version)
|
|
@@ -198,8 +198,8 @@ module Twilio
|
|
|
198
198
|
# Initialize the ParticipantInstance
|
|
199
199
|
# @param [Version] version Version that contains the resource
|
|
200
200
|
# @param [Hash] payload payload that contains response from Twilio
|
|
201
|
-
# @param [String] room_sid
|
|
202
|
-
# @param [String] participant_sid The
|
|
201
|
+
# @param [String] room_sid Unique identifier for the room.
|
|
202
|
+
# @param [String] participant_sid The SID of the Participant resource.
|
|
203
203
|
# @return [ParticipantInstance] ParticipantInstance
|
|
204
204
|
def initialize(version, payload, room_sid: nil, participant_sid: nil)
|
|
205
205
|
super(version)
|
|
@@ -249,103 +249,103 @@ module Twilio
|
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
##
|
|
252
|
-
# @return [String]
|
|
252
|
+
# @return [String] Unique identifier for the participant.
|
|
253
253
|
def participant_sid
|
|
254
254
|
@properties['participant_sid']
|
|
255
255
|
end
|
|
256
256
|
|
|
257
257
|
##
|
|
258
|
-
# @return [String] The
|
|
258
|
+
# @return [String] The application-defined string that uniquely identifies the participant within a Room.
|
|
259
259
|
def participant_identity
|
|
260
260
|
@properties['participant_identity']
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
##
|
|
264
|
-
# @return [Time]
|
|
264
|
+
# @return [Time] When the participant joined the room.
|
|
265
265
|
def join_time
|
|
266
266
|
@properties['join_time']
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
##
|
|
270
|
-
# @return [Time]
|
|
270
|
+
# @return [Time] When the participant left the room
|
|
271
271
|
def leave_time
|
|
272
272
|
@properties['leave_time']
|
|
273
273
|
end
|
|
274
274
|
|
|
275
275
|
##
|
|
276
|
-
# @return [String]
|
|
276
|
+
# @return [String] Amount of time in seconds the participant was in the room.
|
|
277
277
|
def duration_sec
|
|
278
278
|
@properties['duration_sec']
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
##
|
|
282
|
-
# @return [String]
|
|
282
|
+
# @return [String] Account SID associated with the room.
|
|
283
283
|
def account_sid
|
|
284
284
|
@properties['account_sid']
|
|
285
285
|
end
|
|
286
286
|
|
|
287
287
|
##
|
|
288
|
-
# @return [String]
|
|
288
|
+
# @return [String] Unique identifier for the room.
|
|
289
289
|
def room_sid
|
|
290
290
|
@properties['room_sid']
|
|
291
291
|
end
|
|
292
292
|
|
|
293
293
|
##
|
|
294
|
-
# @return [participant.RoomStatus]
|
|
294
|
+
# @return [participant.RoomStatus] Status of the room.
|
|
295
295
|
def status
|
|
296
296
|
@properties['status']
|
|
297
297
|
end
|
|
298
298
|
|
|
299
299
|
##
|
|
300
|
-
# @return [Array[participant.Codec]]
|
|
300
|
+
# @return [Array[participant.Codec]] Codecs detected from the participant.
|
|
301
301
|
def codecs
|
|
302
302
|
@properties['codecs']
|
|
303
303
|
end
|
|
304
304
|
|
|
305
305
|
##
|
|
306
|
-
# @return [String]
|
|
306
|
+
# @return [String] Reason the participant left the room.
|
|
307
307
|
def end_reason
|
|
308
308
|
@properties['end_reason']
|
|
309
309
|
end
|
|
310
310
|
|
|
311
311
|
##
|
|
312
|
-
# @return [String]
|
|
312
|
+
# @return [String] Errors encountered by the participant.
|
|
313
313
|
def error_code
|
|
314
314
|
@properties['error_code']
|
|
315
315
|
end
|
|
316
316
|
|
|
317
317
|
##
|
|
318
|
-
# @return [String]
|
|
318
|
+
# @return [String] Twilio error code dictionary link.
|
|
319
319
|
def error_code_url
|
|
320
320
|
@properties['error_code_url']
|
|
321
321
|
end
|
|
322
322
|
|
|
323
323
|
##
|
|
324
|
-
# @return [participant.TwilioRealm]
|
|
324
|
+
# @return [participant.TwilioRealm] Twilio media region the participant connected to.
|
|
325
325
|
def media_region
|
|
326
326
|
@properties['media_region']
|
|
327
327
|
end
|
|
328
328
|
|
|
329
329
|
##
|
|
330
|
-
# @return [Hash]
|
|
330
|
+
# @return [Hash] Object containing information about the participant's data from the room.
|
|
331
331
|
def properties
|
|
332
332
|
@properties['properties']
|
|
333
333
|
end
|
|
334
334
|
|
|
335
335
|
##
|
|
336
|
-
# @return [participant.EdgeLocation]
|
|
336
|
+
# @return [participant.EdgeLocation] Name of the edge location the participant connected to.
|
|
337
337
|
def edge_location
|
|
338
338
|
@properties['edge_location']
|
|
339
339
|
end
|
|
340
340
|
|
|
341
341
|
##
|
|
342
|
-
# @return [Hash]
|
|
342
|
+
# @return [Hash] Object containing information about the SDK name and version.
|
|
343
343
|
def publisher_info
|
|
344
344
|
@properties['publisher_info']
|
|
345
345
|
end
|
|
346
346
|
|
|
347
347
|
##
|
|
348
|
-
# @return [String]
|
|
348
|
+
# @return [String] URL of the participant resource.
|
|
349
349
|
def url
|
|
350
350
|
@properties['url']
|
|
351
351
|
end
|