telnyx 5.48.0 → 5.50.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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/text_to_speech_list_voices_params.rb +12 -9
  5. data/lib/telnyx/models/text_to_speech_list_voices_response.rb +24 -29
  6. data/lib/telnyx/models/virtual_cross_connect_create_response.rb +2 -272
  7. data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +2 -272
  8. data/lib/telnyx/models/virtual_cross_connect_list_response.rb +2 -271
  9. data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +2 -272
  10. data/lib/telnyx/models/virtual_cross_connect_update_response.rb +2 -272
  11. data/lib/telnyx/resources/text_to_speech.rb +8 -4
  12. data/lib/telnyx/version.rb +1 -1
  13. data/rbi/telnyx/models/text_to_speech_list_voices_params.rbi +28 -13
  14. data/rbi/telnyx/models/text_to_speech_list_voices_response.rbi +24 -39
  15. data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +4 -449
  16. data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +4 -449
  17. data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +4 -444
  18. data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +4 -449
  19. data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +4 -449
  20. data/rbi/telnyx/resources/text_to_speech.rbi +9 -5
  21. data/sig/telnyx/models/text_to_speech_list_voices_params.rbs +11 -7
  22. data/sig/telnyx/models/text_to_speech_list_voices_response.rbs +10 -31
  23. data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +4 -225
  24. data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +4 -225
  25. data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +4 -225
  26. data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +4 -225
  27. data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +4 -225
  28. data/sig/telnyx/resources/text_to_speech.rbs +1 -1
  29. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bdbe4152730256bbd8fad144b6fc70a20e7d90306036bb80d6486fe8b7931d5
4
- data.tar.gz: cb043a6655aceb6d334f16e0849d0f26e7cd10f22ee29ec3a05658ef9ad55c8f
3
+ metadata.gz: 2e2fb39e3c8179aca0d7adea20a56a6fe0c1500d1f80b38f30a83f322b2e818c
4
+ data.tar.gz: 9c956468cf3e0ed46ec5d9a11327f3a9b62e523a66127410de8d5c0f3702e11f
5
5
  SHA512:
6
- metadata.gz: 44d7c0a1b35eddcc0dfa4ca6da108bcf53e37e5c06b2e31b0ff0c7e5eb33dafe5ecd526af0c15a8364fb1933016611316e5ee64d3d2470b9bd0ce42bf0012c2a
7
- data.tar.gz: d783f22706a57c0966440636a3c4ee824da5379a656f3fbd28fbf6ca8f3437c225d65c6287d59742269a28eb031ed34f1c383c0eb059ae8bc4c9e6c2da840f10
6
+ metadata.gz: 91062797a10829d70fc32a4ff8a3cca5d1ce29f0c067f7d242623277cf5601d29b9340ed2840e635ab7e8ca4336d70452093c2f11697372547a8b58426e18f98
7
+ data.tar.gz: f1b8a2ebc21d9bdecf074ea1888ca295fbb453ee507fad3b049b00b141bdc486abf210699b0240403afc47433bf0d63b3dc6a55b6c3fa6b7f595ece424f093a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.50.0 (2026-02-27)
4
+
5
+ Full Changelog: [v5.49.0...v5.50.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.49.0...v5.50.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([c8776df](https://github.com/team-telnyx/telnyx-ruby/commit/c8776df7d086b53aed37438d34020747ed06e360))
10
+ * **api:** manual updates ([920fd6c](https://github.com/team-telnyx/telnyx-ruby/commit/920fd6c04e75e48c754c8b64b5cf3c5005649c32))
11
+
12
+ ## 5.49.0 (2026-02-27)
13
+
14
+ Full Changelog: [v5.48.0...v5.49.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.48.0...v5.49.0)
15
+
16
+ ### Features
17
+
18
+ * Add TTS file-based endpoint spec ([0952836](https://github.com/team-telnyx/telnyx-ruby/commit/09528368ab3c049ec7a279b11e39e716a1231ed3))
19
+
3
20
  ## 5.48.0 (2026-02-27)
4
21
 
5
22
  Full Changelog: [v5.47.0...v5.48.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.47.0...v5.48.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.48.0"
27
+ gem "telnyx", "~> 5.50.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -7,33 +7,36 @@ module Telnyx
7
7
  extend Telnyx::Internal::Type::RequestParameters::Converter
8
8
  include Telnyx::Internal::Type::RequestParameters
9
9
 
10
- # @!attribute elevenlabs_api_key_ref
11
- # Reference to your ElevenLabs API key stored in the Telnyx Portal
10
+ # @!attribute api_key
11
+ # API key for providers that require one to list voices (e.g. ElevenLabs).
12
12
  #
13
13
  # @return [String, nil]
14
- optional :elevenlabs_api_key_ref, String
14
+ optional :api_key, String
15
15
 
16
16
  # @!attribute provider
17
- # Filter voices by provider
17
+ # Filter voices by provider. If omitted, voices from all providers are returned.
18
18
  #
19
19
  # @return [Symbol, Telnyx::Models::TextToSpeechListVoicesParams::Provider, nil]
20
20
  optional :provider, enum: -> { Telnyx::TextToSpeechListVoicesParams::Provider }
21
21
 
22
- # @!method initialize(elevenlabs_api_key_ref: nil, provider: nil, request_options: {})
23
- # @param elevenlabs_api_key_ref [String] Reference to your ElevenLabs API key stored in the Telnyx Portal
22
+ # @!method initialize(api_key: nil, provider: nil, request_options: {})
23
+ # @param api_key [String] API key for providers that require one to list voices (e.g. ElevenLabs).
24
24
  #
25
- # @param provider [Symbol, Telnyx::Models::TextToSpeechListVoicesParams::Provider] Filter voices by provider
25
+ # @param provider [Symbol, Telnyx::Models::TextToSpeechListVoicesParams::Provider] Filter voices by provider. If omitted, voices from all providers are returned.
26
26
  #
27
27
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
28
28
 
29
- # Filter voices by provider
29
+ # Filter voices by provider. If omitted, voices from all providers are returned.
30
30
  module Provider
31
31
  extend Telnyx::Internal::Type::Enum
32
32
 
33
33
  AWS = :aws
34
+ TELNYX = :telnyx
34
35
  AZURE = :azure
35
36
  ELEVENLABS = :elevenlabs
36
- TELNYX = :telnyx
37
+ MINIMAX = :minimax
38
+ RIME = :rime
39
+ RESEMBLE = :resemble
37
40
 
38
41
  # @!method self.values
39
42
  # @return [Array<Symbol>]
@@ -11,58 +11,53 @@ module Telnyx
11
11
  -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::TextToSpeechListVoicesResponse::Voice] }
12
12
 
13
13
  # @!method initialize(voices: nil)
14
+ # List of available voices.
15
+ #
14
16
  # @param voices [Array<Telnyx::Models::TextToSpeechListVoicesResponse::Voice>]
15
17
 
16
18
  class Voice < Telnyx::Internal::Type::BaseModel
17
- # @!attribute id
18
- #
19
- # @return [String, nil]
20
- optional :id, String
21
-
22
- # @!attribute accent
23
- #
24
- # @return [String, nil]
25
- optional :accent, String
26
-
27
- # @!attribute age
28
- #
29
- # @return [String, nil]
30
- optional :age, String
31
-
32
19
  # @!attribute gender
20
+ # Voice gender.
33
21
  #
34
22
  # @return [String, nil]
35
23
  optional :gender, String
36
24
 
37
- # @!attribute label
38
- #
39
- # @return [String, nil]
40
- optional :label, String
41
-
42
25
  # @!attribute language
26
+ # Language code.
43
27
  #
44
28
  # @return [String, nil]
45
29
  optional :language, String
46
30
 
47
31
  # @!attribute name
32
+ # Voice name.
48
33
  #
49
34
  # @return [String, nil]
50
35
  optional :name, String
51
36
 
52
37
  # @!attribute provider
38
+ # The TTS provider.
53
39
  #
54
40
  # @return [String, nil]
55
41
  optional :provider, String
56
42
 
57
- # @!method initialize(id: nil, accent: nil, age: nil, gender: nil, label: nil, language: nil, name: nil, provider: nil)
58
- # @param id [String]
59
- # @param accent [String]
60
- # @param age [String]
61
- # @param gender [String]
62
- # @param label [String]
63
- # @param language [String]
64
- # @param name [String]
65
- # @param provider [String]
43
+ # @!attribute voice_id
44
+ # Voice identifier.
45
+ #
46
+ # @return [String, nil]
47
+ optional :voice_id, String
48
+
49
+ # @!method initialize(gender: nil, language: nil, name: nil, provider: nil, voice_id: nil)
50
+ # A voice available for text-to-speech synthesis.
51
+ #
52
+ # @param gender [String] Voice gender.
53
+ #
54
+ # @param language [String] Language code.
55
+ #
56
+ # @param name [String] Voice name.
57
+ #
58
+ # @param provider [String] The TTS provider.
59
+ #
60
+ # @param voice_id [String] Voice identifier.
66
61
  end
67
62
  end
68
63
  end
@@ -13,278 +13,8 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectCreateResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
16
- class Data < Telnyx::Internal::Type::BaseModel
17
- # @!attribute name
18
- # A user specified name for the interface.
19
- #
20
- # @return [String, nil]
21
- optional :name, String
22
-
23
- # @!attribute network_id
24
- # The id of the network associated with the interface.
25
- #
26
- # @return [String, nil]
27
- optional :network_id, String
28
-
29
- # @!attribute region_code
30
- # The region the interface should be deployed to.
31
- #
32
- # @return [String, nil]
33
- optional :region_code, String
34
-
35
- # @!attribute bandwidth_mbps
36
- # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
37
- # Connect.<br /><br />The available bandwidths can be found using the
38
- # /virtual_cross_connect_regions endpoint.
39
- #
40
- # @return [Float, nil]
41
- optional :bandwidth_mbps, Float
42
-
43
- # @!attribute bgp_asn
44
- # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
45
- # will be assigned by Telnyx.
46
- #
47
- # @return [Float, nil]
48
- optional :bgp_asn, Float
49
-
50
- # @!attribute cloud_provider
51
- # The Virtual Private Cloud with which you would like to establish a cross
52
- # connect.
53
- #
54
- # @return [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider, nil]
55
- optional :cloud_provider,
56
- enum: -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider }
57
-
58
- # @!attribute cloud_provider_region
59
- # The region where your Virtual Private Cloud hosts are located.<br /><br />The
60
- # available regions can be found using the /virtual_cross_connect_regions
61
- # endpoint.
62
- #
63
- # @return [String, nil]
64
- optional :cloud_provider_region, String
65
-
66
- # @!attribute primary_bgp_key
67
- # The authentication key for BGP peer configuration.
68
- #
69
- # @return [String, nil]
70
- optional :primary_bgp_key, String
71
-
72
- # @!attribute primary_cloud_account_id
73
- # The identifier for your Virtual Private Cloud. The number will be different
74
- # based upon your Cloud provider.
75
- #
76
- # @return [String, nil]
77
- optional :primary_cloud_account_id, String
78
-
79
- # @!attribute primary_cloud_ip
80
- # The IP address assigned for your side of the Virtual Cross
81
- # Connect.<br /><br />If none is provided, one will be generated for
82
- # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
83
- #
84
- # @return [String, nil]
85
- optional :primary_cloud_ip, String
86
-
87
- # @!attribute primary_enabled
88
- # Indicates whether the primary circuit is enabled. Setting this to `false` will
89
- # disable the circuit.
90
- #
91
- # @return [Boolean, nil]
92
- optional :primary_enabled, Telnyx::Internal::Type::Boolean
93
-
94
- # @!attribute primary_routing_announcement
95
- # Whether the primary BGP route is being announced.
96
- #
97
- # @return [Boolean, nil]
98
- optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
99
-
100
- # @!attribute primary_telnyx_ip
101
- # The IP address assigned to the Telnyx side of the Virtual Cross
102
- # Connect.<br /><br />If none is provided, one will be generated for
103
- # you.<br /><br />This value should be null for GCE as Google will only inform you
104
- # of your assigned IP once the connection has been accepted.
105
- #
106
- # @return [String, nil]
107
- optional :primary_telnyx_ip, String
108
-
109
- # @!attribute region
110
- #
111
- # @return [Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region, nil]
112
- optional :region, -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region }
113
-
114
- # @!attribute secondary_bgp_key
115
- # The authentication key for BGP peer configuration.
116
- #
117
- # @return [String, nil]
118
- optional :secondary_bgp_key, String
119
-
120
- # @!attribute secondary_cloud_account_id
121
- # The identifier for your Virtual Private Cloud. The number will be different
122
- # based upon your Cloud provider.<br /><br />This attribute is only necessary for
123
- # GCE.
124
- #
125
- # @return [String, nil]
126
- optional :secondary_cloud_account_id, String
127
-
128
- # @!attribute secondary_cloud_ip
129
- # The IP address assigned for your side of the Virtual Cross
130
- # Connect.<br /><br />If none is provided, one will be generated for
131
- # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
132
- #
133
- # @return [String, nil]
134
- optional :secondary_cloud_ip, String
135
-
136
- # @!attribute secondary_enabled
137
- # Indicates whether the secondary circuit is enabled. Setting this to `false` will
138
- # disable the circuit.
139
- #
140
- # @return [Boolean, nil]
141
- optional :secondary_enabled, Telnyx::Internal::Type::Boolean
142
-
143
- # @!attribute secondary_routing_announcement
144
- # Whether the secondary BGP route is being announced.
145
- #
146
- # @return [Boolean, nil]
147
- optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
148
-
149
- # @!attribute secondary_telnyx_ip
150
- # The IP address assigned to the Telnyx side of the Virtual Cross
151
- # Connect.<br /><br />If none is provided, one will be generated for
152
- # you.<br /><br />This value should be null for GCE as Google will only inform you
153
- # of your assigned IP once the connection has been accepted.
154
- #
155
- # @return [String, nil]
156
- optional :secondary_telnyx_ip, String
157
-
158
- response_only do
159
- # @!attribute id
160
- # Identifies the resource.
161
- #
162
- # @return [String, nil]
163
- optional :id, String
164
-
165
- # @!attribute created_at
166
- # ISO 8601 formatted date-time indicating when the resource was created.
167
- #
168
- # @return [String, nil]
169
- optional :created_at, String
170
-
171
- # @!attribute record_type
172
- # Identifies the type of the resource.
173
- #
174
- # @return [String, nil]
175
- optional :record_type, String
176
-
177
- # @!attribute updated_at
178
- # ISO 8601 formatted date-time indicating when the resource was updated.
179
- #
180
- # @return [String, nil]
181
- optional :updated_at, String
182
-
183
- # @!attribute status
184
- # The current status of the interface deployment.
185
- #
186
- # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
187
- optional :status, enum: -> { Telnyx::InterfaceStatus }
188
- end
189
-
190
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, bgp_asn: nil, cloud_provider: nil, cloud_provider_region: nil, primary_bgp_key: nil, primary_cloud_account_id: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, region: nil, secondary_bgp_key: nil, secondary_cloud_account_id: nil, secondary_cloud_ip: nil, secondary_enabled: nil, secondary_routing_announcement: nil, secondary_telnyx_ip: nil)
191
- # Some parameter documentations has been truncated, see
192
- # {Telnyx::Models::VirtualCrossConnectCreateResponse::Data} for more details.
193
- #
194
- # @param id [String] Identifies the resource.
195
- #
196
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
197
- #
198
- # @param record_type [String] Identifies the type of the resource.
199
- #
200
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
201
- #
202
- # @param name [String] A user specified name for the interface.
203
- #
204
- # @param network_id [String] The id of the network associated with the interface.
205
- #
206
- # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
207
- #
208
- # @param region_code [String] The region the interface should be deployed to.
209
- #
210
- # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
211
- #
212
- # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
213
- #
214
- # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
215
- #
216
- # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
217
- #
218
- # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
219
- #
220
- # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
221
- #
222
- # @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
223
- #
224
- # @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
225
- #
226
- # @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
227
- #
228
- # @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
229
- #
230
- # @param region [Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region]
231
- #
232
- # @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
233
- #
234
- # @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
235
- #
236
- # @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
237
- #
238
- # @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
239
- #
240
- # @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
241
- #
242
- # @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
243
-
244
- # The Virtual Private Cloud with which you would like to establish a cross
245
- # connect.
246
- #
247
- # @see Telnyx::Models::VirtualCrossConnectCreateResponse::Data#cloud_provider
248
- module CloudProvider
249
- extend Telnyx::Internal::Type::Enum
250
-
251
- AWS = :aws
252
- AZURE = :azure
253
- GCE = :gce
254
-
255
- # @!method self.values
256
- # @return [Array<Symbol>]
257
- end
258
-
259
- # @see Telnyx::Models::VirtualCrossConnectCreateResponse::Data#region
260
- class Region < Telnyx::Internal::Type::BaseModel
261
- # @!attribute code
262
- # Region code of the interface.
263
- #
264
- # @return [String, nil]
265
- optional :code, String
266
-
267
- # @!attribute name
268
- # Region name of the interface.
269
- #
270
- # @return [String, nil]
271
- optional :name, String
272
-
273
- response_only do
274
- # @!attribute record_type
275
- # Identifies the type of the resource.
276
- #
277
- # @return [String, nil]
278
- optional :record_type, String
279
- end
280
-
281
- # @!method initialize(code: nil, name: nil, record_type: nil)
282
- # @param code [String] Region code of the interface.
283
- #
284
- # @param name [String] Region name of the interface.
285
- #
286
- # @param record_type [String] Identifies the type of the resource.
287
- end
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
288
18
  end
289
19
  end
290
20
  end