telnyx 5.169.0 → 5.170.0
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/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/email_cursor_pagination.rb +2 -2
- data/lib/telnyx/internal/type/union.rb +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -3
- data/lib/telnyx/models/ai/assistant_tool.rb +31 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -3
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -3
- data/lib/telnyx/models/ai/collection.rb +3 -3
- data/lib/telnyx/models/ai/collections/collections_source.rb +64 -0
- data/lib/telnyx/models/ai/collections/source.rb +25 -29
- data/lib/telnyx/models/ai/collections/source_create_response.rb +3 -3
- data/lib/telnyx/models/ai/collections/source_list_response.rb +3 -3
- data/lib/telnyx/models/ai/collections/source_replace_response.rb +3 -3
- data/lib/telnyx/models/ai/flow_node.rb +3 -3
- data/lib/telnyx/models/ai/flow_node_req.rb +3 -3
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -3
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +334 -0
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +13 -11
- data/lib/telnyx/models/ai/memory/namespace_retrieve_params.rb +30 -0
- data/lib/telnyx/models/ai/memory/namespace_retrieve_response.rb +76 -0
- data/lib/telnyx/models/ai/memory/namespaces/namespace_settings_response.rb +63 -0
- data/lib/telnyx/models/ai/memory/namespaces/page_meta.rb +58 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_delete_params.rb +35 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_delete_response.rb +47 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_params.rb +94 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_response.rb +61 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_list_params.rb +48 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_list_response.rb +34 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_recall_params.rb +44 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_recall_response.rb +60 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_remember_params.rb +38 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_remember_response.rb +54 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rb +35 -0
- data/lib/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rb +64 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rb +76 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rb +53 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rb +50 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rb +74 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rb +52 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rb +60 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rb +67 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rb +52 -0
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rb +123 -0
- data/lib/telnyx/models/ai/memory/namespaces/setting_list_params.rb +28 -0
- data/lib/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rb +69 -0
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +29 -1
- data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +19 -6
- data/lib/telnyx/models/ai/webhook_tool.rb +16 -1
- data/lib/telnyx/models/artifact_completed_webhook_event.rb +17 -1
- data/lib/telnyx/models/artifact_failed_webhook_event.rb +4 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +11 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +11 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +11 -3
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +11 -3
- data/lib/telnyx/models/calls/soniox_voice_settings.rb +46 -0
- data/lib/telnyx/models/conferences/action_speak_params.rb +11 -3
- data/lib/telnyx/models/conversation_relay_embedded_config.rb +11 -3
- data/lib/telnyx/models/conversation_relay_language.rb +5 -3
- data/lib/telnyx/models/email_block.rb +8 -1
- data/lib/telnyx/models/email_blocks/email_block_import.rb +7 -2
- data/lib/telnyx/models/email_domain_rotate_dkim_params.rb +20 -0
- data/lib/telnyx/models/email_domain_rotate_dkim_response.rb +243 -0
- data/lib/telnyx/models/email_domains/email_webhook_event.rb +8 -3
- data/lib/telnyx/models/email_event_list_params.rb +33 -10
- data/lib/telnyx/models/email_event_list_response.rb +300 -73
- data/lib/telnyx/models/email_event_type.rb +16 -0
- data/lib/telnyx/models/email_inboxes/email_message.rb +56 -4
- data/lib/telnyx/models/email_message_batch_params.rb +32 -15
- data/lib/telnyx/models/email_message_create_params.rb +44 -12
- data/lib/telnyx/models/{email_message_retrieve_response.rb → email_message_detail_response.rb} +5 -5
- data/lib/telnyx/models/email_message_list_params.rb +26 -1
- data/lib/telnyx/models/email_message_update_schedule_params.rb +29 -0
- data/lib/telnyx/models/email_messages/email_recipient.rb +2 -0
- data/lib/telnyx/models/email_messages/recipient_list_params.rb +2 -0
- data/lib/telnyx/models/email_template.rb +68 -2
- data/lib/telnyx/models/email_template_create_params.rb +71 -1
- data/lib/telnyx/models/email_webhook_recipient.rb +39 -0
- data/lib/telnyx/models/meeting_session.rb +34 -6
- data/lib/telnyx/models/meeting_session_create_params.rb +73 -39
- data/lib/telnyx/models/meeting_sessions/artifact_create_params.rb +77 -13
- data/lib/telnyx/models/meeting_sessions/meeting_session_artifact.rb +25 -1
- data/lib/telnyx/models/message_event.rb +41 -2
- data/lib/telnyx/models/numbers_phone_number_detailed.rb +19 -5
- data/lib/telnyx/models/private_wireless_gateway.rb +0 -1
- data/lib/telnyx/models/private_wireless_gateway_create_params.rb +28 -1
- data/lib/telnyx/models/private_wireless_gateway_create_response.rb +3 -3
- data/lib/telnyx/models/private_wireless_gateway_delete_response.rb +3 -3
- data/lib/telnyx/models/private_wireless_gateway_retrieve_response.rb +3 -3
- data/lib/telnyx/models/texml/accounts/call_retrieve_calls_params.rb +17 -17
- data/lib/telnyx/models/text_to_speech_generate_speech_params.rb +129 -3
- data/lib/telnyx/models/text_to_speech_list_voices_params.rb +1 -0
- data/lib/telnyx/models/text_to_speech_retrieve_speech_params.rb +1 -1
- data/lib/telnyx/models/update_email_template_request.rb +54 -1
- data/lib/telnyx/models/wireless_private_wireless_gateway.rb +120 -0
- data/lib/telnyx/models.rb +10 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/memory/namespaces/profiles/memories.rb +122 -0
- data/lib/telnyx/resources/ai/memory/namespaces/profiles/sources.rb +163 -0
- data/lib/telnyx/resources/ai/memory/namespaces/profiles.rb +244 -0
- data/lib/telnyx/resources/ai/memory/namespaces/settings.rb +76 -0
- data/lib/telnyx/resources/ai/memory/namespaces.rb +55 -0
- data/lib/telnyx/resources/ai/memory.rb +21 -0
- data/lib/telnyx/resources/ai/typesafe/v1.rb +20 -11
- data/lib/telnyx/resources/ai/typesafe.rb +1 -1
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/calls/actions.rb +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/email_blocks/imports.rb +17 -3
- data/lib/telnyx/resources/email_blocks.rb +5 -3
- data/lib/telnyx/resources/email_domains.rb +28 -0
- data/lib/telnyx/resources/email_events.rb +21 -9
- data/lib/telnyx/resources/email_messages.rb +57 -13
- data/lib/telnyx/resources/email_templates.rb +33 -3
- data/lib/telnyx/resources/meeting_sessions/actions.rb +7 -1
- data/lib/telnyx/resources/meeting_sessions/artifacts.rb +18 -9
- data/lib/telnyx/resources/meeting_sessions.rb +6 -5
- data/lib/telnyx/resources/private_wireless_gateways.rb +5 -3
- data/lib/telnyx/resources/texml/accounts/calls.rb +9 -9
- data/lib/telnyx/resources/text_to_speech.rb +6 -4
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +42 -1
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +56 -5
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -4
- data/rbi/telnyx/models/ai/collection.rbi +10 -4
- data/rbi/telnyx/models/ai/collections/collections_source.rbi +110 -0
- data/rbi/telnyx/models/ai/collections/source.rbi +36 -62
- data/rbi/telnyx/models/ai/collections/source_create_response.rbi +14 -6
- data/rbi/telnyx/models/ai/collections/source_list_response.rbi +10 -4
- data/rbi/telnyx/models/ai/collections/source_replace_response.rbi +11 -4
- data/rbi/telnyx/models/ai/flow_node.rbi +8 -4
- data/rbi/telnyx/models/ai/flow_node_req.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +803 -0
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +23 -19
- data/rbi/telnyx/models/ai/memory/namespace_retrieve_params.rbi +50 -0
- data/rbi/telnyx/models/ai/memory/namespace_retrieve_response.rbi +167 -0
- data/rbi/telnyx/models/ai/memory/namespaces/namespace_settings_response.rbi +156 -0
- data/rbi/telnyx/models/ai/memory/namespaces/page_meta.rbi +81 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_delete_params.rbi +58 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_delete_response.rbi +97 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbi +149 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_response.rbi +113 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_list_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_list_response.rbi +48 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_recall_params.rbi +68 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_recall_response.rbi +109 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_remember_params.rbi +57 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_remember_response.rbi +107 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rbi +58 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rbi +119 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rbi +102 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rbi +72 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rbi +70 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rbi +129 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rbi +117 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rbi +92 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rbi +74 -0
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbi +209 -0
- data/rbi/telnyx/models/ai/memory/namespaces/setting_list_params.rbi +49 -0
- data/rbi/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rbi +125 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +62 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +49 -9
- data/rbi/telnyx/models/ai/webhook_tool.rbi +23 -3
- data/rbi/telnyx/models/artifact_completed_webhook_event.rbi +30 -0
- data/rbi/telnyx/models/artifact_failed_webhook_event.rbi +20 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +22 -5
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +22 -5
- data/rbi/telnyx/models/calls/soniox_voice_settings.rbi +86 -0
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +22 -5
- data/rbi/telnyx/models/conversation_relay_embedded_config.rbi +22 -5
- data/rbi/telnyx/models/conversation_relay_language.rbi +10 -5
- data/rbi/telnyx/models/email_block.rbi +8 -0
- data/rbi/telnyx/models/email_blocks/email_block_import.rbi +6 -2
- data/rbi/telnyx/models/email_domain_rotate_dkim_params.rbi +35 -0
- data/rbi/telnyx/models/email_domain_rotate_dkim_response.rbi +487 -0
- data/rbi/telnyx/models/email_domains/email_webhook_event.rbi +20 -3
- data/rbi/telnyx/models/email_event_list_params.rbi +46 -11
- data/rbi/telnyx/models/email_event_list_response.rbi +599 -97
- data/rbi/telnyx/models/email_event_type.rbi +25 -0
- data/rbi/telnyx/models/email_inboxes/email_message.rbi +81 -3
- data/rbi/telnyx/models/email_message_batch_params.rbi +54 -20
- data/rbi/telnyx/models/email_message_create_params.rbi +80 -16
- data/rbi/telnyx/models/{email_message_retrieve_response.rbi → email_message_detail_response.rbi} +9 -16
- data/rbi/telnyx/models/email_message_list_params.rbi +40 -0
- data/rbi/telnyx/models/email_message_update_schedule_params.rbi +52 -0
- data/rbi/telnyx/models/email_messages/email_recipient.rbi +10 -0
- data/rbi/telnyx/models/email_messages/recipient_list_params.rbi +10 -0
- data/rbi/telnyx/models/email_template.rbi +84 -0
- data/rbi/telnyx/models/email_template_create_params.rbi +124 -0
- data/rbi/telnyx/models/email_webhook_recipient.rbi +68 -0
- data/rbi/telnyx/models/meeting_session.rbi +36 -10
- data/rbi/telnyx/models/meeting_session_create_params.rbi +112 -48
- data/rbi/telnyx/models/meeting_sessions/artifact_create_params.rbi +161 -24
- data/rbi/telnyx/models/meeting_sessions/meeting_session_artifact.rbi +30 -0
- data/rbi/telnyx/models/message_event.rbi +48 -1
- data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +24 -4
- data/rbi/telnyx/models/private_wireless_gateway_create_params.rbi +71 -0
- data/rbi/telnyx/models/private_wireless_gateway_create_response.rbi +4 -4
- data/rbi/telnyx/models/private_wireless_gateway_delete_response.rbi +4 -4
- data/rbi/telnyx/models/private_wireless_gateway_retrieve_response.rbi +4 -4
- data/rbi/telnyx/models/texml/accounts/call_retrieve_calls_params.rbi +22 -22
- data/rbi/telnyx/models/text_to_speech_generate_speech_params.rbi +311 -2
- data/rbi/telnyx/models/text_to_speech_list_voices_params.rbi +5 -0
- data/rbi/telnyx/models/text_to_speech_retrieve_speech_params.rbi +5 -5
- data/rbi/telnyx/models/update_email_template_request.rbi +90 -0
- data/rbi/telnyx/models/wireless_private_wireless_gateway.rbi +211 -0
- data/rbi/telnyx/models.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -2
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles/memories.rbi +94 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles/sources.rbi +117 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/profiles.rbi +196 -0
- data/rbi/telnyx/resources/ai/memory/namespaces/settings.rbi +67 -0
- data/rbi/telnyx/resources/ai/memory/namespaces.rbi +37 -0
- data/rbi/telnyx/resources/ai/memory.rbi +18 -0
- data/rbi/telnyx/resources/ai/typesafe/v1.rbi +20 -10
- data/rbi/telnyx/resources/ai/typesafe.rbi +1 -1
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/calls/actions.rbi +32 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +8 -1
- data/rbi/telnyx/resources/email_blocks/imports.rbi +17 -3
- data/rbi/telnyx/resources/email_blocks.rbi +5 -3
- data/rbi/telnyx/resources/email_domains.rbi +22 -0
- data/rbi/telnyx/resources/email_events.rbi +30 -9
- data/rbi/telnyx/resources/email_messages.rbi +100 -16
- data/rbi/telnyx/resources/email_templates.rbi +71 -0
- data/rbi/telnyx/resources/meeting_sessions/actions.rbi +7 -1
- data/rbi/telnyx/resources/meeting_sessions/artifacts.rbi +19 -8
- data/rbi/telnyx/resources/meeting_sessions.rbi +15 -7
- data/rbi/telnyx/resources/private_wireless_gateways.rbi +9 -1
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +6 -6
- data/rbi/telnyx/resources/text_to_speech.rbi +7 -3
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -6
- data/sig/telnyx/models/ai/assistant_tool.rbs +33 -3
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -6
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -6
- data/sig/telnyx/models/ai/collection.rbs +6 -6
- data/sig/telnyx/models/ai/collections/collections_source.rbs +65 -0
- data/sig/telnyx/models/ai/collections/source.rbs +18 -37
- data/sig/telnyx/models/ai/collections/source_create_response.rbs +9 -6
- data/sig/telnyx/models/ai/collections/source_list_response.rbs +8 -6
- data/sig/telnyx/models/ai/collections/source_replace_response.rbs +6 -6
- data/sig/telnyx/models/ai/flow_node.rbs +6 -6
- data/sig/telnyx/models/ai/flow_node_req.rbs +6 -6
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -6
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +308 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +13 -13
- data/sig/telnyx/models/ai/memory/namespace_retrieve_params.rbs +32 -0
- data/sig/telnyx/models/ai/memory/namespace_retrieve_response.rbs +69 -0
- data/sig/telnyx/models/ai/memory/namespaces/namespace_settings_response.rbs +59 -0
- data/sig/telnyx/models/ai/memory/namespaces/page_meta.rbs +41 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_delete_params.rbs +34 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_delete_response.rbs +41 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbs +69 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_response.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_list_params.rbs +42 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_list_response.rbs +22 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_recall_params.rbs +47 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_recall_response.rbs +53 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_remember_params.rbs +38 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_remember_response.rbs +49 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_params.rbs +34 -0
- data/sig/telnyx/models/ai/memory/namespaces/profile_retrieve_summary_response.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_list_params.rbs +63 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_list_response.rbs +43 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/memory_retrieve_response.rbs +65 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_delete_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_delete_response.rbs +55 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_list_params.rbs +58 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_params.rbs +40 -0
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbs +92 -0
- data/sig/telnyx/models/ai/memory/namespaces/setting_list_params.rbs +29 -0
- data/sig/telnyx/models/ai/memory/namespaces/setting_patch_all_params.rbs +47 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +21 -1
- data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +15 -4
- data/sig/telnyx/models/ai/webhook_tool.rbs +10 -3
- data/sig/telnyx/models/artifact_completed_webhook_event.rbs +16 -1
- data/sig/telnyx/models/artifact_failed_webhook_event.rbs +11 -1
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -0
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +1 -0
- data/sig/telnyx/models/calls/soniox_voice_settings.rbs +46 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -0
- data/sig/telnyx/models/conversation_relay_embedded_config.rbs +1 -0
- data/sig/telnyx/models/conversation_relay_language.rbs +1 -0
- data/sig/telnyx/models/email_domain_rotate_dkim_params.rbs +23 -0
- data/sig/telnyx/models/email_domain_rotate_dkim_response.rbs +195 -0
- data/sig/telnyx/models/email_domains/email_webhook_event.rbs +6 -0
- data/sig/telnyx/models/email_event_list_params.rbs +7 -7
- data/sig/telnyx/models/email_event_list_response.rbs +235 -59
- data/sig/telnyx/models/email_event_type.rbs +20 -0
- data/sig/telnyx/models/email_inboxes/email_message.rbs +43 -4
- data/sig/telnyx/models/{email_message_retrieve_response.rbs → email_message_detail_response.rbs} +6 -10
- data/sig/telnyx/models/email_message_list_params.rbs +18 -1
- data/sig/telnyx/models/email_message_update_schedule_params.rbs +28 -0
- data/sig/telnyx/models/email_messages/email_recipient.rbs +4 -0
- data/sig/telnyx/models/email_messages/recipient_list_params.rbs +4 -0
- data/sig/telnyx/models/email_template.rbs +29 -0
- data/sig/telnyx/models/email_template_create_params.rbs +33 -0
- data/sig/telnyx/models/email_webhook_recipient.rbs +46 -0
- data/sig/telnyx/models/meeting_session.rbs +20 -5
- data/sig/telnyx/models/meeting_session_create_params.rbs +28 -20
- data/sig/telnyx/models/meeting_sessions/artifact_create_params.rbs +53 -10
- data/sig/telnyx/models/meeting_sessions/meeting_session_artifact.rbs +16 -1
- data/sig/telnyx/models/message_event.rbs +10 -0
- data/sig/telnyx/models/numbers_phone_number_detailed.rbs +5 -0
- data/sig/telnyx/models/private_wireless_gateway_create_params.rbs +25 -1
- data/sig/telnyx/models/private_wireless_gateway_create_response.rbs +6 -6
- data/sig/telnyx/models/private_wireless_gateway_delete_response.rbs +6 -6
- data/sig/telnyx/models/private_wireless_gateway_retrieve_response.rbs +6 -6
- data/sig/telnyx/models/texml/accounts/call_retrieve_calls_params.rbs +14 -14
- data/sig/telnyx/models/text_to_speech_generate_speech_params.rbs +114 -0
- data/sig/telnyx/models/text_to_speech_list_voices_params.rbs +2 -0
- data/sig/telnyx/models/text_to_speech_retrieve_speech_params.rbs +2 -2
- data/sig/telnyx/models/update_email_template_request.rbs +33 -0
- data/sig/telnyx/models/wireless_private_wireless_gateway.rbs +109 -0
- data/sig/telnyx/models.rbs +10 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/ai/memory/namespaces/profiles/memories.rbs +32 -0
- data/sig/telnyx/resources/ai/memory/namespaces/profiles/sources.rbs +38 -0
- data/sig/telnyx/resources/ai/memory/namespaces/profiles.rbs +59 -0
- data/sig/telnyx/resources/ai/memory/namespaces/settings.rbs +24 -0
- data/sig/telnyx/resources/ai/memory/namespaces.rbs +21 -0
- data/sig/telnyx/resources/ai/memory.rbs +11 -0
- data/sig/telnyx/resources/ai/typesafe/v1.rbs +1 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/email_domains.rbs +5 -0
- data/sig/telnyx/resources/email_events.rbs +2 -2
- data/sig/telnyx/resources/email_messages.rbs +9 -1
- data/sig/telnyx/resources/email_templates.rbs +9 -0
- data/sig/telnyx/resources/meeting_sessions/artifacts.rbs +1 -1
- data/sig/telnyx/resources/meeting_sessions.rbs +1 -0
- data/sig/telnyx/resources/private_wireless_gateways.rbs +2 -1
- data/sig/telnyx/resources/text_to_speech.rbs +1 -0
- metadata +128 -5
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
class InferenceEmbeddingVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute voice
|
|
8
|
+
# The voice to be used by the voice assistant. Check the full list of
|
|
9
|
+
# [available voices](https://developers.telnyx.com/docs/tts-stt/tts-available-voices)
|
|
10
|
+
# via our voices API. To use ElevenLabs, you must reference your ElevenLabs API
|
|
11
|
+
# key as an integration secret under the `api_key_ref` field. See
|
|
12
|
+
# [integration secrets documentation](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
13
|
+
# for details. For Telnyx voices, use `Telnyx.<model_id>.<voice_id>` (e.g.
|
|
14
|
+
# Telnyx.KokoroTTS.af_heart). For Soniox voices, use `Soniox.tts-rt-v2.<voice_id>`
|
|
15
|
+
# (e.g. Soniox.tts-rt-v2.Emma); every Soniox voice speaks all supported languages.
|
|
16
|
+
# The voice portion of the identifier supports
|
|
17
|
+
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
18
|
+
# using mustache syntax (e.g. `Telnyx.Ultra.{{voice_id}}`). The variable is
|
|
19
|
+
# resolved at call time from your dynamic variables webhook, allowing you to
|
|
20
|
+
# select the voice dynamically per call.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :voice, String
|
|
24
|
+
|
|
25
|
+
# @!attribute api_key_ref
|
|
26
|
+
# The `identifier` for an integration secret
|
|
27
|
+
# [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
28
|
+
# that refers to your ElevenLabs API key. Warning: Free plans are unlikely to work
|
|
29
|
+
# with this integration.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :api_key_ref, String
|
|
33
|
+
|
|
34
|
+
# @!attribute background_audio
|
|
35
|
+
# Optional background audio to play on the call. Use a predefined media bed, or
|
|
36
|
+
# supply a looped MP3 URL. If a media URL is chosen in the portal, customers can
|
|
37
|
+
# preview it before saving.
|
|
38
|
+
#
|
|
39
|
+
# @return [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2, nil]
|
|
40
|
+
optional :background_audio, union: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio }
|
|
41
|
+
|
|
42
|
+
# @!attribute expressive_mode
|
|
43
|
+
# Enables emotionally expressive speech using SSML emotion tags. When enabled, the
|
|
44
|
+
# assistant uses audio tags like angry, excited, content, and sad to add emotional
|
|
45
|
+
# nuance. Only supported for Telnyx Ultra voices.
|
|
46
|
+
#
|
|
47
|
+
# @return [Boolean, nil]
|
|
48
|
+
optional :expressive_mode, Telnyx::Internal::Type::Boolean
|
|
49
|
+
|
|
50
|
+
# @!attribute language_boost
|
|
51
|
+
# Enhances recognition for specific languages and dialects during MiniMax TTS
|
|
52
|
+
# synthesis. Default is null (no boost). Set to 'auto' for automatic language
|
|
53
|
+
# detection. Only applicable when using MiniMax voices.
|
|
54
|
+
#
|
|
55
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::LanguageBoost, nil]
|
|
56
|
+
optional :language_boost,
|
|
57
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::LanguageBoost },
|
|
58
|
+
nil?: true
|
|
59
|
+
|
|
60
|
+
# @!attribute similarity_boost
|
|
61
|
+
# Determines how closely the AI should adhere to the original voice when
|
|
62
|
+
# attempting to replicate it. Only applicable when using ElevenLabs.
|
|
63
|
+
#
|
|
64
|
+
# @return [Float, nil]
|
|
65
|
+
optional :similarity_boost, Float
|
|
66
|
+
|
|
67
|
+
# @!attribute speed
|
|
68
|
+
# Adjusts speech velocity. 1.0 is default speed; values less than 1.0 slow speech;
|
|
69
|
+
# values greater than 1.0 accelerate it. Only applicable when using ElevenLabs.
|
|
70
|
+
#
|
|
71
|
+
# @return [Float, nil]
|
|
72
|
+
optional :speed, Float
|
|
73
|
+
|
|
74
|
+
# @!attribute style
|
|
75
|
+
# Determines the style exaggeration of the voice. Amplifies speaker style but
|
|
76
|
+
# consumes additional resources when set above 0. Only applicable when using
|
|
77
|
+
# ElevenLabs.
|
|
78
|
+
#
|
|
79
|
+
# @return [Float, nil]
|
|
80
|
+
optional :style, Float
|
|
81
|
+
|
|
82
|
+
# @!attribute temperature
|
|
83
|
+
# Determines how stable the voice is and the randomness between each generation.
|
|
84
|
+
# Lower values create a broader emotional range; higher values produce more
|
|
85
|
+
# consistent, monotonous output. Only applicable when using ElevenLabs.
|
|
86
|
+
#
|
|
87
|
+
# @return [Float, nil]
|
|
88
|
+
optional :temperature, Float
|
|
89
|
+
|
|
90
|
+
# @!attribute use_speaker_boost
|
|
91
|
+
# Amplifies similarity to the original speaker voice. Increases computational load
|
|
92
|
+
# and latency slightly. Only applicable when using ElevenLabs.
|
|
93
|
+
#
|
|
94
|
+
# @return [Boolean, nil]
|
|
95
|
+
optional :use_speaker_boost, Telnyx::Internal::Type::Boolean
|
|
96
|
+
|
|
97
|
+
# @!attribute voice_speed
|
|
98
|
+
# The speed of the voice in the range [0.25, 2.0]. 1.0 is deafult speed. Larger
|
|
99
|
+
# numbers make the voice faster, smaller numbers make it slower. This is only
|
|
100
|
+
# applicable for Telnyx Natural voices and Soniox voices (0.7 to 1.3 for Soniox).
|
|
101
|
+
#
|
|
102
|
+
# @return [Float, nil]
|
|
103
|
+
optional :voice_speed, Float
|
|
104
|
+
|
|
105
|
+
# @!method initialize(voice:, api_key_ref: nil, background_audio: nil, expressive_mode: nil, language_boost: nil, similarity_boost: nil, speed: nil, style: nil, temperature: nil, use_speaker_boost: nil, voice_speed: nil)
|
|
106
|
+
# Some parameter documentations has been truncated, see
|
|
107
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings} for more details.
|
|
108
|
+
#
|
|
109
|
+
# @param voice [String] The voice to be used by the voice assistant. Check the full list of [available v
|
|
110
|
+
#
|
|
111
|
+
# @param api_key_ref [String] The `identifier` for an integration secret [/v2/integration_secrets](https://dev
|
|
112
|
+
#
|
|
113
|
+
# @param background_audio [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2] Optional background audio to play on the call. Use a predefined media bed, or su
|
|
114
|
+
#
|
|
115
|
+
# @param expressive_mode [Boolean] Enables emotionally expressive speech using SSML emotion tags. When enabled, the
|
|
116
|
+
#
|
|
117
|
+
# @param language_boost [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::LanguageBoost, nil] Enhances recognition for specific languages and dialects during MiniMax TTS synt
|
|
118
|
+
#
|
|
119
|
+
# @param similarity_boost [Float] Determines how closely the AI should adhere to the original voice when attemptin
|
|
120
|
+
#
|
|
121
|
+
# @param speed [Float] Adjusts speech velocity. 1.0 is default speed; values less than 1.0 slow speech;
|
|
122
|
+
#
|
|
123
|
+
# @param style [Float] Determines the style exaggeration of the voice. Amplifies speaker style but cons
|
|
124
|
+
#
|
|
125
|
+
# @param temperature [Float] Determines how stable the voice is and the randomness between each generation. L
|
|
126
|
+
#
|
|
127
|
+
# @param use_speaker_boost [Boolean] Amplifies similarity to the original speaker voice. Increases computational load
|
|
128
|
+
#
|
|
129
|
+
# @param voice_speed [Float] The speed of the voice in the range [0.25, 2.0]. 1.0 is deafult speed. Larger nu
|
|
130
|
+
|
|
131
|
+
# Optional background audio to play on the call. Use a predefined media bed, or
|
|
132
|
+
# supply a looped MP3 URL. If a media URL is chosen in the portal, customers can
|
|
133
|
+
# preview it before saving.
|
|
134
|
+
#
|
|
135
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings#background_audio
|
|
136
|
+
module BackgroundAudio
|
|
137
|
+
extend Telnyx::Internal::Type::Union
|
|
138
|
+
|
|
139
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0 }
|
|
140
|
+
|
|
141
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1 }
|
|
142
|
+
|
|
143
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2 }
|
|
144
|
+
|
|
145
|
+
class UnionMember0 < Telnyx::Internal::Type::BaseModel
|
|
146
|
+
# @!attribute type
|
|
147
|
+
# Select from predefined media options.
|
|
148
|
+
#
|
|
149
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Type]
|
|
150
|
+
required :type,
|
|
151
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Type }
|
|
152
|
+
|
|
153
|
+
# @!attribute value
|
|
154
|
+
# The predefined media to use. `silence` disables background audio.
|
|
155
|
+
#
|
|
156
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Value]
|
|
157
|
+
required :value,
|
|
158
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Value }
|
|
159
|
+
|
|
160
|
+
# @!attribute volume
|
|
161
|
+
# Volume level for the predefined background audio. Supports values from 0.1 to
|
|
162
|
+
# 1.0 in 0.1 increments.
|
|
163
|
+
#
|
|
164
|
+
# @return [Float, nil]
|
|
165
|
+
optional :volume, Float
|
|
166
|
+
|
|
167
|
+
# @!method initialize(type:, value:, volume: nil)
|
|
168
|
+
# Some parameter documentations has been truncated, see
|
|
169
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0}
|
|
170
|
+
# for more details.
|
|
171
|
+
#
|
|
172
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Type] Select from predefined media options.
|
|
173
|
+
#
|
|
174
|
+
# @param value [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0::Value] The predefined media to use. `silence` disables background audio.
|
|
175
|
+
#
|
|
176
|
+
# @param volume [Float] Volume level for the predefined background audio. Supports values from 0.1 to 1.
|
|
177
|
+
|
|
178
|
+
# Select from predefined media options.
|
|
179
|
+
#
|
|
180
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0#type
|
|
181
|
+
module Type
|
|
182
|
+
extend Telnyx::Internal::Type::Enum
|
|
183
|
+
|
|
184
|
+
PREDEFINED_MEDIA = :predefined_media
|
|
185
|
+
|
|
186
|
+
# @!method self.values
|
|
187
|
+
# @return [Array<Symbol>]
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# The predefined media to use. `silence` disables background audio.
|
|
191
|
+
#
|
|
192
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0#value
|
|
193
|
+
module Value
|
|
194
|
+
extend Telnyx::Internal::Type::Enum
|
|
195
|
+
|
|
196
|
+
SILENCE = :silence
|
|
197
|
+
OFFICE = :office
|
|
198
|
+
|
|
199
|
+
# @!method self.values
|
|
200
|
+
# @return [Array<Symbol>]
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class UnionMember1 < Telnyx::Internal::Type::BaseModel
|
|
205
|
+
# @!attribute type
|
|
206
|
+
# Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
207
|
+
#
|
|
208
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1::Type]
|
|
209
|
+
required :type,
|
|
210
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1::Type }
|
|
211
|
+
|
|
212
|
+
# @!attribute value
|
|
213
|
+
# HTTPS URL to an MP3 file.
|
|
214
|
+
#
|
|
215
|
+
# @return [String]
|
|
216
|
+
required :value, String
|
|
217
|
+
|
|
218
|
+
# @!method initialize(type:, value:)
|
|
219
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1::Type] Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
220
|
+
#
|
|
221
|
+
# @param value [String] HTTPS URL to an MP3 file.
|
|
222
|
+
|
|
223
|
+
# Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
224
|
+
#
|
|
225
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1#type
|
|
226
|
+
module Type
|
|
227
|
+
extend Telnyx::Internal::Type::Enum
|
|
228
|
+
|
|
229
|
+
MEDIA_URL = :media_url
|
|
230
|
+
|
|
231
|
+
# @!method self.values
|
|
232
|
+
# @return [Array<Symbol>]
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
class UnionMember2 < Telnyx::Internal::Type::BaseModel
|
|
237
|
+
# @!attribute type
|
|
238
|
+
# Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
239
|
+
#
|
|
240
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2::Type]
|
|
241
|
+
required :type,
|
|
242
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2::Type }
|
|
243
|
+
|
|
244
|
+
# @!attribute value
|
|
245
|
+
# The `name` of a media asset created via
|
|
246
|
+
# [Media Storage API](https://developers.telnyx.com/api/media-storage/create-media-storage).
|
|
247
|
+
# The audio will loop during the call.
|
|
248
|
+
#
|
|
249
|
+
# @return [String]
|
|
250
|
+
required :value, String
|
|
251
|
+
|
|
252
|
+
# @!method initialize(type:, value:)
|
|
253
|
+
# Some parameter documentations has been truncated, see
|
|
254
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2}
|
|
255
|
+
# for more details.
|
|
256
|
+
#
|
|
257
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2::Type] Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
258
|
+
#
|
|
259
|
+
# @param value [String] The `name` of a media asset created via [Media Storage API](https://developers.t
|
|
260
|
+
|
|
261
|
+
# Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
262
|
+
#
|
|
263
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2#type
|
|
264
|
+
module Type
|
|
265
|
+
extend Telnyx::Internal::Type::Enum
|
|
266
|
+
|
|
267
|
+
MEDIA_NAME = :media_name
|
|
268
|
+
|
|
269
|
+
# @!method self.values
|
|
270
|
+
# @return [Array<Symbol>]
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# @!method self.variants
|
|
275
|
+
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember0, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2)]
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Enhances recognition for specific languages and dialects during MiniMax TTS
|
|
279
|
+
# synthesis. Default is null (no boost). Set to 'auto' for automatic language
|
|
280
|
+
# detection. Only applicable when using MiniMax voices.
|
|
281
|
+
#
|
|
282
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings#language_boost
|
|
283
|
+
module LanguageBoost
|
|
284
|
+
extend Telnyx::Internal::Type::Enum
|
|
285
|
+
|
|
286
|
+
AUTO = :auto
|
|
287
|
+
CHINESE = :Chinese
|
|
288
|
+
CHINESE_YUE = :"Chinese,Yue"
|
|
289
|
+
ENGLISH = :English
|
|
290
|
+
ARABIC = :Arabic
|
|
291
|
+
RUSSIAN = :Russian
|
|
292
|
+
SPANISH = :Spanish
|
|
293
|
+
FRENCH = :French
|
|
294
|
+
PORTUGUESE = :Portuguese
|
|
295
|
+
GERMAN = :German
|
|
296
|
+
TURKISH = :Turkish
|
|
297
|
+
DUTCH = :Dutch
|
|
298
|
+
UKRAINIAN = :Ukrainian
|
|
299
|
+
VIETNAMESE = :Vietnamese
|
|
300
|
+
INDONESIAN = :Indonesian
|
|
301
|
+
JAPANESE = :Japanese
|
|
302
|
+
ITALIAN = :Italian
|
|
303
|
+
KOREAN = :Korean
|
|
304
|
+
THAI = :Thai
|
|
305
|
+
POLISH = :Polish
|
|
306
|
+
ROMANIAN = :Romanian
|
|
307
|
+
GREEK = :Greek
|
|
308
|
+
CZECH = :Czech
|
|
309
|
+
FINNISH = :Finnish
|
|
310
|
+
HINDI = :Hindi
|
|
311
|
+
BULGARIAN = :Bulgarian
|
|
312
|
+
DANISH = :Danish
|
|
313
|
+
HEBREW = :Hebrew
|
|
314
|
+
MALAY = :Malay
|
|
315
|
+
PERSIAN = :Persian
|
|
316
|
+
SLOVAK = :Slovak
|
|
317
|
+
SWEDISH = :Swedish
|
|
318
|
+
CROATIAN = :Croatian
|
|
319
|
+
FILIPINO = :Filipino
|
|
320
|
+
HUNGARIAN = :Hungarian
|
|
321
|
+
NORWEGIAN = :Norwegian
|
|
322
|
+
SLOVENIAN = :Slovenian
|
|
323
|
+
CATALAN = :Catalan
|
|
324
|
+
NYNORSK = :Nynorsk
|
|
325
|
+
TAMIL = :Tamil
|
|
326
|
+
AFRIKAANS = :Afrikaans
|
|
327
|
+
|
|
328
|
+
# @!method self.values
|
|
329
|
+
# @return [Array<Symbol>]
|
|
330
|
+
end
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
end
|
|
@@ -14,6 +14,15 @@ module Telnyx
|
|
|
14
14
|
# @return [Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook]
|
|
15
15
|
required :webhook, -> { Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook }
|
|
16
16
|
|
|
17
|
+
# @!attribute timeout_ms
|
|
18
|
+
# The maximum number of milliseconds to wait for the webhook to respond before the
|
|
19
|
+
# tool call is aborted. Set this at the tool level, as a sibling of `type` — a
|
|
20
|
+
# `timeout_ms` nested inside the `webhook` object is stored but not applied, and
|
|
21
|
+
# the tool runs at this default instead. Applies when `webhook.async` is false.
|
|
22
|
+
#
|
|
23
|
+
# @return [Integer, nil]
|
|
24
|
+
optional :timeout_ms, Integer
|
|
25
|
+
|
|
17
26
|
response_only do
|
|
18
27
|
# @!attribute shared
|
|
19
28
|
# Whether this tool comes from the shared Tools Library. Responses merge shared
|
|
@@ -28,7 +37,7 @@ module Telnyx
|
|
|
28
37
|
optional :shared, Telnyx::Internal::Type::Boolean
|
|
29
38
|
end
|
|
30
39
|
|
|
31
|
-
# @!method initialize(type:, webhook:, shared: nil)
|
|
40
|
+
# @!method initialize(type:, webhook:, shared: nil, timeout_ms: nil)
|
|
32
41
|
# Some parameter documentations has been truncated, see
|
|
33
42
|
# {Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams} for more details.
|
|
34
43
|
#
|
|
@@ -37,6 +46,8 @@ module Telnyx
|
|
|
37
46
|
# @param webhook [Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook]
|
|
38
47
|
#
|
|
39
48
|
# @param shared [Boolean] Whether this tool comes from the shared Tools Library. Responses merge shared to
|
|
49
|
+
#
|
|
50
|
+
# @param timeout_ms [Integer] The maximum number of milliseconds to wait for the webhook to respond before the
|
|
40
51
|
|
|
41
52
|
# @see Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams#type
|
|
42
53
|
module Type
|
|
@@ -176,14 +187,7 @@ module Telnyx
|
|
|
176
187
|
optional :store_fields_as_variables,
|
|
177
188
|
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable] }
|
|
178
189
|
|
|
179
|
-
# @!
|
|
180
|
-
# The maximum number of milliseconds to wait for the webhook to respond. Only
|
|
181
|
-
# applicable when async is false.
|
|
182
|
-
#
|
|
183
|
-
# @return [Integer, nil]
|
|
184
|
-
optional :timeout_ms, Integer
|
|
185
|
-
|
|
186
|
-
# @!method initialize(description:, name:, url:, async: nil, async_timeout_ms: nil, body_parameters: nil, headers: nil, messages: nil, http_method: nil, path_parameters: nil, preset_body_fields: nil, preset_query_params: nil, query_parameters: nil, store_fields_as_variables: nil, timeout_ms: nil)
|
|
190
|
+
# @!method initialize(description:, name:, url:, async: nil, async_timeout_ms: nil, body_parameters: nil, headers: nil, messages: nil, http_method: nil, path_parameters: nil, preset_body_fields: nil, preset_query_params: nil, query_parameters: nil, store_fields_as_variables: nil)
|
|
187
191
|
# Some parameter documentations has been truncated, see
|
|
188
192
|
# {Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook} for more
|
|
189
193
|
# details.
|
|
@@ -215,8 +219,6 @@ module Telnyx
|
|
|
215
219
|
# @param query_parameters [Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::QueryParameters] The query parameters the webhook tool accepts, described as a JSON Schema object
|
|
216
220
|
#
|
|
217
221
|
# @param store_fields_as_variables [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook::StoreFieldsAsVariable>] A list of mappings that extract values from the webhook response and store them
|
|
218
|
-
#
|
|
219
|
-
# @param timeout_ms [Integer] The maximum number of milliseconds to wait for the webhook to respond. Only appl
|
|
220
222
|
|
|
221
223
|
# @see Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams::Webhook#body_parameters
|
|
222
224
|
class BodyParameters < Telnyx::Internal::Type::BaseModel
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
# @see Telnyx::Resources::AI::Memory::Namespaces#retrieve
|
|
8
|
+
class NamespaceRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute namespace
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :namespace, String
|
|
16
|
+
|
|
17
|
+
# @!attribute operation_id
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :operation_id, String
|
|
21
|
+
|
|
22
|
+
# @!method initialize(namespace:, operation_id:, request_options: {})
|
|
23
|
+
# @param namespace [String]
|
|
24
|
+
# @param operation_id [String]
|
|
25
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
# @see Telnyx::Resources::AI::Memory::Namespaces#retrieve
|
|
8
|
+
class NamespaceRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute data
|
|
10
|
+
#
|
|
11
|
+
# @return [Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data]
|
|
12
|
+
required :data, -> { Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data }
|
|
13
|
+
|
|
14
|
+
# @!method initialize(data:)
|
|
15
|
+
# @param data [Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data]
|
|
16
|
+
|
|
17
|
+
# @see Telnyx::Models::AI::Memory::NamespaceRetrieveResponse#data
|
|
18
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
19
|
+
# @!attribute operation_id
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :operation_id, String
|
|
23
|
+
|
|
24
|
+
# @!attribute status
|
|
25
|
+
# Where the write is. `completed`, `failed` and `cancelled` are terminal: stop
|
|
26
|
+
# polling at any of them, and treat `failed` and `cancelled` as writes that did
|
|
27
|
+
# not happen.
|
|
28
|
+
#
|
|
29
|
+
# @return [Symbol, Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data::Status]
|
|
30
|
+
required :status, enum: -> { Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data::Status }
|
|
31
|
+
|
|
32
|
+
# @!attribute completed_at
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :completed_at, String, nil?: true
|
|
36
|
+
|
|
37
|
+
# @!attribute created_at
|
|
38
|
+
#
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
optional :created_at, String, nil?: true
|
|
41
|
+
|
|
42
|
+
# @!method initialize(operation_id:, status:, completed_at: nil, created_at: nil)
|
|
43
|
+
# Some parameter documentations has been truncated, see
|
|
44
|
+
# {Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data} for more details.
|
|
45
|
+
#
|
|
46
|
+
# @param operation_id [String]
|
|
47
|
+
#
|
|
48
|
+
# @param status [Symbol, Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data::Status] Where the write is. `completed`, `failed` and `cancelled` are terminal: stop pol
|
|
49
|
+
#
|
|
50
|
+
# @param completed_at [String, nil]
|
|
51
|
+
#
|
|
52
|
+
# @param created_at [String, nil]
|
|
53
|
+
|
|
54
|
+
# Where the write is. `completed`, `failed` and `cancelled` are terminal: stop
|
|
55
|
+
# polling at any of them, and treat `failed` and `cancelled` as writes that did
|
|
56
|
+
# not happen.
|
|
57
|
+
#
|
|
58
|
+
# @see Telnyx::Models::AI::Memory::NamespaceRetrieveResponse::Data#status
|
|
59
|
+
module Status
|
|
60
|
+
extend Telnyx::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
PENDING = :pending
|
|
63
|
+
PROCESSING = :processing
|
|
64
|
+
COMPLETED = :completed
|
|
65
|
+
FAILED = :failed
|
|
66
|
+
CANCELLED = :cancelled
|
|
67
|
+
|
|
68
|
+
# @!method self.values
|
|
69
|
+
# @return [Array<Symbol>]
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
module Namespaces
|
|
8
|
+
# @see Telnyx::Resources::AI::Memory::Namespaces::Settings#list
|
|
9
|
+
class NamespaceSettingsResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
# @!attribute data
|
|
11
|
+
# A namespace's settings, grouped by what they affect.
|
|
12
|
+
#
|
|
13
|
+
# @return [Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data]
|
|
14
|
+
required :data, -> { Telnyx::AI::Memory::Namespaces::NamespaceSettingsResponse::Data }
|
|
15
|
+
|
|
16
|
+
# @!method initialize(data:)
|
|
17
|
+
# @param data [Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data] A namespace's settings, grouped by what they affect.
|
|
18
|
+
|
|
19
|
+
# @see Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse#data
|
|
20
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
21
|
+
# @!attribute summary
|
|
22
|
+
# Settings that shape this namespace's summaries.
|
|
23
|
+
#
|
|
24
|
+
# @return [Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data::Summary, nil]
|
|
25
|
+
optional :summary, -> { Telnyx::AI::Memory::Namespaces::NamespaceSettingsResponse::Data::Summary }
|
|
26
|
+
|
|
27
|
+
# @!method initialize(summary: nil)
|
|
28
|
+
# A namespace's settings, grouped by what they affect.
|
|
29
|
+
#
|
|
30
|
+
# @param summary [Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data::Summary] Settings that shape this namespace's summaries.
|
|
31
|
+
|
|
32
|
+
# @see Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data#summary
|
|
33
|
+
class Summary < Telnyx::Internal::Type::BaseModel
|
|
34
|
+
# @!attribute instructions
|
|
35
|
+
# Free-form instructions that influence how this namespace's summaries are
|
|
36
|
+
# written, shared by every profile in the namespace. How you use them is up to you
|
|
37
|
+
# -- they steer the outcome, so try a phrasing and see how the summary comes out.
|
|
38
|
+
# Advisory: they steer the summary but never override or deny a profile's own
|
|
39
|
+
# facts, and they do not affect recall. Null or empty means none are set, and
|
|
40
|
+
# summaries use the neutral default. A change reaches each summary the next time
|
|
41
|
+
# it is regenerated.
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :instructions, String, nil?: true
|
|
45
|
+
|
|
46
|
+
# @!method initialize(instructions: nil)
|
|
47
|
+
# Some parameter documentations has been truncated, see
|
|
48
|
+
# {Telnyx::Models::AI::Memory::Namespaces::NamespaceSettingsResponse::Data::Summary}
|
|
49
|
+
# for more details.
|
|
50
|
+
#
|
|
51
|
+
# Settings that shape this namespace's summaries.
|
|
52
|
+
#
|
|
53
|
+
# @param instructions [String, nil] Free-form instructions that influence how this namespace's summaries are written
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
NamespaceSettingsResponse = Namespaces::NamespaceSettingsResponse
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
module Namespaces
|
|
8
|
+
class PageMeta < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute page_number
|
|
10
|
+
# The page returned, counting from 1.
|
|
11
|
+
#
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
required :page_number, Integer
|
|
14
|
+
|
|
15
|
+
# @!attribute page_size
|
|
16
|
+
# How many results a page holds.
|
|
17
|
+
#
|
|
18
|
+
# @return [Integer]
|
|
19
|
+
required :page_size, Integer
|
|
20
|
+
|
|
21
|
+
# @!attribute total_pages
|
|
22
|
+
# Pages that can be requested; 0 when nothing matched. Page until `page_number`
|
|
23
|
+
# reaches it rather than until a page comes back short: a page can hold fewer than
|
|
24
|
+
# `page_size` results without being the last. Capped at the deepest page served,
|
|
25
|
+
# so on a very large listing it covers fewer results than `total_results`.
|
|
26
|
+
#
|
|
27
|
+
# @return [Integer]
|
|
28
|
+
required :total_pages, Integer
|
|
29
|
+
|
|
30
|
+
# @!attribute total_results
|
|
31
|
+
# Results the request matched, including any past the deepest page.
|
|
32
|
+
#
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
required :total_results, Integer
|
|
35
|
+
|
|
36
|
+
# @!method initialize(page_number:, page_size:, total_pages:, total_results:)
|
|
37
|
+
# Some parameter documentations has been truncated, see
|
|
38
|
+
# {Telnyx::Models::AI::Memory::Namespaces::PageMeta} for more details.
|
|
39
|
+
#
|
|
40
|
+
# Where a listing's page sits in the whole.
|
|
41
|
+
#
|
|
42
|
+
# A page is a snapshot: the counts it reports and the order it is drawn in both
|
|
43
|
+
# move as writes land, so paging through a busy namespace can repeat or miss an
|
|
44
|
+
# entry at a page boundary.
|
|
45
|
+
#
|
|
46
|
+
# @param page_number [Integer] The page returned, counting from 1.
|
|
47
|
+
#
|
|
48
|
+
# @param page_size [Integer] How many results a page holds.
|
|
49
|
+
#
|
|
50
|
+
# @param total_pages [Integer] Pages that can be requested; 0 when nothing matched. Page until `page_number` re
|
|
51
|
+
#
|
|
52
|
+
# @param total_results [Integer] Results the request matched, including any past the deepest page.
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
module Namespaces
|
|
8
|
+
# @see Telnyx::Resources::AI::Memory::Namespaces::Profiles#delete
|
|
9
|
+
class ProfileDeleteParams < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
11
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
12
|
+
|
|
13
|
+
# @!attribute namespace
|
|
14
|
+
# The namespace. `default` exists for every organization.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :namespace, String
|
|
18
|
+
|
|
19
|
+
# @!attribute profile_id
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :profile_id, String
|
|
23
|
+
|
|
24
|
+
# @!method initialize(namespace:, profile_id:, request_options: {})
|
|
25
|
+
# @param namespace [String] The namespace. `default` exists for every organization.
|
|
26
|
+
#
|
|
27
|
+
# @param profile_id [String]
|
|
28
|
+
#
|
|
29
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|