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
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class InviteList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the InviteList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -47,6 +48,7 @@ module Twilio
|
|
47
48
|
'RoleSid' => role_sid,
|
48
49
|
})
|
49
50
|
|
51
|
+
|
50
52
|
payload = @version.create('POST', @uri, data: data)
|
51
53
|
InviteInstance.new(
|
52
54
|
@version,
|
@@ -179,6 +181,7 @@ module Twilio
|
|
179
181
|
# @return [Boolean] True if delete succeeds, false otherwise
|
180
182
|
def delete
|
181
183
|
|
184
|
+
|
182
185
|
@version.delete('DELETE', @uri)
|
183
186
|
end
|
184
187
|
|
@@ -187,6 +190,7 @@ module Twilio
|
|
187
190
|
# @return [InviteInstance] Fetched InviteInstance
|
188
191
|
def fetch
|
189
192
|
|
193
|
+
|
190
194
|
payload = @version.fetch('GET', @uri)
|
191
195
|
InviteInstance.new(
|
192
196
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class MemberList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the MemberList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -64,6 +65,7 @@ module Twilio
|
|
64
65
|
'Attributes' => attributes,
|
65
66
|
})
|
66
67
|
|
68
|
+
|
67
69
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
68
70
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
69
71
|
MemberInstance.new(
|
@@ -200,6 +202,7 @@ module Twilio
|
|
200
202
|
x_twilio_webhook_enabled: :unset
|
201
203
|
)
|
202
204
|
|
205
|
+
|
203
206
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
204
207
|
@version.delete('DELETE', @uri, headers: headers)
|
205
208
|
end
|
@@ -209,6 +212,7 @@ module Twilio
|
|
209
212
|
# @return [MemberInstance] Fetched MemberInstance
|
210
213
|
def fetch
|
211
214
|
|
215
|
+
|
212
216
|
payload = @version.fetch('GET', @uri)
|
213
217
|
MemberInstance.new(
|
214
218
|
@version,
|
@@ -248,6 +252,7 @@ module Twilio
|
|
248
252
|
'Attributes' => attributes,
|
249
253
|
})
|
250
254
|
|
255
|
+
|
251
256
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
252
257
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
253
258
|
MemberInstance.new(
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class MessageList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the MessageList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -64,6 +65,7 @@ module Twilio
|
|
64
65
|
'MediaSid' => media_sid,
|
65
66
|
})
|
66
67
|
|
68
|
+
|
67
69
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
68
70
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
69
71
|
MessageInstance.new(
|
@@ -199,6 +201,7 @@ module Twilio
|
|
199
201
|
x_twilio_webhook_enabled: :unset
|
200
202
|
)
|
201
203
|
|
204
|
+
|
202
205
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
203
206
|
@version.delete('DELETE', @uri, headers: headers)
|
204
207
|
end
|
@@ -208,6 +211,7 @@ module Twilio
|
|
208
211
|
# @return [MessageInstance] Fetched MessageInstance
|
209
212
|
def fetch
|
210
213
|
|
214
|
+
|
211
215
|
payload = @version.fetch('GET', @uri)
|
212
216
|
MessageInstance.new(
|
213
217
|
@version,
|
@@ -247,6 +251,7 @@ module Twilio
|
|
247
251
|
'From' => from,
|
248
252
|
})
|
249
253
|
|
254
|
+
|
250
255
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
251
256
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
252
257
|
MessageInstance.new(
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class WebhookList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the WebhookList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -62,6 +63,7 @@ module Twilio
|
|
62
63
|
'Configuration.RetryCount' => configuration_retry_count,
|
63
64
|
})
|
64
65
|
|
66
|
+
|
65
67
|
payload = @version.create('POST', @uri, data: data)
|
66
68
|
WebhookInstance.new(
|
67
69
|
@version,
|
@@ -187,6 +189,7 @@ module Twilio
|
|
187
189
|
# @return [Boolean] True if delete succeeds, false otherwise
|
188
190
|
def delete
|
189
191
|
|
192
|
+
|
190
193
|
@version.delete('DELETE', @uri)
|
191
194
|
end
|
192
195
|
|
@@ -195,6 +198,7 @@ module Twilio
|
|
195
198
|
# @return [WebhookInstance] Fetched WebhookInstance
|
196
199
|
def fetch
|
197
200
|
|
201
|
+
|
198
202
|
payload = @version.fetch('GET', @uri)
|
199
203
|
WebhookInstance.new(
|
200
204
|
@version,
|
@@ -232,6 +236,7 @@ module Twilio
|
|
232
236
|
'Configuration.RetryCount' => configuration_retry_count,
|
233
237
|
})
|
234
238
|
|
239
|
+
|
235
240
|
payload = @version.update('POST', @uri, data: data)
|
236
241
|
WebhookInstance.new(
|
237
242
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class ChannelList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ChannelList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -63,6 +64,7 @@ module Twilio
|
|
63
64
|
'CreatedBy' => created_by,
|
64
65
|
})
|
65
66
|
|
67
|
+
|
66
68
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
67
69
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
68
70
|
ChannelInstance.new(
|
@@ -201,6 +203,7 @@ module Twilio
|
|
201
203
|
x_twilio_webhook_enabled: :unset
|
202
204
|
)
|
203
205
|
|
206
|
+
|
204
207
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
205
208
|
@version.delete('DELETE', @uri, headers: headers)
|
206
209
|
end
|
@@ -210,6 +213,7 @@ module Twilio
|
|
210
213
|
# @return [ChannelInstance] Fetched ChannelInstance
|
211
214
|
def fetch
|
212
215
|
|
216
|
+
|
213
217
|
payload = @version.fetch('GET', @uri)
|
214
218
|
ChannelInstance.new(
|
215
219
|
@version,
|
@@ -248,6 +252,7 @@ module Twilio
|
|
248
252
|
'CreatedBy' => created_by,
|
249
253
|
})
|
250
254
|
|
255
|
+
|
251
256
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
252
257
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
253
258
|
ChannelInstance.new(
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class RoleList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the RoleList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -49,6 +50,7 @@ module Twilio
|
|
49
50
|
'Permission' => Twilio.serialize_list(permission) { |e| e },
|
50
51
|
})
|
51
52
|
|
53
|
+
|
52
54
|
payload = @version.create('POST', @uri, data: data)
|
53
55
|
RoleInstance.new(
|
54
56
|
@version,
|
@@ -172,6 +174,7 @@ module Twilio
|
|
172
174
|
# @return [Boolean] True if delete succeeds, false otherwise
|
173
175
|
def delete
|
174
176
|
|
177
|
+
|
175
178
|
@version.delete('DELETE', @uri)
|
176
179
|
end
|
177
180
|
|
@@ -180,6 +183,7 @@ module Twilio
|
|
180
183
|
# @return [RoleInstance] Fetched RoleInstance
|
181
184
|
def fetch
|
182
185
|
|
186
|
+
|
183
187
|
payload = @version.fetch('GET', @uri)
|
184
188
|
RoleInstance.new(
|
185
189
|
@version,
|
@@ -201,6 +205,7 @@ module Twilio
|
|
201
205
|
'Permission' => Twilio.serialize_list(permission) { |e| e },
|
202
206
|
})
|
203
207
|
|
208
|
+
|
204
209
|
payload = @version.update('POST', @uri, data: data)
|
205
210
|
RoleInstance.new(
|
206
211
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class UserContext < InstanceContext
|
22
22
|
|
23
23
|
class UserBindingList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the UserBindingList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -155,6 +156,7 @@ module Twilio
|
|
155
156
|
# @return [Boolean] True if delete succeeds, false otherwise
|
156
157
|
def delete
|
157
158
|
|
159
|
+
|
158
160
|
@version.delete('DELETE', @uri)
|
159
161
|
end
|
160
162
|
|
@@ -163,6 +165,7 @@ module Twilio
|
|
163
165
|
# @return [UserBindingInstance] Fetched UserBindingInstance
|
164
166
|
def fetch
|
165
167
|
|
168
|
+
|
166
169
|
payload = @version.fetch('GET', @uri)
|
167
170
|
UserBindingInstance.new(
|
168
171
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class UserContext < InstanceContext
|
22
22
|
|
23
23
|
class UserChannelList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the UserChannelList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [Boolean] True if delete succeeds, false otherwise
|
149
150
|
def delete
|
150
151
|
|
152
|
+
|
151
153
|
@version.delete('DELETE', @uri)
|
152
154
|
end
|
153
155
|
|
@@ -156,6 +158,7 @@ module Twilio
|
|
156
158
|
# @return [UserChannelInstance] Fetched UserChannelInstance
|
157
159
|
def fetch
|
158
160
|
|
161
|
+
|
159
162
|
payload = @version.fetch('GET', @uri)
|
160
163
|
UserChannelInstance.new(
|
161
164
|
@version,
|
@@ -184,6 +187,7 @@ module Twilio
|
|
184
187
|
'LastConsumptionTimestamp' => Twilio.serialize_iso8601_datetime(last_consumption_timestamp),
|
185
188
|
})
|
186
189
|
|
190
|
+
|
187
191
|
payload = @version.update('POST', @uri, data: data)
|
188
192
|
UserChannelInstance.new(
|
189
193
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class UserList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the UserList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -54,6 +55,7 @@ module Twilio
|
|
54
55
|
'FriendlyName' => friendly_name,
|
55
56
|
})
|
56
57
|
|
58
|
+
|
57
59
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
58
60
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
59
61
|
UserInstance.new(
|
@@ -180,6 +182,7 @@ module Twilio
|
|
180
182
|
# @return [Boolean] True if delete succeeds, false otherwise
|
181
183
|
def delete
|
182
184
|
|
185
|
+
|
183
186
|
@version.delete('DELETE', @uri)
|
184
187
|
end
|
185
188
|
|
@@ -188,6 +191,7 @@ module Twilio
|
|
188
191
|
# @return [UserInstance] Fetched UserInstance
|
189
192
|
def fetch
|
190
193
|
|
194
|
+
|
191
195
|
payload = @version.fetch('GET', @uri)
|
192
196
|
UserInstance.new(
|
193
197
|
@version,
|
@@ -217,6 +221,7 @@ module Twilio
|
|
217
221
|
'FriendlyName' => friendly_name,
|
218
222
|
})
|
219
223
|
|
224
|
+
|
220
225
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
221
226
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
222
227
|
UserInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class IpMessaging < IpMessagingBase
|
19
19
|
class V2 < Version
|
20
20
|
class ServiceList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ServiceList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -41,6 +42,7 @@ module Twilio
|
|
41
42
|
'FriendlyName' => friendly_name,
|
42
43
|
})
|
43
44
|
|
45
|
+
|
44
46
|
payload = @version.create('POST', @uri, data: data)
|
45
47
|
ServiceInstance.new(
|
46
48
|
@version,
|
@@ -166,6 +168,7 @@ module Twilio
|
|
166
168
|
# @return [Boolean] True if delete succeeds, false otherwise
|
167
169
|
def delete
|
168
170
|
|
171
|
+
|
169
172
|
@version.delete('DELETE', @uri)
|
170
173
|
end
|
171
174
|
|
@@ -174,6 +177,7 @@ module Twilio
|
|
174
177
|
# @return [ServiceInstance] Fetched ServiceInstance
|
175
178
|
def fetch
|
176
179
|
|
180
|
+
|
177
181
|
payload = @version.fetch('GET', @uri)
|
178
182
|
ServiceInstance.new(
|
179
183
|
@version,
|
@@ -284,6 +288,7 @@ module Twilio
|
|
284
288
|
'Notifications.LogEnabled' => notifications_log_enabled,
|
285
289
|
})
|
286
290
|
|
291
|
+
|
287
292
|
payload = @version.update('POST', @uri, data: data)
|
288
293
|
ServiceInstance.new(
|
289
294
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Lookups < LookupsBase
|
19
19
|
class V1 < Version
|
20
20
|
class PhoneNumberList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the PhoneNumberList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -74,6 +75,7 @@ module Twilio
|
|
74
75
|
'AddOns' => Twilio.serialize_list(add_ons) { |e| e },
|
75
76
|
})
|
76
77
|
params.merge!(Twilio.prefixed_collapsible_map(add_ons_data, 'AddOns'))
|
78
|
+
|
77
79
|
payload = @version.fetch('GET', @uri, params: params)
|
78
80
|
PhoneNumberInstance.new(
|
79
81
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Lookups < LookupsBase
|
19
19
|
class V2 < Version
|
20
20
|
class PhoneNumberList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the PhoneNumberList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -58,7 +59,7 @@ module Twilio
|
|
58
59
|
end
|
59
60
|
##
|
60
61
|
# Fetch the PhoneNumberInstance
|
61
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
62
|
+
# @param [String] fields A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score.
|
62
63
|
# @param [String] country_code The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
|
63
64
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
64
65
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
@@ -103,6 +104,7 @@ module Twilio
|
|
103
104
|
'DateOfBirth' => date_of_birth,
|
104
105
|
'LastVerifiedDate' => last_verified_date,
|
105
106
|
})
|
107
|
+
|
106
108
|
payload = @version.fetch('GET', @uri, params: params)
|
107
109
|
PhoneNumberInstance.new(
|
108
110
|
@version,
|
@@ -179,7 +181,7 @@ module Twilio
|
|
179
181
|
'caller_name' => payload['caller_name'],
|
180
182
|
'sim_swap' => payload['sim_swap'],
|
181
183
|
'call_forwarding' => payload['call_forwarding'],
|
182
|
-
'
|
184
|
+
'line_status' => payload['line_status'],
|
183
185
|
'line_type_intelligence' => payload['line_type_intelligence'],
|
184
186
|
'identity_match' => payload['identity_match'],
|
185
187
|
'reassigned_number' => payload['reassigned_number'],
|
@@ -259,9 +261,9 @@ module Twilio
|
|
259
261
|
end
|
260
262
|
|
261
263
|
##
|
262
|
-
# @return [Hash] An object that contains
|
263
|
-
def
|
264
|
-
@properties['
|
264
|
+
# @return [Hash] An object that contains line status information for a mobile phone number.
|
265
|
+
def line_status
|
266
|
+
@properties['line_status']
|
265
267
|
end
|
266
268
|
|
267
269
|
##
|
@@ -302,7 +304,7 @@ module Twilio
|
|
302
304
|
|
303
305
|
##
|
304
306
|
# Fetch the PhoneNumberInstance
|
305
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
307
|
+
# @param [String] fields A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score.
|
306
308
|
# @param [String] country_code The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
|
307
309
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
308
310
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Media < MediaBase
|
19
19
|
class V1 < Version
|
20
20
|
class MediaProcessorList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the MediaProcessorList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -56,6 +57,7 @@ module Twilio
|
|
56
57
|
'MaxDuration' => max_duration,
|
57
58
|
})
|
58
59
|
|
60
|
+
|
59
61
|
payload = @version.create('POST', @uri, data: data)
|
60
62
|
MediaProcessorInstance.new(
|
61
63
|
@version,
|
@@ -189,6 +191,7 @@ module Twilio
|
|
189
191
|
# @return [MediaProcessorInstance] Fetched MediaProcessorInstance
|
190
192
|
def fetch
|
191
193
|
|
194
|
+
|
192
195
|
payload = @version.fetch('GET', @uri)
|
193
196
|
MediaProcessorInstance.new(
|
194
197
|
@version,
|
@@ -209,6 +212,7 @@ module Twilio
|
|
209
212
|
'Status' => status,
|
210
213
|
})
|
211
214
|
|
215
|
+
|
212
216
|
payload = @version.update('POST', @uri, data: data)
|
213
217
|
MediaProcessorInstance.new(
|
214
218
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Media < MediaBase
|
19
19
|
class V1 < Version
|
20
20
|
class MediaRecordingList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the MediaRecordingList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -169,6 +170,7 @@ module Twilio
|
|
169
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
170
171
|
def delete
|
171
172
|
|
173
|
+
|
172
174
|
@version.delete('DELETE', @uri)
|
173
175
|
end
|
174
176
|
|
@@ -177,6 +179,7 @@ module Twilio
|
|
177
179
|
# @return [MediaRecordingInstance] Fetched MediaRecordingInstance
|
178
180
|
def fetch
|
179
181
|
|
182
|
+
|
180
183
|
payload = @version.fetch('GET', @uri)
|
181
184
|
MediaRecordingInstance.new(
|
182
185
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class PlayerStreamerContext < InstanceContext
|
21
21
|
|
22
22
|
class PlaybackGrantList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the PlaybackGrantList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -71,6 +72,7 @@ module Twilio
|
|
71
72
|
'AccessControlAllowOrigin' => access_control_allow_origin,
|
72
73
|
})
|
73
74
|
|
75
|
+
|
74
76
|
payload = @version.create('POST', @uri, data: data)
|
75
77
|
PlaybackGrantInstance.new(
|
76
78
|
@version,
|
@@ -84,6 +86,7 @@ module Twilio
|
|
84
86
|
# @return [PlaybackGrantInstance] Fetched PlaybackGrantInstance
|
85
87
|
def fetch
|
86
88
|
|
89
|
+
|
87
90
|
payload = @version.fetch('GET', @uri)
|
88
91
|
PlaybackGrantInstance.new(
|
89
92
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Media < MediaBase
|
19
19
|
class V1 < Version
|
20
20
|
class PlayerStreamerList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the PlayerStreamerList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -50,6 +51,7 @@ module Twilio
|
|
50
51
|
'MaxDuration' => max_duration,
|
51
52
|
})
|
52
53
|
|
54
|
+
|
53
55
|
payload = @version.create('POST', @uri, data: data)
|
54
56
|
PlayerStreamerInstance.new(
|
55
57
|
@version,
|
@@ -184,6 +186,7 @@ module Twilio
|
|
184
186
|
# @return [PlayerStreamerInstance] Fetched PlayerStreamerInstance
|
185
187
|
def fetch
|
186
188
|
|
189
|
+
|
187
190
|
payload = @version.fetch('GET', @uri)
|
188
191
|
PlayerStreamerInstance.new(
|
189
192
|
@version,
|
@@ -204,6 +207,7 @@ module Twilio
|
|
204
207
|
'Status' => status,
|
205
208
|
})
|
206
209
|
|
210
|
+
|
207
211
|
payload = @version.update('POST', @uri, data: data)
|
208
212
|
PlayerStreamerInstance.new(
|
209
213
|
@version,
|
@@ -1,35 +1,6 @@
|
|
1
1
|
module Twilio
|
2
|
-
|
3
|
-
|
4
|
-
##
|
5
|
-
# @param [String] sid The unique string generated to identify the MediaProcessor
|
6
|
-
# resource.
|
7
|
-
# @return [Twilio::REST::Media::V1::MediaProcessorInstance] if sid was passed.
|
8
|
-
# @return [Twilio::REST::Media::V1::MediaProcessorList]
|
9
|
-
def media_processor(sid=:unset)
|
10
|
-
warn "media_processor is deprecated. Use v1.media_processor instead."
|
11
|
-
self.v1.media_processor(sid)
|
12
|
-
end
|
13
|
-
|
14
|
-
##
|
15
|
-
# @param [String] sid The unique string generated to identify the MediaRecording
|
16
|
-
# resource.
|
17
|
-
# @return [Twilio::REST::Media::V1::MediaRecordingInstance] if sid was passed.
|
18
|
-
# @return [Twilio::REST::Media::V1::MediaRecordingList]
|
19
|
-
def media_recording(sid=:unset)
|
20
|
-
warn "media_recording is deprecated. Use v1.media_recording instead."
|
21
|
-
self.v1.media_recording(sid)
|
22
|
-
end
|
23
|
-
|
24
|
-
##
|
25
|
-
# @param [String] sid The unique string generated to identify the PlayerStreamer
|
26
|
-
# resource.
|
27
|
-
# @return [Twilio::REST::Media::V1::PlayerStreamerInstance] if sid was passed.
|
28
|
-
# @return [Twilio::REST::Media::V1::PlayerStreamerList]
|
29
|
-
def player_streamer(sid=:unset)
|
30
|
-
warn "player_streamer is deprecated. Use v1.player_streamer instead."
|
31
|
-
self.v1.player_streamer(sid)
|
2
|
+
module REST
|
3
|
+
class Media < MediaBase;
|
32
4
|
end
|
33
5
|
end
|
34
|
-
|
35
|
-
end
|
6
|
+
end
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class BrandRegistrationContext < InstanceContext
|
21
21
|
|
22
22
|
class BrandRegistrationOtpList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the BrandRegistrationOtpList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -36,6 +37,7 @@ module Twilio
|
|
36
37
|
# @return [BrandRegistrationOtpInstance] Created BrandRegistrationOtpInstance
|
37
38
|
def create
|
38
39
|
|
40
|
+
|
39
41
|
payload = @version.create('POST', @uri)
|
40
42
|
BrandRegistrationOtpInstance.new(
|
41
43
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class BrandRegistrationContext < InstanceContext
|
21
21
|
|
22
22
|
class BrandVettingList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the BrandVettingList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'VettingId' => vetting_id,
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
BrandVettingInstance.new(
|
51
53
|
@version,
|
@@ -177,6 +179,7 @@ module Twilio
|
|
177
179
|
# @return [BrandVettingInstance] Fetched BrandVettingInstance
|
178
180
|
def fetch
|
179
181
|
|
182
|
+
|
180
183
|
payload = @version.fetch('GET', @uri)
|
181
184
|
BrandVettingInstance.new(
|
182
185
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Messaging < MessagingBase
|
19
19
|
class V1 < Version
|
20
20
|
class BrandRegistrationList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the BrandRegistrationList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -53,6 +54,7 @@ module Twilio
|
|
53
54
|
'SkipAutomaticSecVet' => skip_automatic_sec_vet,
|
54
55
|
})
|
55
56
|
|
57
|
+
|
56
58
|
payload = @version.create('POST', @uri, data: data)
|
57
59
|
BrandRegistrationInstance.new(
|
58
60
|
@version,
|
@@ -178,6 +180,7 @@ module Twilio
|
|
178
180
|
# @return [BrandRegistrationInstance] Fetched BrandRegistrationInstance
|
179
181
|
def fetch
|
180
182
|
|
183
|
+
|
181
184
|
payload = @version.fetch('GET', @uri)
|
182
185
|
BrandRegistrationInstance.new(
|
183
186
|
@version,
|
@@ -191,6 +194,7 @@ module Twilio
|
|
191
194
|
# @return [BrandRegistrationInstance] Updated BrandRegistrationInstance
|
192
195
|
def update
|
193
196
|
|
197
|
+
|
194
198
|
payload = @version.update('POST', @uri)
|
195
199
|
BrandRegistrationInstance.new(
|
196
200
|
@version,
|