telnyx 5.103.0 → 5.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/lib/telnyx/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 +47 -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 +83 -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 +40 -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 +68 -14
- 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
|
@@ -6,16 +6,11 @@ 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::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ 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::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ 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::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ 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::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectUpdateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ 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::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceCreateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ 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::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::WireguardInterfaces#list
|
|
6
|
+
class WireguardInterfaceRead < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute enable_sip_trunking
|
|
8
|
+
# Enable SIP traffic forwarding over VPN interface.
|
|
9
|
+
#
|
|
10
|
+
# @return [Boolean, nil]
|
|
11
|
+
optional :enable_sip_trunking, Telnyx::Internal::Type::Boolean
|
|
12
|
+
|
|
13
|
+
# @!attribute name
|
|
14
|
+
# A user specified name for the interface.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :name, String
|
|
18
|
+
|
|
19
|
+
# @!attribute network_id
|
|
20
|
+
# The id of the network associated with the interface.
|
|
21
|
+
#
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
optional :network_id, String
|
|
24
|
+
|
|
25
|
+
# @!attribute region
|
|
26
|
+
#
|
|
27
|
+
# @return [Telnyx::Models::WireguardInterfaceRead::Region, nil]
|
|
28
|
+
optional :region, -> { Telnyx::WireguardInterfaceRead::Region }
|
|
29
|
+
|
|
30
|
+
# @!attribute region_code
|
|
31
|
+
# The region interface is deployed to.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :region_code, String
|
|
35
|
+
|
|
36
|
+
response_only do
|
|
37
|
+
# @!attribute id
|
|
38
|
+
# Identifies the resource.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :id, String
|
|
42
|
+
|
|
43
|
+
# @!attribute created_at
|
|
44
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :created_at, String
|
|
48
|
+
|
|
49
|
+
# @!attribute endpoint
|
|
50
|
+
# The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :endpoint, String
|
|
54
|
+
|
|
55
|
+
# @!attribute public_key
|
|
56
|
+
# The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :public_key, String
|
|
60
|
+
|
|
61
|
+
# @!attribute record_type
|
|
62
|
+
# Identifies the type of the resource.
|
|
63
|
+
#
|
|
64
|
+
# @return [String, nil]
|
|
65
|
+
optional :record_type, String
|
|
66
|
+
|
|
67
|
+
# @!attribute status
|
|
68
|
+
# The current status of the interface deployment.
|
|
69
|
+
#
|
|
70
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
|
71
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
|
72
|
+
|
|
73
|
+
# @!attribute updated_at
|
|
74
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :updated_at, String
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# @!method initialize(id: nil, created_at: nil, enable_sip_trunking: nil, endpoint: nil, name: nil, network_id: nil, public_key: nil, record_type: nil, region: nil, region_code: nil, status: nil, updated_at: nil)
|
|
81
|
+
# @param id [String] Identifies the resource.
|
|
82
|
+
#
|
|
83
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
84
|
+
#
|
|
85
|
+
# @param enable_sip_trunking [Boolean] Enable SIP traffic forwarding over VPN interface.
|
|
86
|
+
#
|
|
87
|
+
# @param endpoint [String] The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
88
|
+
#
|
|
89
|
+
# @param name [String] A user specified name for the interface.
|
|
90
|
+
#
|
|
91
|
+
# @param network_id [String] The id of the network associated with the interface.
|
|
92
|
+
#
|
|
93
|
+
# @param public_key [String] The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
94
|
+
#
|
|
95
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
96
|
+
#
|
|
97
|
+
# @param region [Telnyx::Models::WireguardInterfaceRead::Region]
|
|
98
|
+
#
|
|
99
|
+
# @param region_code [String] The region interface is deployed to.
|
|
100
|
+
#
|
|
101
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
|
102
|
+
#
|
|
103
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
104
|
+
|
|
105
|
+
# @see Telnyx::Models::WireguardInterfaceRead#region
|
|
106
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
107
|
+
# @!attribute code
|
|
108
|
+
# Region code of the interface.
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
optional :code, String
|
|
112
|
+
|
|
113
|
+
# @!attribute name
|
|
114
|
+
# Region name of the interface.
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :name, String
|
|
118
|
+
|
|
119
|
+
response_only do
|
|
120
|
+
# @!attribute record_type
|
|
121
|
+
# Identifies the type of the resource.
|
|
122
|
+
#
|
|
123
|
+
# @return [String, nil]
|
|
124
|
+
optional :record_type, String
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
|
128
|
+
# @param code [String] Region code of the interface.
|
|
129
|
+
#
|
|
130
|
+
# @param name [String] Region name of the interface.
|
|
131
|
+
#
|
|
132
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
@@ -6,16 +6,11 @@ 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::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class XaiVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute type
|
|
7
|
+
# Voice settings provider type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, Telnyx::Models::XaiVoiceSettings::Type]
|
|
10
|
+
required :type, enum: -> { Telnyx::XaiVoiceSettings::Type }
|
|
11
|
+
|
|
12
|
+
# @!attribute language
|
|
13
|
+
# Language code, or `auto` to detect automatically.
|
|
14
|
+
#
|
|
15
|
+
# @return [String, nil]
|
|
16
|
+
optional :language, String
|
|
17
|
+
|
|
18
|
+
# @!method initialize(type:, language: nil)
|
|
19
|
+
# @param type [Symbol, Telnyx::Models::XaiVoiceSettings::Type] Voice settings provider type
|
|
20
|
+
#
|
|
21
|
+
# @param language [String] Language code, or `auto` to detect automatically.
|
|
22
|
+
|
|
23
|
+
# Voice settings provider type
|
|
24
|
+
#
|
|
25
|
+
# @see Telnyx::Models::XaiVoiceSettings#type
|
|
26
|
+
module Type
|
|
27
|
+
extend Telnyx::Internal::Type::Enum
|
|
28
|
+
|
|
29
|
+
XAI = :xai
|
|
30
|
+
|
|
31
|
+
# @!method self.values
|
|
32
|
+
# @return [Array<Symbol>]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
data/lib/telnyx/models.rb
CHANGED
|
@@ -964,6 +964,8 @@ module Telnyx
|
|
|
964
964
|
|
|
965
965
|
MobileVoiceConnectionUpdateParams = Telnyx::Models::MobileVoiceConnectionUpdateParams
|
|
966
966
|
|
|
967
|
+
ModelMetadata = Telnyx::Models::ModelMetadata
|
|
968
|
+
|
|
967
969
|
MonthDetail = Telnyx::Models::MonthDetail
|
|
968
970
|
|
|
969
971
|
NetappsLocation = Telnyx::Models::NetappsLocation
|
|
@@ -1285,6 +1287,8 @@ module Telnyx
|
|
|
1285
1287
|
|
|
1286
1288
|
PublicInternetGatewayListParams = Telnyx::Models::PublicInternetGatewayListParams
|
|
1287
1289
|
|
|
1290
|
+
PublicInternetGatewayRead = Telnyx::Models::PublicInternetGatewayRead
|
|
1291
|
+
|
|
1288
1292
|
PublicInternetGatewayRetrieveParams = Telnyx::Models::PublicInternetGatewayRetrieveParams
|
|
1289
1293
|
|
|
1290
1294
|
PushCredential = Telnyx::Models::PushCredential
|
|
@@ -1626,6 +1630,8 @@ module Telnyx
|
|
|
1626
1630
|
|
|
1627
1631
|
TransportProtocol = Telnyx::Models::TransportProtocol
|
|
1628
1632
|
|
|
1633
|
+
UacConnection = Telnyx::Models::UacConnection
|
|
1634
|
+
|
|
1629
1635
|
UacConnectionCreateParams = Telnyx::Models::UacConnectionCreateParams
|
|
1630
1636
|
|
|
1631
1637
|
UacConnectionDeleteParams = Telnyx::Models::UacConnectionDeleteParams
|
|
@@ -1638,6 +1644,14 @@ module Telnyx
|
|
|
1638
1644
|
|
|
1639
1645
|
UacConnectionUpdateParams = Telnyx::Models::UacConnectionUpdateParams
|
|
1640
1646
|
|
|
1647
|
+
UacExternalSettings = Telnyx::Models::UacExternalSettings
|
|
1648
|
+
|
|
1649
|
+
UacInbound = Telnyx::Models::UacInbound
|
|
1650
|
+
|
|
1651
|
+
UacInternalSettings = Telnyx::Models::UacInternalSettings
|
|
1652
|
+
|
|
1653
|
+
UacOutbound = Telnyx::Models::UacOutbound
|
|
1654
|
+
|
|
1641
1655
|
UnsafeUnwrapWebhookEvent = Telnyx::Models::UnsafeUnwrapWebhookEvent
|
|
1642
1656
|
|
|
1643
1657
|
UnwrapWebhookEvent = Telnyx::Models::UnwrapWebhookEvent
|
|
@@ -1717,6 +1731,8 @@ module Telnyx
|
|
|
1717
1731
|
|
|
1718
1732
|
VideoRegion = Telnyx::Models::VideoRegion
|
|
1719
1733
|
|
|
1734
|
+
VirtualCrossConnectCombined = Telnyx::Models::VirtualCrossConnectCombined
|
|
1735
|
+
|
|
1720
1736
|
VirtualCrossConnectCreateParams = Telnyx::Models::VirtualCrossConnectCreateParams
|
|
1721
1737
|
|
|
1722
1738
|
VirtualCrossConnectDeleteParams = Telnyx::Models::VirtualCrossConnectDeleteParams
|
|
@@ -1803,6 +1819,8 @@ module Telnyx
|
|
|
1803
1819
|
|
|
1804
1820
|
WireguardInterfaceListParams = Telnyx::Models::WireguardInterfaceListParams
|
|
1805
1821
|
|
|
1822
|
+
WireguardInterfaceRead = Telnyx::Models::WireguardInterfaceRead
|
|
1823
|
+
|
|
1806
1824
|
WireguardInterfaceRetrieveParams = Telnyx::Models::WireguardInterfaceRetrieveParams
|
|
1807
1825
|
|
|
1808
1826
|
WireguardPeerCreateParams = Telnyx::Models::WireguardPeerCreateParams
|
|
@@ -1840,4 +1858,6 @@ module Telnyx
|
|
|
1840
1858
|
WirelessRetrieveRegionsParams = Telnyx::Models::WirelessRetrieveRegionsParams
|
|
1841
1859
|
|
|
1842
1860
|
X402 = Telnyx::Models::X402
|
|
1861
|
+
|
|
1862
|
+
XaiVoiceSettings = Telnyx::Models::XaiVoiceSettings
|
|
1843
1863
|
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::RuleInput>]
|
|
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::RuleInput>]
|
|
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::AssistantIntegration>] 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::InferenceEmbeddingInterruptionSettings] 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::AssistantMcpServer>] 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::AssistantIntegration>] 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::InferenceEmbeddingInterruptionSettings] 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::AssistantMcpServer>] 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::AssistantIntegration>] 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::InferenceEmbeddingInterruptionSettings] 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::AssistantMcpServer>] 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::XaiVoiceSettings] 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::XaiVoiceSettings] 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::XaiVoiceSettings] 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::XaiVoiceSettings] The settings associated with the voice selected
|
|
916
916
|
#
|
|
917
917
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
918
918
|
#
|
|
@@ -1256,7 +1256,7 @@ module Telnyx
|
|
|
1256
1256
|
#
|
|
1257
1257
|
# @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
|
|
1258
1258
|
#
|
|
1259
|
-
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::
|
|
1259
|
+
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionEngineXaiConfig, Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
|
|
1260
1260
|
#
|
|
1261
1261
|
# @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
|
|
1262
1262
|
#
|
|
@@ -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::XaiVoiceSettings] 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::PublicInternetGatewayRead>]
|
|
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::PublicInternetGatewayRead,
|
|
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::UacExternalSettings] 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::UacInternalSettings] 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::UacOutbound]
|
|
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::UacExternalSettings] 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::UacInternalSettings] 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::UacOutbound]
|
|
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::UacConnection>]
|
|
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::UacConnection,
|
|
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::VirtualCrossConnectCombined>]
|
|
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::VirtualCrossConnectCombined,
|
|
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::WireguardInterfaceRead>]
|
|
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::WireguardInterfaceRead,
|
|
83
83
|
options: options
|
|
84
84
|
)
|
|
85
85
|
end
|
data/lib/telnyx/version.rb
CHANGED