UNPKG

@accounter/server

Version:
17 lines (16 loc) 1.55 kB
import DataLoader from 'dataloader'; import { AdminContextProvider } from '../../admin-context/providers/admin-context.provider.js'; import { TenantAwareDBClient } from '../../app-providers/tenant-db-client.js'; import type { IDeleteBusinessTripEmployeePaymentParams, IInsertBusinessTripEmployeePaymentParams, IReplaceBusinessTripsEmployeePaymentsChargeIdParams, IUpdateBusinessTripEmployeePaymentParams } from '../types.js'; export declare class BusinessTripEmployeePaymentsProvider { private db; private adminContextProvider; constructor(db: TenantAwareDBClient, adminContextProvider: AdminContextProvider); private batchBusinessTripEmployeePaymentsByChargeIds; getBusinessTripEmployeePaymentsByChargeIdLoader: DataLoader<string, import("../types.js").IGetBusinessTripEmployeePaymentsByChargeIdsResult[], string>; updateBusinessTripEmployeePayment(params: IUpdateBusinessTripEmployeePaymentParams): Promise<import("../types.js").IUpdateBusinessTripEmployeePaymentResult[]>; replaceBusinessTripsEmployeePaymentsChargeId(params: IReplaceBusinessTripsEmployeePaymentsChargeIdParams): Promise<import("../types.js").IReplaceBusinessTripsEmployeePaymentsChargeIdResult[]>; insertBusinessTripEmployeePayment(params: IInsertBusinessTripEmployeePaymentParams): Promise<import("../types.js").IInsertBusinessTripEmployeePaymentResult[]>; deleteBusinessTripEmployeePayment(params: IDeleteBusinessTripEmployeePaymentParams): Promise<import("../types.js").IDeleteBusinessTripEmployeePaymentResult[]>; clearCache(): void; }