export interface ResponseDataDispatch{
  error: boolean;
  msg: string;
  response: Array<DispatchData>;
}

export interface DispatchData {
  DESP_IDDE: string;
  DESP_NODE: string;
  DESP_NOMB: string;
  DESP_APPA: string;
  DESP_APMA: string;
  DESP_LADA: string;
  DESP_TELE: string;
  DESP_CORR: string;
  DESP_CALL: string;
  DESP_NUEX: string;
  DESP_NUIN: string;
  DESP_COPO: string;
  DESP_LOCA: string;
  DESP_COLO: string;
  DESP_MUNI: string;
  DESP_ENTI: string;
  DESP_PAIS: string;
  DESP_COME: string;
  DESP_USRE: string;
  DESP_FERE: string;
  DESP_USMO: string;
  DESP_FEMO: string;
  DESP_FEAR: string;
}

export interface ResponseDataDispatchById{
  error: boolean;
  msg: string;
  response: DispatchData;
}

export interface DispatchRequest {
  ID_DESPACHO?: string;
  NOMBRE_DESPACHO: string;
  NOMBRE_RESPONSABLE: string;
  APELLIDO_PATERNO: string;
  APELLIDO_MATERNO?: string;
  LADA: string;
  TELEFONO: string;
  CORREO_ELECTRONICO: string;
  CALLE: string;
  NUMERO_EXTERIOR: string;
  NUMERO_INTERIOR?: string;
  CODIGO_POSTAL: string;
  COLONIA: string;
  LOCALIDAD: string;
  MUNICIPIO: string;
  ENTIDAD_FEDERATIVA: string;
  PAIS: string;
  COMENTARIOS?: string;
  USUARIO?: string;
  LINE_NUMBER?: string;
}

export interface DispatchForm {
  DESPACHO: string;
  CALLE: string;
  NUMEROEXTERIOR: string;
  NUMEROINTERIOR: string;
  CODIGOPOSTAL: string;
  COLONIA: string;
  MUNICIPIO: string;
  ENTIDAD: string;
  PAIS: string;
}


export interface RequestDeleteDispatch{
  ID_DESPACHO: string;
  USUARIO: string;
  NUMERO_LINEA: string;
}
