@transreport/pauk-staff-api
    Preparing search index...

    Interface JourneyLegIndexItem

    A journey leg returned in the index listing

    interface JourneyLegIndexItem {
        alight_station?: Station | null;
        arrival_assistances: JourneyLegIndexItemArrivalAssistancesItem[];
        available_emails_to_send: JourneyLegIndexItemAvailableEmailsToSendItem[];
        board_station?: Station | null;
        booking?: string | null;
        booking_cancelled?: boolean | null;
        booking_status?: string | null;
        can_be_confirmed: boolean;
        can_be_edited: boolean;
        coaches?: string | null;
        customer?: JourneyLegIndexItemCustomer;
        departure_assistances: JourneyLegIndexItemDepartureAssistancesItem[];
        destination_station?: Station | null;
        head_code?: string | null;
        id: string;
        journey?: JourneyLegIndexItemJourney;
        leg_ref?: string | null;
        mode?: string | null;
        on_board_assistances?: JourneyLegIndexItemOnBoardAssistancesItem[];
        operator?: JourneyLegIndexItemOperator;
        origin_station?: Station | null;
        overall_position?: number | null;
        position?: number | null;
        pre_booked?: boolean | null;
        realtime_classification?: string | null;
        scheduled_arrival?: string | null;
        scheduled_departure?: string | null;
        seats?: string | null;
        status?: string | null;
        tung: boolean;
    }
    Index

    Properties

    alight_station?: Station | null

    Station where the passenger alights

    Assistance items required on arrival

    Email types available to send for this booking

    board_station?: Station | null

    Station where the passenger boards

    booking?: string | null

    Booking reference

    booking_cancelled?: boolean | null

    Whether the booking is cancelled

    booking_status?: string | null

    Booking status

    can_be_confirmed: boolean

    Whether the journey leg can be confirmed

    can_be_edited: boolean

    Whether the journey leg can be edited

    coaches?: string | null

    Coach letters

    Passenger details

    Assistance items required on departure

    destination_station?: Station | null

    Destination station of the leg

    head_code?: string | null

    Train headcode

    id: string

    Journey leg ID

    Journey-level origin and destination stations

    leg_ref?: string | null

    Journey leg reference

    mode?: string | null

    Transport mode (e.g. TRAIN)

    Deprecated.

    Train operator

    origin_station?: Station | null

    Origin station of the leg

    overall_position?: number | null

    Overall position across all journeys in the booking

    position?: number | null

    Position of this leg within its journey

    pre_booked?: boolean | null

    Whether the journey was pre-booked

    realtime_classification?: string | null

    Realtime classification (e.g. NORMAL)

    scheduled_arrival?: string | null

    Scheduled arrival time

    scheduled_departure?: string | null

    Scheduled departure time

    seats?: string | null

    Seat numbers

    status?: string | null

    Journey leg status

    tung: boolean

    Whether the TUNG flag is set