telnyx 6.64.0 → 6.65.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 +8 -0
- package/client.d.mts +10 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -11
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +116 -114
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +116 -114
- 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 +332 -112
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +332 -112
- 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/versions.d.mts +220 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +220 -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.map +1 -1
- package/resources/ai/openai/openai.d.mts +113 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +113 -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 +398 -41
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +398 -41
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +46 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +46 -0
- package/resources/calls/actions.mjs.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 +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +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 +50 -40
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +50 -40
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +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 +504 -48
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +504 -48
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +127 -43
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +127 -43
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +2 -5
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +2 -5
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +16 -27
- package/src/resources/ai/ai.ts +130 -139
- package/src/resources/ai/assistants/assistants.ts +362 -133
- package/src/resources/ai/assistants/canary-deploys.ts +266 -75
- package/src/resources/ai/assistants/index.ts +0 -10
- package/src/resources/ai/assistants/versions.ts +244 -6
- package/src/resources/ai/index.ts +0 -6
- package/src/resources/ai/openai/openai.ts +131 -2
- package/src/resources/calls/actions.ts +543 -76
- package/src/resources/calls/calls.ts +8 -4
- package/src/resources/calls/index.ts +4 -2
- package/src/resources/conferences/actions.ts +13 -1
- package/src/resources/index.ts +8 -13
- package/src/resources/networks/networks.ts +4 -31
- package/src/resources/public-internet-gateways.ts +55 -46
- 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 +595 -54
- package/src/resources/wireguard-interfaces.ts +158 -53
- 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';
|
|
@@ -80,7 +81,7 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
80
81
|
* @example
|
|
81
82
|
* ```ts
|
|
82
83
|
* // Automatically fetches more pages as needed.
|
|
83
|
-
* for await (const
|
|
84
|
+
* for await (const virtualCrossConnectListResponse of client.virtualCrossConnects.list()) {
|
|
84
85
|
* // ...
|
|
85
86
|
* }
|
|
86
87
|
* ```
|
|
@@ -88,10 +89,10 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
88
89
|
list(
|
|
89
90
|
query: VirtualCrossConnectListParams | null | undefined = {},
|
|
90
91
|
options?: RequestOptions,
|
|
91
|
-
): PagePromise<
|
|
92
|
+
): PagePromise<VirtualCrossConnectListResponsesDefaultFlatPagination, VirtualCrossConnectListResponse> {
|
|
92
93
|
return this._client.getAPIList(
|
|
93
94
|
'/virtual_cross_connects',
|
|
94
|
-
DefaultFlatPagination<
|
|
95
|
+
DefaultFlatPagination<VirtualCrossConnectListResponse>,
|
|
95
96
|
{ query, ...options },
|
|
96
97
|
);
|
|
97
98
|
}
|
|
@@ -112,23 +113,432 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
export type
|
|
116
|
-
DefaultFlatPagination<
|
|
116
|
+
export type VirtualCrossConnectListResponsesDefaultFlatPagination =
|
|
117
|
+
DefaultFlatPagination<VirtualCrossConnectListResponse>;
|
|
117
118
|
|
|
118
|
-
export interface
|
|
119
|
+
export interface VirtualCrossConnectCreateResponse {
|
|
120
|
+
data?: VirtualCrossConnectCreateResponse.Data;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export namespace VirtualCrossConnectCreateResponse {
|
|
124
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
125
|
+
/**
|
|
126
|
+
* The region interface is deployed to.
|
|
127
|
+
*/
|
|
128
|
+
region_code: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
132
|
+
* Connect.<br /><br />The available bandwidths can be found using the
|
|
133
|
+
* /virtual_cross_connect_regions endpoint.
|
|
134
|
+
*/
|
|
135
|
+
bandwidth_mbps?: number;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
|
139
|
+
* will be assigned by Telnyx.
|
|
140
|
+
*/
|
|
141
|
+
bgp_asn?: number;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The Virtual Private Cloud with which you would like to establish a cross
|
|
145
|
+
* connect.
|
|
146
|
+
*/
|
|
147
|
+
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
148
|
+
|
|
149
|
+
/**
|
|
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.
|
|
153
|
+
*/
|
|
154
|
+
cloud_provider_region?: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* The authentication key for BGP peer configuration.
|
|
158
|
+
*/
|
|
159
|
+
primary_bgp_key?: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The identifier for your Virtual Private Cloud. The number will be different
|
|
163
|
+
* based upon your Cloud provider.
|
|
164
|
+
*/
|
|
165
|
+
primary_cloud_account_id?: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
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.
|
|
171
|
+
*/
|
|
172
|
+
primary_cloud_ip?: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Indicates whether the primary circuit is enabled. Setting this to `false` will
|
|
176
|
+
* disable the circuit.
|
|
177
|
+
*/
|
|
178
|
+
primary_enabled?: boolean;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Whether the primary BGP route is being announced.
|
|
182
|
+
*/
|
|
183
|
+
primary_routing_announcement?: boolean;
|
|
184
|
+
|
|
185
|
+
/**
|
|
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.
|
|
190
|
+
*/
|
|
191
|
+
primary_telnyx_ip?: string;
|
|
192
|
+
|
|
193
|
+
region?: Data.Region;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The authentication key for BGP peer configuration.
|
|
197
|
+
*/
|
|
198
|
+
secondary_bgp_key?: string;
|
|
199
|
+
|
|
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;
|
|
206
|
+
|
|
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;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
|
216
|
+
* disable the circuit.
|
|
217
|
+
*/
|
|
218
|
+
secondary_enabled?: boolean;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Whether the secondary BGP route is being announced.
|
|
222
|
+
*/
|
|
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;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export namespace Data {
|
|
235
|
+
export interface Region {
|
|
236
|
+
/**
|
|
237
|
+
* Region code of the interface.
|
|
238
|
+
*/
|
|
239
|
+
code?: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Region name of the interface.
|
|
243
|
+
*/
|
|
244
|
+
name?: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Identifies the type of the resource.
|
|
248
|
+
*/
|
|
249
|
+
record_type?: string;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export interface VirtualCrossConnectRetrieveResponse {
|
|
255
|
+
data?: VirtualCrossConnectRetrieveResponse.Data;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export namespace VirtualCrossConnectRetrieveResponse {
|
|
259
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
260
|
+
/**
|
|
261
|
+
* The region interface is deployed to.
|
|
262
|
+
*/
|
|
263
|
+
region_code: string;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
267
|
+
* Connect.<br /><br />The available bandwidths can be found using the
|
|
268
|
+
* /virtual_cross_connect_regions endpoint.
|
|
269
|
+
*/
|
|
270
|
+
bandwidth_mbps?: number;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
|
274
|
+
* will be assigned by Telnyx.
|
|
275
|
+
*/
|
|
276
|
+
bgp_asn?: number;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* The Virtual Private Cloud with which you would like to establish a cross
|
|
280
|
+
* connect.
|
|
281
|
+
*/
|
|
282
|
+
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
283
|
+
|
|
284
|
+
/**
|
|
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.
|
|
288
|
+
*/
|
|
289
|
+
cloud_provider_region?: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* The authentication key for BGP peer configuration.
|
|
293
|
+
*/
|
|
294
|
+
primary_bgp_key?: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* The identifier for your Virtual Private Cloud. The number will be different
|
|
298
|
+
* based upon your Cloud provider.
|
|
299
|
+
*/
|
|
300
|
+
primary_cloud_account_id?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
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.
|
|
306
|
+
*/
|
|
307
|
+
primary_cloud_ip?: string;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Indicates whether the primary circuit is enabled. Setting this to `false` will
|
|
311
|
+
* disable the circuit.
|
|
312
|
+
*/
|
|
313
|
+
primary_enabled?: boolean;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Whether the primary BGP route is being announced.
|
|
317
|
+
*/
|
|
318
|
+
primary_routing_announcement?: boolean;
|
|
319
|
+
|
|
320
|
+
/**
|
|
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.
|
|
325
|
+
*/
|
|
326
|
+
primary_telnyx_ip?: string;
|
|
327
|
+
|
|
328
|
+
region?: Data.Region;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The authentication key for BGP peer configuration.
|
|
332
|
+
*/
|
|
333
|
+
secondary_bgp_key?: string;
|
|
334
|
+
|
|
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;
|
|
341
|
+
|
|
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;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
|
351
|
+
* disable the circuit.
|
|
352
|
+
*/
|
|
353
|
+
secondary_enabled?: boolean;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Whether the secondary BGP route is being announced.
|
|
357
|
+
*/
|
|
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;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export namespace Data {
|
|
370
|
+
export interface Region {
|
|
371
|
+
/**
|
|
372
|
+
* Region code of the interface.
|
|
373
|
+
*/
|
|
374
|
+
code?: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Region name of the interface.
|
|
378
|
+
*/
|
|
379
|
+
name?: string;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Identifies the type of the resource.
|
|
383
|
+
*/
|
|
384
|
+
record_type?: string;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export interface VirtualCrossConnectUpdateResponse {
|
|
390
|
+
data?: VirtualCrossConnectUpdateResponse.Data;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export namespace VirtualCrossConnectUpdateResponse {
|
|
394
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
395
|
+
/**
|
|
396
|
+
* The region interface is deployed to.
|
|
397
|
+
*/
|
|
398
|
+
region_code: string;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
402
|
+
* Connect.<br /><br />The available bandwidths can be found using the
|
|
403
|
+
* /virtual_cross_connect_regions endpoint.
|
|
404
|
+
*/
|
|
405
|
+
bandwidth_mbps?: number;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
|
409
|
+
* will be assigned by Telnyx.
|
|
410
|
+
*/
|
|
411
|
+
bgp_asn?: number;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* The Virtual Private Cloud with which you would like to establish a cross
|
|
415
|
+
* connect.
|
|
416
|
+
*/
|
|
417
|
+
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
418
|
+
|
|
419
|
+
/**
|
|
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.
|
|
423
|
+
*/
|
|
424
|
+
cloud_provider_region?: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The authentication key for BGP peer configuration.
|
|
428
|
+
*/
|
|
429
|
+
primary_bgp_key?: string;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* The identifier for your Virtual Private Cloud. The number will be different
|
|
433
|
+
* based upon your Cloud provider.
|
|
434
|
+
*/
|
|
435
|
+
primary_cloud_account_id?: string;
|
|
436
|
+
|
|
437
|
+
/**
|
|
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.
|
|
441
|
+
*/
|
|
442
|
+
primary_cloud_ip?: string;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Indicates whether the primary circuit is enabled. Setting this to `false` will
|
|
446
|
+
* disable the circuit.
|
|
447
|
+
*/
|
|
448
|
+
primary_enabled?: boolean;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Whether the primary BGP route is being announced.
|
|
452
|
+
*/
|
|
453
|
+
primary_routing_announcement?: boolean;
|
|
454
|
+
|
|
455
|
+
/**
|
|
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.
|
|
460
|
+
*/
|
|
461
|
+
primary_telnyx_ip?: string;
|
|
462
|
+
|
|
463
|
+
region?: Data.Region;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* The authentication key for BGP peer configuration.
|
|
467
|
+
*/
|
|
468
|
+
secondary_bgp_key?: string;
|
|
469
|
+
|
|
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;
|
|
476
|
+
|
|
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;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
|
486
|
+
* disable the circuit.
|
|
487
|
+
*/
|
|
488
|
+
secondary_enabled?: boolean;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Whether the secondary BGP route is being announced.
|
|
492
|
+
*/
|
|
493
|
+
secondary_routing_announcement?: boolean;
|
|
494
|
+
|
|
495
|
+
/**
|
|
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.
|
|
500
|
+
*/
|
|
501
|
+
secondary_telnyx_ip?: string;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export namespace Data {
|
|
505
|
+
export interface Region {
|
|
506
|
+
/**
|
|
507
|
+
* Region code of the interface.
|
|
508
|
+
*/
|
|
509
|
+
code?: string;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Region name of the interface.
|
|
513
|
+
*/
|
|
514
|
+
name?: string;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Identifies the type of the resource.
|
|
518
|
+
*/
|
|
519
|
+
record_type?: string;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export interface VirtualCrossConnectListResponse
|
|
525
|
+
extends GlobalIPAssignmentsAPI.Record,
|
|
526
|
+
PublicInternetGatewaysAPI.NetworkInterface {
|
|
119
527
|
/**
|
|
120
|
-
*
|
|
528
|
+
* The region interface is deployed to.
|
|
121
529
|
*/
|
|
122
|
-
|
|
530
|
+
region_code: string;
|
|
123
531
|
|
|
124
532
|
/**
|
|
125
533
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
126
|
-
* Connect
|
|
534
|
+
* Connect.<br /><br />The available bandwidths can be found using the
|
|
535
|
+
* /virtual_cross_connect_regions endpoint.
|
|
127
536
|
*/
|
|
128
537
|
bandwidth_mbps?: number;
|
|
129
538
|
|
|
130
539
|
/**
|
|
131
|
-
* 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.
|
|
132
542
|
*/
|
|
133
543
|
bgp_asn?: number;
|
|
134
544
|
|
|
@@ -139,79 +549,91 @@ export interface VirtualCrossConnectCombined {
|
|
|
139
549
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
140
550
|
|
|
141
551
|
/**
|
|
142
|
-
* 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.
|
|
143
555
|
*/
|
|
144
556
|
cloud_provider_region?: string;
|
|
145
557
|
|
|
146
|
-
/**
|
|
147
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
148
|
-
*/
|
|
149
|
-
created_at?: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* A user specified name for the interface.
|
|
153
|
-
*/
|
|
154
|
-
name?: string;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* The id of the network associated with the interface.
|
|
158
|
-
*/
|
|
159
|
-
network_id?: string;
|
|
160
|
-
|
|
161
558
|
/**
|
|
162
559
|
* The authentication key for BGP peer configuration.
|
|
163
560
|
*/
|
|
164
561
|
primary_bgp_key?: string;
|
|
165
562
|
|
|
166
563
|
/**
|
|
167
|
-
* 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.
|
|
168
566
|
*/
|
|
169
567
|
primary_cloud_account_id?: string;
|
|
170
568
|
|
|
171
569
|
/**
|
|
172
|
-
* 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.
|
|
173
573
|
*/
|
|
174
574
|
primary_cloud_ip?: string;
|
|
175
575
|
|
|
176
576
|
/**
|
|
177
|
-
* Indicates whether the primary circuit is enabled.
|
|
577
|
+
* Indicates whether the primary circuit is enabled. Setting this to `false` will
|
|
578
|
+
* disable the circuit.
|
|
178
579
|
*/
|
|
179
580
|
primary_enabled?: boolean;
|
|
180
581
|
|
|
181
582
|
/**
|
|
182
|
-
* Whether
|
|
583
|
+
* Whether the primary BGP route is being announced.
|
|
183
584
|
*/
|
|
184
585
|
primary_routing_announcement?: boolean;
|
|
185
586
|
|
|
186
587
|
/**
|
|
187
|
-
* 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.
|
|
188
592
|
*/
|
|
189
593
|
primary_telnyx_ip?: string;
|
|
190
594
|
|
|
595
|
+
region?: VirtualCrossConnectListResponse.Region;
|
|
596
|
+
|
|
191
597
|
/**
|
|
192
|
-
*
|
|
598
|
+
* The authentication key for BGP peer configuration.
|
|
193
599
|
*/
|
|
194
|
-
|
|
600
|
+
secondary_bgp_key?: string;
|
|
195
601
|
|
|
196
|
-
|
|
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;
|
|
197
608
|
|
|
198
609
|
/**
|
|
199
|
-
* 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.
|
|
200
613
|
*/
|
|
201
|
-
|
|
614
|
+
secondary_cloud_ip?: string;
|
|
202
615
|
|
|
203
616
|
/**
|
|
204
|
-
*
|
|
617
|
+
* Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
|
618
|
+
* disable the circuit.
|
|
205
619
|
*/
|
|
206
|
-
|
|
620
|
+
secondary_enabled?: boolean;
|
|
207
621
|
|
|
208
622
|
/**
|
|
209
|
-
*
|
|
623
|
+
* Whether the secondary BGP route is being announced.
|
|
210
624
|
*/
|
|
211
|
-
|
|
625
|
+
secondary_routing_announcement?: boolean;
|
|
626
|
+
|
|
627
|
+
/**
|
|
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.
|
|
632
|
+
*/
|
|
633
|
+
secondary_telnyx_ip?: string;
|
|
212
634
|
}
|
|
213
635
|
|
|
214
|
-
export namespace
|
|
636
|
+
export namespace VirtualCrossConnectListResponse {
|
|
215
637
|
export interface Region {
|
|
216
638
|
/**
|
|
217
639
|
* Region code of the interface.
|
|
@@ -230,20 +652,139 @@ export namespace VirtualCrossConnectCombined {
|
|
|
230
652
|
}
|
|
231
653
|
}
|
|
232
654
|
|
|
233
|
-
export interface
|
|
234
|
-
data?:
|
|
655
|
+
export interface VirtualCrossConnectDeleteResponse {
|
|
656
|
+
data?: VirtualCrossConnectDeleteResponse.Data;
|
|
235
657
|
}
|
|
236
658
|
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
659
|
+
export namespace VirtualCrossConnectDeleteResponse {
|
|
660
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
661
|
+
/**
|
|
662
|
+
* The region interface is deployed to.
|
|
663
|
+
*/
|
|
664
|
+
region_code: string;
|
|
240
665
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
666
|
+
/**
|
|
667
|
+
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
668
|
+
* Connect.<br /><br />The available bandwidths can be found using the
|
|
669
|
+
* /virtual_cross_connect_regions endpoint.
|
|
670
|
+
*/
|
|
671
|
+
bandwidth_mbps?: number;
|
|
244
672
|
|
|
245
|
-
|
|
246
|
-
|
|
673
|
+
/**
|
|
674
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
|
|
675
|
+
* will be assigned by Telnyx.
|
|
676
|
+
*/
|
|
677
|
+
bgp_asn?: number;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* The Virtual Private Cloud with which you would like to establish a cross
|
|
681
|
+
* connect.
|
|
682
|
+
*/
|
|
683
|
+
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
684
|
+
|
|
685
|
+
/**
|
|
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.
|
|
689
|
+
*/
|
|
690
|
+
cloud_provider_region?: string;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* The authentication key for BGP peer configuration.
|
|
694
|
+
*/
|
|
695
|
+
primary_bgp_key?: string;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* The identifier for your Virtual Private Cloud. The number will be different
|
|
699
|
+
* based upon your Cloud provider.
|
|
700
|
+
*/
|
|
701
|
+
primary_cloud_account_id?: string;
|
|
702
|
+
|
|
703
|
+
/**
|
|
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.
|
|
707
|
+
*/
|
|
708
|
+
primary_cloud_ip?: string;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Indicates whether the primary circuit is enabled. Setting this to `false` will
|
|
712
|
+
* disable the circuit.
|
|
713
|
+
*/
|
|
714
|
+
primary_enabled?: boolean;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Whether the primary BGP route is being announced.
|
|
718
|
+
*/
|
|
719
|
+
primary_routing_announcement?: boolean;
|
|
720
|
+
|
|
721
|
+
/**
|
|
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.
|
|
726
|
+
*/
|
|
727
|
+
primary_telnyx_ip?: string;
|
|
728
|
+
|
|
729
|
+
region?: Data.Region;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* The authentication key for BGP peer configuration.
|
|
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.
|
|
740
|
+
*/
|
|
741
|
+
secondary_cloud_account_id?: string;
|
|
742
|
+
|
|
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;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Indicates whether the secondary circuit is enabled. Setting this to `false` will
|
|
752
|
+
* disable the circuit.
|
|
753
|
+
*/
|
|
754
|
+
secondary_enabled?: boolean;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Whether the secondary BGP route is being announced.
|
|
758
|
+
*/
|
|
759
|
+
secondary_routing_announcement?: boolean;
|
|
760
|
+
|
|
761
|
+
/**
|
|
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.
|
|
766
|
+
*/
|
|
767
|
+
secondary_telnyx_ip?: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export namespace Data {
|
|
771
|
+
export interface Region {
|
|
772
|
+
/**
|
|
773
|
+
* Region code of the interface.
|
|
774
|
+
*/
|
|
775
|
+
code?: string;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Region name of the interface.
|
|
779
|
+
*/
|
|
780
|
+
name?: string;
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Identifies the type of the resource.
|
|
784
|
+
*/
|
|
785
|
+
record_type?: string;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
247
788
|
}
|
|
248
789
|
|
|
249
790
|
export interface VirtualCrossConnectCreateParams {
|
|
@@ -403,12 +944,12 @@ export namespace VirtualCrossConnectListParams {
|
|
|
403
944
|
|
|
404
945
|
export declare namespace VirtualCrossConnects {
|
|
405
946
|
export {
|
|
406
|
-
type VirtualCrossConnectCombined as VirtualCrossConnectCombined,
|
|
407
947
|
type VirtualCrossConnectCreateResponse as VirtualCrossConnectCreateResponse,
|
|
408
948
|
type VirtualCrossConnectRetrieveResponse as VirtualCrossConnectRetrieveResponse,
|
|
409
949
|
type VirtualCrossConnectUpdateResponse as VirtualCrossConnectUpdateResponse,
|
|
950
|
+
type VirtualCrossConnectListResponse as VirtualCrossConnectListResponse,
|
|
410
951
|
type VirtualCrossConnectDeleteResponse as VirtualCrossConnectDeleteResponse,
|
|
411
|
-
type
|
|
952
|
+
type VirtualCrossConnectListResponsesDefaultFlatPagination as VirtualCrossConnectListResponsesDefaultFlatPagination,
|
|
412
953
|
type VirtualCrossConnectCreateParams as VirtualCrossConnectCreateParams,
|
|
413
954
|
type VirtualCrossConnectUpdateParams as VirtualCrossConnectUpdateParams,
|
|
414
955
|
type VirtualCrossConnectListParams as VirtualCrossConnectListParams,
|