14 lines
745 B
TypeScript
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
|