telnyx 4.0.0 → 4.2.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 +30 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/transport/pooled_net_requester.rb +7 -10
- data/lib/telnyx/models/{advanced_order_update_params.rb → advanced_order_update_requirement_group_params.rb} +9 -8
- data/lib/telnyx/models/{advanced_order_update_response.rb → advanced_order_update_requirement_group_response.rb} +1 -1
- data/lib/telnyx/models/calls/action_start_transcription_params.rb +3 -3
- data/lib/telnyx/models/calls/transcription_start_request.rb +448 -10
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb +156 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rb +151 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rb +3 -110
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -250
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rb +3 -71
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rb +79 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rb +3 -110
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -255
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/filter.rb +112 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb +109 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb +104 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rb +3 -96
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rb +3 -102
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rb +3 -102
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rb +3 -101
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rb +3 -102
- data/lib/telnyx/models/messaging_profile.rb +9 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +9 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
- data/lib/telnyx/models/network_list_interfaces_response.rb +114 -0
- data/lib/telnyx/models/oauth_client.rb +173 -0
- data/lib/telnyx/models/oauth_client_create_response.rb +3 -172
- data/lib/telnyx/models/oauth_client_list_response.rb +3 -171
- data/lib/telnyx/models/oauth_client_retrieve_response.rb +3 -172
- data/lib/telnyx/models/oauth_client_update_response.rb +3 -172
- data/lib/telnyx/models/oauth_grant.rb +68 -0
- data/lib/telnyx/models/oauth_grant_delete_response.rb +3 -67
- data/lib/telnyx/models/oauth_grant_list_response.rb +3 -66
- data/lib/telnyx/models/oauth_grant_retrieve_response.rb +3 -67
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +115 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +33 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +33 -1
- data/lib/telnyx/models/verify_profile_create_template_response.rb +3 -20
- data/lib/telnyx/models/verify_profile_message_template_response.rb +21 -0
- data/lib/telnyx/models/verify_profile_retrieve_templates_response.rb +3 -20
- data/lib/telnyx/models/verify_profile_update_template_response.rb +3 -20
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +274 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +275 -0
- data/lib/telnyx/models/wireguard_interface_create_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_list_response.rb +130 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +131 -0
- data/lib/telnyx/models/wireguard_peer_create_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_list_response.rb +77 -0
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_update_response.rb +78 -0
- data/lib/telnyx/models.rb +7 -1
- data/lib/telnyx/resources/advanced_orders.rb +26 -26
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rb +1 -1
- data/lib/telnyx/resources/legacy/reporting/batch_detail_records/voice.rb +1 -1
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +11 -2
- data/rbi/telnyx/models/{advanced_order_update_params.rbi → advanced_order_update_requirement_group_params.rbi} +53 -25
- data/rbi/telnyx/models/{advanced_order_update_response.rbi → advanced_order_update_requirement_group_response.rbi} +1 -1
- data/rbi/telnyx/models/calls/action_start_transcription_params.rbi +6 -6
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +1488 -15
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbi +232 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbi +346 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbi +4 -279
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbi +162 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbi +4 -279
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/filter.rbi +252 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbi +157 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbi +155 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbi +4 -150
- data/rbi/telnyx/models/messaging_profile.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +11 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +202 -0
- data/rbi/telnyx/models/oauth_client.rbi +250 -0
- data/rbi/telnyx/models/oauth_client_create_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_client_list_response.rbi +4 -313
- data/rbi/telnyx/models/oauth_client_retrieve_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_client_update_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_grant.rbi +95 -0
- data/rbi/telnyx/models/oauth_grant_delete_response.rbi +4 -127
- data/rbi/telnyx/models/oauth_grant_list_response.rbi +4 -123
- data/rbi/telnyx/models/oauth_grant_retrieve_response.rbi +4 -129
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +202 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +65 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +67 -0
- data/rbi/telnyx/models/verify_profile_create_template_response.rbi +4 -44
- data/rbi/telnyx/models/verify_profile_message_template_response.rbi +35 -0
- data/rbi/telnyx/models/verify_profile_retrieve_templates_response.rbi +3 -45
- data/rbi/telnyx/models/verify_profile_update_template_response.rbi +4 -44
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +444 -0
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +125 -0
- data/rbi/telnyx/models.rbi +9 -1
- data/rbi/telnyx/resources/advanced_orders.rbi +16 -14
- data/rbi/telnyx/resources/calls/actions.rbi +7 -3
- data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbi +1 -4
- data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbi +1 -4
- data/rbi/telnyx/resources/messaging_profiles.rbi +6 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/sig/telnyx/models/{advanced_order_update_params.rbs → advanced_order_update_requirement_group_params.rbs} +16 -16
- data/sig/telnyx/models/advanced_order_update_requirement_group_response.rbs +5 -0
- data/sig/telnyx/models/calls/action_start_transcription_params.rbs +5 -5
- data/sig/telnyx/models/calls/transcription_start_request.rbs +594 -11
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbs +142 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbs +163 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbs +6 -108
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbs +85 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbs +6 -108
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/filter.rbs +109 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbs +105 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbs +105 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbs +6 -102
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +110 -0
- data/sig/telnyx/models/oauth_client.rbs +137 -0
- data/sig/telnyx/models/oauth_client_create_response.rbs +5 -144
- data/sig/telnyx/models/oauth_client_list_response.rbs +5 -141
- data/sig/telnyx/models/oauth_client_retrieve_response.rbs +5 -146
- data/sig/telnyx/models/oauth_client_update_response.rbs +5 -144
- data/sig/telnyx/models/oauth_grant.rbs +55 -0
- data/sig/telnyx/models/oauth_grant_delete_response.rbs +5 -62
- data/sig/telnyx/models/oauth_grant_list_response.rbs +5 -59
- data/sig/telnyx/models/oauth_grant_retrieve_response.rbs +5 -62
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +110 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +21 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +21 -0
- data/sig/telnyx/models/verify_profile_create_template_response.rbs +6 -24
- data/sig/telnyx/models/verify_profile_message_template_response.rbs +19 -0
- data/sig/telnyx/models/verify_profile_retrieve_templates_response.rbs +4 -22
- data/sig/telnyx/models/verify_profile_update_template_response.rbs +6 -24
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +219 -0
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +68 -0
- data/sig/telnyx/models.rbs +7 -1
- data/sig/telnyx/resources/advanced_orders.rbs +6 -6
- data/sig/telnyx/resources/calls/actions.rbs +1 -1
- data/sig/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbs +1 -1
- data/sig/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbs +1 -1
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- metadata +35 -8
- data/sig/telnyx/models/advanced_order_update_response.rbs +0 -5
@@ -1,38 +1,20 @@
|
|
1
1
|
module Telnyx
|
2
2
|
module Models
|
3
3
|
type verify_profile_update_template_response =
|
4
|
-
{ data: Telnyx::
|
4
|
+
{ data: Telnyx::VerifyProfileMessageTemplateResponse }
|
5
5
|
|
6
6
|
class VerifyProfileUpdateTemplateResponse < Telnyx::Internal::Type::BaseModel
|
7
|
-
attr_reader data: Telnyx::
|
7
|
+
attr_reader data: Telnyx::VerifyProfileMessageTemplateResponse?
|
8
8
|
|
9
9
|
def data=: (
|
10
|
-
Telnyx::
|
11
|
-
) -> Telnyx::
|
10
|
+
Telnyx::VerifyProfileMessageTemplateResponse
|
11
|
+
) -> Telnyx::VerifyProfileMessageTemplateResponse
|
12
12
|
|
13
13
|
def initialize: (
|
14
|
-
?data: Telnyx::
|
14
|
+
?data: Telnyx::VerifyProfileMessageTemplateResponse
|
15
15
|
) -> void
|
16
16
|
|
17
|
-
def to_hash: -> {
|
18
|
-
data: Telnyx::Models::VerifyProfileUpdateTemplateResponse::Data
|
19
|
-
}
|
20
|
-
|
21
|
-
type data = { id: String, text: String }
|
22
|
-
|
23
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
24
|
-
attr_reader id: String?
|
25
|
-
|
26
|
-
def id=: (String) -> String
|
27
|
-
|
28
|
-
attr_reader text: String?
|
29
|
-
|
30
|
-
def text=: (String) -> String
|
31
|
-
|
32
|
-
def initialize: (?id: String, ?text: String) -> void
|
33
|
-
|
34
|
-
def to_hash: -> { id: String, text: String }
|
35
|
-
end
|
17
|
+
def to_hash: -> { data: Telnyx::VerifyProfileMessageTemplateResponse }
|
36
18
|
end
|
37
19
|
end
|
38
20
|
end
|
@@ -17,6 +17,225 @@ module Telnyx
|
|
17
17
|
def to_hash: -> {
|
18
18
|
data: Telnyx::Models::VirtualCrossConnectCreateResponse::Data
|
19
19
|
}
|
20
|
+
|
21
|
+
type data =
|
22
|
+
{
|
23
|
+
id: String,
|
24
|
+
created_at: String,
|
25
|
+
record_type: String,
|
26
|
+
updated_at: String,
|
27
|
+
name: String,
|
28
|
+
network_id: String,
|
29
|
+
status: Telnyx::Models::interface_status,
|
30
|
+
region_code: String,
|
31
|
+
bgp_asn: Float,
|
32
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::cloud_provider,
|
33
|
+
cloud_provider_region: String,
|
34
|
+
primary_cloud_account_id: String,
|
35
|
+
bandwidth_mbps: Float,
|
36
|
+
primary_bgp_key: String,
|
37
|
+
primary_cloud_ip: String,
|
38
|
+
primary_enabled: bool,
|
39
|
+
primary_routing_announcement: bool,
|
40
|
+
primary_telnyx_ip: String,
|
41
|
+
region: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region,
|
42
|
+
secondary_bgp_key: String,
|
43
|
+
secondary_cloud_account_id: String,
|
44
|
+
secondary_cloud_ip: String,
|
45
|
+
secondary_enabled: bool,
|
46
|
+
secondary_routing_announcement: bool,
|
47
|
+
secondary_telnyx_ip: String
|
48
|
+
}
|
49
|
+
|
50
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
51
|
+
attr_reader name: String?
|
52
|
+
|
53
|
+
def name=: (String) -> String
|
54
|
+
|
55
|
+
attr_reader network_id: String?
|
56
|
+
|
57
|
+
def network_id=: (String) -> String
|
58
|
+
|
59
|
+
attr_reader region_code: String?
|
60
|
+
|
61
|
+
def region_code=: (String) -> String
|
62
|
+
|
63
|
+
attr_accessor bgp_asn: Float
|
64
|
+
|
65
|
+
attr_accessor cloud_provider: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::cloud_provider
|
66
|
+
|
67
|
+
attr_accessor cloud_provider_region: String
|
68
|
+
|
69
|
+
attr_accessor primary_cloud_account_id: String
|
70
|
+
|
71
|
+
attr_reader bandwidth_mbps: Float?
|
72
|
+
|
73
|
+
def bandwidth_mbps=: (Float) -> Float
|
74
|
+
|
75
|
+
attr_reader primary_bgp_key: String?
|
76
|
+
|
77
|
+
def primary_bgp_key=: (String) -> String
|
78
|
+
|
79
|
+
attr_reader primary_cloud_ip: String?
|
80
|
+
|
81
|
+
def primary_cloud_ip=: (String) -> String
|
82
|
+
|
83
|
+
attr_reader primary_enabled: bool?
|
84
|
+
|
85
|
+
def primary_enabled=: (bool) -> bool
|
86
|
+
|
87
|
+
attr_reader primary_routing_announcement: bool?
|
88
|
+
|
89
|
+
def primary_routing_announcement=: (bool) -> bool
|
90
|
+
|
91
|
+
attr_reader primary_telnyx_ip: String?
|
92
|
+
|
93
|
+
def primary_telnyx_ip=: (String) -> String
|
94
|
+
|
95
|
+
attr_reader region: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region?
|
96
|
+
|
97
|
+
def region=: (
|
98
|
+
Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region
|
99
|
+
) -> Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region
|
100
|
+
|
101
|
+
attr_reader secondary_bgp_key: String?
|
102
|
+
|
103
|
+
def secondary_bgp_key=: (String) -> String
|
104
|
+
|
105
|
+
attr_reader secondary_cloud_account_id: String?
|
106
|
+
|
107
|
+
def secondary_cloud_account_id=: (String) -> String
|
108
|
+
|
109
|
+
attr_reader secondary_cloud_ip: String?
|
110
|
+
|
111
|
+
def secondary_cloud_ip=: (String) -> String
|
112
|
+
|
113
|
+
attr_reader secondary_enabled: bool?
|
114
|
+
|
115
|
+
def secondary_enabled=: (bool) -> bool
|
116
|
+
|
117
|
+
attr_reader secondary_routing_announcement: bool?
|
118
|
+
|
119
|
+
def secondary_routing_announcement=: (bool) -> bool
|
120
|
+
|
121
|
+
attr_reader secondary_telnyx_ip: String?
|
122
|
+
|
123
|
+
def secondary_telnyx_ip=: (String) -> String
|
124
|
+
|
125
|
+
attr_reader id: String?
|
126
|
+
|
127
|
+
def id=: (String) -> String
|
128
|
+
|
129
|
+
attr_reader created_at: String?
|
130
|
+
|
131
|
+
def created_at=: (String) -> String
|
132
|
+
|
133
|
+
attr_reader record_type: String?
|
134
|
+
|
135
|
+
def record_type=: (String) -> String
|
136
|
+
|
137
|
+
attr_reader updated_at: String?
|
138
|
+
|
139
|
+
def updated_at=: (String) -> String
|
140
|
+
|
141
|
+
attr_reader status: Telnyx::Models::interface_status?
|
142
|
+
|
143
|
+
def status=: (
|
144
|
+
Telnyx::Models::interface_status
|
145
|
+
) -> Telnyx::Models::interface_status
|
146
|
+
|
147
|
+
def initialize: (
|
148
|
+
bgp_asn: Float,
|
149
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::cloud_provider,
|
150
|
+
cloud_provider_region: String,
|
151
|
+
primary_cloud_account_id: String,
|
152
|
+
?id: String,
|
153
|
+
?created_at: String,
|
154
|
+
?record_type: String,
|
155
|
+
?updated_at: String,
|
156
|
+
?name: String,
|
157
|
+
?network_id: String,
|
158
|
+
?status: Telnyx::Models::interface_status,
|
159
|
+
?region_code: String,
|
160
|
+
?bandwidth_mbps: Float,
|
161
|
+
?primary_bgp_key: String,
|
162
|
+
?primary_cloud_ip: String,
|
163
|
+
?primary_enabled: bool,
|
164
|
+
?primary_routing_announcement: bool,
|
165
|
+
?primary_telnyx_ip: String,
|
166
|
+
?region: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region,
|
167
|
+
?secondary_bgp_key: String,
|
168
|
+
?secondary_cloud_account_id: String,
|
169
|
+
?secondary_cloud_ip: String,
|
170
|
+
?secondary_enabled: bool,
|
171
|
+
?secondary_routing_announcement: bool,
|
172
|
+
?secondary_telnyx_ip: String
|
173
|
+
) -> void
|
174
|
+
|
175
|
+
def to_hash: -> {
|
176
|
+
id: String,
|
177
|
+
created_at: String,
|
178
|
+
record_type: String,
|
179
|
+
updated_at: String,
|
180
|
+
name: String,
|
181
|
+
network_id: String,
|
182
|
+
status: Telnyx::Models::interface_status,
|
183
|
+
region_code: String,
|
184
|
+
bgp_asn: Float,
|
185
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::cloud_provider,
|
186
|
+
cloud_provider_region: String,
|
187
|
+
primary_cloud_account_id: String,
|
188
|
+
bandwidth_mbps: Float,
|
189
|
+
primary_bgp_key: String,
|
190
|
+
primary_cloud_ip: String,
|
191
|
+
primary_enabled: bool,
|
192
|
+
primary_routing_announcement: bool,
|
193
|
+
primary_telnyx_ip: String,
|
194
|
+
region: Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region,
|
195
|
+
secondary_bgp_key: String,
|
196
|
+
secondary_cloud_account_id: String,
|
197
|
+
secondary_cloud_ip: String,
|
198
|
+
secondary_enabled: bool,
|
199
|
+
secondary_routing_announcement: bool,
|
200
|
+
secondary_telnyx_ip: String
|
201
|
+
}
|
202
|
+
|
203
|
+
type cloud_provider = :aws | :azure | :gce
|
204
|
+
|
205
|
+
module CloudProvider
|
206
|
+
extend Telnyx::Internal::Type::Enum
|
207
|
+
|
208
|
+
AWS: :aws
|
209
|
+
AZURE: :azure
|
210
|
+
GCE: :gce
|
211
|
+
|
212
|
+
def self?.values: -> ::Array[Telnyx::Models::VirtualCrossConnectCreateResponse::Data::cloud_provider]
|
213
|
+
end
|
214
|
+
|
215
|
+
type region = { code: String, name: String, record_type: String }
|
216
|
+
|
217
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
218
|
+
attr_reader code: String?
|
219
|
+
|
220
|
+
def code=: (String) -> String
|
221
|
+
|
222
|
+
attr_reader name: String?
|
223
|
+
|
224
|
+
def name=: (String) -> String
|
225
|
+
|
226
|
+
attr_reader record_type: String?
|
227
|
+
|
228
|
+
def record_type=: (String) -> String
|
229
|
+
|
230
|
+
def initialize: (
|
231
|
+
?code: String,
|
232
|
+
?name: String,
|
233
|
+
?record_type: String
|
234
|
+
) -> void
|
235
|
+
|
236
|
+
def to_hash: -> { code: String, name: String, record_type: String }
|
237
|
+
end
|
238
|
+
end
|
20
239
|
end
|
21
240
|
end
|
22
241
|
end
|
@@ -17,6 +17,225 @@ module Telnyx
|
|
17
17
|
def to_hash: -> {
|
18
18
|
data: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data
|
19
19
|
}
|
20
|
+
|
21
|
+
type data =
|
22
|
+
{
|
23
|
+
id: String,
|
24
|
+
created_at: String,
|
25
|
+
record_type: String,
|
26
|
+
updated_at: String,
|
27
|
+
name: String,
|
28
|
+
network_id: String,
|
29
|
+
status: Telnyx::Models::interface_status,
|
30
|
+
region_code: String,
|
31
|
+
bgp_asn: Float,
|
32
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::cloud_provider,
|
33
|
+
cloud_provider_region: String,
|
34
|
+
primary_cloud_account_id: String,
|
35
|
+
bandwidth_mbps: Float,
|
36
|
+
primary_bgp_key: String,
|
37
|
+
primary_cloud_ip: String,
|
38
|
+
primary_enabled: bool,
|
39
|
+
primary_routing_announcement: bool,
|
40
|
+
primary_telnyx_ip: String,
|
41
|
+
region: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region,
|
42
|
+
secondary_bgp_key: String,
|
43
|
+
secondary_cloud_account_id: String,
|
44
|
+
secondary_cloud_ip: String,
|
45
|
+
secondary_enabled: bool,
|
46
|
+
secondary_routing_announcement: bool,
|
47
|
+
secondary_telnyx_ip: String
|
48
|
+
}
|
49
|
+
|
50
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
51
|
+
attr_reader name: String?
|
52
|
+
|
53
|
+
def name=: (String) -> String
|
54
|
+
|
55
|
+
attr_reader network_id: String?
|
56
|
+
|
57
|
+
def network_id=: (String) -> String
|
58
|
+
|
59
|
+
attr_reader region_code: String?
|
60
|
+
|
61
|
+
def region_code=: (String) -> String
|
62
|
+
|
63
|
+
attr_accessor bgp_asn: Float
|
64
|
+
|
65
|
+
attr_accessor cloud_provider: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::cloud_provider
|
66
|
+
|
67
|
+
attr_accessor cloud_provider_region: String
|
68
|
+
|
69
|
+
attr_accessor primary_cloud_account_id: String
|
70
|
+
|
71
|
+
attr_reader bandwidth_mbps: Float?
|
72
|
+
|
73
|
+
def bandwidth_mbps=: (Float) -> Float
|
74
|
+
|
75
|
+
attr_reader primary_bgp_key: String?
|
76
|
+
|
77
|
+
def primary_bgp_key=: (String) -> String
|
78
|
+
|
79
|
+
attr_reader primary_cloud_ip: String?
|
80
|
+
|
81
|
+
def primary_cloud_ip=: (String) -> String
|
82
|
+
|
83
|
+
attr_reader primary_enabled: bool?
|
84
|
+
|
85
|
+
def primary_enabled=: (bool) -> bool
|
86
|
+
|
87
|
+
attr_reader primary_routing_announcement: bool?
|
88
|
+
|
89
|
+
def primary_routing_announcement=: (bool) -> bool
|
90
|
+
|
91
|
+
attr_reader primary_telnyx_ip: String?
|
92
|
+
|
93
|
+
def primary_telnyx_ip=: (String) -> String
|
94
|
+
|
95
|
+
attr_reader region: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region?
|
96
|
+
|
97
|
+
def region=: (
|
98
|
+
Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region
|
99
|
+
) -> Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region
|
100
|
+
|
101
|
+
attr_reader secondary_bgp_key: String?
|
102
|
+
|
103
|
+
def secondary_bgp_key=: (String) -> String
|
104
|
+
|
105
|
+
attr_reader secondary_cloud_account_id: String?
|
106
|
+
|
107
|
+
def secondary_cloud_account_id=: (String) -> String
|
108
|
+
|
109
|
+
attr_reader secondary_cloud_ip: String?
|
110
|
+
|
111
|
+
def secondary_cloud_ip=: (String) -> String
|
112
|
+
|
113
|
+
attr_reader secondary_enabled: bool?
|
114
|
+
|
115
|
+
def secondary_enabled=: (bool) -> bool
|
116
|
+
|
117
|
+
attr_reader secondary_routing_announcement: bool?
|
118
|
+
|
119
|
+
def secondary_routing_announcement=: (bool) -> bool
|
120
|
+
|
121
|
+
attr_reader secondary_telnyx_ip: String?
|
122
|
+
|
123
|
+
def secondary_telnyx_ip=: (String) -> String
|
124
|
+
|
125
|
+
attr_reader id: String?
|
126
|
+
|
127
|
+
def id=: (String) -> String
|
128
|
+
|
129
|
+
attr_reader created_at: String?
|
130
|
+
|
131
|
+
def created_at=: (String) -> String
|
132
|
+
|
133
|
+
attr_reader record_type: String?
|
134
|
+
|
135
|
+
def record_type=: (String) -> String
|
136
|
+
|
137
|
+
attr_reader updated_at: String?
|
138
|
+
|
139
|
+
def updated_at=: (String) -> String
|
140
|
+
|
141
|
+
attr_reader status: Telnyx::Models::interface_status?
|
142
|
+
|
143
|
+
def status=: (
|
144
|
+
Telnyx::Models::interface_status
|
145
|
+
) -> Telnyx::Models::interface_status
|
146
|
+
|
147
|
+
def initialize: (
|
148
|
+
bgp_asn: Float,
|
149
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::cloud_provider,
|
150
|
+
cloud_provider_region: String,
|
151
|
+
primary_cloud_account_id: String,
|
152
|
+
?id: String,
|
153
|
+
?created_at: String,
|
154
|
+
?record_type: String,
|
155
|
+
?updated_at: String,
|
156
|
+
?name: String,
|
157
|
+
?network_id: String,
|
158
|
+
?status: Telnyx::Models::interface_status,
|
159
|
+
?region_code: String,
|
160
|
+
?bandwidth_mbps: Float,
|
161
|
+
?primary_bgp_key: String,
|
162
|
+
?primary_cloud_ip: String,
|
163
|
+
?primary_enabled: bool,
|
164
|
+
?primary_routing_announcement: bool,
|
165
|
+
?primary_telnyx_ip: String,
|
166
|
+
?region: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region,
|
167
|
+
?secondary_bgp_key: String,
|
168
|
+
?secondary_cloud_account_id: String,
|
169
|
+
?secondary_cloud_ip: String,
|
170
|
+
?secondary_enabled: bool,
|
171
|
+
?secondary_routing_announcement: bool,
|
172
|
+
?secondary_telnyx_ip: String
|
173
|
+
) -> void
|
174
|
+
|
175
|
+
def to_hash: -> {
|
176
|
+
id: String,
|
177
|
+
created_at: String,
|
178
|
+
record_type: String,
|
179
|
+
updated_at: String,
|
180
|
+
name: String,
|
181
|
+
network_id: String,
|
182
|
+
status: Telnyx::Models::interface_status,
|
183
|
+
region_code: String,
|
184
|
+
bgp_asn: Float,
|
185
|
+
cloud_provider: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::cloud_provider,
|
186
|
+
cloud_provider_region: String,
|
187
|
+
primary_cloud_account_id: String,
|
188
|
+
bandwidth_mbps: Float,
|
189
|
+
primary_bgp_key: String,
|
190
|
+
primary_cloud_ip: String,
|
191
|
+
primary_enabled: bool,
|
192
|
+
primary_routing_announcement: bool,
|
193
|
+
primary_telnyx_ip: String,
|
194
|
+
region: Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region,
|
195
|
+
secondary_bgp_key: String,
|
196
|
+
secondary_cloud_account_id: String,
|
197
|
+
secondary_cloud_ip: String,
|
198
|
+
secondary_enabled: bool,
|
199
|
+
secondary_routing_announcement: bool,
|
200
|
+
secondary_telnyx_ip: String
|
201
|
+
}
|
202
|
+
|
203
|
+
type cloud_provider = :aws | :azure | :gce
|
204
|
+
|
205
|
+
module CloudProvider
|
206
|
+
extend Telnyx::Internal::Type::Enum
|
207
|
+
|
208
|
+
AWS: :aws
|
209
|
+
AZURE: :azure
|
210
|
+
GCE: :gce
|
211
|
+
|
212
|
+
def self?.values: -> ::Array[Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::cloud_provider]
|
213
|
+
end
|
214
|
+
|
215
|
+
type region = { code: String, name: String, record_type: String }
|
216
|
+
|
217
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
218
|
+
attr_reader code: String?
|
219
|
+
|
220
|
+
def code=: (String) -> String
|
221
|
+
|
222
|
+
attr_reader name: String?
|
223
|
+
|
224
|
+
def name=: (String) -> String
|
225
|
+
|
226
|
+
attr_reader record_type: String?
|
227
|
+
|
228
|
+
def record_type=: (String) -> String
|
229
|
+
|
230
|
+
def initialize: (
|
231
|
+
?code: String,
|
232
|
+
?name: String,
|
233
|
+
?record_type: String
|
234
|
+
) -> void
|
235
|
+
|
236
|
+
def to_hash: -> { code: String, name: String, record_type: String }
|
237
|
+
end
|
238
|
+
end
|
20
239
|
end
|
21
240
|
end
|
22
241
|
end
|