telnyx 5.102.1 → 5.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +170 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +170 -9
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +123 -3
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +125 -3
- data/lib/telnyx/models/ai/assistants/scheduled_event_create_params.rb +17 -1
- data/lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb +91 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +171 -9
- data/lib/telnyx/models/ai/inference_embedding.rb +169 -9
- data/lib/telnyx/models/ai/openai_list_models_response.rb +31 -3
- data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
- data/lib/telnyx/models/ai_retrieve_models_response.rb +31 -3
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +23 -4
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +23 -4
- data/lib/telnyx/models/calls/transcription_start_request.rb +167 -5
- data/lib/telnyx/models/conferences/action_speak_params.rb +23 -4
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection_create_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_create_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_delete_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +879 -3
- data/lib/telnyx/models/uac_connection_update_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_update_response.rb +878 -3
- data/lib/telnyx/models.rb +0 -14
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/scheduled_events.rb +5 -1
- 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/uac_connections.rb +8 -8
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +1 -19
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +290 -4
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +301 -3
- data/rbi/telnyx/models/ai/assistants/scheduled_event_create_params.rbi +22 -0
- data/rbi/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbi +153 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +355 -12
- data/rbi/telnyx/models/ai/inference_embedding.rbi +340 -12
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +56 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +51 -3
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +41 -5
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +480 -10
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection_create_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_update_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1756 -4
- data/rbi/telnyx/models.rbi +0 -14
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
- data/rbi/telnyx/resources/ai/assistants/scheduled_events.rbi +6 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -3
- data/rbi/telnyx/resources/ai/assistants.rbi +10 -6
- data/rbi/telnyx/resources/calls/actions.rbi +6 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +13 -7
- data/sig/telnyx/models/ai/assistant_create_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -6
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +109 -4
- data/sig/telnyx/models/ai/assistants/scheduled_event_create_params.rbs +14 -0
- data/sig/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbs +85 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +145 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +142 -18
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +39 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +39 -4
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -1
- data/sig/telnyx/models/calls/transcription_start_request.rbs +184 -2
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection_create_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_create_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_delete_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_update_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_update_response.rbs +731 -5
- data/sig/telnyx/models.rbs +0 -14
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/scheduled_events.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- metadata +4 -58
- data/lib/telnyx/models/ai/assistant_integration.rb +0 -38
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +0 -35
- data/lib/telnyx/models/ai/assistants/clause.rb +0 -54
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +0 -27
- data/lib/telnyx/models/ai/assistants/rule_input.rb +0 -40
- data/lib/telnyx/models/ai/assistants/rule_output.rb +0 -40
- data/lib/telnyx/models/ai/assistants/serve.rb +0 -33
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +0 -39
- data/lib/telnyx/models/ai/start_speaking_plan.rb +0 -37
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +0 -39
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +0 -64
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +0 -108
- data/lib/telnyx/models/model_metadata.rb +0 -33
- data/lib/telnyx/models/uac_connection.rb +0 -412
- data/lib/telnyx/models/uac_external_settings.rb +0 -101
- data/lib/telnyx/models/uac_inbound.rb +0 -210
- data/lib/telnyx/models/uac_internal_settings.rb +0 -25
- data/lib/telnyx/models/uac_outbound.rb +0 -131
- data/lib/telnyx/models/xai_voice_settings.rb +0 -36
- data/rbi/telnyx/models/ai/assistant_integration.rbi +0 -60
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +0 -51
- data/rbi/telnyx/models/ai/assistants/clause.rbi +0 -91
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +0 -36
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/serve.rbi +0 -61
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +0 -72
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +0 -70
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +0 -71
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +0 -155
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +0 -329
- data/rbi/telnyx/models/model_metadata.rbi +0 -44
- data/rbi/telnyx/models/uac_connection.rbi +0 -684
- data/rbi/telnyx/models/uac_external_settings.rbi +0 -146
- data/rbi/telnyx/models/uac_inbound.rbi +0 -410
- data/rbi/telnyx/models/uac_internal_settings.rbi +0 -39
- data/rbi/telnyx/models/uac_outbound.rbi +0 -224
- data/rbi/telnyx/models/xai_voice_settings.rbi +0 -64
- data/sig/telnyx/models/ai/assistant_integration.rbs +0 -26
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/clause.rbs +0 -46
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/serve.rbs +0 -35
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +0 -30
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +0 -33
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +0 -38
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +0 -62
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +0 -130
- data/sig/telnyx/models/model_metadata.rbs +0 -32
- data/sig/telnyx/models/uac_connection.rbs +0 -338
- data/sig/telnyx/models/uac_external_settings.rbs +0 -73
- data/sig/telnyx/models/uac_inbound.rbs +0 -190
- data/sig/telnyx/models/uac_internal_settings.rbs +0 -15
- data/sig/telnyx/models/uac_outbound.rbs +0 -113
- data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
|
@@ -217,7 +217,7 @@ module Telnyx
|
|
|
217
217
|
Telnyx::RimeVoiceSettings,
|
|
218
218
|
Telnyx::ResembleVoiceSettings,
|
|
219
219
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
220
|
-
Telnyx::
|
|
220
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
221
221
|
)
|
|
222
222
|
)
|
|
223
223
|
)
|
|
@@ -236,7 +236,7 @@ module Telnyx
|
|
|
236
236
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
237
237
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
238
238
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
239
|
-
Telnyx::
|
|
239
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
240
240
|
)
|
|
241
241
|
).void
|
|
242
242
|
end
|
|
@@ -273,7 +273,7 @@ module Telnyx
|
|
|
273
273
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
274
274
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
275
275
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
276
|
-
Telnyx::
|
|
276
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
277
277
|
),
|
|
278
278
|
request_options: Telnyx::RequestOptions::OrHash
|
|
279
279
|
).returns(T.attached_class)
|
|
@@ -402,7 +402,7 @@ module Telnyx
|
|
|
402
402
|
Telnyx::RimeVoiceSettings,
|
|
403
403
|
Telnyx::ResembleVoiceSettings,
|
|
404
404
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
405
|
-
Telnyx::
|
|
405
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
406
406
|
),
|
|
407
407
|
request_options: Telnyx::RequestOptions
|
|
408
408
|
}
|
|
@@ -669,7 +669,7 @@ module Telnyx
|
|
|
669
669
|
Telnyx::RimeVoiceSettings,
|
|
670
670
|
Telnyx::ResembleVoiceSettings,
|
|
671
671
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
672
|
-
Telnyx::
|
|
672
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
673
673
|
)
|
|
674
674
|
end
|
|
675
675
|
|
|
@@ -698,6 +698,42 @@ module Telnyx
|
|
|
698
698
|
end
|
|
699
699
|
end
|
|
700
700
|
|
|
701
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
702
|
+
OrHash =
|
|
703
|
+
T.type_alias do
|
|
704
|
+
T.any(
|
|
705
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai,
|
|
706
|
+
Telnyx::Internal::AnyHash
|
|
707
|
+
)
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# Voice settings provider type
|
|
711
|
+
sig { returns(Symbol) }
|
|
712
|
+
attr_accessor :type
|
|
713
|
+
|
|
714
|
+
# Language code, or `auto` to detect automatically.
|
|
715
|
+
sig { returns(T.nilable(String)) }
|
|
716
|
+
attr_reader :language
|
|
717
|
+
|
|
718
|
+
sig { params(language: String).void }
|
|
719
|
+
attr_writer :language
|
|
720
|
+
|
|
721
|
+
sig do
|
|
722
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
723
|
+
end
|
|
724
|
+
def self.new(
|
|
725
|
+
# Language code, or `auto` to detect automatically.
|
|
726
|
+
language: nil,
|
|
727
|
+
# Voice settings provider type
|
|
728
|
+
type: :xai
|
|
729
|
+
)
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
733
|
+
def to_hash
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
701
737
|
sig do
|
|
702
738
|
override.returns(
|
|
703
739
|
T::Array[
|
|
@@ -178,7 +178,7 @@ module Telnyx
|
|
|
178
178
|
Telnyx::RimeVoiceSettings,
|
|
179
179
|
Telnyx::ResembleVoiceSettings,
|
|
180
180
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
181
|
-
Telnyx::
|
|
181
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
182
182
|
)
|
|
183
183
|
)
|
|
184
184
|
)
|
|
@@ -197,7 +197,7 @@ module Telnyx
|
|
|
197
197
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
198
198
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
199
199
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
200
|
-
Telnyx::
|
|
200
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
201
201
|
)
|
|
202
202
|
).void
|
|
203
203
|
end
|
|
@@ -228,7 +228,7 @@ module Telnyx
|
|
|
228
228
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
229
229
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
230
230
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
231
|
-
Telnyx::
|
|
231
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
232
232
|
),
|
|
233
233
|
request_options: Telnyx::RequestOptions::OrHash
|
|
234
234
|
).returns(T.attached_class)
|
|
@@ -340,7 +340,7 @@ module Telnyx
|
|
|
340
340
|
Telnyx::RimeVoiceSettings,
|
|
341
341
|
Telnyx::ResembleVoiceSettings,
|
|
342
342
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
343
|
-
Telnyx::
|
|
343
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
344
344
|
),
|
|
345
345
|
request_options: Telnyx::RequestOptions
|
|
346
346
|
}
|
|
@@ -633,7 +633,7 @@ module Telnyx
|
|
|
633
633
|
Telnyx::RimeVoiceSettings,
|
|
634
634
|
Telnyx::ResembleVoiceSettings,
|
|
635
635
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
636
|
-
Telnyx::
|
|
636
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
637
637
|
)
|
|
638
638
|
end
|
|
639
639
|
|
|
@@ -662,6 +662,42 @@ module Telnyx
|
|
|
662
662
|
end
|
|
663
663
|
end
|
|
664
664
|
|
|
665
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
666
|
+
OrHash =
|
|
667
|
+
T.type_alias do
|
|
668
|
+
T.any(
|
|
669
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai,
|
|
670
|
+
Telnyx::Internal::AnyHash
|
|
671
|
+
)
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# Voice settings provider type
|
|
675
|
+
sig { returns(Symbol) }
|
|
676
|
+
attr_accessor :type
|
|
677
|
+
|
|
678
|
+
# Language code, or `auto` to detect automatically.
|
|
679
|
+
sig { returns(T.nilable(String)) }
|
|
680
|
+
attr_reader :language
|
|
681
|
+
|
|
682
|
+
sig { params(language: String).void }
|
|
683
|
+
attr_writer :language
|
|
684
|
+
|
|
685
|
+
sig do
|
|
686
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
687
|
+
end
|
|
688
|
+
def self.new(
|
|
689
|
+
# Language code, or `auto` to detect automatically.
|
|
690
|
+
language: nil,
|
|
691
|
+
# Voice settings provider type
|
|
692
|
+
type: :xai
|
|
693
|
+
)
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
697
|
+
def to_hash
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
|
|
665
701
|
sig do
|
|
666
702
|
override.returns(
|
|
667
703
|
T::Array[
|
|
@@ -181,7 +181,7 @@ module Telnyx
|
|
|
181
181
|
Telnyx::AzureVoiceSettings,
|
|
182
182
|
Telnyx::RimeVoiceSettings,
|
|
183
183
|
Telnyx::ResembleVoiceSettings,
|
|
184
|
-
Telnyx::
|
|
184
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
185
185
|
)
|
|
186
186
|
)
|
|
187
187
|
)
|
|
@@ -198,7 +198,7 @@ module Telnyx
|
|
|
198
198
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
199
199
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
200
200
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
201
|
-
Telnyx::
|
|
201
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
202
202
|
)
|
|
203
203
|
).void
|
|
204
204
|
end
|
|
@@ -237,7 +237,7 @@ module Telnyx
|
|
|
237
237
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
238
238
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
239
239
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
240
|
-
Telnyx::
|
|
240
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
241
241
|
),
|
|
242
242
|
request_options: Telnyx::RequestOptions::OrHash
|
|
243
243
|
).returns(T.attached_class)
|
|
@@ -340,7 +340,7 @@ module Telnyx
|
|
|
340
340
|
Telnyx::AzureVoiceSettings,
|
|
341
341
|
Telnyx::RimeVoiceSettings,
|
|
342
342
|
Telnyx::ResembleVoiceSettings,
|
|
343
|
-
Telnyx::
|
|
343
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
344
344
|
),
|
|
345
345
|
request_options: Telnyx::RequestOptions
|
|
346
346
|
}
|
|
@@ -984,10 +984,46 @@ module Telnyx
|
|
|
984
984
|
Telnyx::AzureVoiceSettings,
|
|
985
985
|
Telnyx::RimeVoiceSettings,
|
|
986
986
|
Telnyx::ResembleVoiceSettings,
|
|
987
|
-
Telnyx::
|
|
987
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
988
988
|
)
|
|
989
989
|
end
|
|
990
990
|
|
|
991
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
992
|
+
OrHash =
|
|
993
|
+
T.type_alias do
|
|
994
|
+
T.any(
|
|
995
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai,
|
|
996
|
+
Telnyx::Internal::AnyHash
|
|
997
|
+
)
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
# Voice settings provider type
|
|
1001
|
+
sig { returns(Symbol) }
|
|
1002
|
+
attr_accessor :type
|
|
1003
|
+
|
|
1004
|
+
# Language code, or `auto` to detect automatically.
|
|
1005
|
+
sig { returns(T.nilable(String)) }
|
|
1006
|
+
attr_reader :language
|
|
1007
|
+
|
|
1008
|
+
sig { params(language: String).void }
|
|
1009
|
+
attr_writer :language
|
|
1010
|
+
|
|
1011
|
+
sig do
|
|
1012
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
1013
|
+
end
|
|
1014
|
+
def self.new(
|
|
1015
|
+
# Language code, or `auto` to detect automatically.
|
|
1016
|
+
language: nil,
|
|
1017
|
+
# Voice settings provider type
|
|
1018
|
+
type: :xai
|
|
1019
|
+
)
|
|
1020
|
+
end
|
|
1021
|
+
|
|
1022
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
1023
|
+
def to_hash
|
|
1024
|
+
end
|
|
1025
|
+
end
|
|
1026
|
+
|
|
991
1027
|
sig do
|
|
992
1028
|
override.returns(
|
|
993
1029
|
T::Array[
|