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
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class VerificationCheckList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the VerificationCheckList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -55,6 +56,7 @@ module Twilio
|
|
55
56
|
'Payee' => payee,
|
56
57
|
})
|
57
58
|
|
59
|
+
|
58
60
|
payload = @version.create('POST', @uri, data: data)
|
59
61
|
VerificationCheckInstance.new(
|
60
62
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class WebhookList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the WebhookList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -55,6 +56,7 @@ module Twilio
|
|
55
56
|
'Version' => version,
|
56
57
|
})
|
57
58
|
|
59
|
+
|
58
60
|
payload = @version.create('POST', @uri, data: data)
|
59
61
|
WebhookInstance.new(
|
60
62
|
@version,
|
@@ -178,6 +180,7 @@ module Twilio
|
|
178
180
|
# @return [Boolean] True if delete succeeds, false otherwise
|
179
181
|
def delete
|
180
182
|
|
183
|
+
|
181
184
|
@version.delete('DELETE', @uri)
|
182
185
|
end
|
183
186
|
|
@@ -186,6 +189,7 @@ module Twilio
|
|
186
189
|
# @return [WebhookInstance] Fetched WebhookInstance
|
187
190
|
def fetch
|
188
191
|
|
192
|
+
|
189
193
|
payload = @version.fetch('GET', @uri)
|
190
194
|
WebhookInstance.new(
|
191
195
|
@version,
|
@@ -219,6 +223,7 @@ module Twilio
|
|
219
223
|
'Version' => version,
|
220
224
|
})
|
221
225
|
|
226
|
+
|
222
227
|
payload = @version.update('POST', @uri, data: data)
|
223
228
|
WebhookInstance.new(
|
224
229
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Verify < VerifyBase
|
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
|
@@ -92,6 +93,7 @@ module Twilio
|
|
92
93
|
'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
|
93
94
|
})
|
94
95
|
|
96
|
+
|
95
97
|
payload = @version.create('POST', @uri, data: data)
|
96
98
|
ServiceInstance.new(
|
97
99
|
@version,
|
@@ -220,6 +222,7 @@ module Twilio
|
|
220
222
|
# @return [Boolean] True if delete succeeds, false otherwise
|
221
223
|
def delete
|
222
224
|
|
225
|
+
|
223
226
|
@version.delete('DELETE', @uri)
|
224
227
|
end
|
225
228
|
|
@@ -228,6 +231,7 @@ module Twilio
|
|
228
231
|
# @return [ServiceInstance] Fetched ServiceInstance
|
229
232
|
def fetch
|
230
233
|
|
234
|
+
|
231
235
|
payload = @version.fetch('GET', @uri)
|
232
236
|
ServiceInstance.new(
|
233
237
|
@version,
|
@@ -299,6 +303,7 @@ module Twilio
|
|
299
303
|
'VerifyEventSubscriptionEnabled' => verify_event_subscription_enabled,
|
300
304
|
})
|
301
305
|
|
306
|
+
|
302
307
|
payload = @version.update('POST', @uri, data: data)
|
303
308
|
ServiceInstance.new(
|
304
309
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Verify < VerifyBase
|
19
19
|
class V2 < Version
|
20
20
|
class VerificationAttemptList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the VerificationAttemptList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -191,6 +192,7 @@ module Twilio
|
|
191
192
|
# @return [VerificationAttemptInstance] Fetched VerificationAttemptInstance
|
192
193
|
def fetch
|
193
194
|
|
195
|
+
|
194
196
|
payload = @version.fetch('GET', @uri)
|
195
197
|
VerificationAttemptInstance.new(
|
196
198
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Verify < VerifyBase
|
19
19
|
class V2 < Version
|
20
20
|
class VerificationAttemptsSummaryList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the VerificationAttemptsSummaryList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -79,6 +80,7 @@ module Twilio
|
|
79
80
|
'Channel' => channel,
|
80
81
|
'DestinationPrefix' => destination_prefix,
|
81
82
|
})
|
83
|
+
|
82
84
|
payload = @version.fetch('GET', @uri, params: params)
|
83
85
|
VerificationAttemptsSummaryInstance.new(
|
84
86
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class CompositionList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the CompositionList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -65,6 +66,7 @@ module Twilio
|
|
65
66
|
'Trim' => trim,
|
66
67
|
})
|
67
68
|
|
69
|
+
|
68
70
|
payload = @version.create('POST', @uri, data: data)
|
69
71
|
CompositionInstance.new(
|
70
72
|
@version,
|
@@ -210,6 +212,7 @@ module Twilio
|
|
210
212
|
# @return [Boolean] True if delete succeeds, false otherwise
|
211
213
|
def delete
|
212
214
|
|
215
|
+
|
213
216
|
@version.delete('DELETE', @uri)
|
214
217
|
end
|
215
218
|
|
@@ -218,6 +221,7 @@ module Twilio
|
|
218
221
|
# @return [CompositionInstance] Fetched CompositionInstance
|
219
222
|
def fetch
|
220
223
|
|
224
|
+
|
221
225
|
payload = @version.fetch('GET', @uri)
|
222
226
|
CompositionInstance.new(
|
223
227
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class CompositionHookList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the CompositionHookList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -68,6 +69,7 @@ module Twilio
|
|
68
69
|
'Trim' => trim,
|
69
70
|
})
|
70
71
|
|
72
|
+
|
71
73
|
payload = @version.create('POST', @uri, data: data)
|
72
74
|
CompositionHookInstance.new(
|
73
75
|
@version,
|
@@ -213,6 +215,7 @@ module Twilio
|
|
213
215
|
# @return [Boolean] True if delete succeeds, false otherwise
|
214
216
|
def delete
|
215
217
|
|
218
|
+
|
216
219
|
@version.delete('DELETE', @uri)
|
217
220
|
end
|
218
221
|
|
@@ -221,6 +224,7 @@ module Twilio
|
|
221
224
|
# @return [CompositionHookInstance] Fetched CompositionHookInstance
|
222
225
|
def fetch
|
223
226
|
|
227
|
+
|
224
228
|
payload = @version.fetch('GET', @uri)
|
225
229
|
CompositionHookInstance.new(
|
226
230
|
@version,
|
@@ -268,6 +272,7 @@ module Twilio
|
|
268
272
|
'StatusCallbackMethod' => status_callback_method,
|
269
273
|
})
|
270
274
|
|
275
|
+
|
271
276
|
payload = @version.update('POST', @uri, data: data)
|
272
277
|
CompositionHookInstance.new(
|
273
278
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class CompositionSettingsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the CompositionSettingsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -58,7 +59,7 @@ module Twilio
|
|
58
59
|
# @param [String] friendly_name A descriptive string that you create to describe the resource and show to the user in the console
|
59
60
|
# @param [String] aws_credentials_sid The SID of the stored Credential resource.
|
60
61
|
# @param [String] encryption_key_sid The SID of the Public Key resource to use for encryption.
|
61
|
-
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the
|
62
|
+
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
62
63
|
# @param [Boolean] aws_storage_enabled Whether all compositions should be written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
|
63
64
|
# @param [Boolean] encryption_enabled Whether all compositions should be stored in an encrypted form. The default is `false`.
|
64
65
|
# @return [CompositionSettingsInstance] Created CompositionSettingsInstance
|
@@ -80,6 +81,7 @@ module Twilio
|
|
80
81
|
'EncryptionEnabled' => encryption_enabled,
|
81
82
|
})
|
82
83
|
|
84
|
+
|
83
85
|
payload = @version.create('POST', @uri, data: data)
|
84
86
|
CompositionSettingsInstance.new(
|
85
87
|
@version,
|
@@ -92,6 +94,7 @@ module Twilio
|
|
92
94
|
# @return [CompositionSettingsInstance] Fetched CompositionSettingsInstance
|
93
95
|
def fetch
|
94
96
|
|
97
|
+
|
95
98
|
payload = @version.fetch('GET', @uri)
|
96
99
|
CompositionSettingsInstance.new(
|
97
100
|
@version,
|
@@ -203,7 +206,7 @@ module Twilio
|
|
203
206
|
end
|
204
207
|
|
205
208
|
##
|
206
|
-
# @return [String] The URL of the AWS S3 bucket where the compositions are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the
|
209
|
+
# @return [String] The URL of the AWS S3 bucket where the compositions are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
207
210
|
def aws_s3_url
|
208
211
|
@properties['aws_s3_url']
|
209
212
|
end
|
@@ -237,7 +240,7 @@ module Twilio
|
|
237
240
|
# @param [String] friendly_name A descriptive string that you create to describe the resource and show to the user in the console
|
238
241
|
# @param [String] aws_credentials_sid The SID of the stored Credential resource.
|
239
242
|
# @param [String] encryption_key_sid The SID of the Public Key resource to use for encryption.
|
240
|
-
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the
|
243
|
+
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
241
244
|
# @param [Boolean] aws_storage_enabled Whether all compositions should be written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
|
242
245
|
# @param [Boolean] encryption_enabled Whether all compositions should be stored in an encrypted form. The default is `false`.
|
243
246
|
# @return [CompositionSettingsInstance] Created CompositionSettingsInstance
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class RecordingList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the RecordingList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -180,6 +181,7 @@ module Twilio
|
|
180
181
|
# @return [Boolean] True if delete succeeds, false otherwise
|
181
182
|
def delete
|
182
183
|
|
184
|
+
|
183
185
|
@version.delete('DELETE', @uri)
|
184
186
|
end
|
185
187
|
|
@@ -188,6 +190,7 @@ module Twilio
|
|
188
190
|
# @return [RecordingInstance] Fetched RecordingInstance
|
189
191
|
def fetch
|
190
192
|
|
193
|
+
|
191
194
|
payload = @version.fetch('GET', @uri)
|
192
195
|
RecordingInstance.new(
|
193
196
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class RecordingSettingsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the RecordingSettingsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -58,7 +59,7 @@ module Twilio
|
|
58
59
|
# @param [String] friendly_name A descriptive string that you create to describe the resource and be shown to users in the console
|
59
60
|
# @param [String] aws_credentials_sid The SID of the stored Credential resource.
|
60
61
|
# @param [String] encryption_key_sid The SID of the Public Key resource to use for encryption.
|
61
|
-
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the
|
62
|
+
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
62
63
|
# @param [Boolean] aws_storage_enabled Whether all recordings should be written to the `aws_s3_url`. When `false`, all recordings are stored in our cloud.
|
63
64
|
# @param [Boolean] encryption_enabled Whether all recordings should be stored in an encrypted form. The default is `false`.
|
64
65
|
# @return [RecordingSettingsInstance] Created RecordingSettingsInstance
|
@@ -80,6 +81,7 @@ module Twilio
|
|
80
81
|
'EncryptionEnabled' => encryption_enabled,
|
81
82
|
})
|
82
83
|
|
84
|
+
|
83
85
|
payload = @version.create('POST', @uri, data: data)
|
84
86
|
RecordingSettingsInstance.new(
|
85
87
|
@version,
|
@@ -92,6 +94,7 @@ module Twilio
|
|
92
94
|
# @return [RecordingSettingsInstance] Fetched RecordingSettingsInstance
|
93
95
|
def fetch
|
94
96
|
|
97
|
+
|
95
98
|
payload = @version.fetch('GET', @uri)
|
96
99
|
RecordingSettingsInstance.new(
|
97
100
|
@version,
|
@@ -203,7 +206,7 @@ module Twilio
|
|
203
206
|
end
|
204
207
|
|
205
208
|
##
|
206
|
-
# @return [String] The URL of the AWS S3 bucket where the recordings are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the
|
209
|
+
# @return [String] The URL of the AWS S3 bucket where the recordings are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
207
210
|
def aws_s3_url
|
208
211
|
@properties['aws_s3_url']
|
209
212
|
end
|
@@ -237,7 +240,7 @@ module Twilio
|
|
237
240
|
# @param [String] friendly_name A descriptive string that you create to describe the resource and be shown to users in the console
|
238
241
|
# @param [String] aws_credentials_sid The SID of the stored Credential resource.
|
239
242
|
# @param [String] encryption_key_sid The SID of the Public Key resource to use for encryption.
|
240
|
-
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the
|
243
|
+
# @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/recordings`, where `recordings` is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
|
241
244
|
# @param [Boolean] aws_storage_enabled Whether all recordings should be written to the `aws_s3_url`. When `false`, all recordings are stored in our cloud.
|
242
245
|
# @param [Boolean] encryption_enabled Whether all recordings should be stored in an encrypted form. The default is `false`.
|
243
246
|
# @return [RecordingSettingsInstance] Created RecordingSettingsInstance
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ParticipantContext < InstanceContext
|
22
22
|
|
23
23
|
class AnonymizeList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the AnonymizeList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -63,6 +64,7 @@ module Twilio
|
|
63
64
|
# @return [AnonymizeInstance] Updated AnonymizeInstance
|
64
65
|
def update
|
65
66
|
|
67
|
+
|
66
68
|
payload = @version.update('POST', @uri)
|
67
69
|
AnonymizeInstance.new(
|
68
70
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ParticipantContext < InstanceContext
|
22
22
|
|
23
23
|
class PublishedTrackList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the PublishedTrackList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [PublishedTrackInstance] Fetched PublishedTrackInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
PublishedTrackInstance.new(
|
153
155
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ParticipantContext < InstanceContext
|
22
22
|
|
23
23
|
class SubscribeRulesList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the SubscribeRulesList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -37,6 +38,7 @@ module Twilio
|
|
37
38
|
# @return [SubscribeRulesInstance] Fetched SubscribeRulesInstance
|
38
39
|
def fetch
|
39
40
|
|
41
|
+
|
40
42
|
payload = @version.fetch('GET', @uri)
|
41
43
|
SubscribeRulesInstance.new(
|
42
44
|
@version,
|
@@ -58,6 +60,7 @@ module Twilio
|
|
58
60
|
'Rules' => Twilio.serialize_object(rules),
|
59
61
|
})
|
60
62
|
|
63
|
+
|
61
64
|
payload = @version.update('POST', @uri, data: data)
|
62
65
|
SubscribeRulesInstance.new(
|
63
66
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ParticipantContext < InstanceContext
|
22
22
|
|
23
23
|
class SubscribedTrackList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the SubscribedTrackList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [SubscribedTrackInstance] Fetched SubscribedTrackInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
SubscribedTrackInstance.new(
|
153
155
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RoomContext < InstanceContext
|
21
21
|
|
22
22
|
class ParticipantList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ParticipantList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -174,6 +175,7 @@ module Twilio
|
|
174
175
|
# @return [ParticipantInstance] Fetched ParticipantInstance
|
175
176
|
def fetch
|
176
177
|
|
178
|
+
|
177
179
|
payload = @version.fetch('GET', @uri)
|
178
180
|
ParticipantInstance.new(
|
179
181
|
@version,
|
@@ -195,6 +197,7 @@ module Twilio
|
|
195
197
|
'Status' => status,
|
196
198
|
})
|
197
199
|
|
200
|
+
|
198
201
|
payload = @version.update('POST', @uri, data: data)
|
199
202
|
ParticipantInstance.new(
|
200
203
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RoomContext < InstanceContext
|
21
21
|
|
22
22
|
class RecordingRulesList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the RecordingRulesList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -36,6 +37,7 @@ module Twilio
|
|
36
37
|
# @return [RecordingRulesInstance] Fetched RecordingRulesInstance
|
37
38
|
def fetch
|
38
39
|
|
40
|
+
|
39
41
|
payload = @version.fetch('GET', @uri)
|
40
42
|
RecordingRulesInstance.new(
|
41
43
|
@version,
|
@@ -56,6 +58,7 @@ module Twilio
|
|
56
58
|
'Rules' => Twilio.serialize_object(rules),
|
57
59
|
})
|
58
60
|
|
61
|
+
|
59
62
|
payload = @version.update('POST', @uri, data: data)
|
60
63
|
RecordingRulesInstance.new(
|
61
64
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RoomContext < InstanceContext
|
21
21
|
|
22
22
|
class RoomRecordingList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the RoomRecordingList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -170,6 +171,7 @@ module Twilio
|
|
170
171
|
# @return [Boolean] True if delete succeeds, false otherwise
|
171
172
|
def delete
|
172
173
|
|
174
|
+
|
173
175
|
@version.delete('DELETE', @uri)
|
174
176
|
end
|
175
177
|
|
@@ -178,6 +180,7 @@ module Twilio
|
|
178
180
|
# @return [RoomRecordingInstance] Fetched RoomRecordingInstance
|
179
181
|
def fetch
|
180
182
|
|
183
|
+
|
181
184
|
payload = @version.fetch('GET', @uri)
|
182
185
|
RoomRecordingInstance.new(
|
183
186
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Video < VideoBase
|
19
19
|
class V1 < Version
|
20
20
|
class RoomList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the RoomList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -83,6 +84,7 @@ module Twilio
|
|
83
84
|
'LargeRoom' => large_room,
|
84
85
|
})
|
85
86
|
|
87
|
+
|
86
88
|
payload = @version.create('POST', @uri, data: data)
|
87
89
|
RoomInstance.new(
|
88
90
|
@version,
|
@@ -231,6 +233,7 @@ module Twilio
|
|
231
233
|
# @return [RoomInstance] Fetched RoomInstance
|
232
234
|
def fetch
|
233
235
|
|
236
|
+
|
234
237
|
payload = @version.fetch('GET', @uri)
|
235
238
|
RoomInstance.new(
|
236
239
|
@version,
|
@@ -251,6 +254,7 @@ module Twilio
|
|
251
254
|
'Status' => status,
|
252
255
|
})
|
253
256
|
|
257
|
+
|
254
258
|
payload = @version.update('POST', @uri, data: data)
|
255
259
|
RoomInstance.new(
|
256
260
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Voice < VoiceBase
|
19
19
|
class V1 < Version
|
20
20
|
class ArchivedCallList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ArchivedCallList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -62,6 +63,7 @@ module Twilio
|
|
62
63
|
# @return [Boolean] True if delete succeeds, false otherwise
|
63
64
|
def delete
|
64
65
|
|
66
|
+
|
65
67
|
@version.delete('DELETE', @uri)
|
66
68
|
end
|
67
69
|
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Voice < VoiceBase
|
19
19
|
class V1 < Version
|
20
20
|
class ByocTrunkList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ByocTrunkList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -68,6 +69,7 @@ module Twilio
|
|
68
69
|
'FromDomainSid' => from_domain_sid,
|
69
70
|
})
|
70
71
|
|
72
|
+
|
71
73
|
payload = @version.create('POST', @uri, data: data)
|
72
74
|
ByocTrunkInstance.new(
|
73
75
|
@version,
|
@@ -189,6 +191,7 @@ module Twilio
|
|
189
191
|
# @return [Boolean] True if delete succeeds, false otherwise
|
190
192
|
def delete
|
191
193
|
|
194
|
+
|
192
195
|
@version.delete('DELETE', @uri)
|
193
196
|
end
|
194
197
|
|
@@ -197,6 +200,7 @@ module Twilio
|
|
197
200
|
# @return [ByocTrunkInstance] Fetched ByocTrunkInstance
|
198
201
|
def fetch
|
199
202
|
|
203
|
+
|
200
204
|
payload = @version.fetch('GET', @uri)
|
201
205
|
ByocTrunkInstance.new(
|
202
206
|
@version,
|
@@ -244,6 +248,7 @@ module Twilio
|
|
244
248
|
'FromDomainSid' => from_domain_sid,
|
245
249
|
})
|
246
250
|
|
251
|
+
|
247
252
|
payload = @version.update('POST', @uri, data: data)
|
248
253
|
ByocTrunkInstance.new(
|
249
254
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ConnectionPolicyContext < InstanceContext
|
21
21
|
|
22
22
|
class ConnectionPolicyTargetList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ConnectionPolicyTargetList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -55,6 +56,7 @@ module Twilio
|
|
55
56
|
'Enabled' => enabled,
|
56
57
|
})
|
57
58
|
|
59
|
+
|
58
60
|
payload = @version.create('POST', @uri, data: data)
|
59
61
|
ConnectionPolicyTargetInstance.new(
|
60
62
|
@version,
|
@@ -178,6 +180,7 @@ module Twilio
|
|
178
180
|
# @return [Boolean] True if delete succeeds, false otherwise
|
179
181
|
def delete
|
180
182
|
|
183
|
+
|
181
184
|
@version.delete('DELETE', @uri)
|
182
185
|
end
|
183
186
|
|
@@ -186,6 +189,7 @@ module Twilio
|
|
186
189
|
# @return [ConnectionPolicyTargetInstance] Fetched ConnectionPolicyTargetInstance
|
187
190
|
def fetch
|
188
191
|
|
192
|
+
|
189
193
|
payload = @version.fetch('GET', @uri)
|
190
194
|
ConnectionPolicyTargetInstance.new(
|
191
195
|
@version,
|
@@ -219,6 +223,7 @@ module Twilio
|
|
219
223
|
'Enabled' => enabled,
|
220
224
|
})
|
221
225
|
|
226
|
+
|
222
227
|
payload = @version.update('POST', @uri, data: data)
|
223
228
|
ConnectionPolicyTargetInstance.new(
|
224
229
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Voice < VoiceBase
|
19
19
|
class V1 < Version
|
20
20
|
class ConnectionPolicyList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ConnectionPolicyList
|
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
|
ConnectionPolicyInstance.new(
|
46
48
|
@version,
|
@@ -163,6 +165,7 @@ module Twilio
|
|
163
165
|
# @return [Boolean] True if delete succeeds, false otherwise
|
164
166
|
def delete
|
165
167
|
|
168
|
+
|
166
169
|
@version.delete('DELETE', @uri)
|
167
170
|
end
|
168
171
|
|
@@ -171,6 +174,7 @@ module Twilio
|
|
171
174
|
# @return [ConnectionPolicyInstance] Fetched ConnectionPolicyInstance
|
172
175
|
def fetch
|
173
176
|
|
177
|
+
|
174
178
|
payload = @version.fetch('GET', @uri)
|
175
179
|
ConnectionPolicyInstance.new(
|
176
180
|
@version,
|
@@ -191,6 +195,7 @@ module Twilio
|
|
191
195
|
'FriendlyName' => friendly_name,
|
192
196
|
})
|
193
197
|
|
198
|
+
|
194
199
|
payload = @version.update('POST', @uri, data: data)
|
195
200
|
ConnectionPolicyInstance.new(
|
196
201
|
@version,
|