twilio-ruby 7.10.4 → 7.10.6
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/.github/workflows/test-and-deploy.yml +1 -1
- data/CHANGES.md +166 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +3 -3
- data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +3 -3
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +18 -10
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +18 -10
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +4 -4
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +5 -5
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1.rb +11 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +41 -33
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +61 -53
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +28 -28
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +30 -16
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +207 -207
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +207 -207
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +27 -21
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +73 -59
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +93 -79
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +17 -9
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +19 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +29 -21
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +36 -28
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +36 -28
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +36 -28
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +83 -75
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +15 -7
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +47 -33
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +15 -7
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +17 -9
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +19 -11
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +15 -7
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +25 -17
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +15 -7
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +17 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +16 -8
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -6
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +52 -44
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +22 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +16 -8
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +13 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +26 -18
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account.rb +18 -10
- data/lib/twilio-ruby/rest/api/v2010.rb +1 -0
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +2 -2
- data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +14 -5
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +2 -2
- data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +14 -5
- data/lib/twilio-ruby/rest/assistants/v1/policy.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/session.rb +13 -5
- data/lib/twilio-ruby/rest/assistants/v1/tool.rb +14 -5
- data/lib/twilio-ruby/rest/assistants/v1.rb +4 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +13 -5
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +19 -11
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +2 -2
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -2
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +8 -8
- data/lib/twilio-ruby/rest/bulkexports/v1.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +32 -24
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +15 -7
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +19 -11
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +20 -12
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +23 -15
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +18 -10
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +13 -5
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +23 -15
- data/lib/twilio-ruby/rest/chat/v1/service.rb +122 -114
- data/lib/twilio-ruby/rest/chat/v1.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +32 -24
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +13 -5
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +15 -7
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +37 -29
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +37 -29
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +32 -24
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +37 -29
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +18 -10
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +13 -5
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +21 -13
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +26 -18
- data/lib/twilio-ruby/rest/chat/v2/service.rb +76 -68
- data/lib/twilio-ruby/rest/chat/v2.rb +2 -0
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +8 -8
- data/lib/twilio-ruby/rest/chat/v3.rb +6 -0
- data/lib/twilio-ruby/rest/client.rb +5 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +2 -2
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +2 -2
- data/lib/twilio-ruby/rest/content/v1/content.rb +14 -5
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +13 -5
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +13 -5
- data/lib/twilio-ruby/rest/content/v1.rb +1 -0
- data/lib/twilio-ruby/rest/content/v2/content.rb +13 -5
- data/lib/twilio-ruby/rest/content/v2/content_and_approvals.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +43 -35
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +12 -12
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +39 -31
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +44 -36
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +30 -22
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +51 -43
- data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +15 -15
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +34 -26
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +18 -10
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +28 -28
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +39 -31
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +44 -36
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +30 -22
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +51 -43
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +15 -15
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +13 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +18 -10
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +19 -11
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +28 -20
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +14 -6
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +19 -11
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +28 -20
- data/lib/twilio-ruby/rest/conversations/v1.rb +6 -0
- data/lib/twilio-ruby/rest/conversations/v2/communication.rb +698 -0
- data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +1208 -0
- data/lib/twilio-ruby/rest/conversations/v2/conversation.rb +1365 -0
- data/lib/twilio-ruby/rest/conversations/v2/operation.rb +369 -0
- data/lib/twilio-ruby/rest/conversations/v2/participant.rb +745 -0
- data/lib/twilio-ruby/rest/conversations/v2.rb +126 -0
- data/lib/twilio-ruby/rest/conversations_base.rb +6 -1
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +13 -5
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +13 -5
- data/lib/twilio-ruby/rest/events/v1/schema.rb +2 -2
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +2 -2
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +3 -3
- data/lib/twilio-ruby/rest/events/v1/sink.rb +18 -10
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +17 -9
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +18 -10
- data/lib/twilio-ruby/rest/events/v1.rb +4 -0
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +32 -24
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +23 -15
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +5 -4
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +64 -56
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +20 -12
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +13 -5
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +32 -24
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +21 -13
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +33 -25
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +13 -5
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +3 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +3 -3
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +14 -6
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +18 -10
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_transfer.rb +3 -2
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +17 -9
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +8 -8
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +27 -19
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +25 -17
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +15 -7
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +19 -11
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +17 -9
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +23 -15
- data/lib/twilio-ruby/rest/flex_api/v1.rb +19 -6
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +8 -8
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +8 -8
- data/lib/twilio-ruby/rest/flex_api/v2.rb +6 -0
- data/lib/twilio-ruby/rest/flex_api_base.rb +6 -1
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +10 -10
- data/lib/twilio-ruby/rest/frontline_api/v1.rb +1 -0
- data/lib/twilio-ruby/rest/iam/v1/api_key.rb +6 -6
- data/lib/twilio-ruby/rest/iam/v1/get_api_keys.rb +13 -5
- data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +6 -6
- data/lib/twilio-ruby/rest/iam/v1/o_auth_app.rb +3 -2
- data/lib/twilio-ruby/rest/iam/v1/role_permission.rb +327 -0
- data/lib/twilio-ruby/rest/iam/v1/token.rb +10 -10
- data/lib/twilio-ruby/rest/iam/v1.rb +17 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +16 -16
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +14 -14
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +17 -9
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +13 -5
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -2
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +23 -15
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +17 -9
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +13 -5
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +13 -5
- data/lib/twilio-ruby/rest/insights/v1/room.rb +13 -5
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +10 -10
- data/lib/twilio-ruby/rest/insights/v1.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v2/inbound.rb +21 -12
- data/lib/twilio-ruby/rest/insights/v2/outbound.rb +21 -12
- data/lib/twilio-ruby/rest/insights/v2/report.rb +10 -9
- data/lib/twilio-ruby/rest/insights/v2.rb +3 -0
- data/lib/twilio-ruby/rest/insights/v3/metadata.rb +227 -0
- data/lib/twilio-ruby/rest/insights/v3/query.rb +394 -0
- data/lib/twilio-ruby/rest/insights/v3.rb +46 -0
- data/lib/twilio-ruby/rest/insights_base.rb +5 -0
- data/lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb +22 -14
- data/lib/twilio-ruby/rest/intelligence/v2/operator.rb +13 -5
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +2 -2
- data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +13 -5
- data/lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb +13 -5
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +43 -35
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb +4 -4
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb +4 -4
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +4 -4
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb +15 -7
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +13 -5
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +17 -9
- data/lib/twilio-ruby/rest/intelligence/v2.rb +13 -0
- data/lib/twilio-ruby/rest/intelligence/v3/configuration.rb +1073 -0
- data/lib/twilio-ruby/rest/intelligence/v3/conversation.rb +602 -0
- data/lib/twilio-ruby/rest/intelligence/v3/operator.rb +784 -0
- data/lib/twilio-ruby/rest/intelligence/v3/operator_result.rb +622 -0
- data/lib/twilio-ruby/rest/intelligence/v3/version.rb +556 -0
- data/lib/twilio-ruby/rest/intelligence/v3.rb +120 -0
- data/lib/twilio-ruby/rest/intelligence_base.rb +6 -1
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +32 -24
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +15 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +19 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +20 -12
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +23 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +18 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +13 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +23 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +122 -114
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +2 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +32 -24
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +13 -5
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +15 -7
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +37 -29
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +37 -29
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +32 -24
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +37 -29
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +18 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +13 -5
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +19 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +26 -18
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +76 -68
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -0
- data/lib/twilio-ruby/rest/knowledge/v1/knowledge/chunk.rb +13 -5
- data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +2 -2
- data/lib/twilio-ruby/rest/knowledge/v1/knowledge.rb +14 -5
- data/lib/twilio-ruby/rest/knowledge/v1.rb +1 -0
- data/lib/twilio-ruby/rest/knowledge/v2/chunk.rb +306 -0
- data/lib/twilio-ruby/rest/knowledge/v2/knowledge.rb +714 -0
- data/lib/twilio-ruby/rest/knowledge/v2/knowledge_basis.rb +739 -0
- data/lib/twilio-ruby/rest/knowledge/v2/operation.rb +376 -0
- data/lib/twilio-ruby/rest/knowledge/v2/search.rb +355 -0
- data/lib/twilio-ruby/rest/knowledge/v2.rb +145 -0
- data/lib/twilio-ruby/rest/knowledge_base.rb +6 -1
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +10 -10
- data/lib/twilio-ruby/rest/lookups/v1.rb +1 -0
- data/lib/twilio-ruby/rest/lookups/v2/bucket.rb +3 -2
- data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +4 -2
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +32 -32
- data/lib/twilio-ruby/rest/lookups/v2/query.rb +2 -2
- data/lib/twilio-ruby/rest/lookups/v2/rate_limit.rb +3 -3
- data/lib/twilio-ruby/rest/lookups/v2.rb +13 -0
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on/available_add_on_extension.rb +13 -5
- data/lib/twilio-ruby/rest/marketplace/v1/available_add_on.rb +13 -5
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb +15 -7
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +2 -2
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on.rb +21 -13
- data/lib/twilio-ruby/rest/marketplace/v1/module_data.rb +4 -4
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +16 -16
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +2 -2
- data/lib/twilio-ruby/rest/marketplace/v1.rb +3 -0
- data/lib/twilio-ruby/rest/{flex_api/v1/create_flex_instance.rb → memory/v1/bulk.rb} +104 -124
- data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +798 -0
- data/lib/twilio-ruby/rest/memory/v1/data_mapping.rb +843 -0
- data/lib/twilio-ruby/rest/memory/v1/event.rb +320 -0
- data/lib/twilio-ruby/rest/memory/v1/identifier.rb +710 -0
- data/lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb +442 -0
- data/lib/twilio-ruby/rest/memory/v1/import.rb +574 -0
- data/lib/twilio-ruby/rest/memory/v1/lookup.rb +250 -0
- data/lib/twilio-ruby/rest/memory/v1/observation.rb +786 -0
- data/lib/twilio-ruby/rest/memory/v1/operation.rb +376 -0
- data/lib/twilio-ruby/rest/memory/v1/profile.rb +636 -0
- data/lib/twilio-ruby/rest/memory/v1/recall.rb +366 -0
- data/lib/twilio-ruby/rest/memory/v1/revision.rb +349 -0
- data/lib/twilio-ruby/rest/memory/v1/store.rb +701 -0
- data/lib/twilio-ruby/rest/memory/v1/trait.rb +336 -0
- data/lib/twilio-ruby/rest/memory/v1/trait_group.rb +904 -0
- data/lib/twilio-ruby/rest/memory/v1.rb +475 -0
- data/lib/twilio-ruby/rest/memory.rb +6 -0
- data/lib/twilio-ruby/rest/memory_base.rb +38 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +15 -7
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +18 -10
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +4 -4
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +4 -4
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +10 -10
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_validate_dn.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +5 -5
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +14 -6
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +14 -6
- data/lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb +15 -7
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +14 -6
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +14 -6
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +54 -46
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +3 -3
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +61 -53
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +120 -112
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +22 -7
- data/lib/twilio-ruby/rest/messaging/v2/domain_certs.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v2/typing_indicator.rb +4 -4
- data/lib/twilio-ruby/rest/messaging/v2.rb +2 -0
- data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +247 -0
- data/lib/twilio-ruby/rest/messaging/v3.rb +40 -0
- data/lib/twilio-ruby/rest/messaging_base.rb +5 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +13 -5
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +13 -5
- data/lib/twilio-ruby/rest/monitor/v1.rb +2 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +32 -24
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +20 -12
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +20 -20
- data/lib/twilio-ruby/rest/notify/v1/service.rb +55 -47
- data/lib/twilio-ruby/rest/notify/v1.rb +2 -0
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_all_port_in.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +6 -6
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v1/webhook.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1.rb +21 -2
- data/lib/twilio-ruby/rest/numbers/v2/application.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +19 -11
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +4 -4
- data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +8 -8
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +35 -27
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +14 -6
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +14 -6
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +29 -21
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +20 -12
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +15 -7
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +20 -12
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +13 -5
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v2.rb +5 -0
- data/lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb +19 -19
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +7 -7
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +10 -10
- data/lib/twilio-ruby/rest/oauth/v2/authorize.rb +7 -7
- data/lib/twilio-ruby/rest/oauth/v2/token.rb +11 -11
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +13 -5
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +33 -25
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +50 -42
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +2 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +13 -5
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +13 -5
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +15 -7
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +21 -13
- data/lib/twilio-ruby/rest/preview/marketplace.rb +2 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +20 -12
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +27 -19
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +6 -6
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +45 -37
- data/lib/twilio-ruby/rest/preview/wireless.rb +3 -0
- data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +7 -7
- data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +10 -10
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/account.rb +13 -5
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/role_assignment.rb +54 -10
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +27 -11
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +2 -2
- data/lib/twilio-ruby/rest/preview_iam/versionless.rb +1 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +13 -5
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +13 -5
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +13 -5
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v1.rb +22 -4
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +13 -5
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +4 -4
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +13 -5
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +4 -4
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +2 -2
- data/lib/twilio-ruby/rest/pricing/v2.rb +13 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +18 -10
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +13 -5
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +15 -7
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +17 -9
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +25 -17
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +37 -29
- data/lib/twilio-ruby/rest/proxy/v1.rb +1 -0
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +6 -6
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +6 -6
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +6 -6
- data/lib/twilio-ruby/rest/routes/v2.rb +3 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +13 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +16 -8
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +17 -9
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +15 -7
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +13 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +19 -11
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +15 -7
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +2 -2
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +13 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +16 -8
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +23 -15
- data/lib/twilio-ruby/rest/serverless/v1.rb +1 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +13 -5
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +16 -8
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +13 -5
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +18 -10
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +13 -5
- data/lib/twilio-ruby/rest/studio/v1.rb +1 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +2 -2
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +13 -5
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +37 -14
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +13 -5
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +4 -4
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +42 -19
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +6 -6
- data/lib/twilio-ruby/rest/studio/v2.rb +1 -0
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +17 -9
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +36 -28
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +19 -11
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +13 -5
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +14 -6
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +17 -9
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +13 -5
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +13 -5
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +13 -5
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +27 -19
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +17 -9
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +13 -5
- data/lib/twilio-ruby/rest/supersim/v1.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +19 -11
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +22 -14
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +29 -21
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +19 -11
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +20 -12
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +30 -22
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +19 -11
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +20 -12
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +3 -3
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +17 -9
- data/lib/twilio-ruby/rest/sync/v1/service.rb +34 -26
- data/lib/twilio-ruby/rest/sync/v1.rb +1 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +17 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +13 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +123 -115
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +38 -30
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +20 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +13 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +31 -23
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +119 -111
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +17 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +10 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +10 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +16 -16
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +28 -20
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +30 -22
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +4 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +12 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +33 -25
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +1 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +14 -6
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +14 -6
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +28 -20
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +14 -6
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +6 -6
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +37 -29
- data/lib/twilio-ruby/rest/trunking/v1.rb +1 -0
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +9 -9
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +45 -45
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +40 -40
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +15 -7
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +14 -6
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +14 -6
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +25 -17
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +20 -12
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +13 -5
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +13 -5
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +20 -12
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +13 -5
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +15 -7
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +14 -6
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +14 -6
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +25 -17
- data/lib/twilio-ruby/rest/trusthub/v1.rb +9 -0
- data/lib/twilio-ruby/rest/verify/v2/form.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +3 -3
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +6 -6
- data/lib/twilio-ruby/rest/verify/v2/service/approve_challenge.rb +9 -9
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +3 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +23 -15
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +31 -23
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +16 -16
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +14 -6
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +17 -9
- data/lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb +10 -9
- data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +2 -2
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +19 -11
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +17 -9
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +24 -24
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +8 -8
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +40 -32
- data/lib/twilio-ruby/rest/verify/v2/service.rb +91 -83
- data/lib/twilio-ruby/rest/verify/v2/template.rb +13 -5
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +13 -5
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +14 -14
- data/lib/twilio-ruby/rest/verify/v2.rb +4 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +22 -14
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +43 -35
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +14 -14
- data/lib/twilio-ruby/rest/video/v1/recording.rb +13 -5
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +14 -14
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +13 -5
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +3 -3
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +13 -5
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +15 -7
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +3 -3
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +13 -5
- data/lib/twilio-ruby/rest/video/v1/room/transcriptions.rb +18 -10
- data/lib/twilio-ruby/rest/video/v1/room.rb +32 -24
- data/lib/twilio-ruby/rest/video/v1.rb +4 -0
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +2 -2
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +43 -35
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +28 -20
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +16 -8
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +3 -3
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +13 -5
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +13 -5
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +4 -4
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +2 -2
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +18 -10
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +17 -9
- data/lib/twilio-ruby/rest/voice/v1.rb +10 -0
- data/lib/twilio-ruby/rest/voice/v3/transcription.rb +514 -0
- data/lib/twilio-ruby/rest/voice/v3.rb +50 -0
- data/lib/twilio-ruby/rest/voice_base.rb +6 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +20 -12
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +29 -21
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +13 -5
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +13 -5
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +49 -41
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +13 -5
- data/lib/twilio-ruby/rest/wireless/v1.rb +3 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +20 -11
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +49 -5
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# Twilio Memory API
|
|
8
|
+
# APIs for managing memory stores, profiles, events, and conversational intelligence capabilities.
|
|
9
|
+
#
|
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
11
|
+
# https://openapi-generator.tech
|
|
12
|
+
# Do not edit the class manually.
|
|
13
|
+
#
|
|
14
|
+
|
|
15
|
+
module Twilio
|
|
16
|
+
module REST
|
|
17
|
+
class Memory
|
|
18
|
+
class V1 < Version
|
|
19
|
+
##
|
|
20
|
+
# Initialize the V1 version of Memory
|
|
21
|
+
def initialize(domain)
|
|
22
|
+
super
|
|
23
|
+
@version = 'v1'
|
|
24
|
+
@bulk = nil
|
|
25
|
+
@conversation_summaries = nil
|
|
26
|
+
@data_mappings = nil
|
|
27
|
+
@events = nil
|
|
28
|
+
@identifiers = nil
|
|
29
|
+
@identity_resolution_settings = nil
|
|
30
|
+
@imports = nil
|
|
31
|
+
@lookup = nil
|
|
32
|
+
@observations = nil
|
|
33
|
+
@operations = nil
|
|
34
|
+
@profiles = nil
|
|
35
|
+
@recall = nil
|
|
36
|
+
@revisions = nil
|
|
37
|
+
@stores = nil
|
|
38
|
+
@traits = nil
|
|
39
|
+
@trait_groups = nil
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
##
|
|
43
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
44
|
+
# @return [Twilio::REST::Memory::V1::BulkContext] if storeId was passed.
|
|
45
|
+
# @return [Twilio::REST::Memory::V1::BulkList]
|
|
46
|
+
def bulk(store_id=:unset)
|
|
47
|
+
if store_id.nil?
|
|
48
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
if store_id == :unset
|
|
52
|
+
@bulk ||= BulkList.new self
|
|
53
|
+
else
|
|
54
|
+
BulkContext.new(self, store_id)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
##
|
|
58
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
59
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
60
|
+
# @param [String] summary_id
|
|
61
|
+
# @return [Twilio::REST::Memory::V1::ConversationSummaryContext] if summary_id was passed.
|
|
62
|
+
# @return [Twilio::REST::Memory::V1::ConversationSummaryList]
|
|
63
|
+
def conversation_summaries(store_id=:unset, profile_id=:unset, summary_id=:unset)
|
|
64
|
+
if store_id.nil?
|
|
65
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
66
|
+
end
|
|
67
|
+
if profile_id.nil?
|
|
68
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
69
|
+
end
|
|
70
|
+
if summary_id.nil?
|
|
71
|
+
raise ArgumentError, 'summary_id cannot be nil'
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
if store_id == :unset && profile_id == :unset && summary_id == :unset
|
|
75
|
+
@conversation_summaries ||= ConversationSummaryList.new self
|
|
76
|
+
elsif store_id != :unset && profile_id != :unset && summary_id == :unset
|
|
77
|
+
ConversationSummaryList.new(self, store_id: store_id, profile_id: profile_id)
|
|
78
|
+
else
|
|
79
|
+
ConversationSummaryContext.new(self, store_id, profile_id, summary_id)
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
##
|
|
83
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
84
|
+
# @param [String] data_mapping_id
|
|
85
|
+
# @return [Twilio::REST::Memory::V1::DataMappingContext] if data_mapping_id was passed.
|
|
86
|
+
# @return [Twilio::REST::Memory::V1::DataMappingList]
|
|
87
|
+
def data_mappings(store_id=:unset, data_mapping_id=:unset)
|
|
88
|
+
if store_id.nil?
|
|
89
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
90
|
+
end
|
|
91
|
+
if data_mapping_id.nil?
|
|
92
|
+
raise ArgumentError, 'data_mapping_id cannot be nil'
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if store_id == :unset && data_mapping_id == :unset
|
|
96
|
+
@data_mappings ||= DataMappingList.new self
|
|
97
|
+
elsif store_id != :unset && data_mapping_id == :unset
|
|
98
|
+
DataMappingList.new(self, store_id: store_id)
|
|
99
|
+
else
|
|
100
|
+
DataMappingContext.new(self, store_id, data_mapping_id)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
##
|
|
104
|
+
# @param [String] store_id The storeId identifier
|
|
105
|
+
# @param [String] profile_id The profileId identifier
|
|
106
|
+
# @return [Twilio::REST::Memory::V1::EventList]
|
|
107
|
+
def events(store_id=:unset, profile_id=:unset)
|
|
108
|
+
if store_id.nil?
|
|
109
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
110
|
+
end
|
|
111
|
+
if profile_id.nil?
|
|
112
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if store_id == :unset && profile_id == :unset
|
|
116
|
+
@events ||= EventList.new self
|
|
117
|
+
elsif store_id != :unset && profile_id == :unset
|
|
118
|
+
EventList.new(self, store_id: store_id)
|
|
119
|
+
else
|
|
120
|
+
EventList.new(self, store_id: store_id, profile_id: profile_id)
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
##
|
|
124
|
+
# @param [String] store_id The storeId identifier
|
|
125
|
+
# @param [String] profile_id The profileId identifier
|
|
126
|
+
# @return [Twilio::REST::Memory::V1::EventList]
|
|
127
|
+
def events(store_id=:unset, profile_id=:unset)
|
|
128
|
+
if store_id.nil?
|
|
129
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
130
|
+
end
|
|
131
|
+
if profile_id.nil?
|
|
132
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if store_id == :unset && profile_id == :unset
|
|
136
|
+
@events ||= EventList.new self
|
|
137
|
+
elsif store_id != :unset && profile_id == :unset
|
|
138
|
+
EventList.new(self, store_id: store_id)
|
|
139
|
+
else
|
|
140
|
+
EventList.new(self, store_id: store_id, profile_id: profile_id)
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
##
|
|
144
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
145
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
146
|
+
# @param [String] id_type
|
|
147
|
+
# @return [Twilio::REST::Memory::V1::IdentifierContext] if id_type was passed.
|
|
148
|
+
# @return [Twilio::REST::Memory::V1::IdentifierList]
|
|
149
|
+
def identifiers(store_id=:unset, profile_id=:unset, id_type=:unset)
|
|
150
|
+
if store_id.nil?
|
|
151
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
152
|
+
end
|
|
153
|
+
if profile_id.nil?
|
|
154
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
155
|
+
end
|
|
156
|
+
if id_type.nil?
|
|
157
|
+
raise ArgumentError, 'id_type cannot be nil'
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if store_id == :unset && profile_id == :unset && id_type == :unset
|
|
161
|
+
@identifiers ||= IdentifierList.new self
|
|
162
|
+
elsif store_id != :unset && profile_id != :unset && id_type == :unset
|
|
163
|
+
IdentifierList.new(self, store_id: store_id, profile_id: profile_id)
|
|
164
|
+
else
|
|
165
|
+
IdentifierContext.new(self, store_id, profile_id, id_type)
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
##
|
|
169
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
170
|
+
# @return [Twilio::REST::Memory::V1::IdentityResolutionSettingContext] if storeId was passed.
|
|
171
|
+
# @return [Twilio::REST::Memory::V1::IdentityResolutionSettingList]
|
|
172
|
+
def identity_resolution_settings(store_id=:unset)
|
|
173
|
+
if store_id.nil?
|
|
174
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
if store_id == :unset
|
|
178
|
+
@identity_resolution_settings ||= IdentityResolutionSettingList.new self
|
|
179
|
+
else
|
|
180
|
+
IdentityResolutionSettingContext.new(self, store_id)
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
##
|
|
184
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
185
|
+
# @param [String] import_id
|
|
186
|
+
# @return [Twilio::REST::Memory::V1::ImportContext] if import_id was passed.
|
|
187
|
+
# @return [Twilio::REST::Memory::V1::ImportList]
|
|
188
|
+
def imports(store_id=:unset, import_id=:unset)
|
|
189
|
+
if store_id.nil?
|
|
190
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
191
|
+
end
|
|
192
|
+
if import_id.nil?
|
|
193
|
+
raise ArgumentError, 'import_id cannot be nil'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if store_id == :unset && import_id == :unset
|
|
197
|
+
@imports ||= ImportList.new self
|
|
198
|
+
elsif store_id != :unset && import_id == :unset
|
|
199
|
+
ImportList.new(self, store_id: store_id)
|
|
200
|
+
else
|
|
201
|
+
ImportContext.new(self, store_id, import_id)
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
##
|
|
205
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
206
|
+
# @return [Twilio::REST::Memory::V1::LookupList]
|
|
207
|
+
def lookup(store_id=:unset)
|
|
208
|
+
if store_id.nil?
|
|
209
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
if store_id == :unset
|
|
213
|
+
@lookup ||= LookupList.new self
|
|
214
|
+
else
|
|
215
|
+
LookupList.new(self, store_id: store_id)
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
##
|
|
219
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
220
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
221
|
+
# @param [String] observation_id
|
|
222
|
+
# @return [Twilio::REST::Memory::V1::ObservationContext] if observation_id was passed.
|
|
223
|
+
# @return [Twilio::REST::Memory::V1::ObservationList]
|
|
224
|
+
def observations(store_id=:unset, profile_id=:unset, observation_id=:unset)
|
|
225
|
+
if store_id.nil?
|
|
226
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
227
|
+
end
|
|
228
|
+
if profile_id.nil?
|
|
229
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
230
|
+
end
|
|
231
|
+
if observation_id.nil?
|
|
232
|
+
raise ArgumentError, 'observation_id cannot be nil'
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if store_id == :unset && profile_id == :unset && observation_id == :unset
|
|
236
|
+
@observations ||= ObservationList.new self
|
|
237
|
+
elsif store_id != :unset && profile_id != :unset && observation_id == :unset
|
|
238
|
+
ObservationList.new(self, store_id: store_id, profile_id: profile_id)
|
|
239
|
+
else
|
|
240
|
+
ObservationContext.new(self, store_id, profile_id, observation_id)
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
##
|
|
244
|
+
# @param [String] operation_id The operation ID returned from a write endpoint.
|
|
245
|
+
# @return [Twilio::REST::Memory::V1::OperationContext] if operationId was passed.
|
|
246
|
+
# @return [Twilio::REST::Memory::V1::OperationList]
|
|
247
|
+
def operations(operation_id=:unset)
|
|
248
|
+
if operation_id.nil?
|
|
249
|
+
raise ArgumentError, 'operation_id cannot be nil'
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
if operation_id == :unset
|
|
253
|
+
@operations ||= OperationList.new self
|
|
254
|
+
else
|
|
255
|
+
OperationContext.new(self, operation_id)
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
##
|
|
259
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
260
|
+
# @param [String] profile_id
|
|
261
|
+
# @return [Twilio::REST::Memory::V1::ProfileContext] if profile_id was passed.
|
|
262
|
+
# @return [Twilio::REST::Memory::V1::ProfileList]
|
|
263
|
+
def profiles(store_id=:unset, profile_id=:unset)
|
|
264
|
+
if store_id.nil?
|
|
265
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
266
|
+
end
|
|
267
|
+
if profile_id.nil?
|
|
268
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
if store_id == :unset && profile_id == :unset
|
|
272
|
+
@profiles ||= ProfileList.new self
|
|
273
|
+
elsif store_id != :unset && profile_id == :unset
|
|
274
|
+
ProfileList.new(self, store_id: store_id)
|
|
275
|
+
else
|
|
276
|
+
ProfileContext.new(self, store_id, profile_id)
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
##
|
|
280
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
281
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
282
|
+
# @return [Twilio::REST::Memory::V1::RecallList]
|
|
283
|
+
def recall(store_id=:unset, profile_id=:unset)
|
|
284
|
+
if store_id.nil?
|
|
285
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
286
|
+
end
|
|
287
|
+
if profile_id.nil?
|
|
288
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
if store_id == :unset && profile_id == :unset
|
|
292
|
+
@recall ||= RecallList.new self
|
|
293
|
+
elsif store_id != :unset && profile_id == :unset
|
|
294
|
+
RecallList.new(self, store_id: store_id)
|
|
295
|
+
else
|
|
296
|
+
RecallList.new(self, store_id: store_id, profile_id: profile_id)
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
##
|
|
300
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
301
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
302
|
+
# @return [Twilio::REST::Memory::V1::RecallList]
|
|
303
|
+
def recall(store_id=:unset, profile_id=:unset)
|
|
304
|
+
if store_id.nil?
|
|
305
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
306
|
+
end
|
|
307
|
+
if profile_id.nil?
|
|
308
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
if store_id == :unset && profile_id == :unset
|
|
312
|
+
@recall ||= RecallList.new self
|
|
313
|
+
elsif store_id != :unset && profile_id == :unset
|
|
314
|
+
RecallList.new(self, store_id: store_id)
|
|
315
|
+
else
|
|
316
|
+
RecallList.new(self, store_id: store_id, profile_id: profile_id)
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
##
|
|
320
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
321
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
322
|
+
# @param [String] observation_id The observation ID.
|
|
323
|
+
# @return [Twilio::REST::Memory::V1::RevisionList]
|
|
324
|
+
def revisions(store_id=:unset, profile_id=:unset, observation_id=:unset)
|
|
325
|
+
if store_id.nil?
|
|
326
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
327
|
+
end
|
|
328
|
+
if profile_id.nil?
|
|
329
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
330
|
+
end
|
|
331
|
+
if observation_id.nil?
|
|
332
|
+
raise ArgumentError, 'observation_id cannot be nil'
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
if store_id == :unset && profile_id == :unset && observation_id == :unset
|
|
336
|
+
@revisions ||= RevisionList.new self
|
|
337
|
+
elsif store_id != :unset && profile_id != :unset && observation_id == :unset
|
|
338
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id)
|
|
339
|
+
else
|
|
340
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id, observation_id: observation_id)
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
##
|
|
344
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
345
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
346
|
+
# @param [String] observation_id The observation ID.
|
|
347
|
+
# @return [Twilio::REST::Memory::V1::RevisionList]
|
|
348
|
+
def revisions(store_id=:unset, profile_id=:unset, observation_id=:unset)
|
|
349
|
+
if store_id.nil?
|
|
350
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
351
|
+
end
|
|
352
|
+
if profile_id.nil?
|
|
353
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
354
|
+
end
|
|
355
|
+
if observation_id.nil?
|
|
356
|
+
raise ArgumentError, 'observation_id cannot be nil'
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
if store_id == :unset && profile_id == :unset && observation_id == :unset
|
|
360
|
+
@revisions ||= RevisionList.new self
|
|
361
|
+
elsif store_id != :unset && profile_id != :unset && observation_id == :unset
|
|
362
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id)
|
|
363
|
+
else
|
|
364
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id, observation_id: observation_id)
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
##
|
|
368
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
369
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
370
|
+
# @param [String] observation_id The observation ID.
|
|
371
|
+
# @return [Twilio::REST::Memory::V1::RevisionList]
|
|
372
|
+
def revisions(store_id=:unset, profile_id=:unset, observation_id=:unset)
|
|
373
|
+
if store_id.nil?
|
|
374
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
375
|
+
end
|
|
376
|
+
if profile_id.nil?
|
|
377
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
378
|
+
end
|
|
379
|
+
if observation_id.nil?
|
|
380
|
+
raise ArgumentError, 'observation_id cannot be nil'
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
if store_id == :unset && profile_id == :unset && observation_id == :unset
|
|
384
|
+
@revisions ||= RevisionList.new self
|
|
385
|
+
elsif store_id != :unset && profile_id != :unset && observation_id == :unset
|
|
386
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id)
|
|
387
|
+
else
|
|
388
|
+
RevisionList.new(self, store_id: store_id, profile_id: profile_id, observation_id: observation_id)
|
|
389
|
+
end
|
|
390
|
+
end
|
|
391
|
+
##
|
|
392
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
393
|
+
# @return [Twilio::REST::Memory::V1::StoreContext] if storeId was passed.
|
|
394
|
+
# @return [Twilio::REST::Memory::V1::StoreList]
|
|
395
|
+
def stores(store_id=:unset)
|
|
396
|
+
if store_id.nil?
|
|
397
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
if store_id == :unset
|
|
401
|
+
@stores ||= StoreList.new self
|
|
402
|
+
else
|
|
403
|
+
StoreContext.new(self, store_id)
|
|
404
|
+
end
|
|
405
|
+
end
|
|
406
|
+
##
|
|
407
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
408
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
409
|
+
# @return [Twilio::REST::Memory::V1::TraitList]
|
|
410
|
+
def traits(store_id=:unset, profile_id=:unset)
|
|
411
|
+
if store_id.nil?
|
|
412
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
413
|
+
end
|
|
414
|
+
if profile_id.nil?
|
|
415
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
if store_id == :unset && profile_id == :unset
|
|
419
|
+
@traits ||= TraitList.new self
|
|
420
|
+
elsif store_id != :unset && profile_id == :unset
|
|
421
|
+
TraitList.new(self, store_id: store_id)
|
|
422
|
+
else
|
|
423
|
+
TraitList.new(self, store_id: store_id, profile_id: profile_id)
|
|
424
|
+
end
|
|
425
|
+
end
|
|
426
|
+
##
|
|
427
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
428
|
+
# @param [String] profile_id The unique identifier for the profile using Twilio Type ID (TTID) format.
|
|
429
|
+
# @return [Twilio::REST::Memory::V1::TraitList]
|
|
430
|
+
def traits(store_id=:unset, profile_id=:unset)
|
|
431
|
+
if store_id.nil?
|
|
432
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
433
|
+
end
|
|
434
|
+
if profile_id.nil?
|
|
435
|
+
raise ArgumentError, 'profile_id cannot be nil'
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
if store_id == :unset && profile_id == :unset
|
|
439
|
+
@traits ||= TraitList.new self
|
|
440
|
+
elsif store_id != :unset && profile_id == :unset
|
|
441
|
+
TraitList.new(self, store_id: store_id)
|
|
442
|
+
else
|
|
443
|
+
TraitList.new(self, store_id: store_id, profile_id: profile_id)
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
|
+
##
|
|
447
|
+
# @param [String] store_id A unique Memory Store ID using Twilio Type ID (TTID) format
|
|
448
|
+
# @param [String] trait_group_name
|
|
449
|
+
# @return [Twilio::REST::Memory::V1::TraitGroupContext] if trait_group_name was passed.
|
|
450
|
+
# @return [Twilio::REST::Memory::V1::TraitGroupList]
|
|
451
|
+
def trait_groups(store_id=:unset, trait_group_name=:unset)
|
|
452
|
+
if store_id.nil?
|
|
453
|
+
raise ArgumentError, 'store_id cannot be nil'
|
|
454
|
+
end
|
|
455
|
+
if trait_group_name.nil?
|
|
456
|
+
raise ArgumentError, 'trait_group_name cannot be nil'
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
if store_id == :unset && trait_group_name == :unset
|
|
460
|
+
@trait_groups ||= TraitGroupList.new self
|
|
461
|
+
elsif store_id != :unset && trait_group_name == :unset
|
|
462
|
+
TraitGroupList.new(self, store_id: store_id)
|
|
463
|
+
else
|
|
464
|
+
TraitGroupContext.new(self, store_id, trait_group_name)
|
|
465
|
+
end
|
|
466
|
+
end
|
|
467
|
+
##
|
|
468
|
+
# Provide a user friendly representation
|
|
469
|
+
def to_s
|
|
470
|
+
'<Twilio::REST::Memory::V1>';
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
end
|
|
475
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
8
|
+
# https://openapi-generator.tech
|
|
9
|
+
# Do not edit the class manually.
|
|
10
|
+
# frozen_string_literal: true
|
|
11
|
+
module Twilio
|
|
12
|
+
module REST
|
|
13
|
+
class MemoryBase < Domain
|
|
14
|
+
##
|
|
15
|
+
# Initialize memory domain
|
|
16
|
+
#
|
|
17
|
+
# @param twilio - The twilio client
|
|
18
|
+
#
|
|
19
|
+
def initialize(twilio)
|
|
20
|
+
super(twilio)
|
|
21
|
+
@base_url = "https://memory.twilio.com"
|
|
22
|
+
@host = "memory.twilio.com"
|
|
23
|
+
@port = 443
|
|
24
|
+
@v1 = nil
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def v1
|
|
28
|
+
@v1 ||= Memory::V1.new self
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
##
|
|
32
|
+
# Provide a user friendly representation
|
|
33
|
+
def to_s
|
|
34
|
+
'<Twilio::REST::Memory::V1>';
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -129,7 +129,7 @@ module Twilio
|
|
|
129
129
|
@brand_registration_otp_page << BrandRegistrationOtpListResponse.new(version, @payload, key, limit - records)
|
|
130
130
|
@payload = self.next_page
|
|
131
131
|
break unless @payload
|
|
132
|
-
records += @payload.body[key].size
|
|
132
|
+
records += (@payload.body[key] || []).size
|
|
133
133
|
end
|
|
134
134
|
# Path Solution
|
|
135
135
|
@solution = solution
|
|
@@ -151,7 +151,7 @@ module Twilio
|
|
|
151
151
|
# @param [Hash{String => Object}] headers
|
|
152
152
|
# @param [Integer] status_code
|
|
153
153
|
def initialize(version, payload, key, limit = :unset)
|
|
154
|
-
data_list = payload.body[key]
|
|
154
|
+
data_list = payload.body[key] || []
|
|
155
155
|
if limit != :unset
|
|
156
156
|
data_list = data_list[0, limit]
|
|
157
157
|
end
|
|
@@ -39,8 +39,8 @@ module Twilio
|
|
|
39
39
|
# @param [String] vetting_id The unique ID of the vetting
|
|
40
40
|
# @return [BrandVettingInstance] Created BrandVettingInstance
|
|
41
41
|
def create(
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
vetting_provider: nil,
|
|
43
|
+
vetting_id: :unset
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
data = Twilio::Values.of({
|
|
@@ -137,7 +137,11 @@ module Twilio
|
|
|
137
137
|
vetting_provider: vetting_provider,
|
|
138
138
|
page_size: limits[:page_size], )
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
return [].each if page.nil?
|
|
141
|
+
|
|
142
|
+
result = @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
143
|
+
return [].each if result.nil?
|
|
144
|
+
result
|
|
141
145
|
end
|
|
142
146
|
|
|
143
147
|
##
|
|
@@ -173,9 +177,13 @@ module Twilio
|
|
|
173
177
|
|
|
174
178
|
page = self.page(page_size: limits[:page_size], )
|
|
175
179
|
|
|
176
|
-
|
|
180
|
+
return [].each if page.nil?
|
|
181
|
+
|
|
182
|
+
result = @version.stream(page,
|
|
177
183
|
limit: limits[:limit],
|
|
178
|
-
page_limit: limits[:page_limit])
|
|
184
|
+
page_limit: limits[:page_limit])
|
|
185
|
+
return [].each if result.nil?
|
|
186
|
+
result.each {|x| yield x}
|
|
179
187
|
end
|
|
180
188
|
|
|
181
189
|
##
|
|
@@ -393,7 +401,7 @@ module Twilio
|
|
|
393
401
|
@brand_vetting_page << BrandVettingListResponse.new(version, @payload, key, limit - records)
|
|
394
402
|
@payload = self.next_page
|
|
395
403
|
break unless @payload
|
|
396
|
-
records += @payload.body[key].size
|
|
404
|
+
records += (@payload.body[key] || []).size
|
|
397
405
|
end
|
|
398
406
|
# Path Solution
|
|
399
407
|
@solution = solution
|
|
@@ -415,7 +423,7 @@ module Twilio
|
|
|
415
423
|
# @param [Hash{String => Object}] headers
|
|
416
424
|
# @param [Integer] status_code
|
|
417
425
|
def initialize(version, payload, key, limit = :unset)
|
|
418
|
-
data_list = payload.body[key]
|
|
426
|
+
data_list = payload.body[key] || []
|
|
419
427
|
if limit != :unset
|
|
420
428
|
data_list = data_list[0, limit]
|
|
421
429
|
end
|
|
@@ -40,11 +40,11 @@ module Twilio
|
|
|
40
40
|
# @param [Boolean] skip_automatic_sec_vet A flag to disable automatic secondary vetting for brands which it would otherwise be done.
|
|
41
41
|
# @return [BrandRegistrationInstance] Created BrandRegistrationInstance
|
|
42
42
|
def create(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
customer_profile_bundle_sid: nil,
|
|
44
|
+
a2p_profile_bundle_sid: nil,
|
|
45
|
+
brand_type: :unset,
|
|
46
|
+
mock: :unset,
|
|
47
|
+
skip_automatic_sec_vet: :unset
|
|
48
48
|
)
|
|
49
49
|
|
|
50
50
|
data = Twilio::Values.of({
|
|
@@ -147,7 +147,11 @@ module Twilio
|
|
|
147
147
|
page = self.page(
|
|
148
148
|
page_size: limits[:page_size], )
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
return [].each if page.nil?
|
|
151
|
+
|
|
152
|
+
result = @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
153
|
+
return [].each if result.nil?
|
|
154
|
+
result
|
|
151
155
|
end
|
|
152
156
|
|
|
153
157
|
##
|
|
@@ -181,9 +185,13 @@ module Twilio
|
|
|
181
185
|
|
|
182
186
|
page = self.page(page_size: limits[:page_size], )
|
|
183
187
|
|
|
184
|
-
|
|
188
|
+
return [].each if page.nil?
|
|
189
|
+
|
|
190
|
+
result = @version.stream(page,
|
|
185
191
|
limit: limits[:limit],
|
|
186
|
-
page_limit: limits[:page_limit])
|
|
192
|
+
page_limit: limits[:page_limit])
|
|
193
|
+
return [].each if result.nil?
|
|
194
|
+
result.each {|x| yield x}
|
|
187
195
|
end
|
|
188
196
|
|
|
189
197
|
##
|
|
@@ -483,7 +491,7 @@ module Twilio
|
|
|
483
491
|
@brand_registration_page << BrandRegistrationListResponse.new(version, @payload, key, limit - records)
|
|
484
492
|
@payload = self.next_page
|
|
485
493
|
break unless @payload
|
|
486
|
-
records += @payload.body[key].size
|
|
494
|
+
records += (@payload.body[key] || []).size
|
|
487
495
|
end
|
|
488
496
|
# Path Solution
|
|
489
497
|
@solution = solution
|
|
@@ -505,7 +513,7 @@ module Twilio
|
|
|
505
513
|
# @param [Hash{String => Object}] headers
|
|
506
514
|
# @param [Integer] status_code
|
|
507
515
|
def initialize(version, payload, key, limit = :unset)
|
|
508
|
-
data_list = payload.body[key]
|
|
516
|
+
data_list = payload.body[key] || []
|
|
509
517
|
if limit != :unset
|
|
510
518
|
data_list = data_list[0, limit]
|
|
511
519
|
end
|