export enum InventoryStatus {
  IN_STOCK = 'IN_STOCK',
  LOW_STOCK = 'LOW_STOCK',
  OUT_OF_STOCK = 'OUT_OF_STOCK',
  OVERSTOCKED = 'OVERSTOCKED',
}

export interface Inventory {
  id: string;
  skuId: string;
  productId: string;
  productName: string;
  sku: string;
  quantity: number;
  availableQuantity: number;
  reservedQuantity: number;
  warehouseId: string;
  warehouseName: string;
  status: InventoryStatus;
  costPrice: number;
  sellingPrice: number;
  reorderPoint: number;
  maxStock: number;
  lastRestockDate: string;
  createdAt: string;
  updatedAt: string;
}

export interface InventoryFilterParams {
  productId?: string;
  warehouseId?: string;
  status?: InventoryStatus;
  keyword?: string;
}

export interface InventoryStatistics {
  totalProducts: number;
  totalQuantity: number;
  totalValue: number;
  lowStockCount: number;
  outOfStockCount: number;
  overstockedCount: number;
}
