telnyx 6.65.0 → 6.66.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 +24 -0
- package/client.d.mts +11 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -10
- 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 +114 -116
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +114 -116
- 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 +139 -334
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +139 -334
- 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 -220
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -220
- 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 +2 -113
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -113
- 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 +177 -120
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +177 -120
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +3 -5
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +3 -5
- 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 +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/faxes/faxes.d.mts +24 -8
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +24 -8
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js +12 -0
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs +12 -0
- package/resources/faxes/faxes.mjs.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 +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 +40 -50
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +40 -50
- 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 +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/texml/accounts/calls/calls.d.mts +27 -6
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +27 -6
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/texml.d.mts +9 -2
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +9 -2
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs.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 +48 -504
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +48 -504
- 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/webhooks.d.mts +20 -10
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +20 -10
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/wireguard-interfaces.d.mts +43 -127
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +43 -127
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +5 -2
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +5 -2
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +27 -16
- package/src/resources/ai/ai.ts +139 -130
- package/src/resources/ai/assistants/assistants.ts +164 -363
- 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 -244
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/openai/openai.ts +2 -131
- package/src/resources/calls/actions.ts +284 -184
- 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/faxes/faxes.ts +24 -8
- package/src/resources/index.ts +13 -8
- package/src/resources/networks/networks.ts +31 -4
- package/src/resources/public-internet-gateways.ts +46 -55
- package/src/resources/shared.ts +12 -0
- package/src/resources/texml/accounts/calls/calls.ts +30 -6
- package/src/resources/texml/texml.ts +10 -2
- 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 +54 -595
- package/src/resources/webhooks.ts +21 -10
- package/src/resources/wireguard-interfaces.ts +53 -158
- 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';
|
|
@@ -81,7 +80,7 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
81
80
|
* @example
|
|
82
81
|
* ```ts
|
|
83
82
|
* // Automatically fetches more pages as needed.
|
|
84
|
-
* for await (const
|
|
83
|
+
* for await (const virtualCrossConnectCombined of client.virtualCrossConnects.list()) {
|
|
85
84
|
* // ...
|
|
86
85
|
* }
|
|
87
86
|
* ```
|
|
@@ -89,10 +88,10 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
89
88
|
list(
|
|
90
89
|
query: VirtualCrossConnectListParams | null | undefined = {},
|
|
91
90
|
options?: RequestOptions,
|
|
92
|
-
): PagePromise<
|
|
91
|
+
): PagePromise<VirtualCrossConnectCombinedsDefaultFlatPagination, VirtualCrossConnectCombined> {
|
|
93
92
|
return this._client.getAPIList(
|
|
94
93
|
'/virtual_cross_connects',
|
|
95
|
-
DefaultFlatPagination<
|
|
94
|
+
DefaultFlatPagination<VirtualCrossConnectCombined>,
|
|
96
95
|
{ query, ...options },
|
|
97
96
|
);
|
|
98
97
|
}
|
|
@@ -113,432 +112,23 @@ export class VirtualCrossConnects extends APIResource {
|
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
|
|
116
|
-
export type
|
|
117
|
-
DefaultFlatPagination<
|
|
115
|
+
export type VirtualCrossConnectCombinedsDefaultFlatPagination =
|
|
116
|
+
DefaultFlatPagination<VirtualCrossConnectCombined>;
|
|
118
117
|
|
|
119
|
-
export interface
|
|
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 {
|
|
118
|
+
export interface VirtualCrossConnectCombined {
|
|
527
119
|
/**
|
|
528
|
-
*
|
|
120
|
+
* Identifies the resource.
|
|
529
121
|
*/
|
|
530
|
-
|
|
122
|
+
id?: string;
|
|
531
123
|
|
|
532
124
|
/**
|
|
533
125
|
* The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
|
|
534
|
-
* Connect
|
|
535
|
-
* /virtual_cross_connect_regions endpoint.
|
|
126
|
+
* Connect.
|
|
536
127
|
*/
|
|
537
128
|
bandwidth_mbps?: number;
|
|
538
129
|
|
|
539
130
|
/**
|
|
540
|
-
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
541
|
-
* will be assigned by Telnyx.
|
|
131
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
|
542
132
|
*/
|
|
543
133
|
bgp_asn?: number;
|
|
544
134
|
|
|
@@ -549,91 +139,79 @@ export interface VirtualCrossConnectListResponse
|
|
|
549
139
|
cloud_provider?: 'aws' | 'azure' | 'gce';
|
|
550
140
|
|
|
551
141
|
/**
|
|
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.
|
|
142
|
+
* The region where your Virtual Private Cloud hosts are located.
|
|
555
143
|
*/
|
|
556
144
|
cloud_provider_region?: string;
|
|
557
145
|
|
|
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
|
+
|
|
558
161
|
/**
|
|
559
162
|
* The authentication key for BGP peer configuration.
|
|
560
163
|
*/
|
|
561
164
|
primary_bgp_key?: string;
|
|
562
165
|
|
|
563
166
|
/**
|
|
564
|
-
* The identifier for your Virtual Private Cloud.
|
|
565
|
-
* based upon your Cloud provider.
|
|
167
|
+
* The identifier for your Virtual Private Cloud.
|
|
566
168
|
*/
|
|
567
169
|
primary_cloud_account_id?: string;
|
|
568
170
|
|
|
569
171
|
/**
|
|
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.
|
|
172
|
+
* The IP address assigned for your side of the Virtual Cross Connect.
|
|
573
173
|
*/
|
|
574
174
|
primary_cloud_ip?: string;
|
|
575
175
|
|
|
576
176
|
/**
|
|
577
|
-
* Indicates whether the primary circuit is enabled.
|
|
578
|
-
* disable the circuit.
|
|
177
|
+
* Indicates whether the primary circuit is enabled.
|
|
579
178
|
*/
|
|
580
179
|
primary_enabled?: boolean;
|
|
581
180
|
|
|
582
181
|
/**
|
|
583
|
-
* Whether
|
|
182
|
+
* Whether
|
|
584
183
|
*/
|
|
585
184
|
primary_routing_announcement?: boolean;
|
|
586
185
|
|
|
587
186
|
/**
|
|
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.
|
|
187
|
+
* The IP address assigned to the Telnyx side of the Virtual Cross Connect.
|
|
592
188
|
*/
|
|
593
189
|
primary_telnyx_ip?: string;
|
|
594
190
|
|
|
595
|
-
region?: VirtualCrossConnectListResponse.Region;
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* The authentication key for BGP peer configuration.
|
|
599
|
-
*/
|
|
600
|
-
secondary_bgp_key?: string;
|
|
601
|
-
|
|
602
191
|
/**
|
|
603
|
-
*
|
|
604
|
-
* based upon your Cloud provider.<br /><br />This attribute is only necessary for
|
|
605
|
-
* GCE.
|
|
192
|
+
* Identifies the type of the resource.
|
|
606
193
|
*/
|
|
607
|
-
|
|
194
|
+
record_type?: string;
|
|
608
195
|
|
|
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;
|
|
196
|
+
region?: VirtualCrossConnectCombined.Region;
|
|
615
197
|
|
|
616
198
|
/**
|
|
617
|
-
*
|
|
618
|
-
* disable the circuit.
|
|
199
|
+
* The region interface is deployed to.
|
|
619
200
|
*/
|
|
620
|
-
|
|
201
|
+
region_code?: string;
|
|
621
202
|
|
|
622
203
|
/**
|
|
623
|
-
*
|
|
204
|
+
* The current status of the interface deployment.
|
|
624
205
|
*/
|
|
625
|
-
|
|
206
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
626
207
|
|
|
627
208
|
/**
|
|
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.
|
|
209
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
632
210
|
*/
|
|
633
|
-
|
|
211
|
+
updated_at?: string;
|
|
634
212
|
}
|
|
635
213
|
|
|
636
|
-
export namespace
|
|
214
|
+
export namespace VirtualCrossConnectCombined {
|
|
637
215
|
export interface Region {
|
|
638
216
|
/**
|
|
639
217
|
* Region code of the interface.
|
|
@@ -652,139 +230,20 @@ export namespace VirtualCrossConnectListResponse {
|
|
|
652
230
|
}
|
|
653
231
|
}
|
|
654
232
|
|
|
655
|
-
export interface
|
|
656
|
-
data?:
|
|
233
|
+
export interface VirtualCrossConnectCreateResponse {
|
|
234
|
+
data?: VirtualCrossConnectCombined;
|
|
657
235
|
}
|
|
658
236
|
|
|
659
|
-
export
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
* The region interface is deployed to.
|
|
663
|
-
*/
|
|
664
|
-
region_code: string;
|
|
665
|
-
|
|
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;
|
|
672
|
-
|
|
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;
|
|
237
|
+
export interface VirtualCrossConnectRetrieveResponse {
|
|
238
|
+
data?: VirtualCrossConnectCombined;
|
|
239
|
+
}
|
|
760
240
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
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
|
-
}
|
|
241
|
+
export interface VirtualCrossConnectUpdateResponse {
|
|
242
|
+
data?: VirtualCrossConnectCombined;
|
|
243
|
+
}
|
|
769
244
|
|
|
770
|
-
|
|
771
|
-
|
|
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
|
-
}
|
|
245
|
+
export interface VirtualCrossConnectDeleteResponse {
|
|
246
|
+
data?: VirtualCrossConnectCombined;
|
|
788
247
|
}
|
|
789
248
|
|
|
790
249
|
export interface VirtualCrossConnectCreateParams {
|
|
@@ -944,12 +403,12 @@ export namespace VirtualCrossConnectListParams {
|
|
|
944
403
|
|
|
945
404
|
export declare namespace VirtualCrossConnects {
|
|
946
405
|
export {
|
|
406
|
+
type VirtualCrossConnectCombined as VirtualCrossConnectCombined,
|
|
947
407
|
type VirtualCrossConnectCreateResponse as VirtualCrossConnectCreateResponse,
|
|
948
408
|
type VirtualCrossConnectRetrieveResponse as VirtualCrossConnectRetrieveResponse,
|
|
949
409
|
type VirtualCrossConnectUpdateResponse as VirtualCrossConnectUpdateResponse,
|
|
950
|
-
type VirtualCrossConnectListResponse as VirtualCrossConnectListResponse,
|
|
951
410
|
type VirtualCrossConnectDeleteResponse as VirtualCrossConnectDeleteResponse,
|
|
952
|
-
type
|
|
411
|
+
type VirtualCrossConnectCombinedsDefaultFlatPagination as VirtualCrossConnectCombinedsDefaultFlatPagination,
|
|
953
412
|
type VirtualCrossConnectCreateParams as VirtualCrossConnectCreateParams,
|
|
954
413
|
type VirtualCrossConnectUpdateParams as VirtualCrossConnectUpdateParams,
|
|
955
414
|
type VirtualCrossConnectListParams as VirtualCrossConnectListParams,
|