export interface UpdatedStatusEmployee {
  EMPLOYEE_ID: string;
  SAVED_BY_USER: string;
  LINE_NUMBER: string;
}

export interface ResponseDataEmployee {
  error: boolean;
  msg: string;
  response: Employee;
}

export interface ResponseDataEmployeeDocuments {
  error: boolean;
  msg: string;
  response: Array<DownoloadEmployeeDocument>;
}

export interface ResponseDataEmployeeInterventions {
  error: boolean;
  msg: string;
  response: Array<Interventions>;
}

export interface ResponseDataEmployeeContracts {
  error: boolean;
  msg: string;
  response: Array<Contract>;
}

export interface Contract {
  START_DATE: string,
  END_DATE: string,
  CONTRACT_COST: string,
}

export interface Interventions {
  WORKTEAM_NAME: string,
  INTERVENTION_NAME: string,
  INTERVENTION_ID: string,
  INTERVENTION_DESCRIPTION: string
}

export interface Employee {
  EMPLOYEE_ID?: string;
  DOCUMENT_OFFICE: FormData | null,
  DOCUMENTS_AUTHO: Array<FormData> | null,
  DOCUMENTS_CERT: Array<FormData> | null,
  USER_ID: string;
  CONTACT_NAME: string;
  CONTACT_TELEPHONE: string;
  CONTACT_ADDRESS: string;
  CONTRACT_TYPE: string;
  SPECIALITY: string;
  SUBCONTRATIST_ID: number;
  SAVED_BY_USER: string;
  WORKTEAM_ID: string;
  LINE_NUMBER: number;
}

export interface EmployeeInfo {
  EMPLOYEE_ID: string;
  USER_ID: string;
  WORKTEAM_ID: string;
  WORKTEAM_NAME: string;
  CONTACT_NAME: string;
  CONTACT_TELEPHONE: string;
  CONTACT_ADDRESS: string;
  CONTRACT_TYPE: string;
  SPECIALITY: string;
  LINE_NUMBER: number;
  EMPLOYEE_NAME: string;
  DOCUMENTS: Array<string>;
}

export interface DownoloadEmployeeInfo {
  SAVED_BY_USER: number;
  EMPLOYEE: EmployeeInfo;
}

export interface DownoloadEmployeeDocument {
  DOCUMENT_LINK: string;
}