export interface ResponseDataInterventionContracts {
  error: boolean;
  msg: string;
  response: Array<ContractsInfo>;
}

export interface ResponseDataContract {
  error: boolean;
  msg: string;
  response: Contract;
}

export interface ContractsInfo {
  CONTRACT_ID: string | number,
  CONTRACT_NAME: string,
  DENOMINATION: string, 
  WORK_ORDER_ID: number,
  WORK_ORDER_TYPE: string,
  CONTRACT_TYPE: string,
  START_DATE: string, 
  END_DATE: string,
  CONTRACT_COST: string | number,
  DOCUMENT: string,
  REGISTERED_BY: string,
  REGISTER_DATE: string, 
  MODIFIED_BY: string | null, 
  MODIFICATION_DATE: string | null,
  DURATION: string, 
  STATUS: string,
}

export interface Contract {
  CONTRACT_NAME: string,
  CONTRACT_TYPE: string,
  DENOMINATION: string,
  START_DATE: any,
  END_DATE: any,
  CONTRACT_COST: string,
  DOCUMENT: FormData | null,
  SAVED_BY_USER: string,
}

export interface Hour{
  value: string,
  label: string,
}

export interface InterventionsListResponse{
  error: false;
  msg: string;
  response: InterventionsListItem[];
}

export interface InterventionsListItem{
  IDREG: string;
  IDORDER: string;
  EQUIPMENT: string;
  ORDER_TYPE: string;
  ACTION_TYPE: string;
  START_DATE: string;
  END_DATE: string;
}