twilio-ruby 6.2.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +45 -0
- data/README.md +2 -2
- 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/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +0 -4
- 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 +0 -1
- 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 +0 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +0 -9
- 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 +0 -1
- 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 +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +50 -56
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +0 -7
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/client.rb +1 -1
- data/lib/twilio-ruby/rest/content/v1/content.rb +0 -1
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +0 -1
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +0 -2
- 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 +0 -4
- 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/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +0 -4
- 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 +0 -1
- 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/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 +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -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 +0 -24
- 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 +0 -1
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +0 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +0 -9
- 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 +1 -2
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- 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 +0 -3
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +0 -5
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +0 -3
- 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/service/alpha_sender.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +27 -28
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +748 -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.rb +0 -2
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +4 -9
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +5 -18
- 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 +0 -12
- 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/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 +0 -6
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +0 -3
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -6
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +0 -3
- 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 +0 -3
- 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 +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +0 -5
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +0 -1
- 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 +1 -10
- 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 +0 -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 +0 -9
- 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/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/verify/v2/service/entity/challenge.rb +0 -4
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +0 -1
- 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 +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +6 -15
- 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 +0 -5
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +0 -5
- 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 +0 -7
- 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 +0 -5
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +0 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +0 -6
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +0 -4
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +3 -3
- data/conf/cacert.pem +0 -3376
|
@@ -30,6 +30,7 @@ module Twilio
|
|
|
30
30
|
@linkshortening_messaging_service = nil
|
|
31
31
|
@linkshortening_messaging_service_domain_association = nil
|
|
32
32
|
@services = nil
|
|
33
|
+
@tollfree_verifications = nil
|
|
33
34
|
@usecases = nil
|
|
34
35
|
end
|
|
35
36
|
|
|
@@ -164,6 +165,20 @@ module Twilio
|
|
|
164
165
|
end
|
|
165
166
|
end
|
|
166
167
|
##
|
|
168
|
+
# @param [String] sid The unique string to identify Tollfree Verification.
|
|
169
|
+
# @return [Twilio::REST::Messaging::V1::TollfreeVerificationContext] if sid was passed.
|
|
170
|
+
# @return [Twilio::REST::Messaging::V1::TollfreeVerificationList]
|
|
171
|
+
def tollfree_verifications(sid=:unset)
|
|
172
|
+
if sid.nil?
|
|
173
|
+
raise ArgumentError, 'sid cannot be nil'
|
|
174
|
+
end
|
|
175
|
+
if sid == :unset
|
|
176
|
+
@tollfree_verifications ||= TollfreeVerificationList.new self
|
|
177
|
+
else
|
|
178
|
+
TollfreeVerificationContext.new(self, sid)
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
##
|
|
167
182
|
# @return [Twilio::REST::Messaging::V1::UsecaseList]
|
|
168
183
|
def usecases
|
|
169
184
|
@usecases ||= UsecaseList.new self
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of AccountConfigInstance
|
|
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,
|
|
@@ -113,7 +113,6 @@ module Twilio
|
|
|
113
113
|
# @return [Page] Page of AccountSecretInstance
|
|
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,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of DeviceConfigInstance
|
|
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,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of DeviceSecretInstance
|
|
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,
|
|
@@ -91,7 +91,6 @@ module Twilio
|
|
|
91
91
|
# @return [Page] Page of DeviceInstance
|
|
92
92
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
93
93
|
params = Twilio::Values.of({
|
|
94
|
-
|
|
95
94
|
'PageToken' => page_token,
|
|
96
95
|
'Page' => page_number,
|
|
97
96
|
'PageSize' => page_size,
|
|
@@ -161,17 +160,20 @@ module Twilio
|
|
|
161
160
|
# @param [String] unique_name A unique and addressable name to be assigned to this Device by the developer. It may be used in place of the Device SID.
|
|
162
161
|
# @param [String] target_app The SID or unique name of the App to be targeted to the Device.
|
|
163
162
|
# @param [Boolean] logging_enabled A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours.
|
|
163
|
+
# @param [Boolean] restart_app Set to true to restart the App running on the Device.
|
|
164
164
|
# @return [DeviceInstance] Updated DeviceInstance
|
|
165
165
|
def update(
|
|
166
166
|
unique_name: :unset,
|
|
167
167
|
target_app: :unset,
|
|
168
|
-
logging_enabled: :unset
|
|
168
|
+
logging_enabled: :unset,
|
|
169
|
+
restart_app: :unset
|
|
169
170
|
)
|
|
170
171
|
|
|
171
172
|
data = Twilio::Values.of({
|
|
172
173
|
'UniqueName' => unique_name,
|
|
173
174
|
'TargetApp' => target_app,
|
|
174
175
|
'LoggingEnabled' => logging_enabled,
|
|
176
|
+
'RestartApp' => restart_app,
|
|
175
177
|
})
|
|
176
178
|
|
|
177
179
|
payload = @version.update('POST', @uri, data: data)
|
|
@@ -373,17 +375,20 @@ module Twilio
|
|
|
373
375
|
# @param [String] unique_name A unique and addressable name to be assigned to this Device by the developer. It may be used in place of the Device SID.
|
|
374
376
|
# @param [String] target_app The SID or unique name of the App to be targeted to the Device.
|
|
375
377
|
# @param [Boolean] logging_enabled A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours.
|
|
378
|
+
# @param [Boolean] restart_app Set to true to restart the App running on the Device.
|
|
376
379
|
# @return [DeviceInstance] Updated DeviceInstance
|
|
377
380
|
def update(
|
|
378
381
|
unique_name: :unset,
|
|
379
382
|
target_app: :unset,
|
|
380
|
-
logging_enabled: :unset
|
|
383
|
+
logging_enabled: :unset,
|
|
384
|
+
restart_app: :unset
|
|
381
385
|
)
|
|
382
386
|
|
|
383
387
|
context.update(
|
|
384
388
|
unique_name: unique_name,
|
|
385
389
|
target_app: target_app,
|
|
386
390
|
logging_enabled: logging_enabled,
|
|
391
|
+
restart_app: restart_app,
|
|
387
392
|
)
|
|
388
393
|
end
|
|
389
394
|
|
|
@@ -106,13 +106,9 @@ module Twilio
|
|
|
106
106
|
# @return [Page] Page of AlertInstance
|
|
107
107
|
def page(log_level: :unset, start_date: :unset, end_date: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
108
108
|
params = Twilio::Values.of({
|
|
109
|
-
|
|
110
109
|
'LogLevel' => log_level,
|
|
111
|
-
|
|
112
110
|
'StartDate' => Twilio.serialize_iso8601_datetime(start_date),
|
|
113
|
-
|
|
114
111
|
'EndDate' => Twilio.serialize_iso8601_datetime(end_date),
|
|
115
|
-
|
|
116
112
|
'PageToken' => page_token,
|
|
117
113
|
'Page' => page_number,
|
|
118
114
|
'PageSize' => page_size,
|
|
@@ -121,19 +121,12 @@ module Twilio
|
|
|
121
121
|
# @return [Page] Page of EventInstance
|
|
122
122
|
def page(actor_sid: :unset, event_type: :unset, resource_sid: :unset, source_ip_address: :unset, start_date: :unset, end_date: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
123
123
|
params = Twilio::Values.of({
|
|
124
|
-
|
|
125
124
|
'ActorSid' => actor_sid,
|
|
126
|
-
|
|
127
125
|
'EventType' => event_type,
|
|
128
|
-
|
|
129
126
|
'ResourceSid' => resource_sid,
|
|
130
|
-
|
|
131
127
|
'SourceIpAddress' => source_ip_address,
|
|
132
|
-
|
|
133
128
|
'StartDate' => Twilio.serialize_iso8601_datetime(start_date),
|
|
134
|
-
|
|
135
129
|
'EndDate' => Twilio.serialize_iso8601_datetime(end_date),
|
|
136
|
-
|
|
137
130
|
'PageToken' => page_token,
|
|
138
131
|
'Page' => page_number,
|
|
139
132
|
'PageSize' => page_size,
|
|
@@ -128,7 +128,6 @@ module Twilio
|
|
|
128
128
|
# @return [Page] Page of CredentialInstance
|
|
129
129
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
130
130
|
params = Twilio::Values.of({
|
|
131
|
-
|
|
132
131
|
'PageToken' => page_token,
|
|
133
132
|
'Page' => page_number,
|
|
134
133
|
'PageSize' => page_size,
|
|
@@ -151,15 +151,12 @@ module Twilio
|
|
|
151
151
|
# @return [Page] Page of BindingInstance
|
|
152
152
|
def page(start_date: :unset, end_date: :unset, identity: :unset, tag: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
153
153
|
params = Twilio::Values.of({
|
|
154
|
-
|
|
155
154
|
'StartDate' => Twilio.serialize_iso8601_date(start_date),
|
|
156
|
-
|
|
157
155
|
'EndDate' => Twilio.serialize_iso8601_date(end_date),
|
|
158
156
|
|
|
159
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
160
|
-
|
|
161
|
-
'Tag' => Twilio.serialize_list(tag),
|
|
157
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
162
158
|
|
|
159
|
+
'Tag' => Twilio.serialize_list(tag) { |e| e },
|
|
163
160
|
'PageToken' => page_token,
|
|
164
161
|
'Page' => page_number,
|
|
165
162
|
'PageSize' => page_size,
|
|
@@ -154,9 +154,7 @@ module Twilio
|
|
|
154
154
|
# @return [Page] Page of ServiceInstance
|
|
155
155
|
def page(friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
156
156
|
params = Twilio::Values.of({
|
|
157
|
-
|
|
158
157
|
'FriendlyName' => friendly_name,
|
|
159
|
-
|
|
160
158
|
'PageToken' => page_token,
|
|
161
159
|
'Page' => page_number,
|
|
162
160
|
'PageSize' => page_size,
|
data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
CHANGED
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
|
|
40
40
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
41
41
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
42
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
42
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
43
43
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
44
44
|
# guarantees to never return more than limit. Default is no limit
|
|
45
45
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -65,7 +65,7 @@ module Twilio
|
|
|
65
65
|
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
|
|
66
66
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
67
67
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
68
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
68
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
69
69
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
70
70
|
# guarantees to never return more than limit. Default is no limit
|
|
71
71
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -106,22 +106,17 @@ module Twilio
|
|
|
106
106
|
# @param [Status] status Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses.
|
|
107
107
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
108
108
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
109
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
109
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
110
110
|
# @param [String] page_token PageToken provided by the API
|
|
111
111
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
112
112
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
113
113
|
# @return [Page] Page of DependentHostedNumberOrderInstance
|
|
114
114
|
def page(status: :unset, phone_number: :unset, incoming_phone_number_sid: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
115
115
|
params = Twilio::Values.of({
|
|
116
|
-
|
|
117
116
|
'Status' => status,
|
|
118
|
-
|
|
119
117
|
'PhoneNumber' => phone_number,
|
|
120
|
-
|
|
121
118
|
'IncomingPhoneNumberSid' => incoming_phone_number_sid,
|
|
122
|
-
|
|
123
119
|
'FriendlyName' => friendly_name,
|
|
124
|
-
|
|
125
120
|
'PageToken' => page_token,
|
|
126
121
|
'Page' => page_number,
|
|
127
122
|
'PageSize' => page_size,
|
|
@@ -273,7 +268,7 @@ module Twilio
|
|
|
273
268
|
end
|
|
274
269
|
|
|
275
270
|
##
|
|
276
|
-
# @return [String] A human readable description of this resource, up to
|
|
271
|
+
# @return [String] A human readable description of this resource, up to 128 characters.
|
|
277
272
|
def friendly_name
|
|
278
273
|
@properties['friendly_name']
|
|
279
274
|
end
|
|
@@ -34,6 +34,7 @@ module Twilio
|
|
|
34
34
|
# @param [String] address_sid A 34 character string that uniquely identifies the Address resource that is associated with this AuthorizationDocument.
|
|
35
35
|
# @param [String] email Email that this AuthorizationDocument will be sent to for signing.
|
|
36
36
|
# @param [String] contact_phone_number The contact phone number of the person authorized to sign the Authorization Document.
|
|
37
|
+
# @param [Array[String]] hosted_number_order_sids A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio's platform.
|
|
37
38
|
# @param [String] contact_title The title of the person authorized to sign the Authorization Document for this phone number.
|
|
38
39
|
# @param [Array[String]] cc_emails Email recipients who will be informed when an Authorization Document has been sent and signed.
|
|
39
40
|
# @return [AuthorizationDocumentInstance] Created AuthorizationDocumentInstance
|
|
@@ -41,6 +42,7 @@ module Twilio
|
|
|
41
42
|
address_sid: nil,
|
|
42
43
|
email: nil,
|
|
43
44
|
contact_phone_number: nil,
|
|
45
|
+
hosted_number_order_sids: nil,
|
|
44
46
|
contact_title: :unset,
|
|
45
47
|
cc_emails: :unset
|
|
46
48
|
)
|
|
@@ -49,6 +51,7 @@ module Twilio
|
|
|
49
51
|
'AddressSid' => address_sid,
|
|
50
52
|
'Email' => email,
|
|
51
53
|
'ContactPhoneNumber' => contact_phone_number,
|
|
54
|
+
'HostedNumberOrderSids' => Twilio.serialize_list(hosted_number_order_sids) { |e| e },
|
|
52
55
|
'ContactTitle' => contact_title,
|
|
53
56
|
'CcEmails' => Twilio.serialize_list(cc_emails) { |e| e },
|
|
54
57
|
})
|
|
@@ -132,11 +135,8 @@ module Twilio
|
|
|
132
135
|
# @return [Page] Page of AuthorizationDocumentInstance
|
|
133
136
|
def page(email: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
134
137
|
params = Twilio::Values.of({
|
|
135
|
-
|
|
136
138
|
'Email' => email,
|
|
137
|
-
|
|
138
139
|
'Status' => status,
|
|
139
|
-
|
|
140
140
|
'PageToken' => page_token,
|
|
141
141
|
'Page' => page_number,
|
|
142
142
|
'PageSize' => page_size,
|
|
@@ -36,7 +36,7 @@ module Twilio
|
|
|
36
36
|
# @param [String] address_sid Optional. A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number.
|
|
37
37
|
# @param [String] email Optional. Email of the owner of this phone number that is being hosted.
|
|
38
38
|
# @param [String] account_sid This defaults to the AccountSid of the authorization the user is using. This can be provided to specify a subaccount to add the HostedNumberOrder to.
|
|
39
|
-
# @param [String] friendly_name A
|
|
39
|
+
# @param [String] friendly_name A 128 character string that is a human readable text that describes this resource.
|
|
40
40
|
# @param [Array[String]] cc_emails Optional. A list of emails that the LOA document for this HostedNumberOrder will be carbon copied to.
|
|
41
41
|
# @param [String] sms_url The URL that Twilio should request when somebody sends an SMS to the phone number. This will be copied onto the IncomingPhoneNumber resource.
|
|
42
42
|
# @param [String] sms_method The HTTP method that should be used to request the SmsUrl. Must be either `GET` or `POST`. This will be copied onto the IncomingPhoneNumber resource.
|
|
@@ -102,7 +102,7 @@ module Twilio
|
|
|
102
102
|
# @param [Boolean] sms_capability Whether the SMS capability will be hosted on our platform. Can be `true` of `false`.
|
|
103
103
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
104
104
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
105
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
105
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
106
106
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
107
107
|
# guarantees to never return more than limit. Default is no limit
|
|
108
108
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -130,7 +130,7 @@ module Twilio
|
|
|
130
130
|
# @param [Boolean] sms_capability Whether the SMS capability will be hosted on our platform. Can be `true` of `false`.
|
|
131
131
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
132
132
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
133
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
133
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
134
134
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
135
135
|
# guarantees to never return more than limit. Default is no limit
|
|
136
136
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -173,24 +173,18 @@ module Twilio
|
|
|
173
173
|
# @param [Boolean] sms_capability Whether the SMS capability will be hosted on our platform. Can be `true` of `false`.
|
|
174
174
|
# @param [String] phone_number An E164 formatted phone number hosted by this HostedNumberOrder.
|
|
175
175
|
# @param [String] incoming_phone_number_sid A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder.
|
|
176
|
-
# @param [String] friendly_name A human readable description of this resource, up to
|
|
176
|
+
# @param [String] friendly_name A human readable description of this resource, up to 128 characters.
|
|
177
177
|
# @param [String] page_token PageToken provided by the API
|
|
178
178
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
179
179
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
180
180
|
# @return [Page] Page of HostedNumberOrderInstance
|
|
181
181
|
def page(status: :unset, sms_capability: :unset, phone_number: :unset, incoming_phone_number_sid: :unset, friendly_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
182
182
|
params = Twilio::Values.of({
|
|
183
|
-
|
|
184
183
|
'Status' => status,
|
|
185
|
-
|
|
186
184
|
'SmsCapability' => sms_capability,
|
|
187
|
-
|
|
188
185
|
'PhoneNumber' => phone_number,
|
|
189
|
-
|
|
190
186
|
'IncomingPhoneNumberSid' => incoming_phone_number_sid,
|
|
191
|
-
|
|
192
187
|
'FriendlyName' => friendly_name,
|
|
193
|
-
|
|
194
188
|
'PageToken' => page_token,
|
|
195
189
|
'Page' => page_number,
|
|
196
190
|
'PageSize' => page_size,
|
|
@@ -331,7 +325,6 @@ module Twilio
|
|
|
331
325
|
'status' => payload['status'],
|
|
332
326
|
'failure_reason' => payload['failure_reason'],
|
|
333
327
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
|
334
|
-
'sms_capability' => payload['sms_capability'],
|
|
335
328
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
|
336
329
|
'email' => payload['email'],
|
|
337
330
|
'cc_emails' => payload['cc_emails'],
|
|
@@ -401,7 +394,7 @@ module Twilio
|
|
|
401
394
|
end
|
|
402
395
|
|
|
403
396
|
##
|
|
404
|
-
# @return [String] A
|
|
397
|
+
# @return [String] A 128 character string that is a human-readable text that describes this resource.
|
|
405
398
|
def friendly_name
|
|
406
399
|
@properties['friendly_name']
|
|
407
400
|
end
|
|
@@ -424,12 +417,6 @@ module Twilio
|
|
|
424
417
|
@properties['date_created']
|
|
425
418
|
end
|
|
426
419
|
|
|
427
|
-
##
|
|
428
|
-
# @return [Boolean] Whether the SMS capability will be hosted on our platform. Can be `true` of `false`.
|
|
429
|
-
def sms_capability
|
|
430
|
-
@properties['sms_capability']
|
|
431
|
-
end
|
|
432
|
-
|
|
433
420
|
##
|
|
434
421
|
# @return [Time] The date that this resource was updated, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
|
|
435
422
|
def date_updated
|
|
@@ -114,7 +114,6 @@ module Twilio
|
|
|
114
114
|
# @return [Page] Page of BundleCopyInstance
|
|
115
115
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
116
116
|
params = Twilio::Values.of({
|
|
117
|
-
|
|
118
117
|
'PageToken' => page_token,
|
|
119
118
|
'Page' => page_number,
|
|
120
119
|
'PageSize' => page_size,
|
|
@@ -107,7 +107,6 @@ module Twilio
|
|
|
107
107
|
# @return [Page] Page of EvaluationInstance
|
|
108
108
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
109
109
|
params = Twilio::Values.of({
|
|
110
|
-
|
|
111
110
|
'PageToken' => page_token,
|
|
112
111
|
'Page' => page_number,
|
|
113
112
|
'PageSize' => page_size,
|
|
@@ -114,7 +114,6 @@ module Twilio
|
|
|
114
114
|
# @return [Page] Page of ItemAssignmentInstance
|
|
115
115
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
116
116
|
params = Twilio::Values.of({
|
|
117
|
-
|
|
118
117
|
'PageToken' => page_token,
|
|
119
118
|
'Page' => page_number,
|
|
120
119
|
'PageSize' => page_size,
|
|
@@ -185,29 +185,17 @@ module Twilio
|
|
|
185
185
|
# @return [Page] Page of BundleInstance
|
|
186
186
|
def page(status: :unset, friendly_name: :unset, regulation_sid: :unset, iso_country: :unset, number_type: :unset, has_valid_until_date: :unset, sort_by: :unset, sort_direction: :unset, valid_until_date: :unset, valid_until_date_before: :unset, valid_until_date_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
187
187
|
params = Twilio::Values.of({
|
|
188
|
-
|
|
189
188
|
'Status' => status,
|
|
190
|
-
|
|
191
189
|
'FriendlyName' => friendly_name,
|
|
192
|
-
|
|
193
190
|
'RegulationSid' => regulation_sid,
|
|
194
|
-
|
|
195
191
|
'IsoCountry' => iso_country,
|
|
196
|
-
|
|
197
192
|
'NumberType' => number_type,
|
|
198
|
-
|
|
199
193
|
'HasValidUntilDate' => has_valid_until_date,
|
|
200
|
-
|
|
201
194
|
'SortBy' => sort_by,
|
|
202
|
-
|
|
203
195
|
'SortDirection' => sort_direction,
|
|
204
|
-
|
|
205
196
|
'ValidUntilDate' => Twilio.serialize_iso8601_datetime(valid_until_date),
|
|
206
|
-
|
|
207
197
|
'ValidUntilDate<' => Twilio.serialize_iso8601_datetime(valid_until_date_before),
|
|
208
|
-
|
|
209
198
|
'ValidUntilDate>' => Twilio.serialize_iso8601_datetime(valid_until_date_after),
|
|
210
|
-
|
|
211
199
|
'PageToken' => page_token,
|
|
212
200
|
'Page' => page_number,
|
|
213
201
|
'PageSize' => page_size,
|
|
@@ -118,7 +118,6 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of EndUserInstance
|
|
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,
|
|
@@ -108,13 +108,9 @@ module Twilio
|
|
|
108
108
|
# @return [Page] Page of RegulationInstance
|
|
109
109
|
def page(end_user_type: :unset, iso_country: :unset, number_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
110
110
|
params = Twilio::Values.of({
|
|
111
|
-
|
|
112
111
|
'EndUserType' => end_user_type,
|
|
113
|
-
|
|
114
112
|
'IsoCountry' => iso_country,
|
|
115
|
-
|
|
116
113
|
'NumberType' => number_type,
|
|
117
|
-
|
|
118
114
|
'PageToken' => page_token,
|
|
119
115
|
'Page' => page_number,
|
|
120
116
|
'PageSize' => page_size,
|
|
@@ -118,7 +118,6 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of SupportingDocumentInstance
|
|
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,
|
|
@@ -93,7 +93,6 @@ module Twilio
|
|
|
93
93
|
# @return [Page] Page of SupportingDocumentTypeInstance
|
|
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,
|
|
@@ -124,9 +124,7 @@ module Twilio
|
|
|
124
124
|
# @return [Page] Page of CertificateInstance
|
|
125
125
|
def page(device_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
126
126
|
params = Twilio::Values.of({
|
|
127
|
-
|
|
128
127
|
'DeviceSid' => device_sid,
|
|
129
|
-
|
|
130
128
|
'PageToken' => page_token,
|
|
131
129
|
'Page' => page_number,
|
|
132
130
|
'PageSize' => page_size,
|
|
@@ -116,7 +116,6 @@ module Twilio
|
|
|
116
116
|
# @return [Page] Page of DeploymentInstance
|
|
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,
|
|
@@ -130,9 +130,7 @@ module Twilio
|
|
|
130
130
|
# @return [Page] Page of DeviceInstance
|
|
131
131
|
def page(deployment_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
132
132
|
params = Twilio::Values.of({
|
|
133
|
-
|
|
134
133
|
'DeploymentSid' => deployment_sid,
|
|
135
|
-
|
|
136
134
|
'PageToken' => page_token,
|
|
137
135
|
'Page' => page_number,
|
|
138
136
|
'PageSize' => page_size,
|
|
@@ -121,9 +121,7 @@ module Twilio
|
|
|
121
121
|
# @return [Page] Page of KeyInstance
|
|
122
122
|
def page(device_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
123
123
|
params = Twilio::Values.of({
|
|
124
|
-
|
|
125
124
|
'DeviceSid' => device_sid,
|
|
126
|
-
|
|
127
125
|
'PageToken' => page_token,
|
|
128
126
|
'Page' => page_number,
|
|
129
127
|
'PageSize' => page_size,
|
|
@@ -118,17 +118,11 @@ module Twilio
|
|
|
118
118
|
# @return [Page] Page of DependentHostedNumberOrderInstance
|
|
119
119
|
def page(status: :unset, phone_number: :unset, incoming_phone_number_sid: :unset, friendly_name: :unset, unique_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
120
120
|
params = Twilio::Values.of({
|
|
121
|
-
|
|
122
121
|
'Status' => status,
|
|
123
|
-
|
|
124
122
|
'PhoneNumber' => phone_number,
|
|
125
|
-
|
|
126
123
|
'IncomingPhoneNumberSid' => incoming_phone_number_sid,
|
|
127
|
-
|
|
128
124
|
'FriendlyName' => friendly_name,
|
|
129
|
-
|
|
130
125
|
'UniqueName' => unique_name,
|
|
131
|
-
|
|
132
126
|
'PageToken' => page_token,
|
|
133
127
|
'Page' => page_number,
|
|
134
128
|
'PageSize' => page_size,
|
|
@@ -135,11 +135,8 @@ module Twilio
|
|
|
135
135
|
# @return [Page] Page of AuthorizationDocumentInstance
|
|
136
136
|
def page(email: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
137
137
|
params = Twilio::Values.of({
|
|
138
|
-
|
|
139
138
|
'Email' => email,
|
|
140
|
-
|
|
141
139
|
'Status' => status,
|
|
142
|
-
|
|
143
140
|
'PageToken' => page_token,
|
|
144
141
|
'Page' => page_number,
|
|
145
142
|
'PageSize' => page_size,
|
|
@@ -183,17 +183,11 @@ module Twilio
|
|
|
183
183
|
# @return [Page] Page of HostedNumberOrderInstance
|
|
184
184
|
def page(status: :unset, phone_number: :unset, incoming_phone_number_sid: :unset, friendly_name: :unset, unique_name: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
185
185
|
params = Twilio::Values.of({
|
|
186
|
-
|
|
187
186
|
'Status' => status,
|
|
188
|
-
|
|
189
187
|
'PhoneNumber' => phone_number,
|
|
190
|
-
|
|
191
188
|
'IncomingPhoneNumberSid' => incoming_phone_number_sid,
|
|
192
|
-
|
|
193
189
|
'FriendlyName' => friendly_name,
|
|
194
|
-
|
|
195
190
|
'UniqueName' => unique_name,
|
|
196
|
-
|
|
197
191
|
'PageToken' => page_token,
|
|
198
192
|
'Page' => page_number,
|
|
199
193
|
'PageSize' => page_size,
|
data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb
CHANGED
|
@@ -93,7 +93,6 @@ module Twilio
|
|
|
93
93
|
# @return [Page] Page of AvailableAddOnExtensionInstance
|
|
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,
|
data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb
CHANGED
|
@@ -93,7 +93,6 @@ module Twilio
|
|
|
93
93
|
# @return [Page] Page of InstalledAddOnExtensionInstance
|
|
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,
|