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,224 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class UacOutbound < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias { T.any(Telnyx::UacOutbound, Telnyx::Internal::AnyHash) }
|
|
8
|
+
|
|
9
|
+
# Set a phone number as the ani_override value to override caller id number on
|
|
10
|
+
# outbound calls.
|
|
11
|
+
sig { returns(T.nilable(String)) }
|
|
12
|
+
attr_reader :ani_override
|
|
13
|
+
|
|
14
|
+
sig { params(ani_override: String).void }
|
|
15
|
+
attr_writer :ani_override
|
|
16
|
+
|
|
17
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
18
|
+
# ani_override is not blank.
|
|
19
|
+
sig { returns(T.nilable(Telnyx::UacOutbound::AniOverrideType::OrSymbol)) }
|
|
20
|
+
attr_reader :ani_override_type
|
|
21
|
+
|
|
22
|
+
sig do
|
|
23
|
+
params(
|
|
24
|
+
ani_override_type: Telnyx::UacOutbound::AniOverrideType::OrSymbol
|
|
25
|
+
).void
|
|
26
|
+
end
|
|
27
|
+
attr_writer :ani_override_type
|
|
28
|
+
|
|
29
|
+
# Forces all SIP calls originated on this connection to be "parked" instead of
|
|
30
|
+
# "bridged" to the destination specified on the URI. Parked calls will return
|
|
31
|
+
# ringback to the caller and will await for a Call Control command to define which
|
|
32
|
+
# action will be taken next.
|
|
33
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
34
|
+
attr_accessor :call_parking_enabled
|
|
35
|
+
|
|
36
|
+
# When set, this will limit the total number of outbound calls to phone numbers
|
|
37
|
+
# associated with this connection.
|
|
38
|
+
sig { returns(T.nilable(Integer)) }
|
|
39
|
+
attr_reader :channel_limit
|
|
40
|
+
|
|
41
|
+
sig { params(channel_limit: Integer).void }
|
|
42
|
+
attr_writer :channel_limit
|
|
43
|
+
|
|
44
|
+
# Generate ringback tone through 183 session progress message with early media.
|
|
45
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
46
|
+
attr_reader :generate_ringback_tone
|
|
47
|
+
|
|
48
|
+
sig { params(generate_ringback_tone: T::Boolean).void }
|
|
49
|
+
attr_writer :generate_ringback_tone
|
|
50
|
+
|
|
51
|
+
# When set, ringback will not wait for indication before sending ringback tone to
|
|
52
|
+
# calling party.
|
|
53
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
54
|
+
attr_reader :instant_ringback_enabled
|
|
55
|
+
|
|
56
|
+
sig { params(instant_ringback_enabled: T::Boolean).void }
|
|
57
|
+
attr_writer :instant_ringback_enabled
|
|
58
|
+
|
|
59
|
+
# A 2-character country code specifying the country whose national dialing rules
|
|
60
|
+
# should be used. For example, if set to `US` then any US number can be dialed
|
|
61
|
+
# without preprending +1 to the number. When left blank, Telnyx will try US and GB
|
|
62
|
+
# dialing rules, in that order, by default.
|
|
63
|
+
sig { returns(T.nilable(String)) }
|
|
64
|
+
attr_reader :localization
|
|
65
|
+
|
|
66
|
+
sig { params(localization: String).void }
|
|
67
|
+
attr_writer :localization
|
|
68
|
+
|
|
69
|
+
# Identifies the associated outbound voice profile.
|
|
70
|
+
sig { returns(T.nilable(String)) }
|
|
71
|
+
attr_reader :outbound_voice_profile_id
|
|
72
|
+
|
|
73
|
+
sig { params(outbound_voice_profile_id: String).void }
|
|
74
|
+
attr_writer :outbound_voice_profile_id
|
|
75
|
+
|
|
76
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
77
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
78
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
79
|
+
# expected to send the t.38 reinvite.
|
|
80
|
+
sig do
|
|
81
|
+
returns(T.nilable(Telnyx::UacOutbound::T38ReinviteSource::OrSymbol))
|
|
82
|
+
end
|
|
83
|
+
attr_reader :t38_reinvite_source
|
|
84
|
+
|
|
85
|
+
sig do
|
|
86
|
+
params(
|
|
87
|
+
t38_reinvite_source: Telnyx::UacOutbound::T38ReinviteSource::OrSymbol
|
|
88
|
+
).void
|
|
89
|
+
end
|
|
90
|
+
attr_writer :t38_reinvite_source
|
|
91
|
+
|
|
92
|
+
sig do
|
|
93
|
+
params(
|
|
94
|
+
ani_override: String,
|
|
95
|
+
ani_override_type: Telnyx::UacOutbound::AniOverrideType::OrSymbol,
|
|
96
|
+
call_parking_enabled: T.nilable(T::Boolean),
|
|
97
|
+
channel_limit: Integer,
|
|
98
|
+
generate_ringback_tone: T::Boolean,
|
|
99
|
+
instant_ringback_enabled: T::Boolean,
|
|
100
|
+
localization: String,
|
|
101
|
+
outbound_voice_profile_id: String,
|
|
102
|
+
t38_reinvite_source: Telnyx::UacOutbound::T38ReinviteSource::OrSymbol
|
|
103
|
+
).returns(T.attached_class)
|
|
104
|
+
end
|
|
105
|
+
def self.new(
|
|
106
|
+
# Set a phone number as the ani_override value to override caller id number on
|
|
107
|
+
# outbound calls.
|
|
108
|
+
ani_override: nil,
|
|
109
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
110
|
+
# ani_override is not blank.
|
|
111
|
+
ani_override_type: nil,
|
|
112
|
+
# Forces all SIP calls originated on this connection to be "parked" instead of
|
|
113
|
+
# "bridged" to the destination specified on the URI. Parked calls will return
|
|
114
|
+
# ringback to the caller and will await for a Call Control command to define which
|
|
115
|
+
# action will be taken next.
|
|
116
|
+
call_parking_enabled: nil,
|
|
117
|
+
# When set, this will limit the total number of outbound calls to phone numbers
|
|
118
|
+
# associated with this connection.
|
|
119
|
+
channel_limit: nil,
|
|
120
|
+
# Generate ringback tone through 183 session progress message with early media.
|
|
121
|
+
generate_ringback_tone: nil,
|
|
122
|
+
# When set, ringback will not wait for indication before sending ringback tone to
|
|
123
|
+
# calling party.
|
|
124
|
+
instant_ringback_enabled: nil,
|
|
125
|
+
# A 2-character country code specifying the country whose national dialing rules
|
|
126
|
+
# should be used. For example, if set to `US` then any US number can be dialed
|
|
127
|
+
# without preprending +1 to the number. When left blank, Telnyx will try US and GB
|
|
128
|
+
# dialing rules, in that order, by default.
|
|
129
|
+
localization: nil,
|
|
130
|
+
# Identifies the associated outbound voice profile.
|
|
131
|
+
outbound_voice_profile_id: nil,
|
|
132
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
133
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
134
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
135
|
+
# expected to send the t.38 reinvite.
|
|
136
|
+
t38_reinvite_source: nil
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
override.returns(
|
|
142
|
+
{
|
|
143
|
+
ani_override: String,
|
|
144
|
+
ani_override_type: Telnyx::UacOutbound::AniOverrideType::OrSymbol,
|
|
145
|
+
call_parking_enabled: T.nilable(T::Boolean),
|
|
146
|
+
channel_limit: Integer,
|
|
147
|
+
generate_ringback_tone: T::Boolean,
|
|
148
|
+
instant_ringback_enabled: T::Boolean,
|
|
149
|
+
localization: String,
|
|
150
|
+
outbound_voice_profile_id: String,
|
|
151
|
+
t38_reinvite_source:
|
|
152
|
+
Telnyx::UacOutbound::T38ReinviteSource::OrSymbol
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
end
|
|
156
|
+
def to_hash
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
160
|
+
# ani_override is not blank.
|
|
161
|
+
module AniOverrideType
|
|
162
|
+
extend Telnyx::Internal::Type::Enum
|
|
163
|
+
|
|
164
|
+
TaggedSymbol =
|
|
165
|
+
T.type_alias { T.all(Symbol, Telnyx::UacOutbound::AniOverrideType) }
|
|
166
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
167
|
+
|
|
168
|
+
ALWAYS =
|
|
169
|
+
T.let(:always, Telnyx::UacOutbound::AniOverrideType::TaggedSymbol)
|
|
170
|
+
NORMAL =
|
|
171
|
+
T.let(:normal, Telnyx::UacOutbound::AniOverrideType::TaggedSymbol)
|
|
172
|
+
EMERGENCY =
|
|
173
|
+
T.let(:emergency, Telnyx::UacOutbound::AniOverrideType::TaggedSymbol)
|
|
174
|
+
|
|
175
|
+
sig do
|
|
176
|
+
override.returns(
|
|
177
|
+
T::Array[Telnyx::UacOutbound::AniOverrideType::TaggedSymbol]
|
|
178
|
+
)
|
|
179
|
+
end
|
|
180
|
+
def self.values
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
185
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
186
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
187
|
+
# expected to send the t.38 reinvite.
|
|
188
|
+
module T38ReinviteSource
|
|
189
|
+
extend Telnyx::Internal::Type::Enum
|
|
190
|
+
|
|
191
|
+
TaggedSymbol =
|
|
192
|
+
T.type_alias { T.all(Symbol, Telnyx::UacOutbound::T38ReinviteSource) }
|
|
193
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
194
|
+
|
|
195
|
+
TELNYX =
|
|
196
|
+
T.let(:telnyx, Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol)
|
|
197
|
+
CUSTOMER =
|
|
198
|
+
T.let(:customer, Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol)
|
|
199
|
+
DISABLED =
|
|
200
|
+
T.let(:disabled, Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol)
|
|
201
|
+
PASSTHRU =
|
|
202
|
+
T.let(:passthru, Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol)
|
|
203
|
+
CALLER_PASSTHRU =
|
|
204
|
+
T.let(
|
|
205
|
+
:"caller-passthru",
|
|
206
|
+
Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol
|
|
207
|
+
)
|
|
208
|
+
CALLEE_PASSTHRU =
|
|
209
|
+
T.let(
|
|
210
|
+
:"callee-passthru",
|
|
211
|
+
Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
sig do
|
|
215
|
+
override.returns(
|
|
216
|
+
T::Array[Telnyx::UacOutbound::T38ReinviteSource::TaggedSymbol]
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
def self.values
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
end
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class VirtualCrossConnectCombined < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Telnyx::VirtualCrossConnectCombined, Telnyx::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
12
|
+
# Connect.
|
|
13
|
+
sig { returns(T.nilable(Float)) }
|
|
14
|
+
attr_reader :bandwidth_mbps
|
|
15
|
+
|
|
16
|
+
sig { params(bandwidth_mbps: Float).void }
|
|
17
|
+
attr_writer :bandwidth_mbps
|
|
18
|
+
|
|
19
|
+
# The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
20
|
+
sig { returns(T.nilable(Float)) }
|
|
21
|
+
attr_reader :bgp_asn
|
|
22
|
+
|
|
23
|
+
sig { params(bgp_asn: Float).void }
|
|
24
|
+
attr_writer :bgp_asn
|
|
25
|
+
|
|
26
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
|
27
|
+
# connect.
|
|
28
|
+
sig do
|
|
29
|
+
returns(
|
|
30
|
+
T.nilable(
|
|
31
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol
|
|
32
|
+
)
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
attr_reader :cloud_provider
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(
|
|
39
|
+
cloud_provider:
|
|
40
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::OrSymbol
|
|
41
|
+
).void
|
|
42
|
+
end
|
|
43
|
+
attr_writer :cloud_provider
|
|
44
|
+
|
|
45
|
+
# The region where your Virtual Private Cloud hosts are located.
|
|
46
|
+
sig { returns(T.nilable(String)) }
|
|
47
|
+
attr_reader :cloud_provider_region
|
|
48
|
+
|
|
49
|
+
sig { params(cloud_provider_region: String).void }
|
|
50
|
+
attr_writer :cloud_provider_region
|
|
51
|
+
|
|
52
|
+
# A user specified name for the interface.
|
|
53
|
+
sig { returns(T.nilable(String)) }
|
|
54
|
+
attr_reader :name
|
|
55
|
+
|
|
56
|
+
sig { params(name: String).void }
|
|
57
|
+
attr_writer :name
|
|
58
|
+
|
|
59
|
+
# The id of the network associated with the interface.
|
|
60
|
+
sig { returns(T.nilable(String)) }
|
|
61
|
+
attr_reader :network_id
|
|
62
|
+
|
|
63
|
+
sig { params(network_id: String).void }
|
|
64
|
+
attr_writer :network_id
|
|
65
|
+
|
|
66
|
+
# The authentication key for BGP peer configuration.
|
|
67
|
+
sig { returns(T.nilable(String)) }
|
|
68
|
+
attr_reader :primary_bgp_key
|
|
69
|
+
|
|
70
|
+
sig { params(primary_bgp_key: String).void }
|
|
71
|
+
attr_writer :primary_bgp_key
|
|
72
|
+
|
|
73
|
+
# The identifier for your Virtual Private Cloud.
|
|
74
|
+
sig { returns(T.nilable(String)) }
|
|
75
|
+
attr_reader :primary_cloud_account_id
|
|
76
|
+
|
|
77
|
+
sig { params(primary_cloud_account_id: String).void }
|
|
78
|
+
attr_writer :primary_cloud_account_id
|
|
79
|
+
|
|
80
|
+
# The IP address assigned for your side of the Virtual Cross Connect.
|
|
81
|
+
sig { returns(T.nilable(String)) }
|
|
82
|
+
attr_reader :primary_cloud_ip
|
|
83
|
+
|
|
84
|
+
sig { params(primary_cloud_ip: String).void }
|
|
85
|
+
attr_writer :primary_cloud_ip
|
|
86
|
+
|
|
87
|
+
# Indicates whether the primary circuit is enabled.
|
|
88
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
89
|
+
attr_reader :primary_enabled
|
|
90
|
+
|
|
91
|
+
sig { params(primary_enabled: T::Boolean).void }
|
|
92
|
+
attr_writer :primary_enabled
|
|
93
|
+
|
|
94
|
+
# Whether
|
|
95
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
96
|
+
attr_reader :primary_routing_announcement
|
|
97
|
+
|
|
98
|
+
sig { params(primary_routing_announcement: T::Boolean).void }
|
|
99
|
+
attr_writer :primary_routing_announcement
|
|
100
|
+
|
|
101
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
102
|
+
sig { returns(T.nilable(String)) }
|
|
103
|
+
attr_reader :primary_telnyx_ip
|
|
104
|
+
|
|
105
|
+
sig { params(primary_telnyx_ip: String).void }
|
|
106
|
+
attr_writer :primary_telnyx_ip
|
|
107
|
+
|
|
108
|
+
sig { returns(T.nilable(Telnyx::VirtualCrossConnectCombined::Region)) }
|
|
109
|
+
attr_reader :region
|
|
110
|
+
|
|
111
|
+
sig do
|
|
112
|
+
params(region: Telnyx::VirtualCrossConnectCombined::Region::OrHash).void
|
|
113
|
+
end
|
|
114
|
+
attr_writer :region
|
|
115
|
+
|
|
116
|
+
# The region interface is deployed to.
|
|
117
|
+
sig { returns(T.nilable(String)) }
|
|
118
|
+
attr_reader :region_code
|
|
119
|
+
|
|
120
|
+
sig { params(region_code: String).void }
|
|
121
|
+
attr_writer :region_code
|
|
122
|
+
|
|
123
|
+
# Identifies the resource.
|
|
124
|
+
sig { returns(T.nilable(String)) }
|
|
125
|
+
attr_reader :id
|
|
126
|
+
|
|
127
|
+
sig { params(id: String).void }
|
|
128
|
+
attr_writer :id
|
|
129
|
+
|
|
130
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
131
|
+
sig { returns(T.nilable(String)) }
|
|
132
|
+
attr_reader :created_at
|
|
133
|
+
|
|
134
|
+
sig { params(created_at: String).void }
|
|
135
|
+
attr_writer :created_at
|
|
136
|
+
|
|
137
|
+
# Identifies the type of the resource.
|
|
138
|
+
sig { returns(T.nilable(String)) }
|
|
139
|
+
attr_reader :record_type
|
|
140
|
+
|
|
141
|
+
sig { params(record_type: String).void }
|
|
142
|
+
attr_writer :record_type
|
|
143
|
+
|
|
144
|
+
# The current status of the interface deployment.
|
|
145
|
+
sig { returns(T.nilable(Telnyx::InterfaceStatus::TaggedSymbol)) }
|
|
146
|
+
attr_reader :status
|
|
147
|
+
|
|
148
|
+
sig { params(status: Telnyx::InterfaceStatus::OrSymbol).void }
|
|
149
|
+
attr_writer :status
|
|
150
|
+
|
|
151
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
152
|
+
sig { returns(T.nilable(String)) }
|
|
153
|
+
attr_reader :updated_at
|
|
154
|
+
|
|
155
|
+
sig { params(updated_at: String).void }
|
|
156
|
+
attr_writer :updated_at
|
|
157
|
+
|
|
158
|
+
sig do
|
|
159
|
+
params(
|
|
160
|
+
id: String,
|
|
161
|
+
bandwidth_mbps: Float,
|
|
162
|
+
bgp_asn: Float,
|
|
163
|
+
cloud_provider:
|
|
164
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::OrSymbol,
|
|
165
|
+
cloud_provider_region: String,
|
|
166
|
+
created_at: String,
|
|
167
|
+
name: String,
|
|
168
|
+
network_id: String,
|
|
169
|
+
primary_bgp_key: String,
|
|
170
|
+
primary_cloud_account_id: String,
|
|
171
|
+
primary_cloud_ip: String,
|
|
172
|
+
primary_enabled: T::Boolean,
|
|
173
|
+
primary_routing_announcement: T::Boolean,
|
|
174
|
+
primary_telnyx_ip: String,
|
|
175
|
+
record_type: String,
|
|
176
|
+
region: Telnyx::VirtualCrossConnectCombined::Region::OrHash,
|
|
177
|
+
region_code: String,
|
|
178
|
+
status: Telnyx::InterfaceStatus::OrSymbol,
|
|
179
|
+
updated_at: String
|
|
180
|
+
).returns(T.attached_class)
|
|
181
|
+
end
|
|
182
|
+
def self.new(
|
|
183
|
+
# Identifies the resource.
|
|
184
|
+
id: nil,
|
|
185
|
+
# The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
186
|
+
# Connect.
|
|
187
|
+
bandwidth_mbps: nil,
|
|
188
|
+
# The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
189
|
+
bgp_asn: nil,
|
|
190
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
|
191
|
+
# connect.
|
|
192
|
+
cloud_provider: nil,
|
|
193
|
+
# The region where your Virtual Private Cloud hosts are located.
|
|
194
|
+
cloud_provider_region: nil,
|
|
195
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
196
|
+
created_at: nil,
|
|
197
|
+
# A user specified name for the interface.
|
|
198
|
+
name: nil,
|
|
199
|
+
# The id of the network associated with the interface.
|
|
200
|
+
network_id: nil,
|
|
201
|
+
# The authentication key for BGP peer configuration.
|
|
202
|
+
primary_bgp_key: nil,
|
|
203
|
+
# The identifier for your Virtual Private Cloud.
|
|
204
|
+
primary_cloud_account_id: nil,
|
|
205
|
+
# The IP address assigned for your side of the Virtual Cross Connect.
|
|
206
|
+
primary_cloud_ip: nil,
|
|
207
|
+
# Indicates whether the primary circuit is enabled.
|
|
208
|
+
primary_enabled: nil,
|
|
209
|
+
# Whether
|
|
210
|
+
primary_routing_announcement: nil,
|
|
211
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
212
|
+
primary_telnyx_ip: nil,
|
|
213
|
+
# Identifies the type of the resource.
|
|
214
|
+
record_type: nil,
|
|
215
|
+
region: nil,
|
|
216
|
+
# The region interface is deployed to.
|
|
217
|
+
region_code: nil,
|
|
218
|
+
# The current status of the interface deployment.
|
|
219
|
+
status: nil,
|
|
220
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
221
|
+
updated_at: nil
|
|
222
|
+
)
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
sig do
|
|
226
|
+
override.returns(
|
|
227
|
+
{
|
|
228
|
+
id: String,
|
|
229
|
+
bandwidth_mbps: Float,
|
|
230
|
+
bgp_asn: Float,
|
|
231
|
+
cloud_provider:
|
|
232
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol,
|
|
233
|
+
cloud_provider_region: String,
|
|
234
|
+
created_at: String,
|
|
235
|
+
name: String,
|
|
236
|
+
network_id: String,
|
|
237
|
+
primary_bgp_key: String,
|
|
238
|
+
primary_cloud_account_id: String,
|
|
239
|
+
primary_cloud_ip: String,
|
|
240
|
+
primary_enabled: T::Boolean,
|
|
241
|
+
primary_routing_announcement: T::Boolean,
|
|
242
|
+
primary_telnyx_ip: String,
|
|
243
|
+
record_type: String,
|
|
244
|
+
region: Telnyx::VirtualCrossConnectCombined::Region,
|
|
245
|
+
region_code: String,
|
|
246
|
+
status: Telnyx::InterfaceStatus::TaggedSymbol,
|
|
247
|
+
updated_at: String
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
end
|
|
251
|
+
def to_hash
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
|
255
|
+
# connect.
|
|
256
|
+
module CloudProvider
|
|
257
|
+
extend Telnyx::Internal::Type::Enum
|
|
258
|
+
|
|
259
|
+
TaggedSymbol =
|
|
260
|
+
T.type_alias do
|
|
261
|
+
T.all(Symbol, Telnyx::VirtualCrossConnectCombined::CloudProvider)
|
|
262
|
+
end
|
|
263
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
264
|
+
|
|
265
|
+
AWS =
|
|
266
|
+
T.let(
|
|
267
|
+
:aws,
|
|
268
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol
|
|
269
|
+
)
|
|
270
|
+
AZURE =
|
|
271
|
+
T.let(
|
|
272
|
+
:azure,
|
|
273
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol
|
|
274
|
+
)
|
|
275
|
+
GCE =
|
|
276
|
+
T.let(
|
|
277
|
+
:gce,
|
|
278
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
sig do
|
|
282
|
+
override.returns(
|
|
283
|
+
T::Array[
|
|
284
|
+
Telnyx::VirtualCrossConnectCombined::CloudProvider::TaggedSymbol
|
|
285
|
+
]
|
|
286
|
+
)
|
|
287
|
+
end
|
|
288
|
+
def self.values
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
293
|
+
OrHash =
|
|
294
|
+
T.type_alias do
|
|
295
|
+
T.any(
|
|
296
|
+
Telnyx::VirtualCrossConnectCombined::Region,
|
|
297
|
+
Telnyx::Internal::AnyHash
|
|
298
|
+
)
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# Region code of the interface.
|
|
302
|
+
sig { returns(T.nilable(String)) }
|
|
303
|
+
attr_reader :code
|
|
304
|
+
|
|
305
|
+
sig { params(code: String).void }
|
|
306
|
+
attr_writer :code
|
|
307
|
+
|
|
308
|
+
# Region name of the interface.
|
|
309
|
+
sig { returns(T.nilable(String)) }
|
|
310
|
+
attr_reader :name
|
|
311
|
+
|
|
312
|
+
sig { params(name: String).void }
|
|
313
|
+
attr_writer :name
|
|
314
|
+
|
|
315
|
+
# Identifies the type of the resource.
|
|
316
|
+
sig { returns(T.nilable(String)) }
|
|
317
|
+
attr_reader :record_type
|
|
318
|
+
|
|
319
|
+
sig { params(record_type: String).void }
|
|
320
|
+
attr_writer :record_type
|
|
321
|
+
|
|
322
|
+
sig do
|
|
323
|
+
params(code: String, name: String, record_type: String).returns(
|
|
324
|
+
T.attached_class
|
|
325
|
+
)
|
|
326
|
+
end
|
|
327
|
+
def self.new(
|
|
328
|
+
# Region code of the interface.
|
|
329
|
+
code: nil,
|
|
330
|
+
# Region name of the interface.
|
|
331
|
+
name: nil,
|
|
332
|
+
# Identifies the type of the resource.
|
|
333
|
+
record_type: nil
|
|
334
|
+
)
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
sig do
|
|
338
|
+
override.returns({ code: String, name: String, record_type: String })
|
|
339
|
+
end
|
|
340
|
+
def to_hash
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
end
|
|
345
|
+
end
|
|
@@ -11,53 +11,23 @@ module Telnyx
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
sig
|
|
15
|
-
returns(
|
|
16
|
-
T.nilable(Telnyx::Models::VirtualCrossConnectCreateResponse::Data)
|
|
17
|
-
)
|
|
18
|
-
end
|
|
14
|
+
sig { returns(T.nilable(Telnyx::VirtualCrossConnectCombined)) }
|
|
19
15
|
attr_reader :data
|
|
20
16
|
|
|
21
|
-
sig
|
|
22
|
-
params(
|
|
23
|
-
data: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::OrHash
|
|
24
|
-
).void
|
|
25
|
-
end
|
|
17
|
+
sig { params(data: Telnyx::VirtualCrossConnectCombined::OrHash).void }
|
|
26
18
|
attr_writer :data
|
|
27
19
|
|
|
28
20
|
sig do
|
|
29
|
-
params(
|
|
30
|
-
|
|
31
|
-
)
|
|
21
|
+
params(data: Telnyx::VirtualCrossConnectCombined::OrHash).returns(
|
|
22
|
+
T.attached_class
|
|
23
|
+
)
|
|
32
24
|
end
|
|
33
25
|
def self.new(data: nil)
|
|
34
26
|
end
|
|
35
27
|
|
|
36
|
-
sig
|
|
37
|
-
override.returns(
|
|
38
|
-
{ data: Telnyx::Models::VirtualCrossConnectCreateResponse::Data }
|
|
39
|
-
)
|
|
40
|
-
end
|
|
28
|
+
sig { override.returns({ data: Telnyx::VirtualCrossConnectCombined }) }
|
|
41
29
|
def to_hash
|
|
42
30
|
end
|
|
43
|
-
|
|
44
|
-
class Data < Telnyx::Models::Record
|
|
45
|
-
OrHash =
|
|
46
|
-
T.type_alias do
|
|
47
|
-
T.any(
|
|
48
|
-
Telnyx::Models::VirtualCrossConnectCreateResponse::Data,
|
|
49
|
-
Telnyx::Internal::AnyHash
|
|
50
|
-
)
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
sig { returns(T.attached_class) }
|
|
54
|
-
def self.new
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
sig { override.returns({}) }
|
|
58
|
-
def to_hash
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
31
|
end
|
|
62
32
|
end
|
|
63
33
|
end
|
|
@@ -11,53 +11,23 @@ module Telnyx
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
sig
|
|
15
|
-
returns(
|
|
16
|
-
T.nilable(Telnyx::Models::VirtualCrossConnectDeleteResponse::Data)
|
|
17
|
-
)
|
|
18
|
-
end
|
|
14
|
+
sig { returns(T.nilable(Telnyx::VirtualCrossConnectCombined)) }
|
|
19
15
|
attr_reader :data
|
|
20
16
|
|
|
21
|
-
sig
|
|
22
|
-
params(
|
|
23
|
-
data: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::OrHash
|
|
24
|
-
).void
|
|
25
|
-
end
|
|
17
|
+
sig { params(data: Telnyx::VirtualCrossConnectCombined::OrHash).void }
|
|
26
18
|
attr_writer :data
|
|
27
19
|
|
|
28
20
|
sig do
|
|
29
|
-
params(
|
|
30
|
-
|
|
31
|
-
)
|
|
21
|
+
params(data: Telnyx::VirtualCrossConnectCombined::OrHash).returns(
|
|
22
|
+
T.attached_class
|
|
23
|
+
)
|
|
32
24
|
end
|
|
33
25
|
def self.new(data: nil)
|
|
34
26
|
end
|
|
35
27
|
|
|
36
|
-
sig
|
|
37
|
-
override.returns(
|
|
38
|
-
{ data: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data }
|
|
39
|
-
)
|
|
40
|
-
end
|
|
28
|
+
sig { override.returns({ data: Telnyx::VirtualCrossConnectCombined }) }
|
|
41
29
|
def to_hash
|
|
42
30
|
end
|
|
43
|
-
|
|
44
|
-
class Data < Telnyx::Models::Record
|
|
45
|
-
OrHash =
|
|
46
|
-
T.type_alias do
|
|
47
|
-
T.any(
|
|
48
|
-
Telnyx::Models::VirtualCrossConnectDeleteResponse::Data,
|
|
49
|
-
Telnyx::Internal::AnyHash
|
|
50
|
-
)
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
sig { returns(T.attached_class) }
|
|
54
|
-
def self.new
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
sig { override.returns({}) }
|
|
58
|
-
def to_hash
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
31
|
end
|
|
62
32
|
end
|
|
63
33
|
end
|