export interface TripPerson {
    id: string;
    name: string;
    href: string;
    phone?: string;
    email?: string;
    level?: string;
    avatar?: string;
}

/** One trip in the lists (TripPresenter::row). */
export interface TripRow {
    id: string;
    refId: string;
    createdAt: string;
    updatedAt: string;
    customer: TripPerson | null;
    driver: TripPerson | null;
    zone: string | null;
    cost: string;
    paid: string;
    /** Non-zero coupon (credit) and fees only. */
    adjustments: { label: string; amount: string; credit: boolean }[];
    commission: string;
    distanceCalculation: string;
    stops: number | null;
    passengers: number | null;
    paymentStatus: string;
    status: string;
    href: string;
    logHref: string;
    mapHref: string;
}
