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
@@ -69,8 +69,9 @@ module Twilio
|
|
69
69
|
'LongLived' => long_lived,
|
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
|
ChannelInstance.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 [ChannelInstance] Fetched ChannelInstance
|
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
|
ChannelInstance.new(
|
206
209
|
@version,
|
207
210
|
payload,
|
@@ -65,8 +65,9 @@ module Twilio
|
|
65
65
|
params = Twilio::Values.of({
|
66
66
|
'UiVersion' => ui_version,
|
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
|
ConfigurationInstance.new(
|
71
72
|
@version,
|
72
73
|
payload,
|
@@ -80,8 +81,9 @@ module Twilio
|
|
80
81
|
def update(body: :unset
|
81
82
|
)
|
82
83
|
|
83
|
-
headers = Twilio::Values.of({
|
84
|
-
|
84
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
85
|
+
headers['Content-Type'] = 'application/json'
|
86
|
+
payload = @version.update('POST', @uri, headers: headers, data: body.to_json)
|
85
87
|
ConfigurationInstance.new(
|
86
88
|
@version,
|
87
89
|
payload,
|
@@ -90,8 +90,9 @@ module Twilio
|
|
90
90
|
'Integration.RetryCount' => integration_retry_count,
|
91
91
|
})
|
92
92
|
|
93
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
93
94
|
|
94
|
-
payload = @version.create('POST', @uri, data: data)
|
95
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
95
96
|
FlexFlowInstance.new(
|
96
97
|
@version,
|
97
98
|
payload,
|
@@ -218,8 +219,9 @@ module Twilio
|
|
218
219
|
# @return [Boolean] True if delete succeeds, false otherwise
|
219
220
|
def delete
|
220
221
|
|
222
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
221
223
|
|
222
|
-
@version.delete('DELETE', @uri)
|
224
|
+
@version.delete('DELETE', @uri, headers: headers)
|
223
225
|
end
|
224
226
|
|
225
227
|
##
|
@@ -227,8 +229,9 @@ module Twilio
|
|
227
229
|
# @return [FlexFlowInstance] Fetched FlexFlowInstance
|
228
230
|
def fetch
|
229
231
|
|
232
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
230
233
|
|
231
|
-
payload = @version.fetch('GET', @uri)
|
234
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
232
235
|
FlexFlowInstance.new(
|
233
236
|
@version,
|
234
237
|
payload,
|
@@ -296,8 +299,9 @@ module Twilio
|
|
296
299
|
'Integration.RetryCount' => integration_retry_count,
|
297
300
|
})
|
298
301
|
|
302
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
299
303
|
|
300
|
-
payload = @version.update('POST', @uri, data: data)
|
304
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
301
305
|
FlexFlowInstance.new(
|
302
306
|
@version,
|
303
307
|
payload,
|
@@ -59,8 +59,8 @@ module Twilio
|
|
59
59
|
'Offset' => offset,
|
60
60
|
})
|
61
61
|
|
62
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
62
63
|
|
63
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
64
64
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
65
65
|
InsightsAssessmentsCommentInstance.new(
|
66
66
|
@version,
|
@@ -53,8 +53,8 @@ module Twilio
|
|
53
53
|
'QuestionSids' => Twilio.serialize_list(question_sids) { |e| e },
|
54
54
|
})
|
55
55
|
|
56
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
56
57
|
|
57
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
58
58
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
59
59
|
InsightsQuestionnairesInstance.new(
|
60
60
|
@version,
|
@@ -191,8 +191,8 @@ module Twilio
|
|
191
191
|
authorization: :unset
|
192
192
|
)
|
193
193
|
|
194
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
194
195
|
|
195
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
196
196
|
@version.delete('DELETE', @uri, headers: headers)
|
197
197
|
end
|
198
198
|
|
@@ -204,8 +204,8 @@ module Twilio
|
|
204
204
|
authorization: :unset
|
205
205
|
)
|
206
206
|
|
207
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
207
208
|
|
208
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
209
209
|
payload = @version.fetch('GET', @uri, headers: headers)
|
210
210
|
InsightsQuestionnairesInstance.new(
|
211
211
|
@version,
|
@@ -237,8 +237,8 @@ module Twilio
|
|
237
237
|
'QuestionSids' => Twilio.serialize_list(question_sids) { |e| e },
|
238
238
|
})
|
239
239
|
|
240
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
240
241
|
|
241
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
242
242
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
243
243
|
InsightsQuestionnairesInstance.new(
|
244
244
|
@version,
|
@@ -44,8 +44,8 @@ module Twilio
|
|
44
44
|
'Name' => name,
|
45
45
|
})
|
46
46
|
|
47
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
47
48
|
|
48
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
49
49
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
50
50
|
InsightsQuestionnairesCategoryInstance.new(
|
51
51
|
@version,
|
@@ -176,8 +176,8 @@ module Twilio
|
|
176
176
|
authorization: :unset
|
177
177
|
)
|
178
178
|
|
179
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
179
180
|
|
180
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
181
181
|
@version.delete('DELETE', @uri, headers: headers)
|
182
182
|
end
|
183
183
|
|
@@ -195,8 +195,8 @@ module Twilio
|
|
195
195
|
'Name' => name,
|
196
196
|
})
|
197
197
|
|
198
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
198
199
|
|
199
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
200
200
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
201
201
|
InsightsQuestionnairesCategoryInstance.new(
|
202
202
|
@version,
|
@@ -56,8 +56,8 @@ module Twilio
|
|
56
56
|
'Description' => description,
|
57
57
|
})
|
58
58
|
|
59
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
59
60
|
|
60
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
61
61
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
62
62
|
InsightsQuestionnairesQuestionInstance.new(
|
63
63
|
@version,
|
@@ -195,8 +195,8 @@ module Twilio
|
|
195
195
|
authorization: :unset
|
196
196
|
)
|
197
197
|
|
198
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
198
199
|
|
199
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
200
200
|
@version.delete('DELETE', @uri, headers: headers)
|
201
201
|
end
|
202
202
|
|
@@ -226,8 +226,8 @@ module Twilio
|
|
226
226
|
'AnswerSetId' => answer_set_id,
|
227
227
|
})
|
228
228
|
|
229
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
229
230
|
|
230
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
231
231
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
232
232
|
InsightsQuestionnairesQuestionInstance.new(
|
233
233
|
@version,
|
@@ -62,8 +62,8 @@ module Twilio
|
|
62
62
|
authorization: :unset
|
63
63
|
)
|
64
64
|
|
65
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
65
66
|
|
66
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
67
67
|
payload = @version.create('POST', @uri, headers: headers)
|
68
68
|
InsightsSessionInstance.new(
|
69
69
|
@version,
|
@@ -38,8 +38,8 @@ module Twilio
|
|
38
38
|
authorization: :unset
|
39
39
|
)
|
40
40
|
|
41
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
41
42
|
|
42
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
43
43
|
payload = @version.fetch('GET', @uri, headers: headers)
|
44
44
|
InsightsSettingsAnswerSetsInstance.new(
|
45
45
|
@version,
|
@@ -38,8 +38,8 @@ module Twilio
|
|
38
38
|
authorization: :unset
|
39
39
|
)
|
40
40
|
|
41
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
41
42
|
|
42
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
43
43
|
payload = @version.fetch('GET', @uri, headers: headers)
|
44
44
|
InsightsSettingsCommentInstance.new(
|
45
45
|
@version,
|
@@ -62,8 +62,8 @@ module Twilio
|
|
62
62
|
authorization: :unset
|
63
63
|
)
|
64
64
|
|
65
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Authorization' => authorization, })
|
65
66
|
|
66
|
-
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
67
67
|
payload = @version.fetch('GET', @uri, headers: headers)
|
68
68
|
InsightsUserRolesInstance.new(
|
69
69
|
@version,
|
data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb
CHANGED
@@ -45,8 +45,9 @@ module Twilio
|
|
45
45
|
'Routing' => Twilio.serialize_object(routing),
|
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
|
InteractionChannelInviteInstance.new(
|
51
52
|
@version,
|
52
53
|
payload,
|
@@ -51,8 +51,9 @@ module Twilio
|
|
51
51
|
'RoutingProperties' => Twilio.serialize_object(routing_properties),
|
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
|
InteractionChannelParticipantInstance.new(
|
57
58
|
@version,
|
58
59
|
payload,
|
@@ -184,8 +185,9 @@ module Twilio
|
|
184
185
|
'Status' => status,
|
185
186
|
})
|
186
187
|
|
188
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
187
189
|
|
188
|
-
payload = @version.update('POST', @uri, data: data)
|
190
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
189
191
|
InteractionChannelParticipantInstance.new(
|
190
192
|
@version,
|
191
193
|
payload,
|
@@ -149,8 +149,9 @@ module Twilio
|
|
149
149
|
# @return [InteractionChannelInstance] Fetched InteractionChannelInstance
|
150
150
|
def fetch
|
151
151
|
|
152
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
152
153
|
|
153
|
-
payload = @version.fetch('GET', @uri)
|
154
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
154
155
|
InteractionChannelInstance.new(
|
155
156
|
@version,
|
156
157
|
payload,
|
@@ -174,8 +175,9 @@ module Twilio
|
|
174
175
|
'Routing' => Twilio.serialize_object(routing),
|
175
176
|
})
|
176
177
|
|
178
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
177
179
|
|
178
|
-
payload = @version.update('POST', @uri, data: data)
|
180
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
179
181
|
InteractionChannelInstance.new(
|
180
182
|
@version,
|
181
183
|
payload,
|
@@ -48,8 +48,9 @@ module Twilio
|
|
48
48
|
'InteractionContextSid' => interaction_context_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
|
InteractionInstance.new(
|
54
55
|
@version,
|
55
56
|
payload,
|
@@ -87,8 +88,9 @@ module Twilio
|
|
87
88
|
# @return [InteractionInstance] Fetched InteractionInstance
|
88
89
|
def fetch
|
89
90
|
|
91
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
90
92
|
|
91
|
-
payload = @version.fetch('GET', @uri)
|
93
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
92
94
|
InteractionInstance.new(
|
93
95
|
@version,
|
94
96
|
payload,
|
@@ -61,8 +61,8 @@ module Twilio
|
|
61
61
|
'ValidateStatus' => validate_status,
|
62
62
|
})
|
63
63
|
|
64
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
64
65
|
|
65
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
66
66
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
67
67
|
PluginVersionsInstance.new(
|
68
68
|
@version,
|
@@ -195,8 +195,8 @@ module Twilio
|
|
195
195
|
flex_metadata: :unset
|
196
196
|
)
|
197
197
|
|
198
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
198
199
|
|
199
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
200
200
|
payload = @version.fetch('GET', @uri, headers: headers)
|
201
201
|
PluginVersionsInstance.new(
|
202
202
|
@version,
|
@@ -50,8 +50,8 @@ module Twilio
|
|
50
50
|
'Description' => description,
|
51
51
|
})
|
52
52
|
|
53
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
53
54
|
|
54
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
55
55
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
56
56
|
PluginInstance.new(
|
57
57
|
@version,
|
@@ -183,8 +183,8 @@ module Twilio
|
|
183
183
|
flex_metadata: :unset
|
184
184
|
)
|
185
185
|
|
186
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
186
187
|
|
187
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
188
188
|
payload = @version.fetch('GET', @uri, headers: headers)
|
189
189
|
PluginInstance.new(
|
190
190
|
@version,
|
@@ -210,8 +210,8 @@ module Twilio
|
|
210
210
|
'Description' => description,
|
211
211
|
})
|
212
212
|
|
213
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
213
214
|
|
214
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
215
215
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
216
216
|
PluginInstance.new(
|
217
217
|
@version,
|
@@ -63,8 +63,8 @@ module Twilio
|
|
63
63
|
flex_metadata: :unset
|
64
64
|
)
|
65
65
|
|
66
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
66
67
|
|
67
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
68
68
|
payload = @version.update('POST', @uri, headers: headers)
|
69
69
|
PluginArchiveInstance.new(
|
70
70
|
@version,
|
@@ -156,8 +156,8 @@ module Twilio
|
|
156
156
|
flex_metadata: :unset
|
157
157
|
)
|
158
158
|
|
159
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
159
160
|
|
160
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
161
161
|
payload = @version.fetch('GET', @uri, headers: headers)
|
162
162
|
ConfiguredPluginInstance.new(
|
163
163
|
@version,
|
@@ -50,8 +50,8 @@ module Twilio
|
|
50
50
|
'Description' => description,
|
51
51
|
})
|
52
52
|
|
53
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
53
54
|
|
54
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
55
55
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
56
56
|
PluginConfigurationInstance.new(
|
57
57
|
@version,
|
@@ -183,8 +183,8 @@ module Twilio
|
|
183
183
|
flex_metadata: :unset
|
184
184
|
)
|
185
185
|
|
186
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
186
187
|
|
187
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
188
188
|
payload = @version.fetch('GET', @uri, headers: headers)
|
189
189
|
PluginConfigurationInstance.new(
|
190
190
|
@version,
|
@@ -63,8 +63,8 @@ module Twilio
|
|
63
63
|
flex_metadata: :unset
|
64
64
|
)
|
65
65
|
|
66
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
66
67
|
|
67
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
68
68
|
payload = @version.update('POST', @uri, headers: headers)
|
69
69
|
PluginConfigurationArchiveInstance.new(
|
70
70
|
@version,
|
@@ -44,8 +44,8 @@ module Twilio
|
|
44
44
|
'ConfigurationId' => configuration_id,
|
45
45
|
})
|
46
46
|
|
47
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
47
48
|
|
48
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
49
49
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
50
50
|
PluginReleaseInstance.new(
|
51
51
|
@version,
|
@@ -176,8 +176,8 @@ module Twilio
|
|
176
176
|
flex_metadata: :unset
|
177
177
|
)
|
178
178
|
|
179
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
179
180
|
|
180
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
181
181
|
payload = @version.fetch('GET', @uri, headers: headers)
|
182
182
|
PluginReleaseInstance.new(
|
183
183
|
@version,
|
@@ -64,8 +64,8 @@ module Twilio
|
|
64
64
|
flex_metadata: :unset
|
65
65
|
)
|
66
66
|
|
67
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Flex-Metadata' => flex_metadata, })
|
67
68
|
|
68
|
-
headers = Twilio::Values.of({ 'Flex-Metadata' => flex_metadata, })
|
69
69
|
payload = @version.update('POST', @uri, headers: headers)
|
70
70
|
PluginVersionArchiveInstance.new(
|
71
71
|
@version,
|
@@ -59,8 +59,9 @@ module Twilio
|
|
59
59
|
# @return [ProvisioningStatusInstance] Fetched ProvisioningStatusInstance
|
60
60
|
def fetch
|
61
61
|
|
62
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
62
63
|
|
63
|
-
payload = @version.fetch('GET', @uri)
|
64
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
64
65
|
ProvisioningStatusInstance.new(
|
65
66
|
@version,
|
66
67
|
payload,
|
@@ -57,8 +57,9 @@ module Twilio
|
|
57
57
|
'PreEngagementData' => pre_engagement_data,
|
58
58
|
})
|
59
59
|
|
60
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
60
61
|
|
61
|
-
payload = @version.create('POST', @uri, data: data)
|
62
|
+
payload = @version.create('POST', @uri, data: data, headers: headers)
|
62
63
|
WebChannelInstance.new(
|
63
64
|
@version,
|
64
65
|
payload,
|
@@ -179,8 +180,9 @@ module Twilio
|
|
179
180
|
# @return [Boolean] True if delete succeeds, false otherwise
|
180
181
|
def delete
|
181
182
|
|
183
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
182
184
|
|
183
|
-
@version.delete('DELETE', @uri)
|
185
|
+
@version.delete('DELETE', @uri, headers: headers)
|
184
186
|
end
|
185
187
|
|
186
188
|
##
|
@@ -188,8 +190,9 @@ module Twilio
|
|
188
190
|
# @return [WebChannelInstance] Fetched WebChannelInstance
|
189
191
|
def fetch
|
190
192
|
|
193
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
191
194
|
|
192
|
-
payload = @version.fetch('GET', @uri)
|
195
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
193
196
|
WebChannelInstance.new(
|
194
197
|
@version,
|
195
198
|
payload,
|
@@ -212,8 +215,9 @@ module Twilio
|
|
212
215
|
'PostEngagementData' => post_engagement_data,
|
213
216
|
})
|
214
217
|
|
218
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
215
219
|
|
216
|
-
payload = @version.update('POST', @uri, data: data)
|
220
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
217
221
|
WebChannelInstance.new(
|
218
222
|
@version,
|
219
223
|
payload,
|
@@ -61,8 +61,9 @@ module Twilio
|
|
61
61
|
# @return [FlexUserInstance] Fetched FlexUserInstance
|
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
|
FlexUserInstance.new(
|
67
68
|
@version,
|
68
69
|
payload,
|
@@ -53,8 +53,8 @@ module Twilio
|
|
53
53
|
'PreEngagementData' => pre_engagement_data,
|
54
54
|
})
|
55
55
|
|
56
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'Ui-Version' => ui_version, })
|
56
57
|
|
57
|
-
headers = Twilio::Values.of({ 'Ui-Version' => ui_version, })
|
58
58
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
59
59
|
WebChannelsInstance.new(
|
60
60
|
@version,
|
@@ -60,8 +60,9 @@ module Twilio
|
|
60
60
|
# @return [UserInstance] Fetched UserInstance
|
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
|
UserInstance.new(
|
66
67
|
@version,
|
67
68
|
payload,
|
@@ -90,8 +91,9 @@ module Twilio
|
|
90
91
|
'IsAvailable' => is_available,
|
91
92
|
})
|
92
93
|
|
94
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
93
95
|
|
94
|
-
payload = @version.update('POST', @uri, data: data)
|
96
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
95
97
|
UserInstance.new(
|
96
98
|
@version,
|
97
99
|
payload,
|
@@ -62,8 +62,9 @@ module Twilio
|
|
62
62
|
# @return [AnnotationInstance] Fetched AnnotationInstance
|
63
63
|
def fetch
|
64
64
|
|
65
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
65
66
|
|
66
|
-
payload = @version.fetch('GET', @uri)
|
67
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
67
68
|
AnnotationInstance.new(
|
68
69
|
@version,
|
69
70
|
payload,
|
@@ -101,8 +102,9 @@ module Twilio
|
|
101
102
|
'Incident' => incident,
|
102
103
|
})
|
103
104
|
|
105
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
104
106
|
|
105
|
-
payload = @version.update('POST', @uri, data: data)
|
107
|
+
payload = @version.update('POST', @uri, data: data, headers: headers)
|
106
108
|
AnnotationInstance.new(
|
107
109
|
@version,
|
108
110
|
payload,
|
@@ -68,8 +68,9 @@ module Twilio
|
|
68
68
|
params = Twilio::Values.of({
|
69
69
|
'ProcessingState' => processing_state,
|
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
|
CallSummaryInstance.new(
|
74
75
|
@version,
|
75
76
|
payload,
|
@@ -64,8 +64,9 @@ module Twilio
|
|
64
64
|
# @return [CallInstance] Fetched CallInstance
|
65
65
|
def fetch
|
66
66
|
|
67
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
67
68
|
|
68
|
-
payload = @version.fetch('GET', @uri)
|
69
|
+
payload = @version.fetch('GET', @uri, headers: headers)
|
69
70
|
CallInstance.new(
|
70
71
|
@version,
|
71
72
|
payload,
|