diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e491bc..84a272d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,6 +55,7 @@ TEST_TRANSCRIPT_IDS=... ## Generate types from OpenAPI and AsyncAPI spec 1. Configure the location of the OpenAPI and AsyncAPI spec as environment variables: + - `OPENAPI_SPEC`: Path or URL to the AssemblyAI OpenAPI spec - `ASYNCAPI_SPEC`: Path or URL to the AssemblyAI AsyncAPI spec diff --git a/package.json b/package.json index 6ba4283..2569891 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "assemblyai", - "version": "4.22.0", + "version": "4.22.1", "description": "The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.", "engines": { "node": ">=18" diff --git a/src/types/openapi.generated.ts b/src/types/openapi.generated.ts index 3843230..0c75077 100644 --- a/src/types/openapi.generated.ts +++ b/src/types/openapi.generated.ts @@ -1704,6 +1704,10 @@ export type LanguageDetectionOptions = { * Controls behavior when language confidence is below threshold. Either "error" (default) or "fallback". */ on_low_language_confidence?: string | null; + /** + * If True, route German language requests as Swiss German audio. Only applies when language_detection is enabled and German is detected. + */ + swiss_german?: boolean | null; }; /** @@ -2961,6 +2965,7 @@ export type TranscriptLanguageCode = | "es" | "fr" | "de" + | "de_ch" | "it" | "pt" | "nl"