import type { EventType } from "@/lib/event-personalization";

export interface EventAddon {
  id: string;
  label: string;
  priceCents: number;
}

// Get addons/supplements based on event type
export function getEventAddons(eventType: EventType): EventAddon[] {
  const addonsByEvent: Record<EventType, EventAddon[]> = {
    birthday: [
      { id: "candle-1", label: "Bougie personnalisée", priceCents: 499 },
      { id: "confetti-1", label: "Confettis dorés", priceCents: 299 },
      { id: "ribbon-1", label: "Ruban satiné", priceCents: 199 },
    ],
    baptism: [
      { id: "certificate-1", label: "Certificat encadré", priceCents: 699 },
      { id: "candle-2", label: "Bougie baptême", priceCents: 399 },
      { id: "box-1", label: "Coffret cadeau", priceCents: 999 },
    ],
    gift: [
      { id: "box-2", label: "Emballage cadeau premium", priceCents: 299 },
      { id: "card-1", label: "Carte personnalisée", priceCents: 199 },
      { id: "ribbon-2", label: "Ruban luxury", priceCents: 299 },
    ],
    teacher: [
      { id: "thank-you-card", label: "Carte de remerciement", priceCents: 199 },
      { id: "small-gift-box", label: "Petite boîte cadeau", priceCents: 399 },
      { id: "thank-you-sticker", label: "Autocollants remerciement", priceCents: 149 },
    ],
    wedding: [
      { id: "guest-book", label: "Livre d'or personnalisé", priceCents: 1499 },
      { id: "champagne-label", label: "Étiquette bouteille", priceCents: 299 },
      { id: "thank-you-note", label: "Carton de remerciement", priceCents: 399 },
    ],
    "complete-pack": [
      { id: "deluxe-box", label: "Boîte deluxe", priceCents: 1999 },
      { id: "premium-wrap", label: "Emballage premium", priceCents: 799 },
      { id: "gift-tag", label: "Étiquette cadeau luxury", priceCents: 299 },
    ],
  };

  return addonsByEvent[eventType] || [];
}
