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
|
@@ -527,6 +527,12 @@ export namespace CallConversationEnded {
|
|
|
527
527
|
*/
|
|
528
528
|
llm_model?: string;
|
|
529
529
|
|
|
530
|
+
/**
|
|
531
|
+
* Reason the conversation ended. For Conversation Relay, `customer_disconnect`
|
|
532
|
+
* indicates that the customer WebSocket disconnected.
|
|
533
|
+
*/
|
|
534
|
+
reason?: string | null;
|
|
535
|
+
|
|
530
536
|
/**
|
|
531
537
|
* The speech-to-text model used in the conversation.
|
|
532
538
|
*/
|
|
@@ -3795,8 +3801,9 @@ export namespace FaxDelivered {
|
|
|
3795
3801
|
|
|
3796
3802
|
/**
|
|
3797
3803
|
* The media_name used for the fax's media. Must point to a file previously
|
|
3798
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization.
|
|
3799
|
-
*
|
|
3804
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
|
|
3805
|
+
* formats: PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, and TXT. media_name and
|
|
3806
|
+
* media_url/contents can't be submitted together.
|
|
3800
3807
|
*/
|
|
3801
3808
|
media_name?: string;
|
|
3802
3809
|
|
|
@@ -3912,8 +3919,9 @@ export namespace FaxFailed {
|
|
|
3912
3919
|
|
|
3913
3920
|
/**
|
|
3914
3921
|
* The media_name used for the fax's media. Must point to a file previously
|
|
3915
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization.
|
|
3916
|
-
*
|
|
3922
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
|
|
3923
|
+
* formats: PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, and TXT. media_name and
|
|
3924
|
+
* media_url/contents can't be submitted together.
|
|
3917
3925
|
*/
|
|
3918
3926
|
media_name?: string;
|
|
3919
3927
|
|
|
@@ -4019,8 +4027,9 @@ export namespace FaxMediaProcessed {
|
|
|
4019
4027
|
|
|
4020
4028
|
/**
|
|
4021
4029
|
* The media_name used for the fax's media. Must point to a file previously
|
|
4022
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization.
|
|
4023
|
-
*
|
|
4030
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
|
|
4031
|
+
* formats: PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, and TXT. media_name and
|
|
4032
|
+
* media_url/contents can't be submitted together.
|
|
4024
4033
|
*/
|
|
4025
4034
|
media_name?: string;
|
|
4026
4035
|
|
|
@@ -4126,8 +4135,9 @@ export namespace FaxQueued {
|
|
|
4126
4135
|
|
|
4127
4136
|
/**
|
|
4128
4137
|
* The media_name used for the fax's media. Must point to a file previously
|
|
4129
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization.
|
|
4130
|
-
*
|
|
4138
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
|
|
4139
|
+
* formats: PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, and TXT. media_name and
|
|
4140
|
+
* media_url/contents can't be submitted together.
|
|
4131
4141
|
*/
|
|
4132
4142
|
media_name?: string;
|
|
4133
4143
|
|
|
@@ -4233,8 +4243,9 @@ export namespace FaxSendingStarted {
|
|
|
4233
4243
|
|
|
4234
4244
|
/**
|
|
4235
4245
|
* The media_name used for the fax's media. Must point to a file previously
|
|
4236
|
-
* uploaded to api.telnyx.com/v2/media by the same user/organization.
|
|
4237
|
-
*
|
|
4246
|
+
* uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
|
|
4247
|
+
* formats: PDF, TIFF, JPEG, PNG, DOC, DOCX, RTF, and TXT. media_name and
|
|
4248
|
+
* media_url/contents can't be submitted together.
|
|
4238
4249
|
*/
|
|
4239
4250
|
media_name?: string;
|
|
4240
4251
|
|
|
@@ -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.66.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.66.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.66.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.66.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|