| Current Path : /proc/thread-self/root/home/deltalab/PMS/logistic-backend/dist/models/kpi/ |
| Current File : //proc/thread-self/root/home/deltalab/PMS/logistic-backend/dist/models/kpi/kpi.service.d.ts |
import { Model } from 'mongoose';
import { Kpi, KpiDocument } from './kpi.schema';
export declare class KpiService {
private kpiModel;
constructor(kpiModel: Model<KpiDocument>);
create(kpi: Kpi): Promise<Kpi>;
delete(id: string): Promise<Kpi>;
update(id: string, kpi: Kpi): Promise<Kpi>;
readAll(): Promise<Kpi[]>;
readById(id: string): Promise<Kpi>;
}