/**
 * Product Classification API Types - Mirror backend schemas
 */

export interface ProductClassificationRequest {
  product_name: string;
  sales_volume?: number;
  sales_data?: Record<string, any>;
}

export interface BatchClassificationRequest {
  products: ProductClassificationRequest[];
}

export interface ProductSuggestionResponse {
  suggestion_id: string;
  original_name: string;
  suggested_name: string;
  product_type: string;
  category: string;
  unit_of_measure: string;
  confidence_score: number;
  estimated_shelf_life_days?: number;
  requires_refrigeration: boolean;
  requires_freezing: boolean;
  is_seasonal: boolean;
  suggested_supplier?: string;
  notes?: string;
  sales_data?: {
    total_quantity: number;
    average_daily_sales: number;
    peak_day: string;
    frequency: number;
  };
}