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

    Handles 2FA OTP collection via Telegram for bank scraping.

    Implements

    Index
    • Creates a TwoFactorService using the given Telegram notifier.

      Parameters

      • notifier: default

        TelegramNotifier instance used to prompt and wait for OTP replies.

      • timeoutSeconds: number = 300

        Default OTP wait timeout in seconds (default 300). Per-call timeout via createOtpRetriever overrides this.

      Returns default

    • Returns an async function that prompts the user for an OTP code via Telegram.

      Parameters

      • bankName: string

        Name of the bank displayed in the Telegram prompt.

      • OptionaltimeoutSeconds: number

        Optional per-bank timeout override in seconds.

      Returns () => Promise<string>

      Async function that blocks until an OTP is received and returns the code.