voice-router-dev 0.3.2 → 0.3.4

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.
@@ -1,14 +1,254 @@
1
1
  /**
2
- * Generated by orval v7.9.0 🍺
3
- * Do not edit manually.
4
- * Gladia Control API
5
- * OpenAPI spec version: 1.0
2
+ * Browser-safe constants for speech-to-text providers
3
+ *
4
+ * This module exports only plain const objects - no Node.js dependencies.
5
+ * Safe to use in browsers, Cloudflare Workers, and other edge environments.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * // Browser-safe import (no node:crypto or other Node.js deps)
10
+ * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'
11
+ *
12
+ * const model = DeepgramModel["nova-3"]
13
+ * const encoding = GladiaEncoding["wav/pcm"]
14
+ * ```
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ /**
19
+ * Deepgram audio encoding formats
20
+ *
21
+ * Values: `linear16`, `flac`, `mulaw`, `amr-nb`, `amr-wb`, `opus`, `speex`, `g729`, `mp3`, `vorbis`, `webm`, `mp4`, `m4a`, `aac`, `wav`, `aiff`, `mpeg`
22
+ *
23
+ * @example
24
+ * ```typescript
25
+ * import { DeepgramEncoding } from 'voice-router-dev/constants'
26
+ *
27
+ * { encoding: DeepgramEncoding.linear16 }
28
+ * { encoding: DeepgramEncoding.opus }
29
+ * ```
30
+ */
31
+ declare const DeepgramEncoding: {
32
+ readonly linear16: "linear16";
33
+ readonly flac: "flac";
34
+ readonly mulaw: "mulaw";
35
+ readonly opus: "opus";
36
+ readonly speex: "speex";
37
+ readonly g729: "g729";
38
+ };
39
+ /**
40
+ * Deepgram redaction options for PII removal
41
+ *
42
+ * Values: `pci`, `numbers`, `ssn`, `pii`
43
+ *
44
+ * @example
45
+ * ```typescript
46
+ * import { DeepgramRedact } from 'voice-router-dev/constants'
47
+ *
48
+ * { redact: [DeepgramRedact.pii, DeepgramRedact.ssn] }
49
+ * ```
6
50
  */
51
+ declare const DeepgramRedact: {
52
+ readonly pci: "pci";
53
+ readonly pii: "pii";
54
+ readonly numbers: "numbers";
55
+ };
7
56
  /**
8
- * Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.
57
+ * Deepgram topic detection modes
58
+ *
59
+ * Values: `extended`, `strict`
60
+ *
61
+ * @example
62
+ * ```typescript
63
+ * import { DeepgramTopicMode } from 'voice-router-dev/constants'
64
+ *
65
+ * { customTopicMode: DeepgramTopicMode.extended }
66
+ * ```
9
67
  */
10
- type TranscriptionLanguageCodeEnum = (typeof TranscriptionLanguageCodeEnum)[keyof typeof TranscriptionLanguageCodeEnum];
11
- declare const TranscriptionLanguageCodeEnum: {
68
+ declare const DeepgramTopicMode: {
69
+ readonly extended: "extended";
70
+ readonly strict: "strict";
71
+ };
72
+ /**
73
+ * Deepgram intent detection modes
74
+ *
75
+ * Values: `extended`, `strict`
76
+ *
77
+ * @example
78
+ * ```typescript
79
+ * import { DeepgramIntentMode } from 'voice-router-dev/constants'
80
+ *
81
+ * { customIntentMode: DeepgramIntentMode.extended }
82
+ * ```
83
+ */
84
+ declare const DeepgramIntentMode: {
85
+ readonly extended: "extended";
86
+ readonly strict: "strict";
87
+ };
88
+ /**
89
+ * Deepgram callback HTTP methods for async transcription
90
+ *
91
+ * Values: `POST`, `PUT`
92
+ *
93
+ * @example
94
+ * ```typescript
95
+ * import { DeepgramCallbackMethod } from 'voice-router-dev/constants'
96
+ *
97
+ * { callbackMethod: DeepgramCallbackMethod.POST }
98
+ * ```
99
+ */
100
+ declare const DeepgramCallbackMethod: {
101
+ readonly POST: "POST";
102
+ readonly PUT: "PUT";
103
+ };
104
+ /**
105
+ * Deepgram supported sample rates (Hz)
106
+ *
107
+ * **Note:** This const is NOT type-checked against a generated type.
108
+ * Deepgram's OpenAPI spec accepts any `number` for sampleRate.
109
+ * These values are from Deepgram documentation for convenience.
110
+ *
111
+ * Values: `8000`, `16000`, `32000`, `44100`, `48000`
112
+ *
113
+ * @example
114
+ * ```typescript
115
+ * import { DeepgramSampleRate } from 'voice-router-dev/constants'
116
+ *
117
+ * { sampleRate: DeepgramSampleRate.NUMBER_16000 }
118
+ * ```
119
+ */
120
+ declare const DeepgramSampleRate: {
121
+ readonly NUMBER_8000: 8000;
122
+ readonly NUMBER_16000: 16000;
123
+ readonly NUMBER_32000: 32000;
124
+ readonly NUMBER_44100: 44100;
125
+ readonly NUMBER_48000: 48000;
126
+ };
127
+ /**
128
+ * Deepgram transcription models
129
+ *
130
+ * @example
131
+ * ```typescript
132
+ * import { DeepgramModel } from 'voice-router-dev/constants'
133
+ *
134
+ * { model: DeepgramModel["nova-3"] }
135
+ * { model: DeepgramModel["nova-2-medical"] }
136
+ * ```
137
+ */
138
+ declare const DeepgramModel: {
139
+ readonly "nova-3": "nova-3";
140
+ readonly "nova-3-general": "nova-3-general";
141
+ readonly "nova-3-medical": "nova-3-medical";
142
+ readonly "nova-2": "nova-2";
143
+ readonly "nova-2-general": "nova-2-general";
144
+ readonly "nova-2-meeting": "nova-2-meeting";
145
+ readonly "nova-2-finance": "nova-2-finance";
146
+ readonly "nova-2-conversationalai": "nova-2-conversationalai";
147
+ readonly "nova-2-voicemail": "nova-2-voicemail";
148
+ readonly "nova-2-video": "nova-2-video";
149
+ readonly "nova-2-medical": "nova-2-medical";
150
+ readonly "nova-2-drivethru": "nova-2-drivethru";
151
+ readonly "nova-2-automotive": "nova-2-automotive";
152
+ readonly nova: "nova";
153
+ readonly "nova-general": "nova-general";
154
+ readonly "nova-phonecall": "nova-phonecall";
155
+ readonly "nova-medical": "nova-medical";
156
+ readonly enhanced: "enhanced";
157
+ readonly "enhanced-general": "enhanced-general";
158
+ readonly "enhanced-meeting": "enhanced-meeting";
159
+ readonly "enhanced-phonecall": "enhanced-phonecall";
160
+ readonly "enhanced-finance": "enhanced-finance";
161
+ readonly base: "base";
162
+ readonly meeting: "meeting";
163
+ readonly phonecall: "phonecall";
164
+ readonly finance: "finance";
165
+ readonly conversationalai: "conversationalai";
166
+ readonly voicemail: "voicemail";
167
+ readonly video: "video";
168
+ };
169
+ /**
170
+ * Gladia audio encoding formats for streaming
171
+ *
172
+ * Values: `wav/pcm`, `wav/alaw`, `wav/ulaw`
173
+ *
174
+ * @example
175
+ * ```typescript
176
+ * import { GladiaEncoding } from 'voice-router-dev/constants'
177
+ *
178
+ * { encoding: GladiaEncoding["wav/pcm"] }
179
+ * ```
180
+ */
181
+ declare const GladiaEncoding: {
182
+ readonly "wav/pcm": "wav/pcm";
183
+ readonly "wav/alaw": "wav/alaw";
184
+ readonly "wav/ulaw": "wav/ulaw";
185
+ };
186
+ /**
187
+ * Gladia supported sample rates (Hz)
188
+ *
189
+ * Values: `8000`, `16000`, `32000`, `44100`, `48000`
190
+ *
191
+ * @example
192
+ * ```typescript
193
+ * import { GladiaSampleRate } from 'voice-router-dev/constants'
194
+ *
195
+ * { sampleRate: GladiaSampleRate.NUMBER_16000 }
196
+ * ```
197
+ */
198
+ declare const GladiaSampleRate: {
199
+ readonly NUMBER_8000: 8000;
200
+ readonly NUMBER_16000: 16000;
201
+ readonly NUMBER_32000: 32000;
202
+ readonly NUMBER_44100: 44100;
203
+ readonly NUMBER_48000: 48000;
204
+ };
205
+ /**
206
+ * Gladia supported bit depths
207
+ *
208
+ * Values: `8`, `16`, `24`, `32`
209
+ *
210
+ * @example
211
+ * ```typescript
212
+ * import { GladiaBitDepth } from 'voice-router-dev/constants'
213
+ *
214
+ * { bitDepth: GladiaBitDepth.NUMBER_16 }
215
+ * ```
216
+ */
217
+ declare const GladiaBitDepth: {
218
+ readonly NUMBER_8: 8;
219
+ readonly NUMBER_16: 16;
220
+ readonly NUMBER_24: 24;
221
+ readonly NUMBER_32: 32;
222
+ };
223
+ /**
224
+ * Gladia transcription models
225
+ *
226
+ * Values: `fast`, `accurate`
227
+ *
228
+ * @example
229
+ * ```typescript
230
+ * import { GladiaModel } from 'voice-router-dev/constants'
231
+ *
232
+ * { model: GladiaModel.accurate }
233
+ * ```
234
+ */
235
+ declare const GladiaModel: {
236
+ readonly "solaria-1": "solaria-1";
237
+ };
238
+ /**
239
+ * Gladia transcription language codes (100+ languages)
240
+ *
241
+ * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`
242
+ *
243
+ * @example
244
+ * ```typescript
245
+ * import { GladiaLanguage } from 'voice-router-dev/constants'
246
+ *
247
+ * { language: GladiaLanguage.en }
248
+ * { language: GladiaLanguage.es }
249
+ * ```
250
+ */
251
+ declare const GladiaLanguage: {
12
252
  readonly af: "af";
13
253
  readonly am: "am";
14
254
  readonly ar: "ar";
@@ -109,18 +349,19 @@ declare const TranscriptionLanguageCodeEnum: {
109
349
  readonly yo: "yo";
110
350
  readonly zh: "zh";
111
351
  };
112
-
113
- /**
114
- * Generated by orval v7.9.0 🍺
115
- * Do not edit manually.
116
- * Gladia Control API
117
- * OpenAPI spec version: 1.0
118
- */
119
352
  /**
120
- * Target language in `iso639-1` format you want the transcription translated to
353
+ * Gladia translation target language codes
354
+ *
355
+ * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`
356
+ *
357
+ * @example
358
+ * ```typescript
359
+ * import { GladiaTranslationLanguage } from 'voice-router-dev/constants'
360
+ *
361
+ * { targetLanguages: [GladiaTranslationLanguage.fr, GladiaTranslationLanguage.es] }
362
+ * ```
121
363
  */
122
- type TranslationLanguageCodeEnum = (typeof TranslationLanguageCodeEnum)[keyof typeof TranslationLanguageCodeEnum];
123
- declare const TranslationLanguageCodeEnum: {
364
+ declare const GladiaTranslationLanguage: {
124
365
  readonly af: "af";
125
366
  readonly am: "am";
126
367
  readonly ar: "ar";
@@ -222,233 +463,6 @@ declare const TranslationLanguageCodeEnum: {
222
463
  readonly yo: "yo";
223
464
  readonly zh: "zh";
224
465
  };
225
-
226
- /**
227
- * Generated by orval v7.9.0 🍺
228
- * Do not edit manually.
229
- * Gladia Control API
230
- * OpenAPI spec version: 1.0
231
- */
232
- /**
233
- * The model used to process the audio. "solaria-1" is used by default.
234
- */
235
- type StreamingSupportedModels = (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels];
236
- declare const StreamingSupportedModels: {
237
- readonly "solaria-1": "solaria-1";
238
- };
239
-
240
- /**
241
- * Generated by orval v7.9.0 🍺
242
- * Do not edit manually.
243
- * Deepgram API Specification
244
- * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.
245
-
246
- * OpenAPI spec version: 1.0.0
247
- */
248
- /**
249
- * SharedCustomTopicModeParameter type definition
250
- */
251
- /**
252
- * SharedCustomTopicModeParameter type definition
253
- */
254
- /**
255
- * SharedCustomTopicModeParameter type definition
256
- */
257
- /**
258
- * SharedCustomTopicModeParameter type definition
259
- */
260
- /**
261
- * SharedCustomTopicModeParameter type definition
262
- */
263
- /**
264
- * SharedCustomTopicModeParameter type definition
265
- */
266
- /**
267
- * SharedCustomTopicModeParameter type definition
268
- */
269
- /**
270
- * SharedCustomTopicModeParameter type definition
271
- */
272
- type SharedCustomTopicModeParameter = typeof SharedCustomTopicModeParameter[keyof typeof SharedCustomTopicModeParameter];
273
- declare const SharedCustomTopicModeParameter: {
274
- readonly extended: "extended";
275
- readonly strict: "strict";
276
- };
277
-
278
- /**
279
- * Generated by orval v7.9.0 🍺
280
- * Do not edit manually.
281
- * Deepgram API Specification
282
- * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.
283
-
284
- * OpenAPI spec version: 1.0.0
285
- */
286
- /**
287
- * ListenV1EncodingParameter type definition
288
- */
289
- /**
290
- * ListenV1EncodingParameter type definition
291
- */
292
- /**
293
- * ListenV1EncodingParameter type definition
294
- */
295
- /**
296
- * ListenV1EncodingParameter type definition
297
- */
298
- /**
299
- * ListenV1EncodingParameter type definition
300
- */
301
- /**
302
- * ListenV1EncodingParameter type definition
303
- */
304
- /**
305
- * ListenV1EncodingParameter type definition
306
- */
307
- /**
308
- * ListenV1EncodingParameter type definition
309
- */
310
- type ListenV1EncodingParameter = typeof ListenV1EncodingParameter[keyof typeof ListenV1EncodingParameter];
311
- declare const ListenV1EncodingParameter: {
312
- readonly linear16: "linear16";
313
- readonly flac: "flac";
314
- readonly mulaw: "mulaw";
315
- readonly opus: "opus";
316
- readonly speex: "speex";
317
- readonly g729: "g729";
318
- };
319
-
320
- /**
321
- * Generated by orval v7.9.0 🍺
322
- * Do not edit manually.
323
- * Deepgram API Specification
324
- * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.
325
-
326
- * OpenAPI spec version: 1.0.0
327
- */
328
- type ListenV1RedactParameterOneOfItem = (typeof ListenV1RedactParameterOneOfItem)[keyof typeof ListenV1RedactParameterOneOfItem];
329
- declare const ListenV1RedactParameterOneOfItem: {
330
- readonly pci: "pci";
331
- readonly pii: "pii";
332
- readonly numbers: "numbers";
333
- };
334
-
335
- /**
336
- * Generated by orval v7.9.0 🍺
337
- * Do not edit manually.
338
- * Gladia Control API
339
- * OpenAPI spec version: 1.0
340
- */
341
- /**
342
- * The bit depth of the audio stream
343
- */
344
- type StreamingSupportedBitDepthEnum = (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum];
345
- declare const StreamingSupportedBitDepthEnum: {
346
- readonly NUMBER_8: 8;
347
- readonly NUMBER_16: 16;
348
- readonly NUMBER_24: 24;
349
- readonly NUMBER_32: 32;
350
- };
351
-
352
- /**
353
- * Generated by orval v7.9.0 🍺
354
- * Do not edit manually.
355
- * Gladia Control API
356
- * OpenAPI spec version: 1.0
357
- */
358
- /**
359
- * The encoding format of the audio stream. Supported formats:
360
- - PCM: 8, 16, 24, and 32 bits
361
- - A-law: 8 bits
362
- - μ-law: 8 bits
363
-
364
- Note: No need to add WAV headers to raw audio as the API supports both formats.
365
- */
366
- type StreamingSupportedEncodingEnum = (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum];
367
- declare const StreamingSupportedEncodingEnum: {
368
- readonly "wav/pcm": "wav/pcm";
369
- readonly "wav/alaw": "wav/alaw";
370
- readonly "wav/ulaw": "wav/ulaw";
371
- };
372
-
373
- /**
374
- * Generated by orval v7.9.0 🍺
375
- * Do not edit manually.
376
- * Gladia Control API
377
- * OpenAPI spec version: 1.0
378
- */
379
- /**
380
- * The sample rate of the audio stream
381
- */
382
- type StreamingSupportedSampleRateEnum = (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum];
383
- declare const StreamingSupportedSampleRateEnum: {
384
- readonly NUMBER_8000: 8000;
385
- readonly NUMBER_16000: 16000;
386
- readonly NUMBER_32000: 32000;
387
- readonly NUMBER_44100: 44100;
388
- readonly NUMBER_48000: 48000;
389
- };
390
-
391
- /**
392
- * Browser-safe constants for speech-to-text providers
393
- *
394
- * This module exports only plain const objects - no Node.js dependencies.
395
- * Safe to use in browsers, Cloudflare Workers, and other edge environments.
396
- *
397
- * @example
398
- * ```typescript
399
- * // Browser-safe import (no node:crypto or other Node.js deps)
400
- * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'
401
- *
402
- * const model = DeepgramModel["nova-3"]
403
- * const encoding = GladiaEncoding["wav/pcm"]
404
- * ```
405
- *
406
- * @packageDocumentation
407
- */
408
-
409
- /**
410
- * Deepgram transcription models
411
- *
412
- * @example
413
- * ```typescript
414
- * import { DeepgramModel } from 'voice-router-dev/constants'
415
- *
416
- * { model: DeepgramModel["nova-3"] }
417
- * { model: DeepgramModel["nova-2-medical"] }
418
- * ```
419
- */
420
- declare const DeepgramModel: {
421
- readonly "nova-3": "nova-3";
422
- readonly "nova-3-general": "nova-3-general";
423
- readonly "nova-3-medical": "nova-3-medical";
424
- readonly "nova-2": "nova-2";
425
- readonly "nova-2-general": "nova-2-general";
426
- readonly "nova-2-meeting": "nova-2-meeting";
427
- readonly "nova-2-finance": "nova-2-finance";
428
- readonly "nova-2-conversationalai": "nova-2-conversationalai";
429
- readonly "nova-2-voicemail": "nova-2-voicemail";
430
- readonly "nova-2-video": "nova-2-video";
431
- readonly "nova-2-medical": "nova-2-medical";
432
- readonly "nova-2-drivethru": "nova-2-drivethru";
433
- readonly "nova-2-automotive": "nova-2-automotive";
434
- readonly nova: "nova";
435
- readonly "nova-general": "nova-general";
436
- readonly "nova-phonecall": "nova-phonecall";
437
- readonly "nova-medical": "nova-medical";
438
- readonly enhanced: "enhanced";
439
- readonly "enhanced-general": "enhanced-general";
440
- readonly "enhanced-meeting": "enhanced-meeting";
441
- readonly "enhanced-phonecall": "enhanced-phonecall";
442
- readonly "enhanced-finance": "enhanced-finance";
443
- readonly base: "base";
444
- readonly meeting: "meeting";
445
- readonly phonecall: "phonecall";
446
- readonly finance: "finance";
447
- readonly conversationalai: "conversationalai";
448
- readonly voicemail: "voicemail";
449
- readonly video: "video";
450
- };
451
-
452
466
  /**
453
467
  * AssemblyAI audio encoding formats
454
468
  *
@@ -502,14 +516,130 @@ declare const AssemblyAISampleRate: {
502
516
  readonly rate44100: 44100;
503
517
  readonly rate48000: 48000;
504
518
  };
519
+ /**
520
+ * AssemblyAI transcript status values for filtering
521
+ *
522
+ * Values: `queued`, `processing`, `completed`, `error`
523
+ *
524
+ * @example
525
+ * ```typescript
526
+ * import { AssemblyAIStatus } from 'voice-router-dev/constants'
527
+ *
528
+ * await router.listTranscripts('assemblyai', {
529
+ * status: AssemblyAIStatus.completed
530
+ * })
531
+ * ```
532
+ */
533
+ declare const AssemblyAIStatus: {
534
+ readonly queued: "queued";
535
+ readonly processing: "processing";
536
+ readonly completed: "completed";
537
+ readonly error: "error";
538
+ };
539
+ /**
540
+ * Gladia job status values for filtering
541
+ *
542
+ * Values: `queued`, `processing`, `done`, `error`
543
+ *
544
+ * Note: Gladia uses `done` instead of `completed`
545
+ *
546
+ * @example
547
+ * ```typescript
548
+ * import { GladiaStatus } from 'voice-router-dev/constants'
549
+ *
550
+ * await router.listTranscripts('gladia', {
551
+ * status: GladiaStatus.done
552
+ * })
553
+ * ```
554
+ */
555
+ declare const GladiaStatus: {
556
+ readonly queued: "queued";
557
+ readonly processing: "processing";
558
+ readonly done: "done";
559
+ readonly error: "error";
560
+ };
561
+ /**
562
+ * Azure Speech-to-Text transcription status values for filtering
563
+ *
564
+ * Values: `NotStarted`, `Running`, `Succeeded`, `Failed`
565
+ *
566
+ * Note: Azure uses different naming than other providers
567
+ *
568
+ * @example
569
+ * ```typescript
570
+ * import { AzureStatus } from 'voice-router-dev/constants'
571
+ *
572
+ * await router.listTranscripts('azure-stt', {
573
+ * status: AzureStatus.Succeeded
574
+ * })
575
+ * ```
576
+ */
577
+ declare const AzureStatus: {
578
+ readonly NotStarted: "NotStarted";
579
+ readonly Running: "Running";
580
+ readonly Succeeded: "Succeeded";
581
+ readonly Failed: "Failed";
582
+ };
583
+ /**
584
+ * Deepgram request history status values for filtering
585
+ *
586
+ * Values: `succeeded`, `failed`
587
+ *
588
+ * Note: Deepgram only stores request metadata, not transcript content.
589
+ * Requires `projectId` to be set during adapter initialization.
590
+ *
591
+ * @example
592
+ * ```typescript
593
+ * import { DeepgramStatus } from 'voice-router-dev/constants'
594
+ *
595
+ * await router.listTranscripts('deepgram', {
596
+ * status: DeepgramStatus.succeeded
597
+ * })
598
+ * ```
599
+ */
600
+ declare const DeepgramStatus: {
601
+ readonly succeeded: "succeeded";
602
+ readonly failed: "failed";
603
+ };
604
+ /** Deepgram encoding type derived from const object */
605
+ type DeepgramEncodingType = (typeof DeepgramEncoding)[keyof typeof DeepgramEncoding];
606
+ /** Deepgram redaction type derived from const object */
607
+ type DeepgramRedactType = (typeof DeepgramRedact)[keyof typeof DeepgramRedact];
608
+ /** Deepgram topic mode type derived from const object */
609
+ type DeepgramTopicModeType = (typeof DeepgramTopicMode)[keyof typeof DeepgramTopicMode];
610
+ /** Deepgram intent mode type derived from const object */
611
+ type DeepgramIntentModeType = (typeof DeepgramIntentMode)[keyof typeof DeepgramIntentMode];
612
+ /** Deepgram callback method type derived from const object */
613
+ type DeepgramCallbackMethodType = (typeof DeepgramCallbackMethod)[keyof typeof DeepgramCallbackMethod];
614
+ /** Deepgram sample rate type derived from const object */
615
+ type DeepgramSampleRateType = (typeof DeepgramSampleRate)[keyof typeof DeepgramSampleRate];
505
616
  /** Deepgram model type derived from const object */
506
617
  type DeepgramModelType = (typeof DeepgramModel)[keyof typeof DeepgramModel];
507
-
618
+ /** Gladia encoding type derived from const object */
619
+ type GladiaEncodingType = (typeof GladiaEncoding)[keyof typeof GladiaEncoding];
620
+ /** Gladia sample rate type derived from const object */
621
+ type GladiaSampleRateType = (typeof GladiaSampleRate)[keyof typeof GladiaSampleRate];
622
+ /** Gladia bit depth type derived from const object */
623
+ type GladiaBitDepthType = (typeof GladiaBitDepth)[keyof typeof GladiaBitDepth];
624
+ /** Gladia model type derived from const object */
625
+ type GladiaModelType = (typeof GladiaModel)[keyof typeof GladiaModel];
626
+ /** Gladia language type derived from const object */
627
+ type GladiaLanguageType = (typeof GladiaLanguage)[keyof typeof GladiaLanguage];
628
+ /** Gladia translation language type derived from const object */
629
+ type GladiaTranslationLanguageType = (typeof GladiaTranslationLanguage)[keyof typeof GladiaTranslationLanguage];
508
630
  /** AssemblyAI encoding type derived from const object */
509
631
  type AssemblyAIEncodingType = (typeof AssemblyAIEncoding)[keyof typeof AssemblyAIEncoding];
510
632
  /** AssemblyAI speech model type derived from const object */
511
633
  type AssemblyAISpeechModelType = (typeof AssemblyAISpeechModel)[keyof typeof AssemblyAISpeechModel];
512
634
  /** AssemblyAI sample rate type derived from const object */
513
635
  type AssemblyAISampleRateType = (typeof AssemblyAISampleRate)[keyof typeof AssemblyAISampleRate];
636
+ /** AssemblyAI status type derived from const object */
637
+ type AssemblyAIStatusType = (typeof AssemblyAIStatus)[keyof typeof AssemblyAIStatus];
638
+ /** Gladia status type derived from const object */
639
+ type GladiaStatusType = (typeof GladiaStatus)[keyof typeof GladiaStatus];
640
+ /** Azure status type derived from const object */
641
+ type AzureStatusType = (typeof AzureStatus)[keyof typeof AzureStatus];
642
+ /** Deepgram status type derived from const object */
643
+ type DeepgramStatusType = (typeof DeepgramStatus)[keyof typeof DeepgramStatus];
514
644
 
515
- export { AssemblyAIEncoding, type AssemblyAIEncodingType, AssemblyAISampleRate, type AssemblyAISampleRateType, AssemblyAISpeechModel, type AssemblyAISpeechModelType, ListenV1EncodingParameter as DeepgramEncoding, DeepgramModel, type DeepgramModelType, ListenV1RedactParameterOneOfItem as DeepgramRedact, ListenV1RedactParameterOneOfItem as DeepgramRedactType, SharedCustomTopicModeParameter as DeepgramTopicMode, SharedCustomTopicModeParameter as DeepgramTopicModeType, StreamingSupportedBitDepthEnum as GladiaBitDepth, StreamingSupportedEncodingEnum as GladiaEncoding, TranscriptionLanguageCodeEnum as GladiaLanguage, StreamingSupportedModels as GladiaModel, StreamingSupportedSampleRateEnum as GladiaSampleRate, TranslationLanguageCodeEnum as GladiaTranslationLanguage };
645
+ export { AssemblyAIEncoding, type AssemblyAIEncodingType, AssemblyAISampleRate, type AssemblyAISampleRateType, AssemblyAISpeechModel, type AssemblyAISpeechModelType, AssemblyAIStatus, type AssemblyAIStatusType, AzureStatus, type AzureStatusType, DeepgramCallbackMethod, type DeepgramCallbackMethodType, DeepgramEncoding, type DeepgramEncodingType, DeepgramIntentMode, type DeepgramIntentModeType, DeepgramModel, type DeepgramModelType, DeepgramRedact, type DeepgramRedactType, DeepgramSampleRate, type DeepgramSampleRateType, DeepgramStatus, type DeepgramStatusType, DeepgramTopicMode, type DeepgramTopicModeType, GladiaBitDepth, type GladiaBitDepthType, GladiaEncoding, type GladiaEncodingType, GladiaLanguage, type GladiaLanguageType, GladiaModel, type GladiaModelType, GladiaSampleRate, type GladiaSampleRateType, GladiaStatus, type GladiaStatusType, GladiaTranslationLanguage, type GladiaTranslationLanguageType };