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,125 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module AI
|
|
6
|
+
module Memory
|
|
7
|
+
module Namespaces
|
|
8
|
+
class SettingPatchAllParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
OrHash =
|
|
13
|
+
T.type_alias do
|
|
14
|
+
T.any(
|
|
15
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams,
|
|
16
|
+
Telnyx::Internal::AnyHash
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# The namespace. `default` exists for every organization.
|
|
21
|
+
sig { returns(String) }
|
|
22
|
+
attr_accessor :namespace
|
|
23
|
+
|
|
24
|
+
# A partial update to a namespace's summary settings.
|
|
25
|
+
#
|
|
26
|
+
# Only the fields present in the request are changed; the rest are left as they
|
|
27
|
+
# are. Sending `instructions: null` (or empty) clears the instructions.
|
|
28
|
+
sig do
|
|
29
|
+
returns(
|
|
30
|
+
T.nilable(
|
|
31
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams::Summary
|
|
32
|
+
)
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
attr_reader :summary
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(
|
|
39
|
+
summary:
|
|
40
|
+
T.nilable(
|
|
41
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams::Summary::OrHash
|
|
42
|
+
)
|
|
43
|
+
).void
|
|
44
|
+
end
|
|
45
|
+
attr_writer :summary
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
namespace: String,
|
|
50
|
+
summary:
|
|
51
|
+
T.nilable(
|
|
52
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams::Summary::OrHash
|
|
53
|
+
),
|
|
54
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
55
|
+
).returns(T.attached_class)
|
|
56
|
+
end
|
|
57
|
+
def self.new(
|
|
58
|
+
# The namespace. `default` exists for every organization.
|
|
59
|
+
namespace:,
|
|
60
|
+
# A partial update to a namespace's summary settings.
|
|
61
|
+
#
|
|
62
|
+
# Only the fields present in the request are changed; the rest are left as they
|
|
63
|
+
# are. Sending `instructions: null` (or empty) clears the instructions.
|
|
64
|
+
summary: nil,
|
|
65
|
+
request_options: {}
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
sig do
|
|
70
|
+
override.returns(
|
|
71
|
+
{
|
|
72
|
+
namespace: String,
|
|
73
|
+
summary:
|
|
74
|
+
T.nilable(
|
|
75
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams::Summary
|
|
76
|
+
),
|
|
77
|
+
request_options: Telnyx::RequestOptions
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
def to_hash
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
class Summary < Telnyx::Internal::Type::BaseModel
|
|
85
|
+
OrHash =
|
|
86
|
+
T.type_alias do
|
|
87
|
+
T.any(
|
|
88
|
+
Telnyx::AI::Memory::Namespaces::SettingPatchAllParams::Summary,
|
|
89
|
+
Telnyx::Internal::AnyHash
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Replace the namespace's summary instructions. Null or empty clears them and
|
|
94
|
+
# returns to the neutral default. Omit the field to leave the current instructions
|
|
95
|
+
# unchanged.
|
|
96
|
+
sig { returns(T.nilable(String)) }
|
|
97
|
+
attr_accessor :instructions
|
|
98
|
+
|
|
99
|
+
# A partial update to a namespace's summary settings.
|
|
100
|
+
#
|
|
101
|
+
# Only the fields present in the request are changed; the rest are left as they
|
|
102
|
+
# are. Sending `instructions: null` (or empty) clears the instructions.
|
|
103
|
+
sig do
|
|
104
|
+
params(instructions: T.nilable(String)).returns(
|
|
105
|
+
T.attached_class
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
def self.new(
|
|
109
|
+
# Replace the namespace's summary instructions. Null or empty clears them and
|
|
110
|
+
# returns to the neutral default. Omit the field to leave the current instructions
|
|
111
|
+
# unchanged.
|
|
112
|
+
instructions: nil
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
sig { override.returns({ instructions: T.nilable(String) }) }
|
|
117
|
+
def to_hash
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
@@ -37,6 +37,26 @@ module Telnyx
|
|
|
37
37
|
end
|
|
38
38
|
attr_accessor :state
|
|
39
39
|
|
|
40
|
+
# Public model alias. telnyx/decision-flash offers the lowest cost and latency;
|
|
41
|
+
# telnyx/decision-pro supports decisions that require long context, including
|
|
42
|
+
# inputs beyond Jev’s 32k per-decision limit. Applies to every question in the
|
|
43
|
+
# request. Other values are rejected.
|
|
44
|
+
sig do
|
|
45
|
+
returns(
|
|
46
|
+
T.nilable(
|
|
47
|
+
Telnyx::AI::Typesafe::V1SystemoneParams::Model::OrSymbol
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
end
|
|
51
|
+
attr_reader :model
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
model: Telnyx::AI::Typesafe::V1SystemoneParams::Model::OrSymbol
|
|
56
|
+
).void
|
|
57
|
+
end
|
|
58
|
+
attr_writer :model
|
|
59
|
+
|
|
40
60
|
sig do
|
|
41
61
|
params(
|
|
42
62
|
questions:
|
|
@@ -49,6 +69,7 @@ module Telnyx
|
|
|
49
69
|
)
|
|
50
70
|
],
|
|
51
71
|
state: Telnyx::AI::Typesafe::V1SystemoneParams::State::Variants,
|
|
72
|
+
model: Telnyx::AI::Typesafe::V1SystemoneParams::Model::OrSymbol,
|
|
52
73
|
request_options: Telnyx::RequestOptions::OrHash
|
|
53
74
|
).returns(T.attached_class)
|
|
54
75
|
end
|
|
@@ -57,6 +78,11 @@ module Telnyx
|
|
|
57
78
|
questions:,
|
|
58
79
|
# Shared context evaluated by every question.
|
|
59
80
|
state:,
|
|
81
|
+
# Public model alias. telnyx/decision-flash offers the lowest cost and latency;
|
|
82
|
+
# telnyx/decision-pro supports decisions that require long context, including
|
|
83
|
+
# inputs beyond Jev’s 32k per-decision limit. Applies to every question in the
|
|
84
|
+
# request. Other values are rejected.
|
|
85
|
+
model: nil,
|
|
60
86
|
request_options: {}
|
|
61
87
|
)
|
|
62
88
|
end
|
|
@@ -74,6 +100,7 @@ module Telnyx
|
|
|
74
100
|
)
|
|
75
101
|
],
|
|
76
102
|
state: Telnyx::AI::Typesafe::V1SystemoneParams::State::Variants,
|
|
103
|
+
model: Telnyx::AI::Typesafe::V1SystemoneParams::Model::OrSymbol,
|
|
77
104
|
request_options: Telnyx::RequestOptions
|
|
78
105
|
}
|
|
79
106
|
)
|
|
@@ -497,6 +524,41 @@ module Telnyx
|
|
|
497
524
|
Telnyx::Internal::Type::Converter
|
|
498
525
|
)
|
|
499
526
|
end
|
|
527
|
+
|
|
528
|
+
# Public model alias. telnyx/decision-flash offers the lowest cost and latency;
|
|
529
|
+
# telnyx/decision-pro supports decisions that require long context, including
|
|
530
|
+
# inputs beyond Jev’s 32k per-decision limit. Applies to every question in the
|
|
531
|
+
# request. Other values are rejected.
|
|
532
|
+
module Model
|
|
533
|
+
extend Telnyx::Internal::Type::Enum
|
|
534
|
+
|
|
535
|
+
TaggedSymbol =
|
|
536
|
+
T.type_alias do
|
|
537
|
+
T.all(Symbol, Telnyx::AI::Typesafe::V1SystemoneParams::Model)
|
|
538
|
+
end
|
|
539
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
540
|
+
|
|
541
|
+
TELNYX_DECISION_FLASH =
|
|
542
|
+
T.let(
|
|
543
|
+
:"telnyx/decision-flash",
|
|
544
|
+
Telnyx::AI::Typesafe::V1SystemoneParams::Model::TaggedSymbol
|
|
545
|
+
)
|
|
546
|
+
TELNYX_DECISION_PRO =
|
|
547
|
+
T.let(
|
|
548
|
+
:"telnyx/decision-pro",
|
|
549
|
+
Telnyx::AI::Typesafe::V1SystemoneParams::Model::TaggedSymbol
|
|
550
|
+
)
|
|
551
|
+
|
|
552
|
+
sig do
|
|
553
|
+
override.returns(
|
|
554
|
+
T::Array[
|
|
555
|
+
Telnyx::AI::Typesafe::V1SystemoneParams::Model::TaggedSymbol
|
|
556
|
+
]
|
|
557
|
+
)
|
|
558
|
+
end
|
|
559
|
+
def self.values
|
|
560
|
+
end
|
|
561
|
+
end
|
|
500
562
|
end
|
|
501
563
|
end
|
|
502
564
|
end
|
|
@@ -39,10 +39,13 @@ module Telnyx
|
|
|
39
39
|
end
|
|
40
40
|
attr_writer :usage
|
|
41
41
|
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
# Public model alias used to evaluate the request. Returns telnyx/decision-flash
|
|
43
|
+
# when model was omitted. The underlying model is managed by Telnyx.
|
|
44
|
+
sig do
|
|
45
|
+
returns(
|
|
46
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::TaggedSymbol
|
|
47
|
+
)
|
|
48
|
+
end
|
|
46
49
|
attr_accessor :model
|
|
47
50
|
|
|
48
51
|
# A complete synchronous evaluation. Answers are returned directly without a data
|
|
@@ -58,7 +61,8 @@ module Telnyx
|
|
|
58
61
|
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Answer::Score::OrHash
|
|
59
62
|
)
|
|
60
63
|
],
|
|
61
|
-
model:
|
|
64
|
+
model:
|
|
65
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::OrSymbol,
|
|
62
66
|
usage:
|
|
63
67
|
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Usage::OrHash
|
|
64
68
|
).returns(T.attached_class)
|
|
@@ -67,9 +71,8 @@ module Telnyx
|
|
|
67
71
|
# Answers keyed by exactly the question IDs in the request. Each answer type
|
|
68
72
|
# matches its question.
|
|
69
73
|
answers:,
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
# underlying model.
|
|
74
|
+
# Public model alias used to evaluate the request. Returns telnyx/decision-flash
|
|
75
|
+
# when model was omitted. The underlying model is managed by Telnyx.
|
|
73
76
|
model:,
|
|
74
77
|
# Token usage for the completed evaluation.
|
|
75
78
|
usage:
|
|
@@ -84,7 +87,8 @@ module Telnyx
|
|
|
84
87
|
Symbol,
|
|
85
88
|
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Answer::Variants
|
|
86
89
|
],
|
|
87
|
-
model:
|
|
90
|
+
model:
|
|
91
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::TaggedSymbol,
|
|
88
92
|
usage: Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Usage
|
|
89
93
|
}
|
|
90
94
|
)
|
|
@@ -300,6 +304,42 @@ module Telnyx
|
|
|
300
304
|
end
|
|
301
305
|
end
|
|
302
306
|
|
|
307
|
+
# Public model alias used to evaluate the request. Returns telnyx/decision-flash
|
|
308
|
+
# when model was omitted. The underlying model is managed by Telnyx.
|
|
309
|
+
module Model
|
|
310
|
+
extend Telnyx::Internal::Type::Enum
|
|
311
|
+
|
|
312
|
+
TaggedSymbol =
|
|
313
|
+
T.type_alias do
|
|
314
|
+
T.all(
|
|
315
|
+
Symbol,
|
|
316
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model
|
|
317
|
+
)
|
|
318
|
+
end
|
|
319
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
320
|
+
|
|
321
|
+
TELNYX_DECISION_FLASH =
|
|
322
|
+
T.let(
|
|
323
|
+
:"telnyx/decision-flash",
|
|
324
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::TaggedSymbol
|
|
325
|
+
)
|
|
326
|
+
TELNYX_DECISION_PRO =
|
|
327
|
+
T.let(
|
|
328
|
+
:"telnyx/decision-pro",
|
|
329
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::TaggedSymbol
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
sig do
|
|
333
|
+
override.returns(
|
|
334
|
+
T::Array[
|
|
335
|
+
Telnyx::Models::AI::Typesafe::V1SystemoneResponse::Model::TaggedSymbol
|
|
336
|
+
]
|
|
337
|
+
)
|
|
338
|
+
end
|
|
339
|
+
def self.values
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
303
343
|
class Usage < Telnyx::Internal::Type::BaseModel
|
|
304
344
|
OrHash =
|
|
305
345
|
T.type_alias do
|
|
@@ -18,20 +18,40 @@ module Telnyx
|
|
|
18
18
|
sig { params(webhook: Telnyx::AI::WebhookTool::Webhook::OrHash).void }
|
|
19
19
|
attr_writer :webhook
|
|
20
20
|
|
|
21
|
+
# The maximum number of milliseconds to wait for the webhook to respond before the
|
|
22
|
+
# tool call is aborted. Set this at the tool level, as a sibling of `type` — a
|
|
23
|
+
# `timeout_ms` nested inside the `webhook` object is not applied, and the tool
|
|
24
|
+
# runs at this default instead.
|
|
25
|
+
sig { returns(T.nilable(Integer)) }
|
|
26
|
+
attr_reader :timeout_ms
|
|
27
|
+
|
|
28
|
+
sig { params(timeout_ms: Integer).void }
|
|
29
|
+
attr_writer :timeout_ms
|
|
30
|
+
|
|
21
31
|
sig do
|
|
22
32
|
params(
|
|
23
33
|
type: Telnyx::AI::WebhookTool::Type::OrSymbol,
|
|
24
|
-
webhook: Telnyx::AI::WebhookTool::Webhook::OrHash
|
|
34
|
+
webhook: Telnyx::AI::WebhookTool::Webhook::OrHash,
|
|
35
|
+
timeout_ms: Integer
|
|
25
36
|
).returns(T.attached_class)
|
|
26
37
|
end
|
|
27
|
-
def self.new(
|
|
38
|
+
def self.new(
|
|
39
|
+
type:,
|
|
40
|
+
webhook:,
|
|
41
|
+
# The maximum number of milliseconds to wait for the webhook to respond before the
|
|
42
|
+
# tool call is aborted. Set this at the tool level, as a sibling of `type` — a
|
|
43
|
+
# `timeout_ms` nested inside the `webhook` object is not applied, and the tool
|
|
44
|
+
# runs at this default instead.
|
|
45
|
+
timeout_ms: nil
|
|
46
|
+
)
|
|
28
47
|
end
|
|
29
48
|
|
|
30
49
|
sig do
|
|
31
50
|
override.returns(
|
|
32
51
|
{
|
|
33
52
|
type: Telnyx::AI::WebhookTool::Type::OrSymbol,
|
|
34
|
-
webhook: Telnyx::AI::WebhookTool::Webhook
|
|
53
|
+
webhook: Telnyx::AI::WebhookTool::Webhook,
|
|
54
|
+
timeout_ms: Integer
|
|
35
55
|
}
|
|
36
56
|
)
|
|
37
57
|
end
|
|
@@ -114,6 +114,11 @@ module Telnyx
|
|
|
114
114
|
end
|
|
115
115
|
attr_writer :model_provenance
|
|
116
116
|
|
|
117
|
+
# The prompt that produced this artifact, or null for a named type. Non-null only
|
|
118
|
+
# when `type` is `custom`; the five named types always return `null`.
|
|
119
|
+
sig { returns(T.nilable(String)) }
|
|
120
|
+
attr_accessor :prompt
|
|
121
|
+
|
|
117
122
|
# The meeting session this event belongs to.
|
|
118
123
|
sig { returns(String) }
|
|
119
124
|
attr_accessor :session_id
|
|
@@ -134,6 +139,7 @@ module Telnyx
|
|
|
134
139
|
Telnyx::ArtifactCompletedWebhookEvent::Data::Content::OrHash,
|
|
135
140
|
model_provenance:
|
|
136
141
|
Telnyx::ArtifactCompletedWebhookEvent::Data::ModelProvenance::OrHash,
|
|
142
|
+
prompt: T.nilable(String),
|
|
137
143
|
session_id: String,
|
|
138
144
|
type: Telnyx::ArtifactCompletedWebhookEvent::Data::Type::OrSymbol
|
|
139
145
|
).returns(T.attached_class)
|
|
@@ -145,6 +151,9 @@ module Telnyx
|
|
|
145
151
|
content:,
|
|
146
152
|
# Model that generated the artifact.
|
|
147
153
|
model_provenance:,
|
|
154
|
+
# The prompt that produced this artifact, or null for a named type. Non-null only
|
|
155
|
+
# when `type` is `custom`; the five named types always return `null`.
|
|
156
|
+
prompt:,
|
|
148
157
|
# The meeting session this event belongs to.
|
|
149
158
|
session_id:,
|
|
150
159
|
# Type of the completed artifact.
|
|
@@ -159,6 +168,7 @@ module Telnyx
|
|
|
159
168
|
content: Telnyx::ArtifactCompletedWebhookEvent::Data::Content,
|
|
160
169
|
model_provenance:
|
|
161
170
|
Telnyx::ArtifactCompletedWebhookEvent::Data::ModelProvenance,
|
|
171
|
+
prompt: T.nilable(String),
|
|
162
172
|
session_id: String,
|
|
163
173
|
type:
|
|
164
174
|
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
@@ -241,6 +251,26 @@ module Telnyx
|
|
|
241
251
|
:action_items,
|
|
242
252
|
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
243
253
|
)
|
|
254
|
+
DECISIONS =
|
|
255
|
+
T.let(
|
|
256
|
+
:decisions,
|
|
257
|
+
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
258
|
+
)
|
|
259
|
+
TOPICS =
|
|
260
|
+
T.let(
|
|
261
|
+
:topics,
|
|
262
|
+
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
263
|
+
)
|
|
264
|
+
OPEN_QUESTIONS =
|
|
265
|
+
T.let(
|
|
266
|
+
:open_questions,
|
|
267
|
+
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
268
|
+
)
|
|
269
|
+
CUSTOM =
|
|
270
|
+
T.let(
|
|
271
|
+
:custom,
|
|
272
|
+
Telnyx::ArtifactCompletedWebhookEvent::Data::Type::TaggedSymbol
|
|
273
|
+
)
|
|
244
274
|
|
|
245
275
|
sig do
|
|
246
276
|
override.returns(
|
|
@@ -143,6 +143,26 @@ module Telnyx
|
|
|
143
143
|
:action_items,
|
|
144
144
|
Telnyx::ArtifactFailedWebhookEvent::Data::Type::TaggedSymbol
|
|
145
145
|
)
|
|
146
|
+
DECISIONS =
|
|
147
|
+
T.let(
|
|
148
|
+
:decisions,
|
|
149
|
+
Telnyx::ArtifactFailedWebhookEvent::Data::Type::TaggedSymbol
|
|
150
|
+
)
|
|
151
|
+
TOPICS =
|
|
152
|
+
T.let(
|
|
153
|
+
:topics,
|
|
154
|
+
Telnyx::ArtifactFailedWebhookEvent::Data::Type::TaggedSymbol
|
|
155
|
+
)
|
|
156
|
+
OPEN_QUESTIONS =
|
|
157
|
+
T.let(
|
|
158
|
+
:open_questions,
|
|
159
|
+
Telnyx::ArtifactFailedWebhookEvent::Data::Type::TaggedSymbol
|
|
160
|
+
)
|
|
161
|
+
CUSTOM =
|
|
162
|
+
T.let(
|
|
163
|
+
:custom,
|
|
164
|
+
Telnyx::ArtifactFailedWebhookEvent::Data::Type::TaggedSymbol
|
|
165
|
+
)
|
|
146
166
|
|
|
147
167
|
sig do
|
|
148
168
|
override.returns(
|
|
@@ -179,6 +179,12 @@ module Telnyx
|
|
|
179
179
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
180
180
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
181
181
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
182
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
183
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
184
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
185
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
186
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
187
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
182
188
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
183
189
|
# `ara`, `rex`, `sal`, `leo`.
|
|
184
190
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -201,7 +207,8 @@ module Telnyx
|
|
|
201
207
|
Telnyx::Calls::AwsVoiceSettings,
|
|
202
208
|
Telnyx::AzureVoiceSettings,
|
|
203
209
|
Telnyx::ResembleVoiceSettings,
|
|
204
|
-
Telnyx::XaiVoiceSettings
|
|
210
|
+
Telnyx::XaiVoiceSettings,
|
|
211
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
205
212
|
)
|
|
206
213
|
)
|
|
207
214
|
)
|
|
@@ -217,7 +224,8 @@ module Telnyx
|
|
|
217
224
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
218
225
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
219
226
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
220
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
227
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
228
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
221
229
|
)
|
|
222
230
|
).void
|
|
223
231
|
end
|
|
@@ -250,7 +258,8 @@ module Telnyx
|
|
|
250
258
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
251
259
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
252
260
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
253
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
261
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
262
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
254
263
|
),
|
|
255
264
|
request_options: Telnyx::RequestOptions::OrHash
|
|
256
265
|
).returns(T.attached_class)
|
|
@@ -329,6 +338,12 @@ module Telnyx
|
|
|
329
338
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
330
339
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
331
340
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
341
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
342
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
343
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
344
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
345
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
346
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
332
347
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
333
348
|
# `ara`, `rex`, `sal`, `leo`.
|
|
334
349
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -370,7 +385,8 @@ module Telnyx
|
|
|
370
385
|
Telnyx::Calls::AwsVoiceSettings,
|
|
371
386
|
Telnyx::AzureVoiceSettings,
|
|
372
387
|
Telnyx::ResembleVoiceSettings,
|
|
373
|
-
Telnyx::XaiVoiceSettings
|
|
388
|
+
Telnyx::XaiVoiceSettings,
|
|
389
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
374
390
|
),
|
|
375
391
|
request_options: Telnyx::RequestOptions
|
|
376
392
|
}
|
|
@@ -488,7 +504,8 @@ module Telnyx
|
|
|
488
504
|
Telnyx::Calls::AwsVoiceSettings,
|
|
489
505
|
Telnyx::AzureVoiceSettings,
|
|
490
506
|
Telnyx::ResembleVoiceSettings,
|
|
491
|
-
Telnyx::XaiVoiceSettings
|
|
507
|
+
Telnyx::XaiVoiceSettings,
|
|
508
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
492
509
|
)
|
|
493
510
|
end
|
|
494
511
|
|
|
@@ -66,6 +66,12 @@ module Telnyx
|
|
|
66
66
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
67
67
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
68
68
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
69
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
70
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
71
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
72
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
73
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
74
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
69
75
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
70
76
|
# `ara`, `rex`, `sal`, `leo`.
|
|
71
77
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -226,7 +232,8 @@ module Telnyx
|
|
|
226
232
|
Telnyx::AzureVoiceSettings,
|
|
227
233
|
Telnyx::ResembleVoiceSettings,
|
|
228
234
|
Telnyx::InworldVoiceSettings,
|
|
229
|
-
Telnyx::XaiVoiceSettings
|
|
235
|
+
Telnyx::XaiVoiceSettings,
|
|
236
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
230
237
|
)
|
|
231
238
|
)
|
|
232
239
|
)
|
|
@@ -244,7 +251,8 @@ module Telnyx
|
|
|
244
251
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
245
252
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
246
253
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
247
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
254
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
255
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
248
256
|
)
|
|
249
257
|
).void
|
|
250
258
|
end
|
|
@@ -280,7 +288,8 @@ module Telnyx
|
|
|
280
288
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
281
289
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
282
290
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
283
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
291
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
292
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
284
293
|
),
|
|
285
294
|
request_options: Telnyx::RequestOptions::OrHash
|
|
286
295
|
).returns(T.attached_class)
|
|
@@ -333,6 +342,12 @@ module Telnyx
|
|
|
333
342
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
334
343
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
335
344
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
345
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
346
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
347
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
348
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
349
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
350
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
336
351
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
337
352
|
# `ara`, `rex`, `sal`, `leo`.
|
|
338
353
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -418,7 +433,8 @@ module Telnyx
|
|
|
418
433
|
Telnyx::AzureVoiceSettings,
|
|
419
434
|
Telnyx::ResembleVoiceSettings,
|
|
420
435
|
Telnyx::InworldVoiceSettings,
|
|
421
|
-
Telnyx::XaiVoiceSettings
|
|
436
|
+
Telnyx::XaiVoiceSettings,
|
|
437
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
422
438
|
),
|
|
423
439
|
request_options: Telnyx::RequestOptions
|
|
424
440
|
}
|
|
@@ -684,7 +700,8 @@ module Telnyx
|
|
|
684
700
|
Telnyx::AzureVoiceSettings,
|
|
685
701
|
Telnyx::ResembleVoiceSettings,
|
|
686
702
|
Telnyx::InworldVoiceSettings,
|
|
687
|
-
Telnyx::XaiVoiceSettings
|
|
703
|
+
Telnyx::XaiVoiceSettings,
|
|
704
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
688
705
|
)
|
|
689
706
|
end
|
|
690
707
|
|
|
@@ -63,6 +63,12 @@ module Telnyx
|
|
|
63
63
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
64
64
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
65
65
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
66
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
67
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
68
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
69
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
70
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
71
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
66
72
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
67
73
|
# `ara`, `rex`, `sal`, `leo`.
|
|
68
74
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -186,7 +192,8 @@ module Telnyx
|
|
|
186
192
|
Telnyx::AzureVoiceSettings,
|
|
187
193
|
Telnyx::ResembleVoiceSettings,
|
|
188
194
|
Telnyx::InworldVoiceSettings,
|
|
189
|
-
Telnyx::XaiVoiceSettings
|
|
195
|
+
Telnyx::XaiVoiceSettings,
|
|
196
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
190
197
|
)
|
|
191
198
|
)
|
|
192
199
|
)
|
|
@@ -204,7 +211,8 @@ module Telnyx
|
|
|
204
211
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
205
212
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
206
213
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
207
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
214
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
215
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
208
216
|
)
|
|
209
217
|
).void
|
|
210
218
|
end
|
|
@@ -234,7 +242,8 @@ module Telnyx
|
|
|
234
242
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
235
243
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
236
244
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
237
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
245
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
246
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
238
247
|
),
|
|
239
248
|
request_options: Telnyx::RequestOptions::OrHash
|
|
240
249
|
).returns(T.attached_class)
|
|
@@ -287,6 +296,12 @@ module Telnyx
|
|
|
287
296
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
288
297
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
289
298
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
299
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
300
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
301
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
302
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
303
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
304
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
290
305
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
291
306
|
# `ara`, `rex`, `sal`, `leo`.
|
|
292
307
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -354,7 +369,8 @@ module Telnyx
|
|
|
354
369
|
Telnyx::AzureVoiceSettings,
|
|
355
370
|
Telnyx::ResembleVoiceSettings,
|
|
356
371
|
Telnyx::InworldVoiceSettings,
|
|
357
|
-
Telnyx::XaiVoiceSettings
|
|
372
|
+
Telnyx::XaiVoiceSettings,
|
|
373
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
358
374
|
),
|
|
359
375
|
request_options: Telnyx::RequestOptions
|
|
360
376
|
}
|
|
@@ -646,7 +662,8 @@ module Telnyx
|
|
|
646
662
|
Telnyx::AzureVoiceSettings,
|
|
647
663
|
Telnyx::ResembleVoiceSettings,
|
|
648
664
|
Telnyx::InworldVoiceSettings,
|
|
649
|
-
Telnyx::XaiVoiceSettings
|
|
665
|
+
Telnyx::XaiVoiceSettings,
|
|
666
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
650
667
|
)
|
|
651
668
|
end
|
|
652
669
|
|