telnyx 6.52.0 → 6.53.0

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