Files
alrahma_sunday_school_api/apps/api/dist/modules/reservations/reservation.repo.d.ts
T
2026-06-11 03:22:12 -04:00

25 lines
2.1 KiB
TypeScript

export declare function findMany(where: any, skip: number, take: number): Promise<any>;
export declare function findById(id: string, companyId: string): Promise<any>;
export declare function findByIdSimple(id: string, companyId: string): Promise<any>;
export declare function findByIdWithRelations(id: string, companyId: string): Promise<any>;
export declare function findByIdForCheckout(id: string, companyId: string): Promise<any>;
export declare function findForLicenseCheck(id: string, companyId: string): Promise<any>;
export declare function findForContract(id: string, companyId: string): Promise<any>;
export declare function findForBilling(id: string, companyId: string): Promise<any>;
export declare function findForClose(id: string, companyId: string): Promise<any>;
export declare function findForInspection(id: string, companyId: string): Promise<any>;
export declare function findConflict(vehicleId: string, start: Date, end: Date, excludeId?: string): Promise<any>;
export declare function create(data: any): Promise<any>;
export declare function updateById(id: string, data: any): Promise<any>;
export declare function findActiveOffer(companyId: string, promoCode: string): Promise<any>;
export declare function incrementOfferRedemption(offerId: string): Promise<any>;
export declare function findVehicle(vehicleId: string, companyId: string): Promise<any>;
export declare function findCustomer(customerId: string, companyId: string): Promise<any>;
export declare function findCustomerById(customerId: string): Promise<any>;
export declare function updateVehicleStatus(vehicleId: string, status: string, mileage?: number): Promise<any>;
export declare function findCompanyWithBrand(companyId: string): Promise<any>;
export declare function findBrandLocale(companyId: string): Promise<any>;
export declare function findInspections(reservationId: string, companyId: string): Promise<any>;
export declare function findAdditionalDriver(driverId: string, reservationId: string, companyId: string): Promise<any>;
export declare function updateAdditionalDriver(id: string, data: any): Promise<any>;
//# sourceMappingURL=reservation.repo.d.ts.map