export interface Inventories {
  inventory: Inventory[]
  total_count: number
  page: number
  limit: number
  total_pages: number
}

export interface Inventory {
  id: string
  outlet_id: string
  product_id: string
  quantity: number
  reorder_level: number
  is_low_stock: boolean
  product: any
  updated_at: string // ISO 8601 timestamp
}

export interface InventoryRequest {
  product_id: string
  outlet_id: string
  quantity: number
}

export interface InventoryAdjustRequest {
  product_id: string
  outlet_id: string
  delta: number
  reason: string
}

export interface Item {
  item_id: string
  item_type: string
  quantity: number | string
}

export interface InventoryRestockRequest {
  outlet_id: string
  items: Item[]
  reason: string
}
