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/field-configs.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-
|
|
2
|
+
export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-B5rSB82C.mjs';
|
package/dist/field-configs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-
|
|
2
|
+
export { B as AssemblyAIListFilterFieldName, L as AssemblyAIListFilterSchema, E as AssemblyAIStreamingConfig, x as AssemblyAIStreamingFieldName, J as AssemblyAIStreamingSchema, H as AssemblyAIStreamingUpdateConfig, y as AssemblyAIStreamingUpdateFieldName, K as AssemblyAIStreamingUpdateSchema, C as AssemblyAITranscriptionConfig, A as AssemblyAITranscriptionFieldName, I as AssemblyAITranscriptionSchema, R as AzureListFilterFieldName, U as AzureListFilterSchema, S as AzureTranscriptionConfig, Q as AzureTranscriptionFieldName, T as AzureTranscriptionSchema, q as DeepgramListFilterFieldName, w as DeepgramListFilterSchema, p as DeepgramStreamingFieldName, t as DeepgramStreamingOnlyConfig, v as DeepgramStreamingOnlySchema, r as DeepgramTranscriptionConfig, D as DeepgramTranscriptionFieldName, u as DeepgramTranscriptionSchema, Z as FieldConfig, aK as FieldConfigProvider, c as FieldOverrides, F as FieldType, i as GladiaListFilterFieldName, n as GladiaListFilterSchema, k as GladiaStreamingConfig, h as GladiaStreamingFieldName, m as GladiaStreamingSchema, j as GladiaTranscriptionConfig, G as GladiaTranscriptionFieldName, l as GladiaTranscriptionSchema, M as OpenAITranscriptionConfig, O as OpenAITranscriptionFieldName, N as OpenAITranscriptionSchema, P as ProviderFieldConfigs, a8 as SonioxListFilterFieldName, af as SonioxListFilterSchema, aa as SonioxStreamingConfig, a6 as SonioxStreamingFieldName, ad as SonioxStreamingSchema, ab as SonioxStreamingUpdateConfig, a7 as SonioxStreamingUpdateFieldName, ae as SonioxStreamingUpdateSchema, a9 as SonioxTranscriptionConfig, a5 as SonioxTranscriptionFieldName, ac as SonioxTranscriptionSchema, Y as SpeechmaticsListFilterFieldName, a4 as SpeechmaticsListFilterSchema, $ as SpeechmaticsStreamingConfig, W as SpeechmaticsStreamingFieldName, a2 as SpeechmaticsStreamingSchema, a0 as SpeechmaticsStreamingUpdateConfig, X as SpeechmaticsStreamingUpdateFieldName, a3 as SpeechmaticsStreamingUpdateSchema, _ as SpeechmaticsTranscriptionConfig, V as SpeechmaticsTranscriptionFieldName, a1 as SpeechmaticsTranscriptionSchema, ah as StreamingFieldName, ag as TranscriptionFieldName, aM as getAllFieldConfigs, au as getAssemblyAIFieldConfigs, ar as getAssemblyAIListFilterFields, as as getAssemblyAIStreamingFields, at as getAssemblyAIStreamingUpdateFields, aq as getAssemblyAITranscriptionFields, az as getAzureFieldConfigs, ay as getAzureListFilterFields, ax as getAzureTranscriptionFields, ap as getDeepgramFieldConfigs, an as getDeepgramListFilterFields, ao as getDeepgramStreamingFields, am as getDeepgramTranscriptionFields, al as getGladiaFieldConfigs, aj as getGladiaListFilterFields, ak as getGladiaStreamingFields, ai as getGladiaTranscriptionFields, aw as getOpenAIFieldConfigs, av as getOpenAITranscriptionFields, aL as getProviderFieldConfigs, aJ as getSonioxFieldConfigs, aG as getSonioxListFilterFields, aH as getSonioxStreamingFields, aI as getSonioxStreamingUpdateFields, aF as getSonioxTranscriptionFields, aE as getSpeechmaticsFieldConfigs, aB as getSpeechmaticsListFilterFields, aC as getSpeechmaticsStreamingFields, aD as getSpeechmaticsStreamingUpdateFields, aA as getSpeechmaticsTranscriptionFields } from './field-configs-B5rSB82C.js';
|
|
@@ -131,7 +131,7 @@ var FIELD_EQUIVALENCES = {
|
|
|
131
131
|
description: "Primary transcription language or language detection",
|
|
132
132
|
providers: {
|
|
133
133
|
gladia: {
|
|
134
|
-
transcription: ["
|
|
134
|
+
transcription: ["language", "language_config"],
|
|
135
135
|
streaming: ["language_config"]
|
|
136
136
|
},
|
|
137
137
|
deepgram: {
|
|
@@ -105,7 +105,7 @@ var FIELD_EQUIVALENCES = {
|
|
|
105
105
|
description: "Primary transcription language or language detection",
|
|
106
106
|
providers: {
|
|
107
107
|
gladia: {
|
|
108
|
-
transcription: ["
|
|
108
|
+
transcription: ["language", "language_config"],
|
|
109
109
|
streaming: ["language_config"]
|
|
110
110
|
},
|
|
111
111
|
deepgram: {
|
|
@@ -43,7 +43,7 @@ interface FieldMetadata {
|
|
|
43
43
|
/** Nested fields for object types */
|
|
44
44
|
nestedFields?: FieldMetadata[];
|
|
45
45
|
}
|
|
46
|
-
/** Gladia transcription field metadata (
|
|
46
|
+
/** Gladia transcription field metadata (34 fields) */
|
|
47
47
|
declare const GLADIA_TRANSCRIPTION_FIELDS: readonly [{
|
|
48
48
|
readonly name: "context_prompt";
|
|
49
49
|
readonly type: "string";
|
|
@@ -73,12 +73,6 @@ declare const GLADIA_TRANSCRIPTION_FIELDS: readonly [{
|
|
|
73
73
|
readonly min: 0;
|
|
74
74
|
readonly max: 1;
|
|
75
75
|
}];
|
|
76
|
-
}, {
|
|
77
|
-
readonly name: "detect_language";
|
|
78
|
-
readonly type: "boolean";
|
|
79
|
-
readonly required: true;
|
|
80
|
-
readonly description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio";
|
|
81
|
-
readonly default: true;
|
|
82
76
|
}, {
|
|
83
77
|
readonly name: "enable_code_switching";
|
|
84
78
|
readonly type: "boolean";
|
|
@@ -2406,12 +2400,6 @@ declare const PROVIDER_FIELDS: {
|
|
|
2406
2400
|
readonly min: 0;
|
|
2407
2401
|
readonly max: 1;
|
|
2408
2402
|
}];
|
|
2409
|
-
}, {
|
|
2410
|
-
readonly name: "detect_language";
|
|
2411
|
-
readonly type: "boolean";
|
|
2412
|
-
readonly required: true;
|
|
2413
|
-
readonly description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio";
|
|
2414
|
-
readonly default: true;
|
|
2415
2403
|
}, {
|
|
2416
2404
|
readonly name: "enable_code_switching";
|
|
2417
2405
|
readonly type: "boolean";
|
package/dist/field-metadata.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ interface FieldMetadata {
|
|
|
43
43
|
/** Nested fields for object types */
|
|
44
44
|
nestedFields?: FieldMetadata[];
|
|
45
45
|
}
|
|
46
|
-
/** Gladia transcription field metadata (
|
|
46
|
+
/** Gladia transcription field metadata (34 fields) */
|
|
47
47
|
declare const GLADIA_TRANSCRIPTION_FIELDS: readonly [{
|
|
48
48
|
readonly name: "context_prompt";
|
|
49
49
|
readonly type: "string";
|
|
@@ -73,12 +73,6 @@ declare const GLADIA_TRANSCRIPTION_FIELDS: readonly [{
|
|
|
73
73
|
readonly min: 0;
|
|
74
74
|
readonly max: 1;
|
|
75
75
|
}];
|
|
76
|
-
}, {
|
|
77
|
-
readonly name: "detect_language";
|
|
78
|
-
readonly type: "boolean";
|
|
79
|
-
readonly required: true;
|
|
80
|
-
readonly description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio";
|
|
81
|
-
readonly default: true;
|
|
82
76
|
}, {
|
|
83
77
|
readonly name: "enable_code_switching";
|
|
84
78
|
readonly type: "boolean";
|
|
@@ -2406,12 +2400,6 @@ declare const PROVIDER_FIELDS: {
|
|
|
2406
2400
|
readonly min: 0;
|
|
2407
2401
|
readonly max: 1;
|
|
2408
2402
|
}];
|
|
2409
|
-
}, {
|
|
2410
|
-
readonly name: "detect_language";
|
|
2411
|
-
readonly type: "boolean";
|
|
2412
|
-
readonly required: true;
|
|
2413
|
-
readonly description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio";
|
|
2414
|
-
readonly default: true;
|
|
2415
2403
|
}, {
|
|
2416
2404
|
readonly name: "enable_code_switching";
|
|
2417
2405
|
readonly type: "boolean";
|
package/dist/field-metadata.js
CHANGED
|
@@ -80,13 +80,6 @@ var GLADIA_TRANSCRIPTION_FIELDS = [
|
|
|
80
80
|
}
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
|
-
{
|
|
84
|
-
name: "detect_language",
|
|
85
|
-
type: "boolean",
|
|
86
|
-
required: true,
|
|
87
|
-
description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio",
|
|
88
|
-
default: true
|
|
89
|
-
},
|
|
90
83
|
{
|
|
91
84
|
name: "enable_code_switching",
|
|
92
85
|
type: "boolean",
|
package/dist/field-metadata.mjs
CHANGED
|
@@ -37,13 +37,6 @@ var GLADIA_TRANSCRIPTION_FIELDS = [
|
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
|
-
{
|
|
41
|
-
name: "detect_language",
|
|
42
|
-
type: "boolean",
|
|
43
|
-
required: true,
|
|
44
|
-
description: "**[Deprecated]** Use `language_config` instead. Detect the language from the given audio",
|
|
45
|
-
default: true
|
|
46
|
-
},
|
|
47
40
|
{
|
|
48
41
|
name: "enable_code_switching",
|
|
49
42
|
type: "boolean",
|