Creates an executor wired to the import mediator and notifier.
Options bundle (mediator, notifier, audit, optional auditLog, logger).
Requests an import and reports the batch result.
Optionalbanks: string[]
Optional list of banks to import.
Procedure indicating the import completion status. Status is
import-complete on success, already-running when the mediator refused
because another batch is in flight, or import-error when the pipeline
surfaced a mediator exception (no longer masked as already-running).
Sends the start message, requests an import, and waits for completion. Common pipeline shared by scanAll/scanWith/preview/retry.
Pipeline arguments (banks, optional extraEnv, start message).
Procedure carrying the completed batch, or fail when busy/error.
Sends a message to Telegram, catching any send failures.
The message text to send.
Procedure indicating the reply status.
Executes import pipelines and reports batch results to Telegram.