export interface SalesReportRow {
  order_number: string;
  event: string;
  ticket_type: string;
  quantity: number;
  price_at_purchase: string;
  subtotal: string;
  status: string;
  ordered_at: string;
}

export interface ParticipantReportRow {
  ticket_code: string;
  holder_name: string;
  holder_email: string;
  holder_phone: string;
  event: string;
  ticket_type: string;
  status: string;
  order_number: string;
}

export interface CheckinReportRow {
  ticket_code: string;
  holder_name: string;
  event: string;
  method: string;
  success: boolean;
  notes: string | null;
  petugas: string | null;
  attempted_at: string;
}

export interface RevenueReportRow {
  order_number: string;
  event: string | null;
  holder_name: string;
  subtotal: number | string;
  promo_code: string | null;
  voucher_code: string | null;
  total_amount: string;
  status: string;
  paid_at: string | null;
}

export interface ReportMeta {
  current_page: number;
  last_page: number;
  total: number;
}

export interface ReportFilters {
  event_id?: string;
  date_from?: string;
  date_to?: string;
  payment_status?: string;
  checkin_status?: string;
  page?: number;
}
