telnyx 5.98.0 → 5.100.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 +21 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +5 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -231
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -231
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +128 -7
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +131 -7
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -236
- data/lib/telnyx/models/ai/external_llm.rb +89 -0
- data/lib/telnyx/models/ai/external_llm_req.rb +89 -0
- data/lib/telnyx/models/ai/fallback_config.rb +37 -0
- data/lib/telnyx/models/ai/fallback_config_req.rb +37 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -234
- data/lib/telnyx/models/ai/post_conversation_settings.rb +30 -0
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +30 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +26 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +26 -3
- data/lib/telnyx/models/conferences/action_speak_params.rb +26 -3
- data/lib/telnyx/models/uac_connection_create_params.rb +738 -0
- data/lib/telnyx/models/uac_connection_create_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_delete_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_delete_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_list_params.rb +143 -0
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +899 -0
- data/lib/telnyx/models/uac_connection_update_params.rb +740 -0
- data/lib/telnyx/models/uac_connection_update_response.rb +898 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_params.rb +22 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_response.rb +104 -0
- data/lib/telnyx/models.rb +12 -0
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +6 -10
- 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 +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/uac_connections/actions.rb +39 -0
- data/lib/telnyx/resources/uac_connections.rb +256 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -1
- data/rbi/telnyx/client.rbi +4 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +303 -10
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +309 -9
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -469
- data/rbi/telnyx/models/ai/external_llm.rbi +161 -0
- data/rbi/telnyx/models/ai/external_llm_req.rbi +161 -0
- data/rbi/telnyx/models/ai/fallback_config.rbi +64 -0
- data/rbi/telnyx/models/ai/fallback_config_req.rbi +64 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -460
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +45 -0
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +45 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +50 -5
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/uac_connection_create_params.rbi +1465 -0
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_delete_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_list_params.rbi +261 -0
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_update_params.rbi +1463 -0
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi +40 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi +237 -0
- data/rbi/telnyx/models.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +6 -14
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -5
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +16 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -1
- data/rbi/telnyx/resources/uac_connections/actions.rbi +33 -0
- data/rbi/telnyx/resources/uac_connections.rbi +348 -0
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -4
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +113 -8
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -205
- data/sig/telnyx/models/ai/external_llm.rbs +75 -0
- data/sig/telnyx/models/ai/external_llm_req.rbs +75 -0
- data/sig/telnyx/models/ai/fallback_config.rbs +38 -0
- data/sig/telnyx/models/ai/fallback_config_req.rbs +40 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +17 -206
- data/sig/telnyx/models/ai/post_conversation_settings.rbs +17 -0
- data/sig/telnyx/models/ai/post_conversation_settings_req.rbs +17 -0
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/uac_connection_create_params.rbs +609 -0
- data/sig/telnyx/models/uac_connection_create_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_delete_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_delete_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_list_params.rbs +112 -0
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_update_params.rbs +615 -0
- data/sig/telnyx/models/uac_connection_update_response.rbs +741 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs +22 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs +117 -0
- data/sig/telnyx/models.rbs +12 -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/uac_connections/actions.rbs +14 -0
- data/sig/telnyx/resources/uac_connections.rbs +90 -0
- metadata +62 -5
- data/lib/telnyx/models/ai/assistants/version_config.rb +0 -30
- data/rbi/telnyx/models/ai/assistants/version_config.rbi +0 -45
- data/sig/telnyx/models/ai/assistants/version_config.rbs +0 -19
|
@@ -13,8 +13,8 @@ module Telnyx
|
|
|
13
13
|
dynamic_variables_webhook_timeout_ms: Integer,
|
|
14
14
|
dynamic_variables_webhook_url: String,
|
|
15
15
|
enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
16
|
-
external_llm: Telnyx::AI::
|
|
17
|
-
fallback_config: Telnyx::AI::
|
|
16
|
+
external_llm: Telnyx::AI::ExternalLlm,
|
|
17
|
+
fallback_config: Telnyx::AI::FallbackConfig,
|
|
18
18
|
greeting: String,
|
|
19
19
|
import_metadata: Telnyx::AI::ImportMetadata,
|
|
20
20
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
@@ -24,7 +24,7 @@ module Telnyx
|
|
|
24
24
|
mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
25
25
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
26
26
|
observability_settings: Telnyx::AI::Observability,
|
|
27
|
-
post_conversation_settings: Telnyx::AI::
|
|
27
|
+
post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
28
28
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
29
29
|
related_mission_ids: ::Array[String],
|
|
30
30
|
tags: ::Array[String],
|
|
@@ -71,17 +71,15 @@ module Telnyx
|
|
|
71
71
|
::Array[Telnyx::Models::AI::enabled_features]
|
|
72
72
|
) -> ::Array[Telnyx::Models::AI::enabled_features]
|
|
73
73
|
|
|
74
|
-
attr_reader external_llm: Telnyx::AI::
|
|
74
|
+
attr_reader external_llm: Telnyx::AI::ExternalLlm?
|
|
75
75
|
|
|
76
|
-
def external_llm=: (
|
|
77
|
-
Telnyx::AI::InferenceEmbedding::ExternalLlm
|
|
78
|
-
) -> Telnyx::AI::InferenceEmbedding::ExternalLlm
|
|
76
|
+
def external_llm=: (Telnyx::AI::ExternalLlm) -> Telnyx::AI::ExternalLlm
|
|
79
77
|
|
|
80
|
-
attr_reader fallback_config: Telnyx::AI::
|
|
78
|
+
attr_reader fallback_config: Telnyx::AI::FallbackConfig?
|
|
81
79
|
|
|
82
80
|
def fallback_config=: (
|
|
83
|
-
Telnyx::AI::
|
|
84
|
-
) -> Telnyx::AI::
|
|
81
|
+
Telnyx::AI::FallbackConfig
|
|
82
|
+
) -> Telnyx::AI::FallbackConfig
|
|
85
83
|
|
|
86
84
|
attr_reader greeting: String?
|
|
87
85
|
|
|
@@ -133,11 +131,11 @@ module Telnyx
|
|
|
133
131
|
Telnyx::AI::Observability
|
|
134
132
|
) -> Telnyx::AI::Observability
|
|
135
133
|
|
|
136
|
-
attr_reader post_conversation_settings: Telnyx::AI::
|
|
134
|
+
attr_reader post_conversation_settings: Telnyx::AI::PostConversationSettings?
|
|
137
135
|
|
|
138
136
|
def post_conversation_settings=: (
|
|
139
|
-
Telnyx::AI::
|
|
140
|
-
) -> Telnyx::AI::
|
|
137
|
+
Telnyx::AI::PostConversationSettings
|
|
138
|
+
) -> Telnyx::AI::PostConversationSettings
|
|
141
139
|
|
|
142
140
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
143
141
|
|
|
@@ -206,8 +204,8 @@ module Telnyx
|
|
|
206
204
|
?dynamic_variables_webhook_timeout_ms: Integer,
|
|
207
205
|
?dynamic_variables_webhook_url: String,
|
|
208
206
|
?enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
209
|
-
?external_llm: Telnyx::AI::
|
|
210
|
-
?fallback_config: Telnyx::AI::
|
|
207
|
+
?external_llm: Telnyx::AI::ExternalLlm,
|
|
208
|
+
?fallback_config: Telnyx::AI::FallbackConfig,
|
|
211
209
|
?greeting: String,
|
|
212
210
|
?import_metadata: Telnyx::AI::ImportMetadata,
|
|
213
211
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
@@ -217,7 +215,7 @@ module Telnyx
|
|
|
217
215
|
?mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
218
216
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
219
217
|
?observability_settings: Telnyx::AI::Observability,
|
|
220
|
-
?post_conversation_settings: Telnyx::AI::
|
|
218
|
+
?post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
221
219
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
222
220
|
?related_mission_ids: ::Array[String],
|
|
223
221
|
?tags: ::Array[String],
|
|
@@ -242,8 +240,8 @@ module Telnyx
|
|
|
242
240
|
dynamic_variables_webhook_timeout_ms: Integer,
|
|
243
241
|
dynamic_variables_webhook_url: String,
|
|
244
242
|
enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
245
|
-
external_llm: Telnyx::AI::
|
|
246
|
-
fallback_config: Telnyx::AI::
|
|
243
|
+
external_llm: Telnyx::AI::ExternalLlm,
|
|
244
|
+
fallback_config: Telnyx::AI::FallbackConfig,
|
|
247
245
|
greeting: String,
|
|
248
246
|
import_metadata: Telnyx::AI::ImportMetadata,
|
|
249
247
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
@@ -253,7 +251,7 @@ module Telnyx
|
|
|
253
251
|
mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
254
252
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
255
253
|
observability_settings: Telnyx::AI::Observability,
|
|
256
|
-
post_conversation_settings: Telnyx::AI::
|
|
254
|
+
post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
257
255
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
258
256
|
related_mission_ids: ::Array[String],
|
|
259
257
|
tags: ::Array[String],
|
|
@@ -267,181 +265,6 @@ module Telnyx
|
|
|
267
265
|
widget_settings: Telnyx::AI::WidgetSettings
|
|
268
266
|
}
|
|
269
267
|
|
|
270
|
-
type external_llm =
|
|
271
|
-
{
|
|
272
|
-
base_url: String,
|
|
273
|
-
model: String,
|
|
274
|
-
authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
275
|
-
certificate_ref: String,
|
|
276
|
-
forward_metadata: bool,
|
|
277
|
-
llm_api_key_ref: String,
|
|
278
|
-
token_retrieval_url: String
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
class ExternalLlm < Telnyx::Internal::Type::BaseModel
|
|
282
|
-
attr_accessor base_url: String
|
|
283
|
-
|
|
284
|
-
attr_accessor model: String
|
|
285
|
-
|
|
286
|
-
attr_reader authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method?
|
|
287
|
-
|
|
288
|
-
def authentication_method=: (
|
|
289
|
-
Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method
|
|
290
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method
|
|
291
|
-
|
|
292
|
-
attr_reader certificate_ref: String?
|
|
293
|
-
|
|
294
|
-
def certificate_ref=: (String) -> String
|
|
295
|
-
|
|
296
|
-
attr_reader forward_metadata: bool?
|
|
297
|
-
|
|
298
|
-
def forward_metadata=: (bool) -> bool
|
|
299
|
-
|
|
300
|
-
attr_reader llm_api_key_ref: String?
|
|
301
|
-
|
|
302
|
-
def llm_api_key_ref=: (String) -> String
|
|
303
|
-
|
|
304
|
-
attr_reader token_retrieval_url: String?
|
|
305
|
-
|
|
306
|
-
def token_retrieval_url=: (String) -> String
|
|
307
|
-
|
|
308
|
-
def initialize: (
|
|
309
|
-
base_url: String,
|
|
310
|
-
model: String,
|
|
311
|
-
?authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
312
|
-
?certificate_ref: String,
|
|
313
|
-
?forward_metadata: bool,
|
|
314
|
-
?llm_api_key_ref: String,
|
|
315
|
-
?token_retrieval_url: String
|
|
316
|
-
) -> void
|
|
317
|
-
|
|
318
|
-
def to_hash: -> {
|
|
319
|
-
base_url: String,
|
|
320
|
-
model: String,
|
|
321
|
-
authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
322
|
-
certificate_ref: String,
|
|
323
|
-
forward_metadata: bool,
|
|
324
|
-
llm_api_key_ref: String,
|
|
325
|
-
token_retrieval_url: String
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
type authentication_method = :token | :certificate
|
|
329
|
-
|
|
330
|
-
module AuthenticationMethod
|
|
331
|
-
extend Telnyx::Internal::Type::Enum
|
|
332
|
-
|
|
333
|
-
TOKEN: :token
|
|
334
|
-
CERTIFICATE: :certificate
|
|
335
|
-
|
|
336
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method]
|
|
337
|
-
end
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
type fallback_config =
|
|
341
|
-
{
|
|
342
|
-
external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
343
|
-
llm_api_key_ref: String,
|
|
344
|
-
model: String
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
class FallbackConfig < Telnyx::Internal::Type::BaseModel
|
|
348
|
-
attr_reader external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm?
|
|
349
|
-
|
|
350
|
-
def external_llm=: (
|
|
351
|
-
Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm
|
|
352
|
-
) -> Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm
|
|
353
|
-
|
|
354
|
-
attr_reader llm_api_key_ref: String?
|
|
355
|
-
|
|
356
|
-
def llm_api_key_ref=: (String) -> String
|
|
357
|
-
|
|
358
|
-
attr_reader model: String?
|
|
359
|
-
|
|
360
|
-
def model=: (String) -> String
|
|
361
|
-
|
|
362
|
-
def initialize: (
|
|
363
|
-
?external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
364
|
-
?llm_api_key_ref: String,
|
|
365
|
-
?model: String
|
|
366
|
-
) -> void
|
|
367
|
-
|
|
368
|
-
def to_hash: -> {
|
|
369
|
-
external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
370
|
-
llm_api_key_ref: String,
|
|
371
|
-
model: String
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
type external_llm =
|
|
375
|
-
{
|
|
376
|
-
base_url: String,
|
|
377
|
-
model: String,
|
|
378
|
-
authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
379
|
-
certificate_ref: String,
|
|
380
|
-
forward_metadata: bool,
|
|
381
|
-
llm_api_key_ref: String,
|
|
382
|
-
token_retrieval_url: String
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
class ExternalLlm < Telnyx::Internal::Type::BaseModel
|
|
386
|
-
attr_accessor base_url: String
|
|
387
|
-
|
|
388
|
-
attr_accessor model: String
|
|
389
|
-
|
|
390
|
-
attr_reader authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method?
|
|
391
|
-
|
|
392
|
-
def authentication_method=: (
|
|
393
|
-
Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method
|
|
394
|
-
) -> Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method
|
|
395
|
-
|
|
396
|
-
attr_reader certificate_ref: String?
|
|
397
|
-
|
|
398
|
-
def certificate_ref=: (String) -> String
|
|
399
|
-
|
|
400
|
-
attr_reader forward_metadata: bool?
|
|
401
|
-
|
|
402
|
-
def forward_metadata=: (bool) -> bool
|
|
403
|
-
|
|
404
|
-
attr_reader llm_api_key_ref: String?
|
|
405
|
-
|
|
406
|
-
def llm_api_key_ref=: (String) -> String
|
|
407
|
-
|
|
408
|
-
attr_reader token_retrieval_url: String?
|
|
409
|
-
|
|
410
|
-
def token_retrieval_url=: (String) -> String
|
|
411
|
-
|
|
412
|
-
def initialize: (
|
|
413
|
-
base_url: String,
|
|
414
|
-
model: String,
|
|
415
|
-
?authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
416
|
-
?certificate_ref: String,
|
|
417
|
-
?forward_metadata: bool,
|
|
418
|
-
?llm_api_key_ref: String,
|
|
419
|
-
?token_retrieval_url: String
|
|
420
|
-
) -> void
|
|
421
|
-
|
|
422
|
-
def to_hash: -> {
|
|
423
|
-
base_url: String,
|
|
424
|
-
model: String,
|
|
425
|
-
authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
426
|
-
certificate_ref: String,
|
|
427
|
-
forward_metadata: bool,
|
|
428
|
-
llm_api_key_ref: String,
|
|
429
|
-
token_retrieval_url: String
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
type authentication_method = :token | :certificate
|
|
433
|
-
|
|
434
|
-
module AuthenticationMethod
|
|
435
|
-
extend Telnyx::Internal::Type::Enum
|
|
436
|
-
|
|
437
|
-
TOKEN: :token
|
|
438
|
-
CERTIFICATE: :certificate
|
|
439
|
-
|
|
440
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method]
|
|
441
|
-
end
|
|
442
|
-
end
|
|
443
|
-
end
|
|
444
|
-
|
|
445
268
|
type integration =
|
|
446
269
|
{ integration_id: String, allowed_list: ::Array[String] }
|
|
447
270
|
|
|
@@ -565,18 +388,6 @@ module Telnyx
|
|
|
565
388
|
|
|
566
389
|
def to_hash: -> { id: String, allowed_tools: ::Array[String] }
|
|
567
390
|
end
|
|
568
|
-
|
|
569
|
-
type post_conversation_settings = { enabled: bool }
|
|
570
|
-
|
|
571
|
-
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
572
|
-
attr_reader enabled: bool?
|
|
573
|
-
|
|
574
|
-
def enabled=: (bool) -> bool
|
|
575
|
-
|
|
576
|
-
def initialize: (?enabled: bool) -> void
|
|
577
|
-
|
|
578
|
-
def to_hash: -> { enabled: bool }
|
|
579
|
-
end
|
|
580
391
|
end
|
|
581
392
|
end
|
|
582
393
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
type post_conversation_settings = { enabled: bool }
|
|
5
|
+
|
|
6
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader enabled: bool?
|
|
8
|
+
|
|
9
|
+
def enabled=: (bool) -> bool
|
|
10
|
+
|
|
11
|
+
def initialize: (?enabled: bool) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { enabled: bool }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
type post_conversation_settings_req = { enabled: bool }
|
|
5
|
+
|
|
6
|
+
class PostConversationSettingsReq < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader enabled: bool?
|
|
8
|
+
|
|
9
|
+
def enabled=: (bool) -> bool
|
|
10
|
+
|
|
11
|
+
def initialize: (?enabled: bool) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { enabled: bool }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -182,10 +182,25 @@ module Telnyx
|
|
|
182
182
|
| Telnyx::AzureVoiceSettings
|
|
183
183
|
| Telnyx::RimeVoiceSettings
|
|
184
184
|
| Telnyx::ResembleVoiceSettings
|
|
185
|
+
| Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai
|
|
185
186
|
|
|
186
187
|
module VoiceSettings
|
|
187
188
|
extend Telnyx::Internal::Type::Union
|
|
188
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
|
+
|
|
189
204
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionGatherUsingAIParams::voice_settings]
|
|
190
205
|
end
|
|
191
206
|
end
|
|
@@ -237,6 +237,7 @@ module Telnyx
|
|
|
237
237
|
| Telnyx::RimeVoiceSettings
|
|
238
238
|
| Telnyx::ResembleVoiceSettings
|
|
239
239
|
| Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld
|
|
240
|
+
| Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
240
241
|
|
|
241
242
|
module VoiceSettings
|
|
242
243
|
extend Telnyx::Internal::Type::Union
|
|
@@ -251,6 +252,20 @@ module Telnyx
|
|
|
251
252
|
def to_hash: -> { type: :inworld }
|
|
252
253
|
end
|
|
253
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
|
+
|
|
254
269
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionGatherUsingSpeakParams::voice_settings]
|
|
255
270
|
end
|
|
256
271
|
end
|
|
@@ -218,6 +218,7 @@ module Telnyx
|
|
|
218
218
|
| Telnyx::RimeVoiceSettings
|
|
219
219
|
| Telnyx::ResembleVoiceSettings
|
|
220
220
|
| Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld
|
|
221
|
+
| Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
221
222
|
|
|
222
223
|
module VoiceSettings
|
|
223
224
|
extend Telnyx::Internal::Type::Union
|
|
@@ -232,6 +233,20 @@ module Telnyx
|
|
|
232
233
|
def to_hash: -> { type: :inworld }
|
|
233
234
|
end
|
|
234
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
|
+
|
|
235
250
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionSpeakParams::voice_settings]
|
|
236
251
|
end
|
|
237
252
|
end
|
|
@@ -387,10 +387,25 @@ module Telnyx
|
|
|
387
387
|
| Telnyx::AzureVoiceSettings
|
|
388
388
|
| Telnyx::RimeVoiceSettings
|
|
389
389
|
| Telnyx::ResembleVoiceSettings
|
|
390
|
+
| Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
390
391
|
|
|
391
392
|
module VoiceSettings
|
|
392
393
|
extend Telnyx::Internal::Type::Union
|
|
393
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
|
+
|
|
394
409
|
def self?.variants: -> ::Array[Telnyx::Models::Calls::ActionStartAIAssistantParams::voice_settings]
|
|
395
410
|
end
|
|
396
411
|
end
|
|
@@ -183,6 +183,7 @@ module Telnyx
|
|
|
183
183
|
| Telnyx::RimeVoiceSettings
|
|
184
184
|
| Telnyx::ResembleVoiceSettings
|
|
185
185
|
| Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld
|
|
186
|
+
| Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai
|
|
186
187
|
|
|
187
188
|
module VoiceSettings
|
|
188
189
|
extend Telnyx::Internal::Type::Union
|
|
@@ -197,6 +198,20 @@ module Telnyx
|
|
|
197
198
|
def to_hash: -> { type: :inworld }
|
|
198
199
|
end
|
|
199
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
|
+
|
|
200
215
|
def self?.variants: -> ::Array[Telnyx::Models::Conferences::ActionSpeakParams::voice_settings]
|
|
201
216
|
end
|
|
202
217
|
end
|