/** Shared domain types for the CRM. Extend as features are added. */

export type ID = string;

export type Lead = {
  id: ID;
  name: string;
  email: string;
  phone?: string;
  company?: string;
  status: "new" | "contacted" | "qualified" | "lost" | "won";
  createdAt: string;
};

export type Contact = {
  id: ID;
  name: string;
  email: string;
  phone?: string;
  company?: string;
};

export type Deal = {
  id: ID;
  title: string;
  amount: number;
  stage: "prospect" | "negotiation" | "proposal" | "closed-won" | "closed-lost";
  contactId?: ID;
  createdAt: string;
};
