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
@@ -59,6 +59,10 @@ module Twilio
|
|
59
59
|
|
60
60
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
61
61
|
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
62
66
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
63
67
|
WebChannelInstance.new(
|
64
68
|
@version,
|
@@ -132,8 +136,11 @@ module Twilio
|
|
132
136
|
'Page' => page_number,
|
133
137
|
'PageSize' => page_size,
|
134
138
|
})
|
139
|
+
headers = Twilio::Values.of({})
|
140
|
+
|
141
|
+
|
135
142
|
|
136
|
-
response = @version.page('GET', @uri, params: params)
|
143
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
137
144
|
|
138
145
|
WebChannelPage.new(@version, response, @solution)
|
139
146
|
end
|
@@ -182,6 +189,8 @@ module Twilio
|
|
182
189
|
|
183
190
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
184
191
|
|
192
|
+
|
193
|
+
|
185
194
|
@version.delete('DELETE', @uri, headers: headers)
|
186
195
|
end
|
187
196
|
|
@@ -192,6 +201,10 @@ module Twilio
|
|
192
201
|
|
193
202
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
194
203
|
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
195
208
|
payload = @version.fetch('GET', @uri, headers: headers)
|
196
209
|
WebChannelInstance.new(
|
197
210
|
@version,
|
@@ -217,6 +230,10 @@ module Twilio
|
|
217
230
|
|
218
231
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
219
232
|
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
220
237
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
221
238
|
WebChannelInstance.new(
|
222
239
|
@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
|
FlexUserInstance.new(
|
68
72
|
@version,
|
@@ -101,6 +105,10 @@ module Twilio
|
|
101
105
|
|
102
106
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
103
107
|
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
104
112
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
105
113
|
FlexUserInstance.new(
|
106
114
|
@version,
|
@@ -55,6 +55,10 @@ module Twilio
|
|
55
55
|
|
56
56
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Ui-Version' => ui_version, })
|
57
57
|
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
58
62
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
59
63
|
WebChannelsInstance.new(
|
60
64
|
@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
|
UserInstance.new(
|
67
71
|
@version,
|
@@ -93,6 +97,10 @@ module Twilio
|
|
93
97
|
|
94
98
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
95
99
|
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
96
104
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
97
105
|
UserInstance.new(
|
98
106
|
@version,
|
@@ -62,6 +62,8 @@ module Twilio
|
|
62
62
|
|
63
63
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
64
|
|
65
|
+
|
66
|
+
|
65
67
|
@version.delete('DELETE', @uri, headers: headers)
|
66
68
|
end
|
67
69
|
|
@@ -72,6 +74,10 @@ module Twilio
|
|
72
74
|
|
73
75
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
74
76
|
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
75
81
|
payload = @version.fetch('GET', @uri, headers: headers)
|
76
82
|
ApiKeyInstance.new(
|
77
83
|
@version,
|
@@ -97,6 +103,10 @@ module Twilio
|
|
97
103
|
|
98
104
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
99
105
|
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
100
110
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
101
111
|
ApiKeyInstance.new(
|
102
112
|
@version,
|
@@ -102,8 +102,11 @@ module Twilio
|
|
102
102
|
'Page' => page_number,
|
103
103
|
'PageSize' => page_size,
|
104
104
|
})
|
105
|
+
headers = Twilio::Values.of({})
|
106
|
+
|
107
|
+
|
105
108
|
|
106
|
-
response = @version.page('GET', @uri, params: params)
|
109
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
107
110
|
|
108
111
|
GetApiKeysPage.new(@version, response, @solution)
|
109
112
|
end
|
@@ -17,12 +17,12 @@ module Twilio
|
|
17
17
|
module REST
|
18
18
|
class Iam < IamBase
|
19
19
|
class V1 < Version
|
20
|
-
class
|
20
|
+
class NewApiKeyList < ListResource
|
21
21
|
|
22
22
|
##
|
23
|
-
# Initialize the
|
23
|
+
# Initialize the NewApiKeyList
|
24
24
|
# @param [Version] version Version that contains the resource
|
25
|
-
# @return [
|
25
|
+
# @return [NewApiKeyList] NewApiKeyList
|
26
26
|
def initialize(version)
|
27
27
|
super(version)
|
28
28
|
# Path Solution
|
@@ -31,12 +31,12 @@ module Twilio
|
|
31
31
|
|
32
32
|
end
|
33
33
|
##
|
34
|
-
# Create the
|
34
|
+
# Create the NewApiKeyInstance
|
35
35
|
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
|
36
36
|
# @param [String] friendly_name A descriptive string that you create to describe the resource. It can be up to 64 characters long.
|
37
37
|
# @param [Keytype] key_type
|
38
38
|
# @param [Object] policy The \\\\`Policy\\\\` object is a collection that specifies the allowed Twilio permissions for the restricted key. For more information on the permissions available with restricted API keys, refer to the [Twilio documentation](https://www.twilio.com/docs/iam/api-keys/restricted-api-keys#permissions-available-with-restricted-api-keys).
|
39
|
-
# @return [
|
39
|
+
# @return [NewApiKeyInstance] Created NewApiKeyInstance
|
40
40
|
def create(
|
41
41
|
account_sid: nil,
|
42
42
|
friendly_name: :unset,
|
@@ -53,8 +53,12 @@ module Twilio
|
|
53
53
|
|
54
54
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
55
55
|
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
56
60
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
57
|
-
|
61
|
+
NewApiKeyInstance.new(
|
58
62
|
@version,
|
59
63
|
payload,
|
60
64
|
)
|
@@ -65,17 +69,17 @@ module Twilio
|
|
65
69
|
|
66
70
|
# Provide a user friendly representation
|
67
71
|
def to_s
|
68
|
-
'#<Twilio.Iam.V1.
|
72
|
+
'#<Twilio.Iam.V1.NewApiKeyList>'
|
69
73
|
end
|
70
74
|
end
|
71
75
|
|
72
|
-
class
|
76
|
+
class NewApiKeyPage < Page
|
73
77
|
##
|
74
|
-
# Initialize the
|
78
|
+
# Initialize the NewApiKeyPage
|
75
79
|
# @param [Version] version Version that contains the resource
|
76
80
|
# @param [Response] response Response from the API
|
77
81
|
# @param [Hash] solution Path solution for the resource
|
78
|
-
# @return [
|
82
|
+
# @return [NewApiKeyPage] NewApiKeyPage
|
79
83
|
def initialize(version, response, solution)
|
80
84
|
super(version, response)
|
81
85
|
|
@@ -84,29 +88,29 @@ module Twilio
|
|
84
88
|
end
|
85
89
|
|
86
90
|
##
|
87
|
-
# Build an instance of
|
91
|
+
# Build an instance of NewApiKeyInstance
|
88
92
|
# @param [Hash] payload Payload response from the API
|
89
|
-
# @return [
|
93
|
+
# @return [NewApiKeyInstance] NewApiKeyInstance
|
90
94
|
def get_instance(payload)
|
91
|
-
|
95
|
+
NewApiKeyInstance.new(@version, payload)
|
92
96
|
end
|
93
97
|
|
94
98
|
##
|
95
99
|
# Provide a user friendly representation
|
96
100
|
def to_s
|
97
|
-
'<Twilio.Iam.V1.
|
101
|
+
'<Twilio.Iam.V1.NewApiKeyPage>'
|
98
102
|
end
|
99
103
|
end
|
100
|
-
class
|
104
|
+
class NewApiKeyInstance < InstanceResource
|
101
105
|
##
|
102
|
-
# Initialize the
|
106
|
+
# Initialize the NewApiKeyInstance
|
103
107
|
# @param [Version] version Version that contains the resource
|
104
108
|
# @param [Hash] payload payload that contains response from Twilio
|
105
109
|
# @param [String] account_sid The SID of the
|
106
|
-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this
|
110
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this NewApiKey
|
107
111
|
# resource.
|
108
112
|
# @param [String] sid The SID of the Call resource to fetch.
|
109
|
-
# @return [
|
113
|
+
# @return [NewApiKeyInstance] NewApiKeyInstance
|
110
114
|
def initialize(version, payload )
|
111
115
|
super(version)
|
112
116
|
|
@@ -161,13 +165,13 @@ module Twilio
|
|
161
165
|
##
|
162
166
|
# Provide a user friendly representation
|
163
167
|
def to_s
|
164
|
-
"<Twilio.Iam.V1.
|
168
|
+
"<Twilio.Iam.V1.NewApiKeyInstance>"
|
165
169
|
end
|
166
170
|
|
167
171
|
##
|
168
172
|
# Provide a detailed, user friendly representation
|
169
173
|
def inspect
|
170
|
-
"<Twilio.Iam.V1.
|
174
|
+
"<Twilio.Iam.V1.NewApiKeyInstance>"
|
171
175
|
end
|
172
176
|
end
|
173
177
|
|
@@ -23,7 +23,7 @@ module Twilio
|
|
23
23
|
@version = 'v1'
|
24
24
|
@api_key = nil
|
25
25
|
@get_api_keys = nil
|
26
|
-
@
|
26
|
+
@new_api_key = nil
|
27
27
|
end
|
28
28
|
|
29
29
|
##
|
@@ -46,9 +46,9 @@ module Twilio
|
|
46
46
|
@get_api_keys ||= GetApiKeysList.new self
|
47
47
|
end
|
48
48
|
##
|
49
|
-
# @return [Twilio::REST::Iam::V1::
|
50
|
-
def
|
51
|
-
@
|
49
|
+
# @return [Twilio::REST::Iam::V1::NewApiKeyList]
|
50
|
+
def new_api_key
|
51
|
+
@new_api_key ||= NewApiKeyList.new self
|
52
52
|
end
|
53
53
|
##
|
54
54
|
# Provide a user friendly representation
|
@@ -64,6 +64,10 @@ module Twilio
|
|
64
64
|
|
65
65
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
66
66
|
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
67
71
|
payload = @version.fetch('GET', @uri, headers: headers)
|
68
72
|
AnnotationInstance.new(
|
69
73
|
@version,
|
@@ -104,6 +108,10 @@ module Twilio
|
|
104
108
|
|
105
109
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
106
110
|
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
107
115
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
108
116
|
AnnotationInstance.new(
|
109
117
|
@version,
|
@@ -104,8 +104,11 @@ module Twilio
|
|
104
104
|
'Page' => page_number,
|
105
105
|
'PageSize' => page_size,
|
106
106
|
})
|
107
|
+
headers = Twilio::Values.of({})
|
108
|
+
|
109
|
+
|
107
110
|
|
108
|
-
response = @version.page('GET', @uri, params: params)
|
111
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
109
112
|
|
110
113
|
EventPage.new(@version, response, @solution)
|
111
114
|
end
|
@@ -110,8 +110,11 @@ module Twilio
|
|
110
110
|
'Page' => page_number,
|
111
111
|
'PageSize' => page_size,
|
112
112
|
})
|
113
|
+
headers = Twilio::Values.of({})
|
114
|
+
|
115
|
+
|
113
116
|
|
114
|
-
response = @version.page('GET', @uri, params: params)
|
117
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
115
118
|
|
116
119
|
MetricPage.new(@version, response, @solution)
|
117
120
|
end
|
@@ -288,8 +288,11 @@ module Twilio
|
|
288
288
|
'Page' => page_number,
|
289
289
|
'PageSize' => page_size,
|
290
290
|
})
|
291
|
+
headers = Twilio::Values.of({})
|
292
|
+
|
293
|
+
|
291
294
|
|
292
|
-
response = @version.page('GET', @uri, params: params)
|
295
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
293
296
|
|
294
297
|
CallSummariesPage.new(@version, response, @solution)
|
295
298
|
end
|
@@ -116,8 +116,11 @@ module Twilio
|
|
116
116
|
'Page' => page_number,
|
117
117
|
'PageSize' => page_size,
|
118
118
|
})
|
119
|
+
headers = Twilio::Values.of({})
|
120
|
+
|
121
|
+
|
119
122
|
|
120
|
-
response = @version.page('GET', @uri, params: params)
|
123
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
121
124
|
|
122
125
|
ConferenceParticipantPage.new(@version, response, @solution)
|
123
126
|
end
|
@@ -176,6 +179,10 @@ module Twilio
|
|
176
179
|
})
|
177
180
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
178
181
|
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
179
186
|
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
180
187
|
ConferenceParticipantInstance.new(
|
181
188
|
@version,
|
@@ -156,8 +156,11 @@ module Twilio
|
|
156
156
|
'Page' => page_number,
|
157
157
|
'PageSize' => page_size,
|
158
158
|
})
|
159
|
+
headers = Twilio::Values.of({})
|
160
|
+
|
161
|
+
|
159
162
|
|
160
|
-
response = @version.page('GET', @uri, params: params)
|
163
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
161
164
|
|
162
165
|
ConferencePage.new(@version, response, @solution)
|
163
166
|
end
|
@@ -207,6 +210,10 @@ module Twilio
|
|
207
210
|
|
208
211
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
209
212
|
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
210
217
|
payload = @version.fetch('GET', @uri, headers: headers)
|
211
218
|
ConferenceInstance.new(
|
212
219
|
@version,
|
@@ -98,8 +98,11 @@ module Twilio
|
|
98
98
|
'Page' => page_number,
|
99
99
|
'PageSize' => page_size,
|
100
100
|
})
|
101
|
+
headers = Twilio::Values.of({})
|
102
|
+
|
103
|
+
|
101
104
|
|
102
|
-
response = @version.page('GET', @uri, params: params)
|
105
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
103
106
|
|
104
107
|
ParticipantPage.new(@version, response, @solution)
|
105
108
|
end
|
@@ -149,6 +152,10 @@ module Twilio
|
|
149
152
|
|
150
153
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
151
154
|
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
152
159
|
payload = @version.fetch('GET', @uri, headers: headers)
|
153
160
|
ParticipantInstance.new(
|
154
161
|
@version,
|
@@ -128,8 +128,11 @@ module Twilio
|
|
128
128
|
'Page' => page_number,
|
129
129
|
'PageSize' => page_size,
|
130
130
|
})
|
131
|
+
headers = Twilio::Values.of({})
|
132
|
+
|
133
|
+
|
131
134
|
|
132
|
-
response = @version.page('GET', @uri, params: params)
|
135
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
133
136
|
|
134
137
|
RoomPage.new(@version, response, @solution)
|
135
138
|
end
|
@@ -179,6 +182,10 @@ module Twilio
|
|
179
182
|
|
180
183
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
181
184
|
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
182
189
|
payload = @version.fetch('GET', @uri, headers: headers)
|
183
190
|
RoomInstance.new(
|
184
191
|
@version,
|
@@ -67,6 +67,10 @@ module Twilio
|
|
67
67
|
})
|
68
68
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
69
69
|
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
70
74
|
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
71
75
|
SettingInstance.new(
|
72
76
|
@version,
|
@@ -94,6 +98,10 @@ module Twilio
|
|
94
98
|
|
95
99
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
96
100
|
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
97
105
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
98
106
|
SettingInstance.new(
|
99
107
|
@version,
|
@@ -50,6 +50,10 @@ module Twilio
|
|
50
50
|
|
51
51
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
52
52
|
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
53
57
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
54
58
|
CustomOperatorInstance.new(
|
55
59
|
@version,
|
@@ -135,8 +139,11 @@ module Twilio
|
|
135
139
|
'Page' => page_number,
|
136
140
|
'PageSize' => page_size,
|
137
141
|
})
|
142
|
+
headers = Twilio::Values.of({})
|
143
|
+
|
144
|
+
|
138
145
|
|
139
|
-
response = @version.page('GET', @uri, params: params)
|
146
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
140
147
|
|
141
148
|
CustomOperatorPage.new(@version, response, @solution)
|
142
149
|
end
|
@@ -185,6 +192,8 @@ module Twilio
|
|
185
192
|
|
186
193
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
187
194
|
|
195
|
+
|
196
|
+
|
188
197
|
@version.delete('DELETE', @uri, headers: headers)
|
189
198
|
end
|
190
199
|
|
@@ -195,6 +204,10 @@ module Twilio
|
|
195
204
|
|
196
205
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
197
206
|
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
198
211
|
payload = @version.fetch('GET', @uri, headers: headers)
|
199
212
|
CustomOperatorInstance.new(
|
200
213
|
@version,
|
@@ -222,6 +235,10 @@ module Twilio
|
|
222
235
|
|
223
236
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'If-Match' => if_match, })
|
224
237
|
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
225
242
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
226
243
|
CustomOperatorInstance.new(
|
227
244
|
@version,
|
@@ -108,8 +108,11 @@ module Twilio
|
|
108
108
|
'Page' => page_number,
|
109
109
|
'PageSize' => page_size,
|
110
110
|
})
|
111
|
+
headers = Twilio::Values.of({})
|
112
|
+
|
113
|
+
|
111
114
|
|
112
|
-
response = @version.page('GET', @uri, params: params)
|
115
|
+
response = @version.page('GET', @uri, params: params, headers: headers)
|
113
116
|
|
114
117
|
OperatorPage.new(@version, response, @solution)
|
115
118
|
end
|
@@ -158,6 +161,10 @@ module Twilio
|
|
158
161
|
|
159
162
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
160
163
|
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
161
168
|
payload = @version.fetch('GET', @uri, headers: headers)
|
162
169
|
OperatorInstance.new(
|
163
170
|
@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.create('POST', @uri, headers: headers)
|
67
71
|
OperatorAttachmentInstance.new(
|
68
72
|
@version,
|
@@ -79,6 +83,8 @@ module Twilio
|
|
79
83
|
|
80
84
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
81
85
|
|
86
|
+
|
87
|
+
|
82
88
|
@version.delete('DELETE', @uri, headers: headers)
|
83
89
|
end
|
84
90
|
|
@@ -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
|
OperatorTypePage.new(@version, response, @solution)
|
103
106
|
end
|
@@ -146,6 +149,10 @@ module Twilio
|
|
146
149
|
|
147
150
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
148
151
|
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
149
156
|
payload = @version.fetch('GET', @uri, headers: headers)
|
150
157
|
OperatorTypeInstance.new(
|
151
158
|
@version,
|