UNPKG

@accounter/server

Version:
16 lines (15 loc) 1.44 kB
import DataLoader from 'dataloader'; 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 context; constructor(db: TenantAwareDBClient, context: GraphQLModules.GlobalContext); 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; }