((typeof self !== 'undefined' ? self : this)["webpackJsonpportal_management_std"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpportal_management_std"] || []).push([[7],{

/***/ "d109":
/***/ (function(module, exports, __webpack_require__) {

/* WEBPACK VAR INJECTION */(function(Buffer, module) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _classCallCheck = __webpack_require__("970b").default;
var _createClass = __webpack_require__("5bc3").default;
var _typeof = __webpack_require__("7037").default;
__webpack_require__("944a");
__webpack_require__("d9e2");
__webpack_require__("4de4");
__webpack_require__("caad");
__webpack_require__("a15b");
__webpack_require__("d81d");
__webpack_require__("b0c0");
__webpack_require__("6c57");
__webpack_require__("0c47");
__webpack_require__("23dc");
__webpack_require__("b64b");
__webpack_require__("d3b7");
__webpack_require__("e6cf");
__webpack_require__("ac1f");
__webpack_require__("25f0");
__webpack_require__("466d");
__webpack_require__("5319");
__webpack_require__("159b");
__webpack_require__("c73d");
(function (c, P) {
  ( false ? undefined : _typeof(exports)) == "object" && ( false ? undefined : _typeof(module)) < "u" ? P(exports, __webpack_require__("db82")) :  true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__("db82")], __WEBPACK_AMD_DEFINE_FACTORY__ = (P),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : (undefined);
})(this, function (c, P) {
  "use strict";

  var te = Object.defineProperty;
  var re = function re(c, P, r) {
    return P in c ? te(c, P, {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: r
    }) : c[P] = r;
  };
  var R = function R(c, P, r) {
    return re(c, _typeof(P) != "symbol" ? P + "" : P, r), r;
  };
  var m = /*#__PURE__*/function () {
    function m() {
      _classCallCheck(this, m);
      this.basePath = "/".replace(/\/+$/, ""), this.authentications = {
        oauth2: {
          type: "oauth2"
        }
      }, this.defaultHeaders = {}, this.timeout = 6e4, this.cache = !0, this.enableCookies = !1, (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" && (this.agent = new P.agent()), this.requestAgent = null;
    }
    return _createClass(m, [{
      key: "paramToString",
      value: function paramToString(e) {
        return e == null || e == null ? "" : e instanceof Date ? e.toJSON() : e.toString();
      }
    }, {
      key: "buildUrl",
      value: function buildUrl(e, t) {
        var _this = this;
        e.match(/^\//) || (e = "/" + e);
        var i = this.basePath + e;
        return i = i.replace(/\{([\w-]+)\}/g, function (n, o) {
          var a;
          return t.hasOwnProperty(o) ? a = _this.paramToString(t[o]) : a = n, encodeURIComponent(a);
        }), i;
      }
    }, {
      key: "isJsonMime",
      value: function isJsonMime(e) {
        return !!(e != null && e.match(/^application\/json(;.*)?$/i));
      }
    }, {
      key: "jsonPreferredMime",
      value: function jsonPreferredMime(e) {
        for (var t = 0; t < e.length; t++) if (this.isJsonMime(e[t])) return e[t];
        return e[0];
      }
    }, {
      key: "isFileParam",
      value: function isFileParam(e) {
        if (true) {
          var t;
          try {
            t = __webpack_require__(2);
          } catch (_unused) {}
          if (t && t.ReadStream && e instanceof t.ReadStream) return !0;
        }
        return typeof Buffer == "function" && e instanceof Buffer || typeof Blob == "function" && e instanceof Blob || typeof File == "function" && e instanceof File;
      }
    }, {
      key: "normalizeParams",
      value: function normalizeParams(e) {
        var t = {};
        for (var i in e) if (e.hasOwnProperty(i) && e[i] != null && e[i] != null) {
          var n = e[i];
          this.isFileParam(n) || Array.isArray(n) ? t[i] = n : t[i] = this.paramToString(n);
        }
        return t;
      }
    }, {
      key: "buildCollectionParam",
      value: function buildCollectionParam(e, t) {
        if (e == null) return null;
        switch (t) {
          case "csv":
            return e.map(this.paramToString).join(",");
          case "ssv":
            return e.map(this.paramToString).join(" ");
          case "tsv":
            return e.map(this.paramToString).join("	");
          case "pipes":
            return e.map(this.paramToString).join("|");
          case "multi":
            return e.map(this.paramToString);
          default:
            throw new Error("Unknown collection format: " + t);
        }
      }
    }, {
      key: "applyAuthToRequest",
      value: function applyAuthToRequest(e, t) {
        var _this2 = this;
        t.forEach(function (i) {
          var n = _this2.authentications[i];
          switch (n.type) {
            case "basic":
              (n.username || n.password) && e.auth(n.username || "", n.password || "");
              break;
            case "apiKey":
              if (n.apiKey) {
                var o = {};
                n.apiKeyPrefix ? o[n.name] = n.apiKeyPrefix + " " + n.apiKey : o[n.name] = n.apiKey, n.in === "header" ? e.set(o) : e.query(o);
              }
              break;
            case "oauth2":
              n.accessToken && e.set({
                Authorization: "Bearer " + n.accessToken
              });
              break;
            default:
              throw new Error("Unknown authentication type: " + n.type);
          }
        });
      }
    }, {
      key: "deserialize",
      value: function deserialize(e, t) {
        if (e == null || e.status == 204) return null;
        var i = e.body;
        if ((i == null || _typeof(i) == "object" && _typeof(i.length) > "u" && !Object.keys(i).length) && (i = e.text), t == null && ["easc3"].includes("abp-identity")) return {
          data: i
        };
        var n = m.convertToType(i.data, t);
        return {
          code: i.code,
          data: n
        };
      }
    }, {
      key: "callApi",
      value: function callApi(e, t, i, n, o, a, s, l, p, u, v) {
        var _this3 = this;
        var Z = this.buildUrl(e, i),
          d = P(t, Z);
        this.applyAuthToRequest(d, l), t.toUpperCase() === "GET" && this.cache === !1 && (n._ = new Date().getTime()), d.query(this.normalizeParams(n)), d.set(this.defaultHeaders).set(this.normalizeParams(o)), this.requestAgent && d.agent(this.requestAgent), d.timeout(this.timeout);
        var z = this.jsonPreferredMime(p);
        if (z ? z != "multipart/form-data" && d.type(z) : d.header["Content-Type"] || d.type("application/json"), z === "application/x-www-form-urlencoded") d.send(m.stringify(this.normalizeParams(a)));else if (z == "multipart/form-data") {
          var L = this.normalizeParams(a);
          for (var q in L) L.hasOwnProperty(q) && (this.isFileParam(L[q]) ? d.attach(q, L[q]) : d.field(q, L[q]));
        } else s && d.send(s);
        var Q = this.jsonPreferredMime(u);
        return Q && d.accept(Q), v === "Blob" ? d.responseType("blob") : v === "String" && d.responseType("string"), this.enableCookies && ((typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" ? this.agent.attachCookies(d) : d.withCredentials()), new Promise(function (j, X) {
          d.end(function (Y, b) {
            if (Y) X(Y);else try {
              var _ = _this3.deserialize(b, v);
              _this3.enableCookies && (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" && _this3.agent.saveCookies(b), j({
                data: _,
                response: b
              });
            } catch (ee) {
              X(ee);
            }
          });
        });
      }
    }], [{
      key: "parseDate",
      value: function parseDate(e) {
        return new Date(e);
      }
    }, {
      key: "convertToType",
      value: function convertToType(e, t) {
        if (e == null) return e;
        switch (t) {
          case "Boolean":
            return !!e;
          case "Integer":
            return parseInt(e, 10);
          case "Number":
            return parseFloat(e);
          case "String":
            return String(e);
          case "Date":
            return m.parseDate(String(e));
          case "Blob":
            return e;
          default:
            if (t === Object) return e;
            if (typeof t == "function") return t.constructFromObject(e);
            if (Array.isArray(t)) {
              var i = t[0];
              return e.map(function (u) {
                return m.convertToType(u, i);
              });
            } else if (_typeof(t) == "object") {
              var n, o;
              for (var a in t) if (t.hasOwnProperty(a)) {
                n = a, o = t[a];
                break;
              }
              var s = {};
              for (var a in e) if (e.hasOwnProperty(a)) {
                var l = m.convertToType(a, n),
                  p = m.convertToType(e[a], o);
                s[l] = p;
              }
              return s;
            } else return e;
        }
      }
    }, {
      key: "constructFromObject",
      value: function constructFromObject(e, t, i) {
        if (Array.isArray(e)) for (var n = 0; n < e.length; n++) e.hasOwnProperty(n) && (t[n] = m.convertToType(e[n], i));else for (var o in e) e.hasOwnProperty(o) && (t[o] = m.convertToType(e[o], i));
      }
    }, {
      key: "GetInstance",
      value: function GetInstance(e, t) {
        return Wiz ? Wiz.GetApiClientInstance(e, t) : new m();
      }
    }, {
      key: "stringifyPrimitive",
      value: function stringifyPrimitive(e) {
        switch (_typeof(e)) {
          case "string":
            return e;
          case "boolean":
            return e ? "true" : "false";
          case "number":
            return isFinite(e) ? e : "";
          default:
            return "";
        }
      }
    }, {
      key: "stringify",
      value: function stringify(e, t, i, n) {
        return t = t || "&", i = i || "=", e === null && (e = void 0), _typeof(e) == "object" ? Object.keys(e).map(function (o) {
          var a = encodeURIComponent(m.stringifyPrimitive(o)) + i;
          return Array.isArray(e[o]) ? e[o].map(function (s) {
            return a + encodeURIComponent(m.stringifyPrimitive(s));
          }).join(t) : a + encodeURIComponent(m.stringifyPrimitive(e[o]));
        }).filter(Boolean).join(t) : n ? encodeURIComponent(m.stringifyPrimitive(n)) + i + encodeURIComponent(m.stringifyPrimitive(e)) : "";
      }
    }]);
  }();
  R(m, "CollectionFormatEnum", {
    CSV: ",",
    SSV: " ",
    TSV: "	",
    PIPES: "|",
    MULTI: "multi"
  });
  var r = m;
  var N = /*#__PURE__*/function () {
    function N(e) {
      _classCallCheck(this, N);
      this.name = e;
    }
    return _createClass(N, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new N(), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("isDefault") && (t.isDefault = r.convertToType(e.isDefault, "Boolean")), e.hasOwnProperty("isPublic") && (t.isPublic = r.convertToType(e.isPublic, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String"))), t;
      }
    }]);
  }();
  N.prototype.extraProperties = void 0, N.prototype.isDefault = void 0, N.prototype.isPublic = void 0, N.prototype.name = void 0;
  var T = /*#__PURE__*/function () {
    function T() {
      _classCallCheck(this, T);
    }
    return _createClass(T, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new T(), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("id") && (t.id = r.convertToType(e.id, "String")), e.hasOwnProperty("isDefault") && (t.isDefault = r.convertToType(e.isDefault, "Boolean")), e.hasOwnProperty("isPublic") && (t.isPublic = r.convertToType(e.isPublic, "Boolean")), e.hasOwnProperty("isStatic") && (t.isStatic = r.convertToType(e.isStatic, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String"))), t;
      }
    }]);
  }();
  T.prototype.concurrencyStamp = void 0, T.prototype.extraProperties = void 0, T.prototype.id = void 0, T.prototype.isDefault = void 0, T.prototype.isPublic = void 0, T.prototype.isStatic = void 0, T.prototype.name = void 0;
  var S = /*#__PURE__*/function () {
    function S(e) {
      _classCallCheck(this, S);
      this.name = e;
    }
    return _createClass(S, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new S(), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("isDefault") && (t.isDefault = r.convertToType(e.isDefault, "Boolean")), e.hasOwnProperty("isPublic") && (t.isPublic = r.convertToType(e.isPublic, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String"))), t;
      }
    }]);
  }();
  S.prototype.concurrencyStamp = void 0, S.prototype.extraProperties = void 0, S.prototype.isDefault = void 0, S.prototype.isPublic = void 0, S.prototype.name = void 0;
  var w = /*#__PURE__*/function () {
    function w(e, t, i) {
      _classCallCheck(this, w);
      this.email = e, this.password = t, this.userName = i;
    }
    return _createClass(w, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new w(), e.hasOwnProperty("email") && (t.email = r.convertToType(e.email, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("isActive") && (t.isActive = r.convertToType(e.isActive, "Boolean")), e.hasOwnProperty("lockoutEnabled") && (t.lockoutEnabled = r.convertToType(e.lockoutEnabled, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String")), e.hasOwnProperty("password") && (t.password = r.convertToType(e.password, "String")), e.hasOwnProperty("phoneNumber") && (t.phoneNumber = r.convertToType(e.phoneNumber, "String")), e.hasOwnProperty("roleNames") && (t.roleNames = r.convertToType(e.roleNames, ["String"])), e.hasOwnProperty("surname") && (t.surname = r.convertToType(e.surname, "String")), e.hasOwnProperty("userName") && (t.userName = r.convertToType(e.userName, "String"))), t;
      }
    }]);
  }();
  w.prototype.email = void 0, w.prototype.extraProperties = void 0, w.prototype.isActive = void 0, w.prototype.lockoutEnabled = void 0, w.prototype.name = void 0, w.prototype.password = void 0, w.prototype.phoneNumber = void 0, w.prototype.roleNames = void 0, w.prototype.surname = void 0, w.prototype.userName = void 0;
  var h = /*#__PURE__*/function () {
    function h() {
      _classCallCheck(this, h);
    }
    return _createClass(h, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new h(), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("creationTime") && (t.creationTime = r.convertToType(e.creationTime, "Date")), e.hasOwnProperty("creatorId") && (t.creatorId = r.convertToType(e.creatorId, "String")), e.hasOwnProperty("deleterId") && (t.deleterId = r.convertToType(e.deleterId, "String")), e.hasOwnProperty("deletionTime") && (t.deletionTime = r.convertToType(e.deletionTime, "Date")), e.hasOwnProperty("email") && (t.email = r.convertToType(e.email, "String")), e.hasOwnProperty("emailConfirmed") && (t.emailConfirmed = r.convertToType(e.emailConfirmed, "Boolean")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("id") && (t.id = r.convertToType(e.id, "String")), e.hasOwnProperty("isActive") && (t.isActive = r.convertToType(e.isActive, "Boolean")), e.hasOwnProperty("isDeleted") && (t.isDeleted = r.convertToType(e.isDeleted, "Boolean")), e.hasOwnProperty("lastModificationTime") && (t.lastModificationTime = r.convertToType(e.lastModificationTime, "Date")), e.hasOwnProperty("lastModifierId") && (t.lastModifierId = r.convertToType(e.lastModifierId, "String")), e.hasOwnProperty("lockoutEnabled") && (t.lockoutEnabled = r.convertToType(e.lockoutEnabled, "Boolean")), e.hasOwnProperty("lockoutEnd") && (t.lockoutEnd = r.convertToType(e.lockoutEnd, "Date")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String")), e.hasOwnProperty("phoneNumber") && (t.phoneNumber = r.convertToType(e.phoneNumber, "String")), e.hasOwnProperty("phoneNumberConfirmed") && (t.phoneNumberConfirmed = r.convertToType(e.phoneNumberConfirmed, "Boolean")), e.hasOwnProperty("surname") && (t.surname = r.convertToType(e.surname, "String")), e.hasOwnProperty("tenantId") && (t.tenantId = r.convertToType(e.tenantId, "String")), e.hasOwnProperty("userName") && (t.userName = r.convertToType(e.userName, "String"))), t;
      }
    }]);
  }();
  h.prototype.concurrencyStamp = void 0, h.prototype.creationTime = void 0, h.prototype.creatorId = void 0, h.prototype.deleterId = void 0, h.prototype.deletionTime = void 0, h.prototype.email = void 0, h.prototype.emailConfirmed = void 0, h.prototype.extraProperties = void 0, h.prototype.id = void 0, h.prototype.isActive = void 0, h.prototype.isDeleted = void 0, h.prototype.lastModificationTime = void 0, h.prototype.lastModifierId = void 0, h.prototype.lockoutEnabled = void 0, h.prototype.lockoutEnd = void 0, h.prototype.name = void 0, h.prototype.phoneNumber = void 0, h.prototype.phoneNumberConfirmed = void 0, h.prototype.surname = void 0, h.prototype.tenantId = void 0, h.prototype.userName = void 0;
  var g = /*#__PURE__*/function () {
    function g(e, t) {
      _classCallCheck(this, g);
      this.email = e, this.userName = t;
    }
    return _createClass(g, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new g(), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("email") && (t.email = r.convertToType(e.email, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("isActive") && (t.isActive = r.convertToType(e.isActive, "Boolean")), e.hasOwnProperty("lockoutEnabled") && (t.lockoutEnabled = r.convertToType(e.lockoutEnabled, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String")), e.hasOwnProperty("password") && (t.password = r.convertToType(e.password, "String")), e.hasOwnProperty("phoneNumber") && (t.phoneNumber = r.convertToType(e.phoneNumber, "String")), e.hasOwnProperty("roleNames") && (t.roleNames = r.convertToType(e.roleNames, ["String"])), e.hasOwnProperty("surname") && (t.surname = r.convertToType(e.surname, "String")), e.hasOwnProperty("userName") && (t.userName = r.convertToType(e.userName, "String"))), t;
      }
    }]);
  }();
  g.prototype.concurrencyStamp = void 0, g.prototype.email = void 0, g.prototype.extraProperties = void 0, g.prototype.isActive = void 0, g.prototype.lockoutEnabled = void 0, g.prototype.name = void 0, g.prototype.password = void 0, g.prototype.phoneNumber = void 0, g.prototype.roleNames = void 0, g.prototype.surname = void 0, g.prototype.userName = void 0;
  var F = /*#__PURE__*/function () {
    function F(e) {
      _classCallCheck(this, F);
      this.roleNames = e;
    }
    return _createClass(F, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new F(), e.hasOwnProperty("roleNames") && (t.roleNames = r.convertToType(e.roleNames, ["String"]))), t;
      }
    }]);
  }();
  F.prototype.roleNames = void 0;
  var B = /*#__PURE__*/function () {
    function B() {
      _classCallCheck(this, B);
    }
    return _createClass(B, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new B(), e.hasOwnProperty("displayName") && (t.displayName = r.convertToType(e.displayName, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("parentId") && (t.parentId = r.convertToType(e.parentId, "String"))), t;
      }
    }]);
  }();
  B.prototype.displayName = void 0, B.prototype.extraProperties = void 0, B.prototype.parentId = void 0;
  var y = /*#__PURE__*/function () {
    function y() {
      _classCallCheck(this, y);
    }
    return _createClass(y, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new y(), e.hasOwnProperty("children") && (t.children = r.convertToType(e.children, [y])), e.hasOwnProperty("code") && (t.code = r.convertToType(e.code, "String")), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("creationTime") && (t.creationTime = r.convertToType(e.creationTime, "Date")), e.hasOwnProperty("creatorId") && (t.creatorId = r.convertToType(e.creatorId, "String")), e.hasOwnProperty("deleterId") && (t.deleterId = r.convertToType(e.deleterId, "String")), e.hasOwnProperty("deletionTime") && (t.deletionTime = r.convertToType(e.deletionTime, "Date")), e.hasOwnProperty("displayName") && (t.displayName = r.convertToType(e.displayName, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        })), e.hasOwnProperty("id") && (t.id = r.convertToType(e.id, "String")), e.hasOwnProperty("isDeleted") && (t.isDeleted = r.convertToType(e.isDeleted, "Boolean")), e.hasOwnProperty("isLeaf") && (t.isLeaf = r.convertToType(e.isLeaf, "Boolean")), e.hasOwnProperty("lastModificationTime") && (t.lastModificationTime = r.convertToType(e.lastModificationTime, "Date")), e.hasOwnProperty("lastModifierId") && (t.lastModifierId = r.convertToType(e.lastModifierId, "String")), e.hasOwnProperty("level") && (t.level = r.convertToType(e.level, "Number")), e.hasOwnProperty("parentId") && (t.parentId = r.convertToType(e.parentId, "String")), e.hasOwnProperty("permission") && (t.permission = r.convertToType(e.permission, "Number"))), t;
      }
    }]);
  }();
  y.prototype.children = void 0, y.prototype.code = void 0, y.prototype.concurrencyStamp = void 0, y.prototype.creationTime = void 0, y.prototype.creatorId = void 0, y.prototype.deleterId = void 0, y.prototype.deletionTime = void 0, y.prototype.displayName = void 0, y.prototype.extraProperties = void 0, y.prototype.id = void 0, y.prototype.isDeleted = void 0, y.prototype.isLeaf = void 0, y.prototype.lastModificationTime = void 0, y.prototype.lastModifierId = void 0, y.prototype.level = void 0, y.prototype.parentId = void 0, y.prototype.permission = void 0;
  var O = /*#__PURE__*/function () {
    function O() {
      _classCallCheck(this, O);
    }
    return _createClass(O, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new O(), e.hasOwnProperty("children") && (t.children = r.convertToType(e.children, [O])), e.hasOwnProperty("displayName") && (t.displayName = r.convertToType(e.displayName, "String")), e.hasOwnProperty("fullPathName") && (t.fullPathName = r.convertToType(e.fullPathName, "String")), e.hasOwnProperty("id") && (t.id = r.convertToType(e.id, "String"))), t;
      }
    }]);
  }();
  O.prototype.children = void 0, O.prototype.displayName = void 0, O.prototype.fullPathName = void 0, O.prototype.id = void 0;
  var H = /*#__PURE__*/function () {
    function H() {
      _classCallCheck(this, H);
    }
    return _createClass(H, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new H(), e.hasOwnProperty("concurrencyStamp") && (t.concurrencyStamp = r.convertToType(e.concurrencyStamp, "String")), e.hasOwnProperty("displayName") && (t.displayName = r.convertToType(e.displayName, "String")), e.hasOwnProperty("extraProperties") && (t.extraProperties = r.convertToType(e.extraProperties, {
          String: Object
        }))), t;
      }
    }]);
  }();
  H.prototype.concurrencyStamp = void 0, H.prototype.displayName = void 0, H.prototype.extraProperties = void 0;
  var G = /*#__PURE__*/function () {
    function G() {
      _classCallCheck(this, G);
    }
    return _createClass(G, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new G(), e.hasOwnProperty("childen") && (t.childen = r.convertToType(e.childen, ["String"])), e.hasOwnProperty("parentId") && (t.parentId = r.convertToType(e.parentId, "String"))), t;
      }
    }]);
  }();
  G.prototype.childen = void 0, G.prototype.parentId = void 0;
  var W = /*#__PURE__*/function () {
    function W() {
      _classCallCheck(this, W);
    }
    return _createClass(W, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new W(), e.hasOwnProperty("members") && (t.members = r.convertToType(e.members, ["String"])), e.hasOwnProperty("message") && (t.message = r.convertToType(e.message, "String"))), t;
      }
    }]);
  }();
  W.prototype.members = void 0, W.prototype.message = void 0;
  var I = /*#__PURE__*/function () {
    function I() {
      _classCallCheck(this, I);
    }
    return _createClass(I, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new I(), e.hasOwnProperty("code") && (t.code = r.convertToType(e.code, "String")), e.hasOwnProperty("data") && (t.data = r.convertToType(e.data, {
          String: Object
        })), e.hasOwnProperty("details") && (t.details = r.convertToType(e.details, "String")), e.hasOwnProperty("message") && (t.message = r.convertToType(e.message, "String")), e.hasOwnProperty("validationErrors") && (t.validationErrors = r.convertToType(e.validationErrors, [W]))), t;
      }
    }]);
  }();
  I.prototype.code = void 0, I.prototype.data = void 0, I.prototype.details = void 0, I.prototype.message = void 0, I.prototype.validationErrors = void 0;
  var M = /*#__PURE__*/function () {
    function M() {
      _classCallCheck(this, M);
    }
    return _createClass(M, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new M(), e.hasOwnProperty("error") && (t.error = I.constructFromObject(e.error))), t;
      }
    }]);
  }();
  M.prototype.error = void 0;
  var f = /*#__PURE__*/function () {
    function f() {
      _classCallCheck(this, f);
    }
    return _createClass(f, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new f(), e.hasOwnProperty("email") && (t.email = r.convertToType(e.email, "String")), e.hasOwnProperty("emailConfirmed") && (t.emailConfirmed = r.convertToType(e.emailConfirmed, "Boolean")), e.hasOwnProperty("id") && (t.id = r.convertToType(e.id, "String")), e.hasOwnProperty("isActive") && (t.isActive = r.convertToType(e.isActive, "Boolean")), e.hasOwnProperty("name") && (t.name = r.convertToType(e.name, "String")), e.hasOwnProperty("phoneNumber") && (t.phoneNumber = r.convertToType(e.phoneNumber, "String")), e.hasOwnProperty("phoneNumberConfirmed") && (t.phoneNumberConfirmed = r.convertToType(e.phoneNumberConfirmed, "Boolean")), e.hasOwnProperty("surname") && (t.surname = r.convertToType(e.surname, "String")), e.hasOwnProperty("tenantId") && (t.tenantId = r.convertToType(e.tenantId, "String")), e.hasOwnProperty("userName") && (t.userName = r.convertToType(e.userName, "String"))), t;
      }
    }]);
  }();
  f.prototype.email = void 0, f.prototype.emailConfirmed = void 0, f.prototype.id = void 0, f.prototype.isActive = void 0, f.prototype.name = void 0, f.prototype.phoneNumber = void 0, f.prototype.phoneNumberConfirmed = void 0, f.prototype.surname = void 0, f.prototype.tenantId = void 0, f.prototype.userName = void 0;
  var C = /*#__PURE__*/function () {
    function C() {
      _classCallCheck(this, C);
    }
    return _createClass(C, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new C(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [T]))), t;
      }
    }]);
  }();
  C.prototype.items = void 0;
  var A = /*#__PURE__*/function () {
    function A() {
      _classCallCheck(this, A);
    }
    return _createClass(A, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new A(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [y]))), t;
      }
    }]);
  }();
  A.prototype.items = void 0;
  var U = /*#__PURE__*/function () {
    function U() {
      _classCallCheck(this, U);
    }
    return _createClass(U, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new U(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [f]))), t;
      }
    }]);
  }();
  U.prototype.items = void 0;
  var E = /*#__PURE__*/function () {
    function E() {
      _classCallCheck(this, E);
    }
    return _createClass(E, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new E(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [T])), e.hasOwnProperty("totalCount") && (t.totalCount = r.convertToType(e.totalCount, "Number"))), t;
      }
    }]);
  }();
  E.prototype.items = void 0, E.prototype.totalCount = void 0;
  var x = /*#__PURE__*/function () {
    function x() {
      _classCallCheck(this, x);
    }
    return _createClass(x, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new x(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [h])), e.hasOwnProperty("totalCount") && (t.totalCount = r.convertToType(e.totalCount, "Number"))), t;
      }
    }]);
  }();
  x.prototype.items = void 0, x.prototype.totalCount = void 0;
  var D = /*#__PURE__*/function () {
    function D() {
      _classCallCheck(this, D);
    }
    return _createClass(D, null, [{
      key: "constructFromObject",
      value: function constructFromObject(e, t) {
        return e && (t = t || new D(), e.hasOwnProperty("items") && (t.items = r.convertToType(e.items, [y])), e.hasOwnProperty("totalCount") && (t.totalCount = r.convertToType(e.totalCount, "Number"))), t;
      }
    }]);
  }();
  D.prototype.items = void 0, D.prototype.totalCount = void 0;
  var K = /*#__PURE__*/function () {
    function K(e) {
      _classCallCheck(this, K);
      this.apiClient = e || r.GetInstance("abp-identity", "OrganizationApi");
    }
    return _createClass(K, [{
      key: "callDeleteWithHttpInfo",
      value: function callDeleteWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling callDelete");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = null;
        return this.apiClient.callApi("/api/identity/organizations/{id}", "DELETE", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "callDelete",
      value: function callDelete(e) {
        return this.callDeleteWithHttpInfo(e);
      }
    }, {
      key: "createWithHttpInfo",
      value: function createWithHttpInfo(e) {
        e = e || {};
        var t = e.body,
          i = {},
          n = {},
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = ["application/_*+json", "application/json", "text/json"],
          p = ["application/json", "text/json", "text/plain"],
          u = y;
        return this.apiClient.callApi("/api/identity/organizations", "POST", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "create",
      value: function create(e) {
        return this.createWithHttpInfo(e);
      }
    }, {
      key: "getWithHttpInfo",
      value: function getWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling get");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = y;
        return this.apiClient.callApi("/api/identity/organizations/{id}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "get",
      value: function get(e) {
        return this.getWithHttpInfo(e);
      }
    }, {
      key: "getAllListWithHttpInfo",
      value: function getAllListWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SeenAll: e.seenAll,
            SubTenantId: e.subTenantId
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = A;
        return this.apiClient.callApi("/api/identity/organizations/all", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getAllList",
      value: function getAllList(e) {
        return this.getAllListWithHttpInfo(e);
      }
    }, {
      key: "getAllListDetailsWithHttpInfo",
      value: function getAllListDetailsWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SeenAll: e.seenAll,
            SubTenantId: e.subTenantId
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = A;
        return this.apiClient.callApi("/api/identity/organizations/all/details", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getAllListDetails",
      value: function getAllListDetails(e) {
        return this.getAllListDetailsWithHttpInfo(e);
      }
    }, {
      key: "getAllListDetailsByFullPathNameWithHttpInfo",
      value: function getAllListDetailsByFullPathNameWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SeenAll: e.seenAll,
            SubTenantId: e.subTenantId
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = [O];
        return this.apiClient.callApi("/api/identity/organizations/all/details-by-full-path-name", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getAllListDetailsByFullPathName",
      value: function getAllListDetailsByFullPathName(e) {
        return this.getAllListDetailsByFullPathNameWithHttpInfo(e);
      }
    }, {
      key: "getChildrenWithHttpInfo",
      value: function getChildrenWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'parentId' when calling getChildren");
        var i = {
            parentId: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = [y];
        return this.apiClient.callApi("/api/identity/organizations/children/{parentId}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getChildren",
      value: function getChildren(e) {
        return this.getChildrenWithHttpInfo(e);
      }
    }, {
      key: "getDetailsWithHttpInfo",
      value: function getDetailsWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling getDetails");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = y;
        return this.apiClient.callApi("/api/identity/organizations/{id}/details", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getDetails",
      value: function getDetails(e) {
        return this.getDetailsWithHttpInfo(e);
      }
    }, {
      key: "getFullPathNameWithHttpInfo",
      value: function getFullPathNameWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            id: e.id
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = "String";
        return this.apiClient.callApi("/api/identity/organizations/full-path-name", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getFullPathName",
      value: function getFullPathName(e) {
        return this.getFullPathNameWithHttpInfo(e);
      }
    }, {
      key: "getListWithHttpInfo",
      value: function getListWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            ParentId: e.parentId,
            Filter: e.filter,
            IsOnlySeenAuthServer: e.isOnlySeenAuthServer,
            Origin: e.origin,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = D;
        return this.apiClient.callApi("/api/identity/organizations", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getList",
      value: function getList(e) {
        return this.getListWithHttpInfo(e);
      }
    }, {
      key: "getListDetailsWithHttpInfo",
      value: function getListDetailsWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            ParentId: e.parentId,
            Filter: e.filter,
            IsOnlySeenAuthServer: e.isOnlySeenAuthServer,
            Origin: e.origin,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = D;
        return this.apiClient.callApi("/api/identity/organizations/details", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getListDetails",
      value: function getListDetails(e) {
        return this.getListDetailsWithHttpInfo(e);
      }
    }, {
      key: "getNextChildCodeWithHttpInfo",
      value: function getNextChildCodeWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            parentId: e.parentId
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = "String";
        return this.apiClient.callApi("/api/identity/organizations/next-code", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getNextChildCode",
      value: function getNextChildCode(e) {
        return this.getNextChildCodeWithHttpInfo(e);
      }
    }, {
      key: "getRolesWithHttpInfo",
      value: function getRolesWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            ouId: e.ouId,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount,
            Sorting: e.sorting
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = E;
        return this.apiClient.callApi("/api/identity/organizations/roles", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getRoles",
      value: function getRoles(e) {
        return this.getRolesWithHttpInfo(e);
      }
    }, {
      key: "getRootListWithHttpInfo",
      value: function getRootListWithHttpInfo() {
        var e = null,
          t = {},
          i = {},
          n = {},
          o = {},
          a = ["oauth2"],
          s = [],
          l = ["application/json", "text/json", "text/plain"],
          p = A;
        return this.apiClient.callApi("/api/identity/organizations/root", "GET", t, i, n, o, e, a, s, l, p);
      }
    }, {
      key: "getRootList",
      value: function getRootList() {
        return this.getRootListWithHttpInfo();
      }
    }, {
      key: "getUsersWithHttpInfo",
      value: function getUsersWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            ouId: e.ouId,
            Filter: e.filter,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = x;
        return this.apiClient.callApi("/api/identity/organizations/users", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getUsers",
      value: function getUsers(e) {
        return this.getUsersWithHttpInfo(e);
      }
    }, {
      key: "moveWithHttpInfo",
      value: function moveWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            id: e.id,
            parentId: e.parentId
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = e.returnType || null;
        return this.apiClient.callApi("/api/identity/organizations/move", "PUT", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "move",
      value: function move(e) {
        return this.moveWithHttpInfo(e);
      }
    }, {
      key: "updateWithHttpInfo",
      value: function updateWithHttpInfo(e, t) {
        t = t || {};
        var i = t.body;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling update");
        var n = {
            id: e
          },
          o = {},
          a = t.header || {},
          s = {},
          l = ["oauth2"],
          p = ["application/_*+json", "application/json", "text/json"],
          u = ["application/json", "text/json", "text/plain"],
          v = y;
        return this.apiClient.callApi("/api/identity/organizations/{id}", "PUT", n, o, a, s, i, l, p, u, v);
      }
    }, {
      key: "update",
      value: function update(e, t) {
        return this.updateWithHttpInfo(e, t);
      }
    }, {
      key: "updateChildrenSeqNoWithHttpInfo",
      value: function updateChildrenSeqNoWithHttpInfo(e) {
        e = e || {};
        var t = e.body,
          i = {},
          n = {},
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = ["application/_*+json", "application/json", "text/json"],
          p = ["application/json", "text/json", "text/plain"],
          u = e.returnType || null;
        return this.apiClient.callApi("/api/identity/organizations/update-seqno", "POST", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "updateChildrenSeqNo",
      value: function updateChildrenSeqNo(e) {
        return this.updateChildrenSeqNoWithHttpInfo(e);
      }
    }]);
  }();
  R(K, "Methods", {
    callDelete: {
      method: "DELETE",
      path: "/api/identity/organizations/{id}"
    },
    create: {
      method: "POST",
      path: "/api/identity/organizations"
    },
    get: {
      method: "GET",
      path: "/api/identity/organizations/{id}"
    },
    getAllList: {
      method: "GET",
      path: "/api/identity/organizations/all"
    },
    getAllListDetails: {
      method: "GET",
      path: "/api/identity/organizations/all/details"
    },
    getAllListDetailsByFullPathName: {
      method: "GET",
      path: "/api/identity/organizations/all/details-by-full-path-name"
    },
    getChildren: {
      method: "GET",
      path: "/api/identity/organizations/children/{parentId}"
    },
    getDetails: {
      method: "GET",
      path: "/api/identity/organizations/{id}/details"
    },
    getFullPathName: {
      method: "GET",
      path: "/api/identity/organizations/full-path-name"
    },
    getList: {
      method: "GET",
      path: "/api/identity/organizations"
    },
    getListDetails: {
      method: "GET",
      path: "/api/identity/organizations/details"
    },
    getNextChildCode: {
      method: "GET",
      path: "/api/identity/organizations/next-code"
    },
    getRoles: {
      method: "GET",
      path: "/api/identity/organizations/roles"
    },
    getRootList: {
      method: "GET",
      path: "/api/identity/organizations/root"
    },
    getUsers: {
      method: "GET",
      path: "/api/identity/organizations/users"
    },
    move: {
      method: "PUT",
      path: "/api/identity/organizations/move"
    },
    update: {
      method: "PUT",
      path: "/api/identity/organizations/{id}"
    },
    updateChildrenSeqNo: {
      method: "POST",
      path: "/api/identity/organizations/update-seqno"
    }
  });
  var V = /*#__PURE__*/function () {
    function V(e) {
      _classCallCheck(this, V);
      this.apiClient = e || r.GetInstance("abp-identity", "RoleApi");
    }
    return _createClass(V, [{
      key: "callDeleteWithHttpInfo",
      value: function callDeleteWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling callDelete");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = null;
        return this.apiClient.callApi("/api/identity/roles/{id}", "DELETE", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "callDelete",
      value: function callDelete(e) {
        return this.callDeleteWithHttpInfo(e);
      }
    }, {
      key: "createWithHttpInfo",
      value: function createWithHttpInfo(e) {
        e = e || {};
        var t = e.body,
          i = {},
          n = {},
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = ["application/_*+json", "application/json", "text/json"],
          p = ["application/json", "text/json", "text/plain"],
          u = T;
        return this.apiClient.callApi("/api/identity/roles", "POST", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "create",
      value: function create(e) {
        return this.createWithHttpInfo(e);
      }
    }, {
      key: "getWithHttpInfo",
      value: function getWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling get");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = T;
        return this.apiClient.callApi("/api/identity/roles/{id}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "get",
      value: function get(e) {
        return this.getWithHttpInfo(e);
      }
    }, {
      key: "getAllListWithHttpInfo",
      value: function getAllListWithHttpInfo() {
        var e = null,
          t = {},
          i = {},
          n = {},
          o = {},
          a = ["oauth2"],
          s = [],
          l = ["application/json", "text/json", "text/plain"],
          p = C;
        return this.apiClient.callApi("/api/identity/roles/all", "GET", t, i, n, o, e, a, s, l, p);
      }
    }, {
      key: "getAllList",
      value: function getAllList() {
        return this.getAllListWithHttpInfo();
      }
    }, {
      key: "getListWithHttpInfo",
      value: function getListWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = E;
        return this.apiClient.callApi("/api/identity/roles", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getList",
      value: function getList(e) {
        return this.getListWithHttpInfo(e);
      }
    }, {
      key: "updateWithHttpInfo",
      value: function updateWithHttpInfo(e, t) {
        t = t || {};
        var i = t.body;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling update");
        var n = {
            id: e
          },
          o = {},
          a = t.header || {},
          s = {},
          l = ["oauth2"],
          p = ["application/_*+json", "application/json", "text/json"],
          u = ["application/json", "text/json", "text/plain"],
          v = T;
        return this.apiClient.callApi("/api/identity/roles/{id}", "PUT", n, o, a, s, i, l, p, u, v);
      }
    }, {
      key: "update",
      value: function update(e, t) {
        return this.updateWithHttpInfo(e, t);
      }
    }]);
  }();
  R(V, "Methods", {
    callDelete: {
      method: "DELETE",
      path: "/api/identity/roles/{id}"
    },
    create: {
      method: "POST",
      path: "/api/identity/roles"
    },
    get: {
      method: "GET",
      path: "/api/identity/roles/{id}"
    },
    getAllList: {
      method: "GET",
      path: "/api/identity/roles/all"
    },
    getList: {
      method: "GET",
      path: "/api/identity/roles"
    },
    update: {
      method: "PUT",
      path: "/api/identity/roles/{id}"
    }
  });
  var J = /*#__PURE__*/function () {
    function J(e) {
      _classCallCheck(this, J);
      this.apiClient = e || r.GetInstance("abp-identity", "UserApi");
    }
    return _createClass(J, [{
      key: "callDeleteWithHttpInfo",
      value: function callDeleteWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling callDelete");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = null;
        return this.apiClient.callApi("/api/identity/users/{id}", "DELETE", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "callDelete",
      value: function callDelete(e) {
        return this.callDeleteWithHttpInfo(e);
      }
    }, {
      key: "createWithHttpInfo",
      value: function createWithHttpInfo(e) {
        e = e || {};
        var t = e.body,
          i = {},
          n = {},
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = ["application/_*+json", "application/json", "text/json"],
          p = ["application/json", "text/json", "text/plain"],
          u = h;
        return this.apiClient.callApi("/api/identity/users", "POST", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "create",
      value: function create(e) {
        return this.createWithHttpInfo(e);
      }
    }, {
      key: "findByEmailWithHttpInfo",
      value: function findByEmailWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'email' when calling findByEmail");
        var i = {
            email: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = h;
        return this.apiClient.callApi("/api/identity/users/by-email/{email}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "findByEmail",
      value: function findByEmail(e) {
        return this.findByEmailWithHttpInfo(e);
      }
    }, {
      key: "findByUsernameWithHttpInfo",
      value: function findByUsernameWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'userName' when calling findByUsername");
        var i = {
            userName: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = h;
        return this.apiClient.callApi("/api/identity/users/by-username/{userName}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "findByUsername",
      value: function findByUsername(e) {
        return this.findByUsernameWithHttpInfo(e);
      }
    }, {
      key: "getWithHttpInfo",
      value: function getWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling get");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = h;
        return this.apiClient.callApi("/api/identity/users/{id}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "get",
      value: function get(e) {
        return this.getWithHttpInfo(e);
      }
    }, {
      key: "getAssignableRolesWithHttpInfo",
      value: function getAssignableRolesWithHttpInfo() {
        var e = null,
          t = {},
          i = {},
          n = {},
          o = {},
          a = ["oauth2"],
          s = [],
          l = ["application/json", "text/json", "text/plain"],
          p = C;
        return this.apiClient.callApi("/api/identity/users/assignable-roles", "GET", t, i, n, o, e, a, s, l, p);
      }
    }, {
      key: "getAssignableRoles",
      value: function getAssignableRoles() {
        return this.getAssignableRolesWithHttpInfo();
      }
    }, {
      key: "getListWithHttpInfo",
      value: function getListWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = x;
        return this.apiClient.callApi("/api/identity/users", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getList",
      value: function getList(e) {
        return this.getListWithHttpInfo(e);
      }
    }, {
      key: "getRolesWithHttpInfo",
      value: function getRolesWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling getRoles");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = C;
        return this.apiClient.callApi("/api/identity/users/{id}/roles", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getRoles",
      value: function getRoles(e) {
        return this.getRolesWithHttpInfo(e);
      }
    }, {
      key: "updateWithHttpInfo",
      value: function updateWithHttpInfo(e, t) {
        t = t || {};
        var i = t.body;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling update");
        var n = {
            id: e
          },
          o = {},
          a = t.header || {},
          s = {},
          l = ["oauth2"],
          p = ["application/_*+json", "application/json", "text/json"],
          u = ["application/json", "text/json", "text/plain"],
          v = h;
        return this.apiClient.callApi("/api/identity/users/{id}", "PUT", n, o, a, s, i, l, p, u, v);
      }
    }, {
      key: "update",
      value: function update(e, t) {
        return this.updateWithHttpInfo(e, t);
      }
    }, {
      key: "updateRolesWithHttpInfo",
      value: function updateRolesWithHttpInfo(e, t) {
        t = t || {};
        var i = t.body;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling updateRoles");
        var n = {
            id: e
          },
          o = {},
          a = t.header || {},
          s = {},
          l = ["oauth2"],
          p = ["application/_*+json", "application/json", "text/json"],
          u = ["application/json", "text/json", "text/plain"],
          v = t.returnType || null;
        return this.apiClient.callApi("/api/identity/users/{id}/roles", "PUT", n, o, a, s, i, l, p, u, v);
      }
    }, {
      key: "updateRoles",
      value: function updateRoles(e, t) {
        return this.updateRolesWithHttpInfo(e, t);
      }
    }]);
  }();
  R(J, "Methods", {
    callDelete: {
      method: "DELETE",
      path: "/api/identity/users/{id}"
    },
    create: {
      method: "POST",
      path: "/api/identity/users"
    },
    findByEmail: {
      method: "GET",
      path: "/api/identity/users/by-email/{email}"
    },
    findByUsername: {
      method: "GET",
      path: "/api/identity/users/by-username/{userName}"
    },
    get: {
      method: "GET",
      path: "/api/identity/users/{id}"
    },
    getAssignableRoles: {
      method: "GET",
      path: "/api/identity/users/assignable-roles"
    },
    getList: {
      method: "GET",
      path: "/api/identity/users"
    },
    getRoles: {
      method: "GET",
      path: "/api/identity/users/{id}/roles"
    },
    update: {
      method: "PUT",
      path: "/api/identity/users/{id}"
    },
    updateRoles: {
      method: "PUT",
      path: "/api/identity/users/{id}/roles"
    }
  });
  var $ = /*#__PURE__*/function () {
    function $(e) {
      _classCallCheck(this, $);
      this.apiClient = e || r.GetInstance("abp-identity", "UserLookupApi");
    }
    return _createClass($, [{
      key: "findByIdWithHttpInfo",
      value: function findByIdWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'id' when calling findById");
        var i = {
            id: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = f;
        return this.apiClient.callApi("/api/identity/users/lookup/{id}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "findById",
      value: function findById(e) {
        return this.findByIdWithHttpInfo(e);
      }
    }, {
      key: "findByUserNameWithHttpInfo",
      value: function findByUserNameWithHttpInfo(e) {
        var t = null;
        if (e == null) throw new Error("Missing the required parameter 'userName' when calling findByUserName");
        var i = {
            userName: e
          },
          n = {},
          o = {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = f;
        return this.apiClient.callApi("/api/identity/users/lookup/by-username/{userName}", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "findByUserName",
      value: function findByUserName(e) {
        return this.findByUserNameWithHttpInfo(e);
      }
    }, {
      key: "getCountWithHttpInfo",
      value: function getCountWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = "Number";
        return this.apiClient.callApi("/api/identity/users/lookup/count", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "getCount",
      value: function getCount(e) {
        return this.getCountWithHttpInfo(e);
      }
    }, {
      key: "searchWithHttpInfo",
      value: function searchWithHttpInfo(e) {
        e = e || {};
        var t = null,
          i = {},
          n = {
            Filter: e.filter,
            Sorting: e.sorting,
            SkipCount: e.skipCount,
            MaxResultCount: e.maxResultCount
          },
          o = e.header || {},
          a = {},
          s = ["oauth2"],
          l = [],
          p = ["application/json", "text/json", "text/plain"],
          u = U;
        return this.apiClient.callApi("/api/identity/users/lookup/search", "GET", i, n, o, a, t, s, l, p, u);
      }
    }, {
      key: "search",
      value: function search(e) {
        return this.searchWithHttpInfo(e);
      }
    }]);
  }();
  R($, "Methods", {
    findById: {
      method: "GET",
      path: "/api/identity/users/lookup/{id}"
    },
    findByUserName: {
      method: "GET",
      path: "/api/identity/users/lookup/by-username/{userName}"
    },
    getCount: {
      method: "GET",
      path: "/api/identity/users/lookup/count"
    },
    search: {
      method: "GET",
      path: "/api/identity/users/lookup/search"
    }
  }), c.AbpIdentityRoleCreateDto = N, c.AbpIdentityRoleDto = T, c.AbpIdentityRoleUpdateDto = S, c.AbpIdentityUserCreateDto = w, c.AbpIdentityUserDto = h, c.AbpIdentityUserUpdateDto = g, c.AbpIdentityUserUpdateRolesDto = F, c.AbpOrganizationUnitCreateDto = B, c.AbpOrganizationUnitDto = y, c.AbpOrganizationUnitFullPathNameDto = O, c.AbpOrganizationUnitUpdateDto = H, c.AbpOrgnizationUnitSeqNoUpdateDto = G, c.AbpRemoteServiceErrorInfo = I, c.AbpRemoteServiceErrorResponse = M, c.AbpRemoteServiceValidationErrorInfo = W, c.AbpUserData = f, c.ApiClient = r, c.ListResultDtoAbpIdentityRoleDto = C, c.ListResultDtoAbpOrganizationUnitDto = A, c.ListResultDtoAbpUserData = U, c.OrganizationApi = K, c.PagedResultDtoAbpIdentityRoleDto = E, c.PagedResultDtoAbpIdentityUserDto = x, c.PagedResultDtoAbpOrganizationUnitDto = D, c.RoleApi = V, c.UserApi = J, c.UserLookupApi = $, Object.defineProperty(c, Symbol.toStringTag, {
    value: "Module"
  });
});
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("b639").Buffer, __webpack_require__("62e4")(module)))

/***/ })

}]);
//# sourceMappingURL=portal-management-std.umd.7.js.map