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

export interface SubcontratistItem{
  ID_SUBCONTRATIST: number | 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{
  EMPLOYEE: string; 
  CONTRACTS: number;
  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;
}