export interface Promotion {
  _id: string;
  storeId: string;
  code: string;
  discountType: 'percentage' | 'fixed';
  discountValue: number;
  minOrderAmount: number;
  maxUsage: number | null;
  usageCount: number;
  isActive: boolean;
  startDate: string;
  endDate: string | null;
  description: string;
  blacklistedProducts: string[];
  applicableProducts: 'all' | 'specific' | 'exclude_specific';
  specificProducts: string[];
  createdAt: string;
  updatedAt: string;
}

export interface PromotionFormData {
  code: string;
  discountType: 'percentage' | 'fixed';
  discountValue: number;
  minOrderAmount: number;
  maxUsage: number | null;
  isActive: boolean;
  startDate: string;
  endDate: string | null;
  description: string;
  blacklistedProducts: string[];
  applicableProducts: 'all' | 'specific' | 'exclude_specific';
  specificProducts: string[];
}

export interface Product {
  _id: string;
  name: string;
  description: string;
  enabled: boolean;
} 