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

    Builds and parses the OTP file names under one configured path.

    Index
    • Names a request's own file.

      Built on the directory as given, like every listed path, so a `..` after a symlink names the directory `pending` lists (see `EntryPath`).

      Parameters

      • id: string

        The request id, already known to be a UUID.

      Returns string

      The request file path.

    • Names a request's answer file.

      Parameters

      • id: string

        The request id, already known to be a UUID.

      Returns string

      The answer file path.

    • Reads the request id out of a request file's name.

      Parameters

      • path: string

        A path listed in the directory.

      Returns string | false

      The id, or false when the name is not a request file's.

    • Reads the request id out of an answer file's name.

      Parameters

      • path: string

        A path listed in the directory.

      Returns string | false

      The id, or false when the name is not an answer file's.

    • Lists the requests in a directory listing that have no answer yet.

      Parameters

      • paths: readonly string[]

        Every path listed in the directory.

      Returns string[]

      The ids of the unanswered requests.

    • Picks the staged copies of one request's answer out of a directory listing.

      Parameters

      • id: string

        The request id, already known to be a UUID.

      • paths: readonly string[]

        Every path listed in the directory.

      Returns string[]

      The paths named <answer name>.<uuid>.tmp for that request.

    directory: string

    The directory every OTP file lives in.