export interface Reason {
  _id: number;
  title: string;
  type: string;
  placeholder: string | null;
  createdAt: string;
  updatedAt: string;
}

export interface User {
  _id: string;
  fullName: string;
  phoneNumber: string;
  dateOfBirth: string | null;
  address: string | null;
  nationalCode: string | null;
  homeNumber: string | null;
  createdAt: string;
  updatedAt: string;
}

export interface ProductImagesUrl {
  cover: string;
  list: string[];
}

export interface ProductSpecification {
  title: string;
  values: string[];
}

export interface Product {
  seoTitle: string | null;
  seoDescription: string | null;
  _id: number;
  title_fa: string;
  title_en: string;
  model: string;
  source: string;
  description: string;
  metaDescription: string;
  tags: string[];
  advantages: string[];
  disAdvantages: string[];
  totalRate: number;
  category: string;
  shop: string;
  brand: string;
  status: string;
  adminComments: string | null;
  step: number;
  isFake: boolean;
  variants: string[];
  voice: string | null;
  deleted: boolean;
  specifications: ProductSpecification[];
  createdAt: string;
  updatedAt: string;
  imagesUrl: ProductImagesUrl;
  url: string;
  rate?: number;
}

export interface Report {
  _id: string;
  user: User;
  product: Product;
  reason: Reason[];
  description: string;
  status: string;
  createdAt: string;
  updatedAt: string;
}

export interface ReportResults {
  reports: Report[];
}

export interface ReportResponse {
  status: number;
  success: boolean;
  results: ReportResults;
}

export interface CreateReportCategoryType {
  title: string;
}

export interface ReportCategoriesResponse {
  status: number;
  success: boolean;
  results: {
    questions: Reason[];
  };
}
