export type ApiTaskStatus = | 'pending' | 'processing' | 'completed' | 'failed' | 'approved' | 'rejected' export interface TaskResponse { task_id: string video_url?: string | null script_content?: string | null script_file_url?: string | null has_script: boolean has_video: boolean platform: string creator_id: string status: ApiTaskStatus created_at: string } export interface TaskListResponse { items: TaskResponse[] total: number page: number page_size: number } export interface TaskScriptUploadRequest { script_content?: string script_file_url?: string } export interface TaskVideoUploadRequest { video_url: string }