twilio-ruby 7.3.7 → 7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test-and-deploy.yml +8 -0
- data/.rubocop.yml +1 -0
- data/CHANGES.md +6 -0
- data/Makefile +1 -1
- data/README.md +7 -2
- data/cluster/cluster_oauth_spec.rb +19 -0
- data/cluster/cluster_orgs_spec.rb +40 -0
- data/{cluster_spec.rb → cluster/cluster_spec.rb} +0 -2
- data/examples/public_oauth.rb +13 -0
- data/lib/twilio-ruby/auth_strategy/auth_strategy.rb +19 -0
- data/lib/twilio-ruby/auth_strategy/no_auth_strategy.rb +17 -0
- data/lib/twilio-ruby/auth_strategy/token_auth_strategy.rb +39 -0
- data/lib/twilio-ruby/base/client_base.rb +8 -1
- data/lib/twilio-ruby/credential/auth_type.rb +17 -0
- data/lib/twilio-ruby/credential/client_credential_provider.rb +28 -0
- data/lib/twilio-ruby/credential/credential_provider.rb +11 -0
- data/lib/twilio-ruby/credential/orgs_credential_provider.rb +30 -0
- data/lib/twilio-ruby/framework/rest/domain.rb +0 -1
- data/lib/twilio-ruby/framework/rest/page.rb +1 -0
- data/lib/twilio-ruby/http/client_token_manager.rb +28 -0
- data/lib/twilio-ruby/http/http_client.rb +9 -0
- data/lib/twilio-ruby/http/org_token_manager.rb +28 -0
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +4 -0
- data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +4 -0
- data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +4 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +18 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +18 -1
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +10 -0
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +8 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +8 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +8 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +8 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +12 -1
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +12 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +12 -1
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +10 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +4 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +18 -1
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +16 -1
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +10 -1
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +10 -1
- data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +10 -5
- data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +50 -31
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +4 -1
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +4 -0
- data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +52 -33
- data/lib/twilio-ruby/rest/assistants/v1/policy.rb +4 -1
- data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +4 -1
- data/lib/twilio-ruby/rest/assistants/v1/session.rb +8 -1
- data/lib/twilio-ruby/rest/assistants/v1/tool.rb +58 -39
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +8 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +8 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +6 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +4 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +14 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +4 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +10 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +14 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +10 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +14 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v2/service.rb +18 -1
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +4 -0
- data/lib/twilio-ruby/rest/client.rb +5 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +7 -2
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +4 -0
- data/lib/twilio-ruby/rest/content/v1/content.rb +115 -101
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +4 -1
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +4 -1
- data/lib/twilio-ruby/rest/content/v2/content.rb +4 -1
- data/lib/twilio-ruby/rest/content/v2/content_and_approvals.rb +4 -1
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +8 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +4 -1
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +10 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +8 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +8 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +4 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +14 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +18 -1
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +14 -1
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +14 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +18 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +8 -1
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +8 -1
- data/lib/twilio-ruby/rest/events/v1/schema.rb +4 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +4 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +4 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +18 -1
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +18 -1
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +18 -1
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +14 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +8 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +18 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +8 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +4 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +18 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +14 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +14 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +4 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +8 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +8 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +16 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +8 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +12 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +18 -1
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +8 -0
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +4 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +8 -0
- data/lib/twilio-ruby/rest/iam/v1/api_key.rb +10 -0
- data/lib/twilio-ruby/rest/iam/v1/get_api_keys.rb +4 -1
- data/lib/twilio-ruby/rest/iam/v1/{key.rb → new_api_key.rb} +24 -20
- data/lib/twilio-ruby/rest/iam/v1.rb +4 -4
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +8 -0
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +4 -0
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +4 -1
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +4 -1
- data/lib/twilio-ruby/rest/insights/v1/call.rb +4 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +4 -1
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +8 -1
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +8 -1
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +8 -1
- data/lib/twilio-ruby/rest/insights/v1/room.rb +8 -1
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +8 -0
- data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +18 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +8 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +6 -0
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +4 -0
- data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +8 -1
- data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +8 -1
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +18 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +4 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +8 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +4 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +14 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +14 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +4 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +10 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +14 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +10 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +14 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +18 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +18 -1
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +8 -1
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +8 -1
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +12 -1
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +7 -2
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +18 -1
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +8 -0
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +6 -1
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +12 -1
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +16 -1
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +10 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +8 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +6 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +14 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +14 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +14 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +14 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +18 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +18 -1
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +4 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +18 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +18 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +4 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +10 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +18 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +18 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +12 -1
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +8 -1
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +8 -1
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +18 -1
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +14 -1
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +4 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +8 -0
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +10 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +6 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +8 -1
- data/lib/twilio-ruby/rest/numbers/v1/{porting_webhook_configuration_fetch.rb → webhook.rb} +24 -20
- data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +4 -1
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +14 -1
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +8 -0
- data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +18 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +8 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +12 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +14 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +18 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +18 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +8 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +8 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +18 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +8 -1
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +4 -0
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +4 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +4 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +16 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +18 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +8 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +8 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +12 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +18 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +14 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +18 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +18 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +14 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +14 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +18 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +14 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +14 -1
- data/lib/twilio-ruby/rest/preview/sync/service.rb +18 -1
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +12 -1
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +18 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +4 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +12 -1
- data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +148 -0
- data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +186 -0
- data/lib/twilio-ruby/rest/preview_iam/v1.rb +46 -0
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/account.rb +309 -0
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/role_assignment.rb +375 -0
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +530 -0
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +277 -0
- data/lib/twilio-ruby/rest/preview_iam/versionless.rb +49 -0
- data/lib/twilio-ruby/rest/preview_iam.rb +9 -0
- data/lib/twilio-ruby/rest/preview_iam_base.rb +38 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +8 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +8 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +8 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +4 -0
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +8 -1
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +4 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +8 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +4 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +18 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +10 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +12 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +14 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +18 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +18 -1
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +8 -0
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +8 -0
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +8 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +8 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +18 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +14 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +12 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +8 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +18 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +14 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +8 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +18 -1
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +8 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +14 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +8 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +18 -1
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +10 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +8 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +18 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +8 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +8 -0
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +18 -1
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +12 -1
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +16 -1
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +12 -1
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +8 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +14 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +16 -1
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +4 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +4 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +4 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +16 -1
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +12 -1
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +4 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +14 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +14 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +14 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +18 -1
- data/lib/twilio-ruby/rest/sync/v1/service.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +8 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +12 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +4 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +12 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +12 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +18 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +18 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +14 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +14 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +18 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +14 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +8 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +18 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +8 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +8 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +14 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +14 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +12 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +18 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +18 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +8 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +8 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +18 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +8 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +14 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +14 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +12 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/form.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +10 -0
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +8 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +16 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +14 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +14 -1
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +12 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/template.rb +4 -1
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +8 -1
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +4 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +14 -1
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +18 -1
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +10 -1
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +4 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +8 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +8 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +12 -1
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +10 -1
- data/lib/twilio-ruby/rest/video/v1/room.rb +16 -1
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +18 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +18 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +18 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +4 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +4 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +8 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +8 -0
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +18 -1
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +18 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +14 -1
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +18 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +4 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +4 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +14 -1
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +4 -1
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +27 -5
@@ -29,8 +29,8 @@ module Twilio
|
|
29
29
|
end
|
30
30
|
def to_json(options = {})
|
31
31
|
{
|
32
|
-
type: @type,
|
33
|
-
copy_code_text: @copy_code_text,
|
32
|
+
"type": @type,
|
33
|
+
"copy_code_text": @copy_code_text,
|
34
34
|
}.to_json(options)
|
35
35
|
end
|
36
36
|
end
|
@@ -51,11 +51,11 @@ module Twilio
|
|
51
51
|
end
|
52
52
|
def to_json(options = {})
|
53
53
|
{
|
54
|
-
type: @type,
|
55
|
-
title: @title,
|
56
|
-
url: @url,
|
57
|
-
phone: @phone,
|
58
|
-
code: @code,
|
54
|
+
"type": @type,
|
55
|
+
"title": @title,
|
56
|
+
"url": @url,
|
57
|
+
"phone": @phone,
|
58
|
+
"code": @code,
|
59
59
|
}.to_json(options)
|
60
60
|
end
|
61
61
|
end
|
@@ -78,12 +78,12 @@ module Twilio
|
|
78
78
|
end
|
79
79
|
def to_json(options = {})
|
80
80
|
{
|
81
|
-
type: @type,
|
82
|
-
title: @title,
|
83
|
-
url: @url,
|
84
|
-
phone: @phone,
|
85
|
-
id: @id,
|
86
|
-
code: @code,
|
81
|
+
"type": @type,
|
82
|
+
"title": @title,
|
83
|
+
"url": @url,
|
84
|
+
"phone": @phone,
|
85
|
+
"id": @id,
|
86
|
+
"code": @code,
|
87
87
|
}.to_json(options)
|
88
88
|
end
|
89
89
|
end
|
@@ -104,11 +104,11 @@ module Twilio
|
|
104
104
|
end
|
105
105
|
def to_json(options = {})
|
106
106
|
{
|
107
|
-
type: @type,
|
108
|
-
title: @title,
|
109
|
-
url: @url,
|
110
|
-
phone: @phone,
|
111
|
-
id: @id,
|
107
|
+
"type": @type,
|
108
|
+
"title": @title,
|
109
|
+
"url": @url,
|
110
|
+
"phone": @phone,
|
111
|
+
"id": @id,
|
112
112
|
}.to_json(options)
|
113
113
|
end
|
114
114
|
end
|
@@ -127,10 +127,10 @@ module Twilio
|
|
127
127
|
end
|
128
128
|
def to_json(options = {})
|
129
129
|
{
|
130
|
-
title: @title,
|
131
|
-
body: @body,
|
132
|
-
media: @media,
|
133
|
-
actions: @actions,
|
130
|
+
"title": @title,
|
131
|
+
"body": @body,
|
132
|
+
"media": @media,
|
133
|
+
"actions": @actions,
|
134
134
|
}.to_json(options)
|
135
135
|
end
|
136
136
|
end
|
@@ -153,12 +153,12 @@ module Twilio
|
|
153
153
|
end
|
154
154
|
def to_json(options = {})
|
155
155
|
{
|
156
|
-
id: @id,
|
157
|
-
section_title: @section_title,
|
158
|
-
name: @name,
|
159
|
-
media_url: @media_url,
|
160
|
-
price: @price,
|
161
|
-
description: @description,
|
156
|
+
"id": @id,
|
157
|
+
"section_title": @section_title,
|
158
|
+
"name": @name,
|
159
|
+
"media_url": @media_url,
|
160
|
+
"price": @price,
|
161
|
+
"description": @description,
|
162
162
|
}.to_json(options)
|
163
163
|
end
|
164
164
|
end
|
@@ -177,10 +177,10 @@ module Twilio
|
|
177
177
|
end
|
178
178
|
def to_json(options = {})
|
179
179
|
{
|
180
|
-
friendly_name: @friendly_name,
|
181
|
-
variables: @variables,
|
182
|
-
language: @language,
|
183
|
-
types: @types,
|
180
|
+
"friendly_name": @friendly_name,
|
181
|
+
"variables": @variables,
|
182
|
+
"language": @language,
|
183
|
+
"types": @types,
|
184
184
|
}.to_json(options)
|
185
185
|
end
|
186
186
|
end
|
@@ -201,11 +201,11 @@ module Twilio
|
|
201
201
|
end
|
202
202
|
def to_json(options = {})
|
203
203
|
{
|
204
|
-
id: @id,
|
205
|
-
next_page_id: @next_page_id,
|
206
|
-
title: @title,
|
207
|
-
subtitle: @subtitle,
|
208
|
-
layout: @layout,
|
204
|
+
"id": @id,
|
205
|
+
"next_page_id": @next_page_id,
|
206
|
+
"title": @title,
|
207
|
+
"subtitle": @subtitle,
|
208
|
+
"layout": @layout,
|
209
209
|
}.to_json(options)
|
210
210
|
end
|
211
211
|
end
|
@@ -224,10 +224,10 @@ module Twilio
|
|
224
224
|
end
|
225
225
|
def to_json(options = {})
|
226
226
|
{
|
227
|
-
label: @label,
|
228
|
-
type: @type,
|
229
|
-
text: @text,
|
230
|
-
options: @options,
|
227
|
+
"label": @label,
|
228
|
+
"type": @type,
|
229
|
+
"text": @text,
|
230
|
+
"options": @options,
|
231
231
|
}.to_json(options)
|
232
232
|
end
|
233
233
|
end
|
@@ -242,8 +242,8 @@ module Twilio
|
|
242
242
|
end
|
243
243
|
def to_json(options = {})
|
244
244
|
{
|
245
|
-
id: @id,
|
246
|
-
title: @title,
|
245
|
+
"id": @id,
|
246
|
+
"title": @title,
|
247
247
|
}.to_json(options)
|
248
248
|
end
|
249
249
|
end
|
@@ -260,9 +260,9 @@ module Twilio
|
|
260
260
|
end
|
261
261
|
def to_json(options = {})
|
262
262
|
{
|
263
|
-
id: @id,
|
264
|
-
item: @item,
|
265
|
-
description: @description,
|
263
|
+
"id": @id,
|
264
|
+
"item": @item,
|
265
|
+
"description": @description,
|
266
266
|
}.to_json(options)
|
267
267
|
end
|
268
268
|
end
|
@@ -279,9 +279,9 @@ module Twilio
|
|
279
279
|
end
|
280
280
|
def to_json(options = {})
|
281
281
|
{
|
282
|
-
type: @type,
|
283
|
-
title: @title,
|
284
|
-
id: @id,
|
282
|
+
"type": @type,
|
283
|
+
"title": @title,
|
284
|
+
"id": @id,
|
285
285
|
}.to_json(options)
|
286
286
|
end
|
287
287
|
end
|
@@ -296,8 +296,8 @@ module Twilio
|
|
296
296
|
end
|
297
297
|
def to_json(options = {})
|
298
298
|
{
|
299
|
-
body: @body,
|
300
|
-
actions: @actions,
|
299
|
+
"body": @body,
|
300
|
+
"actions": @actions,
|
301
301
|
}.to_json(options)
|
302
302
|
end
|
303
303
|
end
|
@@ -316,10 +316,10 @@ module Twilio
|
|
316
316
|
end
|
317
317
|
def to_json(options = {})
|
318
318
|
{
|
319
|
-
title: @title,
|
320
|
-
subtitle: @subtitle,
|
321
|
-
media: @media,
|
322
|
-
actions: @actions,
|
319
|
+
"title": @title,
|
320
|
+
"subtitle": @subtitle,
|
321
|
+
"media": @media,
|
322
|
+
"actions": @actions,
|
323
323
|
}.to_json(options)
|
324
324
|
end
|
325
325
|
end
|
@@ -334,8 +334,8 @@ module Twilio
|
|
334
334
|
end
|
335
335
|
def to_json(options = {})
|
336
336
|
{
|
337
|
-
body: @body,
|
338
|
-
cards: @cards,
|
337
|
+
"body": @body,
|
338
|
+
"cards": @cards,
|
339
339
|
}.to_json(options)
|
340
340
|
end
|
341
341
|
end
|
@@ -358,12 +358,12 @@ module Twilio
|
|
358
358
|
end
|
359
359
|
def to_json(options = {})
|
360
360
|
{
|
361
|
-
title: @title,
|
362
|
-
body: @body,
|
363
|
-
subtitle: @subtitle,
|
364
|
-
id: @id,
|
365
|
-
items: @items,
|
366
|
-
dynamic_items: @dynamic_items,
|
361
|
+
"title": @title,
|
362
|
+
"body": @body,
|
363
|
+
"subtitle": @subtitle,
|
364
|
+
"id": @id,
|
365
|
+
"items": @items,
|
366
|
+
"dynamic_items": @dynamic_items,
|
367
367
|
}.to_json(options)
|
368
368
|
end
|
369
369
|
end
|
@@ -386,12 +386,12 @@ module Twilio
|
|
386
386
|
end
|
387
387
|
def to_json(options = {})
|
388
388
|
{
|
389
|
-
body: @body,
|
390
|
-
button_text: @button_text,
|
391
|
-
subtitle: @subtitle,
|
392
|
-
media_url: @media_url,
|
393
|
-
pages: @pages,
|
394
|
-
type: @type,
|
389
|
+
"body": @body,
|
390
|
+
"button_text": @button_text,
|
391
|
+
"subtitle": @subtitle,
|
392
|
+
"media_url": @media_url,
|
393
|
+
"pages": @pages,
|
394
|
+
"type": @type,
|
395
395
|
}.to_json(options)
|
396
396
|
end
|
397
397
|
end
|
@@ -408,9 +408,9 @@ module Twilio
|
|
408
408
|
end
|
409
409
|
def to_json(options = {})
|
410
410
|
{
|
411
|
-
body: @body,
|
412
|
-
button: @button,
|
413
|
-
items: @items,
|
411
|
+
"body": @body,
|
412
|
+
"button": @button,
|
413
|
+
"items": @items,
|
414
414
|
}.to_json(options)
|
415
415
|
end
|
416
416
|
end
|
@@ -427,9 +427,9 @@ module Twilio
|
|
427
427
|
end
|
428
428
|
def to_json(options = {})
|
429
429
|
{
|
430
|
-
latitude: @latitude,
|
431
|
-
longitude: @longitude,
|
432
|
-
label: @label,
|
430
|
+
"latitude": @latitude,
|
431
|
+
"longitude": @longitude,
|
432
|
+
"label": @label,
|
433
433
|
}.to_json(options)
|
434
434
|
end
|
435
435
|
end
|
@@ -444,8 +444,8 @@ module Twilio
|
|
444
444
|
end
|
445
445
|
def to_json(options = {})
|
446
446
|
{
|
447
|
-
body: @body,
|
448
|
-
media: @media,
|
447
|
+
"body": @body,
|
448
|
+
"media": @media,
|
449
449
|
}.to_json(options)
|
450
450
|
end
|
451
451
|
end
|
@@ -460,8 +460,8 @@ module Twilio
|
|
460
460
|
end
|
461
461
|
def to_json(options = {})
|
462
462
|
{
|
463
|
-
body: @body,
|
464
|
-
actions: @actions,
|
463
|
+
"body": @body,
|
464
|
+
"actions": @actions,
|
465
465
|
}.to_json(options)
|
466
466
|
end
|
467
467
|
end
|
@@ -474,7 +474,7 @@ module Twilio
|
|
474
474
|
end
|
475
475
|
def to_json(options = {})
|
476
476
|
{
|
477
|
-
body: @body,
|
477
|
+
"body": @body,
|
478
478
|
}.to_json(options)
|
479
479
|
end
|
480
480
|
end
|
@@ -509,18 +509,18 @@ module Twilio
|
|
509
509
|
end
|
510
510
|
def to_json(options = {})
|
511
511
|
{
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
512
|
+
"twilio/text": @twilio_text,
|
513
|
+
"twilio/media": @twilio_media,
|
514
|
+
"twilio/location": @twilio_location,
|
515
|
+
"twilio/list-picker": @twilio_list_picker,
|
516
|
+
"twilio/call-to-action": @twilio_call_to_action,
|
517
|
+
"twilio/quick-reply": @twilio_quick_reply,
|
518
|
+
"twilio/card": @twilio_card,
|
519
|
+
"twilio/catalog": @twilio_catalog,
|
520
|
+
"twilio/carousel": @twilio_carousel,
|
521
|
+
"twilio/flows": @twilio_flows,
|
522
|
+
"whatsapp/card": @whatsapp_card,
|
523
|
+
"whatsapp/authentication": @whatsapp_authentication,
|
524
524
|
}.to_json(options)
|
525
525
|
end
|
526
526
|
end
|
@@ -537,9 +537,9 @@ module Twilio
|
|
537
537
|
end
|
538
538
|
def to_json(options = {})
|
539
539
|
{
|
540
|
-
add_security_recommendation: @add_security_recommendation,
|
541
|
-
code_expiration_minutes: @code_expiration_minutes,
|
542
|
-
actions: @actions,
|
540
|
+
"add_security_recommendation": @add_security_recommendation,
|
541
|
+
"code_expiration_minutes": @code_expiration_minutes,
|
542
|
+
"actions": @actions,
|
543
543
|
}.to_json(options)
|
544
544
|
end
|
545
545
|
end
|
@@ -560,15 +560,16 @@ module Twilio
|
|
560
560
|
end
|
561
561
|
def to_json(options = {})
|
562
562
|
{
|
563
|
-
body: @body,
|
564
|
-
footer: @footer,
|
565
|
-
media: @media,
|
566
|
-
header_text: @header_text,
|
567
|
-
actions: @actions,
|
563
|
+
"body": @body,
|
564
|
+
"footer": @footer,
|
565
|
+
"media": @media,
|
566
|
+
"header_text": @header_text,
|
567
|
+
"actions": @actions,
|
568
568
|
}.to_json(options)
|
569
569
|
end
|
570
570
|
end
|
571
571
|
|
572
|
+
|
572
573
|
##
|
573
574
|
# Initialize the ContentList
|
574
575
|
# @param [Version] version Version that contains the resource
|
@@ -589,6 +590,10 @@ module Twilio
|
|
589
590
|
|
590
591
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
591
592
|
headers['Content-Type'] = 'application/json'
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
592
597
|
payload = @version.create('POST', @uri, headers: headers, data: content_create_request.to_json)
|
593
598
|
ContentInstance.new(
|
594
599
|
@version,
|
@@ -662,8 +667,11 @@ module Twilio
|
|
662
667
|
'Page' => page_number,
|
663
668
|
'PageSize' => page_size,
|
664
669
|
})
|
670
|
+
headers = Twilio::Values.of({})
|
671
|
+
|
672
|
+
|
665
673
|
|
666
|
-
response = @version.page('GET', @uri, params: params)
|
674
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
667
675
|
|
668
676
|
ContentPage.new(@version, response, @solution)
|
669
677
|
end
|
@@ -714,6 +722,8 @@ module Twilio
|
|
714
722
|
|
715
723
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
716
724
|
|
725
|
+
|
726
|
+
|
717
727
|
@version.delete('DELETE', @uri, headers: headers)
|
718
728
|
end
|
719
729
|
|
@@ -724,6 +734,10 @@ module Twilio
|
|
724
734
|
|
725
735
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
726
736
|
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
727
741
|
payload = @version.fetch('GET', @uri, headers: headers)
|
728
742
|
ContentInstance.new(
|
729
743
|
@version,
|
@@ -96,8 +96,11 @@ module Twilio
|
|
96
96
|
'Page' => page_number,
|
97
97
|
'PageSize' => page_size,
|
98
98
|
})
|
99
|
+
headers = Twilio::Values.of({})
|
100
|
+
|
101
|
+
|
99
102
|
|
100
|
-
response = @version.page('GET', @uri, params: params)
|
103
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
101
104
|
|
102
105
|
ContentAndApprovalsPage.new(@version, response, @solution)
|
103
106
|
end
|
@@ -96,8 +96,11 @@ module Twilio
|
|
96
96
|
'Page' => page_number,
|
97
97
|
'PageSize' => page_size,
|
98
98
|
})
|
99
|
+
headers = Twilio::Values.of({})
|
100
|
+
|
101
|
+
|
99
102
|
|
100
|
-
response = @version.page('GET', @uri, params: params)
|
103
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
101
104
|
|
102
105
|
LegacyContentPage.new(@version, response, @solution)
|
103
106
|
end
|
@@ -153,8 +153,11 @@ module Twilio
|
|
153
153
|
'Page' => page_number,
|
154
154
|
'PageSize' => page_size,
|
155
155
|
})
|
156
|
+
headers = Twilio::Values.of({})
|
157
|
+
|
158
|
+
|
156
159
|
|
157
|
-
response = @version.page('GET', @uri, params: params)
|
160
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
158
161
|
|
159
162
|
ContentPage.new(@version, response, @solution)
|
160
163
|
end
|
@@ -153,8 +153,11 @@ module Twilio
|
|
153
153
|
'Page' => page_number,
|
154
154
|
'PageSize' => page_size,
|
155
155
|
})
|
156
|
+
headers = Twilio::Values.of({})
|
157
|
+
|
158
|
+
|
156
159
|
|
157
|
-
response = @version.page('GET', @uri, params: params)
|
160
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
158
161
|
|
159
162
|
ContentAndApprovalsPage.new(@version, response, @solution)
|
160
163
|
end
|
@@ -77,6 +77,10 @@ module Twilio
|
|
77
77
|
|
78
78
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
79
79
|
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
80
84
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
81
85
|
AddressConfigurationInstance.new(
|
82
86
|
@version,
|
@@ -156,8 +160,11 @@ module Twilio
|
|
156
160
|
'Page' => page_number,
|
157
161
|
'PageSize' => page_size,
|
158
162
|
})
|
163
|
+
headers = Twilio::Values.of({})
|
164
|
+
|
165
|
+
|
159
166
|
|
160
|
-
response = @version.page('GET', @uri, params: params)
|
167
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
161
168
|
|
162
169
|
AddressConfigurationPage.new(@version, response, @solution)
|
163
170
|
end
|
@@ -206,6 +213,8 @@ module Twilio
|
|
206
213
|
|
207
214
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
208
215
|
|
216
|
+
|
217
|
+
|
209
218
|
@version.delete('DELETE', @uri, headers: headers)
|
210
219
|
end
|
211
220
|
|
@@ -216,6 +225,10 @@ module Twilio
|
|
216
225
|
|
217
226
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
218
227
|
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
219
232
|
payload = @version.fetch('GET', @uri, headers: headers)
|
220
233
|
AddressConfigurationInstance.new(
|
221
234
|
@version,
|
@@ -262,6 +275,10 @@ module Twilio
|
|
262
275
|
|
263
276
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
264
277
|
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
265
282
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
266
283
|
AddressConfigurationInstance.new(
|
267
284
|
@version,
|
@@ -63,6 +63,10 @@ module Twilio
|
|
63
63
|
|
64
64
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
65
65
|
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
66
70
|
payload = @version.fetch('GET', @uri, headers: headers)
|
67
71
|
WebhookInstance.new(
|
68
72
|
@version,
|
@@ -96,6 +100,10 @@ module Twilio
|
|
96
100
|
|
97
101
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
98
102
|
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
99
107
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
100
108
|
WebhookInstance.new(
|
101
109
|
@version,
|
@@ -62,6 +62,10 @@ module Twilio
|
|
62
62
|
|
63
63
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
64
|
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
65
69
|
payload = @version.fetch('GET', @uri, headers: headers)
|
66
70
|
ConfigurationInstance.new(
|
67
71
|
@version,
|
@@ -92,6 +96,10 @@ module Twilio
|
|
92
96
|
|
93
97
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
94
98
|
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
95
103
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
96
104
|
ConfigurationInstance.new(
|
97
105
|
@version,
|
@@ -99,8 +99,11 @@ module Twilio
|
|
99
99
|
'Page' => page_number,
|
100
100
|
'PageSize' => page_size,
|
101
101
|
})
|
102
|
+
headers = Twilio::Values.of({})
|
103
|
+
|
104
|
+
|
102
105
|
|
103
|
-
response = @version.page('GET', @uri, params: params)
|
106
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
104
107
|
|
105
108
|
DeliveryReceiptPage.new(@version, response, @solution)
|
106
109
|
end
|
@@ -151,6 +154,10 @@ module Twilio
|
|
151
154
|
|
152
155
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
153
156
|
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
154
161
|
payload = @version.fetch('GET', @uri, headers: headers)
|
155
162
|
DeliveryReceiptInstance.new(
|
156
163
|
@version,
|
@@ -72,6 +72,10 @@ module Twilio
|
|
72
72
|
|
73
73
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
74
74
|
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
75
79
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
76
80
|
MessageInstance.new(
|
77
81
|
@version,
|
@@ -152,8 +156,11 @@ module Twilio
|
|
152
156
|
'Page' => page_number,
|
153
157
|
'PageSize' => page_size,
|
154
158
|
})
|
159
|
+
headers = Twilio::Values.of({})
|
160
|
+
|
161
|
+
|
155
162
|
|
156
|
-
response = @version.page('GET', @uri, params: params)
|
163
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
157
164
|
|
158
165
|
MessagePage.new(@version, response, @solution)
|
159
166
|
end
|
@@ -207,6 +214,8 @@ module Twilio
|
|
207
214
|
|
208
215
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
209
216
|
|
217
|
+
|
218
|
+
|
210
219
|
@version.delete('DELETE', @uri, headers: headers)
|
211
220
|
end
|
212
221
|
|
@@ -217,6 +226,10 @@ module Twilio
|
|
217
226
|
|
218
227
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
219
228
|
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
220
233
|
payload = @version.fetch('GET', @uri, headers: headers)
|
221
234
|
MessageInstance.new(
|
222
235
|
@version,
|
@@ -257,6 +270,10 @@ module Twilio
|
|
257
270
|
|
258
271
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
259
272
|
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
260
277
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
261
278
|
MessageInstance.new(
|
262
279
|
@version,
|