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
|
@@ -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::TranscriptionStartRequest::TranscriptionEngineConfig::XAI
|
|
77
|
+
| Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI
|
|
78
78
|
| Telnyx::Calls::TranscriptionEngineAConfig
|
|
79
79
|
| Telnyx::Calls::TranscriptionEngineBConfig
|
|
80
80
|
| Telnyx::Calls::DeepgramNova2Config
|
|
@@ -83,6 +83,188 @@ 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
|
+
|
|
86
268
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::TranscriptionStartRequest::transcription_engine_config]
|
|
87
269
|
end
|
|
88
270
|
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::Conferences::ActionSpeakParams::VoiceSettings::Xai
|
|
187
187
|
|
|
188
188
|
module VoiceSettings
|
|
189
189
|
extend Telnyx::Internal::Type::Union
|
|
@@ -198,6 +198,20 @@ 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
|
+
|
|
201
215
|
def self?.variants: -> ::Array[Telnyx::Models::Conferences::ActionSpeakParams::voice_settings]
|
|
202
216
|
end
|
|
203
217
|
end
|
|
@@ -635,12 +635,12 @@ module Telnyx
|
|
|
635
635
|
module SampleRate
|
|
636
636
|
extend ::Telnyx::Internal::Type::Enum
|
|
637
637
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
638
|
+
SAMPLE_RATE_8000: 8000
|
|
639
|
+
SAMPLE_RATE_16000: 16000
|
|
640
|
+
SAMPLE_RATE_22050: 22050
|
|
641
|
+
SAMPLE_RATE_24000: 24000
|
|
642
|
+
SAMPLE_RATE_44100: 44100
|
|
643
|
+
SAMPLE_RATE_48000: 48000
|
|
644
644
|
|
|
645
645
|
def self?.values: -> ::Array[::Telnyx::Models::TextToSpeechGenerateParams::Xai::sample_rate]
|
|
646
646
|
end
|
|
@@ -11,15 +11,15 @@ module Telnyx
|
|
|
11
11
|
dtmf_type: Telnyx::Models::dtmf_type,
|
|
12
12
|
encode_contact_header_enabled: bool,
|
|
13
13
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
14
|
-
external_uac_settings: Telnyx::
|
|
14
|
+
external_uac_settings: Telnyx::UacConnectionCreateParams::ExternalUacSettings,
|
|
15
15
|
inbound: Telnyx::UacConnectionCreateParams::Inbound,
|
|
16
|
-
internal_uac_settings: Telnyx::
|
|
16
|
+
internal_uac_settings: Telnyx::UacConnectionCreateParams::InternalUacSettings,
|
|
17
17
|
ios_push_credential_id: String?,
|
|
18
18
|
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
19
19
|
noise_suppression: Telnyx::Models::UacConnectionCreateParams::noise_suppression,
|
|
20
20
|
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
21
21
|
:onnet_t38_passthrough_enabled => bool,
|
|
22
|
-
outbound: Telnyx::
|
|
22
|
+
outbound: Telnyx::UacConnectionCreateParams::Outbound,
|
|
23
23
|
password: String,
|
|
24
24
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
25
25
|
sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateParams::sip_uri_calling_preference,
|
|
@@ -68,11 +68,11 @@ module Telnyx
|
|
|
68
68
|
|
|
69
69
|
attr_accessor encrypted_media: Telnyx::Models::encrypted_media?
|
|
70
70
|
|
|
71
|
-
attr_reader external_uac_settings: Telnyx::
|
|
71
|
+
attr_reader external_uac_settings: Telnyx::UacConnectionCreateParams::ExternalUacSettings?
|
|
72
72
|
|
|
73
73
|
def external_uac_settings=: (
|
|
74
|
-
Telnyx::
|
|
75
|
-
) -> Telnyx::
|
|
74
|
+
Telnyx::UacConnectionCreateParams::ExternalUacSettings
|
|
75
|
+
) -> Telnyx::UacConnectionCreateParams::ExternalUacSettings
|
|
76
76
|
|
|
77
77
|
attr_reader inbound: Telnyx::UacConnectionCreateParams::Inbound?
|
|
78
78
|
|
|
@@ -80,11 +80,11 @@ module Telnyx
|
|
|
80
80
|
Telnyx::UacConnectionCreateParams::Inbound
|
|
81
81
|
) -> Telnyx::UacConnectionCreateParams::Inbound
|
|
82
82
|
|
|
83
|
-
attr_reader internal_uac_settings: Telnyx::
|
|
83
|
+
attr_reader internal_uac_settings: Telnyx::UacConnectionCreateParams::InternalUacSettings?
|
|
84
84
|
|
|
85
85
|
def internal_uac_settings=: (
|
|
86
|
-
Telnyx::
|
|
87
|
-
) -> Telnyx::
|
|
86
|
+
Telnyx::UacConnectionCreateParams::InternalUacSettings
|
|
87
|
+
) -> Telnyx::UacConnectionCreateParams::InternalUacSettings
|
|
88
88
|
|
|
89
89
|
attr_accessor ios_push_credential_id: String?
|
|
90
90
|
|
|
@@ -110,9 +110,11 @@ module Telnyx
|
|
|
110
110
|
|
|
111
111
|
def onnet_t38_passthrough_enabled=: (bool) -> bool
|
|
112
112
|
|
|
113
|
-
attr_reader outbound: Telnyx::
|
|
113
|
+
attr_reader outbound: Telnyx::UacConnectionCreateParams::Outbound?
|
|
114
114
|
|
|
115
|
-
def outbound=: (
|
|
115
|
+
def outbound=: (
|
|
116
|
+
Telnyx::UacConnectionCreateParams::Outbound
|
|
117
|
+
) -> Telnyx::UacConnectionCreateParams::Outbound
|
|
116
118
|
|
|
117
119
|
attr_reader password: String?
|
|
118
120
|
|
|
@@ -162,15 +164,15 @@ module Telnyx
|
|
|
162
164
|
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
163
165
|
?encode_contact_header_enabled: bool,
|
|
164
166
|
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
165
|
-
?external_uac_settings: Telnyx::
|
|
167
|
+
?external_uac_settings: Telnyx::UacConnectionCreateParams::ExternalUacSettings,
|
|
166
168
|
?inbound: Telnyx::UacConnectionCreateParams::Inbound,
|
|
167
|
-
?internal_uac_settings: Telnyx::
|
|
169
|
+
?internal_uac_settings: Telnyx::UacConnectionCreateParams::InternalUacSettings,
|
|
168
170
|
?ios_push_credential_id: String?,
|
|
169
171
|
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
170
172
|
?noise_suppression: Telnyx::Models::UacConnectionCreateParams::noise_suppression,
|
|
171
173
|
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
172
174
|
?onnet_t38_passthrough_enabled: bool,
|
|
173
|
-
?outbound: Telnyx::
|
|
175
|
+
?outbound: Telnyx::UacConnectionCreateParams::Outbound,
|
|
174
176
|
?password: String,
|
|
175
177
|
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
176
178
|
?sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateParams::sip_uri_calling_preference,
|
|
@@ -193,15 +195,15 @@ module Telnyx
|
|
|
193
195
|
dtmf_type: Telnyx::Models::dtmf_type,
|
|
194
196
|
encode_contact_header_enabled: bool,
|
|
195
197
|
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
196
|
-
external_uac_settings: Telnyx::
|
|
198
|
+
external_uac_settings: Telnyx::UacConnectionCreateParams::ExternalUacSettings,
|
|
197
199
|
inbound: Telnyx::UacConnectionCreateParams::Inbound,
|
|
198
|
-
internal_uac_settings: Telnyx::
|
|
200
|
+
internal_uac_settings: Telnyx::UacConnectionCreateParams::InternalUacSettings,
|
|
199
201
|
ios_push_credential_id: String?,
|
|
200
202
|
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
201
203
|
noise_suppression: Telnyx::Models::UacConnectionCreateParams::noise_suppression,
|
|
202
204
|
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
203
205
|
:onnet_t38_passthrough_enabled => bool,
|
|
204
|
-
outbound: Telnyx::
|
|
206
|
+
outbound: Telnyx::UacConnectionCreateParams::Outbound,
|
|
205
207
|
password: String,
|
|
206
208
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
207
209
|
sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateParams::sip_uri_calling_preference,
|
|
@@ -214,6 +216,76 @@ module Telnyx
|
|
|
214
216
|
request_options: Telnyx::RequestOptions
|
|
215
217
|
}
|
|
216
218
|
|
|
219
|
+
type external_uac_settings =
|
|
220
|
+
{
|
|
221
|
+
auth_username: String?,
|
|
222
|
+
expiration_sec: Integer?,
|
|
223
|
+
from_user: String?,
|
|
224
|
+
outbound_proxy: String?,
|
|
225
|
+
password: String,
|
|
226
|
+
proxy: String,
|
|
227
|
+
transport: Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings::transport?,
|
|
228
|
+
username: String
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
class ExternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
232
|
+
attr_accessor auth_username: String?
|
|
233
|
+
|
|
234
|
+
attr_accessor expiration_sec: Integer?
|
|
235
|
+
|
|
236
|
+
attr_accessor from_user: String?
|
|
237
|
+
|
|
238
|
+
attr_accessor outbound_proxy: String?
|
|
239
|
+
|
|
240
|
+
attr_reader password: String?
|
|
241
|
+
|
|
242
|
+
def password=: (String) -> String
|
|
243
|
+
|
|
244
|
+
attr_reader proxy: String?
|
|
245
|
+
|
|
246
|
+
def proxy=: (String) -> String
|
|
247
|
+
|
|
248
|
+
attr_accessor transport: Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings::transport?
|
|
249
|
+
|
|
250
|
+
attr_reader username: String?
|
|
251
|
+
|
|
252
|
+
def username=: (String) -> String
|
|
253
|
+
|
|
254
|
+
def initialize: (
|
|
255
|
+
?auth_username: String?,
|
|
256
|
+
?expiration_sec: Integer?,
|
|
257
|
+
?from_user: String?,
|
|
258
|
+
?outbound_proxy: String?,
|
|
259
|
+
?password: String,
|
|
260
|
+
?proxy: String,
|
|
261
|
+
?transport: Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings::transport?,
|
|
262
|
+
?username: String
|
|
263
|
+
) -> void
|
|
264
|
+
|
|
265
|
+
def to_hash: -> {
|
|
266
|
+
auth_username: String?,
|
|
267
|
+
expiration_sec: Integer?,
|
|
268
|
+
from_user: String?,
|
|
269
|
+
outbound_proxy: String?,
|
|
270
|
+
password: String,
|
|
271
|
+
proxy: String,
|
|
272
|
+
transport: Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings::transport?,
|
|
273
|
+
username: String
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
type transport = :UDP | :TLS | :TCP
|
|
277
|
+
|
|
278
|
+
module Transport
|
|
279
|
+
extend Telnyx::Internal::Type::Enum
|
|
280
|
+
|
|
281
|
+
UDP: :UDP
|
|
282
|
+
TLS: :TLS
|
|
283
|
+
TCP: :TCP
|
|
284
|
+
|
|
285
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings::transport]
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
217
289
|
type inbound =
|
|
218
290
|
{
|
|
219
291
|
ani_number_format: Telnyx::Models::UacConnectionCreateParams::Inbound::ani_number_format,
|
|
@@ -374,6 +446,18 @@ module Telnyx
|
|
|
374
446
|
end
|
|
375
447
|
end
|
|
376
448
|
|
|
449
|
+
type internal_uac_settings = { destination_uri: String }
|
|
450
|
+
|
|
451
|
+
class InternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
452
|
+
attr_reader destination_uri: String?
|
|
453
|
+
|
|
454
|
+
def destination_uri=: (String) -> String
|
|
455
|
+
|
|
456
|
+
def initialize: (?destination_uri: String) -> void
|
|
457
|
+
|
|
458
|
+
def to_hash: -> { destination_uri: String }
|
|
459
|
+
end
|
|
460
|
+
|
|
377
461
|
type noise_suppression = :inbound | :outbound | :both | :disabled
|
|
378
462
|
|
|
379
463
|
module NoiseSuppression
|
|
@@ -387,6 +471,116 @@ module Telnyx
|
|
|
387
471
|
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateParams::noise_suppression]
|
|
388
472
|
end
|
|
389
473
|
|
|
474
|
+
type outbound =
|
|
475
|
+
{
|
|
476
|
+
ani_override: String,
|
|
477
|
+
ani_override_type: Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type,
|
|
478
|
+
call_parking_enabled: bool?,
|
|
479
|
+
channel_limit: Integer,
|
|
480
|
+
generate_ringback_tone: bool,
|
|
481
|
+
instant_ringback_enabled: bool,
|
|
482
|
+
localization: String,
|
|
483
|
+
outbound_voice_profile_id: String,
|
|
484
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
class Outbound < Telnyx::Internal::Type::BaseModel
|
|
488
|
+
attr_reader ani_override: String?
|
|
489
|
+
|
|
490
|
+
def ani_override=: (String) -> String
|
|
491
|
+
|
|
492
|
+
attr_reader ani_override_type: Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type?
|
|
493
|
+
|
|
494
|
+
def ani_override_type=: (
|
|
495
|
+
Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type
|
|
496
|
+
) -> Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type
|
|
497
|
+
|
|
498
|
+
attr_accessor call_parking_enabled: bool?
|
|
499
|
+
|
|
500
|
+
attr_reader channel_limit: Integer?
|
|
501
|
+
|
|
502
|
+
def channel_limit=: (Integer) -> Integer
|
|
503
|
+
|
|
504
|
+
attr_reader generate_ringback_tone: bool?
|
|
505
|
+
|
|
506
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
507
|
+
|
|
508
|
+
attr_reader instant_ringback_enabled: bool?
|
|
509
|
+
|
|
510
|
+
def instant_ringback_enabled=: (bool) -> bool
|
|
511
|
+
|
|
512
|
+
attr_reader localization: String?
|
|
513
|
+
|
|
514
|
+
def localization=: (String) -> String
|
|
515
|
+
|
|
516
|
+
attr_reader outbound_voice_profile_id: String?
|
|
517
|
+
|
|
518
|
+
def outbound_voice_profile_id=: (String) -> String
|
|
519
|
+
|
|
520
|
+
attr_reader t38_reinvite_source: Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source?
|
|
521
|
+
|
|
522
|
+
def t38_reinvite_source=: (
|
|
523
|
+
Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source
|
|
524
|
+
) -> Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source
|
|
525
|
+
|
|
526
|
+
def initialize: (
|
|
527
|
+
?ani_override: String,
|
|
528
|
+
?ani_override_type: Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type,
|
|
529
|
+
?call_parking_enabled: bool?,
|
|
530
|
+
?channel_limit: Integer,
|
|
531
|
+
?generate_ringback_tone: bool,
|
|
532
|
+
?instant_ringback_enabled: bool,
|
|
533
|
+
?localization: String,
|
|
534
|
+
?outbound_voice_profile_id: String,
|
|
535
|
+
?t38_reinvite_source: Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source
|
|
536
|
+
) -> void
|
|
537
|
+
|
|
538
|
+
def to_hash: -> {
|
|
539
|
+
ani_override: String,
|
|
540
|
+
ani_override_type: Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type,
|
|
541
|
+
call_parking_enabled: bool?,
|
|
542
|
+
channel_limit: Integer,
|
|
543
|
+
generate_ringback_tone: bool,
|
|
544
|
+
instant_ringback_enabled: bool,
|
|
545
|
+
localization: String,
|
|
546
|
+
outbound_voice_profile_id: String,
|
|
547
|
+
:t38_reinvite_source => Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
type ani_override_type = :always | :normal | :emergency
|
|
551
|
+
|
|
552
|
+
module AniOverrideType
|
|
553
|
+
extend Telnyx::Internal::Type::Enum
|
|
554
|
+
|
|
555
|
+
ALWAYS: :always
|
|
556
|
+
NORMAL: :normal
|
|
557
|
+
EMERGENCY: :emergency
|
|
558
|
+
|
|
559
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateParams::Outbound::ani_override_type]
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
type t38_reinvite_source =
|
|
563
|
+
:telnyx
|
|
564
|
+
| :customer
|
|
565
|
+
| :disabled
|
|
566
|
+
| :passthru
|
|
567
|
+
| :"caller-passthru"
|
|
568
|
+
| :"callee-passthru"
|
|
569
|
+
|
|
570
|
+
module T38ReinviteSource
|
|
571
|
+
extend Telnyx::Internal::Type::Enum
|
|
572
|
+
|
|
573
|
+
TELNYX: :telnyx
|
|
574
|
+
CUSTOMER: :customer
|
|
575
|
+
DISABLED: :disabled
|
|
576
|
+
PASSTHRU: :passthru
|
|
577
|
+
CALLER_PASSTHRU: :"caller-passthru"
|
|
578
|
+
CALLEE_PASSTHRU: :"callee-passthru"
|
|
579
|
+
|
|
580
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionCreateParams::Outbound::t38_reinvite_source]
|
|
581
|
+
end
|
|
582
|
+
end
|
|
583
|
+
|
|
390
584
|
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
391
585
|
|
|
392
586
|
module SipUriCallingPreference
|