telnyx 5.128.0 → 5.129.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 +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/call_dial_params.rb +70 -3
- data/lib/telnyx/models/calls/action_answer_params.rb +70 -3
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +2 -1
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +37 -2
- data/lib/telnyx/models/calls/action_speak_params.rb +37 -2
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +2 -1
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +104 -4
- data/lib/telnyx/models/conferences/action_speak_params.rb +37 -2
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/call_dial_params.rbi +174 -6
- data/rbi/telnyx/models/calls/action_answer_params.rbi +174 -6
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +4 -2
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +91 -4
- data/rbi/telnyx/models/calls/action_speak_params.rbi +91 -4
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +4 -2
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +259 -8
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +91 -4
- data/rbi/telnyx/resources/calls/actions.rbi +12 -5
- data/rbi/telnyx/resources/conferences/actions.rbi +3 -1
- data/sig/telnyx/models/call_dial_params.rbs +62 -6
- data/sig/telnyx/models/calls/action_answer_params.rbs +62 -6
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +31 -3
- data/sig/telnyx/models/calls/action_speak_params.rbs +31 -3
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +93 -9
- data/sig/telnyx/models/conferences/action_speak_params.rbs +31 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dabf8f2269a03e05c0a2d84fee03a011cf5960743ddc0df56c618dab05c5512e
|
|
4
|
+
data.tar.gz: d26aa01374a25cab06070315d362105e1babc08f61cd3b1c780e0e2be59cda28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4888040ce2430d0c3eed94d1b43bde48afff9bc2a9a1e32c3451ed171ede1b46a9f64fc95acc4bac07b6acb56ef6752fa4a01d05f8854cf4527be08842bba0e5
|
|
7
|
+
data.tar.gz: 9a4420a10b5bccc53a41886ae034da0dc1ba1ff8ebb6e42ab679c5fd0e2363c4c62011d705096d282cacfea5d3ea5dfacb5b67c6bf13893ec04f112dd0408a25
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.129.0 (2026-06-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.128.0...v5.129.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.128.0...v5.129.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* TELAPPS-719: add Inworld inworld-tts-2 model + delivery_mode to call-control voice settings ([1f84640](https://github.com/team-telnyx/telnyx-ruby/commit/1f84640dab2e0aa2e51a4c302c89e09302664953))
|
|
10
|
+
|
|
3
11
|
## 5.128.0 (2026-06-15)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.127.0...v5.128.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.127.0...v5.128.0)
|
data/README.md
CHANGED
|
@@ -1078,7 +1078,8 @@ module Telnyx
|
|
|
1078
1078
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
1079
1079
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
1080
1080
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
1081
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
1081
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
1082
|
+
# `Max`, `TTS2`.
|
|
1082
1083
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
1083
1084
|
# `ara`, `rex`, `sal`, `leo`.
|
|
1084
1085
|
#
|
|
@@ -1412,8 +1413,41 @@ module Telnyx
|
|
|
1412
1413
|
# @return [Symbol, :inworld]
|
|
1413
1414
|
required :type, const: :inworld
|
|
1414
1415
|
|
|
1415
|
-
# @!
|
|
1416
|
+
# @!attribute delivery_mode
|
|
1417
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1418
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
1419
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
1420
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
1421
|
+
#
|
|
1422
|
+
# @return [Symbol, Telnyx::Models::CallDialParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
1423
|
+
optional :delivery_mode,
|
|
1424
|
+
enum: -> { Telnyx::CallDialParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode }
|
|
1425
|
+
|
|
1426
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
1427
|
+
# Some parameter documentations has been truncated, see
|
|
1428
|
+
# {Telnyx::Models::CallDialParams::ConversationRelayConfig::Language::VoiceSettings::Inworld}
|
|
1429
|
+
# for more details.
|
|
1430
|
+
#
|
|
1431
|
+
# @param delivery_mode [Symbol, Telnyx::Models::CallDialParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1432
|
+
#
|
|
1416
1433
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
1434
|
+
|
|
1435
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1436
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
1437
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
1438
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
1439
|
+
#
|
|
1440
|
+
# @see Telnyx::Models::CallDialParams::ConversationRelayConfig::Language::VoiceSettings::Inworld#delivery_mode
|
|
1441
|
+
module DeliveryMode
|
|
1442
|
+
extend Telnyx::Internal::Type::Enum
|
|
1443
|
+
|
|
1444
|
+
STABLE = :STABLE
|
|
1445
|
+
BALANCED = :BALANCED
|
|
1446
|
+
CREATIVE = :CREATIVE
|
|
1447
|
+
|
|
1448
|
+
# @!method self.values
|
|
1449
|
+
# @return [Array<Symbol>]
|
|
1450
|
+
end
|
|
1417
1451
|
end
|
|
1418
1452
|
|
|
1419
1453
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -1497,8 +1531,41 @@ module Telnyx
|
|
|
1497
1531
|
# @return [Symbol, :inworld]
|
|
1498
1532
|
required :type, const: :inworld
|
|
1499
1533
|
|
|
1500
|
-
# @!
|
|
1534
|
+
# @!attribute delivery_mode
|
|
1535
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1536
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
1537
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
1538
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
1539
|
+
#
|
|
1540
|
+
# @return [Symbol, Telnyx::Models::CallDialParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
1541
|
+
optional :delivery_mode,
|
|
1542
|
+
enum: -> { Telnyx::CallDialParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode }
|
|
1543
|
+
|
|
1544
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
1545
|
+
# Some parameter documentations has been truncated, see
|
|
1546
|
+
# {Telnyx::Models::CallDialParams::ConversationRelayConfig::VoiceSettings::Inworld}
|
|
1547
|
+
# for more details.
|
|
1548
|
+
#
|
|
1549
|
+
# @param delivery_mode [Symbol, Telnyx::Models::CallDialParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1550
|
+
#
|
|
1501
1551
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
1552
|
+
|
|
1553
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
1554
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
1555
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
1556
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
1557
|
+
#
|
|
1558
|
+
# @see Telnyx::Models::CallDialParams::ConversationRelayConfig::VoiceSettings::Inworld#delivery_mode
|
|
1559
|
+
module DeliveryMode
|
|
1560
|
+
extend Telnyx::Internal::Type::Enum
|
|
1561
|
+
|
|
1562
|
+
STABLE = :STABLE
|
|
1563
|
+
BALANCED = :BALANCED
|
|
1564
|
+
CREATIVE = :CREATIVE
|
|
1565
|
+
|
|
1566
|
+
# @!method self.values
|
|
1567
|
+
# @return [Array<Symbol>]
|
|
1568
|
+
end
|
|
1502
1569
|
end
|
|
1503
1570
|
|
|
1504
1571
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -440,7 +440,8 @@ module Telnyx
|
|
|
440
440
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
441
441
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
442
442
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
443
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
443
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
444
|
+
# `Max`, `TTS2`.
|
|
444
445
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
445
446
|
# `ara`, `rex`, `sal`, `leo`.
|
|
446
447
|
#
|
|
@@ -778,8 +779,41 @@ module Telnyx
|
|
|
778
779
|
# @return [Symbol, :inworld]
|
|
779
780
|
required :type, const: :inworld
|
|
780
781
|
|
|
781
|
-
# @!
|
|
782
|
+
# @!attribute delivery_mode
|
|
783
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
784
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
785
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
786
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
787
|
+
#
|
|
788
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
789
|
+
optional :delivery_mode,
|
|
790
|
+
enum: -> { Telnyx::Calls::ActionAnswerParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode }
|
|
791
|
+
|
|
792
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
793
|
+
# Some parameter documentations has been truncated, see
|
|
794
|
+
# {Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::Language::VoiceSettings::Inworld}
|
|
795
|
+
# for more details.
|
|
796
|
+
#
|
|
797
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::Language::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
798
|
+
#
|
|
782
799
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
800
|
+
|
|
801
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
802
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
803
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
804
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
805
|
+
#
|
|
806
|
+
# @see Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::Language::VoiceSettings::Inworld#delivery_mode
|
|
807
|
+
module DeliveryMode
|
|
808
|
+
extend Telnyx::Internal::Type::Enum
|
|
809
|
+
|
|
810
|
+
STABLE = :STABLE
|
|
811
|
+
BALANCED = :BALANCED
|
|
812
|
+
CREATIVE = :CREATIVE
|
|
813
|
+
|
|
814
|
+
# @!method self.values
|
|
815
|
+
# @return [Array<Symbol>]
|
|
816
|
+
end
|
|
783
817
|
end
|
|
784
818
|
|
|
785
819
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -864,8 +898,41 @@ module Telnyx
|
|
|
864
898
|
# @return [Symbol, :inworld]
|
|
865
899
|
required :type, const: :inworld
|
|
866
900
|
|
|
867
|
-
# @!
|
|
901
|
+
# @!attribute delivery_mode
|
|
902
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
903
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
904
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
905
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
906
|
+
#
|
|
907
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
908
|
+
optional :delivery_mode,
|
|
909
|
+
enum: -> { Telnyx::Calls::ActionAnswerParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode }
|
|
910
|
+
|
|
911
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
912
|
+
# Some parameter documentations has been truncated, see
|
|
913
|
+
# {Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::VoiceSettings::Inworld}
|
|
914
|
+
# for more details.
|
|
915
|
+
#
|
|
916
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
917
|
+
#
|
|
868
918
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
919
|
+
|
|
920
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
921
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
922
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
923
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
924
|
+
#
|
|
925
|
+
# @see Telnyx::Models::Calls::ActionAnswerParams::ConversationRelayConfig::VoiceSettings::Inworld#delivery_mode
|
|
926
|
+
module DeliveryMode
|
|
927
|
+
extend Telnyx::Internal::Type::Enum
|
|
928
|
+
|
|
929
|
+
STABLE = :STABLE
|
|
930
|
+
BALANCED = :BALANCED
|
|
931
|
+
CREATIVE = :CREATIVE
|
|
932
|
+
|
|
933
|
+
# @!method self.values
|
|
934
|
+
# @return [Array<Symbol>]
|
|
935
|
+
end
|
|
869
936
|
end
|
|
870
937
|
|
|
871
938
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -134,7 +134,8 @@ module Telnyx
|
|
|
134
134
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
135
135
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
136
136
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
137
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
137
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
138
|
+
# `Max`, `TTS2`.
|
|
138
139
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
139
140
|
# `ara`, `rex`, `sal`, `leo`.
|
|
140
141
|
#
|
|
@@ -58,7 +58,9 @@ module Telnyx
|
|
|
58
58
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
59
59
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
60
60
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
61
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
61
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
62
|
+
# `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
|
|
63
|
+
# `BALANCED`, `CREATIVE`), supported by `TTS2` only.
|
|
62
64
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
63
65
|
# `ara`, `rex`, `sal`, `leo`.
|
|
64
66
|
#
|
|
@@ -298,8 +300,41 @@ module Telnyx
|
|
|
298
300
|
# @return [Symbol, :inworld]
|
|
299
301
|
required :type, const: :inworld
|
|
300
302
|
|
|
301
|
-
# @!
|
|
303
|
+
# @!attribute delivery_mode
|
|
304
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
305
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
306
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
307
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
308
|
+
#
|
|
309
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
310
|
+
optional :delivery_mode,
|
|
311
|
+
enum: -> { Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::DeliveryMode }
|
|
312
|
+
|
|
313
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
314
|
+
# Some parameter documentations has been truncated, see
|
|
315
|
+
# {Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld}
|
|
316
|
+
# for more details.
|
|
317
|
+
#
|
|
318
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
319
|
+
#
|
|
302
320
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
321
|
+
|
|
322
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
323
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
324
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
325
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
326
|
+
#
|
|
327
|
+
# @see Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld#delivery_mode
|
|
328
|
+
module DeliveryMode
|
|
329
|
+
extend Telnyx::Internal::Type::Enum
|
|
330
|
+
|
|
331
|
+
STABLE = :STABLE
|
|
332
|
+
BALANCED = :BALANCED
|
|
333
|
+
CREATIVE = :CREATIVE
|
|
334
|
+
|
|
335
|
+
# @!method self.values
|
|
336
|
+
# @return [Array<Symbol>]
|
|
337
|
+
end
|
|
303
338
|
end
|
|
304
339
|
|
|
305
340
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -58,7 +58,9 @@ module Telnyx
|
|
|
58
58
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
59
59
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
60
60
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
61
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
61
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
62
|
+
# `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
|
|
63
|
+
# `BALANCED`, `CREATIVE`), supported by `TTS2` only.
|
|
62
64
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
63
65
|
# `ara`, `rex`, `sal`, `leo`.
|
|
64
66
|
#
|
|
@@ -267,8 +269,41 @@ module Telnyx
|
|
|
267
269
|
# @return [Symbol, :inworld]
|
|
268
270
|
required :type, const: :inworld
|
|
269
271
|
|
|
270
|
-
# @!
|
|
272
|
+
# @!attribute delivery_mode
|
|
273
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
274
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
275
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
276
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
277
|
+
#
|
|
278
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
279
|
+
optional :delivery_mode,
|
|
280
|
+
enum: -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode }
|
|
281
|
+
|
|
282
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
283
|
+
# Some parameter documentations has been truncated, see
|
|
284
|
+
# {Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld} for more
|
|
285
|
+
# details.
|
|
286
|
+
#
|
|
287
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
288
|
+
#
|
|
271
289
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
290
|
+
|
|
291
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
292
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
293
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
294
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
295
|
+
#
|
|
296
|
+
# @see Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld#delivery_mode
|
|
297
|
+
module DeliveryMode
|
|
298
|
+
extend Telnyx::Internal::Type::Enum
|
|
299
|
+
|
|
300
|
+
STABLE = :STABLE
|
|
301
|
+
BALANCED = :BALANCED
|
|
302
|
+
CREATIVE = :CREATIVE
|
|
303
|
+
|
|
304
|
+
# @!method self.values
|
|
305
|
+
# @return [Array<Symbol>]
|
|
306
|
+
end
|
|
272
307
|
end
|
|
273
308
|
|
|
274
309
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -104,7 +104,8 @@ module Telnyx
|
|
|
104
104
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
105
105
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
106
106
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
107
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
107
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
108
|
+
# `Max`, `TTS2`.
|
|
108
109
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
109
110
|
# `ara`, `rex`, `sal`, `leo`.
|
|
110
111
|
#
|
|
@@ -195,7 +195,8 @@ module Telnyx
|
|
|
195
195
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
196
196
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
197
197
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
198
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
198
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
199
|
+
# `Max`, `TTS2`.
|
|
199
200
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
200
201
|
# `ara`, `rex`, `sal`, `leo`.
|
|
201
202
|
#
|
|
@@ -511,8 +512,41 @@ module Telnyx
|
|
|
511
512
|
# @return [Symbol, :inworld]
|
|
512
513
|
required :type, const: :inworld
|
|
513
514
|
|
|
514
|
-
# @!
|
|
515
|
+
# @!attribute delivery_mode
|
|
516
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
517
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
518
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
519
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
520
|
+
#
|
|
521
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
522
|
+
optional :delivery_mode,
|
|
523
|
+
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::DeliveryMode }
|
|
524
|
+
|
|
525
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
526
|
+
# Some parameter documentations has been truncated, see
|
|
527
|
+
# {Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld}
|
|
528
|
+
# for more details.
|
|
529
|
+
#
|
|
530
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
531
|
+
#
|
|
515
532
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
533
|
+
|
|
534
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
535
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
536
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
537
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
538
|
+
#
|
|
539
|
+
# @see Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld#delivery_mode
|
|
540
|
+
module DeliveryMode
|
|
541
|
+
extend Telnyx::Internal::Type::Enum
|
|
542
|
+
|
|
543
|
+
STABLE = :STABLE
|
|
544
|
+
BALANCED = :BALANCED
|
|
545
|
+
CREATIVE = :CREATIVE
|
|
546
|
+
|
|
547
|
+
# @!method self.values
|
|
548
|
+
# @return [Array<Symbol>]
|
|
549
|
+
end
|
|
516
550
|
end
|
|
517
551
|
|
|
518
552
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -814,8 +848,41 @@ module Telnyx
|
|
|
814
848
|
# @return [Symbol, :inworld]
|
|
815
849
|
required :type, const: :inworld
|
|
816
850
|
|
|
817
|
-
# @!
|
|
851
|
+
# @!attribute delivery_mode
|
|
852
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
853
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
854
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
855
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
856
|
+
#
|
|
857
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
858
|
+
optional :delivery_mode,
|
|
859
|
+
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::DeliveryMode }
|
|
860
|
+
|
|
861
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
862
|
+
# Some parameter documentations has been truncated, see
|
|
863
|
+
# {Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld}
|
|
864
|
+
# for more details.
|
|
865
|
+
#
|
|
866
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
867
|
+
#
|
|
818
868
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
869
|
+
|
|
870
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
871
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
872
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
873
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
874
|
+
#
|
|
875
|
+
# @see Telnyx::Models::Calls::ActionStartConversationRelayParams::Language::VoiceSettings::Inworld#delivery_mode
|
|
876
|
+
module DeliveryMode
|
|
877
|
+
extend Telnyx::Internal::Type::Enum
|
|
878
|
+
|
|
879
|
+
STABLE = :STABLE
|
|
880
|
+
BALANCED = :BALANCED
|
|
881
|
+
CREATIVE = :CREATIVE
|
|
882
|
+
|
|
883
|
+
# @!method self.values
|
|
884
|
+
# @return [Array<Symbol>]
|
|
885
|
+
end
|
|
819
886
|
end
|
|
820
887
|
|
|
821
888
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -895,8 +962,41 @@ module Telnyx
|
|
|
895
962
|
# @return [Symbol, :inworld]
|
|
896
963
|
required :type, const: :inworld
|
|
897
964
|
|
|
898
|
-
# @!
|
|
965
|
+
# @!attribute delivery_mode
|
|
966
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
967
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
968
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
969
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
970
|
+
#
|
|
971
|
+
# @return [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
972
|
+
optional :delivery_mode,
|
|
973
|
+
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::DeliveryMode }
|
|
974
|
+
|
|
975
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
976
|
+
# Some parameter documentations has been truncated, see
|
|
977
|
+
# {Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld}
|
|
978
|
+
# for more details.
|
|
979
|
+
#
|
|
980
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
981
|
+
#
|
|
899
982
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
983
|
+
|
|
984
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
985
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
986
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
987
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
988
|
+
#
|
|
989
|
+
# @see Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld#delivery_mode
|
|
990
|
+
module DeliveryMode
|
|
991
|
+
extend Telnyx::Internal::Type::Enum
|
|
992
|
+
|
|
993
|
+
STABLE = :STABLE
|
|
994
|
+
BALANCED = :BALANCED
|
|
995
|
+
CREATIVE = :CREATIVE
|
|
996
|
+
|
|
997
|
+
# @!method self.values
|
|
998
|
+
# @return [Array<Symbol>]
|
|
999
|
+
end
|
|
900
1000
|
end
|
|
901
1001
|
|
|
902
1002
|
class Xai < Telnyx::Internal::Type::BaseModel
|
|
@@ -58,7 +58,9 @@ module Telnyx
|
|
|
58
58
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
59
59
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
60
60
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
61
|
-
# `Inworld.Max.Oliver`). Supported models: `Mini`,
|
|
61
|
+
# `Inworld.Max.Oliver`, `Inworld.TTS2.Loretta`). Supported models: `Mini`,
|
|
62
|
+
# `Max`, `TTS2`. Use `voice_settings` to configure `delivery_mode` (`STABLE`,
|
|
63
|
+
# `BALANCED`, `CREATIVE`), supported by `TTS2` only.
|
|
62
64
|
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
63
65
|
# `ara`, `rex`, `sal`, `leo`.
|
|
64
66
|
#
|
|
@@ -230,8 +232,41 @@ module Telnyx
|
|
|
230
232
|
# @return [Symbol, :inworld]
|
|
231
233
|
required :type, const: :inworld
|
|
232
234
|
|
|
233
|
-
# @!
|
|
235
|
+
# @!attribute delivery_mode
|
|
236
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
237
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
238
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
239
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
240
|
+
#
|
|
241
|
+
# @return [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode, nil]
|
|
242
|
+
optional :delivery_mode,
|
|
243
|
+
enum: -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode }
|
|
244
|
+
|
|
245
|
+
# @!method initialize(delivery_mode: nil, type: :inworld)
|
|
246
|
+
# Some parameter documentations has been truncated, see
|
|
247
|
+
# {Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld} for
|
|
248
|
+
# more details.
|
|
249
|
+
#
|
|
250
|
+
# @param delivery_mode [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld::DeliveryMode] Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
251
|
+
#
|
|
234
252
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
253
|
+
|
|
254
|
+
# Controls the expressiveness and consistency of the Inworld `TTS2` model's speech
|
|
255
|
+
# synthesis. `STABLE` favors consistent, predictable output, `CREATIVE` allows
|
|
256
|
+
# more expressive variation, and `BALANCED` sits in between. Optional and only
|
|
257
|
+
# supported by `TTS2`; when omitted, the provider default applies.
|
|
258
|
+
#
|
|
259
|
+
# @see Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld#delivery_mode
|
|
260
|
+
module DeliveryMode
|
|
261
|
+
extend Telnyx::Internal::Type::Enum
|
|
262
|
+
|
|
263
|
+
STABLE = :STABLE
|
|
264
|
+
BALANCED = :BALANCED
|
|
265
|
+
CREATIVE = :CREATIVE
|
|
266
|
+
|
|
267
|
+
# @!method self.values
|
|
268
|
+
# @return [Array<Symbol>]
|
|
269
|
+
end
|
|
235
270
|
end
|
|
236
271
|
|
|
237
272
|
class Xai < Telnyx::Internal::Type::BaseModel
|
data/lib/telnyx/version.rb
CHANGED