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
|
@@ -34,7 +34,7 @@ module Twilio
|
|
|
34
34
|
##
|
|
35
35
|
# Create the MessagingConfigurationInstance
|
|
36
36
|
# @param [String] country The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
|
|
37
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/
|
|
37
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
38
38
|
# @return [MessagingConfigurationInstance] Created MessagingConfigurationInstance
|
|
39
39
|
def create(
|
|
40
40
|
country: nil,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of MessagingConfigurationInstance
|
|
117
117
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
118
118
|
params = Twilio::Values.of({
|
|
119
|
-
|
|
120
119
|
'PageToken' => page_token,
|
|
121
120
|
'Page' => page_number,
|
|
122
121
|
'PageSize' => page_size,
|
|
@@ -189,7 +188,7 @@ module Twilio
|
|
|
189
188
|
|
|
190
189
|
##
|
|
191
190
|
# Update the MessagingConfigurationInstance
|
|
192
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/
|
|
191
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
193
192
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
194
193
|
def update(
|
|
195
194
|
messaging_service_sid: nil
|
|
@@ -311,7 +310,7 @@ module Twilio
|
|
|
311
310
|
end
|
|
312
311
|
|
|
313
312
|
##
|
|
314
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/
|
|
313
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
315
314
|
def messaging_service_sid
|
|
316
315
|
@properties['messaging_service_sid']
|
|
317
316
|
end
|
|
@@ -352,7 +351,7 @@ module Twilio
|
|
|
352
351
|
|
|
353
352
|
##
|
|
354
353
|
# Update the MessagingConfigurationInstance
|
|
355
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/
|
|
354
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
356
355
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
357
356
|
def update(
|
|
358
357
|
messaging_service_sid: nil
|
|
@@ -118,7 +118,6 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of BucketInstance
|
|
119
119
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
120
120
|
params = Twilio::Values.of({
|
|
121
|
-
|
|
122
121
|
'PageToken' => page_token,
|
|
123
122
|
'Page' => page_number,
|
|
124
123
|
'PageSize' => page_size,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of RateLimitInstance
|
|
117
117
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
118
118
|
params = Twilio::Values.of({
|
|
119
|
-
|
|
120
119
|
'PageToken' => page_token,
|
|
121
120
|
'Page' => page_number,
|
|
122
121
|
'PageSize' => page_size,
|
|
@@ -223,7 +222,7 @@ module Twilio
|
|
|
223
222
|
|
|
224
223
|
unless @buckets
|
|
225
224
|
@buckets = BucketList.new(
|
|
226
|
-
@version, service_sid: @solution[:service_sid],
|
|
225
|
+
@version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
|
|
227
226
|
end
|
|
228
227
|
|
|
229
228
|
@buckets
|
|
@@ -48,6 +48,8 @@ module Twilio
|
|
|
48
48
|
# @param [String] template_sid The message [template](https://www.twilio.com/docs/verify/api/templates). If provided, will override the default template for the Service. SMS and Voice channels only.
|
|
49
49
|
# @param [String] template_custom_substitutions A stringified JSON object in which the keys are the template's special variables and the values are the variables substitutions.
|
|
50
50
|
# @param [String] device_ip Strongly encouraged if using the auto channel. The IP address of the client's device. If provided, it has to be a valid IPv4 or IPv6 address.
|
|
51
|
+
# @param [RiskCheck] risk_check
|
|
52
|
+
# @param [String] tags A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length.
|
|
51
53
|
# @return [VerificationInstance] Created VerificationInstance
|
|
52
54
|
def create(
|
|
53
55
|
to: nil,
|
|
@@ -64,7 +66,9 @@ module Twilio
|
|
|
64
66
|
app_hash: :unset,
|
|
65
67
|
template_sid: :unset,
|
|
66
68
|
template_custom_substitutions: :unset,
|
|
67
|
-
device_ip: :unset
|
|
69
|
+
device_ip: :unset,
|
|
70
|
+
risk_check: :unset,
|
|
71
|
+
tags: :unset
|
|
68
72
|
)
|
|
69
73
|
|
|
70
74
|
data = Twilio::Values.of({
|
|
@@ -83,6 +87,8 @@ module Twilio
|
|
|
83
87
|
'TemplateSid' => template_sid,
|
|
84
88
|
'TemplateCustomSubstitutions' => template_custom_substitutions,
|
|
85
89
|
'DeviceIp' => device_ip,
|
|
90
|
+
'RiskCheck' => risk_check,
|
|
91
|
+
'Tags' => tags,
|
|
86
92
|
})
|
|
87
93
|
|
|
88
94
|
payload = @version.create('POST', @uri, data: data)
|
|
@@ -125,7 +125,6 @@ module Twilio
|
|
|
125
125
|
# @return [Page] Page of WebhookInstance
|
|
126
126
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
127
127
|
params = Twilio::Values.of({
|
|
128
|
-
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -48,6 +48,7 @@ module Twilio
|
|
|
48
48
|
# @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
|
|
49
49
|
# @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
|
|
50
50
|
# @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
|
|
51
|
+
# @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
|
|
51
52
|
# @return [ServiceInstance] Created ServiceInstance
|
|
52
53
|
def create(
|
|
53
54
|
friendly_name: nil,
|
|
@@ -66,7 +67,8 @@ module Twilio
|
|
|
66
67
|
totp_time_step: :unset,
|
|
67
68
|
totp_code_length: :unset,
|
|
68
69
|
totp_skew: :unset,
|
|
69
|
-
default_template_sid: :unset
|
|
70
|
+
default_template_sid: :unset,
|
|
71
|
+
verify_event_subscription_enabled: :unset
|
|
70
72
|
)
|
|
71
73
|
|
|
72
74
|
data = Twilio::Values.of({
|
|
@@ -87,6 +89,7 @@ module Twilio
|
|
|
87
89
|
'Totp.CodeLength' => totp_code_length,
|
|
88
90
|
'Totp.Skew' => totp_skew,
|
|
89
91
|
'DefaultTemplateSid' => default_template_sid,
|
|
92
|
+
'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
|
|
90
93
|
})
|
|
91
94
|
|
|
92
95
|
payload = @version.create('POST', @uri, data: data)
|
|
@@ -158,7 +161,6 @@ module Twilio
|
|
|
158
161
|
# @return [Page] Page of ServiceInstance
|
|
159
162
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
160
163
|
params = Twilio::Values.of({
|
|
161
|
-
|
|
162
164
|
'PageToken' => page_token,
|
|
163
165
|
'Page' => page_number,
|
|
164
166
|
'PageSize' => page_size,
|
|
@@ -253,6 +255,7 @@ module Twilio
|
|
|
253
255
|
# @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
|
|
254
256
|
# @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
|
|
255
257
|
# @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
|
|
258
|
+
# @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
|
|
256
259
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
257
260
|
def update(
|
|
258
261
|
friendly_name: :unset,
|
|
@@ -271,7 +274,8 @@ module Twilio
|
|
|
271
274
|
totp_time_step: :unset,
|
|
272
275
|
totp_code_length: :unset,
|
|
273
276
|
totp_skew: :unset,
|
|
274
|
-
default_template_sid: :unset
|
|
277
|
+
default_template_sid: :unset,
|
|
278
|
+
verify_event_subscription_enabled: :unset
|
|
275
279
|
)
|
|
276
280
|
|
|
277
281
|
data = Twilio::Values.of({
|
|
@@ -292,6 +296,7 @@ module Twilio
|
|
|
292
296
|
'Totp.CodeLength' => totp_code_length,
|
|
293
297
|
'Totp.Skew' => totp_skew,
|
|
294
298
|
'DefaultTemplateSid' => default_template_sid,
|
|
299
|
+
'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
|
|
295
300
|
})
|
|
296
301
|
|
|
297
302
|
payload = @version.update('POST', @uri, data: data)
|
|
@@ -500,6 +505,7 @@ module Twilio
|
|
|
500
505
|
'push' => payload['push'],
|
|
501
506
|
'totp' => payload['totp'],
|
|
502
507
|
'default_template_sid' => payload['default_template_sid'],
|
|
508
|
+
'verify_event_subscription_enabled' => payload['verify_event_subscription_enabled'],
|
|
503
509
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
|
504
510
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
|
505
511
|
'url' => payload['url'],
|
|
@@ -606,6 +612,12 @@ module Twilio
|
|
|
606
612
|
@properties['default_template_sid']
|
|
607
613
|
end
|
|
608
614
|
|
|
615
|
+
##
|
|
616
|
+
# @return [Boolean] Whether to allow verifications from the service to reach the stream-events sinks if configured
|
|
617
|
+
def verify_event_subscription_enabled
|
|
618
|
+
@properties['verify_event_subscription_enabled']
|
|
619
|
+
end
|
|
620
|
+
|
|
609
621
|
##
|
|
610
622
|
# @return [Time] The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
611
623
|
def date_created
|
|
@@ -665,6 +677,7 @@ module Twilio
|
|
|
665
677
|
# @param [String] totp_code_length Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. Must be between 3 and 8, inclusive. Defaults to 6
|
|
666
678
|
# @param [String] totp_skew Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1
|
|
667
679
|
# @param [String] default_template_sid The default message [template](https://www.twilio.com/docs/verify/api/templates). Will be used for all SMS verifications unless explicitly overriden. SMS channel only.
|
|
680
|
+
# @param [Boolean] verify_event_subscription_enabled Whether to allow verifications from the service to reach the stream-events sinks if configured
|
|
668
681
|
# @return [ServiceInstance] Updated ServiceInstance
|
|
669
682
|
def update(
|
|
670
683
|
friendly_name: :unset,
|
|
@@ -683,7 +696,8 @@ module Twilio
|
|
|
683
696
|
totp_time_step: :unset,
|
|
684
697
|
totp_code_length: :unset,
|
|
685
698
|
totp_skew: :unset,
|
|
686
|
-
default_template_sid: :unset
|
|
699
|
+
default_template_sid: :unset,
|
|
700
|
+
verify_event_subscription_enabled: :unset
|
|
687
701
|
)
|
|
688
702
|
|
|
689
703
|
context.update(
|
|
@@ -704,6 +718,7 @@ module Twilio
|
|
|
704
718
|
totp_code_length: totp_code_length,
|
|
705
719
|
totp_skew: totp_skew,
|
|
706
720
|
default_template_sid: default_template_sid,
|
|
721
|
+
verify_event_subscription_enabled: verify_event_subscription_enabled,
|
|
707
722
|
)
|
|
708
723
|
end
|
|
709
724
|
|
|
@@ -96,9 +96,7 @@ module Twilio
|
|
|
96
96
|
# @return [Page] Page of TemplateInstance
|
|
97
97
|
def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
98
98
|
params = Twilio::Values.of({
|
|
99
|
-
|
|
100
99
|
'FriendlyName' => friendly_name,
|
|
101
|
-
|
|
102
100
|
'PageToken' => page_token,
|
|
103
101
|
'Page' => page_number,
|
|
104
102
|
'PageSize' => page_size,
|
|
@@ -34,8 +34,8 @@ module Twilio
|
|
|
34
34
|
# Lists VerificationAttemptInstance records from the API as a list.
|
|
35
35
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
36
36
|
# memory before returning.
|
|
37
|
-
# @param [Time] date_created_after Datetime filter used to
|
|
38
|
-
# @param [Time] date_created_before Datetime filter used to
|
|
37
|
+
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
38
|
+
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
39
39
|
# @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
|
|
40
40
|
# @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
|
|
41
41
|
# @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
|
|
@@ -68,8 +68,8 @@ module Twilio
|
|
|
68
68
|
# Streams Instance records from the API as an Enumerable.
|
|
69
69
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
70
70
|
# is reached.
|
|
71
|
-
# @param [Time] date_created_after Datetime filter used to
|
|
72
|
-
# @param [Time] date_created_before Datetime filter used to
|
|
71
|
+
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
72
|
+
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
73
73
|
# @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
|
|
74
74
|
# @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
|
|
75
75
|
# @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
|
|
@@ -117,8 +117,8 @@ module Twilio
|
|
|
117
117
|
##
|
|
118
118
|
# Retrieve a single page of VerificationAttemptInstance records from the API.
|
|
119
119
|
# Request is executed immediately.
|
|
120
|
-
# @param [Time] date_created_after Datetime filter used to
|
|
121
|
-
# @param [Time] date_created_before Datetime filter used to
|
|
120
|
+
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
121
|
+
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
122
122
|
# @param [String] channel_data_to Destination of a verification. It is phone number in E.164 format.
|
|
123
123
|
# @param [String] country Filter used to query Verification Attempts sent to the specified destination country.
|
|
124
124
|
# @param [Channels] channel Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL`
|
|
@@ -131,23 +131,14 @@ module Twilio
|
|
|
131
131
|
# @return [Page] Page of VerificationAttemptInstance
|
|
132
132
|
def page(date_created_after: :unset, date_created_before: :unset, channel_data_to: :unset, country: :unset, channel: :unset, verify_service_sid: :unset, verification_sid: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
133
133
|
params = Twilio::Values.of({
|
|
134
|
-
|
|
135
134
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
136
|
-
|
|
137
135
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
138
|
-
|
|
139
136
|
'ChannelData.To' => channel_data_to,
|
|
140
|
-
|
|
141
137
|
'Country' => country,
|
|
142
|
-
|
|
143
138
|
'Channel' => channel,
|
|
144
|
-
|
|
145
139
|
'VerifyServiceSid' => verify_service_sid,
|
|
146
|
-
|
|
147
140
|
'VerificationSid' => verification_sid,
|
|
148
|
-
|
|
149
141
|
'Status' => status,
|
|
150
|
-
|
|
151
142
|
'PageToken' => page_token,
|
|
152
143
|
'Page' => page_number,
|
|
153
144
|
'PageSize' => page_size,
|
|
@@ -345,7 +336,7 @@ module Twilio
|
|
|
345
336
|
end
|
|
346
337
|
|
|
347
338
|
##
|
|
348
|
-
# @return [Hash] An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/verify/pricing).
|
|
339
|
+
# @return [Hash] An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/en-us/verify/pricing).
|
|
349
340
|
def price
|
|
350
341
|
@properties['price']
|
|
351
342
|
end
|
|
@@ -56,10 +56,10 @@ module Twilio
|
|
|
56
56
|
##
|
|
57
57
|
# Fetch the VerificationAttemptsSummaryInstance
|
|
58
58
|
# @param [String] verify_service_sid Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
|
|
59
|
-
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in
|
|
60
|
-
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in
|
|
59
|
+
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
60
|
+
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
61
61
|
# @param [String] country Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
|
|
62
|
-
# @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS` and `
|
|
62
|
+
# @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
|
|
63
63
|
# @param [String] destination_prefix Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.
|
|
64
64
|
# @return [VerificationAttemptsSummaryInstance] Fetched VerificationAttemptsSummaryInstance
|
|
65
65
|
def fetch(
|
|
@@ -201,10 +201,10 @@ module Twilio
|
|
|
201
201
|
##
|
|
202
202
|
# Fetch the VerificationAttemptsSummaryInstance
|
|
203
203
|
# @param [String] verify_service_sid Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
|
|
204
|
-
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in
|
|
205
|
-
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in
|
|
204
|
+
# @param [Time] date_created_after Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
205
|
+
# @param [Time] date_created_before Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
|
|
206
206
|
# @param [String] country Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
|
|
207
|
-
# @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS` and `
|
|
207
|
+
# @param [Channels] channel Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
|
|
208
208
|
# @param [String] destination_prefix Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.
|
|
209
209
|
# @return [VerificationAttemptsSummaryInstance] Fetched VerificationAttemptsSummaryInstance
|
|
210
210
|
def fetch(
|
|
@@ -154,15 +154,10 @@ module Twilio
|
|
|
154
154
|
# @return [Page] Page of CompositionInstance
|
|
155
155
|
def page(status: :unset, date_created_after: :unset, date_created_before: :unset, room_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
156
156
|
params = Twilio::Values.of({
|
|
157
|
-
|
|
158
157
|
'Status' => status,
|
|
159
|
-
|
|
160
158
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
161
|
-
|
|
162
159
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
163
|
-
|
|
164
160
|
'RoomSid' => room_sid,
|
|
165
|
-
|
|
166
161
|
'PageToken' => page_token,
|
|
167
162
|
'Page' => page_number,
|
|
168
163
|
'PageSize' => page_size,
|
|
@@ -157,15 +157,10 @@ module Twilio
|
|
|
157
157
|
# @return [Page] Page of CompositionHookInstance
|
|
158
158
|
def page(enabled: :unset, date_created_after: :unset, date_created_before: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
159
159
|
params = Twilio::Values.of({
|
|
160
|
-
|
|
161
160
|
'Enabled' => enabled,
|
|
162
|
-
|
|
163
161
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
164
|
-
|
|
165
162
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
166
|
-
|
|
167
163
|
'FriendlyName' => friendly_name,
|
|
168
|
-
|
|
169
164
|
'PageToken' => page_token,
|
|
170
165
|
'Page' => page_number,
|
|
171
166
|
'PageSize' => page_size,
|
|
@@ -121,19 +121,13 @@ module Twilio
|
|
|
121
121
|
# @return [Page] Page of RecordingInstance
|
|
122
122
|
def page(status: :unset, source_sid: :unset, grouping_sid: :unset, date_created_after: :unset, date_created_before: :unset, media_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
123
123
|
params = Twilio::Values.of({
|
|
124
|
-
|
|
125
124
|
'Status' => status,
|
|
126
|
-
|
|
127
125
|
'SourceSid' => source_sid,
|
|
128
126
|
|
|
129
|
-
'GroupingSid' => Twilio.serialize_list(grouping_sid),
|
|
130
|
-
|
|
127
|
+
'GroupingSid' => Twilio.serialize_list(grouping_sid) { |e| e },
|
|
131
128
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
132
|
-
|
|
133
129
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
134
|
-
|
|
135
130
|
'MediaType' => media_type,
|
|
136
|
-
|
|
137
131
|
'PageToken' => page_token,
|
|
138
132
|
'Page' => page_number,
|
|
139
133
|
'PageSize' => page_size,
|
|
@@ -113,15 +113,10 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of ParticipantInstance
|
|
114
114
|
def page(status: :unset, identity: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'Status' => status,
|
|
118
|
-
|
|
119
117
|
'Identity' => identity,
|
|
120
|
-
|
|
121
118
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
122
|
-
|
|
123
119
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
124
|
-
|
|
125
120
|
'PageToken' => page_token,
|
|
126
121
|
'Page' => page_number,
|
|
127
122
|
'PageSize' => page_size,
|
|
@@ -216,7 +211,7 @@ module Twilio
|
|
|
216
211
|
def subscribe_rules
|
|
217
212
|
unless @subscribe_rules
|
|
218
213
|
@subscribe_rules = SubscribeRulesList.new(
|
|
219
|
-
@version, room_sid: @solution[:room_sid],
|
|
214
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
220
215
|
end
|
|
221
216
|
@subscribe_rules
|
|
222
217
|
end
|
|
@@ -234,7 +229,7 @@ module Twilio
|
|
|
234
229
|
|
|
235
230
|
unless @subscribed_tracks
|
|
236
231
|
@subscribed_tracks = SubscribedTrackList.new(
|
|
237
|
-
@version, room_sid: @solution[:room_sid],
|
|
232
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
238
233
|
end
|
|
239
234
|
|
|
240
235
|
@subscribed_tracks
|
|
@@ -264,7 +259,7 @@ module Twilio
|
|
|
264
259
|
|
|
265
260
|
unless @published_tracks
|
|
266
261
|
@published_tracks = PublishedTrackList.new(
|
|
267
|
-
@version, room_sid: @solution[:room_sid],
|
|
262
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
268
263
|
end
|
|
269
264
|
|
|
270
265
|
@published_tracks
|
|
@@ -113,15 +113,10 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of RoomRecordingInstance
|
|
114
114
|
def page(status: :unset, source_sid: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'Status' => status,
|
|
118
|
-
|
|
119
117
|
'SourceSid' => source_sid,
|
|
120
|
-
|
|
121
118
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
122
|
-
|
|
123
119
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
124
|
-
|
|
125
120
|
'PageToken' => page_token,
|
|
126
121
|
'Page' => page_number,
|
|
127
122
|
'PageSize' => page_size,
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# @param [String] max_participants The maximum number of concurrent Participants allowed in the room. Peer-to-peer rooms can have up to 10 Participants. Small Group rooms can have up to 4 Participants. Group rooms can have up to 50 Participants.
|
|
40
40
|
# @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect. ***This feature is not available in `peer-to-peer` rooms.***
|
|
41
41
|
# @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`. ***This feature is not available in `peer-to-peer` rooms***
|
|
42
|
-
# @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-
|
|
42
|
+
# @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
|
|
43
43
|
# @param [Object] recording_rules A collection of Recording Rules that describe how to include or exclude matching tracks for recording
|
|
44
44
|
# @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. Group rooms only.
|
|
45
45
|
# @param [String] max_participant_duration The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours).
|
|
@@ -172,15 +172,10 @@ module Twilio
|
|
|
172
172
|
# @return [Page] Page of RoomInstance
|
|
173
173
|
def page(status: :unset, unique_name: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
174
174
|
params = Twilio::Values.of({
|
|
175
|
-
|
|
176
175
|
'Status' => status,
|
|
177
|
-
|
|
178
176
|
'UniqueName' => unique_name,
|
|
179
|
-
|
|
180
177
|
'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
|
|
181
|
-
|
|
182
178
|
'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before),
|
|
183
|
-
|
|
184
179
|
'PageToken' => page_token,
|
|
185
180
|
'Page' => page_number,
|
|
186
181
|
'PageSize' => page_size,
|
|
@@ -517,7 +512,7 @@ module Twilio
|
|
|
517
512
|
end
|
|
518
513
|
|
|
519
514
|
##
|
|
520
|
-
# @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-
|
|
515
|
+
# @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
|
|
521
516
|
def media_region
|
|
522
517
|
@properties['media_region']
|
|
523
518
|
end
|
|
@@ -137,7 +137,6 @@ module Twilio
|
|
|
137
137
|
# @return [Page] Page of ByocTrunkInstance
|
|
138
138
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
139
139
|
params = Twilio::Values.of({
|
|
140
|
-
|
|
141
140
|
'PageToken' => page_token,
|
|
142
141
|
'Page' => page_number,
|
|
143
142
|
'PageSize' => page_size,
|
|
@@ -125,7 +125,6 @@ module Twilio
|
|
|
125
125
|
# @return [Page] Page of ConnectionPolicyTargetInstance
|
|
126
126
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
127
127
|
params = Twilio::Values.of({
|
|
128
|
-
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -110,7 +110,6 @@ module Twilio
|
|
|
110
110
|
# @return [Page] Page of ConnectionPolicyInstance
|
|
111
111
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
112
112
|
params = Twilio::Values.of({
|
|
113
|
-
|
|
114
113
|
'PageToken' => page_token,
|
|
115
114
|
'Page' => page_number,
|
|
116
115
|
'PageSize' => page_size,
|
|
@@ -94,7 +94,6 @@ module Twilio
|
|
|
94
94
|
# @return [Page] Page of HighriskSpecialPrefixInstance
|
|
95
95
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
96
96
|
params = Twilio::Values.of({
|
|
97
|
-
|
|
98
97
|
'PageToken' => page_token,
|
|
99
98
|
'Page' => page_number,
|
|
100
99
|
'PageSize' => page_size,
|
|
@@ -41,7 +41,7 @@ module Twilio
|
|
|
41
41
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
|
42
42
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
|
43
43
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
|
44
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
|
44
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
|
45
45
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
46
46
|
# guarantees to never return more than limit. Default is no limit
|
|
47
47
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -71,7 +71,7 @@ module Twilio
|
|
|
71
71
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
|
72
72
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
|
73
73
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
|
74
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
|
74
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
|
75
75
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
76
76
|
# guarantees to never return more than limit. Default is no limit
|
|
77
77
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -116,26 +116,19 @@ module Twilio
|
|
|
116
116
|
# @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
|
|
117
117
|
# @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
|
|
118
118
|
# @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
|
|
119
|
-
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/
|
|
119
|
+
# @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
|
|
120
120
|
# @param [String] page_token PageToken provided by the API
|
|
121
121
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
122
122
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
123
123
|
# @return [Page] Page of CountryInstance
|
|
124
124
|
def page(iso_code: :unset, continent: :unset, country_code: :unset, low_risk_numbers_enabled: :unset, high_risk_special_numbers_enabled: :unset, high_risk_tollfraud_numbers_enabled: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
125
125
|
params = Twilio::Values.of({
|
|
126
|
-
|
|
127
126
|
'IsoCode' => iso_code,
|
|
128
|
-
|
|
129
127
|
'Continent' => continent,
|
|
130
|
-
|
|
131
128
|
'CountryCode' => country_code,
|
|
132
|
-
|
|
133
129
|
'LowRiskNumbersEnabled' => low_risk_numbers_enabled,
|
|
134
|
-
|
|
135
130
|
'HighRiskSpecialNumbersEnabled' => high_risk_special_numbers_enabled,
|
|
136
|
-
|
|
137
131
|
'HighRiskTollfraudNumbersEnabled' => high_risk_tollfraud_numbers_enabled,
|
|
138
|
-
|
|
139
132
|
'PageToken' => page_token,
|
|
140
133
|
'Page' => page_number,
|
|
141
134
|
'PageSize' => page_size,
|
|
@@ -333,7 +326,7 @@ module Twilio
|
|
|
333
326
|
end
|
|
334
327
|
|
|
335
328
|
##
|
|
336
|
-
# @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/
|
|
329
|
+
# @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
|
|
337
330
|
def high_risk_tollfraud_numbers_enabled
|
|
338
331
|
@properties['high_risk_tollfraud_numbers_enabled']
|
|
339
332
|
end
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of IpRecordInstance
|
|
117
117
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
118
118
|
params = Twilio::Values.of({
|
|
119
|
-
|
|
120
119
|
'PageToken' => page_token,
|
|
121
120
|
'Page' => page_number,
|
|
122
121
|
'PageSize' => page_size,
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of SourceIpMappingInstance
|
|
114
114
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'PageToken' => page_token,
|
|
118
117
|
'Page' => page_number,
|
|
119
118
|
'PageSize' => page_size,
|