Israeli Bank Importer - v1.44.5
    Preparing search index...
    • Attaches the OTP adapter expected by the provider package. Only attaches for banks that use OtpHandler (beinleumi). Banks that read otpCodeRetriever from credentials (OneZero, Pepper, PayBox) already have it attached by buildCredentials and should NOT get it in ScraperOptions to avoid double OTP prompts. Those are exactly the API-direct banks, so the set is shared with the token capture rather than restated.

      Parameters

      • target: ScraperOptions

        Provider options object that receives the adapter.

      • otpRetriever: IOptionalOtpRetriever

        Optional OTP retriever attached for 2FA banks.

      • companyId: string

        CompanyType enum value to determine if bank uses OtpHandler.

      Returns boolean

      True when the OTP adapter was attached.