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

    One step of the snapshot. index runs across all matched rules in snapshot order, and is the stepIndex a decision stores.

    type TransactionApprovalStep = {
        canDecide: boolean;
        index: number;
        roleIds: string[];
        ruleId: string;
        ruleName: string;
        satisfiable: boolean | null;
        status: "PENDING" | "APPROVED" | "DECLINED";
        statusLabel: string;
        userIds: string[];
    }
    Index
    canDecide: boolean

    Whether the caller may decide this step now (read-time eligibility).

    index: number
    roleIds: string[]
    ruleId: string
    ruleName: string
    satisfiable: boolean | null

    Whether any member could still decide this step; false is the "No one can approve this step" state. Null when not computed (search) or not open.

    status: "PENDING" | "APPROVED" | "DECLINED"
    statusLabel: string
    userIds: string[]