export type PaymentMethodStat = {
  method: string;
  total: number;
  count: number;
};

export type CategoryPerformanceStat = {
  categoryName: string;
  revenue: number;
  adsCount: number;
  share: number;
};

export type HourlyStat = {
  hour: number;
  count: number;
};

export type DailyRevenue = {
  day: string;
  amount: number;
};

export type AdvancedAnalyticsData = {
  totalRevenue: number;
  totalAds: number;
  revenueGrowth: number;
  adsGrowth: number;
  paymentsDistribution: PaymentMethodStat[];
  categoryPerformance: CategoryPerformanceStat[];
  hourlyActivity: HourlyStat[];
  dailyTrends: DailyRevenue[];

  sourceMix: {
    mostradorCount: number;
    webCount: number;
    mostradorPercent: number;
    webPercent: number;
  };
};
