@volley/recognition-client-sdk 0.1.621 → 0.1.670
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/browser.bundled.d.ts +36 -3
- package/dist/index.bundled.d.ts +88 -49
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -11
- package/dist/index.js.map +3 -3
- package/dist/recog-client-sdk.browser.js +29 -10
- package/dist/recog-client-sdk.browser.js.map +3 -3
- package/dist/vgf-recognition-mapper.d.ts.map +1 -1
- package/dist/vgf-recognition-state.d.ts +6 -0
- package/dist/vgf-recognition-state.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.spec.ts +11 -0
- package/src/index.ts +4 -0
- package/src/recognition-client.ts +8 -8
- package/src/utils/message-handler.ts +1 -1
- package/src/vgf-recognition-mapper.ts +19 -1
- package/src/vgf-recognition-state.ts +4 -0
package/dist/index.bundled.d.ts
CHANGED
|
@@ -12,11 +12,14 @@ declare enum RecognitionProvider {
|
|
|
12
12
|
DEEPGRAM = "deepgram",
|
|
13
13
|
ELEVENLABS = "elevenlabs",
|
|
14
14
|
FIREWORKS = "fireworks",
|
|
15
|
+
GLADIA = "gladia",
|
|
15
16
|
GOOGLE = "google",
|
|
16
17
|
GEMINI_BATCH = "gemini-batch",
|
|
17
18
|
OPENAI_BATCH = "openai-batch",
|
|
19
|
+
SELF_SERVE_VLLM = "self-serve-vllm",
|
|
18
20
|
OPENAI_REALTIME = "openai-realtime",
|
|
19
21
|
MISTRAL_VOXTRAL = "mistral-voxtral",
|
|
22
|
+
CARTESIA = "cartesia",
|
|
20
23
|
DASHSCOPE = "dashscope",
|
|
21
24
|
TEST_ASR_PROVIDER_QUOTA = "test-asr-provider-quota",
|
|
22
25
|
TEST_ASR_STREAMING = "test-asr-streaming"
|
|
@@ -67,6 +70,13 @@ declare enum FireworksModel {
|
|
|
67
70
|
WHISPER_V3 = "whisper-v3",
|
|
68
71
|
WHISPER_V3_TURBO = "whisper-v3-turbo"
|
|
69
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* Gladia Solaria realtime transcription models
|
|
75
|
+
* @see https://docs.gladia.io/api-reference/v2/live/init
|
|
76
|
+
*/
|
|
77
|
+
declare enum GladiaModel {
|
|
78
|
+
SOLARIA_1 = "solaria-1"
|
|
79
|
+
}
|
|
70
80
|
/**
|
|
71
81
|
* ElevenLabs Scribe models for speech-to-text
|
|
72
82
|
* @see https://elevenlabs.io/blog/introducing-scribe-v2-realtime
|
|
@@ -74,8 +84,7 @@ declare enum FireworksModel {
|
|
|
74
84
|
* @see https://elevenlabs.io/docs/api-reference/speech-to-text/convert
|
|
75
85
|
*/
|
|
76
86
|
declare enum ElevenLabsModel {
|
|
77
|
-
SCRIBE_V2_REALTIME = "scribe_v2_realtime"
|
|
78
|
-
SCRIBE_V1 = "scribe_v1"
|
|
87
|
+
SCRIBE_V2_REALTIME = "scribe_v2_realtime"
|
|
79
88
|
}
|
|
80
89
|
/**
|
|
81
90
|
* OpenAI Realtime API transcription models
|
|
@@ -94,6 +103,14 @@ declare enum OpenAIRealtimeModel {
|
|
|
94
103
|
declare enum MistralVoxtralModel {
|
|
95
104
|
VOXTRAL_MINI_REALTIME_2602 = "voxtral-mini-transcribe-realtime-2602"
|
|
96
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Cartesia Ink-Whisper Realtime transcription models
|
|
108
|
+
* @see https://docs.cartesia.ai/build-with-cartesia/stt-models
|
|
109
|
+
*/
|
|
110
|
+
declare enum CartesiaModel {
|
|
111
|
+
INK_WHISPER = "ink-whisper",
|
|
112
|
+
INK_WHISPER_20250604 = "ink-whisper-2025-06-04"
|
|
113
|
+
}
|
|
97
114
|
/**
|
|
98
115
|
* DashScope Qwen-ASR Realtime transcription models
|
|
99
116
|
* @see https://www.alibabacloud.com/help/en/model-studio/qwen-real-time-speech-recognition
|
|
@@ -102,10 +119,17 @@ declare enum DashScopeModel {
|
|
|
102
119
|
QWEN3_ASR_FLASH_REALTIME_2602 = "qwen3-asr-flash-realtime-2026-02-10",
|
|
103
120
|
QWEN3_ASR_FLASH_REALTIME = "qwen3-asr-flash-realtime"
|
|
104
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Self-serve vLLM batch transcription models
|
|
124
|
+
* Backed by recognition-inference / RunPod `/transcribe`
|
|
125
|
+
*/
|
|
126
|
+
declare enum SelfServeVllmModel {
|
|
127
|
+
QWEN3_ASR_1_7B = "qwen3-asr-1.7b"
|
|
128
|
+
}
|
|
105
129
|
/**
|
|
106
130
|
* Type alias for any model from any provider
|
|
107
131
|
*/
|
|
108
|
-
type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | DashScopeModel | string;
|
|
132
|
+
type RecognitionModel = DeepgramModel | GoogleModel | FireworksModel | GladiaModel | ElevenLabsModel | OpenAIRealtimeModel | MistralVoxtralModel | CartesiaModel | DashScopeModel | SelfServeVllmModel | string;
|
|
109
133
|
|
|
110
134
|
/**
|
|
111
135
|
* Audio encoding types
|
|
@@ -260,6 +284,7 @@ declare const TranscriptionResultSchemaV1: z.ZodObject<{
|
|
|
260
284
|
voiceStart: z.ZodOptional<z.ZodNumber>;
|
|
261
285
|
voiceDuration: z.ZodOptional<z.ZodNumber>;
|
|
262
286
|
voiceEnd: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
lastNonSilence: z.ZodOptional<z.ZodNumber>;
|
|
263
288
|
startTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
264
289
|
endTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
265
290
|
receivedAtMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -278,6 +303,7 @@ declare const TranscriptionResultSchemaV1: z.ZodObject<{
|
|
|
278
303
|
voiceStart?: number | undefined;
|
|
279
304
|
voiceDuration?: number | undefined;
|
|
280
305
|
voiceEnd?: number | undefined;
|
|
306
|
+
lastNonSilence?: number | undefined;
|
|
281
307
|
startTimestamp?: number | undefined;
|
|
282
308
|
endTimestamp?: number | undefined;
|
|
283
309
|
receivedAtMs?: number | undefined;
|
|
@@ -296,6 +322,7 @@ declare const TranscriptionResultSchemaV1: z.ZodObject<{
|
|
|
296
322
|
voiceStart?: number | undefined;
|
|
297
323
|
voiceDuration?: number | undefined;
|
|
298
324
|
voiceEnd?: number | undefined;
|
|
325
|
+
lastNonSilence?: number | undefined;
|
|
299
326
|
startTimestamp?: number | undefined;
|
|
300
327
|
endTimestamp?: number | undefined;
|
|
301
328
|
receivedAtMs?: number | undefined;
|
|
@@ -366,6 +393,8 @@ declare const MetadataResultSchemaV1: z.ZodObject<{
|
|
|
366
393
|
rawAudioTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
367
394
|
costInUSD: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
368
395
|
apiType: z.ZodOptional<z.ZodNativeEnum<typeof ASRApiType>>;
|
|
396
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
397
|
+
model: z.ZodOptional<z.ZodString>;
|
|
369
398
|
asrConfig: z.ZodOptional<z.ZodString>;
|
|
370
399
|
rawAsrMetadata: z.ZodOptional<z.ZodString>;
|
|
371
400
|
transcriptOutcome: z.ZodOptional<z.ZodNativeEnum<typeof TranscriptOutcomeType>>;
|
|
@@ -420,6 +449,8 @@ declare const MetadataResultSchemaV1: z.ZodObject<{
|
|
|
420
449
|
rawAudioTimeMs?: number | undefined;
|
|
421
450
|
costInUSD?: number | undefined;
|
|
422
451
|
apiType?: ASRApiType | undefined;
|
|
452
|
+
provider?: string | undefined;
|
|
453
|
+
model?: string | undefined;
|
|
423
454
|
asrConfig?: string | undefined;
|
|
424
455
|
rawAsrMetadata?: string | undefined;
|
|
425
456
|
transcriptOutcome?: TranscriptOutcomeType | undefined;
|
|
@@ -450,6 +481,8 @@ declare const MetadataResultSchemaV1: z.ZodObject<{
|
|
|
450
481
|
rawAudioTimeMs?: number | undefined;
|
|
451
482
|
costInUSD?: number | undefined;
|
|
452
483
|
apiType?: ASRApiType | undefined;
|
|
484
|
+
provider?: string | undefined;
|
|
485
|
+
model?: string | undefined;
|
|
453
486
|
asrConfig?: string | undefined;
|
|
454
487
|
rawAsrMetadata?: string | undefined;
|
|
455
488
|
transcriptOutcome?: TranscriptOutcomeType | undefined;
|
|
@@ -537,9 +570,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
|
|
|
537
570
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
538
571
|
message: z.ZodString;
|
|
539
572
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
540
|
-
description: z.ZodOptional<z.ZodString>;
|
|
541
573
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
542
574
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
543
576
|
errorType: z.ZodLiteral<ErrorTypeV1.AUTHENTICATION_ERROR>;
|
|
544
577
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
545
578
|
service: z.ZodOptional<z.ZodString>;
|
|
@@ -550,9 +583,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
|
|
|
550
583
|
isImmediatelyAvailable: false;
|
|
551
584
|
code?: string | number | undefined;
|
|
552
585
|
provider?: RecognitionProvider | undefined;
|
|
553
|
-
description?: string | undefined;
|
|
554
586
|
audioUtteranceId?: string | undefined;
|
|
555
587
|
timestamp?: number | undefined;
|
|
588
|
+
description?: string | undefined;
|
|
556
589
|
service?: string | undefined;
|
|
557
590
|
authMethod?: string | undefined;
|
|
558
591
|
}, {
|
|
@@ -561,9 +594,9 @@ declare const AuthenticationExceptionSchema: z.ZodObject<{
|
|
|
561
594
|
isImmediatelyAvailable: false;
|
|
562
595
|
code?: string | number | undefined;
|
|
563
596
|
provider?: RecognitionProvider | undefined;
|
|
564
|
-
description?: string | undefined;
|
|
565
597
|
audioUtteranceId?: string | undefined;
|
|
566
598
|
timestamp?: number | undefined;
|
|
599
|
+
description?: string | undefined;
|
|
567
600
|
service?: string | undefined;
|
|
568
601
|
authMethod?: string | undefined;
|
|
569
602
|
}>;
|
|
@@ -577,9 +610,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
|
|
|
577
610
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
578
611
|
message: z.ZodString;
|
|
579
612
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
580
|
-
description: z.ZodOptional<z.ZodString>;
|
|
581
613
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
582
614
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
description: z.ZodOptional<z.ZodString>;
|
|
583
616
|
errorType: z.ZodLiteral<ErrorTypeV1.VALIDATION_ERROR>;
|
|
584
617
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
585
618
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -591,9 +624,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
|
|
|
591
624
|
isImmediatelyAvailable: true;
|
|
592
625
|
code?: string | number | undefined;
|
|
593
626
|
provider?: RecognitionProvider | undefined;
|
|
594
|
-
description?: string | undefined;
|
|
595
627
|
audioUtteranceId?: string | undefined;
|
|
596
628
|
timestamp?: number | undefined;
|
|
629
|
+
description?: string | undefined;
|
|
597
630
|
field?: string | undefined;
|
|
598
631
|
expected?: string | undefined;
|
|
599
632
|
received?: string | undefined;
|
|
@@ -603,9 +636,9 @@ declare const ValidationExceptionSchema: z.ZodObject<{
|
|
|
603
636
|
isImmediatelyAvailable: true;
|
|
604
637
|
code?: string | number | undefined;
|
|
605
638
|
provider?: RecognitionProvider | undefined;
|
|
606
|
-
description?: string | undefined;
|
|
607
639
|
audioUtteranceId?: string | undefined;
|
|
608
640
|
timestamp?: number | undefined;
|
|
641
|
+
description?: string | undefined;
|
|
609
642
|
field?: string | undefined;
|
|
610
643
|
expected?: string | undefined;
|
|
611
644
|
received?: string | undefined;
|
|
@@ -619,9 +652,9 @@ type ValidationException = z.infer<typeof ValidationExceptionSchema>;
|
|
|
619
652
|
declare const ProviderExceptionSchema: z.ZodObject<{
|
|
620
653
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
621
654
|
message: z.ZodString;
|
|
622
|
-
description: z.ZodOptional<z.ZodString>;
|
|
623
655
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
624
656
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
657
|
+
description: z.ZodOptional<z.ZodString>;
|
|
625
658
|
errorType: z.ZodLiteral<ErrorTypeV1.PROVIDER_ERROR>;
|
|
626
659
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
627
660
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -632,9 +665,9 @@ declare const ProviderExceptionSchema: z.ZodObject<{
|
|
|
632
665
|
errorType: ErrorTypeV1.PROVIDER_ERROR;
|
|
633
666
|
isImmediatelyAvailable: false;
|
|
634
667
|
code?: string | number | undefined;
|
|
635
|
-
description?: string | undefined;
|
|
636
668
|
audioUtteranceId?: string | undefined;
|
|
637
669
|
timestamp?: number | undefined;
|
|
670
|
+
description?: string | undefined;
|
|
638
671
|
provider?: string | undefined;
|
|
639
672
|
providerErrorCode?: string | number | undefined;
|
|
640
673
|
isTransient?: boolean | undefined;
|
|
@@ -643,9 +676,9 @@ declare const ProviderExceptionSchema: z.ZodObject<{
|
|
|
643
676
|
errorType: ErrorTypeV1.PROVIDER_ERROR;
|
|
644
677
|
isImmediatelyAvailable: false;
|
|
645
678
|
code?: string | number | undefined;
|
|
646
|
-
description?: string | undefined;
|
|
647
679
|
audioUtteranceId?: string | undefined;
|
|
648
680
|
timestamp?: number | undefined;
|
|
681
|
+
description?: string | undefined;
|
|
649
682
|
provider?: string | undefined;
|
|
650
683
|
providerErrorCode?: string | number | undefined;
|
|
651
684
|
isTransient?: boolean | undefined;
|
|
@@ -660,9 +693,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
|
|
|
660
693
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
661
694
|
message: z.ZodString;
|
|
662
695
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
663
|
-
description: z.ZodOptional<z.ZodString>;
|
|
664
696
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
665
697
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
698
|
+
description: z.ZodOptional<z.ZodString>;
|
|
666
699
|
errorType: z.ZodLiteral<ErrorTypeV1.TIMEOUT_ERROR>;
|
|
667
700
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
668
701
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -673,9 +706,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
|
|
|
673
706
|
isImmediatelyAvailable: true;
|
|
674
707
|
code?: string | number | undefined;
|
|
675
708
|
provider?: RecognitionProvider | undefined;
|
|
676
|
-
description?: string | undefined;
|
|
677
709
|
audioUtteranceId?: string | undefined;
|
|
678
710
|
timestamp?: number | undefined;
|
|
711
|
+
description?: string | undefined;
|
|
679
712
|
timeoutMs?: number | undefined;
|
|
680
713
|
operation?: string | undefined;
|
|
681
714
|
}, {
|
|
@@ -684,9 +717,9 @@ declare const TimeoutExceptionSchema: z.ZodObject<{
|
|
|
684
717
|
isImmediatelyAvailable: true;
|
|
685
718
|
code?: string | number | undefined;
|
|
686
719
|
provider?: RecognitionProvider | undefined;
|
|
687
|
-
description?: string | undefined;
|
|
688
720
|
audioUtteranceId?: string | undefined;
|
|
689
721
|
timestamp?: number | undefined;
|
|
722
|
+
description?: string | undefined;
|
|
690
723
|
timeoutMs?: number | undefined;
|
|
691
724
|
operation?: string | undefined;
|
|
692
725
|
}>;
|
|
@@ -700,9 +733,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
|
|
|
700
733
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
701
734
|
message: z.ZodString;
|
|
702
735
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
703
|
-
description: z.ZodOptional<z.ZodString>;
|
|
704
736
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
705
737
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
738
|
+
description: z.ZodOptional<z.ZodString>;
|
|
706
739
|
errorType: z.ZodLiteral<ErrorTypeV1.QUOTA_EXCEEDED>;
|
|
707
740
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
708
741
|
quotaType: z.ZodOptional<z.ZodString>;
|
|
@@ -714,9 +747,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
|
|
|
714
747
|
isImmediatelyAvailable: true;
|
|
715
748
|
code?: string | number | undefined;
|
|
716
749
|
provider?: RecognitionProvider | undefined;
|
|
717
|
-
description?: string | undefined;
|
|
718
750
|
audioUtteranceId?: string | undefined;
|
|
719
751
|
timestamp?: number | undefined;
|
|
752
|
+
description?: string | undefined;
|
|
720
753
|
quotaType?: string | undefined;
|
|
721
754
|
resetAt?: number | undefined;
|
|
722
755
|
retryAfterSeconds?: number | undefined;
|
|
@@ -726,9 +759,9 @@ declare const QuotaExceededExceptionSchema: z.ZodObject<{
|
|
|
726
759
|
isImmediatelyAvailable: true;
|
|
727
760
|
code?: string | number | undefined;
|
|
728
761
|
provider?: RecognitionProvider | undefined;
|
|
729
|
-
description?: string | undefined;
|
|
730
762
|
audioUtteranceId?: string | undefined;
|
|
731
763
|
timestamp?: number | undefined;
|
|
764
|
+
description?: string | undefined;
|
|
732
765
|
quotaType?: string | undefined;
|
|
733
766
|
resetAt?: number | undefined;
|
|
734
767
|
retryAfterSeconds?: number | undefined;
|
|
@@ -743,9 +776,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
|
|
|
743
776
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
744
777
|
message: z.ZodString;
|
|
745
778
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
746
|
-
description: z.ZodOptional<z.ZodString>;
|
|
747
779
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
748
780
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
781
|
+
description: z.ZodOptional<z.ZodString>;
|
|
749
782
|
errorType: z.ZodLiteral<ErrorTypeV1.CONNECTION_ERROR>;
|
|
750
783
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
751
784
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -757,9 +790,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
|
|
|
757
790
|
isImmediatelyAvailable: true;
|
|
758
791
|
code?: string | number | undefined;
|
|
759
792
|
provider?: RecognitionProvider | undefined;
|
|
760
|
-
description?: string | undefined;
|
|
761
793
|
audioUtteranceId?: string | undefined;
|
|
762
794
|
timestamp?: number | undefined;
|
|
795
|
+
description?: string | undefined;
|
|
763
796
|
attempts?: number | undefined;
|
|
764
797
|
url?: string | undefined;
|
|
765
798
|
underlyingError?: string | undefined;
|
|
@@ -769,9 +802,9 @@ declare const ConnectionExceptionSchema: z.ZodObject<{
|
|
|
769
802
|
isImmediatelyAvailable: true;
|
|
770
803
|
code?: string | number | undefined;
|
|
771
804
|
provider?: RecognitionProvider | undefined;
|
|
772
|
-
description?: string | undefined;
|
|
773
805
|
audioUtteranceId?: string | undefined;
|
|
774
806
|
timestamp?: number | undefined;
|
|
807
|
+
description?: string | undefined;
|
|
775
808
|
attempts?: number | undefined;
|
|
776
809
|
url?: string | undefined;
|
|
777
810
|
underlyingError?: string | undefined;
|
|
@@ -786,9 +819,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
|
|
|
786
819
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
787
820
|
message: z.ZodString;
|
|
788
821
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
789
|
-
description: z.ZodOptional<z.ZodString>;
|
|
790
822
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
791
823
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
824
|
+
description: z.ZodOptional<z.ZodString>;
|
|
792
825
|
errorType: z.ZodLiteral<ErrorTypeV1.UNKNOWN_ERROR>;
|
|
793
826
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
794
827
|
stack: z.ZodOptional<z.ZodString>;
|
|
@@ -799,9 +832,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
|
|
|
799
832
|
isImmediatelyAvailable: false;
|
|
800
833
|
code?: string | number | undefined;
|
|
801
834
|
provider?: RecognitionProvider | undefined;
|
|
802
|
-
description?: string | undefined;
|
|
803
835
|
audioUtteranceId?: string | undefined;
|
|
804
836
|
timestamp?: number | undefined;
|
|
837
|
+
description?: string | undefined;
|
|
805
838
|
stack?: string | undefined;
|
|
806
839
|
context?: Record<string, unknown> | undefined;
|
|
807
840
|
}, {
|
|
@@ -810,9 +843,9 @@ declare const UnknownExceptionSchema: z.ZodObject<{
|
|
|
810
843
|
isImmediatelyAvailable: false;
|
|
811
844
|
code?: string | number | undefined;
|
|
812
845
|
provider?: RecognitionProvider | undefined;
|
|
813
|
-
description?: string | undefined;
|
|
814
846
|
audioUtteranceId?: string | undefined;
|
|
815
847
|
timestamp?: number | undefined;
|
|
848
|
+
description?: string | undefined;
|
|
816
849
|
stack?: string | undefined;
|
|
817
850
|
context?: Record<string, unknown> | undefined;
|
|
818
851
|
}>;
|
|
@@ -825,9 +858,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
825
858
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
826
859
|
message: z.ZodString;
|
|
827
860
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
828
|
-
description: z.ZodOptional<z.ZodString>;
|
|
829
861
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
830
862
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
863
|
+
description: z.ZodOptional<z.ZodString>;
|
|
831
864
|
errorType: z.ZodLiteral<ErrorTypeV1.AUTHENTICATION_ERROR>;
|
|
832
865
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
833
866
|
service: z.ZodOptional<z.ZodString>;
|
|
@@ -838,9 +871,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
838
871
|
isImmediatelyAvailable: false;
|
|
839
872
|
code?: string | number | undefined;
|
|
840
873
|
provider?: RecognitionProvider | undefined;
|
|
841
|
-
description?: string | undefined;
|
|
842
874
|
audioUtteranceId?: string | undefined;
|
|
843
875
|
timestamp?: number | undefined;
|
|
876
|
+
description?: string | undefined;
|
|
844
877
|
service?: string | undefined;
|
|
845
878
|
authMethod?: string | undefined;
|
|
846
879
|
}, {
|
|
@@ -849,18 +882,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
849
882
|
isImmediatelyAvailable: false;
|
|
850
883
|
code?: string | number | undefined;
|
|
851
884
|
provider?: RecognitionProvider | undefined;
|
|
852
|
-
description?: string | undefined;
|
|
853
885
|
audioUtteranceId?: string | undefined;
|
|
854
886
|
timestamp?: number | undefined;
|
|
887
|
+
description?: string | undefined;
|
|
855
888
|
service?: string | undefined;
|
|
856
889
|
authMethod?: string | undefined;
|
|
857
890
|
}>, z.ZodObject<{
|
|
858
891
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
859
892
|
message: z.ZodString;
|
|
860
893
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
861
|
-
description: z.ZodOptional<z.ZodString>;
|
|
862
894
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
863
895
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
896
|
+
description: z.ZodOptional<z.ZodString>;
|
|
864
897
|
errorType: z.ZodLiteral<ErrorTypeV1.VALIDATION_ERROR>;
|
|
865
898
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
866
899
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -872,9 +905,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
872
905
|
isImmediatelyAvailable: true;
|
|
873
906
|
code?: string | number | undefined;
|
|
874
907
|
provider?: RecognitionProvider | undefined;
|
|
875
|
-
description?: string | undefined;
|
|
876
908
|
audioUtteranceId?: string | undefined;
|
|
877
909
|
timestamp?: number | undefined;
|
|
910
|
+
description?: string | undefined;
|
|
878
911
|
field?: string | undefined;
|
|
879
912
|
expected?: string | undefined;
|
|
880
913
|
received?: string | undefined;
|
|
@@ -884,18 +917,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
884
917
|
isImmediatelyAvailable: true;
|
|
885
918
|
code?: string | number | undefined;
|
|
886
919
|
provider?: RecognitionProvider | undefined;
|
|
887
|
-
description?: string | undefined;
|
|
888
920
|
audioUtteranceId?: string | undefined;
|
|
889
921
|
timestamp?: number | undefined;
|
|
922
|
+
description?: string | undefined;
|
|
890
923
|
field?: string | undefined;
|
|
891
924
|
expected?: string | undefined;
|
|
892
925
|
received?: string | undefined;
|
|
893
926
|
}>, z.ZodObject<{
|
|
894
927
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
895
928
|
message: z.ZodString;
|
|
896
|
-
description: z.ZodOptional<z.ZodString>;
|
|
897
929
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
898
930
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
931
|
+
description: z.ZodOptional<z.ZodString>;
|
|
899
932
|
errorType: z.ZodLiteral<ErrorTypeV1.PROVIDER_ERROR>;
|
|
900
933
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
901
934
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -906,9 +939,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
906
939
|
errorType: ErrorTypeV1.PROVIDER_ERROR;
|
|
907
940
|
isImmediatelyAvailable: false;
|
|
908
941
|
code?: string | number | undefined;
|
|
909
|
-
description?: string | undefined;
|
|
910
942
|
audioUtteranceId?: string | undefined;
|
|
911
943
|
timestamp?: number | undefined;
|
|
944
|
+
description?: string | undefined;
|
|
912
945
|
provider?: string | undefined;
|
|
913
946
|
providerErrorCode?: string | number | undefined;
|
|
914
947
|
isTransient?: boolean | undefined;
|
|
@@ -917,9 +950,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
917
950
|
errorType: ErrorTypeV1.PROVIDER_ERROR;
|
|
918
951
|
isImmediatelyAvailable: false;
|
|
919
952
|
code?: string | number | undefined;
|
|
920
|
-
description?: string | undefined;
|
|
921
953
|
audioUtteranceId?: string | undefined;
|
|
922
954
|
timestamp?: number | undefined;
|
|
955
|
+
description?: string | undefined;
|
|
923
956
|
provider?: string | undefined;
|
|
924
957
|
providerErrorCode?: string | number | undefined;
|
|
925
958
|
isTransient?: boolean | undefined;
|
|
@@ -927,9 +960,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
927
960
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
928
961
|
message: z.ZodString;
|
|
929
962
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
930
|
-
description: z.ZodOptional<z.ZodString>;
|
|
931
963
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
932
964
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
965
|
+
description: z.ZodOptional<z.ZodString>;
|
|
933
966
|
errorType: z.ZodLiteral<ErrorTypeV1.TIMEOUT_ERROR>;
|
|
934
967
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
935
968
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -940,9 +973,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
940
973
|
isImmediatelyAvailable: true;
|
|
941
974
|
code?: string | number | undefined;
|
|
942
975
|
provider?: RecognitionProvider | undefined;
|
|
943
|
-
description?: string | undefined;
|
|
944
976
|
audioUtteranceId?: string | undefined;
|
|
945
977
|
timestamp?: number | undefined;
|
|
978
|
+
description?: string | undefined;
|
|
946
979
|
timeoutMs?: number | undefined;
|
|
947
980
|
operation?: string | undefined;
|
|
948
981
|
}, {
|
|
@@ -951,18 +984,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
951
984
|
isImmediatelyAvailable: true;
|
|
952
985
|
code?: string | number | undefined;
|
|
953
986
|
provider?: RecognitionProvider | undefined;
|
|
954
|
-
description?: string | undefined;
|
|
955
987
|
audioUtteranceId?: string | undefined;
|
|
956
988
|
timestamp?: number | undefined;
|
|
989
|
+
description?: string | undefined;
|
|
957
990
|
timeoutMs?: number | undefined;
|
|
958
991
|
operation?: string | undefined;
|
|
959
992
|
}>, z.ZodObject<{
|
|
960
993
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
961
994
|
message: z.ZodString;
|
|
962
995
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
963
|
-
description: z.ZodOptional<z.ZodString>;
|
|
964
996
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
965
997
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
998
|
+
description: z.ZodOptional<z.ZodString>;
|
|
966
999
|
errorType: z.ZodLiteral<ErrorTypeV1.QUOTA_EXCEEDED>;
|
|
967
1000
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
968
1001
|
quotaType: z.ZodOptional<z.ZodString>;
|
|
@@ -974,9 +1007,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
974
1007
|
isImmediatelyAvailable: true;
|
|
975
1008
|
code?: string | number | undefined;
|
|
976
1009
|
provider?: RecognitionProvider | undefined;
|
|
977
|
-
description?: string | undefined;
|
|
978
1010
|
audioUtteranceId?: string | undefined;
|
|
979
1011
|
timestamp?: number | undefined;
|
|
1012
|
+
description?: string | undefined;
|
|
980
1013
|
quotaType?: string | undefined;
|
|
981
1014
|
resetAt?: number | undefined;
|
|
982
1015
|
retryAfterSeconds?: number | undefined;
|
|
@@ -986,9 +1019,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
986
1019
|
isImmediatelyAvailable: true;
|
|
987
1020
|
code?: string | number | undefined;
|
|
988
1021
|
provider?: RecognitionProvider | undefined;
|
|
989
|
-
description?: string | undefined;
|
|
990
1022
|
audioUtteranceId?: string | undefined;
|
|
991
1023
|
timestamp?: number | undefined;
|
|
1024
|
+
description?: string | undefined;
|
|
992
1025
|
quotaType?: string | undefined;
|
|
993
1026
|
resetAt?: number | undefined;
|
|
994
1027
|
retryAfterSeconds?: number | undefined;
|
|
@@ -996,9 +1029,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
996
1029
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
997
1030
|
message: z.ZodString;
|
|
998
1031
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
999
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1000
1032
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
1001
1033
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1002
1035
|
errorType: z.ZodLiteral<ErrorTypeV1.CONNECTION_ERROR>;
|
|
1003
1036
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
1004
1037
|
attempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1010,9 +1043,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1010
1043
|
isImmediatelyAvailable: true;
|
|
1011
1044
|
code?: string | number | undefined;
|
|
1012
1045
|
provider?: RecognitionProvider | undefined;
|
|
1013
|
-
description?: string | undefined;
|
|
1014
1046
|
audioUtteranceId?: string | undefined;
|
|
1015
1047
|
timestamp?: number | undefined;
|
|
1048
|
+
description?: string | undefined;
|
|
1016
1049
|
attempts?: number | undefined;
|
|
1017
1050
|
url?: string | undefined;
|
|
1018
1051
|
underlyingError?: string | undefined;
|
|
@@ -1022,18 +1055,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1022
1055
|
isImmediatelyAvailable: true;
|
|
1023
1056
|
code?: string | number | undefined;
|
|
1024
1057
|
provider?: RecognitionProvider | undefined;
|
|
1025
|
-
description?: string | undefined;
|
|
1026
1058
|
audioUtteranceId?: string | undefined;
|
|
1027
1059
|
timestamp?: number | undefined;
|
|
1060
|
+
description?: string | undefined;
|
|
1028
1061
|
attempts?: number | undefined;
|
|
1029
1062
|
url?: string | undefined;
|
|
1030
1063
|
underlyingError?: string | undefined;
|
|
1031
1064
|
}>, z.ZodObject<{
|
|
1032
1065
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1033
1066
|
message: z.ZodString;
|
|
1034
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1035
1067
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
1036
1068
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1069
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1037
1070
|
errorType: z.ZodLiteral<ErrorTypeV1.CIRCUIT_BREAKER_OPEN>;
|
|
1038
1071
|
isImmediatelyAvailable: z.ZodLiteral<true>;
|
|
1039
1072
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
@@ -1043,9 +1076,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1043
1076
|
errorType: ErrorTypeV1.CIRCUIT_BREAKER_OPEN;
|
|
1044
1077
|
isImmediatelyAvailable: true;
|
|
1045
1078
|
code?: string | number | undefined;
|
|
1046
|
-
description?: string | undefined;
|
|
1047
1079
|
audioUtteranceId?: string | undefined;
|
|
1048
1080
|
timestamp?: number | undefined;
|
|
1081
|
+
description?: string | undefined;
|
|
1049
1082
|
provider?: RecognitionProvider | undefined;
|
|
1050
1083
|
model?: string | undefined;
|
|
1051
1084
|
}, {
|
|
@@ -1053,18 +1086,18 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1053
1086
|
errorType: ErrorTypeV1.CIRCUIT_BREAKER_OPEN;
|
|
1054
1087
|
isImmediatelyAvailable: true;
|
|
1055
1088
|
code?: string | number | undefined;
|
|
1056
|
-
description?: string | undefined;
|
|
1057
1089
|
audioUtteranceId?: string | undefined;
|
|
1058
1090
|
timestamp?: number | undefined;
|
|
1091
|
+
description?: string | undefined;
|
|
1059
1092
|
provider?: RecognitionProvider | undefined;
|
|
1060
1093
|
model?: string | undefined;
|
|
1061
1094
|
}>, z.ZodObject<{
|
|
1062
1095
|
code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1063
1096
|
message: z.ZodString;
|
|
1064
1097
|
provider: z.ZodOptional<z.ZodNativeEnum<typeof RecognitionProvider>>;
|
|
1065
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1066
1098
|
audioUtteranceId: z.ZodOptional<z.ZodString>;
|
|
1067
1099
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1068
1101
|
errorType: z.ZodLiteral<ErrorTypeV1.UNKNOWN_ERROR>;
|
|
1069
1102
|
isImmediatelyAvailable: z.ZodLiteral<false>;
|
|
1070
1103
|
stack: z.ZodOptional<z.ZodString>;
|
|
@@ -1075,9 +1108,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1075
1108
|
isImmediatelyAvailable: false;
|
|
1076
1109
|
code?: string | number | undefined;
|
|
1077
1110
|
provider?: RecognitionProvider | undefined;
|
|
1078
|
-
description?: string | undefined;
|
|
1079
1111
|
audioUtteranceId?: string | undefined;
|
|
1080
1112
|
timestamp?: number | undefined;
|
|
1113
|
+
description?: string | undefined;
|
|
1081
1114
|
stack?: string | undefined;
|
|
1082
1115
|
context?: Record<string, unknown> | undefined;
|
|
1083
1116
|
}, {
|
|
@@ -1086,9 +1119,9 @@ declare const RecognitionExceptionSchema: z.ZodDiscriminatedUnion<"errorType", [
|
|
|
1086
1119
|
isImmediatelyAvailable: false;
|
|
1087
1120
|
code?: string | number | undefined;
|
|
1088
1121
|
provider?: RecognitionProvider | undefined;
|
|
1089
|
-
description?: string | undefined;
|
|
1090
1122
|
audioUtteranceId?: string | undefined;
|
|
1091
1123
|
timestamp?: number | undefined;
|
|
1124
|
+
description?: string | undefined;
|
|
1092
1125
|
stack?: string | undefined;
|
|
1093
1126
|
context?: Record<string, unknown> | undefined;
|
|
1094
1127
|
}>]>;
|
|
@@ -2405,6 +2438,8 @@ declare const RecognitionVGFStateSchema: z.ZodObject<{
|
|
|
2405
2438
|
transcriptionStatus: z.ZodOptional<z.ZodString>;
|
|
2406
2439
|
finalTranscript: z.ZodOptional<z.ZodString>;
|
|
2407
2440
|
finalConfidence: z.ZodOptional<z.ZodNumber>;
|
|
2441
|
+
voiceEnd: z.ZodOptional<z.ZodNumber>;
|
|
2442
|
+
lastNonSilence: z.ZodOptional<z.ZodNumber>;
|
|
2408
2443
|
asrConfig: z.ZodOptional<z.ZodString>;
|
|
2409
2444
|
startRecordingTimestamp: z.ZodOptional<z.ZodString>;
|
|
2410
2445
|
finalRecordingTimestamp: z.ZodOptional<z.ZodString>;
|
|
@@ -2423,6 +2458,8 @@ declare const RecognitionVGFStateSchema: z.ZodObject<{
|
|
|
2423
2458
|
transcriptionStatus?: string | undefined;
|
|
2424
2459
|
finalTranscript?: string | undefined;
|
|
2425
2460
|
finalConfidence?: number | undefined;
|
|
2461
|
+
voiceEnd?: number | undefined;
|
|
2462
|
+
lastNonSilence?: number | undefined;
|
|
2426
2463
|
asrConfig?: string | undefined;
|
|
2427
2464
|
startRecordingTimestamp?: string | undefined;
|
|
2428
2465
|
finalRecordingTimestamp?: string | undefined;
|
|
@@ -2439,6 +2476,8 @@ declare const RecognitionVGFStateSchema: z.ZodObject<{
|
|
|
2439
2476
|
transcriptionStatus?: string | undefined;
|
|
2440
2477
|
finalTranscript?: string | undefined;
|
|
2441
2478
|
finalConfidence?: number | undefined;
|
|
2479
|
+
voiceEnd?: number | undefined;
|
|
2480
|
+
lastNonSilence?: number | undefined;
|
|
2442
2481
|
asrConfig?: string | undefined;
|
|
2443
2482
|
startRecordingTimestamp?: string | undefined;
|
|
2444
2483
|
finalRecordingTimestamp?: string | undefined;
|
|
@@ -2728,5 +2767,5 @@ declare function getRecognitionConductorHttpBase(stage?: Stage | string | null |
|
|
|
2728
2767
|
declare function getRecognitionConductorWsBase(stage?: Stage | string | null | undefined): string;
|
|
2729
2768
|
declare function getRecognitionConductorHost(stage?: Stage | string | null | undefined): string;
|
|
2730
2769
|
|
|
2731
|
-
export { AudioEncoding, ClientControlActionV1, ClientState, ConfigBuilder, ConnectionError, ControlSignalTypeV1 as ControlSignal, ControlSignalTypeV1, DashScopeModel, DeepgramModel, ElevenLabsModel, ErrorTypeV1, FinalTranscriptStability, FireworksModel, GeminiModel, GoogleModel, Language, MistralVoxtralModel, OpenAIModel, RECOGNITION_CONDUCTOR_BASES, RECOGNITION_SERVICE_BASES, RealTimeTwoWayWebSocketRecognitionClient, RecognitionContextTypeV1, RecognitionError, RecognitionProvider, RecognitionResultTypeV1, RecognitionVGFStateSchema, RecordingStatus, STAGES, SampleRate, SimplifiedVGFRecognitionClient, TimeoutError, TranscriptionStatus, ValidationError, createClient, createClientWithBuilder, createDefaultASRConfig, createInitialRecognitionState, createSimplifiedVGFClient, getRecognitionConductorBase, getRecognitionConductorHost, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionServiceBase, getRecognitionServiceHost, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getUserFriendlyMessage, isExceptionImmediatelyAvailable, isNormalDisconnection, isValidRecordingStatusTransition, normalizeStage, resetRecognitionVGFState };
|
|
2770
|
+
export { AudioEncoding, CartesiaModel, ClientControlActionV1, ClientState, ConfigBuilder, ConnectionError, ControlSignalTypeV1 as ControlSignal, ControlSignalTypeV1, DashScopeModel, DeepgramModel, ElevenLabsModel, ErrorTypeV1, FinalTranscriptStability, FireworksModel, GeminiModel, GladiaModel, GoogleModel, Language, MistralVoxtralModel, OpenAIModel, OpenAIRealtimeModel, RECOGNITION_CONDUCTOR_BASES, RECOGNITION_SERVICE_BASES, RealTimeTwoWayWebSocketRecognitionClient, RecognitionContextTypeV1, RecognitionError, RecognitionProvider, RecognitionResultTypeV1, RecognitionVGFStateSchema, RecordingStatus, STAGES, SampleRate, SelfServeVllmModel, SimplifiedVGFRecognitionClient, TimeoutError, TranscriptionStatus, ValidationError, createClient, createClientWithBuilder, createDefaultASRConfig, createInitialRecognitionState, createSimplifiedVGFClient, getRecognitionConductorBase, getRecognitionConductorHost, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionServiceBase, getRecognitionServiceHost, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getUserFriendlyMessage, isExceptionImmediatelyAvailable, isNormalDisconnection, isValidRecordingStatusTransition, normalizeStage, resetRecognitionVGFState };
|
|
2732
2771
|
export type { ASRRequestConfig, ASRRequestV1, AuthenticationException, ConnectionException, ErrorResultV1, FunctionCallResultV1, GameContextV1, IRecognitionClient, IRecognitionClientConfig, IRecognitionClientStats, ISimplifiedVGFRecognitionClient, MetadataResultV1, ProviderException, QuotaExceededException, RealTimeTwoWayWebSocketRecognitionClientConfig, RecognitionCallbackUrl, RecognitionException, RecognitionState, RecordingStatusType, SimplifiedVGFClientConfig, SlotMap, Stage, TimeoutException, TranscriptionResult, TranscriptionResultV1, TranscriptionStatusType, UnknownException, ValidationException };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export { type RecognitionState, RecognitionVGFStateSchema, RecordingStatus, Tran
|
|
|
11
11
|
export { resetRecognitionVGFState } from './vgf-recognition-mapper.js';
|
|
12
12
|
export { AudioEncoding } from '@recog/websocket';
|
|
13
13
|
export { type GameContextV1, type SlotMap, RecognitionContextTypeV1, ControlSignalTypeV1, ControlSignalTypeV1 as ControlSignal, // Alias for backward compatibility
|
|
14
|
-
type TranscriptionResultV1, type FunctionCallResultV1, type MetadataResultV1, type ErrorResultV1, RecognitionResultTypeV1, ClientControlActionV1, type ASRRequestConfig, type ASRRequestV1, FinalTranscriptStability, createDefaultASRConfig, RecognitionProvider, DeepgramModel, ElevenLabsModel, FireworksModel, GoogleModel, GeminiModel, OpenAIModel, MistralVoxtralModel, DashScopeModel, Language, SampleRate, STAGES, type Stage } from '@recog/shared-types';
|
|
14
|
+
type TranscriptionResultV1, type FunctionCallResultV1, type MetadataResultV1, type ErrorResultV1, RecognitionResultTypeV1, ClientControlActionV1, type ASRRequestConfig, type ASRRequestV1, FinalTranscriptStability, createDefaultASRConfig, RecognitionProvider, DeepgramModel, ElevenLabsModel, FireworksModel, GladiaModel, GoogleModel, GeminiModel, OpenAIModel, SelfServeVllmModel, OpenAIRealtimeModel, MistralVoxtralModel, CartesiaModel, DashScopeModel, Language, SampleRate, STAGES, type Stage } from '@recog/shared-types';
|
|
15
15
|
export { getRecognitionServiceBase, getRecognitionServiceHttpBase, getRecognitionServiceWsBase, getRecognitionServiceHost, getRecognitionConductorBase, getRecognitionConductorHttpBase, getRecognitionConductorWsBase, getRecognitionConductorHost, normalizeStage, RECOGNITION_SERVICE_BASES, RECOGNITION_CONDUCTOR_BASES } from '@recog/shared-config';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wCAAwC,EACxC,KAAK,8CAA8C,EACnD,KAAK,mBAAmB,EACxB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,WAAW,EACZ,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,KAAK,gBAAgB,EACrB,yBAAyB,EACzB,eAAe,EACf,mBAAmB,EACnB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,6BAA6B,EAC7B,gCAAgC,EACjC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,IAAI,aAAa,EAAG,mCAAmC;AAG1E,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,uBAAuB,EACvB,qBAAqB,EAGrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,UAAU,EAGV,MAAM,EACN,KAAK,KAAK,EACX,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,6BAA6B,EAC7B,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wCAAwC,EACxC,KAAK,8CAA8C,EACnD,KAAK,mBAAmB,EACxB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,WAAW,EACZ,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGlD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,KAAK,gBAAgB,EACrB,yBAAyB,EACzB,eAAe,EACf,mBAAmB,EACnB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,6BAA6B,EAC7B,gCAAgC,EACjC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,IAAI,aAAa,EAAG,mCAAmC;AAG1E,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,uBAAuB,EACvB,qBAAqB,EAGrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,QAAQ,EACR,UAAU,EAGV,MAAM,EACN,KAAK,KAAK,EACX,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,6BAA6B,EAC7B,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC"}
|