code: function makeConstellations(agent) {
      let functor = function (id) {
          if (id === undefined) {
              return agent.request('get_universe_constellations', undefined);
          }
          else {
              return new ConstellationImpl(agent, id);
          }
      };
      functor.search = search_1.makeDefaultSearch(agent, "constellation" /* CONSTELLATION */);
      functor.names = function (ids) {
          if (ids === undefined) {
              return functor().then(ids => {
                  return functor.names(ids);
              });
          }
          else {
              return names_1.getNames(agent, "constellation" /* CONSTELLATION */, ids);
          }
      };
      return functor;
  }
docs: Create a new {@link Constellations} instance that uses the given `agent` to
  make its HTTP requests to the ESI interface.
  
  @param agent The agent making actual requests
  @returns An Constellations API instance