telnyx 6.53.0 → 6.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +4 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -5
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +12 -10
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +12 -10
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +322 -110
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +322 -110
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +241 -70
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +241 -70
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.mts +43 -0
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +43 -0
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/versions.d.mts +212 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +212 -6
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +9 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +9 -2
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +119 -41
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +119 -41
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +11 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +11 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +2 -25
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +2 -25
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +6 -116
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +6 -116
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +0 -10
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -10
- package/resources/shared.d.ts.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +1861 -211
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +1861 -211
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +237 -161
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +237 -161
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +6 -117
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +6 -117
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +5 -21
- package/src/resources/ai/ai.ts +11 -20
- package/src/resources/ai/assistants/assistants.ts +350 -131
- package/src/resources/ai/assistants/canary-deploys.ts +266 -75
- package/src/resources/ai/assistants/index.ts +0 -10
- package/src/resources/ai/assistants/scheduled-events.ts +56 -0
- package/src/resources/ai/assistants/versions.ts +234 -6
- package/src/resources/ai/index.ts +1 -12
- package/src/resources/ai/openai/openai.ts +13 -2
- package/src/resources/calls/actions.ts +192 -76
- package/src/resources/calls/calls.ts +0 -4
- package/src/resources/calls/index.ts +0 -2
- package/src/resources/conferences/actions.ts +13 -1
- package/src/resources/index.ts +3 -13
- package/src/resources/networks/networks.ts +4 -31
- package/src/resources/public-internet-gateways.ts +6 -144
- package/src/resources/shared.ts +0 -12
- package/src/resources/uac-connections/index.ts +2 -6
- package/src/resources/uac-connections/uac-connections.ts +2377 -378
- package/src/resources/virtual-cross-connects.ts +249 -176
- package/src/resources/wireguard-interfaces.ts +8 -145
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as
|
|
4
|
+
import * as GlobalIPAssignmentsAPI from './global-ip-assignments';
|
|
5
|
+
import * as PublicInternetGatewaysAPI from './public-internet-gateways';
|
|
5
6
|
import { APIPromise } from '../core/api-promise';
|
|
6
7
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
7
8
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -91,17 +92,7 @@ export interface WireguardInterfaceCreateResponse {
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
export namespace WireguardInterfaceCreateResponse {
|
|
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
|
-
|
|
95
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
105
96
|
/**
|
|
106
97
|
* Enable SIP traffic forwarding over VPN interface.
|
|
107
98
|
*/
|
|
@@ -112,42 +103,17 @@ export namespace WireguardInterfaceCreateResponse {
|
|
|
112
103
|
*/
|
|
113
104
|
endpoint?: string;
|
|
114
105
|
|
|
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
|
-
|
|
125
106
|
/**
|
|
126
107
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
127
108
|
*/
|
|
128
109
|
public_key?: string;
|
|
129
110
|
|
|
130
|
-
/**
|
|
131
|
-
* Identifies the type of the resource.
|
|
132
|
-
*/
|
|
133
|
-
record_type?: string;
|
|
134
|
-
|
|
135
111
|
region?: Data.Region;
|
|
136
112
|
|
|
137
113
|
/**
|
|
138
114
|
* The region interface is deployed to.
|
|
139
115
|
*/
|
|
140
116
|
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;
|
|
151
117
|
}
|
|
152
118
|
|
|
153
119
|
export namespace Data {
|
|
@@ -175,17 +141,7 @@ export interface WireguardInterfaceRetrieveResponse {
|
|
|
175
141
|
}
|
|
176
142
|
|
|
177
143
|
export namespace WireguardInterfaceRetrieveResponse {
|
|
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
|
-
|
|
144
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
189
145
|
/**
|
|
190
146
|
* Enable SIP traffic forwarding over VPN interface.
|
|
191
147
|
*/
|
|
@@ -196,42 +152,17 @@ export namespace WireguardInterfaceRetrieveResponse {
|
|
|
196
152
|
*/
|
|
197
153
|
endpoint?: string;
|
|
198
154
|
|
|
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
|
-
|
|
209
155
|
/**
|
|
210
156
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
211
157
|
*/
|
|
212
158
|
public_key?: string;
|
|
213
159
|
|
|
214
|
-
/**
|
|
215
|
-
* Identifies the type of the resource.
|
|
216
|
-
*/
|
|
217
|
-
record_type?: string;
|
|
218
|
-
|
|
219
160
|
region?: Data.Region;
|
|
220
161
|
|
|
221
162
|
/**
|
|
222
163
|
* The region interface is deployed to.
|
|
223
164
|
*/
|
|
224
165
|
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;
|
|
235
166
|
}
|
|
236
167
|
|
|
237
168
|
export namespace Data {
|
|
@@ -254,17 +185,9 @@ export namespace WireguardInterfaceRetrieveResponse {
|
|
|
254
185
|
}
|
|
255
186
|
}
|
|
256
187
|
|
|
257
|
-
export interface WireguardInterfaceListResponse
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
*/
|
|
261
|
-
id?: string;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
265
|
-
*/
|
|
266
|
-
created_at?: string;
|
|
267
|
-
|
|
188
|
+
export interface WireguardInterfaceListResponse
|
|
189
|
+
extends GlobalIPAssignmentsAPI.Record,
|
|
190
|
+
PublicInternetGatewaysAPI.NetworkInterface {
|
|
268
191
|
/**
|
|
269
192
|
* Enable SIP traffic forwarding over VPN interface.
|
|
270
193
|
*/
|
|
@@ -275,42 +198,17 @@ export interface WireguardInterfaceListResponse {
|
|
|
275
198
|
*/
|
|
276
199
|
endpoint?: string;
|
|
277
200
|
|
|
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
|
-
|
|
288
201
|
/**
|
|
289
202
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
290
203
|
*/
|
|
291
204
|
public_key?: string;
|
|
292
205
|
|
|
293
|
-
/**
|
|
294
|
-
* Identifies the type of the resource.
|
|
295
|
-
*/
|
|
296
|
-
record_type?: string;
|
|
297
|
-
|
|
298
206
|
region?: WireguardInterfaceListResponse.Region;
|
|
299
207
|
|
|
300
208
|
/**
|
|
301
209
|
* The region interface is deployed to.
|
|
302
210
|
*/
|
|
303
211
|
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;
|
|
314
212
|
}
|
|
315
213
|
|
|
316
214
|
export namespace WireguardInterfaceListResponse {
|
|
@@ -337,17 +235,7 @@ export interface WireguardInterfaceDeleteResponse {
|
|
|
337
235
|
}
|
|
338
236
|
|
|
339
237
|
export namespace WireguardInterfaceDeleteResponse {
|
|
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
|
-
|
|
238
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
351
239
|
/**
|
|
352
240
|
* Enable SIP traffic forwarding over VPN interface.
|
|
353
241
|
*/
|
|
@@ -358,42 +246,17 @@ export namespace WireguardInterfaceDeleteResponse {
|
|
|
358
246
|
*/
|
|
359
247
|
endpoint?: string;
|
|
360
248
|
|
|
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
|
-
|
|
371
249
|
/**
|
|
372
250
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
373
251
|
*/
|
|
374
252
|
public_key?: string;
|
|
375
253
|
|
|
376
|
-
/**
|
|
377
|
-
* Identifies the type of the resource.
|
|
378
|
-
*/
|
|
379
|
-
record_type?: string;
|
|
380
|
-
|
|
381
254
|
region?: Data.Region;
|
|
382
255
|
|
|
383
256
|
/**
|
|
384
257
|
* The region interface is deployed to.
|
|
385
258
|
*/
|
|
386
259
|
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;
|
|
397
260
|
}
|
|
398
261
|
|
|
399
262
|
export namespace Data {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.55.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.55.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.55.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.55.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|