telnyx 5.24.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 669a29f9c60d8058537b031276e2ca04c4bfd91302e1b5c7d52e7fe423367e08
4
- data.tar.gz: b9e134ed4aa4d6a15db17997c0bc7d6213d96da7568f737c195b4cd61031f0c2
3
+ metadata.gz: 58149432a0fd4e25409354c83ede2c5c865e802f5d07303e1fc7b8145599a544
4
+ data.tar.gz: bfa54cc756005d9b8018da8bb9f16dfac26fbcd174d258b70069131b5496173a
5
5
  SHA512:
6
- metadata.gz: 22f2e6b8d6458e2dea9e4ae4a4b44f03f7c2e3224d5e03e06e3411edfb460d8a4771b2bc4fcff5c115839777db36fb60c503f3f0f51779a49da3eb0a74b71d69
7
- data.tar.gz: be5f3089ca95b8c01dca936d521856916f51553d3fbed5d5c68d372d627801e65fe9a54936563a4038efb82329dec1fda3fe212c77c8908a5c42b8433a0c1369
6
+ metadata.gz: 9141c174b77435ade201a87d5a43c0dd81624388b76e237caeaa8ab1b9eb91cd6ae833852f1e8ebda2903b7787f110d8aa35704262c63957e5667c97e1a7eaf2
7
+ data.tar.gz: 4cca6a89a31dbbe4df7c2369193d3ec1cafc6e41dfd8ed432a54e83b5ea3dda3024c57f11805c28fcb7ec7d48bd49d5a5589ff5f7f75ec4b2f8c54cd83e7e2f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 5.24.0 (2026-02-13)
4
12
 
5
13
  Full Changelog: [v5.23.0...v5.24.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.23.0...v5.24.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.24.0"
27
+ gem "telnyx", "~> 5.25.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-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>"}`. See
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
- # For service_level basic, you may define the gender of the speaker (male or
45
- # female).
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>"}`. See
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
- # For service_level basic, you may define the gender of the speaker (male or
45
- # female).
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>"}`. See
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
- # For service_level basic, you may define the gender of the speaker (male or
45
- # female).
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
@@ -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
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.24.0"
4
+ VERSION = "5.25.0"
5
5
  end
@@ -39,14 +39,17 @@ module Telnyx
39
39
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
40
40
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
41
41
  # integration identifier secret in
42
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
43
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
44
- # for details. Check
42
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
45
43
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
46
44
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
47
- #
48
- # For service_level basic, you may define the gender of the speaker (male or
49
- # female).
45
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
46
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
47
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
48
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
49
+ # default 0).
50
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
51
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
52
+ # (English only).
50
53
  sig { returns(String) }
51
54
  attr_accessor :voice
52
55
 
@@ -192,7 +195,8 @@ module Telnyx
192
195
  T.any(
193
196
  Telnyx::Calls::ElevenLabsVoiceSettings,
194
197
  Telnyx::Calls::TelnyxVoiceSettings,
195
- Telnyx::Calls::AwsVoiceSettings
198
+ Telnyx::Calls::AwsVoiceSettings,
199
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax
196
200
  )
197
201
  )
198
202
  )
@@ -205,7 +209,8 @@ module Telnyx
205
209
  T.any(
206
210
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
207
211
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
208
- Telnyx::Calls::AwsVoiceSettings::OrHash
212
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
213
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax::OrHash
209
214
  )
210
215
  ).void
211
216
  end
@@ -235,7 +240,8 @@ module Telnyx
235
240
  T.any(
236
241
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
237
242
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
238
- Telnyx::Calls::AwsVoiceSettings::OrHash
243
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
244
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax::OrHash
239
245
  ),
240
246
  request_options: Telnyx::RequestOptions::OrHash
241
247
  ).returns(T.attached_class)
@@ -263,14 +269,17 @@ module Telnyx
263
269
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
264
270
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
265
271
  # integration identifier secret in
266
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
267
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
268
- # for details. Check
272
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
269
273
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
270
274
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
271
- #
272
- # For service_level basic, you may define the gender of the speaker (male or
273
- # female).
275
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
276
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
277
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
278
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
279
+ # default 0).
280
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
281
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
282
+ # (English only).
274
283
  voice:,
275
284
  # Use this field to add state to every subsequent webhook. It must be a valid
276
285
  # Base-64 encoded string.
@@ -340,7 +349,8 @@ module Telnyx
340
349
  T.any(
341
350
  Telnyx::Calls::ElevenLabsVoiceSettings,
342
351
  Telnyx::Calls::TelnyxVoiceSettings,
343
- Telnyx::Calls::AwsVoiceSettings
352
+ Telnyx::Calls::AwsVoiceSettings,
353
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax
344
354
  ),
345
355
  request_options: Telnyx::RequestOptions
346
356
  }
@@ -601,9 +611,73 @@ module Telnyx
601
611
  T.any(
602
612
  Telnyx::Calls::ElevenLabsVoiceSettings,
603
613
  Telnyx::Calls::TelnyxVoiceSettings,
604
- Telnyx::Calls::AwsVoiceSettings
614
+ Telnyx::Calls::AwsVoiceSettings,
615
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax
616
+ )
617
+ end
618
+
619
+ class Minimax < Telnyx::Internal::Type::BaseModel
620
+ OrHash =
621
+ T.type_alias do
622
+ T.any(
623
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax,
624
+ Telnyx::Internal::AnyHash
625
+ )
626
+ end
627
+
628
+ # Voice settings provider type
629
+ sig { returns(Symbol) }
630
+ attr_accessor :type
631
+
632
+ # Voice pitch adjustment. Default is 0.
633
+ sig { returns(T.nilable(Integer)) }
634
+ attr_reader :pitch
635
+
636
+ sig { params(pitch: Integer).void }
637
+ attr_writer :pitch
638
+
639
+ # Speech speed multiplier. Default is 1.0.
640
+ sig { returns(T.nilable(Float)) }
641
+ attr_reader :speed
642
+
643
+ sig { params(speed: Float).void }
644
+ attr_writer :speed
645
+
646
+ # Speech volume multiplier. Default is 1.0.
647
+ sig { returns(T.nilable(Float)) }
648
+ attr_reader :vol
649
+
650
+ sig { params(vol: Float).void }
651
+ attr_writer :vol
652
+
653
+ sig do
654
+ params(
655
+ pitch: Integer,
656
+ speed: Float,
657
+ vol: Float,
658
+ type: Symbol
659
+ ).returns(T.attached_class)
660
+ end
661
+ def self.new(
662
+ # Voice pitch adjustment. Default is 0.
663
+ pitch: nil,
664
+ # Speech speed multiplier. Default is 1.0.
665
+ speed: nil,
666
+ # Speech volume multiplier. Default is 1.0.
667
+ vol: nil,
668
+ # Voice settings provider type
669
+ type: :minimax
670
+ )
671
+ end
672
+
673
+ sig do
674
+ override.returns(
675
+ { type: Symbol, pitch: Integer, speed: Float, vol: Float }
605
676
  )
606
677
  end
678
+ def to_hash
679
+ end
680
+ end
607
681
 
608
682
  sig do
609
683
  override.returns(
@@ -36,14 +36,17 @@ module Telnyx
36
36
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
37
37
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
38
38
  # integration identifier secret in
39
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
40
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
41
- # for details. Check
39
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
42
40
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
43
41
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
44
- #
45
- # For service_level basic, you may define the gender of the speaker (male or
46
- # female).
42
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
43
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
44
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
45
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
46
+ # default 0).
47
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
48
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
49
+ # (English only).
47
50
  sig { returns(String) }
48
51
  attr_accessor :voice
49
52
 
@@ -130,7 +133,8 @@ module Telnyx
130
133
  T.any(
131
134
  Telnyx::Calls::ElevenLabsVoiceSettings,
132
135
  Telnyx::Calls::TelnyxVoiceSettings,
133
- Telnyx::Calls::AwsVoiceSettings
136
+ Telnyx::Calls::AwsVoiceSettings,
137
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax
134
138
  )
135
139
  )
136
140
  )
@@ -143,7 +147,8 @@ module Telnyx
143
147
  T.any(
144
148
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
145
149
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
146
- Telnyx::Calls::AwsVoiceSettings::OrHash
150
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
151
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax::OrHash
147
152
  )
148
153
  ).void
149
154
  end
@@ -165,7 +170,8 @@ module Telnyx
165
170
  T.any(
166
171
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
167
172
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
168
- Telnyx::Calls::AwsVoiceSettings::OrHash
173
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
174
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax::OrHash
169
175
  ),
170
176
  request_options: Telnyx::RequestOptions::OrHash
171
177
  ).returns(T.attached_class)
@@ -193,14 +199,17 @@ module Telnyx
193
199
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
194
200
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
195
201
  # integration identifier secret in
196
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
197
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
198
- # for details. Check
202
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
199
203
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
200
204
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
201
- #
202
- # For service_level basic, you may define the gender of the speaker (male or
203
- # female).
205
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
206
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
207
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
208
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
209
+ # default 0).
210
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
211
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
212
+ # (English only).
204
213
  voice:,
205
214
  # Use this field to add state to every subsequent webhook. It must be a valid
206
215
  # Base-64 encoded string.
@@ -245,7 +254,8 @@ module Telnyx
245
254
  T.any(
246
255
  Telnyx::Calls::ElevenLabsVoiceSettings,
247
256
  Telnyx::Calls::TelnyxVoiceSettings,
248
- Telnyx::Calls::AwsVoiceSettings
257
+ Telnyx::Calls::AwsVoiceSettings,
258
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax
249
259
  ),
250
260
  request_options: Telnyx::RequestOptions
251
261
  }
@@ -495,9 +505,73 @@ module Telnyx
495
505
  T.any(
496
506
  Telnyx::Calls::ElevenLabsVoiceSettings,
497
507
  Telnyx::Calls::TelnyxVoiceSettings,
498
- Telnyx::Calls::AwsVoiceSettings
508
+ Telnyx::Calls::AwsVoiceSettings,
509
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax
510
+ )
511
+ end
512
+
513
+ class Minimax < Telnyx::Internal::Type::BaseModel
514
+ OrHash =
515
+ T.type_alias do
516
+ T.any(
517
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax,
518
+ Telnyx::Internal::AnyHash
519
+ )
520
+ end
521
+
522
+ # Voice settings provider type
523
+ sig { returns(Symbol) }
524
+ attr_accessor :type
525
+
526
+ # Voice pitch adjustment. Default is 0.
527
+ sig { returns(T.nilable(Integer)) }
528
+ attr_reader :pitch
529
+
530
+ sig { params(pitch: Integer).void }
531
+ attr_writer :pitch
532
+
533
+ # Speech speed multiplier. Default is 1.0.
534
+ sig { returns(T.nilable(Float)) }
535
+ attr_reader :speed
536
+
537
+ sig { params(speed: Float).void }
538
+ attr_writer :speed
539
+
540
+ # Speech volume multiplier. Default is 1.0.
541
+ sig { returns(T.nilable(Float)) }
542
+ attr_reader :vol
543
+
544
+ sig { params(vol: Float).void }
545
+ attr_writer :vol
546
+
547
+ sig do
548
+ params(
549
+ pitch: Integer,
550
+ speed: Float,
551
+ vol: Float,
552
+ type: Symbol
553
+ ).returns(T.attached_class)
554
+ end
555
+ def self.new(
556
+ # Voice pitch adjustment. Default is 0.
557
+ pitch: nil,
558
+ # Speech speed multiplier. Default is 1.0.
559
+ speed: nil,
560
+ # Speech volume multiplier. Default is 1.0.
561
+ vol: nil,
562
+ # Voice settings provider type
563
+ type: :minimax
564
+ )
565
+ end
566
+
567
+ sig do
568
+ override.returns(
569
+ { type: Symbol, pitch: Integer, speed: Float, vol: Float }
499
570
  )
500
571
  end
572
+ def to_hash
573
+ end
574
+ end
501
575
 
502
576
  sig do
503
577
  override.returns(
@@ -39,14 +39,17 @@ module Telnyx
39
39
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
40
40
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
41
41
  # integration identifier secret in
42
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
43
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
44
- # for details. Check
42
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
45
43
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
46
44
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
47
- #
48
- # For service_level basic, you may define the gender of the speaker (male or
49
- # female).
45
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
46
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
47
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
48
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
49
+ # default 0).
50
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
51
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
52
+ # (English only).
50
53
  sig { returns(String) }
51
54
  attr_accessor :voice
52
55
 
@@ -127,7 +130,8 @@ module Telnyx
127
130
  T.any(
128
131
  Telnyx::Calls::ElevenLabsVoiceSettings,
129
132
  Telnyx::Calls::TelnyxVoiceSettings,
130
- Telnyx::Calls::AwsVoiceSettings
133
+ Telnyx::Calls::AwsVoiceSettings,
134
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax
131
135
  )
132
136
  )
133
137
  )
@@ -140,7 +144,8 @@ module Telnyx
140
144
  T.any(
141
145
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
142
146
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
143
- Telnyx::Calls::AwsVoiceSettings::OrHash
147
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
148
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax::OrHash
144
149
  )
145
150
  ).void
146
151
  end
@@ -161,7 +166,8 @@ module Telnyx
161
166
  T.any(
162
167
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
163
168
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
164
- Telnyx::Calls::AwsVoiceSettings::OrHash
169
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
170
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax::OrHash
165
171
  ),
166
172
  request_options: Telnyx::RequestOptions::OrHash
167
173
  ).returns(T.attached_class)
@@ -189,14 +195,17 @@ module Telnyx
189
195
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
190
196
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
191
197
  # integration identifier secret in
192
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
193
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
194
- # for details. Check
198
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
195
199
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
196
200
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
197
- #
198
- # For service_level basic, you may define the gender of the speaker (male or
199
- # female).
201
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
202
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
203
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
204
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
205
+ # default 0).
206
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
207
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
208
+ # (English only).
200
209
  voice:,
201
210
  # Call Control IDs of participants who will hear the spoken text. When empty all
202
211
  # participants will hear the spoken text.
@@ -236,7 +245,8 @@ module Telnyx
236
245
  T.any(
237
246
  Telnyx::Calls::ElevenLabsVoiceSettings,
238
247
  Telnyx::Calls::TelnyxVoiceSettings,
239
- Telnyx::Calls::AwsVoiceSettings
248
+ Telnyx::Calls::AwsVoiceSettings,
249
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax
240
250
  ),
241
251
  request_options: Telnyx::RequestOptions
242
252
  }
@@ -498,9 +508,73 @@ module Telnyx
498
508
  T.any(
499
509
  Telnyx::Calls::ElevenLabsVoiceSettings,
500
510
  Telnyx::Calls::TelnyxVoiceSettings,
501
- Telnyx::Calls::AwsVoiceSettings
511
+ Telnyx::Calls::AwsVoiceSettings,
512
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax
513
+ )
514
+ end
515
+
516
+ class Minimax < Telnyx::Internal::Type::BaseModel
517
+ OrHash =
518
+ T.type_alias do
519
+ T.any(
520
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax,
521
+ Telnyx::Internal::AnyHash
522
+ )
523
+ end
524
+
525
+ # Voice settings provider type
526
+ sig { returns(Symbol) }
527
+ attr_accessor :type
528
+
529
+ # Voice pitch adjustment. Default is 0.
530
+ sig { returns(T.nilable(Integer)) }
531
+ attr_reader :pitch
532
+
533
+ sig { params(pitch: Integer).void }
534
+ attr_writer :pitch
535
+
536
+ # Speech speed multiplier. Default is 1.0.
537
+ sig { returns(T.nilable(Float)) }
538
+ attr_reader :speed
539
+
540
+ sig { params(speed: Float).void }
541
+ attr_writer :speed
542
+
543
+ # Speech volume multiplier. Default is 1.0.
544
+ sig { returns(T.nilable(Float)) }
545
+ attr_reader :vol
546
+
547
+ sig { params(vol: Float).void }
548
+ attr_writer :vol
549
+
550
+ sig do
551
+ params(
552
+ pitch: Integer,
553
+ speed: Float,
554
+ vol: Float,
555
+ type: Symbol
556
+ ).returns(T.attached_class)
557
+ end
558
+ def self.new(
559
+ # Voice pitch adjustment. Default is 0.
560
+ pitch: nil,
561
+ # Speech speed multiplier. Default is 1.0.
562
+ speed: nil,
563
+ # Speech volume multiplier. Default is 1.0.
564
+ vol: nil,
565
+ # Voice settings provider type
566
+ type: :minimax
567
+ )
568
+ end
569
+
570
+ sig do
571
+ override.returns(
572
+ { type: Symbol, pitch: Integer, speed: Float, vol: Float }
502
573
  )
503
574
  end
575
+ def to_hash
576
+ end
577
+ end
504
578
 
505
579
  sig do
506
580
  override.returns(
@@ -602,7 +602,8 @@ module Telnyx
602
602
  T.any(
603
603
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
604
604
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
605
- Telnyx::Calls::AwsVoiceSettings::OrHash
605
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
606
+ Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax::OrHash
606
607
  ),
607
608
  request_options: Telnyx::RequestOptions::OrHash
608
609
  ).returns(Telnyx::Models::Calls::ActionGatherUsingSpeakResponse)
@@ -632,14 +633,17 @@ module Telnyx
632
633
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
633
634
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
634
635
  # integration identifier secret in
635
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
636
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
637
- # for details. Check
636
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
638
637
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
639
638
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
640
- #
641
- # For service_level basic, you may define the gender of the speaker (male or
642
- # female).
639
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
640
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
641
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
642
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
643
+ # default 0).
644
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
645
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
646
+ # (English only).
643
647
  voice:,
644
648
  # Use this field to add state to every subsequent webhook. It must be a valid
645
649
  # Base-64 encoded string.
@@ -959,7 +963,8 @@ module Telnyx
959
963
  T.any(
960
964
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
961
965
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
962
- Telnyx::Calls::AwsVoiceSettings::OrHash
966
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
967
+ Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax::OrHash
963
968
  ),
964
969
  request_options: Telnyx::RequestOptions::OrHash
965
970
  ).returns(Telnyx::Models::Calls::ActionSpeakResponse)
@@ -989,14 +994,17 @@ module Telnyx
989
994
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
990
995
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
991
996
  # integration identifier secret in
992
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
993
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
994
- # for details. Check
997
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
995
998
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
996
999
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
997
- #
998
- # For service_level basic, you may define the gender of the speaker (male or
999
- # female).
1000
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
1001
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
1002
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
1003
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
1004
+ # default 0).
1005
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
1006
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
1007
+ # (English only).
1000
1008
  voice:,
1001
1009
  # Use this field to add state to every subsequent webhook. It must be a valid
1002
1010
  # Base-64 encoded string.
@@ -409,7 +409,8 @@ module Telnyx
409
409
  T.any(
410
410
  Telnyx::Calls::ElevenLabsVoiceSettings::OrHash,
411
411
  Telnyx::Calls::TelnyxVoiceSettings::OrHash,
412
- Telnyx::Calls::AwsVoiceSettings::OrHash
412
+ Telnyx::Calls::AwsVoiceSettings::OrHash,
413
+ Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax::OrHash
413
414
  ),
414
415
  request_options: Telnyx::RequestOptions::OrHash
415
416
  ).returns(Telnyx::Models::Conferences::ActionSpeakResponse)
@@ -439,14 +440,17 @@ module Telnyx
439
440
  # `ElevenLabs.eleven_multilingual_v2.21m00Tcm4TlvDq8ikWAM`). The `ModelId` part
440
441
  # is optional. To use ElevenLabs, you must provide your ElevenLabs API key as an
441
442
  # integration identifier secret in
442
- # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. See
443
- # [integration secrets documentation](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
444
- # for details. Check
443
+ # `"voice_settings": {"api_key_ref": "<secret_identifier>"}`. Check
445
444
  # [available voices](https://elevenlabs.io/docs/api-reference/get-voices).
446
445
  # - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
447
- #
448
- # For service_level basic, you may define the gender of the speaker (male or
449
- # female).
446
+ # - **Minimax:** Use `Minimax.<ModelId>.<VoiceId>` (e.g.,
447
+ # `Minimax.speech-02-hd.Wise_Woman`). Supported models: `speech-02-turbo`,
448
+ # `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Optional parameters:
449
+ # `speed` (float, default 1.0), `vol` (float, default 1.0), `pitch` (integer,
450
+ # default 0).
451
+ # - **Resemble:** Use `Resemble.<ModelId>.<VoiceId>` (e.g.,
452
+ # `Resemble.Pro.my_voice`). Supported models: `Pro` (multilingual) and `Turbo`
453
+ # (English only).
450
454
  voice:,
451
455
  # Call Control IDs of participants who will hear the spoken text. When empty all
452
456
  # participants will hear the spoken text.
@@ -227,10 +227,44 @@ module Telnyx
227
227
  Telnyx::Calls::ElevenLabsVoiceSettings
228
228
  | Telnyx::Calls::TelnyxVoiceSettings
229
229
  | Telnyx::Calls::AwsVoiceSettings
230
+ | Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Minimax
230
231
 
231
232
  module VoiceSettings
232
233
  extend Telnyx::Internal::Type::Union
233
234
 
235
+ type minimax =
236
+ { type: :minimax, pitch: Integer, speed: Float, vol: Float }
237
+
238
+ class Minimax < Telnyx::Internal::Type::BaseModel
239
+ attr_accessor type: :minimax
240
+
241
+ attr_reader pitch: Integer?
242
+
243
+ def pitch=: (Integer) -> Integer
244
+
245
+ attr_reader speed: Float?
246
+
247
+ def speed=: (Float) -> Float
248
+
249
+ attr_reader vol: Float?
250
+
251
+ def vol=: (Float) -> Float
252
+
253
+ def initialize: (
254
+ ?pitch: Integer,
255
+ ?speed: Float,
256
+ ?vol: Float,
257
+ ?type: :minimax
258
+ ) -> void
259
+
260
+ def to_hash: -> {
261
+ type: :minimax,
262
+ pitch: Integer,
263
+ speed: Float,
264
+ vol: Float
265
+ }
266
+ end
267
+
234
268
  def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionGatherUsingSpeakParams::voice_settings]
235
269
  end
236
270
  end
@@ -178,10 +178,44 @@ module Telnyx
178
178
  Telnyx::Calls::ElevenLabsVoiceSettings
179
179
  | Telnyx::Calls::TelnyxVoiceSettings
180
180
  | Telnyx::Calls::AwsVoiceSettings
181
+ | Telnyx::Calls::ActionSpeakParams::VoiceSettings::Minimax
181
182
 
182
183
  module VoiceSettings
183
184
  extend Telnyx::Internal::Type::Union
184
185
 
186
+ type minimax =
187
+ { type: :minimax, pitch: Integer, speed: Float, vol: Float }
188
+
189
+ class Minimax < Telnyx::Internal::Type::BaseModel
190
+ attr_accessor type: :minimax
191
+
192
+ attr_reader pitch: Integer?
193
+
194
+ def pitch=: (Integer) -> Integer
195
+
196
+ attr_reader speed: Float?
197
+
198
+ def speed=: (Float) -> Float
199
+
200
+ attr_reader vol: Float?
201
+
202
+ def vol=: (Float) -> Float
203
+
204
+ def initialize: (
205
+ ?pitch: Integer,
206
+ ?speed: Float,
207
+ ?vol: Float,
208
+ ?type: :minimax
209
+ ) -> void
210
+
211
+ def to_hash: -> {
212
+ type: :minimax,
213
+ pitch: Integer,
214
+ speed: Float,
215
+ vol: Float
216
+ }
217
+ end
218
+
185
219
  def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionSpeakParams::voice_settings]
186
220
  end
187
221
  end
@@ -173,10 +173,44 @@ module Telnyx
173
173
  Telnyx::Calls::ElevenLabsVoiceSettings
174
174
  | Telnyx::Calls::TelnyxVoiceSettings
175
175
  | Telnyx::Calls::AwsVoiceSettings
176
+ | Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Minimax
176
177
 
177
178
  module VoiceSettings
178
179
  extend Telnyx::Internal::Type::Union
179
180
 
181
+ type minimax =
182
+ { type: :minimax, pitch: Integer, speed: Float, vol: Float }
183
+
184
+ class Minimax < Telnyx::Internal::Type::BaseModel
185
+ attr_accessor type: :minimax
186
+
187
+ attr_reader pitch: Integer?
188
+
189
+ def pitch=: (Integer) -> Integer
190
+
191
+ attr_reader speed: Float?
192
+
193
+ def speed=: (Float) -> Float
194
+
195
+ attr_reader vol: Float?
196
+
197
+ def vol=: (Float) -> Float
198
+
199
+ def initialize: (
200
+ ?pitch: Integer,
201
+ ?speed: Float,
202
+ ?vol: Float,
203
+ ?type: :minimax
204
+ ) -> void
205
+
206
+ def to_hash: -> {
207
+ type: :minimax,
208
+ pitch: Integer,
209
+ speed: Float,
210
+ vol: Float
211
+ }
212
+ end
213
+
180
214
  def self?.variants: -> ::Array[Telnyx::Models::Conferences::ActionSpeakParams::voice_settings]
181
215
  end
182
216
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.24.0
4
+ version: 5.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-13 00:00:00.000000000 Z
11
+ date: 2026-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi