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 RegulatoryComplianceList < ListResource
|
21
21
|
|
22
22
|
class EndUserList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the EndUserList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -49,6 +50,7 @@ module Twilio
|
|
49
50
|
'Attributes' => Twilio.serialize_object(attributes),
|
50
51
|
})
|
51
52
|
|
53
|
+
|
52
54
|
payload = @version.create('POST', @uri, data: data)
|
53
55
|
EndUserInstance.new(
|
54
56
|
@version,
|
@@ -170,6 +172,7 @@ module Twilio
|
|
170
172
|
# @return [Boolean] True if delete succeeds, false otherwise
|
171
173
|
def delete
|
172
174
|
|
175
|
+
|
173
176
|
@version.delete('DELETE', @uri)
|
174
177
|
end
|
175
178
|
|
@@ -178,6 +181,7 @@ module Twilio
|
|
178
181
|
# @return [EndUserInstance] Fetched EndUserInstance
|
179
182
|
def fetch
|
180
183
|
|
184
|
+
|
181
185
|
payload = @version.fetch('GET', @uri)
|
182
186
|
EndUserInstance.new(
|
183
187
|
@version,
|
@@ -201,6 +205,7 @@ module Twilio
|
|
201
205
|
'Attributes' => Twilio.serialize_object(attributes),
|
202
206
|
})
|
203
207
|
|
208
|
+
|
204
209
|
payload = @version.update('POST', @uri, data: data)
|
205
210
|
EndUserInstance.new(
|
206
211
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RegulatoryComplianceList < ListResource
|
21
21
|
|
22
22
|
class EndUserTypeList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the EndUserTypeList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -145,6 +146,7 @@ module Twilio
|
|
145
146
|
# @return [EndUserTypeInstance] Fetched EndUserTypeInstance
|
146
147
|
def fetch
|
147
148
|
|
149
|
+
|
148
150
|
payload = @version.fetch('GET', @uri)
|
149
151
|
EndUserTypeInstance.new(
|
150
152
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RegulatoryComplianceList < ListResource
|
21
21
|
|
22
22
|
class RegulationList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the RegulationList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -163,6 +164,7 @@ module Twilio
|
|
163
164
|
# @return [RegulationInstance] Fetched RegulationInstance
|
164
165
|
def fetch
|
165
166
|
|
167
|
+
|
166
168
|
payload = @version.fetch('GET', @uri)
|
167
169
|
RegulationInstance.new(
|
168
170
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RegulatoryComplianceList < ListResource
|
21
21
|
|
22
22
|
class SupportingDocumentList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the SupportingDocumentList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -49,6 +50,7 @@ module Twilio
|
|
49
50
|
'Attributes' => Twilio.serialize_object(attributes),
|
50
51
|
})
|
51
52
|
|
53
|
+
|
52
54
|
payload = @version.create('POST', @uri, data: data)
|
53
55
|
SupportingDocumentInstance.new(
|
54
56
|
@version,
|
@@ -170,6 +172,7 @@ module Twilio
|
|
170
172
|
# @return [Boolean] True if delete succeeds, false otherwise
|
171
173
|
def delete
|
172
174
|
|
175
|
+
|
173
176
|
@version.delete('DELETE', @uri)
|
174
177
|
end
|
175
178
|
|
@@ -178,6 +181,7 @@ module Twilio
|
|
178
181
|
# @return [SupportingDocumentInstance] Fetched SupportingDocumentInstance
|
179
182
|
def fetch
|
180
183
|
|
184
|
+
|
181
185
|
payload = @version.fetch('GET', @uri)
|
182
186
|
SupportingDocumentInstance.new(
|
183
187
|
@version,
|
@@ -201,6 +205,7 @@ module Twilio
|
|
201
205
|
'Attributes' => Twilio.serialize_object(attributes),
|
202
206
|
})
|
203
207
|
|
208
|
+
|
204
209
|
payload = @version.update('POST', @uri, data: data)
|
205
210
|
SupportingDocumentInstance.new(
|
206
211
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class RegulatoryComplianceList < ListResource
|
21
21
|
|
22
22
|
class SupportingDocumentTypeList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the SupportingDocumentTypeList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -145,6 +146,7 @@ module Twilio
|
|
145
146
|
# @return [SupportingDocumentTypeInstance] Fetched SupportingDocumentTypeInstance
|
146
147
|
def fetch
|
147
148
|
|
149
|
+
|
148
150
|
payload = @version.fetch('GET', @uri)
|
149
151
|
SupportingDocumentTypeInstance.new(
|
150
152
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class FleetContext < InstanceContext
|
21
21
|
|
22
22
|
class CertificateList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the CertificateList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -49,6 +50,7 @@ module Twilio
|
|
49
50
|
'DeviceSid' => device_sid,
|
50
51
|
})
|
51
52
|
|
53
|
+
|
52
54
|
payload = @version.create('POST', @uri, data: data)
|
53
55
|
CertificateInstance.new(
|
54
56
|
@version,
|
@@ -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 [CertificateInstance] Fetched CertificateInstance
|
189
192
|
def fetch
|
190
193
|
|
194
|
+
|
191
195
|
payload = @version.fetch('GET', @uri)
|
192
196
|
CertificateInstance.new(
|
193
197
|
@version,
|
@@ -212,6 +216,7 @@ module Twilio
|
|
212
216
|
'DeviceSid' => device_sid,
|
213
217
|
})
|
214
218
|
|
219
|
+
|
215
220
|
payload = @version.update('POST', @uri, data: data)
|
216
221
|
CertificateInstance.new(
|
217
222
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class FleetContext < InstanceContext
|
21
21
|
|
22
22
|
class DeploymentList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the DeploymentList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'SyncServiceSid' => sync_service_sid,
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
DeploymentInstance.new(
|
51
53
|
@version,
|
@@ -171,6 +173,7 @@ module Twilio
|
|
171
173
|
# @return [Boolean] True if delete succeeds, false otherwise
|
172
174
|
def delete
|
173
175
|
|
176
|
+
|
174
177
|
@version.delete('DELETE', @uri)
|
175
178
|
end
|
176
179
|
|
@@ -179,6 +182,7 @@ module Twilio
|
|
179
182
|
# @return [DeploymentInstance] Fetched DeploymentInstance
|
180
183
|
def fetch
|
181
184
|
|
185
|
+
|
182
186
|
payload = @version.fetch('GET', @uri)
|
183
187
|
DeploymentInstance.new(
|
184
188
|
@version,
|
@@ -203,6 +207,7 @@ module Twilio
|
|
203
207
|
'SyncServiceSid' => sync_service_sid,
|
204
208
|
})
|
205
209
|
|
210
|
+
|
206
211
|
payload = @version.update('POST', @uri, data: data)
|
207
212
|
DeploymentInstance.new(
|
208
213
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class FleetContext < InstanceContext
|
21
21
|
|
22
22
|
class DeviceList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the DeviceList
|
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
|
DeviceInstance.new(
|
60
62
|
@version,
|
@@ -186,6 +188,7 @@ module Twilio
|
|
186
188
|
# @return [Boolean] True if delete succeeds, false otherwise
|
187
189
|
def delete
|
188
190
|
|
191
|
+
|
189
192
|
@version.delete('DELETE', @uri)
|
190
193
|
end
|
191
194
|
|
@@ -194,6 +197,7 @@ module Twilio
|
|
194
197
|
# @return [DeviceInstance] Fetched DeviceInstance
|
195
198
|
def fetch
|
196
199
|
|
200
|
+
|
197
201
|
payload = @version.fetch('GET', @uri)
|
198
202
|
DeviceInstance.new(
|
199
203
|
@version,
|
@@ -224,6 +228,7 @@ module Twilio
|
|
224
228
|
'Enabled' => enabled,
|
225
229
|
})
|
226
230
|
|
231
|
+
|
227
232
|
payload = @version.update('POST', @uri, data: data)
|
228
233
|
DeviceInstance.new(
|
229
234
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class FleetContext < InstanceContext
|
21
21
|
|
22
22
|
class KeyList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the KeyList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'DeviceSid' => device_sid,
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
KeyInstance.new(
|
51
53
|
@version,
|
@@ -177,6 +179,7 @@ module Twilio
|
|
177
179
|
# @return [Boolean] True if delete succeeds, false otherwise
|
178
180
|
def delete
|
179
181
|
|
182
|
+
|
180
183
|
@version.delete('DELETE', @uri)
|
181
184
|
end
|
182
185
|
|
@@ -185,6 +188,7 @@ module Twilio
|
|
185
188
|
# @return [KeyInstance] Fetched KeyInstance
|
186
189
|
def fetch
|
187
190
|
|
191
|
+
|
188
192
|
payload = @version.fetch('GET', @uri)
|
189
193
|
KeyInstance.new(
|
190
194
|
@version,
|
@@ -209,6 +213,7 @@ module Twilio
|
|
209
213
|
'DeviceSid' => device_sid,
|
210
214
|
})
|
211
215
|
|
216
|
+
|
212
217
|
payload = @version.update('POST', @uri, data: data)
|
213
218
|
KeyInstance.new(
|
214
219
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Preview < PreviewBase
|
19
19
|
class DeployedDevices < Version
|
20
20
|
class FleetList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the FleetList
|
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
|
FleetInstance.new(
|
46
48
|
@version,
|
@@ -168,6 +170,7 @@ module Twilio
|
|
168
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
169
171
|
def delete
|
170
172
|
|
173
|
+
|
171
174
|
@version.delete('DELETE', @uri)
|
172
175
|
end
|
173
176
|
|
@@ -176,6 +179,7 @@ module Twilio
|
|
176
179
|
# @return [FleetInstance] Fetched FleetInstance
|
177
180
|
def fetch
|
178
181
|
|
182
|
+
|
179
183
|
payload = @version.fetch('GET', @uri)
|
180
184
|
FleetInstance.new(
|
181
185
|
@version,
|
@@ -199,6 +203,7 @@ module Twilio
|
|
199
203
|
'DefaultDeploymentSid' => default_deployment_sid,
|
200
204
|
})
|
201
205
|
|
206
|
+
|
202
207
|
payload = @version.update('POST', @uri, data: data)
|
203
208
|
FleetInstance.new(
|
204
209
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Preview < PreviewBase
|
19
19
|
class HostedNumbers < Version
|
20
20
|
class AuthorizationDocumentList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the AuthorizationDocumentList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -56,6 +57,7 @@ module Twilio
|
|
56
57
|
'CcEmails' => Twilio.serialize_list(cc_emails) { |e| e },
|
57
58
|
})
|
58
59
|
|
60
|
+
|
59
61
|
payload = @version.create('POST', @uri, data: data)
|
60
62
|
AuthorizationDocumentInstance.new(
|
61
63
|
@version,
|
@@ -192,6 +194,7 @@ module Twilio
|
|
192
194
|
# @return [AuthorizationDocumentInstance] Fetched AuthorizationDocumentInstance
|
193
195
|
def fetch
|
194
196
|
|
197
|
+
|
195
198
|
payload = @version.fetch('GET', @uri)
|
196
199
|
AuthorizationDocumentInstance.new(
|
197
200
|
@version,
|
@@ -230,6 +233,7 @@ module Twilio
|
|
230
233
|
'ContactPhoneNumber' => contact_phone_number,
|
231
234
|
})
|
232
235
|
|
236
|
+
|
233
237
|
payload = @version.update('POST', @uri, data: data)
|
234
238
|
AuthorizationDocumentInstance.new(
|
235
239
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Preview < PreviewBase
|
19
19
|
class HostedNumbers < Version
|
20
20
|
class HostedNumberOrderList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the HostedNumberOrderList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -89,6 +90,7 @@ module Twilio
|
|
89
90
|
'VerificationDocumentSid' => verification_document_sid,
|
90
91
|
})
|
91
92
|
|
93
|
+
|
92
94
|
payload = @version.create('POST', @uri, data: data)
|
93
95
|
HostedNumberOrderInstance.new(
|
94
96
|
@version,
|
@@ -242,6 +244,7 @@ module Twilio
|
|
242
244
|
# @return [Boolean] True if delete succeeds, false otherwise
|
243
245
|
def delete
|
244
246
|
|
247
|
+
|
245
248
|
@version.delete('DELETE', @uri)
|
246
249
|
end
|
247
250
|
|
@@ -250,6 +253,7 @@ module Twilio
|
|
250
253
|
# @return [HostedNumberOrderInstance] Fetched HostedNumberOrderInstance
|
251
254
|
def fetch
|
252
255
|
|
256
|
+
|
253
257
|
payload = @version.fetch('GET', @uri)
|
254
258
|
HostedNumberOrderInstance.new(
|
255
259
|
@version,
|
@@ -297,6 +301,7 @@ module Twilio
|
|
297
301
|
'CallDelay' => call_delay,
|
298
302
|
})
|
299
303
|
|
304
|
+
|
300
305
|
payload = @version.update('POST', @uri, data: data)
|
301
306
|
HostedNumberOrderInstance.new(
|
302
307
|
@version,
|
data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb
CHANGED
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AvailableAddOnContext < InstanceContext
|
21
21
|
|
22
22
|
class AvailableAddOnExtensionList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the AvailableAddOnExtensionList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [AvailableAddOnExtensionInstance] Fetched AvailableAddOnExtensionInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
AvailableAddOnExtensionInstance.new(
|
153
155
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Preview < PreviewBase
|
19
19
|
class Marketplace < Version
|
20
20
|
class AvailableAddOnList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the AvailableAddOnList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -146,6 +147,7 @@ module Twilio
|
|
146
147
|
# @return [AvailableAddOnInstance] Fetched AvailableAddOnInstance
|
147
148
|
def fetch
|
148
149
|
|
150
|
+
|
149
151
|
payload = @version.fetch('GET', @uri)
|
150
152
|
AvailableAddOnInstance.new(
|
151
153
|
@version,
|
data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb
CHANGED
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class InstalledAddOnContext < InstanceContext
|
21
21
|
|
22
22
|
class InstalledAddOnExtensionList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the InstalledAddOnExtensionList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [InstalledAddOnExtensionInstance] Fetched InstalledAddOnExtensionInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
InstalledAddOnExtensionInstance.new(
|
153
155
|
@version,
|
@@ -169,6 +171,7 @@ module Twilio
|
|
169
171
|
'Enabled' => enabled,
|
170
172
|
})
|
171
173
|
|
174
|
+
|
172
175
|
payload = @version.update('POST', @uri, data: data)
|
173
176
|
InstalledAddOnExtensionInstance.new(
|
174
177
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Preview < PreviewBase
|
19
19
|
class Marketplace < Version
|
20
20
|
class InstalledAddOnList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InstalledAddOnList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -50,6 +51,7 @@ module Twilio
|
|
50
51
|
'UniqueName' => unique_name,
|
51
52
|
})
|
52
53
|
|
54
|
+
|
53
55
|
payload = @version.create('POST', @uri, data: data)
|
54
56
|
InstalledAddOnInstance.new(
|
55
57
|
@version,
|
@@ -174,6 +176,7 @@ module Twilio
|
|
174
176
|
# @return [Boolean] True if delete succeeds, false otherwise
|
175
177
|
def delete
|
176
178
|
|
179
|
+
|
177
180
|
@version.delete('DELETE', @uri)
|
178
181
|
end
|
179
182
|
|
@@ -182,6 +185,7 @@ module Twilio
|
|
182
185
|
# @return [InstalledAddOnInstance] Fetched InstalledAddOnInstance
|
183
186
|
def fetch
|
184
187
|
|
188
|
+
|
185
189
|
payload = @version.fetch('GET', @uri)
|
186
190
|
InstalledAddOnInstance.new(
|
187
191
|
@version,
|
@@ -205,6 +209,7 @@ module Twilio
|
|
205
209
|
'UniqueName' => unique_name,
|
206
210
|
})
|
207
211
|
|
212
|
+
|
208
213
|
payload = @version.update('POST', @uri, data: data)
|
209
214
|
InstalledAddOnInstance.new(
|
210
215
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class DocumentContext < InstanceContext
|
22
22
|
|
23
23
|
class DocumentPermissionList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the DocumentPermissionList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -150,6 +151,7 @@ module Twilio
|
|
150
151
|
# @return [Boolean] True if delete succeeds, false otherwise
|
151
152
|
def delete
|
152
153
|
|
154
|
+
|
153
155
|
@version.delete('DELETE', @uri)
|
154
156
|
end
|
155
157
|
|
@@ -158,6 +160,7 @@ module Twilio
|
|
158
160
|
# @return [DocumentPermissionInstance] Fetched DocumentPermissionInstance
|
159
161
|
def fetch
|
160
162
|
|
163
|
+
|
161
164
|
payload = @version.fetch('GET', @uri)
|
162
165
|
DocumentPermissionInstance.new(
|
163
166
|
@version,
|
@@ -186,6 +189,7 @@ module Twilio
|
|
186
189
|
'Manage' => manage,
|
187
190
|
})
|
188
191
|
|
192
|
+
|
189
193
|
payload = @version.update('POST', @uri, data: data)
|
190
194
|
DocumentPermissionInstance.new(
|
191
195
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class ServiceContext < InstanceContext
|
21
21
|
|
22
22
|
class DocumentList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the DocumentList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'Data' => Twilio.serialize_object(data),
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
DocumentInstance.new(
|
51
53
|
@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 [DocumentInstance] Fetched DocumentInstance
|
181
184
|
def fetch
|
182
185
|
|
186
|
+
|
183
187
|
payload = @version.fetch('GET', @uri)
|
184
188
|
DocumentInstance.new(
|
185
189
|
@version,
|
@@ -203,6 +207,7 @@ module Twilio
|
|
203
207
|
'Data' => Twilio.serialize_object(data),
|
204
208
|
})
|
205
209
|
|
210
|
+
|
206
211
|
headers = Twilio::Values.of({ 'If-Match' => if_match, })
|
207
212
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
208
213
|
DocumentInstance.new(
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class SyncListContext < InstanceContext
|
22
22
|
|
23
23
|
class SyncListItemList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the SyncListItemList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'Data' => Twilio.serialize_object(data),
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
SyncListItemInstance.new(
|
49
51
|
@version,
|
@@ -192,6 +194,7 @@ module Twilio
|
|
192
194
|
if_match: :unset
|
193
195
|
)
|
194
196
|
|
197
|
+
|
195
198
|
headers = Twilio::Values.of({ 'If-Match' => if_match, })
|
196
199
|
@version.delete('DELETE', @uri, headers: headers)
|
197
200
|
end
|
@@ -201,6 +204,7 @@ module Twilio
|
|
201
204
|
# @return [SyncListItemInstance] Fetched SyncListItemInstance
|
202
205
|
def fetch
|
203
206
|
|
207
|
+
|
204
208
|
payload = @version.fetch('GET', @uri)
|
205
209
|
SyncListItemInstance.new(
|
206
210
|
@version,
|
@@ -225,6 +229,7 @@ module Twilio
|
|
225
229
|
'Data' => Twilio.serialize_object(data),
|
226
230
|
})
|
227
231
|
|
232
|
+
|
228
233
|
headers = Twilio::Values.of({ 'If-Match' => if_match, })
|
229
234
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
230
235
|
SyncListItemInstance.new(
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class SyncListContext < InstanceContext
|
22
22
|
|
23
23
|
class SyncListPermissionList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the SyncListPermissionList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -150,6 +151,7 @@ module Twilio
|
|
150
151
|
# @return [Boolean] True if delete succeeds, false otherwise
|
151
152
|
def delete
|
152
153
|
|
154
|
+
|
153
155
|
@version.delete('DELETE', @uri)
|
154
156
|
end
|
155
157
|
|
@@ -158,6 +160,7 @@ module Twilio
|
|
158
160
|
# @return [SyncListPermissionInstance] Fetched SyncListPermissionInstance
|
159
161
|
def fetch
|
160
162
|
|
163
|
+
|
161
164
|
payload = @version.fetch('GET', @uri)
|
162
165
|
SyncListPermissionInstance.new(
|
163
166
|
@version,
|
@@ -186,6 +189,7 @@ module Twilio
|
|
186
189
|
'Manage' => manage,
|
187
190
|
})
|
188
191
|
|
192
|
+
|
189
193
|
payload = @version.update('POST', @uri, data: data)
|
190
194
|
SyncListPermissionInstance.new(
|
191
195
|
@version,
|