From eb6e037d747a16c63c87b28f90456824dc562012 Mon Sep 17 00:00:00 2001 From: AssemblyAI Date: Wed, 17 Dec 2025 15:02:37 -0700 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: 3bc7ab6a5073fb197b3c2bc40eb7ea9a737d2d2e --- CONTRIBUTING.md | 1 + package.json | 2 +- src/types/openapi.generated.ts | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) 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"