voice-router-dev 0.7.9 → 0.8.1
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 +202 -1
- package/README.md +21 -2
- package/dist/constants.d.mts +600 -12
- package/dist/constants.d.ts +600 -12
- package/dist/constants.js +548 -5
- package/dist/constants.mjs +537 -5
- package/dist/{field-configs-CaXYfrJg.d.mts → field-configs-CDVygOte.d.mts} +26 -20
- package/dist/{field-configs-CaXYfrJg.d.ts → field-configs-CDVygOte.d.ts} +26 -20
- package/dist/field-configs.d.mts +1 -1
- package/dist/field-configs.d.ts +1 -1
- package/dist/field-configs.js +7 -4
- package/dist/field-configs.mjs +7 -4
- package/dist/index.d.mts +3184 -1367
- package/dist/index.d.ts +3184 -1367
- package/dist/index.js +1529 -105
- package/dist/index.mjs +1521 -105
- package/dist/{provider-metadata-DVQcYIHe.d.mts → provider-metadata-BnkedpXm.d.mts} +34 -4
- package/dist/{provider-metadata-Derls1wa.d.ts → provider-metadata-DbsSGAO7.d.ts} +34 -4
- package/dist/provider-metadata.d.mts +2 -2
- package/dist/provider-metadata.d.ts +2 -2
- package/dist/provider-metadata.js +349 -9
- package/dist/provider-metadata.mjs +345 -9
- package/dist/{transcriptWebhookNotification-BTxv69ck.d.ts → transcriptWebhookNotification-BJk1CEF5.d.ts} +712 -9
- package/dist/{transcriptWebhookNotification-DCcbnAKP.d.mts → transcriptWebhookNotification-CNFpns9f.d.mts} +712 -9
- package/dist/webhooks.d.mts +102 -5
- package/dist/webhooks.d.ts +102 -5
- package/dist/webhooks.js +342 -39
- package/dist/webhooks.mjs +340 -39
- package/package.json +11 -5
package/dist/constants.d.mts
CHANGED
|
@@ -102,7 +102,7 @@ declare const DeepgramModelLabels: Record<DeepgramModelCode, string>;
|
|
|
102
102
|
* Includes both primary codes (e.g., 'en', 'es') and regional variants (e.g., 'en-US', 'pt-BR')
|
|
103
103
|
* Also includes "multi" for multilingual codeswitching (Nova-2/Nova-3 only)
|
|
104
104
|
*/
|
|
105
|
-
declare const DeepgramLanguageCodes: readonly ["af", "am", "ar", "as", "az", "ba", "be", "be-BY", "bg", "bn", "bn-IN", "bo", "br", "bs", "bs-BA", "ca", "cs", "cy", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-MY", "en-NZ", "en-PH", "en-US", "en-ZA", "es", "es-419", "es-AR", "es-ES", "es-LATAM", "es-MX", "es-US", "et", "eu", "fa", "fi", "fo", "fr", "fr-BE", "fr-ca", "fr-CA", "fr-CH", "fr-FR", "gl", "gu", "ha", "haw", "he", "hi", "hi-Latn", "hr", "hr-HR", "ht", "hu", "hy", "id", "id-ID", "is", "it", "it-IT", "ja", "ja-JP", "jw", "ka", "kk", "km", "kn", "kn-IN", "ko", "ko-KR", "la", "lb", "ln", "lo", "lt", "lv", "mg", "mi", "mk", "mk-MK", "ml", "mn", "mr", "mr-IN", "ms", "ms-MY", "ms-SG", "mt", "multi", "my", "ne", "nl", "nl-BE", "nl-NL", "nn", "no", "no-NO", "oc", "pa", "pl", "pl-PL", "ps", "pt", "pt-BR", "pt-PT", "ro", "ro-MD", "ru", "ru-Latn", "ru-RU", "sa", "sd", "si", "sk", "sl", "sl-SL", "sn", "so", "sq", "sr", "sr-RS", "su", "sv", "sv-SE", "sw", "ta", "ta-IN", "taq", "te", "te-IN", "tg", "th", "th-TH", "tk", "tl", "tr", "tr-TR", "tt", "uk", "ur", "uz", "vi", "yi", "yo", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-TW"];
|
|
105
|
+
declare const DeepgramLanguageCodes: readonly ["af", "am", "ar", "ar-AE", "ar-DZ", "ar-EG", "ar-IQ", "ar-IR", "ar-JO", "ar-KW", "ar-LB", "ar-MA", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TD", "ar-TN", "as", "az", "ba", "be", "be-BY", "bg", "bn", "bn-IN", "bo", "br", "bs", "bs-BA", "ca", "cs", "cy", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-MY", "en-NZ", "en-PH", "en-US", "en-ZA", "es", "es-419", "es-AR", "es-ES", "es-LATAM", "es-MX", "es-US", "et", "eu", "fa", "fi", "fo", "fr", "fr-BE", "fr-ca", "fr-CA", "fr-CH", "fr-FR", "gl", "gu", "ha", "haw", "he", "hi", "hi-Latn", "hr", "hr-HR", "ht", "hu", "hy", "id", "id-ID", "is", "it", "it-IT", "ja", "ja-JP", "jw", "ka", "kk", "km", "kn", "kn-IN", "ko", "ko-KR", "la", "lb", "ln", "lo", "lt", "lv", "mg", "mi", "mk", "mk-MK", "ml", "mn", "mr", "mr-IN", "ms", "ms-MY", "ms-SG", "mt", "multi", "my", "ne", "nl", "nl-BE", "nl-NL", "nn", "no", "no-NO", "oc", "pa", "pl", "pl-PL", "ps", "pt", "pt-BR", "pt-PT", "ro", "ro-MD", "ru", "ru-Latn", "ru-RU", "sa", "sd", "si", "sk", "sl", "sl-SL", "sn", "so", "sq", "sr", "sr-RS", "su", "sv", "sv-SE", "sw", "ta", "ta-IN", "taq", "te", "te-IN", "tg", "th", "th-TH", "tk", "tl", "tr", "tr-TR", "tt", "uk", "ur", "uz", "vi", "yi", "yo", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-TW"];
|
|
106
106
|
/**
|
|
107
107
|
* Type for Deepgram language codes
|
|
108
108
|
*/
|
|
@@ -222,6 +222,22 @@ declare const DeepgramLanguage: {
|
|
|
222
222
|
readonly yi: "yi";
|
|
223
223
|
readonly yo: "yo";
|
|
224
224
|
readonly zh: "zh";
|
|
225
|
+
readonly "ar-AE": "ar-AE";
|
|
226
|
+
readonly "ar-DZ": "ar-DZ";
|
|
227
|
+
readonly "ar-EG": "ar-EG";
|
|
228
|
+
readonly "ar-IQ": "ar-IQ";
|
|
229
|
+
readonly "ar-IR": "ar-IR";
|
|
230
|
+
readonly "ar-JO": "ar-JO";
|
|
231
|
+
readonly "ar-KW": "ar-KW";
|
|
232
|
+
readonly "ar-LB": "ar-LB";
|
|
233
|
+
readonly "ar-MA": "ar-MA";
|
|
234
|
+
readonly "ar-PS": "ar-PS";
|
|
235
|
+
readonly "ar-QA": "ar-QA";
|
|
236
|
+
readonly "ar-SA": "ar-SA";
|
|
237
|
+
readonly "ar-SD": "ar-SD";
|
|
238
|
+
readonly "ar-SY": "ar-SY";
|
|
239
|
+
readonly "ar-TD": "ar-TD";
|
|
240
|
+
readonly "ar-TN": "ar-TN";
|
|
225
241
|
readonly "be-BY": "be-BY";
|
|
226
242
|
readonly "bn-IN": "bn-IN";
|
|
227
243
|
readonly "bs-BA": "bs-BA";
|
|
@@ -315,7 +331,7 @@ declare const DeepgramArchitectureLanguages: {
|
|
|
315
331
|
readonly base: readonly ["bg", "ca", "cs", "da", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-GB", "en-IN", "en-NZ", "en-US", "es", "es-419", "es-AR", "es-ES", "es-LATAM", "es-MX", "es-US", "et", "fi", "fr", "fr-BE", "fr-ca", "fr-CA", "fr-CH", "fr-FR", "hi", "hi-Latn", "hu", "id", "id-ID", "it", "ja", "ko", "lt", "lv", "ms", "ms-MY", "ms-SG", "nl", "no", "pl", "pt", "pt-BR", "pt-PT", "ro", "ro-MD", "ru", "sk", "sv", "ta", "taq", "th", "th-TH", "tr", "uk", "vi", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-TW"];
|
|
316
332
|
readonly nova: readonly ["en", "en-AU", "en-GB", "en-IN", "en-NZ", "en-US", "es", "es-419", "es-LATAM", "hi-Latn"];
|
|
317
333
|
readonly "nova-2": readonly ["bg", "ca", "cs", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-MY", "en-NZ", "en-PH", "en-US", "en-ZA", "es", "es-419", "es-AR", "es-ES", "es-MX", "es-US", "et", "fi", "fr", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "hi", "hi-Latn", "hu", "id", "it", "it-IT", "ja", "ja-JP", "ko", "ko-KR", "lt", "lv", "ms", "ms-MY", "multi", "nl", "nl-BE", "nl-NL", "no", "no-NO", "pl", "pl-PL", "pt", "pt-BR", "pt-PT", "ro", "ru", "ru-RU", "sk", "sv", "sv-SE", "th", "th-TH", "tr", "tr-TR", "uk", "vi", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-TW"];
|
|
318
|
-
readonly "nova-3": readonly ["be", "be-BY", "bg", "bn", "bn-IN", "bs", "bs-BA", "ca", "cs", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-US", "es", "es-419", "es-AR", "es-ES", "es-MX", "es-US", "et", "fi", "fr", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "hi", "hr", "hr-HR", "hu", "id", "id-ID", "it", "it-IT", "ja", "ja-JP", "kn", "kn-IN", "ko", "ko-KR", "lt", "lv", "mk", "mk-MK", "mr", "mr-IN", "ms", "multi", "nl", "nl-BE", "nl-NL", "no", "no-NO", "pl", "pl-PL", "pt", "pt-BR", "pt-PT", "ro", "ru", "ru-Latn", "ru-RU", "sk", "sl", "sl-SL", "sr", "sr-RS", "sv", "sv-SE", "ta", "ta-IN", "te", "te-IN", "tl", "tr", "tr-TR", "uk", "vi"];
|
|
334
|
+
readonly "nova-3": readonly ["ar", "ar-AE", "ar-DZ", "ar-EG", "ar-IQ", "ar-IR", "ar-JO", "ar-KW", "ar-LB", "ar-MA", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TD", "ar-TN", "be", "be-BY", "bg", "bn", "bn-IN", "bs", "bs-BA", "ca", "cs", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "el", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-US", "es", "es-419", "es-AR", "es-ES", "es-MX", "es-US", "et", "fa", "fi", "fr", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "he", "hi", "hr", "hr-HR", "hu", "id", "id-ID", "it", "it-IT", "ja", "ja-JP", "kn", "kn-IN", "ko", "ko-KR", "lt", "lv", "mk", "mk-MK", "mr", "mr-IN", "ms", "multi", "nl", "nl-BE", "nl-NL", "no", "no-NO", "pl", "pl-PL", "pt", "pt-BR", "pt-PT", "ro", "ru", "ru-Latn", "ru-RU", "sk", "sl", "sl-SL", "sr", "sr-RS", "sv", "sv-SE", "ta", "ta-IN", "te", "te-IN", "th", "th-TH", "tl", "tr", "tr-TR", "uk", "ur", "vi", "zh-HK"];
|
|
319
335
|
readonly polaris: readonly ["da", "de", "en", "en-IN", "en-US", "es", "es-419", "es-LATAM", "fr", "hi", "it", "ja", "ko", "nl", "no", "pl", "pt", "pt-BR", "pt-PT", "sv", "ta", "taq"];
|
|
320
336
|
readonly unknown: readonly ["da", "da-DK", "sv", "sv-SE"];
|
|
321
337
|
readonly whisper: readonly ["af", "am", "ar", "as", "az", "ba", "be", "bg", "bn", "bo", "br", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "en-AU", "en-GB", "en-IN", "en-NZ", "en-US", "es", "es-419", "es-LATAM", "et", "eu", "fa", "fi", "fo", "fr", "fr-CA", "gl", "gu", "ha", "haw", "he", "hi", "hi-Latn", "hr", "ht", "hu", "hy", "id", "id-ID", "is", "it", "ja", "jw", "ka", "kk", "km", "kn", "ko", "la", "lb", "ln", "lo", "lt", "lv", "mg", "mi", "mk", "ml", "mn", "mr", "ms", "mt", "my", "ne", "nl", "nn", "no", "oc", "pa", "pl", "ps", "pt", "pt-BR", "pt-PT", "ro", "ru", "sa", "sd", "si", "sk", "sl", "sn", "so", "sq", "sr", "su", "sv", "sw", "ta", "te", "tg", "th", "tk", "tl", "tr", "tt", "uk", "ur", "uz", "vi", "yi", "yo", "zh", "zh-CN", "zh-TW"];
|
|
@@ -624,9 +640,17 @@ declare const SonioxLanguage: {
|
|
|
624
640
|
* Derived from GetModelsResponse in OpenAPI spec
|
|
625
641
|
*/
|
|
626
642
|
declare const SonioxModels: readonly [{
|
|
643
|
+
readonly id: "stt-rt-v4";
|
|
644
|
+
readonly name: "Speech-to-Text Real-time v4";
|
|
645
|
+
readonly mode: "real_time";
|
|
646
|
+
}, {
|
|
627
647
|
readonly id: "stt-rt-v3";
|
|
628
648
|
readonly name: "Speech-to-Text Real-time v3";
|
|
629
649
|
readonly mode: "real_time";
|
|
650
|
+
}, {
|
|
651
|
+
readonly id: "stt-async-v4";
|
|
652
|
+
readonly name: "Speech-to-Text Async v4";
|
|
653
|
+
readonly mode: "async";
|
|
630
654
|
}, {
|
|
631
655
|
readonly id: "stt-async-v3";
|
|
632
656
|
readonly name: "Speech-to-Text Async v3";
|
|
@@ -660,7 +684,7 @@ declare const SonioxModels: readonly [{
|
|
|
660
684
|
/**
|
|
661
685
|
* Soniox model IDs
|
|
662
686
|
*/
|
|
663
|
-
declare const SonioxModelCodes: readonly ["stt-rt-v3", "stt-async-v3", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1"];
|
|
687
|
+
declare const SonioxModelCodes: readonly ["stt-rt-v4", "stt-rt-v3", "stt-async-v4", "stt-async-v3", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1"];
|
|
664
688
|
/**
|
|
665
689
|
* Type for Soniox model codes
|
|
666
690
|
*/
|
|
@@ -668,7 +692,7 @@ type SonioxModelCode = (typeof SonioxModelCodes)[number];
|
|
|
668
692
|
/**
|
|
669
693
|
* Real-time streaming model IDs
|
|
670
694
|
*/
|
|
671
|
-
declare const SonioxRealtimeModelCodes: readonly ["stt-rt-v3", "stt-rt-preview", "stt-rt-v3-preview", "stt-rt-preview-v2"];
|
|
695
|
+
declare const SonioxRealtimeModelCodes: readonly ["stt-rt-v4", "stt-rt-v3", "stt-rt-preview", "stt-rt-v3-preview", "stt-rt-preview-v2"];
|
|
672
696
|
/**
|
|
673
697
|
* Type for Soniox real-time model codes
|
|
674
698
|
*/
|
|
@@ -676,7 +700,7 @@ type SonioxRealtimeModelCode = (typeof SonioxRealtimeModelCodes)[number];
|
|
|
676
700
|
/**
|
|
677
701
|
* Async/batch model IDs
|
|
678
702
|
*/
|
|
679
|
-
declare const SonioxAsyncModelCodes: readonly ["stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
|
|
703
|
+
declare const SonioxAsyncModelCodes: readonly ["stt-async-v4", "stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
|
|
680
704
|
/**
|
|
681
705
|
* Type for Soniox async model codes
|
|
682
706
|
*/
|
|
@@ -700,7 +724,9 @@ declare const SonioxModelLabels: Record<SonioxModelCode, string>;
|
|
|
700
724
|
* ```
|
|
701
725
|
*/
|
|
702
726
|
declare const SonioxModel: {
|
|
727
|
+
readonly stt_rt_v4: "stt-rt-v4";
|
|
703
728
|
readonly stt_rt_v3: "stt-rt-v3";
|
|
729
|
+
readonly stt_async_v4: "stt-async-v4";
|
|
704
730
|
readonly stt_async_v3: "stt-async-v3";
|
|
705
731
|
readonly stt_rt_preview: "stt-rt-preview";
|
|
706
732
|
readonly stt_async_preview: "stt-async-preview";
|
|
@@ -712,6 +738,7 @@ declare const SonioxModel: {
|
|
|
712
738
|
* Real-time models only (for streaming)
|
|
713
739
|
*/
|
|
714
740
|
declare const SonioxRealtimeModel: {
|
|
741
|
+
readonly stt_rt_v4: "stt-rt-v4";
|
|
715
742
|
readonly stt_rt_v3: "stt-rt-v3";
|
|
716
743
|
readonly stt_rt_preview: "stt-rt-preview";
|
|
717
744
|
readonly stt_rt_v3_preview: "stt-rt-v3-preview";
|
|
@@ -721,6 +748,7 @@ declare const SonioxRealtimeModel: {
|
|
|
721
748
|
* Async models only (for batch transcription)
|
|
722
749
|
*/
|
|
723
750
|
declare const SonioxAsyncModel: {
|
|
751
|
+
readonly stt_async_v4: "stt-async-v4";
|
|
724
752
|
readonly stt_async_v3: "stt-async-v3";
|
|
725
753
|
readonly stt_async_preview: "stt-async-preview";
|
|
726
754
|
readonly stt_async_preview_v1: "stt-async-preview-v1";
|
|
@@ -746,6 +774,9 @@ declare const SpeechmaticsLanguages: readonly [{
|
|
|
746
774
|
}, {
|
|
747
775
|
readonly code: "ar";
|
|
748
776
|
readonly name: "Arabic";
|
|
777
|
+
}, {
|
|
778
|
+
readonly code: "ar_en";
|
|
779
|
+
readonly name: "Arabic / English";
|
|
749
780
|
}, {
|
|
750
781
|
readonly code: "ba";
|
|
751
782
|
readonly name: "Bashkir";
|
|
@@ -930,7 +961,7 @@ declare const SpeechmaticsLanguages: readonly [{
|
|
|
930
961
|
/**
|
|
931
962
|
* Speechmatics supported language codes
|
|
932
963
|
*/
|
|
933
|
-
declare const SpeechmaticsLanguageCodes: readonly ["auto", "ar", "ba", "be", "bg", "bn", "ca", "cmn", "cmn_en", "cmn_en_ms_ta", "cs", "cy", "da", "de", "el", "en", "en_ms", "en_ta", "eo", "es", "et", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hr", "hu", "ia", "id", "it", "ja", "ko", "lt", "lv", "mn", "mr", "ms", "mt", "nl", "nn", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "sw", "ta", "th", "tl", "tr", "ug", "uk", "ur", "vi", "yue"];
|
|
964
|
+
declare const SpeechmaticsLanguageCodes: readonly ["auto", "ar", "ar_en", "ba", "be", "bg", "bn", "ca", "cmn", "cmn_en", "cmn_en_ms_ta", "cs", "cy", "da", "de", "el", "en", "en_ms", "en_ta", "eo", "es", "et", "eu", "fa", "fi", "fr", "ga", "gl", "he", "hi", "hr", "hu", "ia", "id", "it", "ja", "ko", "lt", "lv", "mn", "mr", "ms", "mt", "nl", "nn", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "sw", "ta", "th", "tl", "tr", "ug", "uk", "ur", "vi", "yue"];
|
|
934
965
|
/**
|
|
935
966
|
* Type for Speechmatics language codes
|
|
936
967
|
*/
|
|
@@ -957,6 +988,7 @@ declare const SpeechmaticsLanguageLabels: Record<SpeechmaticsLanguageCode, strin
|
|
|
957
988
|
declare const SpeechmaticsLanguage: {
|
|
958
989
|
readonly auto: "auto";
|
|
959
990
|
readonly ar: "ar";
|
|
991
|
+
readonly ar_en: "ar_en";
|
|
960
992
|
readonly ba: "ba";
|
|
961
993
|
readonly be: "be";
|
|
962
994
|
readonly bg: "bg";
|
|
@@ -1381,9 +1413,6 @@ declare const AzureLocales: readonly [{
|
|
|
1381
1413
|
}, {
|
|
1382
1414
|
readonly code: "nl-NL";
|
|
1383
1415
|
readonly name: "Dutch (Netherlands)";
|
|
1384
|
-
}, {
|
|
1385
|
-
readonly code: "non-HD";
|
|
1386
|
-
readonly name: "Norse (Historical)";
|
|
1387
1416
|
}, {
|
|
1388
1417
|
readonly code: "or-IN";
|
|
1389
1418
|
readonly name: "Odia (India)";
|
|
@@ -1423,9 +1452,15 @@ declare const AzureLocales: readonly [{
|
|
|
1423
1452
|
}, {
|
|
1424
1453
|
readonly code: "sq-AL";
|
|
1425
1454
|
readonly name: "Albanian (Albania)";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly code: "sr-ME";
|
|
1457
|
+
readonly name: "Serbian (ME)";
|
|
1426
1458
|
}, {
|
|
1427
1459
|
readonly code: "sr-RS";
|
|
1428
1460
|
readonly name: "Serbian (Serbia)";
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly code: "sr-XK";
|
|
1463
|
+
readonly name: "Serbian (XK)";
|
|
1429
1464
|
}, {
|
|
1430
1465
|
readonly code: "su-ID";
|
|
1431
1466
|
readonly name: "Sundanese (Indonesia)";
|
|
@@ -1499,7 +1534,7 @@ declare const AzureLocales: readonly [{
|
|
|
1499
1534
|
/**
|
|
1500
1535
|
* Azure Speech-to-Text supported locale codes (BCP-47)
|
|
1501
1536
|
*/
|
|
1502
|
-
declare const AzureLocaleCodes: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IL", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "as-IN", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-GH", "en-HK", "en-IE", "en-IN", "en-KE", "en-NG", "en-NZ", "en-PH", "en-SG", "en-TZ", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EC", "es-ES", "es-GQ", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "jv-ID", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "lo-LA", "lt-LT", "lv-LV", "mi-NZ", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "my-MM", "nan-CN", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "
|
|
1537
|
+
declare const AzureLocaleCodes: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IL", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "as-IN", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-GH", "en-HK", "en-IE", "en-IN", "en-KE", "en-NG", "en-NZ", "en-PH", "en-SG", "en-TZ", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EC", "es-ES", "es-GQ", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "jv-ID", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "lo-LA", "lt-LT", "lv-LV", "mi-NZ", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "my-MM", "nan-CN", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "or-IN", "pa-IN", "pl-PL", "ps-AF", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "si-LK", "sk-SK", "sl-SI", "so-SO", "sq-AL", "sr-ME", "sr-RS", "sr-XK", "su-ID", "sv-SE", "sw-KE", "sw-TZ", "ta-IN", "ta-LK", "ta-MY", "ta-SG", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-IN", "ur-PK", "uz-UZ", "vi-VN", "wuu-CN", "yue-CN", "zh-CN", "zh-HK", "zh-SG", "zh-TW", "zu-ZA"];
|
|
1503
1538
|
/**
|
|
1504
1539
|
* Type for Azure locale codes
|
|
1505
1540
|
*/
|
|
@@ -1639,7 +1674,6 @@ declare const AzureLocale: {
|
|
|
1639
1674
|
readonly "ne-NP": "ne-NP";
|
|
1640
1675
|
readonly "nl-BE": "nl-BE";
|
|
1641
1676
|
readonly "nl-NL": "nl-NL";
|
|
1642
|
-
readonly "non-HD": "non-HD";
|
|
1643
1677
|
readonly "or-IN": "or-IN";
|
|
1644
1678
|
readonly "pa-IN": "pa-IN";
|
|
1645
1679
|
readonly "pl-PL": "pl-PL";
|
|
@@ -1653,7 +1687,9 @@ declare const AzureLocale: {
|
|
|
1653
1687
|
readonly "sl-SI": "sl-SI";
|
|
1654
1688
|
readonly "so-SO": "so-SO";
|
|
1655
1689
|
readonly "sq-AL": "sq-AL";
|
|
1690
|
+
readonly "sr-ME": "sr-ME";
|
|
1656
1691
|
readonly "sr-RS": "sr-RS";
|
|
1692
|
+
readonly "sr-XK": "sr-XK";
|
|
1657
1693
|
readonly "su-ID": "su-ID";
|
|
1658
1694
|
readonly "sv-SE": "sv-SE";
|
|
1659
1695
|
readonly "sw-KE": "sw-KE";
|
|
@@ -1679,6 +1715,497 @@ declare const AzureLocale: {
|
|
|
1679
1715
|
readonly "zu-ZA": "zu-ZA";
|
|
1680
1716
|
};
|
|
1681
1717
|
|
|
1718
|
+
/**
|
|
1719
|
+
* Generated by scripts/generate-elevenlabs-languages.js - DO NOT EDIT MANUALLY
|
|
1720
|
+
*
|
|
1721
|
+
* ElevenLabs ScribeV2 supported languages (99 ISO 639-1/639-3 codes)
|
|
1722
|
+
* Run 'pnpm openapi:sync-elevenlabs-languages' to regenerate.
|
|
1723
|
+
*
|
|
1724
|
+
* @generated
|
|
1725
|
+
* @see https://elevenlabs.io/docs/capabilities/speech-to-text#supported-languages
|
|
1726
|
+
*/
|
|
1727
|
+
/**
|
|
1728
|
+
* ElevenLabs supported language metadata
|
|
1729
|
+
*/
|
|
1730
|
+
declare const ElevenLabsLanguages: readonly [{
|
|
1731
|
+
readonly code: "en";
|
|
1732
|
+
readonly name: "English";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly code: "zh";
|
|
1735
|
+
readonly name: "Chinese";
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly code: "de";
|
|
1738
|
+
readonly name: "German";
|
|
1739
|
+
}, {
|
|
1740
|
+
readonly code: "es";
|
|
1741
|
+
readonly name: "Spanish";
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly code: "ru";
|
|
1744
|
+
readonly name: "Russian";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly code: "ko";
|
|
1747
|
+
readonly name: "Korean";
|
|
1748
|
+
}, {
|
|
1749
|
+
readonly code: "fr";
|
|
1750
|
+
readonly name: "French";
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly code: "ja";
|
|
1753
|
+
readonly name: "Japanese";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly code: "pt";
|
|
1756
|
+
readonly name: "Portuguese";
|
|
1757
|
+
}, {
|
|
1758
|
+
readonly code: "tr";
|
|
1759
|
+
readonly name: "Turkish";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly code: "pl";
|
|
1762
|
+
readonly name: "Polish";
|
|
1763
|
+
}, {
|
|
1764
|
+
readonly code: "ca";
|
|
1765
|
+
readonly name: "Catalan";
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly code: "nl";
|
|
1768
|
+
readonly name: "Dutch";
|
|
1769
|
+
}, {
|
|
1770
|
+
readonly code: "ar";
|
|
1771
|
+
readonly name: "Arabic";
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly code: "sv";
|
|
1774
|
+
readonly name: "Swedish";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly code: "it";
|
|
1777
|
+
readonly name: "Italian";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly code: "id";
|
|
1780
|
+
readonly name: "Indonesian";
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly code: "hi";
|
|
1783
|
+
readonly name: "Hindi";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly code: "fi";
|
|
1786
|
+
readonly name: "Finnish";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly code: "vi";
|
|
1789
|
+
readonly name: "Vietnamese";
|
|
1790
|
+
}, {
|
|
1791
|
+
readonly code: "he";
|
|
1792
|
+
readonly name: "Hebrew";
|
|
1793
|
+
}, {
|
|
1794
|
+
readonly code: "uk";
|
|
1795
|
+
readonly name: "Ukrainian";
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly code: "el";
|
|
1798
|
+
readonly name: "Greek";
|
|
1799
|
+
}, {
|
|
1800
|
+
readonly code: "ms";
|
|
1801
|
+
readonly name: "Malay";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly code: "cs";
|
|
1804
|
+
readonly name: "Czech";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly code: "ro";
|
|
1807
|
+
readonly name: "Romanian";
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly code: "da";
|
|
1810
|
+
readonly name: "Danish";
|
|
1811
|
+
}, {
|
|
1812
|
+
readonly code: "hu";
|
|
1813
|
+
readonly name: "Hungarian";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly code: "ta";
|
|
1816
|
+
readonly name: "Tamil";
|
|
1817
|
+
}, {
|
|
1818
|
+
readonly code: "no";
|
|
1819
|
+
readonly name: "Norwegian";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly code: "th";
|
|
1822
|
+
readonly name: "Thai";
|
|
1823
|
+
}, {
|
|
1824
|
+
readonly code: "ur";
|
|
1825
|
+
readonly name: "Urdu";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly code: "hr";
|
|
1828
|
+
readonly name: "Croatian";
|
|
1829
|
+
}, {
|
|
1830
|
+
readonly code: "bg";
|
|
1831
|
+
readonly name: "Bulgarian";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly code: "lt";
|
|
1834
|
+
readonly name: "Lithuanian";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly code: "la";
|
|
1837
|
+
readonly name: "Latin";
|
|
1838
|
+
}, {
|
|
1839
|
+
readonly code: "mi";
|
|
1840
|
+
readonly name: "Maori";
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly code: "ml";
|
|
1843
|
+
readonly name: "Malayalam";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly code: "cy";
|
|
1846
|
+
readonly name: "Welsh";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly code: "sk";
|
|
1849
|
+
readonly name: "Slovak";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly code: "te";
|
|
1852
|
+
readonly name: "Telugu";
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly code: "fa";
|
|
1855
|
+
readonly name: "Persian";
|
|
1856
|
+
}, {
|
|
1857
|
+
readonly code: "lv";
|
|
1858
|
+
readonly name: "Latvian";
|
|
1859
|
+
}, {
|
|
1860
|
+
readonly code: "bn";
|
|
1861
|
+
readonly name: "Bengali";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly code: "sr";
|
|
1864
|
+
readonly name: "Serbian";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly code: "az";
|
|
1867
|
+
readonly name: "Azerbaijani";
|
|
1868
|
+
}, {
|
|
1869
|
+
readonly code: "sl";
|
|
1870
|
+
readonly name: "Slovenian";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly code: "kn";
|
|
1873
|
+
readonly name: "Kannada";
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly code: "et";
|
|
1876
|
+
readonly name: "Estonian";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly code: "mk";
|
|
1879
|
+
readonly name: "Macedonian";
|
|
1880
|
+
}, {
|
|
1881
|
+
readonly code: "br";
|
|
1882
|
+
readonly name: "Breton";
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly code: "eu";
|
|
1885
|
+
readonly name: "Basque";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly code: "is";
|
|
1888
|
+
readonly name: "Icelandic";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly code: "hy";
|
|
1891
|
+
readonly name: "Armenian";
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly code: "ne";
|
|
1894
|
+
readonly name: "Nepali";
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly code: "mn";
|
|
1897
|
+
readonly name: "Mongolian";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly code: "bs";
|
|
1900
|
+
readonly name: "Bosnian";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly code: "kk";
|
|
1903
|
+
readonly name: "Kazakh";
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly code: "sq";
|
|
1906
|
+
readonly name: "Albanian";
|
|
1907
|
+
}, {
|
|
1908
|
+
readonly code: "sw";
|
|
1909
|
+
readonly name: "Swahili";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly code: "gl";
|
|
1912
|
+
readonly name: "Galician";
|
|
1913
|
+
}, {
|
|
1914
|
+
readonly code: "mr";
|
|
1915
|
+
readonly name: "Marathi";
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly code: "pa";
|
|
1918
|
+
readonly name: "Punjabi";
|
|
1919
|
+
}, {
|
|
1920
|
+
readonly code: "si";
|
|
1921
|
+
readonly name: "Sinhala";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly code: "km";
|
|
1924
|
+
readonly name: "Khmer";
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly code: "sn";
|
|
1927
|
+
readonly name: "Shona";
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly code: "yo";
|
|
1930
|
+
readonly name: "Yoruba";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly code: "so";
|
|
1933
|
+
readonly name: "Somali";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly code: "af";
|
|
1936
|
+
readonly name: "Afrikaans";
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly code: "oc";
|
|
1939
|
+
readonly name: "Occitan";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly code: "ka";
|
|
1942
|
+
readonly name: "Georgian";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly code: "be";
|
|
1945
|
+
readonly name: "Belarusian";
|
|
1946
|
+
}, {
|
|
1947
|
+
readonly code: "tg";
|
|
1948
|
+
readonly name: "Tajik";
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly code: "sd";
|
|
1951
|
+
readonly name: "Sindhi";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly code: "gu";
|
|
1954
|
+
readonly name: "Gujarati";
|
|
1955
|
+
}, {
|
|
1956
|
+
readonly code: "am";
|
|
1957
|
+
readonly name: "Amharic";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly code: "yi";
|
|
1960
|
+
readonly name: "Yiddish";
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly code: "lo";
|
|
1963
|
+
readonly name: "Lao";
|
|
1964
|
+
}, {
|
|
1965
|
+
readonly code: "uz";
|
|
1966
|
+
readonly name: "Uzbek";
|
|
1967
|
+
}, {
|
|
1968
|
+
readonly code: "fo";
|
|
1969
|
+
readonly name: "Faroese";
|
|
1970
|
+
}, {
|
|
1971
|
+
readonly code: "ht";
|
|
1972
|
+
readonly name: "Haitian Creole";
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly code: "ps";
|
|
1975
|
+
readonly name: "Pashto";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly code: "tk";
|
|
1978
|
+
readonly name: "Turkmen";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly code: "nn";
|
|
1981
|
+
readonly name: "Norwegian Nynorsk";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly code: "mt";
|
|
1984
|
+
readonly name: "Maltese";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly code: "sa";
|
|
1987
|
+
readonly name: "Sanskrit";
|
|
1988
|
+
}, {
|
|
1989
|
+
readonly code: "lb";
|
|
1990
|
+
readonly name: "Luxembourgish";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly code: "my";
|
|
1993
|
+
readonly name: "Burmese";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly code: "bo";
|
|
1996
|
+
readonly name: "Tibetan";
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly code: "tl";
|
|
1999
|
+
readonly name: "Tagalog";
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly code: "mg";
|
|
2002
|
+
readonly name: "Malagasy";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly code: "as";
|
|
2005
|
+
readonly name: "Assamese";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly code: "tt";
|
|
2008
|
+
readonly name: "Tatar";
|
|
2009
|
+
}, {
|
|
2010
|
+
readonly code: "haw";
|
|
2011
|
+
readonly name: "Hawaiian";
|
|
2012
|
+
}, {
|
|
2013
|
+
readonly code: "ln";
|
|
2014
|
+
readonly name: "Lingala";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly code: "ha";
|
|
2017
|
+
readonly name: "Hausa";
|
|
2018
|
+
}, {
|
|
2019
|
+
readonly code: "ba";
|
|
2020
|
+
readonly name: "Bashkir";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly code: "jw";
|
|
2023
|
+
readonly name: "Javanese";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly code: "su";
|
|
2026
|
+
readonly name: "Sundanese";
|
|
2027
|
+
}];
|
|
2028
|
+
/**
|
|
2029
|
+
* ElevenLabs supported language codes
|
|
2030
|
+
*/
|
|
2031
|
+
declare const ElevenLabsLanguageCodes: readonly ["en", "zh", "de", "es", "ru", "ko", "fr", "ja", "pt", "tr", "pl", "ca", "nl", "ar", "sv", "it", "id", "hi", "fi", "vi", "he", "uk", "el", "ms", "cs", "ro", "da", "hu", "ta", "no", "th", "ur", "hr", "bg", "lt", "la", "mi", "ml", "cy", "sk", "te", "fa", "lv", "bn", "sr", "az", "sl", "kn", "et", "mk", "br", "eu", "is", "hy", "ne", "mn", "bs", "kk", "sq", "sw", "gl", "mr", "pa", "si", "km", "sn", "yo", "so", "af", "oc", "ka", "be", "tg", "sd", "gu", "am", "yi", "lo", "uz", "fo", "ht", "ps", "tk", "nn", "mt", "sa", "lb", "my", "bo", "tl", "mg", "as", "tt", "haw", "ln", "ha", "ba", "jw", "su"];
|
|
2032
|
+
/**
|
|
2033
|
+
* Type for ElevenLabs language codes
|
|
2034
|
+
*/
|
|
2035
|
+
type ElevenLabsLanguageCode = (typeof ElevenLabsLanguageCodes)[number];
|
|
2036
|
+
/**
|
|
2037
|
+
* Language code to name mapping
|
|
2038
|
+
*/
|
|
2039
|
+
declare const ElevenLabsLanguageLabels: Record<ElevenLabsLanguageCode, string>;
|
|
2040
|
+
/**
|
|
2041
|
+
* ElevenLabs language constant object for autocomplete
|
|
2042
|
+
*
|
|
2043
|
+
* @example
|
|
2044
|
+
* ```typescript
|
|
2045
|
+
* import { ElevenLabsLanguage } from 'voice-router-dev/constants'
|
|
2046
|
+
*
|
|
2047
|
+
* { language: ElevenLabsLanguage.en }
|
|
2048
|
+
* { language: ElevenLabsLanguage.es }
|
|
2049
|
+
* ```
|
|
2050
|
+
*/
|
|
2051
|
+
declare const ElevenLabsLanguage: {
|
|
2052
|
+
readonly en: "en";
|
|
2053
|
+
readonly zh: "zh";
|
|
2054
|
+
readonly de: "de";
|
|
2055
|
+
readonly es: "es";
|
|
2056
|
+
readonly ru: "ru";
|
|
2057
|
+
readonly ko: "ko";
|
|
2058
|
+
readonly fr: "fr";
|
|
2059
|
+
readonly ja: "ja";
|
|
2060
|
+
readonly pt: "pt";
|
|
2061
|
+
readonly tr: "tr";
|
|
2062
|
+
readonly pl: "pl";
|
|
2063
|
+
readonly ca: "ca";
|
|
2064
|
+
readonly nl: "nl";
|
|
2065
|
+
readonly ar: "ar";
|
|
2066
|
+
readonly sv: "sv";
|
|
2067
|
+
readonly it: "it";
|
|
2068
|
+
readonly id: "id";
|
|
2069
|
+
readonly hi: "hi";
|
|
2070
|
+
readonly fi: "fi";
|
|
2071
|
+
readonly vi: "vi";
|
|
2072
|
+
readonly he: "he";
|
|
2073
|
+
readonly uk: "uk";
|
|
2074
|
+
readonly el: "el";
|
|
2075
|
+
readonly ms: "ms";
|
|
2076
|
+
readonly cs: "cs";
|
|
2077
|
+
readonly ro: "ro";
|
|
2078
|
+
readonly da: "da";
|
|
2079
|
+
readonly hu: "hu";
|
|
2080
|
+
readonly ta: "ta";
|
|
2081
|
+
readonly no: "no";
|
|
2082
|
+
readonly th: "th";
|
|
2083
|
+
readonly ur: "ur";
|
|
2084
|
+
readonly hr: "hr";
|
|
2085
|
+
readonly bg: "bg";
|
|
2086
|
+
readonly lt: "lt";
|
|
2087
|
+
readonly la: "la";
|
|
2088
|
+
readonly mi: "mi";
|
|
2089
|
+
readonly ml: "ml";
|
|
2090
|
+
readonly cy: "cy";
|
|
2091
|
+
readonly sk: "sk";
|
|
2092
|
+
readonly te: "te";
|
|
2093
|
+
readonly fa: "fa";
|
|
2094
|
+
readonly lv: "lv";
|
|
2095
|
+
readonly bn: "bn";
|
|
2096
|
+
readonly sr: "sr";
|
|
2097
|
+
readonly az: "az";
|
|
2098
|
+
readonly sl: "sl";
|
|
2099
|
+
readonly kn: "kn";
|
|
2100
|
+
readonly et: "et";
|
|
2101
|
+
readonly mk: "mk";
|
|
2102
|
+
readonly br: "br";
|
|
2103
|
+
readonly eu: "eu";
|
|
2104
|
+
readonly is: "is";
|
|
2105
|
+
readonly hy: "hy";
|
|
2106
|
+
readonly ne: "ne";
|
|
2107
|
+
readonly mn: "mn";
|
|
2108
|
+
readonly bs: "bs";
|
|
2109
|
+
readonly kk: "kk";
|
|
2110
|
+
readonly sq: "sq";
|
|
2111
|
+
readonly sw: "sw";
|
|
2112
|
+
readonly gl: "gl";
|
|
2113
|
+
readonly mr: "mr";
|
|
2114
|
+
readonly pa: "pa";
|
|
2115
|
+
readonly si: "si";
|
|
2116
|
+
readonly km: "km";
|
|
2117
|
+
readonly sn: "sn";
|
|
2118
|
+
readonly yo: "yo";
|
|
2119
|
+
readonly so: "so";
|
|
2120
|
+
readonly af: "af";
|
|
2121
|
+
readonly oc: "oc";
|
|
2122
|
+
readonly ka: "ka";
|
|
2123
|
+
readonly be: "be";
|
|
2124
|
+
readonly tg: "tg";
|
|
2125
|
+
readonly sd: "sd";
|
|
2126
|
+
readonly gu: "gu";
|
|
2127
|
+
readonly am: "am";
|
|
2128
|
+
readonly yi: "yi";
|
|
2129
|
+
readonly lo: "lo";
|
|
2130
|
+
readonly uz: "uz";
|
|
2131
|
+
readonly fo: "fo";
|
|
2132
|
+
readonly ht: "ht";
|
|
2133
|
+
readonly ps: "ps";
|
|
2134
|
+
readonly tk: "tk";
|
|
2135
|
+
readonly nn: "nn";
|
|
2136
|
+
readonly mt: "mt";
|
|
2137
|
+
readonly sa: "sa";
|
|
2138
|
+
readonly lb: "lb";
|
|
2139
|
+
readonly my: "my";
|
|
2140
|
+
readonly bo: "bo";
|
|
2141
|
+
readonly tl: "tl";
|
|
2142
|
+
readonly mg: "mg";
|
|
2143
|
+
readonly as: "as";
|
|
2144
|
+
readonly tt: "tt";
|
|
2145
|
+
readonly haw: "haw";
|
|
2146
|
+
readonly ln: "ln";
|
|
2147
|
+
readonly ha: "ha";
|
|
2148
|
+
readonly ba: "ba";
|
|
2149
|
+
readonly jw: "jw";
|
|
2150
|
+
readonly su: "su";
|
|
2151
|
+
};
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Generated from ElevenLabs OpenAPI spec - DO NOT EDIT MANUALLY
|
|
2155
|
+
*
|
|
2156
|
+
* This file is auto-generated by scripts/generate-elevenlabs-models.js
|
|
2157
|
+
* Run 'pnpm openapi:sync-elevenlabs-models' to regenerate.
|
|
2158
|
+
*
|
|
2159
|
+
* @generated
|
|
2160
|
+
*/
|
|
2161
|
+
/**
|
|
2162
|
+
* ElevenLabs batch transcription model IDs (from OpenAPI spec enum)
|
|
2163
|
+
*/
|
|
2164
|
+
declare const ElevenLabsModelCodes: readonly ["scribe_v1", "scribe_v2"];
|
|
2165
|
+
/**
|
|
2166
|
+
* Type for ElevenLabs batch model codes
|
|
2167
|
+
*/
|
|
2168
|
+
type ElevenLabsModelCode = (typeof ElevenLabsModelCodes)[number];
|
|
2169
|
+
/**
|
|
2170
|
+
* ElevenLabs realtime streaming model IDs
|
|
2171
|
+
*/
|
|
2172
|
+
declare const ElevenLabsRealtimeModelCodes: readonly ["scribe_v2_realtime"];
|
|
2173
|
+
/**
|
|
2174
|
+
* Type for ElevenLabs realtime model codes
|
|
2175
|
+
*/
|
|
2176
|
+
type ElevenLabsRealtimeModelCode = (typeof ElevenLabsRealtimeModelCodes)[number];
|
|
2177
|
+
/**
|
|
2178
|
+
* Model ID to display name mapping
|
|
2179
|
+
*/
|
|
2180
|
+
declare const ElevenLabsModelLabels: Record<ElevenLabsModelCode | ElevenLabsRealtimeModelCode, string>;
|
|
2181
|
+
/**
|
|
2182
|
+
* ElevenLabs batch model constant object for autocomplete
|
|
2183
|
+
*
|
|
2184
|
+
* @example
|
|
2185
|
+
* ```typescript
|
|
2186
|
+
* import { ElevenLabsModel } from 'voice-router-dev/constants'
|
|
2187
|
+
*
|
|
2188
|
+
* { model: ElevenLabsModel.scribe_v2 }
|
|
2189
|
+
* ```
|
|
2190
|
+
*/
|
|
2191
|
+
declare const ElevenLabsModel: {
|
|
2192
|
+
readonly scribe_v1: "scribe_v1";
|
|
2193
|
+
readonly scribe_v2: "scribe_v2";
|
|
2194
|
+
};
|
|
2195
|
+
/**
|
|
2196
|
+
* ElevenLabs realtime model constant object for autocomplete
|
|
2197
|
+
*
|
|
2198
|
+
* @example
|
|
2199
|
+
* ```typescript
|
|
2200
|
+
* import { ElevenLabsRealtimeModel } from 'voice-router-dev/constants'
|
|
2201
|
+
*
|
|
2202
|
+
* { model: ElevenLabsRealtimeModel.scribe_v2_realtime }
|
|
2203
|
+
* ```
|
|
2204
|
+
*/
|
|
2205
|
+
declare const ElevenLabsRealtimeModel: {
|
|
2206
|
+
readonly scribe_v2_realtime: "scribe_v2_realtime";
|
|
2207
|
+
};
|
|
2208
|
+
|
|
1682
2209
|
/**
|
|
1683
2210
|
* Generated from OpenAI TypeScript types - DO NOT EDIT MANUALLY
|
|
1684
2211
|
*
|
|
@@ -1867,6 +2394,67 @@ declare const SpeechmaticsOperatingPoint: {
|
|
|
1867
2394
|
};
|
|
1868
2395
|
type SpeechmaticsOperatingPointType = (typeof SpeechmaticsOperatingPoint)[keyof typeof SpeechmaticsOperatingPoint];
|
|
1869
2396
|
|
|
2397
|
+
/**
|
|
2398
|
+
* ElevenLabs regional endpoints
|
|
2399
|
+
*
|
|
2400
|
+
* ElevenLabs offers regional endpoints for data residency.
|
|
2401
|
+
*
|
|
2402
|
+
* | Region | Endpoint |
|
|
2403
|
+
* |--------|----------|
|
|
2404
|
+
* | Global (default) | api.elevenlabs.io |
|
|
2405
|
+
* | US | api.us.elevenlabs.io |
|
|
2406
|
+
* | EU | api.eu.residency.elevenlabs.io |
|
|
2407
|
+
* | India | api.in.residency.elevenlabs.io |
|
|
2408
|
+
*
|
|
2409
|
+
* @example
|
|
2410
|
+
* ```typescript
|
|
2411
|
+
* import { ElevenLabsRegion } from 'voice-router-dev/constants'
|
|
2412
|
+
*
|
|
2413
|
+
* const adapter = createElevenLabsAdapter({
|
|
2414
|
+
* apiKey: process.env.ELEVENLABS_API_KEY,
|
|
2415
|
+
* region: ElevenLabsRegion.eu
|
|
2416
|
+
* })
|
|
2417
|
+
* ```
|
|
2418
|
+
*/
|
|
2419
|
+
declare const ElevenLabsRegion: {
|
|
2420
|
+
/** Global endpoint (default) */
|
|
2421
|
+
readonly global: "global";
|
|
2422
|
+
/** United States */
|
|
2423
|
+
readonly us: "us";
|
|
2424
|
+
/** European Union */
|
|
2425
|
+
readonly eu: "eu";
|
|
2426
|
+
/** India */
|
|
2427
|
+
readonly in: "in";
|
|
2428
|
+
};
|
|
2429
|
+
/** ElevenLabs region type derived from const object */
|
|
2430
|
+
type ElevenLabsRegionType = (typeof ElevenLabsRegion)[keyof typeof ElevenLabsRegion];
|
|
2431
|
+
/**
|
|
2432
|
+
* ElevenLabs audio formats for realtime streaming
|
|
2433
|
+
*
|
|
2434
|
+
* @example
|
|
2435
|
+
* ```typescript
|
|
2436
|
+
* import { ElevenLabsAudioFormat } from 'voice-router-dev/constants'
|
|
2437
|
+
*
|
|
2438
|
+
* { audioFormat: ElevenLabsAudioFormat.pcm_16000 }
|
|
2439
|
+
* ```
|
|
2440
|
+
*/
|
|
2441
|
+
declare const ElevenLabsAudioFormat: {
|
|
2442
|
+
readonly pcm_8000: "pcm_8000";
|
|
2443
|
+
readonly pcm_16000: "pcm_16000";
|
|
2444
|
+
readonly pcm_22050: "pcm_22050";
|
|
2445
|
+
readonly pcm_24000: "pcm_24000";
|
|
2446
|
+
readonly pcm_44100: "pcm_44100";
|
|
2447
|
+
readonly pcm_48000: "pcm_48000";
|
|
2448
|
+
readonly ulaw_8000: "ulaw_8000";
|
|
2449
|
+
};
|
|
2450
|
+
/** ElevenLabs audio format type derived from const object */
|
|
2451
|
+
type ElevenLabsAudioFormatType = (typeof ElevenLabsAudioFormat)[keyof typeof ElevenLabsAudioFormat];
|
|
2452
|
+
/** ElevenLabs model type (alias for ElevenLabsModelCode) */
|
|
2453
|
+
type ElevenLabsModelType = (typeof ElevenLabsModel)[keyof typeof ElevenLabsModel];
|
|
2454
|
+
/** ElevenLabs realtime model type */
|
|
2455
|
+
type ElevenLabsRealtimeModelType = (typeof ElevenLabsRealtimeModel)[keyof typeof ElevenLabsRealtimeModel];
|
|
2456
|
+
/** ElevenLabs language type (alias for ElevenLabsLanguageCode) */
|
|
2457
|
+
type ElevenLabsLanguageType = (typeof ElevenLabsLanguage)[keyof typeof ElevenLabsLanguage];
|
|
1870
2458
|
/**
|
|
1871
2459
|
* Gladia audio encoding formats for streaming
|
|
1872
2460
|
*
|
|
@@ -2973,4 +3561,4 @@ declare const OpenAILanguage: {
|
|
|
2973
3561
|
/** OpenAI language type */
|
|
2974
3562
|
type OpenAILanguageType = (typeof OpenAILanguageCodes)[number];
|
|
2975
3563
|
|
|
2976
|
-
export { AssemblyAIEncoding, type AssemblyAIEncodingType, AssemblyAILanguage, type AssemblyAILanguageType, AssemblyAISampleRate, type AssemblyAISampleRateType, AssemblyAISpeechModel, type AssemblyAISpeechModelType, AssemblyAIStatus, type AssemblyAIStatusType, AssemblyAITranscriptionModel, type AssemblyAITranscriptionModelType, AzureLocale, type AzureLocaleCode, AzureLocaleCodes, AzureLocaleLabels, type AzureLocaleType, AzureLocales, AzureStatus, type AzureStatusType, type DeepgramArchitecture, DeepgramArchitectureLanguages, DeepgramArchitectures, DeepgramCallbackMethod, type DeepgramCallbackMethodType, DeepgramEncoding, type DeepgramEncodingType, DeepgramIntentMode, type DeepgramIntentModeType, DeepgramLanguage, type DeepgramLanguageCode, DeepgramLanguageCodes, type DeepgramLanguageCode as DeepgramLanguageType, DeepgramModel, type DeepgramModelCode, DeepgramModelCodes, DeepgramModelLabels, type DeepgramModelCode as DeepgramModelType, type DeepgramMultilingualArchitecture, DeepgramMultilingualArchitectures, DeepgramRedact, type DeepgramRedactType, DeepgramRegion, type DeepgramRegionType, DeepgramSampleRate, type DeepgramSampleRateType, DeepgramStatus, type DeepgramStatusType, DeepgramTTSContainer, type DeepgramTTSContainerType, DeepgramTTSEncoding, type DeepgramTTSEncodingType, DeepgramTTSModel, type DeepgramTTSModelType, DeepgramTTSSampleRate, type DeepgramTTSSampleRateType, DeepgramTopicMode, type DeepgramTopicModeType, GladiaBitDepth, type GladiaBitDepthType, GladiaEncoding, type GladiaEncodingType, GladiaLanguage, type GladiaLanguageType, GladiaModel, type GladiaModelType, GladiaRegion, type GladiaRegionType, GladiaSampleRate, type GladiaSampleRateType, GladiaStatus, type GladiaStatusType, GladiaTranslationLanguage, type GladiaTranslationLanguageType, OpenAILanguage, OpenAILanguageCodes, type OpenAILanguageType, OpenAIModel, type OpenAIModelCode, OpenAIModelCodes, OpenAIModelLabels, type OpenAIModelType, OpenAIRealtimeAudioFormat, type OpenAIRealtimeAudioFormatType, OpenAIRealtimeModel, type OpenAIRealtimeModelCode, OpenAIRealtimeModelCodes, type OpenAIRealtimeModelType, OpenAIRealtimeTranscriptionModel, type OpenAIRealtimeTranscriptionModelType, OpenAIRealtimeTurnDetection, type OpenAIRealtimeTurnDetectionType, OpenAIResponseFormat, type OpenAIResponseFormatType, type OpenAITranscriptionModelCode, SonioxAsyncModel, type SonioxAsyncModelCode, SonioxAsyncModelCodes, SonioxLanguage, type SonioxLanguageCode, SonioxLanguageCodes, SonioxLanguageLabels, type SonioxLanguageType, SonioxLanguages, SonioxModel, type SonioxModelCode, SonioxModelCodes, SonioxModelLabels, SonioxModels, SonioxRealtimeModel, type SonioxRealtimeModelCode, SonioxRealtimeModelCodes, SonioxRegion, type SonioxRegionType, SpeechmaticsLanguage, type SpeechmaticsLanguageCode, SpeechmaticsLanguageCodes, SpeechmaticsLanguageLabels, type SpeechmaticsLanguageType, SpeechmaticsLanguages, SpeechmaticsOperatingPoint, type SpeechmaticsOperatingPointType, SpeechmaticsRegion, type SpeechmaticsRegionType };
|
|
3564
|
+
export { AssemblyAIEncoding, type AssemblyAIEncodingType, AssemblyAILanguage, type AssemblyAILanguageType, AssemblyAISampleRate, type AssemblyAISampleRateType, AssemblyAISpeechModel, type AssemblyAISpeechModelType, AssemblyAIStatus, type AssemblyAIStatusType, AssemblyAITranscriptionModel, type AssemblyAITranscriptionModelType, AzureLocale, type AzureLocaleCode, AzureLocaleCodes, AzureLocaleLabels, type AzureLocaleType, AzureLocales, AzureStatus, type AzureStatusType, type DeepgramArchitecture, DeepgramArchitectureLanguages, DeepgramArchitectures, DeepgramCallbackMethod, type DeepgramCallbackMethodType, DeepgramEncoding, type DeepgramEncodingType, DeepgramIntentMode, type DeepgramIntentModeType, DeepgramLanguage, type DeepgramLanguageCode, DeepgramLanguageCodes, type DeepgramLanguageCode as DeepgramLanguageType, DeepgramModel, type DeepgramModelCode, DeepgramModelCodes, DeepgramModelLabels, type DeepgramModelCode as DeepgramModelType, type DeepgramMultilingualArchitecture, DeepgramMultilingualArchitectures, DeepgramRedact, type DeepgramRedactType, DeepgramRegion, type DeepgramRegionType, DeepgramSampleRate, type DeepgramSampleRateType, DeepgramStatus, type DeepgramStatusType, DeepgramTTSContainer, type DeepgramTTSContainerType, DeepgramTTSEncoding, type DeepgramTTSEncodingType, DeepgramTTSModel, type DeepgramTTSModelType, DeepgramTTSSampleRate, type DeepgramTTSSampleRateType, DeepgramTopicMode, type DeepgramTopicModeType, ElevenLabsAudioFormat, type ElevenLabsAudioFormatType, ElevenLabsLanguage, type ElevenLabsLanguageCode, ElevenLabsLanguageCodes, ElevenLabsLanguageLabels, type ElevenLabsLanguageType, ElevenLabsLanguages, ElevenLabsModel, type ElevenLabsModelCode, ElevenLabsModelCodes, ElevenLabsModelLabels, type ElevenLabsModelType, ElevenLabsRealtimeModel, type ElevenLabsRealtimeModelCode, ElevenLabsRealtimeModelCodes, type ElevenLabsRealtimeModelType, ElevenLabsRegion, type ElevenLabsRegionType, GladiaBitDepth, type GladiaBitDepthType, GladiaEncoding, type GladiaEncodingType, GladiaLanguage, type GladiaLanguageType, GladiaModel, type GladiaModelType, GladiaRegion, type GladiaRegionType, GladiaSampleRate, type GladiaSampleRateType, GladiaStatus, type GladiaStatusType, GladiaTranslationLanguage, type GladiaTranslationLanguageType, OpenAILanguage, OpenAILanguageCodes, type OpenAILanguageType, OpenAIModel, type OpenAIModelCode, OpenAIModelCodes, OpenAIModelLabels, type OpenAIModelType, OpenAIRealtimeAudioFormat, type OpenAIRealtimeAudioFormatType, OpenAIRealtimeModel, type OpenAIRealtimeModelCode, OpenAIRealtimeModelCodes, type OpenAIRealtimeModelType, OpenAIRealtimeTranscriptionModel, type OpenAIRealtimeTranscriptionModelType, OpenAIRealtimeTurnDetection, type OpenAIRealtimeTurnDetectionType, OpenAIResponseFormat, type OpenAIResponseFormatType, type OpenAITranscriptionModelCode, SonioxAsyncModel, type SonioxAsyncModelCode, SonioxAsyncModelCodes, SonioxLanguage, type SonioxLanguageCode, SonioxLanguageCodes, SonioxLanguageLabels, type SonioxLanguageType, SonioxLanguages, SonioxModel, type SonioxModelCode, SonioxModelCodes, SonioxModelLabels, SonioxModels, SonioxRealtimeModel, type SonioxRealtimeModelCode, SonioxRealtimeModelCodes, SonioxRegion, type SonioxRegionType, SpeechmaticsLanguage, type SpeechmaticsLanguageCode, SpeechmaticsLanguageCodes, SpeechmaticsLanguageLabels, type SpeechmaticsLanguageType, SpeechmaticsLanguages, SpeechmaticsOperatingPoint, type SpeechmaticsOperatingPointType, SpeechmaticsRegion, type SpeechmaticsRegionType };
|