export interface SubcontratistsResponse{
  error: boolean;
  msg: string;
  response: SubcontratistItem[];
}

export interface SubcontratistItem{
  ID_SUBCONTRATIST: string | string; 
  NAME: string;
  TIPO: string;
  SPECIALTY: string;
  REGISTER_DATE: string;
  UPDATE_DATE: string | null,
  REGISTERED_BY_USER: string;
  UPDATED_BY_USER: string | null; 
  STATUS: string,
  INTERVENTIONS_COUNT: number;
}

export interface ContractsBySubcontratistsResponse{
  error: boolean;
  msg: string;
  response: ContractsBySubcontratists[];
}

export interface ContractsBySubcontratists{
  ID_EMPLEADO: string;
  ID_USUARIO: string;
  ID_SUBCONTRATISTA: string;
  EMPLEADO: string;
  RAZON_SOCIAL: string;
  NUMERO_CONTRATOS: string;
}

export interface ContractsByEmployee {
  EMPLOYEE: string;
  CONTRACTS: string;
  ID_EMPLOYEE: string;
}


export interface ContractsBySubcontratistResponse{
  error: boolean;
  msg: string;
  response: ContractsBySubcontratist[];
}

export interface ContractsBySubcontratist{
  CONTRACT_NAME: string;
  START_DATE: string;
  END_DATE: string;
  COST: number;
}