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
|
@@ -35,11 +35,13 @@ module Twilio
|
|
|
35
35
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
36
36
|
# @param [Time] date_created The date that this resource was created.
|
|
37
37
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
38
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
38
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
39
39
|
# @param [String] attributes An optional 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.
|
|
40
40
|
# @param [State] state
|
|
41
41
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
42
42
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
43
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
44
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
43
45
|
# @param [ConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
44
46
|
# @return [ConversationInstance] Created ConversationInstance
|
|
45
47
|
def create(
|
|
@@ -52,6 +54,8 @@ module Twilio
|
|
|
52
54
|
state: :unset,
|
|
53
55
|
timers_inactive: :unset,
|
|
54
56
|
timers_closed: :unset,
|
|
57
|
+
bindings_email_address: :unset,
|
|
58
|
+
bindings_email_name: :unset,
|
|
55
59
|
x_twilio_webhook_enabled: :unset
|
|
56
60
|
)
|
|
57
61
|
|
|
@@ -65,6 +69,8 @@ module Twilio
|
|
|
65
69
|
'State' => state,
|
|
66
70
|
'Timers.Inactive' => timers_inactive,
|
|
67
71
|
'Timers.Closed' => timers_closed,
|
|
72
|
+
'Bindings.Email.Address' => bindings_email_address,
|
|
73
|
+
'Bindings.Email.Name' => bindings_email_name,
|
|
68
74
|
})
|
|
69
75
|
|
|
70
76
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -152,13 +158,9 @@ module Twilio
|
|
|
152
158
|
# @return [Page] Page of ConversationInstance
|
|
153
159
|
def page(start_date: :unset, end_date: :unset, state: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
154
160
|
params = Twilio::Values.of({
|
|
155
|
-
|
|
156
161
|
'StartDate' => start_date,
|
|
157
|
-
|
|
158
162
|
'EndDate' => end_date,
|
|
159
|
-
|
|
160
163
|
'State' => state,
|
|
161
|
-
|
|
162
164
|
'PageToken' => page_token,
|
|
163
165
|
'Page' => page_number,
|
|
164
166
|
'PageSize' => page_size,
|
|
@@ -240,11 +242,13 @@ module Twilio
|
|
|
240
242
|
# @param [Time] date_created The date that this resource was created.
|
|
241
243
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
242
244
|
# @param [String] attributes An optional 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.
|
|
243
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
245
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
244
246
|
# @param [State] state
|
|
245
247
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
246
248
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
247
249
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
250
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
251
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
248
252
|
# @param [ConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
249
253
|
# @return [ConversationInstance] Updated ConversationInstance
|
|
250
254
|
def update(
|
|
@@ -257,6 +261,8 @@ module Twilio
|
|
|
257
261
|
timers_inactive: :unset,
|
|
258
262
|
timers_closed: :unset,
|
|
259
263
|
unique_name: :unset,
|
|
264
|
+
bindings_email_address: :unset,
|
|
265
|
+
bindings_email_name: :unset,
|
|
260
266
|
x_twilio_webhook_enabled: :unset
|
|
261
267
|
)
|
|
262
268
|
|
|
@@ -270,6 +276,8 @@ module Twilio
|
|
|
270
276
|
'Timers.Inactive' => timers_inactive,
|
|
271
277
|
'Timers.Closed' => timers_closed,
|
|
272
278
|
'UniqueName' => unique_name,
|
|
279
|
+
'Bindings.Email.Address' => bindings_email_address,
|
|
280
|
+
'Bindings.Email.Name' => bindings_email_name,
|
|
273
281
|
})
|
|
274
282
|
|
|
275
283
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -442,7 +450,7 @@ module Twilio
|
|
|
442
450
|
end
|
|
443
451
|
|
|
444
452
|
##
|
|
445
|
-
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
453
|
+
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
446
454
|
def messaging_service_sid
|
|
447
455
|
@properties['messaging_service_sid']
|
|
448
456
|
end
|
|
@@ -540,11 +548,13 @@ module Twilio
|
|
|
540
548
|
# @param [Time] date_created The date that this resource was created.
|
|
541
549
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
542
550
|
# @param [String] attributes An optional 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.
|
|
543
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
551
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
544
552
|
# @param [State] state
|
|
545
553
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
546
554
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
547
555
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
556
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
557
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
548
558
|
# @param [ConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
549
559
|
# @return [ConversationInstance] Updated ConversationInstance
|
|
550
560
|
def update(
|
|
@@ -557,6 +567,8 @@ module Twilio
|
|
|
557
567
|
timers_inactive: :unset,
|
|
558
568
|
timers_closed: :unset,
|
|
559
569
|
unique_name: :unset,
|
|
570
|
+
bindings_email_address: :unset,
|
|
571
|
+
bindings_email_name: :unset,
|
|
560
572
|
x_twilio_webhook_enabled: :unset
|
|
561
573
|
)
|
|
562
574
|
|
|
@@ -570,6 +582,8 @@ module Twilio
|
|
|
570
582
|
timers_inactive: timers_inactive,
|
|
571
583
|
timers_closed: timers_closed,
|
|
572
584
|
unique_name: unique_name,
|
|
585
|
+
bindings_email_address: bindings_email_address,
|
|
586
|
+
bindings_email_name: bindings_email_name,
|
|
573
587
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
|
574
588
|
)
|
|
575
589
|
end
|
|
@@ -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,
|
|
@@ -101,11 +101,8 @@ module Twilio
|
|
|
101
101
|
# @return [Page] Page of ParticipantConversationInstance
|
|
102
102
|
def page(identity: :unset, address: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
103
103
|
params = Twilio::Values.of({
|
|
104
|
-
|
|
105
104
|
'Identity' => identity,
|
|
106
|
-
|
|
107
105
|
'Address' => address,
|
|
108
|
-
|
|
109
106
|
'PageToken' => page_token,
|
|
110
107
|
'Page' => page_number,
|
|
111
108
|
'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,
|
|
@@ -73,10 +73,10 @@ module Twilio
|
|
|
73
73
|
|
|
74
74
|
##
|
|
75
75
|
# Update the ConfigurationInstance
|
|
76
|
-
# @param [String] default_conversation_creator_role_sid The conversation-level role assigned to a conversation creator when they join a new conversation. See
|
|
77
|
-
# @param [String] default_conversation_role_sid The conversation-level role assigned to users when they are added to a conversation. See
|
|
78
|
-
# @param [String] default_chat_service_role_sid The service-level role assigned to users when they are added to the service. See
|
|
79
|
-
# @param [Boolean] reachability_enabled Whether the [Reachability Indicator](https://www.twilio.com/docs/
|
|
76
|
+
# @param [String] default_conversation_creator_role_sid The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
77
|
+
# @param [String] default_conversation_role_sid The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
78
|
+
# @param [String] default_chat_service_role_sid The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
79
|
+
# @param [Boolean] reachability_enabled Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`.
|
|
80
80
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
|
81
81
|
def update(
|
|
82
82
|
default_conversation_creator_role_sid: :unset,
|
|
@@ -211,19 +211,19 @@ module Twilio
|
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
##
|
|
214
|
-
# @return [String] The conversation-level role assigned to a conversation creator
|
|
214
|
+
# @return [String] The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
215
215
|
def default_conversation_creator_role_sid
|
|
216
216
|
@properties['default_conversation_creator_role_sid']
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
##
|
|
220
|
-
# @return [String] The conversation-level role assigned to users when they are added to a conversation. See
|
|
220
|
+
# @return [String] The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
221
221
|
def default_conversation_role_sid
|
|
222
222
|
@properties['default_conversation_role_sid']
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
##
|
|
226
|
-
# @return [String] The service-level role assigned to users when they are added to the service. See
|
|
226
|
+
# @return [String] The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
227
227
|
def default_chat_service_role_sid
|
|
228
228
|
@properties['default_chat_service_role_sid']
|
|
229
229
|
end
|
|
@@ -241,7 +241,7 @@ module Twilio
|
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
##
|
|
244
|
-
# @return [Boolean] Whether the [Reachability Indicator](https://www.twilio.com/docs/
|
|
244
|
+
# @return [Boolean] Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`.
|
|
245
245
|
def reachability_enabled
|
|
246
246
|
@properties['reachability_enabled']
|
|
247
247
|
end
|
|
@@ -256,10 +256,10 @@ module Twilio
|
|
|
256
256
|
|
|
257
257
|
##
|
|
258
258
|
# Update the ConfigurationInstance
|
|
259
|
-
# @param [String] default_conversation_creator_role_sid The conversation-level role assigned to a conversation creator when they join a new conversation. See
|
|
260
|
-
# @param [String] default_conversation_role_sid The conversation-level role assigned to users when they are added to a conversation. See
|
|
261
|
-
# @param [String] default_chat_service_role_sid The service-level role assigned to users when they are added to the service. See
|
|
262
|
-
# @param [Boolean] reachability_enabled Whether the [Reachability Indicator](https://www.twilio.com/docs/
|
|
259
|
+
# @param [String] default_conversation_creator_role_sid The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
260
|
+
# @param [String] default_conversation_role_sid The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
261
|
+
# @param [String] default_chat_service_role_sid The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles.
|
|
262
|
+
# @param [Boolean] reachability_enabled Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`.
|
|
263
263
|
# @return [ConfigurationInstance] Updated ConfigurationInstance
|
|
264
264
|
def update(
|
|
265
265
|
default_conversation_creator_role_sid: :unset,
|
|
@@ -40,8 +40,9 @@ module Twilio
|
|
|
40
40
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
41
41
|
# @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.
|
|
42
42
|
# @param [String] media_sid The Media SID to be attached to the new Message.
|
|
43
|
-
# @param [String] content_sid The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
43
|
+
# @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.
|
|
44
44
|
# @param [String] content_variables A structurally valid JSON string that contains values to resolve Rich Content template variables.
|
|
45
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
45
46
|
# @param [ServiceConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
46
47
|
# @return [MessageInstance] Created MessageInstance
|
|
47
48
|
def create(
|
|
@@ -53,6 +54,7 @@ module Twilio
|
|
|
53
54
|
media_sid: :unset,
|
|
54
55
|
content_sid: :unset,
|
|
55
56
|
content_variables: :unset,
|
|
57
|
+
subject: :unset,
|
|
56
58
|
x_twilio_webhook_enabled: :unset
|
|
57
59
|
)
|
|
58
60
|
|
|
@@ -65,6 +67,7 @@ module Twilio
|
|
|
65
67
|
'MediaSid' => media_sid,
|
|
66
68
|
'ContentSid' => content_sid,
|
|
67
69
|
'ContentVariables' => content_variables,
|
|
70
|
+
'Subject' => subject,
|
|
68
71
|
})
|
|
69
72
|
|
|
70
73
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -144,9 +147,7 @@ module Twilio
|
|
|
144
147
|
# @return [Page] Page of MessageInstance
|
|
145
148
|
def page(order: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
146
149
|
params = Twilio::Values.of({
|
|
147
|
-
|
|
148
150
|
'Order' => order,
|
|
149
|
-
|
|
150
151
|
'PageToken' => page_token,
|
|
151
152
|
'Page' => page_number,
|
|
152
153
|
'PageSize' => page_size,
|
|
@@ -231,6 +232,7 @@ module Twilio
|
|
|
231
232
|
# @param [Time] date_created The date that this resource was created.
|
|
232
233
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
233
234
|
# @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.
|
|
235
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
234
236
|
# @param [ServiceConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
235
237
|
# @return [MessageInstance] Updated MessageInstance
|
|
236
238
|
def update(
|
|
@@ -239,6 +241,7 @@ module Twilio
|
|
|
239
241
|
date_created: :unset,
|
|
240
242
|
date_updated: :unset,
|
|
241
243
|
attributes: :unset,
|
|
244
|
+
subject: :unset,
|
|
242
245
|
x_twilio_webhook_enabled: :unset
|
|
243
246
|
)
|
|
244
247
|
|
|
@@ -248,6 +251,7 @@ module Twilio
|
|
|
248
251
|
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
|
249
252
|
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
|
250
253
|
'Attributes' => attributes,
|
|
254
|
+
'Subject' => subject,
|
|
251
255
|
})
|
|
252
256
|
|
|
253
257
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -275,7 +279,7 @@ module Twilio
|
|
|
275
279
|
|
|
276
280
|
unless @delivery_receipts
|
|
277
281
|
@delivery_receipts = DeliveryReceiptList.new(
|
|
278
|
-
@version, chat_service_sid: @solution[:chat_service_sid],
|
|
282
|
+
@version, chat_service_sid: @solution[:chat_service_sid], conversation_sid: @solution[:conversation_sid], message_sid: @solution[:sid], )
|
|
279
283
|
end
|
|
280
284
|
|
|
281
285
|
@delivery_receipts
|
|
@@ -464,7 +468,7 @@ module Twilio
|
|
|
464
468
|
end
|
|
465
469
|
|
|
466
470
|
##
|
|
467
|
-
# @return [String] The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content
|
|
471
|
+
# @return [String] The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template.
|
|
468
472
|
def content_sid
|
|
469
473
|
@properties['content_sid']
|
|
470
474
|
end
|
|
@@ -497,6 +501,7 @@ module Twilio
|
|
|
497
501
|
# @param [Time] date_created The date that this resource was created.
|
|
498
502
|
# @param [Time] date_updated The date that this resource was last updated. `null` if the message has not been edited.
|
|
499
503
|
# @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.
|
|
504
|
+
# @param [String] subject The subject of the message, can be up to 256 characters long.
|
|
500
505
|
# @param [ServiceConversationMessageEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
501
506
|
# @return [MessageInstance] Updated MessageInstance
|
|
502
507
|
def update(
|
|
@@ -505,6 +510,7 @@ module Twilio
|
|
|
505
510
|
date_created: :unset,
|
|
506
511
|
date_updated: :unset,
|
|
507
512
|
attributes: :unset,
|
|
513
|
+
subject: :unset,
|
|
508
514
|
x_twilio_webhook_enabled: :unset
|
|
509
515
|
)
|
|
510
516
|
|
|
@@ -514,6 +520,7 @@ module Twilio
|
|
|
514
520
|
date_created: date_created,
|
|
515
521
|
date_updated: date_updated,
|
|
516
522
|
attributes: attributes,
|
|
523
|
+
subject: subject,
|
|
517
524
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
|
518
525
|
)
|
|
519
526
|
end
|
|
@@ -34,13 +34,13 @@ module Twilio
|
|
|
34
34
|
end
|
|
35
35
|
##
|
|
36
36
|
# Create the ParticipantInstance
|
|
37
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
|
38
|
-
# @param [String] messaging_binding_address The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with proxy_address) is only null when the participant is interacting from an SDK endpoint (see the
|
|
39
|
-
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the
|
|
40
|
-
# @param [Time] date_created The date
|
|
41
|
-
# @param [Time] date_updated The date
|
|
42
|
-
# @param [String] attributes An optional 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
|
|
43
|
-
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS.
|
|
37
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
|
38
|
+
# @param [String] messaging_binding_address The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with `proxy_address`) is only null when the participant is interacting from an SDK endpoint (see the `identity` field).
|
|
39
|
+
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the `identity` field).
|
|
40
|
+
# @param [Time] date_created The date on which this resource was created.
|
|
41
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
|
42
|
+
# @param [String] attributes An optional 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.
|
|
43
|
+
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS.
|
|
44
44
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
|
45
45
|
# @param [ServiceConversationParticipantEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
46
46
|
# @return [ParticipantInstance] Created ParticipantInstance
|
|
@@ -139,7 +139,6 @@ module Twilio
|
|
|
139
139
|
# @return [Page] Page of ParticipantInstance
|
|
140
140
|
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
|
141
141
|
params = Twilio::Values.of({
|
|
142
|
-
|
|
143
142
|
'PageToken' => page_token,
|
|
144
143
|
'Page' => page_number,
|
|
145
144
|
'PageSize' => page_size,
|
|
@@ -218,10 +217,10 @@ module Twilio
|
|
|
218
217
|
|
|
219
218
|
##
|
|
220
219
|
# Update the ParticipantInstance
|
|
221
|
-
# @param [Time] date_created The date
|
|
222
|
-
# @param [Time] date_updated The date
|
|
223
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
|
224
|
-
# @param [String] attributes An optional 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
|
|
220
|
+
# @param [Time] date_created The date on which this resource was created.
|
|
221
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
|
222
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
|
223
|
+
# @param [String] attributes An optional 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.
|
|
225
224
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
|
226
225
|
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it.
|
|
227
226
|
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it.
|
|
@@ -380,13 +379,13 @@ module Twilio
|
|
|
380
379
|
end
|
|
381
380
|
|
|
382
381
|
##
|
|
383
|
-
# @return [String] A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
|
382
|
+
# @return [String] A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
|
384
383
|
def identity
|
|
385
384
|
@properties['identity']
|
|
386
385
|
end
|
|
387
386
|
|
|
388
387
|
##
|
|
389
|
-
# @return [String] An optional 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
|
|
388
|
+
# @return [String] An optional 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.
|
|
390
389
|
def attributes
|
|
391
390
|
@properties['attributes']
|
|
392
391
|
end
|
|
@@ -404,13 +403,13 @@ module Twilio
|
|
|
404
403
|
end
|
|
405
404
|
|
|
406
405
|
##
|
|
407
|
-
# @return [Time] The date
|
|
406
|
+
# @return [Time] The date on which this resource was created.
|
|
408
407
|
def date_created
|
|
409
408
|
@properties['date_created']
|
|
410
409
|
end
|
|
411
410
|
|
|
412
411
|
##
|
|
413
|
-
# @return [Time] The date
|
|
412
|
+
# @return [Time] The date on which this resource was last updated.
|
|
414
413
|
def date_updated
|
|
415
414
|
@properties['date_updated']
|
|
416
415
|
end
|
|
@@ -456,10 +455,10 @@ module Twilio
|
|
|
456
455
|
|
|
457
456
|
##
|
|
458
457
|
# Update the ParticipantInstance
|
|
459
|
-
# @param [Time] date_created The date
|
|
460
|
-
# @param [Time] date_updated The date
|
|
461
|
-
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters.
|
|
462
|
-
# @param [String] attributes An optional 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
|
|
458
|
+
# @param [Time] date_created The date on which this resource was created.
|
|
459
|
+
# @param [Time] date_updated The date on which this resource was last updated.
|
|
460
|
+
# @param [String] identity A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters.
|
|
461
|
+
# @param [String] attributes An optional 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.
|
|
463
462
|
# @param [String] role_sid The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
|
464
463
|
# @param [String] messaging_binding_proxy_address The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it.
|
|
465
464
|
# @param [String] messaging_binding_projected_address The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it.
|
|
@@ -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,
|
|
@@ -36,12 +36,14 @@ module Twilio
|
|
|
36
36
|
# @param [String] friendly_name The human-readable name of this conversation, limited to 256 characters. Optional.
|
|
37
37
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
38
38
|
# @param [String] attributes An optional 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.
|
|
39
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
39
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
40
40
|
# @param [Time] date_created The date that this resource was created.
|
|
41
41
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
42
42
|
# @param [State] state
|
|
43
43
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
44
44
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
45
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
46
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
45
47
|
# @param [ServiceConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
46
48
|
# @return [ConversationInstance] Created ConversationInstance
|
|
47
49
|
def create(
|
|
@@ -54,6 +56,8 @@ module Twilio
|
|
|
54
56
|
state: :unset,
|
|
55
57
|
timers_inactive: :unset,
|
|
56
58
|
timers_closed: :unset,
|
|
59
|
+
bindings_email_address: :unset,
|
|
60
|
+
bindings_email_name: :unset,
|
|
57
61
|
x_twilio_webhook_enabled: :unset
|
|
58
62
|
)
|
|
59
63
|
|
|
@@ -67,6 +71,8 @@ module Twilio
|
|
|
67
71
|
'State' => state,
|
|
68
72
|
'Timers.Inactive' => timers_inactive,
|
|
69
73
|
'Timers.Closed' => timers_closed,
|
|
74
|
+
'Bindings.Email.Address' => bindings_email_address,
|
|
75
|
+
'Bindings.Email.Name' => bindings_email_name,
|
|
70
76
|
})
|
|
71
77
|
|
|
72
78
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -155,13 +161,9 @@ module Twilio
|
|
|
155
161
|
# @return [Page] Page of ConversationInstance
|
|
156
162
|
def page(start_date: :unset, end_date: :unset, state: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
157
163
|
params = Twilio::Values.of({
|
|
158
|
-
|
|
159
164
|
'StartDate' => start_date,
|
|
160
|
-
|
|
161
165
|
'EndDate' => end_date,
|
|
162
|
-
|
|
163
166
|
'State' => state,
|
|
164
|
-
|
|
165
167
|
'PageToken' => page_token,
|
|
166
168
|
'Page' => page_number,
|
|
167
169
|
'PageSize' => page_size,
|
|
@@ -245,11 +247,13 @@ module Twilio
|
|
|
245
247
|
# @param [Time] date_created The date that this resource was created.
|
|
246
248
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
247
249
|
# @param [String] attributes An optional 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.
|
|
248
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
250
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
249
251
|
# @param [State] state
|
|
250
252
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
251
253
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
252
254
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
255
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
256
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
253
257
|
# @param [ServiceConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
254
258
|
# @return [ConversationInstance] Updated ConversationInstance
|
|
255
259
|
def update(
|
|
@@ -262,6 +266,8 @@ module Twilio
|
|
|
262
266
|
timers_inactive: :unset,
|
|
263
267
|
timers_closed: :unset,
|
|
264
268
|
unique_name: :unset,
|
|
269
|
+
bindings_email_address: :unset,
|
|
270
|
+
bindings_email_name: :unset,
|
|
265
271
|
x_twilio_webhook_enabled: :unset
|
|
266
272
|
)
|
|
267
273
|
|
|
@@ -275,6 +281,8 @@ module Twilio
|
|
|
275
281
|
'Timers.Inactive' => timers_inactive,
|
|
276
282
|
'Timers.Closed' => timers_closed,
|
|
277
283
|
'UniqueName' => unique_name,
|
|
284
|
+
'Bindings.Email.Address' => bindings_email_address,
|
|
285
|
+
'Bindings.Email.Name' => bindings_email_name,
|
|
278
286
|
})
|
|
279
287
|
|
|
280
288
|
headers = Twilio::Values.of({ 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, })
|
|
@@ -301,7 +309,7 @@ module Twilio
|
|
|
301
309
|
|
|
302
310
|
unless @participants
|
|
303
311
|
@participants = ParticipantList.new(
|
|
304
|
-
@version, chat_service_sid: @solution[:chat_service_sid],
|
|
312
|
+
@version, chat_service_sid: @solution[:chat_service_sid], conversation_sid: @solution[:sid], )
|
|
305
313
|
end
|
|
306
314
|
|
|
307
315
|
@participants
|
|
@@ -320,7 +328,7 @@ module Twilio
|
|
|
320
328
|
|
|
321
329
|
unless @messages
|
|
322
330
|
@messages = MessageList.new(
|
|
323
|
-
@version, chat_service_sid: @solution[:chat_service_sid],
|
|
331
|
+
@version, chat_service_sid: @solution[:chat_service_sid], conversation_sid: @solution[:sid], )
|
|
324
332
|
end
|
|
325
333
|
|
|
326
334
|
@messages
|
|
@@ -339,7 +347,7 @@ module Twilio
|
|
|
339
347
|
|
|
340
348
|
unless @webhooks
|
|
341
349
|
@webhooks = WebhookList.new(
|
|
342
|
-
@version, chat_service_sid: @solution[:chat_service_sid],
|
|
350
|
+
@version, chat_service_sid: @solution[:chat_service_sid], conversation_sid: @solution[:sid], )
|
|
343
351
|
end
|
|
344
352
|
|
|
345
353
|
@webhooks
|
|
@@ -448,7 +456,7 @@ module Twilio
|
|
|
448
456
|
end
|
|
449
457
|
|
|
450
458
|
##
|
|
451
|
-
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
459
|
+
# @return [String] The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
452
460
|
def messaging_service_sid
|
|
453
461
|
@properties['messaging_service_sid']
|
|
454
462
|
end
|
|
@@ -546,11 +554,13 @@ module Twilio
|
|
|
546
554
|
# @param [Time] date_created The date that this resource was created.
|
|
547
555
|
# @param [Time] date_updated The date that this resource was last updated.
|
|
548
556
|
# @param [String] attributes An optional 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.
|
|
549
|
-
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/
|
|
557
|
+
# @param [String] messaging_service_sid The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
|
|
550
558
|
# @param [State] state
|
|
551
559
|
# @param [String] timers_inactive ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute.
|
|
552
560
|
# @param [String] timers_closed ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes.
|
|
553
561
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
|
|
562
|
+
# @param [String] bindings_email_address The default email address that will be used when sending outbound emails in this conversation.
|
|
563
|
+
# @param [String] bindings_email_name The default name that will be used when sending outbound emails in this conversation.
|
|
554
564
|
# @param [ServiceConversationEnumWebhookEnabledType] x_twilio_webhook_enabled The X-Twilio-Webhook-Enabled HTTP request header
|
|
555
565
|
# @return [ConversationInstance] Updated ConversationInstance
|
|
556
566
|
def update(
|
|
@@ -563,6 +573,8 @@ module Twilio
|
|
|
563
573
|
timers_inactive: :unset,
|
|
564
574
|
timers_closed: :unset,
|
|
565
575
|
unique_name: :unset,
|
|
576
|
+
bindings_email_address: :unset,
|
|
577
|
+
bindings_email_name: :unset,
|
|
566
578
|
x_twilio_webhook_enabled: :unset
|
|
567
579
|
)
|
|
568
580
|
|
|
@@ -576,6 +588,8 @@ module Twilio
|
|
|
576
588
|
timers_inactive: timers_inactive,
|
|
577
589
|
timers_closed: timers_closed,
|
|
578
590
|
unique_name: unique_name,
|
|
591
|
+
bindings_email_address: bindings_email_address,
|
|
592
|
+
bindings_email_name: bindings_email_name,
|
|
579
593
|
x_twilio_webhook_enabled: x_twilio_webhook_enabled,
|
|
580
594
|
)
|
|
581
595
|
end
|
|
@@ -103,11 +103,8 @@ module Twilio
|
|
|
103
103
|
# @return [Page] Page of ParticipantConversationInstance
|
|
104
104
|
def page(identity: :unset, address: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
105
105
|
params = Twilio::Values.of({
|
|
106
|
-
|
|
107
106
|
'Identity' => identity,
|
|
108
|
-
|
|
109
107
|
'Address' => address,
|
|
110
|
-
|
|
111
108
|
'PageToken' => page_token,
|
|
112
109
|
'Page' => page_number,
|
|
113
110
|
'PageSize' => page_size,
|