telnyx 5.168.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 +14 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +40 -0
- data/lib/telnyx/internal/email_cursor_pagination.rb +2 -2
- data/lib/telnyx/internal/type/union.rb +6 -6
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +316 -13
- data/lib/telnyx/models/ai/assistant_update_params.rb +23 -12
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +23 -12
- data/lib/telnyx/models/ai/audio_transcribe_params.rb +33 -13
- data/lib/telnyx/models/ai/audio_transcribe_response.rb +34 -56
- data/lib/telnyx/models/ai/audio_transcription_response_word.rb +74 -0
- data/lib/telnyx/models/ai/chat_completion_request.rb +3 -26
- 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 +5 -5
- data/lib/telnyx/models/ai/flow_node_req.rb +3 -3
- data/lib/telnyx/models/ai/inference_embedding.rb +16 -13
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +10 -1
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +334 -0
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +33 -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/openai/function_definition.rb +31 -0
- data/lib/telnyx/models/ai/post_conversation_settings.rb +4 -4
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +4 -4
- data/lib/telnyx/models/ai/privacy_settings.rb +20 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +21 -1
- data/lib/telnyx/models/ai/telephony_settings.rb +86 -16
- data/lib/telnyx/models/ai/tool_node.rb +2 -2
- data/lib/telnyx/models/ai/transcription_settings.rb +12 -4
- data/lib/telnyx/models/ai/transcription_settings_config.rb +12 -11
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +296 -0
- data/lib/telnyx/models/ai/typesafe/v1_systemone_response.rb +235 -0
- 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/bot_challenge_create_params.rb +38 -0
- data/lib/telnyx/models/bot_challenge_create_response.rb +87 -0
- data/lib/telnyx/models/bot_session_list_params.rb +34 -0
- data/lib/telnyx/models/bot_session_list_response.rb +32 -0
- data/lib/telnyx/models/bot_signup_create_params.rb +103 -0
- data/lib/telnyx/models/bot_signup_resend_magic_link_params.rb +22 -0
- data/lib/telnyx/models/call_dial_params.rb +75 -7
- 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/action_transfer_params.rb +75 -7
- data/lib/telnyx/models/calls/soniox_voice_settings.rb +46 -0
- data/lib/telnyx/models/calls/transcription_config.rb +14 -3
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +6 -3
- data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -0
- data/lib/telnyx/models/compute/funcs/export_create_params.rb +62 -0
- data/lib/telnyx/models/compute/funcs/export_delete_all_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/export_list_params.rb +24 -0
- data/lib/telnyx/models/compute/funcs/func_log_export_config_response.rb +113 -0
- data/lib/telnyx/models/conferences/action_speak_params.rb +11 -3
- data/lib/telnyx/models/connection_retrieve_count_params.rb +14 -0
- data/lib/telnyx/models/connection_retrieve_count_response.rb +215 -0
- 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/detail_record_list_params.rb +19 -2
- 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/inbound_message_webhook_event.rb +3 -70
- data/lib/telnyx/models/machine_payment_account_credit_params.rb +29 -0
- data/lib/telnyx/models/machine_payment_account_credit_response.rb +223 -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/message_retrieve_group_messages_response.rb +3 -3
- data/lib/telnyx/models/message_retrieve_response.rb +4 -4
- data/lib/telnyx/models/message_schedule_response.rb +3 -3
- data/lib/telnyx/models/message_send_group_mms_response.rb +3 -3
- data/lib/telnyx/models/message_send_long_code_response.rb +3 -3
- data/lib/telnyx/models/message_send_number_pool_response.rb +3 -3
- data/lib/telnyx/models/message_send_response.rb +3 -3
- data/lib/telnyx/models/message_send_short_code_response.rb +3 -3
- data/lib/telnyx/models/messaging_inbound_message.rb +71 -0
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +216 -13
- data/lib/telnyx/models/messaging_outbound_message_payload.rb +42 -2
- data/lib/telnyx/models/noise_suppression_engine_list_params.rb +14 -0
- data/lib/telnyx/models/noise_suppression_engine_list_response.rb +50 -0
- data/lib/telnyx/models/number_order_status_update.rb +15 -3
- data/lib/telnyx/models/number_order_status_update_webhook_event.rb +15 -3
- data/lib/telnyx/models/numbers_phone_number_detailed.rb +19 -5
- data/lib/telnyx/models/outbound_message.rb +1 -0
- data/lib/telnyx/models/outbound_message_payload.rb +45 -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/speech_to_text_retrieve_transcription_params.rb +1 -0
- data/lib/telnyx/models/success_response.rb +27 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +246 -3
- data/lib/telnyx/models/texml/accounts/call_retrieve_calls_params.rb +17 -17
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +82 -1
- data/lib/telnyx/models/texml/call_create_params.rb +78 -0
- data/lib/telnyx/models/texml/call_create_response.rb +55 -0
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +76 -1
- 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/voice_clone_create_from_upload_params.rb +2 -2
- data/lib/telnyx/models/wireless_private_wireless_gateway.rb +120 -0
- data/lib/telnyx/models.rb +28 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +2 -2
- data/lib/telnyx/resources/ai/assistants.rb +4 -4
- data/lib/telnyx/resources/ai/audio.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 +71 -0
- data/lib/telnyx/resources/ai/typesafe.rb +22 -0
- data/lib/telnyx/resources/ai.rb +8 -0
- data/lib/telnyx/resources/bot_challenge.rb +53 -0
- data/lib/telnyx/resources/bot_sessions.rb +57 -0
- data/lib/telnyx/resources/bot_signup.rb +97 -0
- data/lib/telnyx/resources/calls/actions.rb +5 -5
- data/lib/telnyx/resources/calls.rb +1 -1
- data/lib/telnyx/resources/compute/funcs/export.rb +105 -0
- data/lib/telnyx/resources/compute/funcs.rb +4 -0
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/connections.rb +20 -0
- data/lib/telnyx/resources/detail_records.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 +61 -15
- data/lib/telnyx/resources/email_templates.rb +33 -3
- data/lib/telnyx/resources/machine_payments.rb +73 -0
- 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/noise_suppression_engines.rb +37 -0
- data/lib/telnyx/resources/private_wireless_gateways.rb +5 -3
- data/lib/telnyx/resources/texml/accounts/calls.rb +9 -9
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +15 -1
- data/lib/telnyx/resources/texml/calls.rb +57 -0
- data/lib/telnyx/resources/texml.rb +20 -1
- data/lib/telnyx/resources/text_to_speech.rb +6 -4
- data/lib/telnyx/resources/voice_clones.rb +4 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +75 -1
- data/rbi/telnyx/client.rbi +35 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +24 -16
- data/rbi/telnyx/models/ai/assistant_tool.rbi +479 -25
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +50 -20
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +54 -20
- data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +71 -20
- data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +63 -97
- data/rbi/telnyx/models/ai/audio_transcription_response_word.rbi +108 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +4 -58
- 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 +12 -6
- data/rbi/telnyx/models/ai/flow_node_req.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding.rbi +32 -20
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +10 -0
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +803 -0
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +49 -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/openai/function_definition.rbi +56 -0
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +4 -4
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +4 -4
- data/rbi/telnyx/models/ai/privacy_settings.rbi +43 -3
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +29 -3
- data/rbi/telnyx/models/ai/telephony_settings.rbi +174 -20
- data/rbi/telnyx/models/ai/tool_node.rbi +4 -2
- data/rbi/telnyx/models/ai/transcription_settings.rbi +25 -6
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +18 -16
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +566 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_response.rbi +388 -0
- 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/bot_challenge_create_params.rbi +68 -0
- data/rbi/telnyx/models/bot_challenge_create_response.rbi +169 -0
- data/rbi/telnyx/models/bot_session_list_params.rbi +53 -0
- data/rbi/telnyx/models/bot_session_list_response.rbi +64 -0
- data/rbi/telnyx/models/bot_signup_create_params.rbi +179 -0
- data/rbi/telnyx/models/bot_signup_resend_magic_link_params.rbi +43 -0
- data/rbi/telnyx/models/call_dial_params.rbi +111 -10
- 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/action_transfer_params.rbi +111 -10
- data/rbi/telnyx/models/calls/soniox_voice_settings.rbi +86 -0
- data/rbi/telnyx/models/calls/transcription_config.rbi +29 -5
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +11 -3
- data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +5 -0
- data/rbi/telnyx/models/compute/funcs/export_create_params.rbi +84 -0
- data/rbi/telnyx/models/compute/funcs/export_delete_all_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/export_list_params.rbi +42 -0
- data/rbi/telnyx/models/compute/funcs/func_log_export_config_response.rbi +227 -0
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +22 -5
- data/rbi/telnyx/models/connection_retrieve_count_params.rbi +30 -0
- data/rbi/telnyx/models/connection_retrieve_count_response.rbi +353 -0
- 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/detail_record_list_params.rbi +30 -2
- 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/inbound_message_webhook_event.rbi +4 -173
- data/rbi/telnyx/models/machine_payment_account_credit_params.rbi +51 -0
- data/rbi/telnyx/models/machine_payment_account_credit_response.rbi +446 -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/message_retrieve_group_messages_response.rbi +6 -12
- data/rbi/telnyx/models/message_retrieve_response.rbi +3 -3
- data/rbi/telnyx/models/message_schedule_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_group_mms_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_long_code_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_number_pool_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_response.rbi +4 -6
- data/rbi/telnyx/models/message_send_short_code_response.rbi +4 -6
- data/rbi/telnyx/models/messaging_inbound_message.rbi +152 -0
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +477 -15
- data/rbi/telnyx/models/messaging_outbound_message_payload.rbi +90 -16
- data/rbi/telnyx/models/noise_suppression_engine_list_params.rbi +30 -0
- data/rbi/telnyx/models/noise_suppression_engine_list_response.rbi +94 -0
- data/rbi/telnyx/models/number_order_status_update.rbi +34 -3
- data/rbi/telnyx/models/number_order_status_update_webhook_event.rbi +39 -3
- data/rbi/telnyx/models/numbers_phone_number_detailed.rbi +24 -4
- data/rbi/telnyx/models/outbound_message.rbi +5 -0
- data/rbi/telnyx/models/outbound_message_payload.rbi +74 -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/speech_to_text_retrieve_transcription_params.rbi +5 -0
- data/rbi/telnyx/models/success_response.rbi +36 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +339 -0
- data/rbi/telnyx/models/texml/accounts/call_retrieve_calls_params.rbi +22 -22
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +111 -0
- data/rbi/telnyx/models/texml/call_create_params.rbi +124 -0
- data/rbi/telnyx/models/texml/call_create_response.rbi +98 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +103 -0
- 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/voice_clone_create_from_upload_params.rbi +4 -4
- data/rbi/telnyx/models/wireless_private_wireless_gateway.rbi +211 -0
- data/rbi/telnyx/models.rbi +33 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +21 -8
- data/rbi/telnyx/resources/ai/assistants.rbi +27 -14
- data/rbi/telnyx/resources/ai/audio.rbi +20 -9
- 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 +71 -0
- data/rbi/telnyx/resources/ai/typesafe.rbi +19 -0
- data/rbi/telnyx/resources/ai.rbi +6 -0
- data/rbi/telnyx/resources/bot_challenge.rbi +45 -0
- data/rbi/telnyx/resources/bot_sessions.rbi +45 -0
- data/rbi/telnyx/resources/bot_signup.rbi +87 -0
- data/rbi/telnyx/resources/calls/actions.rbi +38 -9
- data/rbi/telnyx/resources/calls.rbi +6 -5
- data/rbi/telnyx/resources/compute/funcs/export.rbi +86 -0
- data/rbi/telnyx/resources/compute/funcs.rbi +3 -0
- data/rbi/telnyx/resources/conferences/actions.rbi +8 -1
- data/rbi/telnyx/resources/connections.rbi +11 -0
- data/rbi/telnyx/resources/detail_records.rbi +12 -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 +104 -18
- data/rbi/telnyx/resources/email_templates.rbi +71 -0
- data/rbi/telnyx/resources/machine_payments.rbi +64 -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/noise_suppression_engines.rbi +26 -0
- data/rbi/telnyx/resources/private_wireless_gateways.rbi +9 -1
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +6 -6
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +32 -0
- data/rbi/telnyx/resources/texml/calls.rbi +50 -0
- data/rbi/telnyx/resources/texml.rbi +36 -0
- data/rbi/telnyx/resources/text_to_speech.rbi +7 -3
- data/rbi/telnyx/resources/voice_clones.rbi +4 -2
- data/sig/telnyx/client.rbs +10 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -6
- data/sig/telnyx/models/ai/assistant_tool.rbs +195 -26
- 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/audio_transcribe_params.rbs +10 -0
- data/sig/telnyx/models/ai/audio_transcribe_response.rbs +29 -43
- data/sig/telnyx/models/ai/audio_transcription_response_word.rbs +60 -0
- data/sig/telnyx/models/ai/chat_completion_request.rbs +4 -35
- 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_interruption_settings.rbs +5 -0
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +308 -0
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +20 -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/openai/function_definition.rbs +34 -0
- data/sig/telnyx/models/ai/privacy_settings.rbs +11 -3
- data/sig/telnyx/models/ai/retrieval_tool.rbs +10 -3
- data/sig/telnyx/models/ai/telephony_settings.rbs +52 -4
- data/sig/telnyx/models/ai/transcription_settings.rbs +4 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +215 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_response.rbs +152 -0
- 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/bot_challenge_create_params.rbs +42 -0
- data/sig/telnyx/models/bot_challenge_create_response.rbs +72 -0
- data/sig/telnyx/models/bot_session_list_params.rbs +28 -0
- data/sig/telnyx/models/bot_session_list_response.rbs +26 -0
- data/sig/telnyx/models/bot_signup_create_params.rbs +89 -0
- data/sig/telnyx/models/bot_signup_resend_magic_link_params.rbs +20 -0
- data/sig/telnyx/models/call_dial_params.rbs +49 -0
- 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/action_transfer_params.rbs +49 -0
- data/sig/telnyx/models/calls/soniox_voice_settings.rbs +46 -0
- data/sig/telnyx/models/calls/transcription_config.rbs +4 -0
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +3 -1
- data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +3 -1
- data/sig/telnyx/models/compute/funcs/export_create_params.rbs +50 -0
- data/sig/telnyx/models/compute/funcs/export_delete_all_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/export_list_params.rbs +27 -0
- data/sig/telnyx/models/compute/funcs/func_log_export_config_response.rbs +115 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -0
- data/sig/telnyx/models/connection_retrieve_count_params.rbs +15 -0
- data/sig/telnyx/models/connection_retrieve_count_response.rbs +169 -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/inbound_message_webhook_event.rbs +6 -79
- data/sig/telnyx/models/machine_payment_account_credit_params.rbs +23 -0
- data/sig/telnyx/models/machine_payment_account_credit_response.rbs +164 -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/message_retrieve_group_messages_response.rbs +6 -8
- data/sig/telnyx/models/message_retrieve_response.rbs +1 -2
- data/sig/telnyx/models/message_schedule_response.rbs +6 -7
- data/sig/telnyx/models/message_send_group_mms_response.rbs +6 -6
- data/sig/telnyx/models/message_send_long_code_response.rbs +6 -6
- data/sig/telnyx/models/message_send_number_pool_response.rbs +6 -6
- data/sig/telnyx/models/message_send_response.rbs +6 -7
- data/sig/telnyx/models/message_send_short_code_response.rbs +6 -6
- data/sig/telnyx/models/messaging_inbound_message.rbs +76 -0
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +235 -6
- data/sig/telnyx/models/messaging_outbound_message_payload.rbs +39 -1
- data/sig/telnyx/models/noise_suppression_engine_list_params.rbs +15 -0
- data/sig/telnyx/models/noise_suppression_engine_list_response.rbs +43 -0
- data/sig/telnyx/models/number_order_status_update.rbs +14 -4
- data/sig/telnyx/models/number_order_status_update_webhook_event.rbs +14 -4
- data/sig/telnyx/models/numbers_phone_number_detailed.rbs +5 -0
- data/sig/telnyx/models/outbound_message.rbs +2 -1
- data/sig/telnyx/models/outbound_message_payload.rbs +45 -7
- 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/speech_to_text_retrieve_transcription_params.rbs +2 -0
- data/sig/telnyx/models/success_response.rbs +15 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +159 -0
- data/sig/telnyx/models/texml/accounts/call_retrieve_calls_params.rbs +14 -14
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +49 -0
- data/sig/telnyx/models/texml/call_create_params.rbs +72 -0
- data/sig/telnyx/models/texml/call_create_response.rbs +47 -0
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +49 -0
- 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 +28 -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 +18 -0
- data/sig/telnyx/resources/ai/typesafe.rbs +11 -0
- data/sig/telnyx/resources/ai.rbs +4 -0
- data/sig/telnyx/resources/bot_challenge.rbs +14 -0
- data/sig/telnyx/resources/bot_sessions.rbs +13 -0
- data/sig/telnyx/resources/bot_signup.rbs +24 -0
- data/sig/telnyx/resources/compute/funcs/export.rbs +30 -0
- data/sig/telnyx/resources/compute/funcs.rbs +2 -0
- data/sig/telnyx/resources/connections.rbs +4 -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/machine_payments.rbs +12 -0
- data/sig/telnyx/resources/meeting_sessions/artifacts.rbs +1 -1
- data/sig/telnyx/resources/meeting_sessions.rbs +1 -0
- data/sig/telnyx/resources/noise_suppression_engines.rbs +11 -0
- data/sig/telnyx/resources/private_wireless_gateways.rbs +2 -1
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +7 -0
- data/sig/telnyx/resources/texml/calls.rbs +19 -0
- data/sig/telnyx/resources/texml.rbs +9 -0
- data/sig/telnyx/resources/text_to_speech.rbs +1 -0
- metadata +227 -5
|
@@ -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
|
|
|
@@ -282,6 +282,12 @@ module Telnyx
|
|
|
282
282
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
283
283
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
284
284
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
285
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
286
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
287
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
288
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
289
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
290
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
285
291
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
286
292
|
# `ara`, `rex`, `sal`, `leo`.
|
|
287
293
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -306,7 +312,8 @@ module Telnyx
|
|
|
306
312
|
Telnyx::AzureVoiceSettings,
|
|
307
313
|
Telnyx::ResembleVoiceSettings,
|
|
308
314
|
Telnyx::InworldVoiceSettings,
|
|
309
|
-
Telnyx::XaiVoiceSettings
|
|
315
|
+
Telnyx::XaiVoiceSettings,
|
|
316
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
310
317
|
)
|
|
311
318
|
)
|
|
312
319
|
)
|
|
@@ -324,7 +331,8 @@ module Telnyx
|
|
|
324
331
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
325
332
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
326
333
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
327
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
334
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
335
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
328
336
|
)
|
|
329
337
|
).void
|
|
330
338
|
end
|
|
@@ -370,7 +378,8 @@ module Telnyx
|
|
|
370
378
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
371
379
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
372
380
|
Telnyx::InworldVoiceSettings::OrHash,
|
|
373
|
-
Telnyx::XaiVoiceSettings::OrHash
|
|
381
|
+
Telnyx::XaiVoiceSettings::OrHash,
|
|
382
|
+
Telnyx::Calls::SonioxVoiceSettings::OrHash
|
|
374
383
|
),
|
|
375
384
|
request_options: Telnyx::RequestOptions::OrHash
|
|
376
385
|
).returns(T.attached_class)
|
|
@@ -472,6 +481,12 @@ module Telnyx
|
|
|
472
481
|
# - **Fish Audio:** Use `FishAudio.<ModelId>.<VoiceId>` (e.g.,
|
|
473
482
|
# `FishAudio.s2.1-pro.<reference_id>`). Supported models: `s2.1-pro`, `s2-pro`,
|
|
474
483
|
# `s1`. `VoiceId` is a Fish Voice-Library reference ID.
|
|
484
|
+
# - **Soniox:** Use `Soniox.<ModelId>.<VoiceId>` (e.g., `Soniox.tts-rt-v2.Emma`).
|
|
485
|
+
# Supported model: `tts-rt-v2`. Browse the catalog via the
|
|
486
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices).
|
|
487
|
+
# Every voice speaks all supported languages; set `language` to the two-letter
|
|
488
|
+
# ISO 639-1 code of the text, for example `it`. SSML is not supported. Use
|
|
489
|
+
# `voice_settings` to configure `speed` (0.7 to 1.3) and `reduce_silence`.
|
|
475
490
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
476
491
|
# `ara`, `rex`, `sal`, `leo`.
|
|
477
492
|
# - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
|
|
@@ -526,7 +541,8 @@ module Telnyx
|
|
|
526
541
|
Telnyx::AzureVoiceSettings,
|
|
527
542
|
Telnyx::ResembleVoiceSettings,
|
|
528
543
|
Telnyx::InworldVoiceSettings,
|
|
529
|
-
Telnyx::XaiVoiceSettings
|
|
544
|
+
Telnyx::XaiVoiceSettings,
|
|
545
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
530
546
|
),
|
|
531
547
|
request_options: Telnyx::RequestOptions
|
|
532
548
|
}
|
|
@@ -783,7 +799,8 @@ module Telnyx
|
|
|
783
799
|
Telnyx::AzureVoiceSettings,
|
|
784
800
|
Telnyx::ResembleVoiceSettings,
|
|
785
801
|
Telnyx::InworldVoiceSettings,
|
|
786
|
-
Telnyx::XaiVoiceSettings
|
|
802
|
+
Telnyx::XaiVoiceSettings,
|
|
803
|
+
Telnyx::Calls::SonioxVoiceSettings
|
|
787
804
|
)
|
|
788
805
|
end
|
|
789
806
|
|
|
@@ -109,11 +109,12 @@ module Telnyx
|
|
|
109
109
|
end
|
|
110
110
|
attr_writer :custom_headers
|
|
111
111
|
|
|
112
|
-
# The number
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
#
|
|
116
|
-
# you
|
|
112
|
+
# The `to` number of an active inbound call, in +E164 format. Telnyx checks
|
|
113
|
+
# whether there is currently an active inbound call where `to` matches this
|
|
114
|
+
# `diversion` value and `from` matches the `from` number supplied for this
|
|
115
|
+
# request. If such a call exists, the `from` number is treated as verified (since
|
|
116
|
+
# it is already on an active inbound call to you) and can be used as the caller id
|
|
117
|
+
# for this outbound call.
|
|
117
118
|
sig { returns(T.nilable(String)) }
|
|
118
119
|
attr_reader :diversion
|
|
119
120
|
|
|
@@ -646,11 +647,12 @@ module Telnyx
|
|
|
646
647
|
command_id: nil,
|
|
647
648
|
# Custom headers to be added to the SIP INVITE.
|
|
648
649
|
custom_headers: nil,
|
|
649
|
-
# The number
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
#
|
|
653
|
-
# you
|
|
650
|
+
# The `to` number of an active inbound call, in +E164 format. Telnyx checks
|
|
651
|
+
# whether there is currently an active inbound call where `to` matches this
|
|
652
|
+
# `diversion` value and `from` matches the `from` number supplied for this
|
|
653
|
+
# request. If such a call exists, the `from` number is treated as verified (since
|
|
654
|
+
# it is already on an active inbound call to you) and can be used as the caller id
|
|
655
|
+
# for this outbound call.
|
|
654
656
|
diversion: nil,
|
|
655
657
|
# If set to false, early media will not be passed to the originating leg.
|
|
656
658
|
early_media: nil,
|
|
@@ -947,6 +949,66 @@ module Telnyx
|
|
|
947
949
|
end
|
|
948
950
|
attr_writer :beep_detection_profile
|
|
949
951
|
|
|
952
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
953
|
+
# Only used when beep detection is active.
|
|
954
|
+
sig { returns(T.nilable(Integer)) }
|
|
955
|
+
attr_reader :beep_max_frequency_hz
|
|
956
|
+
|
|
957
|
+
sig { params(beep_max_frequency_hz: Integer).void }
|
|
958
|
+
attr_writer :beep_max_frequency_hz
|
|
959
|
+
|
|
960
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
961
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
962
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
963
|
+
# used when beep detection is active.
|
|
964
|
+
sig { returns(T.nilable(Integer)) }
|
|
965
|
+
attr_reader :beep_min_frequency_hz
|
|
966
|
+
|
|
967
|
+
sig { params(beep_min_frequency_hz: Integer).void }
|
|
968
|
+
attr_writer :beep_min_frequency_hz
|
|
969
|
+
|
|
970
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
971
|
+
# rejects brief tones such as call-progress blips. Only used when beep detection
|
|
972
|
+
# is active.
|
|
973
|
+
sig { returns(T.nilable(Integer)) }
|
|
974
|
+
attr_reader :beep_min_tone_duration_millis
|
|
975
|
+
|
|
976
|
+
sig { params(beep_min_tone_duration_millis: Integer).void }
|
|
977
|
+
attr_writer :beep_min_tone_duration_millis
|
|
978
|
+
|
|
979
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
980
|
+
# is reported. Only used when beep detection is active.
|
|
981
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
982
|
+
attr_reader :beep_spectral_confirmation
|
|
983
|
+
|
|
984
|
+
sig { params(beep_spectral_confirmation: T::Boolean).void }
|
|
985
|
+
attr_writer :beep_spectral_confirmation
|
|
986
|
+
|
|
987
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
988
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
989
|
+
# Only used when beep detection is active.
|
|
990
|
+
sig { returns(T.nilable(Float)) }
|
|
991
|
+
attr_reader :beep_spectral_min_purity
|
|
992
|
+
|
|
993
|
+
sig { params(beep_spectral_min_purity: Float).void }
|
|
994
|
+
attr_writer :beep_spectral_min_purity
|
|
995
|
+
|
|
996
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
997
|
+
# used when beep detection is active.
|
|
998
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
999
|
+
attr_reader :beep_spectral_reject_fax_cng
|
|
1000
|
+
|
|
1001
|
+
sig { params(beep_spectral_reject_fax_cng: T::Boolean).void }
|
|
1002
|
+
attr_writer :beep_spectral_reject_fax_cng
|
|
1003
|
+
|
|
1004
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when beep
|
|
1005
|
+
# detection is active.
|
|
1006
|
+
sig { returns(T.nilable(Integer)) }
|
|
1007
|
+
attr_reader :beep_spectral_window_millis
|
|
1008
|
+
|
|
1009
|
+
sig { params(beep_spectral_window_millis: Integer).void }
|
|
1010
|
+
attr_writer :beep_spectral_window_millis
|
|
1011
|
+
|
|
950
1012
|
# Maximum threshold for silence between words.
|
|
951
1013
|
sig { returns(T.nilable(Integer)) }
|
|
952
1014
|
attr_reader :between_words_silence_millis
|
|
@@ -1022,6 +1084,13 @@ module Telnyx
|
|
|
1022
1084
|
after_greeting_silence_millis: Integer,
|
|
1023
1085
|
beep_detection_profile:
|
|
1024
1086
|
Telnyx::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::BeepDetectionProfile::OrSymbol,
|
|
1087
|
+
beep_max_frequency_hz: Integer,
|
|
1088
|
+
beep_min_frequency_hz: Integer,
|
|
1089
|
+
beep_min_tone_duration_millis: Integer,
|
|
1090
|
+
beep_spectral_confirmation: T::Boolean,
|
|
1091
|
+
beep_spectral_min_purity: Float,
|
|
1092
|
+
beep_spectral_reject_fax_cng: T::Boolean,
|
|
1093
|
+
beep_spectral_window_millis: Integer,
|
|
1025
1094
|
between_words_silence_millis: Integer,
|
|
1026
1095
|
greeting_duration_millis: Integer,
|
|
1027
1096
|
greeting_silence_duration_millis: Integer,
|
|
@@ -1041,6 +1110,31 @@ module Telnyx
|
|
|
1041
1110
|
# frequency detectors to agree. `freq_only` uses the frequency detector alone, for
|
|
1042
1111
|
# beeps whose volume is too unsteady for the default profile.
|
|
1043
1112
|
beep_detection_profile: nil,
|
|
1113
|
+
# Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
1114
|
+
# Only used when beep detection is active.
|
|
1115
|
+
beep_max_frequency_hz: nil,
|
|
1116
|
+
# Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
1117
|
+
# it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
1118
|
+
# otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
1119
|
+
# used when beep detection is active.
|
|
1120
|
+
beep_min_frequency_hz: nil,
|
|
1121
|
+
# Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
1122
|
+
# rejects brief tones such as call-progress blips. Only used when beep detection
|
|
1123
|
+
# is active.
|
|
1124
|
+
beep_min_tone_duration_millis: nil,
|
|
1125
|
+
# When enabled, a candidate beep must pass an additional spectral check before it
|
|
1126
|
+
# is reported. Only used when beep detection is active.
|
|
1127
|
+
beep_spectral_confirmation: nil,
|
|
1128
|
+
# Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
1129
|
+
# Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
1130
|
+
# Only used when beep detection is active.
|
|
1131
|
+
beep_spectral_min_purity: nil,
|
|
1132
|
+
# When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
1133
|
+
# used when beep detection is active.
|
|
1134
|
+
beep_spectral_reject_fax_cng: nil,
|
|
1135
|
+
# Length of the spectral confirmation window, in milliseconds. Only used when beep
|
|
1136
|
+
# detection is active.
|
|
1137
|
+
beep_spectral_window_millis: nil,
|
|
1044
1138
|
# Maximum threshold for silence between words.
|
|
1045
1139
|
between_words_silence_millis: nil,
|
|
1046
1140
|
# Maximum threshold of a human greeting. If greeting longer than this value,
|
|
@@ -1071,6 +1165,13 @@ module Telnyx
|
|
|
1071
1165
|
after_greeting_silence_millis: Integer,
|
|
1072
1166
|
beep_detection_profile:
|
|
1073
1167
|
Telnyx::Calls::ActionTransferParams::AnsweringMachineDetectionConfig::BeepDetectionProfile::OrSymbol,
|
|
1168
|
+
beep_max_frequency_hz: Integer,
|
|
1169
|
+
beep_min_frequency_hz: Integer,
|
|
1170
|
+
beep_min_tone_duration_millis: Integer,
|
|
1171
|
+
beep_spectral_confirmation: T::Boolean,
|
|
1172
|
+
beep_spectral_min_purity: Float,
|
|
1173
|
+
beep_spectral_reject_fax_cng: T::Boolean,
|
|
1174
|
+
beep_spectral_window_millis: Integer,
|
|
1074
1175
|
between_words_silence_millis: Integer,
|
|
1075
1176
|
greeting_duration_millis: Integer,
|
|
1076
1177
|
greeting_silence_duration_millis: Integer,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Calls
|
|
6
|
+
class SonioxVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(Telnyx::Calls::SonioxVoiceSettings, Telnyx::Internal::AnyHash)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# Voice settings provider type
|
|
13
|
+
sig { returns(Telnyx::Calls::SonioxVoiceSettings::Type::OrSymbol) }
|
|
14
|
+
attr_accessor :type
|
|
15
|
+
|
|
16
|
+
# Shortens the pauses between words.
|
|
17
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
18
|
+
attr_reader :reduce_silence
|
|
19
|
+
|
|
20
|
+
sig { params(reduce_silence: T::Boolean).void }
|
|
21
|
+
attr_writer :reduce_silence
|
|
22
|
+
|
|
23
|
+
# Speaking rate. 1.0 is normal speed.
|
|
24
|
+
sig { returns(T.nilable(Float)) }
|
|
25
|
+
attr_reader :speed
|
|
26
|
+
|
|
27
|
+
sig { params(speed: Float).void }
|
|
28
|
+
attr_writer :speed
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
type: Telnyx::Calls::SonioxVoiceSettings::Type::OrSymbol,
|
|
33
|
+
reduce_silence: T::Boolean,
|
|
34
|
+
speed: Float
|
|
35
|
+
).returns(T.attached_class)
|
|
36
|
+
end
|
|
37
|
+
def self.new(
|
|
38
|
+
# Voice settings provider type
|
|
39
|
+
type:,
|
|
40
|
+
# Shortens the pauses between words.
|
|
41
|
+
reduce_silence: nil,
|
|
42
|
+
# Speaking rate. 1.0 is normal speed.
|
|
43
|
+
speed: nil
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
override.returns(
|
|
49
|
+
{
|
|
50
|
+
type: Telnyx::Calls::SonioxVoiceSettings::Type::OrSymbol,
|
|
51
|
+
reduce_silence: T::Boolean,
|
|
52
|
+
speed: Float
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
end
|
|
56
|
+
def to_hash
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Voice settings provider type
|
|
60
|
+
module Type
|
|
61
|
+
extend Telnyx::Internal::Type::Enum
|
|
62
|
+
|
|
63
|
+
TaggedSymbol =
|
|
64
|
+
T.type_alias do
|
|
65
|
+
T.all(Symbol, Telnyx::Calls::SonioxVoiceSettings::Type)
|
|
66
|
+
end
|
|
67
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
68
|
+
|
|
69
|
+
SONIOX =
|
|
70
|
+
T.let(
|
|
71
|
+
:soniox,
|
|
72
|
+
Telnyx::Calls::SonioxVoiceSettings::Type::TaggedSymbol
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
sig do
|
|
76
|
+
override.returns(
|
|
77
|
+
T::Array[Telnyx::Calls::SonioxVoiceSettings::Type::TaggedSymbol]
|
|
78
|
+
)
|
|
79
|
+
end
|
|
80
|
+
def self.values
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -17,7 +17,8 @@ module Telnyx
|
|
|
17
17
|
# hints `en`, `es`, `fr`, `de`, `hi`, `ru`, `pt`, `ja`, `it`, and `nl`. For
|
|
18
18
|
# `soniox/stt-rt-v4`, `auto` omits the language hint and lets Soniox auto-detect;
|
|
19
19
|
# ISO 639-1 codes (e.g. `en`, `es`) bias detection toward that language. For
|
|
20
|
-
# `assemblyai/universal-
|
|
20
|
+
# `assemblyai/universal-3-5-pro` (and its legacy alias
|
|
21
|
+
# `assemblyai/universal-streaming`), `auto` (or unset) enables native multilingual
|
|
21
22
|
# code-switching; ISO 639-1 codes (`en`, `es`, `de`, `fr`, `pt`, `it`, `tr`, `nl`,
|
|
22
23
|
# `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`) bias the session to
|
|
23
24
|
# that language. For `humain/realtime`, supported values are `ar`, `en`,
|
|
@@ -42,12 +43,16 @@ module Telnyx
|
|
|
42
43
|
# - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
|
|
43
44
|
# - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
|
|
44
45
|
# transcription.
|
|
45
|
-
# - `assemblyai/universal-
|
|
46
|
+
# - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
|
|
47
|
+
# alias `assemblyai/universal-streaming` is still accepted and resolves to the
|
|
48
|
+
# same model.
|
|
46
49
|
# - `xai/grok-stt` for live streaming transcription.
|
|
47
50
|
# - `soniox/stt-rt-v4` for live streaming multilingual transcription with
|
|
48
51
|
# automatic language detection.
|
|
49
52
|
# - `nvidia/parakeet-v3` for multilingual transcription with automatic language
|
|
50
53
|
# detection.
|
|
54
|
+
# - `omi-health/omi-med-stt-v1` for English-only medical transcription
|
|
55
|
+
# (Parakeet-based).
|
|
51
56
|
# - `humain/realtime` for live streaming transcription with native Arabic and
|
|
52
57
|
# Arabic/English code-switching support.
|
|
53
58
|
# - `reson8/turns` for live streaming turn-based transcription of 10 European
|
|
@@ -93,7 +98,8 @@ module Telnyx
|
|
|
93
98
|
# hints `en`, `es`, `fr`, `de`, `hi`, `ru`, `pt`, `ja`, `it`, and `nl`. For
|
|
94
99
|
# `soniox/stt-rt-v4`, `auto` omits the language hint and lets Soniox auto-detect;
|
|
95
100
|
# ISO 639-1 codes (e.g. `en`, `es`) bias detection toward that language. For
|
|
96
|
-
# `assemblyai/universal-
|
|
101
|
+
# `assemblyai/universal-3-5-pro` (and its legacy alias
|
|
102
|
+
# `assemblyai/universal-streaming`), `auto` (or unset) enables native multilingual
|
|
97
103
|
# code-switching; ISO 639-1 codes (`en`, `es`, `de`, `fr`, `pt`, `it`, `tr`, `nl`,
|
|
98
104
|
# `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`) bias the session to
|
|
99
105
|
# that language. For `humain/realtime`, supported values are `ar`, `en`,
|
|
@@ -113,12 +119,16 @@ module Telnyx
|
|
|
113
119
|
# - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
|
|
114
120
|
# - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
|
|
115
121
|
# transcription.
|
|
116
|
-
# - `assemblyai/universal-
|
|
122
|
+
# - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
|
|
123
|
+
# alias `assemblyai/universal-streaming` is still accepted and resolves to the
|
|
124
|
+
# same model.
|
|
117
125
|
# - `xai/grok-stt` for live streaming transcription.
|
|
118
126
|
# - `soniox/stt-rt-v4` for live streaming multilingual transcription with
|
|
119
127
|
# automatic language detection.
|
|
120
128
|
# - `nvidia/parakeet-v3` for multilingual transcription with automatic language
|
|
121
129
|
# detection.
|
|
130
|
+
# - `omi-health/omi-med-stt-v1` for English-only medical transcription
|
|
131
|
+
# (Parakeet-based).
|
|
122
132
|
# - `humain/realtime` for live streaming transcription with native Arabic and
|
|
123
133
|
# Arabic/English code-switching support.
|
|
124
134
|
# - `reson8/turns` for live streaming turn-based transcription of 10 European
|
|
@@ -153,12 +163,16 @@ module Telnyx
|
|
|
153
163
|
# - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
|
|
154
164
|
# - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
|
|
155
165
|
# transcription.
|
|
156
|
-
# - `assemblyai/universal-
|
|
166
|
+
# - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
|
|
167
|
+
# alias `assemblyai/universal-streaming` is still accepted and resolves to the
|
|
168
|
+
# same model.
|
|
157
169
|
# - `xai/grok-stt` for live streaming transcription.
|
|
158
170
|
# - `soniox/stt-rt-v4` for live streaming multilingual transcription with
|
|
159
171
|
# automatic language detection.
|
|
160
172
|
# - `nvidia/parakeet-v3` for multilingual transcription with automatic language
|
|
161
173
|
# detection.
|
|
174
|
+
# - `omi-health/omi-med-stt-v1` for English-only medical transcription
|
|
175
|
+
# (Parakeet-based).
|
|
162
176
|
# - `humain/realtime` for live streaming transcription with native Arabic and
|
|
163
177
|
# Arabic/English code-switching support.
|
|
164
178
|
# - `reson8/turns` for live streaming turn-based transcription of 10 European
|
|
@@ -210,6 +224,11 @@ module Telnyx
|
|
|
210
224
|
:"speechmatics/enhanced",
|
|
211
225
|
Telnyx::Calls::TranscriptionConfig::Model::TaggedSymbol
|
|
212
226
|
)
|
|
227
|
+
ASSEMBLYAI_UNIVERSAL_3_5_PRO =
|
|
228
|
+
T.let(
|
|
229
|
+
:"assemblyai/universal-3-5-pro",
|
|
230
|
+
Telnyx::Calls::TranscriptionConfig::Model::TaggedSymbol
|
|
231
|
+
)
|
|
213
232
|
ASSEMBLYAI_UNIVERSAL_STREAMING =
|
|
214
233
|
T.let(
|
|
215
234
|
:"assemblyai/universal-streaming",
|
|
@@ -230,6 +249,11 @@ module Telnyx
|
|
|
230
249
|
:"nvidia/parakeet-v3",
|
|
231
250
|
Telnyx::Calls::TranscriptionConfig::Model::TaggedSymbol
|
|
232
251
|
)
|
|
252
|
+
OMI_HEALTH_OMI_MED_STT_V1 =
|
|
253
|
+
T.let(
|
|
254
|
+
:"omi-health/omi-med-stt-v1",
|
|
255
|
+
Telnyx::Calls::TranscriptionConfig::Model::TaggedSymbol
|
|
256
|
+
)
|
|
233
257
|
HUMAIN_REALTIME =
|
|
234
258
|
T.let(
|
|
235
259
|
:"humain/realtime",
|