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

    Variable getSimilarJourneysConst

    getSimilarJourneys: (
        params: GetSimilarJourneysParams,
        options?: RequestInit,
    ) => Promise<SimilarJourneysResponse>

    Identifies journeys for the given passenger that conflict in time with the specified journey.

    Results are split into two categories:

    • duplicate: same origin, destination, and near-identical departure/arrival times (±5 minutes)
    • overlapping: any journey whose time range overlaps the queried journey (within the buffer), excluding duplicates

    Cancelled and completed journeys are excluded from both categories.

    Type Declaration