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,6 @@
|
|
|
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';
|
|
6
4
|
import * as NetworksAPI from './networks/networks';
|
|
7
5
|
import { APIPromise } from '../core/api-promise';
|
|
8
6
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
@@ -50,7 +48,7 @@ export class PublicInternetGateways extends APIResource {
|
|
|
50
48
|
* @example
|
|
51
49
|
* ```ts
|
|
52
50
|
* // Automatically fetches more pages as needed.
|
|
53
|
-
* for await (const
|
|
51
|
+
* for await (const publicInternetGatewayRead of client.publicInternetGateways.list()) {
|
|
54
52
|
* // ...
|
|
55
53
|
* }
|
|
56
54
|
* ```
|
|
@@ -58,10 +56,10 @@ export class PublicInternetGateways extends APIResource {
|
|
|
58
56
|
list(
|
|
59
57
|
query: PublicInternetGatewayListParams | null | undefined = {},
|
|
60
58
|
options?: RequestOptions,
|
|
61
|
-
): PagePromise<
|
|
59
|
+
): PagePromise<PublicInternetGatewayReadsDefaultFlatPagination, PublicInternetGatewayRead> {
|
|
62
60
|
return this._client.getAPIList(
|
|
63
61
|
'/public_internet_gateways',
|
|
64
|
-
DefaultFlatPagination<
|
|
62
|
+
DefaultFlatPagination<PublicInternetGatewayRead>,
|
|
65
63
|
{ query, ...options },
|
|
66
64
|
);
|
|
67
65
|
}
|
|
@@ -82,8 +80,8 @@ export class PublicInternetGateways extends APIResource {
|
|
|
82
80
|
}
|
|
83
81
|
}
|
|
84
82
|
|
|
85
|
-
export type
|
|
86
|
-
DefaultFlatPagination<
|
|
83
|
+
export type PublicInternetGatewayReadsDefaultFlatPagination =
|
|
84
|
+
DefaultFlatPagination<PublicInternetGatewayRead>;
|
|
87
85
|
|
|
88
86
|
export interface NetworkInterface {
|
|
89
87
|
/**
|
|
@@ -109,70 +107,63 @@ export interface NetworkInterfaceRegion {
|
|
|
109
107
|
region_code?: string;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
|
-
export interface
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
118
|
-
/**
|
|
119
|
-
* The publically accessible ip for this interface.
|
|
120
|
-
*/
|
|
121
|
-
public_ip?: string;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* The region interface is deployed to.
|
|
125
|
-
*/
|
|
126
|
-
region_code?: string;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
110
|
+
export interface PublicInternetGatewayRead {
|
|
111
|
+
/**
|
|
112
|
+
* Identifies the resource.
|
|
113
|
+
*/
|
|
114
|
+
id?: string;
|
|
129
115
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
116
|
+
/**
|
|
117
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
118
|
+
*/
|
|
119
|
+
created_at?: string;
|
|
133
120
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
*/
|
|
139
|
-
public_ip?: string;
|
|
121
|
+
/**
|
|
122
|
+
* A user specified name for the interface.
|
|
123
|
+
*/
|
|
124
|
+
name?: string;
|
|
140
125
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
}
|
|
126
|
+
/**
|
|
127
|
+
* The id of the network associated with the interface.
|
|
128
|
+
*/
|
|
129
|
+
network_id?: string;
|
|
147
130
|
|
|
148
|
-
export interface PublicInternetGatewayListResponse extends GlobalIPAssignmentsAPI.Record, NetworkInterface {
|
|
149
131
|
/**
|
|
150
132
|
* The publically accessible ip for this interface.
|
|
151
133
|
*/
|
|
152
134
|
public_ip?: string;
|
|
153
135
|
|
|
136
|
+
/**
|
|
137
|
+
* Identifies the type of the resource.
|
|
138
|
+
*/
|
|
139
|
+
record_type?: string;
|
|
140
|
+
|
|
154
141
|
/**
|
|
155
142
|
* The region interface is deployed to.
|
|
156
143
|
*/
|
|
157
144
|
region_code?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The current status of the interface deployment.
|
|
148
|
+
*/
|
|
149
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
153
|
+
*/
|
|
154
|
+
updated_at?: string;
|
|
158
155
|
}
|
|
159
156
|
|
|
160
|
-
export interface
|
|
161
|
-
data?:
|
|
157
|
+
export interface PublicInternetGatewayCreateResponse {
|
|
158
|
+
data?: PublicInternetGatewayRead;
|
|
162
159
|
}
|
|
163
160
|
|
|
164
|
-
export
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
* The publically accessible ip for this interface.
|
|
168
|
-
*/
|
|
169
|
-
public_ip?: string;
|
|
161
|
+
export interface PublicInternetGatewayRetrieveResponse {
|
|
162
|
+
data?: PublicInternetGatewayRead;
|
|
163
|
+
}
|
|
170
164
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
*/
|
|
174
|
-
region_code?: string;
|
|
175
|
-
}
|
|
165
|
+
export interface PublicInternetGatewayDeleteResponse {
|
|
166
|
+
data?: PublicInternetGatewayRead;
|
|
176
167
|
}
|
|
177
168
|
|
|
178
169
|
export interface PublicInternetGatewayCreateParams {
|
|
@@ -215,11 +206,11 @@ export declare namespace PublicInternetGateways {
|
|
|
215
206
|
export {
|
|
216
207
|
type NetworkInterface as NetworkInterface,
|
|
217
208
|
type NetworkInterfaceRegion as NetworkInterfaceRegion,
|
|
209
|
+
type PublicInternetGatewayRead as PublicInternetGatewayRead,
|
|
218
210
|
type PublicInternetGatewayCreateResponse as PublicInternetGatewayCreateResponse,
|
|
219
211
|
type PublicInternetGatewayRetrieveResponse as PublicInternetGatewayRetrieveResponse,
|
|
220
|
-
type PublicInternetGatewayListResponse as PublicInternetGatewayListResponse,
|
|
221
212
|
type PublicInternetGatewayDeleteResponse as PublicInternetGatewayDeleteResponse,
|
|
222
|
-
type
|
|
213
|
+
type PublicInternetGatewayReadsDefaultFlatPagination as PublicInternetGatewayReadsDefaultFlatPagination,
|
|
223
214
|
type PublicInternetGatewayCreateParams as PublicInternetGatewayCreateParams,
|
|
224
215
|
type PublicInternetGatewayListParams as PublicInternetGatewayListParams,
|
|
225
216
|
};
|
package/src/resources/shared.ts
CHANGED
|
@@ -1423,6 +1423,18 @@ 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
|
+
|
|
1426
1438
|
export type MessagingHostedNumberOrdersDefaultFlatPagination =
|
|
1427
1439
|
DefaultFlatPagination<MessagingHostedNumberOrder>;
|
|
1428
1440
|
|
|
@@ -3,13 +3,17 @@
|
|
|
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,
|
|
6
11
|
type UacConnectionCreateResponse,
|
|
7
12
|
type UacConnectionRetrieveResponse,
|
|
8
13
|
type UacConnectionUpdateResponse,
|
|
9
|
-
type UacConnectionListResponse,
|
|
10
14
|
type UacConnectionDeleteResponse,
|
|
11
15
|
type UacConnectionCreateParams,
|
|
12
16
|
type UacConnectionUpdateParams,
|
|
13
17
|
type UacConnectionListParams,
|
|
14
|
-
type
|
|
18
|
+
type UacConnectionsDefaultFlatPagination,
|
|
15
19
|
} from './uac-connections';
|