export type PlanKey = 'free' | 'starter' | 'growth' | 'enterprise';

export interface Plan {
  name: string;
  monthlyCallLimit: number;
  platforms: string[];
}

export const PLANS: Record<PlanKey, Plan> = {
  free: {
    name: 'Free',
    monthlyCallLimit: 100,
    platforms: ['email', 'obsidian'],
  },
  starter: {
    name: 'Starter',
    monthlyCallLimit: 1000,
    platforms: ['email', 'obsidian', 'whatsapp', 'telegram'],
  },
  growth: {
    name: 'Growth',
    monthlyCallLimit: 10000,
    platforms: ['email', 'obsidian', 'whatsapp', 'telegram', 'discord', 'instagram', 'linkedin', 'twitter'],
  },
  enterprise: {
    name: 'Enterprise',
    monthlyCallLimit: -1,
    platforms: ['email', 'obsidian', 'whatsapp', 'telegram', 'discord', 'instagram', 'linkedin', 'twitter'],
  },
};
