archetecture security fix

This commit is contained in:
root
2026-06-11 03:22:12 -04:00
parent 6def9993da
commit 9483750161
3126 changed files with 177194 additions and 37211 deletions
@@ -0,0 +1,25 @@
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