import { EventTypes } from "@jealous-robot-dev/drophr-common"; export interface ShortEventVisitor { UID: string; firstname: string; lastname: string; ppu: string; } export interface PerformanceCustomersSession { sid: string; duration: number; starts_at: number; customers: string[]; } export interface PerformanceCustomersEvt { event_id: string; pic: string; name: string; type: EventTypes; bookings: number; last_updated: number; cancellations: number; sessions: PerformanceCustomersSession[]; } export interface PerformanceCustomersMonth { id: number; bookings: number; customers: number; cancellations: number; hosted_sessions: number; events: PerformanceCustomersEvt[]; } export interface PerformanceCustomersInitial { cancellations: number; bookings_total: number; hosted_sessions: number; available_months: number[]; customers: ShortEventVisitor[]; months: PerformanceCustomersMonth[]; }