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
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';
|
|
@@ -1153,7 +1153,13 @@ import {
|
|
|
1153
1153
|
Addresses,
|
|
1154
1154
|
AddressesDefaultFlatPagination,
|
|
1155
1155
|
} from './resources/addresses/addresses';
|
|
1156
|
-
import {
|
|
1156
|
+
import {
|
|
1157
|
+
AI,
|
|
1158
|
+
AIRetrieveModelsResponse,
|
|
1159
|
+
AISummarizeParams,
|
|
1160
|
+
AISummarizeResponse,
|
|
1161
|
+
ModelMetadata,
|
|
1162
|
+
} from './resources/ai/ai';
|
|
1157
1163
|
import { BundlePricing } from './resources/bundle-pricing/bundle-pricing';
|
|
1158
1164
|
import {
|
|
1159
1165
|
CallAssistantRequest,
|
|
@@ -1532,16 +1538,20 @@ import {
|
|
|
1532
1538
|
TextToSpeechListVoicesResponse,
|
|
1533
1539
|
} from './resources/text-to-speech/text-to-speech';
|
|
1534
1540
|
import {
|
|
1541
|
+
UacConnection,
|
|
1535
1542
|
UacConnectionCreateParams,
|
|
1536
1543
|
UacConnectionCreateResponse,
|
|
1537
1544
|
UacConnectionDeleteResponse,
|
|
1538
1545
|
UacConnectionListParams,
|
|
1539
|
-
UacConnectionListResponse,
|
|
1540
|
-
UacConnectionListResponsesDefaultFlatPagination,
|
|
1541
1546
|
UacConnectionRetrieveResponse,
|
|
1542
1547
|
UacConnectionUpdateParams,
|
|
1543
1548
|
UacConnectionUpdateResponse,
|
|
1544
1549
|
UacConnections,
|
|
1550
|
+
UacConnectionsDefaultFlatPagination,
|
|
1551
|
+
UacExternalSettings,
|
|
1552
|
+
UacInbound,
|
|
1553
|
+
UacInternalSettings,
|
|
1554
|
+
UacOutbound,
|
|
1545
1555
|
} from './resources/uac-connections/uac-connections';
|
|
1546
1556
|
import {
|
|
1547
1557
|
CreateVerificationResponse,
|
|
@@ -3382,6 +3392,7 @@ export declare namespace Telnyx {
|
|
|
3382
3392
|
|
|
3383
3393
|
export {
|
|
3384
3394
|
AI as AI,
|
|
3395
|
+
type ModelMetadata as ModelMetadata,
|
|
3385
3396
|
type AIRetrieveModelsResponse as AIRetrieveModelsResponse,
|
|
3386
3397
|
type AISummarizeResponse as AISummarizeResponse,
|
|
3387
3398
|
type AISummarizeParams as AISummarizeParams,
|
|
@@ -4297,11 +4308,11 @@ export declare namespace Telnyx {
|
|
|
4297
4308
|
PublicInternetGateways as PublicInternetGateways,
|
|
4298
4309
|
type NetworkInterface as NetworkInterface,
|
|
4299
4310
|
type NetworkInterfaceRegion as NetworkInterfaceRegion,
|
|
4311
|
+
type PublicInternetGatewayRead as PublicInternetGatewayRead,
|
|
4300
4312
|
type PublicInternetGatewayCreateResponse as PublicInternetGatewayCreateResponse,
|
|
4301
4313
|
type PublicInternetGatewayRetrieveResponse as PublicInternetGatewayRetrieveResponse,
|
|
4302
|
-
type PublicInternetGatewayListResponse as PublicInternetGatewayListResponse,
|
|
4303
4314
|
type PublicInternetGatewayDeleteResponse as PublicInternetGatewayDeleteResponse,
|
|
4304
|
-
type
|
|
4315
|
+
type PublicInternetGatewayReadsDefaultFlatPagination as PublicInternetGatewayReadsDefaultFlatPagination,
|
|
4305
4316
|
type PublicInternetGatewayCreateParams as PublicInternetGatewayCreateParams,
|
|
4306
4317
|
type PublicInternetGatewayListParams as PublicInternetGatewayListParams,
|
|
4307
4318
|
};
|
|
@@ -4644,12 +4655,12 @@ export declare namespace Telnyx {
|
|
|
4644
4655
|
|
|
4645
4656
|
export {
|
|
4646
4657
|
VirtualCrossConnects as VirtualCrossConnects,
|
|
4658
|
+
type VirtualCrossConnectCombined as VirtualCrossConnectCombined,
|
|
4647
4659
|
type VirtualCrossConnectCreateResponse as VirtualCrossConnectCreateResponse,
|
|
4648
4660
|
type VirtualCrossConnectRetrieveResponse as VirtualCrossConnectRetrieveResponse,
|
|
4649
4661
|
type VirtualCrossConnectUpdateResponse as VirtualCrossConnectUpdateResponse,
|
|
4650
|
-
type VirtualCrossConnectListResponse as VirtualCrossConnectListResponse,
|
|
4651
4662
|
type VirtualCrossConnectDeleteResponse as VirtualCrossConnectDeleteResponse,
|
|
4652
|
-
type
|
|
4663
|
+
type VirtualCrossConnectCombinedsDefaultFlatPagination as VirtualCrossConnectCombinedsDefaultFlatPagination,
|
|
4653
4664
|
type VirtualCrossConnectCreateParams as VirtualCrossConnectCreateParams,
|
|
4654
4665
|
type VirtualCrossConnectUpdateParams as VirtualCrossConnectUpdateParams,
|
|
4655
4666
|
type VirtualCrossConnectListParams as VirtualCrossConnectListParams,
|
|
@@ -4674,11 +4685,11 @@ export declare namespace Telnyx {
|
|
|
4674
4685
|
|
|
4675
4686
|
export {
|
|
4676
4687
|
WireguardInterfaces as WireguardInterfaces,
|
|
4688
|
+
type WireguardInterfaceRead as WireguardInterfaceRead,
|
|
4677
4689
|
type WireguardInterfaceCreateResponse as WireguardInterfaceCreateResponse,
|
|
4678
4690
|
type WireguardInterfaceRetrieveResponse as WireguardInterfaceRetrieveResponse,
|
|
4679
|
-
type WireguardInterfaceListResponse as WireguardInterfaceListResponse,
|
|
4680
4691
|
type WireguardInterfaceDeleteResponse as WireguardInterfaceDeleteResponse,
|
|
4681
|
-
type
|
|
4692
|
+
type WireguardInterfaceReadsDefaultFlatPagination as WireguardInterfaceReadsDefaultFlatPagination,
|
|
4682
4693
|
type WireguardInterfaceCreateParams as WireguardInterfaceCreateParams,
|
|
4683
4694
|
type WireguardInterfaceListParams as WireguardInterfaceListParams,
|
|
4684
4695
|
};
|
|
@@ -4885,12 +4896,16 @@ export declare namespace Telnyx {
|
|
|
4885
4896
|
|
|
4886
4897
|
export {
|
|
4887
4898
|
UacConnections as UacConnections,
|
|
4899
|
+
type UacConnection as UacConnection,
|
|
4900
|
+
type UacExternalSettings as UacExternalSettings,
|
|
4901
|
+
type UacInbound as UacInbound,
|
|
4902
|
+
type UacInternalSettings as UacInternalSettings,
|
|
4903
|
+
type UacOutbound as UacOutbound,
|
|
4888
4904
|
type UacConnectionCreateResponse as UacConnectionCreateResponse,
|
|
4889
4905
|
type UacConnectionRetrieveResponse as UacConnectionRetrieveResponse,
|
|
4890
4906
|
type UacConnectionUpdateResponse as UacConnectionUpdateResponse,
|
|
4891
|
-
type UacConnectionListResponse as UacConnectionListResponse,
|
|
4892
4907
|
type UacConnectionDeleteResponse as UacConnectionDeleteResponse,
|
|
4893
|
-
type
|
|
4908
|
+
type UacConnectionsDefaultFlatPagination as UacConnectionsDefaultFlatPagination,
|
|
4894
4909
|
type UacConnectionCreateParams as UacConnectionCreateParams,
|
|
4895
4910
|
type UacConnectionUpdateParams as UacConnectionUpdateParams,
|
|
4896
4911
|
type UacConnectionListParams as UacConnectionListParams,
|
|
@@ -4937,4 +4952,5 @@ export declare namespace Telnyx {
|
|
|
4937
4952
|
export type SimpleSimCard = API.SimpleSimCard;
|
|
4938
4953
|
export type SubNumberOrderRegulatoryRequirementWithValue = API.SubNumberOrderRegulatoryRequirementWithValue;
|
|
4939
4954
|
export type WhatsappTemplateData = API.WhatsappTemplateData;
|
|
4955
|
+
export type XaiVoiceSettings = API.XaiVoiceSettings;
|
|
4940
4956
|
}
|
package/src/resources/ai/ai.ts
CHANGED
|
@@ -52,6 +52,8 @@ import {
|
|
|
52
52
|
AssistantDeleteResponse,
|
|
53
53
|
AssistantGetTexmlResponse,
|
|
54
54
|
AssistantImportsParams,
|
|
55
|
+
AssistantIntegration,
|
|
56
|
+
AssistantMcpServer,
|
|
55
57
|
AssistantRetrieveParams,
|
|
56
58
|
AssistantSendSMSParams,
|
|
57
59
|
AssistantSendSMSResponse,
|
|
@@ -69,6 +71,7 @@ import {
|
|
|
69
71
|
HangupToolParams,
|
|
70
72
|
ImportMetadata,
|
|
71
73
|
InferenceEmbedding,
|
|
74
|
+
InferenceEmbeddingInterruptionSettings,
|
|
72
75
|
InferenceEmbeddingWebhookToolParams,
|
|
73
76
|
InsightSettings,
|
|
74
77
|
MessagingSettings,
|
|
@@ -78,7 +81,9 @@ import {
|
|
|
78
81
|
PostConversationSettingsReq,
|
|
79
82
|
PrivacySettings,
|
|
80
83
|
RetrievalTool,
|
|
84
|
+
StartSpeakingPlan,
|
|
81
85
|
TelephonySettings,
|
|
86
|
+
TranscriptionEndpointingPlan,
|
|
82
87
|
TranscriptionSettings,
|
|
83
88
|
TranscriptionSettingsConfig,
|
|
84
89
|
TransferTool,
|
|
@@ -195,22 +200,20 @@ export class AI extends APIResource {
|
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
|
|
198
|
-
export interface
|
|
199
|
-
|
|
203
|
+
export interface ModelMetadata {
|
|
204
|
+
id: string;
|
|
200
205
|
|
|
201
|
-
|
|
202
|
-
}
|
|
206
|
+
created: number;
|
|
203
207
|
|
|
204
|
-
|
|
205
|
-
export interface Data {
|
|
206
|
-
id: string;
|
|
208
|
+
owned_by: string;
|
|
207
209
|
|
|
208
|
-
|
|
210
|
+
object?: string;
|
|
211
|
+
}
|
|
209
212
|
|
|
210
|
-
|
|
213
|
+
export interface AIRetrieveModelsResponse {
|
|
214
|
+
data: Array<ModelMetadata>;
|
|
211
215
|
|
|
212
|
-
|
|
213
|
-
}
|
|
216
|
+
object?: string;
|
|
214
217
|
}
|
|
215
218
|
|
|
216
219
|
export interface AISummarizeResponse {
|
|
@@ -255,6 +258,7 @@ AI.Tools = Tools;
|
|
|
255
258
|
|
|
256
259
|
export declare namespace AI {
|
|
257
260
|
export {
|
|
261
|
+
type ModelMetadata as ModelMetadata,
|
|
258
262
|
type AIRetrieveModelsResponse as AIRetrieveModelsResponse,
|
|
259
263
|
type AISummarizeResponse as AISummarizeResponse,
|
|
260
264
|
type AISummarizeParams as AISummarizeParams,
|
|
@@ -263,6 +267,8 @@ export declare namespace AI {
|
|
|
263
267
|
export {
|
|
264
268
|
Assistants as Assistants,
|
|
265
269
|
type Assistant as Assistant,
|
|
270
|
+
type AssistantIntegration as AssistantIntegration,
|
|
271
|
+
type AssistantMcpServer as AssistantMcpServer,
|
|
266
272
|
type AssistantTool as AssistantTool,
|
|
267
273
|
type AssistantsList as AssistantsList,
|
|
268
274
|
type AudioVisualizerConfig as AudioVisualizerConfig,
|
|
@@ -275,6 +281,7 @@ export declare namespace AI {
|
|
|
275
281
|
type HangupToolParams as HangupToolParams,
|
|
276
282
|
type ImportMetadata as ImportMetadata,
|
|
277
283
|
type InferenceEmbedding as InferenceEmbedding,
|
|
284
|
+
type InferenceEmbeddingInterruptionSettings as InferenceEmbeddingInterruptionSettings,
|
|
278
285
|
type InferenceEmbeddingWebhookToolParams as InferenceEmbeddingWebhookToolParams,
|
|
279
286
|
type InsightSettings as InsightSettings,
|
|
280
287
|
type MessagingSettings as MessagingSettings,
|
|
@@ -284,7 +291,9 @@ export declare namespace AI {
|
|
|
284
291
|
type PostConversationSettingsReq as PostConversationSettingsReq,
|
|
285
292
|
type PrivacySettings as PrivacySettings,
|
|
286
293
|
type RetrievalTool as RetrievalTool,
|
|
294
|
+
type StartSpeakingPlan as StartSpeakingPlan,
|
|
287
295
|
type TelephonySettings as TelephonySettings,
|
|
296
|
+
type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan,
|
|
288
297
|
type TranscriptionSettings as TranscriptionSettings,
|
|
289
298
|
type TranscriptionSettingsConfig as TranscriptionSettingsConfig,
|
|
290
299
|
type TransferTool as TransferTool,
|