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 SubscriptionContext < InstanceContext
|
21
21
|
|
22
22
|
class SubscribedEventList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the SubscribedEventList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -46,6 +47,7 @@ module Twilio
|
|
46
47
|
'SchemaVersion' => schema_version,
|
47
48
|
})
|
48
49
|
|
50
|
+
|
49
51
|
payload = @version.create('POST', @uri, data: data)
|
50
52
|
SubscribedEventInstance.new(
|
51
53
|
@version,
|
@@ -169,6 +171,7 @@ module Twilio
|
|
169
171
|
# @return [Boolean] True if delete succeeds, false otherwise
|
170
172
|
def delete
|
171
173
|
|
174
|
+
|
172
175
|
@version.delete('DELETE', @uri)
|
173
176
|
end
|
174
177
|
|
@@ -177,6 +180,7 @@ module Twilio
|
|
177
180
|
# @return [SubscribedEventInstance] Fetched SubscribedEventInstance
|
178
181
|
def fetch
|
179
182
|
|
183
|
+
|
180
184
|
payload = @version.fetch('GET', @uri)
|
181
185
|
SubscribedEventInstance.new(
|
182
186
|
@version,
|
@@ -198,6 +202,7 @@ module Twilio
|
|
198
202
|
'SchemaVersion' => schema_version,
|
199
203
|
})
|
200
204
|
|
205
|
+
|
201
206
|
payload = @version.update('POST', @uri, data: data)
|
202
207
|
SubscribedEventInstance.new(
|
203
208
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class Events < EventsBase
|
19
19
|
class V1 < Version
|
20
20
|
class SubscriptionList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the SubscriptionList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -47,6 +48,7 @@ module Twilio
|
|
47
48
|
'Types' => Twilio.serialize_list(types) { |e| Twilio.serialize_object(e) },
|
48
49
|
})
|
49
50
|
|
51
|
+
|
50
52
|
payload = @version.create('POST', @uri, data: data)
|
51
53
|
SubscriptionInstance.new(
|
52
54
|
@version,
|
@@ -175,6 +177,7 @@ module Twilio
|
|
175
177
|
# @return [Boolean] True if delete succeeds, false otherwise
|
176
178
|
def delete
|
177
179
|
|
180
|
+
|
178
181
|
@version.delete('DELETE', @uri)
|
179
182
|
end
|
180
183
|
|
@@ -183,6 +186,7 @@ module Twilio
|
|
183
186
|
# @return [SubscriptionInstance] Fetched SubscriptionInstance
|
184
187
|
def fetch
|
185
188
|
|
189
|
+
|
186
190
|
payload = @version.fetch('GET', @uri)
|
187
191
|
SubscriptionInstance.new(
|
188
192
|
@version,
|
@@ -206,6 +210,7 @@ module Twilio
|
|
206
210
|
'SinkSid' => sink_sid,
|
207
211
|
})
|
208
212
|
|
213
|
+
|
209
214
|
payload = @version.update('POST', @uri, data: data)
|
210
215
|
SubscriptionInstance.new(
|
211
216
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class AssessmentsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the AssessmentsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -70,6 +71,7 @@ module Twilio
|
|
70
71
|
'QuestionnaireSid' => questionnaire_sid,
|
71
72
|
})
|
72
73
|
|
74
|
+
|
73
75
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
74
76
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
75
77
|
AssessmentsInstance.new(
|
@@ -221,6 +223,7 @@ module Twilio
|
|
221
223
|
'AnswerId' => answer_id,
|
222
224
|
})
|
223
225
|
|
226
|
+
|
224
227
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
225
228
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
226
229
|
AssessmentsInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class ChannelList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ChannelList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -68,6 +69,7 @@ module Twilio
|
|
68
69
|
'LongLived' => long_lived,
|
69
70
|
})
|
70
71
|
|
72
|
+
|
71
73
|
payload = @version.create('POST', @uri, data: data)
|
72
74
|
ChannelInstance.new(
|
73
75
|
@version,
|
@@ -189,6 +191,7 @@ module Twilio
|
|
189
191
|
# @return [Boolean] True if delete succeeds, false otherwise
|
190
192
|
def delete
|
191
193
|
|
194
|
+
|
192
195
|
@version.delete('DELETE', @uri)
|
193
196
|
end
|
194
197
|
|
@@ -197,6 +200,7 @@ module Twilio
|
|
197
200
|
# @return [ChannelInstance] Fetched ChannelInstance
|
198
201
|
def fetch
|
199
202
|
|
203
|
+
|
200
204
|
payload = @version.fetch('GET', @uri)
|
201
205
|
ChannelInstance.new(
|
202
206
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class ConfigurationList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ConfigurationList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -64,6 +65,7 @@ module Twilio
|
|
64
65
|
params = Twilio::Values.of({
|
65
66
|
'UiVersion' => ui_version,
|
66
67
|
})
|
68
|
+
|
67
69
|
payload = @version.fetch('GET', @uri, params: params)
|
68
70
|
ConfigurationInstance.new(
|
69
71
|
@version,
|
@@ -147,6 +149,7 @@ module Twilio
|
|
147
149
|
'messaging_service_instance_sid' => payload['messaging_service_instance_sid'],
|
148
150
|
'chat_service_instance_sid' => payload['chat_service_instance_sid'],
|
149
151
|
'flex_service_instance_sid' => payload['flex_service_instance_sid'],
|
152
|
+
'flex_instance_sid' => payload['flex_instance_sid'],
|
150
153
|
'ui_language' => payload['ui_language'],
|
151
154
|
'ui_attributes' => payload['ui_attributes'],
|
152
155
|
'ui_dependencies' => payload['ui_dependencies'],
|
@@ -298,6 +301,12 @@ module Twilio
|
|
298
301
|
@properties['flex_service_instance_sid']
|
299
302
|
end
|
300
303
|
|
304
|
+
##
|
305
|
+
# @return [String] The SID of the Flex instance.
|
306
|
+
def flex_instance_sid
|
307
|
+
@properties['flex_instance_sid']
|
308
|
+
end
|
309
|
+
|
301
310
|
##
|
302
311
|
# @return [String] The primary language of the Flex UI.
|
303
312
|
def ui_language
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class FlexFlowList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the FlexFlowList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -89,6 +90,7 @@ module Twilio
|
|
89
90
|
'Integration.RetryCount' => integration_retry_count,
|
90
91
|
})
|
91
92
|
|
93
|
+
|
92
94
|
payload = @version.create('POST', @uri, data: data)
|
93
95
|
FlexFlowInstance.new(
|
94
96
|
@version,
|
@@ -216,6 +218,7 @@ module Twilio
|
|
216
218
|
# @return [Boolean] True if delete succeeds, false otherwise
|
217
219
|
def delete
|
218
220
|
|
221
|
+
|
219
222
|
@version.delete('DELETE', @uri)
|
220
223
|
end
|
221
224
|
|
@@ -224,6 +227,7 @@ module Twilio
|
|
224
227
|
# @return [FlexFlowInstance] Fetched FlexFlowInstance
|
225
228
|
def fetch
|
226
229
|
|
230
|
+
|
227
231
|
payload = @version.fetch('GET', @uri)
|
228
232
|
FlexFlowInstance.new(
|
229
233
|
@version,
|
@@ -292,6 +296,7 @@ module Twilio
|
|
292
296
|
'Integration.RetryCount' => integration_retry_count,
|
293
297
|
})
|
294
298
|
|
299
|
+
|
295
300
|
payload = @version.update('POST', @uri, data: data)
|
296
301
|
FlexFlowInstance.new(
|
297
302
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsAssessmentsCommentList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsAssessmentsCommentList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -58,6 +59,7 @@ module Twilio
|
|
58
59
|
'Offset' => offset,
|
59
60
|
})
|
60
61
|
|
62
|
+
|
61
63
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
62
64
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
63
65
|
InsightsAssessmentsCommentInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsQuestionnairesList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsQuestionnairesList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -52,6 +53,7 @@ module Twilio
|
|
52
53
|
'QuestionSids' => Twilio.serialize_list(question_sids) { |e| e },
|
53
54
|
})
|
54
55
|
|
56
|
+
|
55
57
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
56
58
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
57
59
|
InsightsQuestionnairesInstance.new(
|
@@ -191,6 +193,7 @@ module Twilio
|
|
191
193
|
authorization: :unset
|
192
194
|
)
|
193
195
|
|
196
|
+
|
194
197
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
195
198
|
@version.delete('DELETE', @uri, headers: headers)
|
196
199
|
end
|
@@ -203,6 +206,7 @@ module Twilio
|
|
203
206
|
authorization: :unset
|
204
207
|
)
|
205
208
|
|
209
|
+
|
206
210
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
207
211
|
payload = @version.fetch('GET', @uri, headers: headers)
|
208
212
|
InsightsQuestionnairesInstance.new(
|
@@ -235,6 +239,7 @@ module Twilio
|
|
235
239
|
'QuestionSids' => Twilio.serialize_list(question_sids) { |e| e },
|
236
240
|
})
|
237
241
|
|
242
|
+
|
238
243
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
239
244
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
240
245
|
InsightsQuestionnairesInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsQuestionnairesCategoryList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsQuestionnairesCategoryList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -43,6 +44,7 @@ module Twilio
|
|
43
44
|
'Name' => name,
|
44
45
|
})
|
45
46
|
|
47
|
+
|
46
48
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
47
49
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
48
50
|
InsightsQuestionnairesCategoryInstance.new(
|
@@ -176,6 +178,7 @@ module Twilio
|
|
176
178
|
authorization: :unset
|
177
179
|
)
|
178
180
|
|
181
|
+
|
179
182
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
180
183
|
@version.delete('DELETE', @uri, headers: headers)
|
181
184
|
end
|
@@ -194,6 +197,7 @@ module Twilio
|
|
194
197
|
'Name' => name,
|
195
198
|
})
|
196
199
|
|
200
|
+
|
197
201
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
198
202
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
199
203
|
InsightsQuestionnairesCategoryInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsQuestionnairesQuestionList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsQuestionnairesQuestionList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -55,6 +56,7 @@ module Twilio
|
|
55
56
|
'Description' => description,
|
56
57
|
})
|
57
58
|
|
59
|
+
|
58
60
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
59
61
|
payload = @version.create('POST', @uri, data: data, headers: headers)
|
60
62
|
InsightsQuestionnairesQuestionInstance.new(
|
@@ -195,6 +197,7 @@ module Twilio
|
|
195
197
|
authorization: :unset
|
196
198
|
)
|
197
199
|
|
200
|
+
|
198
201
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
199
202
|
@version.delete('DELETE', @uri, headers: headers)
|
200
203
|
end
|
@@ -225,6 +228,7 @@ module Twilio
|
|
225
228
|
'AnswerSetId' => answer_set_id,
|
226
229
|
})
|
227
230
|
|
231
|
+
|
228
232
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
229
233
|
payload = @version.update('POST', @uri, data: data, headers: headers)
|
230
234
|
InsightsQuestionnairesQuestionInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsSessionList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsSessionList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -63,6 +64,7 @@ module Twilio
|
|
63
64
|
authorization: :unset
|
64
65
|
)
|
65
66
|
|
67
|
+
|
66
68
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
67
69
|
payload = @version.create('POST', @uri, headers: headers)
|
68
70
|
InsightsSessionInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsSettingsAnswerSetsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsSettingsAnswerSetsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -37,6 +38,7 @@ module Twilio
|
|
37
38
|
authorization: :unset
|
38
39
|
)
|
39
40
|
|
41
|
+
|
40
42
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
41
43
|
payload = @version.fetch('GET', @uri, headers: headers)
|
42
44
|
InsightsSettingsAnswerSetsInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsSettingsCommentList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsSettingsCommentList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -37,6 +38,7 @@ module Twilio
|
|
37
38
|
authorization: :unset
|
38
39
|
)
|
39
40
|
|
41
|
+
|
40
42
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
41
43
|
payload = @version.fetch('GET', @uri, headers: headers)
|
42
44
|
InsightsSettingsCommentInstance.new(
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InsightsUserRolesList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InsightsUserRolesList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -63,6 +64,7 @@ module Twilio
|
|
63
64
|
authorization: :unset
|
64
65
|
)
|
65
66
|
|
67
|
+
|
66
68
|
headers = Twilio::Values.of({ 'Authorization' => authorization, })
|
67
69
|
payload = @version.fetch('GET', @uri, headers: headers)
|
68
70
|
InsightsUserRolesInstance.new(
|
data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb
CHANGED
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class InteractionChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class InteractionChannelInviteList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the InteractionChannelInviteList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -44,6 +45,7 @@ module Twilio
|
|
44
45
|
'Routing' => Twilio.serialize_object(routing),
|
45
46
|
})
|
46
47
|
|
48
|
+
|
47
49
|
payload = @version.create('POST', @uri, data: data)
|
48
50
|
InteractionChannelInviteInstance.new(
|
49
51
|
@version,
|
@@ -21,6 +21,7 @@ module Twilio
|
|
21
21
|
class InteractionChannelContext < InstanceContext
|
22
22
|
|
23
23
|
class InteractionChannelParticipantList < ListResource
|
24
|
+
|
24
25
|
##
|
25
26
|
# Initialize the InteractionChannelParticipantList
|
26
27
|
# @param [Version] version Version that contains the resource
|
@@ -36,17 +37,21 @@ module Twilio
|
|
36
37
|
# Create the InteractionChannelParticipantInstance
|
37
38
|
# @param [Type] type
|
38
39
|
# @param [Object] media_properties JSON representing the Media Properties for the new Participant.
|
40
|
+
# @param [Object] routing_properties Object representing the Routing Properties for the new Participant.
|
39
41
|
# @return [InteractionChannelParticipantInstance] Created InteractionChannelParticipantInstance
|
40
42
|
def create(
|
41
43
|
type: nil,
|
42
|
-
media_properties: nil
|
44
|
+
media_properties: nil,
|
45
|
+
routing_properties: :unset
|
43
46
|
)
|
44
47
|
|
45
48
|
data = Twilio::Values.of({
|
46
49
|
'Type' => type,
|
47
50
|
'MediaProperties' => Twilio.serialize_object(media_properties),
|
51
|
+
'RoutingProperties' => Twilio.serialize_object(routing_properties),
|
48
52
|
})
|
49
53
|
|
54
|
+
|
50
55
|
payload = @version.create('POST', @uri, data: data)
|
51
56
|
InteractionChannelParticipantInstance.new(
|
52
57
|
@version,
|
@@ -179,6 +184,7 @@ module Twilio
|
|
179
184
|
'Status' => status,
|
180
185
|
})
|
181
186
|
|
187
|
+
|
182
188
|
payload = @version.update('POST', @uri, data: data)
|
183
189
|
InteractionChannelParticipantInstance.new(
|
184
190
|
@version,
|
@@ -253,6 +259,7 @@ module Twilio
|
|
253
259
|
'interaction_sid' => payload['interaction_sid'],
|
254
260
|
'channel_sid' => payload['channel_sid'],
|
255
261
|
'url' => payload['url'],
|
262
|
+
'routing_properties' => payload['routing_properties'],
|
256
263
|
}
|
257
264
|
|
258
265
|
# Context
|
@@ -301,6 +308,12 @@ module Twilio
|
|
301
308
|
@properties['url']
|
302
309
|
end
|
303
310
|
|
311
|
+
##
|
312
|
+
# @return [Hash] The Participant's routing properties.
|
313
|
+
def routing_properties
|
314
|
+
@properties['routing_properties']
|
315
|
+
end
|
316
|
+
|
304
317
|
##
|
305
318
|
# Update the InteractionChannelParticipantInstance
|
306
319
|
# @param [Status] status
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class InteractionContext < InstanceContext
|
21
21
|
|
22
22
|
class InteractionChannelList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the InteractionChannelList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -148,6 +149,7 @@ module Twilio
|
|
148
149
|
# @return [InteractionChannelInstance] Fetched InteractionChannelInstance
|
149
150
|
def fetch
|
150
151
|
|
152
|
+
|
151
153
|
payload = @version.fetch('GET', @uri)
|
152
154
|
InteractionChannelInstance.new(
|
153
155
|
@version,
|
@@ -172,6 +174,7 @@ module Twilio
|
|
172
174
|
'Routing' => Twilio.serialize_object(routing),
|
173
175
|
})
|
174
176
|
|
177
|
+
|
175
178
|
payload = @version.update('POST', @uri, data: data)
|
176
179
|
InteractionChannelInstance.new(
|
177
180
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class InteractionList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the InteractionList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -47,6 +48,7 @@ module Twilio
|
|
47
48
|
'InteractionContextSid' => interaction_context_sid,
|
48
49
|
})
|
49
50
|
|
51
|
+
|
50
52
|
payload = @version.create('POST', @uri, data: data)
|
51
53
|
InteractionInstance.new(
|
52
54
|
@version,
|
@@ -85,6 +87,7 @@ module Twilio
|
|
85
87
|
# @return [InteractionInstance] Fetched InteractionInstance
|
86
88
|
def fetch
|
87
89
|
|
90
|
+
|
88
91
|
payload = @version.fetch('GET', @uri)
|
89
92
|
InteractionInstance.new(
|
90
93
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class ProvisioningStatusList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the ProvisioningStatusList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -60,6 +61,7 @@ module Twilio
|
|
60
61
|
# @return [ProvisioningStatusInstance] Fetched ProvisioningStatusInstance
|
61
62
|
def fetch
|
62
63
|
|
64
|
+
|
63
65
|
payload = @version.fetch('GET', @uri)
|
64
66
|
ProvisioningStatusInstance.new(
|
65
67
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class WebChannelList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the WebChannelList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -56,6 +57,7 @@ module Twilio
|
|
56
57
|
'PreEngagementData' => pre_engagement_data,
|
57
58
|
})
|
58
59
|
|
60
|
+
|
59
61
|
payload = @version.create('POST', @uri, data: data)
|
60
62
|
WebChannelInstance.new(
|
61
63
|
@version,
|
@@ -177,6 +179,7 @@ module Twilio
|
|
177
179
|
# @return [Boolean] True if delete succeeds, false otherwise
|
178
180
|
def delete
|
179
181
|
|
182
|
+
|
180
183
|
@version.delete('DELETE', @uri)
|
181
184
|
end
|
182
185
|
|
@@ -185,6 +188,7 @@ module Twilio
|
|
185
188
|
# @return [WebChannelInstance] Fetched WebChannelInstance
|
186
189
|
def fetch
|
187
190
|
|
191
|
+
|
188
192
|
payload = @version.fetch('GET', @uri)
|
189
193
|
WebChannelInstance.new(
|
190
194
|
@version,
|
@@ -208,6 +212,7 @@ module Twilio
|
|
208
212
|
'PostEngagementData' => post_engagement_data,
|
209
213
|
})
|
210
214
|
|
215
|
+
|
211
216
|
payload = @version.update('POST', @uri, data: data)
|
212
217
|
WebChannelInstance.new(
|
213
218
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FlexApi < FlexApiBase
|
19
19
|
class V2 < Version
|
20
20
|
class WebChannelsList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the WebChannelsList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -50,6 +51,7 @@ module Twilio
|
|
50
51
|
'PreEngagementData' => pre_engagement_data,
|
51
52
|
})
|
52
53
|
|
54
|
+
|
53
55
|
payload = @version.create('POST', @uri, data: data)
|
54
56
|
WebChannelsInstance.new(
|
55
57
|
@version,
|
@@ -18,6 +18,7 @@ module Twilio
|
|
18
18
|
class FrontlineApi < FrontlineApiBase
|
19
19
|
class V1 < Version
|
20
20
|
class UserList < ListResource
|
21
|
+
|
21
22
|
##
|
22
23
|
# Initialize the UserList
|
23
24
|
# @param [Version] version Version that contains the resource
|
@@ -61,6 +62,7 @@ module Twilio
|
|
61
62
|
# @return [UserInstance] Fetched UserInstance
|
62
63
|
def fetch
|
63
64
|
|
65
|
+
|
64
66
|
payload = @version.fetch('GET', @uri)
|
65
67
|
UserInstance.new(
|
66
68
|
@version,
|
@@ -90,6 +92,7 @@ module Twilio
|
|
90
92
|
'IsAvailable' => is_available,
|
91
93
|
})
|
92
94
|
|
95
|
+
|
93
96
|
payload = @version.update('POST', @uri, data: data)
|
94
97
|
UserInstance.new(
|
95
98
|
@version,
|
@@ -20,6 +20,7 @@ module Twilio
|
|
20
20
|
class CallContext < InstanceContext
|
21
21
|
|
22
22
|
class AnnotationList < ListResource
|
23
|
+
|
23
24
|
##
|
24
25
|
# Initialize the AnnotationList
|
25
26
|
# @param [Version] version Version that contains the resource
|
@@ -63,6 +64,7 @@ module Twilio
|
|
63
64
|
# @return [AnnotationInstance] Fetched AnnotationInstance
|
64
65
|
def fetch
|
65
66
|
|
67
|
+
|
66
68
|
payload = @version.fetch('GET', @uri)
|
67
69
|
AnnotationInstance.new(
|
68
70
|
@version,
|
@@ -101,6 +103,7 @@ module Twilio
|
|
101
103
|
'Incident' => incident,
|
102
104
|
})
|
103
105
|
|
106
|
+
|
104
107
|
payload = @version.update('POST', @uri, data: data)
|
105
108
|
AnnotationInstance.new(
|
106
109
|
@version,
|