voice-router-dev 0.5.0 → 0.5.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.map +1 -1
- package/dist/constants.mjs.map +1 -1
- package/dist/field-configs-7L9TEXGW.d.mts +171 -0
- package/dist/field-configs-7L9TEXGW.d.ts +171 -0
- package/dist/field-configs.d.mts +2 -751
- package/dist/field-configs.d.ts +2 -751
- package/dist/field-configs.js +20646 -1242
- package/dist/field-configs.js.map +1 -1
- package/dist/field-configs.mjs +20633 -1229
- package/dist/field-configs.mjs.map +1 -1
- package/dist/index.d.mts +38783 -6
- package/dist/index.d.ts +38783 -6
- package/dist/index.js +22122 -746
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22101 -732
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/constants.js.map
CHANGED
|
@@ -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/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/streamingSupportedRegions.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/generated/deepgram/schema/speakV1ModelParameter.ts","../src/generated/deepgram/schema/speakV1EncodingParameter.ts","../src/generated/deepgram/schema/speakV1ContainerParameter.ts","../src/generated/deepgram/schema/speakV1SampleRateParameter.ts","../src/generated/openai/schema/audioTranscriptionModel.ts","../src/generated/openai/schema/audioResponseFormat.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 { StreamingSupportedRegions } from \"./generated/gladia/schema/streamingSupportedRegions\"\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 * Gladia streaming regions for low-latency processing\n *\n * Values: `us-west`, `eu-west`\n *\n * Use the region closest to your users for optimal latency.\n * Region selection is only available for streaming transcription.\n *\n * @example\n * ```typescript\n * import { GladiaRegion } from 'voice-router-dev/constants'\n *\n * await adapter.transcribeStream({\n * region: GladiaRegion[\"us-west\"]\n * })\n * ```\n */\nexport const GladiaRegion = StreamingSupportedRegions\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/** Gladia region type derived from const object */\nexport type GladiaRegionType = (typeof GladiaRegion)[keyof typeof GladiaRegion]\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// ─────────────────────────────────────────────────────────────────────────────\n// Region Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Speechmatics regional endpoints\n *\n * Speechmatics offers multiple regional endpoints for data residency and latency optimization.\n * EU2 and US2 are enterprise-only for high availability and failover.\n *\n * | Region | Endpoint | Availability |\n * |--------|----------|--------------|\n * | EU1 | eu1.asr.api.speechmatics.com | All customers |\n * | EU2 | eu2.asr.api.speechmatics.com | Enterprise only |\n * | US1 | us1.asr.api.speechmatics.com | All customers |\n * | US2 | us2.asr.api.speechmatics.com | Enterprise only |\n * | AU1 | au1.asr.api.speechmatics.com | All customers |\n *\n * @example\n * ```typescript\n * import { SpeechmaticsRegion } from 'voice-router-dev/constants'\n *\n * const adapter = new SpeechmaticsAdapter()\n * adapter.initialize({\n * apiKey: process.env.SPEECHMATICS_API_KEY,\n * region: SpeechmaticsRegion.eu1\n * })\n * ```\n *\n * @see https://docs.speechmatics.com/get-started/authentication#supported-endpoints\n */\nexport const SpeechmaticsRegion = {\n /** Europe (default, all customers) */\n eu1: \"eu1\",\n /** Europe (enterprise only - HA/failover) */\n eu2: \"eu2\",\n /** USA (all customers) */\n us1: \"us1\",\n /** USA (enterprise only - HA/failover) */\n us2: \"us2\",\n /** Australia (all customers) */\n au1: \"au1\"\n} as const\n\n/**\n * Deepgram regional endpoints\n *\n * Deepgram offers regional endpoints for EU data residency.\n * The EU endpoint keeps all processing within the European Union.\n *\n * | Region | API Endpoint | WebSocket Endpoint |\n * |--------|--------------|-------------------|\n * | Global | api.deepgram.com | wss://api.deepgram.com |\n * | EU | api.eu.deepgram.com | wss://api.eu.deepgram.com |\n *\n * **Note:** Deepgram also supports Dedicated endpoints (`{SHORT_UID}.{REGION}.api.deepgram.com`)\n * and self-hosted deployments. Use `baseUrl` in config for custom endpoints.\n *\n * @example\n * ```typescript\n * import { DeepgramRegion } from 'voice-router-dev/constants'\n *\n * const adapter = new DeepgramAdapter()\n * adapter.initialize({\n * apiKey: process.env.DEEPGRAM_API_KEY,\n * region: DeepgramRegion.eu\n * })\n * ```\n *\n * @see https://developers.deepgram.com/reference/custom-endpoints - Official custom endpoints docs\n */\nexport const DeepgramRegion = {\n /** Global endpoint (default) */\n global: \"global\",\n /** European Union endpoint */\n eu: \"eu\"\n} as const\n\n/** Speechmatics region type derived from const object */\nexport type SpeechmaticsRegionType = (typeof SpeechmaticsRegion)[keyof typeof SpeechmaticsRegion]\n\n/** Deepgram region type derived from const object */\nexport type DeepgramRegionType = (typeof DeepgramRegion)[keyof typeof DeepgramRegion]\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram TTS (Text-to-Speech) Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { SpeakV1ModelParameter } from \"./generated/deepgram/schema/speakV1ModelParameter\"\nimport { SpeakV1EncodingParameter } from \"./generated/deepgram/schema/speakV1EncodingParameter\"\nimport { SpeakV1ContainerParameter } from \"./generated/deepgram/schema/speakV1ContainerParameter\"\nimport { SpeakV1SampleRateParameter } from \"./generated/deepgram/schema/speakV1SampleRateParameter\"\n\n/**\n * Deepgram TTS voice models\n *\n * Aura 2 voices offer improved quality with support for English and Spanish.\n * Use the voice name to select a specific voice persona.\n *\n * @example\n * ```typescript\n * import { DeepgramTTSModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramTTSModel[\"aura-2-athena-en\"] }\n * { model: DeepgramTTSModel[\"aura-2-sirio-es\"] }\n * ```\n */\nexport const DeepgramTTSModel = SpeakV1ModelParameter\n\n/**\n * Deepgram TTS audio encoding formats\n *\n * Values: `linear16`, `aac`, `opus`, `mp3`, `flac`, `mulaw`, `alaw`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: DeepgramTTSEncoding.mp3 }\n * { encoding: DeepgramTTSEncoding.opus }\n * ```\n */\nexport const DeepgramTTSEncoding = SpeakV1EncodingParameter\n\n/**\n * Deepgram TTS audio container formats\n *\n * Values: `none`, `wav`, `ogg`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSContainer } from 'voice-router-dev/constants'\n *\n * { container: DeepgramTTSContainer.wav }\n * ```\n */\nexport const DeepgramTTSContainer = SpeakV1ContainerParameter\n\n/**\n * Deepgram TTS sample rates (Hz)\n *\n * Values: `8000`, `16000`, `22050`, `24000`, `32000`, `48000`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: DeepgramTTSSampleRate.NUMBER_24000 }\n * ```\n */\nexport const DeepgramTTSSampleRate = SpeakV1SampleRateParameter\n\n/** Deepgram TTS model type derived from const object */\nexport type DeepgramTTSModelType = (typeof DeepgramTTSModel)[keyof typeof DeepgramTTSModel]\n\n/** Deepgram TTS encoding type derived from const object */\nexport type DeepgramTTSEncodingType = (typeof DeepgramTTSEncoding)[keyof typeof DeepgramTTSEncoding]\n\n/** Deepgram TTS container type derived from const object */\nexport type DeepgramTTSContainerType =\n (typeof DeepgramTTSContainer)[keyof typeof DeepgramTTSContainer]\n\n/** Deepgram TTS sample rate type derived from const object */\nexport type DeepgramTTSSampleRateType =\n (typeof DeepgramTTSSampleRate)[keyof typeof DeepgramTTSSampleRate]\n\n// ─────────────────────────────────────────────────────────────────────────────\n// OpenAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { AudioTranscriptionModel } from \"./generated/openai/schema/audioTranscriptionModel\"\nimport { AudioResponseFormat } from \"./generated/openai/schema/audioResponseFormat\"\n\n/**\n * OpenAI Whisper transcription models\n *\n * Values: `whisper-1`, `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-4o-transcribe-diarize`\n *\n * @example\n * ```typescript\n * import { OpenAIModel } from 'voice-router-dev/constants'\n *\n * { model: OpenAIModel[\"whisper-1\"] }\n * { model: OpenAIModel[\"gpt-4o-transcribe\"] }\n * ```\n */\nexport const OpenAIModel = AudioTranscriptionModel\n\n/**\n * OpenAI transcription response formats\n *\n * Values: `json`, `text`, `srt`, `verbose_json`, `vtt`, `diarized_json`\n *\n * Note: `diarized_json` is only available with `gpt-4o-transcribe-diarize` model.\n * GPT-4o transcribe models only support `json` format.\n *\n * @example\n * ```typescript\n * import { OpenAIResponseFormat } from 'voice-router-dev/constants'\n *\n * { responseFormat: OpenAIResponseFormat.verbose_json }\n * { responseFormat: OpenAIResponseFormat.srt }\n * ```\n */\nexport const OpenAIResponseFormat = AudioResponseFormat\n\n/** OpenAI model type derived from const object */\nexport type OpenAIModelType = (typeof OpenAIModel)[keyof typeof OpenAIModel]\n\n/** OpenAI response format type derived from const object */\nexport type OpenAIResponseFormatType =\n (typeof OpenAIResponseFormat)[keyof typeof OpenAIResponseFormat]\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 */\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 */\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 */\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 */\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\nexport type StreamingSupportedRegions =\n (typeof StreamingSupportedRegions)[keyof typeof StreamingSupportedRegions]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedRegions = {\n \"us-west\": \"us-west\",\n \"eu-west\": \"eu-west\"\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 */\nexport type ManageV1FilterStatusParameter = typeof ManageV1FilterStatusParameter[keyof typeof ManageV1FilterStatusParameter];\n\nexport const ManageV1FilterStatusParameter = {\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\nexport type SpeakV1ModelParameter =\n (typeof SpeakV1ModelParameter)[keyof typeof SpeakV1ModelParameter]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const SpeakV1ModelParameter = {\n \"aura-asteria-en\": \"aura-asteria-en\",\n \"aura-luna-en\": \"aura-luna-en\",\n \"aura-stella-en\": \"aura-stella-en\",\n \"aura-athena-en\": \"aura-athena-en\",\n \"aura-hera-en\": \"aura-hera-en\",\n \"aura-orion-en\": \"aura-orion-en\",\n \"aura-arcas-en\": \"aura-arcas-en\",\n \"aura-perseus-en\": \"aura-perseus-en\",\n \"aura-angus-en\": \"aura-angus-en\",\n \"aura-orpheus-en\": \"aura-orpheus-en\",\n \"aura-helios-en\": \"aura-helios-en\",\n \"aura-zeus-en\": \"aura-zeus-en\",\n \"aura-2-amalthea-en\": \"aura-2-amalthea-en\",\n \"aura-2-andromeda-en\": \"aura-2-andromeda-en\",\n \"aura-2-apollo-en\": \"aura-2-apollo-en\",\n \"aura-2-arcas-en\": \"aura-2-arcas-en\",\n \"aura-2-aries-en\": \"aura-2-aries-en\",\n \"aura-2-asteria-en\": \"aura-2-asteria-en\",\n \"aura-2-athena-en\": \"aura-2-athena-en\",\n \"aura-2-atlas-en\": \"aura-2-atlas-en\",\n \"aura-2-aurora-en\": \"aura-2-aurora-en\",\n \"aura-2-callista-en\": \"aura-2-callista-en\",\n \"aura-2-cordelia-en\": \"aura-2-cordelia-en\",\n \"aura-2-cora-en\": \"aura-2-cora-en\",\n \"aura-2-delia-en\": \"aura-2-delia-en\",\n \"aura-2-draco-en\": \"aura-2-draco-en\",\n \"aura-2-electra-en\": \"aura-2-electra-en\",\n \"aura-2-harmonia-en\": \"aura-2-harmonia-en\",\n \"aura-2-helena-en\": \"aura-2-helena-en\",\n \"aura-2-hera-en\": \"aura-2-hera-en\",\n \"aura-2-hermes-en\": \"aura-2-hermes-en\",\n \"aura-2-hyperion-en\": \"aura-2-hyperion-en\",\n \"aura-2-iris-en\": \"aura-2-iris-en\",\n \"aura-2-janus-en\": \"aura-2-janus-en\",\n \"aura-2-juno-en\": \"aura-2-juno-en\",\n \"aura-2-jupiter-en\": \"aura-2-jupiter-en\",\n \"aura-2-luna-en\": \"aura-2-luna-en\",\n \"aura-2-mars-en\": \"aura-2-mars-en\",\n \"aura-2-minerva-en\": \"aura-2-minerva-en\",\n \"aura-2-neptune-en\": \"aura-2-neptune-en\",\n \"aura-2-odysseus-en\": \"aura-2-odysseus-en\",\n \"aura-2-ophelia-en\": \"aura-2-ophelia-en\",\n \"aura-2-orion-en\": \"aura-2-orion-en\",\n \"aura-2-orpheus-en\": \"aura-2-orpheus-en\",\n \"aura-2-pandora-en\": \"aura-2-pandora-en\",\n \"aura-2-phoebe-en\": \"aura-2-phoebe-en\",\n \"aura-2-pluto-en\": \"aura-2-pluto-en\",\n \"aura-2-saturn-en\": \"aura-2-saturn-en\",\n \"aura-2-selene-en\": \"aura-2-selene-en\",\n \"aura-2-thalia-en\": \"aura-2-thalia-en\",\n \"aura-2-theia-en\": \"aura-2-theia-en\",\n \"aura-2-vesta-en\": \"aura-2-vesta-en\",\n \"aura-2-zeus-en\": \"aura-2-zeus-en\",\n \"aura-2-sirio-es\": \"aura-2-sirio-es\",\n \"aura-2-nestor-es\": \"aura-2-nestor-es\",\n \"aura-2-carina-es\": \"aura-2-carina-es\",\n \"aura-2-celeste-es\": \"aura-2-celeste-es\",\n \"aura-2-alvaro-es\": \"aura-2-alvaro-es\",\n \"aura-2-diana-es\": \"aura-2-diana-es\",\n \"aura-2-aquila-es\": \"aura-2-aquila-es\",\n \"aura-2-selena-es\": \"aura-2-selena-es\",\n \"aura-2-estrella-es\": \"aura-2-estrella-es\",\n \"aura-2-javier-es\": \"aura-2-javier-es\"\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 * SpeakV1EncodingParameter type definition\n */\nexport type SpeakV1EncodingParameter =\n (typeof SpeakV1EncodingParameter)[keyof typeof SpeakV1EncodingParameter]\n\nexport const SpeakV1EncodingParameter = {\n linear16: \"linear16\",\n aac: \"aac\",\n opus: \"opus\",\n mp3: \"mp3\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n alaw: \"alaw\"\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 * SpeakV1ContainerParameter type definition\n */\nexport type SpeakV1ContainerParameter =\n (typeof SpeakV1ContainerParameter)[keyof typeof SpeakV1ContainerParameter]\n\nexport const SpeakV1ContainerParameter = {\n none: \"none\",\n wav: \"wav\",\n ogg: \"ogg\"\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 * SpeakV1SampleRateParameter type definition\n */\nexport type SpeakV1SampleRateParameter =\n (typeof SpeakV1SampleRateParameter)[keyof typeof SpeakV1SampleRateParameter]\n\nexport const SpeakV1SampleRateParameter = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_22050: 22050,\n NUMBER_24000: 24000,\n NUMBER_32000: 32000,\n NUMBER_48000: 48000,\n null: null\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * OpenAI API\n * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.\n * OpenAPI spec version: 2.3.0\n */\n\n/**\n * The model to use for transcription. Current options are `whisper-1`, `gpt-4o-mini-transcribe`, `gpt-4o-transcribe`, and `gpt-4o-transcribe-diarize`. Use `gpt-4o-transcribe-diarize` when you need diarization with speaker labels.\n\n */\nexport type AudioTranscriptionModel =\n (typeof AudioTranscriptionModel)[keyof typeof AudioTranscriptionModel]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AudioTranscriptionModel = {\n \"whisper-1\": \"whisper-1\",\n \"gpt-4o-mini-transcribe\": \"gpt-4o-mini-transcribe\",\n \"gpt-4o-transcribe\": \"gpt-4o-transcribe\",\n \"gpt-4o-transcribe-diarize\": \"gpt-4o-transcribe-diarize\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * OpenAI API\n * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.\n * OpenAPI spec version: 2.3.0\n */\n\n/**\n * The format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations.\n\n */\nexport type AudioResponseFormat = (typeof AudioResponseFormat)[keyof typeof AudioResponseFormat]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AudioResponseFormat = {\n json: \"json\",\n text: \"text\",\n srt: \"srt\",\n verbose_json: \"verbose_json\",\n vtt: \"vtt\",\n diarized_json: \"diarized_json\"\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACsCO,IAAM,4BAA4B;AAAA,EACvC,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AACR;;;AChCO,IAAM,mCAAmC;AAAA,EAC9C,KAAK;AAAA,EACL,KAAK;AAAA,EACL,SAAS;AACX;;;ACqBO,IAAM,iCAAiC;AAAA,EAC5C,UAAU;AAAA,EACV,QAAQ;AACV;;;ACHO,IAAM,kCAAkC;AAAA,EAC7C,UAAU;AAAA,EACV,QAAQ;AACV;;;ACHO,IAAM,gCAAgC;AAAA,EAC3C,MAAM;AAAA,EACN,KAAK;AACP;;;ACtBO,IAAM,iCAAiC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;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;AAwGvB,IAAM,qBAAqB;AAAA;AAAA,EAEhC,KAAK;AAAA;AAAA,EAEL,KAAK;AAAA;AAAA,EAEL,KAAK;AAAA;AAAA,EAEL,KAAK;AAAA;AAAA,EAEL,KAAK;AACP;AA6BO,IAAM,iBAAiB;AAAA;AAAA,EAE5B,QAAQ;AAAA;AAAA,EAER,IAAI;AACN;AA+BO,IAAM,mBAAmB;AAezB,IAAM,sBAAsB;AAc5B,IAAM,uBAAuB;AAc7B,IAAM,wBAAwB;AAoC9B,IAAM,cAAc;AAkBpB,IAAM,uBAAuB;","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/streamingSupportedRegions.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/generated/deepgram/schema/speakV1ModelParameter.ts","../src/generated/deepgram/schema/speakV1EncodingParameter.ts","../src/generated/deepgram/schema/speakV1ContainerParameter.ts","../src/generated/deepgram/schema/speakV1SampleRateParameter.ts","../src/generated/openai/schema/audioTranscriptionModel.ts","../src/generated/openai/schema/audioResponseFormat.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 { StreamingSupportedRegions } from \"./generated/gladia/schema/streamingSupportedRegions\"\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 * Gladia streaming regions for low-latency processing\n *\n * Values: `us-west`, `eu-west`\n *\n * Use the region closest to your users for optimal latency.\n * Region selection is only available for streaming transcription.\n *\n * @example\n * ```typescript\n * import { GladiaRegion } from 'voice-router-dev/constants'\n *\n * await adapter.transcribeStream({\n * region: GladiaRegion[\"us-west\"]\n * })\n * ```\n */\nexport const GladiaRegion = StreamingSupportedRegions\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/** Gladia region type derived from const object */\nexport type GladiaRegionType = (typeof GladiaRegion)[keyof typeof GladiaRegion]\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// ─────────────────────────────────────────────────────────────────────────────\n// Region Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Speechmatics regional endpoints\n *\n * Speechmatics offers multiple regional endpoints for data residency and latency optimization.\n * EU2 and US2 are enterprise-only for high availability and failover.\n *\n * | Region | Endpoint | Availability |\n * |--------|----------|--------------|\n * | EU1 | eu1.asr.api.speechmatics.com | All customers |\n * | EU2 | eu2.asr.api.speechmatics.com | Enterprise only |\n * | US1 | us1.asr.api.speechmatics.com | All customers |\n * | US2 | us2.asr.api.speechmatics.com | Enterprise only |\n * | AU1 | au1.asr.api.speechmatics.com | All customers |\n *\n * @example\n * ```typescript\n * import { SpeechmaticsRegion } from 'voice-router-dev/constants'\n *\n * const adapter = new SpeechmaticsAdapter()\n * adapter.initialize({\n * apiKey: process.env.SPEECHMATICS_API_KEY,\n * region: SpeechmaticsRegion.eu1\n * })\n * ```\n *\n * @see https://docs.speechmatics.com/get-started/authentication#supported-endpoints\n */\nexport const SpeechmaticsRegion = {\n /** Europe (default, all customers) */\n eu1: \"eu1\",\n /** Europe (enterprise only - HA/failover) */\n eu2: \"eu2\",\n /** USA (all customers) */\n us1: \"us1\",\n /** USA (enterprise only - HA/failover) */\n us2: \"us2\",\n /** Australia (all customers) */\n au1: \"au1\"\n} as const\n\n/**\n * Deepgram regional endpoints\n *\n * Deepgram offers regional endpoints for EU data residency.\n * The EU endpoint keeps all processing within the European Union.\n *\n * | Region | API Endpoint | WebSocket Endpoint |\n * |--------|--------------|-------------------|\n * | Global | api.deepgram.com | wss://api.deepgram.com |\n * | EU | api.eu.deepgram.com | wss://api.eu.deepgram.com |\n *\n * **Note:** Deepgram also supports Dedicated endpoints (`{SHORT_UID}.{REGION}.api.deepgram.com`)\n * and self-hosted deployments. Use `baseUrl` in config for custom endpoints.\n *\n * @example\n * ```typescript\n * import { DeepgramRegion } from 'voice-router-dev/constants'\n *\n * const adapter = new DeepgramAdapter()\n * adapter.initialize({\n * apiKey: process.env.DEEPGRAM_API_KEY,\n * region: DeepgramRegion.eu\n * })\n * ```\n *\n * @see https://developers.deepgram.com/reference/custom-endpoints - Official custom endpoints docs\n */\nexport const DeepgramRegion = {\n /** Global endpoint (default) */\n global: \"global\",\n /** European Union endpoint */\n eu: \"eu\"\n} as const\n\n/** Speechmatics region type derived from const object */\nexport type SpeechmaticsRegionType = (typeof SpeechmaticsRegion)[keyof typeof SpeechmaticsRegion]\n\n/** Deepgram region type derived from const object */\nexport type DeepgramRegionType = (typeof DeepgramRegion)[keyof typeof DeepgramRegion]\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Deepgram TTS (Text-to-Speech) Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { SpeakV1ModelParameter } from \"./generated/deepgram/schema/speakV1ModelParameter\"\nimport { SpeakV1EncodingParameter } from \"./generated/deepgram/schema/speakV1EncodingParameter\"\nimport { SpeakV1ContainerParameter } from \"./generated/deepgram/schema/speakV1ContainerParameter\"\nimport { SpeakV1SampleRateParameter } from \"./generated/deepgram/schema/speakV1SampleRateParameter\"\n\n/**\n * Deepgram TTS voice models\n *\n * Aura 2 voices offer improved quality with support for English and Spanish.\n * Use the voice name to select a specific voice persona.\n *\n * @example\n * ```typescript\n * import { DeepgramTTSModel } from 'voice-router-dev/constants'\n *\n * { model: DeepgramTTSModel[\"aura-2-athena-en\"] }\n * { model: DeepgramTTSModel[\"aura-2-sirio-es\"] }\n * ```\n */\nexport const DeepgramTTSModel = SpeakV1ModelParameter\n\n/**\n * Deepgram TTS audio encoding formats\n *\n * Values: `linear16`, `aac`, `opus`, `mp3`, `flac`, `mulaw`, `alaw`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSEncoding } from 'voice-router-dev/constants'\n *\n * { encoding: DeepgramTTSEncoding.mp3 }\n * { encoding: DeepgramTTSEncoding.opus }\n * ```\n */\nexport const DeepgramTTSEncoding = SpeakV1EncodingParameter\n\n/**\n * Deepgram TTS audio container formats\n *\n * Values: `none`, `wav`, `ogg`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSContainer } from 'voice-router-dev/constants'\n *\n * { container: DeepgramTTSContainer.wav }\n * ```\n */\nexport const DeepgramTTSContainer = SpeakV1ContainerParameter\n\n/**\n * Deepgram TTS sample rates (Hz)\n *\n * Values: `8000`, `16000`, `22050`, `24000`, `32000`, `48000`\n *\n * @example\n * ```typescript\n * import { DeepgramTTSSampleRate } from 'voice-router-dev/constants'\n *\n * { sampleRate: DeepgramTTSSampleRate.NUMBER_24000 }\n * ```\n */\nexport const DeepgramTTSSampleRate = SpeakV1SampleRateParameter\n\n/** Deepgram TTS model type derived from const object */\nexport type DeepgramTTSModelType = (typeof DeepgramTTSModel)[keyof typeof DeepgramTTSModel]\n\n/** Deepgram TTS encoding type derived from const object */\nexport type DeepgramTTSEncodingType = (typeof DeepgramTTSEncoding)[keyof typeof DeepgramTTSEncoding]\n\n/** Deepgram TTS container type derived from const object */\nexport type DeepgramTTSContainerType =\n (typeof DeepgramTTSContainer)[keyof typeof DeepgramTTSContainer]\n\n/** Deepgram TTS sample rate type derived from const object */\nexport type DeepgramTTSSampleRateType =\n (typeof DeepgramTTSSampleRate)[keyof typeof DeepgramTTSSampleRate]\n\n// ─────────────────────────────────────────────────────────────────────────────\n// OpenAI Constants\n// ─────────────────────────────────────────────────────────────────────────────\n\nimport { AudioTranscriptionModel } from \"./generated/openai/schema/audioTranscriptionModel\"\nimport { AudioResponseFormat } from \"./generated/openai/schema/audioResponseFormat\"\n\n/**\n * OpenAI Whisper transcription models\n *\n * Values: `whisper-1`, `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-4o-transcribe-diarize`\n *\n * @example\n * ```typescript\n * import { OpenAIModel } from 'voice-router-dev/constants'\n *\n * { model: OpenAIModel[\"whisper-1\"] }\n * { model: OpenAIModel[\"gpt-4o-transcribe\"] }\n * ```\n */\nexport const OpenAIModel = AudioTranscriptionModel\n\n/**\n * OpenAI transcription response formats\n *\n * Values: `json`, `text`, `srt`, `verbose_json`, `vtt`, `diarized_json`\n *\n * Note: `diarized_json` is only available with `gpt-4o-transcribe-diarize` model.\n * GPT-4o transcribe models only support `json` format.\n *\n * @example\n * ```typescript\n * import { OpenAIResponseFormat } from 'voice-router-dev/constants'\n *\n * { responseFormat: OpenAIResponseFormat.verbose_json }\n * { responseFormat: OpenAIResponseFormat.srt }\n * ```\n */\nexport const OpenAIResponseFormat = AudioResponseFormat\n\n/** OpenAI model type derived from const object */\nexport type OpenAIModelType = (typeof OpenAIModel)[keyof typeof OpenAIModel]\n\n/** OpenAI response format type derived from const object */\nexport type OpenAIResponseFormatType =\n (typeof OpenAIResponseFormat)[keyof typeof OpenAIResponseFormat]\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 */\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 */\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 */\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 */\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 */\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 */\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 */\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 */\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\nexport type StreamingSupportedRegions =\n (typeof StreamingSupportedRegions)[keyof typeof StreamingSupportedRegions]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const StreamingSupportedRegions = {\n \"us-west\": \"us-west\",\n \"eu-west\": \"eu-west\"\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 */\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 */\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 * 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 SpeakV1ModelParameter =\n (typeof SpeakV1ModelParameter)[keyof typeof SpeakV1ModelParameter]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const SpeakV1ModelParameter = {\n \"aura-asteria-en\": \"aura-asteria-en\",\n \"aura-luna-en\": \"aura-luna-en\",\n \"aura-stella-en\": \"aura-stella-en\",\n \"aura-athena-en\": \"aura-athena-en\",\n \"aura-hera-en\": \"aura-hera-en\",\n \"aura-orion-en\": \"aura-orion-en\",\n \"aura-arcas-en\": \"aura-arcas-en\",\n \"aura-perseus-en\": \"aura-perseus-en\",\n \"aura-angus-en\": \"aura-angus-en\",\n \"aura-orpheus-en\": \"aura-orpheus-en\",\n \"aura-helios-en\": \"aura-helios-en\",\n \"aura-zeus-en\": \"aura-zeus-en\",\n \"aura-2-amalthea-en\": \"aura-2-amalthea-en\",\n \"aura-2-andromeda-en\": \"aura-2-andromeda-en\",\n \"aura-2-apollo-en\": \"aura-2-apollo-en\",\n \"aura-2-arcas-en\": \"aura-2-arcas-en\",\n \"aura-2-aries-en\": \"aura-2-aries-en\",\n \"aura-2-asteria-en\": \"aura-2-asteria-en\",\n \"aura-2-athena-en\": \"aura-2-athena-en\",\n \"aura-2-atlas-en\": \"aura-2-atlas-en\",\n \"aura-2-aurora-en\": \"aura-2-aurora-en\",\n \"aura-2-callista-en\": \"aura-2-callista-en\",\n \"aura-2-cordelia-en\": \"aura-2-cordelia-en\",\n \"aura-2-cora-en\": \"aura-2-cora-en\",\n \"aura-2-delia-en\": \"aura-2-delia-en\",\n \"aura-2-draco-en\": \"aura-2-draco-en\",\n \"aura-2-electra-en\": \"aura-2-electra-en\",\n \"aura-2-harmonia-en\": \"aura-2-harmonia-en\",\n \"aura-2-helena-en\": \"aura-2-helena-en\",\n \"aura-2-hera-en\": \"aura-2-hera-en\",\n \"aura-2-hermes-en\": \"aura-2-hermes-en\",\n \"aura-2-hyperion-en\": \"aura-2-hyperion-en\",\n \"aura-2-iris-en\": \"aura-2-iris-en\",\n \"aura-2-janus-en\": \"aura-2-janus-en\",\n \"aura-2-juno-en\": \"aura-2-juno-en\",\n \"aura-2-jupiter-en\": \"aura-2-jupiter-en\",\n \"aura-2-luna-en\": \"aura-2-luna-en\",\n \"aura-2-mars-en\": \"aura-2-mars-en\",\n \"aura-2-minerva-en\": \"aura-2-minerva-en\",\n \"aura-2-neptune-en\": \"aura-2-neptune-en\",\n \"aura-2-odysseus-en\": \"aura-2-odysseus-en\",\n \"aura-2-ophelia-en\": \"aura-2-ophelia-en\",\n \"aura-2-orion-en\": \"aura-2-orion-en\",\n \"aura-2-orpheus-en\": \"aura-2-orpheus-en\",\n \"aura-2-pandora-en\": \"aura-2-pandora-en\",\n \"aura-2-phoebe-en\": \"aura-2-phoebe-en\",\n \"aura-2-pluto-en\": \"aura-2-pluto-en\",\n \"aura-2-saturn-en\": \"aura-2-saturn-en\",\n \"aura-2-selene-en\": \"aura-2-selene-en\",\n \"aura-2-thalia-en\": \"aura-2-thalia-en\",\n \"aura-2-theia-en\": \"aura-2-theia-en\",\n \"aura-2-vesta-en\": \"aura-2-vesta-en\",\n \"aura-2-zeus-en\": \"aura-2-zeus-en\",\n \"aura-2-sirio-es\": \"aura-2-sirio-es\",\n \"aura-2-nestor-es\": \"aura-2-nestor-es\",\n \"aura-2-carina-es\": \"aura-2-carina-es\",\n \"aura-2-celeste-es\": \"aura-2-celeste-es\",\n \"aura-2-alvaro-es\": \"aura-2-alvaro-es\",\n \"aura-2-diana-es\": \"aura-2-diana-es\",\n \"aura-2-aquila-es\": \"aura-2-aquila-es\",\n \"aura-2-selena-es\": \"aura-2-selena-es\",\n \"aura-2-estrella-es\": \"aura-2-estrella-es\",\n \"aura-2-javier-es\": \"aura-2-javier-es\"\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 * SpeakV1EncodingParameter type definition\n */\nexport type SpeakV1EncodingParameter =\n (typeof SpeakV1EncodingParameter)[keyof typeof SpeakV1EncodingParameter]\n\nexport const SpeakV1EncodingParameter = {\n linear16: \"linear16\",\n aac: \"aac\",\n opus: \"opus\",\n mp3: \"mp3\",\n flac: \"flac\",\n mulaw: \"mulaw\",\n alaw: \"alaw\"\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 * SpeakV1ContainerParameter type definition\n */\nexport type SpeakV1ContainerParameter =\n (typeof SpeakV1ContainerParameter)[keyof typeof SpeakV1ContainerParameter]\n\nexport const SpeakV1ContainerParameter = {\n none: \"none\",\n wav: \"wav\",\n ogg: \"ogg\"\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 * SpeakV1SampleRateParameter type definition\n */\nexport type SpeakV1SampleRateParameter =\n (typeof SpeakV1SampleRateParameter)[keyof typeof SpeakV1SampleRateParameter]\n\nexport const SpeakV1SampleRateParameter = {\n NUMBER_8000: 8000,\n NUMBER_16000: 16000,\n NUMBER_22050: 22050,\n NUMBER_24000: 24000,\n NUMBER_32000: 32000,\n NUMBER_48000: 48000,\n null: null\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * OpenAI API\n * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.\n * OpenAPI spec version: 2.3.0\n */\n\n/**\n * The model to use for transcription. Current options are `whisper-1`, `gpt-4o-mini-transcribe`, `gpt-4o-transcribe`, and `gpt-4o-transcribe-diarize`. Use `gpt-4o-transcribe-diarize` when you need diarization with speaker labels.\n\n */\nexport type AudioTranscriptionModel =\n (typeof AudioTranscriptionModel)[keyof typeof AudioTranscriptionModel]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AudioTranscriptionModel = {\n \"whisper-1\": \"whisper-1\",\n \"gpt-4o-mini-transcribe\": \"gpt-4o-mini-transcribe\",\n \"gpt-4o-transcribe\": \"gpt-4o-transcribe\",\n \"gpt-4o-transcribe-diarize\": \"gpt-4o-transcribe-diarize\"\n} as const\n","/**\n * Generated by orval v7.9.0 🍺\n * Do not edit manually.\n * OpenAI API\n * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.\n * OpenAPI spec version: 2.3.0\n */\n\n/**\n * The format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, `vtt`, or `diarized_json`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`, the only supported format is `json`. For `gpt-4o-transcribe-diarize`, the supported formats are `json`, `text`, and `diarized_json`, with `diarized_json` required to receive speaker annotations.\n\n */\nexport type AudioResponseFormat = (typeof AudioResponseFormat)[keyof typeof AudioResponseFormat]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AudioResponseFormat = {\n json: \"json\",\n text: \"text\",\n srt: \"srt\",\n verbose_json: \"verbose_json\",\n vtt: \"vtt\",\n diarized_json: \"diarized_json\"\n} as const\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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