/** * This file was auto-generated by Fern from our API Definition. */ export interface TaskSummary { id: string; object: string; kind: TaskSummary.Kind; status: TaskSummary.Status; progress?: number; error?: string; created_by?: string; created: string; updated: string; parent_id?: string; } export declare namespace TaskSummary { type Kind = "ingest" | "video" | "image" | "audio" | "chapters" | "subtitles" | "thumbnails" | "nsfw" | "speech" | "description" | "outline" | "prompt" | "workflow" | "conditions" | "http"; const Kind: { readonly Ingest: "ingest"; readonly Video: "video"; readonly Image: "image"; readonly Audio: "audio"; readonly Chapters: "chapters"; readonly Subtitles: "subtitles"; readonly Thumbnails: "thumbnails"; readonly Nsfw: "nsfw"; readonly Speech: "speech"; readonly Description: "description"; readonly Outline: "outline"; readonly Prompt: "prompt"; readonly Workflow: "workflow"; readonly Conditions: "conditions"; readonly Http: "http"; }; type Status = "pending" | "waiting" | "processing" | "ready" | "completed" | "failed" | "error" | "cancelled"; const Status: { readonly Pending: "pending"; readonly Waiting: "waiting"; readonly Processing: "processing"; readonly Ready: "ready"; readonly Completed: "completed"; readonly Failed: "failed"; readonly Error: "error"; readonly Cancelled: "cancelled"; }; }