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,8 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as
|
|
5
|
-
import * as PublicInternetGatewaysAPI from './public-internet-gateways';
|
|
4
|
+
import * as NetworksAPI from './networks/networks';
|
|
6
5
|
import { APIPromise } from '../core/api-promise';
|
|
7
6
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
8
7
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -121,22 +120,20 @@ export interface VirtualCrossConnectCreateResponse {
|
|
|
121
120
|
}
|
|
122
121
|
|
|
123
122
|
export namespace VirtualCrossConnectCreateResponse {
|
|
124
|
-
export interface Data
|
|
123
|
+
export interface Data {
|
|
125
124
|
/**
|
|
126
|
-
*
|
|
125
|
+
* Identifies the resource.
|
|
127
126
|
*/
|
|
128
|
-
|
|
127
|
+
id?: string;
|
|
129
128
|
|
|
130
129
|
/**
|
|
131
130
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
132
|
-
* Connect
|
|
133
|
-
* /virtual_cross_connect_regions endpoint.
|
|
131
|
+
* Connect.
|
|
134
132
|
*/
|
|
135
133
|
bandwidth_mbps?: number;
|
|
136
134
|
|
|
137
135
|
/**
|
|
138
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
139
|
-
* will be assigned by Telnyx.
|
|
136
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
140
137
|
*/
|
|
141
138
|
bgp_asn?: number;
|
|
142
139
|
|
|
@@ -147,88 +144,76 @@ export namespace VirtualCrossConnectCreateResponse {
|
|
|
147
144
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
148
145
|
|
|
149
146
|
/**
|
|
150
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
151
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
152
|
-
* endpoint.
|
|
147
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
153
148
|
*/
|
|
154
149
|
cloud_provider_region?: string;
|
|
155
150
|
|
|
151
|
+
/**
|
|
152
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
153
|
+
*/
|
|
154
|
+
created_at?: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* A user specified name for the interface.
|
|
158
|
+
*/
|
|
159
|
+
name?: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The id of the network associated with the interface.
|
|
163
|
+
*/
|
|
164
|
+
network_id?: string;
|
|
165
|
+
|
|
156
166
|
/**
|
|
157
167
|
* The authentication key for BGP peer configuration.
|
|
158
168
|
*/
|
|
159
169
|
primary_bgp_key?: string;
|
|
160
170
|
|
|
161
171
|
/**
|
|
162
|
-
* The identifier for your Virtual Private Cloud.
|
|
163
|
-
* based upon your Cloud provider.
|
|
172
|
+
* The identifier for your Virtual Private Cloud.
|
|
164
173
|
*/
|
|
165
174
|
primary_cloud_account_id?: string;
|
|
166
175
|
|
|
167
176
|
/**
|
|
168
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
169
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
170
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
177
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
171
178
|
*/
|
|
172
179
|
primary_cloud_ip?: string;
|
|
173
180
|
|
|
174
181
|
/**
|
|
175
|
-
* Indicates whether the primary circuit is enabled.
|
|
176
|
-
* disable the circuit.
|
|
182
|
+
* Indicates whether the primary circuit is enabled.
|
|
177
183
|
*/
|
|
178
184
|
primary_enabled?: boolean;
|
|
179
185
|
|
|
180
186
|
/**
|
|
181
|
-
* Whether
|
|
187
|
+
* Whether
|
|
182
188
|
*/
|
|
183
189
|
primary_routing_announcement?: boolean;
|
|
184
190
|
|
|
185
191
|
/**
|
|
186
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
187
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
188
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
189
|
-
* of your assigned IP once the connection has been accepted.
|
|
192
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
190
193
|
*/
|
|
191
194
|
primary_telnyx_ip?: string;
|
|
192
195
|
|
|
193
|
-
region?: Data.Region;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* The authentication key for BGP peer configuration.
|
|
197
|
-
*/
|
|
198
|
-
secondary_bgp_key?: string;
|
|
199
|
-
|
|
200
196
|
/**
|
|
201
|
-
*
|
|
202
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
203
|
-
* GCE.
|
|
197
|
+
* Identifies the type of the resource.
|
|
204
198
|
*/
|
|
205
|
-
|
|
199
|
+
record_type?: string;
|
|
206
200
|
|
|
207
|
-
|
|
208
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
209
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
210
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
211
|
-
*/
|
|
212
|
-
secondary_cloud_ip?: string;
|
|
201
|
+
region?: Data.Region;
|
|
213
202
|
|
|
214
203
|
/**
|
|
215
|
-
*
|
|
216
|
-
* disable the circuit.
|
|
204
|
+
* The region interface is deployed to.
|
|
217
205
|
*/
|
|
218
|
-
|
|
206
|
+
region_code?: string;
|
|
219
207
|
|
|
220
208
|
/**
|
|
221
|
-
*
|
|
209
|
+
* The current status of the interface deployment.
|
|
222
210
|
*/
|
|
223
|
-
|
|
211
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
224
212
|
|
|
225
213
|
/**
|
|
226
|
-
*
|
|
227
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
228
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
229
|
-
* of your assigned IP once the connection has been accepted.
|
|
214
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
230
215
|
*/
|
|
231
|
-
|
|
216
|
+
updated_at?: string;
|
|
232
217
|
}
|
|
233
218
|
|
|
234
219
|
export namespace Data {
|
|
@@ -256,22 +241,20 @@ export interface VirtualCrossConnectRetrieveResponse {
|
|
|
256
241
|
}
|
|
257
242
|
|
|
258
243
|
export namespace VirtualCrossConnectRetrieveResponse {
|
|
259
|
-
export interface Data
|
|
244
|
+
export interface Data {
|
|
260
245
|
/**
|
|
261
|
-
*
|
|
246
|
+
* Identifies the resource.
|
|
262
247
|
*/
|
|
263
|
-
|
|
248
|
+
id?: string;
|
|
264
249
|
|
|
265
250
|
/**
|
|
266
251
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
267
|
-
* Connect
|
|
268
|
-
* /virtual_cross_connect_regions endpoint.
|
|
252
|
+
* Connect.
|
|
269
253
|
*/
|
|
270
254
|
bandwidth_mbps?: number;
|
|
271
255
|
|
|
272
256
|
/**
|
|
273
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
274
|
-
* will be assigned by Telnyx.
|
|
257
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
275
258
|
*/
|
|
276
259
|
bgp_asn?: number;
|
|
277
260
|
|
|
@@ -282,88 +265,76 @@ export namespace VirtualCrossConnectRetrieveResponse {
|
|
|
282
265
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
283
266
|
|
|
284
267
|
/**
|
|
285
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
286
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
287
|
-
* endpoint.
|
|
268
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
288
269
|
*/
|
|
289
270
|
cloud_provider_region?: string;
|
|
290
271
|
|
|
272
|
+
/**
|
|
273
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
274
|
+
*/
|
|
275
|
+
created_at?: string;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* A user specified name for the interface.
|
|
279
|
+
*/
|
|
280
|
+
name?: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The id of the network associated with the interface.
|
|
284
|
+
*/
|
|
285
|
+
network_id?: string;
|
|
286
|
+
|
|
291
287
|
/**
|
|
292
288
|
* The authentication key for BGP peer configuration.
|
|
293
289
|
*/
|
|
294
290
|
primary_bgp_key?: string;
|
|
295
291
|
|
|
296
292
|
/**
|
|
297
|
-
* The identifier for your Virtual Private Cloud.
|
|
298
|
-
* based upon your Cloud provider.
|
|
293
|
+
* The identifier for your Virtual Private Cloud.
|
|
299
294
|
*/
|
|
300
295
|
primary_cloud_account_id?: string;
|
|
301
296
|
|
|
302
297
|
/**
|
|
303
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
304
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
305
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
298
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
306
299
|
*/
|
|
307
300
|
primary_cloud_ip?: string;
|
|
308
301
|
|
|
309
302
|
/**
|
|
310
|
-
* Indicates whether the primary circuit is enabled.
|
|
311
|
-
* disable the circuit.
|
|
303
|
+
* Indicates whether the primary circuit is enabled.
|
|
312
304
|
*/
|
|
313
305
|
primary_enabled?: boolean;
|
|
314
306
|
|
|
315
307
|
/**
|
|
316
|
-
* Whether
|
|
308
|
+
* Whether
|
|
317
309
|
*/
|
|
318
310
|
primary_routing_announcement?: boolean;
|
|
319
311
|
|
|
320
312
|
/**
|
|
321
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
322
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
323
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
324
|
-
* of your assigned IP once the connection has been accepted.
|
|
313
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
325
314
|
*/
|
|
326
315
|
primary_telnyx_ip?: string;
|
|
327
316
|
|
|
328
|
-
region?: Data.Region;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* The authentication key for BGP peer configuration.
|
|
332
|
-
*/
|
|
333
|
-
secondary_bgp_key?: string;
|
|
334
|
-
|
|
335
317
|
/**
|
|
336
|
-
*
|
|
337
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
338
|
-
* GCE.
|
|
318
|
+
* Identifies the type of the resource.
|
|
339
319
|
*/
|
|
340
|
-
|
|
320
|
+
record_type?: string;
|
|
341
321
|
|
|
342
|
-
|
|
343
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
344
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
345
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
346
|
-
*/
|
|
347
|
-
secondary_cloud_ip?: string;
|
|
322
|
+
region?: Data.Region;
|
|
348
323
|
|
|
349
324
|
/**
|
|
350
|
-
*
|
|
351
|
-
* disable the circuit.
|
|
325
|
+
* The region interface is deployed to.
|
|
352
326
|
*/
|
|
353
|
-
|
|
327
|
+
region_code?: string;
|
|
354
328
|
|
|
355
329
|
/**
|
|
356
|
-
*
|
|
330
|
+
* The current status of the interface deployment.
|
|
357
331
|
*/
|
|
358
|
-
|
|
332
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
359
333
|
|
|
360
334
|
/**
|
|
361
|
-
*
|
|
362
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
363
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
364
|
-
* of your assigned IP once the connection has been accepted.
|
|
335
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
365
336
|
*/
|
|
366
|
-
|
|
337
|
+
updated_at?: string;
|
|
367
338
|
}
|
|
368
339
|
|
|
369
340
|
export namespace Data {
|
|
@@ -391,22 +362,20 @@ export interface VirtualCrossConnectUpdateResponse {
|
|
|
391
362
|
}
|
|
392
363
|
|
|
393
364
|
export namespace VirtualCrossConnectUpdateResponse {
|
|
394
|
-
export interface Data
|
|
365
|
+
export interface Data {
|
|
395
366
|
/**
|
|
396
|
-
*
|
|
367
|
+
* Identifies the resource.
|
|
397
368
|
*/
|
|
398
|
-
|
|
369
|
+
id?: string;
|
|
399
370
|
|
|
400
371
|
/**
|
|
401
372
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
402
|
-
* Connect
|
|
403
|
-
* /virtual_cross_connect_regions endpoint.
|
|
373
|
+
* Connect.
|
|
404
374
|
*/
|
|
405
375
|
bandwidth_mbps?: number;
|
|
406
376
|
|
|
407
377
|
/**
|
|
408
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
409
|
-
* will be assigned by Telnyx.
|
|
378
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
410
379
|
*/
|
|
411
380
|
bgp_asn?: number;
|
|
412
381
|
|
|
@@ -417,88 +386,76 @@ export namespace VirtualCrossConnectUpdateResponse {
|
|
|
417
386
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
418
387
|
|
|
419
388
|
/**
|
|
420
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
421
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
422
|
-
* endpoint.
|
|
389
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
423
390
|
*/
|
|
424
391
|
cloud_provider_region?: string;
|
|
425
392
|
|
|
393
|
+
/**
|
|
394
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
395
|
+
*/
|
|
396
|
+
created_at?: string;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* A user specified name for the interface.
|
|
400
|
+
*/
|
|
401
|
+
name?: string;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* The id of the network associated with the interface.
|
|
405
|
+
*/
|
|
406
|
+
network_id?: string;
|
|
407
|
+
|
|
426
408
|
/**
|
|
427
409
|
* The authentication key for BGP peer configuration.
|
|
428
410
|
*/
|
|
429
411
|
primary_bgp_key?: string;
|
|
430
412
|
|
|
431
413
|
/**
|
|
432
|
-
* The identifier for your Virtual Private Cloud.
|
|
433
|
-
* based upon your Cloud provider.
|
|
414
|
+
* The identifier for your Virtual Private Cloud.
|
|
434
415
|
*/
|
|
435
416
|
primary_cloud_account_id?: string;
|
|
436
417
|
|
|
437
418
|
/**
|
|
438
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
439
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
440
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
419
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
441
420
|
*/
|
|
442
421
|
primary_cloud_ip?: string;
|
|
443
422
|
|
|
444
423
|
/**
|
|
445
|
-
* Indicates whether the primary circuit is enabled.
|
|
446
|
-
* disable the circuit.
|
|
424
|
+
* Indicates whether the primary circuit is enabled.
|
|
447
425
|
*/
|
|
448
426
|
primary_enabled?: boolean;
|
|
449
427
|
|
|
450
428
|
/**
|
|
451
|
-
* Whether
|
|
429
|
+
* Whether
|
|
452
430
|
*/
|
|
453
431
|
primary_routing_announcement?: boolean;
|
|
454
432
|
|
|
455
433
|
/**
|
|
456
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
457
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
458
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
459
|
-
* of your assigned IP once the connection has been accepted.
|
|
434
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
460
435
|
*/
|
|
461
436
|
primary_telnyx_ip?: string;
|
|
462
437
|
|
|
463
|
-
region?: Data.Region;
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* The authentication key for BGP peer configuration.
|
|
467
|
-
*/
|
|
468
|
-
secondary_bgp_key?: string;
|
|
469
|
-
|
|
470
438
|
/**
|
|
471
|
-
*
|
|
472
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
473
|
-
* GCE.
|
|
439
|
+
* Identifies the type of the resource.
|
|
474
440
|
*/
|
|
475
|
-
|
|
441
|
+
record_type?: string;
|
|
476
442
|
|
|
477
|
-
|
|
478
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
479
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
480
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
481
|
-
*/
|
|
482
|
-
secondary_cloud_ip?: string;
|
|
443
|
+
region?: Data.Region;
|
|
483
444
|
|
|
484
445
|
/**
|
|
485
|
-
*
|
|
486
|
-
* disable the circuit.
|
|
446
|
+
* The region interface is deployed to.
|
|
487
447
|
*/
|
|
488
|
-
|
|
448
|
+
region_code?: string;
|
|
489
449
|
|
|
490
450
|
/**
|
|
491
|
-
*
|
|
451
|
+
* The current status of the interface deployment.
|
|
492
452
|
*/
|
|
493
|
-
|
|
453
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
494
454
|
|
|
495
455
|
/**
|
|
496
|
-
*
|
|
497
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
498
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
499
|
-
* of your assigned IP once the connection has been accepted.
|
|
456
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
500
457
|
*/
|
|
501
|
-
|
|
458
|
+
updated_at?: string;
|
|
502
459
|
}
|
|
503
460
|
|
|
504
461
|
export namespace Data {
|
|
@@ -521,24 +478,20 @@ export namespace VirtualCrossConnectUpdateResponse {
|
|
|
521
478
|
}
|
|
522
479
|
}
|
|
523
480
|
|
|
524
|
-
export interface VirtualCrossConnectListResponse
|
|
525
|
-
extends GlobalIPAssignmentsAPI.Record,
|
|
526
|
-
PublicInternetGatewaysAPI.NetworkInterface {
|
|
481
|
+
export interface VirtualCrossConnectListResponse {
|
|
527
482
|
/**
|
|
528
|
-
*
|
|
483
|
+
* Identifies the resource.
|
|
529
484
|
*/
|
|
530
|
-
|
|
485
|
+
id?: string;
|
|
531
486
|
|
|
532
487
|
/**
|
|
533
488
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
534
|
-
* Connect
|
|
535
|
-
* /virtual_cross_connect_regions endpoint.
|
|
489
|
+
* Connect.
|
|
536
490
|
*/
|
|
537
491
|
bandwidth_mbps?: number;
|
|
538
492
|
|
|
539
493
|
/**
|
|
540
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
541
|
-
* will be assigned by Telnyx.
|
|
494
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
542
495
|
*/
|
|
543
496
|
bgp_asn?: number;
|
|
544
497
|
|
|
@@ -549,88 +502,76 @@ export interface VirtualCrossConnectListResponse
|
|
|
549
502
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
550
503
|
|
|
551
504
|
/**
|
|
552
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
553
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
554
|
-
* endpoint.
|
|
505
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
555
506
|
*/
|
|
556
507
|
cloud_provider_region?: string;
|
|
557
508
|
|
|
509
|
+
/**
|
|
510
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
511
|
+
*/
|
|
512
|
+
created_at?: string;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* A user specified name for the interface.
|
|
516
|
+
*/
|
|
517
|
+
name?: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* The id of the network associated with the interface.
|
|
521
|
+
*/
|
|
522
|
+
network_id?: string;
|
|
523
|
+
|
|
558
524
|
/**
|
|
559
525
|
* The authentication key for BGP peer configuration.
|
|
560
526
|
*/
|
|
561
527
|
primary_bgp_key?: string;
|
|
562
528
|
|
|
563
529
|
/**
|
|
564
|
-
* The identifier for your Virtual Private Cloud.
|
|
565
|
-
* based upon your Cloud provider.
|
|
530
|
+
* The identifier for your Virtual Private Cloud.
|
|
566
531
|
*/
|
|
567
532
|
primary_cloud_account_id?: string;
|
|
568
533
|
|
|
569
534
|
/**
|
|
570
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
571
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
572
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
535
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
573
536
|
*/
|
|
574
537
|
primary_cloud_ip?: string;
|
|
575
538
|
|
|
576
539
|
/**
|
|
577
|
-
* Indicates whether the primary circuit is enabled.
|
|
578
|
-
* disable the circuit.
|
|
540
|
+
* Indicates whether the primary circuit is enabled.
|
|
579
541
|
*/
|
|
580
542
|
primary_enabled?: boolean;
|
|
581
543
|
|
|
582
544
|
/**
|
|
583
|
-
* Whether
|
|
545
|
+
* Whether
|
|
584
546
|
*/
|
|
585
547
|
primary_routing_announcement?: boolean;
|
|
586
548
|
|
|
587
549
|
/**
|
|
588
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
589
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
590
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
591
|
-
* of your assigned IP once the connection has been accepted.
|
|
550
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
592
551
|
*/
|
|
593
552
|
primary_telnyx_ip?: string;
|
|
594
553
|
|
|
595
|
-
region?: VirtualCrossConnectListResponse.Region;
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* The authentication key for BGP peer configuration.
|
|
599
|
-
*/
|
|
600
|
-
secondary_bgp_key?: string;
|
|
601
|
-
|
|
602
554
|
/**
|
|
603
|
-
*
|
|
604
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
605
|
-
* GCE.
|
|
555
|
+
* Identifies the type of the resource.
|
|
606
556
|
*/
|
|
607
|
-
|
|
557
|
+
record_type?: string;
|
|
608
558
|
|
|
609
|
-
|
|
610
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
611
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
612
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
613
|
-
*/
|
|
614
|
-
secondary_cloud_ip?: string;
|
|
559
|
+
region?: VirtualCrossConnectListResponse.Region;
|
|
615
560
|
|
|
616
561
|
/**
|
|
617
|
-
*
|
|
618
|
-
* disable the circuit.
|
|
562
|
+
* The region interface is deployed to.
|
|
619
563
|
*/
|
|
620
|
-
|
|
564
|
+
region_code?: string;
|
|
621
565
|
|
|
622
566
|
/**
|
|
623
|
-
*
|
|
567
|
+
* The current status of the interface deployment.
|
|
624
568
|
*/
|
|
625
|
-
|
|
569
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
626
570
|
|
|
627
571
|
/**
|
|
628
|
-
*
|
|
629
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
630
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
631
|
-
* of your assigned IP once the connection has been accepted.
|
|
572
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
632
573
|
*/
|
|
633
|
-
|
|
574
|
+
updated_at?: string;
|
|
634
575
|
}
|
|
635
576
|
|
|
636
577
|
export namespace VirtualCrossConnectListResponse {
|
|
@@ -657,22 +598,20 @@ export interface VirtualCrossConnectDeleteResponse {
|
|
|
657
598
|
}
|
|
658
599
|
|
|
659
600
|
export namespace VirtualCrossConnectDeleteResponse {
|
|
660
|
-
export interface Data
|
|
601
|
+
export interface Data {
|
|
661
602
|
/**
|
|
662
|
-
*
|
|
603
|
+
* Identifies the resource.
|
|
663
604
|
*/
|
|
664
|
-
|
|
605
|
+
id?: string;
|
|
665
606
|
|
|
666
607
|
/**
|
|
667
608
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
668
|
-
* Connect
|
|
669
|
-
* /virtual_cross_connect_regions endpoint.
|
|
609
|
+
* Connect.
|
|
670
610
|
*/
|
|
671
611
|
bandwidth_mbps?: number;
|
|
672
612
|
|
|
673
613
|
/**
|
|
674
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
675
|
-
* will be assigned by Telnyx.
|
|
614
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
676
615
|
*/
|
|
677
616
|
bgp_asn?: number;
|
|
678
617
|
|
|
@@ -683,88 +622,76 @@ export namespace VirtualCrossConnectDeleteResponse {
|
|
|
683
622
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
684
623
|
|
|
685
624
|
/**
|
|
686
|
-
* The region where your Virtual Private Cloud hosts are located
|
|
687
|
-
* available regions can be found using the /virtual_cross_connect_regions
|
|
688
|
-
* endpoint.
|
|
625
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
689
626
|
*/
|
|
690
627
|
cloud_provider_region?: string;
|
|
691
628
|
|
|
629
|
+
/**
|
|
630
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
631
|
+
*/
|
|
632
|
+
created_at?: string;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* A user specified name for the interface.
|
|
636
|
+
*/
|
|
637
|
+
name?: string;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* The id of the network associated with the interface.
|
|
641
|
+
*/
|
|
642
|
+
network_id?: string;
|
|
643
|
+
|
|
692
644
|
/**
|
|
693
645
|
* The authentication key for BGP peer configuration.
|
|
694
646
|
*/
|
|
695
647
|
primary_bgp_key?: string;
|
|
696
648
|
|
|
697
649
|
/**
|
|
698
|
-
* The identifier for your Virtual Private Cloud.
|
|
699
|
-
* based upon your Cloud provider.
|
|
650
|
+
* The identifier for your Virtual Private Cloud.
|
|
700
651
|
*/
|
|
701
652
|
primary_cloud_account_id?: string;
|
|
702
653
|
|
|
703
654
|
/**
|
|
704
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
705
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
706
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
655
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
707
656
|
*/
|
|
708
657
|
primary_cloud_ip?: string;
|
|
709
658
|
|
|
710
659
|
/**
|
|
711
|
-
* Indicates whether the primary circuit is enabled.
|
|
712
|
-
* disable the circuit.
|
|
660
|
+
* Indicates whether the primary circuit is enabled.
|
|
713
661
|
*/
|
|
714
662
|
primary_enabled?: boolean;
|
|
715
663
|
|
|
716
664
|
/**
|
|
717
|
-
* Whether
|
|
665
|
+
* Whether
|
|
718
666
|
*/
|
|
719
667
|
primary_routing_announcement?: boolean;
|
|
720
668
|
|
|
721
669
|
/**
|
|
722
|
-
* The IP address assigned to the Telnyx side of the Virtual Cross
|
|
723
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
724
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
725
|
-
* of your assigned IP once the connection has been accepted.
|
|
670
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
726
671
|
*/
|
|
727
672
|
primary_telnyx_ip?: string;
|
|
728
673
|
|
|
729
|
-
region?: Data.Region;
|
|
730
|
-
|
|
731
674
|
/**
|
|
732
|
-
*
|
|
733
|
-
*/
|
|
734
|
-
secondary_bgp_key?: string;
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* The identifier for your Virtual Private Cloud. The number will be different
|
|
738
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
739
|
-
* GCE.
|
|
675
|
+
* Identifies the type of the resource.
|
|
740
676
|
*/
|
|
741
|
-
|
|
677
|
+
record_type?: string;
|
|
742
678
|
|
|
743
|
-
|
|
744
|
-
* The IP address assigned for your side of the Virtual Cross
|
|
745
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
746
|
-
* you.<br /><br />This value can not be patched once the VXC has bene provisioned.
|
|
747
|
-
*/
|
|
748
|
-
secondary_cloud_ip?: string;
|
|
679
|
+
region?: Data.Region;
|
|
749
680
|
|
|
750
681
|
/**
|
|
751
|
-
*
|
|
752
|
-
* disable the circuit.
|
|
682
|
+
* The region interface is deployed to.
|
|
753
683
|
*/
|
|
754
|
-
|
|
684
|
+
region_code?: string;
|
|
755
685
|
|
|
756
686
|
/**
|
|
757
|
-
*
|
|
687
|
+
* The current status of the interface deployment.
|
|
758
688
|
*/
|
|
759
|
-
|
|
689
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
760
690
|
|
|
761
691
|
/**
|
|
762
|
-
*
|
|
763
|
-
* Connect.<br /><br />If none is provided, one will be generated for
|
|
764
|
-
* you.<br /><br />This value should be null for GCE as Google will only inform you
|
|
765
|
-
* of your assigned IP once the connection has been accepted.
|
|
692
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
766
693
|
*/
|
|
767
|
-
|
|
694
|
+
updated_at?: string;
|
|
768
695
|
}
|
|
769
696
|
|
|
770
697
|
export namespace Data {
|