twilio-ruby 7.1.1 → 7.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +43 -0
- data/Makefile +3 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/base/client_base.rb +4 -1
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +8 -4
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +8 -4
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +6 -3
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +901 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +36 -5
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -3
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +6 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +4 -2
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +8 -4
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account.rb +6 -3
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +4 -2
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +4 -2
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +6 -3
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +4 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +6 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -4
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -4
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -4
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +4 -2
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +5 -3
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +6 -4
- data/lib/twilio-ruby/rest/chat/v2/service.rb +8 -4
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +1 -1
- data/lib/twilio-ruby/rest/client.rb +5 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +3 -2
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -1
- data/lib/twilio-ruby/rest/content/v1/content.rb +7 -4
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +4 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +8 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +6 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -4
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +6 -3
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +6 -3
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -4
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +16 -1
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -1
- data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -1
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -1
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -1
- data/lib/twilio-ruby/rest/events/v1/sink.rb +8 -4
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +8 -4
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +8 -4
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +6 -3
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +5 -3
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +8 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +3 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +3 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +4 -2
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +4 -2
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +4 -2
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +3 -3
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -1
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +8 -4
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +2 -1
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +1 -1
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +4 -2
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +4 -2
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -1
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +4 -2
- data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +7 -4
- data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +4 -2
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +7 -4
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +6 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +6 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +4 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +6 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +8 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +6 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +6 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +8 -4
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +2 -1
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +2 -1
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +2 -1
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +4 -2
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +9 -8
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +8 -4
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +4 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +4 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +6 -3
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +6 -3
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +4 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +4 -2
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +6 -3
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +6 -3
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +6 -3
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +8 -4
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -1
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +8 -4
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +8 -4
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +8 -4
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +4 -2
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +8 -4
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +8 -4
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +4 -2
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -1
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -1
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +8 -4
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +6 -3
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +5 -3
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +3 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +14 -4
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +29 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -15
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +3 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -1
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb +2 -1
- data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +3 -2
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -3
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +5 -3
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +6 -3
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +4 -2
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +6 -3
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +8 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +8 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +25 -7
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +8 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -1
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +2 -1
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +2 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +8 -4
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +8 -4
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +8 -4
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +8 -4
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +8 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +6 -3
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +8 -4
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +4 -2
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +8 -4
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +6 -3
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +6 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +6 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +6 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +6 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +6 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +6 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +8 -4
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +4 -2
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +8 -4
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +4 -2
- data/lib/twilio-ruby/rest/preview_iam.rb +6 -0
- data/lib/twilio-ruby/rest/preview_iam_base.rb +33 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +8 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +4 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +4 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +6 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +8 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +8 -4
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +4 -2
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +4 -2
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +4 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +8 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +6 -3
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +4 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +8 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +6 -3
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +8 -4
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +6 -3
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +8 -4
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +4 -2
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +8 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +4 -2
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +8 -4
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -1
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -2
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +6 -3
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +4 -2
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +6 -3
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +6 -3
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +6 -3
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +4 -2
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +6 -3
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +6 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +6 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +8 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +6 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +6 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +8 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +8 -4
- data/lib/twilio-ruby/rest/sync/v1/service.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +6 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +3 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +4 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +6 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +8 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +8 -4
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +6 -3
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +6 -3
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +8 -4
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +6 -3
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +4 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +8 -4
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +4 -2
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +4 -2
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +6 -2
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +6 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +6 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +4 -2
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +8 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +8 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +8 -4
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +6 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +6 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +4 -2
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -1
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +6 -3
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +4 -2
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +6 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +6 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +6 -3
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +6 -3
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/service.rb +8 -4
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -1
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -1
- data/lib/twilio-ruby/rest/video/v1/composition.rb +6 -3
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +8 -4
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/recording.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +4 -2
- data/lib/twilio-ruby/rest/video/v1/room.rb +6 -3
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -1
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +8 -4
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +8 -4
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +8 -4
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -2
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +8 -4
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +8 -4
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +6 -3
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +8 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +6 -3
- data/lib/twilio-ruby/twiml/voice_response.rb +89 -14
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +5 -2
@@ -84,8 +84,9 @@ module Twilio
|
|
84
84
|
'LargeRoom' => large_room,
|
85
85
|
})
|
86
86
|
|
87
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
87
88
|
|
88
|
-
payload = @version.create('POST', @uri, data: data)
|
89
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
89
90
|
RoomInstance.new(
|
90
91
|
@version,
|
91
92
|
payload,
|
@@ -233,8 +234,9 @@ module Twilio
|
|
233
234
|
# @return [RoomInstance] Fetched RoomInstance
|
234
235
|
def fetch
|
235
236
|
|
237
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
236
238
|
|
237
|
-
payload = @version.fetch('GET', @uri)
|
239
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
238
240
|
RoomInstance.new(
|
239
241
|
@version,
|
240
242
|
payload,
|
@@ -254,8 +256,9 @@ module Twilio
|
|
254
256
|
'Status' => status,
|
255
257
|
})
|
256
258
|
|
259
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
257
260
|
|
258
|
-
payload = @version.update('POST', @uri, data: data)
|
261
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
259
262
|
RoomInstance.new(
|
260
263
|
@version,
|
261
264
|
payload,
|
@@ -61,8 +61,9 @@ module Twilio
|
|
61
61
|
# @return [Boolean] True if delete succeeds, false otherwise
|
62
62
|
def delete
|
63
63
|
|
64
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
65
|
|
65
|
-
@version.delete('DELETE', @uri)
|
66
|
+
@version.delete('DELETE', @uri, headers: headers)
|
66
67
|
end
|
67
68
|
|
68
69
|
|
@@ -69,8 +69,9 @@ module Twilio
|
|
69
69
|
'FromDomainSid' => from_domain_sid,
|
70
70
|
})
|
71
71
|
|
72
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
72
73
|
|
73
|
-
payload = @version.create('POST', @uri, data: data)
|
74
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
74
75
|
ByocTrunkInstance.new(
|
75
76
|
@version,
|
76
77
|
payload,
|
@@ -191,8 +192,9 @@ module Twilio
|
|
191
192
|
# @return [Boolean] True if delete succeeds, false otherwise
|
192
193
|
def delete
|
193
194
|
|
195
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
194
196
|
|
195
|
-
@version.delete('DELETE', @uri)
|
197
|
+
@version.delete('DELETE', @uri, headers: headers)
|
196
198
|
end
|
197
199
|
|
198
200
|
##
|
@@ -200,8 +202,9 @@ module Twilio
|
|
200
202
|
# @return [ByocTrunkInstance] Fetched ByocTrunkInstance
|
201
203
|
def fetch
|
202
204
|
|
205
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
203
206
|
|
204
|
-
payload = @version.fetch('GET', @uri)
|
207
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
205
208
|
ByocTrunkInstance.new(
|
206
209
|
@version,
|
207
210
|
payload,
|
@@ -248,8 +251,9 @@ module Twilio
|
|
248
251
|
'FromDomainSid' => from_domain_sid,
|
249
252
|
})
|
250
253
|
|
254
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
251
255
|
|
252
|
-
payload = @version.update('POST', @uri, data: data)
|
256
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
253
257
|
ByocTrunkInstance.new(
|
254
258
|
@version,
|
255
259
|
payload,
|
@@ -56,8 +56,9 @@ module Twilio
|
|
56
56
|
'Enabled' => enabled,
|
57
57
|
})
|
58
58
|
|
59
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
59
60
|
|
60
|
-
payload = @version.create('POST', @uri, data: data)
|
61
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
61
62
|
ConnectionPolicyTargetInstance.new(
|
62
63
|
@version,
|
63
64
|
payload,
|
@@ -180,8 +181,9 @@ module Twilio
|
|
180
181
|
# @return [Boolean] True if delete succeeds, false otherwise
|
181
182
|
def delete
|
182
183
|
|
184
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
183
185
|
|
184
|
-
@version.delete('DELETE', @uri)
|
186
|
+
@version.delete('DELETE', @uri, headers: headers)
|
185
187
|
end
|
186
188
|
|
187
189
|
##
|
@@ -189,8 +191,9 @@ module Twilio
|
|
189
191
|
# @return [ConnectionPolicyTargetInstance] Fetched ConnectionPolicyTargetInstance
|
190
192
|
def fetch
|
191
193
|
|
194
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
192
195
|
|
193
|
-
payload = @version.fetch('GET', @uri)
|
196
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
194
197
|
ConnectionPolicyTargetInstance.new(
|
195
198
|
@version,
|
196
199
|
payload,
|
@@ -223,8 +226,9 @@ module Twilio
|
|
223
226
|
'Enabled' => enabled,
|
224
227
|
})
|
225
228
|
|
229
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
226
230
|
|
227
|
-
payload = @version.update('POST', @uri, data: data)
|
231
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
228
232
|
ConnectionPolicyTargetInstance.new(
|
229
233
|
@version,
|
230
234
|
payload,
|
@@ -42,8 +42,9 @@ module Twilio
|
|
42
42
|
'FriendlyName' => friendly_name,
|
43
43
|
})
|
44
44
|
|
45
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
45
46
|
|
46
|
-
payload = @version.create('POST', @uri, data: data)
|
47
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
47
48
|
ConnectionPolicyInstance.new(
|
48
49
|
@version,
|
49
50
|
payload,
|
@@ -165,8 +166,9 @@ module Twilio
|
|
165
166
|
# @return [Boolean] True if delete succeeds, false otherwise
|
166
167
|
def delete
|
167
168
|
|
169
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
168
170
|
|
169
|
-
@version.delete('DELETE', @uri)
|
171
|
+
@version.delete('DELETE', @uri, headers: headers)
|
170
172
|
end
|
171
173
|
|
172
174
|
##
|
@@ -174,8 +176,9 @@ module Twilio
|
|
174
176
|
# @return [ConnectionPolicyInstance] Fetched ConnectionPolicyInstance
|
175
177
|
def fetch
|
176
178
|
|
179
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
177
180
|
|
178
|
-
payload = @version.fetch('GET', @uri)
|
181
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
179
182
|
ConnectionPolicyInstance.new(
|
180
183
|
@version,
|
181
184
|
payload,
|
@@ -195,8 +198,9 @@ module Twilio
|
|
195
198
|
'FriendlyName' => friendly_name,
|
196
199
|
})
|
197
200
|
|
201
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
198
202
|
|
199
|
-
payload = @version.update('POST', @uri, data: data)
|
203
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
200
204
|
ConnectionPolicyInstance.new(
|
201
205
|
@version,
|
202
206
|
payload,
|
@@ -44,8 +44,9 @@ module Twilio
|
|
44
44
|
'UpdateRequest' => update_request,
|
45
45
|
})
|
46
46
|
|
47
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
47
48
|
|
48
|
-
payload = @version.create('POST', @uri, data: data)
|
49
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
49
50
|
BulkCountryUpdateInstance.new(
|
50
51
|
@version,
|
51
52
|
payload,
|
@@ -183,8 +183,9 @@ module Twilio
|
|
183
183
|
# @return [CountryInstance] Fetched CountryInstance
|
184
184
|
def fetch
|
185
185
|
|
186
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
186
187
|
|
187
|
-
payload = @version.fetch('GET', @uri)
|
188
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
188
189
|
CountryInstance.new(
|
189
190
|
@version,
|
190
191
|
payload,
|
@@ -61,8 +61,9 @@ module Twilio
|
|
61
61
|
# @return [SettingsInstance] Fetched SettingsInstance
|
62
62
|
def fetch
|
63
63
|
|
64
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
65
|
|
65
|
-
payload = @version.fetch('GET', @uri)
|
66
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
66
67
|
SettingsInstance.new(
|
67
68
|
@version,
|
68
69
|
payload,
|
@@ -81,8 +82,9 @@ module Twilio
|
|
81
82
|
'DialingPermissionsInheritance' => dialing_permissions_inheritance,
|
82
83
|
})
|
83
84
|
|
85
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
84
86
|
|
85
|
-
payload = @version.update('POST', @uri, data: data)
|
87
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
86
88
|
SettingsInstance.new(
|
87
89
|
@version,
|
88
90
|
payload,
|
@@ -48,8 +48,9 @@ module Twilio
|
|
48
48
|
'CidrPrefixLength' => cidr_prefix_length,
|
49
49
|
})
|
50
50
|
|
51
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
51
52
|
|
52
|
-
payload = @version.create('POST', @uri, data: data)
|
53
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
53
54
|
IpRecordInstance.new(
|
54
55
|
@version,
|
55
56
|
payload,
|
@@ -170,8 +171,9 @@ module Twilio
|
|
170
171
|
# @return [Boolean] True if delete succeeds, false otherwise
|
171
172
|
def delete
|
172
173
|
|
174
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
173
175
|
|
174
|
-
@version.delete('DELETE', @uri)
|
176
|
+
@version.delete('DELETE', @uri, headers: headers)
|
175
177
|
end
|
176
178
|
|
177
179
|
##
|
@@ -179,8 +181,9 @@ module Twilio
|
|
179
181
|
# @return [IpRecordInstance] Fetched IpRecordInstance
|
180
182
|
def fetch
|
181
183
|
|
184
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
182
185
|
|
183
|
-
payload = @version.fetch('GET', @uri)
|
186
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
184
187
|
IpRecordInstance.new(
|
185
188
|
@version,
|
186
189
|
payload,
|
@@ -200,8 +203,9 @@ module Twilio
|
|
200
203
|
'FriendlyName' => friendly_name,
|
201
204
|
})
|
202
205
|
|
206
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
203
207
|
|
204
|
-
payload = @version.update('POST', @uri, data: data)
|
208
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
205
209
|
IpRecordInstance.new(
|
206
210
|
@version,
|
207
211
|
payload,
|
@@ -45,8 +45,9 @@ module Twilio
|
|
45
45
|
'SipDomainSid' => sip_domain_sid,
|
46
46
|
})
|
47
47
|
|
48
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
48
49
|
|
49
|
-
payload = @version.create('POST', @uri, data: data)
|
50
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
50
51
|
SourceIpMappingInstance.new(
|
51
52
|
@version,
|
52
53
|
payload,
|
@@ -167,8 +168,9 @@ module Twilio
|
|
167
168
|
# @return [Boolean] True if delete succeeds, false otherwise
|
168
169
|
def delete
|
169
170
|
|
171
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
170
172
|
|
171
|
-
@version.delete('DELETE', @uri)
|
173
|
+
@version.delete('DELETE', @uri, headers: headers)
|
172
174
|
end
|
173
175
|
|
174
176
|
##
|
@@ -176,8 +178,9 @@ module Twilio
|
|
176
178
|
# @return [SourceIpMappingInstance] Fetched SourceIpMappingInstance
|
177
179
|
def fetch
|
178
180
|
|
181
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
179
182
|
|
180
|
-
payload = @version.fetch('GET', @uri)
|
183
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
181
184
|
SourceIpMappingInstance.new(
|
182
185
|
@version,
|
183
186
|
payload,
|
@@ -197,8 +200,9 @@ module Twilio
|
|
197
200
|
'SipDomainSid' => sip_domain_sid,
|
198
201
|
})
|
199
202
|
|
203
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
200
204
|
|
201
|
-
payload = @version.update('POST', @uri, data: data)
|
205
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
202
206
|
SourceIpMappingInstance.new(
|
203
207
|
@version,
|
204
208
|
payload,
|
@@ -60,8 +60,9 @@ module Twilio
|
|
60
60
|
'DeliveryReceiptRequested' => delivery_receipt_requested,
|
61
61
|
})
|
62
62
|
|
63
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
63
64
|
|
64
|
-
payload = @version.create('POST', @uri, data: data)
|
65
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
65
66
|
CommandInstance.new(
|
66
67
|
@version,
|
67
68
|
payload,
|
@@ -206,8 +207,9 @@ module Twilio
|
|
206
207
|
# @return [Boolean] True if delete succeeds, false otherwise
|
207
208
|
def delete
|
208
209
|
|
210
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
209
211
|
|
210
|
-
@version.delete('DELETE', @uri)
|
212
|
+
@version.delete('DELETE', @uri, headers: headers)
|
211
213
|
end
|
212
214
|
|
213
215
|
##
|
@@ -215,8 +217,9 @@ module Twilio
|
|
215
217
|
# @return [CommandInstance] Fetched CommandInstance
|
216
218
|
def fetch
|
217
219
|
|
220
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
218
221
|
|
219
|
-
payload = @version.fetch('GET', @uri)
|
222
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
220
223
|
CommandInstance.new(
|
221
224
|
@version,
|
222
225
|
payload,
|
@@ -72,8 +72,9 @@ module Twilio
|
|
72
72
|
'InternationalRoamingDataLimit' => international_roaming_data_limit,
|
73
73
|
})
|
74
74
|
|
75
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
75
76
|
|
76
|
-
payload = @version.create('POST', @uri, data: data)
|
77
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
77
78
|
RatePlanInstance.new(
|
78
79
|
@version,
|
79
80
|
payload,
|
@@ -194,8 +195,9 @@ module Twilio
|
|
194
195
|
# @return [Boolean] True if delete succeeds, false otherwise
|
195
196
|
def delete
|
196
197
|
|
198
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
197
199
|
|
198
|
-
@version.delete('DELETE', @uri)
|
200
|
+
@version.delete('DELETE', @uri, headers: headers)
|
199
201
|
end
|
200
202
|
|
201
203
|
##
|
@@ -203,8 +205,9 @@ module Twilio
|
|
203
205
|
# @return [RatePlanInstance] Fetched RatePlanInstance
|
204
206
|
def fetch
|
205
207
|
|
208
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
206
209
|
|
207
|
-
payload = @version.fetch('GET', @uri)
|
210
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
208
211
|
RatePlanInstance.new(
|
209
212
|
@version,
|
210
213
|
payload,
|
@@ -227,8 +230,9 @@ module Twilio
|
|
227
230
|
'FriendlyName' => friendly_name,
|
228
231
|
})
|
229
232
|
|
233
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
230
234
|
|
231
|
-
payload = @version.update('POST', @uri, data: data)
|
235
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
232
236
|
RatePlanInstance.new(
|
233
237
|
@version,
|
234
238
|
payload,
|
@@ -176,8 +176,9 @@ module Twilio
|
|
176
176
|
# @return [Boolean] True if delete succeeds, false otherwise
|
177
177
|
def delete
|
178
178
|
|
179
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
179
180
|
|
180
|
-
@version.delete('DELETE', @uri)
|
181
|
+
@version.delete('DELETE', @uri, headers: headers)
|
181
182
|
end
|
182
183
|
|
183
184
|
##
|
@@ -185,8 +186,9 @@ module Twilio
|
|
185
186
|
# @return [SimInstance] Fetched SimInstance
|
186
187
|
def fetch
|
187
188
|
|
189
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
188
190
|
|
189
|
-
payload = @version.fetch('GET', @uri)
|
191
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
190
192
|
SimInstance.new(
|
191
193
|
@version,
|
192
194
|
payload,
|
@@ -257,8 +259,9 @@ module Twilio
|
|
257
259
|
'AccountSid' => account_sid,
|
258
260
|
})
|
259
261
|
|
262
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
260
263
|
|
261
|
-
payload = @version.update('POST', @uri, data: data)
|
264
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
262
265
|
SimInstance.new(
|
263
266
|
@version,
|
264
267
|
payload,
|
@@ -371,18 +371,50 @@ module Twilio
|
|
371
371
|
yield(siprec) if block_given?
|
372
372
|
append(siprec)
|
373
373
|
end
|
374
|
+
|
375
|
+
##
|
376
|
+
# Create a new <Transcription> element
|
377
|
+
# name:: Friendly name given to the Transcription
|
378
|
+
# track:: Track to be analyze by the provider
|
379
|
+
# status_callback_url:: Status Callback URL
|
380
|
+
# status_callback_method:: Status Callback URL method
|
381
|
+
# inbound_track_label:: Friendly name given to the Inbound Track
|
382
|
+
# outbound_track_label:: Friendly name given to the Outbound Track Label
|
383
|
+
# partial_results:: Indicates if partial results are going to be send to the customer
|
384
|
+
# language_code:: Language Code used by the transcription engine
|
385
|
+
# transcription_engine:: Transcription Engine to be used
|
386
|
+
# profanity_filter:: Enable Profanity Filter
|
387
|
+
# speech_model:: Speech Model used by the transcription engine
|
388
|
+
# hints:: Hints to be provided to the transcription engine
|
389
|
+
# enable_automatic_punctuation:: Enable Automatic Punctuation
|
390
|
+
# keyword_args:: additional attributes
|
391
|
+
def transcription(name: nil, track: nil, status_callback_url: nil, status_callback_method: nil, inbound_track_label: nil, outbound_track_label: nil, partial_results: nil, language_code: nil, transcription_engine: nil, profanity_filter: nil, speech_model: nil, hints: nil, enable_automatic_punctuation: nil, **keyword_args)
|
392
|
+
transcription = Transcription.new(name: name, track: track, status_callback_url: status_callback_url, status_callback_method: status_callback_method, inbound_track_label: inbound_track_label, outbound_track_label: outbound_track_label, partial_results: partial_results, language_code: language_code, transcription_engine: transcription_engine, profanity_filter: profanity_filter, speech_model: speech_model, hints: hints, enable_automatic_punctuation: enable_automatic_punctuation, **keyword_args)
|
393
|
+
|
394
|
+
yield(transcription) if block_given?
|
395
|
+
append(transcription)
|
396
|
+
end
|
374
397
|
end
|
375
398
|
|
376
399
|
##
|
377
|
-
# <
|
378
|
-
class
|
400
|
+
# <Transcription> TwiML Noun
|
401
|
+
class Transcription < TwiML
|
379
402
|
def initialize(**keyword_args)
|
380
403
|
super(**keyword_args)
|
381
|
-
@name = '
|
404
|
+
@name = 'Transcription'
|
382
405
|
|
383
406
|
yield(self) if block_given?
|
384
407
|
end
|
385
408
|
|
409
|
+
##
|
410
|
+
# Create a new <Config> element
|
411
|
+
# name:: The name of the custom config
|
412
|
+
# value:: The value of the custom config
|
413
|
+
# keyword_args:: additional attributes
|
414
|
+
def config(name: nil, value: nil, **keyword_args)
|
415
|
+
append(Config.new(name: name, value: value, **keyword_args))
|
416
|
+
end
|
417
|
+
|
386
418
|
##
|
387
419
|
# Create a new <Parameter> element
|
388
420
|
# name:: The name of the custom parameter
|
@@ -404,6 +436,37 @@ module Twilio
|
|
404
436
|
end
|
405
437
|
end
|
406
438
|
|
439
|
+
##
|
440
|
+
# <Config> TwiML Noun
|
441
|
+
class Config < TwiML
|
442
|
+
def initialize(**keyword_args)
|
443
|
+
super(**keyword_args)
|
444
|
+
@name = 'Config'
|
445
|
+
|
446
|
+
yield(self) if block_given?
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
##
|
451
|
+
# <Siprec> TwiML Noun
|
452
|
+
class Siprec < TwiML
|
453
|
+
def initialize(**keyword_args)
|
454
|
+
super(**keyword_args)
|
455
|
+
@name = 'Siprec'
|
456
|
+
|
457
|
+
yield(self) if block_given?
|
458
|
+
end
|
459
|
+
|
460
|
+
##
|
461
|
+
# Create a new <Parameter> element
|
462
|
+
# name:: The name of the custom parameter
|
463
|
+
# value:: The value of the custom parameter
|
464
|
+
# keyword_args:: additional attributes
|
465
|
+
def parameter(name: nil, value: nil, **keyword_args)
|
466
|
+
append(Parameter.new(name: name, value: value, **keyword_args))
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
407
470
|
##
|
408
471
|
# <Stream> TwiML Noun
|
409
472
|
class Stream < TwiML
|
@@ -464,6 +527,29 @@ module Twilio
|
|
464
527
|
yield(siprec) if block_given?
|
465
528
|
append(siprec)
|
466
529
|
end
|
530
|
+
|
531
|
+
##
|
532
|
+
# Create a new <Transcription> element
|
533
|
+
# name:: Friendly name given to the Transcription
|
534
|
+
# track:: Track to be analyze by the provider
|
535
|
+
# status_callback_url:: Status Callback URL
|
536
|
+
# status_callback_method:: Status Callback URL method
|
537
|
+
# inbound_track_label:: Friendly name given to the Inbound Track
|
538
|
+
# outbound_track_label:: Friendly name given to the Outbound Track Label
|
539
|
+
# partial_results:: Indicates if partial results are going to be send to the customer
|
540
|
+
# language_code:: Language Code used by the transcription engine
|
541
|
+
# transcription_engine:: Transcription Engine to be used
|
542
|
+
# profanity_filter:: Enable Profanity Filter
|
543
|
+
# speech_model:: Speech Model used by the transcription engine
|
544
|
+
# hints:: Hints to be provided to the transcription engine
|
545
|
+
# enable_automatic_punctuation:: Enable Automatic Punctuation
|
546
|
+
# keyword_args:: additional attributes
|
547
|
+
def transcription(name: nil, track: nil, status_callback_url: nil, status_callback_method: nil, inbound_track_label: nil, outbound_track_label: nil, partial_results: nil, language_code: nil, transcription_engine: nil, profanity_filter: nil, speech_model: nil, hints: nil, enable_automatic_punctuation: nil, **keyword_args)
|
548
|
+
transcription = Transcription.new(name: name, track: track, status_callback_url: status_callback_url, status_callback_method: status_callback_method, inbound_track_label: inbound_track_label, outbound_track_label: outbound_track_label, partial_results: partial_results, language_code: language_code, transcription_engine: transcription_engine, profanity_filter: profanity_filter, speech_model: speech_model, hints: hints, enable_automatic_punctuation: enable_automatic_punctuation, **keyword_args)
|
549
|
+
|
550
|
+
yield(transcription) if block_given?
|
551
|
+
append(transcription)
|
552
|
+
end
|
467
553
|
end
|
468
554
|
|
469
555
|
##
|
@@ -1916,17 +2002,6 @@ module Twilio
|
|
1916
2002
|
end
|
1917
2003
|
end
|
1918
2004
|
|
1919
|
-
##
|
1920
|
-
# <Config> TwiML Noun
|
1921
|
-
class Config < TwiML
|
1922
|
-
def initialize(**keyword_args)
|
1923
|
-
super(**keyword_args)
|
1924
|
-
@name = 'Config'
|
1925
|
-
|
1926
|
-
yield(self) if block_given?
|
1927
|
-
end
|
1928
|
-
end
|
1929
|
-
|
1930
2005
|
##
|
1931
2006
|
# <Autopilot> TwiML Noun
|
1932
2007
|
class Autopilot < TwiML
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -275,6 +275,7 @@ files:
|
|
275
275
|
- lib/twilio-ruby/rest/api/v2010/account/call/recording.rb
|
276
276
|
- lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb
|
277
277
|
- lib/twilio-ruby/rest/api/v2010/account/call/stream.rb
|
278
|
+
- lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb
|
278
279
|
- lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb
|
279
280
|
- lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb
|
280
281
|
- lib/twilio-ruby/rest/api/v2010/account/conference.rb
|
@@ -635,6 +636,8 @@ files:
|
|
635
636
|
- lib/twilio-ruby/rest/preview/wireless/sim.rb
|
636
637
|
- lib/twilio-ruby/rest/preview/wireless/sim/usage.rb
|
637
638
|
- lib/twilio-ruby/rest/preview_base.rb
|
639
|
+
- lib/twilio-ruby/rest/preview_iam.rb
|
640
|
+
- lib/twilio-ruby/rest/preview_iam_base.rb
|
638
641
|
- lib/twilio-ruby/rest/pricing.rb
|
639
642
|
- lib/twilio-ruby/rest/pricing/v1.rb
|
640
643
|
- lib/twilio-ruby/rest/pricing/v1/messaging.rb
|