import type * as ElevenLabs from "../index"; export interface DubbingLanguageResponse { /** Unique identifier of the language target. */ languageId: string; /** Identifier of the parent dubbing project. */ projectId: string; /** BCP-47 language tag this target is dubbed into. */ targetLanguage: string; /** Lifecycle status: `queued` (waiting on the project to be ready, or on a worker), `processing` while it is being dubbed, `completed` once its output is available, `stale` when the transcript changed after the output was produced, or `failed`. */ status: ElevenLabs.DubbingLanguageResponseStatus; /** Dubbing model this target is dubbed with, inherited from the project and not selectable per language. */ modelId?: string; /** Voice settings applied to every speaker in this language, or null if the defaults apply. */ voiceSettings?: ElevenLabs.VoiceSettings; /** Signed output URLs; null until the target has produced an output (present once `completed`, and kept while `stale` — compare `output_revision` against `revision` to tell whether the output is up to date). */ outputs?: ElevenLabs.DubbingLanguageOutputs; /** Monotonic counter incremented whenever this target's transcript changes (a source edit affecting it, or an edit to its translation). */ revision: number; /** The `revision` the current dubbed output was generated from; equal to `revision` when up to date, and lower when `stale`. This is null until a generation has completed. */ outputRevision?: number; /** Why this language failed; null unless `status` is `failed`, and also null for the few languages that failed before failure reporting was introduced. A code of `project_failed` means the parent project failed, so read the project for the underlying cause. */ error?: ElevenLabs.DubbingError; /** Non-fatal conditions raised while dubbing this language, empty when there are none. Reflects the latest generation. Conditions raised while preparing the source are reported on the project instead. */ warnings?: ElevenLabs.VoicesNotPermittedWarning[]; /** When the language target was created. */ createdAt: Date; /** When the language target was last updated. */ updatedAt: Date; }