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

    Starts the operator's off-schedule positive pay file sends and resends.

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

    The process service, starting runs on the queue the temporal namespace names.

    • Resends a file already sent. The id is deterministic on the file: Temporal rejects a second start while the first runs, so two operators cannot email the bank twice. A later resend, once that run has closed, reuses the id.

      Parameters

      • __namedParameters: { fileId: string }

      Returns Promise<
          | { ok: true; value: { workflowId: string } }
          | { error: ServiceError; ok: false },
      >

    • Sends a file for businessDate now; each call is its own run.

      Parameters

      • __namedParameters: { adminUserId: string; bankId: string; businessDate: string }

      Returns Promise<{ ok: true; value: { workflowId: string } }>