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

    Victor accounts are bank_account rows with provider = 'VICTOR'; the ledger program is whichever live program points at the row.

    Index
    instance: (...args: []) => VictorAccountQueryService = ...

    The process default: built from each dependency's own instance().

    • Busts every page a write to account id could have staled, including the unscoped collection, and the record tag of a program the write pointed at it wherever cached. Exact keys cover memory mode.

      Parameters

      • __namedParameters: { customerId: string | null; id: string; victorLedgerProgramId?: string | null }

      Returns Promise<void>

    • Parameters

      • args: {
            customerIds?: string[];
            ids?: string[];
            page?: number;
            pageSize?: number;
            types?: VictorAccountType[];
            victorLedgerProgramIds?: string[];
        }

      Returns Promise<
          {
              ok: true;
              value: { hasNext: boolean; items: VictorAccount[]; total: number };
          },
      >