telnyx 5.103.0 → 5.103.1
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 +13 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -170
- data/lib/telnyx/models/ai/assistant_integration.rb +38 -0
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +35 -0
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -170
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +3 -123
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +3 -125
- data/lib/telnyx/models/ai/assistants/clause.rb +54 -0
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +27 -0
- data/lib/telnyx/models/ai/assistants/rule_input.rb +40 -0
- data/lib/telnyx/models/ai/assistants/rule_output.rb +40 -0
- data/lib/telnyx/models/ai/assistants/serve.rb +33 -0
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -171
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -169
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +39 -0
- data/lib/telnyx/models/ai/openai_list_models_response.rb +3 -31
- data/lib/telnyx/models/ai/start_speaking_plan.rb +37 -0
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +39 -0
- data/lib/telnyx/models/ai/transfer_tool.rb +7 -9
- data/lib/telnyx/models/ai_retrieve_models_response.rb +3 -31
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +4 -23
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -23
- data/lib/telnyx/models/calls/action_speak_params.rb +4 -23
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +4 -23
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +64 -0
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +108 -0
- data/lib/telnyx/models/calls/transcription_start_request.rb +5 -167
- data/lib/telnyx/models/conferences/action_speak_params.rb +4 -23
- data/lib/telnyx/models/model_metadata.rb +33 -0
- data/lib/telnyx/models/network_list_interfaces_response.rb +112 -2
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +3 -8
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +3 -8
- data/lib/telnyx/models/public_internet_gateway_read.rb +83 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +3 -8
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection.rb +412 -0
- data/lib/telnyx/models/uac_connection_create_params.rb +9 -255
- data/lib/telnyx/models/uac_connection_create_response.rb +3 -878
- data/lib/telnyx/models/uac_connection_delete_response.rb +3 -878
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +3 -879
- data/lib/telnyx/models/uac_connection_update_params.rb +9 -255
- data/lib/telnyx/models/uac_connection_update_response.rb +3 -878
- data/lib/telnyx/models/uac_external_settings.rb +101 -0
- data/lib/telnyx/models/uac_inbound.rb +210 -0
- data/lib/telnyx/models/uac_internal_settings.rb +25 -0
- data/lib/telnyx/models/uac_outbound.rb +131 -0
- data/lib/telnyx/models/virtual_cross_connect_combined.rb +212 -0
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_create_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_read.rb +136 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +3 -8
- data/lib/telnyx/models/xai_voice_settings.rb +36 -0
- data/lib/telnyx/models.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +5 -5
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
- data/lib/telnyx/resources/uac_connections.rb +8 -8
- data/lib/telnyx/resources/virtual_cross_connects.rb +2 -2
- data/lib/telnyx/resources/wireguard_interfaces.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +22 -4
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -341
- data/rbi/telnyx/models/ai/assistant_integration.rbi +60 -0
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +51 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -341
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +4 -290
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +3 -301
- data/rbi/telnyx/models/ai/assistants/clause.rbi +91 -0
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +36 -0
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +73 -0
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +73 -0
- data/rbi/telnyx/models/ai/assistants/serve.rbi +61 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -355
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -340
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +72 -0
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +3 -56
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +70 -0
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +71 -0
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +3 -51
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +5 -41
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +155 -0
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +329 -0
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +10 -480
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -41
- data/rbi/telnyx/models/model_metadata.rbi +44 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +181 -4
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +6 -38
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +6 -38
- data/rbi/telnyx/models/public_internet_gateway_read.rbi +128 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +6 -38
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection.rbi +684 -0
- data/rbi/telnyx/models/uac_connection_create_params.rbi +12 -516
- data/rbi/telnyx/models/uac_connection_create_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_update_params.rbi +12 -516
- data/rbi/telnyx/models/uac_connection_update_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_external_settings.rbi +146 -0
- data/rbi/telnyx/models/uac_inbound.rbi +410 -0
- data/rbi/telnyx/models/uac_internal_settings.rbi +39 -0
- data/rbi/telnyx/models/uac_outbound.rbi +224 -0
- data/rbi/telnyx/models/virtual_cross_connect_combined.rbi +345 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +6 -36
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +6 -36
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +6 -38
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_read.rbi +213 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +6 -36
- data/rbi/telnyx/models/xai_voice_settings.rbi +64 -0
- data/rbi/telnyx/models.rbi +20 -0
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +2 -4
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -9
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +6 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +7 -13
- data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
- data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -142
- data/sig/telnyx/models/ai/assistant_integration.rbs +26 -0
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +19 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -142
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +6 -113
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +4 -109
- data/sig/telnyx/models/ai/assistants/clause.rbs +46 -0
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +19 -0
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +33 -0
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +33 -0
- data/sig/telnyx/models/ai/assistants/serve.rbs +35 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -145
- data/sig/telnyx/models/ai/inference_embedding.rbs +18 -142
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +30 -0
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +4 -39
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +33 -0
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +38 -0
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +4 -39
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +1 -15
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +62 -0
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +130 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +2 -184
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -15
- data/sig/telnyx/models/model_metadata.rbs +32 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +106 -4
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +6 -18
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +6 -18
- data/sig/telnyx/models/public_internet_gateway_read.rbs +80 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection.rbs +338 -0
- data/sig/telnyx/models/uac_connection_create_params.rbs +17 -211
- data/sig/telnyx/models/uac_connection_create_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_delete_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_update_params.rbs +17 -211
- data/sig/telnyx/models/uac_connection_update_response.rbs +5 -731
- data/sig/telnyx/models/uac_external_settings.rbs +73 -0
- data/sig/telnyx/models/uac_inbound.rbs +190 -0
- data/sig/telnyx/models/uac_internal_settings.rbs +15 -0
- data/sig/telnyx/models/uac_outbound.rbs +113 -0
- data/sig/telnyx/models/virtual_cross_connect_combined.rbs +190 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_read.rbs +127 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/xai_voice_settings.rbs +34 -0
- data/sig/telnyx/models.rbs +20 -0
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
- data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
- metadata +67 -13
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +0 -10
- data/lib/telnyx/models/uac_connection_list_response.rb +0 -876
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +0 -10
- data/lib/telnyx/models/wireguard_interface_list_response.rb +0 -10
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +0 -23
- data/rbi/telnyx/models/uac_connection_list_response.rbi +0 -1727
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +0 -23
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +0 -23
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +0 -11
- data/sig/telnyx/models/uac_connection_list_response.rbs +0 -722
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +0 -11
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +0 -11
|
@@ -182,25 +182,11 @@ module Telnyx
|
|
|
182
182
|
| Telnyx::AzureVoiceSettings
|
|
183
183
|
| Telnyx::RimeVoiceSettings
|
|
184
184
|
| Telnyx::ResembleVoiceSettings
|
|
185
|
-
| Telnyx::
|
|
185
|
+
| Telnyx::XaiVoiceSettings
|
|
186
186
|
|
|
187
187
|
module VoiceSettings
|
|
188
188
|
extend Telnyx::Internal::Type::Union
|
|
189
189
|
|
|
190
|
-
type xai = { type: :xai, language: String }
|
|
191
|
-
|
|
192
|
-
class Xai < Telnyx::Internal::Type::BaseModel
|
|
193
|
-
attr_accessor type: :xai
|
|
194
|
-
|
|
195
|
-
attr_reader language: String?
|
|
196
|
-
|
|
197
|
-
def language=: (String) -> String
|
|
198
|
-
|
|
199
|
-
def initialize: (?language: String, ?type: :xai) -> void
|
|
200
|
-
|
|
201
|
-
def to_hash: -> { type: :xai, language: String }
|
|
202
|
-
end
|
|
203
|
-
|
|
204
190
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionGatherUsingAIParams::voice_settings]
|
|
205
191
|
end
|
|
206
192
|
end
|
|
@@ -237,7 +237,7 @@ module Telnyx
|
|
|
237
237
|
| Telnyx::RimeVoiceSettings
|
|
238
238
|
| Telnyx::ResembleVoiceSettings
|
|
239
239
|
| Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld
|
|
240
|
-
| Telnyx::
|
|
240
|
+
| Telnyx::XaiVoiceSettings
|
|
241
241
|
|
|
242
242
|
module VoiceSettings
|
|
243
243
|
extend Telnyx::Internal::Type::Union
|
|
@@ -252,20 +252,6 @@ module Telnyx
|
|
|
252
252
|
def to_hash: -> { type: :inworld }
|
|
253
253
|
end
|
|
254
254
|
|
|
255
|
-
type xai = { type: :xai, language: String }
|
|
256
|
-
|
|
257
|
-
class Xai < Telnyx::Internal::Type::BaseModel
|
|
258
|
-
attr_accessor type: :xai
|
|
259
|
-
|
|
260
|
-
attr_reader language: String?
|
|
261
|
-
|
|
262
|
-
def language=: (String) -> String
|
|
263
|
-
|
|
264
|
-
def initialize: (?language: String, ?type: :xai) -> void
|
|
265
|
-
|
|
266
|
-
def to_hash: -> { type: :xai, language: String }
|
|
267
|
-
end
|
|
268
|
-
|
|
269
255
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionGatherUsingSpeakParams::voice_settings]
|
|
270
256
|
end
|
|
271
257
|
end
|
|
@@ -218,7 +218,7 @@ module Telnyx
|
|
|
218
218
|
| Telnyx::RimeVoiceSettings
|
|
219
219
|
| Telnyx::ResembleVoiceSettings
|
|
220
220
|
| Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld
|
|
221
|
-
| Telnyx::
|
|
221
|
+
| Telnyx::XaiVoiceSettings
|
|
222
222
|
|
|
223
223
|
module VoiceSettings
|
|
224
224
|
extend Telnyx::Internal::Type::Union
|
|
@@ -233,20 +233,6 @@ module Telnyx
|
|
|
233
233
|
def to_hash: -> { type: :inworld }
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
-
type xai = { type: :xai, language: String }
|
|
237
|
-
|
|
238
|
-
class Xai < Telnyx::Internal::Type::BaseModel
|
|
239
|
-
attr_accessor type: :xai
|
|
240
|
-
|
|
241
|
-
attr_reader language: String?
|
|
242
|
-
|
|
243
|
-
def language=: (String) -> String
|
|
244
|
-
|
|
245
|
-
def initialize: (?language: String, ?type: :xai) -> void
|
|
246
|
-
|
|
247
|
-
def to_hash: -> { type: :xai, language: String }
|
|
248
|
-
end
|
|
249
|
-
|
|
250
236
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionSpeakParams::voice_settings]
|
|
251
237
|
end
|
|
252
238
|
end
|
|
@@ -387,25 +387,11 @@ module Telnyx
|
|
|
387
387
|
| Telnyx::AzureVoiceSettings
|
|
388
388
|
| Telnyx::RimeVoiceSettings
|
|
389
389
|
| Telnyx::ResembleVoiceSettings
|
|
390
|
-
| Telnyx::
|
|
390
|
+
| Telnyx::XaiVoiceSettings
|
|
391
391
|
|
|
392
392
|
module VoiceSettings
|
|
393
393
|
extend Telnyx::Internal::Type::Union
|
|
394
394
|
|
|
395
|
-
type xai = { type: :xai, language: String }
|
|
396
|
-
|
|
397
|
-
class Xai < Telnyx::Internal::Type::BaseModel
|
|
398
|
-
attr_accessor type: :xai
|
|
399
|
-
|
|
400
|
-
attr_reader language: String?
|
|
401
|
-
|
|
402
|
-
def language=: (String) -> String
|
|
403
|
-
|
|
404
|
-
def initialize: (?language: String, ?type: :xai) -> void
|
|
405
|
-
|
|
406
|
-
def to_hash: -> { type: :xai, language: String }
|
|
407
|
-
end
|
|
408
|
-
|
|
409
395
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionStartAIAssistantParams::voice_settings]
|
|
410
396
|
end
|
|
411
397
|
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Calls
|
|
4
|
+
type transcription_engine_assemblyai_config =
|
|
5
|
+
{
|
|
6
|
+
interim_results: bool,
|
|
7
|
+
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine,
|
|
8
|
+
transcription_model: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class TranscriptionEngineAssemblyaiConfig < Telnyx::Internal::Type::BaseModel
|
|
12
|
+
attr_reader interim_results: bool?
|
|
13
|
+
|
|
14
|
+
def interim_results=: (bool) -> bool
|
|
15
|
+
|
|
16
|
+
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine?
|
|
17
|
+
|
|
18
|
+
def transcription_engine=: (
|
|
19
|
+
Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine
|
|
20
|
+
) -> Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine
|
|
21
|
+
|
|
22
|
+
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model?
|
|
23
|
+
|
|
24
|
+
def transcription_model=: (
|
|
25
|
+
Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model
|
|
26
|
+
) -> Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model
|
|
27
|
+
|
|
28
|
+
def initialize: (
|
|
29
|
+
?interim_results: bool,
|
|
30
|
+
?transcription_engine: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine,
|
|
31
|
+
?transcription_model: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model
|
|
32
|
+
) -> void
|
|
33
|
+
|
|
34
|
+
def to_hash: -> {
|
|
35
|
+
interim_results: bool,
|
|
36
|
+
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine,
|
|
37
|
+
transcription_model: Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type transcription_engine = :AssemblyAI
|
|
41
|
+
|
|
42
|
+
module TranscriptionEngine
|
|
43
|
+
extend Telnyx::Internal::Type::Enum
|
|
44
|
+
|
|
45
|
+
ASSEMBLY_AI: :AssemblyAI
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_engine]
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
type transcription_model = :"assemblyai/universal-streaming"
|
|
51
|
+
|
|
52
|
+
module TranscriptionModel
|
|
53
|
+
extend Telnyx::Internal::Type::Enum
|
|
54
|
+
|
|
55
|
+
ASSEMBLYAI_UNIVERSAL_STREAMING: :"assemblyai/universal-streaming"
|
|
56
|
+
|
|
57
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig::transcription_model]
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Calls
|
|
4
|
+
type transcription_engine_xai_config =
|
|
5
|
+
{
|
|
6
|
+
interim_results: bool,
|
|
7
|
+
language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
8
|
+
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
9
|
+
transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class TranscriptionEngineXaiConfig < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_reader interim_results: bool?
|
|
14
|
+
|
|
15
|
+
def interim_results=: (bool) -> bool
|
|
16
|
+
|
|
17
|
+
attr_reader language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language?
|
|
18
|
+
|
|
19
|
+
def language=: (
|
|
20
|
+
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language
|
|
21
|
+
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language
|
|
22
|
+
|
|
23
|
+
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine?
|
|
24
|
+
|
|
25
|
+
def transcription_engine=: (
|
|
26
|
+
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine
|
|
27
|
+
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine
|
|
28
|
+
|
|
29
|
+
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model?
|
|
30
|
+
|
|
31
|
+
def transcription_model=: (
|
|
32
|
+
Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
33
|
+
) -> Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
34
|
+
|
|
35
|
+
def initialize: (
|
|
36
|
+
?interim_results: bool,
|
|
37
|
+
?language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
38
|
+
?transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
39
|
+
?transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
interim_results: bool,
|
|
44
|
+
language: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language,
|
|
45
|
+
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine,
|
|
46
|
+
transcription_model: Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
type language =
|
|
50
|
+
:ar
|
|
51
|
+
| :cs
|
|
52
|
+
| :da
|
|
53
|
+
| :de
|
|
54
|
+
| :en
|
|
55
|
+
| :es
|
|
56
|
+
| :fa
|
|
57
|
+
| :fil
|
|
58
|
+
| :fr
|
|
59
|
+
| :hi
|
|
60
|
+
| :id
|
|
61
|
+
| :it
|
|
62
|
+
| :ja
|
|
63
|
+
| :ko
|
|
64
|
+
| :mk
|
|
65
|
+
| :ms
|
|
66
|
+
| :nl
|
|
67
|
+
| :pl
|
|
68
|
+
| :pt
|
|
69
|
+
| :ro
|
|
70
|
+
| :ru
|
|
71
|
+
| :sv
|
|
72
|
+
| :th
|
|
73
|
+
| :tr
|
|
74
|
+
| :vi
|
|
75
|
+
|
|
76
|
+
module Language
|
|
77
|
+
extend Telnyx::Internal::Type::Enum
|
|
78
|
+
|
|
79
|
+
AR: :ar
|
|
80
|
+
CS: :cs
|
|
81
|
+
DA: :da
|
|
82
|
+
DE: :de
|
|
83
|
+
EN: :en
|
|
84
|
+
ES: :es
|
|
85
|
+
FA: :fa
|
|
86
|
+
FIL: :fil
|
|
87
|
+
FR: :fr
|
|
88
|
+
HI: :hi
|
|
89
|
+
ID: :id
|
|
90
|
+
IT: :it
|
|
91
|
+
JA: :ja
|
|
92
|
+
KO: :ko
|
|
93
|
+
MK: :mk
|
|
94
|
+
MS: :ms
|
|
95
|
+
NL: :nl
|
|
96
|
+
PL: :pl
|
|
97
|
+
PT: :pt
|
|
98
|
+
RO: :ro
|
|
99
|
+
RU: :ru
|
|
100
|
+
SV: :sv
|
|
101
|
+
TH: :th
|
|
102
|
+
TR: :tr
|
|
103
|
+
VI: :vi
|
|
104
|
+
|
|
105
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::language]
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
type transcription_engine = :xAI
|
|
109
|
+
|
|
110
|
+
module TranscriptionEngine
|
|
111
|
+
extend Telnyx::Internal::Type::Enum
|
|
112
|
+
|
|
113
|
+
X_AI: :xAI
|
|
114
|
+
|
|
115
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_engine]
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
type transcription_model = :"xai/grok-stt"
|
|
119
|
+
|
|
120
|
+
module TranscriptionModel
|
|
121
|
+
extend Telnyx::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
XAI_GROK_STT: :"xai/grok-stt"
|
|
124
|
+
|
|
125
|
+
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineXaiConfig::transcription_model]
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
@@ -73,8 +73,8 @@ module Telnyx
|
|
|
73
73
|
Telnyx::Calls::TranscriptionEngineGoogleConfig
|
|
74
74
|
| Telnyx::Calls::TranscriptionEngineTelnyxConfig
|
|
75
75
|
| Telnyx::Calls::TranscriptionEngineAzureConfig
|
|
76
|
-
| Telnyx::Calls::
|
|
77
|
-
| Telnyx::Calls::
|
|
76
|
+
| Telnyx::Calls::TranscriptionEngineXaiConfig
|
|
77
|
+
| Telnyx::Calls::TranscriptionEngineAssemblyaiConfig
|
|
78
78
|
| Telnyx::Calls::TranscriptionEngineAConfig
|
|
79
79
|
| Telnyx::Calls::TranscriptionEngineBConfig
|
|
80
80
|
| Telnyx::Calls::DeepgramNova2Config
|
|
@@ -83,188 +83,6 @@ module Telnyx
|
|
|
83
83
|
module TranscriptionEngineConfig
|
|
84
84
|
extend Telnyx::Internal::Type::Union
|
|
85
85
|
|
|
86
|
-
type xai =
|
|
87
|
-
{
|
|
88
|
-
interim_results: bool,
|
|
89
|
-
language: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language,
|
|
90
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine,
|
|
91
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
class XAI < Telnyx::Internal::Type::BaseModel
|
|
95
|
-
attr_reader interim_results: bool?
|
|
96
|
-
|
|
97
|
-
def interim_results=: (bool) -> bool
|
|
98
|
-
|
|
99
|
-
attr_reader language: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language?
|
|
100
|
-
|
|
101
|
-
def language=: (
|
|
102
|
-
Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language
|
|
103
|
-
) -> Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language
|
|
104
|
-
|
|
105
|
-
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine?
|
|
106
|
-
|
|
107
|
-
def transcription_engine=: (
|
|
108
|
-
Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine
|
|
109
|
-
) -> Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine
|
|
110
|
-
|
|
111
|
-
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model?
|
|
112
|
-
|
|
113
|
-
def transcription_model=: (
|
|
114
|
-
Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model
|
|
115
|
-
) -> Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model
|
|
116
|
-
|
|
117
|
-
def initialize: (
|
|
118
|
-
?interim_results: bool,
|
|
119
|
-
?language: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language,
|
|
120
|
-
?transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine,
|
|
121
|
-
?transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model
|
|
122
|
-
) -> void
|
|
123
|
-
|
|
124
|
-
def to_hash: -> {
|
|
125
|
-
interim_results: bool,
|
|
126
|
-
language: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language,
|
|
127
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine,
|
|
128
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
type language =
|
|
132
|
-
:ar
|
|
133
|
-
| :cs
|
|
134
|
-
| :da
|
|
135
|
-
| :de
|
|
136
|
-
| :en
|
|
137
|
-
| :es
|
|
138
|
-
| :fa
|
|
139
|
-
| :fil
|
|
140
|
-
| :fr
|
|
141
|
-
| :hi
|
|
142
|
-
| :id
|
|
143
|
-
| :it
|
|
144
|
-
| :ja
|
|
145
|
-
| :ko
|
|
146
|
-
| :mk
|
|
147
|
-
| :ms
|
|
148
|
-
| :nl
|
|
149
|
-
| :pl
|
|
150
|
-
| :pt
|
|
151
|
-
| :ro
|
|
152
|
-
| :ru
|
|
153
|
-
| :sv
|
|
154
|
-
| :th
|
|
155
|
-
| :tr
|
|
156
|
-
| :vi
|
|
157
|
-
|
|
158
|
-
module Language
|
|
159
|
-
extend Telnyx::Internal::Type::Enum
|
|
160
|
-
|
|
161
|
-
AR: :ar
|
|
162
|
-
CS: :cs
|
|
163
|
-
DA: :da
|
|
164
|
-
DE: :de
|
|
165
|
-
EN: :en
|
|
166
|
-
ES: :es
|
|
167
|
-
FA: :fa
|
|
168
|
-
FIL: :fil
|
|
169
|
-
FR: :fr
|
|
170
|
-
HI: :hi
|
|
171
|
-
ID: :id
|
|
172
|
-
IT: :it
|
|
173
|
-
JA: :ja
|
|
174
|
-
KO: :ko
|
|
175
|
-
MK: :mk
|
|
176
|
-
MS: :ms
|
|
177
|
-
NL: :nl
|
|
178
|
-
PL: :pl
|
|
179
|
-
PT: :pt
|
|
180
|
-
RO: :ro
|
|
181
|
-
RU: :ru
|
|
182
|
-
SV: :sv
|
|
183
|
-
TH: :th
|
|
184
|
-
TR: :tr
|
|
185
|
-
VI: :vi
|
|
186
|
-
|
|
187
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::language]
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
type transcription_engine = :xAI
|
|
191
|
-
|
|
192
|
-
module TranscriptionEngine
|
|
193
|
-
extend Telnyx::Internal::Type::Enum
|
|
194
|
-
|
|
195
|
-
X_AI: :xAI
|
|
196
|
-
|
|
197
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_engine]
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
type transcription_model = :"xai/grok-stt"
|
|
201
|
-
|
|
202
|
-
module TranscriptionModel
|
|
203
|
-
extend Telnyx::Internal::Type::Enum
|
|
204
|
-
|
|
205
|
-
XAI_GROK_STT: :"xai/grok-stt"
|
|
206
|
-
|
|
207
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::transcription_model]
|
|
208
|
-
end
|
|
209
|
-
end
|
|
210
|
-
|
|
211
|
-
type assembly_ai =
|
|
212
|
-
{
|
|
213
|
-
interim_results: bool,
|
|
214
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine,
|
|
215
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
class AssemblyAI < Telnyx::Internal::Type::BaseModel
|
|
219
|
-
attr_reader interim_results: bool?
|
|
220
|
-
|
|
221
|
-
def interim_results=: (bool) -> bool
|
|
222
|
-
|
|
223
|
-
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine?
|
|
224
|
-
|
|
225
|
-
def transcription_engine=: (
|
|
226
|
-
Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine
|
|
227
|
-
) -> Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine
|
|
228
|
-
|
|
229
|
-
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model?
|
|
230
|
-
|
|
231
|
-
def transcription_model=: (
|
|
232
|
-
Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model
|
|
233
|
-
) -> Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model
|
|
234
|
-
|
|
235
|
-
def initialize: (
|
|
236
|
-
?interim_results: bool,
|
|
237
|
-
?transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine,
|
|
238
|
-
?transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model
|
|
239
|
-
) -> void
|
|
240
|
-
|
|
241
|
-
def to_hash: -> {
|
|
242
|
-
interim_results: bool,
|
|
243
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine,
|
|
244
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
type transcription_engine = :AssemblyAI
|
|
248
|
-
|
|
249
|
-
module TranscriptionEngine
|
|
250
|
-
extend Telnyx::Internal::Type::Enum
|
|
251
|
-
|
|
252
|
-
ASSEMBLY_AI: :AssemblyAI
|
|
253
|
-
|
|
254
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_engine]
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
type transcription_model = :"assemblyai/universal-streaming"
|
|
258
|
-
|
|
259
|
-
module TranscriptionModel
|
|
260
|
-
extend Telnyx::Internal::Type::Enum
|
|
261
|
-
|
|
262
|
-
ASSEMBLYAI_UNIVERSAL_STREAMING: :"assemblyai/universal-streaming"
|
|
263
|
-
|
|
264
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::transcription_model]
|
|
265
|
-
end
|
|
266
|
-
end
|
|
267
|
-
|
|
268
86
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::transcription_engine_config]
|
|
269
87
|
end
|
|
270
88
|
end
|
|
@@ -183,7 +183,7 @@ module Telnyx
|
|
|
183
183
|
| Telnyx::RimeVoiceSettings
|
|
184
184
|
| Telnyx::ResembleVoiceSettings
|
|
185
185
|
| Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld
|
|
186
|
-
| Telnyx::
|
|
186
|
+
| Telnyx::XaiVoiceSettings
|
|
187
187
|
|
|
188
188
|
module VoiceSettings
|
|
189
189
|
extend Telnyx::Internal::Type::Union
|
|
@@ -198,20 +198,6 @@ module Telnyx
|
|
|
198
198
|
def to_hash: -> { type: :inworld }
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
-
type xai = { type: :xai, language: String }
|
|
202
|
-
|
|
203
|
-
class Xai < Telnyx::Internal::Type::BaseModel
|
|
204
|
-
attr_accessor type: :xai
|
|
205
|
-
|
|
206
|
-
attr_reader language: String?
|
|
207
|
-
|
|
208
|
-
def language=: (String) -> String
|
|
209
|
-
|
|
210
|
-
def initialize: (?language: String, ?type: :xai) -> void
|
|
211
|
-
|
|
212
|
-
def to_hash: -> { type: :xai, language: String }
|
|
213
|
-
end
|
|
214
|
-
|
|
215
201
|
def self?.variants: -> ::Array[Telnyx::Models::Conferences::ActionSpeakParams::voice_settings]
|
|
216
202
|
end
|
|
217
203
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type model_metadata =
|
|
4
|
+
{ id: String, created: Integer, owned_by: String, object: String }
|
|
5
|
+
|
|
6
|
+
class ModelMetadata < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor id: String
|
|
8
|
+
|
|
9
|
+
attr_accessor created: Integer
|
|
10
|
+
|
|
11
|
+
attr_accessor owned_by: String
|
|
12
|
+
|
|
13
|
+
attr_reader object: String?
|
|
14
|
+
|
|
15
|
+
def object=: (String) -> String
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
id: String,
|
|
19
|
+
created: Integer,
|
|
20
|
+
owned_by: String,
|
|
21
|
+
?object: String
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
id: String,
|
|
26
|
+
created: Integer,
|
|
27
|
+
owned_by: String,
|
|
28
|
+
object: String
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -1,11 +1,113 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
|
-
type network_list_interfaces_response =
|
|
3
|
+
type network_list_interfaces_response =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: String,
|
|
7
|
+
name: String,
|
|
8
|
+
network_id: String,
|
|
9
|
+
record_type: String,
|
|
10
|
+
region: Telnyx::Models::NetworkListInterfacesResponse::Region,
|
|
11
|
+
region_code: String,
|
|
12
|
+
status: Telnyx::Models::interface_status,
|
|
13
|
+
type: String,
|
|
14
|
+
updated_at: String
|
|
15
|
+
}
|
|
4
16
|
|
|
5
|
-
class NetworkListInterfacesResponse < Telnyx::
|
|
6
|
-
|
|
17
|
+
class NetworkListInterfacesResponse < Telnyx::Internal::Type::BaseModel
|
|
18
|
+
attr_reader name: String?
|
|
7
19
|
|
|
8
|
-
def
|
|
20
|
+
def name=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader network_id: String?
|
|
23
|
+
|
|
24
|
+
def network_id=: (String) -> String
|
|
25
|
+
|
|
26
|
+
attr_reader region: Telnyx::Models::NetworkListInterfacesResponse::Region?
|
|
27
|
+
|
|
28
|
+
def region=: (
|
|
29
|
+
Telnyx::Models::NetworkListInterfacesResponse::Region
|
|
30
|
+
) -> Telnyx::Models::NetworkListInterfacesResponse::Region
|
|
31
|
+
|
|
32
|
+
attr_reader region_code: String?
|
|
33
|
+
|
|
34
|
+
def region_code=: (String) -> String
|
|
35
|
+
|
|
36
|
+
attr_reader id: String?
|
|
37
|
+
|
|
38
|
+
def id=: (String) -> String
|
|
39
|
+
|
|
40
|
+
attr_reader created_at: String?
|
|
41
|
+
|
|
42
|
+
def created_at=: (String) -> String
|
|
43
|
+
|
|
44
|
+
attr_reader record_type: String?
|
|
45
|
+
|
|
46
|
+
def record_type=: (String) -> String
|
|
47
|
+
|
|
48
|
+
attr_reader status: Telnyx::Models::interface_status?
|
|
49
|
+
|
|
50
|
+
def status=: (
|
|
51
|
+
Telnyx::Models::interface_status
|
|
52
|
+
) -> Telnyx::Models::interface_status
|
|
53
|
+
|
|
54
|
+
attr_reader type: String?
|
|
55
|
+
|
|
56
|
+
def type=: (String) -> String
|
|
57
|
+
|
|
58
|
+
attr_reader updated_at: String?
|
|
59
|
+
|
|
60
|
+
def updated_at=: (String) -> String
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
?id: String,
|
|
64
|
+
?created_at: String,
|
|
65
|
+
?name: String,
|
|
66
|
+
?network_id: String,
|
|
67
|
+
?record_type: String,
|
|
68
|
+
?region: Telnyx::Models::NetworkListInterfacesResponse::Region,
|
|
69
|
+
?region_code: String,
|
|
70
|
+
?status: Telnyx::Models::interface_status,
|
|
71
|
+
?type: String,
|
|
72
|
+
?updated_at: String
|
|
73
|
+
) -> void
|
|
74
|
+
|
|
75
|
+
def to_hash: -> {
|
|
76
|
+
id: String,
|
|
77
|
+
created_at: String,
|
|
78
|
+
name: String,
|
|
79
|
+
network_id: String,
|
|
80
|
+
record_type: String,
|
|
81
|
+
region: Telnyx::Models::NetworkListInterfacesResponse::Region,
|
|
82
|
+
region_code: String,
|
|
83
|
+
status: Telnyx::Models::interface_status,
|
|
84
|
+
type: String,
|
|
85
|
+
updated_at: String
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
type region = { code: String, name: String, record_type: String }
|
|
89
|
+
|
|
90
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
91
|
+
attr_reader code: String?
|
|
92
|
+
|
|
93
|
+
def code=: (String) -> String
|
|
94
|
+
|
|
95
|
+
attr_reader name: String?
|
|
96
|
+
|
|
97
|
+
def name=: (String) -> String
|
|
98
|
+
|
|
99
|
+
attr_reader record_type: String?
|
|
100
|
+
|
|
101
|
+
def record_type=: (String) -> String
|
|
102
|
+
|
|
103
|
+
def initialize: (
|
|
104
|
+
?code: String,
|
|
105
|
+
?name: String,
|
|
106
|
+
?record_type: String
|
|
107
|
+
) -> void
|
|
108
|
+
|
|
109
|
+
def to_hash: -> { code: String, name: String, record_type: String }
|
|
110
|
+
end
|
|
9
111
|
end
|
|
10
112
|
end
|
|
11
113
|
end
|