code: function makeStations(agent) {
      let functor = function (id) {
          return new StationImpl(agent, id);
      };
      functor.search = search_1.makeDefaultSearch(agent, "station" /* STATION */);
      functor.names = function (ids) {
          return names_1.getNames(agent, "station" /* STATION */, ids);
      };
      return functor;
  }
docs: Create a new {@link Stations} instance that uses the given `agent` to
  make its HTTP requests to the ESI interface.
  
  @param agent The agent making actual requests
  @returns An Stations API instance