@sergienko4/israeli-bank-scrapers - v8.2.1
    Preparing search index...

    Class OneZeroScraper

    OneZero bank scraper — fetches transactions via GraphQL.

    Hierarchy

    • default<IScraperSpecificCredentials>
      • OneZeroScraper
    Index

    Constructors

    Properties

    Scraper configuration options.

    Methods

    • Verify OTP code and return a long-term token.

      Parameters

      • otpCode: string

        The OTP code from the user.

      Returns Promise<ScraperGetLongTermTwoFactorTokenResult>

      The long-term token result.

    • Initialize the scraper and set the default timezone.

      Returns Promise<boolean>

      True when initialization completes.

    • Register a listener for scrape progress events.

      Parameters

      • func: (companyId: CompanyTypes, payload: IProgressPayload) => void

        Callback receiving company ID and progress payload.

      Returns void

    • Run the full scrape lifecycle: init, login, fetch, terminate.

      Parameters

      • credentials: IScraperSpecificCredentials

        The user's bank credentials.

      Returns Promise<IScraperScrapingResult>

      The scraping result with accounts or error details.

    • Trigger two-factor auth by sending an OTP.

      Parameters

      • phoneNumber: string

        Full international phone number.

      Returns Promise<ScraperTwoFactorAuthTriggerResult>

      The trigger result.