twilio-ruby 6.9.1 → 6.12.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 +102 -0
- data/Gemfile +2 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +5 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +5 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +1 -0
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -0
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -34
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +3 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +1 -0
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +4 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +3 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +1 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +3 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +4 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +2 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -0
- data/lib/twilio-ruby/rest/content/v1/content.rb +3 -0
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -0
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +2 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +3 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +2 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +1 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +4 -0
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +2 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +5 -0
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +9 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +1 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +14 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +3 -0
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -0
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +5 -0
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +2 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +1 -0
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -0
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +3 -0
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +2 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +1 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +1 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +3 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +3 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +4 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +5 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -0
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +8 -6
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +4 -0
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +3 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +3 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +4 -0
- data/lib/twilio-ruby/rest/media.rb +3 -32
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +3 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +4 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +108 -3
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +16 -4
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +2 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +3 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +5 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +3 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -0
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +5 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +4 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_bulk_portability.rb +3 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +1 -0
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +3 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +1 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +5 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +5 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +1 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +5 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +3 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +5 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +4 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +5 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +3 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +3 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +2 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +1 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +3 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +4 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +5 -0
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +3 -0
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +3 -0
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +3 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +3 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +4 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +2 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +5 -0
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +4 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +3 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +2 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +3 -0
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +5 -0
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +2 -0
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +2 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +4 -0
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +3 -0
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +1 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +4 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +5 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +1 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +3 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +2 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +3 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +7 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +258 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +3 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +2 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +4 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +3 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +5 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +6 -0
- data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +3 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +4 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +5 -0
- data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +2 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +4 -0
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +5 -0
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +6 -3
- data/lib/twilio-ruby/rest/video/v1/recording.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +6 -3
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +2 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +3 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +4 -0
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +1 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +2 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +3 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -0
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +5 -0
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +5 -0
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +4 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +5 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +1 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +1 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +4 -0
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +1 -0
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +0 -264
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +0 -328
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class DialingPermissionsList < ListResource
|
21
21
|
|
22
22
|
class BulkCountryUpdateList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the BulkCountryUpdateList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'UpdateRequest' => update_request,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
BulkCountryUpdateInstance.new(
|
48
50
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class DialingPermissionsList < ListResource
|
21
21
|
|
22
22
|
class CountryList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the CountryList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -184,6 +185,7 @@ module Twilio
|
|
184
185
|
# @return [CountryInstance] Fetched CountryInstance
|
185
186
|
def fetch
|
186
187
|
|
188
|
+
|
187
189
|
payload = @version.fetch('GET', @uri)
|
188
190
|
CountryInstance.new(
|
189
191
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class DialingPermissionsList < ListResource
|
21
21
|
|
22
22
|
class SettingsList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the SettingsList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -62,6 +63,7 @@ module Twilio
|
|
62
63
|
# @return [SettingsInstance] Fetched SettingsInstance
|
63
64
|
def fetch
|
64
65
|
|
66
|
+
|
65
67
|
payload = @version.fetch('GET', @uri)
|
66
68
|
SettingsInstance.new(
|
67
69
|
@version,
|
@@ -81,6 +83,7 @@ module Twilio
|
|
81
83
|
'DialingPermissionsInheritance' => dialing_permissions_inheritance,
|
82
84
|
})
|
83
85
|
|
86
|
+
|
84
87
|
payload = @version.update('POST', @uri, data: data)
|
85
88
|
SettingsInstance.new(
|
86
89
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Voice < VoiceBase
|
19
19
|
class V1 < Version
|
20
20
|
class IpRecordList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the IpRecordList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -47,6 +48,7 @@ module Twilio
|
|
47
48
|
'CidrPrefixLength' => cidr_prefix_length,
|
48
49
|
})
|
49
50
|
|
51
|
+
|
50
52
|
payload = @version.create('POST', @uri, data: data)
|
51
53
|
IpRecordInstance.new(
|
52
54
|
@version,
|
@@ -168,6 +170,7 @@ module Twilio
|
|
168
170
|
# @return [Boolean] True if delete succeeds, false otherwise
|
169
171
|
def delete
|
170
172
|
|
173
|
+
|
171
174
|
@version.delete('DELETE', @uri)
|
172
175
|
end
|
173
176
|
|
@@ -176,6 +179,7 @@ module Twilio
|
|
176
179
|
# @return [IpRecordInstance] Fetched IpRecordInstance
|
177
180
|
def fetch
|
178
181
|
|
182
|
+
|
179
183
|
payload = @version.fetch('GET', @uri)
|
180
184
|
IpRecordInstance.new(
|
181
185
|
@version,
|
@@ -196,6 +200,7 @@ module Twilio
|
|
196
200
|
'FriendlyName' => friendly_name,
|
197
201
|
})
|
198
202
|
|
203
|
+
|
199
204
|
payload = @version.update('POST', @uri, data: data)
|
200
205
|
IpRecordInstance.new(
|
201
206
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Voice < VoiceBase
|
19
19
|
class V1 < Version
|
20
20
|
class SourceIpMappingList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the SourceIpMappingList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'SipDomainSid' => sip_domain_sid,
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
SourceIpMappingInstance.new(
|
49
51
|
@version,
|
@@ -165,6 +167,7 @@ module Twilio
|
|
165
167
|
# @return [Boolean] True if delete succeeds, false otherwise
|
166
168
|
def delete
|
167
169
|
|
170
|
+
|
168
171
|
@version.delete('DELETE', @uri)
|
169
172
|
end
|
170
173
|
|
@@ -173,6 +176,7 @@ module Twilio
|
|
173
176
|
# @return [SourceIpMappingInstance] Fetched SourceIpMappingInstance
|
174
177
|
def fetch
|
175
178
|
|
179
|
+
|
176
180
|
payload = @version.fetch('GET', @uri)
|
177
181
|
SourceIpMappingInstance.new(
|
178
182
|
@version,
|
@@ -193,6 +197,7 @@ module Twilio
|
|
193
197
|
'SipDomainSid' => sip_domain_sid,
|
194
198
|
})
|
195
199
|
|
200
|
+
|
196
201
|
payload = @version.update('POST', @uri, data: data)
|
197
202
|
SourceIpMappingInstance.new(
|
198
203
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Wireless < WirelessBase
|
19
19
|
class V1 < Version
|
20
20
|
class CommandList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the CommandList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -59,6 +60,7 @@ module Twilio
|
|
59
60
|
'DeliveryReceiptRequested' => delivery_receipt_requested,
|
60
61
|
})
|
61
62
|
|
63
|
+
|
62
64
|
payload = @version.create('POST', @uri, data: data)
|
63
65
|
CommandInstance.new(
|
64
66
|
@version,
|
@@ -204,6 +206,7 @@ module Twilio
|
|
204
206
|
# @return [Boolean] True if delete succeeds, false otherwise
|
205
207
|
def delete
|
206
208
|
|
209
|
+
|
207
210
|
@version.delete('DELETE', @uri)
|
208
211
|
end
|
209
212
|
|
@@ -212,6 +215,7 @@ module Twilio
|
|
212
215
|
# @return [CommandInstance] Fetched CommandInstance
|
213
216
|
def fetch
|
214
217
|
|
218
|
+
|
215
219
|
payload = @version.fetch('GET', @uri)
|
216
220
|
CommandInstance.new(
|
217
221
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Wireless < WirelessBase
|
19
19
|
class V1 < Version
|
20
20
|
class RatePlanList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the RatePlanList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -71,6 +72,7 @@ module Twilio
|
|
71
72
|
'InternationalRoamingDataLimit' => international_roaming_data_limit,
|
72
73
|
})
|
73
74
|
|
75
|
+
|
74
76
|
payload = @version.create('POST', @uri, data: data)
|
75
77
|
RatePlanInstance.new(
|
76
78
|
@version,
|
@@ -192,6 +194,7 @@ module Twilio
|
|
192
194
|
# @return [Boolean] True if delete succeeds, false otherwise
|
193
195
|
def delete
|
194
196
|
|
197
|
+
|
195
198
|
@version.delete('DELETE', @uri)
|
196
199
|
end
|
197
200
|
|
@@ -200,6 +203,7 @@ module Twilio
|
|
200
203
|
# @return [RatePlanInstance] Fetched RatePlanInstance
|
201
204
|
def fetch
|
202
205
|
|
206
|
+
|
203
207
|
payload = @version.fetch('GET', @uri)
|
204
208
|
RatePlanInstance.new(
|
205
209
|
@version,
|
@@ -223,6 +227,7 @@ module Twilio
|
|
223
227
|
'FriendlyName' => friendly_name,
|
224
228
|
})
|
225
229
|
|
230
|
+
|
226
231
|
payload = @version.update('POST', @uri, data: data)
|
227
232
|
RatePlanInstance.new(
|
228
233
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Wireless < WirelessBase
|
19
19
|
class V1 < Version
|
20
20
|
class SimList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the SimList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -175,6 +176,7 @@ module Twilio
|
|
175
176
|
# @return [Boolean] True if delete succeeds, false otherwise
|
176
177
|
def delete
|
177
178
|
|
179
|
+
|
178
180
|
@version.delete('DELETE', @uri)
|
179
181
|
end
|
180
182
|
|
@@ -183,6 +185,7 @@ module Twilio
|
|
183
185
|
# @return [SimInstance] Fetched SimInstance
|
184
186
|
def fetch
|
185
187
|
|
188
|
+
|
186
189
|
payload = @version.fetch('GET', @uri)
|
187
190
|
SimInstance.new(
|
188
191
|
@version,
|
@@ -254,6 +257,7 @@ module Twilio
|
|
254
257
|
'AccountSid' => account_sid,
|
255
258
|
})
|
256
259
|
|
260
|
+
|
257
261
|
payload = @version.update('POST', @uri, data: data)
|
258
262
|
SimInstance.new(
|
259
263
|
@version,
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -270,8 +270,6 @@ files:
|
|
270
270
|
- lib/twilio-ruby/rest/api/v2010/account/balance.rb
|
271
271
|
- lib/twilio-ruby/rest/api/v2010/account/call.rb
|
272
272
|
- lib/twilio-ruby/rest/api/v2010/account/call/event.rb
|
273
|
-
- lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb
|
274
|
-
- lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb
|
275
273
|
- lib/twilio-ruby/rest/api/v2010/account/call/notification.rb
|
276
274
|
- lib/twilio-ruby/rest/api/v2010/account/call/payment.rb
|
277
275
|
- lib/twilio-ruby/rest/api/v2010/account/call/recording.rb
|
@@ -743,6 +741,7 @@ files:
|
|
743
741
|
- lib/twilio-ruby/rest/trusthub.rb
|
744
742
|
- lib/twilio-ruby/rest/trusthub/v1.rb
|
745
743
|
- lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb
|
744
|
+
- lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb
|
746
745
|
- lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb
|
747
746
|
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
|
748
747
|
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb
|
@@ -1,264 +0,0 @@
|
|
1
|
-
##
|
2
|
-
# This code was generated by
|
3
|
-
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
-
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
-
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
-
#
|
7
|
-
# Twilio - Api
|
8
|
-
# This is the public Twilio REST API.
|
9
|
-
#
|
10
|
-
# NOTE: This class is auto generated by OpenAPI Generator.
|
11
|
-
# https://openapi-generator.tech
|
12
|
-
# Do not edit the class manually.
|
13
|
-
#
|
14
|
-
|
15
|
-
|
16
|
-
module Twilio
|
17
|
-
module REST
|
18
|
-
class Api < ApiBase
|
19
|
-
class V2010 < Version
|
20
|
-
class AccountContext < InstanceContext
|
21
|
-
class CallContext < InstanceContext
|
22
|
-
|
23
|
-
class FeedbackList < ListResource
|
24
|
-
##
|
25
|
-
# Initialize the FeedbackList
|
26
|
-
# @param [Version] version Version that contains the resource
|
27
|
-
# @return [FeedbackList] FeedbackList
|
28
|
-
def initialize(version, account_sid: nil, call_sid: nil)
|
29
|
-
super(version)
|
30
|
-
# Path Solution
|
31
|
-
@solution = { account_sid: account_sid, call_sid: call_sid }
|
32
|
-
|
33
|
-
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
# Provide a user friendly representation
|
39
|
-
def to_s
|
40
|
-
'#<Twilio.Api.V2010.FeedbackList>'
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
|
45
|
-
class FeedbackContext < InstanceContext
|
46
|
-
##
|
47
|
-
# Initialize the FeedbackContext
|
48
|
-
# @param [Version] version Version that contains the resource
|
49
|
-
# @param [String] account_sid The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
|
50
|
-
# @param [String] call_sid The call sid that uniquely identifies the call
|
51
|
-
# @return [FeedbackContext] FeedbackContext
|
52
|
-
def initialize(version, account_sid, call_sid)
|
53
|
-
super(version)
|
54
|
-
|
55
|
-
# Path Solution
|
56
|
-
@solution = { account_sid: account_sid, call_sid: call_sid, }
|
57
|
-
@uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Feedback.json"
|
58
|
-
|
59
|
-
|
60
|
-
end
|
61
|
-
##
|
62
|
-
# Fetch the FeedbackInstance
|
63
|
-
# @return [FeedbackInstance] Fetched FeedbackInstance
|
64
|
-
def fetch
|
65
|
-
|
66
|
-
payload = @version.fetch('GET', @uri)
|
67
|
-
FeedbackInstance.new(
|
68
|
-
@version,
|
69
|
-
payload,
|
70
|
-
account_sid: @solution[:account_sid],
|
71
|
-
call_sid: @solution[:call_sid],
|
72
|
-
)
|
73
|
-
end
|
74
|
-
|
75
|
-
##
|
76
|
-
# Update the FeedbackInstance
|
77
|
-
# @param [String] quality_score The call quality expressed as an integer from `1` to `5` where `1` represents very poor call quality and `5` represents a perfect call.
|
78
|
-
# @param [Array[Issues]] issue One or more issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`.
|
79
|
-
# @return [FeedbackInstance] Updated FeedbackInstance
|
80
|
-
def update(
|
81
|
-
quality_score: :unset,
|
82
|
-
issue: :unset
|
83
|
-
)
|
84
|
-
|
85
|
-
data = Twilio::Values.of({
|
86
|
-
'QualityScore' => quality_score,
|
87
|
-
'Issue' => Twilio.serialize_list(issue) { |e| e },
|
88
|
-
})
|
89
|
-
|
90
|
-
payload = @version.update('POST', @uri, data: data)
|
91
|
-
FeedbackInstance.new(
|
92
|
-
@version,
|
93
|
-
payload,
|
94
|
-
account_sid: @solution[:account_sid],
|
95
|
-
call_sid: @solution[:call_sid],
|
96
|
-
)
|
97
|
-
end
|
98
|
-
|
99
|
-
|
100
|
-
##
|
101
|
-
# Provide a user friendly representation
|
102
|
-
def to_s
|
103
|
-
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
104
|
-
"#<Twilio.Api.V2010.FeedbackContext #{context}>"
|
105
|
-
end
|
106
|
-
|
107
|
-
##
|
108
|
-
# Provide a detailed, user friendly representation
|
109
|
-
def inspect
|
110
|
-
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
111
|
-
"#<Twilio.Api.V2010.FeedbackContext #{context}>"
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
class FeedbackPage < Page
|
116
|
-
##
|
117
|
-
# Initialize the FeedbackPage
|
118
|
-
# @param [Version] version Version that contains the resource
|
119
|
-
# @param [Response] response Response from the API
|
120
|
-
# @param [Hash] solution Path solution for the resource
|
121
|
-
# @return [FeedbackPage] FeedbackPage
|
122
|
-
def initialize(version, response, solution)
|
123
|
-
super(version, response)
|
124
|
-
|
125
|
-
# Path Solution
|
126
|
-
@solution = solution
|
127
|
-
end
|
128
|
-
|
129
|
-
##
|
130
|
-
# Build an instance of FeedbackInstance
|
131
|
-
# @param [Hash] payload Payload response from the API
|
132
|
-
# @return [FeedbackInstance] FeedbackInstance
|
133
|
-
def get_instance(payload)
|
134
|
-
FeedbackInstance.new(@version, payload, account_sid: @solution[:account_sid], call_sid: @solution[:call_sid])
|
135
|
-
end
|
136
|
-
|
137
|
-
##
|
138
|
-
# Provide a user friendly representation
|
139
|
-
def to_s
|
140
|
-
'<Twilio.Api.V2010.FeedbackPage>'
|
141
|
-
end
|
142
|
-
end
|
143
|
-
class FeedbackInstance < InstanceResource
|
144
|
-
##
|
145
|
-
# Initialize the FeedbackInstance
|
146
|
-
# @param [Version] version Version that contains the resource
|
147
|
-
# @param [Hash] payload payload that contains response from Twilio
|
148
|
-
# @param [String] account_sid The SID of the
|
149
|
-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Feedback
|
150
|
-
# resource.
|
151
|
-
# @param [String] sid The SID of the Call resource to fetch.
|
152
|
-
# @return [FeedbackInstance] FeedbackInstance
|
153
|
-
def initialize(version, payload , account_sid: nil, call_sid: nil)
|
154
|
-
super(version)
|
155
|
-
|
156
|
-
# Marshaled Properties
|
157
|
-
@properties = {
|
158
|
-
'account_sid' => payload['account_sid'],
|
159
|
-
'date_created' => Twilio.deserialize_rfc2822(payload['date_created']),
|
160
|
-
'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
|
161
|
-
'issues' => payload['issues'],
|
162
|
-
'quality_score' => payload['quality_score'] == nil ? payload['quality_score'] : payload['quality_score'].to_i,
|
163
|
-
'sid' => payload['sid'],
|
164
|
-
}
|
165
|
-
|
166
|
-
# Context
|
167
|
-
@instance_context = nil
|
168
|
-
@params = { 'account_sid' => account_sid ,'call_sid' => call_sid || @properties['call_sid'] , }
|
169
|
-
end
|
170
|
-
|
171
|
-
##
|
172
|
-
# Generate an instance context for the instance, the context is capable of
|
173
|
-
# performing various actions. All instance actions are proxied to the context
|
174
|
-
# @return [FeedbackContext] CallContext for this CallInstance
|
175
|
-
def context
|
176
|
-
unless @instance_context
|
177
|
-
@instance_context = FeedbackContext.new(@version , @params['account_sid'], @params['call_sid'])
|
178
|
-
end
|
179
|
-
@instance_context
|
180
|
-
end
|
181
|
-
|
182
|
-
##
|
183
|
-
# @return [String] The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
|
184
|
-
def account_sid
|
185
|
-
@properties['account_sid']
|
186
|
-
end
|
187
|
-
|
188
|
-
##
|
189
|
-
# @return [Time] The date that this resource was created, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
|
190
|
-
def date_created
|
191
|
-
@properties['date_created']
|
192
|
-
end
|
193
|
-
|
194
|
-
##
|
195
|
-
# @return [Time] The date that this resource was last updated, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
|
196
|
-
def date_updated
|
197
|
-
@properties['date_updated']
|
198
|
-
end
|
199
|
-
|
200
|
-
##
|
201
|
-
# @return [Array<Issues>] A list of issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`.
|
202
|
-
def issues
|
203
|
-
@properties['issues']
|
204
|
-
end
|
205
|
-
|
206
|
-
##
|
207
|
-
# @return [String] `1` to `5` quality score where `1` represents imperfect experience and `5` represents a perfect call.
|
208
|
-
def quality_score
|
209
|
-
@properties['quality_score']
|
210
|
-
end
|
211
|
-
|
212
|
-
##
|
213
|
-
# @return [String] A 34 character string that uniquely identifies this resource.
|
214
|
-
def sid
|
215
|
-
@properties['sid']
|
216
|
-
end
|
217
|
-
|
218
|
-
##
|
219
|
-
# Fetch the FeedbackInstance
|
220
|
-
# @return [FeedbackInstance] Fetched FeedbackInstance
|
221
|
-
def fetch
|
222
|
-
|
223
|
-
context.fetch
|
224
|
-
end
|
225
|
-
|
226
|
-
##
|
227
|
-
# Update the FeedbackInstance
|
228
|
-
# @param [String] quality_score The call quality expressed as an integer from `1` to `5` where `1` represents very poor call quality and `5` represents a perfect call.
|
229
|
-
# @param [Array[Issues]] issue One or more issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`.
|
230
|
-
# @return [FeedbackInstance] Updated FeedbackInstance
|
231
|
-
def update(
|
232
|
-
quality_score: :unset,
|
233
|
-
issue: :unset
|
234
|
-
)
|
235
|
-
|
236
|
-
context.update(
|
237
|
-
quality_score: quality_score,
|
238
|
-
issue: issue,
|
239
|
-
)
|
240
|
-
end
|
241
|
-
|
242
|
-
##
|
243
|
-
# Provide a user friendly representation
|
244
|
-
def to_s
|
245
|
-
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
246
|
-
"<Twilio.Api.V2010.FeedbackInstance #{values}>"
|
247
|
-
end
|
248
|
-
|
249
|
-
##
|
250
|
-
# Provide a detailed, user friendly representation
|
251
|
-
def inspect
|
252
|
-
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
253
|
-
"<Twilio.Api.V2010.FeedbackInstance #{values}>"
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
end
|
258
|
-
end
|
259
|
-
end
|
260
|
-
end
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
|