telnyx 6.55.0 → 6.56.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 +26 -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 +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 +112 -320
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +112 -320
- 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 +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 +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/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/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 +33 -17
- package/src/resources/ai/ai.ts +20 -11
- package/src/resources/ai/assistants/assistants.ts +133 -347
- 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 +19 -9
- 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/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/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';
|
|
@@ -52,7 +51,7 @@ export class WireguardInterfaces extends APIResource {
|
|
|
52
51
|
* @example
|
|
53
52
|
* ```ts
|
|
54
53
|
* // Automatically fetches more pages as needed.
|
|
55
|
-
* for await (const
|
|
54
|
+
* for await (const wireguardInterfaceRead of client.wireguardInterfaces.list()) {
|
|
56
55
|
* // ...
|
|
57
56
|
* }
|
|
58
57
|
* ```
|
|
@@ -60,12 +59,11 @@ export class WireguardInterfaces extends APIResource {
|
|
|
60
59
|
list(
|
|
61
60
|
query: WireguardInterfaceListParams | null | undefined = {},
|
|
62
61
|
options?: RequestOptions,
|
|
63
|
-
): PagePromise<
|
|
64
|
-
return this._client.getAPIList(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
);
|
|
62
|
+
): PagePromise<WireguardInterfaceReadsDefaultFlatPagination, WireguardInterfaceRead> {
|
|
63
|
+
return this._client.getAPIList('/wireguard_interfaces', DefaultFlatPagination<WireguardInterfaceRead>, {
|
|
64
|
+
query,
|
|
65
|
+
...options,
|
|
66
|
+
});
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
/**
|
|
@@ -84,110 +82,19 @@ export class WireguardInterfaces extends APIResource {
|
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
|
|
87
|
-
export type
|
|
88
|
-
DefaultFlatPagination<WireguardInterfaceListResponse>;
|
|
85
|
+
export type WireguardInterfaceReadsDefaultFlatPagination = DefaultFlatPagination<WireguardInterfaceRead>;
|
|
89
86
|
|
|
90
|
-
export interface
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
96
|
-
/**
|
|
97
|
-
* Enable SIP traffic forwarding over VPN interface.
|
|
98
|
-
*/
|
|
99
|
-
enable_sip_trunking?: boolean;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
103
|
-
*/
|
|
104
|
-
endpoint?: string;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
108
|
-
*/
|
|
109
|
-
public_key?: string;
|
|
110
|
-
|
|
111
|
-
region?: Data.Region;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* The region interface is deployed to.
|
|
115
|
-
*/
|
|
116
|
-
region_code?: string;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export namespace Data {
|
|
120
|
-
export interface Region {
|
|
121
|
-
/**
|
|
122
|
-
* Region code of the interface.
|
|
123
|
-
*/
|
|
124
|
-
code?: string;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Region name of the interface.
|
|
128
|
-
*/
|
|
129
|
-
name?: string;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Identifies the type of the resource.
|
|
133
|
-
*/
|
|
134
|
-
record_type?: string;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export interface WireguardInterfaceRetrieveResponse {
|
|
140
|
-
data?: WireguardInterfaceRetrieveResponse.Data;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export namespace WireguardInterfaceRetrieveResponse {
|
|
144
|
-
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
145
|
-
/**
|
|
146
|
-
* Enable SIP traffic forwarding over VPN interface.
|
|
147
|
-
*/
|
|
148
|
-
enable_sip_trunking?: boolean;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
152
|
-
*/
|
|
153
|
-
endpoint?: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
157
|
-
*/
|
|
158
|
-
public_key?: string;
|
|
159
|
-
|
|
160
|
-
region?: Data.Region;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* The region interface is deployed to.
|
|
164
|
-
*/
|
|
165
|
-
region_code?: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export namespace Data {
|
|
169
|
-
export interface Region {
|
|
170
|
-
/**
|
|
171
|
-
* Region code of the interface.
|
|
172
|
-
*/
|
|
173
|
-
code?: string;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Region name of the interface.
|
|
177
|
-
*/
|
|
178
|
-
name?: string;
|
|
87
|
+
export interface WireguardInterfaceRead {
|
|
88
|
+
/**
|
|
89
|
+
* Identifies the resource.
|
|
90
|
+
*/
|
|
91
|
+
id?: string;
|
|
179
92
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
93
|
+
/**
|
|
94
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
95
|
+
*/
|
|
96
|
+
created_at?: string;
|
|
187
97
|
|
|
188
|
-
export interface WireguardInterfaceListResponse
|
|
189
|
-
extends GlobalIPAssignmentsAPI.Record,
|
|
190
|
-
PublicInternetGatewaysAPI.NetworkInterface {
|
|
191
98
|
/**
|
|
192
99
|
* Enable SIP traffic forwarding over VPN interface.
|
|
193
100
|
*/
|
|
@@ -198,20 +105,45 @@ export interface WireguardInterfaceListResponse
|
|
|
198
105
|
*/
|
|
199
106
|
endpoint?: string;
|
|
200
107
|
|
|
108
|
+
/**
|
|
109
|
+
* A user specified name for the interface.
|
|
110
|
+
*/
|
|
111
|
+
name?: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The id of the network associated with the interface.
|
|
115
|
+
*/
|
|
116
|
+
network_id?: string;
|
|
117
|
+
|
|
201
118
|
/**
|
|
202
119
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
203
120
|
*/
|
|
204
121
|
public_key?: string;
|
|
205
122
|
|
|
206
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Identifies the type of the resource.
|
|
125
|
+
*/
|
|
126
|
+
record_type?: string;
|
|
127
|
+
|
|
128
|
+
region?: WireguardInterfaceRead.Region;
|
|
207
129
|
|
|
208
130
|
/**
|
|
209
131
|
* The region interface is deployed to.
|
|
210
132
|
*/
|
|
211
133
|
region_code?: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* The current status of the interface deployment.
|
|
137
|
+
*/
|
|
138
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
142
|
+
*/
|
|
143
|
+
updated_at?: string;
|
|
212
144
|
}
|
|
213
145
|
|
|
214
|
-
export namespace
|
|
146
|
+
export namespace WireguardInterfaceRead {
|
|
215
147
|
export interface Region {
|
|
216
148
|
/**
|
|
217
149
|
* Region code of the interface.
|
|
@@ -230,53 +162,16 @@ export namespace WireguardInterfaceListResponse {
|
|
|
230
162
|
}
|
|
231
163
|
}
|
|
232
164
|
|
|
233
|
-
export interface
|
|
234
|
-
data?:
|
|
165
|
+
export interface WireguardInterfaceCreateResponse {
|
|
166
|
+
data?: WireguardInterfaceRead;
|
|
235
167
|
}
|
|
236
168
|
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
* Enable SIP traffic forwarding over VPN interface.
|
|
241
|
-
*/
|
|
242
|
-
enable_sip_trunking?: boolean;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
246
|
-
*/
|
|
247
|
-
endpoint?: string;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
251
|
-
*/
|
|
252
|
-
public_key?: string;
|
|
253
|
-
|
|
254
|
-
region?: Data.Region;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* The region interface is deployed to.
|
|
258
|
-
*/
|
|
259
|
-
region_code?: string;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export namespace Data {
|
|
263
|
-
export interface Region {
|
|
264
|
-
/**
|
|
265
|
-
* Region code of the interface.
|
|
266
|
-
*/
|
|
267
|
-
code?: string;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Region name of the interface.
|
|
271
|
-
*/
|
|
272
|
-
name?: string;
|
|
169
|
+
export interface WireguardInterfaceRetrieveResponse {
|
|
170
|
+
data?: WireguardInterfaceRead;
|
|
171
|
+
}
|
|
273
172
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
*/
|
|
277
|
-
record_type?: string;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
173
|
+
export interface WireguardInterfaceDeleteResponse {
|
|
174
|
+
data?: WireguardInterfaceRead;
|
|
280
175
|
}
|
|
281
176
|
|
|
282
177
|
export interface WireguardInterfaceCreateParams {
|
|
@@ -322,11 +217,11 @@ export namespace WireguardInterfaceListParams {
|
|
|
322
217
|
|
|
323
218
|
export declare namespace WireguardInterfaces {
|
|
324
219
|
export {
|
|
220
|
+
type WireguardInterfaceRead as WireguardInterfaceRead,
|
|
325
221
|
type WireguardInterfaceCreateResponse as WireguardInterfaceCreateResponse,
|
|
326
222
|
type WireguardInterfaceRetrieveResponse as WireguardInterfaceRetrieveResponse,
|
|
327
|
-
type WireguardInterfaceListResponse as WireguardInterfaceListResponse,
|
|
328
223
|
type WireguardInterfaceDeleteResponse as WireguardInterfaceDeleteResponse,
|
|
329
|
-
type
|
|
224
|
+
type WireguardInterfaceReadsDefaultFlatPagination as WireguardInterfaceReadsDefaultFlatPagination,
|
|
330
225
|
type WireguardInterfaceCreateParams as WireguardInterfaceCreateParams,
|
|
331
226
|
type WireguardInterfaceListParams as WireguardInterfaceListParams,
|
|
332
227
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.56.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.56.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.56.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.56.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|