twilio-ruby 5.6.0 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +20 -0
- data/LICENSE.md +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +5 -5
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +11 -11
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account.rb +51 -51
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +9 -9
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +17 -17
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +10 -3
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -10
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +12 -12
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +7 -7
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +14 -14
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +25 -12
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +7 -7
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +14 -14
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +9 -9
- data/lib/twilio-ruby/rest/chat/v1/service.rb +16 -16
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -13
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -4
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -5
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +10 -10
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +9 -9
- data/lib/twilio-ruby/rest/chat/v2/service.rb +24 -20
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +12 -12
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -4
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +4 -4
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +2 -2
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +16 -13
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +7 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +9 -9
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +16 -16
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -13
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +10 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +2 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +9 -9
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +24 -20
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +12 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +2 -2
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +6 -6
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +15 -15
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +9 -9
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +9 -9
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +9 -9
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -6
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -6
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +9 -9
- data/lib/twilio-ruby/rest/notify/v1/service.rb +15 -15
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +7 -7
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -2
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +3 -3
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +9 -9
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +2 -2
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +4 -4
- data/lib/twilio-ruby/rest/preview/acc_security/service.rb +14 -14
- data/lib/twilio-ruby/rest/preview/acc_security/service/verification.rb +3 -3
- data/lib/twilio-ruby/rest/preview/acc_security/service/verification_check.rb +3 -3
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +6 -6
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +3 -3
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +7 -7
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +19 -19
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +11 -11
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +12 -12
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +9 -9
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +12 -12
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +41 -9
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +400 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +56 -13
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +9 -9
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +4 -4
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +12 -12
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +6 -6
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +16 -16
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +9 -9
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +12 -12
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +2 -2
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +2 -2
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +3 -3
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +9 -9
- data/lib/twilio-ruby/rest/preview/studio/flow.rb +9 -9
- data/lib/twilio-ruby/rest/preview/studio/flow/engagement.rb +11 -11
- data/lib/twilio-ruby/rest/preview/studio/flow/engagement/step.rb +3 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +15 -15
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +13 -13
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +5 -5
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +11 -11
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +6 -6
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +5 -5
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +11 -11
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +7 -7
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +5 -5
- data/lib/twilio-ruby/rest/preview/understand/service.rb +17 -17
- data/lib/twilio-ruby/rest/preview/understand/service/field_type.rb +13 -13
- data/lib/twilio-ruby/rest/preview/understand/service/field_type/field_value.rb +4 -4
- data/lib/twilio-ruby/rest/preview/understand/service/intent.rb +16 -16
- data/lib/twilio-ruby/rest/preview/understand/service/intent/field.rb +4 -4
- data/lib/twilio-ruby/rest/preview/understand/service/intent/sample.rb +6 -6
- data/lib/twilio-ruby/rest/preview/understand/service/model_build.rb +12 -12
- data/lib/twilio-ruby/rest/preview/understand/service/query.rb +10 -10
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +7 -7
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +11 -11
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +8 -8
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +7 -7
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +4 -4
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +7 -7
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +4 -4
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +7 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +6 -6
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +7 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +5 -5
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +15 -15
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +9 -9
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +11 -11
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +3 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +9 -9
- data/lib/twilio-ruby/rest/sync/v1/service.rb +17 -17
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +12 -12
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +5 -5
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +14 -14
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +6 -6
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +5 -5
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +14 -14
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +7 -7
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +5 -5
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +12 -12
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +26 -26
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +10 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +16 -16
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +5 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +6 -6
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +7 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +7 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +5 -5
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +17 -17
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +9 -9
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +8 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +9 -9
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +9 -9
- data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/room.rb +14 -14
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +10 -10
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +8 -8
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +11 -11
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +9 -9
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -3
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/accounts/v1/credential/aws_spec.rb +1 -1
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +1 -1
- data/spec/integration/api/v2010/account/application_spec.rb +1 -1
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +2 -2
- data/spec/integration/api/v2010/account/call_spec.rb +3 -3
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +4 -4
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +1 -1
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +3 -3
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +3 -3
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +3 -3
- data/spec/integration/api/v2010/account/message_spec.rb +4 -4
- data/spec/integration/api/v2010/account/queue/member_spec.rb +1 -1
- data/spec/integration/api/v2010/account/queue_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +2 -2
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +1 -1
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +2 -2
- data/spec/integration/api/v2010/account/validation_request_spec.rb +3 -3
- data/spec/integration/chat/v1/credential_spec.rb +1 -1
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +1 -1
- data/spec/integration/chat/v1/service/channel/member_spec.rb +1 -1
- data/spec/integration/chat/v1/service/channel/message_spec.rb +1 -1
- data/spec/integration/chat/v1/service/role_spec.rb +1 -1
- data/spec/integration/chat/v1/service/user_spec.rb +1 -1
- data/spec/integration/chat/v1/service_spec.rb +1 -1
- data/spec/integration/chat/v2/credential_spec.rb +1 -1
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +1 -1
- data/spec/integration/chat/v2/service/channel/member_spec.rb +1 -1
- data/spec/integration/chat/v2/service/role_spec.rb +1 -1
- data/spec/integration/chat/v2/service/user_spec.rb +1 -1
- data/spec/integration/chat/v2/service_spec.rb +2 -1
- data/spec/integration/fax/v1/fax_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/credential_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/credential_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +1 -1
- data/spec/integration/ip_messaging/v2/service_spec.rb +2 -1
- data/spec/integration/lookups/v1/phone_number_spec.rb +3 -3
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +1 -1
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +1 -1
- data/spec/integration/messaging/v1/service/short_code_spec.rb +1 -1
- data/spec/integration/messaging/v1/service_spec.rb +1 -1
- data/spec/integration/notify/v1/credential_spec.rb +1 -1
- data/spec/integration/notify/v1/service/binding_spec.rb +1 -1
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +1 -1
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +1 -1
- data/spec/integration/notify/v1/service/user_spec.rb +1 -1
- data/spec/integration/preview/acc_security/service/verification_check_spec.rb +1 -1
- data/spec/integration/preview/acc_security/service/verification_spec.rb +1 -1
- data/spec/integration/preview/acc_security/service_spec.rb +1 -1
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +1 -1
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +109 -0
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +12 -0
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +56 -17
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +1 -1
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +1 -1
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +1 -1
- data/spec/integration/preview/proxy/service/short_code_spec.rb +1 -1
- data/spec/integration/preview/studio/flow/engagement_spec.rb +3 -3
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +1 -1
- data/spec/integration/preview/sync/service/document_spec.rb +1 -1
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +2 -2
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +1 -1
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +2 -2
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +1 -1
- data/spec/integration/preview/understand/service/field_type/field_value_spec.rb +1 -1
- data/spec/integration/preview/understand/service/field_type_spec.rb +1 -1
- data/spec/integration/preview/understand/service/intent/field_spec.rb +1 -1
- data/spec/integration/preview/understand/service/intent/sample_spec.rb +1 -1
- data/spec/integration/preview/understand/service/intent_spec.rb +1 -1
- data/spec/integration/preview/understand/service/query_spec.rb +1 -1
- data/spec/integration/preview/wireless/command_spec.rb +1 -1
- data/spec/integration/pricing/v1/voice/number_spec.rb +3 -3
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +1 -1
- data/spec/integration/proxy/v1/service/short_code_spec.rb +1 -1
- data/spec/integration/proxy/v1/service_spec.rb +1 -1
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +1 -1
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +1 -1
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +1 -1
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +1 -1
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +1 -1
- data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +0 -15
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace_spec.rb +1 -1
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +1 -1
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +1 -1
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +1 -1
- data/spec/integration/video/v1/room_spec.rb +1 -1
- data/spec/integration/wireless/v1/command_spec.rb +1 -1
- metadata +6 -3
|
@@ -52,7 +52,7 @@ module Twilio
|
|
|
52
52
|
def stream(limit: nil, page_size: nil)
|
|
53
53
|
limits = @version.read_limits(limit, page_size)
|
|
54
54
|
|
|
55
|
-
page = self.page(page_size: limits[:page_size])
|
|
55
|
+
page = self.page(page_size: limits[:page_size], )
|
|
56
56
|
|
|
57
57
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
58
58
|
end
|
|
@@ -64,7 +64,7 @@ module Twilio
|
|
|
64
64
|
def each
|
|
65
65
|
limits = @version.read_limits
|
|
66
66
|
|
|
67
|
-
page = self.page(page_size: limits[:page_size])
|
|
67
|
+
page = self.page(page_size: limits[:page_size], )
|
|
68
68
|
|
|
69
69
|
@version.stream(page,
|
|
70
70
|
limit: limits[:limit],
|
|
@@ -113,7 +113,7 @@ module Twilio
|
|
|
113
113
|
# The default is 100. The maximum is 1000.
|
|
114
114
|
# @return [QueueInstance] Newly created QueueInstance
|
|
115
115
|
def create(friendly_name: nil, max_size: :unset)
|
|
116
|
-
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'MaxSize' => max_size})
|
|
116
|
+
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'MaxSize' => max_size, })
|
|
117
117
|
|
|
118
118
|
payload = @version.create(
|
|
119
119
|
'POST',
|
|
@@ -121,7 +121,7 @@ module Twilio
|
|
|
121
121
|
data: data
|
|
122
122
|
)
|
|
123
123
|
|
|
124
|
-
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid])
|
|
124
|
+
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], )
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
##
|
|
@@ -150,7 +150,7 @@ module Twilio
|
|
|
150
150
|
# @param [Hash] payload Payload response from the API
|
|
151
151
|
# @return [QueueInstance] QueueInstance
|
|
152
152
|
def get_instance(payload)
|
|
153
|
-
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid])
|
|
153
|
+
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], )
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
##
|
|
@@ -171,7 +171,7 @@ module Twilio
|
|
|
171
171
|
super(version)
|
|
172
172
|
|
|
173
173
|
# Path Solution
|
|
174
|
-
@solution = {account_sid: account_sid, sid: sid}
|
|
174
|
+
@solution = {account_sid: account_sid, sid: sid, }
|
|
175
175
|
@uri = "/Accounts/#{@solution[:account_sid]}/Queues/#{@solution[:sid]}.json"
|
|
176
176
|
|
|
177
177
|
# Dependents
|
|
@@ -190,7 +190,7 @@ module Twilio
|
|
|
190
190
|
params,
|
|
191
191
|
)
|
|
192
192
|
|
|
193
|
-
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid])
|
|
193
|
+
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
##
|
|
@@ -200,7 +200,7 @@ module Twilio
|
|
|
200
200
|
# at a time
|
|
201
201
|
# @return [QueueInstance] Updated QueueInstance
|
|
202
202
|
def update(friendly_name: :unset, max_size: :unset)
|
|
203
|
-
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'MaxSize' => max_size})
|
|
203
|
+
data = Twilio::Values.of({'FriendlyName' => friendly_name, 'MaxSize' => max_size, })
|
|
204
204
|
|
|
205
205
|
payload = @version.update(
|
|
206
206
|
'POST',
|
|
@@ -208,7 +208,7 @@ module Twilio
|
|
|
208
208
|
data: data,
|
|
209
209
|
)
|
|
210
210
|
|
|
211
|
-
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid])
|
|
211
|
+
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
|
212
212
|
end
|
|
213
213
|
|
|
214
214
|
##
|
|
@@ -226,11 +226,11 @@ module Twilio
|
|
|
226
226
|
raise ArgumentError, 'call_sid cannot be nil' if call_sid.nil?
|
|
227
227
|
|
|
228
228
|
if call_sid != :unset
|
|
229
|
-
return MemberContext.new(@version, @solution[:account_sid], @solution[:sid], call_sid)
|
|
229
|
+
return MemberContext.new(@version, @solution[:account_sid], @solution[:sid], call_sid, )
|
|
230
230
|
end
|
|
231
231
|
|
|
232
232
|
unless @members
|
|
233
|
-
@members = MemberList.new(@version, account_sid: @solution[:account_sid], queue_sid: @solution[:sid])
|
|
233
|
+
@members = MemberList.new(@version, account_sid: @solution[:account_sid], queue_sid: @solution[:sid], )
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
@members
|
|
@@ -270,7 +270,7 @@ module Twilio
|
|
|
270
270
|
|
|
271
271
|
# Context
|
|
272
272
|
@instance_context = nil
|
|
273
|
-
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid']}
|
|
273
|
+
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid'], }
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
##
|
|
@@ -279,7 +279,7 @@ module Twilio
|
|
|
279
279
|
# @return [QueueContext] QueueContext for this QueueInstance
|
|
280
280
|
def context
|
|
281
281
|
unless @instance_context
|
|
282
|
-
@instance_context = QueueContext.new(@version, @params['account_sid'], @params['sid'])
|
|
282
|
+
@instance_context = QueueContext.new(@version, @params['account_sid'], @params['sid'], )
|
|
283
283
|
end
|
|
284
284
|
@instance_context
|
|
285
285
|
end
|
|
@@ -352,7 +352,7 @@ module Twilio
|
|
|
352
352
|
# at a time
|
|
353
353
|
# @return [QueueInstance] Updated QueueInstance
|
|
354
354
|
def update(friendly_name: :unset, max_size: :unset)
|
|
355
|
-
context.update(friendly_name: friendly_name, max_size: max_size)
|
|
355
|
+
context.update(friendly_name: friendly_name, max_size: max_size, )
|
|
356
356
|
end
|
|
357
357
|
|
|
358
358
|
##
|
|
@@ -55,7 +55,7 @@ module Twilio
|
|
|
55
55
|
def stream(limit: nil, page_size: nil)
|
|
56
56
|
limits = @version.read_limits(limit, page_size)
|
|
57
57
|
|
|
58
|
-
page = self.page(page_size: limits[:page_size])
|
|
58
|
+
page = self.page(page_size: limits[:page_size], )
|
|
59
59
|
|
|
60
60
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
61
61
|
end
|
|
@@ -67,7 +67,7 @@ module Twilio
|
|
|
67
67
|
def each
|
|
68
68
|
limits = @version.read_limits
|
|
69
69
|
|
|
70
|
-
page = self.page(page_size: limits[:page_size])
|
|
70
|
+
page = self.page(page_size: limits[:page_size], )
|
|
71
71
|
|
|
72
72
|
@version.stream(page,
|
|
73
73
|
limit: limits[:limit],
|
|
@@ -161,7 +161,7 @@ module Twilio
|
|
|
161
161
|
super(version)
|
|
162
162
|
|
|
163
163
|
# Path Solution
|
|
164
|
-
@solution = {account_sid: account_sid, queue_sid: queue_sid, call_sid: call_sid}
|
|
164
|
+
@solution = {account_sid: account_sid, queue_sid: queue_sid, call_sid: call_sid, }
|
|
165
165
|
@uri = "/Accounts/#{@solution[:account_sid]}/Queues/#{@solution[:queue_sid]}/Members/#{@solution[:call_sid]}.json"
|
|
166
166
|
end
|
|
167
167
|
|
|
@@ -192,7 +192,7 @@ module Twilio
|
|
|
192
192
|
# @param [String] method The method
|
|
193
193
|
# @return [MemberInstance] Updated MemberInstance
|
|
194
194
|
def update(url: nil, method: nil)
|
|
195
|
-
data = Twilio::Values.of({'Url' => url, 'Method' => method})
|
|
195
|
+
data = Twilio::Values.of({'Url' => url, 'Method' => method, })
|
|
196
196
|
|
|
197
197
|
payload = @version.update(
|
|
198
198
|
'POST',
|
|
@@ -307,7 +307,7 @@ module Twilio
|
|
|
307
307
|
# @param [String] method The method
|
|
308
308
|
# @return [MemberInstance] Updated MemberInstance
|
|
309
309
|
def update(url: nil, method: nil)
|
|
310
|
-
context.update(url: url, method: method)
|
|
310
|
+
context.update(url: url, method: method, )
|
|
311
311
|
end
|
|
312
312
|
|
|
313
313
|
##
|
|
@@ -33,6 +33,7 @@ module Twilio
|
|
|
33
33
|
# @param [Time] date_created_after Filter by date created
|
|
34
34
|
# @param [String] call_sid Only show recordings made during the call given by the
|
|
35
35
|
# indicated sid
|
|
36
|
+
# @param [String] conference_sid The conference_sid
|
|
36
37
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
37
38
|
# guarantees to never return more than limit. Default is no limit
|
|
38
39
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -40,12 +41,13 @@ module Twilio
|
|
|
40
41
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
41
42
|
# efficient page size, i.e. min(limit, 1000)
|
|
42
43
|
# @return [Array] Array of up to limit results
|
|
43
|
-
def list(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, limit: nil, page_size: nil)
|
|
44
|
+
def list(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, conference_sid: :unset, limit: nil, page_size: nil)
|
|
44
45
|
self.stream(
|
|
45
46
|
date_created_before: date_created_before,
|
|
46
47
|
date_created: date_created,
|
|
47
48
|
date_created_after: date_created_after,
|
|
48
49
|
call_sid: call_sid,
|
|
50
|
+
conference_sid: conference_sid,
|
|
49
51
|
limit: limit,
|
|
50
52
|
page_size: page_size
|
|
51
53
|
).entries
|
|
@@ -60,6 +62,7 @@ module Twilio
|
|
|
60
62
|
# @param [Time] date_created_after Filter by date created
|
|
61
63
|
# @param [String] call_sid Only show recordings made during the call given by the
|
|
62
64
|
# indicated sid
|
|
65
|
+
# @param [String] conference_sid The conference_sid
|
|
63
66
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
64
67
|
# guarantees to never return more than limit. Default is no limit.
|
|
65
68
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -67,7 +70,7 @@ module Twilio
|
|
|
67
70
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
68
71
|
# efficient page size, i.e. min(limit, 1000)
|
|
69
72
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
70
|
-
def stream(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, limit: nil, page_size: nil)
|
|
73
|
+
def stream(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, conference_sid: :unset, limit: nil, page_size: nil)
|
|
71
74
|
limits = @version.read_limits(limit, page_size)
|
|
72
75
|
|
|
73
76
|
page = self.page(
|
|
@@ -75,6 +78,7 @@ module Twilio
|
|
|
75
78
|
date_created: date_created,
|
|
76
79
|
date_created_after: date_created_after,
|
|
77
80
|
call_sid: call_sid,
|
|
81
|
+
conference_sid: conference_sid,
|
|
78
82
|
page_size: limits[:page_size],
|
|
79
83
|
)
|
|
80
84
|
|
|
@@ -88,7 +92,7 @@ module Twilio
|
|
|
88
92
|
def each
|
|
89
93
|
limits = @version.read_limits
|
|
90
94
|
|
|
91
|
-
page = self.page(page_size: limits[:page_size])
|
|
95
|
+
page = self.page(page_size: limits[:page_size], )
|
|
92
96
|
|
|
93
97
|
@version.stream(page,
|
|
94
98
|
limit: limits[:limit],
|
|
@@ -103,16 +107,18 @@ module Twilio
|
|
|
103
107
|
# @param [Time] date_created_after Filter by date created
|
|
104
108
|
# @param [String] call_sid Only show recordings made during the call given by the
|
|
105
109
|
# indicated sid
|
|
110
|
+
# @param [String] conference_sid The conference_sid
|
|
106
111
|
# @param [String] page_token PageToken provided by the API
|
|
107
112
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
108
113
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
109
114
|
# @return [Page] Page of RecordingInstance
|
|
110
|
-
def page(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
|
+
def page(date_created_before: :unset, date_created: :unset, date_created_after: :unset, call_sid: :unset, conference_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
111
116
|
params = Twilio::Values.of({
|
|
112
117
|
'DateCreated<' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
113
118
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
|
114
119
|
'DateCreated>' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
115
120
|
'CallSid' => call_sid,
|
|
121
|
+
'ConferenceSid' => conference_sid,
|
|
116
122
|
'PageToken' => page_token,
|
|
117
123
|
'Page' => page_number,
|
|
118
124
|
'PageSize' => page_size,
|
|
@@ -164,7 +170,7 @@ module Twilio
|
|
|
164
170
|
# @param [Hash] payload Payload response from the API
|
|
165
171
|
# @return [RecordingInstance] RecordingInstance
|
|
166
172
|
def get_instance(payload)
|
|
167
|
-
RecordingInstance.new(@version, payload, account_sid: @solution[:account_sid])
|
|
173
|
+
RecordingInstance.new(@version, payload, account_sid: @solution[:account_sid], )
|
|
168
174
|
end
|
|
169
175
|
|
|
170
176
|
##
|
|
@@ -185,7 +191,7 @@ module Twilio
|
|
|
185
191
|
super(version)
|
|
186
192
|
|
|
187
193
|
# Path Solution
|
|
188
|
-
@solution = {account_sid: account_sid, sid: sid}
|
|
194
|
+
@solution = {account_sid: account_sid, sid: sid, }
|
|
189
195
|
@uri = "/Accounts/#{@solution[:account_sid]}/Recordings/#{@solution[:sid]}.json"
|
|
190
196
|
|
|
191
197
|
# Dependents
|
|
@@ -205,7 +211,7 @@ module Twilio
|
|
|
205
211
|
params,
|
|
206
212
|
)
|
|
207
213
|
|
|
208
|
-
RecordingInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid])
|
|
214
|
+
RecordingInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
|
209
215
|
end
|
|
210
216
|
|
|
211
217
|
##
|
|
@@ -223,7 +229,7 @@ module Twilio
|
|
|
223
229
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
224
230
|
|
|
225
231
|
if sid != :unset
|
|
226
|
-
return TranscriptionContext.new(@version, @solution[:account_sid], @solution[:sid], sid)
|
|
232
|
+
return TranscriptionContext.new(@version, @solution[:account_sid], @solution[:sid], sid, )
|
|
227
233
|
end
|
|
228
234
|
|
|
229
235
|
unless @transcriptions
|
|
@@ -245,7 +251,7 @@ module Twilio
|
|
|
245
251
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
246
252
|
|
|
247
253
|
if sid != :unset
|
|
248
|
-
return AddOnResultContext.new(@version, @solution[:account_sid], @solution[:sid], sid)
|
|
254
|
+
return AddOnResultContext.new(@version, @solution[:account_sid], @solution[:sid], sid, )
|
|
249
255
|
end
|
|
250
256
|
|
|
251
257
|
unless @add_on_results
|
|
@@ -284,6 +290,7 @@ module Twilio
|
|
|
284
290
|
'account_sid' => payload['account_sid'],
|
|
285
291
|
'api_version' => payload['api_version'],
|
|
286
292
|
'call_sid' => payload['call_sid'],
|
|
293
|
+
'conference_sid' => payload['conference_sid'],
|
|
287
294
|
'date_created' => Twilio.deserialize_rfc2822(payload['date_created']),
|
|
288
295
|
'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
|
|
289
296
|
'duration' => payload['duration'],
|
|
@@ -301,7 +308,7 @@ module Twilio
|
|
|
301
308
|
|
|
302
309
|
# Context
|
|
303
310
|
@instance_context = nil
|
|
304
|
-
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid']}
|
|
311
|
+
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid'], }
|
|
305
312
|
end
|
|
306
313
|
|
|
307
314
|
##
|
|
@@ -310,7 +317,7 @@ module Twilio
|
|
|
310
317
|
# @return [RecordingContext] RecordingContext for this RecordingInstance
|
|
311
318
|
def context
|
|
312
319
|
unless @instance_context
|
|
313
|
-
@instance_context = RecordingContext.new(@version, @params['account_sid'], @params['sid'])
|
|
320
|
+
@instance_context = RecordingContext.new(@version, @params['account_sid'], @params['sid'], )
|
|
314
321
|
end
|
|
315
322
|
@instance_context
|
|
316
323
|
end
|
|
@@ -333,6 +340,12 @@ module Twilio
|
|
|
333
340
|
@properties['call_sid']
|
|
334
341
|
end
|
|
335
342
|
|
|
343
|
+
##
|
|
344
|
+
# @return [String] The unique id for the conference associated with the recording, if a conference recording.
|
|
345
|
+
def conference_sid
|
|
346
|
+
@properties['conference_sid']
|
|
347
|
+
end
|
|
348
|
+
|
|
336
349
|
##
|
|
337
350
|
# @return [Time] The date this resource was created
|
|
338
351
|
def date_created
|
|
@@ -370,7 +383,7 @@ module Twilio
|
|
|
370
383
|
end
|
|
371
384
|
|
|
372
385
|
##
|
|
373
|
-
# @return [
|
|
386
|
+
# @return [recording.Status] The status of the recording.
|
|
374
387
|
def status
|
|
375
388
|
@properties['status']
|
|
376
389
|
end
|
|
@@ -56,7 +56,7 @@ module Twilio
|
|
|
56
56
|
def stream(limit: nil, page_size: nil)
|
|
57
57
|
limits = @version.read_limits(limit, page_size)
|
|
58
58
|
|
|
59
|
-
page = self.page(page_size: limits[:page_size])
|
|
59
|
+
page = self.page(page_size: limits[:page_size], )
|
|
60
60
|
|
|
61
61
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
62
62
|
end
|
|
@@ -68,7 +68,7 @@ module Twilio
|
|
|
68
68
|
def each
|
|
69
69
|
limits = @version.read_limits
|
|
70
70
|
|
|
71
|
-
page = self.page(page_size: limits[:page_size])
|
|
71
|
+
page = self.page(page_size: limits[:page_size], )
|
|
72
72
|
|
|
73
73
|
@version.stream(page,
|
|
74
74
|
limit: limits[:limit],
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
super(version)
|
|
163
163
|
|
|
164
164
|
# Path Solution
|
|
165
|
-
@solution = {account_sid: account_sid, reference_sid: reference_sid, sid: sid}
|
|
165
|
+
@solution = {account_sid: account_sid, reference_sid: reference_sid, sid: sid, }
|
|
166
166
|
@uri = "/Accounts/#{@solution[:account_sid]}/Recordings/#{@solution[:reference_sid]}/AddOnResults/#{@solution[:sid]}.json"
|
|
167
167
|
|
|
168
168
|
# Dependents
|
|
@@ -63,7 +63,7 @@ module Twilio
|
|
|
63
63
|
def stream(limit: nil, page_size: nil)
|
|
64
64
|
limits = @version.read_limits(limit, page_size)
|
|
65
65
|
|
|
66
|
-
page = self.page(page_size: limits[:page_size])
|
|
66
|
+
page = self.page(page_size: limits[:page_size], )
|
|
67
67
|
|
|
68
68
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
69
69
|
end
|
|
@@ -75,7 +75,7 @@ module Twilio
|
|
|
75
75
|
def each
|
|
76
76
|
limits = @version.read_limits
|
|
77
77
|
|
|
78
|
-
page = self.page(page_size: limits[:page_size])
|
|
78
|
+
page = self.page(page_size: limits[:page_size], )
|
|
79
79
|
|
|
80
80
|
@version.stream(page,
|
|
81
81
|
limit: limits[:limit],
|
|
@@ -54,7 +54,7 @@ module Twilio
|
|
|
54
54
|
def stream(limit: nil, page_size: nil)
|
|
55
55
|
limits = @version.read_limits(limit, page_size)
|
|
56
56
|
|
|
57
|
-
page = self.page(page_size: limits[:page_size])
|
|
57
|
+
page = self.page(page_size: limits[:page_size], )
|
|
58
58
|
|
|
59
59
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
60
60
|
end
|
|
@@ -66,7 +66,7 @@ module Twilio
|
|
|
66
66
|
def each
|
|
67
67
|
limits = @version.read_limits
|
|
68
68
|
|
|
69
|
-
page = self.page(page_size: limits[:page_size])
|
|
69
|
+
page = self.page(page_size: limits[:page_size], )
|
|
70
70
|
|
|
71
71
|
@version.stream(page,
|
|
72
72
|
limit: limits[:limit],
|
|
@@ -160,7 +160,7 @@ module Twilio
|
|
|
160
160
|
super(version)
|
|
161
161
|
|
|
162
162
|
# Path Solution
|
|
163
|
-
@solution = {account_sid: account_sid, recording_sid: recording_sid, sid: sid}
|
|
163
|
+
@solution = {account_sid: account_sid, recording_sid: recording_sid, sid: sid, }
|
|
164
164
|
@uri = "/Accounts/#{@solution[:account_sid]}/Recordings/#{@solution[:recording_sid]}/Transcriptions/#{@solution[:sid]}.json"
|
|
165
165
|
end
|
|
166
166
|
|
|
@@ -66,7 +66,7 @@ module Twilio
|
|
|
66
66
|
def stream(friendly_name: :unset, short_code: :unset, limit: nil, page_size: nil)
|
|
67
67
|
limits = @version.read_limits(limit, page_size)
|
|
68
68
|
|
|
69
|
-
page = self.page(friendly_name: friendly_name, short_code: short_code, page_size: limits[:page_size])
|
|
69
|
+
page = self.page(friendly_name: friendly_name, short_code: short_code, page_size: limits[:page_size], )
|
|
70
70
|
|
|
71
71
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
72
72
|
end
|
|
@@ -78,7 +78,7 @@ module Twilio
|
|
|
78
78
|
def each
|
|
79
79
|
limits = @version.read_limits
|
|
80
80
|
|
|
81
|
-
page = self.page(page_size: limits[:page_size])
|
|
81
|
+
page = self.page(page_size: limits[:page_size], )
|
|
82
82
|
|
|
83
83
|
@version.stream(page,
|
|
84
84
|
limit: limits[:limit],
|
|
@@ -151,7 +151,7 @@ module Twilio
|
|
|
151
151
|
# @param [Hash] payload Payload response from the API
|
|
152
152
|
# @return [ShortCodeInstance] ShortCodeInstance
|
|
153
153
|
def get_instance(payload)
|
|
154
|
-
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid])
|
|
154
|
+
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid], )
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
##
|
|
@@ -172,7 +172,7 @@ module Twilio
|
|
|
172
172
|
super(version)
|
|
173
173
|
|
|
174
174
|
# Path Solution
|
|
175
|
-
@solution = {account_sid: account_sid, sid: sid}
|
|
175
|
+
@solution = {account_sid: account_sid, sid: sid, }
|
|
176
176
|
@uri = "/Accounts/#{@solution[:account_sid]}/SMS/ShortCodes/#{@solution[:sid]}.json"
|
|
177
177
|
end
|
|
178
178
|
|
|
@@ -188,7 +188,7 @@ module Twilio
|
|
|
188
188
|
params,
|
|
189
189
|
)
|
|
190
190
|
|
|
191
|
-
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid])
|
|
191
|
+
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
|
192
192
|
end
|
|
193
193
|
|
|
194
194
|
##
|
|
@@ -223,7 +223,7 @@ module Twilio
|
|
|
223
223
|
data: data,
|
|
224
224
|
)
|
|
225
225
|
|
|
226
|
-
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid])
|
|
226
|
+
ShortCodeInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
##
|
|
@@ -264,7 +264,7 @@ module Twilio
|
|
|
264
264
|
|
|
265
265
|
# Context
|
|
266
266
|
@instance_context = nil
|
|
267
|
-
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid']}
|
|
267
|
+
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid'], }
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
##
|
|
@@ -273,7 +273,7 @@ module Twilio
|
|
|
273
273
|
# @return [ShortCodeContext] ShortCodeContext for this ShortCodeInstance
|
|
274
274
|
def context
|
|
275
275
|
unless @instance_context
|
|
276
|
-
@instance_context = ShortCodeContext.new(@version, @params['account_sid'], @params['sid'])
|
|
276
|
+
@instance_context = ShortCodeContext.new(@version, @params['account_sid'], @params['sid'], )
|
|
277
277
|
end
|
|
278
278
|
@instance_context
|
|
279
279
|
end
|