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

14 lines
745 B
TypeScript

export declare function listOffers(companyId: string, filters: {
active?: string;
public?: string;
}): any;
export declare function getOffer(id: string, companyId: string): any;
export declare function createOffer(companyId: string, data: any, vehicleIds: string[]): Promise<any>;
export declare function updateOffer(id: string, companyId: string, data: any, vehicleIds?: string[]): Promise<any>;
export declare function deleteOffer(id: string, companyId: string): any;
export declare function setOfferActive(id: string, companyId: string, isActive: boolean): any;
export declare function getOfferStats(id: string, companyId: string): Promise<{
redemptions: any;
reservations: any;
}>;
//# sourceMappingURL=offer.service.d.ts.map