export interface ServiceDocumentRequirement {
  id: string;
  name: string;
  isRequired: boolean;
}

export interface ServiceOption {
  id: string;
  name: string;
  category: string;
  price: string;
  description?: string;
}

export interface ServiceDetail extends ServiceOption {
  serviceDocuments: ServiceDocumentRequirement[];
}

export interface TaskDocument {
  id: string;
  fileName: string;
  fileUrl: string;
  fileType?: string;
  fileSizeKb?: number;
  status: string;
  serviceDocument?: { id: string; name: string } | null;
  createdAt: string;
  aiVerificationNotes?: string;
}
export interface Task {
  id: string;
  title: string;
  description?: string;
  status: string;
  priority: string;
  dueDate?: string;
  createdAt: string;
  service: ServiceOption;
  documents?: TaskDocument[];
  client?: {
    id: string;
    name: string;
    email: string;
    companyName?: string | null;
  };
  assignedEmployee?: {
    id: string;
    name: string;
    email: string;
    role: string;
  } | null;
}
