UNPKG

trello-for-wolves

Version:
52 lines (51 loc) 2.45 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.OrganizationPref = void 0; var BaseResource_1 = require("./BaseResource"); var OrganizationPref = /** @class */ (function (_super) { __extends(OrganizationPref, _super); function OrganizationPref() { return _super !== null && _super.apply(this, arguments) || this; } OrganizationPref.prototype.updateAssociatedDomain = function (value) { return this.apiPut("/associatedDomain", { value: value }); }; OrganizationPref.prototype.updateBoardVisibilityRestriction = function (level, value) { return this.apiPut("/boardVisibilityRestrict/".concat(level), { value: value }); }; OrganizationPref.prototype.updateExternalMembersDisabled = function (value) { return this.apiPut("/externalMembersDisabled", { value: value }); }; OrganizationPref.prototype.updateGoogleAppsVersion = function (value) { return this.apiPut("/googleAppsVersion", { value: value }); }; OrganizationPref.prototype.updateOrgInviteRestrict = function (value) { return this.apiPut("/orgInviteRestrict", { value: value }); }; OrganizationPref.prototype.updatePermissionLevel = function (value) { return this.apiPut("/permissionLevel", { value: value }); }; OrganizationPref.prototype.removeAssociatedDomain = function () { return this.apiDelete("/associatedDomain"); }; OrganizationPref.prototype.removeOrgInviteRestrict = function () { return this.apiDelete("/orgInviteRestrict"); }; return OrganizationPref; }(BaseResource_1.BaseResource)); exports.OrganizationPref = OrganizationPref;