telnyx 6.65.0 → 6.66.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 +24 -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.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +114 -116
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +114 -116
- 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 +139 -334
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +139 -334
- 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 -220
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -220
- 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.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -113
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -113
- 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 +177 -120
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +177 -120
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +3 -5
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +3 -5
- package/resources/calls/actions.mjs.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/faxes/faxes.d.mts +24 -8
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +24 -8
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js +12 -0
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs +12 -0
- package/resources/faxes/faxes.mjs.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.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/texml/accounts/calls/calls.d.mts +27 -6
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +27 -6
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/texml.d.mts +9 -2
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +9 -2
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs.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/webhooks.d.mts +20 -10
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +20 -10
- package/resources/webhooks.d.ts.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 +27 -16
- package/src/resources/ai/ai.ts +139 -130
- package/src/resources/ai/assistants/assistants.ts +164 -363
- 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 -244
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/openai/openai.ts +2 -131
- package/src/resources/calls/actions.ts +284 -184
- 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/faxes/faxes.ts +24 -8
- package/src/resources/index.ts +13 -8
- 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/texml/accounts/calls/calls.ts +30 -6
- package/src/resources/texml/texml.ts +10 -2
- 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/webhooks.ts +21 -10
- 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,6 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as PublicInternetGatewaysAPI from "./public-internet-gateways.js";
|
|
2
|
+
import * as NetworksAPI from "./networks/networks.js";
|
|
4
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
5
4
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
6
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
@@ -39,12 +38,12 @@ export declare class WireguardInterfaces extends APIResource {
|
|
|
39
38
|
* @example
|
|
40
39
|
* ```ts
|
|
41
40
|
* // Automatically fetches more pages as needed.
|
|
42
|
-
* for await (const
|
|
41
|
+
* for await (const wireguardInterfaceRead of client.wireguardInterfaces.list()) {
|
|
43
42
|
* // ...
|
|
44
43
|
* }
|
|
45
44
|
* ```
|
|
46
45
|
*/
|
|
47
|
-
list(query?: WireguardInterfaceListParams | null | undefined, options?: RequestOptions): PagePromise<
|
|
46
|
+
list(query?: WireguardInterfaceListParams | null | undefined, options?: RequestOptions): PagePromise<WireguardInterfaceReadsDefaultFlatPagination, WireguardInterfaceRead>;
|
|
48
47
|
/**
|
|
49
48
|
* Delete a WireGuard Interface.
|
|
50
49
|
*
|
|
@@ -58,88 +57,16 @@ export declare class WireguardInterfaces extends APIResource {
|
|
|
58
57
|
*/
|
|
59
58
|
delete(id: string, options?: RequestOptions): APIPromise<WireguardInterfaceDeleteResponse>;
|
|
60
59
|
}
|
|
61
|
-
export type
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
73
|
-
*/
|
|
74
|
-
endpoint?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
77
|
-
*/
|
|
78
|
-
public_key?: string;
|
|
79
|
-
region?: Data.Region;
|
|
80
|
-
/**
|
|
81
|
-
* The region interface is deployed to.
|
|
82
|
-
*/
|
|
83
|
-
region_code?: string;
|
|
84
|
-
}
|
|
85
|
-
namespace Data {
|
|
86
|
-
interface Region {
|
|
87
|
-
/**
|
|
88
|
-
* Region code of the interface.
|
|
89
|
-
*/
|
|
90
|
-
code?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Region name of the interface.
|
|
93
|
-
*/
|
|
94
|
-
name?: string;
|
|
95
|
-
/**
|
|
96
|
-
* Identifies the type of the resource.
|
|
97
|
-
*/
|
|
98
|
-
record_type?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export interface WireguardInterfaceRetrieveResponse {
|
|
103
|
-
data?: WireguardInterfaceRetrieveResponse.Data;
|
|
104
|
-
}
|
|
105
|
-
export declare namespace WireguardInterfaceRetrieveResponse {
|
|
106
|
-
interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
107
|
-
/**
|
|
108
|
-
* Enable SIP traffic forwarding over VPN interface.
|
|
109
|
-
*/
|
|
110
|
-
enable_sip_trunking?: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
113
|
-
*/
|
|
114
|
-
endpoint?: string;
|
|
115
|
-
/**
|
|
116
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
117
|
-
*/
|
|
118
|
-
public_key?: string;
|
|
119
|
-
region?: Data.Region;
|
|
120
|
-
/**
|
|
121
|
-
* The region interface is deployed to.
|
|
122
|
-
*/
|
|
123
|
-
region_code?: string;
|
|
124
|
-
}
|
|
125
|
-
namespace Data {
|
|
126
|
-
interface Region {
|
|
127
|
-
/**
|
|
128
|
-
* Region code of the interface.
|
|
129
|
-
*/
|
|
130
|
-
code?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Region name of the interface.
|
|
133
|
-
*/
|
|
134
|
-
name?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Identifies the type of the resource.
|
|
137
|
-
*/
|
|
138
|
-
record_type?: string;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
export interface WireguardInterfaceListResponse extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
60
|
+
export type WireguardInterfaceReadsDefaultFlatPagination = DefaultFlatPagination<WireguardInterfaceRead>;
|
|
61
|
+
export interface WireguardInterfaceRead {
|
|
62
|
+
/**
|
|
63
|
+
* Identifies the resource.
|
|
64
|
+
*/
|
|
65
|
+
id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
68
|
+
*/
|
|
69
|
+
created_at?: string;
|
|
143
70
|
/**
|
|
144
71
|
* Enable SIP traffic forwarding over VPN interface.
|
|
145
72
|
*/
|
|
@@ -148,17 +75,37 @@ export interface WireguardInterfaceListResponse extends GlobalIPAssignmentsAPI.R
|
|
|
148
75
|
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
149
76
|
*/
|
|
150
77
|
endpoint?: string;
|
|
78
|
+
/**
|
|
79
|
+
* A user specified name for the interface.
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The id of the network associated with the interface.
|
|
84
|
+
*/
|
|
85
|
+
network_id?: string;
|
|
151
86
|
/**
|
|
152
87
|
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
153
88
|
*/
|
|
154
89
|
public_key?: string;
|
|
155
|
-
|
|
90
|
+
/**
|
|
91
|
+
* Identifies the type of the resource.
|
|
92
|
+
*/
|
|
93
|
+
record_type?: string;
|
|
94
|
+
region?: WireguardInterfaceRead.Region;
|
|
156
95
|
/**
|
|
157
96
|
* The region interface is deployed to.
|
|
158
97
|
*/
|
|
159
98
|
region_code?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The current status of the interface deployment.
|
|
101
|
+
*/
|
|
102
|
+
status?: NetworksAPI.InterfaceStatus;
|
|
103
|
+
/**
|
|
104
|
+
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
105
|
+
*/
|
|
106
|
+
updated_at?: string;
|
|
160
107
|
}
|
|
161
|
-
export declare namespace
|
|
108
|
+
export declare namespace WireguardInterfaceRead {
|
|
162
109
|
interface Region {
|
|
163
110
|
/**
|
|
164
111
|
* Region code of the interface.
|
|
@@ -174,45 +121,14 @@ export declare namespace WireguardInterfaceListResponse {
|
|
|
174
121
|
record_type?: string;
|
|
175
122
|
}
|
|
176
123
|
}
|
|
177
|
-
export interface
|
|
178
|
-
data?:
|
|
124
|
+
export interface WireguardInterfaceCreateResponse {
|
|
125
|
+
data?: WireguardInterfaceRead;
|
|
179
126
|
}
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
enable_sip_trunking?: boolean;
|
|
186
|
-
/**
|
|
187
|
-
* The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
188
|
-
*/
|
|
189
|
-
endpoint?: string;
|
|
190
|
-
/**
|
|
191
|
-
* The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
192
|
-
*/
|
|
193
|
-
public_key?: string;
|
|
194
|
-
region?: Data.Region;
|
|
195
|
-
/**
|
|
196
|
-
* The region interface is deployed to.
|
|
197
|
-
*/
|
|
198
|
-
region_code?: string;
|
|
199
|
-
}
|
|
200
|
-
namespace Data {
|
|
201
|
-
interface Region {
|
|
202
|
-
/**
|
|
203
|
-
* Region code of the interface.
|
|
204
|
-
*/
|
|
205
|
-
code?: string;
|
|
206
|
-
/**
|
|
207
|
-
* Region name of the interface.
|
|
208
|
-
*/
|
|
209
|
-
name?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Identifies the type of the resource.
|
|
212
|
-
*/
|
|
213
|
-
record_type?: string;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
127
|
+
export interface WireguardInterfaceRetrieveResponse {
|
|
128
|
+
data?: WireguardInterfaceRead;
|
|
129
|
+
}
|
|
130
|
+
export interface WireguardInterfaceDeleteResponse {
|
|
131
|
+
data?: WireguardInterfaceRead;
|
|
216
132
|
}
|
|
217
133
|
export interface WireguardInterfaceCreateParams {
|
|
218
134
|
/**
|
|
@@ -250,6 +166,6 @@ export declare namespace WireguardInterfaceListParams {
|
|
|
250
166
|
}
|
|
251
167
|
}
|
|
252
168
|
export declare namespace WireguardInterfaces {
|
|
253
|
-
export { type
|
|
169
|
+
export { type WireguardInterfaceRead as WireguardInterfaceRead, type WireguardInterfaceCreateResponse as WireguardInterfaceCreateResponse, type WireguardInterfaceRetrieveResponse as WireguardInterfaceRetrieveResponse, type WireguardInterfaceDeleteResponse as WireguardInterfaceDeleteResponse, type WireguardInterfaceReadsDefaultFlatPagination as WireguardInterfaceReadsDefaultFlatPagination, type WireguardInterfaceCreateParams as WireguardInterfaceCreateParams, type WireguardInterfaceListParams as WireguardInterfaceListParams, };
|
|
254
170
|
}
|
|
255
171
|
//# sourceMappingURL=wireguard-interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireguard-interfaces.d.ts","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"wireguard-interfaces.d.ts","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,qBA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,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -44,13 +44,16 @@ class WireguardInterfaces extends resource_1.APIResource {
|
|
|
44
44
|
* @example
|
|
45
45
|
* ```ts
|
|
46
46
|
* // Automatically fetches more pages as needed.
|
|
47
|
-
* for await (const
|
|
47
|
+
* for await (const wireguardInterfaceRead of client.wireguardInterfaces.list()) {
|
|
48
48
|
* // ...
|
|
49
49
|
* }
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
52
|
list(query = {}, options) {
|
|
53
|
-
return this._client.getAPIList('/wireguard_interfaces', (pagination_1.DefaultFlatPagination), {
|
|
53
|
+
return this._client.getAPIList('/wireguard_interfaces', (pagination_1.DefaultFlatPagination), {
|
|
54
|
+
query,
|
|
55
|
+
...options,
|
|
56
|
+
});
|
|
54
57
|
}
|
|
55
58
|
/**
|
|
56
59
|
* Delete a WireGuard Interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireguard-interfaces.js","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"wireguard-interfaces.js","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAA0G;AAE1G,oDAA8C;AAE9C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,kCAA6C,CAAA,EAAE;YACrG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAtED,kDAsEC"}
|
|
@@ -41,13 +41,16 @@ export class WireguardInterfaces extends APIResource {
|
|
|
41
41
|
* @example
|
|
42
42
|
* ```ts
|
|
43
43
|
* // Automatically fetches more pages as needed.
|
|
44
|
-
* for await (const
|
|
44
|
+
* for await (const wireguardInterfaceRead of client.wireguardInterfaces.list()) {
|
|
45
45
|
* // ...
|
|
46
46
|
* }
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
49
|
list(query = {}, options) {
|
|
50
|
-
return this._client.getAPIList('/wireguard_interfaces', (DefaultFlatPagination), {
|
|
50
|
+
return this._client.getAPIList('/wireguard_interfaces', (DefaultFlatPagination), {
|
|
51
|
+
query,
|
|
52
|
+
...options,
|
|
53
|
+
});
|
|
51
54
|
}
|
|
52
55
|
/**
|
|
53
56
|
* Delete a WireGuard Interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireguard-interfaces.mjs","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"wireguard-interfaces.mjs","sourceRoot":"","sources":["../src/resources/wireguard-interfaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,qBAAqB,EAAiD;OAExE,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,qBAA6C,CAAA,EAAE;YACrG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -707,8 +707,8 @@ import {
|
|
|
707
707
|
PublicInternetGatewayCreateResponse,
|
|
708
708
|
PublicInternetGatewayDeleteResponse,
|
|
709
709
|
PublicInternetGatewayListParams,
|
|
710
|
-
|
|
711
|
-
|
|
710
|
+
PublicInternetGatewayRead,
|
|
711
|
+
PublicInternetGatewayReadsDefaultFlatPagination,
|
|
712
712
|
PublicInternetGatewayRetrieveResponse,
|
|
713
713
|
PublicInternetGateways,
|
|
714
714
|
} from './resources/public-internet-gateways';
|
|
@@ -914,12 +914,12 @@ import {
|
|
|
914
914
|
VerifyProfilesDefaultFlatPagination,
|
|
915
915
|
} from './resources/verify-profiles';
|
|
916
916
|
import {
|
|
917
|
+
VirtualCrossConnectCombined,
|
|
918
|
+
VirtualCrossConnectCombinedsDefaultFlatPagination,
|
|
917
919
|
VirtualCrossConnectCreateParams,
|
|
918
920
|
VirtualCrossConnectCreateResponse,
|
|
919
921
|
VirtualCrossConnectDeleteResponse,
|
|
920
922
|
VirtualCrossConnectListParams,
|
|
921
|
-
VirtualCrossConnectListResponse,
|
|
922
|
-
VirtualCrossConnectListResponsesDefaultFlatPagination,
|
|
923
923
|
VirtualCrossConnectRetrieveResponse,
|
|
924
924
|
VirtualCrossConnectUpdateParams,
|
|
925
925
|
VirtualCrossConnectUpdateResponse,
|
|
@@ -1106,8 +1106,8 @@ import {
|
|
|
1106
1106
|
WireguardInterfaceCreateResponse,
|
|
1107
1107
|
WireguardInterfaceDeleteResponse,
|
|
1108
1108
|
WireguardInterfaceListParams,
|
|
1109
|
-
|
|
1110
|
-
|
|
1109
|
+
WireguardInterfaceRead,
|
|
1110
|
+
WireguardInterfaceReadsDefaultFlatPagination,
|
|
1111
1111
|
WireguardInterfaceRetrieveResponse,
|
|
1112
1112
|
WireguardInterfaces,
|
|
1113
1113
|
} from './resources/wireguard-interfaces';
|
|
@@ -1160,6 +1160,7 @@ import {
|
|
|
1160
1160
|
AIRetrieveModelsResponse,
|
|
1161
1161
|
AISummarizeParams,
|
|
1162
1162
|
AISummarizeResponse,
|
|
1163
|
+
ModelMetadata,
|
|
1163
1164
|
} from './resources/ai/ai';
|
|
1164
1165
|
import { BundlePricing } from './resources/bundle-pricing/bundle-pricing';
|
|
1165
1166
|
import {
|
|
@@ -1539,16 +1540,20 @@ import {
|
|
|
1539
1540
|
TextToSpeechListVoicesResponse,
|
|
1540
1541
|
} from './resources/text-to-speech/text-to-speech';
|
|
1541
1542
|
import {
|
|
1543
|
+
UacConnection,
|
|
1542
1544
|
UacConnectionCreateParams,
|
|
1543
1545
|
UacConnectionCreateResponse,
|
|
1544
1546
|
UacConnectionDeleteResponse,
|
|
1545
1547
|
UacConnectionListParams,
|
|
1546
|
-
UacConnectionListResponse,
|
|
1547
|
-
UacConnectionListResponsesDefaultFlatPagination,
|
|
1548
1548
|
UacConnectionRetrieveResponse,
|
|
1549
1549
|
UacConnectionUpdateParams,
|
|
1550
1550
|
UacConnectionUpdateResponse,
|
|
1551
1551
|
UacConnections,
|
|
1552
|
+
UacConnectionsDefaultFlatPagination,
|
|
1553
|
+
UacExternalSettings,
|
|
1554
|
+
UacInbound,
|
|
1555
|
+
UacInternalSettings,
|
|
1556
|
+
UacOutbound,
|
|
1552
1557
|
} from './resources/uac-connections/uac-connections';
|
|
1553
1558
|
import {
|
|
1554
1559
|
CreateVerificationResponse,
|
|
@@ -3389,6 +3394,7 @@ export declare namespace Telnyx {
|
|
|
3389
3394
|
|
|
3390
3395
|
export {
|
|
3391
3396
|
AI as AI,
|
|
3397
|
+
type ModelMetadata as ModelMetadata,
|
|
3392
3398
|
type AICreateResponseResponse as AICreateResponseResponse,
|
|
3393
3399
|
type AIRetrieveModelsResponse as AIRetrieveModelsResponse,
|
|
3394
3400
|
type AISummarizeResponse as AISummarizeResponse,
|
|
@@ -4306,11 +4312,11 @@ export declare namespace Telnyx {
|
|
|
4306
4312
|
PublicInternetGateways as PublicInternetGateways,
|
|
4307
4313
|
type NetworkInterface as NetworkInterface,
|
|
4308
4314
|
type NetworkInterfaceRegion as NetworkInterfaceRegion,
|
|
4315
|
+
type PublicInternetGatewayRead as PublicInternetGatewayRead,
|
|
4309
4316
|
type PublicInternetGatewayCreateResponse as PublicInternetGatewayCreateResponse,
|
|
4310
4317
|
type PublicInternetGatewayRetrieveResponse as PublicInternetGatewayRetrieveResponse,
|
|
4311
|
-
type PublicInternetGatewayListResponse as PublicInternetGatewayListResponse,
|
|
4312
4318
|
type PublicInternetGatewayDeleteResponse as PublicInternetGatewayDeleteResponse,
|
|
4313
|
-
type
|
|
4319
|
+
type PublicInternetGatewayReadsDefaultFlatPagination as PublicInternetGatewayReadsDefaultFlatPagination,
|
|
4314
4320
|
type PublicInternetGatewayCreateParams as PublicInternetGatewayCreateParams,
|
|
4315
4321
|
type PublicInternetGatewayListParams as PublicInternetGatewayListParams,
|
|
4316
4322
|
};
|
|
@@ -4653,12 +4659,12 @@ export declare namespace Telnyx {
|
|
|
4653
4659
|
|
|
4654
4660
|
export {
|
|
4655
4661
|
VirtualCrossConnects as VirtualCrossConnects,
|
|
4662
|
+
type VirtualCrossConnectCombined as VirtualCrossConnectCombined,
|
|
4656
4663
|
type VirtualCrossConnectCreateResponse as VirtualCrossConnectCreateResponse,
|
|
4657
4664
|
type VirtualCrossConnectRetrieveResponse as VirtualCrossConnectRetrieveResponse,
|
|
4658
4665
|
type VirtualCrossConnectUpdateResponse as VirtualCrossConnectUpdateResponse,
|
|
4659
|
-
type VirtualCrossConnectListResponse as VirtualCrossConnectListResponse,
|
|
4660
4666
|
type VirtualCrossConnectDeleteResponse as VirtualCrossConnectDeleteResponse,
|
|
4661
|
-
type
|
|
4667
|
+
type VirtualCrossConnectCombinedsDefaultFlatPagination as VirtualCrossConnectCombinedsDefaultFlatPagination,
|
|
4662
4668
|
type VirtualCrossConnectCreateParams as VirtualCrossConnectCreateParams,
|
|
4663
4669
|
type VirtualCrossConnectUpdateParams as VirtualCrossConnectUpdateParams,
|
|
4664
4670
|
type VirtualCrossConnectListParams as VirtualCrossConnectListParams,
|
|
@@ -4683,11 +4689,11 @@ export declare namespace Telnyx {
|
|
|
4683
4689
|
|
|
4684
4690
|
export {
|
|
4685
4691
|
WireguardInterfaces as WireguardInterfaces,
|
|
4692
|
+
type WireguardInterfaceRead as WireguardInterfaceRead,
|
|
4686
4693
|
type WireguardInterfaceCreateResponse as WireguardInterfaceCreateResponse,
|
|
4687
4694
|
type WireguardInterfaceRetrieveResponse as WireguardInterfaceRetrieveResponse,
|
|
4688
|
-
type WireguardInterfaceListResponse as WireguardInterfaceListResponse,
|
|
4689
4695
|
type WireguardInterfaceDeleteResponse as WireguardInterfaceDeleteResponse,
|
|
4690
|
-
type
|
|
4696
|
+
type WireguardInterfaceReadsDefaultFlatPagination as WireguardInterfaceReadsDefaultFlatPagination,
|
|
4691
4697
|
type WireguardInterfaceCreateParams as WireguardInterfaceCreateParams,
|
|
4692
4698
|
type WireguardInterfaceListParams as WireguardInterfaceListParams,
|
|
4693
4699
|
};
|
|
@@ -4894,12 +4900,16 @@ export declare namespace Telnyx {
|
|
|
4894
4900
|
|
|
4895
4901
|
export {
|
|
4896
4902
|
UacConnections as UacConnections,
|
|
4903
|
+
type UacConnection as UacConnection,
|
|
4904
|
+
type UacExternalSettings as UacExternalSettings,
|
|
4905
|
+
type UacInbound as UacInbound,
|
|
4906
|
+
type UacInternalSettings as UacInternalSettings,
|
|
4907
|
+
type UacOutbound as UacOutbound,
|
|
4897
4908
|
type UacConnectionCreateResponse as UacConnectionCreateResponse,
|
|
4898
4909
|
type UacConnectionRetrieveResponse as UacConnectionRetrieveResponse,
|
|
4899
4910
|
type UacConnectionUpdateResponse as UacConnectionUpdateResponse,
|
|
4900
|
-
type UacConnectionListResponse as UacConnectionListResponse,
|
|
4901
4911
|
type UacConnectionDeleteResponse as UacConnectionDeleteResponse,
|
|
4902
|
-
type
|
|
4912
|
+
type UacConnectionsDefaultFlatPagination as UacConnectionsDefaultFlatPagination,
|
|
4903
4913
|
type UacConnectionCreateParams as UacConnectionCreateParams,
|
|
4904
4914
|
type UacConnectionUpdateParams as UacConnectionUpdateParams,
|
|
4905
4915
|
type UacConnectionListParams as UacConnectionListParams,
|
|
@@ -4946,4 +4956,5 @@ export declare namespace Telnyx {
|
|
|
4946
4956
|
export type SimpleSimCard = API.SimpleSimCard;
|
|
4947
4957
|
export type SubNumberOrderRegulatoryRequirementWithValue = API.SubNumberOrderRegulatoryRequirementWithValue;
|
|
4948
4958
|
export type WhatsappTemplateData = API.WhatsappTemplateData;
|
|
4959
|
+
export type XaiVoiceSettings = API.XaiVoiceSettings;
|
|
4949
4960
|
}
|