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
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class CallContext < InstanceContext
|
22
22
|
|
23
23
|
class UserDefinedMessageSubscriptionList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the UserDefinedMessageSubscriptionList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -50,6 +51,7 @@ module Twilio
|
|
50
51
|
'Method' => method,
|
51
52
|
})
|
52
53
|
|
54
|
+
|
53
55
|
payload = @version.create('POST', @uri, data: data)
|
54
56
|
UserDefinedMessageSubscriptionInstance.new(
|
55
57
|
@version,
|
@@ -91,6 +93,7 @@ module Twilio
|
|
91
93
|
# @return [Boolean] True if delete succeeds, false otherwise
|
92
94
|
def delete
|
93
95
|
|
96
|
+
|
94
97
|
@version.delete('DELETE', @uri)
|
95
98
|
end
|
96
99
|
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class CallList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the CallList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -29,8 +30,7 @@ module Twilio
|
|
29
30
|
# Path Solution
|
30
31
|
@solution = { account_sid: account_sid }
|
31
32
|
@uri = "/Accounts/#{@solution[:account_sid]}/Calls.json"
|
32
|
-
|
33
|
-
@feedback_summaries = nil
|
33
|
+
|
34
34
|
end
|
35
35
|
##
|
36
36
|
# Create the CallInstance
|
@@ -146,6 +146,7 @@ module Twilio
|
|
146
146
|
'ApplicationSid' => application_sid,
|
147
147
|
})
|
148
148
|
|
149
|
+
|
149
150
|
payload = @version.create('POST', @uri, data: data)
|
150
151
|
CallInstance.new(
|
151
152
|
@version,
|
@@ -300,19 +301,6 @@ module Twilio
|
|
300
301
|
end
|
301
302
|
|
302
303
|
|
303
|
-
##
|
304
|
-
# Access the feedback_summaries
|
305
|
-
# @return [FeedbackSummaryList]
|
306
|
-
# @return [FeedbackSummaryContext] if sid was passed.
|
307
|
-
def feedback_summaries(sid=:unset)
|
308
|
-
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
309
|
-
|
310
|
-
if sid != :unset
|
311
|
-
return FeedbackSummaryContext.new(@version, @solution[:account_sid],sid )
|
312
|
-
end
|
313
|
-
|
314
|
-
@feedback_summaries ||= FeedbackSummaryList.new(@version, account_sid: @solution[:account_sid] )
|
315
|
-
end
|
316
304
|
|
317
305
|
# Provide a user friendly representation
|
318
306
|
def to_s
|
@@ -343,7 +331,6 @@ module Twilio
|
|
343
331
|
@payments = nil
|
344
332
|
@recordings = nil
|
345
333
|
@notifications = nil
|
346
|
-
@feedback = nil
|
347
334
|
@streams = nil
|
348
335
|
end
|
349
336
|
##
|
@@ -351,6 +338,7 @@ module Twilio
|
|
351
338
|
# @return [Boolean] True if delete succeeds, false otherwise
|
352
339
|
def delete
|
353
340
|
|
341
|
+
|
354
342
|
@version.delete('DELETE', @uri)
|
355
343
|
end
|
356
344
|
|
@@ -359,6 +347,7 @@ module Twilio
|
|
359
347
|
# @return [CallInstance] Fetched CallInstance
|
360
348
|
def fetch
|
361
349
|
|
350
|
+
|
362
351
|
payload = @version.fetch('GET', @uri)
|
363
352
|
CallInstance.new(
|
364
353
|
@version,
|
@@ -404,6 +393,7 @@ module Twilio
|
|
404
393
|
'TimeLimit' => time_limit,
|
405
394
|
})
|
406
395
|
|
396
|
+
|
407
397
|
payload = @version.update('POST', @uri, data: data)
|
408
398
|
CallInstance.new(
|
409
399
|
@version,
|
@@ -531,17 +521,6 @@ module Twilio
|
|
531
521
|
@notifications
|
532
522
|
end
|
533
523
|
##
|
534
|
-
# Access the feedback
|
535
|
-
# @return [FeedbackList]
|
536
|
-
# @return [FeedbackContext]
|
537
|
-
def feedback
|
538
|
-
FeedbackContext.new(
|
539
|
-
@version,
|
540
|
-
@solution[:account_sid],
|
541
|
-
@solution[:sid]
|
542
|
-
)
|
543
|
-
end
|
544
|
-
##
|
545
524
|
# Access the streams
|
546
525
|
# @return [StreamList]
|
547
526
|
# @return [StreamContext] if sid was passed.
|
@@ -921,13 +900,6 @@ module Twilio
|
|
921
900
|
context.notifications
|
922
901
|
end
|
923
902
|
|
924
|
-
##
|
925
|
-
# Access the feedback
|
926
|
-
# @return [feedback] feedback
|
927
|
-
def feedback
|
928
|
-
context.feedback
|
929
|
-
end
|
930
|
-
|
931
903
|
##
|
932
904
|
# Access the streams
|
933
905
|
# @return [streams] streams
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ConferenceContext < InstanceContext
|
22
22
|
|
23
23
|
class ParticipantList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the ParticipantList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -185,6 +186,7 @@ module Twilio
|
|
185
186
|
'CallToken' => call_token,
|
186
187
|
})
|
187
188
|
|
189
|
+
|
188
190
|
payload = @version.create('POST', @uri, data: data)
|
189
191
|
ParticipantInstance.new(
|
190
192
|
@version,
|
@@ -328,6 +330,7 @@ module Twilio
|
|
328
330
|
# @return [Boolean] True if delete succeeds, false otherwise
|
329
331
|
def delete
|
330
332
|
|
333
|
+
|
331
334
|
@version.delete('DELETE', @uri)
|
332
335
|
end
|
333
336
|
|
@@ -336,6 +339,7 @@ module Twilio
|
|
336
339
|
# @return [ParticipantInstance] Fetched ParticipantInstance
|
337
340
|
def fetch
|
338
341
|
|
342
|
+
|
339
343
|
payload = @version.fetch('GET', @uri)
|
340
344
|
ParticipantInstance.new(
|
341
345
|
@version,
|
@@ -391,6 +395,7 @@ module Twilio
|
|
391
395
|
'CallSidToCoach' => call_sid_to_coach,
|
392
396
|
})
|
393
397
|
|
398
|
+
|
394
399
|
payload = @version.update('POST', @uri, data: data)
|
395
400
|
ParticipantInstance.new(
|
396
401
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class ConferenceContext < InstanceContext
|
22
22
|
|
23
23
|
class RecordingList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the RecordingList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -166,6 +167,7 @@ module Twilio
|
|
166
167
|
# @return [Boolean] True if delete succeeds, false otherwise
|
167
168
|
def delete
|
168
169
|
|
170
|
+
|
169
171
|
@version.delete('DELETE', @uri)
|
170
172
|
end
|
171
173
|
|
@@ -174,6 +176,7 @@ module Twilio
|
|
174
176
|
# @return [RecordingInstance] Fetched RecordingInstance
|
175
177
|
def fetch
|
176
178
|
|
179
|
+
|
177
180
|
payload = @version.fetch('GET', @uri)
|
178
181
|
RecordingInstance.new(
|
179
182
|
@version,
|
@@ -199,6 +202,7 @@ module Twilio
|
|
199
202
|
'PauseBehavior' => pause_behavior,
|
200
203
|
})
|
201
204
|
|
205
|
+
|
202
206
|
payload = @version.update('POST', @uri, data: data)
|
203
207
|
RecordingInstance.new(
|
204
208
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class ConferenceList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ConferenceList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -196,6 +197,7 @@ module Twilio
|
|
196
197
|
# @return [ConferenceInstance] Fetched ConferenceInstance
|
197
198
|
def fetch
|
198
199
|
|
200
|
+
|
199
201
|
payload = @version.fetch('GET', @uri)
|
200
202
|
ConferenceInstance.new(
|
201
203
|
@version,
|
@@ -223,6 +225,7 @@ module Twilio
|
|
223
225
|
'AnnounceMethod' => announce_method,
|
224
226
|
})
|
225
227
|
|
228
|
+
|
226
229
|
payload = @version.update('POST', @uri, data: data)
|
227
230
|
ConferenceInstance.new(
|
228
231
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class ConnectAppList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the ConnectAppList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -146,6 +147,7 @@ module Twilio
|
|
146
147
|
# @return [Boolean] True if delete succeeds, false otherwise
|
147
148
|
def delete
|
148
149
|
|
150
|
+
|
149
151
|
@version.delete('DELETE', @uri)
|
150
152
|
end
|
151
153
|
|
@@ -154,6 +156,7 @@ module Twilio
|
|
154
156
|
# @return [ConnectAppInstance] Fetched ConnectAppInstance
|
155
157
|
def fetch
|
156
158
|
|
159
|
+
|
157
160
|
payload = @version.fetch('GET', @uri)
|
158
161
|
ConnectAppInstance.new(
|
159
162
|
@version,
|
@@ -196,6 +199,7 @@ module Twilio
|
|
196
199
|
'Permissions' => Twilio.serialize_list(permissions) { |e| e },
|
197
200
|
})
|
198
201
|
|
202
|
+
|
199
203
|
payload = @version.update('POST', @uri, data: data)
|
200
204
|
ConnectAppInstance.new(
|
201
205
|
@version,
|
@@ -22,6 +22,7 @@ module Twilio
|
|
22
22
|
class AssignedAddOnContext < InstanceContext
|
23
23
|
|
24
24
|
class AssignedAddOnExtensionList < ListResource
|
25
|
+
|
25
26
|
##
|
26
27
|
# Initialize the AssignedAddOnExtensionList
|
27
28
|
# @param [Version] version Version that contains the resource
|
@@ -152,6 +153,7 @@ module Twilio
|
|
152
153
|
# @return [AssignedAddOnExtensionInstance] Fetched AssignedAddOnExtensionInstance
|
153
154
|
def fetch
|
154
155
|
|
156
|
+
|
155
157
|
payload = @version.fetch('GET', @uri)
|
156
158
|
AssignedAddOnExtensionInstance.new(
|
157
159
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class IncomingPhoneNumberContext < InstanceContext
|
22
22
|
|
23
23
|
class AssignedAddOnList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the AssignedAddOnList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'InstalledAddOnSid' => installed_add_on_sid,
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
AssignedAddOnInstance.new(
|
49
51
|
@version,
|
@@ -172,6 +174,7 @@ module Twilio
|
|
172
174
|
# @return [Boolean] True if delete succeeds, false otherwise
|
173
175
|
def delete
|
174
176
|
|
177
|
+
|
175
178
|
@version.delete('DELETE', @uri)
|
176
179
|
end
|
177
180
|
|
@@ -180,6 +183,7 @@ module Twilio
|
|
180
183
|
# @return [AssignedAddOnInstance] Fetched AssignedAddOnInstance
|
181
184
|
def fetch
|
182
185
|
|
186
|
+
|
183
187
|
payload = @version.fetch('GET', @uri)
|
184
188
|
AssignedAddOnInstance.new(
|
185
189
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class IncomingPhoneNumberList < ListResource
|
22
22
|
|
23
23
|
class LocalList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the LocalList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -110,6 +111,7 @@ module Twilio
|
|
110
111
|
'BundleSid' => bundle_sid,
|
111
112
|
})
|
112
113
|
|
114
|
+
|
113
115
|
payload = @version.create('POST', @uri, data: data)
|
114
116
|
LocalInstance.new(
|
115
117
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class IncomingPhoneNumberList < ListResource
|
22
22
|
|
23
23
|
class MobileList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the MobileList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -110,6 +111,7 @@ module Twilio
|
|
110
111
|
'BundleSid' => bundle_sid,
|
111
112
|
})
|
112
113
|
|
114
|
+
|
113
115
|
payload = @version.create('POST', @uri, data: data)
|
114
116
|
MobileInstance.new(
|
115
117
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class IncomingPhoneNumberList < ListResource
|
22
22
|
|
23
23
|
class TollFreeList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the TollFreeList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -110,6 +111,7 @@ module Twilio
|
|
110
111
|
'BundleSid' => bundle_sid,
|
111
112
|
})
|
112
113
|
|
114
|
+
|
113
115
|
payload = @version.create('POST', @uri, data: data)
|
114
116
|
TollFreeInstance.new(
|
115
117
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class IncomingPhoneNumberList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the IncomingPhoneNumberList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -115,6 +116,7 @@ module Twilio
|
|
115
116
|
'AreaCode' => area_code,
|
116
117
|
})
|
117
118
|
|
119
|
+
|
118
120
|
payload = @version.create('POST', @uri, data: data)
|
119
121
|
IncomingPhoneNumberInstance.new(
|
120
122
|
@version,
|
@@ -284,6 +286,7 @@ module Twilio
|
|
284
286
|
# @return [Boolean] True if delete succeeds, false otherwise
|
285
287
|
def delete
|
286
288
|
|
289
|
+
|
287
290
|
@version.delete('DELETE', @uri)
|
288
291
|
end
|
289
292
|
|
@@ -292,6 +295,7 @@ module Twilio
|
|
292
295
|
# @return [IncomingPhoneNumberInstance] Fetched IncomingPhoneNumberInstance
|
293
296
|
def fetch
|
294
297
|
|
298
|
+
|
295
299
|
payload = @version.fetch('GET', @uri)
|
296
300
|
IncomingPhoneNumberInstance.new(
|
297
301
|
@version,
|
@@ -379,6 +383,7 @@ module Twilio
|
|
379
383
|
'BundleSid' => bundle_sid,
|
380
384
|
})
|
381
385
|
|
386
|
+
|
382
387
|
payload = @version.update('POST', @uri, data: data)
|
383
388
|
IncomingPhoneNumberInstance.new(
|
384
389
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class KeyList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the KeyList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -146,6 +147,7 @@ module Twilio
|
|
146
147
|
# @return [Boolean] True if delete succeeds, false otherwise
|
147
148
|
def delete
|
148
149
|
|
150
|
+
|
149
151
|
@version.delete('DELETE', @uri)
|
150
152
|
end
|
151
153
|
|
@@ -154,6 +156,7 @@ module Twilio
|
|
154
156
|
# @return [KeyInstance] Fetched KeyInstance
|
155
157
|
def fetch
|
156
158
|
|
159
|
+
|
157
160
|
payload = @version.fetch('GET', @uri)
|
158
161
|
KeyInstance.new(
|
159
162
|
@version,
|
@@ -175,6 +178,7 @@ module Twilio
|
|
175
178
|
'FriendlyName' => friendly_name,
|
176
179
|
})
|
177
180
|
|
181
|
+
|
178
182
|
payload = @version.update('POST', @uri, data: data)
|
179
183
|
KeyInstance.new(
|
180
184
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class MessageContext < InstanceContext
|
22
22
|
|
23
23
|
class FeedbackList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the FeedbackList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'Outcome' => outcome,
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
FeedbackInstance.new(
|
49
51
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class MessageContext < InstanceContext
|
22
22
|
|
23
23
|
class MediaList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the MediaList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -166,6 +167,7 @@ module Twilio
|
|
166
167
|
# @return [Boolean] True if delete succeeds, false otherwise
|
167
168
|
def delete
|
168
169
|
|
170
|
+
|
169
171
|
@version.delete('DELETE', @uri)
|
170
172
|
end
|
171
173
|
|
@@ -174,6 +176,7 @@ module Twilio
|
|
174
176
|
# @return [MediaInstance] Fetched MediaInstance
|
175
177
|
def fetch
|
176
178
|
|
179
|
+
|
177
180
|
payload = @version.fetch('GET', @uri)
|
178
181
|
MediaInstance.new(
|
179
182
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class MessageList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the MessageList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -109,6 +110,7 @@ module Twilio
|
|
109
110
|
'ContentSid' => content_sid,
|
110
111
|
})
|
111
112
|
|
113
|
+
|
112
114
|
payload = @version.create('POST', @uri, data: data)
|
113
115
|
MessageInstance.new(
|
114
116
|
@version,
|
@@ -264,6 +266,7 @@ module Twilio
|
|
264
266
|
# @return [Boolean] True if delete succeeds, false otherwise
|
265
267
|
def delete
|
266
268
|
|
269
|
+
|
267
270
|
@version.delete('DELETE', @uri)
|
268
271
|
end
|
269
272
|
|
@@ -272,6 +275,7 @@ module Twilio
|
|
272
275
|
# @return [MessageInstance] Fetched MessageInstance
|
273
276
|
def fetch
|
274
277
|
|
278
|
+
|
275
279
|
payload = @version.fetch('GET', @uri)
|
276
280
|
MessageInstance.new(
|
277
281
|
@version,
|
@@ -296,6 +300,7 @@ module Twilio
|
|
296
300
|
'Status' => status,
|
297
301
|
})
|
298
302
|
|
303
|
+
|
299
304
|
payload = @version.update('POST', @uri, data: data)
|
300
305
|
MessageInstance.new(
|
301
306
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class NewKeyList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the NewKeyList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'FriendlyName' => friendly_name,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
NewKeyInstance.new(
|
48
50
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class NewSigningKeyList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the NewSigningKeyList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'FriendlyName' => friendly_name,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
payload = @version.create('POST', @uri, data: data)
|
47
49
|
NewSigningKeyInstance.new(
|
48
50
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class NotificationList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the NotificationList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -170,6 +171,7 @@ module Twilio
|
|
170
171
|
# @return [NotificationInstance] Fetched NotificationInstance
|
171
172
|
def fetch
|
172
173
|
|
174
|
+
|
173
175
|
payload = @version.fetch('GET', @uri)
|
174
176
|
NotificationInstance.new(
|
175
177
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class OutgoingCallerIdList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the OutgoingCallerIdList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -158,6 +159,7 @@ module Twilio
|
|
158
159
|
# @return [Boolean] True if delete succeeds, false otherwise
|
159
160
|
def delete
|
160
161
|
|
162
|
+
|
161
163
|
@version.delete('DELETE', @uri)
|
162
164
|
end
|
163
165
|
|
@@ -166,6 +168,7 @@ module Twilio
|
|
166
168
|
# @return [OutgoingCallerIdInstance] Fetched OutgoingCallerIdInstance
|
167
169
|
def fetch
|
168
170
|
|
171
|
+
|
169
172
|
payload = @version.fetch('GET', @uri)
|
170
173
|
OutgoingCallerIdInstance.new(
|
171
174
|
@version,
|
@@ -187,6 +190,7 @@ module Twilio
|
|
187
190
|
'FriendlyName' => friendly_name,
|
188
191
|
})
|
189
192
|
|
193
|
+
|
190
194
|
payload = @version.update('POST', @uri, data: data)
|
191
195
|
OutgoingCallerIdInstance.new(
|
192
196
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class QueueContext < InstanceContext
|
22
22
|
|
23
23
|
class MemberList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the MemberList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [MemberInstance] Fetched MemberInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
MemberInstance.new(
|
153
155
|
@version,
|
@@ -173,6 +175,7 @@ module Twilio
|
|
173
175
|
'Method' => method,
|
174
176
|
})
|
175
177
|
|
178
|
+
|
176
179
|
payload = @version.update('POST', @uri, data: data)
|
177
180
|
MemberInstance.new(
|
178
181
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class AccountContext < InstanceContext
|
21
21
|
|
22
22
|
class QueueList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the QueueList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'MaxSize' => max_size,
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
QueueInstance.new(
|
51
53
|
@version,
|
@@ -170,6 +172,7 @@ module Twilio
|
|
170
172
|
# @return [Boolean] True if delete succeeds, false otherwise
|
171
173
|
def delete
|
172
174
|
|
175
|
+
|
173
176
|
@version.delete('DELETE', @uri)
|
174
177
|
end
|
175
178
|
|
@@ -178,6 +181,7 @@ module Twilio
|
|
178
181
|
# @return [QueueInstance] Fetched QueueInstance
|
179
182
|
def fetch
|
180
183
|
|
184
|
+
|
181
185
|
payload = @version.fetch('GET', @uri)
|
182
186
|
QueueInstance.new(
|
183
187
|
@version,
|
@@ -202,6 +206,7 @@ module Twilio
|
|
202
206
|
'MaxSize' => max_size,
|
203
207
|
})
|
204
208
|
|
209
|
+
|
205
210
|
payload = @version.update('POST', @uri, data: data)
|
206
211
|
QueueInstance.new(
|
207
212
|
@version,
|
@@ -22,6 +22,7 @@ module Twilio
|
|
22
22
|
class AddOnResultContext < InstanceContext
|
23
23
|
|
24
24
|
class PayloadList < ListResource
|
25
|
+
|
25
26
|
##
|
26
27
|
# Initialize the PayloadList
|
27
28
|
# @param [Version] version Version that contains the resource
|
@@ -150,6 +151,7 @@ module Twilio
|
|
150
151
|
# @return [Boolean] True if delete succeeds, false otherwise
|
151
152
|
def delete
|
152
153
|
|
154
|
+
|
153
155
|
@version.delete('DELETE', @uri)
|
154
156
|
end
|
155
157
|
|
@@ -158,6 +160,7 @@ module Twilio
|
|
158
160
|
# @return [PayloadInstance] Fetched PayloadInstance
|
159
161
|
def fetch
|
160
162
|
|
163
|
+
|
161
164
|
payload = @version.fetch('GET', @uri)
|
162
165
|
PayloadInstance.new(
|
163
166
|
@version,
|