export type StatusKind =
    | 'booking'
    | 'show'
    | 'revision'
    | 'engagement'
    | 'availability'
    | 'delivery';

/** An item for AgendaList / WeekGrid / MonthGrid. `start` / `end` are ISO-8601 UTC strings. */
export type CalendarEvent = {
    id: string | number;
    title: string;
    start: string;
    end: string;
    /** IANA zone used to decide which local day(s) the event falls on and how times are shown. */
    timezone: string;
    /** Status value, resolved against `enums.*` (e.g. `confirmed`, `pending`, `unavailable`). */
    status: string;
    /** `show` | `booking` | `engagement` | `availability` | anything else (neutral). */
    kind: string;
    href?: string | null;
    /** Optional secondary line (venue, comedian…). */
    subtitle?: string | null;
};

/** Offer terms as stored on OfferRevision (all optional so partial objects work). */
export type OfferTerms = {
    show_starts_at?: string | null;
    arrival_at?: string | null;
    set_starts_at?: string | null;
    duration_minutes?: number | null;
    venue_name?: string | null;
    venue_address?: string | null;
    venue_city?: string | null;
    timezone?: string | null;
    role?: string | null;
    role_label?: string | null;
    fee_amount?: number | string | null;
    fee_currency?: string | null;
    reply_deadline_at?: string | null;
    [key: string]: unknown;
};
