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

    Variable getJourneyLegsConst

    getJourneyLegs: (
        params?: GetJourneyLegsParams,
        options?: RequestInit,
    ) => Promise<JourneyLegIndexItem[]>

    Returns a paginated list of journey legs. Supports filtering by booking ref, passenger details, stations, date range, status, and more. Pagination metadata is returned via response headers (X-Total, X-Per-Page, X-Page, Link).

    Type Declaration