telnyx 6.52.0 → 6.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/client.d.mts +5 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +10 -12
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +10 -12
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +110 -322
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +110 -322
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +70 -241
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +70 -241
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +6 -212
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -212
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -9
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -9
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +41 -119
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +41 -119
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -11
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -11
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +25 -2
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +25 -2
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +116 -6
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +116 -6
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +10 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +10 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +211 -1861
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +211 -1861
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +161 -237
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +161 -237
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +117 -6
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +117 -6
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +21 -5
- package/src/resources/ai/ai.ts +20 -11
- package/src/resources/ai/assistants/assistants.ts +131 -350
- package/src/resources/ai/assistants/canary-deploys.ts +75 -266
- package/src/resources/ai/assistants/index.ts +10 -0
- package/src/resources/ai/assistants/versions.ts +6 -234
- package/src/resources/ai/index.ts +12 -1
- package/src/resources/ai/openai/openai.ts +2 -13
- package/src/resources/calls/actions.ts +76 -192
- package/src/resources/calls/calls.ts +4 -0
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/conferences/actions.ts +1 -13
- package/src/resources/index.ts +13 -3
- package/src/resources/networks/networks.ts +31 -4
- package/src/resources/public-internet-gateways.ts +144 -6
- package/src/resources/shared.ts +12 -0
- package/src/resources/uac-connections/index.ts +6 -2
- package/src/resources/uac-connections/uac-connections.ts +397 -2396
- package/src/resources/virtual-cross-connects.ts +176 -249
- package/src/resources/wireguard-interfaces.ts +145 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as
|
|
5
|
-
import * as PublicInternetGatewaysAPI from './public-internet-gateways';
|
|
4
|
+
import * as NetworksAPI from './networks/networks';
|
|
6
5
|
import { APIPromise } from '../core/api-promise';
|
|
7
6
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
8
7
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -92,7 +91,17 @@ export interface WireguardInterfaceCreateResponse {
|
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
export namespace WireguardInterfaceCreateResponse {
|
|
95
|
-
export interface Data
|
|
94
|
+
export interface Data {
|
|
95
|
+
/**
|
|
96
|
+
* Identifies the resource.
|
|
97
|
+
*/
|
|
98
|
+
id?: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
102
|
+
*/
|
|
103
|
+
created_at?: string;
|
|
104
|
+
|
|
96
105
|
/**
|
|
97
106
|
* Enable SIP traffic forwarding over VPN interface.
|
|
98
107
|
*/
|
|
@@ -103,17 +112,42 @@ export namespace WireguardInterfaceCreateResponse {
|
|
|
103
112
|
*/
|
|
104
113
|
endpoint?: string;
|
|
105
114
|
|
|
115
|
+
/**
|
|
116
|
+
* A user specified name for the interface.
|
|
117
|
+
*/
|
|
118
|
+
name?: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The id of the network associated with the interface.
|
|
122
|
+
*/
|
|
123
|
+
network_id?: string;
|
|
124
|
+
|
|
106
125
|
/**
|
|
107
126
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
108
127
|
*/
|
|
109
128
|
public_key?: string;
|
|
110
129
|
|
|
130
|
+
/**
|
|
131
|
+
* Identifies the type of the resource.
|
|
132
|
+
*/
|
|
133
|
+
record_type?: string;
|
|
134
|
+
|
|
111
135
|
region?: Data.Region;
|
|
112
136
|
|
|
113
137
|
/**
|
|
114
138
|
* The region interface is deployed to.
|
|
115
139
|
*/
|
|
116
140
|
region_code?: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The current status of the interface deployment.
|
|
144
|
+
*/
|
|
145
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
149
|
+
*/
|
|
150
|
+
updated_at?: string;
|
|
117
151
|
}
|
|
118
152
|
|
|
119
153
|
export namespace Data {
|
|
@@ -141,7 +175,17 @@ export interface WireguardInterfaceRetrieveResponse {
|
|
|
141
175
|
}
|
|
142
176
|
|
|
143
177
|
export namespace WireguardInterfaceRetrieveResponse {
|
|
144
|
-
export interface Data
|
|
178
|
+
export interface Data {
|
|
179
|
+
/**
|
|
180
|
+
* Identifies the resource.
|
|
181
|
+
*/
|
|
182
|
+
id?: string;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
186
|
+
*/
|
|
187
|
+
created_at?: string;
|
|
188
|
+
|
|
145
189
|
/**
|
|
146
190
|
* Enable SIP traffic forwarding over VPN interface.
|
|
147
191
|
*/
|
|
@@ -152,17 +196,42 @@ export namespace WireguardInterfaceRetrieveResponse {
|
|
|
152
196
|
*/
|
|
153
197
|
endpoint?: string;
|
|
154
198
|
|
|
199
|
+
/**
|
|
200
|
+
* A user specified name for the interface.
|
|
201
|
+
*/
|
|
202
|
+
name?: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The id of the network associated with the interface.
|
|
206
|
+
*/
|
|
207
|
+
network_id?: string;
|
|
208
|
+
|
|
155
209
|
/**
|
|
156
210
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
157
211
|
*/
|
|
158
212
|
public_key?: string;
|
|
159
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Identifies the type of the resource.
|
|
216
|
+
*/
|
|
217
|
+
record_type?: string;
|
|
218
|
+
|
|
160
219
|
region?: Data.Region;
|
|
161
220
|
|
|
162
221
|
/**
|
|
163
222
|
* The region interface is deployed to.
|
|
164
223
|
*/
|
|
165
224
|
region_code?: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* The current status of the interface deployment.
|
|
228
|
+
*/
|
|
229
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
233
|
+
*/
|
|
234
|
+
updated_at?: string;
|
|
166
235
|
}
|
|
167
236
|
|
|
168
237
|
export namespace Data {
|
|
@@ -185,9 +254,17 @@ export namespace WireguardInterfaceRetrieveResponse {
|
|
|
185
254
|
}
|
|
186
255
|
}
|
|
187
256
|
|
|
188
|
-
export interface WireguardInterfaceListResponse
|
|
189
|
-
|
|
190
|
-
|
|
257
|
+
export interface WireguardInterfaceListResponse {
|
|
258
|
+
/**
|
|
259
|
+
* Identifies the resource.
|
|
260
|
+
*/
|
|
261
|
+
id?: string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
265
|
+
*/
|
|
266
|
+
created_at?: string;
|
|
267
|
+
|
|
191
268
|
/**
|
|
192
269
|
* Enable SIP traffic forwarding over VPN interface.
|
|
193
270
|
*/
|
|
@@ -198,17 +275,42 @@ export interface WireguardInterfaceListResponse
|
|
|
198
275
|
*/
|
|
199
276
|
endpoint?: string;
|
|
200
277
|
|
|
278
|
+
/**
|
|
279
|
+
* A user specified name for the interface.
|
|
280
|
+
*/
|
|
281
|
+
name?: string;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* The id of the network associated with the interface.
|
|
285
|
+
*/
|
|
286
|
+
network_id?: string;
|
|
287
|
+
|
|
201
288
|
/**
|
|
202
289
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
203
290
|
*/
|
|
204
291
|
public_key?: string;
|
|
205
292
|
|
|
293
|
+
/**
|
|
294
|
+
* Identifies the type of the resource.
|
|
295
|
+
*/
|
|
296
|
+
record_type?: string;
|
|
297
|
+
|
|
206
298
|
region?: WireguardInterfaceListResponse.Region;
|
|
207
299
|
|
|
208
300
|
/**
|
|
209
301
|
* The region interface is deployed to.
|
|
210
302
|
*/
|
|
211
303
|
region_code?: string;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* The current status of the interface deployment.
|
|
307
|
+
*/
|
|
308
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
312
|
+
*/
|
|
313
|
+
updated_at?: string;
|
|
212
314
|
}
|
|
213
315
|
|
|
214
316
|
export namespace WireguardInterfaceListResponse {
|
|
@@ -235,7 +337,17 @@ export interface WireguardInterfaceDeleteResponse {
|
|
|
235
337
|
}
|
|
236
338
|
|
|
237
339
|
export namespace WireguardInterfaceDeleteResponse {
|
|
238
|
-
export interface Data
|
|
340
|
+
export interface Data {
|
|
341
|
+
/**
|
|
342
|
+
* Identifies the resource.
|
|
343
|
+
*/
|
|
344
|
+
id?: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
348
|
+
*/
|
|
349
|
+
created_at?: string;
|
|
350
|
+
|
|
239
351
|
/**
|
|
240
352
|
* Enable SIP traffic forwarding over VPN interface.
|
|
241
353
|
*/
|
|
@@ -246,17 +358,42 @@ export namespace WireguardInterfaceDeleteResponse {
|
|
|
246
358
|
*/
|
|
247
359
|
endpoint?: string;
|
|
248
360
|
|
|
361
|
+
/**
|
|
362
|
+
* A user specified name for the interface.
|
|
363
|
+
*/
|
|
364
|
+
name?: string;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The id of the network associated with the interface.
|
|
368
|
+
*/
|
|
369
|
+
network_id?: string;
|
|
370
|
+
|
|
249
371
|
/**
|
|
250
372
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
251
373
|
*/
|
|
252
374
|
public_key?: string;
|
|
253
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Identifies the type of the resource.
|
|
378
|
+
*/
|
|
379
|
+
record_type?: string;
|
|
380
|
+
|
|
254
381
|
region?: Data.Region;
|
|
255
382
|
|
|
256
383
|
/**
|
|
257
384
|
* The region interface is deployed to.
|
|
258
385
|
*/
|
|
259
386
|
region_code?: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* The current status of the interface deployment.
|
|
390
|
+
*/
|
|
391
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
395
|
+
*/
|
|
396
|
+
updated_at?: string;
|
|
260
397
|
}
|
|
261
398
|
|
|
262
399
|
export namespace Data {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.53.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.53.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.53.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.53.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|