15 lines
778 B
TypeScript
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
|