telnyx 5.102.1 → 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 +29 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistants/scheduled_event_create_params.rb +17 -1
- data/lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb +91 -1
- 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/uac_internal_settings.rb +2 -2
- 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.rb +6 -0
- data/lib/telnyx/resources/ai/assistants/scheduled_events.rb +5 -1
- data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
- 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 +3 -3
- data/rbi/telnyx/models/ai/assistants/scheduled_event_create_params.rbi +22 -0
- data/rbi/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbi +153 -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/uac_internal_settings.rbi +4 -4
- 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.rbi +6 -0
- data/rbi/telnyx/resources/ai/assistants/scheduled_events.rbi +6 -0
- data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
- data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
- data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
- data/sig/telnyx/models/ai/assistants/scheduled_event_create_params.rbs +14 -0
- data/sig/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbs +85 -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/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.rbs +6 -0
- data/sig/telnyx/resources/ai/assistants/scheduled_events.rbs +2 -0
- data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
- data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
- data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
- metadata +10 -10
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +0 -10
- 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/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/virtual_cross_connect_list_response.rbs +0 -11
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +0 -11
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::VirtualCrossConnects#list
|
|
6
|
+
class VirtualCrossConnectCombined < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute bandwidth_mbps
|
|
8
|
+
# The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
9
|
+
# Connect.
|
|
10
|
+
#
|
|
11
|
+
# @return [Float, nil]
|
|
12
|
+
optional :bandwidth_mbps, Float
|
|
13
|
+
|
|
14
|
+
# @!attribute bgp_asn
|
|
15
|
+
# The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
16
|
+
#
|
|
17
|
+
# @return [Float, nil]
|
|
18
|
+
optional :bgp_asn, Float
|
|
19
|
+
|
|
20
|
+
# @!attribute cloud_provider
|
|
21
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
|
22
|
+
# connect.
|
|
23
|
+
#
|
|
24
|
+
# @return [Symbol, Telnyx::Models::VirtualCrossConnectCombined::CloudProvider, nil]
|
|
25
|
+
optional :cloud_provider, enum: -> { Telnyx::VirtualCrossConnectCombined::CloudProvider }
|
|
26
|
+
|
|
27
|
+
# @!attribute cloud_provider_region
|
|
28
|
+
# The region where your Virtual Private Cloud hosts are located.
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
optional :cloud_provider_region, String
|
|
32
|
+
|
|
33
|
+
# @!attribute name
|
|
34
|
+
# A user specified name for the interface.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
optional :name, String
|
|
38
|
+
|
|
39
|
+
# @!attribute network_id
|
|
40
|
+
# The id of the network associated with the interface.
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
optional :network_id, String
|
|
44
|
+
|
|
45
|
+
# @!attribute primary_bgp_key
|
|
46
|
+
# The authentication key for BGP peer configuration.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :primary_bgp_key, String
|
|
50
|
+
|
|
51
|
+
# @!attribute primary_cloud_account_id
|
|
52
|
+
# The identifier for your Virtual Private Cloud.
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :primary_cloud_account_id, String
|
|
56
|
+
|
|
57
|
+
# @!attribute primary_cloud_ip
|
|
58
|
+
# The IP address assigned for your side of the Virtual Cross Connect.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :primary_cloud_ip, String
|
|
62
|
+
|
|
63
|
+
# @!attribute primary_enabled
|
|
64
|
+
# Indicates whether the primary circuit is enabled.
|
|
65
|
+
#
|
|
66
|
+
# @return [Boolean, nil]
|
|
67
|
+
optional :primary_enabled, Telnyx::Internal::Type::Boolean
|
|
68
|
+
|
|
69
|
+
# @!attribute primary_routing_announcement
|
|
70
|
+
# Whether
|
|
71
|
+
#
|
|
72
|
+
# @return [Boolean, nil]
|
|
73
|
+
optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
|
|
74
|
+
|
|
75
|
+
# @!attribute primary_telnyx_ip
|
|
76
|
+
# The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
77
|
+
#
|
|
78
|
+
# @return [String, nil]
|
|
79
|
+
optional :primary_telnyx_ip, String
|
|
80
|
+
|
|
81
|
+
# @!attribute region
|
|
82
|
+
#
|
|
83
|
+
# @return [Telnyx::Models::VirtualCrossConnectCombined::Region, nil]
|
|
84
|
+
optional :region, -> { Telnyx::VirtualCrossConnectCombined::Region }
|
|
85
|
+
|
|
86
|
+
# @!attribute region_code
|
|
87
|
+
# The region interface is deployed to.
|
|
88
|
+
#
|
|
89
|
+
# @return [String, nil]
|
|
90
|
+
optional :region_code, String
|
|
91
|
+
|
|
92
|
+
response_only do
|
|
93
|
+
# @!attribute id
|
|
94
|
+
# Identifies the resource.
|
|
95
|
+
#
|
|
96
|
+
# @return [String, nil]
|
|
97
|
+
optional :id, String
|
|
98
|
+
|
|
99
|
+
# @!attribute created_at
|
|
100
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
101
|
+
#
|
|
102
|
+
# @return [String, nil]
|
|
103
|
+
optional :created_at, String
|
|
104
|
+
|
|
105
|
+
# @!attribute record_type
|
|
106
|
+
# Identifies the type of the resource.
|
|
107
|
+
#
|
|
108
|
+
# @return [String, nil]
|
|
109
|
+
optional :record_type, String
|
|
110
|
+
|
|
111
|
+
# @!attribute status
|
|
112
|
+
# The current status of the interface deployment.
|
|
113
|
+
#
|
|
114
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
|
115
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
|
116
|
+
|
|
117
|
+
# @!attribute updated_at
|
|
118
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
119
|
+
#
|
|
120
|
+
# @return [String, nil]
|
|
121
|
+
optional :updated_at, String
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# @!method initialize(id: nil, bandwidth_mbps: nil, bgp_asn: nil, cloud_provider: nil, cloud_provider_region: nil, created_at: nil, name: nil, network_id: nil, primary_bgp_key: nil, primary_cloud_account_id: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, record_type: nil, region: nil, region_code: nil, status: nil, updated_at: nil)
|
|
125
|
+
# Some parameter documentations has been truncated, see
|
|
126
|
+
# {Telnyx::Models::VirtualCrossConnectCombined} for more details.
|
|
127
|
+
#
|
|
128
|
+
# @param id [String] Identifies the resource.
|
|
129
|
+
#
|
|
130
|
+
# @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
|
|
131
|
+
#
|
|
132
|
+
# @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
133
|
+
#
|
|
134
|
+
# @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectCombined::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
|
|
135
|
+
#
|
|
136
|
+
# @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.
|
|
137
|
+
#
|
|
138
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
139
|
+
#
|
|
140
|
+
# @param name [String] A user specified name for the interface.
|
|
141
|
+
#
|
|
142
|
+
# @param network_id [String] The id of the network associated with the interface.
|
|
143
|
+
#
|
|
144
|
+
# @param primary_bgp_key [String] The authentication key for BGP peer configuration.
|
|
145
|
+
#
|
|
146
|
+
# @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud.
|
|
147
|
+
#
|
|
148
|
+
# @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.
|
|
149
|
+
#
|
|
150
|
+
# @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled.
|
|
151
|
+
#
|
|
152
|
+
# @param primary_routing_announcement [Boolean] Whether
|
|
153
|
+
#
|
|
154
|
+
# @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
155
|
+
#
|
|
156
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
157
|
+
#
|
|
158
|
+
# @param region [Telnyx::Models::VirtualCrossConnectCombined::Region]
|
|
159
|
+
#
|
|
160
|
+
# @param region_code [String] The region interface is deployed to.
|
|
161
|
+
#
|
|
162
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
|
163
|
+
#
|
|
164
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
165
|
+
|
|
166
|
+
# The Virtual Private Cloud with which you would like to establish a cross
|
|
167
|
+
# connect.
|
|
168
|
+
#
|
|
169
|
+
# @see Telnyx::Models::VirtualCrossConnectCombined#cloud_provider
|
|
170
|
+
module CloudProvider
|
|
171
|
+
extend Telnyx::Internal::Type::Enum
|
|
172
|
+
|
|
173
|
+
AWS = :aws
|
|
174
|
+
AZURE = :azure
|
|
175
|
+
GCE = :gce
|
|
176
|
+
|
|
177
|
+
# @!method self.values
|
|
178
|
+
# @return [Array<Symbol>]
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# @see Telnyx::Models::VirtualCrossConnectCombined#region
|
|
182
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
183
|
+
# @!attribute code
|
|
184
|
+
# Region code of the interface.
|
|
185
|
+
#
|
|
186
|
+
# @return [String, nil]
|
|
187
|
+
optional :code, String
|
|
188
|
+
|
|
189
|
+
# @!attribute name
|
|
190
|
+
# Region name of the interface.
|
|
191
|
+
#
|
|
192
|
+
# @return [String, nil]
|
|
193
|
+
optional :name, String
|
|
194
|
+
|
|
195
|
+
response_only do
|
|
196
|
+
# @!attribute record_type
|
|
197
|
+
# Identifies the type of the resource.
|
|
198
|
+
#
|
|
199
|
+
# @return [String, nil]
|
|
200
|
+
optional :record_type, String
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
|
204
|
+
# @param code [String] Region code of the interface.
|
|
205
|
+
#
|
|
206
|
+
# @param name [String] Region name of the interface.
|
|
207
|
+
#
|
|
208
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class VirtualCrossConnectUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::VirtualCrossConnectCombined, nil]
|
|
10
|
+
optional :data, -> { Telnyx::VirtualCrossConnectCombined }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::VirtualCrossConnectUpdateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::VirtualCrossConnectCombined]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceCreateResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::WireguardInterfaces#list
|
|
6
|
+
class WireguardInterfaceRead < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute enable_sip_trunking
|
|
8
|
+
# Enable SIP traffic forwarding over VPN interface.
|
|
9
|
+
#
|
|
10
|
+
# @return [Boolean, nil]
|
|
11
|
+
optional :enable_sip_trunking, Telnyx::Internal::Type::Boolean
|
|
12
|
+
|
|
13
|
+
# @!attribute name
|
|
14
|
+
# A user specified name for the interface.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :name, String
|
|
18
|
+
|
|
19
|
+
# @!attribute network_id
|
|
20
|
+
# The id of the network associated with the interface.
|
|
21
|
+
#
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
optional :network_id, String
|
|
24
|
+
|
|
25
|
+
# @!attribute region
|
|
26
|
+
#
|
|
27
|
+
# @return [Telnyx::Models::WireguardInterfaceRead::Region, nil]
|
|
28
|
+
optional :region, -> { Telnyx::WireguardInterfaceRead::Region }
|
|
29
|
+
|
|
30
|
+
# @!attribute region_code
|
|
31
|
+
# The region interface is deployed to.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :region_code, String
|
|
35
|
+
|
|
36
|
+
response_only do
|
|
37
|
+
# @!attribute id
|
|
38
|
+
# Identifies the resource.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :id, String
|
|
42
|
+
|
|
43
|
+
# @!attribute created_at
|
|
44
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :created_at, String
|
|
48
|
+
|
|
49
|
+
# @!attribute endpoint
|
|
50
|
+
# The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :endpoint, String
|
|
54
|
+
|
|
55
|
+
# @!attribute public_key
|
|
56
|
+
# The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :public_key, String
|
|
60
|
+
|
|
61
|
+
# @!attribute record_type
|
|
62
|
+
# Identifies the type of the resource.
|
|
63
|
+
#
|
|
64
|
+
# @return [String, nil]
|
|
65
|
+
optional :record_type, String
|
|
66
|
+
|
|
67
|
+
# @!attribute status
|
|
68
|
+
# The current status of the interface deployment.
|
|
69
|
+
#
|
|
70
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
|
71
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
|
72
|
+
|
|
73
|
+
# @!attribute updated_at
|
|
74
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :updated_at, String
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# @!method initialize(id: nil, created_at: nil, enable_sip_trunking: nil, endpoint: nil, name: nil, network_id: nil, public_key: nil, record_type: nil, region: nil, region_code: nil, status: nil, updated_at: nil)
|
|
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 enable_sip_trunking [Boolean] Enable SIP traffic forwarding over VPN interface.
|
|
86
|
+
#
|
|
87
|
+
# @param endpoint [String] The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
88
|
+
#
|
|
89
|
+
# @param name [String] A user specified name for the interface.
|
|
90
|
+
#
|
|
91
|
+
# @param network_id [String] The id of the network associated with the interface.
|
|
92
|
+
#
|
|
93
|
+
# @param public_key [String] The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
94
|
+
#
|
|
95
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
96
|
+
#
|
|
97
|
+
# @param region [Telnyx::Models::WireguardInterfaceRead::Region]
|
|
98
|
+
#
|
|
99
|
+
# @param region_code [String] The region interface is deployed to.
|
|
100
|
+
#
|
|
101
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
|
102
|
+
#
|
|
103
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
104
|
+
|
|
105
|
+
# @see Telnyx::Models::WireguardInterfaceRead#region
|
|
106
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
|
107
|
+
# @!attribute code
|
|
108
|
+
# Region code of the interface.
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
optional :code, String
|
|
112
|
+
|
|
113
|
+
# @!attribute name
|
|
114
|
+
# Region name of the interface.
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :name, String
|
|
118
|
+
|
|
119
|
+
response_only do
|
|
120
|
+
# @!attribute record_type
|
|
121
|
+
# Identifies the type of the resource.
|
|
122
|
+
#
|
|
123
|
+
# @return [String, nil]
|
|
124
|
+
optional :record_type, String
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
|
128
|
+
# @param code [String] Region code of the interface.
|
|
129
|
+
#
|
|
130
|
+
# @param name [String] Region name of the interface.
|
|
131
|
+
#
|
|
132
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
@@ -6,16 +6,11 @@ module Telnyx
|
|
|
6
6
|
class WireguardInterfaceRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data
|
|
8
8
|
#
|
|
9
|
-
# @return [Telnyx::Models::
|
|
10
|
-
optional :data, -> { Telnyx::
|
|
9
|
+
# @return [Telnyx::Models::WireguardInterfaceRead, nil]
|
|
10
|
+
optional :data, -> { Telnyx::WireguardInterfaceRead }
|
|
11
11
|
|
|
12
12
|
# @!method initialize(data: nil)
|
|
13
|
-
# @param data [Telnyx::Models::
|
|
14
|
-
|
|
15
|
-
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::Models::Record
|
|
17
|
-
# @!method initialize
|
|
18
|
-
end
|
|
13
|
+
# @param data [Telnyx::Models::WireguardInterfaceRead]
|
|
19
14
|
end
|
|
20
15
|
end
|
|
21
16
|
end
|
data/lib/telnyx/models.rb
CHANGED
|
@@ -1287,6 +1287,8 @@ module Telnyx
|
|
|
1287
1287
|
|
|
1288
1288
|
PublicInternetGatewayListParams = Telnyx::Models::PublicInternetGatewayListParams
|
|
1289
1289
|
|
|
1290
|
+
PublicInternetGatewayRead = Telnyx::Models::PublicInternetGatewayRead
|
|
1291
|
+
|
|
1290
1292
|
PublicInternetGatewayRetrieveParams = Telnyx::Models::PublicInternetGatewayRetrieveParams
|
|
1291
1293
|
|
|
1292
1294
|
PushCredential = Telnyx::Models::PushCredential
|
|
@@ -1729,6 +1731,8 @@ module Telnyx
|
|
|
1729
1731
|
|
|
1730
1732
|
VideoRegion = Telnyx::Models::VideoRegion
|
|
1731
1733
|
|
|
1734
|
+
VirtualCrossConnectCombined = Telnyx::Models::VirtualCrossConnectCombined
|
|
1735
|
+
|
|
1732
1736
|
VirtualCrossConnectCreateParams = Telnyx::Models::VirtualCrossConnectCreateParams
|
|
1733
1737
|
|
|
1734
1738
|
VirtualCrossConnectDeleteParams = Telnyx::Models::VirtualCrossConnectDeleteParams
|
|
@@ -1815,6 +1819,8 @@ module Telnyx
|
|
|
1815
1819
|
|
|
1816
1820
|
WireguardInterfaceListParams = Telnyx::Models::WireguardInterfaceListParams
|
|
1817
1821
|
|
|
1822
|
+
WireguardInterfaceRead = Telnyx::Models::WireguardInterfaceRead
|
|
1823
|
+
|
|
1818
1824
|
WireguardInterfaceRetrieveParams = Telnyx::Models::WireguardInterfaceRetrieveParams
|
|
1819
1825
|
|
|
1820
1826
|
WireguardPeerCreateParams = Telnyx::Models::WireguardPeerCreateParams
|
|
@@ -11,7 +11,7 @@ module Telnyx
|
|
|
11
11
|
#
|
|
12
12
|
# Create a scheduled event for an assistant
|
|
13
13
|
#
|
|
14
|
-
# @overload create(assistant_id, scheduled_at_fixed_datetime:, telnyx_agent_target:, telnyx_conversation_channel:, telnyx_end_user_target:, conversation_metadata: nil, dynamic_variables: nil, text: nil, request_options: {})
|
|
14
|
+
# @overload create(assistant_id, scheduled_at_fixed_datetime:, telnyx_agent_target:, telnyx_conversation_channel:, telnyx_end_user_target:, conversation_metadata: nil, dynamic_variables: nil, max_retries_client_errors: nil, retry_interval_secs: nil, text: nil, request_options: {})
|
|
15
15
|
#
|
|
16
16
|
# @param assistant_id [String]
|
|
17
17
|
#
|
|
@@ -27,6 +27,10 @@ module Telnyx
|
|
|
27
27
|
#
|
|
28
28
|
# @param dynamic_variables [Hash{Symbol=>String}] A map of dynamic variable names to values. These variables can be referenced in
|
|
29
29
|
#
|
|
30
|
+
# @param max_retries_client_errors [Integer] Configure number of retries on client errors: busy, no-answer, failed, canceled
|
|
31
|
+
#
|
|
32
|
+
# @param retry_interval_secs [Integer]
|
|
33
|
+
#
|
|
30
34
|
# @param text [String] Required for sms scheduled events. The text to be sent to the end user.
|
|
31
35
|
#
|
|
32
36
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
@@ -65,7 +65,7 @@ module Telnyx
|
|
|
65
65
|
#
|
|
66
66
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
67
|
#
|
|
68
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
68
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::PublicInternetGatewayRead>]
|
|
69
69
|
#
|
|
70
70
|
# @see Telnyx::Models::PublicInternetGatewayListParams
|
|
71
71
|
def list(params = {})
|
|
@@ -76,7 +76,7 @@ module Telnyx
|
|
|
76
76
|
path: "public_internet_gateways",
|
|
77
77
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
78
78
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
79
|
-
model: Telnyx::
|
|
79
|
+
model: Telnyx::PublicInternetGatewayRead,
|
|
80
80
|
options: options
|
|
81
81
|
)
|
|
82
82
|
end
|
|
@@ -140,7 +140,7 @@ module Telnyx
|
|
|
140
140
|
#
|
|
141
141
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
142
142
|
#
|
|
143
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
143
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::VirtualCrossConnectCombined>]
|
|
144
144
|
#
|
|
145
145
|
# @see Telnyx::Models::VirtualCrossConnectListParams
|
|
146
146
|
def list(params = {})
|
|
@@ -151,7 +151,7 @@ module Telnyx
|
|
|
151
151
|
path: "virtual_cross_connects",
|
|
152
152
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
153
153
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
154
|
-
model: Telnyx::
|
|
154
|
+
model: Telnyx::VirtualCrossConnectCombined,
|
|
155
155
|
options: options
|
|
156
156
|
)
|
|
157
157
|
end
|
|
@@ -68,7 +68,7 @@ module Telnyx
|
|
|
68
68
|
#
|
|
69
69
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
70
70
|
#
|
|
71
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::
|
|
71
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::WireguardInterfaceRead>]
|
|
72
72
|
#
|
|
73
73
|
# @see Telnyx::Models::WireguardInterfaceListParams
|
|
74
74
|
def list(params = {})
|
|
@@ -79,7 +79,7 @@ module Telnyx
|
|
|
79
79
|
path: "wireguard_interfaces",
|
|
80
80
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
81
81
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
82
|
-
model: Telnyx::
|
|
82
|
+
model: Telnyx::WireguardInterfaceRead,
|
|
83
83
|
options: options
|
|
84
84
|
)
|
|
85
85
|
end
|
data/lib/telnyx/version.rb
CHANGED
data/lib/telnyx.rb
CHANGED
|
@@ -1803,7 +1803,7 @@ require_relative "telnyx/models/public_internet_gateway_create_response"
|
|
|
1803
1803
|
require_relative "telnyx/models/public_internet_gateway_delete_params"
|
|
1804
1804
|
require_relative "telnyx/models/public_internet_gateway_delete_response"
|
|
1805
1805
|
require_relative "telnyx/models/public_internet_gateway_list_params"
|
|
1806
|
-
require_relative "telnyx/models/
|
|
1806
|
+
require_relative "telnyx/models/public_internet_gateway_read"
|
|
1807
1807
|
require_relative "telnyx/models/public_internet_gateway_retrieve_params"
|
|
1808
1808
|
require_relative "telnyx/models/public_internet_gateway_retrieve_response"
|
|
1809
1809
|
require_relative "telnyx/models/push_credential"
|
|
@@ -2285,12 +2285,12 @@ require_relative "telnyx/models/verify_profile_retrieve_templates_response"
|
|
|
2285
2285
|
require_relative "telnyx/models/verify_profile_update_params"
|
|
2286
2286
|
require_relative "telnyx/models/verify_profile_update_template_params"
|
|
2287
2287
|
require_relative "telnyx/models/video_region"
|
|
2288
|
+
require_relative "telnyx/models/virtual_cross_connect_combined"
|
|
2288
2289
|
require_relative "telnyx/models/virtual_cross_connect_create_params"
|
|
2289
2290
|
require_relative "telnyx/models/virtual_cross_connect_create_response"
|
|
2290
2291
|
require_relative "telnyx/models/virtual_cross_connect_delete_params"
|
|
2291
2292
|
require_relative "telnyx/models/virtual_cross_connect_delete_response"
|
|
2292
2293
|
require_relative "telnyx/models/virtual_cross_connect_list_params"
|
|
2293
|
-
require_relative "telnyx/models/virtual_cross_connect_list_response"
|
|
2294
2294
|
require_relative "telnyx/models/virtual_cross_connect_retrieve_params"
|
|
2295
2295
|
require_relative "telnyx/models/virtual_cross_connect_retrieve_response"
|
|
2296
2296
|
require_relative "telnyx/models/virtual_cross_connects_coverage_list_params"
|
|
@@ -2383,7 +2383,7 @@ require_relative "telnyx/models/wireguard_interface_create_response"
|
|
|
2383
2383
|
require_relative "telnyx/models/wireguard_interface_delete_params"
|
|
2384
2384
|
require_relative "telnyx/models/wireguard_interface_delete_response"
|
|
2385
2385
|
require_relative "telnyx/models/wireguard_interface_list_params"
|
|
2386
|
-
require_relative "telnyx/models/
|
|
2386
|
+
require_relative "telnyx/models/wireguard_interface_read"
|
|
2387
2387
|
require_relative "telnyx/models/wireguard_interface_retrieve_params"
|
|
2388
2388
|
require_relative "telnyx/models/wireguard_interface_retrieve_response"
|
|
2389
2389
|
require_relative "telnyx/models/wireguard_peer_create_params"
|