voice-router-dev 0.7.9 → 0.8.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 CHANGED
@@ -5,10 +5,49 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [0.7.9] - 2026-01-27
8
+ ## [0.8.0] - 2026-01-27
9
9
 
10
10
  ### Fixed
11
11
 
12
+ #### WebSocket/Streaming URLs Now Respect `baseUrl` Override
13
+
14
+ Previously, setting `config.baseUrl` only affected REST/HTTP calls. WebSocket streaming URLs remained hardcoded or region-derived, so streaming traffic still went to production endpoints even when pointing at a proxy, mock, or private deployment.
15
+
16
+ Now all streaming adapters respect `baseUrl` (and the new `wsBaseUrl` for explicit WS override):
17
+
18
+ ```typescript
19
+ // All traffic (REST + WebSocket) goes to your custom endpoint
20
+ adapter.initialize({
21
+ apiKey: 'test-key',
22
+ baseUrl: 'https://my-proxy.internal:8080'
23
+ })
24
+
25
+ // Or override WS separately (e.g., proxy returns public WS URL you don't want)
26
+ adapter.initialize({
27
+ apiKey: 'test-key',
28
+ baseUrl: 'https://my-proxy.internal:8080',
29
+ wsBaseUrl: 'wss://my-proxy.internal:8080'
30
+ })
31
+ ```
32
+
33
+ **Priority:** `wsBaseUrl` > derived from `baseUrl` (https→wss) > region default > hardcoded default
34
+
35
+ | Adapter | Before | After |
36
+ |---------|--------|-------|
37
+ | **Deepgram** | WS always from region, ignored `baseUrl` | Derives WS from `baseUrl`. `setRegion()` skips when explicit URLs set. |
38
+ | **AssemblyAI** | WS hardcoded to `streaming.assemblyai.com` | Derives WS from `baseUrl` + `/v3/ws` |
39
+ | **Soniox** | Both REST and WS ignored `baseUrl` | `baseUrl` getter + WS URL both respect config |
40
+ | **Gladia** | WS URL from API response (correct for prod) | API response URL overridable with `wsBaseUrl` |
41
+
42
+ #### Speechmatics Real-Time Spec Sync Fixed
43
+
44
+ The `speechmaticsAsync` spec sync was failing with HTTP 404 because Speechmatics moved the real-time AsyncAPI spec from their JS SDK repo to their docs repo (commit `fb21f29`).
45
+
46
+ - **Old URL:** `speechmatics/speechmatics-js-sdk/.../packages/real-time-client/schema/realtime.yml` (deleted)
47
+ - **New URL:** `speechmatics/docs/.../spec/realtime.yaml` (AsyncAPI 3.0.0)
48
+
49
+ The updated spec includes new fields: `channel_diarization_labels`, `get_speakers`, `channel` and `channel_and_speaker` diarization modes, and `entity` recognition result type.
50
+
12
51
  #### `custom_metadata` Now Correctly Typed as Object
13
52
 
14
53
  The `custom_metadata` field in Gladia (and other providers) was incorrectly typed as `string` in field metadata. It's now correctly typed as `object` with `inputFormat: "json"`.
@@ -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", "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"];
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"];
@@ -627,6 +643,10 @@ declare const SonioxModels: readonly [{
627
643
  readonly id: "stt-rt-v3";
628
644
  readonly name: "Speech-to-Text Real-time v3";
629
645
  readonly mode: "real_time";
646
+ }, {
647
+ readonly id: "stt-async-v4";
648
+ readonly name: "Speech-to-Text Async v4";
649
+ readonly mode: "async";
630
650
  }, {
631
651
  readonly id: "stt-async-v3";
632
652
  readonly name: "Speech-to-Text Async v3";
@@ -660,7 +680,7 @@ declare const SonioxModels: readonly [{
660
680
  /**
661
681
  * Soniox model IDs
662
682
  */
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"];
683
+ declare const SonioxModelCodes: readonly ["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
684
  /**
665
685
  * Type for Soniox model codes
666
686
  */
@@ -676,7 +696,7 @@ type SonioxRealtimeModelCode = (typeof SonioxRealtimeModelCodes)[number];
676
696
  /**
677
697
  * Async/batch model IDs
678
698
  */
679
- declare const SonioxAsyncModelCodes: readonly ["stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
699
+ declare const SonioxAsyncModelCodes: readonly ["stt-async-v4", "stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
680
700
  /**
681
701
  * Type for Soniox async model codes
682
702
  */
@@ -701,6 +721,7 @@ declare const SonioxModelLabels: Record<SonioxModelCode, string>;
701
721
  */
702
722
  declare const SonioxModel: {
703
723
  readonly stt_rt_v3: "stt-rt-v3";
724
+ readonly stt_async_v4: "stt-async-v4";
704
725
  readonly stt_async_v3: "stt-async-v3";
705
726
  readonly stt_rt_preview: "stt-rt-preview";
706
727
  readonly stt_async_preview: "stt-async-preview";
@@ -721,6 +742,7 @@ declare const SonioxRealtimeModel: {
721
742
  * Async models only (for batch transcription)
722
743
  */
723
744
  declare const SonioxAsyncModel: {
745
+ readonly stt_async_v4: "stt-async-v4";
724
746
  readonly stt_async_v3: "stt-async-v3";
725
747
  readonly stt_async_preview: "stt-async-preview";
726
748
  readonly stt_async_preview_v1: "stt-async-preview-v1";
@@ -1381,9 +1403,6 @@ declare const AzureLocales: readonly [{
1381
1403
  }, {
1382
1404
  readonly code: "nl-NL";
1383
1405
  readonly name: "Dutch (Netherlands)";
1384
- }, {
1385
- readonly code: "non-HD";
1386
- readonly name: "Norse (Historical)";
1387
1406
  }, {
1388
1407
  readonly code: "or-IN";
1389
1408
  readonly name: "Odia (India)";
@@ -1499,7 +1518,7 @@ declare const AzureLocales: readonly [{
1499
1518
  /**
1500
1519
  * Azure Speech-to-Text supported locale codes (BCP-47)
1501
1520
  */
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", "non-HD", "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-RS", "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"];
1521
+ 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-RS", "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
1522
  /**
1504
1523
  * Type for Azure locale codes
1505
1524
  */
@@ -1639,7 +1658,6 @@ declare const AzureLocale: {
1639
1658
  readonly "ne-NP": "ne-NP";
1640
1659
  readonly "nl-BE": "nl-BE";
1641
1660
  readonly "nl-NL": "nl-NL";
1642
- readonly "non-HD": "non-HD";
1643
1661
  readonly "or-IN": "or-IN";
1644
1662
  readonly "pa-IN": "pa-IN";
1645
1663
  readonly "pl-PL": "pl-PL";
@@ -2793,7 +2811,7 @@ declare const OpenAIModel: {
2793
2811
  readonly "whisper-1": "whisper-1";
2794
2812
  };
2795
2813
  declare const OpenAIModelCodes: readonly ["gpt-4o-mini-realtime-preview", "gpt-4o-mini-realtime-preview-2024-12-17", "gpt-4o-mini-transcribe", "gpt-4o-mini-transcribe-2025-12-15", "gpt-4o-realtime-preview", "gpt-4o-realtime-preview-2024-10-01", "gpt-4o-realtime-preview-2024-12-17", "gpt-4o-realtime-preview-2025-06-03", "gpt-4o-transcribe", "gpt-4o-transcribe-diarize", "gpt-audio-mini", "gpt-audio-mini-2025-10-06", "gpt-audio-mini-2025-12-15", "gpt-realtime", "gpt-realtime-2025-08-28", "gpt-realtime-mini", "gpt-realtime-mini-2025-10-06", "gpt-realtime-mini-2025-12-15", "whisper-1"];
2796
- declare const OpenAIModelLabels: Record<"whisper-1" | "gpt-4o-transcribe" | "gpt-4o-mini-transcribe" | "gpt-4o-mini-transcribe-2025-12-15" | "gpt-4o-transcribe-diarize" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2025-06-03" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15", string>;
2814
+ declare const OpenAIModelLabels: Record<"gpt-4o-mini-transcribe" | "gpt-4o-mini-transcribe-2025-12-15" | "gpt-4o-transcribe" | "gpt-4o-transcribe-diarize" | "whisper-1" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2025-06-03" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15", string>;
2797
2815
  /**
2798
2816
  * OpenAI Realtime API models (streaming)
2799
2817
  * @see scripts/generate-openai-models.js
@@ -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", "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"];
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"];
@@ -627,6 +643,10 @@ declare const SonioxModels: readonly [{
627
643
  readonly id: "stt-rt-v3";
628
644
  readonly name: "Speech-to-Text Real-time v3";
629
645
  readonly mode: "real_time";
646
+ }, {
647
+ readonly id: "stt-async-v4";
648
+ readonly name: "Speech-to-Text Async v4";
649
+ readonly mode: "async";
630
650
  }, {
631
651
  readonly id: "stt-async-v3";
632
652
  readonly name: "Speech-to-Text Async v3";
@@ -660,7 +680,7 @@ declare const SonioxModels: readonly [{
660
680
  /**
661
681
  * Soniox model IDs
662
682
  */
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"];
683
+ declare const SonioxModelCodes: readonly ["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
684
  /**
665
685
  * Type for Soniox model codes
666
686
  */
@@ -676,7 +696,7 @@ type SonioxRealtimeModelCode = (typeof SonioxRealtimeModelCodes)[number];
676
696
  /**
677
697
  * Async/batch model IDs
678
698
  */
679
- declare const SonioxAsyncModelCodes: readonly ["stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
699
+ declare const SonioxAsyncModelCodes: readonly ["stt-async-v4", "stt-async-v3", "stt-async-preview", "stt-async-preview-v1"];
680
700
  /**
681
701
  * Type for Soniox async model codes
682
702
  */
@@ -701,6 +721,7 @@ declare const SonioxModelLabels: Record<SonioxModelCode, string>;
701
721
  */
702
722
  declare const SonioxModel: {
703
723
  readonly stt_rt_v3: "stt-rt-v3";
724
+ readonly stt_async_v4: "stt-async-v4";
704
725
  readonly stt_async_v3: "stt-async-v3";
705
726
  readonly stt_rt_preview: "stt-rt-preview";
706
727
  readonly stt_async_preview: "stt-async-preview";
@@ -721,6 +742,7 @@ declare const SonioxRealtimeModel: {
721
742
  * Async models only (for batch transcription)
722
743
  */
723
744
  declare const SonioxAsyncModel: {
745
+ readonly stt_async_v4: "stt-async-v4";
724
746
  readonly stt_async_v3: "stt-async-v3";
725
747
  readonly stt_async_preview: "stt-async-preview";
726
748
  readonly stt_async_preview_v1: "stt-async-preview-v1";
@@ -1381,9 +1403,6 @@ declare const AzureLocales: readonly [{
1381
1403
  }, {
1382
1404
  readonly code: "nl-NL";
1383
1405
  readonly name: "Dutch (Netherlands)";
1384
- }, {
1385
- readonly code: "non-HD";
1386
- readonly name: "Norse (Historical)";
1387
1406
  }, {
1388
1407
  readonly code: "or-IN";
1389
1408
  readonly name: "Odia (India)";
@@ -1499,7 +1518,7 @@ declare const AzureLocales: readonly [{
1499
1518
  /**
1500
1519
  * Azure Speech-to-Text supported locale codes (BCP-47)
1501
1520
  */
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", "non-HD", "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-RS", "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"];
1521
+ 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-RS", "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
1522
  /**
1504
1523
  * Type for Azure locale codes
1505
1524
  */
@@ -1639,7 +1658,6 @@ declare const AzureLocale: {
1639
1658
  readonly "ne-NP": "ne-NP";
1640
1659
  readonly "nl-BE": "nl-BE";
1641
1660
  readonly "nl-NL": "nl-NL";
1642
- readonly "non-HD": "non-HD";
1643
1661
  readonly "or-IN": "or-IN";
1644
1662
  readonly "pa-IN": "pa-IN";
1645
1663
  readonly "pl-PL": "pl-PL";
@@ -2793,7 +2811,7 @@ declare const OpenAIModel: {
2793
2811
  readonly "whisper-1": "whisper-1";
2794
2812
  };
2795
2813
  declare const OpenAIModelCodes: readonly ["gpt-4o-mini-realtime-preview", "gpt-4o-mini-realtime-preview-2024-12-17", "gpt-4o-mini-transcribe", "gpt-4o-mini-transcribe-2025-12-15", "gpt-4o-realtime-preview", "gpt-4o-realtime-preview-2024-10-01", "gpt-4o-realtime-preview-2024-12-17", "gpt-4o-realtime-preview-2025-06-03", "gpt-4o-transcribe", "gpt-4o-transcribe-diarize", "gpt-audio-mini", "gpt-audio-mini-2025-10-06", "gpt-audio-mini-2025-12-15", "gpt-realtime", "gpt-realtime-2025-08-28", "gpt-realtime-mini", "gpt-realtime-mini-2025-10-06", "gpt-realtime-mini-2025-12-15", "whisper-1"];
2796
- declare const OpenAIModelLabels: Record<"whisper-1" | "gpt-4o-transcribe" | "gpt-4o-mini-transcribe" | "gpt-4o-mini-transcribe-2025-12-15" | "gpt-4o-transcribe-diarize" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2025-06-03" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15", string>;
2814
+ declare const OpenAIModelLabels: Record<"gpt-4o-mini-transcribe" | "gpt-4o-mini-transcribe-2025-12-15" | "gpt-4o-transcribe" | "gpt-4o-transcribe-diarize" | "whisper-1" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2025-06-03" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15", string>;
2797
2815
  /**
2798
2816
  * OpenAI Realtime API models (streaming)
2799
2817
  * @see scripts/generate-openai-models.js
package/dist/constants.js CHANGED
@@ -285,6 +285,22 @@ var DeepgramLanguageCodes = [
285
285
  "af",
286
286
  "am",
287
287
  "ar",
288
+ "ar-AE",
289
+ "ar-DZ",
290
+ "ar-EG",
291
+ "ar-IQ",
292
+ "ar-IR",
293
+ "ar-JO",
294
+ "ar-KW",
295
+ "ar-LB",
296
+ "ar-MA",
297
+ "ar-PS",
298
+ "ar-QA",
299
+ "ar-SA",
300
+ "ar-SD",
301
+ "ar-SY",
302
+ "ar-TD",
303
+ "ar-TN",
288
304
  "as",
289
305
  "az",
290
306
  "ba",
@@ -548,6 +564,22 @@ var DeepgramLanguage = {
548
564
  yo: "yo",
549
565
  zh: "zh",
550
566
  // Regional variants
567
+ "ar-AE": "ar-AE",
568
+ "ar-DZ": "ar-DZ",
569
+ "ar-EG": "ar-EG",
570
+ "ar-IQ": "ar-IQ",
571
+ "ar-IR": "ar-IR",
572
+ "ar-JO": "ar-JO",
573
+ "ar-KW": "ar-KW",
574
+ "ar-LB": "ar-LB",
575
+ "ar-MA": "ar-MA",
576
+ "ar-PS": "ar-PS",
577
+ "ar-QA": "ar-QA",
578
+ "ar-SA": "ar-SA",
579
+ "ar-SD": "ar-SD",
580
+ "ar-SY": "ar-SY",
581
+ "ar-TD": "ar-TD",
582
+ "ar-TN": "ar-TN",
551
583
  "be-BY": "be-BY",
552
584
  "bn-IN": "bn-IN",
553
585
  "bs-BA": "bs-BA",
@@ -780,6 +812,23 @@ var DeepgramArchitectureLanguages = {
780
812
  "zh-TW"
781
813
  ],
782
814
  "nova-3": [
815
+ "ar",
816
+ "ar-AE",
817
+ "ar-DZ",
818
+ "ar-EG",
819
+ "ar-IQ",
820
+ "ar-IR",
821
+ "ar-JO",
822
+ "ar-KW",
823
+ "ar-LB",
824
+ "ar-MA",
825
+ "ar-PS",
826
+ "ar-QA",
827
+ "ar-SA",
828
+ "ar-SD",
829
+ "ar-SY",
830
+ "ar-TD",
831
+ "ar-TN",
783
832
  "be",
784
833
  "be-BY",
785
834
  "bg",
@@ -1274,6 +1323,7 @@ var SonioxLanguage = {
1274
1323
  // src/generated/soniox/models.ts
1275
1324
  var SonioxModels = [
1276
1325
  { id: "stt-rt-v3", name: "Speech-to-Text Real-time v3", mode: "real_time" },
1326
+ { id: "stt-async-v4", name: "Speech-to-Text Async v4", mode: "async" },
1277
1327
  { id: "stt-async-v3", name: "Speech-to-Text Async v3", mode: "async" },
1278
1328
  { id: "stt-rt-preview", name: "Speech-to-Text Real-time Preview", mode: "real_time", aliasOf: "stt-rt-v3" },
1279
1329
  { id: "stt-async-preview", name: "Speech-to-Text Async Preview", mode: "async", aliasOf: "stt-async-v3" },
@@ -1283,6 +1333,7 @@ var SonioxModels = [
1283
1333
  ];
1284
1334
  var SonioxModelCodes = [
1285
1335
  "stt-rt-v3",
1336
+ "stt-async-v4",
1286
1337
  "stt-async-v3",
1287
1338
  "stt-rt-preview",
1288
1339
  "stt-async-preview",
@@ -1297,12 +1348,14 @@ var SonioxRealtimeModelCodes = [
1297
1348
  "stt-rt-preview-v2"
1298
1349
  ];
1299
1350
  var SonioxAsyncModelCodes = [
1351
+ "stt-async-v4",
1300
1352
  "stt-async-v3",
1301
1353
  "stt-async-preview",
1302
1354
  "stt-async-preview-v1"
1303
1355
  ];
1304
1356
  var SonioxModelLabels = {
1305
1357
  "stt-rt-v3": "Speech-to-Text Real-time v3",
1358
+ "stt-async-v4": "Speech-to-Text Async v4",
1306
1359
  "stt-async-v3": "Speech-to-Text Async v3",
1307
1360
  "stt-rt-preview": "Speech-to-Text Real-time Preview",
1308
1361
  "stt-async-preview": "Speech-to-Text Async Preview",
@@ -1312,6 +1365,7 @@ var SonioxModelLabels = {
1312
1365
  };
1313
1366
  var SonioxModel = {
1314
1367
  stt_rt_v3: "stt-rt-v3",
1368
+ stt_async_v4: "stt-async-v4",
1315
1369
  stt_async_v3: "stt-async-v3",
1316
1370
  stt_rt_preview: "stt-rt-preview",
1317
1371
  stt_async_preview: "stt-async-preview",
@@ -1326,6 +1380,7 @@ var SonioxRealtimeModel = {
1326
1380
  stt_rt_preview_v2: "stt-rt-preview-v2"
1327
1381
  };
1328
1382
  var SonioxAsyncModel = {
1383
+ stt_async_v4: "stt-async-v4",
1329
1384
  stt_async_v3: "stt-async-v3",
1330
1385
  stt_async_preview: "stt-async-preview",
1331
1386
  stt_async_preview_v1: "stt-async-preview-v1"
@@ -1713,7 +1768,6 @@ var AzureLocales = [
1713
1768
  { code: "ne-NP", name: "Nepali (Nepal)" },
1714
1769
  { code: "nl-BE", name: "Dutch (Belgium)" },
1715
1770
  { code: "nl-NL", name: "Dutch (Netherlands)" },
1716
- { code: "non-HD", name: "Norse (Historical)" },
1717
1771
  { code: "or-IN", name: "Odia (India)" },
1718
1772
  { code: "pa-IN", name: "Punjabi (India)" },
1719
1773
  { code: "pl-PL", name: "Polish (Poland)" },
@@ -1869,7 +1923,6 @@ var AzureLocaleCodes = [
1869
1923
  "ne-NP",
1870
1924
  "nl-BE",
1871
1925
  "nl-NL",
1872
- "non-HD",
1873
1926
  "or-IN",
1874
1927
  "pa-IN",
1875
1928
  "pl-PL",
@@ -2025,7 +2078,6 @@ var AzureLocaleLabels = {
2025
2078
  "ne-NP": "Nepali (Nepal)",
2026
2079
  "nl-BE": "Dutch (Belgium)",
2027
2080
  "nl-NL": "Dutch (Netherlands)",
2028
- "non-HD": "Norse (Historical)",
2029
2081
  "or-IN": "Odia (India)",
2030
2082
  "pa-IN": "Punjabi (India)",
2031
2083
  "pl-PL": "Polish (Poland)",
@@ -2181,7 +2233,6 @@ var AzureLocale = {
2181
2233
  "ne-NP": "ne-NP",
2182
2234
  "nl-BE": "nl-BE",
2183
2235
  "nl-NL": "nl-NL",
2184
- "non-HD": "non-HD",
2185
2236
  "or-IN": "or-IN",
2186
2237
  "pa-IN": "pa-IN",
2187
2238
  "pl-PL": "pl-PL",