export interface SupplierForCreation {
  id: string
  inn: string
  name: string
  fullName: string
  address: string
  phone?: string
  email?: string
  rating: number
  productCount: number
  avatar?: string
  specialization: string[]
}

export interface SupplierProduct {
  id: string
  name: string
  article: string
  description: string
  price: number
  quantity: number
  category: string
  brand?: string
  color?: string
  size?: string
  weight?: number
  dimensions?: string
  material?: string
  images: string[]
  mainImage?: string
  discount?: number
  isNew?: boolean
  isBestseller?: boolean
}

export interface SelectedProduct extends SupplierProduct {
  selectedQuantity: number
  supplierId: string
  supplierName: string
}

export interface CounterpartySupplier {
  id: string
  inn?: string
  name?: string
  fullName?: string
  address?: string
  phones?: { value: string }[]
  emails?: { value: string }[]
}
