@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias RouteExplanation

    One route's candidacy verdict, with the evaluated tree behind each half. rejectedBy is null when both matchers accepted — the route reached activation, and ResolvedRoute.reason explains what happened there.

    type RouteExplanation = {
        criteria: MatcherCriteria;
        rejectedBy: "ROUTE_MATCHER" | "VENDOR_MATCHER" | null;
        routeId: string;
        routeMatcher: ExplainNode;
        vendorId: string;
        vendorMatcher: ExplainNode;
    }
    Index
    criteria: MatcherCriteria

    The enriched criteria the matchers were evaluated against.

    rejectedBy: "ROUTE_MATCHER" | "VENDOR_MATCHER" | null
    routeId: string
    routeMatcher: ExplainNode
    vendorId: string
    vendorMatcher: ExplainNode