telnyx 6.52.0 → 6.53.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.
- package/CHANGELOG.md +13 -0
- package/client.d.mts +5 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +10 -12
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +10 -12
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +110 -322
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +110 -322
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +70 -241
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +70 -241
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +6 -212
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -212
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -9
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -9
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +41 -119
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +41 -119
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -11
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -11
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +25 -2
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +25 -2
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +116 -6
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +116 -6
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +10 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +10 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +211 -1861
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +211 -1861
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +161 -237
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +161 -237
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +117 -6
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +117 -6
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +21 -5
- package/src/resources/ai/ai.ts +20 -11
- package/src/resources/ai/assistants/assistants.ts +131 -350
- package/src/resources/ai/assistants/canary-deploys.ts +75 -266
- package/src/resources/ai/assistants/index.ts +10 -0
- package/src/resources/ai/assistants/versions.ts +6 -234
- package/src/resources/ai/index.ts +12 -1
- package/src/resources/ai/openai/openai.ts +2 -13
- package/src/resources/calls/actions.ts +76 -192
- package/src/resources/calls/calls.ts +4 -0
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/conferences/actions.ts +1 -13
- package/src/resources/index.ts +13 -3
- package/src/resources/networks/networks.ts +31 -4
- package/src/resources/public-internet-gateways.ts +144 -6
- package/src/resources/shared.ts +12 -0
- package/src/resources/uac-connections/index.ts +6 -2
- package/src/resources/uac-connections/uac-connections.ts +397 -2396
- package/src/resources/virtual-cross-connects.ts +176 -249
- package/src/resources/wireguard-interfaces.ts +145 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as PublicInternetGatewaysAPI from "./public-internet-gateways.js";
|
|
2
|
+
import * as NetworksAPI from "./networks/networks.js";
|
|
4
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
5
4
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
6
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
@@ -85,20 +84,18 @@ export interface VirtualCrossConnectCreateResponse {
|
|
|
85
84
|
data?: VirtualCrossConnectCreateResponse.Data;
|
|
86
85
|
}
|
|
87
86
|
export declare namespace VirtualCrossConnectCreateResponse {
|
|
88
|
-
interface Data
|
|
87
|
+
interface Data {
|
|
89
88
|
/**
|
|
90
|
-
*
|
|
89
|
+
* Identifies the resource.
|
|
91
90
|
*/
|
|
92
|
-
|
|
91
|
+
id?: string;
|
|
93
92
|
/**
|
|
94
93
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
95
|
-
* Connect
|
|
96
|
-
* /virtual_cross_connect_regions endpoint.
|
|
94
|
+
* Connect.
|
|
97
95
|
*/
|
|
98
96
|
bandwidth_mbps?: number;
|
|
99
97
|
/**
|
|
100
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
101
|
-
* will be assigned by Telnyx.
|
|
98
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
102
99
|
*/
|
|
103
100
|
bgp_asn?: number;
|
|
104
101
|
/**
|
|
@@ -107,75 +104,62 @@ export declare namespace VirtualCrossConnectCreateResponse {
|
|
|
107
104
|
*/
|
|
108
105
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
109
106
|
/**
|
|
110
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
111
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
112
|
-
* endpoint.
|
|
107
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
113
108
|
*/
|
|
114
109
|
cloud_provider_region?: string;
|
|
110
|
+
/**
|
|
111
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
112
|
+
*/
|
|
113
|
+
created_at?: string;
|
|
114
|
+
/**
|
|
115
|
+
* A user specified name for the interface.
|
|
116
|
+
*/
|
|
117
|
+
name?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The id of the network associated with the interface.
|
|
120
|
+
*/
|
|
121
|
+
network_id?: string;
|
|
115
122
|
/**
|
|
116
123
|
* The authentication key for BGP peer configuration.
|
|
117
124
|
*/
|
|
118
125
|
primary_bgp_key?: string;
|
|
119
126
|
/**
|
|
120
|
-
* The identifier for your Virtual Private Cloud.
|
|
121
|
-
* based upon your Cloud provider.
|
|
127
|
+
* The identifier for your Virtual Private Cloud.
|
|
122
128
|
*/
|
|
123
129
|
primary_cloud_account_id?: string;
|
|
124
130
|
/**
|
|
125
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
126
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
127
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
131
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
128
132
|
*/
|
|
129
133
|
primary_cloud_ip?: string;
|
|
130
134
|
/**
|
|
131
|
-
* Indicates whether the primary circuit is enabled.
|
|
132
|
-
* disable the circuit.
|
|
135
|
+
* Indicates whether the primary circuit is enabled.
|
|
133
136
|
*/
|
|
134
137
|
primary_enabled?: boolean;
|
|
135
138
|
/**
|
|
136
|
-
* Whether
|
|
139
|
+
* Whether
|
|
137
140
|
*/
|
|
138
141
|
primary_routing_announcement?: boolean;
|
|
139
142
|
/**
|
|
140
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
141
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
142
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
143
|
-
* of your assigned IP once the connection has been accepted.
|
|
143
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
144
144
|
*/
|
|
145
145
|
primary_telnyx_ip?: string;
|
|
146
|
-
region?: Data.Region;
|
|
147
|
-
/**
|
|
148
|
-
* The authentication key for BGP peer configuration.
|
|
149
|
-
*/
|
|
150
|
-
secondary_bgp_key?: string;
|
|
151
146
|
/**
|
|
152
|
-
*
|
|
153
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
154
|
-
* GCE.
|
|
155
|
-
*/
|
|
156
|
-
secondary_cloud_account_id?: string;
|
|
157
|
-
/**
|
|
158
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
159
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
160
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
147
|
+
* Identifies the type of the resource.
|
|
161
148
|
*/
|
|
162
|
-
|
|
149
|
+
record_type?: string;
|
|
150
|
+
region?: Data.Region;
|
|
163
151
|
/**
|
|
164
|
-
*
|
|
165
|
-
* disable the circuit.
|
|
152
|
+
* The region interface is deployed to.
|
|
166
153
|
*/
|
|
167
|
-
|
|
154
|
+
region_code?: string;
|
|
168
155
|
/**
|
|
169
|
-
*
|
|
156
|
+
* The current status of the interface deployment.
|
|
170
157
|
*/
|
|
171
|
-
|
|
158
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
172
159
|
/**
|
|
173
|
-
*
|
|
174
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
175
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
176
|
-
* of your assigned IP once the connection has been accepted.
|
|
160
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
177
161
|
*/
|
|
178
|
-
|
|
162
|
+
updated_at?: string;
|
|
179
163
|
}
|
|
180
164
|
namespace Data {
|
|
181
165
|
interface Region {
|
|
@@ -198,20 +182,18 @@ export interface VirtualCrossConnectRetrieveResponse {
|
|
|
198
182
|
data?: VirtualCrossConnectRetrieveResponse.Data;
|
|
199
183
|
}
|
|
200
184
|
export declare namespace VirtualCrossConnectRetrieveResponse {
|
|
201
|
-
interface Data
|
|
185
|
+
interface Data {
|
|
202
186
|
/**
|
|
203
|
-
*
|
|
187
|
+
* Identifies the resource.
|
|
204
188
|
*/
|
|
205
|
-
|
|
189
|
+
id?: string;
|
|
206
190
|
/**
|
|
207
191
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
208
|
-
* Connect
|
|
209
|
-
* /virtual_cross_connect_regions endpoint.
|
|
192
|
+
* Connect.
|
|
210
193
|
*/
|
|
211
194
|
bandwidth_mbps?: number;
|
|
212
195
|
/**
|
|
213
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
214
|
-
* will be assigned by Telnyx.
|
|
196
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
215
197
|
*/
|
|
216
198
|
bgp_asn?: number;
|
|
217
199
|
/**
|
|
@@ -220,75 +202,62 @@ export declare namespace VirtualCrossConnectRetrieveResponse {
|
|
|
220
202
|
*/
|
|
221
203
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
222
204
|
/**
|
|
223
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
224
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
225
|
-
* endpoint.
|
|
205
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
226
206
|
*/
|
|
227
207
|
cloud_provider_region?: string;
|
|
208
|
+
/**
|
|
209
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
210
|
+
*/
|
|
211
|
+
created_at?: string;
|
|
212
|
+
/**
|
|
213
|
+
* A user specified name for the interface.
|
|
214
|
+
*/
|
|
215
|
+
name?: string;
|
|
216
|
+
/**
|
|
217
|
+
* The id of the network associated with the interface.
|
|
218
|
+
*/
|
|
219
|
+
network_id?: string;
|
|
228
220
|
/**
|
|
229
221
|
* The authentication key for BGP peer configuration.
|
|
230
222
|
*/
|
|
231
223
|
primary_bgp_key?: string;
|
|
232
224
|
/**
|
|
233
|
-
* The identifier for your Virtual Private Cloud.
|
|
234
|
-
* based upon your Cloud provider.
|
|
225
|
+
* The identifier for your Virtual Private Cloud.
|
|
235
226
|
*/
|
|
236
227
|
primary_cloud_account_id?: string;
|
|
237
228
|
/**
|
|
238
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
239
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
240
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
229
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
241
230
|
*/
|
|
242
231
|
primary_cloud_ip?: string;
|
|
243
232
|
/**
|
|
244
|
-
* Indicates whether the primary circuit is enabled.
|
|
245
|
-
* disable the circuit.
|
|
233
|
+
* Indicates whether the primary circuit is enabled.
|
|
246
234
|
*/
|
|
247
235
|
primary_enabled?: boolean;
|
|
248
236
|
/**
|
|
249
|
-
* Whether
|
|
237
|
+
* Whether
|
|
250
238
|
*/
|
|
251
239
|
primary_routing_announcement?: boolean;
|
|
252
240
|
/**
|
|
253
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
254
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
255
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
256
|
-
* of your assigned IP once the connection has been accepted.
|
|
241
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
257
242
|
*/
|
|
258
243
|
primary_telnyx_ip?: string;
|
|
259
|
-
region?: Data.Region;
|
|
260
|
-
/**
|
|
261
|
-
* The authentication key for BGP peer configuration.
|
|
262
|
-
*/
|
|
263
|
-
secondary_bgp_key?: string;
|
|
264
|
-
/**
|
|
265
|
-
* The identifier for your Virtual Private Cloud. The number will be different
|
|
266
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
267
|
-
* GCE.
|
|
268
|
-
*/
|
|
269
|
-
secondary_cloud_account_id?: string;
|
|
270
244
|
/**
|
|
271
|
-
*
|
|
272
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
273
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
245
|
+
* Identifies the type of the resource.
|
|
274
246
|
*/
|
|
275
|
-
|
|
247
|
+
record_type?: string;
|
|
248
|
+
region?: Data.Region;
|
|
276
249
|
/**
|
|
277
|
-
*
|
|
278
|
-
* disable the circuit.
|
|
250
|
+
* The region interface is deployed to.
|
|
279
251
|
*/
|
|
280
|
-
|
|
252
|
+
region_code?: string;
|
|
281
253
|
/**
|
|
282
|
-
*
|
|
254
|
+
* The current status of the interface deployment.
|
|
283
255
|
*/
|
|
284
|
-
|
|
256
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
285
257
|
/**
|
|
286
|
-
*
|
|
287
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
288
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
289
|
-
* of your assigned IP once the connection has been accepted.
|
|
258
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
290
259
|
*/
|
|
291
|
-
|
|
260
|
+
updated_at?: string;
|
|
292
261
|
}
|
|
293
262
|
namespace Data {
|
|
294
263
|
interface Region {
|
|
@@ -311,20 +280,18 @@ export interface VirtualCrossConnectUpdateResponse {
|
|
|
311
280
|
data?: VirtualCrossConnectUpdateResponse.Data;
|
|
312
281
|
}
|
|
313
282
|
export declare namespace VirtualCrossConnectUpdateResponse {
|
|
314
|
-
interface Data
|
|
283
|
+
interface Data {
|
|
315
284
|
/**
|
|
316
|
-
*
|
|
285
|
+
* Identifies the resource.
|
|
317
286
|
*/
|
|
318
|
-
|
|
287
|
+
id?: string;
|
|
319
288
|
/**
|
|
320
289
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
321
|
-
* Connect
|
|
322
|
-
* /virtual_cross_connect_regions endpoint.
|
|
290
|
+
* Connect.
|
|
323
291
|
*/
|
|
324
292
|
bandwidth_mbps?: number;
|
|
325
293
|
/**
|
|
326
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
327
|
-
* will be assigned by Telnyx.
|
|
294
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
328
295
|
*/
|
|
329
296
|
bgp_asn?: number;
|
|
330
297
|
/**
|
|
@@ -333,75 +300,62 @@ export declare namespace VirtualCrossConnectUpdateResponse {
|
|
|
333
300
|
*/
|
|
334
301
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
335
302
|
/**
|
|
336
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
337
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
338
|
-
* endpoint.
|
|
303
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
339
304
|
*/
|
|
340
305
|
cloud_provider_region?: string;
|
|
306
|
+
/**
|
|
307
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
308
|
+
*/
|
|
309
|
+
created_at?: string;
|
|
310
|
+
/**
|
|
311
|
+
* A user specified name for the interface.
|
|
312
|
+
*/
|
|
313
|
+
name?: string;
|
|
314
|
+
/**
|
|
315
|
+
* The id of the network associated with the interface.
|
|
316
|
+
*/
|
|
317
|
+
network_id?: string;
|
|
341
318
|
/**
|
|
342
319
|
* The authentication key for BGP peer configuration.
|
|
343
320
|
*/
|
|
344
321
|
primary_bgp_key?: string;
|
|
345
322
|
/**
|
|
346
|
-
* The identifier for your Virtual Private Cloud.
|
|
347
|
-
* based upon your Cloud provider.
|
|
323
|
+
* The identifier for your Virtual Private Cloud.
|
|
348
324
|
*/
|
|
349
325
|
primary_cloud_account_id?: string;
|
|
350
326
|
/**
|
|
351
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
352
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
353
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
327
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
354
328
|
*/
|
|
355
329
|
primary_cloud_ip?: string;
|
|
356
330
|
/**
|
|
357
|
-
* Indicates whether the primary circuit is enabled.
|
|
358
|
-
* disable the circuit.
|
|
331
|
+
* Indicates whether the primary circuit is enabled.
|
|
359
332
|
*/
|
|
360
333
|
primary_enabled?: boolean;
|
|
361
334
|
/**
|
|
362
|
-
* Whether
|
|
335
|
+
* Whether
|
|
363
336
|
*/
|
|
364
337
|
primary_routing_announcement?: boolean;
|
|
365
338
|
/**
|
|
366
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
367
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
368
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
369
|
-
* of your assigned IP once the connection has been accepted.
|
|
339
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
370
340
|
*/
|
|
371
341
|
primary_telnyx_ip?: string;
|
|
372
|
-
region?: Data.Region;
|
|
373
|
-
/**
|
|
374
|
-
* The authentication key for BGP peer configuration.
|
|
375
|
-
*/
|
|
376
|
-
secondary_bgp_key?: string;
|
|
377
342
|
/**
|
|
378
|
-
*
|
|
379
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
380
|
-
* GCE.
|
|
381
|
-
*/
|
|
382
|
-
secondary_cloud_account_id?: string;
|
|
383
|
-
/**
|
|
384
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
385
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
386
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
343
|
+
* Identifies the type of the resource.
|
|
387
344
|
*/
|
|
388
|
-
|
|
345
|
+
record_type?: string;
|
|
346
|
+
region?: Data.Region;
|
|
389
347
|
/**
|
|
390
|
-
*
|
|
391
|
-
* disable the circuit.
|
|
348
|
+
* The region interface is deployed to.
|
|
392
349
|
*/
|
|
393
|
-
|
|
350
|
+
region_code?: string;
|
|
394
351
|
/**
|
|
395
|
-
*
|
|
352
|
+
* The current status of the interface deployment.
|
|
396
353
|
*/
|
|
397
|
-
|
|
354
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
398
355
|
/**
|
|
399
|
-
*
|
|
400
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
401
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
402
|
-
* of your assigned IP once the connection has been accepted.
|
|
356
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
403
357
|
*/
|
|
404
|
-
|
|
358
|
+
updated_at?: string;
|
|
405
359
|
}
|
|
406
360
|
namespace Data {
|
|
407
361
|
interface Region {
|
|
@@ -420,20 +374,18 @@ export declare namespace VirtualCrossConnectUpdateResponse {
|
|
|
420
374
|
}
|
|
421
375
|
}
|
|
422
376
|
}
|
|
423
|
-
export interface VirtualCrossConnectListResponse
|
|
377
|
+
export interface VirtualCrossConnectListResponse {
|
|
424
378
|
/**
|
|
425
|
-
*
|
|
379
|
+
* Identifies the resource.
|
|
426
380
|
*/
|
|
427
|
-
|
|
381
|
+
id?: string;
|
|
428
382
|
/**
|
|
429
383
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
430
|
-
* Connect
|
|
431
|
-
* /virtual_cross_connect_regions endpoint.
|
|
384
|
+
* Connect.
|
|
432
385
|
*/
|
|
433
386
|
bandwidth_mbps?: number;
|
|
434
387
|
/**
|
|
435
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
436
|
-
* will be assigned by Telnyx.
|
|
388
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
437
389
|
*/
|
|
438
390
|
bgp_asn?: number;
|
|
439
391
|
/**
|
|
@@ -442,75 +394,62 @@ export interface VirtualCrossConnectListResponse extends GlobalIPAssignmentsAPI.
|
|
|
442
394
|
*/
|
|
443
395
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
444
396
|
/**
|
|
445
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
446
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
447
|
-
* endpoint.
|
|
397
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
448
398
|
*/
|
|
449
399
|
cloud_provider_region?: string;
|
|
400
|
+
/**
|
|
401
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
402
|
+
*/
|
|
403
|
+
created_at?: string;
|
|
404
|
+
/**
|
|
405
|
+
* A user specified name for the interface.
|
|
406
|
+
*/
|
|
407
|
+
name?: string;
|
|
408
|
+
/**
|
|
409
|
+
* The id of the network associated with the interface.
|
|
410
|
+
*/
|
|
411
|
+
network_id?: string;
|
|
450
412
|
/**
|
|
451
413
|
* The authentication key for BGP peer configuration.
|
|
452
414
|
*/
|
|
453
415
|
primary_bgp_key?: string;
|
|
454
416
|
/**
|
|
455
|
-
* The identifier for your Virtual Private Cloud.
|
|
456
|
-
* based upon your Cloud provider.
|
|
417
|
+
* The identifier for your Virtual Private Cloud.
|
|
457
418
|
*/
|
|
458
419
|
primary_cloud_account_id?: string;
|
|
459
420
|
/**
|
|
460
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
461
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
462
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
421
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
463
422
|
*/
|
|
464
423
|
primary_cloud_ip?: string;
|
|
465
424
|
/**
|
|
466
|
-
* Indicates whether the primary circuit is enabled.
|
|
467
|
-
* disable the circuit.
|
|
425
|
+
* Indicates whether the primary circuit is enabled.
|
|
468
426
|
*/
|
|
469
427
|
primary_enabled?: boolean;
|
|
470
428
|
/**
|
|
471
|
-
* Whether
|
|
429
|
+
* Whether
|
|
472
430
|
*/
|
|
473
431
|
primary_routing_announcement?: boolean;
|
|
474
432
|
/**
|
|
475
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
476
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
477
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
478
|
-
* of your assigned IP once the connection has been accepted.
|
|
433
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
479
434
|
*/
|
|
480
435
|
primary_telnyx_ip?: string;
|
|
481
|
-
region?: VirtualCrossConnectListResponse.Region;
|
|
482
436
|
/**
|
|
483
|
-
*
|
|
437
|
+
* Identifies the type of the resource.
|
|
484
438
|
*/
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
* The identifier for your Virtual Private Cloud. The number will be different
|
|
488
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
489
|
-
* GCE.
|
|
490
|
-
*/
|
|
491
|
-
secondary_cloud_account_id?: string;
|
|
492
|
-
/**
|
|
493
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
494
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
495
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
496
|
-
*/
|
|
497
|
-
secondary_cloud_ip?: string;
|
|
439
|
+
record_type?: string;
|
|
440
|
+
region?: VirtualCrossConnectListResponse.Region;
|
|
498
441
|
/**
|
|
499
|
-
*
|
|
500
|
-
* disable the circuit.
|
|
442
|
+
* The region interface is deployed to.
|
|
501
443
|
*/
|
|
502
|
-
|
|
444
|
+
region_code?: string;
|
|
503
445
|
/**
|
|
504
|
-
*
|
|
446
|
+
* The current status of the interface deployment.
|
|
505
447
|
*/
|
|
506
|
-
|
|
448
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
507
449
|
/**
|
|
508
|
-
*
|
|
509
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
510
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
511
|
-
* of your assigned IP once the connection has been accepted.
|
|
450
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
512
451
|
*/
|
|
513
|
-
|
|
452
|
+
updated_at?: string;
|
|
514
453
|
}
|
|
515
454
|
export declare namespace VirtualCrossConnectListResponse {
|
|
516
455
|
interface Region {
|
|
@@ -532,20 +471,18 @@ export interface VirtualCrossConnectDeleteResponse {
|
|
|
532
471
|
data?: VirtualCrossConnectDeleteResponse.Data;
|
|
533
472
|
}
|
|
534
473
|
export declare namespace VirtualCrossConnectDeleteResponse {
|
|
535
|
-
interface Data
|
|
474
|
+
interface Data {
|
|
536
475
|
/**
|
|
537
|
-
*
|
|
476
|
+
* Identifies the resource.
|
|
538
477
|
*/
|
|
539
|
-
|
|
478
|
+
id?: string;
|
|
540
479
|
/**
|
|
541
480
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
542
|
-
* Connect
|
|
543
|
-
* /virtual_cross_connect_regions endpoint.
|
|
481
|
+
* Connect.
|
|
544
482
|
*/
|
|
545
483
|
bandwidth_mbps?: number;
|
|
546
484
|
/**
|
|
547
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
548
|
-
* will be assigned by Telnyx.
|
|
485
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
549
486
|
*/
|
|
550
487
|
bgp_asn?: number;
|
|
551
488
|
/**
|
|
@@ -554,75 +491,62 @@ export declare namespace VirtualCrossConnectDeleteResponse {
|
|
|
554
491
|
*/
|
|
555
492
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
556
493
|
/**
|
|
557
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
558
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
559
|
-
* endpoint.
|
|
494
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
560
495
|
*/
|
|
561
496
|
cloud_provider_region?: string;
|
|
497
|
+
/**
|
|
498
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
499
|
+
*/
|
|
500
|
+
created_at?: string;
|
|
501
|
+
/**
|
|
502
|
+
* A user specified name for the interface.
|
|
503
|
+
*/
|
|
504
|
+
name?: string;
|
|
505
|
+
/**
|
|
506
|
+
* The id of the network associated with the interface.
|
|
507
|
+
*/
|
|
508
|
+
network_id?: string;
|
|
562
509
|
/**
|
|
563
510
|
* The authentication key for BGP peer configuration.
|
|
564
511
|
*/
|
|
565
512
|
primary_bgp_key?: string;
|
|
566
513
|
/**
|
|
567
|
-
* The identifier for your Virtual Private Cloud.
|
|
568
|
-
* based upon your Cloud provider.
|
|
514
|
+
* The identifier for your Virtual Private Cloud.
|
|
569
515
|
*/
|
|
570
516
|
primary_cloud_account_id?: string;
|
|
571
517
|
/**
|
|
572
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
573
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
574
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
518
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
575
519
|
*/
|
|
576
520
|
primary_cloud_ip?: string;
|
|
577
521
|
/**
|
|
578
|
-
* Indicates whether the primary circuit is enabled.
|
|
579
|
-
* disable the circuit.
|
|
522
|
+
* Indicates whether the primary circuit is enabled.
|
|
580
523
|
*/
|
|
581
524
|
primary_enabled?: boolean;
|
|
582
525
|
/**
|
|
583
|
-
* Whether
|
|
526
|
+
* Whether
|
|
584
527
|
*/
|
|
585
528
|
primary_routing_announcement?: boolean;
|
|
586
529
|
/**
|
|
587
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
588
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
589
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
590
|
-
* of your assigned IP once the connection has been accepted.
|
|
530
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
591
531
|
*/
|
|
592
532
|
primary_telnyx_ip?: string;
|
|
593
|
-
region?: Data.Region;
|
|
594
|
-
/**
|
|
595
|
-
* The authentication key for BGP peer configuration.
|
|
596
|
-
*/
|
|
597
|
-
secondary_bgp_key?: string;
|
|
598
|
-
/**
|
|
599
|
-
* The identifier for your Virtual Private Cloud. The number will be different
|
|
600
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
601
|
-
* GCE.
|
|
602
|
-
*/
|
|
603
|
-
secondary_cloud_account_id?: string;
|
|
604
533
|
/**
|
|
605
|
-
*
|
|
606
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
607
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
534
|
+
* Identifies the type of the resource.
|
|
608
535
|
*/
|
|
609
|
-
|
|
536
|
+
record_type?: string;
|
|
537
|
+
region?: Data.Region;
|
|
610
538
|
/**
|
|
611
|
-
*
|
|
612
|
-
* disable the circuit.
|
|
539
|
+
* The region interface is deployed to.
|
|
613
540
|
*/
|
|
614
|
-
|
|
541
|
+
region_code?: string;
|
|
615
542
|
/**
|
|
616
|
-
*
|
|
543
|
+
* The current status of the interface deployment.
|
|
617
544
|
*/
|
|
618
|
-
|
|
545
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
619
546
|
/**
|
|
620
|
-
*
|
|
621
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
622
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
623
|
-
* of your assigned IP once the connection has been accepted.
|
|
547
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
624
548
|
*/
|
|
625
|
-
|
|
549
|
+
updated_at?: string;
|
|
626
550
|
}
|
|
627
551
|
namespace Data {
|
|
628
552
|
interface Region {
|