twilio-ruby 6.2.0 → 6.8.3
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 +205 -0
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/base/client_base.rb +4 -7
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/client.rb +1 -6
- data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
- data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +9 -11
- data/conf/cacert.pem +0 -3376
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
- data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
- data/lib/twilio-ruby/rest/oauth.rb +0 -33
- data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of MobileInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of NationalInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of SharedCostInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of TollFreeInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
|
@@ -184,43 +184,24 @@ module Twilio
|
|
|
184
184
|
# @return [Page] Page of VoipInstance
|
|
185
185
|
def page(area_code: :unset, contains: :unset, sms_enabled: :unset, mms_enabled: :unset, voice_enabled: :unset, exclude_all_address_required: :unset, exclude_local_address_required: :unset, exclude_foreign_address_required: :unset, beta: :unset, near_number: :unset, near_lat_long: :unset, distance: :unset, in_postal_code: :unset, in_region: :unset, in_rate_center: :unset, in_lata: :unset, in_locality: :unset, fax_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
186
186
|
params = Twilio::Values.of({
|
|
187
|
-
|
|
188
187
|
'AreaCode' => area_code,
|
|
189
|
-
|
|
190
188
|
'Contains' => contains,
|
|
191
|
-
|
|
192
189
|
'SmsEnabled' => sms_enabled,
|
|
193
|
-
|
|
194
190
|
'MmsEnabled' => mms_enabled,
|
|
195
|
-
|
|
196
191
|
'VoiceEnabled' => voice_enabled,
|
|
197
|
-
|
|
198
192
|
'ExcludeAllAddressRequired' => exclude_all_address_required,
|
|
199
|
-
|
|
200
193
|
'ExcludeLocalAddressRequired' => exclude_local_address_required,
|
|
201
|
-
|
|
202
194
|
'ExcludeForeignAddressRequired' => exclude_foreign_address_required,
|
|
203
|
-
|
|
204
195
|
'Beta' => beta,
|
|
205
|
-
|
|
206
196
|
'NearNumber' => near_number,
|
|
207
|
-
|
|
208
197
|
'NearLatLong' => near_lat_long,
|
|
209
|
-
|
|
210
198
|
'Distance' => distance,
|
|
211
|
-
|
|
212
199
|
'InPostalCode' => in_postal_code,
|
|
213
|
-
|
|
214
200
|
'InRegion' => in_region,
|
|
215
|
-
|
|
216
201
|
'InRateCenter' => in_rate_center,
|
|
217
|
-
|
|
218
202
|
'InLata' => in_lata,
|
|
219
|
-
|
|
220
203
|
'InLocality' => in_locality,
|
|
221
|
-
|
|
222
204
|
'FaxEnabled' => fax_enabled,
|
|
223
|
-
|
|
224
205
|
'PageToken' => page_token,
|
|
225
206
|
'Page' => page_number,
|
|
226
207
|
'PageSize' => page_size,
|
|
@@ -93,7 +93,6 @@ module Twilio
|
|
|
93
93
|
# @return [Page] Page of AvailablePhoneNumberCountryInstance
|
|
94
94
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
95
95
|
params = Twilio::Values.of({
|
|
96
|
-
|
|
97
96
|
'PageToken' => page_token,
|
|
98
97
|
'Page' => page_number,
|
|
99
98
|
'PageSize' => page_size,
|
|
@@ -170,7 +169,7 @@ module Twilio
|
|
|
170
169
|
def voip
|
|
171
170
|
unless @voip
|
|
172
171
|
@voip = VoipList.new(
|
|
173
|
-
@version, account_sid: @solution[:account_sid],
|
|
172
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
174
173
|
end
|
|
175
174
|
@voip
|
|
176
175
|
end
|
|
@@ -181,7 +180,7 @@ module Twilio
|
|
|
181
180
|
def national
|
|
182
181
|
unless @national
|
|
183
182
|
@national = NationalList.new(
|
|
184
|
-
@version, account_sid: @solution[:account_sid],
|
|
183
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
185
184
|
end
|
|
186
185
|
@national
|
|
187
186
|
end
|
|
@@ -192,7 +191,7 @@ module Twilio
|
|
|
192
191
|
def mobile
|
|
193
192
|
unless @mobile
|
|
194
193
|
@mobile = MobileList.new(
|
|
195
|
-
@version, account_sid: @solution[:account_sid],
|
|
194
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
196
195
|
end
|
|
197
196
|
@mobile
|
|
198
197
|
end
|
|
@@ -203,7 +202,7 @@ module Twilio
|
|
|
203
202
|
def machine_to_machine
|
|
204
203
|
unless @machine_to_machine
|
|
205
204
|
@machine_to_machine = MachineToMachineList.new(
|
|
206
|
-
@version, account_sid: @solution[:account_sid],
|
|
205
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
207
206
|
end
|
|
208
207
|
@machine_to_machine
|
|
209
208
|
end
|
|
@@ -214,7 +213,7 @@ module Twilio
|
|
|
214
213
|
def toll_free
|
|
215
214
|
unless @toll_free
|
|
216
215
|
@toll_free = TollFreeList.new(
|
|
217
|
-
@version, account_sid: @solution[:account_sid],
|
|
216
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
218
217
|
end
|
|
219
218
|
@toll_free
|
|
220
219
|
end
|
|
@@ -225,7 +224,7 @@ module Twilio
|
|
|
225
224
|
def shared_cost
|
|
226
225
|
unless @shared_cost
|
|
227
226
|
@shared_cost = SharedCostList.new(
|
|
228
|
-
@version, account_sid: @solution[:account_sid],
|
|
227
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
229
228
|
end
|
|
230
229
|
@shared_cost
|
|
231
230
|
end
|
|
@@ -236,7 +235,7 @@ module Twilio
|
|
|
236
235
|
def local
|
|
237
236
|
unless @local
|
|
238
237
|
@local = LocalList.new(
|
|
239
|
-
@version, account_sid: @solution[:account_sid],
|
|
238
|
+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
|
|
240
239
|
end
|
|
241
240
|
@local
|
|
242
241
|
end
|
|
@@ -114,15 +114,10 @@ module Twilio
|
|
|
114
114
|
# @return [Page] Page of NotificationInstance
|
|
115
115
|
def page(log: :unset, message_date: :unset, message_date_before: :unset, message_date_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
116
116
|
params = Twilio::Values.of({
|
|
117
|
-
|
|
118
117
|
'Log' => log,
|
|
119
|
-
|
|
120
118
|
'MessageDate' => Twilio.serialize_iso8601_date(message_date),
|
|
121
|
-
|
|
122
119
|
'MessageDate<' => Twilio.serialize_iso8601_date(message_date_before),
|
|
123
|
-
|
|
124
120
|
'MessageDate>' => Twilio.serialize_iso8601_date(message_date_after),
|
|
125
|
-
|
|
126
121
|
'PageToken' => page_token,
|
|
127
122
|
'Page' => page_number,
|
|
128
123
|
'PageSize' => page_size,
|
|
@@ -145,13 +145,9 @@ module Twilio
|
|
|
145
145
|
# @return [Page] Page of RecordingInstance
|
|
146
146
|
def page(date_created: :unset, date_created_before: :unset, date_created_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
147
147
|
params = Twilio::Values.of({
|
|
148
|
-
|
|
149
148
|
'DateCreated' => Twilio.serialize_iso8601_date(date_created),
|
|
150
|
-
|
|
151
149
|
'DateCreated<' => Twilio.serialize_iso8601_date(date_created_before),
|
|
152
|
-
|
|
153
150
|
'DateCreated>' => Twilio.serialize_iso8601_date(date_created_after),
|
|
154
|
-
|
|
155
151
|
'PageToken' => page_token,
|
|
156
152
|
'Page' => page_number,
|
|
157
153
|
'PageSize' => page_size,
|
|
@@ -266,27 +266,16 @@ module Twilio
|
|
|
266
266
|
# @return [Page] Page of CallInstance
|
|
267
267
|
def page(to: :unset, from: :unset, parent_call_sid: :unset, status: :unset, start_time: :unset, start_time_before: :unset, start_time_after: :unset, end_time: :unset, end_time_before: :unset, end_time_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
268
268
|
params = Twilio::Values.of({
|
|
269
|
-
|
|
270
269
|
'To' => to,
|
|
271
|
-
|
|
272
270
|
'From' => from,
|
|
273
|
-
|
|
274
271
|
'ParentCallSid' => parent_call_sid,
|
|
275
|
-
|
|
276
272
|
'Status' => status,
|
|
277
|
-
|
|
278
273
|
'StartTime' => Twilio.serialize_iso8601_datetime(start_time),
|
|
279
|
-
|
|
280
274
|
'StartTime<' => Twilio.serialize_iso8601_datetime(start_time_before),
|
|
281
|
-
|
|
282
275
|
'StartTime>' => Twilio.serialize_iso8601_datetime(start_time_after),
|
|
283
|
-
|
|
284
276
|
'EndTime' => Twilio.serialize_iso8601_datetime(end_time),
|
|
285
|
-
|
|
286
277
|
'EndTime<' => Twilio.serialize_iso8601_datetime(end_time_before),
|
|
287
|
-
|
|
288
278
|
'EndTime>' => Twilio.serialize_iso8601_datetime(end_time_after),
|
|
289
|
-
|
|
290
279
|
'PageToken' => page_token,
|
|
291
280
|
'Page' => page_number,
|
|
292
281
|
'PageSize' => page_size,
|
|
@@ -431,7 +420,7 @@ module Twilio
|
|
|
431
420
|
def events
|
|
432
421
|
unless @events
|
|
433
422
|
@events = EventList.new(
|
|
434
|
-
@version, account_sid: @solution[:account_sid],
|
|
423
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
435
424
|
end
|
|
436
425
|
@events
|
|
437
426
|
end
|
|
@@ -442,7 +431,7 @@ module Twilio
|
|
|
442
431
|
def user_defined_messages
|
|
443
432
|
unless @user_defined_messages
|
|
444
433
|
@user_defined_messages = UserDefinedMessageList.new(
|
|
445
|
-
@version, account_sid: @solution[:account_sid],
|
|
434
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
446
435
|
end
|
|
447
436
|
@user_defined_messages
|
|
448
437
|
end
|
|
@@ -460,7 +449,7 @@ module Twilio
|
|
|
460
449
|
|
|
461
450
|
unless @siprec
|
|
462
451
|
@siprec = SiprecList.new(
|
|
463
|
-
@version, account_sid: @solution[:account_sid],
|
|
452
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
464
453
|
end
|
|
465
454
|
|
|
466
455
|
@siprec
|
|
@@ -479,7 +468,7 @@ module Twilio
|
|
|
479
468
|
|
|
480
469
|
unless @user_defined_message_subscriptions
|
|
481
470
|
@user_defined_message_subscriptions = UserDefinedMessageSubscriptionList.new(
|
|
482
|
-
@version, account_sid: @solution[:account_sid],
|
|
471
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
483
472
|
end
|
|
484
473
|
|
|
485
474
|
@user_defined_message_subscriptions
|
|
@@ -498,7 +487,7 @@ module Twilio
|
|
|
498
487
|
|
|
499
488
|
unless @payments
|
|
500
489
|
@payments = PaymentList.new(
|
|
501
|
-
@version, account_sid: @solution[:account_sid],
|
|
490
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
502
491
|
end
|
|
503
492
|
|
|
504
493
|
@payments
|
|
@@ -517,7 +506,7 @@ module Twilio
|
|
|
517
506
|
|
|
518
507
|
unless @recordings
|
|
519
508
|
@recordings = RecordingList.new(
|
|
520
|
-
@version, account_sid: @solution[:account_sid],
|
|
509
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
521
510
|
end
|
|
522
511
|
|
|
523
512
|
@recordings
|
|
@@ -536,7 +525,7 @@ module Twilio
|
|
|
536
525
|
|
|
537
526
|
unless @notifications
|
|
538
527
|
@notifications = NotificationList.new(
|
|
539
|
-
@version, account_sid: @solution[:account_sid],
|
|
528
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
540
529
|
end
|
|
541
530
|
|
|
542
531
|
@notifications
|
|
@@ -566,7 +555,7 @@ module Twilio
|
|
|
566
555
|
|
|
567
556
|
unless @streams
|
|
568
557
|
@streams = StreamList.new(
|
|
569
|
-
@version, account_sid: @solution[:account_sid],
|
|
558
|
+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
|
|
570
559
|
end
|
|
571
560
|
|
|
572
561
|
@streams
|
|
@@ -73,7 +73,7 @@ module Twilio
|
|
|
73
73
|
# @param [String] call_reason The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta)
|
|
74
74
|
# @param [String] recording_track The audio track to record for the call. Can be: `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the audio that is received by Twilio. `outbound` records the audio that is sent from Twilio. `both` records the audio that is received and sent by Twilio.
|
|
75
75
|
# @param [String] time_limit The maximum duration of the call in seconds. Constraints depend on account and configuration.
|
|
76
|
-
# @param [String] machine_detection Whether to detect if a human, answering machine, or fax has picked up the call. Can be: `Enable` or `DetectMessageEnd`. Use `Enable` if you would like us to return `AnsweredBy` as soon as the called party is identified. Use `DetectMessageEnd`, if you would like to leave a message on an answering machine.
|
|
76
|
+
# @param [String] machine_detection Whether to detect if a human, answering machine, or fax has picked up the call. Can be: `Enable` or `DetectMessageEnd`. Use `Enable` if you would like us to return `AnsweredBy` as soon as the called party is identified. Use `DetectMessageEnd`, if you would like to leave a message on an answering machine. For more information, see [Answering Machine Detection](https://www.twilio.com/docs/voice/answering-machine-detection).
|
|
77
77
|
# @param [String] machine_detection_timeout The number of seconds that we should attempt to detect an answering machine before timing out and sending a voice request with `AnsweredBy` of `unknown`. The default timeout is 30 seconds.
|
|
78
78
|
# @param [String] machine_detection_speech_threshold The number of milliseconds that is used as the measuring stick for the length of the speech activity, where durations lower than this value will be interpreted as a human and longer than this value as a machine. Possible Values: 1000-6000. Default: 2400.
|
|
79
79
|
# @param [String] machine_detection_speech_end_threshold The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Possible Values: 500-5000. Default: 1200.
|
|
@@ -81,6 +81,7 @@ module Twilio
|
|
|
81
81
|
# @param [String] amd_status_callback The URL that we should call using the `amd_status_callback_method` to notify customer application whether the call was answered by human, machine or fax.
|
|
82
82
|
# @param [String] amd_status_callback_method The HTTP method we should use when calling the `amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
|
|
83
83
|
# @param [String] trim Whether to trim any leading and trailing silence from the participant recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`.
|
|
84
|
+
# @param [String] call_token A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call.
|
|
84
85
|
# @return [ParticipantInstance] Created ParticipantInstance
|
|
85
86
|
def create(
|
|
86
87
|
from: nil,
|
|
@@ -129,7 +130,8 @@ module Twilio
|
|
|
129
130
|
machine_detection_silence_timeout: :unset,
|
|
130
131
|
amd_status_callback: :unset,
|
|
131
132
|
amd_status_callback_method: :unset,
|
|
132
|
-
trim: :unset
|
|
133
|
+
trim: :unset,
|
|
134
|
+
call_token: :unset
|
|
133
135
|
)
|
|
134
136
|
|
|
135
137
|
data = Twilio::Values.of({
|
|
@@ -180,6 +182,7 @@ module Twilio
|
|
|
180
182
|
'AmdStatusCallback' => amd_status_callback,
|
|
181
183
|
'AmdStatusCallbackMethod' => amd_status_callback_method,
|
|
182
184
|
'Trim' => trim,
|
|
185
|
+
'CallToken' => call_token,
|
|
183
186
|
})
|
|
184
187
|
|
|
185
188
|
payload = @version.create('POST', @uri, data: data)
|
|
@@ -268,13 +271,9 @@ module Twilio
|
|
|
268
271
|
# @return [Page] Page of ParticipantInstance
|
|
269
272
|
def page(muted: :unset, hold: :unset, coaching: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
270
273
|
params = Twilio::Values.of({
|
|
271
|
-
|
|
272
274
|
'Muted' => muted,
|
|
273
|
-
|
|
274
275
|
'Hold' => hold,
|
|
275
|
-
|
|
276
276
|
'Coaching' => coaching,
|
|
277
|
-
|
|
278
277
|
'PageToken' => page_token,
|
|
279
278
|
'Page' => page_number,
|
|
280
279
|
'PageSize' => page_size,
|
|
@@ -109,13 +109,9 @@ module Twilio
|
|
|
109
109
|
# @return [Page] Page of RecordingInstance
|
|
110
110
|
def page(date_created: :unset, date_created_before: :unset, date_created_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
111
111
|
params = Twilio::Values.of({
|
|
112
|
-
|
|
113
112
|
'DateCreated' => Twilio.serialize_iso8601_date(date_created),
|
|
114
|
-
|
|
115
113
|
'DateCreated<' => Twilio.serialize_iso8601_date(date_created_before),
|
|
116
|
-
|
|
117
114
|
'DateCreated>' => Twilio.serialize_iso8601_date(date_created_after),
|
|
118
|
-
|
|
119
115
|
'PageToken' => page_token,
|
|
120
116
|
'Page' => page_number,
|
|
121
117
|
'PageSize' => page_size,
|
|
@@ -133,23 +133,14 @@ module Twilio
|
|
|
133
133
|
# @return [Page] Page of ConferenceInstance
|
|
134
134
|
def page(date_created: :unset, date_created_before: :unset, date_created_after: :unset, date_updated: :unset, date_updated_before: :unset, date_updated_after: :unset, friendly_name: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
135
135
|
params = Twilio::Values.of({
|
|
136
|
-
|
|
137
136
|
'DateCreated' => Twilio.serialize_iso8601_date(date_created),
|
|
138
|
-
|
|
139
137
|
'DateCreated<' => Twilio.serialize_iso8601_date(date_created_before),
|
|
140
|
-
|
|
141
138
|
'DateCreated>' => Twilio.serialize_iso8601_date(date_created_after),
|
|
142
|
-
|
|
143
139
|
'DateUpdated' => Twilio.serialize_iso8601_date(date_updated),
|
|
144
|
-
|
|
145
140
|
'DateUpdated<' => Twilio.serialize_iso8601_date(date_updated_before),
|
|
146
|
-
|
|
147
141
|
'DateUpdated>' => Twilio.serialize_iso8601_date(date_updated_after),
|
|
148
|
-
|
|
149
142
|
'FriendlyName' => friendly_name,
|
|
150
|
-
|
|
151
143
|
'Status' => status,
|
|
152
|
-
|
|
153
144
|
'PageToken' => page_token,
|
|
154
145
|
'Page' => page_number,
|
|
155
146
|
'PageSize' => page_size,
|
|
@@ -255,7 +246,7 @@ module Twilio
|
|
|
255
246
|
|
|
256
247
|
unless @recordings
|
|
257
248
|
@recordings = RecordingList.new(
|
|
258
|
-
@version, account_sid: @solution[:account_sid],
|
|
249
|
+
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
|
|
259
250
|
end
|
|
260
251
|
|
|
261
252
|
@recordings
|
|
@@ -274,7 +265,7 @@ module Twilio
|
|
|
274
265
|
|
|
275
266
|
unless @participants
|
|
276
267
|
@participants = ParticipantList.new(
|
|
277
|
-
@version, account_sid: @solution[:account_sid],
|
|
268
|
+
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
|
|
278
269
|
end
|
|
279
270
|
|
|
280
271
|
@participants
|
|
@@ -95,7 +95,6 @@ module Twilio
|
|
|
95
95
|
# @return [Page] Page of AssignedAddOnExtensionInstance
|
|
96
96
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
97
97
|
params = Twilio::Values.of({
|
|
98
|
-
|
|
99
98
|
'PageToken' => page_token,
|
|
100
99
|
'Page' => page_number,
|
|
101
100
|
'PageSize' => page_size,
|
|
@@ -115,7 +115,6 @@ module Twilio
|
|
|
115
115
|
# @return [Page] Page of AssignedAddOnInstance
|
|
116
116
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
117
117
|
params = Twilio::Values.of({
|
|
118
|
-
|
|
119
118
|
'PageToken' => page_token,
|
|
120
119
|
'Page' => page_number,
|
|
121
120
|
'PageSize' => page_size,
|
|
@@ -205,7 +204,7 @@ module Twilio
|
|
|
205
204
|
|
|
206
205
|
unless @extensions
|
|
207
206
|
@extensions = AssignedAddOnExtensionList.new(
|
|
208
|
-
@version, account_sid: @solution[:account_sid],
|
|
207
|
+
@version, account_sid: @solution[:account_sid], resource_sid: @solution[:resource_sid], assigned_add_on_sid: @solution[:sid], )
|
|
209
208
|
end
|
|
210
209
|
|
|
211
210
|
@extensions
|
|
@@ -200,15 +200,10 @@ module Twilio
|
|
|
200
200
|
# @return [Page] Page of LocalInstance
|
|
201
201
|
def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
202
202
|
params = Twilio::Values.of({
|
|
203
|
-
|
|
204
203
|
'Beta' => beta,
|
|
205
|
-
|
|
206
204
|
'FriendlyName' => friendly_name,
|
|
207
|
-
|
|
208
205
|
'PhoneNumber' => phone_number,
|
|
209
|
-
|
|
210
206
|
'Origin' => origin,
|
|
211
|
-
|
|
212
207
|
'PageToken' => page_token,
|
|
213
208
|
'Page' => page_number,
|
|
214
209
|
'PageSize' => page_size,
|
|
@@ -200,15 +200,10 @@ module Twilio
|
|
|
200
200
|
# @return [Page] Page of MobileInstance
|
|
201
201
|
def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
202
202
|
params = Twilio::Values.of({
|
|
203
|
-
|
|
204
203
|
'Beta' => beta,
|
|
205
|
-
|
|
206
204
|
'FriendlyName' => friendly_name,
|
|
207
|
-
|
|
208
205
|
'PhoneNumber' => phone_number,
|
|
209
|
-
|
|
210
206
|
'Origin' => origin,
|
|
211
|
-
|
|
212
207
|
'PageToken' => page_token,
|
|
213
208
|
'Page' => page_number,
|
|
214
209
|
'PageSize' => page_size,
|
|
@@ -200,15 +200,10 @@ module Twilio
|
|
|
200
200
|
# @return [Page] Page of TollFreeInstance
|
|
201
201
|
def page(beta: :unset, friendly_name: :unset, phone_number: :unset, origin: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
202
202
|
params = Twilio::Values.of({
|
|
203
|
-
|
|
204
203
|
'Beta' => beta,
|
|
205
|
-
|
|
206
204
|
'FriendlyName' => friendly_name,
|
|
207
|
-
|
|
208
205
|
'PhoneNumber' => phone_number,
|
|
209
|
-
|
|
210
206
|
'Origin' => origin,
|
|
211
|
-
|
|
212
207
|
'PageToken' => page_token,
|
|
213
208
|
'Page' => page_number,
|
|
214
209
|
'PageSize' => page_size,
|