twilio-ruby 6.9.1 → 6.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +102 -0
- data/Gemfile +2 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +5 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +5 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +1 -0
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -0
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -34
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +4 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +3 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +1 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +2 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -0
- data/lib/twilio-ruby/rest/content/v1/content.rb +3 -0
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -0
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +1 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +14 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +2 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +3 -0
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +1 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +1 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +3 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +8 -6
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +4 -0
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +3 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +3 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +4 -0
- data/lib/twilio-ruby/rest/media.rb +3 -32
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +108 -3
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +16 -4
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +3 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +3 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -0
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +4 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +3 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +1 -0
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +3 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +1 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +5 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +1 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +5 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +3 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +5 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +3 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +3 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +1 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +3 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +4 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +3 -0
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +3 -0
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +3 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +3 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +3 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +3 -0
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -0
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +1 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +1 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +3 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +7 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +258 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +3 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +3 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +6 -0
- data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +3 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +4 -0
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +5 -0
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +6 -3
- data/lib/twilio-ruby/rest/video/v1/recording.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +6 -3
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +4 -0
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +1 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +3 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -0
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +5 -0
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +4 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +5 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +1 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +1 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +4 -0
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +1 -0
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +0 -264
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +0 -328
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class DeactivationsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the DeactivationsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -64,6 +65,7 @@ module Twilio
|
|
64
65
|
params = Twilio::Values.of({
|
65
66
|
'Date' => Twilio.serialize_iso8601_date(date),
|
66
67
|
})
|
68
|
+
|
67
69
|
payload = @version.fetch('GET', @uri, params: params)
|
68
70
|
DeactivationsInstance.new(
|
69
71
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class DomainCertsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the DomainCertsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -61,6 +62,7 @@ module Twilio
|
|
61
62
|
# @return [Boolean] True if delete succeeds, false otherwise
|
62
63
|
def delete
|
63
64
|
|
65
|
+
|
64
66
|
@version.delete('DELETE', @uri)
|
65
67
|
end
|
66
68
|
|
@@ -69,6 +71,7 @@ module Twilio
|
|
69
71
|
# @return [DomainCertsInstance] Fetched DomainCertsInstance
|
70
72
|
def fetch
|
71
73
|
|
74
|
+
|
72
75
|
payload = @version.fetch('GET', @uri)
|
73
76
|
DomainCertsInstance.new(
|
74
77
|
@version,
|
@@ -89,6 +92,7 @@ module Twilio
|
|
89
92
|
'TlsCert' => tls_cert,
|
90
93
|
})
|
91
94
|
|
95
|
+
|
92
96
|
payload = @version.update('POST', @uri, data: data)
|
93
97
|
DomainCertsInstance.new(
|
94
98
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class DomainConfigList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the DomainConfigList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -61,6 +62,7 @@ module Twilio
|
|
61
62
|
# @return [DomainConfigInstance] Fetched DomainConfigInstance
|
62
63
|
def fetch
|
63
64
|
|
65
|
+
|
64
66
|
payload = @version.fetch('GET', @uri)
|
65
67
|
DomainConfigInstance.new(
|
66
68
|
@version,
|
@@ -90,6 +92,7 @@ module Twilio
|
|
90
92
|
'DisableHttps' => disable_https,
|
91
93
|
})
|
92
94
|
|
95
|
+
|
93
96
|
payload = @version.update('POST', @uri, data: data)
|
94
97
|
DomainConfigInstance.new(
|
95
98
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class DomainConfigMessagingServiceList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the DomainConfigMessagingServiceList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -61,6 +62,7 @@ module Twilio
|
|
61
62
|
# @return [DomainConfigMessagingServiceInstance] Fetched DomainConfigMessagingServiceInstance
|
62
63
|
def fetch
|
63
64
|
|
65
|
+
|
64
66
|
payload = @version.fetch('GET', @uri)
|
65
67
|
DomainConfigMessagingServiceInstance.new(
|
66
68
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class ExternalCampaignList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ExternalCampaignList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'MessagingServiceSid' => messaging_service_sid,
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
ExternalCampaignInstance.new(
|
49
51
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class LinkshorteningMessagingServiceList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the LinkshorteningMessagingServiceList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -62,6 +63,7 @@ module Twilio
|
|
62
63
|
# @return [LinkshorteningMessagingServiceInstance] Created LinkshorteningMessagingServiceInstance
|
63
64
|
def create
|
64
65
|
|
66
|
+
|
65
67
|
payload = @version.create('POST', @uri)
|
66
68
|
LinkshorteningMessagingServiceInstance.new(
|
67
69
|
@version,
|
@@ -76,6 +78,7 @@ module Twilio
|
|
76
78
|
# @return [Boolean] True if delete succeeds, false otherwise
|
77
79
|
def delete
|
78
80
|
|
81
|
+
|
79
82
|
@version.delete('DELETE', @uri)
|
80
83
|
end
|
81
84
|
|
data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb
CHANGED
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class LinkshorteningMessagingServiceDomainAssociationList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the LinkshorteningMessagingServiceDomainAssociationList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -61,6 +62,7 @@ module Twilio
|
|
61
62
|
# @return [LinkshorteningMessagingServiceDomainAssociationInstance] Fetched LinkshorteningMessagingServiceDomainAssociationInstance
|
62
63
|
def fetch
|
63
64
|
|
65
|
+
|
64
66
|
payload = @version.fetch('GET', @uri)
|
65
67
|
LinkshorteningMessagingServiceDomainAssociationInstance.new(
|
66
68
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class AlphaSenderList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the AlphaSenderList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'AlphaSender' => alpha_sender,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
AlphaSenderInstance.new(
|
48
50
|
@version,
|
@@ -168,6 +170,7 @@ module Twilio
|
|
168
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
169
171
|
def delete
|
170
172
|
|
173
|
+
|
171
174
|
@version.delete('DELETE', @uri)
|
172
175
|
end
|
173
176
|
|
@@ -176,6 +179,7 @@ module Twilio
|
|
176
179
|
# @return [AlphaSenderInstance] Fetched AlphaSenderInstance
|
177
180
|
def fetch
|
178
181
|
|
182
|
+
|
179
183
|
payload = @version.fetch('GET', @uri)
|
180
184
|
AlphaSenderInstance.new(
|
181
185
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class ChannelSenderList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ChannelSenderList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [ChannelSenderInstance] Fetched ChannelSenderInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
ChannelSenderInstance.new(
|
153
155
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class PhoneNumberList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the PhoneNumberList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'PhoneNumberSid' => phone_number_sid,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
PhoneNumberInstance.new(
|
48
50
|
@version,
|
@@ -168,6 +170,7 @@ module Twilio
|
|
168
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
169
171
|
def delete
|
170
172
|
|
173
|
+
|
171
174
|
@version.delete('DELETE', @uri)
|
172
175
|
end
|
173
176
|
|
@@ -176,6 +179,7 @@ module Twilio
|
|
176
179
|
# @return [PhoneNumberInstance] Fetched PhoneNumberInstance
|
177
180
|
def fetch
|
178
181
|
|
182
|
+
|
179
183
|
payload = @version.fetch('GET', @uri)
|
180
184
|
PhoneNumberInstance.new(
|
181
185
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class ShortCodeList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ShortCodeList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'ShortCodeSid' => short_code_sid,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
ShortCodeInstance.new(
|
48
50
|
@version,
|
@@ -168,6 +170,7 @@ module Twilio
|
|
168
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
169
171
|
def delete
|
170
172
|
|
173
|
+
|
171
174
|
@version.delete('DELETE', @uri)
|
172
175
|
end
|
173
176
|
|
@@ -176,6 +179,7 @@ module Twilio
|
|
176
179
|
# @return [ShortCodeInstance] Fetched ShortCodeInstance
|
177
180
|
def fetch
|
178
181
|
|
182
|
+
|
179
183
|
payload = @version.fetch('GET', @uri)
|
180
184
|
ShortCodeInstance.new(
|
181
185
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class UsAppToPersonList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the UsAppToPersonList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,9 @@ module Twilio
|
|
46
47
|
# @param [Array[String]] opt_in_keywords If end users can text in a keyword to start receiving messages from this campaign, those keywords must be provided. This field is required if end users can text in a keyword to start receiving messages from this campaign. Values must be alphanumeric. 255 character maximum.
|
47
48
|
# @param [Array[String]] opt_out_keywords End users should be able to text in a keyword to stop receiving messages from this campaign. Those keywords must be provided. This field is required if managing opt out keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.
|
48
49
|
# @param [Array[String]] help_keywords End users should be able to text in a keyword to receive help. Those keywords must be provided as part of the campaign registration request. This field is required if managing help keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.
|
50
|
+
# @param [Boolean] subscriber_opt_in A boolean that specifies whether campaign has Subscriber Optin or not.
|
51
|
+
# @param [Boolean] age_gated A boolean that specifies whether campaign is age gated or not.
|
52
|
+
# @param [Boolean] direct_lending A boolean that specifies whether campaign allows direct lending or not.
|
49
53
|
# @return [UsAppToPersonInstance] Created UsAppToPersonInstance
|
50
54
|
def create(
|
51
55
|
brand_registration_sid: nil,
|
@@ -60,7 +64,10 @@ module Twilio
|
|
60
64
|
help_message: :unset,
|
61
65
|
opt_in_keywords: :unset,
|
62
66
|
opt_out_keywords: :unset,
|
63
|
-
help_keywords: :unset
|
67
|
+
help_keywords: :unset,
|
68
|
+
subscriber_opt_in: :unset,
|
69
|
+
age_gated: :unset,
|
70
|
+
direct_lending: :unset
|
64
71
|
)
|
65
72
|
|
66
73
|
data = Twilio::Values.of({
|
@@ -77,8 +84,12 @@ module Twilio
|
|
77
84
|
'OptInKeywords' => Twilio.serialize_list(opt_in_keywords) { |e| e },
|
78
85
|
'OptOutKeywords' => Twilio.serialize_list(opt_out_keywords) { |e| e },
|
79
86
|
'HelpKeywords' => Twilio.serialize_list(help_keywords) { |e| e },
|
87
|
+
'SubscriberOptIn' => subscriber_opt_in,
|
88
|
+
'AgeGated' => age_gated,
|
89
|
+
'DirectLending' => direct_lending,
|
80
90
|
})
|
81
91
|
|
92
|
+
|
82
93
|
payload = @version.create('POST', @uri, data: data)
|
83
94
|
UsAppToPersonInstance.new(
|
84
95
|
@version,
|
@@ -187,8 +198,8 @@ module Twilio
|
|
187
198
|
##
|
188
199
|
# Initialize the UsAppToPersonContext
|
189
200
|
# @param [Version] version Version that contains the resource
|
190
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api
|
191
|
-
# @param [String] sid The SID of the US A2P Compliance resource to
|
201
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to update the resource from.
|
202
|
+
# @param [String] sid The SID of the US A2P Compliance resource to update `QE2c6890da8086d771620e9b13fadeba0b`.
|
192
203
|
# @return [UsAppToPersonContext] UsAppToPersonContext
|
193
204
|
def initialize(version, messaging_service_sid, sid)
|
194
205
|
super(version)
|
@@ -204,6 +215,7 @@ module Twilio
|
|
204
215
|
# @return [Boolean] True if delete succeeds, false otherwise
|
205
216
|
def delete
|
206
217
|
|
218
|
+
|
207
219
|
@version.delete('DELETE', @uri)
|
208
220
|
end
|
209
221
|
|
@@ -212,6 +224,7 @@ module Twilio
|
|
212
224
|
# @return [UsAppToPersonInstance] Fetched UsAppToPersonInstance
|
213
225
|
def fetch
|
214
226
|
|
227
|
+
|
215
228
|
payload = @version.fetch('GET', @uri)
|
216
229
|
UsAppToPersonInstance.new(
|
217
230
|
@version,
|
@@ -221,6 +234,46 @@ module Twilio
|
|
221
234
|
)
|
222
235
|
end
|
223
236
|
|
237
|
+
##
|
238
|
+
# Update the UsAppToPersonInstance
|
239
|
+
# @param [Boolean] has_embedded_links Indicates that this SMS campaign will send messages that contain links.
|
240
|
+
# @param [Boolean] has_embedded_phone Indicates that this SMS campaign will send messages that contain phone numbers.
|
241
|
+
# @param [Array[String]] message_samples An array of sample message strings, min two and max five. Min length for each sample: 20 chars. Max length for each sample: 1024 chars.
|
242
|
+
# @param [String] message_flow Required for all Campaigns. Details around how a consumer opts-in to their campaign, therefore giving consent to receive their messages. If multiple opt-in methods can be used for the same campaign, they must all be listed. 40 character minimum. 2048 character maximum.
|
243
|
+
# @param [String] description A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters.
|
244
|
+
# @param [Boolean] age_gated A boolean that specifies whether campaign requires age gate for federally legal content.
|
245
|
+
# @param [Boolean] direct_lending A boolean that specifies whether campaign allows direct lending or not.
|
246
|
+
# @return [UsAppToPersonInstance] Updated UsAppToPersonInstance
|
247
|
+
def update(
|
248
|
+
has_embedded_links: nil,
|
249
|
+
has_embedded_phone: nil,
|
250
|
+
message_samples: nil,
|
251
|
+
message_flow: nil,
|
252
|
+
description: nil,
|
253
|
+
age_gated: nil,
|
254
|
+
direct_lending: nil
|
255
|
+
)
|
256
|
+
|
257
|
+
data = Twilio::Values.of({
|
258
|
+
'HasEmbeddedLinks' => has_embedded_links,
|
259
|
+
'HasEmbeddedPhone' => has_embedded_phone,
|
260
|
+
'MessageSamples' => Twilio.serialize_list(message_samples) { |e| e },
|
261
|
+
'MessageFlow' => message_flow,
|
262
|
+
'Description' => description,
|
263
|
+
'AgeGated' => age_gated,
|
264
|
+
'DirectLending' => direct_lending,
|
265
|
+
})
|
266
|
+
|
267
|
+
|
268
|
+
payload = @version.update('POST', @uri, data: data)
|
269
|
+
UsAppToPersonInstance.new(
|
270
|
+
@version,
|
271
|
+
payload,
|
272
|
+
messaging_service_sid: @solution[:messaging_service_sid],
|
273
|
+
sid: @solution[:sid],
|
274
|
+
)
|
275
|
+
end
|
276
|
+
|
224
277
|
|
225
278
|
##
|
226
279
|
# Provide a user friendly representation
|
@@ -289,6 +342,9 @@ module Twilio
|
|
289
342
|
'us_app_to_person_usecase' => payload['us_app_to_person_usecase'],
|
290
343
|
'has_embedded_links' => payload['has_embedded_links'],
|
291
344
|
'has_embedded_phone' => payload['has_embedded_phone'],
|
345
|
+
'subscriber_opt_in' => payload['subscriber_opt_in'],
|
346
|
+
'age_gated' => payload['age_gated'],
|
347
|
+
'direct_lending' => payload['direct_lending'],
|
292
348
|
'campaign_status' => payload['campaign_status'],
|
293
349
|
'campaign_id' => payload['campaign_id'],
|
294
350
|
'is_externally_registered' => payload['is_externally_registered'],
|
@@ -377,6 +433,24 @@ module Twilio
|
|
377
433
|
@properties['has_embedded_phone']
|
378
434
|
end
|
379
435
|
|
436
|
+
##
|
437
|
+
# @return [Boolean] A boolean that specifies whether campaign has Subscriber Optin or not.
|
438
|
+
def subscriber_opt_in
|
439
|
+
@properties['subscriber_opt_in']
|
440
|
+
end
|
441
|
+
|
442
|
+
##
|
443
|
+
# @return [Boolean] A boolean that specifies whether campaign is age gated or not.
|
444
|
+
def age_gated
|
445
|
+
@properties['age_gated']
|
446
|
+
end
|
447
|
+
|
448
|
+
##
|
449
|
+
# @return [Boolean] A boolean that specifies whether campaign allows direct lending or not.
|
450
|
+
def direct_lending
|
451
|
+
@properties['direct_lending']
|
452
|
+
end
|
453
|
+
|
380
454
|
##
|
381
455
|
# @return [String] Campaign status. Examples: IN_PROGRESS, VERIFIED, FAILED.
|
382
456
|
def campaign_status
|
@@ -489,6 +563,37 @@ module Twilio
|
|
489
563
|
context.fetch
|
490
564
|
end
|
491
565
|
|
566
|
+
##
|
567
|
+
# Update the UsAppToPersonInstance
|
568
|
+
# @param [Boolean] has_embedded_links Indicates that this SMS campaign will send messages that contain links.
|
569
|
+
# @param [Boolean] has_embedded_phone Indicates that this SMS campaign will send messages that contain phone numbers.
|
570
|
+
# @param [Array[String]] message_samples An array of sample message strings, min two and max five. Min length for each sample: 20 chars. Max length for each sample: 1024 chars.
|
571
|
+
# @param [String] message_flow Required for all Campaigns. Details around how a consumer opts-in to their campaign, therefore giving consent to receive their messages. If multiple opt-in methods can be used for the same campaign, they must all be listed. 40 character minimum. 2048 character maximum.
|
572
|
+
# @param [String] description A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters.
|
573
|
+
# @param [Boolean] age_gated A boolean that specifies whether campaign requires age gate for federally legal content.
|
574
|
+
# @param [Boolean] direct_lending A boolean that specifies whether campaign allows direct lending or not.
|
575
|
+
# @return [UsAppToPersonInstance] Updated UsAppToPersonInstance
|
576
|
+
def update(
|
577
|
+
has_embedded_links: nil,
|
578
|
+
has_embedded_phone: nil,
|
579
|
+
message_samples: nil,
|
580
|
+
message_flow: nil,
|
581
|
+
description: nil,
|
582
|
+
age_gated: nil,
|
583
|
+
direct_lending: nil
|
584
|
+
)
|
585
|
+
|
586
|
+
context.update(
|
587
|
+
has_embedded_links: has_embedded_links,
|
588
|
+
has_embedded_phone: has_embedded_phone,
|
589
|
+
message_samples: message_samples,
|
590
|
+
message_flow: message_flow,
|
591
|
+
description: description,
|
592
|
+
age_gated: age_gated,
|
593
|
+
direct_lending: direct_lending,
|
594
|
+
)
|
595
|
+
end
|
596
|
+
|
492
597
|
##
|
493
598
|
# Provide a user friendly representation
|
494
599
|
def to_s
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class UsAppToPersonUsecaseList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the UsAppToPersonUsecaseList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -42,6 +43,7 @@ module Twilio
|
|
42
43
|
params = Twilio::Values.of({
|
43
44
|
'BrandRegistrationSid' => brand_registration_sid,
|
44
45
|
})
|
46
|
+
|
45
47
|
payload = @version.fetch('GET', @uri, params: params)
|
46
48
|
UsAppToPersonUsecaseInstance.new(
|
47
49
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class ServiceList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ServiceList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -86,6 +87,7 @@ module Twilio
|
|
86
87
|
'UseInboundWebhookOnNumber' => use_inbound_webhook_on_number,
|
87
88
|
})
|
88
89
|
|
90
|
+
|
89
91
|
payload = @version.create('POST', @uri, data: data)
|
90
92
|
ServiceInstance.new(
|
91
93
|
@version,
|
@@ -215,6 +217,7 @@ module Twilio
|
|
215
217
|
# @return [Boolean] True if delete succeeds, false otherwise
|
216
218
|
def delete
|
217
219
|
|
220
|
+
|
218
221
|
@version.delete('DELETE', @uri)
|
219
222
|
end
|
220
223
|
|
@@ -223,6 +226,7 @@ module Twilio
|
|
223
226
|
# @return [ServiceInstance] Fetched ServiceInstance
|
224
227
|
def fetch
|
225
228
|
|
229
|
+
|
226
230
|
payload = @version.fetch('GET', @uri)
|
227
231
|
ServiceInstance.new(
|
228
232
|
@version,
|
@@ -288,6 +292,7 @@ module Twilio
|
|
288
292
|
'UseInboundWebhookOnNumber' => use_inbound_webhook_on_number,
|
289
293
|
})
|
290
294
|
|
295
|
+
|
291
296
|
payload = @version.update('POST', @uri, data: data)
|
292
297
|
ServiceInstance.new(
|
293
298
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class TollfreeVerificationList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the TollfreeVerificationList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -52,7 +53,7 @@ module Twilio
|
|
52
53
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
53
54
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
54
55
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
55
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
56
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
56
57
|
# @param [String] external_reference_id An optional external reference ID supplied by customer and echoed back on status retrieval.
|
57
58
|
# @return [TollfreeVerificationInstance] Created TollfreeVerificationInstance
|
58
59
|
def create(
|
@@ -107,6 +108,7 @@ module Twilio
|
|
107
108
|
'ExternalReferenceId' => external_reference_id,
|
108
109
|
})
|
109
110
|
|
111
|
+
|
110
112
|
payload = @version.create('POST', @uri, data: data)
|
111
113
|
TollfreeVerificationInstance.new(
|
112
114
|
@version,
|
@@ -242,6 +244,7 @@ module Twilio
|
|
242
244
|
# @return [Boolean] True if delete succeeds, false otherwise
|
243
245
|
def delete
|
244
246
|
|
247
|
+
|
245
248
|
@version.delete('DELETE', @uri)
|
246
249
|
end
|
247
250
|
|
@@ -250,6 +253,7 @@ module Twilio
|
|
250
253
|
# @return [TollfreeVerificationInstance] Fetched TollfreeVerificationInstance
|
251
254
|
def fetch
|
252
255
|
|
256
|
+
|
253
257
|
payload = @version.fetch('GET', @uri)
|
254
258
|
TollfreeVerificationInstance.new(
|
255
259
|
@version,
|
@@ -279,7 +283,7 @@ module Twilio
|
|
279
283
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
280
284
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
281
285
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
282
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
286
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
283
287
|
# @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
|
284
288
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
285
289
|
def update(
|
@@ -330,6 +334,7 @@ module Twilio
|
|
330
334
|
'EditReason' => edit_reason,
|
331
335
|
})
|
332
336
|
|
337
|
+
|
333
338
|
payload = @version.update('POST', @uri, data: data)
|
334
339
|
TollfreeVerificationInstance.new(
|
335
340
|
@version,
|
@@ -431,6 +436,7 @@ module Twilio
|
|
431
436
|
'error_code' => payload['error_code'] == nil ? payload['error_code'] : payload['error_code'].to_i,
|
432
437
|
'edit_expiration' => Twilio.deserialize_iso8601_datetime(payload['edit_expiration']),
|
433
438
|
'edit_allowed' => payload['edit_allowed'],
|
439
|
+
'rejection_reasons' => payload['rejection_reasons'],
|
434
440
|
'resource_links' => payload['resource_links'],
|
435
441
|
'external_reference_id' => payload['external_reference_id'],
|
436
442
|
}
|
@@ -560,7 +566,7 @@ module Twilio
|
|
560
566
|
end
|
561
567
|
|
562
568
|
##
|
563
|
-
# @return [String] The phone number of the contact for the business or organization using the Tollfree number.
|
569
|
+
# @return [String] The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
564
570
|
def business_contact_phone
|
565
571
|
@properties['business_contact_phone']
|
566
572
|
end
|
@@ -655,6 +661,12 @@ module Twilio
|
|
655
661
|
@properties['edit_allowed']
|
656
662
|
end
|
657
663
|
|
664
|
+
##
|
665
|
+
# @return [Array<Hash>] A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
|
666
|
+
def rejection_reasons
|
667
|
+
@properties['rejection_reasons']
|
668
|
+
end
|
669
|
+
|
658
670
|
##
|
659
671
|
# @return [Hash] The URLs of the documents associated with the Tollfree Verification resource.
|
660
672
|
def resource_links
|
@@ -704,7 +716,7 @@ module Twilio
|
|
704
716
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
705
717
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
706
718
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
707
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
719
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
708
720
|
# @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
|
709
721
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
710
722
|
def update(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class UsecaseList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the UsecaseList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -34,6 +35,7 @@ module Twilio
|
|
34
35
|
# @return [UsecaseInstance] Fetched UsecaseInstance
|
35
36
|
def fetch
|
36
37
|
|
38
|
+
|
37
39
|
payload = @version.fetch('GET', @uri)
|
38
40
|
UsecaseInstance.new(
|
39
41
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Microvisor < MicrovisorBase
|
19
19
|
class V1 < Version
|
20
20
|
class AccountConfigList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the AccountConfigList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'Value' => value,
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
AccountConfigInstance.new(
|
49
51
|
@version,
|
@@ -167,6 +169,7 @@ module Twilio
|
|
167
169
|
# @return [Boolean] True if delete succeeds, false otherwise
|
168
170
|
def delete
|
169
171
|
|
172
|
+
|
170
173
|
@version.delete('DELETE', @uri)
|
171
174
|
end
|
172
175
|
|
@@ -175,6 +178,7 @@ module Twilio
|
|
175
178
|
# @return [AccountConfigInstance] Fetched AccountConfigInstance
|
176
179
|
def fetch
|
177
180
|
|
181
|
+
|
178
182
|
payload = @version.fetch('GET', @uri)
|
179
183
|
AccountConfigInstance.new(
|
180
184
|
@version,
|
@@ -195,6 +199,7 @@ module Twilio
|
|
195
199
|
'Value' => value,
|
196
200
|
})
|
197
201
|
|
202
|
+
|
198
203
|
payload = @version.update('POST', @uri, data: data)
|
199
204
|
AccountConfigInstance.new(
|
200
205
|
@version,
|