code: function createTrackerEntity(data) {
  
      let result = data.data
  
      return new TrackerInfo({
          attempts: 1,
          id: data.gearTrackID,
          origin: result.fromCountry,
          destiny: result.destinationCountry,
          states: result.events.map((elem) => {
              return {
                  state: elem.operationAttributeTranslated,
                  date: moment.tz(elem.operationDateTime, "DD.MM.YYYY HH:mm:ss", zone),
                  area: elem.operationPlaceNameTranslated,
                  service: elem.serviceName
              }
          }).filter(state => {
              if (state.state == 'The track code is added to the database Track24.ru for automatic monitoring.')
                  return false
              return true
          }).sort((a, b) => {
              let dateA = moment(a.date),
                  dateB = moment(b.date)
  
              if (dateA.isBefore(dateB))
                  return 1
  
              return -1
          })
      })
  }
docs: Create tracker entity from object
  @param html