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
|
@@ -3980,13 +3980,13 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
3980
3980
|
}, "strip", z.ZodTypeAny, {
|
|
3981
3981
|
language?: string | undefined;
|
|
3982
3982
|
version?: string | undefined;
|
|
3983
|
-
name?: string | undefined;
|
|
3984
3983
|
model_id?: string | undefined;
|
|
3984
|
+
name?: string | undefined;
|
|
3985
3985
|
}, {
|
|
3986
3986
|
language?: string | undefined;
|
|
3987
3987
|
version?: string | undefined;
|
|
3988
|
-
name?: string | undefined;
|
|
3989
3988
|
model_id?: string | undefined;
|
|
3989
|
+
name?: string | undefined;
|
|
3990
3990
|
}>, "many">>;
|
|
3991
3991
|
processing_methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3992
3992
|
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3995,8 +3995,8 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
3995
3995
|
models?: {
|
|
3996
3996
|
language?: string | undefined;
|
|
3997
3997
|
version?: string | undefined;
|
|
3998
|
-
name?: string | undefined;
|
|
3999
3998
|
model_id?: string | undefined;
|
|
3999
|
+
name?: string | undefined;
|
|
4000
4000
|
}[] | undefined;
|
|
4001
4001
|
processing_methods?: string[] | undefined;
|
|
4002
4002
|
features?: string[] | undefined;
|
|
@@ -4005,8 +4005,8 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
4005
4005
|
models?: {
|
|
4006
4006
|
language?: string | undefined;
|
|
4007
4007
|
version?: string | undefined;
|
|
4008
|
-
name?: string | undefined;
|
|
4009
4008
|
model_id?: string | undefined;
|
|
4009
|
+
name?: string | undefined;
|
|
4010
4010
|
}[] | undefined;
|
|
4011
4011
|
processing_methods?: string[] | undefined;
|
|
4012
4012
|
features?: string[] | undefined;
|
|
@@ -12018,9 +12018,9 @@ declare const preRecordedControllerGetPreRecordedJobsV2Response: z.ZodObject<{
|
|
|
12018
12018
|
} | null | undefined;
|
|
12019
12019
|
}>, "many">;
|
|
12020
12020
|
}, "strip", z.ZodTypeAny, {
|
|
12021
|
+
next: string | null;
|
|
12021
12022
|
first: string;
|
|
12022
12023
|
current: string;
|
|
12023
|
-
next: string | null;
|
|
12024
12024
|
items: {
|
|
12025
12025
|
status: "queued" | "processing" | "done" | "error";
|
|
12026
12026
|
id: string;
|
|
@@ -12370,9 +12370,9 @@ declare const preRecordedControllerGetPreRecordedJobsV2Response: z.ZodObject<{
|
|
|
12370
12370
|
} | null | undefined;
|
|
12371
12371
|
}[];
|
|
12372
12372
|
}, {
|
|
12373
|
+
next: string | null;
|
|
12373
12374
|
first: string;
|
|
12374
12375
|
current: string;
|
|
12375
|
-
next: string | null;
|
|
12376
12376
|
items: {
|
|
12377
12377
|
status: "queued" | "processing" | "done" | "error";
|
|
12378
12378
|
id: string;
|
|
@@ -20499,9 +20499,9 @@ declare const transcriptionControllerListV2Response: z.ZodObject<{
|
|
|
20499
20499
|
} | null | undefined;
|
|
20500
20500
|
}>]>, "many">;
|
|
20501
20501
|
}, "strip", z.ZodTypeAny, {
|
|
20502
|
+
next: string | null;
|
|
20502
20503
|
first: string;
|
|
20503
20504
|
current: string;
|
|
20504
|
-
next: string | null;
|
|
20505
20505
|
items: ({
|
|
20506
20506
|
status: "queued" | "processing" | "done" | "error";
|
|
20507
20507
|
id: string;
|
|
@@ -21081,9 +21081,9 @@ declare const transcriptionControllerListV2Response: z.ZodObject<{
|
|
|
21081
21081
|
} | null | undefined;
|
|
21082
21082
|
})[];
|
|
21083
21083
|
}, {
|
|
21084
|
+
next: string | null;
|
|
21084
21085
|
first: string;
|
|
21085
21086
|
current: string;
|
|
21086
|
-
next: string | null;
|
|
21087
21087
|
items: ({
|
|
21088
21088
|
status: "queued" | "processing" | "done" | "error";
|
|
21089
21089
|
id: string;
|
|
@@ -26320,8 +26320,8 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26320
26320
|
webhook_url: z.ZodOptional<z.ZodString>;
|
|
26321
26321
|
}, "strip", z.ZodTypeAny, {
|
|
26322
26322
|
audio_url: string;
|
|
26323
|
-
language_behaviour: "automatic single language" | "automatic multiple languages"
|
|
26324
|
-
output_format: "srt" | "vtt" | "json" | "
|
|
26323
|
+
language_behaviour: "manual" | "automatic single language" | "automatic multiple languages";
|
|
26324
|
+
output_format: "srt" | "vtt" | "json" | "txt" | "plain";
|
|
26325
26325
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26326
26326
|
webhook_url?: string | undefined;
|
|
26327
26327
|
audio?: File | undefined;
|
|
@@ -26339,7 +26339,7 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26339
26339
|
audio_url?: string | undefined;
|
|
26340
26340
|
webhook_url?: string | undefined;
|
|
26341
26341
|
audio?: File | undefined;
|
|
26342
|
-
language_behaviour?: "automatic single language" | "automatic multiple languages" |
|
|
26342
|
+
language_behaviour?: "manual" | "automatic single language" | "automatic multiple languages" | undefined;
|
|
26343
26343
|
transcription_hint?: string | undefined;
|
|
26344
26344
|
toggle_diarization?: boolean | undefined;
|
|
26345
26345
|
diarization_num_speakers?: number | undefined;
|
|
@@ -26347,7 +26347,7 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26347
26347
|
diarization_max_speakers?: number | undefined;
|
|
26348
26348
|
toggle_direct_translate?: boolean | undefined;
|
|
26349
26349
|
target_translation_language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | "wolof" | undefined;
|
|
26350
|
-
output_format?: "srt" | "vtt" | "json" | "
|
|
26350
|
+
output_format?: "srt" | "vtt" | "json" | "txt" | "plain" | undefined;
|
|
26351
26351
|
toggle_noise_reduction?: boolean | undefined;
|
|
26352
26352
|
toggle_accurate_words_timestamps?: boolean | undefined;
|
|
26353
26353
|
}>;
|
|
@@ -26375,8 +26375,8 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26375
26375
|
toggle_accurate_words_timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
26376
26376
|
webhook_url: z.ZodOptional<z.ZodString>;
|
|
26377
26377
|
}, "strip", z.ZodTypeAny, {
|
|
26378
|
-
language_behaviour: "automatic single language" | "automatic multiple languages"
|
|
26379
|
-
output_format: "srt" | "vtt" | "json" | "
|
|
26378
|
+
language_behaviour: "manual" | "automatic single language" | "automatic multiple languages";
|
|
26379
|
+
output_format: "srt" | "vtt" | "json" | "txt" | "plain";
|
|
26380
26380
|
video_url: string;
|
|
26381
26381
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26382
26382
|
video?: File | undefined;
|
|
@@ -26394,7 +26394,7 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26394
26394
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26395
26395
|
video?: File | undefined;
|
|
26396
26396
|
webhook_url?: string | undefined;
|
|
26397
|
-
language_behaviour?: "automatic single language" | "automatic multiple languages" |
|
|
26397
|
+
language_behaviour?: "manual" | "automatic single language" | "automatic multiple languages" | undefined;
|
|
26398
26398
|
transcription_hint?: string | undefined;
|
|
26399
26399
|
toggle_diarization?: boolean | undefined;
|
|
26400
26400
|
diarization_num_speakers?: number | undefined;
|
|
@@ -26402,7 +26402,7 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26402
26402
|
diarization_max_speakers?: number | undefined;
|
|
26403
26403
|
toggle_direct_translate?: boolean | undefined;
|
|
26404
26404
|
target_translation_language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | "wolof" | undefined;
|
|
26405
|
-
output_format?: "srt" | "vtt" | "json" | "
|
|
26405
|
+
output_format?: "srt" | "vtt" | "json" | "txt" | "plain" | undefined;
|
|
26406
26406
|
toggle_noise_reduction?: boolean | undefined;
|
|
26407
26407
|
toggle_accurate_words_timestamps?: boolean | undefined;
|
|
26408
26408
|
video_url?: string | undefined;
|
|
@@ -31048,9 +31048,9 @@ declare const historyControllerGetListV1Response: z.ZodObject<{
|
|
|
31048
31048
|
} | null | undefined;
|
|
31049
31049
|
}>]>, "many">;
|
|
31050
31050
|
}, "strip", z.ZodTypeAny, {
|
|
31051
|
+
next: string | null;
|
|
31051
31052
|
first: string;
|
|
31052
31053
|
current: string;
|
|
31053
|
-
next: string | null;
|
|
31054
31054
|
items: ({
|
|
31055
31055
|
status: "queued" | "processing" | "done" | "error";
|
|
31056
31056
|
id: string;
|
|
@@ -31630,9 +31630,9 @@ declare const historyControllerGetListV1Response: z.ZodObject<{
|
|
|
31630
31630
|
} | null | undefined;
|
|
31631
31631
|
})[];
|
|
31632
31632
|
}, {
|
|
31633
|
+
next: string | null;
|
|
31633
31634
|
first: string;
|
|
31634
31635
|
current: string;
|
|
31635
|
-
next: string | null;
|
|
31636
31636
|
items: ({
|
|
31637
31637
|
status: "queued" | "processing" | "done" | "error";
|
|
31638
31638
|
id: string;
|
|
@@ -34585,9 +34585,9 @@ declare const streamingControllerGetStreamingJobsV2Response: z.ZodObject<{
|
|
|
34585
34585
|
} | null | undefined;
|
|
34586
34586
|
}>, "many">;
|
|
34587
34587
|
}, "strip", z.ZodTypeAny, {
|
|
34588
|
+
next: string | null;
|
|
34588
34589
|
first: string;
|
|
34589
34590
|
current: string;
|
|
34590
|
-
next: string | null;
|
|
34591
34591
|
items: {
|
|
34592
34592
|
status: "queued" | "processing" | "done" | "error";
|
|
34593
34593
|
id: string;
|
|
@@ -34820,9 +34820,9 @@ declare const streamingControllerGetStreamingJobsV2Response: z.ZodObject<{
|
|
|
34820
34820
|
} | null | undefined;
|
|
34821
34821
|
}[];
|
|
34822
34822
|
}, {
|
|
34823
|
+
next: string | null;
|
|
34823
34824
|
first: string;
|
|
34824
34825
|
current: string;
|
|
34825
|
-
next: string | null;
|
|
34826
34826
|
items: {
|
|
34827
34827
|
status: "queued" | "processing" | "done" | "error";
|
|
34828
34828
|
id: string;
|
|
@@ -42442,6 +42442,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42442
42442
|
enable_partials: z.ZodOptional<z.ZodBoolean>;
|
|
42443
42443
|
enable_entities: z.ZodOptional<z.ZodBoolean>;
|
|
42444
42444
|
operating_point: z.ZodOptional<z.ZodEnum<["standard", "enhanced"]>>;
|
|
42445
|
+
channel_diarization_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42445
42446
|
}, "strip", z.ZodTypeAny, {
|
|
42446
42447
|
language: string;
|
|
42447
42448
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -42452,6 +42453,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42452
42453
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
42453
42454
|
max_delay?: number | undefined;
|
|
42454
42455
|
enable_partials?: boolean | undefined;
|
|
42456
|
+
channel_diarization_labels?: string[] | undefined;
|
|
42455
42457
|
}, {
|
|
42456
42458
|
language: string;
|
|
42457
42459
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -42462,6 +42464,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42462
42464
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
42463
42465
|
max_delay?: number | undefined;
|
|
42464
42466
|
enable_partials?: boolean | undefined;
|
|
42467
|
+
channel_diarization_labels?: string[] | undefined;
|
|
42465
42468
|
}>;
|
|
42466
42469
|
/**
|
|
42467
42470
|
* Speechmatics mid-session update params
|
|
@@ -45461,6 +45464,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45461
45464
|
enable_partials: z.ZodOptional<z.ZodBoolean>;
|
|
45462
45465
|
enable_entities: z.ZodOptional<z.ZodBoolean>;
|
|
45463
45466
|
operating_point: z.ZodOptional<z.ZodEnum<["standard", "enhanced"]>>;
|
|
45467
|
+
channel_diarization_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45464
45468
|
}, "strip", z.ZodTypeAny, {
|
|
45465
45469
|
language: string;
|
|
45466
45470
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -45471,6 +45475,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45471
45475
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
45472
45476
|
max_delay?: number | undefined;
|
|
45473
45477
|
enable_partials?: boolean | undefined;
|
|
45478
|
+
channel_diarization_labels?: string[] | undefined;
|
|
45474
45479
|
}, {
|
|
45475
45480
|
language: string;
|
|
45476
45481
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -45481,6 +45486,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45481
45486
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
45482
45487
|
max_delay?: number | undefined;
|
|
45483
45488
|
enable_partials?: boolean | undefined;
|
|
45489
|
+
channel_diarization_labels?: string[] | undefined;
|
|
45484
45490
|
}>;
|
|
45485
45491
|
/** Zod schema for Speechmatics streaming updates */
|
|
45486
45492
|
declare const SpeechmaticsStreamingUpdateSchema: z.ZodObject<{
|
|
@@ -3980,13 +3980,13 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
3980
3980
|
}, "strip", z.ZodTypeAny, {
|
|
3981
3981
|
language?: string | undefined;
|
|
3982
3982
|
version?: string | undefined;
|
|
3983
|
-
name?: string | undefined;
|
|
3984
3983
|
model_id?: string | undefined;
|
|
3984
|
+
name?: string | undefined;
|
|
3985
3985
|
}, {
|
|
3986
3986
|
language?: string | undefined;
|
|
3987
3987
|
version?: string | undefined;
|
|
3988
|
-
name?: string | undefined;
|
|
3989
3988
|
model_id?: string | undefined;
|
|
3989
|
+
name?: string | undefined;
|
|
3990
3990
|
}>, "many">>;
|
|
3991
3991
|
processing_methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3992
3992
|
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3995,8 +3995,8 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
3995
3995
|
models?: {
|
|
3996
3996
|
language?: string | undefined;
|
|
3997
3997
|
version?: string | undefined;
|
|
3998
|
-
name?: string | undefined;
|
|
3999
3998
|
model_id?: string | undefined;
|
|
3999
|
+
name?: string | undefined;
|
|
4000
4000
|
}[] | undefined;
|
|
4001
4001
|
processing_methods?: string[] | undefined;
|
|
4002
4002
|
features?: string[] | undefined;
|
|
@@ -4005,8 +4005,8 @@ declare const manageV1ProjectsUsageFieldsListResponse: z.ZodObject<{
|
|
|
4005
4005
|
models?: {
|
|
4006
4006
|
language?: string | undefined;
|
|
4007
4007
|
version?: string | undefined;
|
|
4008
|
-
name?: string | undefined;
|
|
4009
4008
|
model_id?: string | undefined;
|
|
4009
|
+
name?: string | undefined;
|
|
4010
4010
|
}[] | undefined;
|
|
4011
4011
|
processing_methods?: string[] | undefined;
|
|
4012
4012
|
features?: string[] | undefined;
|
|
@@ -12018,9 +12018,9 @@ declare const preRecordedControllerGetPreRecordedJobsV2Response: z.ZodObject<{
|
|
|
12018
12018
|
} | null | undefined;
|
|
12019
12019
|
}>, "many">;
|
|
12020
12020
|
}, "strip", z.ZodTypeAny, {
|
|
12021
|
+
next: string | null;
|
|
12021
12022
|
first: string;
|
|
12022
12023
|
current: string;
|
|
12023
|
-
next: string | null;
|
|
12024
12024
|
items: {
|
|
12025
12025
|
status: "queued" | "processing" | "done" | "error";
|
|
12026
12026
|
id: string;
|
|
@@ -12370,9 +12370,9 @@ declare const preRecordedControllerGetPreRecordedJobsV2Response: z.ZodObject<{
|
|
|
12370
12370
|
} | null | undefined;
|
|
12371
12371
|
}[];
|
|
12372
12372
|
}, {
|
|
12373
|
+
next: string | null;
|
|
12373
12374
|
first: string;
|
|
12374
12375
|
current: string;
|
|
12375
|
-
next: string | null;
|
|
12376
12376
|
items: {
|
|
12377
12377
|
status: "queued" | "processing" | "done" | "error";
|
|
12378
12378
|
id: string;
|
|
@@ -20499,9 +20499,9 @@ declare const transcriptionControllerListV2Response: z.ZodObject<{
|
|
|
20499
20499
|
} | null | undefined;
|
|
20500
20500
|
}>]>, "many">;
|
|
20501
20501
|
}, "strip", z.ZodTypeAny, {
|
|
20502
|
+
next: string | null;
|
|
20502
20503
|
first: string;
|
|
20503
20504
|
current: string;
|
|
20504
|
-
next: string | null;
|
|
20505
20505
|
items: ({
|
|
20506
20506
|
status: "queued" | "processing" | "done" | "error";
|
|
20507
20507
|
id: string;
|
|
@@ -21081,9 +21081,9 @@ declare const transcriptionControllerListV2Response: z.ZodObject<{
|
|
|
21081
21081
|
} | null | undefined;
|
|
21082
21082
|
})[];
|
|
21083
21083
|
}, {
|
|
21084
|
+
next: string | null;
|
|
21084
21085
|
first: string;
|
|
21085
21086
|
current: string;
|
|
21086
|
-
next: string | null;
|
|
21087
21087
|
items: ({
|
|
21088
21088
|
status: "queued" | "processing" | "done" | "error";
|
|
21089
21089
|
id: string;
|
|
@@ -26320,8 +26320,8 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26320
26320
|
webhook_url: z.ZodOptional<z.ZodString>;
|
|
26321
26321
|
}, "strip", z.ZodTypeAny, {
|
|
26322
26322
|
audio_url: string;
|
|
26323
|
-
language_behaviour: "automatic single language" | "automatic multiple languages"
|
|
26324
|
-
output_format: "srt" | "vtt" | "json" | "
|
|
26323
|
+
language_behaviour: "manual" | "automatic single language" | "automatic multiple languages";
|
|
26324
|
+
output_format: "srt" | "vtt" | "json" | "txt" | "plain";
|
|
26325
26325
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26326
26326
|
webhook_url?: string | undefined;
|
|
26327
26327
|
audio?: File | undefined;
|
|
@@ -26339,7 +26339,7 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26339
26339
|
audio_url?: string | undefined;
|
|
26340
26340
|
webhook_url?: string | undefined;
|
|
26341
26341
|
audio?: File | undefined;
|
|
26342
|
-
language_behaviour?: "automatic single language" | "automatic multiple languages" |
|
|
26342
|
+
language_behaviour?: "manual" | "automatic single language" | "automatic multiple languages" | undefined;
|
|
26343
26343
|
transcription_hint?: string | undefined;
|
|
26344
26344
|
toggle_diarization?: boolean | undefined;
|
|
26345
26345
|
diarization_num_speakers?: number | undefined;
|
|
@@ -26347,7 +26347,7 @@ declare const audioToTextControllerAudioTranscriptionBody: z.ZodObject<{
|
|
|
26347
26347
|
diarization_max_speakers?: number | undefined;
|
|
26348
26348
|
toggle_direct_translate?: boolean | undefined;
|
|
26349
26349
|
target_translation_language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | "wolof" | undefined;
|
|
26350
|
-
output_format?: "srt" | "vtt" | "json" | "
|
|
26350
|
+
output_format?: "srt" | "vtt" | "json" | "txt" | "plain" | undefined;
|
|
26351
26351
|
toggle_noise_reduction?: boolean | undefined;
|
|
26352
26352
|
toggle_accurate_words_timestamps?: boolean | undefined;
|
|
26353
26353
|
}>;
|
|
@@ -26375,8 +26375,8 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26375
26375
|
toggle_accurate_words_timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
26376
26376
|
webhook_url: z.ZodOptional<z.ZodString>;
|
|
26377
26377
|
}, "strip", z.ZodTypeAny, {
|
|
26378
|
-
language_behaviour: "automatic single language" | "automatic multiple languages"
|
|
26379
|
-
output_format: "srt" | "vtt" | "json" | "
|
|
26378
|
+
language_behaviour: "manual" | "automatic single language" | "automatic multiple languages";
|
|
26379
|
+
output_format: "srt" | "vtt" | "json" | "txt" | "plain";
|
|
26380
26380
|
video_url: string;
|
|
26381
26381
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26382
26382
|
video?: File | undefined;
|
|
@@ -26394,7 +26394,7 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26394
26394
|
language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | undefined;
|
|
26395
26395
|
video?: File | undefined;
|
|
26396
26396
|
webhook_url?: string | undefined;
|
|
26397
|
-
language_behaviour?: "automatic single language" | "automatic multiple languages" |
|
|
26397
|
+
language_behaviour?: "manual" | "automatic single language" | "automatic multiple languages" | undefined;
|
|
26398
26398
|
transcription_hint?: string | undefined;
|
|
26399
26399
|
toggle_diarization?: boolean | undefined;
|
|
26400
26400
|
diarization_num_speakers?: number | undefined;
|
|
@@ -26402,7 +26402,7 @@ declare const videoToTextControllerVideoTranscriptionBody: z.ZodObject<{
|
|
|
26402
26402
|
diarization_max_speakers?: number | undefined;
|
|
26403
26403
|
toggle_direct_translate?: boolean | undefined;
|
|
26404
26404
|
target_translation_language?: "english" | "afrikaans" | "albanian" | "amharic" | "arabic" | "armenian" | "assamese" | "azerbaijani" | "bashkir" | "basque" | "belarusian" | "bengali" | "bosnian" | "breton" | "bulgarian" | "catalan" | "chinese" | "croatian" | "czech" | "danish" | "dutch" | "estonian" | "faroese" | "finnish" | "french" | "galician" | "georgian" | "german" | "greek" | "gujarati" | "haitian creole" | "hausa" | "hawaiian" | "hebrew" | "hindi" | "hungarian" | "icelandic" | "indonesian" | "italian" | "japanese" | "javanese" | "kannada" | "kazakh" | "khmer" | "korean" | "lao" | "latin" | "latvian" | "lingala" | "lithuanian" | "luxembourgish" | "macedonian" | "malagasy" | "malay" | "malayalam" | "maltese" | "maori" | "marathi" | "mongolian" | "myanmar" | "nepali" | "norwegian" | "nynorsk" | "occitan" | "pashto" | "persian" | "polish" | "portuguese" | "punjabi" | "romanian" | "russian" | "sanskrit" | "serbian" | "shona" | "sindhi" | "sinhala" | "slovak" | "slovenian" | "somali" | "spanish" | "sundanese" | "swahili" | "swedish" | "tagalog" | "tajik" | "tamil" | "tatar" | "telugu" | "thai" | "tibetan" | "turkish" | "turkmen" | "ukrainian" | "urdu" | "uzbek" | "vietnamese" | "welsh" | "yiddish" | "yoruba" | "wolof" | undefined;
|
|
26405
|
-
output_format?: "srt" | "vtt" | "json" | "
|
|
26405
|
+
output_format?: "srt" | "vtt" | "json" | "txt" | "plain" | undefined;
|
|
26406
26406
|
toggle_noise_reduction?: boolean | undefined;
|
|
26407
26407
|
toggle_accurate_words_timestamps?: boolean | undefined;
|
|
26408
26408
|
video_url?: string | undefined;
|
|
@@ -31048,9 +31048,9 @@ declare const historyControllerGetListV1Response: z.ZodObject<{
|
|
|
31048
31048
|
} | null | undefined;
|
|
31049
31049
|
}>]>, "many">;
|
|
31050
31050
|
}, "strip", z.ZodTypeAny, {
|
|
31051
|
+
next: string | null;
|
|
31051
31052
|
first: string;
|
|
31052
31053
|
current: string;
|
|
31053
|
-
next: string | null;
|
|
31054
31054
|
items: ({
|
|
31055
31055
|
status: "queued" | "processing" | "done" | "error";
|
|
31056
31056
|
id: string;
|
|
@@ -31630,9 +31630,9 @@ declare const historyControllerGetListV1Response: z.ZodObject<{
|
|
|
31630
31630
|
} | null | undefined;
|
|
31631
31631
|
})[];
|
|
31632
31632
|
}, {
|
|
31633
|
+
next: string | null;
|
|
31633
31634
|
first: string;
|
|
31634
31635
|
current: string;
|
|
31635
|
-
next: string | null;
|
|
31636
31636
|
items: ({
|
|
31637
31637
|
status: "queued" | "processing" | "done" | "error";
|
|
31638
31638
|
id: string;
|
|
@@ -34585,9 +34585,9 @@ declare const streamingControllerGetStreamingJobsV2Response: z.ZodObject<{
|
|
|
34585
34585
|
} | null | undefined;
|
|
34586
34586
|
}>, "many">;
|
|
34587
34587
|
}, "strip", z.ZodTypeAny, {
|
|
34588
|
+
next: string | null;
|
|
34588
34589
|
first: string;
|
|
34589
34590
|
current: string;
|
|
34590
|
-
next: string | null;
|
|
34591
34591
|
items: {
|
|
34592
34592
|
status: "queued" | "processing" | "done" | "error";
|
|
34593
34593
|
id: string;
|
|
@@ -34820,9 +34820,9 @@ declare const streamingControllerGetStreamingJobsV2Response: z.ZodObject<{
|
|
|
34820
34820
|
} | null | undefined;
|
|
34821
34821
|
}[];
|
|
34822
34822
|
}, {
|
|
34823
|
+
next: string | null;
|
|
34823
34824
|
first: string;
|
|
34824
34825
|
current: string;
|
|
34825
|
-
next: string | null;
|
|
34826
34826
|
items: {
|
|
34827
34827
|
status: "queued" | "processing" | "done" | "error";
|
|
34828
34828
|
id: string;
|
|
@@ -42442,6 +42442,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42442
42442
|
enable_partials: z.ZodOptional<z.ZodBoolean>;
|
|
42443
42443
|
enable_entities: z.ZodOptional<z.ZodBoolean>;
|
|
42444
42444
|
operating_point: z.ZodOptional<z.ZodEnum<["standard", "enhanced"]>>;
|
|
42445
|
+
channel_diarization_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42445
42446
|
}, "strip", z.ZodTypeAny, {
|
|
42446
42447
|
language: string;
|
|
42447
42448
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -42452,6 +42453,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42452
42453
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
42453
42454
|
max_delay?: number | undefined;
|
|
42454
42455
|
enable_partials?: boolean | undefined;
|
|
42456
|
+
channel_diarization_labels?: string[] | undefined;
|
|
42455
42457
|
}, {
|
|
42456
42458
|
language: string;
|
|
42457
42459
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -42462,6 +42464,7 @@ declare const streamingTranscriberParams$1: z.ZodObject<{
|
|
|
42462
42464
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
42463
42465
|
max_delay?: number | undefined;
|
|
42464
42466
|
enable_partials?: boolean | undefined;
|
|
42467
|
+
channel_diarization_labels?: string[] | undefined;
|
|
42465
42468
|
}>;
|
|
42466
42469
|
/**
|
|
42467
42470
|
* Speechmatics mid-session update params
|
|
@@ -45461,6 +45464,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45461
45464
|
enable_partials: z.ZodOptional<z.ZodBoolean>;
|
|
45462
45465
|
enable_entities: z.ZodOptional<z.ZodBoolean>;
|
|
45463
45466
|
operating_point: z.ZodOptional<z.ZodEnum<["standard", "enhanced"]>>;
|
|
45467
|
+
channel_diarization_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45464
45468
|
}, "strip", z.ZodTypeAny, {
|
|
45465
45469
|
language: string;
|
|
45466
45470
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -45471,6 +45475,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45471
45475
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
45472
45476
|
max_delay?: number | undefined;
|
|
45473
45477
|
enable_partials?: boolean | undefined;
|
|
45478
|
+
channel_diarization_labels?: string[] | undefined;
|
|
45474
45479
|
}, {
|
|
45475
45480
|
language: string;
|
|
45476
45481
|
encoding?: "mulaw" | "pcm_s16le" | "pcm_f32le" | undefined;
|
|
@@ -45481,6 +45486,7 @@ declare const SpeechmaticsStreamingSchema: z.ZodObject<{
|
|
|
45481
45486
|
max_delay_mode?: "fixed" | "flexible" | undefined;
|
|
45482
45487
|
max_delay?: number | undefined;
|
|
45483
45488
|
enable_partials?: boolean | undefined;
|
|
45489
|
+
channel_diarization_labels?: string[] | undefined;
|
|
45484
45490
|
}>;
|
|
45485
45491
|
/** Zod schema for Speechmatics streaming updates */
|
|
45486
45492
|
declare const SpeechmaticsStreamingUpdateSchema: z.ZodObject<{
|
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-CDVygOte.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-CDVygOte.js';
|
package/dist/field-configs.js
CHANGED
|
@@ -25141,7 +25141,8 @@ var speechmaticsTranscriptionConfigSchema = import_zod8.z.object({
|
|
|
25141
25141
|
enable_entities: import_zod8.z.boolean().optional(),
|
|
25142
25142
|
operating_point: import_zod8.z.enum(["standard", "enhanced"]).optional(),
|
|
25143
25143
|
punctuation_overrides: import_zod8.z.unknown().optional(),
|
|
25144
|
-
conversation_config: import_zod8.z.unknown().optional()
|
|
25144
|
+
conversation_config: import_zod8.z.unknown().optional(),
|
|
25145
|
+
channel_diarization_labels: import_zod8.z.array(import_zod8.z.string()).optional()
|
|
25145
25146
|
});
|
|
25146
25147
|
var speechmaticsMidSessionConfigSchema = import_zod8.z.object({
|
|
25147
25148
|
language: import_zod8.z.string().optional().describe(
|
|
@@ -25158,18 +25159,19 @@ var speechmaticsMidSessionConfigSchema = import_zod8.z.object({
|
|
|
25158
25159
|
conversation_config: import_zod8.z.unknown().optional()
|
|
25159
25160
|
});
|
|
25160
25161
|
var speechmaticsSpeakerDiarizationConfigSchema = import_zod8.z.object({
|
|
25161
|
-
max_speakers: import_zod8.z.number().min(2).
|
|
25162
|
+
max_speakers: import_zod8.z.number().min(2).optional().describe(
|
|
25162
25163
|
"Configure the maximum number of speakers to detect. See [Max Speakers](http://docs.speechmatics.com/speech-to-text/features/diarization#max-speakers)."
|
|
25163
25164
|
),
|
|
25164
25165
|
prefer_current_speaker: import_zod8.z.boolean().optional().describe(
|
|
25165
25166
|
"When set to `true`, reduces the likelihood of incorrectly switching between similar sounding speakers. See [Prefer Current Speaker](https://docs.speechmatics.com/speech-to-text/features/diarization#prefer-current-speaker)."
|
|
25166
25167
|
),
|
|
25167
25168
|
speaker_sensitivity: import_zod8.z.number().min(0).max(1).optional(),
|
|
25169
|
+
get_speakers: import_zod8.z.boolean().optional().describe("If true, speaker identifiers will be returned at the end of transcript."),
|
|
25168
25170
|
speakers: import_zod8.z.array(
|
|
25169
25171
|
import_zod8.z.unknown()
|
|
25170
25172
|
/* TODO: resolve SpeakersInputItem */
|
|
25171
25173
|
).optional().describe(
|
|
25172
|
-
"Use this option to provide speaker labels linked to their speaker identifiers. When passed, the transcription system will tag spoken words in the transcript with the provided speaker labels whenever any of the specified speakers is detected in the audio.
|
|
25174
|
+
"Use this option to provide speaker labels linked to their speaker identifiers. When passed, the transcription system will tag spoken words in the transcript with the provided speaker labels whenever any of the specified speakers is detected in the audio. A maximum of 50 speakers identifiers across all speakers can be provided."
|
|
25173
25175
|
)
|
|
25174
25176
|
});
|
|
25175
25177
|
var speechmaticsConversationConfigSchema = import_zod8.z.object({
|
|
@@ -25195,7 +25197,8 @@ var streamingTranscriberParams2 = import_zod8.z.object({
|
|
|
25195
25197
|
"Whether or not to send Partials (i.e. `AddPartialTranslation` messages) as well as Finals (i.e. `AddTranslation` messages) See [Partial transcripts](https://docs.speechmatics.com/speech-to-text/realtime/output#partial-transcripts)."
|
|
25196
25198
|
),
|
|
25197
25199
|
enable_entities: import_zod8.z.boolean().optional(),
|
|
25198
|
-
operating_point: import_zod8.z.enum(["standard", "enhanced"]).optional()
|
|
25200
|
+
operating_point: import_zod8.z.enum(["standard", "enhanced"]).optional(),
|
|
25201
|
+
channel_diarization_labels: import_zod8.z.array(import_zod8.z.string()).optional()
|
|
25199
25202
|
});
|
|
25200
25203
|
var streamingUpdateConfigParams2 = import_zod8.z.object({
|
|
25201
25204
|
language: import_zod8.z.string().optional().describe(
|
package/dist/field-configs.mjs
CHANGED
|
@@ -25066,7 +25066,8 @@ var speechmaticsTranscriptionConfigSchema = zod8.object({
|
|
|
25066
25066
|
enable_entities: zod8.boolean().optional(),
|
|
25067
25067
|
operating_point: zod8.enum(["standard", "enhanced"]).optional(),
|
|
25068
25068
|
punctuation_overrides: zod8.unknown().optional(),
|
|
25069
|
-
conversation_config: zod8.unknown().optional()
|
|
25069
|
+
conversation_config: zod8.unknown().optional(),
|
|
25070
|
+
channel_diarization_labels: zod8.array(zod8.string()).optional()
|
|
25070
25071
|
});
|
|
25071
25072
|
var speechmaticsMidSessionConfigSchema = zod8.object({
|
|
25072
25073
|
language: zod8.string().optional().describe(
|
|
@@ -25083,18 +25084,19 @@ var speechmaticsMidSessionConfigSchema = zod8.object({
|
|
|
25083
25084
|
conversation_config: zod8.unknown().optional()
|
|
25084
25085
|
});
|
|
25085
25086
|
var speechmaticsSpeakerDiarizationConfigSchema = zod8.object({
|
|
25086
|
-
max_speakers: zod8.number().min(2).
|
|
25087
|
+
max_speakers: zod8.number().min(2).optional().describe(
|
|
25087
25088
|
"Configure the maximum number of speakers to detect. See [Max Speakers](http://docs.speechmatics.com/speech-to-text/features/diarization#max-speakers)."
|
|
25088
25089
|
),
|
|
25089
25090
|
prefer_current_speaker: zod8.boolean().optional().describe(
|
|
25090
25091
|
"When set to `true`, reduces the likelihood of incorrectly switching between similar sounding speakers. See [Prefer Current Speaker](https://docs.speechmatics.com/speech-to-text/features/diarization#prefer-current-speaker)."
|
|
25091
25092
|
),
|
|
25092
25093
|
speaker_sensitivity: zod8.number().min(0).max(1).optional(),
|
|
25094
|
+
get_speakers: zod8.boolean().optional().describe("If true, speaker identifiers will be returned at the end of transcript."),
|
|
25093
25095
|
speakers: zod8.array(
|
|
25094
25096
|
zod8.unknown()
|
|
25095
25097
|
/* TODO: resolve SpeakersInputItem */
|
|
25096
25098
|
).optional().describe(
|
|
25097
|
-
"Use this option to provide speaker labels linked to their speaker identifiers. When passed, the transcription system will tag spoken words in the transcript with the provided speaker labels whenever any of the specified speakers is detected in the audio.
|
|
25099
|
+
"Use this option to provide speaker labels linked to their speaker identifiers. When passed, the transcription system will tag spoken words in the transcript with the provided speaker labels whenever any of the specified speakers is detected in the audio. A maximum of 50 speakers identifiers across all speakers can be provided."
|
|
25098
25100
|
)
|
|
25099
25101
|
});
|
|
25100
25102
|
var speechmaticsConversationConfigSchema = zod8.object({
|
|
@@ -25120,7 +25122,8 @@ var streamingTranscriberParams2 = zod8.object({
|
|
|
25120
25122
|
"Whether or not to send Partials (i.e. `AddPartialTranslation` messages) as well as Finals (i.e. `AddTranslation` messages) See [Partial transcripts](https://docs.speechmatics.com/speech-to-text/realtime/output#partial-transcripts)."
|
|
25121
25123
|
),
|
|
25122
25124
|
enable_entities: zod8.boolean().optional(),
|
|
25123
|
-
operating_point: zod8.enum(["standard", "enhanced"]).optional()
|
|
25125
|
+
operating_point: zod8.enum(["standard", "enhanced"]).optional(),
|
|
25126
|
+
channel_diarization_labels: zod8.array(zod8.string()).optional()
|
|
25124
25127
|
});
|
|
25125
25128
|
var streamingUpdateConfigParams2 = zod8.object({
|
|
25126
25129
|
language: zod8.string().optional().describe(
|