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
|
@@ -14,10 +14,10 @@ module Telnyx
|
|
|
14
14
|
greeting: String,
|
|
15
15
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
16
16
|
instructions: String,
|
|
17
|
-
integrations: ::Array[Telnyx::AI::
|
|
18
|
-
interruption_settings: Telnyx::AI::
|
|
17
|
+
integrations: ::Array[Telnyx::AI::AssistantIntegration],
|
|
18
|
+
interruption_settings: Telnyx::AI::InferenceEmbeddingInterruptionSettings,
|
|
19
19
|
llm_api_key_ref: String,
|
|
20
|
-
mcp_servers: ::Array[Telnyx::AI::
|
|
20
|
+
mcp_servers: ::Array[Telnyx::AI::AssistantMcpServer],
|
|
21
21
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
22
22
|
model: String,
|
|
23
23
|
name: String,
|
|
@@ -90,27 +90,27 @@ module Telnyx
|
|
|
90
90
|
|
|
91
91
|
def instructions=: (String) -> String
|
|
92
92
|
|
|
93
|
-
attr_reader integrations: ::Array[Telnyx::AI::
|
|
93
|
+
attr_reader integrations: ::Array[Telnyx::AI::AssistantIntegration]?
|
|
94
94
|
|
|
95
95
|
def integrations=: (
|
|
96
|
-
::Array[Telnyx::AI::
|
|
97
|
-
) -> ::Array[Telnyx::AI::
|
|
96
|
+
::Array[Telnyx::AI::AssistantIntegration]
|
|
97
|
+
) -> ::Array[Telnyx::AI::AssistantIntegration]
|
|
98
98
|
|
|
99
|
-
attr_reader interruption_settings: Telnyx::AI::
|
|
99
|
+
attr_reader interruption_settings: Telnyx::AI::InferenceEmbeddingInterruptionSettings?
|
|
100
100
|
|
|
101
101
|
def interruption_settings=: (
|
|
102
|
-
Telnyx::AI::
|
|
103
|
-
) -> Telnyx::AI::
|
|
102
|
+
Telnyx::AI::InferenceEmbeddingInterruptionSettings
|
|
103
|
+
) -> Telnyx::AI::InferenceEmbeddingInterruptionSettings
|
|
104
104
|
|
|
105
105
|
attr_reader llm_api_key_ref: String?
|
|
106
106
|
|
|
107
107
|
def llm_api_key_ref=: (String) -> String
|
|
108
108
|
|
|
109
|
-
attr_reader mcp_servers: ::Array[Telnyx::AI::
|
|
109
|
+
attr_reader mcp_servers: ::Array[Telnyx::AI::AssistantMcpServer]?
|
|
110
110
|
|
|
111
111
|
def mcp_servers=: (
|
|
112
|
-
::Array[Telnyx::AI::
|
|
113
|
-
) -> ::Array[Telnyx::AI::
|
|
112
|
+
::Array[Telnyx::AI::AssistantMcpServer]
|
|
113
|
+
) -> ::Array[Telnyx::AI::AssistantMcpServer]
|
|
114
114
|
|
|
115
115
|
attr_reader messaging_settings: Telnyx::AI::MessagingSettings?
|
|
116
116
|
|
|
@@ -202,10 +202,10 @@ module Telnyx
|
|
|
202
202
|
?greeting: String,
|
|
203
203
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
204
204
|
?instructions: String,
|
|
205
|
-
?integrations: ::Array[Telnyx::AI::
|
|
206
|
-
?interruption_settings: Telnyx::AI::
|
|
205
|
+
?integrations: ::Array[Telnyx::AI::AssistantIntegration],
|
|
206
|
+
?interruption_settings: Telnyx::AI::InferenceEmbeddingInterruptionSettings,
|
|
207
207
|
?llm_api_key_ref: String,
|
|
208
|
-
?mcp_servers: ::Array[Telnyx::AI::
|
|
208
|
+
?mcp_servers: ::Array[Telnyx::AI::AssistantMcpServer],
|
|
209
209
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
210
210
|
?model: String,
|
|
211
211
|
?name: String,
|
|
@@ -236,10 +236,10 @@ module Telnyx
|
|
|
236
236
|
greeting: String,
|
|
237
237
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
238
238
|
instructions: String,
|
|
239
|
-
integrations: ::Array[Telnyx::AI::
|
|
240
|
-
interruption_settings: Telnyx::AI::
|
|
239
|
+
integrations: ::Array[Telnyx::AI::AssistantIntegration],
|
|
240
|
+
interruption_settings: Telnyx::AI::InferenceEmbeddingInterruptionSettings,
|
|
241
241
|
llm_api_key_ref: String,
|
|
242
|
-
mcp_servers: ::Array[Telnyx::AI::
|
|
242
|
+
mcp_servers: ::Array[Telnyx::AI::AssistantMcpServer],
|
|
243
243
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
244
244
|
model: String,
|
|
245
245
|
name: String,
|
|
@@ -257,130 +257,6 @@ module Telnyx
|
|
|
257
257
|
widget_settings: Telnyx::AI::WidgetSettings,
|
|
258
258
|
request_options: Telnyx::RequestOptions
|
|
259
259
|
}
|
|
260
|
-
|
|
261
|
-
type integration =
|
|
262
|
-
{ integration_id: String, allowed_list: ::Array[String] }
|
|
263
|
-
|
|
264
|
-
class Integration < Telnyx::Internal::Type::BaseModel
|
|
265
|
-
attr_accessor integration_id: String
|
|
266
|
-
|
|
267
|
-
attr_reader allowed_list: ::Array[String]?
|
|
268
|
-
|
|
269
|
-
def allowed_list=: (::Array[String]) -> ::Array[String]
|
|
270
|
-
|
|
271
|
-
def initialize: (
|
|
272
|
-
integration_id: String,
|
|
273
|
-
?allowed_list: ::Array[String]
|
|
274
|
-
) -> void
|
|
275
|
-
|
|
276
|
-
def to_hash: -> {
|
|
277
|
-
integration_id: String,
|
|
278
|
-
allowed_list: ::Array[String]
|
|
279
|
-
}
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
type interruption_settings =
|
|
283
|
-
{
|
|
284
|
-
enable: bool,
|
|
285
|
-
start_speaking_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
class InterruptionSettings < Telnyx::Internal::Type::BaseModel
|
|
289
|
-
attr_reader enable: bool?
|
|
290
|
-
|
|
291
|
-
def enable=: (bool) -> bool
|
|
292
|
-
|
|
293
|
-
attr_reader start_speaking_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan?
|
|
294
|
-
|
|
295
|
-
def start_speaking_plan=: (
|
|
296
|
-
Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan
|
|
297
|
-
) -> Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan
|
|
298
|
-
|
|
299
|
-
def initialize: (
|
|
300
|
-
?enable: bool,
|
|
301
|
-
?start_speaking_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan
|
|
302
|
-
) -> void
|
|
303
|
-
|
|
304
|
-
def to_hash: -> {
|
|
305
|
-
enable: bool,
|
|
306
|
-
start_speaking_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
type start_speaking_plan =
|
|
310
|
-
{
|
|
311
|
-
transcription_endpointing_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
312
|
-
wait_seconds: Float
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
class StartSpeakingPlan < Telnyx::Internal::Type::BaseModel
|
|
316
|
-
attr_reader transcription_endpointing_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan?
|
|
317
|
-
|
|
318
|
-
def transcription_endpointing_plan=: (
|
|
319
|
-
Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
320
|
-
) -> Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
321
|
-
|
|
322
|
-
attr_reader wait_seconds: Float?
|
|
323
|
-
|
|
324
|
-
def wait_seconds=: (Float) -> Float
|
|
325
|
-
|
|
326
|
-
def initialize: (
|
|
327
|
-
?transcription_endpointing_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
328
|
-
?wait_seconds: Float
|
|
329
|
-
) -> void
|
|
330
|
-
|
|
331
|
-
def to_hash: -> {
|
|
332
|
-
transcription_endpointing_plan: Telnyx::AI::AssistantUpdateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
333
|
-
wait_seconds: Float
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
type transcription_endpointing_plan =
|
|
337
|
-
{
|
|
338
|
-
on_no_punctuation_seconds: Float,
|
|
339
|
-
on_number_seconds: Float,
|
|
340
|
-
on_punctuation_seconds: Float
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
class TranscriptionEndpointingPlan < Telnyx::Internal::Type::BaseModel
|
|
344
|
-
attr_reader on_no_punctuation_seconds: Float?
|
|
345
|
-
|
|
346
|
-
def on_no_punctuation_seconds=: (Float) -> Float
|
|
347
|
-
|
|
348
|
-
attr_reader on_number_seconds: Float?
|
|
349
|
-
|
|
350
|
-
def on_number_seconds=: (Float) -> Float
|
|
351
|
-
|
|
352
|
-
attr_reader on_punctuation_seconds: Float?
|
|
353
|
-
|
|
354
|
-
def on_punctuation_seconds=: (Float) -> Float
|
|
355
|
-
|
|
356
|
-
def initialize: (
|
|
357
|
-
?on_no_punctuation_seconds: Float,
|
|
358
|
-
?on_number_seconds: Float,
|
|
359
|
-
?on_punctuation_seconds: Float
|
|
360
|
-
) -> void
|
|
361
|
-
|
|
362
|
-
def to_hash: -> {
|
|
363
|
-
on_no_punctuation_seconds: Float,
|
|
364
|
-
on_number_seconds: Float,
|
|
365
|
-
on_punctuation_seconds: Float
|
|
366
|
-
}
|
|
367
|
-
end
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
type mcp_server = { id: String, allowed_tools: ::Array[String] }
|
|
372
|
-
|
|
373
|
-
class McpServer < Telnyx::Internal::Type::BaseModel
|
|
374
|
-
attr_accessor id: String
|
|
375
|
-
|
|
376
|
-
attr_reader allowed_tools: ::Array[String]?
|
|
377
|
-
|
|
378
|
-
def allowed_tools=: (::Array[String]) -> ::Array[String]
|
|
379
|
-
|
|
380
|
-
def initialize: (id: String, ?allowed_tools: ::Array[String]) -> void
|
|
381
|
-
|
|
382
|
-
def to_hash: -> { id: String, allowed_tools: ::Array[String] }
|
|
383
|
-
end
|
|
384
260
|
end
|
|
385
261
|
end
|
|
386
262
|
end
|
|
@@ -3,127 +3,20 @@ module Telnyx
|
|
|
3
3
|
module AI
|
|
4
4
|
module Assistants
|
|
5
5
|
type canary_deploy =
|
|
6
|
-
{ rules: ::Array[Telnyx::AI::Assistants::
|
|
6
|
+
{ rules: ::Array[Telnyx::AI::Assistants::RuleInput] }
|
|
7
7
|
|
|
8
8
|
class CanaryDeploy < Telnyx::Internal::Type::BaseModel
|
|
9
|
-
attr_reader rules: ::Array[Telnyx::AI::Assistants::
|
|
9
|
+
attr_reader rules: ::Array[Telnyx::AI::Assistants::RuleInput]?
|
|
10
10
|
|
|
11
11
|
def rules=: (
|
|
12
|
-
::Array[Telnyx::AI::Assistants::
|
|
13
|
-
) -> ::Array[Telnyx::AI::Assistants::
|
|
12
|
+
::Array[Telnyx::AI::Assistants::RuleInput]
|
|
13
|
+
) -> ::Array[Telnyx::AI::Assistants::RuleInput]
|
|
14
14
|
|
|
15
15
|
def initialize: (
|
|
16
|
-
?rules: ::Array[Telnyx::AI::Assistants::
|
|
16
|
+
?rules: ::Array[Telnyx::AI::Assistants::RuleInput]
|
|
17
17
|
) -> void
|
|
18
18
|
|
|
19
|
-
def to_hash: -> {
|
|
20
|
-
rules: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule]
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type rule =
|
|
24
|
-
{
|
|
25
|
-
serve: Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve,
|
|
26
|
-
match: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
class Rule < Telnyx::Internal::Type::BaseModel
|
|
30
|
-
attr_accessor serve: Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve
|
|
31
|
-
|
|
32
|
-
attr_reader match: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]?
|
|
33
|
-
|
|
34
|
-
def match=: (
|
|
35
|
-
::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]
|
|
36
|
-
) -> ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]
|
|
37
|
-
|
|
38
|
-
def initialize: (
|
|
39
|
-
serve: Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve,
|
|
40
|
-
?match: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]
|
|
41
|
-
) -> void
|
|
42
|
-
|
|
43
|
-
def to_hash: -> {
|
|
44
|
-
serve: Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve,
|
|
45
|
-
match: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Match]
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
type serve =
|
|
49
|
-
{
|
|
50
|
-
rollout: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout],
|
|
51
|
-
version_id: String
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
class Serve < Telnyx::Internal::Type::BaseModel
|
|
55
|
-
attr_reader rollout: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout]?
|
|
56
|
-
|
|
57
|
-
def rollout=: (
|
|
58
|
-
::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout]
|
|
59
|
-
) -> ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout]
|
|
60
|
-
|
|
61
|
-
attr_reader version_id: String?
|
|
62
|
-
|
|
63
|
-
def version_id=: (String) -> String
|
|
64
|
-
|
|
65
|
-
def initialize: (
|
|
66
|
-
?rollout: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout],
|
|
67
|
-
?version_id: String
|
|
68
|
-
) -> void
|
|
69
|
-
|
|
70
|
-
def to_hash: -> {
|
|
71
|
-
rollout: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::Serve::Rollout],
|
|
72
|
-
version_id: String
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
type rollout = { version_id: String, weight: Float }
|
|
76
|
-
|
|
77
|
-
class Rollout < Telnyx::Internal::Type::BaseModel
|
|
78
|
-
attr_accessor version_id: String
|
|
79
|
-
|
|
80
|
-
attr_accessor weight: Float
|
|
81
|
-
|
|
82
|
-
def initialize: (version_id: String, weight: Float) -> void
|
|
83
|
-
|
|
84
|
-
def to_hash: -> { version_id: String, weight: Float }
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
type match =
|
|
89
|
-
{
|
|
90
|
-
attribute: String,
|
|
91
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::operator,
|
|
92
|
-
values: ::Array[String]
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
class Match < Telnyx::Internal::Type::BaseModel
|
|
96
|
-
attr_accessor attribute: String
|
|
97
|
-
|
|
98
|
-
attr_accessor operator: Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::operator
|
|
99
|
-
|
|
100
|
-
attr_accessor values: ::Array[String]
|
|
101
|
-
|
|
102
|
-
def initialize: (
|
|
103
|
-
attribute: String,
|
|
104
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::operator,
|
|
105
|
-
values: ::Array[String]
|
|
106
|
-
) -> void
|
|
107
|
-
|
|
108
|
-
def to_hash: -> {
|
|
109
|
-
attribute: String,
|
|
110
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::operator,
|
|
111
|
-
values: ::Array[String]
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
type operator = :in | :not_in | :starts_with
|
|
115
|
-
|
|
116
|
-
module Operator
|
|
117
|
-
extend Telnyx::Internal::Type::Enum
|
|
118
|
-
|
|
119
|
-
IN: :in
|
|
120
|
-
NOT_IN: :not_in
|
|
121
|
-
STARTS_WITH: :starts_with
|
|
122
|
-
|
|
123
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::operator]
|
|
124
|
-
end
|
|
125
|
-
end
|
|
126
|
-
end
|
|
19
|
+
def to_hash: -> { rules: ::Array[Telnyx::AI::Assistants::RuleInput] }
|
|
127
20
|
end
|
|
128
21
|
end
|
|
129
22
|
end
|
|
@@ -6,7 +6,7 @@ module Telnyx
|
|
|
6
6
|
{
|
|
7
7
|
assistant_id: String,
|
|
8
8
|
created_at: Time,
|
|
9
|
-
rules: ::Array[Telnyx::AI::Assistants::
|
|
9
|
+
rules: ::Array[Telnyx::AI::Assistants::RuleOutput],
|
|
10
10
|
updated_at: Time
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -15,128 +15,23 @@ module Telnyx
|
|
|
15
15
|
|
|
16
16
|
attr_accessor created_at: Time
|
|
17
17
|
|
|
18
|
-
attr_accessor rules: ::Array[Telnyx::AI::Assistants::
|
|
18
|
+
attr_accessor rules: ::Array[Telnyx::AI::Assistants::RuleOutput]
|
|
19
19
|
|
|
20
20
|
attr_accessor updated_at: Time
|
|
21
21
|
|
|
22
22
|
def initialize: (
|
|
23
23
|
assistant_id: String,
|
|
24
24
|
created_at: Time,
|
|
25
|
-
rules: ::Array[Telnyx::AI::Assistants::
|
|
25
|
+
rules: ::Array[Telnyx::AI::Assistants::RuleOutput],
|
|
26
26
|
updated_at: Time
|
|
27
27
|
) -> void
|
|
28
28
|
|
|
29
29
|
def to_hash: -> {
|
|
30
30
|
assistant_id: String,
|
|
31
31
|
created_at: Time,
|
|
32
|
-
rules: ::Array[Telnyx::AI::Assistants::
|
|
32
|
+
rules: ::Array[Telnyx::AI::Assistants::RuleOutput],
|
|
33
33
|
updated_at: Time
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
type rule =
|
|
37
|
-
{
|
|
38
|
-
serve: Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve,
|
|
39
|
-
match: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
class Rule < Telnyx::Internal::Type::BaseModel
|
|
43
|
-
attr_accessor serve: Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve
|
|
44
|
-
|
|
45
|
-
attr_reader match: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]?
|
|
46
|
-
|
|
47
|
-
def match=: (
|
|
48
|
-
::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]
|
|
49
|
-
) -> ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]
|
|
50
|
-
|
|
51
|
-
def initialize: (
|
|
52
|
-
serve: Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve,
|
|
53
|
-
?match: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]
|
|
54
|
-
) -> void
|
|
55
|
-
|
|
56
|
-
def to_hash: -> {
|
|
57
|
-
serve: Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve,
|
|
58
|
-
match: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Match]
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
type serve =
|
|
62
|
-
{
|
|
63
|
-
rollout: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout],
|
|
64
|
-
version_id: String
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
class Serve < Telnyx::Internal::Type::BaseModel
|
|
68
|
-
attr_reader rollout: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout]?
|
|
69
|
-
|
|
70
|
-
def rollout=: (
|
|
71
|
-
::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout]
|
|
72
|
-
) -> ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout]
|
|
73
|
-
|
|
74
|
-
attr_reader version_id: String?
|
|
75
|
-
|
|
76
|
-
def version_id=: (String) -> String
|
|
77
|
-
|
|
78
|
-
def initialize: (
|
|
79
|
-
?rollout: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout],
|
|
80
|
-
?version_id: String
|
|
81
|
-
) -> void
|
|
82
|
-
|
|
83
|
-
def to_hash: -> {
|
|
84
|
-
rollout: ::Array[Telnyx::AI::Assistants::CanaryDeployResponse::Rule::Serve::Rollout],
|
|
85
|
-
version_id: String
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
type rollout = { version_id: String, weight: Float }
|
|
89
|
-
|
|
90
|
-
class Rollout < Telnyx::Internal::Type::BaseModel
|
|
91
|
-
attr_accessor version_id: String
|
|
92
|
-
|
|
93
|
-
attr_accessor weight: Float
|
|
94
|
-
|
|
95
|
-
def initialize: (version_id: String, weight: Float) -> void
|
|
96
|
-
|
|
97
|
-
def to_hash: -> { version_id: String, weight: Float }
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
type match =
|
|
102
|
-
{
|
|
103
|
-
attribute: String,
|
|
104
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeployResponse::Rule::Match::operator,
|
|
105
|
-
values: ::Array[String]
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
class Match < Telnyx::Internal::Type::BaseModel
|
|
109
|
-
attr_accessor attribute: String
|
|
110
|
-
|
|
111
|
-
attr_accessor operator: Telnyx::Models::AI::Assistants::CanaryDeployResponse::Rule::Match::operator
|
|
112
|
-
|
|
113
|
-
attr_accessor values: ::Array[String]
|
|
114
|
-
|
|
115
|
-
def initialize: (
|
|
116
|
-
attribute: String,
|
|
117
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeployResponse::Rule::Match::operator,
|
|
118
|
-
values: ::Array[String]
|
|
119
|
-
) -> void
|
|
120
|
-
|
|
121
|
-
def to_hash: -> {
|
|
122
|
-
attribute: String,
|
|
123
|
-
operator: Telnyx::Models::AI::Assistants::CanaryDeployResponse::Rule::Match::operator,
|
|
124
|
-
values: ::Array[String]
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
type operator = :in | :not_in | :starts_with
|
|
128
|
-
|
|
129
|
-
module Operator
|
|
130
|
-
extend Telnyx::Internal::Type::Enum
|
|
131
|
-
|
|
132
|
-
IN: :in
|
|
133
|
-
NOT_IN: :not_in
|
|
134
|
-
STARTS_WITH: :starts_with
|
|
135
|
-
|
|
136
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::Assistants::CanaryDeployResponse::Rule::Match::operator]
|
|
137
|
-
end
|
|
138
|
-
end
|
|
139
|
-
end
|
|
140
35
|
end
|
|
141
36
|
end
|
|
142
37
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
module Assistants
|
|
5
|
+
type clause =
|
|
6
|
+
{
|
|
7
|
+
attribute: String,
|
|
8
|
+
operator: Telnyx::Models::AI::Assistants::Clause::operator,
|
|
9
|
+
values: ::Array[String]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class Clause < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor attribute: String
|
|
14
|
+
|
|
15
|
+
attr_accessor operator: Telnyx::Models::AI::Assistants::Clause::operator
|
|
16
|
+
|
|
17
|
+
attr_accessor values: ::Array[String]
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
attribute: String,
|
|
21
|
+
operator: Telnyx::Models::AI::Assistants::Clause::operator,
|
|
22
|
+
values: ::Array[String]
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
attribute: String,
|
|
27
|
+
operator: Telnyx::Models::AI::Assistants::Clause::operator,
|
|
28
|
+
values: ::Array[String]
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type operator = :in | :not_in | :starts_with
|
|
32
|
+
|
|
33
|
+
module Operator
|
|
34
|
+
extend Telnyx::Internal::Type::Enum
|
|
35
|
+
|
|
36
|
+
IN: :in
|
|
37
|
+
NOT_IN: :not_in
|
|
38
|
+
STARTS_WITH: :starts_with
|
|
39
|
+
|
|
40
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::Assistants::Clause::operator]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
module Assistants
|
|
5
|
+
type rollout_slot = { version_id: String, weight: Float }
|
|
6
|
+
|
|
7
|
+
class RolloutSlot < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor version_id: String
|
|
9
|
+
|
|
10
|
+
attr_accessor weight: Float
|
|
11
|
+
|
|
12
|
+
def initialize: (version_id: String, weight: Float) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { version_id: String, weight: Float }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
module Assistants
|
|
5
|
+
type rule_input =
|
|
6
|
+
{
|
|
7
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
8
|
+
match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class RuleInput < Telnyx::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor serve: Telnyx::AI::Assistants::Serve
|
|
13
|
+
|
|
14
|
+
attr_reader match: ::Array[Telnyx::AI::Assistants::Clause]?
|
|
15
|
+
|
|
16
|
+
def match=: (
|
|
17
|
+
::Array[Telnyx::AI::Assistants::Clause]
|
|
18
|
+
) -> ::Array[Telnyx::AI::Assistants::Clause]
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
22
|
+
?match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
27
|
+
match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
module Assistants
|
|
5
|
+
type rule_output =
|
|
6
|
+
{
|
|
7
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
8
|
+
match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class RuleOutput < Telnyx::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor serve: Telnyx::AI::Assistants::Serve
|
|
13
|
+
|
|
14
|
+
attr_reader match: ::Array[Telnyx::AI::Assistants::Clause]?
|
|
15
|
+
|
|
16
|
+
def match=: (
|
|
17
|
+
::Array[Telnyx::AI::Assistants::Clause]
|
|
18
|
+
) -> ::Array[Telnyx::AI::Assistants::Clause]
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
22
|
+
?match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
serve: Telnyx::AI::Assistants::Serve,
|
|
27
|
+
match: ::Array[Telnyx::AI::Assistants::Clause]
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module AI
|
|
4
|
+
module Assistants
|
|
5
|
+
type serve =
|
|
6
|
+
{
|
|
7
|
+
rollout: ::Array[Telnyx::AI::Assistants::RolloutSlot],
|
|
8
|
+
version_id: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class Serve < Telnyx::Internal::Type::BaseModel
|
|
12
|
+
attr_reader rollout: ::Array[Telnyx::AI::Assistants::RolloutSlot]?
|
|
13
|
+
|
|
14
|
+
def rollout=: (
|
|
15
|
+
::Array[Telnyx::AI::Assistants::RolloutSlot]
|
|
16
|
+
) -> ::Array[Telnyx::AI::Assistants::RolloutSlot]
|
|
17
|
+
|
|
18
|
+
attr_reader version_id: String?
|
|
19
|
+
|
|
20
|
+
def version_id=: (String) -> String
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
?rollout: ::Array[Telnyx::AI::Assistants::RolloutSlot],
|
|
24
|
+
?version_id: String
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
rollout: ::Array[Telnyx::AI::Assistants::RolloutSlot],
|
|
29
|
+
version_id: String
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|