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.
package/dist/constants.js CHANGED
@@ -24,16 +24,23 @@ __export(constants_exports, {
24
24
  AssemblyAIEncoding: () => AssemblyAIEncoding,
25
25
  AssemblyAISampleRate: () => AssemblyAISampleRate,
26
26
  AssemblyAISpeechModel: () => AssemblyAISpeechModel,
27
- DeepgramEncoding: () => ListenV1EncodingParameter,
27
+ AssemblyAIStatus: () => AssemblyAIStatus,
28
+ AzureStatus: () => AzureStatus,
29
+ DeepgramCallbackMethod: () => DeepgramCallbackMethod,
30
+ DeepgramEncoding: () => DeepgramEncoding,
31
+ DeepgramIntentMode: () => DeepgramIntentMode,
28
32
  DeepgramModel: () => DeepgramModel,
29
- DeepgramRedact: () => ListenV1RedactParameterOneOfItem,
30
- DeepgramTopicMode: () => SharedCustomTopicModeParameter,
31
- GladiaBitDepth: () => StreamingSupportedBitDepthEnum,
32
- GladiaEncoding: () => StreamingSupportedEncodingEnum,
33
- GladiaLanguage: () => TranscriptionLanguageCodeEnum,
34
- GladiaModel: () => StreamingSupportedModels,
35
- GladiaSampleRate: () => StreamingSupportedSampleRateEnum,
36
- GladiaTranslationLanguage: () => TranslationLanguageCodeEnum
33
+ DeepgramRedact: () => DeepgramRedact,
34
+ DeepgramSampleRate: () => DeepgramSampleRate,
35
+ DeepgramStatus: () => DeepgramStatus,
36
+ DeepgramTopicMode: () => DeepgramTopicMode,
37
+ GladiaBitDepth: () => GladiaBitDepth,
38
+ GladiaEncoding: () => GladiaEncoding,
39
+ GladiaLanguage: () => GladiaLanguage,
40
+ GladiaModel: () => GladiaModel,
41
+ GladiaSampleRate: () => GladiaSampleRate,
42
+ GladiaStatus: () => GladiaStatus,
43
+ GladiaTranslationLanguage: () => GladiaTranslationLanguage
37
44
  });
38
45
  module.exports = __toCommonJS(constants_exports);
39
46
 
@@ -60,6 +67,18 @@ var SharedCustomTopicModeParameter = {
60
67
  strict: "strict"
61
68
  };
62
69
 
70
+ // src/generated/deepgram/schema/sharedCustomIntentModeParameter.ts
71
+ var SharedCustomIntentModeParameter = {
72
+ extended: "extended",
73
+ strict: "strict"
74
+ };
75
+
76
+ // src/generated/deepgram/schema/sharedCallbackMethodParameter.ts
77
+ var SharedCallbackMethodParameter = {
78
+ POST: "POST",
79
+ PUT: "PUT"
80
+ };
81
+
63
82
  // src/generated/gladia/schema/streamingSupportedEncodingEnum.ts
64
83
  var StreamingSupportedEncodingEnum = {
65
84
  "wav/pcm": "wav/pcm",
@@ -296,7 +315,49 @@ var TranslationLanguageCodeEnum = {
296
315
  zh: "zh"
297
316
  };
298
317
 
318
+ // src/generated/assemblyai/schema/transcriptStatus.ts
319
+ var TranscriptStatus = {
320
+ queued: "queued",
321
+ processing: "processing",
322
+ completed: "completed",
323
+ error: "error"
324
+ };
325
+
326
+ // src/generated/gladia/schema/transcriptionControllerListV2StatusItem.ts
327
+ var TranscriptionControllerListV2StatusItem = {
328
+ queued: "queued",
329
+ processing: "processing",
330
+ done: "done",
331
+ error: "error"
332
+ };
333
+
334
+ // src/generated/azure/schema/status.ts
335
+ var Status = {
336
+ NotStarted: "NotStarted",
337
+ Running: "Running",
338
+ Succeeded: "Succeeded",
339
+ Failed: "Failed"
340
+ };
341
+
342
+ // src/generated/deepgram/schema/manageV1FilterStatusParameter.ts
343
+ var ManageV1FilterStatusParameter = {
344
+ succeeded: "succeeded",
345
+ failed: "failed"
346
+ };
347
+
299
348
  // src/constants.ts
349
+ var DeepgramEncoding = ListenV1EncodingParameter;
350
+ var DeepgramRedact = ListenV1RedactParameterOneOfItem;
351
+ var DeepgramTopicMode = SharedCustomTopicModeParameter;
352
+ var DeepgramIntentMode = SharedCustomIntentModeParameter;
353
+ var DeepgramCallbackMethod = SharedCallbackMethodParameter;
354
+ var DeepgramSampleRate = {
355
+ NUMBER_8000: 8e3,
356
+ NUMBER_16000: 16e3,
357
+ NUMBER_32000: 32e3,
358
+ NUMBER_44100: 44100,
359
+ NUMBER_48000: 48e3
360
+ };
300
361
  var DeepgramModel = {
301
362
  // Nova 3 models (latest)
302
363
  "nova-3": "nova-3",
@@ -333,6 +394,12 @@ var DeepgramModel = {
333
394
  voicemail: "voicemail",
334
395
  video: "video"
335
396
  };
397
+ var GladiaEncoding = StreamingSupportedEncodingEnum;
398
+ var GladiaSampleRate = StreamingSupportedSampleRateEnum;
399
+ var GladiaBitDepth = StreamingSupportedBitDepthEnum;
400
+ var GladiaModel = StreamingSupportedModels;
401
+ var GladiaLanguage = TranscriptionLanguageCodeEnum;
402
+ var GladiaTranslationLanguage = TranslationLanguageCodeEnum;
336
403
  var AssemblyAIEncoding = {
337
404
  /** PCM signed 16-bit little-endian (recommended) */
338
405
  pcmS16le: "pcm_s16le",
@@ -352,20 +419,31 @@ var AssemblyAISampleRate = {
352
419
  rate44100: 44100,
353
420
  rate48000: 48e3
354
421
  };
422
+ var AssemblyAIStatus = TranscriptStatus;
423
+ var GladiaStatus = TranscriptionControllerListV2StatusItem;
424
+ var AzureStatus = Status;
425
+ var DeepgramStatus = ManageV1FilterStatusParameter;
355
426
  // Annotate the CommonJS export names for ESM import in node:
356
427
  0 && (module.exports = {
357
428
  AssemblyAIEncoding,
358
429
  AssemblyAISampleRate,
359
430
  AssemblyAISpeechModel,
431
+ AssemblyAIStatus,
432
+ AzureStatus,
433
+ DeepgramCallbackMethod,
360
434
  DeepgramEncoding,
435
+ DeepgramIntentMode,
361
436
  DeepgramModel,
362
437
  DeepgramRedact,
438
+ DeepgramSampleRate,
439
+ DeepgramStatus,
363
440
  DeepgramTopicMode,
364
441
  GladiaBitDepth,
365
442
  GladiaEncoding,
366
443
  GladiaLanguage,
367
444
  GladiaModel,
368
445
  GladiaSampleRate,
446
+ GladiaStatus,
369
447
  GladiaTranslationLanguage
370
448
  });
371
449
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts","../src/generated/deepgram/schema/listenV1EncodingParameter.ts","../src/generated/deepgram/schema/listenV1RedactParameterOneOfItem.ts","../src/generated/deepgram/schema/sharedCustomTopicModeParameter.ts","../src/generated/gladia/schema/streamingSupportedEncodingEnum.ts","../src/generated/gladia/schema/streamingSupportedSampleRateEnum.ts","../src/generated/gladia/schema/streamingSupportedBitDepthEnum.ts","../src/generated/gladia/schema/streamingSupportedModels.ts","../src/generated/gladia/schema/transcriptionLanguageCodeEnum.ts","../src/generated/gladia/schema/translationLanguageCodeEnum.ts"],"sourcesContent":["/**\n * Browser-safe constants for speech-to-text providers\n *\n * This module exports only plain const objects - no Node.js dependencies.\n * Safe to use in browsers, Cloudflare Workers, and other edge environments.\n *\n * @example\n * ```typescript\n * // Browser-safe import (no node:crypto or other Node.js deps)\n * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'\n *\n * const model = DeepgramModel[\"nova-3\"]\n * const encoding = GladiaEncoding[\"wav/pcm\"]\n * ```\n *\n * @packageDocumentation\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nexport { ListenV1EncodingParameter as DeepgramEncoding } from \"./generated/deepgram/schema/listenV1EncodingParameter\"\nexport { ListenV1RedactParameterOneOfItem as DeepgramRedact } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\nexport { SharedCustomTopicModeParameter as DeepgramTopicMode } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\n\n/**\n * Deepgram transcription models\n *\n * @example\n * ```typescript\n * import { DeepgramModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramModel[\"nova-3\"] }\n * { model: DeepgramModel[\"nova-2-medical\"] }\n * ```\n */\nexport const DeepgramModel = {\n // Nova 3 models (latest)\n \"nova-3\": \"nova-3\",\n \"nova-3-general\": \"nova-3-general\",\n \"nova-3-medical\": \"nova-3-medical\",\n\n // Nova 2 models\n \"nova-2\": \"nova-2\",\n \"nova-2-general\": \"nova-2-general\",\n \"nova-2-meeting\": \"nova-2-meeting\",\n \"nova-2-finance\": \"nova-2-finance\",\n \"nova-2-conversationalai\": \"nova-2-conversationalai\",\n \"nova-2-voicemail\": \"nova-2-voicemail\",\n \"nova-2-video\": \"nova-2-video\",\n \"nova-2-medical\": \"nova-2-medical\",\n \"nova-2-drivethru\": \"nova-2-drivethru\",\n \"nova-2-automotive\": \"nova-2-automotive\",\n\n // Nova 1 models\n nova: \"nova\",\n \"nova-general\": \"nova-general\",\n \"nova-phonecall\": \"nova-phonecall\",\n \"nova-medical\": \"nova-medical\",\n\n // Enhanced models\n enhanced: \"enhanced\",\n \"enhanced-general\": \"enhanced-general\",\n \"enhanced-meeting\": \"enhanced-meeting\",\n \"enhanced-phonecall\": \"enhanced-phonecall\",\n \"enhanced-finance\": \"enhanced-finance\",\n\n // Base models\n base: \"base\",\n meeting: \"meeting\",\n phonecall: \"phonecall\",\n finance: \"finance\",\n conversationalai: \"conversationalai\",\n voicemail: \"voicemail\",\n video: \"video\"\n} as const satisfies Record<\n string,\n import(\"./generated/deepgram/schema/listenV1ModelParameter\").ListenV1ModelParameter\n>\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Gladia Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nexport { StreamingSupportedEncodingEnum as GladiaEncoding } from \"./generated/gladia/schema/streamingSupportedEncodingEnum\"\nexport { StreamingSupportedSampleRateEnum as GladiaSampleRate } from \"./generated/gladia/schema/streamingSupportedSampleRateEnum\"\nexport { StreamingSupportedBitDepthEnum as GladiaBitDepth } from \"./generated/gladia/schema/streamingSupportedBitDepthEnum\"\nexport { StreamingSupportedModels as GladiaModel } from \"./generated/gladia/schema/streamingSupportedModels\"\nexport { TranscriptionLanguageCodeEnum as GladiaLanguage } from \"./generated/gladia/schema/transcriptionLanguageCodeEnum\"\nexport { TranslationLanguageCodeEnum as GladiaTranslationLanguage } from \"./generated/gladia/schema/translationLanguageCodeEnum\"\n\n// ─────────────────────────────────────────────────────────────────────────────\n// AssemblyAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * AssemblyAI audio encoding formats\n *\n * @example\n * ```typescript\n * import { AssemblyAIEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: AssemblyAIEncoding.pcmS16le }\n * ```\n */\nexport const AssemblyAIEncoding = {\n /** PCM signed 16-bit little-endian (recommended) */\n pcmS16le: \"pcm_s16le\",\n /** μ-law (telephony) */\n pcmMulaw: \"pcm_mulaw\"\n} as const satisfies Record<string, import(\"./generated/assemblyai/streaming-types\").AudioEncoding>\n\n/**\n * AssemblyAI streaming speech models\n *\n * @example\n * ```typescript\n * import { AssemblyAISpeechModel } from 'voice-router-dev/constants'\n *\n * { speechModel: AssemblyAISpeechModel.multilingual }\n * ```\n */\nexport const AssemblyAISpeechModel = {\n /** Optimized for English */\n english: \"universal-streaming-english\",\n /** Supports 20+ languages */\n multilingual: \"universal-streaming-multilingual\"\n} as const satisfies Record<\n string,\n import(\"./generated/assemblyai/streaming-types\").StreamingSpeechModel\n>\n\n/**\n * AssemblyAI supported sample rates\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * AssemblyAI's SDK accepts any `number` for sampleRate.\n * These values are from AssemblyAI documentation for convenience.\n *\n * @example\n * ```typescript\n * import { AssemblyAISampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: AssemblyAISampleRate.rate16000 }\n * ```\n */\nexport const AssemblyAISampleRate = {\n rate8000: 8000,\n rate16000: 16000,\n rate22050: 22050,\n rate44100: 44100,\n rate48000: 48000\n} as const\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Type exports\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Deepgram model type derived from const object */\nexport type DeepgramModelType = (typeof DeepgramModel)[keyof typeof DeepgramModel]\n\n/** Deepgram redaction type - re-exported from OpenAPI generated types */\nexport type { ListenV1RedactParameterOneOfItem as DeepgramRedactType } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\n\n/** Deepgram topic mode type - re-exported from OpenAPI generated types */\nexport type { SharedCustomTopicModeParameter as DeepgramTopicModeType } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\n\n/** AssemblyAI encoding type derived from const object */\nexport type AssemblyAIEncodingType = (typeof AssemblyAIEncoding)[keyof typeof AssemblyAIEncoding]\n\n/** AssemblyAI speech model type derived from const object */\nexport type AssemblyAISpeechModelType =\n (typeof AssemblyAISpeechModel)[keyof typeof AssemblyAISpeechModel]\n\n/** AssemblyAI sample rate type derived from const object */\nexport type AssemblyAISampleRateType =\n (typeof AssemblyAISampleRate)[keyof typeof AssemblyAISampleRate]\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\nexport type ListenV1EncodingParameter = typeof ListenV1EncodingParameter[keyof typeof ListenV1EncodingParameter];\n\nexport const ListenV1EncodingParameter = {\n linear16: \"linear16\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n opus: \"opus\",\n speex: \"speex\",\n g729: \"g729\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\nexport type ListenV1RedactParameterOneOfItem =\n (typeof ListenV1RedactParameterOneOfItem)[keyof typeof ListenV1RedactParameterOneOfItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListenV1RedactParameterOneOfItem = {\n pci: \"pci\",\n pii: \"pii\",\n numbers: \"numbers\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\nexport type SharedCustomTopicModeParameter = typeof SharedCustomTopicModeParameter[keyof typeof SharedCustomTopicModeParameter];\n\nexport const SharedCustomTopicModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The encoding format of the audio stream. Supported formats: \n- PCM: 8, 16, 24, and 32 bits \n- A-law: 8 bits \n- μ-law: 8 bits \n\nNote: No need to add WAV headers to raw audio as the API supports both formats.\n */\nexport type StreamingSupportedEncodingEnum =\n (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedEncodingEnum = {\n \"wav/pcm\": \"wav/pcm\",\n \"wav/alaw\": \"wav/alaw\",\n \"wav/ulaw\": \"wav/ulaw\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The sample rate of the audio stream\n */\nexport type StreamingSupportedSampleRateEnum =\n (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedSampleRateEnum = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The bit depth of the audio stream\n */\nexport type StreamingSupportedBitDepthEnum =\n (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedBitDepthEnum = {\n NUMBER_8: 8,\n NUMBER_16: 16,\n NUMBER_24: 24,\n NUMBER_32: 32\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The model used to process the audio. \"solaria-1\" is used by default.\n */\nexport type StreamingSupportedModels =\n (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedModels = {\n \"solaria-1\": \"solaria-1\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.\n */\nexport type TranscriptionLanguageCodeEnum =\n (typeof TranscriptionLanguageCodeEnum)[keyof typeof TranscriptionLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Target language in `iso639-1` format you want the transcription translated to\n */\nexport type TranslationLanguageCodeEnum =\n (typeof TranslationLanguageCodeEnum)[keyof typeof TranslationLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranslationLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n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,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA;AAAA,EAGpB,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,OAAO;AACT;AA8BO,IAAM,qBAAqB;AAAA;AAAA,EAEhC,UAAU;AAAA;AAAA,EAEV,UAAU;AACZ;AAYO,IAAM,wBAAwB;AAAA;AAAA,EAEnC,SAAS;AAAA;AAAA,EAET,cAAc;AAChB;AAmBO,IAAM,uBAAuB;AAAA,EAClC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../src/constants.ts","../src/generated/deepgram/schema/listenV1EncodingParameter.ts","../src/generated/deepgram/schema/listenV1RedactParameterOneOfItem.ts","../src/generated/deepgram/schema/sharedCustomTopicModeParameter.ts","../src/generated/deepgram/schema/sharedCustomIntentModeParameter.ts","../src/generated/deepgram/schema/sharedCallbackMethodParameter.ts","../src/generated/gladia/schema/streamingSupportedEncodingEnum.ts","../src/generated/gladia/schema/streamingSupportedSampleRateEnum.ts","../src/generated/gladia/schema/streamingSupportedBitDepthEnum.ts","../src/generated/gladia/schema/streamingSupportedModels.ts","../src/generated/gladia/schema/transcriptionLanguageCodeEnum.ts","../src/generated/gladia/schema/translationLanguageCodeEnum.ts","../src/generated/assemblyai/schema/transcriptStatus.ts","../src/generated/gladia/schema/transcriptionControllerListV2StatusItem.ts","../src/generated/azure/schema/status.ts","../src/generated/deepgram/schema/manageV1FilterStatusParameter.ts"],"sourcesContent":["/**\n * Browser-safe constants for speech-to-text providers\n *\n * This module exports only plain const objects - no Node.js dependencies.\n * Safe to use in browsers, Cloudflare Workers, and other edge environments.\n *\n * @example\n * ```typescript\n * // Browser-safe import (no node:crypto or other Node.js deps)\n * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'\n *\n * const model = DeepgramModel[\"nova-3\"]\n * const encoding = GladiaEncoding[\"wav/pcm\"]\n * ```\n *\n * @packageDocumentation\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { ListenV1EncodingParameter } from \"./generated/deepgram/schema/listenV1EncodingParameter\"\nimport { ListenV1RedactParameterOneOfItem } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\nimport { SharedCustomTopicModeParameter } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\nimport { SharedCustomIntentModeParameter } from \"./generated/deepgram/schema/sharedCustomIntentModeParameter\"\nimport { SharedCallbackMethodParameter } from \"./generated/deepgram/schema/sharedCallbackMethodParameter\"\n\n/**\n * Deepgram audio encoding formats\n *\n * Values: `linear16`, `flac`, `mulaw`, `amr-nb`, `amr-wb`, `opus`, `speex`, `g729`, `mp3`, `vorbis`, `webm`, `mp4`, `m4a`, `aac`, `wav`, `aiff`, `mpeg`\n *\n * @example\n * ```typescript\n * import { DeepgramEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: DeepgramEncoding.linear16 }\n * { encoding: DeepgramEncoding.opus }\n * ```\n */\nexport const DeepgramEncoding = ListenV1EncodingParameter\n\n/**\n * Deepgram redaction options for PII removal\n *\n * Values: `pci`, `numbers`, `ssn`, `pii`\n *\n * @example\n * ```typescript\n * import { DeepgramRedact } from 'voice-router-dev/constants'\n *\n * { redact: [DeepgramRedact.pii, DeepgramRedact.ssn] }\n * ```\n */\nexport const DeepgramRedact = ListenV1RedactParameterOneOfItem\n\n/**\n * Deepgram topic detection modes\n *\n * Values: `extended`, `strict`\n *\n * @example\n * ```typescript\n * import { DeepgramTopicMode } from 'voice-router-dev/constants'\n *\n * { customTopicMode: DeepgramTopicMode.extended }\n * ```\n */\nexport const DeepgramTopicMode = SharedCustomTopicModeParameter\n\n/**\n * Deepgram intent detection modes\n *\n * Values: `extended`, `strict`\n *\n * @example\n * ```typescript\n * import { DeepgramIntentMode } from 'voice-router-dev/constants'\n *\n * { customIntentMode: DeepgramIntentMode.extended }\n * ```\n */\nexport const DeepgramIntentMode = SharedCustomIntentModeParameter\n\n/**\n * Deepgram callback HTTP methods for async transcription\n *\n * Values: `POST`, `PUT`\n *\n * @example\n * ```typescript\n * import { DeepgramCallbackMethod } from 'voice-router-dev/constants'\n *\n * { callbackMethod: DeepgramCallbackMethod.POST }\n * ```\n */\nexport const DeepgramCallbackMethod = SharedCallbackMethodParameter\n\n/**\n * Deepgram supported sample rates (Hz)\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * Deepgram's OpenAPI spec accepts any `number` for sampleRate.\n * These values are from Deepgram documentation for convenience.\n *\n * Values: `8000`, `16000`, `32000`, `44100`, `48000`\n *\n * @example\n * ```typescript\n * import { DeepgramSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: DeepgramSampleRate.NUMBER_16000 }\n * ```\n */\nexport const DeepgramSampleRate = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n\n/**\n * Deepgram transcription models\n *\n * @example\n * ```typescript\n * import { DeepgramModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramModel[\"nova-3\"] }\n * { model: DeepgramModel[\"nova-2-medical\"] }\n * ```\n */\nexport const DeepgramModel = {\n // Nova 3 models (latest)\n \"nova-3\": \"nova-3\",\n \"nova-3-general\": \"nova-3-general\",\n \"nova-3-medical\": \"nova-3-medical\",\n\n // Nova 2 models\n \"nova-2\": \"nova-2\",\n \"nova-2-general\": \"nova-2-general\",\n \"nova-2-meeting\": \"nova-2-meeting\",\n \"nova-2-finance\": \"nova-2-finance\",\n \"nova-2-conversationalai\": \"nova-2-conversationalai\",\n \"nova-2-voicemail\": \"nova-2-voicemail\",\n \"nova-2-video\": \"nova-2-video\",\n \"nova-2-medical\": \"nova-2-medical\",\n \"nova-2-drivethru\": \"nova-2-drivethru\",\n \"nova-2-automotive\": \"nova-2-automotive\",\n\n // Nova 1 models\n nova: \"nova\",\n \"nova-general\": \"nova-general\",\n \"nova-phonecall\": \"nova-phonecall\",\n \"nova-medical\": \"nova-medical\",\n\n // Enhanced models\n enhanced: \"enhanced\",\n \"enhanced-general\": \"enhanced-general\",\n \"enhanced-meeting\": \"enhanced-meeting\",\n \"enhanced-phonecall\": \"enhanced-phonecall\",\n \"enhanced-finance\": \"enhanced-finance\",\n\n // Base models\n base: \"base\",\n meeting: \"meeting\",\n phonecall: \"phonecall\",\n finance: \"finance\",\n conversationalai: \"conversationalai\",\n voicemail: \"voicemail\",\n video: \"video\"\n} as const satisfies Record<\n string,\n import(\"./generated/deepgram/schema/listenV1ModelParameter\").ListenV1ModelParameter\n>\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Gladia Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { StreamingSupportedEncodingEnum } from \"./generated/gladia/schema/streamingSupportedEncodingEnum\"\nimport { StreamingSupportedSampleRateEnum } from \"./generated/gladia/schema/streamingSupportedSampleRateEnum\"\nimport { StreamingSupportedBitDepthEnum } from \"./generated/gladia/schema/streamingSupportedBitDepthEnum\"\nimport { StreamingSupportedModels } from \"./generated/gladia/schema/streamingSupportedModels\"\nimport { TranscriptionLanguageCodeEnum } from \"./generated/gladia/schema/transcriptionLanguageCodeEnum\"\nimport { TranslationLanguageCodeEnum } from \"./generated/gladia/schema/translationLanguageCodeEnum\"\n\n/**\n * Gladia audio encoding formats for streaming\n *\n * Values: `wav/pcm`, `wav/alaw`, `wav/ulaw`\n *\n * @example\n * ```typescript\n * import { GladiaEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: GladiaEncoding[\"wav/pcm\"] }\n * ```\n */\nexport const GladiaEncoding = StreamingSupportedEncodingEnum\n\n/**\n * Gladia supported sample rates (Hz)\n *\n * Values: `8000`, `16000`, `32000`, `44100`, `48000`\n *\n * @example\n * ```typescript\n * import { GladiaSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: GladiaSampleRate.NUMBER_16000 }\n * ```\n */\nexport const GladiaSampleRate = StreamingSupportedSampleRateEnum\n\n/**\n * Gladia supported bit depths\n *\n * Values: `8`, `16`, `24`, `32`\n *\n * @example\n * ```typescript\n * import { GladiaBitDepth } from 'voice-router-dev/constants'\n *\n * { bitDepth: GladiaBitDepth.NUMBER_16 }\n * ```\n */\nexport const GladiaBitDepth = StreamingSupportedBitDepthEnum\n\n/**\n * Gladia transcription models\n *\n * Values: `fast`, `accurate`\n *\n * @example\n * ```typescript\n * import { GladiaModel } from 'voice-router-dev/constants'\n *\n * { model: GladiaModel.accurate }\n * ```\n */\nexport const GladiaModel = StreamingSupportedModels\n\n/**\n * Gladia transcription language codes (100+ languages)\n *\n * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`\n *\n * @example\n * ```typescript\n * import { GladiaLanguage } from 'voice-router-dev/constants'\n *\n * { language: GladiaLanguage.en }\n * { language: GladiaLanguage.es }\n * ```\n */\nexport const GladiaLanguage = TranscriptionLanguageCodeEnum\n\n/**\n * Gladia translation target language codes\n *\n * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`\n *\n * @example\n * ```typescript\n * import { GladiaTranslationLanguage } from 'voice-router-dev/constants'\n *\n * { targetLanguages: [GladiaTranslationLanguage.fr, GladiaTranslationLanguage.es] }\n * ```\n */\nexport const GladiaTranslationLanguage = TranslationLanguageCodeEnum\n\n// ─────────────────────────────────────────────────────────────────────────────\n// AssemblyAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * AssemblyAI audio encoding formats\n *\n * @example\n * ```typescript\n * import { AssemblyAIEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: AssemblyAIEncoding.pcmS16le }\n * ```\n */\nexport const AssemblyAIEncoding = {\n /** PCM signed 16-bit little-endian (recommended) */\n pcmS16le: \"pcm_s16le\",\n /** μ-law (telephony) */\n pcmMulaw: \"pcm_mulaw\"\n} as const satisfies Record<string, import(\"./generated/assemblyai/streaming-types\").AudioEncoding>\n\n/**\n * AssemblyAI streaming speech models\n *\n * @example\n * ```typescript\n * import { AssemblyAISpeechModel } from 'voice-router-dev/constants'\n *\n * { speechModel: AssemblyAISpeechModel.multilingual }\n * ```\n */\nexport const AssemblyAISpeechModel = {\n /** Optimized for English */\n english: \"universal-streaming-english\",\n /** Supports 20+ languages */\n multilingual: \"universal-streaming-multilingual\"\n} as const satisfies Record<\n string,\n import(\"./generated/assemblyai/streaming-types\").StreamingSpeechModel\n>\n\n/**\n * AssemblyAI supported sample rates\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * AssemblyAI's SDK accepts any `number` for sampleRate.\n * These values are from AssemblyAI documentation for convenience.\n *\n * @example\n * ```typescript\n * import { AssemblyAISampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: AssemblyAISampleRate.rate16000 }\n * ```\n */\nexport const AssemblyAISampleRate = {\n rate8000: 8000,\n rate16000: 16000,\n rate22050: 22050,\n rate44100: 44100,\n rate48000: 48000\n} as const\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Transcript Status Constants (for listTranscripts filtering)\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { TranscriptStatus } from \"./generated/assemblyai/schema/transcriptStatus\"\nimport { TranscriptionControllerListV2StatusItem } from \"./generated/gladia/schema/transcriptionControllerListV2StatusItem\"\nimport { Status } from \"./generated/azure/schema/status\"\nimport { ManageV1FilterStatusParameter } from \"./generated/deepgram/schema/manageV1FilterStatusParameter\"\n\n/**\n * AssemblyAI transcript status values for filtering\n *\n * Values: `queued`, `processing`, `completed`, `error`\n *\n * @example\n * ```typescript\n * import { AssemblyAIStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('assemblyai', {\n * status: AssemblyAIStatus.completed\n * })\n * ```\n */\nexport const AssemblyAIStatus = TranscriptStatus\n\n/**\n * Gladia job status values for filtering\n *\n * Values: `queued`, `processing`, `done`, `error`\n *\n * Note: Gladia uses `done` instead of `completed`\n *\n * @example\n * ```typescript\n * import { GladiaStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('gladia', {\n * status: GladiaStatus.done\n * })\n * ```\n */\nexport const GladiaStatus = TranscriptionControllerListV2StatusItem\n\n/**\n * Azure Speech-to-Text transcription status values for filtering\n *\n * Values: `NotStarted`, `Running`, `Succeeded`, `Failed`\n *\n * Note: Azure uses different naming than other providers\n *\n * @example\n * ```typescript\n * import { AzureStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('azure-stt', {\n * status: AzureStatus.Succeeded\n * })\n * ```\n */\nexport const AzureStatus = Status\n\n/**\n * Deepgram request history status values for filtering\n *\n * Values: `succeeded`, `failed`\n *\n * Note: Deepgram only stores request metadata, not transcript content.\n * Requires `projectId` to be set during adapter initialization.\n *\n * @example\n * ```typescript\n * import { DeepgramStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('deepgram', {\n * status: DeepgramStatus.succeeded\n * })\n * ```\n */\nexport const DeepgramStatus = ManageV1FilterStatusParameter\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Type exports\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Deepgram encoding type derived from const object */\nexport type DeepgramEncodingType = (typeof DeepgramEncoding)[keyof typeof DeepgramEncoding]\n\n/** Deepgram redaction type derived from const object */\nexport type DeepgramRedactType = (typeof DeepgramRedact)[keyof typeof DeepgramRedact]\n\n/** Deepgram topic mode type derived from const object */\nexport type DeepgramTopicModeType = (typeof DeepgramTopicMode)[keyof typeof DeepgramTopicMode]\n\n/** Deepgram intent mode type derived from const object */\nexport type DeepgramIntentModeType = (typeof DeepgramIntentMode)[keyof typeof DeepgramIntentMode]\n\n/** Deepgram callback method type derived from const object */\nexport type DeepgramCallbackMethodType =\n (typeof DeepgramCallbackMethod)[keyof typeof DeepgramCallbackMethod]\n\n/** Deepgram sample rate type derived from const object */\nexport type DeepgramSampleRateType = (typeof DeepgramSampleRate)[keyof typeof DeepgramSampleRate]\n\n/** Deepgram model type derived from const object */\nexport type DeepgramModelType = (typeof DeepgramModel)[keyof typeof DeepgramModel]\n\n/** Gladia encoding type derived from const object */\nexport type GladiaEncodingType = (typeof GladiaEncoding)[keyof typeof GladiaEncoding]\n\n/** Gladia sample rate type derived from const object */\nexport type GladiaSampleRateType = (typeof GladiaSampleRate)[keyof typeof GladiaSampleRate]\n\n/** Gladia bit depth type derived from const object */\nexport type GladiaBitDepthType = (typeof GladiaBitDepth)[keyof typeof GladiaBitDepth]\n\n/** Gladia model type derived from const object */\nexport type GladiaModelType = (typeof GladiaModel)[keyof typeof GladiaModel]\n\n/** Gladia language type derived from const object */\nexport type GladiaLanguageType = (typeof GladiaLanguage)[keyof typeof GladiaLanguage]\n\n/** Gladia translation language type derived from const object */\nexport type GladiaTranslationLanguageType =\n (typeof GladiaTranslationLanguage)[keyof typeof GladiaTranslationLanguage]\n\n/** AssemblyAI encoding type derived from const object */\nexport type AssemblyAIEncodingType = (typeof AssemblyAIEncoding)[keyof typeof AssemblyAIEncoding]\n\n/** AssemblyAI speech model type derived from const object */\nexport type AssemblyAISpeechModelType =\n (typeof AssemblyAISpeechModel)[keyof typeof AssemblyAISpeechModel]\n\n/** AssemblyAI sample rate type derived from const object */\nexport type AssemblyAISampleRateType =\n (typeof AssemblyAISampleRate)[keyof typeof AssemblyAISampleRate]\n\n/** AssemblyAI status type derived from const object */\nexport type AssemblyAIStatusType = (typeof AssemblyAIStatus)[keyof typeof AssemblyAIStatus]\n\n/** Gladia status type derived from const object */\nexport type GladiaStatusType = (typeof GladiaStatus)[keyof typeof GladiaStatus]\n\n/** Azure status type derived from const object */\nexport type AzureStatusType = (typeof AzureStatus)[keyof typeof AzureStatus]\n\n/** Deepgram status type derived from const object */\nexport type DeepgramStatusType = (typeof DeepgramStatus)[keyof typeof DeepgramStatus]\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\nexport type ListenV1EncodingParameter = typeof ListenV1EncodingParameter[keyof typeof ListenV1EncodingParameter];\n\nexport const ListenV1EncodingParameter = {\n linear16: \"linear16\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n opus: \"opus\",\n speex: \"speex\",\n g729: \"g729\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\nexport type ListenV1RedactParameterOneOfItem =\n (typeof ListenV1RedactParameterOneOfItem)[keyof typeof ListenV1RedactParameterOneOfItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListenV1RedactParameterOneOfItem = {\n pci: \"pci\",\n pii: \"pii\",\n numbers: \"numbers\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\nexport type SharedCustomTopicModeParameter = typeof SharedCustomTopicModeParameter[keyof typeof SharedCustomTopicModeParameter];\n\nexport const SharedCustomTopicModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\nexport type SharedCustomIntentModeParameter = typeof SharedCustomIntentModeParameter[keyof typeof SharedCustomIntentModeParameter];\n\nexport const SharedCustomIntentModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\nexport type SharedCallbackMethodParameter = typeof SharedCallbackMethodParameter[keyof typeof SharedCallbackMethodParameter];\n\nexport const SharedCallbackMethodParameter = {\n POST: \"POST\",\n PUT: \"PUT\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The encoding format of the audio stream. Supported formats: \n- PCM: 8, 16, 24, and 32 bits \n- A-law: 8 bits \n- μ-law: 8 bits \n\nNote: No need to add WAV headers to raw audio as the API supports both formats.\n */\nexport type StreamingSupportedEncodingEnum =\n (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedEncodingEnum = {\n \"wav/pcm\": \"wav/pcm\",\n \"wav/alaw\": \"wav/alaw\",\n \"wav/ulaw\": \"wav/ulaw\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The sample rate of the audio stream\n */\nexport type StreamingSupportedSampleRateEnum =\n (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedSampleRateEnum = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The bit depth of the audio stream\n */\nexport type StreamingSupportedBitDepthEnum =\n (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedBitDepthEnum = {\n NUMBER_8: 8,\n NUMBER_16: 16,\n NUMBER_24: 24,\n NUMBER_32: 32\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The model used to process the audio. \"solaria-1\" is used by default.\n */\nexport type StreamingSupportedModels =\n (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedModels = {\n \"solaria-1\": \"solaria-1\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.\n */\nexport type TranscriptionLanguageCodeEnum =\n (typeof TranscriptionLanguageCodeEnum)[keyof typeof TranscriptionLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Target language in `iso639-1` format you want the transcription translated to\n */\nexport type TranslationLanguageCodeEnum =\n (typeof TranslationLanguageCodeEnum)[keyof typeof TranslationLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranslationLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n wo: \"wo\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * AssemblyAI API\n * AssemblyAI API\n * OpenAPI spec version: 1.3.4\n */\n\n/**\n * The status of your transcript. Possible values are queued, processing, completed, or error.\n */\nexport type TranscriptStatus = (typeof TranscriptStatus)[keyof typeof TranscriptStatus]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptStatus = {\n queued: \"queued\",\n processing: \"processing\",\n completed: \"completed\",\n error: \"error\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\nexport type TranscriptionControllerListV2StatusItem =\n (typeof TranscriptionControllerListV2StatusItem)[keyof typeof TranscriptionControllerListV2StatusItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionControllerListV2StatusItem = {\n queued: \"queued\",\n processing: \"processing\",\n done: \"done\",\n error: \"error\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Speech Services API v3.1\n * Speech Services API v3.1.\n * OpenAPI spec version: v3.1\n */\n\n/**\n * Describe the current state of the API\n */\nexport type Status = (typeof Status)[keyof typeof Status]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const Status = {\n NotStarted: \"NotStarted\",\n Running: \"Running\",\n Succeeded: \"Succeeded\",\n Failed: \"Failed\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\nexport type ManageV1FilterStatusParameter = typeof ManageV1FilterStatusParameter[keyof typeof ManageV1FilterStatusParameter];\n\nexport const ManageV1FilterStatusParameter = {\n succeeded: \"succeeded\",\n failed: \"failed\"\n} as const\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AC0CO,IAAM,4BAA4B;AAAA,EACvC,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;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ClB,kBAAkB;AAAA;AAAA,EAGlB,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,oBAAoB;AAAA,EACpB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA;AAAA,EAGrB,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,gBAAgB;AAAA;AAAA,EAGhB,UAAU;AAAA,EACV,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA;AAAA,EAGpB,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,OAAO;AACT;AA4BO,IAAM,iBAAiB;AAcvB,IAAM,mBAAmB;AAczB,IAAM,iBAAiB;AAcvB,IAAM,cAAc;AAepB,IAAM,iBAAiB;AAcvB,IAAM,4BAA4B;AAgBlC,IAAM,qBAAqB;AAAA;AAAA,EAEhC,UAAU;AAAA;AAAA,EAEV,UAAU;AACZ;AAYO,IAAM,wBAAwB;AAAA;AAAA,EAEnC,SAAS;AAAA;AAAA,EAET,cAAc;AAChB;AAmBO,IAAM,uBAAuB;AAAA,EAClC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;AAyBO,IAAM,mBAAmB;AAkBzB,IAAM,eAAe;AAkBrB,IAAM,cAAc;AAmBpB,IAAM,iBAAiB;","names":[]}
@@ -23,6 +23,18 @@ var SharedCustomTopicModeParameter = {
23
23
  strict: "strict"
24
24
  };
25
25
 
26
+ // src/generated/deepgram/schema/sharedCustomIntentModeParameter.ts
27
+ var SharedCustomIntentModeParameter = {
28
+ extended: "extended",
29
+ strict: "strict"
30
+ };
31
+
32
+ // src/generated/deepgram/schema/sharedCallbackMethodParameter.ts
33
+ var SharedCallbackMethodParameter = {
34
+ POST: "POST",
35
+ PUT: "PUT"
36
+ };
37
+
26
38
  // src/generated/gladia/schema/streamingSupportedEncodingEnum.ts
27
39
  var StreamingSupportedEncodingEnum = {
28
40
  "wav/pcm": "wav/pcm",
@@ -259,7 +271,49 @@ var TranslationLanguageCodeEnum = {
259
271
  zh: "zh"
260
272
  };
261
273
 
274
+ // src/generated/assemblyai/schema/transcriptStatus.ts
275
+ var TranscriptStatus = {
276
+ queued: "queued",
277
+ processing: "processing",
278
+ completed: "completed",
279
+ error: "error"
280
+ };
281
+
282
+ // src/generated/gladia/schema/transcriptionControllerListV2StatusItem.ts
283
+ var TranscriptionControllerListV2StatusItem = {
284
+ queued: "queued",
285
+ processing: "processing",
286
+ done: "done",
287
+ error: "error"
288
+ };
289
+
290
+ // src/generated/azure/schema/status.ts
291
+ var Status = {
292
+ NotStarted: "NotStarted",
293
+ Running: "Running",
294
+ Succeeded: "Succeeded",
295
+ Failed: "Failed"
296
+ };
297
+
298
+ // src/generated/deepgram/schema/manageV1FilterStatusParameter.ts
299
+ var ManageV1FilterStatusParameter = {
300
+ succeeded: "succeeded",
301
+ failed: "failed"
302
+ };
303
+
262
304
  // src/constants.ts
305
+ var DeepgramEncoding = ListenV1EncodingParameter;
306
+ var DeepgramRedact = ListenV1RedactParameterOneOfItem;
307
+ var DeepgramTopicMode = SharedCustomTopicModeParameter;
308
+ var DeepgramIntentMode = SharedCustomIntentModeParameter;
309
+ var DeepgramCallbackMethod = SharedCallbackMethodParameter;
310
+ var DeepgramSampleRate = {
311
+ NUMBER_8000: 8e3,
312
+ NUMBER_16000: 16e3,
313
+ NUMBER_32000: 32e3,
314
+ NUMBER_44100: 44100,
315
+ NUMBER_48000: 48e3
316
+ };
263
317
  var DeepgramModel = {
264
318
  // Nova 3 models (latest)
265
319
  "nova-3": "nova-3",
@@ -296,6 +350,12 @@ var DeepgramModel = {
296
350
  voicemail: "voicemail",
297
351
  video: "video"
298
352
  };
353
+ var GladiaEncoding = StreamingSupportedEncodingEnum;
354
+ var GladiaSampleRate = StreamingSupportedSampleRateEnum;
355
+ var GladiaBitDepth = StreamingSupportedBitDepthEnum;
356
+ var GladiaModel = StreamingSupportedModels;
357
+ var GladiaLanguage = TranscriptionLanguageCodeEnum;
358
+ var GladiaTranslationLanguage = TranslationLanguageCodeEnum;
299
359
  var AssemblyAIEncoding = {
300
360
  /** PCM signed 16-bit little-endian (recommended) */
301
361
  pcmS16le: "pcm_s16le",
@@ -315,19 +375,30 @@ var AssemblyAISampleRate = {
315
375
  rate44100: 44100,
316
376
  rate48000: 48e3
317
377
  };
378
+ var AssemblyAIStatus = TranscriptStatus;
379
+ var GladiaStatus = TranscriptionControllerListV2StatusItem;
380
+ var AzureStatus = Status;
381
+ var DeepgramStatus = ManageV1FilterStatusParameter;
318
382
  export {
319
383
  AssemblyAIEncoding,
320
384
  AssemblyAISampleRate,
321
385
  AssemblyAISpeechModel,
322
- ListenV1EncodingParameter as DeepgramEncoding,
386
+ AssemblyAIStatus,
387
+ AzureStatus,
388
+ DeepgramCallbackMethod,
389
+ DeepgramEncoding,
390
+ DeepgramIntentMode,
323
391
  DeepgramModel,
324
- ListenV1RedactParameterOneOfItem as DeepgramRedact,
325
- SharedCustomTopicModeParameter as DeepgramTopicMode,
326
- StreamingSupportedBitDepthEnum as GladiaBitDepth,
327
- StreamingSupportedEncodingEnum as GladiaEncoding,
328
- TranscriptionLanguageCodeEnum as GladiaLanguage,
329
- StreamingSupportedModels as GladiaModel,
330
- StreamingSupportedSampleRateEnum as GladiaSampleRate,
331
- TranslationLanguageCodeEnum as GladiaTranslationLanguage
392
+ DeepgramRedact,
393
+ DeepgramSampleRate,
394
+ DeepgramStatus,
395
+ DeepgramTopicMode,
396
+ GladiaBitDepth,
397
+ GladiaEncoding,
398
+ GladiaLanguage,
399
+ GladiaModel,
400
+ GladiaSampleRate,
401
+ GladiaStatus,
402
+ GladiaTranslationLanguage
332
403
  };
333
404
  //# sourceMappingURL=constants.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/generated/deepgram/schema/listenV1EncodingParameter.ts","../src/generated/deepgram/schema/listenV1RedactParameterOneOfItem.ts","../src/generated/deepgram/schema/sharedCustomTopicModeParameter.ts","../src/generated/gladia/schema/streamingSupportedEncodingEnum.ts","../src/generated/gladia/schema/streamingSupportedSampleRateEnum.ts","../src/generated/gladia/schema/streamingSupportedBitDepthEnum.ts","../src/generated/gladia/schema/streamingSupportedModels.ts","../src/generated/gladia/schema/transcriptionLanguageCodeEnum.ts","../src/generated/gladia/schema/translationLanguageCodeEnum.ts","../src/constants.ts"],"sourcesContent":["/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\nexport type ListenV1EncodingParameter = typeof ListenV1EncodingParameter[keyof typeof ListenV1EncodingParameter];\n\nexport const ListenV1EncodingParameter = {\n linear16: \"linear16\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n opus: \"opus\",\n speex: \"speex\",\n g729: \"g729\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\nexport type ListenV1RedactParameterOneOfItem =\n (typeof ListenV1RedactParameterOneOfItem)[keyof typeof ListenV1RedactParameterOneOfItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListenV1RedactParameterOneOfItem = {\n pci: \"pci\",\n pii: \"pii\",\n numbers: \"numbers\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\nexport type SharedCustomTopicModeParameter = typeof SharedCustomTopicModeParameter[keyof typeof SharedCustomTopicModeParameter];\n\nexport const SharedCustomTopicModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The encoding format of the audio stream. Supported formats: \n- PCM: 8, 16, 24, and 32 bits \n- A-law: 8 bits \n- μ-law: 8 bits \n\nNote: No need to add WAV headers to raw audio as the API supports both formats.\n */\nexport type StreamingSupportedEncodingEnum =\n (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedEncodingEnum = {\n \"wav/pcm\": \"wav/pcm\",\n \"wav/alaw\": \"wav/alaw\",\n \"wav/ulaw\": \"wav/ulaw\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The sample rate of the audio stream\n */\nexport type StreamingSupportedSampleRateEnum =\n (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedSampleRateEnum = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The bit depth of the audio stream\n */\nexport type StreamingSupportedBitDepthEnum =\n (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedBitDepthEnum = {\n NUMBER_8: 8,\n NUMBER_16: 16,\n NUMBER_24: 24,\n NUMBER_32: 32\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The model used to process the audio. \"solaria-1\" is used by default.\n */\nexport type StreamingSupportedModels =\n (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedModels = {\n \"solaria-1\": \"solaria-1\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.\n */\nexport type TranscriptionLanguageCodeEnum =\n (typeof TranscriptionLanguageCodeEnum)[keyof typeof TranscriptionLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Target language in `iso639-1` format you want the transcription translated to\n */\nexport type TranslationLanguageCodeEnum =\n (typeof TranslationLanguageCodeEnum)[keyof typeof TranslationLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranslationLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n wo: \"wo\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Browser-safe constants for speech-to-text providers\n *\n * This module exports only plain const objects - no Node.js dependencies.\n * Safe to use in browsers, Cloudflare Workers, and other edge environments.\n *\n * @example\n * ```typescript\n * // Browser-safe import (no node:crypto or other Node.js deps)\n * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'\n *\n * const model = DeepgramModel[\"nova-3\"]\n * const encoding = GladiaEncoding[\"wav/pcm\"]\n * ```\n *\n * @packageDocumentation\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nexport { ListenV1EncodingParameter as DeepgramEncoding } from \"./generated/deepgram/schema/listenV1EncodingParameter\"\nexport { ListenV1RedactParameterOneOfItem as DeepgramRedact } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\nexport { SharedCustomTopicModeParameter as DeepgramTopicMode } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\n\n/**\n * Deepgram transcription models\n *\n * @example\n * ```typescript\n * import { DeepgramModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramModel[\"nova-3\"] }\n * { model: DeepgramModel[\"nova-2-medical\"] }\n * ```\n */\nexport const DeepgramModel = {\n // Nova 3 models (latest)\n \"nova-3\": \"nova-3\",\n \"nova-3-general\": \"nova-3-general\",\n \"nova-3-medical\": \"nova-3-medical\",\n\n // Nova 2 models\n \"nova-2\": \"nova-2\",\n \"nova-2-general\": \"nova-2-general\",\n \"nova-2-meeting\": \"nova-2-meeting\",\n \"nova-2-finance\": \"nova-2-finance\",\n \"nova-2-conversationalai\": \"nova-2-conversationalai\",\n \"nova-2-voicemail\": \"nova-2-voicemail\",\n \"nova-2-video\": \"nova-2-video\",\n \"nova-2-medical\": \"nova-2-medical\",\n \"nova-2-drivethru\": \"nova-2-drivethru\",\n \"nova-2-automotive\": \"nova-2-automotive\",\n\n // Nova 1 models\n nova: \"nova\",\n \"nova-general\": \"nova-general\",\n \"nova-phonecall\": \"nova-phonecall\",\n \"nova-medical\": \"nova-medical\",\n\n // Enhanced models\n enhanced: \"enhanced\",\n \"enhanced-general\": \"enhanced-general\",\n \"enhanced-meeting\": \"enhanced-meeting\",\n \"enhanced-phonecall\": \"enhanced-phonecall\",\n \"enhanced-finance\": \"enhanced-finance\",\n\n // Base models\n base: \"base\",\n meeting: \"meeting\",\n phonecall: \"phonecall\",\n finance: \"finance\",\n conversationalai: \"conversationalai\",\n voicemail: \"voicemail\",\n video: \"video\"\n} as const satisfies Record<\n string,\n import(\"./generated/deepgram/schema/listenV1ModelParameter\").ListenV1ModelParameter\n>\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Gladia Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nexport { StreamingSupportedEncodingEnum as GladiaEncoding } from \"./generated/gladia/schema/streamingSupportedEncodingEnum\"\nexport { StreamingSupportedSampleRateEnum as GladiaSampleRate } from \"./generated/gladia/schema/streamingSupportedSampleRateEnum\"\nexport { StreamingSupportedBitDepthEnum as GladiaBitDepth } from \"./generated/gladia/schema/streamingSupportedBitDepthEnum\"\nexport { StreamingSupportedModels as GladiaModel } from \"./generated/gladia/schema/streamingSupportedModels\"\nexport { TranscriptionLanguageCodeEnum as GladiaLanguage } from \"./generated/gladia/schema/transcriptionLanguageCodeEnum\"\nexport { TranslationLanguageCodeEnum as GladiaTranslationLanguage } from \"./generated/gladia/schema/translationLanguageCodeEnum\"\n\n// ─────────────────────────────────────────────────────────────────────────────\n// AssemblyAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * AssemblyAI audio encoding formats\n *\n * @example\n * ```typescript\n * import { AssemblyAIEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: AssemblyAIEncoding.pcmS16le }\n * ```\n */\nexport const AssemblyAIEncoding = {\n /** PCM signed 16-bit little-endian (recommended) */\n pcmS16le: \"pcm_s16le\",\n /** μ-law (telephony) */\n pcmMulaw: \"pcm_mulaw\"\n} as const satisfies Record<string, import(\"./generated/assemblyai/streaming-types\").AudioEncoding>\n\n/**\n * AssemblyAI streaming speech models\n *\n * @example\n * ```typescript\n * import { AssemblyAISpeechModel } from 'voice-router-dev/constants'\n *\n * { speechModel: AssemblyAISpeechModel.multilingual }\n * ```\n */\nexport const AssemblyAISpeechModel = {\n /** Optimized for English */\n english: \"universal-streaming-english\",\n /** Supports 20+ languages */\n multilingual: \"universal-streaming-multilingual\"\n} as const satisfies Record<\n string,\n import(\"./generated/assemblyai/streaming-types\").StreamingSpeechModel\n>\n\n/**\n * AssemblyAI supported sample rates\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * AssemblyAI's SDK accepts any `number` for sampleRate.\n * These values are from AssemblyAI documentation for convenience.\n *\n * @example\n * ```typescript\n * import { AssemblyAISampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: AssemblyAISampleRate.rate16000 }\n * ```\n */\nexport const AssemblyAISampleRate = {\n rate8000: 8000,\n rate16000: 16000,\n rate22050: 22050,\n rate44100: 44100,\n rate48000: 48000\n} as const\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Type exports\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Deepgram model type derived from const object */\nexport type DeepgramModelType = (typeof DeepgramModel)[keyof typeof DeepgramModel]\n\n/** Deepgram redaction type - re-exported from OpenAPI generated types */\nexport type { ListenV1RedactParameterOneOfItem as DeepgramRedactType } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\n\n/** Deepgram topic mode type - re-exported from OpenAPI generated types */\nexport type { SharedCustomTopicModeParameter as DeepgramTopicModeType } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\n\n/** AssemblyAI encoding type derived from const object */\nexport type AssemblyAIEncodingType = (typeof AssemblyAIEncoding)[keyof typeof AssemblyAIEncoding]\n\n/** AssemblyAI speech model type derived from const object */\nexport type AssemblyAISpeechModelType =\n (typeof AssemblyAISpeechModel)[keyof typeof AssemblyAISpeechModel]\n\n/** AssemblyAI sample rate type derived from const object */\nexport type AssemblyAISampleRateType =\n (typeof AssemblyAISampleRate)[keyof typeof AssemblyAISampleRate]\n"],"mappings":";;;AA0CO,IAAM,4BAA4B;AAAA,EACvC,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AACR;;;ACpCO,IAAM,mCAAmC;AAAA,EAC9C,KAAK;AAAA,EACL,KAAK;AAAA,EACL,SAAS;AACX;;;ACyBO,IAAM,iCAAiC;AAAA,EAC5C,UAAU;AAAA,EACV,QAAQ;AACV;;;AC1BO,IAAM,iCAAiC;AAAA,EAC5C,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AACd;;;ACTO,IAAM,mCAAmC;AAAA,EAC9C,aAAa;AAAA,EACb,cAAc;AAAA,EACd,cAAc;AAAA,EACd,cAAc;AAAA,EACd,cAAc;AAChB;;;ACNO,IAAM,iCAAiC;AAAA,EAC5C,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;;;ACLO,IAAM,2BAA2B;AAAA,EACtC,aAAa;AACf;;;ACFO,IAAM,gCAAgC;AAAA,EAC3C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AA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A,EACtB,oBAAoB;AAAA;AAAA,EAGpB,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,OAAO;AACT;AA8BO,IAAM,qBAAqB;AAAA;AAAA,EAEhC,UAAU;AAAA;AAAA,EAEV,UAAU;AACZ;AAYO,IAAM,wBAAwB;AAAA;AAAA,EAEnC,SAAS;AAAA;AAAA,EAET,cAAc;AAChB;AAmBO,IAAM,uBAAuB;AAAA,EAClC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../src/generated/deepgram/schema/listenV1EncodingParameter.ts","../src/generated/deepgram/schema/listenV1RedactParameterOneOfItem.ts","../src/generated/deepgram/schema/sharedCustomTopicModeParameter.ts","../src/generated/deepgram/schema/sharedCustomIntentModeParameter.ts","../src/generated/deepgram/schema/sharedCallbackMethodParameter.ts","../src/generated/gladia/schema/streamingSupportedEncodingEnum.ts","../src/generated/gladia/schema/streamingSupportedSampleRateEnum.ts","../src/generated/gladia/schema/streamingSupportedBitDepthEnum.ts","../src/generated/gladia/schema/streamingSupportedModels.ts","../src/generated/gladia/schema/transcriptionLanguageCodeEnum.ts","../src/generated/gladia/schema/translationLanguageCodeEnum.ts","../src/generated/assemblyai/schema/transcriptStatus.ts","../src/generated/gladia/schema/transcriptionControllerListV2StatusItem.ts","../src/generated/azure/schema/status.ts","../src/generated/deepgram/schema/manageV1FilterStatusParameter.ts","../src/constants.ts"],"sourcesContent":["/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\n\n/**\n * ListenV1EncodingParameter type definition\n */\nexport type ListenV1EncodingParameter = typeof ListenV1EncodingParameter[keyof typeof ListenV1EncodingParameter];\n\nexport const ListenV1EncodingParameter = {\n linear16: \"linear16\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n opus: \"opus\",\n speex: \"speex\",\n g729: \"g729\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\nexport type ListenV1RedactParameterOneOfItem =\n (typeof ListenV1RedactParameterOneOfItem)[keyof typeof ListenV1RedactParameterOneOfItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListenV1RedactParameterOneOfItem = {\n pci: \"pci\",\n pii: \"pii\",\n numbers: \"numbers\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\n\n/**\n * SharedCustomTopicModeParameter type definition\n */\nexport type SharedCustomTopicModeParameter = typeof SharedCustomTopicModeParameter[keyof typeof SharedCustomTopicModeParameter];\n\nexport const SharedCustomTopicModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\n\n/**\n * SharedCustomIntentModeParameter type definition\n */\nexport type SharedCustomIntentModeParameter = typeof SharedCustomIntentModeParameter[keyof typeof SharedCustomIntentModeParameter];\n\nexport const SharedCustomIntentModeParameter = {\n extended: \"extended\",\n strict: \"strict\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\n\n/**\n * SharedCallbackMethodParameter type definition\n */\nexport type SharedCallbackMethodParameter = typeof SharedCallbackMethodParameter[keyof typeof SharedCallbackMethodParameter];\n\nexport const SharedCallbackMethodParameter = {\n POST: \"POST\",\n PUT: \"PUT\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The encoding format of the audio stream. Supported formats: \n- PCM: 8, 16, 24, and 32 bits \n- A-law: 8 bits \n- μ-law: 8 bits \n\nNote: No need to add WAV headers to raw audio as the API supports both formats.\n */\nexport type StreamingSupportedEncodingEnum =\n (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedEncodingEnum = {\n \"wav/pcm\": \"wav/pcm\",\n \"wav/alaw\": \"wav/alaw\",\n \"wav/ulaw\": \"wav/ulaw\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The sample rate of the audio stream\n */\nexport type StreamingSupportedSampleRateEnum =\n (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedSampleRateEnum = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The bit depth of the audio stream\n */\nexport type StreamingSupportedBitDepthEnum =\n (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedBitDepthEnum = {\n NUMBER_8: 8,\n NUMBER_16: 16,\n NUMBER_24: 24,\n NUMBER_32: 32\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * The model used to process the audio. \"solaria-1\" is used by default.\n */\nexport type StreamingSupportedModels =\n (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedModels = {\n \"solaria-1\": \"solaria-1\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Specify the language in which it will be pronounced when sound comparison occurs. Default to transcription language.\n */\nexport type TranscriptionLanguageCodeEnum =\n (typeof TranscriptionLanguageCodeEnum)[keyof typeof TranscriptionLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\n/**\n * Target language in `iso639-1` format you want the transcription translated to\n */\nexport type TranslationLanguageCodeEnum =\n (typeof TranslationLanguageCodeEnum)[keyof typeof TranslationLanguageCodeEnum]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranslationLanguageCodeEnum = {\n af: \"af\",\n am: \"am\",\n ar: \"ar\",\n as: \"as\",\n az: \"az\",\n ba: \"ba\",\n be: \"be\",\n bg: \"bg\",\n bn: \"bn\",\n bo: \"bo\",\n br: \"br\",\n bs: \"bs\",\n ca: \"ca\",\n cs: \"cs\",\n cy: \"cy\",\n da: \"da\",\n de: \"de\",\n el: \"el\",\n en: \"en\",\n es: \"es\",\n et: \"et\",\n eu: \"eu\",\n fa: \"fa\",\n fi: \"fi\",\n fo: \"fo\",\n fr: \"fr\",\n gl: \"gl\",\n gu: \"gu\",\n ha: \"ha\",\n haw: \"haw\",\n he: \"he\",\n hi: \"hi\",\n hr: \"hr\",\n ht: \"ht\",\n hu: \"hu\",\n hy: \"hy\",\n id: \"id\",\n is: \"is\",\n it: \"it\",\n ja: \"ja\",\n jw: \"jw\",\n ka: \"ka\",\n kk: \"kk\",\n km: \"km\",\n kn: \"kn\",\n ko: \"ko\",\n la: \"la\",\n lb: \"lb\",\n ln: \"ln\",\n lo: \"lo\",\n lt: \"lt\",\n lv: \"lv\",\n mg: \"mg\",\n mi: \"mi\",\n mk: \"mk\",\n ml: \"ml\",\n mn: \"mn\",\n mr: \"mr\",\n ms: \"ms\",\n mt: \"mt\",\n my: \"my\",\n ne: \"ne\",\n nl: \"nl\",\n nn: \"nn\",\n no: \"no\",\n oc: \"oc\",\n pa: \"pa\",\n pl: \"pl\",\n ps: \"ps\",\n pt: \"pt\",\n ro: \"ro\",\n ru: \"ru\",\n sa: \"sa\",\n sd: \"sd\",\n si: \"si\",\n sk: \"sk\",\n sl: \"sl\",\n sn: \"sn\",\n so: \"so\",\n sq: \"sq\",\n sr: \"sr\",\n su: \"su\",\n sv: \"sv\",\n sw: \"sw\",\n ta: \"ta\",\n te: \"te\",\n tg: \"tg\",\n th: \"th\",\n tk: \"tk\",\n tl: \"tl\",\n tr: \"tr\",\n tt: \"tt\",\n uk: \"uk\",\n ur: \"ur\",\n uz: \"uz\",\n vi: \"vi\",\n wo: \"wo\",\n yi: \"yi\",\n yo: \"yo\",\n zh: \"zh\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * AssemblyAI API\n * AssemblyAI API\n * OpenAPI spec version: 1.3.4\n */\n\n/**\n * The status of your transcript. Possible values are queued, processing, completed, or error.\n */\nexport type TranscriptStatus = (typeof TranscriptStatus)[keyof typeof TranscriptStatus]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptStatus = {\n queued: \"queued\",\n processing: \"processing\",\n completed: \"completed\",\n error: \"error\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Gladia Control API\n * OpenAPI spec version: 1.0\n */\n\nexport type TranscriptionControllerListV2StatusItem =\n (typeof TranscriptionControllerListV2StatusItem)[keyof typeof TranscriptionControllerListV2StatusItem]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TranscriptionControllerListV2StatusItem = {\n queued: \"queued\",\n processing: \"processing\",\n done: \"done\",\n error: \"error\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Speech Services API v3.1\n * Speech Services API v3.1.\n * OpenAPI spec version: v3.1\n */\n\n/**\n * Describe the current state of the API\n */\nexport type Status = (typeof Status)[keyof typeof Status]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const Status = {\n NotStarted: \"NotStarted\",\n Running: \"Running\",\n Succeeded: \"Succeeded\",\n Failed: \"Failed\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * Deepgram API Specification\n * APIs for speech-to-text transcription, text-to-speech synthesis, language understanding, and account management.\n\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\n\n/**\n * ManageV1FilterStatusParameter type definition\n */\nexport type ManageV1FilterStatusParameter = typeof ManageV1FilterStatusParameter[keyof typeof ManageV1FilterStatusParameter];\n\nexport const ManageV1FilterStatusParameter = {\n succeeded: \"succeeded\",\n failed: \"failed\"\n} as const\n","/**\n * Browser-safe constants for speech-to-text providers\n *\n * This module exports only plain const objects - no Node.js dependencies.\n * Safe to use in browsers, Cloudflare Workers, and other edge environments.\n *\n * @example\n * ```typescript\n * // Browser-safe import (no node:crypto or other Node.js deps)\n * import { DeepgramModel, GladiaEncoding } from 'voice-router-dev/constants'\n *\n * const model = DeepgramModel[\"nova-3\"]\n * const encoding = GladiaEncoding[\"wav/pcm\"]\n * ```\n *\n * @packageDocumentation\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { ListenV1EncodingParameter } from \"./generated/deepgram/schema/listenV1EncodingParameter\"\nimport { ListenV1RedactParameterOneOfItem } from \"./generated/deepgram/schema/listenV1RedactParameterOneOfItem\"\nimport { SharedCustomTopicModeParameter } from \"./generated/deepgram/schema/sharedCustomTopicModeParameter\"\nimport { SharedCustomIntentModeParameter } from \"./generated/deepgram/schema/sharedCustomIntentModeParameter\"\nimport { SharedCallbackMethodParameter } from \"./generated/deepgram/schema/sharedCallbackMethodParameter\"\n\n/**\n * Deepgram audio encoding formats\n *\n * Values: `linear16`, `flac`, `mulaw`, `amr-nb`, `amr-wb`, `opus`, `speex`, `g729`, `mp3`, `vorbis`, `webm`, `mp4`, `m4a`, `aac`, `wav`, `aiff`, `mpeg`\n *\n * @example\n * ```typescript\n * import { DeepgramEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: DeepgramEncoding.linear16 }\n * { encoding: DeepgramEncoding.opus }\n * ```\n */\nexport const DeepgramEncoding = ListenV1EncodingParameter\n\n/**\n * Deepgram redaction options for PII removal\n *\n * Values: `pci`, `numbers`, `ssn`, `pii`\n *\n * @example\n * ```typescript\n * import { DeepgramRedact } from 'voice-router-dev/constants'\n *\n * { redact: [DeepgramRedact.pii, DeepgramRedact.ssn] }\n * ```\n */\nexport const DeepgramRedact = ListenV1RedactParameterOneOfItem\n\n/**\n * Deepgram topic detection modes\n *\n * Values: `extended`, `strict`\n *\n * @example\n * ```typescript\n * import { DeepgramTopicMode } from 'voice-router-dev/constants'\n *\n * { customTopicMode: DeepgramTopicMode.extended }\n * ```\n */\nexport const DeepgramTopicMode = SharedCustomTopicModeParameter\n\n/**\n * Deepgram intent detection modes\n *\n * Values: `extended`, `strict`\n *\n * @example\n * ```typescript\n * import { DeepgramIntentMode } from 'voice-router-dev/constants'\n *\n * { customIntentMode: DeepgramIntentMode.extended }\n * ```\n */\nexport const DeepgramIntentMode = SharedCustomIntentModeParameter\n\n/**\n * Deepgram callback HTTP methods for async transcription\n *\n * Values: `POST`, `PUT`\n *\n * @example\n * ```typescript\n * import { DeepgramCallbackMethod } from 'voice-router-dev/constants'\n *\n * { callbackMethod: DeepgramCallbackMethod.POST }\n * ```\n */\nexport const DeepgramCallbackMethod = SharedCallbackMethodParameter\n\n/**\n * Deepgram supported sample rates (Hz)\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * Deepgram's OpenAPI spec accepts any `number` for sampleRate.\n * These values are from Deepgram documentation for convenience.\n *\n * Values: `8000`, `16000`, `32000`, `44100`, `48000`\n *\n * @example\n * ```typescript\n * import { DeepgramSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: DeepgramSampleRate.NUMBER_16000 }\n * ```\n */\nexport const DeepgramSampleRate = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_32000: 32000,\n NUMBER_44100: 44100,\n NUMBER_48000: 48000\n} as const\n\n/**\n * Deepgram transcription models\n *\n * @example\n * ```typescript\n * import { DeepgramModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramModel[\"nova-3\"] }\n * { model: DeepgramModel[\"nova-2-medical\"] }\n * ```\n */\nexport const DeepgramModel = {\n // Nova 3 models (latest)\n \"nova-3\": \"nova-3\",\n \"nova-3-general\": \"nova-3-general\",\n \"nova-3-medical\": \"nova-3-medical\",\n\n // Nova 2 models\n \"nova-2\": \"nova-2\",\n \"nova-2-general\": \"nova-2-general\",\n \"nova-2-meeting\": \"nova-2-meeting\",\n \"nova-2-finance\": \"nova-2-finance\",\n \"nova-2-conversationalai\": \"nova-2-conversationalai\",\n \"nova-2-voicemail\": \"nova-2-voicemail\",\n \"nova-2-video\": \"nova-2-video\",\n \"nova-2-medical\": \"nova-2-medical\",\n \"nova-2-drivethru\": \"nova-2-drivethru\",\n \"nova-2-automotive\": \"nova-2-automotive\",\n\n // Nova 1 models\n nova: \"nova\",\n \"nova-general\": \"nova-general\",\n \"nova-phonecall\": \"nova-phonecall\",\n \"nova-medical\": \"nova-medical\",\n\n // Enhanced models\n enhanced: \"enhanced\",\n \"enhanced-general\": \"enhanced-general\",\n \"enhanced-meeting\": \"enhanced-meeting\",\n \"enhanced-phonecall\": \"enhanced-phonecall\",\n \"enhanced-finance\": \"enhanced-finance\",\n\n // Base models\n base: \"base\",\n meeting: \"meeting\",\n phonecall: \"phonecall\",\n finance: \"finance\",\n conversationalai: \"conversationalai\",\n voicemail: \"voicemail\",\n video: \"video\"\n} as const satisfies Record<\n string,\n import(\"./generated/deepgram/schema/listenV1ModelParameter\").ListenV1ModelParameter\n>\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Gladia Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { StreamingSupportedEncodingEnum } from \"./generated/gladia/schema/streamingSupportedEncodingEnum\"\nimport { StreamingSupportedSampleRateEnum } from \"./generated/gladia/schema/streamingSupportedSampleRateEnum\"\nimport { StreamingSupportedBitDepthEnum } from \"./generated/gladia/schema/streamingSupportedBitDepthEnum\"\nimport { StreamingSupportedModels } from \"./generated/gladia/schema/streamingSupportedModels\"\nimport { TranscriptionLanguageCodeEnum } from \"./generated/gladia/schema/transcriptionLanguageCodeEnum\"\nimport { TranslationLanguageCodeEnum } from \"./generated/gladia/schema/translationLanguageCodeEnum\"\n\n/**\n * Gladia audio encoding formats for streaming\n *\n * Values: `wav/pcm`, `wav/alaw`, `wav/ulaw`\n *\n * @example\n * ```typescript\n * import { GladiaEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: GladiaEncoding[\"wav/pcm\"] }\n * ```\n */\nexport const GladiaEncoding = StreamingSupportedEncodingEnum\n\n/**\n * Gladia supported sample rates (Hz)\n *\n * Values: `8000`, `16000`, `32000`, `44100`, `48000`\n *\n * @example\n * ```typescript\n * import { GladiaSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: GladiaSampleRate.NUMBER_16000 }\n * ```\n */\nexport const GladiaSampleRate = StreamingSupportedSampleRateEnum\n\n/**\n * Gladia supported bit depths\n *\n * Values: `8`, `16`, `24`, `32`\n *\n * @example\n * ```typescript\n * import { GladiaBitDepth } from 'voice-router-dev/constants'\n *\n * { bitDepth: GladiaBitDepth.NUMBER_16 }\n * ```\n */\nexport const GladiaBitDepth = StreamingSupportedBitDepthEnum\n\n/**\n * Gladia transcription models\n *\n * Values: `fast`, `accurate`\n *\n * @example\n * ```typescript\n * import { GladiaModel } from 'voice-router-dev/constants'\n *\n * { model: GladiaModel.accurate }\n * ```\n */\nexport const GladiaModel = StreamingSupportedModels\n\n/**\n * Gladia transcription language codes (100+ languages)\n *\n * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`\n *\n * @example\n * ```typescript\n * import { GladiaLanguage } from 'voice-router-dev/constants'\n *\n * { language: GladiaLanguage.en }\n * { language: GladiaLanguage.es }\n * ```\n */\nexport const GladiaLanguage = TranscriptionLanguageCodeEnum\n\n/**\n * Gladia translation target language codes\n *\n * Common values: `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `ja`, `ko`, `zh`, `ar`, `hi`, `ru`\n *\n * @example\n * ```typescript\n * import { GladiaTranslationLanguage } from 'voice-router-dev/constants'\n *\n * { targetLanguages: [GladiaTranslationLanguage.fr, GladiaTranslationLanguage.es] }\n * ```\n */\nexport const GladiaTranslationLanguage = TranslationLanguageCodeEnum\n\n// ─────────────────────────────────────────────────────────────────────────────\n// AssemblyAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * AssemblyAI audio encoding formats\n *\n * @example\n * ```typescript\n * import { AssemblyAIEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: AssemblyAIEncoding.pcmS16le }\n * ```\n */\nexport const AssemblyAIEncoding = {\n /** PCM signed 16-bit little-endian (recommended) */\n pcmS16le: \"pcm_s16le\",\n /** μ-law (telephony) */\n pcmMulaw: \"pcm_mulaw\"\n} as const satisfies Record<string, import(\"./generated/assemblyai/streaming-types\").AudioEncoding>\n\n/**\n * AssemblyAI streaming speech models\n *\n * @example\n * ```typescript\n * import { AssemblyAISpeechModel } from 'voice-router-dev/constants'\n *\n * { speechModel: AssemblyAISpeechModel.multilingual }\n * ```\n */\nexport const AssemblyAISpeechModel = {\n /** Optimized for English */\n english: \"universal-streaming-english\",\n /** Supports 20+ languages */\n multilingual: \"universal-streaming-multilingual\"\n} as const satisfies Record<\n string,\n import(\"./generated/assemblyai/streaming-types\").StreamingSpeechModel\n>\n\n/**\n * AssemblyAI supported sample rates\n *\n * **Note:** This const is NOT type-checked against a generated type.\n * AssemblyAI's SDK accepts any `number` for sampleRate.\n * These values are from AssemblyAI documentation for convenience.\n *\n * @example\n * ```typescript\n * import { AssemblyAISampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: AssemblyAISampleRate.rate16000 }\n * ```\n */\nexport const AssemblyAISampleRate = {\n rate8000: 8000,\n rate16000: 16000,\n rate22050: 22050,\n rate44100: 44100,\n rate48000: 48000\n} as const\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Transcript Status Constants (for listTranscripts filtering)\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { TranscriptStatus } from \"./generated/assemblyai/schema/transcriptStatus\"\nimport { TranscriptionControllerListV2StatusItem } from \"./generated/gladia/schema/transcriptionControllerListV2StatusItem\"\nimport { Status } from \"./generated/azure/schema/status\"\nimport { ManageV1FilterStatusParameter } from \"./generated/deepgram/schema/manageV1FilterStatusParameter\"\n\n/**\n * AssemblyAI transcript status values for filtering\n *\n * Values: `queued`, `processing`, `completed`, `error`\n *\n * @example\n * ```typescript\n * import { AssemblyAIStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('assemblyai', {\n * status: AssemblyAIStatus.completed\n * })\n * ```\n */\nexport const AssemblyAIStatus = TranscriptStatus\n\n/**\n * Gladia job status values for filtering\n *\n * Values: `queued`, `processing`, `done`, `error`\n *\n * Note: Gladia uses `done` instead of `completed`\n *\n * @example\n * ```typescript\n * import { GladiaStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('gladia', {\n * status: GladiaStatus.done\n * })\n * ```\n */\nexport const GladiaStatus = TranscriptionControllerListV2StatusItem\n\n/**\n * Azure Speech-to-Text transcription status values for filtering\n *\n * Values: `NotStarted`, `Running`, `Succeeded`, `Failed`\n *\n * Note: Azure uses different naming than other providers\n *\n * @example\n * ```typescript\n * import { AzureStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('azure-stt', {\n * status: AzureStatus.Succeeded\n * })\n * ```\n */\nexport const AzureStatus = Status\n\n/**\n * Deepgram request history status values for filtering\n *\n * Values: `succeeded`, `failed`\n *\n * Note: Deepgram only stores request metadata, not transcript content.\n * Requires `projectId` to be set during adapter initialization.\n *\n * @example\n * ```typescript\n * import { DeepgramStatus } from 'voice-router-dev/constants'\n *\n * await router.listTranscripts('deepgram', {\n * status: DeepgramStatus.succeeded\n * })\n * ```\n */\nexport const DeepgramStatus = ManageV1FilterStatusParameter\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Type exports\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Deepgram encoding type derived from const object */\nexport type DeepgramEncodingType = (typeof DeepgramEncoding)[keyof typeof DeepgramEncoding]\n\n/** Deepgram redaction type derived from const object */\nexport type DeepgramRedactType = (typeof DeepgramRedact)[keyof typeof DeepgramRedact]\n\n/** Deepgram topic mode type derived from const object */\nexport type DeepgramTopicModeType = (typeof DeepgramTopicMode)[keyof typeof DeepgramTopicMode]\n\n/** Deepgram intent mode type derived from const object */\nexport type DeepgramIntentModeType = (typeof DeepgramIntentMode)[keyof typeof DeepgramIntentMode]\n\n/** Deepgram callback method type derived from const object */\nexport type DeepgramCallbackMethodType =\n (typeof DeepgramCallbackMethod)[keyof typeof DeepgramCallbackMethod]\n\n/** Deepgram sample rate type derived from const object */\nexport type DeepgramSampleRateType = (typeof DeepgramSampleRate)[keyof typeof DeepgramSampleRate]\n\n/** Deepgram model type derived from const object */\nexport type DeepgramModelType = (typeof DeepgramModel)[keyof typeof DeepgramModel]\n\n/** Gladia encoding type derived from const object */\nexport type GladiaEncodingType = (typeof GladiaEncoding)[keyof typeof GladiaEncoding]\n\n/** Gladia sample rate type derived from const object */\nexport type GladiaSampleRateType = (typeof GladiaSampleRate)[keyof typeof GladiaSampleRate]\n\n/** Gladia bit depth type derived from const object */\nexport type GladiaBitDepthType = (typeof GladiaBitDepth)[keyof typeof GladiaBitDepth]\n\n/** Gladia model type derived from const object */\nexport type GladiaModelType = (typeof GladiaModel)[keyof typeof GladiaModel]\n\n/** Gladia language type derived from const object */\nexport type GladiaLanguageType = (typeof GladiaLanguage)[keyof typeof GladiaLanguage]\n\n/** Gladia translation language type derived from const object */\nexport type GladiaTranslationLanguageType =\n (typeof GladiaTranslationLanguage)[keyof typeof GladiaTranslationLanguage]\n\n/** AssemblyAI encoding type derived from const object */\nexport type AssemblyAIEncodingType = (typeof AssemblyAIEncoding)[keyof typeof AssemblyAIEncoding]\n\n/** AssemblyAI speech model type derived from const object */\nexport type AssemblyAISpeechModelType =\n (typeof AssemblyAISpeechModel)[keyof typeof AssemblyAISpeechModel]\n\n/** AssemblyAI sample rate type derived from const object */\nexport type AssemblyAISampleRateType =\n (typeof AssemblyAISampleRate)[keyof typeof AssemblyAISampleRate]\n\n/** AssemblyAI status type derived from const object */\nexport type AssemblyAIStatusType = (typeof AssemblyAIStatus)[keyof typeof AssemblyAIStatus]\n\n/** Gladia status type derived from const object */\nexport type GladiaStatusType = (typeof GladiaStatus)[keyof typeof GladiaStatus]\n\n/** Azure status type derived from const object */\nexport type AzureStatusType = (typeof AzureStatus)[keyof typeof AzureStatus]\n\n/** Deepgram status type derived from const object */\nexport type DeepgramStatusType = (typeof DeepgramStatus)[keyof typeof DeepgramStatus]\n"],"mappings":";;;AA0CO,IAAM,4BAA4B;AAAA,EACvC,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AACR;;;ACpCO,IAAM,mCAAmC;AAAA,EAC9C,KAAK;AAAA,EACL,KAAK;AAAA,EACL,SAAS;AACX;;;ACyBO,IAAM,iCAAiC;AAAA,EAC5C,UAAU;AAAA,EACV,QAAQ;AACV;;;ACHO,IAAM,kCAAkC;AAAA,EAC7C,UAAU;AAAA,E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