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