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
data/rbi/telnyx/models.rbi
CHANGED
|
@@ -1060,8 +1060,6 @@ module Telnyx
|
|
|
1060
1060
|
MobileVoiceConnectionUpdateParams =
|
|
1061
1061
|
Telnyx::Models::MobileVoiceConnectionUpdateParams
|
|
1062
1062
|
|
|
1063
|
-
ModelMetadata = Telnyx::Models::ModelMetadata
|
|
1064
|
-
|
|
1065
1063
|
MonthDetail = Telnyx::Models::MonthDetail
|
|
1066
1064
|
|
|
1067
1065
|
NetappsLocation = Telnyx::Models::NetappsLocation
|
|
@@ -1800,8 +1798,6 @@ module Telnyx
|
|
|
1800
1798
|
|
|
1801
1799
|
TransportProtocol = Telnyx::Models::TransportProtocol
|
|
1802
1800
|
|
|
1803
|
-
UacConnection = Telnyx::Models::UacConnection
|
|
1804
|
-
|
|
1805
1801
|
UacConnectionCreateParams = Telnyx::Models::UacConnectionCreateParams
|
|
1806
1802
|
|
|
1807
1803
|
UacConnectionDeleteParams = Telnyx::Models::UacConnectionDeleteParams
|
|
@@ -1814,14 +1810,6 @@ module Telnyx
|
|
|
1814
1810
|
|
|
1815
1811
|
UacConnectionUpdateParams = Telnyx::Models::UacConnectionUpdateParams
|
|
1816
1812
|
|
|
1817
|
-
UacExternalSettings = Telnyx::Models::UacExternalSettings
|
|
1818
|
-
|
|
1819
|
-
UacInbound = Telnyx::Models::UacInbound
|
|
1820
|
-
|
|
1821
|
-
UacInternalSettings = Telnyx::Models::UacInternalSettings
|
|
1822
|
-
|
|
1823
|
-
UacOutbound = Telnyx::Models::UacOutbound
|
|
1824
|
-
|
|
1825
1813
|
UnsafeUnwrapWebhookEvent = Telnyx::Models::UnsafeUnwrapWebhookEvent
|
|
1826
1814
|
|
|
1827
1815
|
UnwrapWebhookEvent = Telnyx::Models::UnwrapWebhookEvent
|
|
@@ -2053,6 +2041,4 @@ module Telnyx
|
|
|
2053
2041
|
WirelessRetrieveRegionsParams = Telnyx::Models::WirelessRetrieveRegionsParams
|
|
2054
2042
|
|
|
2055
2043
|
X402 = Telnyx::Models::X402
|
|
2056
|
-
|
|
2057
|
-
XaiVoiceSettings = Telnyx::Models::XaiVoiceSettings
|
|
2058
2044
|
end
|
|
@@ -13,7 +13,8 @@ module Telnyx
|
|
|
13
13
|
sig do
|
|
14
14
|
params(
|
|
15
15
|
assistant_id: String,
|
|
16
|
-
rules:
|
|
16
|
+
rules:
|
|
17
|
+
T::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::OrHash],
|
|
17
18
|
request_options: Telnyx::RequestOptions::OrHash
|
|
18
19
|
).returns(Telnyx::AI::Assistants::CanaryDeployResponse)
|
|
19
20
|
end
|
|
@@ -41,7 +42,8 @@ module Telnyx
|
|
|
41
42
|
sig do
|
|
42
43
|
params(
|
|
43
44
|
assistant_id: String,
|
|
44
|
-
rules:
|
|
45
|
+
rules:
|
|
46
|
+
T::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule::OrHash],
|
|
45
47
|
request_options: Telnyx::RequestOptions::OrHash
|
|
46
48
|
).returns(Telnyx::AI::Assistants::CanaryDeployResponse)
|
|
47
49
|
end
|
|
@@ -21,6 +21,8 @@ module Telnyx
|
|
|
21
21
|
Telnyx::AI::Assistants::ScheduledEventCreateParams::ConversationMetadata::Variants
|
|
22
22
|
],
|
|
23
23
|
dynamic_variables: T::Hash[Symbol, String],
|
|
24
|
+
max_retries_client_errors: Integer,
|
|
25
|
+
retry_interval_secs: Integer,
|
|
24
26
|
text: String,
|
|
25
27
|
request_options: Telnyx::RequestOptions::OrHash
|
|
26
28
|
).returns(Telnyx::AI::Assistants::ScheduledEventResponse::Variants)
|
|
@@ -40,6 +42,10 @@ module Telnyx
|
|
|
40
42
|
# A map of dynamic variable names to values. These variables can be referenced in
|
|
41
43
|
# the assistant's instructions and messages using {{variable_name}} syntax.
|
|
42
44
|
dynamic_variables: nil,
|
|
45
|
+
# Configure number of retries on client errors: busy, no-answer, failed, canceled
|
|
46
|
+
# (caller hung up before the callee answered)
|
|
47
|
+
max_retries_client_errors: nil,
|
|
48
|
+
retry_interval_secs: nil,
|
|
43
49
|
# Required for sms scheduled events. The text to be sent to the end user.
|
|
44
50
|
text: nil,
|
|
45
51
|
request_options: {}
|
|
@@ -42,11 +42,17 @@ module Telnyx
|
|
|
42
42
|
greeting: String,
|
|
43
43
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
44
44
|
instructions: String,
|
|
45
|
-
integrations:
|
|
45
|
+
integrations:
|
|
46
|
+
T::Array[
|
|
47
|
+
Telnyx::AI::Assistants::UpdateAssistant::Integration::OrHash
|
|
48
|
+
],
|
|
46
49
|
interruption_settings:
|
|
47
|
-
Telnyx::AI::
|
|
50
|
+
Telnyx::AI::Assistants::UpdateAssistant::InterruptionSettings::OrHash,
|
|
48
51
|
llm_api_key_ref: String,
|
|
49
|
-
mcp_servers:
|
|
52
|
+
mcp_servers:
|
|
53
|
+
T::Array[
|
|
54
|
+
Telnyx::AI::Assistants::UpdateAssistant::McpServer::OrHash
|
|
55
|
+
],
|
|
50
56
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
51
57
|
model: String,
|
|
52
58
|
name: String,
|
|
@@ -43,11 +43,13 @@ module Telnyx
|
|
|
43
43
|
fallback_config: Telnyx::AI::FallbackConfigReq::OrHash,
|
|
44
44
|
greeting: String,
|
|
45
45
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
46
|
-
integrations:
|
|
46
|
+
integrations:
|
|
47
|
+
T::Array[Telnyx::AI::AssistantCreateParams::Integration::OrHash],
|
|
47
48
|
interruption_settings:
|
|
48
|
-
Telnyx::AI::
|
|
49
|
+
Telnyx::AI::AssistantCreateParams::InterruptionSettings::OrHash,
|
|
49
50
|
llm_api_key_ref: String,
|
|
50
|
-
mcp_servers:
|
|
51
|
+
mcp_servers:
|
|
52
|
+
T::Array[Telnyx::AI::AssistantCreateParams::McpServer::OrHash],
|
|
51
53
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
52
54
|
model: String,
|
|
53
55
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
@@ -203,11 +205,13 @@ module Telnyx
|
|
|
203
205
|
greeting: String,
|
|
204
206
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
205
207
|
instructions: String,
|
|
206
|
-
integrations:
|
|
208
|
+
integrations:
|
|
209
|
+
T::Array[Telnyx::AI::AssistantUpdateParams::Integration::OrHash],
|
|
207
210
|
interruption_settings:
|
|
208
|
-
Telnyx::AI::
|
|
211
|
+
Telnyx::AI::AssistantUpdateParams::InterruptionSettings::OrHash,
|
|
209
212
|
llm_api_key_ref: String,
|
|
210
|
-
mcp_servers:
|
|
213
|
+
mcp_servers:
|
|
214
|
+
T::Array[Telnyx::AI::AssistantUpdateParams::McpServer::OrHash],
|
|
211
215
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
212
216
|
model: String,
|
|
213
217
|
name: String,
|
|
@@ -451,7 +451,7 @@ module Telnyx
|
|
|
451
451
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
452
452
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
453
453
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
454
|
-
Telnyx::
|
|
454
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai::OrHash
|
|
455
455
|
),
|
|
456
456
|
request_options: Telnyx::RequestOptions::OrHash
|
|
457
457
|
).returns(Telnyx::Models::Calls::ActionGatherUsingAIResponse)
|
|
@@ -662,7 +662,7 @@ module Telnyx
|
|
|
662
662
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
663
663
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
664
664
|
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
665
|
-
Telnyx::
|
|
665
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
666
666
|
),
|
|
667
667
|
request_options: Telnyx::RequestOptions::OrHash
|
|
668
668
|
).returns(Telnyx::Models::Calls::ActionGatherUsingSpeakResponse)
|
|
@@ -1075,7 +1075,7 @@ module Telnyx
|
|
|
1075
1075
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
1076
1076
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
1077
1077
|
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
1078
|
-
Telnyx::
|
|
1078
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
1079
1079
|
),
|
|
1080
1080
|
request_options: Telnyx::RequestOptions::OrHash
|
|
1081
1081
|
).returns(Telnyx::Models::Calls::ActionSpeakResponse)
|
|
@@ -1200,7 +1200,7 @@ module Telnyx
|
|
|
1200
1200
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
1201
1201
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
1202
1202
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
1203
|
-
Telnyx::
|
|
1203
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
1204
1204
|
),
|
|
1205
1205
|
request_options: Telnyx::RequestOptions::OrHash
|
|
1206
1206
|
).returns(Telnyx::Models::Calls::ActionStartAIAssistantResponse)
|
|
@@ -1662,8 +1662,8 @@ module Telnyx
|
|
|
1662
1662
|
Telnyx::Calls::TranscriptionEngineGoogleConfig::OrHash,
|
|
1663
1663
|
Telnyx::Calls::TranscriptionEngineTelnyxConfig::OrHash,
|
|
1664
1664
|
Telnyx::Calls::TranscriptionEngineAzureConfig::OrHash,
|
|
1665
|
-
Telnyx::Calls::
|
|
1666
|
-
Telnyx::Calls::
|
|
1665
|
+
Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI::OrHash,
|
|
1666
|
+
Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI::OrHash,
|
|
1667
1667
|
Telnyx::Calls::TranscriptionEngineAConfig::OrHash,
|
|
1668
1668
|
Telnyx::Calls::TranscriptionEngineBConfig::OrHash,
|
|
1669
1669
|
Telnyx::Calls::DeepgramNova2Config::OrHash,
|
|
@@ -535,7 +535,7 @@ module Telnyx
|
|
|
535
535
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
536
536
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
537
537
|
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
538
|
-
Telnyx::
|
|
538
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
539
539
|
),
|
|
540
540
|
request_options: Telnyx::RequestOptions::OrHash
|
|
541
541
|
).returns(Telnyx::Models::Conferences::ActionSpeakResponse)
|
|
@@ -23,9 +23,11 @@ module Telnyx
|
|
|
23
23
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
24
24
|
encode_contact_header_enabled: T::Boolean,
|
|
25
25
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
26
|
-
external_uac_settings:
|
|
26
|
+
external_uac_settings:
|
|
27
|
+
Telnyx::UacConnectionCreateParams::ExternalUacSettings::OrHash,
|
|
27
28
|
inbound: Telnyx::UacConnectionCreateParams::Inbound::OrHash,
|
|
28
|
-
internal_uac_settings:
|
|
29
|
+
internal_uac_settings:
|
|
30
|
+
Telnyx::UacConnectionCreateParams::InternalUacSettings::OrHash,
|
|
29
31
|
ios_push_credential_id: T.nilable(String),
|
|
30
32
|
jitter_buffer: Telnyx::ConnectionJitterBuffer::OrHash,
|
|
31
33
|
noise_suppression:
|
|
@@ -33,7 +35,7 @@ module Telnyx
|
|
|
33
35
|
noise_suppression_details:
|
|
34
36
|
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
35
37
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
36
|
-
outbound: Telnyx::
|
|
38
|
+
outbound: Telnyx::UacConnectionCreateParams::Outbound::OrHash,
|
|
37
39
|
password: String,
|
|
38
40
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
39
41
|
sip_uri_calling_preference:
|
|
@@ -164,9 +166,11 @@ module Telnyx
|
|
|
164
166
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
165
167
|
encode_contact_header_enabled: T::Boolean,
|
|
166
168
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
167
|
-
external_uac_settings:
|
|
169
|
+
external_uac_settings:
|
|
170
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::OrHash,
|
|
168
171
|
inbound: Telnyx::UacConnectionUpdateParams::Inbound::OrHash,
|
|
169
|
-
internal_uac_settings:
|
|
172
|
+
internal_uac_settings:
|
|
173
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings::OrHash,
|
|
170
174
|
ios_push_credential_id: T.nilable(String),
|
|
171
175
|
jitter_buffer: Telnyx::ConnectionJitterBuffer::OrHash,
|
|
172
176
|
noise_suppression:
|
|
@@ -174,7 +178,7 @@ module Telnyx
|
|
|
174
178
|
noise_suppression_details:
|
|
175
179
|
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
176
180
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
177
|
-
outbound: Telnyx::
|
|
181
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound::OrHash,
|
|
178
182
|
password: String,
|
|
179
183
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
180
184
|
sip_uri_calling_preference:
|
|
@@ -290,7 +294,9 @@ module Telnyx
|
|
|
290
294
|
sort: Telnyx::UacConnectionListParams::Sort::OrSymbol,
|
|
291
295
|
request_options: Telnyx::RequestOptions::OrHash
|
|
292
296
|
).returns(
|
|
293
|
-
Telnyx::Internal::DefaultFlatPagination[
|
|
297
|
+
Telnyx::Internal::DefaultFlatPagination[
|
|
298
|
+
Telnyx::Models::UacConnectionListResponse
|
|
299
|
+
]
|
|
294
300
|
)
|
|
295
301
|
end
|
|
296
302
|
def list(
|
|
@@ -14,10 +14,10 @@ module Telnyx
|
|
|
14
14
|
fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
15
15
|
greeting: String,
|
|
16
16
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
17
|
-
integrations: ::Array[Telnyx::AI::
|
|
18
|
-
interruption_settings: Telnyx::AI::
|
|
17
|
+
integrations: ::Array[Telnyx::AI::AssistantCreateParams::Integration],
|
|
18
|
+
interruption_settings: Telnyx::AI::AssistantCreateParams::InterruptionSettings,
|
|
19
19
|
llm_api_key_ref: String,
|
|
20
|
-
mcp_servers: ::Array[Telnyx::AI::
|
|
20
|
+
mcp_servers: ::Array[Telnyx::AI::AssistantCreateParams::McpServer],
|
|
21
21
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
22
22
|
model: String,
|
|
23
23
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
@@ -85,27 +85,27 @@ module Telnyx
|
|
|
85
85
|
Telnyx::AI::InsightSettings
|
|
86
86
|
) -> Telnyx::AI::InsightSettings
|
|
87
87
|
|
|
88
|
-
attr_reader integrations: ::Array[Telnyx::AI::
|
|
88
|
+
attr_reader integrations: ::Array[Telnyx::AI::AssistantCreateParams::Integration]?
|
|
89
89
|
|
|
90
90
|
def integrations=: (
|
|
91
|
-
::Array[Telnyx::AI::
|
|
92
|
-
) -> ::Array[Telnyx::AI::
|
|
91
|
+
::Array[Telnyx::AI::AssistantCreateParams::Integration]
|
|
92
|
+
) -> ::Array[Telnyx::AI::AssistantCreateParams::Integration]
|
|
93
93
|
|
|
94
|
-
attr_reader interruption_settings: Telnyx::AI::
|
|
94
|
+
attr_reader interruption_settings: Telnyx::AI::AssistantCreateParams::InterruptionSettings?
|
|
95
95
|
|
|
96
96
|
def interruption_settings=: (
|
|
97
|
-
Telnyx::AI::
|
|
98
|
-
) -> Telnyx::AI::
|
|
97
|
+
Telnyx::AI::AssistantCreateParams::InterruptionSettings
|
|
98
|
+
) -> Telnyx::AI::AssistantCreateParams::InterruptionSettings
|
|
99
99
|
|
|
100
100
|
attr_reader llm_api_key_ref: String?
|
|
101
101
|
|
|
102
102
|
def llm_api_key_ref=: (String) -> String
|
|
103
103
|
|
|
104
|
-
attr_reader mcp_servers: ::Array[Telnyx::AI::
|
|
104
|
+
attr_reader mcp_servers: ::Array[Telnyx::AI::AssistantCreateParams::McpServer]?
|
|
105
105
|
|
|
106
106
|
def mcp_servers=: (
|
|
107
|
-
::Array[Telnyx::AI::
|
|
108
|
-
) -> ::Array[Telnyx::AI::
|
|
107
|
+
::Array[Telnyx::AI::AssistantCreateParams::McpServer]
|
|
108
|
+
) -> ::Array[Telnyx::AI::AssistantCreateParams::McpServer]
|
|
109
109
|
|
|
110
110
|
attr_reader messaging_settings: Telnyx::AI::MessagingSettings?
|
|
111
111
|
|
|
@@ -185,10 +185,10 @@ module Telnyx
|
|
|
185
185
|
?fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
186
186
|
?greeting: String,
|
|
187
187
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
188
|
-
?integrations: ::Array[Telnyx::AI::
|
|
189
|
-
?interruption_settings: Telnyx::AI::
|
|
188
|
+
?integrations: ::Array[Telnyx::AI::AssistantCreateParams::Integration],
|
|
189
|
+
?interruption_settings: Telnyx::AI::AssistantCreateParams::InterruptionSettings,
|
|
190
190
|
?llm_api_key_ref: String,
|
|
191
|
-
?mcp_servers: ::Array[Telnyx::AI::
|
|
191
|
+
?mcp_servers: ::Array[Telnyx::AI::AssistantCreateParams::McpServer],
|
|
192
192
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
193
193
|
?model: String,
|
|
194
194
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
@@ -216,10 +216,10 @@ module Telnyx
|
|
|
216
216
|
fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
217
217
|
greeting: String,
|
|
218
218
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
219
|
-
integrations: ::Array[Telnyx::AI::
|
|
220
|
-
interruption_settings: Telnyx::AI::
|
|
219
|
+
integrations: ::Array[Telnyx::AI::AssistantCreateParams::Integration],
|
|
220
|
+
interruption_settings: Telnyx::AI::AssistantCreateParams::InterruptionSettings,
|
|
221
221
|
llm_api_key_ref: String,
|
|
222
|
-
mcp_servers: ::Array[Telnyx::AI::
|
|
222
|
+
mcp_servers: ::Array[Telnyx::AI::AssistantCreateParams::McpServer],
|
|
223
223
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
224
224
|
model: String,
|
|
225
225
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
@@ -234,6 +234,130 @@ module Telnyx
|
|
|
234
234
|
widget_settings: Telnyx::AI::WidgetSettings,
|
|
235
235
|
request_options: Telnyx::RequestOptions
|
|
236
236
|
}
|
|
237
|
+
|
|
238
|
+
type integration =
|
|
239
|
+
{ integration_id: String, allowed_list: ::Array[String] }
|
|
240
|
+
|
|
241
|
+
class Integration < Telnyx::Internal::Type::BaseModel
|
|
242
|
+
attr_accessor integration_id: String
|
|
243
|
+
|
|
244
|
+
attr_reader allowed_list: ::Array[String]?
|
|
245
|
+
|
|
246
|
+
def allowed_list=: (::Array[String]) -> ::Array[String]
|
|
247
|
+
|
|
248
|
+
def initialize: (
|
|
249
|
+
integration_id: String,
|
|
250
|
+
?allowed_list: ::Array[String]
|
|
251
|
+
) -> void
|
|
252
|
+
|
|
253
|
+
def to_hash: -> {
|
|
254
|
+
integration_id: String,
|
|
255
|
+
allowed_list: ::Array[String]
|
|
256
|
+
}
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
type interruption_settings =
|
|
260
|
+
{
|
|
261
|
+
enable: bool,
|
|
262
|
+
start_speaking_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
class InterruptionSettings < Telnyx::Internal::Type::BaseModel
|
|
266
|
+
attr_reader enable: bool?
|
|
267
|
+
|
|
268
|
+
def enable=: (bool) -> bool
|
|
269
|
+
|
|
270
|
+
attr_reader start_speaking_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan?
|
|
271
|
+
|
|
272
|
+
def start_speaking_plan=: (
|
|
273
|
+
Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan
|
|
274
|
+
) -> Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan
|
|
275
|
+
|
|
276
|
+
def initialize: (
|
|
277
|
+
?enable: bool,
|
|
278
|
+
?start_speaking_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan
|
|
279
|
+
) -> void
|
|
280
|
+
|
|
281
|
+
def to_hash: -> {
|
|
282
|
+
enable: bool,
|
|
283
|
+
start_speaking_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
type start_speaking_plan =
|
|
287
|
+
{
|
|
288
|
+
transcription_endpointing_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
289
|
+
wait_seconds: Float
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
class StartSpeakingPlan < Telnyx::Internal::Type::BaseModel
|
|
293
|
+
attr_reader transcription_endpointing_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan?
|
|
294
|
+
|
|
295
|
+
def transcription_endpointing_plan=: (
|
|
296
|
+
Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
297
|
+
) -> Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
298
|
+
|
|
299
|
+
attr_reader wait_seconds: Float?
|
|
300
|
+
|
|
301
|
+
def wait_seconds=: (Float) -> Float
|
|
302
|
+
|
|
303
|
+
def initialize: (
|
|
304
|
+
?transcription_endpointing_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
305
|
+
?wait_seconds: Float
|
|
306
|
+
) -> void
|
|
307
|
+
|
|
308
|
+
def to_hash: -> {
|
|
309
|
+
transcription_endpointing_plan: Telnyx::AI::AssistantCreateParams::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
310
|
+
wait_seconds: Float
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
type transcription_endpointing_plan =
|
|
314
|
+
{
|
|
315
|
+
on_no_punctuation_seconds: Float,
|
|
316
|
+
on_number_seconds: Float,
|
|
317
|
+
on_punctuation_seconds: Float
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
class TranscriptionEndpointingPlan < Telnyx::Internal::Type::BaseModel
|
|
321
|
+
attr_reader on_no_punctuation_seconds: Float?
|
|
322
|
+
|
|
323
|
+
def on_no_punctuation_seconds=: (Float) -> Float
|
|
324
|
+
|
|
325
|
+
attr_reader on_number_seconds: Float?
|
|
326
|
+
|
|
327
|
+
def on_number_seconds=: (Float) -> Float
|
|
328
|
+
|
|
329
|
+
attr_reader on_punctuation_seconds: Float?
|
|
330
|
+
|
|
331
|
+
def on_punctuation_seconds=: (Float) -> Float
|
|
332
|
+
|
|
333
|
+
def initialize: (
|
|
334
|
+
?on_no_punctuation_seconds: Float,
|
|
335
|
+
?on_number_seconds: Float,
|
|
336
|
+
?on_punctuation_seconds: Float
|
|
337
|
+
) -> void
|
|
338
|
+
|
|
339
|
+
def to_hash: -> {
|
|
340
|
+
on_no_punctuation_seconds: Float,
|
|
341
|
+
on_number_seconds: Float,
|
|
342
|
+
on_punctuation_seconds: Float
|
|
343
|
+
}
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
type mcp_server = { id: String, allowed_tools: ::Array[String] }
|
|
349
|
+
|
|
350
|
+
class McpServer < Telnyx::Internal::Type::BaseModel
|
|
351
|
+
attr_accessor id: String
|
|
352
|
+
|
|
353
|
+
attr_reader allowed_tools: ::Array[String]?
|
|
354
|
+
|
|
355
|
+
def allowed_tools=: (::Array[String]) -> ::Array[String]
|
|
356
|
+
|
|
357
|
+
def initialize: (id: String, ?allowed_tools: ::Array[String]) -> void
|
|
358
|
+
|
|
359
|
+
def to_hash: -> { id: String, allowed_tools: ::Array[String] }
|
|
360
|
+
end
|
|
237
361
|
end
|
|
238
362
|
end
|
|
239
363
|
end
|
|
@@ -160,15 +160,15 @@ module Telnyx
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
type targets =
|
|
163
|
-
::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::Targets::
|
|
163
|
+
::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::Targets::UnionMember0]
|
|
164
164
|
| String
|
|
165
165
|
|
|
166
166
|
module Targets
|
|
167
167
|
extend Telnyx::Internal::Type::Union
|
|
168
168
|
|
|
169
|
-
type
|
|
169
|
+
type union_member0 = { to: String, name: String }
|
|
170
170
|
|
|
171
|
-
class
|
|
171
|
+
class UnionMember0 < Telnyx::Internal::Type::BaseModel
|
|
172
172
|
attr_accessor to: String
|
|
173
173
|
|
|
174
174
|
attr_reader name: String?
|
|
@@ -182,7 +182,7 @@ module Telnyx
|
|
|
182
182
|
|
|
183
183
|
def self?.variants: -> ::Array[Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets]
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
UnionMember0Array: Telnyx::Internal::Type::Converter
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
type custom_header = { name: String, value: String }
|
|
@@ -496,15 +496,15 @@ module Telnyx
|
|
|
496
496
|
end
|
|
497
497
|
|
|
498
498
|
type targets =
|
|
499
|
-
::Array[Telnyx::AI::AssistantTool::Invite::Invite::Targets::
|
|
499
|
+
::Array[Telnyx::AI::AssistantTool::Invite::Invite::Targets::UnionMember0]
|
|
500
500
|
| String
|
|
501
501
|
|
|
502
502
|
module Targets
|
|
503
503
|
extend Telnyx::Internal::Type::Union
|
|
504
504
|
|
|
505
|
-
type
|
|
505
|
+
type union_member0 = { to: String, name: String }
|
|
506
506
|
|
|
507
|
-
class
|
|
507
|
+
class UnionMember0 < Telnyx::Internal::Type::BaseModel
|
|
508
508
|
attr_accessor to: String
|
|
509
509
|
|
|
510
510
|
attr_reader name: String?
|
|
@@ -518,7 +518,7 @@ module Telnyx
|
|
|
518
518
|
|
|
519
519
|
def self?.variants: -> ::Array[Telnyx::Models::AI::AssistantTool::Invite::Invite::targets]
|
|
520
520
|
|
|
521
|
-
|
|
521
|
+
UnionMember0Array: Telnyx::Internal::Type::Converter
|
|
522
522
|
end
|
|
523
523
|
|
|
524
524
|
type voicemail_detection =
|