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,6 +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 PublicInternetGatewaysAPI from './public-internet-gateways';
|
|
5
|
+
import * as GlobalIPAssignmentsAPI from './global-ip-assignments';
|
|
4
6
|
import * as NetworksAPI from './networks/networks';
|
|
5
7
|
import { APIPromise } from '../core/api-promise';
|
|
6
8
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
@@ -112,51 +114,16 @@ export interface PublicInternetGatewayCreateResponse {
|
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
export namespace PublicInternetGatewayCreateResponse {
|
|
115
|
-
export interface Data {
|
|
116
|
-
/**
|
|
117
|
-
* Identifies the resource.
|
|
118
|
-
*/
|
|
119
|
-
id?: string;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
123
|
-
*/
|
|
124
|
-
created_at?: string;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* A user specified name for the interface.
|
|
128
|
-
*/
|
|
129
|
-
name?: string;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The id of the network associated with the interface.
|
|
133
|
-
*/
|
|
134
|
-
network_id?: string;
|
|
135
|
-
|
|
117
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
136
118
|
/**
|
|
137
119
|
* The publically accessible ip for this interface.
|
|
138
120
|
*/
|
|
139
121
|
public_ip?: string;
|
|
140
122
|
|
|
141
|
-
/**
|
|
142
|
-
* Identifies the type of the resource.
|
|
143
|
-
*/
|
|
144
|
-
record_type?: string;
|
|
145
|
-
|
|
146
123
|
/**
|
|
147
124
|
* The region interface is deployed to.
|
|
148
125
|
*/
|
|
149
126
|
region_code?: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* The current status of the interface deployment.
|
|
153
|
-
*/
|
|
154
|
-
status?: NetworksAPI.InterfaceStatus;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
158
|
-
*/
|
|
159
|
-
updated_at?: string;
|
|
160
127
|
}
|
|
161
128
|
}
|
|
162
129
|
|
|
@@ -165,99 +132,29 @@ export interface PublicInternetGatewayRetrieveResponse {
|
|
|
165
132
|
}
|
|
166
133
|
|
|
167
134
|
export namespace PublicInternetGatewayRetrieveResponse {
|
|
168
|
-
export interface Data {
|
|
169
|
-
/**
|
|
170
|
-
* Identifies the resource.
|
|
171
|
-
*/
|
|
172
|
-
id?: string;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
176
|
-
*/
|
|
177
|
-
created_at?: string;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* A user specified name for the interface.
|
|
181
|
-
*/
|
|
182
|
-
name?: string;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* The id of the network associated with the interface.
|
|
186
|
-
*/
|
|
187
|
-
network_id?: string;
|
|
188
|
-
|
|
135
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
189
136
|
/**
|
|
190
137
|
* The publically accessible ip for this interface.
|
|
191
138
|
*/
|
|
192
139
|
public_ip?: string;
|
|
193
140
|
|
|
194
|
-
/**
|
|
195
|
-
* Identifies the type of the resource.
|
|
196
|
-
*/
|
|
197
|
-
record_type?: string;
|
|
198
|
-
|
|
199
141
|
/**
|
|
200
142
|
* The region interface is deployed to.
|
|
201
143
|
*/
|
|
202
144
|
region_code?: string;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* The current status of the interface deployment.
|
|
206
|
-
*/
|
|
207
|
-
status?: NetworksAPI.InterfaceStatus;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
211
|
-
*/
|
|
212
|
-
updated_at?: string;
|
|
213
145
|
}
|
|
214
146
|
}
|
|
215
147
|
|
|
216
|
-
export interface PublicInternetGatewayListResponse {
|
|
217
|
-
/**
|
|
218
|
-
* Identifies the resource.
|
|
219
|
-
*/
|
|
220
|
-
id?: string;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
224
|
-
*/
|
|
225
|
-
created_at?: string;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* A user specified name for the interface.
|
|
229
|
-
*/
|
|
230
|
-
name?: string;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* The id of the network associated with the interface.
|
|
234
|
-
*/
|
|
235
|
-
network_id?: string;
|
|
236
|
-
|
|
148
|
+
export interface PublicInternetGatewayListResponse extends GlobalIPAssignmentsAPI.Record, NetworkInterface {
|
|
237
149
|
/**
|
|
238
150
|
* The publically accessible ip for this interface.
|
|
239
151
|
*/
|
|
240
152
|
public_ip?: string;
|
|
241
153
|
|
|
242
|
-
/**
|
|
243
|
-
* Identifies the type of the resource.
|
|
244
|
-
*/
|
|
245
|
-
record_type?: string;
|
|
246
|
-
|
|
247
154
|
/**
|
|
248
155
|
* The region interface is deployed to.
|
|
249
156
|
*/
|
|
250
157
|
region_code?: string;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* The current status of the interface deployment.
|
|
254
|
-
*/
|
|
255
|
-
status?: NetworksAPI.InterfaceStatus;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
259
|
-
*/
|
|
260
|
-
updated_at?: string;
|
|
261
158
|
}
|
|
262
159
|
|
|
263
160
|
export interface PublicInternetGatewayDeleteResponse {
|
|
@@ -265,51 +162,16 @@ export interface PublicInternetGatewayDeleteResponse {
|
|
|
265
162
|
}
|
|
266
163
|
|
|
267
164
|
export namespace PublicInternetGatewayDeleteResponse {
|
|
268
|
-
export interface Data {
|
|
269
|
-
/**
|
|
270
|
-
* Identifies the resource.
|
|
271
|
-
*/
|
|
272
|
-
id?: string;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
276
|
-
*/
|
|
277
|
-
created_at?: string;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* A user specified name for the interface.
|
|
281
|
-
*/
|
|
282
|
-
name?: string;
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* The id of the network associated with the interface.
|
|
286
|
-
*/
|
|
287
|
-
network_id?: string;
|
|
288
|
-
|
|
165
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
289
166
|
/**
|
|
290
167
|
* The publically accessible ip for this interface.
|
|
291
168
|
*/
|
|
292
169
|
public_ip?: string;
|
|
293
170
|
|
|
294
|
-
/**
|
|
295
|
-
* Identifies the type of the resource.
|
|
296
|
-
*/
|
|
297
|
-
record_type?: string;
|
|
298
|
-
|
|
299
171
|
/**
|
|
300
172
|
* The region interface is deployed to.
|
|
301
173
|
*/
|
|
302
174
|
region_code?: string;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* The current status of the interface deployment.
|
|
306
|
-
*/
|
|
307
|
-
status?: NetworksAPI.InterfaceStatus;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
311
|
-
*/
|
|
312
|
-
updated_at?: string;
|
|
313
175
|
}
|
|
314
176
|
}
|
|
315
177
|
|
package/src/resources/shared.ts
CHANGED
|
@@ -1423,18 +1423,6 @@ export namespace WhatsappTemplateData {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
export interface XaiVoiceSettings {
|
|
1427
|
-
/**
|
|
1428
|
-
* Voice settings provider type
|
|
1429
|
-
*/
|
|
1430
|
-
type: 'xai';
|
|
1431
|
-
|
|
1432
|
-
/**
|
|
1433
|
-
* Language code, or `auto` to detect automatically.
|
|
1434
|
-
*/
|
|
1435
|
-
language?: string;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
1426
|
export type MessagingHostedNumberOrdersDefaultFlatPagination =
|
|
1439
1427
|
DefaultFlatPagination<MessagingHostedNumberOrder>;
|
|
1440
1428
|
|
|
@@ -3,17 +3,13 @@
|
|
|
3
3
|
export { Actions, type ActionCheckRegistrationStatusResponse } from './actions';
|
|
4
4
|
export {
|
|
5
5
|
UacConnections,
|
|
6
|
-
type UacConnection,
|
|
7
|
-
type UacExternalSettings,
|
|
8
|
-
type UacInbound,
|
|
9
|
-
type UacInternalSettings,
|
|
10
|
-
type UacOutbound,
|
|
11
6
|
type UacConnectionCreateResponse,
|
|
12
7
|
type UacConnectionRetrieveResponse,
|
|
13
8
|
type UacConnectionUpdateResponse,
|
|
9
|
+
type UacConnectionListResponse,
|
|
14
10
|
type UacConnectionDeleteResponse,
|
|
15
11
|
type UacConnectionCreateParams,
|
|
16
12
|
type UacConnectionUpdateParams,
|
|
17
13
|
type UacConnectionListParams,
|
|
18
|
-
type
|
|
14
|
+
type UacConnectionListResponsesDefaultFlatPagination,
|
|
19
15
|
} from './uac-connections';
|