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
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type public_internet_gateway_create_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::PublicInternetGatewayRead }
|
|
5
5
|
|
|
6
6
|
class PublicInternetGatewayCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::PublicInternetGatewayRead?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::PublicInternetGatewayRead
|
|
11
|
+
) -> Telnyx::PublicInternetGatewayRead
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::PublicInternetGatewayCreateResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::PublicInternetGatewayRead) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::PublicInternetGatewayCreateResponse::Data
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type data = { }
|
|
22
|
-
|
|
23
|
-
class Data < Telnyx::Models::Record
|
|
24
|
-
def initialize: -> void
|
|
25
|
-
|
|
26
|
-
def to_hash: -> { }
|
|
27
|
-
end
|
|
15
|
+
def to_hash: -> { data: Telnyx::PublicInternetGatewayRead }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type public_internet_gateway_delete_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::PublicInternetGatewayRead }
|
|
5
5
|
|
|
6
6
|
class PublicInternetGatewayDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::PublicInternetGatewayRead?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::PublicInternetGatewayRead
|
|
11
|
+
) -> Telnyx::PublicInternetGatewayRead
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::PublicInternetGatewayDeleteResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::PublicInternetGatewayRead) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::PublicInternetGatewayDeleteResponse::Data
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type data = { }
|
|
22
|
-
|
|
23
|
-
class Data < Telnyx::Models::Record
|
|
24
|
-
def initialize: -> void
|
|
25
|
-
|
|
26
|
-
def to_hash: -> { }
|
|
27
|
-
end
|
|
15
|
+
def to_hash: -> { data: Telnyx::PublicInternetGatewayRead }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type public_internet_gateway_read =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: String,
|
|
7
|
+
name: String,
|
|
8
|
+
network_id: String,
|
|
9
|
+
public_ip: String,
|
|
10
|
+
record_type: String,
|
|
11
|
+
region_code: String,
|
|
12
|
+
status: Telnyx::Models::interface_status,
|
|
13
|
+
updated_at: String
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class PublicInternetGatewayRead < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
attr_reader name: String?
|
|
18
|
+
|
|
19
|
+
def name=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader network_id: String?
|
|
22
|
+
|
|
23
|
+
def network_id=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader region_code: String?
|
|
26
|
+
|
|
27
|
+
def region_code=: (String) -> String
|
|
28
|
+
|
|
29
|
+
attr_reader id: String?
|
|
30
|
+
|
|
31
|
+
def id=: (String) -> String
|
|
32
|
+
|
|
33
|
+
attr_reader created_at: String?
|
|
34
|
+
|
|
35
|
+
def created_at=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_reader public_ip: String?
|
|
38
|
+
|
|
39
|
+
def public_ip=: (String) -> String
|
|
40
|
+
|
|
41
|
+
attr_reader record_type: String?
|
|
42
|
+
|
|
43
|
+
def record_type=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader status: Telnyx::Models::interface_status?
|
|
46
|
+
|
|
47
|
+
def status=: (
|
|
48
|
+
Telnyx::Models::interface_status
|
|
49
|
+
) -> Telnyx::Models::interface_status
|
|
50
|
+
|
|
51
|
+
attr_reader updated_at: String?
|
|
52
|
+
|
|
53
|
+
def updated_at=: (String) -> String
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
?id: String,
|
|
57
|
+
?created_at: String,
|
|
58
|
+
?name: String,
|
|
59
|
+
?network_id: String,
|
|
60
|
+
?public_ip: String,
|
|
61
|
+
?record_type: String,
|
|
62
|
+
?region_code: String,
|
|
63
|
+
?status: Telnyx::Models::interface_status,
|
|
64
|
+
?updated_at: String
|
|
65
|
+
) -> void
|
|
66
|
+
|
|
67
|
+
def to_hash: -> {
|
|
68
|
+
id: String,
|
|
69
|
+
created_at: String,
|
|
70
|
+
name: String,
|
|
71
|
+
network_id: String,
|
|
72
|
+
public_ip: String,
|
|
73
|
+
record_type: String,
|
|
74
|
+
region_code: String,
|
|
75
|
+
status: Telnyx::Models::interface_status,
|
|
76
|
+
updated_at: String
|
|
77
|
+
}
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type public_internet_gateway_retrieve_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::PublicInternetGatewayRead }
|
|
5
5
|
|
|
6
6
|
class PublicInternetGatewayRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::PublicInternetGatewayRead?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::PublicInternetGatewayRead
|
|
11
|
+
) -> Telnyx::PublicInternetGatewayRead
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::PublicInternetGatewayRead) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type data = { }
|
|
22
|
-
|
|
23
|
-
class Data < Telnyx::Models::Record
|
|
24
|
-
def initialize: -> void
|
|
25
|
-
|
|
26
|
-
def to_hash: -> { }
|
|
27
|
-
end
|
|
15
|
+
def to_hash: -> { data: Telnyx::PublicInternetGatewayRead }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|
|
@@ -635,12 +635,12 @@ module Telnyx
|
|
|
635
635
|
module SampleRate
|
|
636
636
|
extend ::Telnyx::Internal::Type::Enum
|
|
637
637
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
638
|
+
RATE_8000: 8000
|
|
639
|
+
RATE_16000: 16000
|
|
640
|
+
RATE_22050: 22050
|
|
641
|
+
RATE_24000: 24000
|
|
642
|
+
RATE_44100: 44100
|
|
643
|
+
RATE_48000: 48000
|
|
644
644
|
|
|
645
645
|
def self?.values: -> ::Array[::Telnyx::Models::TextToSpeechGenerateParams::Xai::sample_rate]
|
|
646
646
|
end
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_connection =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
active: bool,
|
|
7
|
+
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
8
|
+
android_push_credential_id: String?,
|
|
9
|
+
authentication: Telnyx::Models::UacConnection::authentication,
|
|
10
|
+
call_cost_in_webhooks: bool,
|
|
11
|
+
connection_name: String,
|
|
12
|
+
created_at: String,
|
|
13
|
+
default_on_hold_comfort_noise_enabled: bool,
|
|
14
|
+
dtmf_type: Telnyx::Models::dtmf_type,
|
|
15
|
+
encode_contact_header_enabled: bool,
|
|
16
|
+
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
17
|
+
external_uac_settings: Telnyx::UacExternalSettings,
|
|
18
|
+
fqdn: String,
|
|
19
|
+
fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
20
|
+
fqdns: ::Array[Telnyx::Fqdn],
|
|
21
|
+
inbound: Telnyx::UacInbound,
|
|
22
|
+
internal_uac_settings: Telnyx::UacInternalSettings,
|
|
23
|
+
ios_push_credential_id: String?,
|
|
24
|
+
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
25
|
+
noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
26
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
27
|
+
:onnet_t38_passthrough_enabled => bool,
|
|
28
|
+
outbound: Telnyx::UacOutbound,
|
|
29
|
+
password: String,
|
|
30
|
+
record_type: String,
|
|
31
|
+
registration_status: String?,
|
|
32
|
+
registration_status_updated_at: String?,
|
|
33
|
+
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
34
|
+
sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
35
|
+
tags: ::Array[String],
|
|
36
|
+
updated_at: String,
|
|
37
|
+
user_name: String,
|
|
38
|
+
webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
39
|
+
webhook_event_failover_url: String?,
|
|
40
|
+
webhook_event_url: String,
|
|
41
|
+
webhook_timeout_secs: Integer?
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
class UacConnection < Telnyx::Internal::Type::BaseModel
|
|
45
|
+
attr_reader id: String?
|
|
46
|
+
|
|
47
|
+
def id=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_reader active: bool?
|
|
50
|
+
|
|
51
|
+
def active=: (bool) -> bool
|
|
52
|
+
|
|
53
|
+
attr_reader anchorsite_override: Telnyx::Models::anchorsite_override?
|
|
54
|
+
|
|
55
|
+
def anchorsite_override=: (
|
|
56
|
+
Telnyx::Models::anchorsite_override
|
|
57
|
+
) -> Telnyx::Models::anchorsite_override
|
|
58
|
+
|
|
59
|
+
attr_accessor android_push_credential_id: String?
|
|
60
|
+
|
|
61
|
+
attr_reader authentication: Telnyx::Models::UacConnection::authentication?
|
|
62
|
+
|
|
63
|
+
def authentication=: (
|
|
64
|
+
Telnyx::Models::UacConnection::authentication
|
|
65
|
+
) -> Telnyx::Models::UacConnection::authentication
|
|
66
|
+
|
|
67
|
+
attr_reader call_cost_in_webhooks: bool?
|
|
68
|
+
|
|
69
|
+
def call_cost_in_webhooks=: (bool) -> bool
|
|
70
|
+
|
|
71
|
+
attr_reader connection_name: String?
|
|
72
|
+
|
|
73
|
+
def connection_name=: (String) -> String
|
|
74
|
+
|
|
75
|
+
attr_reader created_at: String?
|
|
76
|
+
|
|
77
|
+
def created_at=: (String) -> String
|
|
78
|
+
|
|
79
|
+
attr_reader default_on_hold_comfort_noise_enabled: bool?
|
|
80
|
+
|
|
81
|
+
def default_on_hold_comfort_noise_enabled=: (bool) -> bool
|
|
82
|
+
|
|
83
|
+
attr_reader dtmf_type: Telnyx::Models::dtmf_type?
|
|
84
|
+
|
|
85
|
+
def dtmf_type=: (Telnyx::Models::dtmf_type) -> Telnyx::Models::dtmf_type
|
|
86
|
+
|
|
87
|
+
attr_reader encode_contact_header_enabled: bool?
|
|
88
|
+
|
|
89
|
+
def encode_contact_header_enabled=: (bool) -> bool
|
|
90
|
+
|
|
91
|
+
attr_accessor encrypted_media: Telnyx::Models::encrypted_media?
|
|
92
|
+
|
|
93
|
+
attr_reader external_uac_settings: Telnyx::UacExternalSettings?
|
|
94
|
+
|
|
95
|
+
def external_uac_settings=: (
|
|
96
|
+
Telnyx::UacExternalSettings
|
|
97
|
+
) -> Telnyx::UacExternalSettings
|
|
98
|
+
|
|
99
|
+
attr_reader fqdn: String?
|
|
100
|
+
|
|
101
|
+
def fqdn=: (String) -> String
|
|
102
|
+
|
|
103
|
+
attr_reader fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication?
|
|
104
|
+
|
|
105
|
+
def fqdn_outbound_authentication=: (
|
|
106
|
+
Telnyx::Models::UacConnection::fqdn_outbound_authentication
|
|
107
|
+
) -> Telnyx::Models::UacConnection::fqdn_outbound_authentication
|
|
108
|
+
|
|
109
|
+
attr_reader fqdns: ::Array[Telnyx::Fqdn]?
|
|
110
|
+
|
|
111
|
+
def fqdns=: (::Array[Telnyx::Fqdn]) -> ::Array[Telnyx::Fqdn]
|
|
112
|
+
|
|
113
|
+
attr_reader inbound: Telnyx::UacInbound?
|
|
114
|
+
|
|
115
|
+
def inbound=: (Telnyx::UacInbound) -> Telnyx::UacInbound
|
|
116
|
+
|
|
117
|
+
attr_reader internal_uac_settings: Telnyx::UacInternalSettings?
|
|
118
|
+
|
|
119
|
+
def internal_uac_settings=: (
|
|
120
|
+
Telnyx::UacInternalSettings
|
|
121
|
+
) -> Telnyx::UacInternalSettings
|
|
122
|
+
|
|
123
|
+
attr_accessor ios_push_credential_id: String?
|
|
124
|
+
|
|
125
|
+
attr_reader jitter_buffer: Telnyx::ConnectionJitterBuffer?
|
|
126
|
+
|
|
127
|
+
def jitter_buffer=: (
|
|
128
|
+
Telnyx::ConnectionJitterBuffer
|
|
129
|
+
) -> Telnyx::ConnectionJitterBuffer
|
|
130
|
+
|
|
131
|
+
attr_reader noise_suppression: Telnyx::Models::UacConnection::noise_suppression?
|
|
132
|
+
|
|
133
|
+
def noise_suppression=: (
|
|
134
|
+
Telnyx::Models::UacConnection::noise_suppression
|
|
135
|
+
) -> Telnyx::Models::UacConnection::noise_suppression
|
|
136
|
+
|
|
137
|
+
attr_reader noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails?
|
|
138
|
+
|
|
139
|
+
def noise_suppression_details=: (
|
|
140
|
+
Telnyx::ConnectionNoiseSuppressionDetails
|
|
141
|
+
) -> Telnyx::ConnectionNoiseSuppressionDetails
|
|
142
|
+
|
|
143
|
+
attr_reader onnet_t38_passthrough_enabled: bool?
|
|
144
|
+
|
|
145
|
+
def onnet_t38_passthrough_enabled=: (bool) -> bool
|
|
146
|
+
|
|
147
|
+
attr_reader outbound: Telnyx::UacOutbound?
|
|
148
|
+
|
|
149
|
+
def outbound=: (Telnyx::UacOutbound) -> Telnyx::UacOutbound
|
|
150
|
+
|
|
151
|
+
attr_reader password: String?
|
|
152
|
+
|
|
153
|
+
def password=: (String) -> String
|
|
154
|
+
|
|
155
|
+
attr_reader record_type: String?
|
|
156
|
+
|
|
157
|
+
def record_type=: (String) -> String
|
|
158
|
+
|
|
159
|
+
attr_accessor registration_status: String?
|
|
160
|
+
|
|
161
|
+
attr_accessor registration_status_updated_at: String?
|
|
162
|
+
|
|
163
|
+
attr_reader rtcp_settings: Telnyx::ConnectionRtcpSettings?
|
|
164
|
+
|
|
165
|
+
def rtcp_settings=: (
|
|
166
|
+
Telnyx::ConnectionRtcpSettings
|
|
167
|
+
) -> Telnyx::ConnectionRtcpSettings
|
|
168
|
+
|
|
169
|
+
attr_reader sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference?
|
|
170
|
+
|
|
171
|
+
def sip_uri_calling_preference=: (
|
|
172
|
+
Telnyx::Models::UacConnection::sip_uri_calling_preference
|
|
173
|
+
) -> Telnyx::Models::UacConnection::sip_uri_calling_preference
|
|
174
|
+
|
|
175
|
+
attr_reader tags: ::Array[String]?
|
|
176
|
+
|
|
177
|
+
def tags=: (::Array[String]) -> ::Array[String]
|
|
178
|
+
|
|
179
|
+
attr_reader updated_at: String?
|
|
180
|
+
|
|
181
|
+
def updated_at=: (String) -> String
|
|
182
|
+
|
|
183
|
+
attr_reader user_name: String?
|
|
184
|
+
|
|
185
|
+
def user_name=: (String) -> String
|
|
186
|
+
|
|
187
|
+
attr_reader webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version?
|
|
188
|
+
|
|
189
|
+
def webhook_api_version=: (
|
|
190
|
+
Telnyx::Models::UacConnection::webhook_api_version
|
|
191
|
+
) -> Telnyx::Models::UacConnection::webhook_api_version
|
|
192
|
+
|
|
193
|
+
attr_accessor webhook_event_failover_url: String?
|
|
194
|
+
|
|
195
|
+
attr_reader webhook_event_url: String?
|
|
196
|
+
|
|
197
|
+
def webhook_event_url=: (String) -> String
|
|
198
|
+
|
|
199
|
+
attr_accessor webhook_timeout_secs: Integer?
|
|
200
|
+
|
|
201
|
+
def initialize: (
|
|
202
|
+
?id: String,
|
|
203
|
+
?active: bool,
|
|
204
|
+
?anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
205
|
+
?android_push_credential_id: String?,
|
|
206
|
+
?authentication: Telnyx::Models::UacConnection::authentication,
|
|
207
|
+
?call_cost_in_webhooks: bool,
|
|
208
|
+
?connection_name: String,
|
|
209
|
+
?created_at: String,
|
|
210
|
+
?default_on_hold_comfort_noise_enabled: bool,
|
|
211
|
+
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
212
|
+
?encode_contact_header_enabled: bool,
|
|
213
|
+
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
214
|
+
?external_uac_settings: Telnyx::UacExternalSettings,
|
|
215
|
+
?fqdn: String,
|
|
216
|
+
?fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
217
|
+
?fqdns: ::Array[Telnyx::Fqdn],
|
|
218
|
+
?inbound: Telnyx::UacInbound,
|
|
219
|
+
?internal_uac_settings: Telnyx::UacInternalSettings,
|
|
220
|
+
?ios_push_credential_id: String?,
|
|
221
|
+
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
222
|
+
?noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
223
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
224
|
+
?onnet_t38_passthrough_enabled: bool,
|
|
225
|
+
?outbound: Telnyx::UacOutbound,
|
|
226
|
+
?password: String,
|
|
227
|
+
?record_type: String,
|
|
228
|
+
?registration_status: String?,
|
|
229
|
+
?registration_status_updated_at: String?,
|
|
230
|
+
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
231
|
+
?sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
232
|
+
?tags: ::Array[String],
|
|
233
|
+
?updated_at: String,
|
|
234
|
+
?user_name: String,
|
|
235
|
+
?webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
236
|
+
?webhook_event_failover_url: String?,
|
|
237
|
+
?webhook_event_url: String,
|
|
238
|
+
?webhook_timeout_secs: Integer?
|
|
239
|
+
) -> void
|
|
240
|
+
|
|
241
|
+
def to_hash: -> {
|
|
242
|
+
id: String,
|
|
243
|
+
active: bool,
|
|
244
|
+
anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
245
|
+
android_push_credential_id: String?,
|
|
246
|
+
authentication: Telnyx::Models::UacConnection::authentication,
|
|
247
|
+
call_cost_in_webhooks: bool,
|
|
248
|
+
connection_name: String,
|
|
249
|
+
created_at: String,
|
|
250
|
+
default_on_hold_comfort_noise_enabled: bool,
|
|
251
|
+
dtmf_type: Telnyx::Models::dtmf_type,
|
|
252
|
+
encode_contact_header_enabled: bool,
|
|
253
|
+
encrypted_media: Telnyx::Models::encrypted_media?,
|
|
254
|
+
external_uac_settings: Telnyx::UacExternalSettings,
|
|
255
|
+
fqdn: String,
|
|
256
|
+
fqdn_outbound_authentication: Telnyx::Models::UacConnection::fqdn_outbound_authentication,
|
|
257
|
+
fqdns: ::Array[Telnyx::Fqdn],
|
|
258
|
+
inbound: Telnyx::UacInbound,
|
|
259
|
+
internal_uac_settings: Telnyx::UacInternalSettings,
|
|
260
|
+
ios_push_credential_id: String?,
|
|
261
|
+
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
262
|
+
noise_suppression: Telnyx::Models::UacConnection::noise_suppression,
|
|
263
|
+
noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
264
|
+
:onnet_t38_passthrough_enabled => bool,
|
|
265
|
+
outbound: Telnyx::UacOutbound,
|
|
266
|
+
password: String,
|
|
267
|
+
record_type: String,
|
|
268
|
+
registration_status: String?,
|
|
269
|
+
registration_status_updated_at: String?,
|
|
270
|
+
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
271
|
+
sip_uri_calling_preference: Telnyx::Models::UacConnection::sip_uri_calling_preference,
|
|
272
|
+
tags: ::Array[String],
|
|
273
|
+
updated_at: String,
|
|
274
|
+
user_name: String,
|
|
275
|
+
webhook_api_version: Telnyx::Models::UacConnection::webhook_api_version,
|
|
276
|
+
webhook_event_failover_url: String?,
|
|
277
|
+
webhook_event_url: String,
|
|
278
|
+
webhook_timeout_secs: Integer?
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
type authentication = :"uac-authentication"
|
|
282
|
+
|
|
283
|
+
module Authentication
|
|
284
|
+
extend Telnyx::Internal::Type::Enum
|
|
285
|
+
|
|
286
|
+
UAC_AUTHENTICATION: :"uac-authentication"
|
|
287
|
+
|
|
288
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnection::authentication]
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
type fqdn_outbound_authentication = :"credential-authentication"
|
|
292
|
+
|
|
293
|
+
module FqdnOutboundAuthentication
|
|
294
|
+
extend Telnyx::Internal::Type::Enum
|
|
295
|
+
|
|
296
|
+
CREDENTIAL_AUTHENTICATION: :"credential-authentication"
|
|
297
|
+
|
|
298
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnection::fqdn_outbound_authentication]
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
type noise_suppression = :inbound | :outbound | :both | :disabled
|
|
302
|
+
|
|
303
|
+
module NoiseSuppression
|
|
304
|
+
extend Telnyx::Internal::Type::Enum
|
|
305
|
+
|
|
306
|
+
INBOUND: :inbound
|
|
307
|
+
OUTBOUND: :outbound
|
|
308
|
+
BOTH: :both
|
|
309
|
+
DISABLED: :disabled
|
|
310
|
+
|
|
311
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnection::noise_suppression]
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
type sip_uri_calling_preference = :disabled | :unrestricted | :internal
|
|
315
|
+
|
|
316
|
+
module SipUriCallingPreference
|
|
317
|
+
extend Telnyx::Internal::Type::Enum
|
|
318
|
+
|
|
319
|
+
DISABLED: :disabled
|
|
320
|
+
UNRESTRICTED: :unrestricted
|
|
321
|
+
INTERNAL: :internal
|
|
322
|
+
|
|
323
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnection::sip_uri_calling_preference]
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
type webhook_api_version = :"1" | :"2"
|
|
327
|
+
|
|
328
|
+
module WebhookAPIVersion
|
|
329
|
+
extend Telnyx::Internal::Type::Enum
|
|
330
|
+
|
|
331
|
+
V1: :"1"
|
|
332
|
+
V2: :"2"
|
|
333
|
+
|
|
334
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnection::webhook_api_version]
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
end
|
|
338
|
+
end
|