Type Alias Trip

Trip: object & {
    arrival: object & { date?: string; stationId: string };
    available?: { bikeSlots?: number | boolean };
    departure: object & { date?: string; stationId: string };
    duration?: { hours: number; minutes: number };
    intermediateStationsCount?: number;
    labels?: string[];
    legs?: {
        brand?: { name?: string };
        operator?: { name?: string };
        vehicle?: { vehicle?: string };
    }[];
    price: object & { total: number };
    provider?: string;
    remaining?: {
        capacity?: string | number;
        seats?: string | number;
        seatsLeftAtPrice?: string | number;
    };
    status?: string;
    transferTypeKey?: string;
    uid: string;
}