twilio-ruby 7.1.1 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +24 -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/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 +9 -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/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 +3 -2
- 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 +2 -1
- 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/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/version.rb +1 -1
- metadata +2 -2
@@ -174,8 +174,9 @@ module Twilio
|
|
174
174
|
'Events' => events,
|
175
175
|
'Metrics' => metrics,
|
176
176
|
})
|
177
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
177
178
|
|
178
|
-
payload = @version.fetch('GET', @uri, params: params)
|
179
|
+
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
179
180
|
ConferenceParticipantInstance.new(
|
180
181
|
@version,
|
181
182
|
payload,
|
@@ -205,8 +205,9 @@ module Twilio
|
|
205
205
|
# @return [ConferenceInstance] Fetched ConferenceInstance
|
206
206
|
def fetch
|
207
207
|
|
208
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
208
209
|
|
209
|
-
payload = @version.fetch('GET', @uri)
|
210
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
210
211
|
ConferenceInstance.new(
|
211
212
|
@version,
|
212
213
|
payload,
|
@@ -147,8 +147,9 @@ module Twilio
|
|
147
147
|
# @return [ParticipantInstance] Fetched ParticipantInstance
|
148
148
|
def fetch
|
149
149
|
|
150
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
150
151
|
|
151
|
-
payload = @version.fetch('GET', @uri)
|
152
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
152
153
|
ParticipantInstance.new(
|
153
154
|
@version,
|
154
155
|
payload,
|
@@ -177,8 +177,9 @@ module Twilio
|
|
177
177
|
# @return [RoomInstance] Fetched RoomInstance
|
178
178
|
def fetch
|
179
179
|
|
180
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
180
181
|
|
181
|
-
payload = @version.fetch('GET', @uri)
|
182
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
182
183
|
RoomInstance.new(
|
183
184
|
@version,
|
184
185
|
payload,
|
@@ -65,8 +65,9 @@ module Twilio
|
|
65
65
|
params = Twilio::Values.of({
|
66
66
|
'SubaccountSid' => subaccount_sid,
|
67
67
|
})
|
68
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
68
69
|
|
69
|
-
payload = @version.fetch('GET', @uri, params: params)
|
70
|
+
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
70
71
|
SettingInstance.new(
|
71
72
|
@version,
|
72
73
|
payload,
|
@@ -91,8 +92,9 @@ module Twilio
|
|
91
92
|
'SubaccountSid' => subaccount_sid,
|
92
93
|
})
|
93
94
|
|
95
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
94
96
|
|
95
|
-
payload = @version.update('POST', @uri, data: data)
|
97
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
96
98
|
SettingInstance.new(
|
97
99
|
@version,
|
98
100
|
payload,
|
@@ -48,8 +48,9 @@ module Twilio
|
|
48
48
|
'Config' => Twilio.serialize_object(config),
|
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
|
CustomOperatorInstance.new(
|
54
55
|
@version,
|
55
56
|
payload,
|
@@ -182,8 +183,9 @@ module Twilio
|
|
182
183
|
# @return [Boolean] True if delete succeeds, false otherwise
|
183
184
|
def delete
|
184
185
|
|
186
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
185
187
|
|
186
|
-
@version.delete('DELETE', @uri)
|
188
|
+
@version.delete('DELETE', @uri, headers: headers)
|
187
189
|
end
|
188
190
|
|
189
191
|
##
|
@@ -191,8 +193,9 @@ module Twilio
|
|
191
193
|
# @return [CustomOperatorInstance] Fetched CustomOperatorInstance
|
192
194
|
def fetch
|
193
195
|
|
196
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
194
197
|
|
195
|
-
payload = @version.fetch('GET', @uri)
|
198
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
196
199
|
CustomOperatorInstance.new(
|
197
200
|
@version,
|
198
201
|
payload,
|
@@ -217,8 +220,8 @@ module Twilio
|
|
217
220
|
'Config' => Twilio.serialize_object(config),
|
218
221
|
})
|
219
222
|
|
223
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'If-Match' => if_match, })
|
220
224
|
|
221
|
-
headers = Twilio::Values.of({ 'If-Match' => if_match, })
|
222
225
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
223
226
|
CustomOperatorInstance.new(
|
224
227
|
@version,
|
@@ -156,8 +156,9 @@ module Twilio
|
|
156
156
|
# @return [OperatorInstance] Fetched OperatorInstance
|
157
157
|
def fetch
|
158
158
|
|
159
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
159
160
|
|
160
|
-
payload = @version.fetch('GET', @uri)
|
161
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
161
162
|
OperatorInstance.new(
|
162
163
|
@version,
|
163
164
|
payload,
|
@@ -61,8 +61,9 @@ module Twilio
|
|
61
61
|
# @return [OperatorAttachmentInstance] Created OperatorAttachmentInstance
|
62
62
|
def create
|
63
63
|
|
64
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
65
|
|
65
|
-
payload = @version.create('POST', @uri)
|
66
|
+
payload = @version.create('POST', @uri, headers: headers)
|
66
67
|
OperatorAttachmentInstance.new(
|
67
68
|
@version,
|
68
69
|
payload,
|
@@ -76,8 +77,9 @@ module Twilio
|
|
76
77
|
# @return [Boolean] True if delete succeeds, false otherwise
|
77
78
|
def delete
|
78
79
|
|
80
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
79
81
|
|
80
|
-
@version.delete('DELETE', @uri)
|
82
|
+
@version.delete('DELETE', @uri, headers: headers)
|
81
83
|
end
|
82
84
|
|
83
85
|
|
@@ -60,8 +60,9 @@ module Twilio
|
|
60
60
|
# @return [OperatorAttachmentsInstance] Fetched OperatorAttachmentsInstance
|
61
61
|
def fetch
|
62
62
|
|
63
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
63
64
|
|
64
|
-
payload = @version.fetch('GET', @uri)
|
65
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
65
66
|
OperatorAttachmentsInstance.new(
|
66
67
|
@version,
|
67
68
|
payload,
|
@@ -144,8 +144,9 @@ module Twilio
|
|
144
144
|
# @return [OperatorTypeInstance] Fetched OperatorTypeInstance
|
145
145
|
def fetch
|
146
146
|
|
147
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
147
148
|
|
148
|
-
payload = @version.fetch('GET', @uri)
|
149
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
149
150
|
OperatorTypeInstance.new(
|
150
151
|
@version,
|
151
152
|
payload,
|
@@ -156,8 +156,9 @@ module Twilio
|
|
156
156
|
# @return [PrebuiltOperatorInstance] Fetched PrebuiltOperatorInstance
|
157
157
|
def fetch
|
158
158
|
|
159
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
159
160
|
|
160
|
-
payload = @version.fetch('GET', @uri)
|
161
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
161
162
|
PrebuiltOperatorInstance.new(
|
162
163
|
@version,
|
163
164
|
payload,
|
@@ -66,8 +66,9 @@ module Twilio
|
|
66
66
|
'WebhookHttpMethod' => webhook_http_method,
|
67
67
|
})
|
68
68
|
|
69
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
69
70
|
|
70
|
-
payload = @version.create('POST', @uri, data: data)
|
71
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
71
72
|
ServiceInstance.new(
|
72
73
|
@version,
|
73
74
|
payload,
|
@@ -188,8 +189,9 @@ module Twilio
|
|
188
189
|
# @return [Boolean] True if delete succeeds, false otherwise
|
189
190
|
def delete
|
190
191
|
|
192
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
191
193
|
|
192
|
-
@version.delete('DELETE', @uri)
|
194
|
+
@version.delete('DELETE', @uri, headers: headers)
|
193
195
|
end
|
194
196
|
|
195
197
|
##
|
@@ -197,8 +199,9 @@ module Twilio
|
|
197
199
|
# @return [ServiceInstance] Fetched ServiceInstance
|
198
200
|
def fetch
|
199
201
|
|
202
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
200
203
|
|
201
|
-
payload = @version.fetch('GET', @uri)
|
204
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
202
205
|
ServiceInstance.new(
|
203
206
|
@version,
|
204
207
|
payload,
|
@@ -241,8 +244,8 @@ module Twilio
|
|
241
244
|
'WebhookHttpMethod' => webhook_http_method,
|
242
245
|
})
|
243
246
|
|
247
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'If-Match' => if_match, })
|
244
248
|
|
245
|
-
headers = Twilio::Values.of({ 'If-Match' => if_match, })
|
246
249
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
247
250
|
ServiceInstance.new(
|
248
251
|
@version,
|
@@ -68,8 +68,9 @@ module Twilio
|
|
68
68
|
params = Twilio::Values.of({
|
69
69
|
'Redacted' => redacted,
|
70
70
|
})
|
71
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
71
72
|
|
72
|
-
payload = @version.fetch('GET', @uri, params: params)
|
73
|
+
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
73
74
|
MediaInstance.new(
|
74
75
|
@version,
|
75
76
|
payload,
|
@@ -159,8 +159,9 @@ module Twilio
|
|
159
159
|
params = Twilio::Values.of({
|
160
160
|
'Redacted' => redacted,
|
161
161
|
})
|
162
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
162
163
|
|
163
|
-
payload = @version.fetch('GET', @uri, params: params)
|
164
|
+
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
164
165
|
OperatorResultInstance.new(
|
165
166
|
@version,
|
166
167
|
payload,
|
@@ -51,8 +51,9 @@ module Twilio
|
|
51
51
|
'MediaStartTime' => Twilio.serialize_iso8601_datetime(media_start_time),
|
52
52
|
})
|
53
53
|
|
54
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
54
55
|
|
55
|
-
payload = @version.create('POST', @uri, data: data)
|
56
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
56
57
|
TranscriptInstance.new(
|
57
58
|
@version,
|
58
59
|
payload,
|
@@ -224,8 +225,9 @@ module Twilio
|
|
224
225
|
# @return [Boolean] True if delete succeeds, false otherwise
|
225
226
|
def delete
|
226
227
|
|
228
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
227
229
|
|
228
|
-
@version.delete('DELETE', @uri)
|
230
|
+
@version.delete('DELETE', @uri, headers: headers)
|
229
231
|
end
|
230
232
|
|
231
233
|
##
|
@@ -233,8 +235,9 @@ module Twilio
|
|
233
235
|
# @return [TranscriptInstance] Fetched TranscriptInstance
|
234
236
|
def fetch
|
235
237
|
|
238
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
236
239
|
|
237
|
-
payload = @version.fetch('GET', @uri)
|
240
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
238
241
|
TranscriptInstance.new(
|
239
242
|
@version,
|
240
243
|
payload,
|
@@ -60,8 +60,9 @@ module Twilio
|
|
60
60
|
'Secret' => secret,
|
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
|
CredentialInstance.new(
|
66
67
|
@version,
|
67
68
|
payload,
|
@@ -182,8 +183,9 @@ module Twilio
|
|
182
183
|
# @return [Boolean] True if delete succeeds, false otherwise
|
183
184
|
def delete
|
184
185
|
|
186
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
185
187
|
|
186
|
-
@version.delete('DELETE', @uri)
|
188
|
+
@version.delete('DELETE', @uri, headers: headers)
|
187
189
|
end
|
188
190
|
|
189
191
|
##
|
@@ -191,8 +193,9 @@ module Twilio
|
|
191
193
|
# @return [CredentialInstance] Fetched CredentialInstance
|
192
194
|
def fetch
|
193
195
|
|
196
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
194
197
|
|
195
|
-
payload = @version.fetch('GET', @uri)
|
198
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
196
199
|
CredentialInstance.new(
|
197
200
|
@version,
|
198
201
|
payload,
|
@@ -227,8 +230,9 @@ module Twilio
|
|
227
230
|
'Secret' => secret,
|
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
|
CredentialInstance.new(
|
233
237
|
@version,
|
234
238
|
payload,
|
@@ -48,8 +48,9 @@ module Twilio
|
|
48
48
|
'RoleSid' => role_sid,
|
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
|
InviteInstance.new(
|
54
55
|
@version,
|
55
56
|
payload,
|
@@ -181,8 +182,9 @@ module Twilio
|
|
181
182
|
# @return [Boolean] True if delete succeeds, false otherwise
|
182
183
|
def delete
|
183
184
|
|
185
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
184
186
|
|
185
|
-
@version.delete('DELETE', @uri)
|
187
|
+
@version.delete('DELETE', @uri, headers: headers)
|
186
188
|
end
|
187
189
|
|
188
190
|
##
|
@@ -190,8 +192,9 @@ module Twilio
|
|
190
192
|
# @return [InviteInstance] Fetched InviteInstance
|
191
193
|
def fetch
|
192
194
|
|
195
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
193
196
|
|
194
|
-
payload = @version.fetch('GET', @uri)
|
197
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
195
198
|
InviteInstance.new(
|
196
199
|
@version,
|
197
200
|
payload,
|
@@ -48,8 +48,9 @@ module Twilio
|
|
48
48
|
'RoleSid' => role_sid,
|
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
|
MemberInstance.new(
|
54
55
|
@version,
|
55
56
|
payload,
|
@@ -181,8 +182,9 @@ module Twilio
|
|
181
182
|
# @return [Boolean] True if delete succeeds, false otherwise
|
182
183
|
def delete
|
183
184
|
|
185
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
184
186
|
|
185
|
-
@version.delete('DELETE', @uri)
|
187
|
+
@version.delete('DELETE', @uri, headers: headers)
|
186
188
|
end
|
187
189
|
|
188
190
|
##
|
@@ -190,8 +192,9 @@ module Twilio
|
|
190
192
|
# @return [MemberInstance] Fetched MemberInstance
|
191
193
|
def fetch
|
192
194
|
|
195
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
193
196
|
|
194
|
-
payload = @version.fetch('GET', @uri)
|
197
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
195
198
|
MemberInstance.new(
|
196
199
|
@version,
|
197
200
|
payload,
|
@@ -216,8 +219,9 @@ module Twilio
|
|
216
219
|
'LastConsumedMessageIndex' => last_consumed_message_index,
|
217
220
|
})
|
218
221
|
|
222
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
219
223
|
|
220
|
-
payload = @version.update('POST', @uri, data: data)
|
224
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
221
225
|
MemberInstance.new(
|
222
226
|
@version,
|
223
227
|
payload,
|
@@ -51,8 +51,9 @@ module Twilio
|
|
51
51
|
'Attributes' => attributes,
|
52
52
|
})
|
53
53
|
|
54
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
54
55
|
|
55
|
-
payload = @version.create('POST', @uri, data: data)
|
56
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
56
57
|
MessageInstance.new(
|
57
58
|
@version,
|
58
59
|
payload,
|
@@ -183,8 +184,9 @@ module Twilio
|
|
183
184
|
# @return [Boolean] True if delete succeeds, false otherwise
|
184
185
|
def delete
|
185
186
|
|
187
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
186
188
|
|
187
|
-
@version.delete('DELETE', @uri)
|
189
|
+
@version.delete('DELETE', @uri, headers: headers)
|
188
190
|
end
|
189
191
|
|
190
192
|
##
|
@@ -192,8 +194,9 @@ module Twilio
|
|
192
194
|
# @return [MessageInstance] Fetched MessageInstance
|
193
195
|
def fetch
|
194
196
|
|
197
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
195
198
|
|
196
|
-
payload = @version.fetch('GET', @uri)
|
199
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
197
200
|
MessageInstance.new(
|
198
201
|
@version,
|
199
202
|
payload,
|
@@ -218,8 +221,9 @@ module Twilio
|
|
218
221
|
'Attributes' => attributes,
|
219
222
|
})
|
220
223
|
|
224
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
221
225
|
|
222
|
-
payload = @version.update('POST', @uri, data: data)
|
226
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
223
227
|
MessageInstance.new(
|
224
228
|
@version,
|
225
229
|
payload,
|
@@ -53,8 +53,9 @@ module Twilio
|
|
53
53
|
'Type' => type,
|
54
54
|
})
|
55
55
|
|
56
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
56
57
|
|
57
|
-
payload = @version.create('POST', @uri, data: data)
|
58
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
58
59
|
ChannelInstance.new(
|
59
60
|
@version,
|
60
61
|
payload,
|
@@ -187,8 +188,9 @@ module Twilio
|
|
187
188
|
# @return [Boolean] True if delete succeeds, false otherwise
|
188
189
|
def delete
|
189
190
|
|
191
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
190
192
|
|
191
|
-
@version.delete('DELETE', @uri)
|
193
|
+
@version.delete('DELETE', @uri, headers: headers)
|
192
194
|
end
|
193
195
|
|
194
196
|
##
|
@@ -196,8 +198,9 @@ module Twilio
|
|
196
198
|
# @return [ChannelInstance] Fetched ChannelInstance
|
197
199
|
def fetch
|
198
200
|
|
201
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
199
202
|
|
200
|
-
payload = @version.fetch('GET', @uri)
|
203
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
201
204
|
ChannelInstance.new(
|
202
205
|
@version,
|
203
206
|
payload,
|
@@ -224,8 +227,9 @@ module Twilio
|
|
224
227
|
'Attributes' => attributes,
|
225
228
|
})
|
226
229
|
|
230
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
227
231
|
|
228
|
-
payload = @version.update('POST', @uri, data: data)
|
232
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
229
233
|
ChannelInstance.new(
|
230
234
|
@version,
|
231
235
|
payload,
|
@@ -50,8 +50,9 @@ module Twilio
|
|
50
50
|
'Permission' => Twilio.serialize_list(permission) { |e| e },
|
51
51
|
})
|
52
52
|
|
53
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
53
54
|
|
54
|
-
payload = @version.create('POST', @uri, data: data)
|
55
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
55
56
|
RoleInstance.new(
|
56
57
|
@version,
|
57
58
|
payload,
|
@@ -174,8 +175,9 @@ module Twilio
|
|
174
175
|
# @return [Boolean] True if delete succeeds, false otherwise
|
175
176
|
def delete
|
176
177
|
|
178
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
177
179
|
|
178
|
-
@version.delete('DELETE', @uri)
|
180
|
+
@version.delete('DELETE', @uri, headers: headers)
|
179
181
|
end
|
180
182
|
|
181
183
|
##
|
@@ -183,8 +185,9 @@ module Twilio
|
|
183
185
|
# @return [RoleInstance] Fetched RoleInstance
|
184
186
|
def fetch
|
185
187
|
|
188
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
186
189
|
|
187
|
-
payload = @version.fetch('GET', @uri)
|
190
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
188
191
|
RoleInstance.new(
|
189
192
|
@version,
|
190
193
|
payload,
|
@@ -205,8 +208,9 @@ module Twilio
|
|
205
208
|
'Permission' => Twilio.serialize_list(permission) { |e| e },
|
206
209
|
})
|
207
210
|
|
211
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
208
212
|
|
209
|
-
payload = @version.update('POST', @uri, data: data)
|
213
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
210
214
|
RoleInstance.new(
|
211
215
|
@version,
|
212
216
|
payload,
|
@@ -53,8 +53,9 @@ module Twilio
|
|
53
53
|
'FriendlyName' => friendly_name,
|
54
54
|
})
|
55
55
|
|
56
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
56
57
|
|
57
|
-
payload = @version.create('POST', @uri, data: data)
|
58
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
58
59
|
UserInstance.new(
|
59
60
|
@version,
|
60
61
|
payload,
|
@@ -178,8 +179,9 @@ module Twilio
|
|
178
179
|
# @return [Boolean] True if delete succeeds, false otherwise
|
179
180
|
def delete
|
180
181
|
|
182
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
181
183
|
|
182
|
-
@version.delete('DELETE', @uri)
|
184
|
+
@version.delete('DELETE', @uri, headers: headers)
|
183
185
|
end
|
184
186
|
|
185
187
|
##
|
@@ -187,8 +189,9 @@ module Twilio
|
|
187
189
|
# @return [UserInstance] Fetched UserInstance
|
188
190
|
def fetch
|
189
191
|
|
192
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
190
193
|
|
191
|
-
payload = @version.fetch('GET', @uri)
|
194
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
192
195
|
UserInstance.new(
|
193
196
|
@version,
|
194
197
|
payload,
|
@@ -215,8 +218,9 @@ module Twilio
|
|
215
218
|
'FriendlyName' => friendly_name,
|
216
219
|
})
|
217
220
|
|
221
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
218
222
|
|
219
|
-
payload = @version.update('POST', @uri, data: data)
|
223
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
220
224
|
UserInstance.new(
|
221
225
|
@version,
|
222
226
|
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
|
ServiceInstance.new(
|
48
49
|
@version,
|
49
50
|
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 [ServiceInstance] Fetched ServiceInstance
|
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
|
ServiceInstance.new(
|
182
185
|
@version,
|
183
186
|
payload,
|
@@ -356,8 +359,9 @@ module Twilio
|
|
356
359
|
'Limits.UserChannels' => limits_user_channels,
|
357
360
|
})
|
358
361
|
|
362
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
359
363
|
|
360
|
-
payload = @version.update('POST', @uri, data: data)
|
364
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
361
365
|
ServiceInstance.new(
|
362
366
|
@version,
|
363
367
|
payload,
|