telnyx 5.111.0 → 5.112.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 +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +178 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +178 -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/update_assistant.rb +179 -9
- data/lib/telnyx/models/ai/inference_embedding.rb +177 -9
- data/lib/telnyx/models/ai/openai_list_models_response.rb +210 -3
- data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
- data/lib/telnyx/models/ai_retrieve_models_response.rb +210 -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/action_start_conversation_relay_params.rb +491 -0
- data/lib/telnyx/models/calls/action_start_conversation_relay_response.rb +37 -0
- data/lib/telnyx/models/calls/action_stop_conversation_relay_params.rb +44 -0
- data/lib/telnyx/models/calls/action_stop_conversation_relay_response.rb +18 -0
- 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/network_list_interfaces_response.rb +2 -112
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +8 -3
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +8 -3
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +10 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +8 -3
- 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/virtual_cross_connect_create_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +10 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_create_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_list_response.rb +10 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +8 -3
- data/lib/telnyx/models.rb +0 -20
- 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 +101 -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 +8 -22
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +352 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +352 -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/update_assistant.rbi +366 -12
- data/rbi/telnyx/models/ai/inference_embedding.rbi +351 -12
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +315 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +310 -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/action_start_conversation_relay_params.rbi +1075 -0
- data/rbi/telnyx/models/calls/action_start_conversation_relay_response.rbi +95 -0
- data/rbi/telnyx/models/calls/action_stop_conversation_relay_params.rbi +72 -0
- data/rbi/telnyx/models/calls/action_stop_conversation_relay_response.rbi +39 -0
- 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/network_list_interfaces_response.rbi +4 -181
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +38 -6
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +38 -6
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +23 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +38 -6
- 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/virtual_cross_connect_create_response.rbi +36 -6
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +36 -6
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +23 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +38 -6
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +23 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +36 -6
- data/rbi/telnyx/models.rbi +0 -20
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
- 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 +152 -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 +13 -7
- 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 +149 -18
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +149 -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/update_assistant.rbs +152 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +149 -18
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +149 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +149 -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/action_start_conversation_relay_params.rbs +416 -0
- data/sig/telnyx/models/calls/action_start_conversation_relay_response.rbs +45 -0
- data/sig/telnyx/models/calls/action_stop_conversation_relay_params.rbs +38 -0
- data/sig/telnyx/models/calls/action_stop_conversation_relay_response.rbs +20 -0
- 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/network_list_interfaces_response.rbs +4 -106
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +18 -6
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +18 -6
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +11 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +18 -6
- 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/virtual_cross_connect_create_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +11 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +11 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +18 -6
- data/sig/telnyx/models.rbs +0 -20
- 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/calls/actions.rbs +29 -0
- 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 +26 -68
- 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 -47
- 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 -212
- data/lib/telnyx/models/public_internet_gateway_read.rb +0 -83
- 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/virtual_cross_connect_combined.rb +0 -212
- data/lib/telnyx/models/wireguard_interface_read.rb +0 -136
- 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 -83
- 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 -272
- data/rbi/telnyx/models/public_internet_gateway_read.rbi +0 -128
- 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/virtual_cross_connect_combined.rbi +0 -345
- data/rbi/telnyx/models/wireguard_interface_read.rbi +0 -213
- 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 -40
- 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 -142
- data/sig/telnyx/models/public_internet_gateway_read.rbs +0 -80
- 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/virtual_cross_connect_combined.rbs +0 -190
- data/sig/telnyx/models/wireguard_interface_read.rbs +0 -127
- data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectCreateResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCreateResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::VirtualCrossConnectDeleteResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectUpdateResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::VirtualCrossConnectUpdateResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectUpdateResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::VirtualCrossConnectUpdateResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceCreateResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::WireguardInterfaceCreateResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceCreateResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::WireguardInterfaceCreateResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceDeleteResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::WireguardInterfaceDeleteResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceDeleteResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::WireguardInterfaceDeleteResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
|
@@ -6,11 +6,16 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::WireguardInterfaceRetrieveResponse::Data }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
18
|
+
end
|
|
14
19
|
end
|
|
15
20
|
end
|
|
16
21
|
end
|
data/lib/telnyx/models.rb
CHANGED
|
@@ -966,8 +966,6 @@ module Telnyx
|
|
|
966
966
|
|
|
967
967
|
MobileVoiceConnectionUpdateParams = Telnyx::Models::MobileVoiceConnectionUpdateParams
|
|
968
968
|
|
|
969
|
-
ModelMetadata = Telnyx::Models::ModelMetadata
|
|
970
|
-
|
|
971
969
|
MonthDetail = Telnyx::Models::MonthDetail
|
|
972
970
|
|
|
973
971
|
NetappsLocation = Telnyx::Models::NetappsLocation
|
|
@@ -1289,8 +1287,6 @@ module Telnyx
|
|
|
1289
1287
|
|
|
1290
1288
|
PublicInternetGatewayListParams = Telnyx::Models::PublicInternetGatewayListParams
|
|
1291
1289
|
|
|
1292
|
-
PublicInternetGatewayRead = Telnyx::Models::PublicInternetGatewayRead
|
|
1293
|
-
|
|
1294
1290
|
PublicInternetGatewayRetrieveParams = Telnyx::Models::PublicInternetGatewayRetrieveParams
|
|
1295
1291
|
|
|
1296
1292
|
PushCredential = Telnyx::Models::PushCredential
|
|
@@ -1632,8 +1628,6 @@ module Telnyx
|
|
|
1632
1628
|
|
|
1633
1629
|
TransportProtocol = Telnyx::Models::TransportProtocol
|
|
1634
1630
|
|
|
1635
|
-
UacConnection = Telnyx::Models::UacConnection
|
|
1636
|
-
|
|
1637
1631
|
UacConnectionCreateParams = Telnyx::Models::UacConnectionCreateParams
|
|
1638
1632
|
|
|
1639
1633
|
UacConnectionDeleteParams = Telnyx::Models::UacConnectionDeleteParams
|
|
@@ -1646,14 +1640,6 @@ module Telnyx
|
|
|
1646
1640
|
|
|
1647
1641
|
UacConnectionUpdateParams = Telnyx::Models::UacConnectionUpdateParams
|
|
1648
1642
|
|
|
1649
|
-
UacExternalSettings = Telnyx::Models::UacExternalSettings
|
|
1650
|
-
|
|
1651
|
-
UacInbound = Telnyx::Models::UacInbound
|
|
1652
|
-
|
|
1653
|
-
UacInternalSettings = Telnyx::Models::UacInternalSettings
|
|
1654
|
-
|
|
1655
|
-
UacOutbound = Telnyx::Models::UacOutbound
|
|
1656
|
-
|
|
1657
1643
|
UnsafeUnwrapWebhookEvent = Telnyx::Models::UnsafeUnwrapWebhookEvent
|
|
1658
1644
|
|
|
1659
1645
|
UnwrapWebhookEvent = Telnyx::Models::UnwrapWebhookEvent
|
|
@@ -1733,8 +1719,6 @@ module Telnyx
|
|
|
1733
1719
|
|
|
1734
1720
|
VideoRegion = Telnyx::Models::VideoRegion
|
|
1735
1721
|
|
|
1736
|
-
VirtualCrossConnectCombined = Telnyx::Models::VirtualCrossConnectCombined
|
|
1737
|
-
|
|
1738
1722
|
VirtualCrossConnectCreateParams = Telnyx::Models::VirtualCrossConnectCreateParams
|
|
1739
1723
|
|
|
1740
1724
|
VirtualCrossConnectDeleteParams = Telnyx::Models::VirtualCrossConnectDeleteParams
|
|
@@ -1821,8 +1805,6 @@ module Telnyx
|
|
|
1821
1805
|
|
|
1822
1806
|
WireguardInterfaceListParams = Telnyx::Models::WireguardInterfaceListParams
|
|
1823
1807
|
|
|
1824
|
-
WireguardInterfaceRead = Telnyx::Models::WireguardInterfaceRead
|
|
1825
|
-
|
|
1826
1808
|
WireguardInterfaceRetrieveParams = Telnyx::Models::WireguardInterfaceRetrieveParams
|
|
1827
1809
|
|
|
1828
1810
|
WireguardPeerCreateParams = Telnyx::Models::WireguardPeerCreateParams
|
|
@@ -1860,6 +1842,4 @@ module Telnyx
|
|
|
1860
1842
|
WirelessRetrieveRegionsParams = Telnyx::Models::WirelessRetrieveRegionsParams
|
|
1861
1843
|
|
|
1862
1844
|
X402 = Telnyx::Models::X402
|
|
1863
|
-
|
|
1864
|
-
XaiVoiceSettings = Telnyx::Models::XaiVoiceSettings
|
|
1865
1845
|
end
|
|
@@ -14,7 +14,7 @@ module Telnyx
|
|
|
14
14
|
# @overload create(assistant_id, rules: nil, request_options: {})
|
|
15
15
|
#
|
|
16
16
|
# @param assistant_id [String]
|
|
17
|
-
# @param rules [Array<Telnyx::Models::AI::Assistants::
|
|
17
|
+
# @param rules [Array<Telnyx::Models::AI::Assistants::CanaryDeploy::Rule>]
|
|
18
18
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
19
19
|
#
|
|
20
20
|
# @return [Telnyx::Models::AI::Assistants::CanaryDeployResponse]
|
|
@@ -62,7 +62,7 @@ module Telnyx
|
|
|
62
62
|
# @overload update(assistant_id, rules: nil, request_options: {})
|
|
63
63
|
#
|
|
64
64
|
# @param assistant_id [String]
|
|
65
|
-
# @param rules [Array<Telnyx::Models::AI::Assistants::
|
|
65
|
+
# @param rules [Array<Telnyx::Models::AI::Assistants::CanaryDeploy::Rule>]
|
|
66
66
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
67
|
#
|
|
68
68
|
# @return [Telnyx::Models::AI::Assistants::CanaryDeployResponse]
|
|
@@ -69,13 +69,13 @@ module Telnyx
|
|
|
69
69
|
#
|
|
70
70
|
# @param instructions [String] Body param: System instructions for the assistant. These may be templated with [
|
|
71
71
|
#
|
|
72
|
-
# @param integrations [Array<Telnyx::Models::AI::
|
|
72
|
+
# @param integrations [Array<Telnyx::Models::AI::Assistants::UpdateAssistant::Integration>] Body param: Connected integrations attached to the assistant. The catalog of ava
|
|
73
73
|
#
|
|
74
|
-
# @param interruption_settings [Telnyx::Models::AI::
|
|
74
|
+
# @param interruption_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::InterruptionSettings] Body param: Settings for interruptions and how the assistant decides the user ha
|
|
75
75
|
#
|
|
76
76
|
# @param llm_api_key_ref [String] Body param: This is only needed when using third-party inference providers selec
|
|
77
77
|
#
|
|
78
|
-
# @param mcp_servers [Array<Telnyx::Models::AI::
|
|
78
|
+
# @param mcp_servers [Array<Telnyx::Models::AI::Assistants::UpdateAssistant::McpServer>] Body param: MCP servers attached to the assistant. Create MCP servers with `/ai/
|
|
79
79
|
#
|
|
80
80
|
# @param messaging_settings [Telnyx::Models::AI::MessagingSettings] Body param
|
|
81
81
|
#
|
|
@@ -58,13 +58,13 @@ module Telnyx
|
|
|
58
58
|
#
|
|
59
59
|
# @param insight_settings [Telnyx::Models::AI::InsightSettings]
|
|
60
60
|
#
|
|
61
|
-
# @param integrations [Array<Telnyx::Models::AI::
|
|
61
|
+
# @param integrations [Array<Telnyx::Models::AI::AssistantCreateParams::Integration>] Connected integrations attached to the assistant. The catalog of available integ
|
|
62
62
|
#
|
|
63
|
-
# @param interruption_settings [Telnyx::Models::AI::
|
|
63
|
+
# @param interruption_settings [Telnyx::Models::AI::AssistantCreateParams::InterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
|
|
64
64
|
#
|
|
65
65
|
# @param llm_api_key_ref [String] This is only needed when using third-party inference providers selected by `mode
|
|
66
66
|
#
|
|
67
|
-
# @param mcp_servers [Array<Telnyx::Models::AI::
|
|
67
|
+
# @param mcp_servers [Array<Telnyx::Models::AI::AssistantCreateParams::McpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
|
|
68
68
|
#
|
|
69
69
|
# @param messaging_settings [Telnyx::Models::AI::MessagingSettings]
|
|
70
70
|
#
|
|
@@ -161,13 +161,13 @@ module Telnyx
|
|
|
161
161
|
#
|
|
162
162
|
# @param instructions [String] System instructions for the assistant. These may be templated with [dynamic vari
|
|
163
163
|
#
|
|
164
|
-
# @param integrations [Array<Telnyx::Models::AI::
|
|
164
|
+
# @param integrations [Array<Telnyx::Models::AI::AssistantUpdateParams::Integration>] Connected integrations attached to the assistant. The catalog of available integ
|
|
165
165
|
#
|
|
166
|
-
# @param interruption_settings [Telnyx::Models::AI::
|
|
166
|
+
# @param interruption_settings [Telnyx::Models::AI::AssistantUpdateParams::InterruptionSettings] Settings for interruptions and how the assistant decides the user has finished s
|
|
167
167
|
#
|
|
168
168
|
# @param llm_api_key_ref [String] This is only needed when using third-party inference providers selected by `mode
|
|
169
169
|
#
|
|
170
|
-
# @param mcp_servers [Array<Telnyx::Models::AI::
|
|
170
|
+
# @param mcp_servers [Array<Telnyx::Models::AI::AssistantUpdateParams::McpServer>] MCP servers attached to the assistant. Create MCP servers with `/ai/mcp_servers`
|
|
171
171
|
#
|
|
172
172
|
# @param messaging_settings [Telnyx::Models::AI::MessagingSettings]
|
|
173
173
|
#
|
|
@@ -347,7 +347,7 @@ module Telnyx
|
|
|
347
347
|
#
|
|
348
348
|
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
349
349
|
#
|
|
350
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::
|
|
350
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
351
351
|
#
|
|
352
352
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
353
353
|
#
|
|
@@ -480,7 +480,7 @@ module Telnyx
|
|
|
480
480
|
#
|
|
481
481
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
482
482
|
#
|
|
483
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::
|
|
483
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
484
484
|
#
|
|
485
485
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
486
486
|
#
|
|
@@ -860,7 +860,7 @@ module Telnyx
|
|
|
860
860
|
#
|
|
861
861
|
# @param target_legs [Symbol, Telnyx::Models::Calls::ActionSpeakParams::TargetLegs] Specifies which legs of the call should receive the spoken audio.
|
|
862
862
|
#
|
|
863
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::
|
|
863
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
864
864
|
#
|
|
865
865
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
866
866
|
#
|
|
@@ -912,7 +912,7 @@ module Telnyx
|
|
|
912
912
|
#
|
|
913
913
|
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
914
914
|
#
|
|
915
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::
|
|
915
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
916
916
|
#
|
|
917
917
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
918
918
|
#
|
|
@@ -930,6 +930,73 @@ module Telnyx
|
|
|
930
930
|
)
|
|
931
931
|
end
|
|
932
932
|
|
|
933
|
+
# Some parameter documentations has been truncated, see
|
|
934
|
+
# {Telnyx::Models::Calls::ActionStartConversationRelayParams} for more details.
|
|
935
|
+
#
|
|
936
|
+
# Start a Conversation Relay session on an active call. Conversation Relay
|
|
937
|
+
# connects the call audio to your WebSocket so your application can exchange
|
|
938
|
+
# realtime messages with the caller while Telnyx handles speech recognition and
|
|
939
|
+
# text-to-speech. Only one AI Assistant or Conversation Relay session can be
|
|
940
|
+
# active on a call at a time.
|
|
941
|
+
#
|
|
942
|
+
# **Expected Webhooks:**
|
|
943
|
+
#
|
|
944
|
+
# - `conversation_relay.disconnected`
|
|
945
|
+
#
|
|
946
|
+
# @overload start_conversation_relay(call_control_id, conversation_relay_url:, assistant: nil, client_state: nil, command_id: nil, conversation_relay_dtmf_detection: nil, greeting: nil, interruption_settings: nil, language: nil, languages: nil, participants: nil, send_message_history_updates: nil, transcription: nil, transcription_language: nil, tts_language: nil, user_response_timeout_ms: nil, voice: nil, voice_settings: nil, request_options: {})
|
|
947
|
+
#
|
|
948
|
+
# @param call_control_id [String] Unique identifier and token for controlling the call
|
|
949
|
+
#
|
|
950
|
+
# @param conversation_relay_url [String] WebSocket URL for your Conversation Relay server. Must start with `ws://` or `ws
|
|
951
|
+
#
|
|
952
|
+
# @param assistant [Telnyx::Models::Calls::ActionStartConversationRelayParams::Assistant] Custom parameters for the Conversation Relay session. Pass key-value data as `as
|
|
953
|
+
#
|
|
954
|
+
# @param client_state [String] Use this field to add state to subsequent webhooks. It must be a valid Base-64 e
|
|
955
|
+
#
|
|
956
|
+
# @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
957
|
+
#
|
|
958
|
+
# @param conversation_relay_dtmf_detection [Boolean] Enable DTMF detection for the relay session.
|
|
959
|
+
#
|
|
960
|
+
# @param greeting [String] Text played when the relay session starts.
|
|
961
|
+
#
|
|
962
|
+
# @param interruption_settings [Telnyx::Models::Calls::ActionStartConversationRelayParams::InterruptionSettings] Settings for handling caller interruptions during Conversation Relay speech.
|
|
963
|
+
#
|
|
964
|
+
# @param language [String] Default language for the relay session. This value is used for both text-to-spee
|
|
965
|
+
#
|
|
966
|
+
# @param languages [Array<Telnyx::Models::Calls::ActionStartConversationRelayParams::Language>] Language-specific TTS and transcription settings. Use this when the relay sessio
|
|
967
|
+
#
|
|
968
|
+
# @param participants [Array<Telnyx::Models::Calls::ActionStartConversationRelayParams::Participant>] Participants to add to the conversation.
|
|
969
|
+
#
|
|
970
|
+
# @param send_message_history_updates [Boolean] When true, sends message history update webhooks.
|
|
971
|
+
#
|
|
972
|
+
# @param transcription [Telnyx::Models::Calls::ActionStartConversationRelayParams::Transcription] Speech-to-text settings for Conversation Relay.
|
|
973
|
+
#
|
|
974
|
+
# @param transcription_language [String] Language to use for speech recognition. Overrides `language` for transcription w
|
|
975
|
+
#
|
|
976
|
+
# @param tts_language [String] Language to use for text-to-speech. Overrides `language` for TTS when provided.
|
|
977
|
+
#
|
|
978
|
+
# @param user_response_timeout_ms [Integer] Time in milliseconds to wait for caller input before timing out.
|
|
979
|
+
#
|
|
980
|
+
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
981
|
+
#
|
|
982
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
983
|
+
#
|
|
984
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
985
|
+
#
|
|
986
|
+
# @return [Telnyx::Models::Calls::ActionStartConversationRelayResponse]
|
|
987
|
+
#
|
|
988
|
+
# @see Telnyx::Models::Calls::ActionStartConversationRelayParams
|
|
989
|
+
def start_conversation_relay(call_control_id, params)
|
|
990
|
+
parsed, options = Telnyx::Calls::ActionStartConversationRelayParams.dump_request(params)
|
|
991
|
+
@client.request(
|
|
992
|
+
method: :post,
|
|
993
|
+
path: ["calls/%1$s/actions/conversation_relay_start", call_control_id],
|
|
994
|
+
body: parsed,
|
|
995
|
+
model: Telnyx::Models::Calls::ActionStartConversationRelayResponse,
|
|
996
|
+
options: options
|
|
997
|
+
)
|
|
998
|
+
end
|
|
999
|
+
|
|
933
1000
|
# Some parameter documentations has been truncated, see
|
|
934
1001
|
# {Telnyx::Models::Calls::ActionStartForkingParams} for more details.
|
|
935
1002
|
#
|
|
@@ -1256,7 +1323,7 @@ module Telnyx
|
|
|
1256
1323
|
#
|
|
1257
1324
|
# @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
|
|
1258
1325
|
#
|
|
1259
|
-
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::
|
|
1326
|
+
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::XAI, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::AssemblyAI, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
|
|
1260
1327
|
#
|
|
1261
1328
|
# @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
|
|
1262
1329
|
#
|
|
@@ -1305,6 +1372,35 @@ module Telnyx
|
|
|
1305
1372
|
)
|
|
1306
1373
|
end
|
|
1307
1374
|
|
|
1375
|
+
# Some parameter documentations has been truncated, see
|
|
1376
|
+
# {Telnyx::Models::Calls::ActionStopConversationRelayParams} for more details.
|
|
1377
|
+
#
|
|
1378
|
+
# Stop the active Conversation Relay session on a call.
|
|
1379
|
+
#
|
|
1380
|
+
# @overload stop_conversation_relay(call_control_id, client_state: nil, command_id: nil, request_options: {})
|
|
1381
|
+
#
|
|
1382
|
+
# @param call_control_id [String] Unique identifier and token for controlling the call
|
|
1383
|
+
#
|
|
1384
|
+
# @param client_state [String] Use this field to add state to subsequent webhooks. It must be a valid Base-64 e
|
|
1385
|
+
#
|
|
1386
|
+
# @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
1387
|
+
#
|
|
1388
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
1389
|
+
#
|
|
1390
|
+
# @return [Telnyx::Models::Calls::ActionStopConversationRelayResponse]
|
|
1391
|
+
#
|
|
1392
|
+
# @see Telnyx::Models::Calls::ActionStopConversationRelayParams
|
|
1393
|
+
def stop_conversation_relay(call_control_id, params = {})
|
|
1394
|
+
parsed, options = Telnyx::Calls::ActionStopConversationRelayParams.dump_request(params)
|
|
1395
|
+
@client.request(
|
|
1396
|
+
method: :post,
|
|
1397
|
+
path: ["calls/%1$s/actions/conversation_relay_stop", call_control_id],
|
|
1398
|
+
body: parsed,
|
|
1399
|
+
model: Telnyx::Models::Calls::ActionStopConversationRelayResponse,
|
|
1400
|
+
options: options
|
|
1401
|
+
)
|
|
1402
|
+
end
|
|
1403
|
+
|
|
1308
1404
|
# Some parameter documentations has been truncated, see
|
|
1309
1405
|
# {Telnyx::Models::Calls::ActionStopForkingParams} for more details.
|
|
1310
1406
|
#
|
|
@@ -520,7 +520,7 @@ module Telnyx
|
|
|
520
520
|
#
|
|
521
521
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
522
522
|
#
|
|
523
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::
|
|
523
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
524
524
|
#
|
|
525
525
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
526
526
|
#
|
|
@@ -65,7 +65,7 @@ module Telnyx
|
|
|
65
65
|
#
|
|
66
66
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
67
|
#
|
|
68
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
68
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::PublicInternetGatewayListResponse>]
|
|
69
69
|
#
|
|
70
70
|
# @see Telnyx::Models::PublicInternetGatewayListParams
|
|
71
71
|
def list(params = {})
|
|
@@ -76,7 +76,7 @@ module Telnyx
|
|
|
76
76
|
path: "public_internet_gateways",
|
|
77
77
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
78
78
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
79
|
-
model: Telnyx::
|
|
79
|
+
model: Telnyx::Models::PublicInternetGatewayListResponse,
|
|
80
80
|
options: options
|
|
81
81
|
)
|
|
82
82
|
end
|
|
@@ -36,11 +36,11 @@ module Telnyx
|
|
|
36
36
|
#
|
|
37
37
|
# @param encrypted_media [Symbol, Telnyx::Models::EncryptedMedia, nil] Enable use of SRTP for encryption. Cannot be set if the transport_portocol is TL
|
|
38
38
|
#
|
|
39
|
-
# @param external_uac_settings [Telnyx::Models::
|
|
39
|
+
# @param external_uac_settings [Telnyx::Models::UacConnectionCreateParams::ExternalUacSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
|
|
40
40
|
#
|
|
41
41
|
# @param inbound [Telnyx::Models::UacConnectionCreateParams::Inbound] Inbound settings that can be supplied when creating or updating a UAC connection
|
|
42
42
|
#
|
|
43
|
-
# @param internal_uac_settings [Telnyx::Models::
|
|
43
|
+
# @param internal_uac_settings [Telnyx::Models::UacConnectionCreateParams::InternalUacSettings] Internal Telnyx-side settings for a UAC connection.
|
|
44
44
|
#
|
|
45
45
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
46
46
|
#
|
|
@@ -52,7 +52,7 @@ module Telnyx
|
|
|
52
52
|
#
|
|
53
53
|
# @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
54
54
|
#
|
|
55
|
-
# @param outbound [Telnyx::Models::
|
|
55
|
+
# @param outbound [Telnyx::Models::UacConnectionCreateParams::Outbound]
|
|
56
56
|
#
|
|
57
57
|
# @param password [String] The password to be used as part of the credentials. Must be 8 to 128 characters
|
|
58
58
|
#
|
|
@@ -135,11 +135,11 @@ module Telnyx
|
|
|
135
135
|
#
|
|
136
136
|
# @param encrypted_media [Symbol, Telnyx::Models::EncryptedMedia, nil] Enable use of SRTP for encryption. Cannot be set if the transport_portocol is TL
|
|
137
137
|
#
|
|
138
|
-
# @param external_uac_settings [Telnyx::Models::
|
|
138
|
+
# @param external_uac_settings [Telnyx::Models::UacConnectionUpdateParams::ExternalUacSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
|
|
139
139
|
#
|
|
140
140
|
# @param inbound [Telnyx::Models::UacConnectionUpdateParams::Inbound] Inbound settings that can be supplied when creating or updating a UAC connection
|
|
141
141
|
#
|
|
142
|
-
# @param internal_uac_settings [Telnyx::Models::
|
|
142
|
+
# @param internal_uac_settings [Telnyx::Models::UacConnectionUpdateParams::InternalUacSettings] Internal Telnyx-side settings for a UAC connection.
|
|
143
143
|
#
|
|
144
144
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
145
145
|
#
|
|
@@ -151,7 +151,7 @@ module Telnyx
|
|
|
151
151
|
#
|
|
152
152
|
# @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
|
|
153
153
|
#
|
|
154
|
-
# @param outbound [Telnyx::Models::
|
|
154
|
+
# @param outbound [Telnyx::Models::UacConnectionUpdateParams::Outbound]
|
|
155
155
|
#
|
|
156
156
|
# @param password [String] The password to be used as part of the credentials. Must be 8 to 128 characters
|
|
157
157
|
#
|
|
@@ -208,7 +208,7 @@ module Telnyx
|
|
|
208
208
|
#
|
|
209
209
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
210
210
|
#
|
|
211
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
211
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::UacConnectionListResponse>]
|
|
212
212
|
#
|
|
213
213
|
# @see Telnyx::Models::UacConnectionListParams
|
|
214
214
|
def list(params = {})
|
|
@@ -219,7 +219,7 @@ module Telnyx
|
|
|
219
219
|
path: "uac_connections",
|
|
220
220
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
221
221
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
222
|
-
model: Telnyx::
|
|
222
|
+
model: Telnyx::Models::UacConnectionListResponse,
|
|
223
223
|
options: options
|
|
224
224
|
)
|
|
225
225
|
end
|
|
@@ -140,7 +140,7 @@ module Telnyx
|
|
|
140
140
|
#
|
|
141
141
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
142
142
|
#
|
|
143
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
143
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::VirtualCrossConnectListResponse>]
|
|
144
144
|
#
|
|
145
145
|
# @see Telnyx::Models::VirtualCrossConnectListParams
|
|
146
146
|
def list(params = {})
|
|
@@ -151,7 +151,7 @@ module Telnyx
|
|
|
151
151
|
path: "virtual_cross_connects",
|
|
152
152
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
153
153
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
154
|
-
model: Telnyx::
|
|
154
|
+
model: Telnyx::Models::VirtualCrossConnectListResponse,
|
|
155
155
|
options: options
|
|
156
156
|
)
|
|
157
157
|
end
|
|
@@ -68,7 +68,7 @@ module Telnyx
|
|
|
68
68
|
#
|
|
69
69
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
70
70
|
#
|
|
71
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
71
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::WireguardInterfaceListResponse>]
|
|
72
72
|
#
|
|
73
73
|
# @see Telnyx::Models::WireguardInterfaceListParams
|
|
74
74
|
def list(params = {})
|
|
@@ -79,7 +79,7 @@ module Telnyx
|
|
|
79
79
|
path: "wireguard_interfaces",
|
|
80
80
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
81
81
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
82
|
-
model: Telnyx::
|
|
82
|
+
model: Telnyx::Models::WireguardInterfaceListResponse,
|
|
83
83
|
options: options
|
|
84
84
|
)
|
|
85
85
|
end
|
data/lib/telnyx/version.rb
CHANGED