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
|
@@ -1461,24 +1461,6 @@ export namespace TranscriptionEngineAConfig {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
|
-
export interface TranscriptionEngineAssemblyaiConfig {
|
|
1465
|
-
/**
|
|
1466
|
-
* Whether to send also interim results. If set to false, only final results will
|
|
1467
|
-
* be sent.
|
|
1468
|
-
*/
|
|
1469
|
-
interim_results?: boolean;
|
|
1470
|
-
|
|
1471
|
-
/**
|
|
1472
|
-
* Engine identifier for AssemblyAI transcription service
|
|
1473
|
-
*/
|
|
1474
|
-
transcription_engine?: 'AssemblyAI';
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* The model to use for transcription.
|
|
1478
|
-
*/
|
|
1479
|
-
transcription_model?: 'assemblyai/universal-streaming';
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
1464
|
export interface TranscriptionEngineAzureConfig {
|
|
1483
1465
|
/**
|
|
1484
1466
|
* Azure region to use for speech recognition
|
|
@@ -1692,54 +1674,6 @@ export interface TranscriptionEngineTelnyxConfig {
|
|
|
1692
1674
|
transcription_model?: 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo';
|
|
1693
1675
|
}
|
|
1694
1676
|
|
|
1695
|
-
export interface TranscriptionEngineXaiConfig {
|
|
1696
|
-
/**
|
|
1697
|
-
* Whether to send also interim results. If set to false, only final results will
|
|
1698
|
-
* be sent.
|
|
1699
|
-
*/
|
|
1700
|
-
interim_results?: boolean;
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* Language to use for speech recognition
|
|
1704
|
-
*/
|
|
1705
|
-
language?:
|
|
1706
|
-
| 'ar'
|
|
1707
|
-
| 'cs'
|
|
1708
|
-
| 'da'
|
|
1709
|
-
| 'de'
|
|
1710
|
-
| 'en'
|
|
1711
|
-
| 'es'
|
|
1712
|
-
| 'fa'
|
|
1713
|
-
| 'fil'
|
|
1714
|
-
| 'fr'
|
|
1715
|
-
| 'hi'
|
|
1716
|
-
| 'id'
|
|
1717
|
-
| 'it'
|
|
1718
|
-
| 'ja'
|
|
1719
|
-
| 'ko'
|
|
1720
|
-
| 'mk'
|
|
1721
|
-
| 'ms'
|
|
1722
|
-
| 'nl'
|
|
1723
|
-
| 'pl'
|
|
1724
|
-
| 'pt'
|
|
1725
|
-
| 'ro'
|
|
1726
|
-
| 'ru'
|
|
1727
|
-
| 'sv'
|
|
1728
|
-
| 'th'
|
|
1729
|
-
| 'tr'
|
|
1730
|
-
| 'vi';
|
|
1731
|
-
|
|
1732
|
-
/**
|
|
1733
|
-
* Engine identifier for xAI transcription service
|
|
1734
|
-
*/
|
|
1735
|
-
transcription_engine?: 'xAI';
|
|
1736
|
-
|
|
1737
|
-
/**
|
|
1738
|
-
* The model to use for transcription.
|
|
1739
|
-
*/
|
|
1740
|
-
transcription_model?: 'xai/grok-stt';
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
1677
|
export interface TranscriptionStartRequest {
|
|
1744
1678
|
/**
|
|
1745
1679
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -1763,8 +1697,8 @@ export interface TranscriptionStartRequest {
|
|
|
1763
1697
|
| TranscriptionEngineGoogleConfig
|
|
1764
1698
|
| TranscriptionEngineTelnyxConfig
|
|
1765
1699
|
| TranscriptionEngineAzureConfig
|
|
1766
|
-
| TranscriptionEngineXaiConfig
|
|
1767
|
-
| TranscriptionEngineAssemblyaiConfig
|
|
1700
|
+
| TranscriptionStartRequest.TranscriptionEngineXaiConfig
|
|
1701
|
+
| TranscriptionStartRequest.TranscriptionEngineAssemblyaiConfig
|
|
1768
1702
|
| TranscriptionEngineAConfig
|
|
1769
1703
|
| TranscriptionEngineBConfig
|
|
1770
1704
|
| DeepgramNova2Config
|
|
@@ -1778,6 +1712,74 @@ export interface TranscriptionStartRequest {
|
|
|
1778
1712
|
transcription_tracks?: string;
|
|
1779
1713
|
}
|
|
1780
1714
|
|
|
1715
|
+
export namespace TranscriptionStartRequest {
|
|
1716
|
+
export interface TranscriptionEngineXaiConfig {
|
|
1717
|
+
/**
|
|
1718
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
1719
|
+
* be sent.
|
|
1720
|
+
*/
|
|
1721
|
+
interim_results?: boolean;
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* Language to use for speech recognition
|
|
1725
|
+
*/
|
|
1726
|
+
language?:
|
|
1727
|
+
| 'ar'
|
|
1728
|
+
| 'cs'
|
|
1729
|
+
| 'da'
|
|
1730
|
+
| 'de'
|
|
1731
|
+
| 'en'
|
|
1732
|
+
| 'es'
|
|
1733
|
+
| 'fa'
|
|
1734
|
+
| 'fil'
|
|
1735
|
+
| 'fr'
|
|
1736
|
+
| 'hi'
|
|
1737
|
+
| 'id'
|
|
1738
|
+
| 'it'
|
|
1739
|
+
| 'ja'
|
|
1740
|
+
| 'ko'
|
|
1741
|
+
| 'mk'
|
|
1742
|
+
| 'ms'
|
|
1743
|
+
| 'nl'
|
|
1744
|
+
| 'pl'
|
|
1745
|
+
| 'pt'
|
|
1746
|
+
| 'ro'
|
|
1747
|
+
| 'ru'
|
|
1748
|
+
| 'sv'
|
|
1749
|
+
| 'th'
|
|
1750
|
+
| 'tr'
|
|
1751
|
+
| 'vi';
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Engine identifier for xAI transcription service
|
|
1755
|
+
*/
|
|
1756
|
+
transcription_engine?: 'xAI';
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* The model to use for transcription.
|
|
1760
|
+
*/
|
|
1761
|
+
transcription_model?: 'xai/grok-stt';
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
export interface TranscriptionEngineAssemblyaiConfig {
|
|
1765
|
+
/**
|
|
1766
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
1767
|
+
* be sent.
|
|
1768
|
+
*/
|
|
1769
|
+
interim_results?: boolean;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Engine identifier for AssemblyAI transcription service
|
|
1773
|
+
*/
|
|
1774
|
+
transcription_engine?: 'AssemblyAI';
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* The model to use for transcription.
|
|
1778
|
+
*/
|
|
1779
|
+
transcription_model?: 'assemblyai/universal-streaming';
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1781
1783
|
export interface ActionAddAIAssistantMessagesResponse {
|
|
1782
1784
|
data?: CallControlCommandResult;
|
|
1783
1785
|
}
|
|
@@ -2718,7 +2720,7 @@ export interface ActionGatherUsingAIParams {
|
|
|
2718
2720
|
| Shared.AzureVoiceSettings
|
|
2719
2721
|
| Shared.RimeVoiceSettings
|
|
2720
2722
|
| Shared.ResembleVoiceSettings
|
|
2721
|
-
|
|
|
2723
|
+
| ActionGatherUsingAIParams.XaiVoiceSettings;
|
|
2722
2724
|
}
|
|
2723
2725
|
|
|
2724
2726
|
export namespace ActionGatherUsingAIParams {
|
|
@@ -2733,6 +2735,18 @@ export namespace ActionGatherUsingAIParams {
|
|
|
2733
2735
|
*/
|
|
2734
2736
|
role?: 'assistant' | 'user';
|
|
2735
2737
|
}
|
|
2738
|
+
|
|
2739
|
+
export interface XaiVoiceSettings {
|
|
2740
|
+
/**
|
|
2741
|
+
* Voice settings provider type
|
|
2742
|
+
*/
|
|
2743
|
+
type: 'xai';
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* Language code, or `auto` to detect automatically.
|
|
2747
|
+
*/
|
|
2748
|
+
language?: string;
|
|
2749
|
+
}
|
|
2736
2750
|
}
|
|
2737
2751
|
|
|
2738
2752
|
export interface ActionGatherUsingAudioParams {
|
|
@@ -2990,7 +3004,7 @@ export interface ActionGatherUsingSpeakParams {
|
|
|
2990
3004
|
| Shared.RimeVoiceSettings
|
|
2991
3005
|
| Shared.ResembleVoiceSettings
|
|
2992
3006
|
| ActionGatherUsingSpeakParams.InworldVoiceSettings
|
|
2993
|
-
|
|
|
3007
|
+
| ActionGatherUsingSpeakParams.XaiVoiceSettings;
|
|
2994
3008
|
}
|
|
2995
3009
|
|
|
2996
3010
|
export namespace ActionGatherUsingSpeakParams {
|
|
@@ -3000,6 +3014,18 @@ export namespace ActionGatherUsingSpeakParams {
|
|
|
3000
3014
|
*/
|
|
3001
3015
|
type: 'inworld';
|
|
3002
3016
|
}
|
|
3017
|
+
|
|
3018
|
+
export interface XaiVoiceSettings {
|
|
3019
|
+
/**
|
|
3020
|
+
* Voice settings provider type
|
|
3021
|
+
*/
|
|
3022
|
+
type: 'xai';
|
|
3023
|
+
|
|
3024
|
+
/**
|
|
3025
|
+
* Language code, or `auto` to detect automatically.
|
|
3026
|
+
*/
|
|
3027
|
+
language?: string;
|
|
3028
|
+
}
|
|
3003
3029
|
}
|
|
3004
3030
|
|
|
3005
3031
|
export interface ActionHangupParams {
|
|
@@ -3373,7 +3399,7 @@ export interface ActionSpeakParams {
|
|
|
3373
3399
|
| Shared.RimeVoiceSettings
|
|
3374
3400
|
| Shared.ResembleVoiceSettings
|
|
3375
3401
|
| ActionSpeakParams.InworldVoiceSettings
|
|
3376
|
-
|
|
|
3402
|
+
| ActionSpeakParams.XaiVoiceSettings;
|
|
3377
3403
|
}
|
|
3378
3404
|
|
|
3379
3405
|
export namespace ActionSpeakParams {
|
|
@@ -3383,6 +3409,18 @@ export namespace ActionSpeakParams {
|
|
|
3383
3409
|
*/
|
|
3384
3410
|
type: 'inworld';
|
|
3385
3411
|
}
|
|
3412
|
+
|
|
3413
|
+
export interface XaiVoiceSettings {
|
|
3414
|
+
/**
|
|
3415
|
+
* Voice settings provider type
|
|
3416
|
+
*/
|
|
3417
|
+
type: 'xai';
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Language code, or `auto` to detect automatically.
|
|
3421
|
+
*/
|
|
3422
|
+
language?: string;
|
|
3423
|
+
}
|
|
3386
3424
|
}
|
|
3387
3425
|
|
|
3388
3426
|
export interface ActionStartAIAssistantParams {
|
|
@@ -3488,7 +3526,7 @@ export interface ActionStartAIAssistantParams {
|
|
|
3488
3526
|
| Shared.AzureVoiceSettings
|
|
3489
3527
|
| Shared.RimeVoiceSettings
|
|
3490
3528
|
| Shared.ResembleVoiceSettings
|
|
3491
|
-
|
|
|
3529
|
+
| ActionStartAIAssistantParams.XaiVoiceSettings;
|
|
3492
3530
|
}
|
|
3493
3531
|
|
|
3494
3532
|
export namespace ActionStartAIAssistantParams {
|
|
@@ -3656,6 +3694,18 @@ export namespace ActionStartAIAssistantParams {
|
|
|
3656
3694
|
*/
|
|
3657
3695
|
on_hangup?: 'continue_conversation' | 'end_conversation';
|
|
3658
3696
|
}
|
|
3697
|
+
|
|
3698
|
+
export interface XaiVoiceSettings {
|
|
3699
|
+
/**
|
|
3700
|
+
* Voice settings provider type
|
|
3701
|
+
*/
|
|
3702
|
+
type: 'xai';
|
|
3703
|
+
|
|
3704
|
+
/**
|
|
3705
|
+
* Language code, or `auto` to detect automatically.
|
|
3706
|
+
*/
|
|
3707
|
+
language?: string;
|
|
3708
|
+
}
|
|
3659
3709
|
}
|
|
3660
3710
|
|
|
3661
3711
|
export interface ActionStartForkingParams {
|
|
@@ -4352,8 +4402,8 @@ export interface ActionStartTranscriptionParams {
|
|
|
4352
4402
|
| TranscriptionEngineGoogleConfig
|
|
4353
4403
|
| TranscriptionEngineTelnyxConfig
|
|
4354
4404
|
| TranscriptionEngineAzureConfig
|
|
4355
|
-
| TranscriptionEngineXaiConfig
|
|
4356
|
-
| TranscriptionEngineAssemblyaiConfig
|
|
4405
|
+
| ActionStartTranscriptionParams.TranscriptionEngineXaiConfig
|
|
4406
|
+
| ActionStartTranscriptionParams.TranscriptionEngineAssemblyaiConfig
|
|
4357
4407
|
| TranscriptionEngineAConfig
|
|
4358
4408
|
| TranscriptionEngineBConfig
|
|
4359
4409
|
| DeepgramNova2Config
|
|
@@ -4367,6 +4417,74 @@ export interface ActionStartTranscriptionParams {
|
|
|
4367
4417
|
transcription_tracks?: string;
|
|
4368
4418
|
}
|
|
4369
4419
|
|
|
4420
|
+
export namespace ActionStartTranscriptionParams {
|
|
4421
|
+
export interface TranscriptionEngineXaiConfig {
|
|
4422
|
+
/**
|
|
4423
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
4424
|
+
* be sent.
|
|
4425
|
+
*/
|
|
4426
|
+
interim_results?: boolean;
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* Language to use for speech recognition
|
|
4430
|
+
*/
|
|
4431
|
+
language?:
|
|
4432
|
+
| 'ar'
|
|
4433
|
+
| 'cs'
|
|
4434
|
+
| 'da'
|
|
4435
|
+
| 'de'
|
|
4436
|
+
| 'en'
|
|
4437
|
+
| 'es'
|
|
4438
|
+
| 'fa'
|
|
4439
|
+
| 'fil'
|
|
4440
|
+
| 'fr'
|
|
4441
|
+
| 'hi'
|
|
4442
|
+
| 'id'
|
|
4443
|
+
| 'it'
|
|
4444
|
+
| 'ja'
|
|
4445
|
+
| 'ko'
|
|
4446
|
+
| 'mk'
|
|
4447
|
+
| 'ms'
|
|
4448
|
+
| 'nl'
|
|
4449
|
+
| 'pl'
|
|
4450
|
+
| 'pt'
|
|
4451
|
+
| 'ro'
|
|
4452
|
+
| 'ru'
|
|
4453
|
+
| 'sv'
|
|
4454
|
+
| 'th'
|
|
4455
|
+
| 'tr'
|
|
4456
|
+
| 'vi';
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Engine identifier for xAI transcription service
|
|
4460
|
+
*/
|
|
4461
|
+
transcription_engine?: 'xAI';
|
|
4462
|
+
|
|
4463
|
+
/**
|
|
4464
|
+
* The model to use for transcription.
|
|
4465
|
+
*/
|
|
4466
|
+
transcription_model?: 'xai/grok-stt';
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
export interface TranscriptionEngineAssemblyaiConfig {
|
|
4470
|
+
/**
|
|
4471
|
+
* Whether to send also interim results. If set to false, only final results will
|
|
4472
|
+
* be sent.
|
|
4473
|
+
*/
|
|
4474
|
+
interim_results?: boolean;
|
|
4475
|
+
|
|
4476
|
+
/**
|
|
4477
|
+
* Engine identifier for AssemblyAI transcription service
|
|
4478
|
+
*/
|
|
4479
|
+
transcription_engine?: 'AssemblyAI';
|
|
4480
|
+
|
|
4481
|
+
/**
|
|
4482
|
+
* The model to use for transcription.
|
|
4483
|
+
*/
|
|
4484
|
+
transcription_model?: 'assemblyai/universal-streaming';
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4370
4488
|
export interface ActionStopAIAssistantParams {
|
|
4371
4489
|
/**
|
|
4372
4490
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -4879,13 +4997,11 @@ export declare namespace Actions {
|
|
|
4879
4997
|
type TelnyxVoiceSettings as TelnyxVoiceSettings,
|
|
4880
4998
|
type TranscriptionConfig as TranscriptionConfig,
|
|
4881
4999
|
type TranscriptionEngineAConfig as TranscriptionEngineAConfig,
|
|
4882
|
-
type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig,
|
|
4883
5000
|
type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig,
|
|
4884
5001
|
type TranscriptionEngineBConfig as TranscriptionEngineBConfig,
|
|
4885
5002
|
type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig,
|
|
4886
5003
|
type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig,
|
|
4887
5004
|
type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig,
|
|
4888
|
-
type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig,
|
|
4889
5005
|
type TranscriptionStartRequest as TranscriptionStartRequest,
|
|
4890
5006
|
type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse,
|
|
4891
5007
|
type ActionAnswerResponse as ActionAnswerResponse,
|
|
@@ -95,13 +95,11 @@ import {
|
|
|
95
95
|
TelnyxVoiceSettings,
|
|
96
96
|
TranscriptionConfig,
|
|
97
97
|
TranscriptionEngineAConfig,
|
|
98
|
-
TranscriptionEngineAssemblyaiConfig,
|
|
99
98
|
TranscriptionEngineAzureConfig,
|
|
100
99
|
TranscriptionEngineBConfig,
|
|
101
100
|
TranscriptionEngineDeepgramConfig,
|
|
102
101
|
TranscriptionEngineGoogleConfig,
|
|
103
102
|
TranscriptionEngineTelnyxConfig,
|
|
104
|
-
TranscriptionEngineXaiConfig,
|
|
105
103
|
TranscriptionStartRequest,
|
|
106
104
|
} from './actions';
|
|
107
105
|
import * as AssistantsAPI from '../ai/assistants/assistants';
|
|
@@ -1200,13 +1198,11 @@ export declare namespace Calls {
|
|
|
1200
1198
|
type TelnyxVoiceSettings as TelnyxVoiceSettings,
|
|
1201
1199
|
type TranscriptionConfig as TranscriptionConfig,
|
|
1202
1200
|
type TranscriptionEngineAConfig as TranscriptionEngineAConfig,
|
|
1203
|
-
type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig,
|
|
1204
1201
|
type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig,
|
|
1205
1202
|
type TranscriptionEngineBConfig as TranscriptionEngineBConfig,
|
|
1206
1203
|
type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig,
|
|
1207
1204
|
type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig,
|
|
1208
1205
|
type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig,
|
|
1209
|
-
type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig,
|
|
1210
1206
|
type TranscriptionStartRequest as TranscriptionStartRequest,
|
|
1211
1207
|
type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse,
|
|
1212
1208
|
type ActionAnswerResponse as ActionAnswerResponse,
|
|
@@ -16,13 +16,11 @@ export {
|
|
|
16
16
|
type TelnyxVoiceSettings,
|
|
17
17
|
type TranscriptionConfig,
|
|
18
18
|
type TranscriptionEngineAConfig,
|
|
19
|
-
type TranscriptionEngineAssemblyaiConfig,
|
|
20
19
|
type TranscriptionEngineAzureConfig,
|
|
21
20
|
type TranscriptionEngineBConfig,
|
|
22
21
|
type TranscriptionEngineDeepgramConfig,
|
|
23
22
|
type TranscriptionEngineGoogleConfig,
|
|
24
23
|
type TranscriptionEngineTelnyxConfig,
|
|
25
|
-
type TranscriptionEngineXaiConfig,
|
|
26
24
|
type TranscriptionStartRequest,
|
|
27
25
|
type ActionAddAIAssistantMessagesResponse,
|
|
28
26
|
type ActionAnswerResponse,
|
|
@@ -1020,7 +1020,7 @@ export interface ActionSpeakParams {
|
|
|
1020
1020
|
| Shared.RimeVoiceSettings
|
|
1021
1021
|
| Shared.ResembleVoiceSettings
|
|
1022
1022
|
| ActionSpeakParams.InworldVoiceSettings
|
|
1023
|
-
|
|
|
1023
|
+
| ActionSpeakParams.XaiVoiceSettings;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
export namespace ActionSpeakParams {
|
|
@@ -1030,6 +1030,18 @@ export namespace ActionSpeakParams {
|
|
|
1030
1030
|
*/
|
|
1031
1031
|
type: 'inworld';
|
|
1032
1032
|
}
|
|
1033
|
+
|
|
1034
|
+
export interface XaiVoiceSettings {
|
|
1035
|
+
/**
|
|
1036
|
+
* Voice settings provider type
|
|
1037
|
+
*/
|
|
1038
|
+
type: 'xai';
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Language code, or `auto` to detect automatically.
|
|
1042
|
+
*/
|
|
1043
|
+
language?: string;
|
|
1044
|
+
}
|
|
1033
1045
|
}
|
|
1034
1046
|
|
|
1035
1047
|
export interface ActionStopParams {
|
package/src/resources/index.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
-
export {
|
|
5
|
-
AI,
|
|
6
|
-
type ModelMetadata,
|
|
7
|
-
type AIRetrieveModelsResponse,
|
|
8
|
-
type AISummarizeResponse,
|
|
9
|
-
type AISummarizeParams,
|
|
10
|
-
} from './ai/ai';
|
|
4
|
+
export { AI, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams } from './ai/ai';
|
|
11
5
|
export {
|
|
12
6
|
AccessIPAddress,
|
|
13
7
|
type AccessIPAddressResponse,
|
|
@@ -1250,19 +1244,15 @@ export {
|
|
|
1250
1244
|
} from './traffic-policy-profiles';
|
|
1251
1245
|
export {
|
|
1252
1246
|
UacConnections,
|
|
1253
|
-
type UacConnection,
|
|
1254
|
-
type UacExternalSettings,
|
|
1255
|
-
type UacInbound,
|
|
1256
|
-
type UacInternalSettings,
|
|
1257
|
-
type UacOutbound,
|
|
1258
1247
|
type UacConnectionCreateResponse,
|
|
1259
1248
|
type UacConnectionRetrieveResponse,
|
|
1260
1249
|
type UacConnectionUpdateResponse,
|
|
1250
|
+
type UacConnectionListResponse,
|
|
1261
1251
|
type UacConnectionDeleteResponse,
|
|
1262
1252
|
type UacConnectionCreateParams,
|
|
1263
1253
|
type UacConnectionUpdateParams,
|
|
1264
1254
|
type UacConnectionListParams,
|
|
1265
|
-
type
|
|
1255
|
+
type UacConnectionListResponsesDefaultFlatPagination,
|
|
1266
1256
|
} from './uac-connections/uac-connections';
|
|
1267
1257
|
export {
|
|
1268
1258
|
UsageReports,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as GlobalIPAssignmentsAPI from '../global-ip-assignments';
|
|
5
|
+
import * as PublicInternetGatewaysAPI from '../public-internet-gateways';
|
|
5
6
|
import * as DefaultGatewayAPI from './default-gateway';
|
|
6
7
|
import {
|
|
7
8
|
DefaultGateway,
|
|
@@ -205,27 +206,9 @@ export namespace NetworkDeleteResponse {
|
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
|
|
208
|
-
export interface NetworkListInterfacesResponse
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
*/
|
|
212
|
-
id?: string;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
216
|
-
*/
|
|
217
|
-
created_at?: string;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* A user specified name for the interface.
|
|
221
|
-
*/
|
|
222
|
-
name?: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The id of the network associated with the interface.
|
|
226
|
-
*/
|
|
227
|
-
network_id?: string;
|
|
228
|
-
|
|
209
|
+
export interface NetworkListInterfacesResponse
|
|
210
|
+
extends GlobalIPAssignmentsAPI.Record,
|
|
211
|
+
PublicInternetGatewaysAPI.NetworkInterface {
|
|
229
212
|
/**
|
|
230
213
|
* Identifies the type of the resource.
|
|
231
214
|
*/
|
|
@@ -238,20 +221,10 @@ export interface NetworkListInterfacesResponse {
|
|
|
238
221
|
*/
|
|
239
222
|
region_code?: string;
|
|
240
223
|
|
|
241
|
-
/**
|
|
242
|
-
* The current status of the interface deployment.
|
|
243
|
-
*/
|
|
244
|
-
status?: InterfaceStatus;
|
|
245
|
-
|
|
246
224
|
/**
|
|
247
225
|
* Identifies the type of the interface.
|
|
248
226
|
*/
|
|
249
227
|
type?: string;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
253
|
-
*/
|
|
254
|
-
updated_at?: string;
|
|
255
228
|
}
|
|
256
229
|
|
|
257
230
|
export namespace NetworkListInterfacesResponse {
|