team_users.js 974 B

12345678910111213141516171819202122232425
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.TeamUsers = void 0;
  4. const base_collection_1 = require("./base_collection");
  5. const team_user_1 = require("../models/team_user");
  6. class TeamUsers extends base_collection_1.BaseCollection {
  7. static rootElementName = "team_users";
  8. static rootElementNameSingular = "team_user";
  9. static prefixURI = "teams/{!:team_id}/users/{:id}";
  10. static elementClass = team_user_1.TeamUser;
  11. list(request_params) {
  12. return this.doList(request_params);
  13. }
  14. get(team_user_id, request_params) {
  15. return this.doGet(team_user_id, request_params);
  16. }
  17. update(team_user_id, team_user_params, request_params) {
  18. return this.doUpdate(team_user_id, team_user_params, request_params);
  19. }
  20. delete(team_user_id, request_params) {
  21. return this.doDelete(team_user_id, request_params);
  22. }
  23. }
  24. exports.TeamUsers = TeamUsers;
  25. //# sourceMappingURL=team_users.js.map