telnyx 5.23.0 → 5.25.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
- data/lib/telnyx/models/ai/assistant_tool.rb +31 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
- data/lib/telnyx/models/ai/inference_embedding.rb +2 -2
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +49 -9
- data/lib/telnyx/models/calls/action_speak_params.rb +49 -9
- data/lib/telnyx/models/conferences/action_speak_params.rb +49 -9
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +73 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -2
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +91 -17
- data/rbi/telnyx/models/calls/action_speak_params.rbi +91 -17
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +91 -17
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
- data/rbi/telnyx/resources/calls/actions.rbi +22 -14
- data/rbi/telnyx/resources/conferences/actions.rbi +11 -7
- data/sig/telnyx/models/ai/assistant_tool.rbs +35 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +34 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +34 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +34 -0
- 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: 58149432a0fd4e25409354c83ede2c5c865e802f5d07303e1fc7b8145599a544
|
|
4
|
+
data.tar.gz: bfa54cc756005d9b8018da8bb9f16dfac26fbcd174d258b70069131b5496173a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9141c174b77435ade201a87d5a43c0dd81624388b76e237caeaa8ab1b9eb91cd6ae833852f1e8ebda2903b7787f110d8aa35704262c63957e5667c97e1a7eaf2
|
|
7
|
+
data.tar.gz: 4cca6a89a31dbbe4df7c2369193d3ec1cafc6e41dfd8ed432a54e83b5ea3dda3024c57f11805c28fcb7ec7d48bd49d5a5589ff5f7f75ec4b2f8c54cd83e7e2f2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.25.0 (2026-02-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.24.0...v5.25.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.24.0...v5.25.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Add Minimax and Resemble voice providers for speak commands ([1d62d0c](https://github.com/team-telnyx/telnyx-ruby/commit/1d62d0cf59a2640267647cd0a843e1c1c0a0bf91))
|
|
10
|
+
|
|
11
|
+
## 5.24.0 (2026-02-13)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v5.23.0...v5.24.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.23.0...v5.24.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* AI-2090: Add skip_turn tool type to assistant config schema ([5f0cf22](https://github.com/team-telnyx/telnyx-ruby/commit/5f0cf22e42d36454d43fcbd21543f12dc3f59884))
|
|
18
|
+
|
|
3
19
|
## 5.23.0 (2026-02-13)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v5.22.0...v5.23.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.22.0...v5.23.0)
|
data/README.md
CHANGED
|
@@ -98,7 +98,7 @@ module Telnyx
|
|
|
98
98
|
# The tools that the assistant can use. These may be templated with
|
|
99
99
|
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
100
100
|
#
|
|
101
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>, nil]
|
|
101
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>, nil]
|
|
102
102
|
optional :tools, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
103
103
|
|
|
104
104
|
# @!attribute transcription
|
|
@@ -147,7 +147,7 @@ module Telnyx
|
|
|
147
147
|
#
|
|
148
148
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
149
149
|
#
|
|
150
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
150
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
151
151
|
#
|
|
152
152
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
153
153
|
#
|
|
@@ -29,6 +29,8 @@ module Telnyx
|
|
|
29
29
|
# The send_message tool allows the assistant to send SMS or MMS messages to the end user. The 'to' and 'from' addresses are automatically determined from the conversation context, and the message text is generated by the assistant.
|
|
30
30
|
variant :send_message, -> { Telnyx::AI::AssistantTool::SendMessage }
|
|
31
31
|
|
|
32
|
+
variant :skip_turn, -> { Telnyx::AI::AssistantTool::SkipTurn }
|
|
33
|
+
|
|
32
34
|
class Handoff < Telnyx::Internal::Type::BaseModel
|
|
33
35
|
# @!attribute handoff
|
|
34
36
|
#
|
|
@@ -654,8 +656,36 @@ module Telnyx
|
|
|
654
656
|
# @param type [Symbol, :send_message]
|
|
655
657
|
end
|
|
656
658
|
|
|
659
|
+
class SkipTurn < Telnyx::Internal::Type::BaseModel
|
|
660
|
+
# @!attribute skip_turn
|
|
661
|
+
#
|
|
662
|
+
# @return [Telnyx::Models::AI::AssistantTool::SkipTurn::SkipTurn]
|
|
663
|
+
required :skip_turn, -> { Telnyx::AI::AssistantTool::SkipTurn::SkipTurn }
|
|
664
|
+
|
|
665
|
+
# @!attribute type
|
|
666
|
+
#
|
|
667
|
+
# @return [Symbol, :skip_turn]
|
|
668
|
+
required :type, const: :skip_turn
|
|
669
|
+
|
|
670
|
+
# @!method initialize(skip_turn:, type: :skip_turn)
|
|
671
|
+
# @param skip_turn [Telnyx::Models::AI::AssistantTool::SkipTurn::SkipTurn]
|
|
672
|
+
# @param type [Symbol, :skip_turn]
|
|
673
|
+
|
|
674
|
+
# @see Telnyx::Models::AI::AssistantTool::SkipTurn#skip_turn
|
|
675
|
+
class SkipTurn < Telnyx::Internal::Type::BaseModel
|
|
676
|
+
# @!attribute description
|
|
677
|
+
# The description of the function that will be passed to the assistant.
|
|
678
|
+
#
|
|
679
|
+
# @return [String, nil]
|
|
680
|
+
optional :description, String
|
|
681
|
+
|
|
682
|
+
# @!method initialize(description: nil)
|
|
683
|
+
# @param description [String] The description of the function that will be passed to the assistant.
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
|
|
657
687
|
# @!method self.variants
|
|
658
|
-
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage)]
|
|
688
|
+
# @return [Array(Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn)]
|
|
659
689
|
end
|
|
660
690
|
end
|
|
661
691
|
end
|
|
@@ -105,7 +105,7 @@ module Telnyx
|
|
|
105
105
|
# The tools that the assistant can use. These may be templated with
|
|
106
106
|
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
107
107
|
#
|
|
108
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>, nil]
|
|
108
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>, nil]
|
|
109
109
|
optional :tools, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
110
110
|
|
|
111
111
|
# @!attribute transcription
|
|
@@ -156,7 +156,7 @@ module Telnyx
|
|
|
156
156
|
#
|
|
157
157
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
158
158
|
#
|
|
159
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
159
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
160
160
|
#
|
|
161
161
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
162
162
|
#
|
|
@@ -95,7 +95,7 @@ module Telnyx
|
|
|
95
95
|
# The tools that the assistant can use. These may be templated with
|
|
96
96
|
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
97
97
|
#
|
|
98
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>, nil]
|
|
98
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>, nil]
|
|
99
99
|
optional :tools, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
100
100
|
|
|
101
101
|
# @!attribute transcription
|
|
@@ -144,7 +144,7 @@ module Telnyx
|
|
|
144
144
|
#
|
|
145
145
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
146
146
|
#
|
|
147
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
147
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
148
148
|
#
|
|
149
149
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
150
150
|
#
|
|
@@ -110,7 +110,7 @@ module Telnyx
|
|
|
110
110
|
# The tools that the assistant can use. These may be templated with
|
|
111
111
|
# [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
|
|
112
112
|
#
|
|
113
|
-
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>, nil]
|
|
113
|
+
# @return [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>, nil]
|
|
114
114
|
optional :tools, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::AssistantTool] }
|
|
115
115
|
|
|
116
116
|
# @!attribute transcription
|
|
@@ -165,7 +165,7 @@ module Telnyx
|
|
|
165
165
|
#
|
|
166
166
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
167
167
|
#
|
|
168
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
168
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
169
169
|
#
|
|
170
170
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
171
171
|
#
|
|
@@ -35,14 +35,17 @@ module Telnyx
|
|
|
35
35
|
# `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
|
|
36
36
|
# is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
|
|
37
37
|
# integration identifier secret in
|
|
38
|
-
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`.
|
|
39
|
-
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
40
|
-
# for details. Check
|
|
38
|
+
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
|
|
41
39
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
42
40
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
41
|
+
# - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
|
|
42
|
+
# `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
|
|
43
|
+
# `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
|
|
44
|
+
# `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
|
|
45
|
+
# default 0).
|
|
46
|
+
# - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
|
|
47
|
+
# `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
|
|
48
|
+
# (English only).
|
|
46
49
|
#
|
|
47
50
|
# @return [String]
|
|
48
51
|
required :voice, String
|
|
@@ -139,7 +142,7 @@ module Telnyx
|
|
|
139
142
|
# @!attribute voice_settings
|
|
140
143
|
# The settings associated with the voice selected
|
|
141
144
|
#
|
|
142
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, nil]
|
|
145
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax, nil]
|
|
143
146
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings }
|
|
144
147
|
|
|
145
148
|
# @!method initialize(payload:, voice:, client_state: nil, command_id: nil, inter_digit_timeout_millis: nil, invalid_payload: nil, language: nil, maximum_digits: nil, maximum_tries: nil, minimum_digits: nil, payload_type: nil, service_level: nil, terminating_digit: nil, timeout_millis: nil, valid_digits: nil, voice_settings: nil, request_options: {})
|
|
@@ -177,7 +180,7 @@ module Telnyx
|
|
|
177
180
|
#
|
|
178
181
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
179
182
|
#
|
|
180
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
183
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
181
184
|
#
|
|
182
185
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
183
186
|
|
|
@@ -256,8 +259,45 @@ module Telnyx
|
|
|
256
259
|
|
|
257
260
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
258
261
|
|
|
262
|
+
variant :minimax, -> { Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax }
|
|
263
|
+
|
|
264
|
+
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
265
|
+
# @!attribute type
|
|
266
|
+
# Voice settings provider type
|
|
267
|
+
#
|
|
268
|
+
# @return [Symbol, :minimax]
|
|
269
|
+
required :type, const: :minimax
|
|
270
|
+
|
|
271
|
+
# @!attribute pitch
|
|
272
|
+
# Voice pitch adjustment. Default is 0.
|
|
273
|
+
#
|
|
274
|
+
# @return [Integer, nil]
|
|
275
|
+
optional :pitch, Integer
|
|
276
|
+
|
|
277
|
+
# @!attribute speed
|
|
278
|
+
# Speech speed multiplier. Default is 1.0.
|
|
279
|
+
#
|
|
280
|
+
# @return [Float, nil]
|
|
281
|
+
optional :speed, Float
|
|
282
|
+
|
|
283
|
+
# @!attribute vol
|
|
284
|
+
# Speech volume multiplier. Default is 1.0.
|
|
285
|
+
#
|
|
286
|
+
# @return [Float, nil]
|
|
287
|
+
optional :vol, Float
|
|
288
|
+
|
|
289
|
+
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
290
|
+
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
291
|
+
#
|
|
292
|
+
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
293
|
+
#
|
|
294
|
+
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
295
|
+
#
|
|
296
|
+
# @param type [Symbol, :minimax] Voice settings provider type
|
|
297
|
+
end
|
|
298
|
+
|
|
259
299
|
# @!method self.variants
|
|
260
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings)]
|
|
300
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax)]
|
|
261
301
|
end
|
|
262
302
|
end
|
|
263
303
|
end
|
|
@@ -35,14 +35,17 @@ module Telnyx
|
|
|
35
35
|
# `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
|
|
36
36
|
# is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
|
|
37
37
|
# integration identifier secret in
|
|
38
|
-
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`.
|
|
39
|
-
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
40
|
-
# for details. Check
|
|
38
|
+
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
|
|
41
39
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
42
40
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
41
|
+
# - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
|
|
42
|
+
# `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
|
|
43
|
+
# `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
|
|
44
|
+
# `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
|
|
45
|
+
# default 0).
|
|
46
|
+
# - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
|
|
47
|
+
# `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
|
|
48
|
+
# (English only).
|
|
46
49
|
#
|
|
47
50
|
# @return [String]
|
|
48
51
|
required :voice, String
|
|
@@ -94,7 +97,7 @@ module Telnyx
|
|
|
94
97
|
# @!attribute voice_settings
|
|
95
98
|
# The settings associated with the voice selected
|
|
96
99
|
#
|
|
97
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, nil]
|
|
100
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Minimax, nil]
|
|
98
101
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings }
|
|
99
102
|
|
|
100
103
|
# @!method initialize(payload:, voice:, client_state: nil, command_id: nil, language: nil, payload_type: nil, service_level: nil, stop: nil, voice_settings: nil, request_options: {})
|
|
@@ -117,7 +120,7 @@ module Telnyx
|
|
|
117
120
|
#
|
|
118
121
|
# @param stop [String] When specified, it stops the current audio being played. Specify `current` to st
|
|
119
122
|
#
|
|
120
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
123
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
121
124
|
#
|
|
122
125
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
123
126
|
|
|
@@ -196,8 +199,45 @@ module Telnyx
|
|
|
196
199
|
|
|
197
200
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
198
201
|
|
|
202
|
+
variant :minimax, -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax }
|
|
203
|
+
|
|
204
|
+
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
205
|
+
# @!attribute type
|
|
206
|
+
# Voice settings provider type
|
|
207
|
+
#
|
|
208
|
+
# @return [Symbol, :minimax]
|
|
209
|
+
required :type, const: :minimax
|
|
210
|
+
|
|
211
|
+
# @!attribute pitch
|
|
212
|
+
# Voice pitch adjustment. Default is 0.
|
|
213
|
+
#
|
|
214
|
+
# @return [Integer, nil]
|
|
215
|
+
optional :pitch, Integer
|
|
216
|
+
|
|
217
|
+
# @!attribute speed
|
|
218
|
+
# Speech speed multiplier. Default is 1.0.
|
|
219
|
+
#
|
|
220
|
+
# @return [Float, nil]
|
|
221
|
+
optional :speed, Float
|
|
222
|
+
|
|
223
|
+
# @!attribute vol
|
|
224
|
+
# Speech volume multiplier. Default is 1.0.
|
|
225
|
+
#
|
|
226
|
+
# @return [Float, nil]
|
|
227
|
+
optional :vol, Float
|
|
228
|
+
|
|
229
|
+
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
230
|
+
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
231
|
+
#
|
|
232
|
+
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
233
|
+
#
|
|
234
|
+
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
235
|
+
#
|
|
236
|
+
# @param type [Symbol, :minimax] Voice settings provider type
|
|
237
|
+
end
|
|
238
|
+
|
|
199
239
|
# @!method self.variants
|
|
200
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings)]
|
|
240
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Minimax)]
|
|
201
241
|
end
|
|
202
242
|
end
|
|
203
243
|
end
|
|
@@ -35,14 +35,17 @@ module Telnyx
|
|
|
35
35
|
# `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
|
|
36
36
|
# is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
|
|
37
37
|
# integration identifier secret in
|
|
38
|
-
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`.
|
|
39
|
-
# [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
40
|
-
# for details. Check
|
|
38
|
+
# `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
|
|
41
39
|
# [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
|
|
42
40
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
41
|
+
# - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
|
|
42
|
+
# `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
|
|
43
|
+
# `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
|
|
44
|
+
# `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
|
|
45
|
+
# default 0).
|
|
46
|
+
# - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
|
|
47
|
+
# `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
|
|
48
|
+
# (English only).
|
|
46
49
|
#
|
|
47
50
|
# @return [String]
|
|
48
51
|
required :voice, String
|
|
@@ -86,7 +89,7 @@ module Telnyx
|
|
|
86
89
|
# @!attribute voice_settings
|
|
87
90
|
# The settings associated with the voice selected
|
|
88
91
|
#
|
|
89
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, nil]
|
|
92
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Minimax, nil]
|
|
90
93
|
optional :voice_settings, union: -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings }
|
|
91
94
|
|
|
92
95
|
# @!method initialize(payload:, voice:, call_control_ids: nil, command_id: nil, language: nil, payload_type: nil, region: nil, voice_settings: nil, request_options: {})
|
|
@@ -107,7 +110,7 @@ module Telnyx
|
|
|
107
110
|
#
|
|
108
111
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
109
112
|
#
|
|
110
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
113
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
111
114
|
#
|
|
112
115
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
113
116
|
|
|
@@ -188,8 +191,45 @@ module Telnyx
|
|
|
188
191
|
|
|
189
192
|
variant :aws, -> { Telnyx::Calls::AwsVoiceSettings }
|
|
190
193
|
|
|
194
|
+
variant :minimax, -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax }
|
|
195
|
+
|
|
196
|
+
class Minimax < Telnyx::Internal::Type::BaseModel
|
|
197
|
+
# @!attribute type
|
|
198
|
+
# Voice settings provider type
|
|
199
|
+
#
|
|
200
|
+
# @return [Symbol, :minimax]
|
|
201
|
+
required :type, const: :minimax
|
|
202
|
+
|
|
203
|
+
# @!attribute pitch
|
|
204
|
+
# Voice pitch adjustment. Default is 0.
|
|
205
|
+
#
|
|
206
|
+
# @return [Integer, nil]
|
|
207
|
+
optional :pitch, Integer
|
|
208
|
+
|
|
209
|
+
# @!attribute speed
|
|
210
|
+
# Speech speed multiplier. Default is 1.0.
|
|
211
|
+
#
|
|
212
|
+
# @return [Float, nil]
|
|
213
|
+
optional :speed, Float
|
|
214
|
+
|
|
215
|
+
# @!attribute vol
|
|
216
|
+
# Speech volume multiplier. Default is 1.0.
|
|
217
|
+
#
|
|
218
|
+
# @return [Float, nil]
|
|
219
|
+
optional :vol, Float
|
|
220
|
+
|
|
221
|
+
# @!method initialize(pitch: nil, speed: nil, vol: nil, type: :minimax)
|
|
222
|
+
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
223
|
+
#
|
|
224
|
+
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
225
|
+
#
|
|
226
|
+
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
227
|
+
#
|
|
228
|
+
# @param type [Symbol, :minimax] Voice settings provider type
|
|
229
|
+
end
|
|
230
|
+
|
|
191
231
|
# @!method self.variants
|
|
192
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings)]
|
|
232
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Minimax)]
|
|
193
233
|
end
|
|
194
234
|
end
|
|
195
235
|
end
|
|
@@ -73,7 +73,7 @@ module Telnyx
|
|
|
73
73
|
#
|
|
74
74
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings] Body param
|
|
75
75
|
#
|
|
76
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] Body param: The tools that the assistant can use. These may be templated with [d
|
|
76
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] Body param: The tools that the assistant can use. These may be templated with [d
|
|
77
77
|
#
|
|
78
78
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings] Body param
|
|
79
79
|
#
|
|
@@ -52,7 +52,7 @@ module Telnyx
|
|
|
52
52
|
#
|
|
53
53
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
54
54
|
#
|
|
55
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
55
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
56
56
|
#
|
|
57
57
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
58
58
|
#
|
|
@@ -138,7 +138,7 @@ module Telnyx
|
|
|
138
138
|
#
|
|
139
139
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
140
140
|
#
|
|
141
|
-
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
141
|
+
# @param tools [Array<Telnyx::Models::AI::InferenceEmbeddingWebhookToolParams, Telnyx::Models::AI::RetrievalTool, Telnyx::Models::AI::AssistantTool::Handoff, Telnyx::Models::AI::HangupTool, Telnyx::Models::AI::AssistantTool::Transfer, Telnyx::Models::AI::AssistantTool::Refer, Telnyx::Models::AI::AssistantTool::SendDtmf, Telnyx::Models::AI::AssistantTool::SendMessage, Telnyx::Models::AI::AssistantTool::SkipTurn>] The tools that the assistant can use. These may be templated with [dynamic varia
|
|
142
142
|
#
|
|
143
143
|
# @param transcription [Telnyx::Models::AI::TranscriptionSettings]
|
|
144
144
|
#
|
|
@@ -459,7 +459,7 @@ module Telnyx
|
|
|
459
459
|
#
|
|
460
460
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
461
461
|
#
|
|
462
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
462
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
463
463
|
#
|
|
464
464
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
465
465
|
#
|
|
@@ -799,7 +799,7 @@ module Telnyx
|
|
|
799
799
|
#
|
|
800
800
|
# @param stop [String] When specified, it stops the current audio being played. Specify `current` to st
|
|
801
801
|
#
|
|
802
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
802
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
803
803
|
#
|
|
804
804
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
805
805
|
#
|
|
@@ -399,7 +399,7 @@ module Telnyx
|
|
|
399
399
|
#
|
|
400
400
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
401
401
|
#
|
|
402
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings] The settings associated with the voice selected
|
|
402
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Minimax] The settings associated with the voice selected
|
|
403
403
|
#
|
|
404
404
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
405
405
|
#
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -130,7 +130,8 @@ module Telnyx
|
|
|
130
130
|
Telnyx::AI::AssistantTool::Transfer,
|
|
131
131
|
Telnyx::AI::AssistantTool::Refer,
|
|
132
132
|
Telnyx::AI::AssistantTool::SendDtmf,
|
|
133
|
-
Telnyx::AI::AssistantTool::SendMessage
|
|
133
|
+
Telnyx::AI::AssistantTool::SendMessage,
|
|
134
|
+
Telnyx::AI::AssistantTool::SkipTurn
|
|
134
135
|
)
|
|
135
136
|
]
|
|
136
137
|
)
|
|
@@ -150,7 +151,8 @@ module Telnyx
|
|
|
150
151
|
Telnyx::AI::AssistantTool::Transfer::OrHash,
|
|
151
152
|
Telnyx::AI::AssistantTool::Refer::OrHash,
|
|
152
153
|
Telnyx::AI::AssistantTool::SendDtmf::OrHash,
|
|
153
|
-
Telnyx::AI::AssistantTool::SendMessage::OrHash
|
|
154
|
+
Telnyx::AI::AssistantTool::SendMessage::OrHash,
|
|
155
|
+
Telnyx::AI::AssistantTool::SkipTurn::OrHash
|
|
154
156
|
)
|
|
155
157
|
]
|
|
156
158
|
).void
|
|
@@ -203,7 +205,8 @@ module Telnyx
|
|
|
203
205
|
Telnyx::AI::AssistantTool::Transfer::OrHash,
|
|
204
206
|
Telnyx::AI::AssistantTool::Refer::OrHash,
|
|
205
207
|
Telnyx::AI::AssistantTool::SendDtmf::OrHash,
|
|
206
|
-
Telnyx::AI::AssistantTool::SendMessage::OrHash
|
|
208
|
+
Telnyx::AI::AssistantTool::SendMessage::OrHash,
|
|
209
|
+
Telnyx::AI::AssistantTool::SkipTurn::OrHash
|
|
207
210
|
)
|
|
208
211
|
],
|
|
209
212
|
transcription: Telnyx::AI::TranscriptionSettings::OrHash,
|
|
@@ -284,7 +287,8 @@ module Telnyx
|
|
|
284
287
|
Telnyx::AI::AssistantTool::Transfer,
|
|
285
288
|
Telnyx::AI::AssistantTool::Refer,
|
|
286
289
|
Telnyx::AI::AssistantTool::SendDtmf,
|
|
287
|
-
Telnyx::AI::AssistantTool::SendMessage
|
|
290
|
+
Telnyx::AI::AssistantTool::SendMessage,
|
|
291
|
+
Telnyx::AI::AssistantTool::SkipTurn
|
|
288
292
|
)
|
|
289
293
|
],
|
|
290
294
|
transcription: Telnyx::AI::TranscriptionSettings,
|
|
@@ -19,7 +19,8 @@ module Telnyx
|
|
|
19
19
|
Telnyx::AI::AssistantTool::Transfer,
|
|
20
20
|
Telnyx::AI::AssistantTool::Refer,
|
|
21
21
|
Telnyx::AI::AssistantTool::SendDtmf,
|
|
22
|
-
Telnyx::AI::AssistantTool::SendMessage
|
|
22
|
+
Telnyx::AI::AssistantTool::SendMessage,
|
|
23
|
+
Telnyx::AI::AssistantTool::SkipTurn
|
|
23
24
|
)
|
|
24
25
|
end
|
|
25
26
|
|
|
@@ -1410,6 +1411,77 @@ module Telnyx
|
|
|
1410
1411
|
end
|
|
1411
1412
|
end
|
|
1412
1413
|
|
|
1414
|
+
class SkipTurn < Telnyx::Internal::Type::BaseModel
|
|
1415
|
+
OrHash =
|
|
1416
|
+
T.type_alias do
|
|
1417
|
+
T.any(
|
|
1418
|
+
Telnyx::AI::AssistantTool::SkipTurn,
|
|
1419
|
+
Telnyx::Internal::AnyHash
|
|
1420
|
+
)
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
sig { returns(Telnyx::AI::AssistantTool::SkipTurn::SkipTurn) }
|
|
1424
|
+
attr_reader :skip_turn
|
|
1425
|
+
|
|
1426
|
+
sig do
|
|
1427
|
+
params(
|
|
1428
|
+
skip_turn: Telnyx::AI::AssistantTool::SkipTurn::SkipTurn::OrHash
|
|
1429
|
+
).void
|
|
1430
|
+
end
|
|
1431
|
+
attr_writer :skip_turn
|
|
1432
|
+
|
|
1433
|
+
sig { returns(Symbol) }
|
|
1434
|
+
attr_accessor :type
|
|
1435
|
+
|
|
1436
|
+
sig do
|
|
1437
|
+
params(
|
|
1438
|
+
skip_turn: Telnyx::AI::AssistantTool::SkipTurn::SkipTurn::OrHash,
|
|
1439
|
+
type: Symbol
|
|
1440
|
+
).returns(T.attached_class)
|
|
1441
|
+
end
|
|
1442
|
+
def self.new(skip_turn:, type: :skip_turn)
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
sig do
|
|
1446
|
+
override.returns(
|
|
1447
|
+
{
|
|
1448
|
+
skip_turn: Telnyx::AI::AssistantTool::SkipTurn::SkipTurn,
|
|
1449
|
+
type: Symbol
|
|
1450
|
+
}
|
|
1451
|
+
)
|
|
1452
|
+
end
|
|
1453
|
+
def to_hash
|
|
1454
|
+
end
|
|
1455
|
+
|
|
1456
|
+
class SkipTurn < Telnyx::Internal::Type::BaseModel
|
|
1457
|
+
OrHash =
|
|
1458
|
+
T.type_alias do
|
|
1459
|
+
T.any(
|
|
1460
|
+
Telnyx::AI::AssistantTool::SkipTurn::SkipTurn,
|
|
1461
|
+
Telnyx::Internal::AnyHash
|
|
1462
|
+
)
|
|
1463
|
+
end
|
|
1464
|
+
|
|
1465
|
+
# The description of the function that will be passed to the assistant.
|
|
1466
|
+
sig { returns(T.nilable(String)) }
|
|
1467
|
+
attr_reader :description
|
|
1468
|
+
|
|
1469
|
+
sig { params(description: String).void }
|
|
1470
|
+
attr_writer :description
|
|
1471
|
+
|
|
1472
|
+
sig { params(description: String).returns(T.attached_class) }
|
|
1473
|
+
def self.new(
|
|
1474
|
+
# The description of the function that will be passed to the assistant.
|
|
1475
|
+
description: nil
|
|
1476
|
+
)
|
|
1477
|
+
end
|
|
1478
|
+
|
|
1479
|
+
sig { override.returns({ description: String }) }
|
|
1480
|
+
def to_hash
|
|
1481
|
+
end
|
|
1482
|
+
end
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1413
1485
|
sig { override.returns(T::Array[Telnyx::AI::AssistantTool::Variants]) }
|
|
1414
1486
|
def self.variants
|
|
1415
1487
|
end
|