voice-router-dev 0.9.6 → 0.9.7
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/dist/constants.d.mts +9 -3
- package/dist/constants.d.ts +9 -3
- package/dist/constants.js +6 -0
- package/dist/constants.mjs +6 -0
- package/dist/{field-configs-Bt2iLgt_.d.mts → field-configs-B5rSB82C.d.mts} +1176 -1176
- package/dist/{field-configs-Bt2iLgt_.d.ts → field-configs-B5rSB82C.d.ts} +1176 -1176
- package/dist/field-configs.d.mts +1 -1
- package/dist/field-configs.d.ts +1 -1
- package/dist/field-equivalences.js +1 -1
- package/dist/field-equivalences.mjs +1 -1
- package/dist/field-metadata.d.mts +1 -13
- package/dist/field-metadata.d.ts +1 -13
- package/dist/field-metadata.js +0 -7
- package/dist/field-metadata.mjs +0 -7
- package/dist/index.d.mts +90 -81
- package/dist/index.d.ts +90 -81
- package/dist/index.js +36 -1
- package/dist/index.mjs +36 -1
- package/dist/{provider-metadata-B5SFlFb0.d.ts → provider-metadata-CiSA4fWP.d.ts} +4 -4
- package/dist/{provider-metadata-J8URl-3i.d.mts → provider-metadata-oxzd1q6t.d.mts} +4 -4
- package/dist/provider-metadata.d.mts +1 -1
- package/dist/provider-metadata.d.ts +1 -1
- package/dist/{speechToTextChunkResponseModel-DhC5T0u1.d.ts → speechToTextChunkResponseModel-Dns0Ma9x.d.ts} +1 -1
- package/dist/{speechToTextChunkResponseModel-SgJKP7kZ.d.mts → speechToTextChunkResponseModel-_ZvHTD4e.d.mts} +1 -1
- package/dist/webhooks.d.mts +2 -2
- package/dist/webhooks.d.ts +2 -2
- package/package.json +1 -1
package/dist/constants.d.mts
CHANGED
|
@@ -644,6 +644,10 @@ declare const SonioxModels: readonly [{
|
|
|
644
644
|
readonly id: "stt-rt-v4";
|
|
645
645
|
readonly name: "Speech-to-Text Real-time v4";
|
|
646
646
|
readonly mode: "real_time";
|
|
647
|
+
}, {
|
|
648
|
+
readonly id: "stt-async-v5";
|
|
649
|
+
readonly name: "Speech-to-Text Async v5";
|
|
650
|
+
readonly mode: "async";
|
|
647
651
|
}, {
|
|
648
652
|
readonly id: "stt-async-v4";
|
|
649
653
|
readonly name: "Speech-to-Text Async v4";
|
|
@@ -687,7 +691,7 @@ declare const SonioxModels: readonly [{
|
|
|
687
691
|
/**
|
|
688
692
|
* Soniox model IDs
|
|
689
693
|
*/
|
|
690
|
-
declare const SonioxModelCodes: readonly ["stt-rt-v4", "stt-async-v4", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1", "stt-rt-v3", "stt-async-v3"];
|
|
694
|
+
declare const SonioxModelCodes: readonly ["stt-rt-v4", "stt-async-v5", "stt-async-v4", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1", "stt-rt-v3", "stt-async-v3"];
|
|
691
695
|
/**
|
|
692
696
|
* Type for Soniox model codes
|
|
693
697
|
*/
|
|
@@ -703,7 +707,7 @@ type SonioxRealtimeModelCode = (typeof SonioxRealtimeModelCodes)[number];
|
|
|
703
707
|
/**
|
|
704
708
|
* Async/batch model IDs
|
|
705
709
|
*/
|
|
706
|
-
declare const SonioxAsyncModelCodes: readonly ["stt-async-v4", "stt-async-preview", "stt-async-preview-v1", "stt-async-v3"];
|
|
710
|
+
declare const SonioxAsyncModelCodes: readonly ["stt-async-v5", "stt-async-v4", "stt-async-preview", "stt-async-preview-v1", "stt-async-v3"];
|
|
707
711
|
/**
|
|
708
712
|
* Type for Soniox async model codes
|
|
709
713
|
*/
|
|
@@ -728,6 +732,7 @@ declare const SonioxModelLabels: Record<SonioxModelCode, string>;
|
|
|
728
732
|
*/
|
|
729
733
|
declare const SonioxModel: {
|
|
730
734
|
readonly stt_rt_v4: "stt-rt-v4";
|
|
735
|
+
readonly stt_async_v5: "stt-async-v5";
|
|
731
736
|
readonly stt_async_v4: "stt-async-v4";
|
|
732
737
|
readonly stt_rt_preview: "stt-rt-preview";
|
|
733
738
|
readonly stt_async_preview: "stt-async-preview";
|
|
@@ -751,6 +756,7 @@ declare const SonioxRealtimeModel: {
|
|
|
751
756
|
* Async models only (for batch transcription)
|
|
752
757
|
*/
|
|
753
758
|
declare const SonioxAsyncModel: {
|
|
759
|
+
readonly stt_async_v5: "stt-async-v5";
|
|
754
760
|
readonly stt_async_v4: "stt-async-v4";
|
|
755
761
|
readonly stt_async_preview: "stt-async-preview";
|
|
756
762
|
readonly stt_async_preview_v1: "stt-async-preview-v1";
|
|
@@ -3332,7 +3338,7 @@ declare const OpenAIModel: {
|
|
|
3332
3338
|
readonly "whisper-1": "whisper-1";
|
|
3333
3339
|
};
|
|
3334
3340
|
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-1.5", "gpt-audio-mini", "gpt-audio-mini-2025-10-06", "gpt-audio-mini-2025-12-15", "gpt-realtime", "gpt-realtime-1.5", "gpt-realtime-2", "gpt-realtime-2025-08-28", "gpt-realtime-mini", "gpt-realtime-mini-2025-10-06", "gpt-realtime-mini-2025-12-15", "gpt-realtime-whisper", "whisper-1"];
|
|
3335
|
-
declare const OpenAIModelLabels: Record<"gpt-4o-mini-
|
|
3341
|
+
declare const OpenAIModelLabels: Record<"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-1.5" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-1.5" | "gpt-realtime-2" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15" | "gpt-realtime-whisper" | "whisper-1", string>;
|
|
3336
3342
|
/**
|
|
3337
3343
|
* OpenAI Realtime API models (streaming)
|
|
3338
3344
|
* @see scripts/generate-openai-models.js
|
package/dist/constants.d.ts
CHANGED
|
@@ -644,6 +644,10 @@ declare const SonioxModels: readonly [{
|
|
|
644
644
|
readonly id: "stt-rt-v4";
|
|
645
645
|
readonly name: "Speech-to-Text Real-time v4";
|
|
646
646
|
readonly mode: "real_time";
|
|
647
|
+
}, {
|
|
648
|
+
readonly id: "stt-async-v5";
|
|
649
|
+
readonly name: "Speech-to-Text Async v5";
|
|
650
|
+
readonly mode: "async";
|
|
647
651
|
}, {
|
|
648
652
|
readonly id: "stt-async-v4";
|
|
649
653
|
readonly name: "Speech-to-Text Async v4";
|
|
@@ -687,7 +691,7 @@ declare const SonioxModels: readonly [{
|
|
|
687
691
|
/**
|
|
688
692
|
* Soniox model IDs
|
|
689
693
|
*/
|
|
690
|
-
declare const SonioxModelCodes: readonly ["stt-rt-v4", "stt-async-v4", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1", "stt-rt-v3", "stt-async-v3"];
|
|
694
|
+
declare const SonioxModelCodes: readonly ["stt-rt-v4", "stt-async-v5", "stt-async-v4", "stt-rt-preview", "stt-async-preview", "stt-rt-v3-preview", "stt-rt-preview-v2", "stt-async-preview-v1", "stt-rt-v3", "stt-async-v3"];
|
|
691
695
|
/**
|
|
692
696
|
* Type for Soniox model codes
|
|
693
697
|
*/
|
|
@@ -703,7 +707,7 @@ type SonioxRealtimeModelCode = (typeof SonioxRealtimeModelCodes)[number];
|
|
|
703
707
|
/**
|
|
704
708
|
* Async/batch model IDs
|
|
705
709
|
*/
|
|
706
|
-
declare const SonioxAsyncModelCodes: readonly ["stt-async-v4", "stt-async-preview", "stt-async-preview-v1", "stt-async-v3"];
|
|
710
|
+
declare const SonioxAsyncModelCodes: readonly ["stt-async-v5", "stt-async-v4", "stt-async-preview", "stt-async-preview-v1", "stt-async-v3"];
|
|
707
711
|
/**
|
|
708
712
|
* Type for Soniox async model codes
|
|
709
713
|
*/
|
|
@@ -728,6 +732,7 @@ declare const SonioxModelLabels: Record<SonioxModelCode, string>;
|
|
|
728
732
|
*/
|
|
729
733
|
declare const SonioxModel: {
|
|
730
734
|
readonly stt_rt_v4: "stt-rt-v4";
|
|
735
|
+
readonly stt_async_v5: "stt-async-v5";
|
|
731
736
|
readonly stt_async_v4: "stt-async-v4";
|
|
732
737
|
readonly stt_rt_preview: "stt-rt-preview";
|
|
733
738
|
readonly stt_async_preview: "stt-async-preview";
|
|
@@ -751,6 +756,7 @@ declare const SonioxRealtimeModel: {
|
|
|
751
756
|
* Async models only (for batch transcription)
|
|
752
757
|
*/
|
|
753
758
|
declare const SonioxAsyncModel: {
|
|
759
|
+
readonly stt_async_v5: "stt-async-v5";
|
|
754
760
|
readonly stt_async_v4: "stt-async-v4";
|
|
755
761
|
readonly stt_async_preview: "stt-async-preview";
|
|
756
762
|
readonly stt_async_preview_v1: "stt-async-preview-v1";
|
|
@@ -3332,7 +3338,7 @@ declare const OpenAIModel: {
|
|
|
3332
3338
|
readonly "whisper-1": "whisper-1";
|
|
3333
3339
|
};
|
|
3334
3340
|
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-1.5", "gpt-audio-mini", "gpt-audio-mini-2025-10-06", "gpt-audio-mini-2025-12-15", "gpt-realtime", "gpt-realtime-1.5", "gpt-realtime-2", "gpt-realtime-2025-08-28", "gpt-realtime-mini", "gpt-realtime-mini-2025-10-06", "gpt-realtime-mini-2025-12-15", "gpt-realtime-whisper", "whisper-1"];
|
|
3335
|
-
declare const OpenAIModelLabels: Record<"gpt-4o-mini-
|
|
3341
|
+
declare const OpenAIModelLabels: Record<"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-1.5" | "gpt-audio-mini" | "gpt-audio-mini-2025-10-06" | "gpt-audio-mini-2025-12-15" | "gpt-realtime" | "gpt-realtime-1.5" | "gpt-realtime-2" | "gpt-realtime-2025-08-28" | "gpt-realtime-mini" | "gpt-realtime-mini-2025-10-06" | "gpt-realtime-mini-2025-12-15" | "gpt-realtime-whisper" | "whisper-1", string>;
|
|
3336
3342
|
/**
|
|
3337
3343
|
* OpenAI Realtime API models (streaming)
|
|
3338
3344
|
* @see scripts/generate-openai-models.js
|
package/dist/constants.js
CHANGED
|
@@ -1352,6 +1352,7 @@ var SonioxLanguage = {
|
|
|
1352
1352
|
// src/generated/soniox/models.ts
|
|
1353
1353
|
var SonioxModels = [
|
|
1354
1354
|
{ id: "stt-rt-v4", name: "Speech-to-Text Real-time v4", mode: "real_time" },
|
|
1355
|
+
{ id: "stt-async-v5", name: "Speech-to-Text Async v5", mode: "async" },
|
|
1355
1356
|
{ id: "stt-async-v4", name: "Speech-to-Text Async v4", mode: "async" },
|
|
1356
1357
|
{ id: "stt-rt-preview", name: "Speech-to-Text Real-time Preview", mode: "real_time", aliasOf: "stt-rt-v4" },
|
|
1357
1358
|
{ id: "stt-async-preview", name: "Speech-to-Text Async Preview", mode: "async", aliasOf: "stt-async-v4" },
|
|
@@ -1363,6 +1364,7 @@ var SonioxModels = [
|
|
|
1363
1364
|
];
|
|
1364
1365
|
var SonioxModelCodes = [
|
|
1365
1366
|
"stt-rt-v4",
|
|
1367
|
+
"stt-async-v5",
|
|
1366
1368
|
"stt-async-v4",
|
|
1367
1369
|
"stt-rt-preview",
|
|
1368
1370
|
"stt-async-preview",
|
|
@@ -1380,6 +1382,7 @@ var SonioxRealtimeModelCodes = [
|
|
|
1380
1382
|
"stt-rt-v3"
|
|
1381
1383
|
];
|
|
1382
1384
|
var SonioxAsyncModelCodes = [
|
|
1385
|
+
"stt-async-v5",
|
|
1383
1386
|
"stt-async-v4",
|
|
1384
1387
|
"stt-async-preview",
|
|
1385
1388
|
"stt-async-preview-v1",
|
|
@@ -1387,6 +1390,7 @@ var SonioxAsyncModelCodes = [
|
|
|
1387
1390
|
];
|
|
1388
1391
|
var SonioxModelLabels = {
|
|
1389
1392
|
"stt-rt-v4": "Speech-to-Text Real-time v4",
|
|
1393
|
+
"stt-async-v5": "Speech-to-Text Async v5",
|
|
1390
1394
|
"stt-async-v4": "Speech-to-Text Async v4",
|
|
1391
1395
|
"stt-rt-preview": "Speech-to-Text Real-time Preview",
|
|
1392
1396
|
"stt-async-preview": "Speech-to-Text Async Preview",
|
|
@@ -1398,6 +1402,7 @@ var SonioxModelLabels = {
|
|
|
1398
1402
|
};
|
|
1399
1403
|
var SonioxModel = {
|
|
1400
1404
|
stt_rt_v4: "stt-rt-v4",
|
|
1405
|
+
stt_async_v5: "stt-async-v5",
|
|
1401
1406
|
stt_async_v4: "stt-async-v4",
|
|
1402
1407
|
stt_rt_preview: "stt-rt-preview",
|
|
1403
1408
|
stt_async_preview: "stt-async-preview",
|
|
@@ -1415,6 +1420,7 @@ var SonioxRealtimeModel = {
|
|
|
1415
1420
|
stt_rt_v3: "stt-rt-v3"
|
|
1416
1421
|
};
|
|
1417
1422
|
var SonioxAsyncModel = {
|
|
1423
|
+
stt_async_v5: "stt-async-v5",
|
|
1418
1424
|
stt_async_v4: "stt-async-v4",
|
|
1419
1425
|
stt_async_preview: "stt-async-preview",
|
|
1420
1426
|
stt_async_preview_v1: "stt-async-preview-v1",
|
package/dist/constants.mjs
CHANGED
|
@@ -1247,6 +1247,7 @@ var SonioxLanguage = {
|
|
|
1247
1247
|
// src/generated/soniox/models.ts
|
|
1248
1248
|
var SonioxModels = [
|
|
1249
1249
|
{ id: "stt-rt-v4", name: "Speech-to-Text Real-time v4", mode: "real_time" },
|
|
1250
|
+
{ id: "stt-async-v5", name: "Speech-to-Text Async v5", mode: "async" },
|
|
1250
1251
|
{ id: "stt-async-v4", name: "Speech-to-Text Async v4", mode: "async" },
|
|
1251
1252
|
{ id: "stt-rt-preview", name: "Speech-to-Text Real-time Preview", mode: "real_time", aliasOf: "stt-rt-v4" },
|
|
1252
1253
|
{ id: "stt-async-preview", name: "Speech-to-Text Async Preview", mode: "async", aliasOf: "stt-async-v4" },
|
|
@@ -1258,6 +1259,7 @@ var SonioxModels = [
|
|
|
1258
1259
|
];
|
|
1259
1260
|
var SonioxModelCodes = [
|
|
1260
1261
|
"stt-rt-v4",
|
|
1262
|
+
"stt-async-v5",
|
|
1261
1263
|
"stt-async-v4",
|
|
1262
1264
|
"stt-rt-preview",
|
|
1263
1265
|
"stt-async-preview",
|
|
@@ -1275,6 +1277,7 @@ var SonioxRealtimeModelCodes = [
|
|
|
1275
1277
|
"stt-rt-v3"
|
|
1276
1278
|
];
|
|
1277
1279
|
var SonioxAsyncModelCodes = [
|
|
1280
|
+
"stt-async-v5",
|
|
1278
1281
|
"stt-async-v4",
|
|
1279
1282
|
"stt-async-preview",
|
|
1280
1283
|
"stt-async-preview-v1",
|
|
@@ -1282,6 +1285,7 @@ var SonioxAsyncModelCodes = [
|
|
|
1282
1285
|
];
|
|
1283
1286
|
var SonioxModelLabels = {
|
|
1284
1287
|
"stt-rt-v4": "Speech-to-Text Real-time v4",
|
|
1288
|
+
"stt-async-v5": "Speech-to-Text Async v5",
|
|
1285
1289
|
"stt-async-v4": "Speech-to-Text Async v4",
|
|
1286
1290
|
"stt-rt-preview": "Speech-to-Text Real-time Preview",
|
|
1287
1291
|
"stt-async-preview": "Speech-to-Text Async Preview",
|
|
@@ -1293,6 +1297,7 @@ var SonioxModelLabels = {
|
|
|
1293
1297
|
};
|
|
1294
1298
|
var SonioxModel = {
|
|
1295
1299
|
stt_rt_v4: "stt-rt-v4",
|
|
1300
|
+
stt_async_v5: "stt-async-v5",
|
|
1296
1301
|
stt_async_v4: "stt-async-v4",
|
|
1297
1302
|
stt_rt_preview: "stt-rt-preview",
|
|
1298
1303
|
stt_async_preview: "stt-async-preview",
|
|
@@ -1310,6 +1315,7 @@ var SonioxRealtimeModel = {
|
|
|
1310
1315
|
stt_rt_v3: "stt-rt-v3"
|
|
1311
1316
|
};
|
|
1312
1317
|
var SonioxAsyncModel = {
|
|
1318
|
+
stt_async_v5: "stt-async-v5",
|
|
1313
1319
|
stt_async_v4: "stt-async-v4",
|
|
1314
1320
|
stt_async_preview: "stt-async-preview",
|
|
1315
1321
|
stt_async_preview_v1: "stt-async-preview-v1",
|