/** * This file was auto-generated by Fern from our API Definition. */ export interface Automation { id: string; name?: string; description?: string; trigger: Automation.Trigger; workflow: Automation.Workflow.Item[]; status: Automation.Status; created: string; updated: string; } export declare namespace Automation { interface Trigger { kind: "event"; event: "media.created"; } type Workflow = Workflow.Item[]; namespace Workflow { type Item = { kind: "video" | "image" | "audio" | "chapters" | "subtitles" | "thumbnails" | "nsfw" | "speech" | "description" | "outline" | "prompt" | "http"; ref?: string | undefined; next?: { kind?: string | undefined; ref?: string | undefined; }[] | undefined; } | { kind: "conditions"; conditions: { prop?: string | undefined; value?: string | undefined; }[]; next?: { kind?: string | undefined; ref?: string | undefined; }[] | undefined; }; } type Status = "active" | "paused"; const Status: { readonly Active: "active"; readonly Paused: "paused"; }; }