docs: function EntityMethods(models) {
        this.models = models;
        this.getByNameOrId = __bind(this.getByNameOrId, this);
        this.getByName = __bind(this.getByName, this);
        this.get = __bind(this.get, this);
        if (!this.models) {
          throw new Error("models parameter is required");
        }
      }