twilio-ruby 6.2.0 → 6.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +205 -0
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/base/client_base.rb +4 -7
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +0 -1
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -2
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +0 -19
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -8
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -19
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -6
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +19 -23
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +55 -58
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +0 -3
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -4
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +0 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +0 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +0 -1
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/chat/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/client.rb +1 -6
- data/lib/twilio-ruby/rest/content/v1/content.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +1 -2
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +0 -2
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -8
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +12 -12
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +19 -20
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -11
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +0 -3
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +0 -1
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +0 -2
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/sink.rb +0 -3
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +0 -1
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +21 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +0 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +0 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +0 -2
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +1 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -7
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +11 -1
- data/lib/twilio-ruby/rest/{oauth/v1/oauth.rb → flex_api/v1/provisioning_status.rb} +39 -37
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +0 -1
- data/lib/twilio-ruby/rest/flex_api/v1.rb +6 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +1 -1
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +0 -2
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +0 -3
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +33 -51
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +0 -4
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +0 -11
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +3 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +2 -6
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +4 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +12 -7
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +3 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +5 -25
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +4 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +0 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +5 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +1 -2
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +0 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +0 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +7 -10
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +1 -6
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +2 -5
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +0 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +329 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +4 -5
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +78 -52
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +777 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +8 -3
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -4
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -7
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -1
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -5
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +1 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +4 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +22 -4
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +7 -12
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +249 -0
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +7 -20
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +19 -31
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +0 -4
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +14 -14
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +0 -2
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +0 -1
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -7
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -9
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -1
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +0 -4
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +0 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +0 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -3
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -5
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -1
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -6
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +0 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +0 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -3
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +1 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +0 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +0 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -2
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -4
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +0 -1
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +4 -8
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +0 -2
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +3 -8
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +0 -3
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +0 -1
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +0 -4
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +0 -9
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -4
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -2
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +26 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +0 -7
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +8 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +0 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +154 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +0 -3
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +0 -1
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +0 -4
- data/lib/twilio-ruby/rest/trusthub/v1.rb +21 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -4
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -5
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -2
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -1
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +0 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +19 -4
- data/lib/twilio-ruby/rest/verify/v2/template.rb +0 -2
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +7 -16
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/composition.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -7
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +0 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -8
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +0 -5
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -7
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +4 -11
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +0 -1
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +0 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +5 -10
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -8
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -4
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -7
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +13 -19
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +2 -6
- data/lib/twilio-ruby/twiml/voice_response.rb +8 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +9 -11
- data/conf/cacert.pem +0 -3376
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +0 -171
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +0 -262
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -179
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +0 -213
- data/lib/twilio-ruby/rest/oauth/v1.rb +0 -64
- data/lib/twilio-ruby/rest/oauth.rb +0 -33
- data/lib/twilio-ruby/rest/oauth_base.rb +0 -38
|
@@ -128,8 +128,7 @@ module Twilio
|
|
|
128
128
|
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
129
129
|
params = Twilio::Values.of({
|
|
130
130
|
|
|
131
|
-
'Type' => Twilio.serialize_list(type),
|
|
132
|
-
|
|
131
|
+
'Type' => Twilio.serialize_list(type) { |e| e },
|
|
133
132
|
'PageToken' => page_token,
|
|
134
133
|
'Page' => page_number,
|
|
135
134
|
'PageSize' => page_size,
|
|
@@ -244,7 +243,7 @@ module Twilio
|
|
|
244
243
|
|
|
245
244
|
unless @members
|
|
246
245
|
@members = MemberList.new(
|
|
247
|
-
@version, service_sid: @solution[:service_sid],
|
|
246
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
248
247
|
end
|
|
249
248
|
|
|
250
249
|
@members
|
|
@@ -263,7 +262,7 @@ module Twilio
|
|
|
263
262
|
|
|
264
263
|
unless @messages
|
|
265
264
|
@messages = MessageList.new(
|
|
266
|
-
@version, service_sid: @solution[:service_sid],
|
|
265
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
267
266
|
end
|
|
268
267
|
|
|
269
268
|
@messages
|
|
@@ -282,7 +281,7 @@ module Twilio
|
|
|
282
281
|
|
|
283
282
|
unless @invites
|
|
284
283
|
@invites = InviteList.new(
|
|
285
|
-
@version, service_sid: @solution[:service_sid],
|
|
284
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
286
285
|
end
|
|
287
286
|
|
|
288
287
|
@invites
|
|
@@ -122,7 +122,6 @@ module Twilio
|
|
|
122
122
|
# @return [Page] Page of UserInstance
|
|
123
123
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
124
124
|
params = Twilio::Values.of({
|
|
125
|
-
|
|
126
125
|
'PageToken' => page_token,
|
|
127
126
|
'Page' => page_number,
|
|
128
127
|
'PageSize' => page_size,
|
|
@@ -228,7 +227,7 @@ module Twilio
|
|
|
228
227
|
def user_channels
|
|
229
228
|
unless @user_channels
|
|
230
229
|
@user_channels = UserChannelList.new(
|
|
231
|
-
@version, service_sid: @solution[:service_sid],
|
|
230
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
232
231
|
end
|
|
233
232
|
@user_channels
|
|
234
233
|
end
|
|
@@ -110,7 +110,6 @@ module Twilio
|
|
|
110
110
|
# @return [Page] Page of ServiceInstance
|
|
111
111
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
112
112
|
params = Twilio::Values.of({
|
|
113
|
-
|
|
114
113
|
'PageToken' => page_token,
|
|
115
114
|
'Page' => page_number,
|
|
116
115
|
'PageSize' => page_size,
|
|
@@ -128,7 +128,6 @@ module Twilio
|
|
|
128
128
|
# @return [Page] Page of CredentialInstance
|
|
129
129
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
130
130
|
params = Twilio::Values.of({
|
|
131
|
-
|
|
132
131
|
'PageToken' => page_token,
|
|
133
132
|
'Page' => page_number,
|
|
134
133
|
'PageSize' => page_size,
|
|
@@ -104,10 +104,9 @@ module Twilio
|
|
|
104
104
|
def page(binding_type: :unset, identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
105
105
|
params = Twilio::Values.of({
|
|
106
106
|
|
|
107
|
-
'BindingType' => Twilio.serialize_list(binding_type),
|
|
108
|
-
|
|
109
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
107
|
+
'BindingType' => Twilio.serialize_list(binding_type) { |e| e },
|
|
110
108
|
|
|
109
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
111
110
|
'PageToken' => page_token,
|
|
112
111
|
'Page' => page_number,
|
|
113
112
|
'PageSize' => page_size,
|
|
@@ -124,8 +124,7 @@ module Twilio
|
|
|
124
124
|
def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
125
125
|
params = Twilio::Values.of({
|
|
126
126
|
|
|
127
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
128
|
-
|
|
127
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -142,8 +142,7 @@ module Twilio
|
|
|
142
142
|
def page(identity: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
143
143
|
params = Twilio::Values.of({
|
|
144
144
|
|
|
145
|
-
'Identity' => Twilio.serialize_list(identity),
|
|
146
|
-
|
|
145
|
+
'Identity' => Twilio.serialize_list(identity) { |e| e },
|
|
147
146
|
'PageToken' => page_token,
|
|
148
147
|
'Page' => page_number,
|
|
149
148
|
'PageSize' => page_size,
|
|
@@ -141,9 +141,7 @@ module Twilio
|
|
|
141
141
|
# @return [Page] Page of MessageInstance
|
|
142
142
|
def page(order: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
143
143
|
params = Twilio::Values.of({
|
|
144
|
-
|
|
145
144
|
'Order' => order,
|
|
146
|
-
|
|
147
145
|
'PageToken' => page_token,
|
|
148
146
|
'Page' => page_number,
|
|
149
147
|
'PageSize' => page_size,
|
|
@@ -133,7 +133,6 @@ module Twilio
|
|
|
133
133
|
# @return [Page] Page of WebhookInstance
|
|
134
134
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
135
135
|
params = Twilio::Values.of({
|
|
136
|
-
|
|
137
136
|
'PageToken' => page_token,
|
|
138
137
|
'Page' => page_number,
|
|
139
138
|
'PageSize' => page_size,
|
|
@@ -140,8 +140,7 @@ module Twilio
|
|
|
140
140
|
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
141
141
|
params = Twilio::Values.of({
|
|
142
142
|
|
|
143
|
-
'Type' => Twilio.serialize_list(type),
|
|
144
|
-
|
|
143
|
+
'Type' => Twilio.serialize_list(type) { |e| e },
|
|
145
144
|
'PageToken' => page_token,
|
|
146
145
|
'Page' => page_number,
|
|
147
146
|
'PageSize' => page_size,
|
|
@@ -273,7 +272,7 @@ module Twilio
|
|
|
273
272
|
|
|
274
273
|
unless @webhooks
|
|
275
274
|
@webhooks = WebhookList.new(
|
|
276
|
-
@version, service_sid: @solution[:service_sid],
|
|
275
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
277
276
|
end
|
|
278
277
|
|
|
279
278
|
@webhooks
|
|
@@ -292,7 +291,7 @@ module Twilio
|
|
|
292
291
|
|
|
293
292
|
unless @members
|
|
294
293
|
@members = MemberList.new(
|
|
295
|
-
@version, service_sid: @solution[:service_sid],
|
|
294
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
296
295
|
end
|
|
297
296
|
|
|
298
297
|
@members
|
|
@@ -311,7 +310,7 @@ module Twilio
|
|
|
311
310
|
|
|
312
311
|
unless @messages
|
|
313
312
|
@messages = MessageList.new(
|
|
314
|
-
@version, service_sid: @solution[:service_sid],
|
|
313
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
315
314
|
end
|
|
316
315
|
|
|
317
316
|
@messages
|
|
@@ -330,7 +329,7 @@ module Twilio
|
|
|
330
329
|
|
|
331
330
|
unless @invites
|
|
332
331
|
@invites = InviteList.new(
|
|
333
|
-
@version, service_sid: @solution[:service_sid],
|
|
332
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
|
334
333
|
end
|
|
335
334
|
|
|
336
335
|
@invites
|
|
@@ -100,8 +100,7 @@ module Twilio
|
|
|
100
100
|
def page(binding_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
101
101
|
params = Twilio::Values.of({
|
|
102
102
|
|
|
103
|
-
'BindingType' => Twilio.serialize_list(binding_type),
|
|
104
|
-
|
|
103
|
+
'BindingType' => Twilio.serialize_list(binding_type) { |e| e },
|
|
105
104
|
'PageToken' => page_token,
|
|
106
105
|
'Page' => page_number,
|
|
107
106
|
'PageSize' => page_size,
|
|
@@ -125,7 +125,6 @@ module Twilio
|
|
|
125
125
|
# @return [Page] Page of UserInstance
|
|
126
126
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
127
127
|
params = Twilio::Values.of({
|
|
128
|
-
|
|
129
128
|
'PageToken' => page_token,
|
|
130
129
|
'Page' => page_number,
|
|
131
130
|
'PageSize' => page_size,
|
|
@@ -242,7 +241,7 @@ module Twilio
|
|
|
242
241
|
|
|
243
242
|
unless @user_channels
|
|
244
243
|
@user_channels = UserChannelList.new(
|
|
245
|
-
@version, service_sid: @solution[:service_sid],
|
|
244
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
246
245
|
end
|
|
247
246
|
|
|
248
247
|
@user_channels
|
|
@@ -261,7 +260,7 @@ module Twilio
|
|
|
261
260
|
|
|
262
261
|
unless @user_bindings
|
|
263
262
|
@user_bindings = UserBindingList.new(
|
|
264
|
-
@version, service_sid: @solution[:service_sid],
|
|
263
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
|
265
264
|
end
|
|
266
265
|
|
|
267
266
|
@user_bindings
|
|
@@ -110,7 +110,6 @@ module Twilio
|
|
|
110
110
|
# @return [Page] Page of ServiceInstance
|
|
111
111
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
112
112
|
params = Twilio::Values.of({
|
|
113
|
-
|
|
114
113
|
'PageToken' => page_token,
|
|
115
114
|
'Page' => page_number,
|
|
116
115
|
'PageSize' => page_size,
|
|
@@ -58,7 +58,7 @@ module Twilio
|
|
|
58
58
|
##
|
|
59
59
|
# Update the ChannelInstance
|
|
60
60
|
# @param [ChannelType] type
|
|
61
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
61
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to.
|
|
62
62
|
# @param [ChannelEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
63
63
|
# @return [ChannelInstance] Updated ChannelInstance
|
|
64
64
|
def update(
|
|
@@ -246,7 +246,7 @@ module Twilio
|
|
|
246
246
|
end
|
|
247
247
|
|
|
248
248
|
##
|
|
249
|
-
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
249
|
+
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to.
|
|
250
250
|
def messaging_service_sid
|
|
251
251
|
@properties['messaging_service_sid']
|
|
252
252
|
end
|
|
@@ -260,7 +260,7 @@ module Twilio
|
|
|
260
260
|
##
|
|
261
261
|
# Update the ChannelInstance
|
|
262
262
|
# @param [ChannelType] type
|
|
263
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
263
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to.
|
|
264
264
|
# @param [ChannelEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
265
265
|
# @return [ChannelInstance] Updated ChannelInstance
|
|
266
266
|
def update(
|
|
@@ -117,11 +117,6 @@ module Twilio
|
|
|
117
117
|
@numbers ||= Numbers.new self
|
|
118
118
|
end
|
|
119
119
|
##
|
|
120
|
-
# Access the Oauth Twilio Domain
|
|
121
|
-
def oauth
|
|
122
|
-
@oauth ||= Oauth.new self
|
|
123
|
-
end
|
|
124
|
-
##
|
|
125
120
|
# Access the Preview Twilio Domain
|
|
126
121
|
def preview
|
|
127
122
|
@preview ||= Preview.new self
|
|
@@ -271,7 +266,7 @@ module Twilio
|
|
|
271
266
|
self.api.v2010.account.keys(sid)
|
|
272
267
|
end
|
|
273
268
|
##
|
|
274
|
-
# @param [string] sid The
|
|
269
|
+
# @param [string] sid The SID of the Message resource to be fetched
|
|
275
270
|
|
|
276
271
|
# @return [Twilio::REST::Api::V2010::AccountContext::MessageInstance] if sid was passed.
|
|
277
272
|
# @return [Twilio::REST::Api::V2010::AccountContext::MessageList]
|
|
@@ -91,7 +91,6 @@ module Twilio
|
|
|
91
91
|
# @return [Page] Page of ContentInstance
|
|
92
92
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
93
93
|
params = Twilio::Values.of({
|
|
94
|
-
|
|
95
94
|
'PageToken' => page_token,
|
|
96
95
|
'Page' => page_number,
|
|
97
96
|
'PageSize' => page_size,
|
|
@@ -303,7 +302,7 @@ module Twilio
|
|
|
303
302
|
end
|
|
304
303
|
|
|
305
304
|
##
|
|
306
|
-
# @return [Hash] The [Content types](https://www.twilio.com/docs/content
|
|
305
|
+
# @return [Hash] The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
307
306
|
def types
|
|
308
307
|
@properties['types']
|
|
309
308
|
end
|
|
@@ -91,7 +91,6 @@ module Twilio
|
|
|
91
91
|
# @return [Page] Page of ContentAndApprovalsInstance
|
|
92
92
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
93
93
|
params = Twilio::Values.of({
|
|
94
|
-
|
|
95
94
|
'PageToken' => page_token,
|
|
96
95
|
'Page' => page_number,
|
|
97
96
|
'PageSize' => page_size,
|
|
@@ -222,7 +221,7 @@ module Twilio
|
|
|
222
221
|
end
|
|
223
222
|
|
|
224
223
|
##
|
|
225
|
-
# @return [Hash] The [Content types](https://www.twilio.com/docs/content
|
|
224
|
+
# @return [Hash] The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
226
225
|
def types
|
|
227
226
|
@properties['types']
|
|
228
227
|
end
|
|
@@ -91,7 +91,6 @@ module Twilio
|
|
|
91
91
|
# @return [Page] Page of LegacyContentInstance
|
|
92
92
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
93
93
|
params = Twilio::Values.of({
|
|
94
|
-
|
|
95
94
|
'PageToken' => page_token,
|
|
96
95
|
'Page' => page_number,
|
|
97
96
|
'PageSize' => page_size,
|
|
@@ -224,7 +223,7 @@ module Twilio
|
|
|
224
223
|
end
|
|
225
224
|
|
|
226
225
|
##
|
|
227
|
-
# @return [Hash] The [Content types](https://www.twilio.com/docs/content
|
|
226
|
+
# @return [Hash] The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
228
227
|
def types
|
|
229
228
|
@properties['types']
|
|
230
229
|
end
|
|
@@ -148,9 +148,7 @@ module Twilio
|
|
|
148
148
|
# @return [Page] Page of AddressConfigurationInstance
|
|
149
149
|
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
150
150
|
params = Twilio::Values.of({
|
|
151
|
-
|
|
152
151
|
'Type' => type,
|
|
153
|
-
|
|
154
152
|
'PageToken' => page_token,
|
|
155
153
|
'Page' => page_number,
|
|
156
154
|
'PageSize' => page_size,
|
|
@@ -69,7 +69,7 @@ module Twilio
|
|
|
69
69
|
##
|
|
70
70
|
# Update the ConfigurationInstance
|
|
71
71
|
# @param [String] default_chat_service_sid The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation.
|
|
72
|
-
# @param [String] default_messaging_service_sid The SID of the default [Messaging Service](https://www.twilio.com/docs/
|
|
72
|
+
# @param [String] default_messaging_service_sid The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation.
|
|
73
73
|
# @param [String] default_inactive_timer Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
74
74
|
# @param [String] default_closed_timer Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
75
75
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
|
@@ -200,7 +200,7 @@ module Twilio
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
##
|
|
203
|
-
# @return [String] The SID of the default [Messaging Service](https://www.twilio.com/docs/
|
|
203
|
+
# @return [String] The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation.
|
|
204
204
|
def default_messaging_service_sid
|
|
205
205
|
@properties['default_messaging_service_sid']
|
|
206
206
|
end
|
|
@@ -240,7 +240,7 @@ module Twilio
|
|
|
240
240
|
##
|
|
241
241
|
# Update the ConfigurationInstance
|
|
242
242
|
# @param [String] default_chat_service_sid The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation.
|
|
243
|
-
# @param [String] default_messaging_service_sid The SID of the default [Messaging Service](https://www.twilio.com/docs/
|
|
243
|
+
# @param [String] default_messaging_service_sid The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation.
|
|
244
244
|
# @param [String] default_inactive_timer Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
245
245
|
# @param [String] default_closed_timer Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
246
246
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
|
@@ -39,8 +39,9 @@ module Twilio
|
|
|
39
39
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
40
40
|
# @param [String] attributes A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned.
|
|
41
41
|
# @param [String] media_sid The Media SID to be attached to the new Message.
|
|
42
|
-
# @param [String] content_sid The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
42
|
+
# @param [String] content_sid The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored.
|
|
43
43
|
# @param [String] content_variables A structurally valid JSON string that contains values to resolve Rich Content template variables.
|
|
44
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
44
45
|
# @param [ConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
45
46
|
# @return [MessageInstance] Created MessageInstance
|
|
46
47
|
def create(
|
|
@@ -52,6 +53,7 @@ module Twilio
|
|
|
52
53
|
media_sid: :unset,
|
|
53
54
|
content_sid: :unset,
|
|
54
55
|
content_variables: :unset,
|
|
56
|
+
subject: :unset,
|
|
55
57
|
x_twilio_webhook_enabled: :unset
|
|
56
58
|
)
|
|
57
59
|
|
|
@@ -64,6 +66,7 @@ module Twilio
|
|
|
64
66
|
'MediaSid' => media_sid,
|
|
65
67
|
'ContentSid' => content_sid,
|
|
66
68
|
'ContentVariables' => content_variables,
|
|
69
|
+
'Subject' => subject,
|
|
67
70
|
})
|
|
68
71
|
|
|
69
72
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -142,9 +145,7 @@ module Twilio
|
|
|
142
145
|
# @return [Page] Page of MessageInstance
|
|
143
146
|
def page(order: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
144
147
|
params = Twilio::Values.of({
|
|
145
|
-
|
|
146
148
|
'Order' => order,
|
|
147
|
-
|
|
148
149
|
'PageToken' => page_token,
|
|
149
150
|
'Page' => page_number,
|
|
150
151
|
'PageSize' => page_size,
|
|
@@ -227,6 +228,7 @@ module Twilio
|
|
|
227
228
|
# @param [Time] date_created The date that this resource was created.
|
|
228
229
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
229
230
|
# @param [String] attributes A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned.
|
|
231
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
230
232
|
# @param [ConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
231
233
|
# @return [MessageInstance] Updated MessageInstance
|
|
232
234
|
def update(
|
|
@@ -235,6 +237,7 @@ module Twilio
|
|
|
235
237
|
date_created: :unset,
|
|
236
238
|
date_updated: :unset,
|
|
237
239
|
attributes: :unset,
|
|
240
|
+
subject: :unset,
|
|
238
241
|
x_twilio_webhook_enabled: :unset
|
|
239
242
|
)
|
|
240
243
|
|
|
@@ -244,6 +247,7 @@ module Twilio
|
|
|
244
247
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
|
245
248
|
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
|
246
249
|
'Attributes' => attributes,
|
|
250
|
+
'Subject' => subject,
|
|
247
251
|
})
|
|
248
252
|
|
|
249
253
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -270,7 +274,7 @@ module Twilio
|
|
|
270
274
|
|
|
271
275
|
unless @delivery_receipts
|
|
272
276
|
@delivery_receipts = DeliveryReceiptList.new(
|
|
273
|
-
@version, conversation_sid: @solution[:conversation_sid],
|
|
277
|
+
@version, conversation_sid: @solution[:conversation_sid], message_sid: @solution[:sid], )
|
|
274
278
|
end
|
|
275
279
|
|
|
276
280
|
@delivery_receipts
|
|
@@ -452,7 +456,7 @@ module Twilio
|
|
|
452
456
|
end
|
|
453
457
|
|
|
454
458
|
##
|
|
455
|
-
# @return [String] The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
459
|
+
# @return [String] The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
|
|
456
460
|
def content_sid
|
|
457
461
|
@properties['content_sid']
|
|
458
462
|
end
|
|
@@ -485,6 +489,7 @@ module Twilio
|
|
|
485
489
|
# @param [Time] date_created The date that this resource was created.
|
|
486
490
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
487
491
|
# @param [String] attributes A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned.
|
|
492
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
488
493
|
# @param [ConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
489
494
|
# @return [MessageInstance] Updated MessageInstance
|
|
490
495
|
def update(
|
|
@@ -493,6 +498,7 @@ module Twilio
|
|
|
493
498
|
date_created: :unset,
|
|
494
499
|
date_updated: :unset,
|
|
495
500
|
attributes: :unset,
|
|
501
|
+
subject: :unset,
|
|
496
502
|
x_twilio_webhook_enabled: :unset
|
|
497
503
|
)
|
|
498
504
|
|
|
@@ -502,6 +508,7 @@ module Twilio
|
|
|
502
508
|
date_created: date_created,
|
|
503
509
|
date_updated: date_updated,
|
|
504
510
|
attributes: attributes,
|
|
511
|
+
subject: subject,
|
|
505
512
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
|
506
513
|
)
|
|
507
514
|
end
|
|
@@ -137,7 +137,6 @@ module Twilio
|
|
|
137
137
|
# @return [Page] Page of ParticipantInstance
|
|
138
138
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
139
139
|
params = Twilio::Values.of({
|
|
140
|
-
|
|
141
140
|
'PageToken' => page_token,
|
|
142
141
|
'Page' => page_number,
|
|
143
142
|
'PageSize' => page_size,
|
|
@@ -131,7 +131,6 @@ module Twilio
|
|
|
131
131
|
# @return [Page] Page of WebhookInstance
|
|
132
132
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
133
133
|
params = Twilio::Values.of({
|
|
134
|
-
|
|
135
134
|
'PageToken' => page_token,
|
|
136
135
|
'Page' => page_number,
|
|
137
136
|
'PageSize' => page_size,
|