UNPKG

@accounter/server

Version:
14 lines (13 loc) 1 kB
import type { OtsarHahayalCreditCardTransactionInput, OtsarHahayalForeignTransactionInput, OtsarHahayalIlsTransactionInput, ScraperUploadResult } from '../../../__generated__/types.js'; import { TenantAwareDBClient } from '../../app-providers/tenant-db-client.js'; import { AuthContextProvider } from '../../auth/providers/auth-context.provider.js'; export declare class OtsarHahayalScraperIngestionProvider { private db; private authContextProvider; private businessIdCache; constructor(db: TenantAwareDBClient, authContextProvider: AuthContextProvider); private getBusinessId; uploadOtsarHahayalIlsTransactions(transactions: readonly OtsarHahayalIlsTransactionInput[]): Promise<ScraperUploadResult>; uploadOtsarHahayalForeignTransactions(transactions: readonly OtsarHahayalForeignTransactionInput[]): Promise<ScraperUploadResult>; uploadOtsarHahayalCreditCardTransactions(transactions: readonly OtsarHahayalCreditCardTransactionInput[]): Promise<ScraperUploadResult>; }