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
@@ -11,6 +11,137 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute name
|
18
|
+
# A user specified name for the interface.
|
19
|
+
#
|
20
|
+
# @return [String, nil]
|
21
|
+
optional :name, String
|
22
|
+
|
23
|
+
# @!attribute network_id
|
24
|
+
# The id of the network associated with the interface.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :network_id, String
|
28
|
+
|
29
|
+
# @!attribute enable_sip_trunking
|
30
|
+
# Enable SIP traffic forwarding over VPN interface.
|
31
|
+
#
|
32
|
+
# @return [Boolean, nil]
|
33
|
+
optional :enable_sip_trunking, Telnyx::Internal::Type::Boolean
|
34
|
+
|
35
|
+
# @!attribute region
|
36
|
+
#
|
37
|
+
# @return [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region, nil]
|
38
|
+
optional :region, -> { Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region }
|
39
|
+
|
40
|
+
# @!attribute region_code
|
41
|
+
# The region interface is deployed to.
|
42
|
+
#
|
43
|
+
# @return [String, nil]
|
44
|
+
optional :region_code, String
|
45
|
+
|
46
|
+
response_only do
|
47
|
+
# @!attribute id
|
48
|
+
# Identifies the resource.
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :id, String
|
52
|
+
|
53
|
+
# @!attribute created_at
|
54
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
55
|
+
#
|
56
|
+
# @return [String, nil]
|
57
|
+
optional :created_at, String
|
58
|
+
|
59
|
+
# @!attribute record_type
|
60
|
+
# Identifies the type of the resource.
|
61
|
+
#
|
62
|
+
# @return [String, nil]
|
63
|
+
optional :record_type, String
|
64
|
+
|
65
|
+
# @!attribute updated_at
|
66
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :updated_at, String
|
70
|
+
|
71
|
+
# @!attribute status
|
72
|
+
# The current status of the interface deployment.
|
73
|
+
#
|
74
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
75
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
76
|
+
|
77
|
+
# @!attribute endpoint
|
78
|
+
# The Telnyx WireGuard peers `Peer.endpoint` value.
|
79
|
+
#
|
80
|
+
# @return [String, nil]
|
81
|
+
optional :endpoint, String
|
82
|
+
|
83
|
+
# @!attribute public_key
|
84
|
+
# The Telnyx WireGuard peers `Peer.PublicKey`.
|
85
|
+
#
|
86
|
+
# @return [String, nil]
|
87
|
+
optional :public_key, String
|
88
|
+
end
|
89
|
+
|
90
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, enable_sip_trunking: nil, endpoint: nil, public_key: nil, region: nil, region_code: nil)
|
91
|
+
# @param id [String] Identifies the resource.
|
92
|
+
#
|
93
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
94
|
+
#
|
95
|
+
# @param record_type [String] Identifies the type of the resource.
|
96
|
+
#
|
97
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
98
|
+
#
|
99
|
+
# @param name [String] A user specified name for the interface.
|
100
|
+
#
|
101
|
+
# @param network_id [String] The id of the network associated with the interface.
|
102
|
+
#
|
103
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
104
|
+
#
|
105
|
+
# @param enable_sip_trunking [Boolean] Enable SIP traffic forwarding over VPN interface.
|
106
|
+
#
|
107
|
+
# @param endpoint [String] The Telnyx WireGuard peers `Peer.endpoint` value.
|
108
|
+
#
|
109
|
+
# @param public_key [String] The Telnyx WireGuard peers `Peer.PublicKey`.
|
110
|
+
#
|
111
|
+
# @param region [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region]
|
112
|
+
#
|
113
|
+
# @param region_code [String] The region interface is deployed to.
|
114
|
+
|
115
|
+
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse::Data#region
|
116
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
117
|
+
# @!attribute code
|
118
|
+
# Region code of the interface.
|
119
|
+
#
|
120
|
+
# @return [String, nil]
|
121
|
+
optional :code, String
|
122
|
+
|
123
|
+
# @!attribute name
|
124
|
+
# Region name of the interface.
|
125
|
+
#
|
126
|
+
# @return [String, nil]
|
127
|
+
optional :name, String
|
128
|
+
|
129
|
+
response_only do
|
130
|
+
# @!attribute record_type
|
131
|
+
# Identifies the type of the resource.
|
132
|
+
#
|
133
|
+
# @return [String, nil]
|
134
|
+
optional :record_type, String
|
135
|
+
end
|
136
|
+
|
137
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
138
|
+
# @param code [String] Region code of the interface.
|
139
|
+
#
|
140
|
+
# @param name [String] Region name of the interface.
|
141
|
+
#
|
142
|
+
# @param record_type [String] Identifies the type of the resource.
|
143
|
+
end
|
144
|
+
end
|
14
145
|
end
|
15
146
|
end
|
16
147
|
end
|
@@ -11,6 +11,84 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerCreateResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::WireguardPeerCreateResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute public_key
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
19
|
+
# Public and Private key pair will be generated for you.
|
20
|
+
#
|
21
|
+
# @return [String, nil]
|
22
|
+
optional :public_key, String
|
23
|
+
|
24
|
+
# @!attribute wireguard_interface_id
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
26
|
+
#
|
27
|
+
# @return [String, nil]
|
28
|
+
optional :wireguard_interface_id, String
|
29
|
+
|
30
|
+
response_only do
|
31
|
+
# @!attribute id
|
32
|
+
# Identifies the resource.
|
33
|
+
#
|
34
|
+
# @return [String, nil]
|
35
|
+
optional :id, String
|
36
|
+
|
37
|
+
# @!attribute created_at
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
39
|
+
#
|
40
|
+
# @return [String, nil]
|
41
|
+
optional :created_at, String
|
42
|
+
|
43
|
+
# @!attribute record_type
|
44
|
+
# Identifies the type of the resource.
|
45
|
+
#
|
46
|
+
# @return [String, nil]
|
47
|
+
optional :record_type, String
|
48
|
+
|
49
|
+
# @!attribute updated_at
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
51
|
+
#
|
52
|
+
# @return [String, nil]
|
53
|
+
optional :updated_at, String
|
54
|
+
|
55
|
+
# @!attribute last_seen
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
57
|
+
#
|
58
|
+
# @return [String, nil]
|
59
|
+
optional :last_seen, String
|
60
|
+
|
61
|
+
# @!attribute private_key
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :private_key, String
|
70
|
+
end
|
71
|
+
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {Telnyx::Models::WireguardPeerCreateResponse::Data} for more details.
|
75
|
+
#
|
76
|
+
# @param id [String] Identifies the resource.
|
77
|
+
#
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
79
|
+
#
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
81
|
+
#
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
83
|
+
#
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
85
|
+
#
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
87
|
+
#
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
89
|
+
#
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
91
|
+
end
|
14
92
|
end
|
15
93
|
end
|
16
94
|
end
|
@@ -11,6 +11,84 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerDeleteResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::WireguardPeerDeleteResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute public_key
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
19
|
+
# Public and Private key pair will be generated for you.
|
20
|
+
#
|
21
|
+
# @return [String, nil]
|
22
|
+
optional :public_key, String
|
23
|
+
|
24
|
+
# @!attribute wireguard_interface_id
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
26
|
+
#
|
27
|
+
# @return [String, nil]
|
28
|
+
optional :wireguard_interface_id, String
|
29
|
+
|
30
|
+
response_only do
|
31
|
+
# @!attribute id
|
32
|
+
# Identifies the resource.
|
33
|
+
#
|
34
|
+
# @return [String, nil]
|
35
|
+
optional :id, String
|
36
|
+
|
37
|
+
# @!attribute created_at
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
39
|
+
#
|
40
|
+
# @return [String, nil]
|
41
|
+
optional :created_at, String
|
42
|
+
|
43
|
+
# @!attribute record_type
|
44
|
+
# Identifies the type of the resource.
|
45
|
+
#
|
46
|
+
# @return [String, nil]
|
47
|
+
optional :record_type, String
|
48
|
+
|
49
|
+
# @!attribute updated_at
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
51
|
+
#
|
52
|
+
# @return [String, nil]
|
53
|
+
optional :updated_at, String
|
54
|
+
|
55
|
+
# @!attribute last_seen
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
57
|
+
#
|
58
|
+
# @return [String, nil]
|
59
|
+
optional :last_seen, String
|
60
|
+
|
61
|
+
# @!attribute private_key
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :private_key, String
|
70
|
+
end
|
71
|
+
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {Telnyx::Models::WireguardPeerDeleteResponse::Data} for more details.
|
75
|
+
#
|
76
|
+
# @param id [String] Identifies the resource.
|
77
|
+
#
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
79
|
+
#
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
81
|
+
#
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
83
|
+
#
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
85
|
+
#
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
87
|
+
#
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
89
|
+
#
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
91
|
+
end
|
14
92
|
end
|
15
93
|
end
|
16
94
|
end
|
@@ -17,6 +17,83 @@ module Telnyx
|
|
17
17
|
# @!method initialize(data: nil, meta: nil)
|
18
18
|
# @param data [Array<Telnyx::Models::WireguardPeerListResponse::Data>]
|
19
19
|
# @param meta [Telnyx::Models::PaginationMeta]
|
20
|
+
|
21
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
22
|
+
# @!attribute public_key
|
23
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
24
|
+
# Public and Private key pair will be generated for you.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :public_key, String
|
28
|
+
|
29
|
+
# @!attribute wireguard_interface_id
|
30
|
+
# The id of the wireguard interface associated with the peer.
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
optional :wireguard_interface_id, String
|
34
|
+
|
35
|
+
response_only do
|
36
|
+
# @!attribute id
|
37
|
+
# Identifies the resource.
|
38
|
+
#
|
39
|
+
# @return [String, nil]
|
40
|
+
optional :id, String
|
41
|
+
|
42
|
+
# @!attribute created_at
|
43
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
44
|
+
#
|
45
|
+
# @return [String, nil]
|
46
|
+
optional :created_at, String
|
47
|
+
|
48
|
+
# @!attribute record_type
|
49
|
+
# Identifies the type of the resource.
|
50
|
+
#
|
51
|
+
# @return [String, nil]
|
52
|
+
optional :record_type, String
|
53
|
+
|
54
|
+
# @!attribute updated_at
|
55
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
56
|
+
#
|
57
|
+
# @return [String, nil]
|
58
|
+
optional :updated_at, String
|
59
|
+
|
60
|
+
# @!attribute last_seen
|
61
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
62
|
+
#
|
63
|
+
# @return [String, nil]
|
64
|
+
optional :last_seen, String
|
65
|
+
|
66
|
+
# @!attribute private_key
|
67
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
68
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
69
|
+
# new Public and Private key pair will be generated for you. When your
|
70
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
71
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
72
|
+
#
|
73
|
+
# @return [String, nil]
|
74
|
+
optional :private_key, String
|
75
|
+
end
|
76
|
+
|
77
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
78
|
+
# Some parameter documentations has been truncated, see
|
79
|
+
# {Telnyx::Models::WireguardPeerListResponse::Data} for more details.
|
80
|
+
#
|
81
|
+
# @param id [String] Identifies the resource.
|
82
|
+
#
|
83
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
84
|
+
#
|
85
|
+
# @param record_type [String] Identifies the type of the resource.
|
86
|
+
#
|
87
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
88
|
+
#
|
89
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
90
|
+
#
|
91
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
92
|
+
#
|
93
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
94
|
+
#
|
95
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
96
|
+
end
|
20
97
|
end
|
21
98
|
end
|
22
99
|
end
|
@@ -11,6 +11,84 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerRetrieveResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::WireguardPeerRetrieveResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute public_key
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
19
|
+
# Public and Private key pair will be generated for you.
|
20
|
+
#
|
21
|
+
# @return [String, nil]
|
22
|
+
optional :public_key, String
|
23
|
+
|
24
|
+
# @!attribute wireguard_interface_id
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
26
|
+
#
|
27
|
+
# @return [String, nil]
|
28
|
+
optional :wireguard_interface_id, String
|
29
|
+
|
30
|
+
response_only do
|
31
|
+
# @!attribute id
|
32
|
+
# Identifies the resource.
|
33
|
+
#
|
34
|
+
# @return [String, nil]
|
35
|
+
optional :id, String
|
36
|
+
|
37
|
+
# @!attribute created_at
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
39
|
+
#
|
40
|
+
# @return [String, nil]
|
41
|
+
optional :created_at, String
|
42
|
+
|
43
|
+
# @!attribute record_type
|
44
|
+
# Identifies the type of the resource.
|
45
|
+
#
|
46
|
+
# @return [String, nil]
|
47
|
+
optional :record_type, String
|
48
|
+
|
49
|
+
# @!attribute updated_at
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
51
|
+
#
|
52
|
+
# @return [String, nil]
|
53
|
+
optional :updated_at, String
|
54
|
+
|
55
|
+
# @!attribute last_seen
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
57
|
+
#
|
58
|
+
# @return [String, nil]
|
59
|
+
optional :last_seen, String
|
60
|
+
|
61
|
+
# @!attribute private_key
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :private_key, String
|
70
|
+
end
|
71
|
+
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {Telnyx::Models::WireguardPeerRetrieveResponse::Data} for more details.
|
75
|
+
#
|
76
|
+
# @param id [String] Identifies the resource.
|
77
|
+
#
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
79
|
+
#
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
81
|
+
#
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
83
|
+
#
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
85
|
+
#
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
87
|
+
#
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
89
|
+
#
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
91
|
+
end
|
14
92
|
end
|
15
93
|
end
|
16
94
|
end
|
@@ -11,6 +11,84 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerUpdateResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::WireguardPeerUpdateResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute public_key
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
19
|
+
# Public and Private key pair will be generated for you.
|
20
|
+
#
|
21
|
+
# @return [String, nil]
|
22
|
+
optional :public_key, String
|
23
|
+
|
24
|
+
# @!attribute wireguard_interface_id
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
26
|
+
#
|
27
|
+
# @return [String, nil]
|
28
|
+
optional :wireguard_interface_id, String
|
29
|
+
|
30
|
+
response_only do
|
31
|
+
# @!attribute id
|
32
|
+
# Identifies the resource.
|
33
|
+
#
|
34
|
+
# @return [String, nil]
|
35
|
+
optional :id, String
|
36
|
+
|
37
|
+
# @!attribute created_at
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
39
|
+
#
|
40
|
+
# @return [String, nil]
|
41
|
+
optional :created_at, String
|
42
|
+
|
43
|
+
# @!attribute record_type
|
44
|
+
# Identifies the type of the resource.
|
45
|
+
#
|
46
|
+
# @return [String, nil]
|
47
|
+
optional :record_type, String
|
48
|
+
|
49
|
+
# @!attribute updated_at
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
51
|
+
#
|
52
|
+
# @return [String, nil]
|
53
|
+
optional :updated_at, String
|
54
|
+
|
55
|
+
# @!attribute last_seen
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
57
|
+
#
|
58
|
+
# @return [String, nil]
|
59
|
+
optional :last_seen, String
|
60
|
+
|
61
|
+
# @!attribute private_key
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :private_key, String
|
70
|
+
end
|
71
|
+
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {Telnyx::Models::WireguardPeerUpdateResponse::Data} for more details.
|
75
|
+
#
|
76
|
+
# @param id [String] Identifies the resource.
|
77
|
+
#
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
79
|
+
#
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
81
|
+
#
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
83
|
+
#
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
85
|
+
#
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
87
|
+
#
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
89
|
+
#
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
91
|
+
end
|
14
92
|
end
|
15
93
|
end
|
16
94
|
end
|
data/lib/telnyx/models.rb
CHANGED
@@ -77,7 +77,7 @@ module Telnyx
|
|
77
77
|
|
78
78
|
AdvancedOrderRetrieveParams = Telnyx::Models::AdvancedOrderRetrieveParams
|
79
79
|
|
80
|
-
|
80
|
+
AdvancedOrderUpdateRequirementGroupParams = Telnyx::Models::AdvancedOrderUpdateRequirementGroupParams
|
81
81
|
|
82
82
|
AI = Telnyx::Models::AI
|
83
83
|
|
@@ -880,6 +880,8 @@ module Telnyx
|
|
880
880
|
|
881
881
|
NumbersFeatureCreateParams = Telnyx::Models::NumbersFeatureCreateParams
|
882
882
|
|
883
|
+
OAuthClient = Telnyx::Models::OAuthClient
|
884
|
+
|
883
885
|
OAuthClientCreateParams = Telnyx::Models::OAuthClientCreateParams
|
884
886
|
|
885
887
|
OAuthClientDeleteParams = Telnyx::Models::OAuthClientDeleteParams
|
@@ -890,6 +892,8 @@ module Telnyx
|
|
890
892
|
|
891
893
|
OAuthClientUpdateParams = Telnyx::Models::OAuthClientUpdateParams
|
892
894
|
|
895
|
+
OAuthGrant = Telnyx::Models::OAuthGrant
|
896
|
+
|
893
897
|
OAuthGrantDeleteParams = Telnyx::Models::OAuthGrantDeleteParams
|
894
898
|
|
895
899
|
OAuthGrantListParams = Telnyx::Models::OAuthGrantListParams
|
@@ -1446,6 +1450,8 @@ module Telnyx
|
|
1446
1450
|
|
1447
1451
|
VerifyProfileListParams = Telnyx::Models::VerifyProfileListParams
|
1448
1452
|
|
1453
|
+
VerifyProfileMessageTemplateResponse = Telnyx::Models::VerifyProfileMessageTemplateResponse
|
1454
|
+
|
1449
1455
|
VerifyProfileRetrieveParams = Telnyx::Models::VerifyProfileRetrieveParams
|
1450
1456
|
|
1451
1457
|
VerifyProfileRetrieveTemplatesParams = Telnyx::Models::VerifyProfileRetrieveTemplatesParams
|
@@ -58,11 +58,29 @@ module Telnyx
|
|
58
58
|
)
|
59
59
|
end
|
60
60
|
|
61
|
+
# List Advanced Orders
|
62
|
+
#
|
63
|
+
# @overload list(request_options: {})
|
64
|
+
#
|
65
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
66
|
+
#
|
67
|
+
# @return [Object]
|
68
|
+
#
|
69
|
+
# @see Telnyx::Models::AdvancedOrderListParams
|
70
|
+
def list(params = {})
|
71
|
+
@client.request(
|
72
|
+
method: :get,
|
73
|
+
path: "advanced_orders",
|
74
|
+
model: Telnyx::Internal::Type::Unknown,
|
75
|
+
options: params[:request_options]
|
76
|
+
)
|
77
|
+
end
|
78
|
+
|
61
79
|
# Update Advanced Order
|
62
80
|
#
|
63
|
-
# @overload
|
81
|
+
# @overload update_requirement_group(advanced_order_id, area_code: nil, comments: nil, country_code: nil, customer_reference: nil, features: nil, phone_number_type: nil, quantity: nil, requirement_group_id: nil, request_options: {})
|
64
82
|
#
|
65
|
-
# @param
|
83
|
+
# @param advanced_order_id [String]
|
66
84
|
#
|
67
85
|
# @param area_code [String]
|
68
86
|
#
|
@@ -72,9 +90,9 @@ module Telnyx
|
|
72
90
|
#
|
73
91
|
# @param customer_reference [String]
|
74
92
|
#
|
75
|
-
# @param features [Array<Symbol, Telnyx::Models::
|
93
|
+
# @param features [Array<Symbol, Telnyx::Models::AdvancedOrderUpdateRequirementGroupParams::Feature>]
|
76
94
|
#
|
77
|
-
# @param phone_number_type [Symbol, Telnyx::Models::
|
95
|
+
# @param phone_number_type [Symbol, Telnyx::Models::AdvancedOrderUpdateRequirementGroupParams::PhoneNumberType]
|
78
96
|
#
|
79
97
|
# @param quantity [Integer]
|
80
98
|
#
|
@@ -84,36 +102,18 @@ module Telnyx
|
|
84
102
|
#
|
85
103
|
# @return [Object]
|
86
104
|
#
|
87
|
-
# @see Telnyx::Models::
|
88
|
-
def
|
89
|
-
parsed, options = Telnyx::
|
105
|
+
# @see Telnyx::Models::AdvancedOrderUpdateRequirementGroupParams
|
106
|
+
def update_requirement_group(advanced_order_id, params = {})
|
107
|
+
parsed, options = Telnyx::AdvancedOrderUpdateRequirementGroupParams.dump_request(params)
|
90
108
|
@client.request(
|
91
109
|
method: :patch,
|
92
|
-
path: ["advanced_orders/%1$s",
|
110
|
+
path: ["advanced_orders/%1$s/requirement_group", advanced_order_id],
|
93
111
|
body: parsed,
|
94
112
|
model: Telnyx::Internal::Type::Unknown,
|
95
113
|
options: options
|
96
114
|
)
|
97
115
|
end
|
98
116
|
|
99
|
-
# List Advanced Orders
|
100
|
-
#
|
101
|
-
# @overload list(request_options: {})
|
102
|
-
#
|
103
|
-
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
104
|
-
#
|
105
|
-
# @return [Object]
|
106
|
-
#
|
107
|
-
# @see Telnyx::Models::AdvancedOrderListParams
|
108
|
-
def list(params = {})
|
109
|
-
@client.request(
|
110
|
-
method: :get,
|
111
|
-
path: "advanced_orders",
|
112
|
-
model: Telnyx::Internal::Type::Unknown,
|
113
|
-
options: params[:request_options]
|
114
|
-
)
|
115
|
-
end
|
116
|
-
|
117
117
|
# @api private
|
118
118
|
#
|
119
119
|
# @param client [Telnyx::Client]
|