Israeli Bank Importer - v1.44.5
    Preparing search index...

    Read-only audit-log accessor consolidating every read pattern used by the router.

    interface IAuditQuery {
        getRecent(n: number): readonly IAuditEntry[];
        getLastFailedBanks(): readonly string[];
        getFreshEntryFor(batch: IBatchResult): Procedure<IAuditEntry>;
        getFreshEntriesFor(batch: IBatchResult): readonly IAuditEntry[];
        getConsecutiveFailures(bankName: string): number;
    }
    Index
    • Returns the n most-recent audit entries.

      Parameters

      • n: number

        Number of most-recent entries to fetch.

      Returns readonly IAuditEntry[]

      Up to n entries, oldest first and newest last. Empty array on failure.

    • Returns the names of banks that failed in the most recent run.

      Returns readonly string[]

      Failed bank names; empty array when none.

    • Returns every audit entry recorded during the batch window.

      The importer runs one child process per bank and each writes its own entry, so a batch of N banks produces up to N fresh entries.

      Parameters

      Returns readonly IAuditEntry[]

      Fresh entries for the batch; empty array when none.

    • Returns the consecutive failure count for a bank.

      Parameters

      • bankName: string

        Bank to check.

      Returns number

      Consecutive failure count for that bank (0 if none / on failure).