import { ScheduleItem } from "./Collaborators.model";

export type FindSchedulesOverridesParams = {
    _id?: string;
    companyId?: string;
    employeeId?: string;
    date?: Date;
    sessionUser?: string;
};

export type CreateSchedulesOverridesParams = {
    companyId: string;
    employeeId: string;
    schedules: Array<ScheduleItem>;
    date: Date;
    sessionUser: string;
};

export type UpdateSchedulesOverridesParams = {
    companyId: string;
    employeeId: string;
    schedules: Array<ScheduleItem>;
    date: Date;
    sessionUser: string;
};

export type DeleteSchedulesOverridesParams = {
    id: string;
    companyId: string;
    sessionUser: string;
};

export interface ISchedulesOverrides {
    _id?: string;
    id?: string;
    companyId: string;
    employeeId: string;
    schedules: Array<ScheduleItem>;
    date: Date;
}
