import { BaseModel } from './BaseModel'; import { Points } from './nested/Points'; import { MissionTypes, ActivityStatus, WorkerScheduleEntityType } from '../enums'; export interface WorkerSchedule extends BaseModel { /** * @deprecated use executableId */ activityId?: string; executableId?: string; certificationsIds?: string[]; clientsIds?: string[]; clientsNames?: string[]; coordinates?: Points; /** * @deprecated use minEndDate and maxEndDate */ endDate?: string | Date; minEndDate?: string | Date; maxEndDate?: string | Date; entityType?: WorkerScheduleEntityType; establishmentId?: string; establishmentName?: string; minimumHealth?: number; missionType?: MissionTypes; price?: number; /** * @deprecated use minStartDate and maxStartDate */ startDate?: string | Date; minStartDate?: string | Date; maxStartDate?: string | Date; status?: ActivityStatus; workerId?: string; }