telnyx 5.176.0 → 5.177.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/models/ai/chat_completion_request.rb +10 -4
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +67 -64
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_params.rb +7 -16
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rb +7 -16
- data/lib/telnyx/models/ai/privacy_settings.rb +16 -14
- data/lib/telnyx/models/ai/readiness_probe.rb +8 -8
- data/lib/telnyx/models/ai/telephony_settings.rb +25 -1
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +8 -8
- data/lib/telnyx/models/browser_sessions/wait_for_action.rb +11 -11
- data/lib/telnyx/models/calls/deepgram_flux_config.rb +91 -0
- data/lib/telnyx/models/calls/deepgram_flux_multi_config.rb +103 -0
- data/lib/telnyx/models/calls/deepgram_nova2_specialty_config.rb +113 -0
- data/lib/telnyx/models/calls/deepgram_nova3_medical_config.rb +110 -0
- data/lib/telnyx/models/calls/transcription_engine_community_config.rb +57 -0
- data/lib/telnyx/models/calls/transcription_engine_deepgram_config.rb +5 -372
- data/lib/telnyx/models/calls/transcription_start_request.rb +8 -459
- data/lib/telnyx/models/email_event_list_response.rb +11 -12
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement.rb +94 -0
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rb +20 -0
- data/lib/telnyx/models/iam/guardrail/statement_create_params.rb +50 -0
- data/lib/telnyx/models/iam/guardrail/statement_delete_params.rb +24 -0
- data/lib/telnyx/models/iam/guardrail/statement_list_params.rb +34 -0
- data/lib/telnyx/models/iam/guardrail/statement_update_params.rb +57 -0
- data/lib/telnyx/models/iam/guardrail_delete_all_params.rb +16 -0
- data/lib/telnyx/models/iam/iam_action.rb +4 -4
- data/lib/telnyx/models/iam/iam_settings.rb +60 -0
- data/lib/telnyx/models/iam/iam_settings_response.rb +3 -55
- data/lib/telnyx/models/iam/roles/iam_role_statement.rb +13 -1
- data/lib/telnyx/models/iam/roles/iam_role_statement_conditions.rb +27 -0
- data/lib/telnyx/models/iam/roles/statement_create_params.rb +9 -1
- data/lib/telnyx/models/iam/roles/statement_update_params.rb +9 -1
- data/lib/telnyx/models/iam_decision.rb +5 -3
- data/lib/telnyx/models/iam_explain_params.rb +13 -1
- data/lib/telnyx/models/iam_retrieve_access_logs_response.rb +6 -5
- data/lib/telnyx/models/iam_simulate_params.rb +13 -1
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +15 -15
- data/lib/telnyx/models/mobile_phone_number.rb +25 -4
- data/lib/telnyx/models/mobile_phone_number_update_params.rb +38 -4
- data/lib/telnyx/models/model_metadata.rb +28 -1
- data/lib/telnyx/models/phone_numbers/emergency_settings.rb +56 -0
- data/lib/telnyx/models/phone_numbers/numbers_cnam_listing.rb +36 -0
- data/lib/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rb +9 -59
- data/lib/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rb +6 -4
- data/lib/telnyx/models/phone_numbers/phone_number_with_voice_settings.rb +3 -55
- data/lib/telnyx/models/sim_cards/action_bulk_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/sim_cards/action_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +15 -15
- data/lib/telnyx/models/texml_application_list_params.rb +6 -6
- data/lib/telnyx/models/user_profile.rb +11 -1
- data/lib/telnyx/models/user_profile_patch_all_params.rb +1 -9
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +223 -0
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +220 -0
- data/lib/telnyx/models/whatsapp/whatsapp_phone_response.rb +0 -1
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/customer_service_records.rb +4 -4
- data/lib/telnyx/resources/iam/guardrail/statements.rb +158 -0
- data/lib/telnyx/resources/iam/guardrail.rb +45 -0
- data/lib/telnyx/resources/iam/roles/statements.rb +13 -6
- data/lib/telnyx/resources/iam.rb +21 -8
- data/lib/telnyx/resources/mobile_phone_numbers.rb +4 -1
- data/lib/telnyx/resources/phone_numbers/voice.rb +1 -1
- data/lib/telnyx/resources/user_profile.rb +1 -3
- data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +15 -6
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +114 -97
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbi +12 -28
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbi +12 -28
- data/rbi/telnyx/models/ai/privacy_settings.rbi +24 -21
- data/rbi/telnyx/models/ai/readiness_probe.rbi +14 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +79 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +4 -4
- data/rbi/telnyx/models/browser_sessions/wait_for_action.rbi +24 -24
- data/rbi/telnyx/models/calls/deepgram_flux_config.rbi +192 -0
- data/rbi/telnyx/models/calls/deepgram_flux_multi_config.rbi +251 -0
- data/rbi/telnyx/models/calls/deepgram_nova2_specialty_config.rbi +226 -0
- data/rbi/telnyx/models/calls/deepgram_nova3_medical_config.rbi +220 -0
- data/rbi/telnyx/models/calls/transcription_engine_community_config.rbi +94 -0
- data/rbi/telnyx/models/calls/transcription_engine_deepgram_config.rbi +4 -776
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +25 -989
- data/rbi/telnyx/models/email_event_list_response.rbi +32 -18
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement.rbi +169 -0
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbi +45 -0
- data/rbi/telnyx/models/iam/guardrail/statement_create_params.rbi +113 -0
- data/rbi/telnyx/models/iam/guardrail/statement_delete_params.rbi +42 -0
- data/rbi/telnyx/models/iam/guardrail/statement_list_params.rbi +64 -0
- data/rbi/telnyx/models/iam/guardrail/statement_update_params.rbi +109 -0
- data/rbi/telnyx/models/iam/guardrail_delete_all_params.rbi +32 -0
- data/rbi/telnyx/models/iam/iam_action.rbi +6 -4
- data/rbi/telnyx/models/iam/iam_settings.rbi +90 -0
- data/rbi/telnyx/models/iam/iam_settings_response.rbi +4 -105
- data/rbi/telnyx/models/iam/roles/iam_role_statement.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/iam_role_statement_conditions.rbi +41 -0
- data/rbi/telnyx/models/iam/roles/statement_create_params.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/statement_update_params.rbi +18 -0
- data/rbi/telnyx/models/iam_decision.rbi +10 -6
- data/rbi/telnyx/models/iam_explain_params.rbi +10 -0
- data/rbi/telnyx/models/iam_retrieve_access_logs_response.rbi +8 -6
- data/rbi/telnyx/models/iam_simulate_params.rbi +15 -3
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +31 -31
- data/rbi/telnyx/models/mobile_phone_number.rbi +19 -0
- data/rbi/telnyx/models/mobile_phone_number_update_params.rbi +19 -0
- data/rbi/telnyx/models/model_metadata.rbi +90 -0
- data/rbi/telnyx/models/phone_numbers/emergency_settings.rbi +133 -0
- data/rbi/telnyx/models/phone_numbers/numbers_cnam_listing.rbi +62 -0
- data/rbi/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbi +16 -145
- data/rbi/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbi +12 -6
- data/rbi/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbi +4 -139
- data/rbi/telnyx/models/sim_cards/action_bulk_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/sim_cards/action_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +15 -15
- data/rbi/telnyx/models/texml_application_list_params.rbi +7 -7
- data/rbi/telnyx/models/user_profile.rbi +11 -0
- data/rbi/telnyx/models/user_profile_patch_all_params.rbi +0 -11
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +393 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +391 -0
- data/rbi/telnyx/resources/ai/openai/chat.rbi +5 -2
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/iam/guardrail/statements.rbi +132 -0
- data/rbi/telnyx/resources/iam/guardrail.rbi +29 -0
- data/rbi/telnyx/resources/iam/roles/statements.rbi +16 -4
- data/rbi/telnyx/resources/iam.rbi +18 -7
- data/rbi/telnyx/resources/mobile_phone_numbers.rbi +2 -0
- data/rbi/telnyx/resources/phone_numbers/voice.rbi +4 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +4 -4
- data/rbi/telnyx/resources/user_profile.rbi +0 -3
- data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +1 -1
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +1 -1
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +50 -57
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbs +3 -12
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbs +3 -12
- data/sig/telnyx/models/ai/readiness_probe.rbs +11 -8
- data/sig/telnyx/models/ai/telephony_settings.rbs +21 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +4 -4
- data/sig/telnyx/models/browser_sessions/wait_for_action.rbs +12 -13
- data/sig/telnyx/models/calls/deepgram_flux_config.rbs +80 -0
- data/sig/telnyx/models/calls/deepgram_flux_multi_config.rbs +91 -0
- data/sig/telnyx/models/calls/deepgram_nova2_specialty_config.rbs +93 -0
- data/sig/telnyx/models/calls/deepgram_nova3_medical_config.rbs +91 -0
- data/sig/telnyx/models/calls/transcription_engine_community_config.rbs +43 -0
- data/sig/telnyx/models/calls/transcription_engine_deepgram_config.rbs +4 -313
- data/sig/telnyx/models/calls/transcription_start_request.rbs +5 -382
- data/sig/telnyx/models/email_event_list_response.rbs +13 -3
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement.rbs +75 -0
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbs +22 -0
- data/sig/telnyx/models/iam/guardrail/statement_create_params.rbs +50 -0
- data/sig/telnyx/models/iam/guardrail/statement_delete_params.rbs +27 -0
- data/sig/telnyx/models/iam/guardrail/statement_list_params.rbs +36 -0
- data/sig/telnyx/models/iam/guardrail/statement_update_params.rbs +51 -0
- data/sig/telnyx/models/iam/guardrail_delete_all_params.rbs +17 -0
- data/sig/telnyx/models/iam/iam_action.rbs +4 -4
- data/sig/telnyx/models/iam/iam_settings.rbs +49 -0
- data/sig/telnyx/models/iam/iam_settings_response.rbs +4 -47
- data/sig/telnyx/models/iam/roles/iam_role_statement.rbs +5 -0
- data/sig/telnyx/models/iam/roles/iam_role_statement_conditions.rbs +17 -0
- data/sig/telnyx/models/iam/roles/statement_create_params.rbs +9 -0
- data/sig/telnyx/models/iam/roles/statement_update_params.rbs +10 -1
- data/sig/telnyx/models/iam_explain_params.rbs +6 -1
- data/sig/telnyx/models/iam_retrieve_access_logs_response.rbs +4 -4
- data/sig/telnyx/models/iam_simulate_params.rbs +5 -3
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +18 -18
- data/sig/telnyx/models/model_metadata.rbs +26 -0
- data/sig/telnyx/models/phone_numbers/emergency_settings.rbs +59 -0
- data/sig/telnyx/models/phone_numbers/numbers_cnam_listing.rbs +28 -0
- data/sig/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbs +12 -66
- data/sig/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbs +6 -6
- data/sig/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbs +6 -60
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +15 -15
- data/sig/telnyx/models/texml_application_list_params.rbs +3 -3
- data/sig/telnyx/models/user_profile.rbs +7 -0
- data/sig/telnyx/models/user_profile_patch_all_params.rbs +0 -7
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +207 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +205 -0
- data/sig/telnyx/resources/iam/guardrail/statements.rbs +35 -0
- data/sig/telnyx/resources/iam/guardrail.rbs +13 -0
- data/sig/telnyx/resources/iam/roles/statements.rbs +2 -0
- data/sig/telnyx/resources/iam.rbs +3 -0
- data/sig/telnyx/resources/phone_numbers/voice.rbs +1 -1
- data/sig/telnyx/resources/user_profile.rbs +0 -1
- data/sig/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbs +1 -1
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +1 -1
- metadata +62 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a5d1137e06bc04881bc76e873f65100903da81cb5c90584665e389a9607081d
|
|
4
|
+
data.tar.gz: 75abcee96532661aad7b8474f68374368516e17f1ad1eb8c7b51e9636e0e6a3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 755b332c484270a51f03a68cf58a77c405dbcb4c96f8ada2c1787b9d7f609c2e57f44afa21625db52a759a05ea98dcb0c05e7e5af0a2a7317ac0ee7518fb5ea2
|
|
7
|
+
data.tar.gz: 6a5112304dfa48db90ae9544fbc6c500a2cbe873fe39fe077f0d29b7d8fc0bd93c6ea2dbde601b443535b243614290dd6f7e6e15349cc2b69431f8aecdd713b5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.177.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.176.0...v5.177.0) (2026-12-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* promote from staging da975a2 ([daf9559](https://github.com/team-telnyx/telnyx-ruby/commit/daf9559c451a4a7a94ce2f74526397b540371321))
|
|
9
|
+
|
|
3
10
|
## [5.176.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.175.0...v5.176.0) (2026-11-30)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -125,8 +125,11 @@ module Telnyx
|
|
|
125
125
|
# Controls the reasoning effort for models that support it. When set, the model
|
|
126
126
|
# spends more or less compute on internal reasoning before generating its
|
|
127
127
|
# response. Supported values: none, minimal, low, medium, high, xhigh, max. Not
|
|
128
|
-
# all models support all values;
|
|
129
|
-
#
|
|
128
|
+
# all models support all values; each model's accepted set is returned as
|
|
129
|
+
# `supported_reasoning_efforts` in the model list. An unsupported value is
|
|
130
|
+
# rejected with a 400 error naming the value and the supported set. When omitted,
|
|
131
|
+
# reasoning models use their default effort level. On the Responses API the same
|
|
132
|
+
# control is `reasoning.effort`.
|
|
130
133
|
#
|
|
131
134
|
# @return [Symbol, Telnyx::Models::AI::ChatCompletionRequest::ReasoningEffort, nil]
|
|
132
135
|
optional :reasoning_effort, enum: -> { Telnyx::AI::ChatCompletionRequest::ReasoningEffort }
|
|
@@ -383,8 +386,11 @@ module Telnyx
|
|
|
383
386
|
# Controls the reasoning effort for models that support it. When set, the model
|
|
384
387
|
# spends more or less compute on internal reasoning before generating its
|
|
385
388
|
# response. Supported values: none, minimal, low, medium, high, xhigh, max. Not
|
|
386
|
-
# all models support all values;
|
|
387
|
-
#
|
|
389
|
+
# all models support all values; each model's accepted set is returned as
|
|
390
|
+
# `supported_reasoning_efforts` in the model list. An unsupported value is
|
|
391
|
+
# rejected with a 400 error naming the value and the supported set. When omitted,
|
|
392
|
+
# reasoning models use their default effort level. On the Responses API the same
|
|
393
|
+
# control is `reasoning.effort`.
|
|
388
394
|
#
|
|
389
395
|
# @see Telnyx::Models::AI::ChatCompletionRequest#reasoning_effort
|
|
390
396
|
module ReasoningEffort
|
|
@@ -6,14 +6,25 @@ module Telnyx
|
|
|
6
6
|
class InferenceEmbeddingVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute voice
|
|
8
8
|
# The voice to be used by the voice assistant. Check the full list of
|
|
9
|
-
# [available voices](https://developers.telnyx.com/docs/tts
|
|
9
|
+
# [available voices](https://developers.telnyx.com/docs/voice/tts/available-voices)
|
|
10
10
|
# via our voices API. To use ElevenLabs, you must reference your ElevenLabs API
|
|
11
11
|
# key as an integration secret under the `api_key_ref` field. See
|
|
12
12
|
# [integration secrets documentation](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
13
13
|
# for details. For Telnyx voices, use `Telnyx.<model_id>.<voice_id>` (e.g.
|
|
14
14
|
# Telnyx.KokoroTTS.af_heart). For Soniox voices, use `Soniox.tts-rt-v2.<voice_id>`
|
|
15
15
|
# (e.g. Soniox.tts-rt-v2.Emma); every Soniox voice speaks all supported languages.
|
|
16
|
-
#
|
|
16
|
+
# For ElevenLabs voices, use `ElevenLabs.<model_id>.<voice_id>` (e.g.
|
|
17
|
+
# `ElevenLabs.eleven_flash_v2_5.cgSgspJ2msm6clMCkdW9`), with the `ElevenLabs`
|
|
18
|
+
# prefix written exactly as shown. The voice must exist in the ElevenLabs account
|
|
19
|
+
# behind `api_key_ref`, and `<model_id>` must be a model that voice supports: list
|
|
20
|
+
# the exact identifiers with the
|
|
21
|
+
# [Voices API](https://developers.telnyx.com/api-reference/text-to-speech-commands/list-available-voices)
|
|
22
|
+
# by passing `provider=elevenlabs` and your ElevenLabs API key. Voices that list
|
|
23
|
+
# no models, such as instant clones and designed voices, also accept
|
|
24
|
+
# `ElevenLabs.<voice_id>`, which uses ElevenLabs' default model. With `eleven_v3`
|
|
25
|
+
# and `eleven_v4` models only `temperature` is applied; `similarity_boost`,
|
|
26
|
+
# `style`, `use_speaker_boost` and `voice_speed` have no effect. The voice portion
|
|
27
|
+
# of the identifier supports
|
|
17
28
|
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
18
29
|
# using mustache syntax (e.g. `Telnyx.Ultra.{{voice_id}}`). The variable is
|
|
19
30
|
# resolved at call time from your dynamic variables webhook, allowing you to
|
|
@@ -36,7 +47,7 @@ module Telnyx
|
|
|
36
47
|
# supply a looped MP3 URL. If a media URL is chosen in the portal, customers can
|
|
37
48
|
# preview it before saving.
|
|
38
49
|
#
|
|
39
|
-
# @return [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
50
|
+
# @return [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName, nil]
|
|
40
51
|
optional :background_audio, union: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio }
|
|
41
52
|
|
|
42
53
|
# @!attribute expressive_mode
|
|
@@ -72,13 +83,6 @@ module Telnyx
|
|
|
72
83
|
# @return [Float, nil]
|
|
73
84
|
optional :similarity_boost, Float
|
|
74
85
|
|
|
75
|
-
# @!attribute speed
|
|
76
|
-
# Adjusts speech velocity. 1.0 is default speed; values less than 1.0 slow speech;
|
|
77
|
-
# values greater than 1.0 accelerate it. Only applicable when using ElevenLabs.
|
|
78
|
-
#
|
|
79
|
-
# @return [Float, nil]
|
|
80
|
-
optional :speed, Float
|
|
81
|
-
|
|
82
86
|
# @!attribute style
|
|
83
87
|
# Determines the style exaggeration of the voice. Amplifies speaker style but
|
|
84
88
|
# consumes additional resources when set above 0. Only applicable when using
|
|
@@ -90,7 +94,9 @@ module Telnyx
|
|
|
90
94
|
# @!attribute temperature
|
|
91
95
|
# Determines how stable the voice is and the randomness between each generation.
|
|
92
96
|
# Lower values create a broader emotional range; higher values produce more
|
|
93
|
-
# consistent, monotonous output. Only applicable when using ElevenLabs
|
|
97
|
+
# consistent, monotonous output. Only applicable when using ElevenLabs, where it
|
|
98
|
+
# sets the voice's stability. When unset, the stability saved on the voice in your
|
|
99
|
+
# ElevenLabs account applies.
|
|
94
100
|
#
|
|
95
101
|
# @return [Float, nil]
|
|
96
102
|
optional :temperature, Float
|
|
@@ -101,7 +107,7 @@ module Telnyx
|
|
|
101
107
|
# responds, then the background audio resumes. Defaults to null, which plays no
|
|
102
108
|
# sound; send `null` on update to clear it. Not played in conference calls.
|
|
103
109
|
#
|
|
104
|
-
# @return [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
110
|
+
# @return [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL, nil]
|
|
105
111
|
optional :tool_call_audio,
|
|
106
112
|
union: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio },
|
|
107
113
|
nil?: true
|
|
@@ -117,12 +123,14 @@ module Telnyx
|
|
|
117
123
|
# The speed of the voice in the range [0.6, 1.5]. 1.0 is the default speed. Larger
|
|
118
124
|
# numbers make the voice faster, smaller numbers make it slower. Applies to Telnyx
|
|
119
125
|
# `Ultra` voices; values outside this range are rejected by the synthesis engine.
|
|
120
|
-
# Soniox voices support a speed range of 0.7 to 1.3.
|
|
126
|
+
# Soniox voices support a speed range of 0.7 to 1.3. For ElevenLabs voices this
|
|
127
|
+
# sets the ElevenLabs speed, limited to 0.7 to 1.2: values outside that range are
|
|
128
|
+
# clamped to the nearest bound.
|
|
121
129
|
#
|
|
122
130
|
# @return [Float, nil]
|
|
123
131
|
optional :voice_speed, Float
|
|
124
132
|
|
|
125
|
-
# @!method initialize(voice:, api_key_ref: nil, background_audio: nil, expressive_mode: nil, language: nil, language_boost: nil, similarity_boost: nil,
|
|
133
|
+
# @!method initialize(voice:, api_key_ref: nil, background_audio: nil, expressive_mode: nil, language: nil, language_boost: nil, similarity_boost: nil, style: nil, temperature: nil, tool_call_audio: nil, use_speaker_boost: nil, voice_speed: nil)
|
|
126
134
|
# Some parameter documentations has been truncated, see
|
|
127
135
|
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings} for more details.
|
|
128
136
|
#
|
|
@@ -130,7 +138,7 @@ module Telnyx
|
|
|
130
138
|
#
|
|
131
139
|
# @param api_key_ref [String] The `identifier` for an integration secret [/v2/integration_secrets](https://dev
|
|
132
140
|
#
|
|
133
|
-
# @param background_audio [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
141
|
+
# @param background_audio [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName] Optional background audio to play on the call. Use a predefined media bed, or su
|
|
134
142
|
#
|
|
135
143
|
# @param expressive_mode [Boolean] Enables emotionally expressive speech using SSML emotion tags. When enabled, the
|
|
136
144
|
#
|
|
@@ -140,13 +148,11 @@ module Telnyx
|
|
|
140
148
|
#
|
|
141
149
|
# @param similarity_boost [Float] Determines how closely the AI should adhere to the original voice when attemptin
|
|
142
150
|
#
|
|
143
|
-
# @param speed [Float] Adjusts speech velocity. 1.0 is default speed; values less than 1.0 slow speech;
|
|
144
|
-
#
|
|
145
151
|
# @param style [Float] Determines the style exaggeration of the voice. Amplifies speaker style but cons
|
|
146
152
|
#
|
|
147
153
|
# @param temperature [Float] Determines how stable the voice is and the randomness between each generation. L
|
|
148
154
|
#
|
|
149
|
-
# @param tool_call_audio [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
155
|
+
# @param tool_call_audio [Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL, nil] Optional sound played to the caller while the assistant runs a tool (for example
|
|
150
156
|
#
|
|
151
157
|
# @param use_speaker_boost [Boolean] Amplifies similarity to the original speaker voice. Increases computational load
|
|
152
158
|
#
|
|
@@ -160,26 +166,26 @@ module Telnyx
|
|
|
160
166
|
module BackgroundAudio
|
|
161
167
|
extend Telnyx::Internal::Type::Union
|
|
162
168
|
|
|
163
|
-
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
169
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia }
|
|
164
170
|
|
|
165
|
-
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
171
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL }
|
|
166
172
|
|
|
167
|
-
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
173
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName }
|
|
168
174
|
|
|
169
|
-
class
|
|
175
|
+
class PredefinedMedia < Telnyx::Internal::Type::BaseModel
|
|
170
176
|
# @!attribute type
|
|
171
177
|
# Select from predefined media options.
|
|
172
178
|
#
|
|
173
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
179
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Type]
|
|
174
180
|
required :type,
|
|
175
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
181
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Type }
|
|
176
182
|
|
|
177
183
|
# @!attribute value
|
|
178
184
|
# The predefined media to use. `silence` disables background audio.
|
|
179
185
|
#
|
|
180
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
186
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Value]
|
|
181
187
|
required :value,
|
|
182
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
188
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Value }
|
|
183
189
|
|
|
184
190
|
# @!attribute volume
|
|
185
191
|
# Volume level for the predefined background audio. Supports values from 0.1 to
|
|
@@ -190,18 +196,18 @@ module Telnyx
|
|
|
190
196
|
|
|
191
197
|
# @!method initialize(type:, value:, volume: nil)
|
|
192
198
|
# Some parameter documentations has been truncated, see
|
|
193
|
-
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
199
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia}
|
|
194
200
|
# for more details.
|
|
195
201
|
#
|
|
196
|
-
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
202
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Type] Select from predefined media options.
|
|
197
203
|
#
|
|
198
|
-
# @param value [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
204
|
+
# @param value [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia::Value] The predefined media to use. `silence` disables background audio.
|
|
199
205
|
#
|
|
200
206
|
# @param volume [Float] Volume level for the predefined background audio. Supports values from 0.1 to 1.
|
|
201
207
|
|
|
202
208
|
# Select from predefined media options.
|
|
203
209
|
#
|
|
204
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
210
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia#type
|
|
205
211
|
module Type
|
|
206
212
|
extend Telnyx::Internal::Type::Enum
|
|
207
213
|
|
|
@@ -213,7 +219,7 @@ module Telnyx
|
|
|
213
219
|
|
|
214
220
|
# The predefined media to use. `silence` disables background audio.
|
|
215
221
|
#
|
|
216
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
222
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia#value
|
|
217
223
|
module Value
|
|
218
224
|
extend Telnyx::Internal::Type::Enum
|
|
219
225
|
|
|
@@ -225,13 +231,12 @@ module Telnyx
|
|
|
225
231
|
end
|
|
226
232
|
end
|
|
227
233
|
|
|
228
|
-
class
|
|
234
|
+
class MediaURL < Telnyx::Internal::Type::BaseModel
|
|
229
235
|
# @!attribute type
|
|
230
236
|
# Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
231
237
|
#
|
|
232
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
233
|
-
required :type,
|
|
234
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember1::Type }
|
|
238
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::Type]
|
|
239
|
+
required :type, enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::Type }
|
|
235
240
|
|
|
236
241
|
# @!attribute value
|
|
237
242
|
# HTTPS URL to an MP3 file.
|
|
@@ -240,13 +245,13 @@ module Telnyx
|
|
|
240
245
|
required :value, String
|
|
241
246
|
|
|
242
247
|
# @!method initialize(type:, value:)
|
|
243
|
-
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
248
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL::Type] Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
244
249
|
#
|
|
245
250
|
# @param value [String] HTTPS URL to an MP3 file.
|
|
246
251
|
|
|
247
252
|
# Provide a direct URL to an MP3 file. The audio will loop during the call.
|
|
248
253
|
#
|
|
249
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
254
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL#type
|
|
250
255
|
module Type
|
|
251
256
|
extend Telnyx::Internal::Type::Enum
|
|
252
257
|
|
|
@@ -257,13 +262,12 @@ module Telnyx
|
|
|
257
262
|
end
|
|
258
263
|
end
|
|
259
264
|
|
|
260
|
-
class
|
|
265
|
+
class MediaName < Telnyx::Internal::Type::BaseModel
|
|
261
266
|
# @!attribute type
|
|
262
267
|
# Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
263
268
|
#
|
|
264
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
265
|
-
required :type,
|
|
266
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::UnionMember2::Type }
|
|
269
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::Type]
|
|
270
|
+
required :type, enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::Type }
|
|
267
271
|
|
|
268
272
|
# @!attribute value
|
|
269
273
|
# The `name` of a media asset created via
|
|
@@ -275,16 +279,16 @@ module Telnyx
|
|
|
275
279
|
|
|
276
280
|
# @!method initialize(type:, value:)
|
|
277
281
|
# Some parameter documentations has been truncated, see
|
|
278
|
-
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
282
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName}
|
|
279
283
|
# for more details.
|
|
280
284
|
#
|
|
281
|
-
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
285
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName::Type] Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
282
286
|
#
|
|
283
287
|
# @param value [String] The `name` of a media asset created via [Media Storage API](https://developers.t
|
|
284
288
|
|
|
285
289
|
# Reference a previously uploaded media by its name from Telnyx Media Storage.
|
|
286
290
|
#
|
|
287
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
291
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName#type
|
|
288
292
|
module Type
|
|
289
293
|
extend Telnyx::Internal::Type::Enum
|
|
290
294
|
|
|
@@ -296,7 +300,7 @@ module Telnyx
|
|
|
296
300
|
end
|
|
297
301
|
|
|
298
302
|
# @!method self.variants
|
|
299
|
-
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::
|
|
303
|
+
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaURL, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::BackgroundAudio::MediaName)]
|
|
300
304
|
end
|
|
301
305
|
|
|
302
306
|
# Enhances recognition for specific languages and dialects during MiniMax TTS
|
|
@@ -362,24 +366,24 @@ module Telnyx
|
|
|
362
366
|
module ToolCallAudio
|
|
363
367
|
extend Telnyx::Internal::Type::Union
|
|
364
368
|
|
|
365
|
-
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
369
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia }
|
|
366
370
|
|
|
367
|
-
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
371
|
+
variant -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL }
|
|
368
372
|
|
|
369
|
-
class
|
|
373
|
+
class PredefinedMedia < Telnyx::Internal::Type::BaseModel
|
|
370
374
|
# @!attribute type
|
|
371
375
|
# Select from predefined media options.
|
|
372
376
|
#
|
|
373
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
377
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Type]
|
|
374
378
|
required :type,
|
|
375
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
379
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Type }
|
|
376
380
|
|
|
377
381
|
# @!attribute value
|
|
378
382
|
# The predefined media to use. `typing` plays a keyboard typing sound.
|
|
379
383
|
#
|
|
380
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
384
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Value]
|
|
381
385
|
required :value,
|
|
382
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
386
|
+
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Value }
|
|
383
387
|
|
|
384
388
|
# @!attribute volume
|
|
385
389
|
# Volume level for the predefined media. Supports values from 0.0 to 1.0 in 0.1
|
|
@@ -390,18 +394,18 @@ module Telnyx
|
|
|
390
394
|
|
|
391
395
|
# @!method initialize(type:, value:, volume: nil)
|
|
392
396
|
# Some parameter documentations has been truncated, see
|
|
393
|
-
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
397
|
+
# {Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia}
|
|
394
398
|
# for more details.
|
|
395
399
|
#
|
|
396
|
-
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
400
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Type] Select from predefined media options.
|
|
397
401
|
#
|
|
398
|
-
# @param value [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
402
|
+
# @param value [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia::Value] The predefined media to use. `typing` plays a keyboard typing sound.
|
|
399
403
|
#
|
|
400
404
|
# @param volume [Float] Volume level for the predefined media. Supports values from 0.0 to 1.0 in 0.1 in
|
|
401
405
|
|
|
402
406
|
# Select from predefined media options.
|
|
403
407
|
#
|
|
404
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
408
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia#type
|
|
405
409
|
module Type
|
|
406
410
|
extend Telnyx::Internal::Type::Enum
|
|
407
411
|
|
|
@@ -413,7 +417,7 @@ module Telnyx
|
|
|
413
417
|
|
|
414
418
|
# The predefined media to use. `typing` plays a keyboard typing sound.
|
|
415
419
|
#
|
|
416
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
420
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia#value
|
|
417
421
|
module Value
|
|
418
422
|
extend Telnyx::Internal::Type::Enum
|
|
419
423
|
|
|
@@ -424,13 +428,12 @@ module Telnyx
|
|
|
424
428
|
end
|
|
425
429
|
end
|
|
426
430
|
|
|
427
|
-
class
|
|
431
|
+
class MediaURL < Telnyx::Internal::Type::BaseModel
|
|
428
432
|
# @!attribute type
|
|
429
433
|
# Provide a direct URL to an MP3 file. The audio loops while the tool runs.
|
|
430
434
|
#
|
|
431
|
-
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
432
|
-
required :type,
|
|
433
|
-
enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::UnionMember1::Type }
|
|
435
|
+
# @return [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::Type]
|
|
436
|
+
required :type, enum: -> { Telnyx::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::Type }
|
|
434
437
|
|
|
435
438
|
# @!attribute value
|
|
436
439
|
# HTTPS URL to an MP3 file.
|
|
@@ -439,13 +442,13 @@ module Telnyx
|
|
|
439
442
|
required :value, String
|
|
440
443
|
|
|
441
444
|
# @!method initialize(type:, value:)
|
|
442
|
-
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
445
|
+
# @param type [Symbol, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL::Type] Provide a direct URL to an MP3 file. The audio loops while the tool runs.
|
|
443
446
|
#
|
|
444
447
|
# @param value [String] HTTPS URL to an MP3 file.
|
|
445
448
|
|
|
446
449
|
# Provide a direct URL to an MP3 file. The audio loops while the tool runs.
|
|
447
450
|
#
|
|
448
|
-
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
451
|
+
# @see Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL#type
|
|
449
452
|
module Type
|
|
450
453
|
extend Telnyx::Internal::Type::Enum
|
|
451
454
|
|
|
@@ -457,7 +460,7 @@ module Telnyx
|
|
|
457
460
|
end
|
|
458
461
|
|
|
459
462
|
# @!method self.variants
|
|
460
|
-
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::
|
|
463
|
+
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::PredefinedMedia, Telnyx::Models::AI::InferenceEmbeddingVoiceSettings::ToolCallAudio::MediaURL)]
|
|
461
464
|
end
|
|
462
465
|
end
|
|
463
466
|
end
|
|
@@ -60,31 +60,22 @@ module Telnyx
|
|
|
60
60
|
|
|
61
61
|
variant -> { Telnyx::Models::AI::Memory::Namespaces::ProfileIngestParams::Body::IngestPayloadObjectMap }
|
|
62
62
|
|
|
63
|
-
variant
|
|
63
|
+
variant -> { Telnyx::Models::AI::Memory::Namespaces::ProfileIngestParams::Body::IngestPayloadListArray }
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
extend Telnyx::Internal::Type::Union
|
|
65
|
+
variant String
|
|
67
66
|
|
|
68
|
-
|
|
67
|
+
variant Float
|
|
69
68
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
variant Float
|
|
73
|
-
|
|
74
|
-
variant Telnyx::Internal::Type::Boolean
|
|
75
|
-
|
|
76
|
-
# @!method self.variants
|
|
77
|
-
# @return [Array(Array<Object>, String, Float, Boolean)]
|
|
78
|
-
|
|
79
|
-
# @type [Telnyx::Internal::Type::Converter]
|
|
80
|
-
IngestPayloadValueArray = Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
|
|
81
|
-
end
|
|
69
|
+
variant Telnyx::Internal::Type::Boolean
|
|
82
70
|
|
|
83
71
|
# @!method self.variants
|
|
84
72
|
# @return [Array(Hash{Symbol=>Object}, Array<Object>, String, Float, Boolean)]
|
|
85
73
|
|
|
86
74
|
# @type [Telnyx::Internal::Type::Converter]
|
|
87
75
|
IngestPayloadObjectMap = Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
76
|
+
|
|
77
|
+
# @type [Telnyx::Internal::Type::Converter]
|
|
78
|
+
IngestPayloadListArray = Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
|
|
88
79
|
end
|
|
89
80
|
end
|
|
90
81
|
end
|
|
@@ -87,31 +87,22 @@ module Telnyx
|
|
|
87
87
|
|
|
88
88
|
variant -> { Telnyx::Models::AI::Memory::Namespaces::Profiles::SourceRetrieveResponse::Data::Content::SourceContentObjectMap }
|
|
89
89
|
|
|
90
|
-
variant
|
|
90
|
+
variant -> { Telnyx::Models::AI::Memory::Namespaces::Profiles::SourceRetrieveResponse::Data::Content::SourceContentListArray }
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
extend Telnyx::Internal::Type::Union
|
|
92
|
+
variant String
|
|
94
93
|
|
|
95
|
-
|
|
94
|
+
variant Float
|
|
96
95
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
variant Float
|
|
100
|
-
|
|
101
|
-
variant Telnyx::Internal::Type::Boolean
|
|
102
|
-
|
|
103
|
-
# @!method self.variants
|
|
104
|
-
# @return [Array(Array<Object>, String, Float, Boolean)]
|
|
105
|
-
|
|
106
|
-
# @type [Telnyx::Internal::Type::Converter]
|
|
107
|
-
SourceContentValueArray = Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
|
|
108
|
-
end
|
|
96
|
+
variant Telnyx::Internal::Type::Boolean
|
|
109
97
|
|
|
110
98
|
# @!method self.variants
|
|
111
99
|
# @return [Array(Hash{Symbol=>Object}, Array<Object>, String, Float, Boolean)]
|
|
112
100
|
|
|
113
101
|
# @type [Telnyx::Internal::Type::Converter]
|
|
114
102
|
SourceContentObjectMap = Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
103
|
+
|
|
104
|
+
# @type [Telnyx::Internal::Type::Converter]
|
|
105
|
+
SourceContentListArray = Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
|
|
115
106
|
end
|
|
116
107
|
end
|
|
117
108
|
end
|
|
@@ -64,13 +64,14 @@ module Telnyx
|
|
|
64
64
|
# and the LLM still sees full content in its context window. Call recordings
|
|
65
65
|
# (including any recording layout configured under telephony settings) and the
|
|
66
66
|
# payloads of messages/webhooks delivered during the call are never redacted by
|
|
67
|
-
# this setting.
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
#
|
|
73
|
-
#
|
|
67
|
+
# this setting. To redact call recordings, use
|
|
68
|
+
# `telephony_settings.recording_settings.redaction`. The set of detected PII types
|
|
69
|
+
# (names, street addresses, phone numbers, email addresses, government identifiers
|
|
70
|
+
# like SSN and driver's license numbers, credit card and bank account numbers, IP
|
|
71
|
+
# addresses, dates of birth, and other identifiers unique to a person) is fixed by
|
|
72
|
+
# Telnyx and cannot be configured or extended per assistant. Assistants with
|
|
73
|
+
# `redact` cannot be used for SMS/WhatsApp messaging (that combination is rejected
|
|
74
|
+
# with a 400 error); voice and web chat are unaffected.
|
|
74
75
|
#
|
|
75
76
|
# @return [Symbol, Telnyx::Models::AI::PrivacySettings::PiiRedaction, nil]
|
|
76
77
|
optional :pii_redaction, enum: -> { Telnyx::AI::PrivacySettings::PiiRedaction }
|
|
@@ -102,13 +103,14 @@ module Telnyx
|
|
|
102
103
|
# and the LLM still sees full content in its context window. Call recordings
|
|
103
104
|
# (including any recording layout configured under telephony settings) and the
|
|
104
105
|
# payloads of messages/webhooks delivered during the call are never redacted by
|
|
105
|
-
# this setting.
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
#
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
#
|
|
106
|
+
# this setting. To redact call recordings, use
|
|
107
|
+
# `telephony_settings.recording_settings.redaction`. The set of detected PII types
|
|
108
|
+
# (names, street addresses, phone numbers, email addresses, government identifiers
|
|
109
|
+
# like SSN and driver's license numbers, credit card and bank account numbers, IP
|
|
110
|
+
# addresses, dates of birth, and other identifiers unique to a person) is fixed by
|
|
111
|
+
# Telnyx and cannot be configured or extended per assistant. Assistants with
|
|
112
|
+
# `redact` cannot be used for SMS/WhatsApp messaging (that combination is rejected
|
|
113
|
+
# with a 400 error); voice and web chat are unaffected.
|
|
112
114
|
#
|
|
113
115
|
# @see Telnyx::Models::AI::PrivacySettings#pii_redaction
|
|
114
116
|
module PiiRedaction
|
|
@@ -19,24 +19,24 @@ module Telnyx
|
|
|
19
19
|
# @return [Integer]
|
|
20
20
|
required :tcp_port, Integer
|
|
21
21
|
|
|
22
|
-
# @!attribute
|
|
22
|
+
# @!attribute exec_command
|
|
23
23
|
# Not set for a TCP port probe.
|
|
24
24
|
#
|
|
25
25
|
# @return [nil]
|
|
26
|
-
optional :
|
|
26
|
+
optional :exec_command, NilClass, api_name: :exec
|
|
27
27
|
|
|
28
|
-
# @!method initialize(tcp_port:,
|
|
28
|
+
# @!method initialize(tcp_port:, exec_command: nil)
|
|
29
29
|
# @param tcp_port [Integer] Ready once this port accepts connections inside the sandbox.
|
|
30
30
|
#
|
|
31
|
-
# @param
|
|
31
|
+
# @param exec_command [nil] Not set for a TCP port probe.
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
class ExecProbe < Telnyx::Internal::Type::BaseModel
|
|
35
|
-
# @!attribute
|
|
35
|
+
# @!attribute exec_command
|
|
36
36
|
# Ready once this command (argv) exits with 0.
|
|
37
37
|
#
|
|
38
38
|
# @return [Array<String>]
|
|
39
|
-
required :
|
|
39
|
+
required :exec_command, Telnyx::Internal::Type::ArrayOf[String], api_name: :exec
|
|
40
40
|
|
|
41
41
|
# @!attribute tcp_port
|
|
42
42
|
# Not set for an exec probe.
|
|
@@ -44,8 +44,8 @@ module Telnyx
|
|
|
44
44
|
# @return [nil]
|
|
45
45
|
optional :tcp_port, NilClass
|
|
46
46
|
|
|
47
|
-
# @!method initialize(
|
|
48
|
-
# @param
|
|
47
|
+
# @!method initialize(exec_command:, tcp_port: nil)
|
|
48
|
+
# @param exec_command [Array<String>] Ready once this command (argv) exits with 0.
|
|
49
49
|
#
|
|
50
50
|
# @param tcp_port [nil] Not set for an exec probe.
|
|
51
51
|
end
|