telnyx 5.103.0 → 5.103.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -170
- data/lib/telnyx/models/ai/assistant_integration.rb +38 -0
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +35 -0
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -170
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +3 -123
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +3 -125
- data/lib/telnyx/models/ai/assistants/clause.rb +54 -0
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +27 -0
- data/lib/telnyx/models/ai/assistants/rule_input.rb +40 -0
- data/lib/telnyx/models/ai/assistants/rule_output.rb +40 -0
- data/lib/telnyx/models/ai/assistants/serve.rb +33 -0
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -171
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -169
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +39 -0
- data/lib/telnyx/models/ai/openai_list_models_response.rb +3 -31
- data/lib/telnyx/models/ai/start_speaking_plan.rb +37 -0
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +39 -0
- data/lib/telnyx/models/ai/transfer_tool.rb +7 -9
- data/lib/telnyx/models/ai_retrieve_models_response.rb +3 -31
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +4 -23
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -23
- data/lib/telnyx/models/calls/action_speak_params.rb +4 -23
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +4 -23
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +64 -0
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +108 -0
- data/lib/telnyx/models/calls/transcription_start_request.rb +5 -167
- data/lib/telnyx/models/conferences/action_speak_params.rb +4 -23
- data/lib/telnyx/models/model_metadata.rb +33 -0
- data/lib/telnyx/models/network_list_interfaces_response.rb +112 -2
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +3 -8
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +3 -8
- data/lib/telnyx/models/public_internet_gateway_read.rb +83 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +3 -8
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection.rb +412 -0
- data/lib/telnyx/models/uac_connection_create_params.rb +9 -255
- data/lib/telnyx/models/uac_connection_create_response.rb +3 -878
- data/lib/telnyx/models/uac_connection_delete_response.rb +3 -878
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +3 -879
- data/lib/telnyx/models/uac_connection_update_params.rb +9 -255
- data/lib/telnyx/models/uac_connection_update_response.rb +3 -878
- data/lib/telnyx/models/uac_external_settings.rb +101 -0
- data/lib/telnyx/models/uac_inbound.rb +210 -0
- data/lib/telnyx/models/uac_internal_settings.rb +25 -0
- data/lib/telnyx/models/uac_outbound.rb +131 -0
- data/lib/telnyx/models/virtual_cross_connect_combined.rb +212 -0
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +3 -8
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_create_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +3 -8
- data/lib/telnyx/models/wireguard_interface_read.rb +136 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +3 -8
- data/lib/telnyx/models/xai_voice_settings.rb +36 -0
- data/lib/telnyx/models.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +5 -5
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
- data/lib/telnyx/resources/uac_connections.rb +8 -8
- data/lib/telnyx/resources/virtual_cross_connects.rb +2 -2
- data/lib/telnyx/resources/wireguard_interfaces.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +22 -4
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -341
- data/rbi/telnyx/models/ai/assistant_integration.rbi +60 -0
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +51 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -341
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +4 -290
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +3 -301
- data/rbi/telnyx/models/ai/assistants/clause.rbi +91 -0
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +36 -0
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +73 -0
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +73 -0
- data/rbi/telnyx/models/ai/assistants/serve.rbi +61 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -355
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -340
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +72 -0
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +3 -56
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +70 -0
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +71 -0
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +3 -51
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -41
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +5 -41
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +155 -0
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +329 -0
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +10 -480
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -41
- data/rbi/telnyx/models/model_metadata.rbi +44 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +181 -4
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +6 -38
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +6 -38
- data/rbi/telnyx/models/public_internet_gateway_read.rbi +128 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +6 -38
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection.rbi +684 -0
- data/rbi/telnyx/models/uac_connection_create_params.rbi +12 -516
- data/rbi/telnyx/models/uac_connection_create_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_connection_update_params.rbi +12 -516
- data/rbi/telnyx/models/uac_connection_update_response.rbi +4 -1756
- data/rbi/telnyx/models/uac_external_settings.rbi +146 -0
- data/rbi/telnyx/models/uac_inbound.rbi +410 -0
- data/rbi/telnyx/models/uac_internal_settings.rbi +39 -0
- data/rbi/telnyx/models/uac_outbound.rbi +224 -0
- data/rbi/telnyx/models/virtual_cross_connect_combined.rbi +345 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +6 -36
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +6 -36
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +6 -38
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +6 -36
- data/rbi/telnyx/models/wireguard_interface_read.rbi +213 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +6 -36
- data/rbi/telnyx/models/xai_voice_settings.rbi +64 -0
- data/rbi/telnyx/models.rbi +20 -0
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +2 -4
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -9
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +6 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +7 -13
- data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
- data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -142
- data/sig/telnyx/models/ai/assistant_integration.rbs +26 -0
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +19 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -142
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +6 -113
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +4 -109
- data/sig/telnyx/models/ai/assistants/clause.rbs +46 -0
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +19 -0
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +33 -0
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +33 -0
- data/sig/telnyx/models/ai/assistants/serve.rbs +35 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -145
- data/sig/telnyx/models/ai/inference_embedding.rbs +18 -142
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +30 -0
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +4 -39
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +33 -0
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +38 -0
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +4 -39
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -15
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +1 -15
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +62 -0
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +130 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +2 -184
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -15
- data/sig/telnyx/models/model_metadata.rbs +32 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +106 -4
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +6 -18
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +6 -18
- data/sig/telnyx/models/public_internet_gateway_read.rbs +80 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection.rbs +338 -0
- data/sig/telnyx/models/uac_connection_create_params.rbs +17 -211
- data/sig/telnyx/models/uac_connection_create_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_delete_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +5 -731
- data/sig/telnyx/models/uac_connection_update_params.rbs +17 -211
- data/sig/telnyx/models/uac_connection_update_response.rbs +5 -731
- data/sig/telnyx/models/uac_external_settings.rbs +73 -0
- data/sig/telnyx/models/uac_inbound.rbs +190 -0
- data/sig/telnyx/models/uac_internal_settings.rbs +15 -0
- data/sig/telnyx/models/uac_outbound.rbs +113 -0
- data/sig/telnyx/models/virtual_cross_connect_combined.rbs +190 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +6 -18
- data/sig/telnyx/models/wireguard_interface_read.rbs +127 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/xai_voice_settings.rbs +34 -0
- data/sig/telnyx/models.rbs +20 -0
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
- data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
- metadata +67 -13
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +0 -10
- data/lib/telnyx/models/uac_connection_list_response.rb +0 -876
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +0 -10
- data/lib/telnyx/models/wireguard_interface_list_response.rb +0 -10
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +0 -23
- data/rbi/telnyx/models/uac_connection_list_response.rbi +0 -1727
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +0 -23
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +0 -23
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +0 -11
- data/sig/telnyx/models/uac_connection_list_response.rbs +0 -722
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +0 -11
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +0 -11
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_external_settings =
|
|
4
|
+
{
|
|
5
|
+
auth_username: String?,
|
|
6
|
+
expiration_sec: Integer?,
|
|
7
|
+
from_user: String?,
|
|
8
|
+
outbound_proxy: String?,
|
|
9
|
+
password: String,
|
|
10
|
+
proxy: String,
|
|
11
|
+
transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
12
|
+
username: String
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class UacExternalSettings < Telnyx::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor auth_username: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor expiration_sec: Integer?
|
|
19
|
+
|
|
20
|
+
attr_accessor from_user: String?
|
|
21
|
+
|
|
22
|
+
attr_accessor outbound_proxy: String?
|
|
23
|
+
|
|
24
|
+
attr_reader password: String?
|
|
25
|
+
|
|
26
|
+
def password=: (String) -> String
|
|
27
|
+
|
|
28
|
+
attr_reader proxy: String?
|
|
29
|
+
|
|
30
|
+
def proxy=: (String) -> String
|
|
31
|
+
|
|
32
|
+
attr_accessor transport: Telnyx::Models::UacExternalSettings::transport?
|
|
33
|
+
|
|
34
|
+
attr_reader username: String?
|
|
35
|
+
|
|
36
|
+
def username=: (String) -> String
|
|
37
|
+
|
|
38
|
+
def initialize: (
|
|
39
|
+
?auth_username: String?,
|
|
40
|
+
?expiration_sec: Integer?,
|
|
41
|
+
?from_user: String?,
|
|
42
|
+
?outbound_proxy: String?,
|
|
43
|
+
?password: String,
|
|
44
|
+
?proxy: String,
|
|
45
|
+
?transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
46
|
+
?username: String
|
|
47
|
+
) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> {
|
|
50
|
+
auth_username: String?,
|
|
51
|
+
expiration_sec: Integer?,
|
|
52
|
+
from_user: String?,
|
|
53
|
+
outbound_proxy: String?,
|
|
54
|
+
password: String,
|
|
55
|
+
proxy: String,
|
|
56
|
+
transport: Telnyx::Models::UacExternalSettings::transport?,
|
|
57
|
+
username: String
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type transport = :UDP | :TLS | :TCP
|
|
61
|
+
|
|
62
|
+
module Transport
|
|
63
|
+
extend Telnyx::Internal::Type::Enum
|
|
64
|
+
|
|
65
|
+
UDP: :UDP
|
|
66
|
+
TLS: :TLS
|
|
67
|
+
TCP: :TCP
|
|
68
|
+
|
|
69
|
+
def self?.values: -> ::Array[Telnyx::Models::UacExternalSettings::transport]
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_inbound =
|
|
4
|
+
{
|
|
5
|
+
ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
6
|
+
channel_limit: Integer,
|
|
7
|
+
codecs: ::Array[String],
|
|
8
|
+
default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
9
|
+
dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
10
|
+
generate_ringback_tone: bool,
|
|
11
|
+
isup_headers_enabled: bool,
|
|
12
|
+
prack_enabled: bool,
|
|
13
|
+
shaken_stir_enabled: bool,
|
|
14
|
+
simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
15
|
+
sip_compact_headers_enabled: bool,
|
|
16
|
+
sip_subdomain: String,
|
|
17
|
+
sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
18
|
+
:timeout_1xx_secs => Integer,
|
|
19
|
+
:timeout_2xx_secs => Integer
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
class UacInbound < Telnyx::Internal::Type::BaseModel
|
|
23
|
+
attr_reader ani_number_format: Telnyx::Models::UacInbound::ani_number_format?
|
|
24
|
+
|
|
25
|
+
def ani_number_format=: (
|
|
26
|
+
Telnyx::Models::UacInbound::ani_number_format
|
|
27
|
+
) -> Telnyx::Models::UacInbound::ani_number_format
|
|
28
|
+
|
|
29
|
+
attr_reader channel_limit: Integer?
|
|
30
|
+
|
|
31
|
+
def channel_limit=: (Integer) -> Integer
|
|
32
|
+
|
|
33
|
+
attr_reader codecs: ::Array[String]?
|
|
34
|
+
|
|
35
|
+
def codecs=: (::Array[String]) -> ::Array[String]
|
|
36
|
+
|
|
37
|
+
attr_reader default_routing_method: Telnyx::Models::UacInbound::default_routing_method?
|
|
38
|
+
|
|
39
|
+
def default_routing_method=: (
|
|
40
|
+
Telnyx::Models::UacInbound::default_routing_method
|
|
41
|
+
) -> Telnyx::Models::UacInbound::default_routing_method
|
|
42
|
+
|
|
43
|
+
attr_reader dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format?
|
|
44
|
+
|
|
45
|
+
def dnis_number_format=: (
|
|
46
|
+
Telnyx::Models::UacInbound::dnis_number_format
|
|
47
|
+
) -> Telnyx::Models::UacInbound::dnis_number_format
|
|
48
|
+
|
|
49
|
+
attr_reader generate_ringback_tone: bool?
|
|
50
|
+
|
|
51
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
52
|
+
|
|
53
|
+
attr_reader isup_headers_enabled: bool?
|
|
54
|
+
|
|
55
|
+
def isup_headers_enabled=: (bool) -> bool
|
|
56
|
+
|
|
57
|
+
attr_reader prack_enabled: bool?
|
|
58
|
+
|
|
59
|
+
def prack_enabled=: (bool) -> bool
|
|
60
|
+
|
|
61
|
+
attr_reader shaken_stir_enabled: bool?
|
|
62
|
+
|
|
63
|
+
def shaken_stir_enabled=: (bool) -> bool
|
|
64
|
+
|
|
65
|
+
attr_reader simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing?
|
|
66
|
+
|
|
67
|
+
def simultaneous_ringing=: (
|
|
68
|
+
Telnyx::Models::UacInbound::simultaneous_ringing
|
|
69
|
+
) -> Telnyx::Models::UacInbound::simultaneous_ringing
|
|
70
|
+
|
|
71
|
+
attr_reader sip_compact_headers_enabled: bool?
|
|
72
|
+
|
|
73
|
+
def sip_compact_headers_enabled=: (bool) -> bool
|
|
74
|
+
|
|
75
|
+
attr_reader sip_subdomain: String?
|
|
76
|
+
|
|
77
|
+
def sip_subdomain=: (String) -> String
|
|
78
|
+
|
|
79
|
+
attr_reader sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings?
|
|
80
|
+
|
|
81
|
+
def sip_subdomain_receive_settings=: (
|
|
82
|
+
Telnyx::Models::UacInbound::sip_subdomain_receive_settings
|
|
83
|
+
) -> Telnyx::Models::UacInbound::sip_subdomain_receive_settings
|
|
84
|
+
|
|
85
|
+
attr_reader timeout_1xx_secs: Integer?
|
|
86
|
+
|
|
87
|
+
def timeout_1xx_secs=: (Integer) -> Integer
|
|
88
|
+
|
|
89
|
+
attr_reader timeout_2xx_secs: Integer?
|
|
90
|
+
|
|
91
|
+
def timeout_2xx_secs=: (Integer) -> Integer
|
|
92
|
+
|
|
93
|
+
def initialize: (
|
|
94
|
+
?ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
95
|
+
?channel_limit: Integer,
|
|
96
|
+
?codecs: ::Array[String],
|
|
97
|
+
?default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
98
|
+
?dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
99
|
+
?generate_ringback_tone: bool,
|
|
100
|
+
?isup_headers_enabled: bool,
|
|
101
|
+
?prack_enabled: bool,
|
|
102
|
+
?shaken_stir_enabled: bool,
|
|
103
|
+
?simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
104
|
+
?sip_compact_headers_enabled: bool,
|
|
105
|
+
?sip_subdomain: String,
|
|
106
|
+
?sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
107
|
+
?timeout_1xx_secs: Integer,
|
|
108
|
+
?timeout_2xx_secs: Integer
|
|
109
|
+
) -> void
|
|
110
|
+
|
|
111
|
+
def to_hash: -> {
|
|
112
|
+
ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
113
|
+
channel_limit: Integer,
|
|
114
|
+
codecs: ::Array[String],
|
|
115
|
+
default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
116
|
+
dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
117
|
+
generate_ringback_tone: bool,
|
|
118
|
+
isup_headers_enabled: bool,
|
|
119
|
+
prack_enabled: bool,
|
|
120
|
+
shaken_stir_enabled: bool,
|
|
121
|
+
simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
122
|
+
sip_compact_headers_enabled: bool,
|
|
123
|
+
sip_subdomain: String,
|
|
124
|
+
sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
125
|
+
:timeout_1xx_secs => Integer,
|
|
126
|
+
:timeout_2xx_secs => Integer
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
type ani_number_format =
|
|
130
|
+
:"+E.164" | :"E.164" | :"+E.164-national" | :"E.164-national"
|
|
131
|
+
|
|
132
|
+
module AniNumberFormat
|
|
133
|
+
extend Telnyx::Internal::Type::Enum
|
|
134
|
+
|
|
135
|
+
PLUS_E_164: :"+E.164"
|
|
136
|
+
E_164: :"E.164"
|
|
137
|
+
PLUS_E_164_NATIONAL: :"+E.164-national"
|
|
138
|
+
E_164_NATIONAL: :"E.164-national"
|
|
139
|
+
|
|
140
|
+
def self?.values: -> ::Array[Telnyx::Models::UacInbound::ani_number_format]
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
type default_routing_method = :sequential | :"round-robin"
|
|
144
|
+
|
|
145
|
+
module DefaultRoutingMethod
|
|
146
|
+
extend Telnyx::Internal::Type::Enum
|
|
147
|
+
|
|
148
|
+
SEQUENTIAL: :sequential
|
|
149
|
+
ROUND_ROBIN: :"round-robin"
|
|
150
|
+
|
|
151
|
+
def self?.values: -> ::Array[Telnyx::Models::UacInbound::default_routing_method]
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
type dnis_number_format = :"+e164" | :e164 | :national | :sip_username
|
|
155
|
+
|
|
156
|
+
module DnisNumberFormat
|
|
157
|
+
extend Telnyx::Internal::Type::Enum
|
|
158
|
+
|
|
159
|
+
PLUS_E164: :"+e164"
|
|
160
|
+
E164: :e164
|
|
161
|
+
NATIONAL: :national
|
|
162
|
+
SIP_USERNAME: :sip_username
|
|
163
|
+
|
|
164
|
+
def self?.values: -> ::Array[Telnyx::Models::UacInbound::dnis_number_format]
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
type simultaneous_ringing = :disabled | :enabled
|
|
168
|
+
|
|
169
|
+
module SimultaneousRinging
|
|
170
|
+
extend Telnyx::Internal::Type::Enum
|
|
171
|
+
|
|
172
|
+
DISABLED: :disabled
|
|
173
|
+
ENABLED: :enabled
|
|
174
|
+
|
|
175
|
+
def self?.values: -> ::Array[Telnyx::Models::UacInbound::simultaneous_ringing]
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
type sip_subdomain_receive_settings = :only_my_connections | :from_anyone
|
|
179
|
+
|
|
180
|
+
module SipSubdomainReceiveSettings
|
|
181
|
+
extend Telnyx::Internal::Type::Enum
|
|
182
|
+
|
|
183
|
+
ONLY_MY_CONNECTIONS: :only_my_connections
|
|
184
|
+
FROM_ANYONE: :from_anyone
|
|
185
|
+
|
|
186
|
+
def self?.values: -> ::Array[Telnyx::Models::UacInbound::sip_subdomain_receive_settings]
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_internal_settings = { destination_uri: String }
|
|
4
|
+
|
|
5
|
+
class UacInternalSettings < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
attr_reader destination_uri: String?
|
|
7
|
+
|
|
8
|
+
def destination_uri=: (String) -> String
|
|
9
|
+
|
|
10
|
+
def initialize: (?destination_uri: String) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { destination_uri: String }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_outbound =
|
|
4
|
+
{
|
|
5
|
+
ani_override: String,
|
|
6
|
+
ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
7
|
+
call_parking_enabled: bool?,
|
|
8
|
+
channel_limit: Integer,
|
|
9
|
+
generate_ringback_tone: bool,
|
|
10
|
+
instant_ringback_enabled: bool,
|
|
11
|
+
localization: String,
|
|
12
|
+
outbound_voice_profile_id: String,
|
|
13
|
+
:t38_reinvite_source => Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class UacOutbound < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
attr_reader ani_override: String?
|
|
18
|
+
|
|
19
|
+
def ani_override=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader ani_override_type: Telnyx::Models::UacOutbound::ani_override_type?
|
|
22
|
+
|
|
23
|
+
def ani_override_type=: (
|
|
24
|
+
Telnyx::Models::UacOutbound::ani_override_type
|
|
25
|
+
) -> Telnyx::Models::UacOutbound::ani_override_type
|
|
26
|
+
|
|
27
|
+
attr_accessor call_parking_enabled: bool?
|
|
28
|
+
|
|
29
|
+
attr_reader channel_limit: Integer?
|
|
30
|
+
|
|
31
|
+
def channel_limit=: (Integer) -> Integer
|
|
32
|
+
|
|
33
|
+
attr_reader generate_ringback_tone: bool?
|
|
34
|
+
|
|
35
|
+
def generate_ringback_tone=: (bool) -> bool
|
|
36
|
+
|
|
37
|
+
attr_reader instant_ringback_enabled: bool?
|
|
38
|
+
|
|
39
|
+
def instant_ringback_enabled=: (bool) -> bool
|
|
40
|
+
|
|
41
|
+
attr_reader localization: String?
|
|
42
|
+
|
|
43
|
+
def localization=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader outbound_voice_profile_id: String?
|
|
46
|
+
|
|
47
|
+
def outbound_voice_profile_id=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_reader t38_reinvite_source: Telnyx::Models::UacOutbound::t38_reinvite_source?
|
|
50
|
+
|
|
51
|
+
def t38_reinvite_source=: (
|
|
52
|
+
Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
53
|
+
) -> Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
?ani_override: String,
|
|
57
|
+
?ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
58
|
+
?call_parking_enabled: bool?,
|
|
59
|
+
?channel_limit: Integer,
|
|
60
|
+
?generate_ringback_tone: bool,
|
|
61
|
+
?instant_ringback_enabled: bool,
|
|
62
|
+
?localization: String,
|
|
63
|
+
?outbound_voice_profile_id: String,
|
|
64
|
+
?t38_reinvite_source: Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
65
|
+
) -> void
|
|
66
|
+
|
|
67
|
+
def to_hash: -> {
|
|
68
|
+
ani_override: String,
|
|
69
|
+
ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
70
|
+
call_parking_enabled: bool?,
|
|
71
|
+
channel_limit: Integer,
|
|
72
|
+
generate_ringback_tone: bool,
|
|
73
|
+
instant_ringback_enabled: bool,
|
|
74
|
+
localization: String,
|
|
75
|
+
outbound_voice_profile_id: String,
|
|
76
|
+
:t38_reinvite_source => Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type ani_override_type = :always | :normal | :emergency
|
|
80
|
+
|
|
81
|
+
module AniOverrideType
|
|
82
|
+
extend Telnyx::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
ALWAYS: :always
|
|
85
|
+
NORMAL: :normal
|
|
86
|
+
EMERGENCY: :emergency
|
|
87
|
+
|
|
88
|
+
def self?.values: -> ::Array[Telnyx::Models::UacOutbound::ani_override_type]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type t38_reinvite_source =
|
|
92
|
+
:telnyx
|
|
93
|
+
| :customer
|
|
94
|
+
| :disabled
|
|
95
|
+
| :passthru
|
|
96
|
+
| :"caller-passthru"
|
|
97
|
+
| :"callee-passthru"
|
|
98
|
+
|
|
99
|
+
module T38ReinviteSource
|
|
100
|
+
extend Telnyx::Internal::Type::Enum
|
|
101
|
+
|
|
102
|
+
TELNYX: :telnyx
|
|
103
|
+
CUSTOMER: :customer
|
|
104
|
+
DISABLED: :disabled
|
|
105
|
+
PASSTHRU: :passthru
|
|
106
|
+
CALLER_PASSTHRU: :"caller-passthru"
|
|
107
|
+
CALLEE_PASSTHRU: :"callee-passthru"
|
|
108
|
+
|
|
109
|
+
def self?.values: -> ::Array[Telnyx::Models::UacOutbound::t38_reinvite_source]
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type virtual_cross_connect_combined =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
bandwidth_mbps: Float,
|
|
7
|
+
bgp_asn: Float,
|
|
8
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCombined::cloud_provider,
|
|
9
|
+
cloud_provider_region: String,
|
|
10
|
+
created_at: String,
|
|
11
|
+
name: String,
|
|
12
|
+
network_id: String,
|
|
13
|
+
primary_bgp_key: String,
|
|
14
|
+
primary_cloud_account_id: String,
|
|
15
|
+
primary_cloud_ip: String,
|
|
16
|
+
primary_enabled: bool,
|
|
17
|
+
primary_routing_announcement: bool,
|
|
18
|
+
primary_telnyx_ip: String,
|
|
19
|
+
record_type: String,
|
|
20
|
+
region: Telnyx::VirtualCrossConnectCombined::Region,
|
|
21
|
+
region_code: String,
|
|
22
|
+
status: Telnyx::Models::interface_status,
|
|
23
|
+
updated_at: String
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
class VirtualCrossConnectCombined < Telnyx::Internal::Type::BaseModel
|
|
27
|
+
attr_reader bandwidth_mbps: Float?
|
|
28
|
+
|
|
29
|
+
def bandwidth_mbps=: (Float) -> Float
|
|
30
|
+
|
|
31
|
+
attr_reader bgp_asn: Float?
|
|
32
|
+
|
|
33
|
+
def bgp_asn=: (Float) -> Float
|
|
34
|
+
|
|
35
|
+
attr_reader cloud_provider: Telnyx::Models::VirtualCrossConnectCombined::cloud_provider?
|
|
36
|
+
|
|
37
|
+
def cloud_provider=: (
|
|
38
|
+
Telnyx::Models::VirtualCrossConnectCombined::cloud_provider
|
|
39
|
+
) -> Telnyx::Models::VirtualCrossConnectCombined::cloud_provider
|
|
40
|
+
|
|
41
|
+
attr_reader cloud_provider_region: String?
|
|
42
|
+
|
|
43
|
+
def cloud_provider_region=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader name: String?
|
|
46
|
+
|
|
47
|
+
def name=: (String) -> String
|
|
48
|
+
|
|
49
|
+
attr_reader network_id: String?
|
|
50
|
+
|
|
51
|
+
def network_id=: (String) -> String
|
|
52
|
+
|
|
53
|
+
attr_reader primary_bgp_key: String?
|
|
54
|
+
|
|
55
|
+
def primary_bgp_key=: (String) -> String
|
|
56
|
+
|
|
57
|
+
attr_reader primary_cloud_account_id: String?
|
|
58
|
+
|
|
59
|
+
def primary_cloud_account_id=: (String) -> String
|
|
60
|
+
|
|
61
|
+
attr_reader primary_cloud_ip: String?
|
|
62
|
+
|
|
63
|
+
def primary_cloud_ip=: (String) -> String
|
|
64
|
+
|
|
65
|
+
attr_reader primary_enabled: bool?
|
|
66
|
+
|
|
67
|
+
def primary_enabled=: (bool) -> bool
|
|
68
|
+
|
|
69
|
+
attr_reader primary_routing_announcement: bool?
|
|
70
|
+
|
|
71
|
+
def primary_routing_announcement=: (bool) -> bool
|
|
72
|
+
|
|
73
|
+
attr_reader primary_telnyx_ip: String?
|
|
74
|
+
|
|
75
|
+
def primary_telnyx_ip=: (String) -> String
|
|
76
|
+
|
|
77
|
+
attr_reader region: Telnyx::VirtualCrossConnectCombined::Region?
|
|
78
|
+
|
|
79
|
+
def region=: (
|
|
80
|
+
Telnyx::VirtualCrossConnectCombined::Region
|
|
81
|
+
) -> Telnyx::VirtualCrossConnectCombined::Region
|
|
82
|
+
|
|
83
|
+
attr_reader region_code: String?
|
|
84
|
+
|
|
85
|
+
def region_code=: (String) -> String
|
|
86
|
+
|
|
87
|
+
attr_reader id: String?
|
|
88
|
+
|
|
89
|
+
def id=: (String) -> String
|
|
90
|
+
|
|
91
|
+
attr_reader created_at: String?
|
|
92
|
+
|
|
93
|
+
def created_at=: (String) -> String
|
|
94
|
+
|
|
95
|
+
attr_reader record_type: String?
|
|
96
|
+
|
|
97
|
+
def record_type=: (String) -> String
|
|
98
|
+
|
|
99
|
+
attr_reader status: Telnyx::Models::interface_status?
|
|
100
|
+
|
|
101
|
+
def status=: (
|
|
102
|
+
Telnyx::Models::interface_status
|
|
103
|
+
) -> Telnyx::Models::interface_status
|
|
104
|
+
|
|
105
|
+
attr_reader updated_at: String?
|
|
106
|
+
|
|
107
|
+
def updated_at=: (String) -> String
|
|
108
|
+
|
|
109
|
+
def initialize: (
|
|
110
|
+
?id: String,
|
|
111
|
+
?bandwidth_mbps: Float,
|
|
112
|
+
?bgp_asn: Float,
|
|
113
|
+
?cloud_provider: Telnyx::Models::VirtualCrossConnectCombined::cloud_provider,
|
|
114
|
+
?cloud_provider_region: String,
|
|
115
|
+
?created_at: String,
|
|
116
|
+
?name: String,
|
|
117
|
+
?network_id: String,
|
|
118
|
+
?primary_bgp_key: String,
|
|
119
|
+
?primary_cloud_account_id: String,
|
|
120
|
+
?primary_cloud_ip: String,
|
|
121
|
+
?primary_enabled: bool,
|
|
122
|
+
?primary_routing_announcement: bool,
|
|
123
|
+
?primary_telnyx_ip: String,
|
|
124
|
+
?record_type: String,
|
|
125
|
+
?region: Telnyx::VirtualCrossConnectCombined::Region,
|
|
126
|
+
?region_code: String,
|
|
127
|
+
?status: Telnyx::Models::interface_status,
|
|
128
|
+
?updated_at: String
|
|
129
|
+
) -> void
|
|
130
|
+
|
|
131
|
+
def to_hash: -> {
|
|
132
|
+
id: String,
|
|
133
|
+
bandwidth_mbps: Float,
|
|
134
|
+
bgp_asn: Float,
|
|
135
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCombined::cloud_provider,
|
|
136
|
+
cloud_provider_region: String,
|
|
137
|
+
created_at: String,
|
|
138
|
+
name: String,
|
|
139
|
+
network_id: String,
|
|
140
|
+
primary_bgp_key: String,
|
|
141
|
+
primary_cloud_account_id: String,
|
|
142
|
+
primary_cloud_ip: String,
|
|
143
|
+
primary_enabled: bool,
|
|
144
|
+
primary_routing_announcement: bool,
|
|
145
|
+
primary_telnyx_ip: String,
|
|
146
|
+
record_type: String,
|
|
147
|
+
region: Telnyx::VirtualCrossConnectCombined::Region,
|
|
148
|
+
region_code: String,
|
|
149
|
+
status: Telnyx::Models::interface_status,
|
|
150
|
+
updated_at: String
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type cloud_provider = :aws | :azure | :gce
|
|
154
|
+
|
|
155
|
+
module CloudProvider
|
|
156
|
+
extend Telnyx::Internal::Type::Enum
|
|
157
|
+
|
|
158
|
+
AWS: :aws
|
|
159
|
+
AZURE: :azure
|
|
160
|
+
GCE: :gce
|
|
161
|
+
|
|
162
|
+
def self?.values: -> ::Array[Telnyx::Models::VirtualCrossConnectCombined::cloud_provider]
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
type region = { code: String, name: String, record_type: String }
|
|
166
|
+
|
|
167
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
168
|
+
attr_reader code: String?
|
|
169
|
+
|
|
170
|
+
def code=: (String) -> String
|
|
171
|
+
|
|
172
|
+
attr_reader name: String?
|
|
173
|
+
|
|
174
|
+
def name=: (String) -> String
|
|
175
|
+
|
|
176
|
+
attr_reader record_type: String?
|
|
177
|
+
|
|
178
|
+
def record_type=: (String) -> String
|
|
179
|
+
|
|
180
|
+
def initialize: (
|
|
181
|
+
?code: String,
|
|
182
|
+
?name: String,
|
|
183
|
+
?record_type: String
|
|
184
|
+
) -> void
|
|
185
|
+
|
|
186
|
+
def to_hash: -> { code: String, name: String, record_type: String }
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type virtual_cross_connect_create_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::VirtualCrossConnectCombined }
|
|
5
5
|
|
|
6
6
|
class VirtualCrossConnectCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::VirtualCrossConnectCombined?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::VirtualCrossConnectCombined
|
|
11
|
+
) -> Telnyx::VirtualCrossConnectCombined
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::VirtualCrossConnectCreateResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::VirtualCrossConnectCombined) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::VirtualCrossConnectCreateResponse::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::VirtualCrossConnectCombined }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type virtual_cross_connect_delete_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::VirtualCrossConnectCombined }
|
|
5
5
|
|
|
6
6
|
class VirtualCrossConnectDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::VirtualCrossConnectCombined?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::VirtualCrossConnectCombined
|
|
11
|
+
) -> Telnyx::VirtualCrossConnectCombined
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::VirtualCrossConnectCombined) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::VirtualCrossConnectDeleteResponse::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::VirtualCrossConnectCombined }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
module Telnyx
|
|
2
2
|
module Models
|
|
3
3
|
type virtual_cross_connect_retrieve_response =
|
|
4
|
-
{ data: Telnyx::
|
|
4
|
+
{ data: Telnyx::VirtualCrossConnectCombined }
|
|
5
5
|
|
|
6
6
|
class VirtualCrossConnectRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader data: Telnyx::
|
|
7
|
+
attr_reader data: Telnyx::VirtualCrossConnectCombined?
|
|
8
8
|
|
|
9
9
|
def data=: (
|
|
10
|
-
Telnyx::
|
|
11
|
-
) -> Telnyx::
|
|
10
|
+
Telnyx::VirtualCrossConnectCombined
|
|
11
|
+
) -> Telnyx::VirtualCrossConnectCombined
|
|
12
12
|
|
|
13
|
-
def initialize: (
|
|
14
|
-
?data: Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data
|
|
15
|
-
) -> void
|
|
13
|
+
def initialize: (?data: Telnyx::VirtualCrossConnectCombined) -> void
|
|
16
14
|
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
data: Telnyx::Models::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectCombined }
|
|
28
16
|
end
|
|
29
17
|
end
|
|
30
18
|
end
|