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

15 lines
778 B
TypeScript

export declare function findMany(companyId: string, filters: {
active?: string;
public?: string;
}): any;
export declare function findByIdOrThrow(id: string, companyId: string): any;
export declare function findFirst(id: string, companyId: string): any;
export declare function create(companyId: string, data: any, vehicleIds: string[]): Promise<any>;
export declare function update(id: string, data: any, vehicleIds?: string[]): Promise<any>;
export declare function deleteMany(id: string, companyId: string): any;
export declare function setActive(id: string, companyId: string, isActive: boolean): any;
export declare function getStats(id: string, companyId: string): Promise<{
redemptions: any;
reservations: any;
}>;
//# sourceMappingURL=offer.repo.d.ts.map