UNPKG

alfresco-js-api

Version:

JavaScript client library for the Alfresco REST API

1 lines 847 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AlfrescoApi=e():t.AlfrescoApi=e()}(window,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(i,o,function(e){return t[e]}.bind(null,o));return i},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=548)}([function(t,e,n){"use strict";!function(e){function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):function(t,e){for(var n=Object.getOwnPropertyNames(e),i=0;n.length>i;i++){var o=n[i],r=Object.getOwnPropertyDescriptor(e,o);r&&r.configurable&&void 0===t[o]&&Object.defineProperty(t,o,r)}}(t,e))}var o=n(15),r=n(1),s=n(392),a=n(308),p=function(t){function n(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this));return i.storage=new a,i.host=e,o.call(i),i}return i(n,t),n.prototype.callApi=function(t,e,n,i,o,r,s,a,p,c,l,u,d){var h;u?h=this.buildUrlCustomBasePath(this.host+"/"+u,t,n):h=this.buildUrl(t,n);return this.callHostApi(t,e,n,i,o,r,s,a,p,c,l,u,d,h)},n.prototype.callCustomApi=function(t,e,n,i,o,r,s,a,p,c,l,u,d){var h=this.buildUrlCustomBasePath(t,"",n);return this.callHostApi(t,e,n,i,o,r,s,a,p,c,l,u,d,h)},n.prototype.callHostApi=function(t,e,n,i,r,a,p,c,l,u,d,h,f,y){var v=this,m={};o(m);var g=this.buildRequest(e,y,i,r,a,p,l,u,f,m,d);return"Binary"===d&&(g=g.buffer(!0).parse(s.parse["application/octet-stream"])),this.promise=new Promise(function(t,e){g.end(function(n,i){if(n)v.emit("error",n),m.emit("error",n),401===n.status&&(v.emit("unauthorized"),m.emit("unauthorized")),e(i&&i.text?Object.assign(n=n||{},{message:i.text}):{error:n});else{v.isBpmRequest()&&i.header&&i.header.hasOwnProperty("set-cookie")&&(v.authentications.cookie=i.header["set-cookie"]);var o={};o=v.deserialize(i,"text/html"===i.type?"String":d),m.emit("success",o),t(o)}}).on("abort",function(){m.emit("abort")})}),this.promise.on=function(){return m.on.apply(m,arguments),this},this.promise.once=function(){return m.once.apply(m,arguments),this},this.promise.emit=function(){return m.emit.apply(m,arguments),this},this.promise.off=function(){return m.off.apply(m,arguments),this},this.promise.abort=function(){return g.abort(),this},this.promise},n.prototype.isBpmRequest=function(){return"BpmAuth"===this.className||"BpmClient"===this.className},n.prototype.isCsrfEnabled=function(){return!this.config||!this.config.disableCsrf},n.prototype.setCsrfToken=function(t){var e=this.token();t.set("X-CSRF-TOKEN",e),this.isNodeEnv()&&t.set("Cookie","CSRF-TOKEN="+e+";path=/");try{document.cookie="CSRF-TOKEN="+e+";path=/"}catch(t){}},n.prototype.isNodeEnv=function(){return void 0!==e&&e.release&&"node"===e.release.name},n.prototype.token=function(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e16]+1e16).replace(/[01]/g,this.token)},n.prototype.progress=function(t,e){t.lengthComputable&&this.promise&&e.emit("progress",{total:t.total,loaded:t.loaded,percent:Math.round(t.loaded/t.total*100)})},n.prototype.buildUrlCustomBasePath=function(t,e,n){e.match(/^\//)||(e="/"+e);var i=t+e,o=this;return i=i.replace(/\{([\w-]+)\}/g,function(t,e){var i;return i=n.hasOwnProperty(e)?o.paramToString(n[e]):t,encodeURIComponent(i)})},n.prototype.buildRequest=function(t,e,n,i,o,r,a,p,c,l,u){var d=this,h=s(t,e);this.applyAuthToRequest(h,["basicAuth"]),h.query(this.normalizeParams(n)),h.set(this.defaultHeaders).set(this.normalizeParams(i)),this.isBpmRequest()&&this.isCsrfEnabled()&&this.setCsrfToken(h),this.isBpmRequest()&&(h._withCredentials=!0,this.authentications.cookie&&this.isNodeEnv()&&h.set("Cookie",this.authentications.cookie)),h.timeout(this.timeout);var f=this.jsonPreferredMime(a);if(f&&"multipart/form-data"!==f?h.type(f):h.header["Content-Type"]||"multipart/form-data"===f||h.type("application/json"),"application/x-www-form-urlencoded"===f)h.send(this.normalizeParams(o)).on("progress",function(t){d.progress(t,l)});else if("multipart/form-data"===f){var y=this.normalizeParams(o);for(var v in y)y.hasOwnProperty(v)&&(this.isFileParam(y[v])?h.attach(v,y[v]).on("progress",function(t){d.progress(t,l)}):h.field(v,y[v]).on("progress",function(t){d.progress(t,l)}))}else r&&h.send(r).on("progress",function(t){d.progress(t,l)});var m=this.jsonPreferredMime(p);return m&&h.accept(m),"Blob"===u||"blob"===c||"Blob"===c?h.responseType("blob"):"String"===u&&h.responseType("string"),h},n}(r);o(p.prototype),t.exports=p}(n(503))},function(t,e,n){"use strict";var i,o,r,s,a;i=n(49).Buffer,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=[n(392)],void 0===(s="function"==typeof(o=function(t){var e=function(){this.basePath="https://localhost/alfresco/api/-default-/public/alfresco/versions/1",this.authentications={basicAuth:{type:"basic"}},this.defaultHeaders={},this.timeout=void 0};return e.prototype.paramToString=function(t){return void 0==t||null==t?"":t instanceof Date?t.toJSON():""+t},e.prototype.buildUrl=function(t,e){t.match(/^\//)||(t="/"+t);var n=this.basePath+t,i=this;return n=n.replace(/\{([\w-]+)\}/g,function(t,n){var o;return o=e.hasOwnProperty(n)?i.paramToString(e[n]):t,encodeURIComponent(o)})},e.prototype.isJsonMime=function(t){return!(null==t||!t.match(/^application\/json(;.*)?$/i))},e.prototype.jsonPreferredMime=function(t){for(var e=0;t.length>e;e++)if(this.isJsonMime(t[e]))return t[e];return t[0]},e.prototype.isFileParam=function(t){return!!("object"===a(n(124).ReadStream)&&"undefined"==typeof window&&n(124)&&t instanceof n(124).ReadStream)||"function"==typeof i&&t instanceof i||"function"==typeof Blob&&t instanceof Blob||"function"==typeof File&&t instanceof File||"object"===("undefined"==typeof File?"undefined":a(File))&&t instanceof File},e.prototype.normalizeParams=function(t){var e={};for(var n in t)if(t.hasOwnProperty(n)&&void 0!=t[n]&&null!=t[n]){var i=t[n];e[n]=this.isFileParam(i)||Array.isArray(i)?i:this.paramToString(i)}return e},e.CollectionFormatEnum={CSV:",",SSV:" ",TSV:"\t",PIPES:"|",MULTI:"multi"},e.prototype.buildCollectionParam=function(t,e){if(null==t)return null;switch(e){case"csv":return t.map(this.paramToString).join(",");case"ssv":return t.map(this.paramToString).join(" ");case"tsv":return t.map(this.paramToString).join("\t");case"pipes":return t.map(this.paramToString).join("|");case"multi":return t.map(this.paramToString);default:throw Error("Unknown collection format: "+e)}},e.prototype.applyAuthToRequest=function(t,e){var n=this;e.forEach(function(e){var i=n.authentications[e];switch(i.type){case"basic":(i.username||i.password)&&t.auth(i.username?encodeURI(i.username):"",i.password?encodeURI(i.password):"");break;case"apiKey":if(i.apiKey){var o={};o[i.name]=i.apiKeyPrefix?i.apiKeyPrefix+" "+i.apiKey:i.apiKey,"header"===i.in?t.set(o):t.query(o)}break;case"activiti":i.ticket&&t.set({Authorization:i.ticket});break;case"oauth2":i.accessToken&&t.set({Authorization:"Bearer "+i.accessToken});break;default:throw Error("Unknown authentication type: "+i.type)}})},e.prototype.deserialize=function(t,n){if(null==t||null==n)return null;var i=t.body;return null==i&&(i=t.text),e.convertToType(i,n)},e.prototype.callApi=function(e,n,i,o,r,s,a,p,c,l,u){var d=this,h=this.buildUrl(e,i),f=t(n,h);this.applyAuthToRequest(f,p),f.query(this.normalizeParams(o)),f.set(this.defaultHeaders).set(this.normalizeParams(r)),f.timeout(this.timeout);var y=this.jsonPreferredMime(c);if(y?f.type(y):f.header["Content-Type"]||f.type("application/json"),"application/x-www-form-urlencoded"===y)f.send(this.normalizeParams(s));else if("multipart/form-data"==y){var v=this.normalizeParams(s);for(var m in v)v.hasOwnProperty(m)&&(this.isFileParam(v[m])?f.attach(m,v[m]):f.field(m,v[m]))}else a&&f.send(a);var g=this.jsonPreferredMime(l);return g&&f.accept(g),new Promise(function(t,e){f.end(function(n,i){if(n)e(i&&i.text?{error:n,message:i.text}:{error:n});else{var o=d.deserialize(i,u);t(o)}})})},e.parseDate=function(t){var n=t.substring(10).search(/[\+\-]/)+10,i=n>10?t.substring(0,n):t,o=n>10?t.substring(n):"",r=e.parseDateTime(i),s=e.parseDateTimeZone(o);return r.setTime(r.getTime()+6e4*s),r},e.parseDateTime=function(t){t.split("+");var e=t.split(/[^0-9]/).map(function(t){return parseInt(t,10)});return new Date(Date.UTC(e[0],e[1]-1||0,e[2]||1,e[3]||0,e[4]||0,e[5]||0,e[6]||0))},e.parseDateTimeZone=function(t){var e=/([\+\-])(\d{2}):?(\d{2})?/.exec(t);return null!==e?-1*parseInt(e[1]+"1")*(60*parseInt(e[2]))+parseInt(e[3]||0):0},e.convertToType=function(t,n){switch(n){case"Binary":return t;case"Boolean":return!!t;case"Integer":return parseInt(t,10);case"Number":return parseFloat(t);case"String":return null!==t&&void 0!==t?t+"":t;case"Date":return t?this.parseDate(t+""):null;default:if(n===Object)return t;if("function"==typeof n)return n.constructFromObject(t);if(Array.isArray(n)){var i=n[0];return t?t.map(function(t){return e.convertToType(t,i)}):null}if("object"===(void 0===n?"undefined":a(n))){var o,r;for(var s in n)if(n.hasOwnProperty(s)){o=s,r=n[s];break}var p={};for(var s in t)if(t.hasOwnProperty(s)){var c=e.convertToType(s,o),l=e.convertToType(t[s],r);p[c]=l}return p}return t}},e.instance=new e,e})?o.apply(e,r):o)||(t.exports=s)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(162)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("data")&&(i.data=t.convertToType(n.data,"object")),n.hasOwnProperty("size")&&(i.size=t.convertToType(n.size,"Integer")),n.hasOwnProperty("start")&&(i.start=t.convertToType(n.start,"Integer")),n.hasOwnProperty("total")&&(i.total=t.convertToType(n.total,"Integer"))),i},e.prototype.data=void 0,e.prototype.size=void 0,e.prototype.start=void 0,e.prototype.total=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e,n,i){this.count=t,this.hasMoreItems=e,this.skipCount=n,this.maxItems=i};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("count")&&(i.count=t.convertToType(n.count,"Integer")),n.hasOwnProperty("hasMoreItems")&&(i.hasMoreItems=t.convertToType(n.hasMoreItems,"Boolean")),n.hasOwnProperty("totalItems")&&(i.totalItems=t.convertToType(n.totalItems,"Integer")),n.hasOwnProperty("skipCount")&&(i.skipCount=t.convertToType(n.skipCount,"Integer")),n.hasOwnProperty("maxItems")&&(i.maxItems=t.convertToType(n.maxItems,"Integer"))),i},e.prototype.count=void 0,e.prototype.hasMoreItems=void 0,e.prototype.totalItems=void 0,e.prototype.skipCount=void 0,e.prototype.maxItems=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e){this.displayName=t,this.id=e};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("displayName")&&(i.displayName=t.convertToType(n.displayName,"String")),n.hasOwnProperty("id")&&(i.id=t.convertToType(n.id,"String"))),i},e.prototype.displayName=void 0,e.prototype.id=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(388)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("error")&&(i.error=e.constructFromObject(t.error))),i},n.prototype.error=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(215)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=o||new n,i.hasOwnProperty("elements")&&(o.elements=t.convertToType(i.elements,[e])),i.hasOwnProperty("name")&&(o.name=t.convertToType(i.name,"String")),i.hasOwnProperty("isCompleted")&&(o.isCompleted=t.convertToType(i.isCompleted,"Boolean"))),o},n.prototype.elements=void 0,n.prototype.name=void 0,n.prototype.isCompleted=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("mimeType")&&(i.mimeType=t.convertToType(n.mimeType,"String")),n.hasOwnProperty("mimeTypeName")&&(i.mimeTypeName=t.convertToType(n.mimeTypeName,"String")),n.hasOwnProperty("sizeInBytes")&&(i.sizeInBytes=t.convertToType(n.sizeInBytes,"Integer")),n.hasOwnProperty("encoding")&&(i.encoding=t.convertToType(n.encoding,"String"))),i},e.prototype.mimeType=void 0,e.prototype.mimeTypeName=void 0,e.prototype.sizeInBytes=void 0,e.prototype.encoding=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(218)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=i||new n,t.hasOwnProperty("error")&&(i.error=e.constructFromObject(t.error))),i},n.prototype.error=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("displayName")&&(i.displayName=t.convertToType(n.displayName,"String")),n.hasOwnProperty("id")&&(i.id=t.convertToType(n.id,"String"))),i},e.prototype.displayName=void 0,e.prototype.id=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("email")&&(i.email=t.convertToType(n.email,"String")),n.hasOwnProperty("externalId")&&(i.externalId=t.convertToType(n.externalId,"String")),n.hasOwnProperty("firstName")&&(i.firstName=t.convertToType(n.firstName,"String")),n.hasOwnProperty("id")&&(i.id=t.convertToType(n.id,"Integer")),n.hasOwnProperty("lastName")&&(i.lastName=t.convertToType(n.lastName,"String")),n.hasOwnProperty("pictureId")&&(i.pictureId=t.convertToType(n.pictureId,"Integer"))),i},e.prototype.email=void 0,e.prototype.externalId=void 0,e.prototype.firstName=void 0,e.prototype.id=void 0,e.prototype.lastName=void 0,e.prototype.pictureId=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e,n,i){this.count=t,this.hasMoreItems=e,this.skipCount=n,this.maxItems=i};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("count")&&(i.count=t.convertToType(n.count,"Number")),n.hasOwnProperty("hasMoreItems")&&(i.hasMoreItems=t.convertToType(n.hasMoreItems,"Boolean")),n.hasOwnProperty("totalItems")&&(i.totalItems=t.convertToType(n.totalItems,"Number")),n.hasOwnProperty("skipCount")&&(i.skipCount=t.convertToType(n.skipCount,"Number")),n.hasOwnProperty("maxItems")&&(i.maxItems=t.convertToType(n.maxItems,"Number"))),i},e.prototype.count=void 0,e.prototype.hasMoreItems=void 0,e.prototype.totalItems=void 0,e.prototype.skipCount=void 0,e.prototype.maxItems=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(63),n(146),n(62),n(145)],void 0===(r="function"==typeof(i=function(t,e,n,i,o){var r=function(){};return r.constructFromObject=function(s,a){return s&&(a=s||new r,s.hasOwnProperty("className")&&(a.className=t.convertToType(s.className,"String")),s.hasOwnProperty("customFieldTemplates")&&(a.customFieldTemplates=t.convertToType(s.customFieldTemplates,{String:"String"})),s.hasOwnProperty("fields")&&(a.fields=t.convertToType(s.fields,[e])),s.hasOwnProperty("gridsterForm")&&(a.gridsterForm=t.convertToType(s.gridsterForm,"Boolean")),s.hasOwnProperty("id")&&(a.id=t.convertToType(s.id,"Integer")),s.hasOwnProperty("javascriptEvents")&&(a.javascriptEvents=t.convertToType(s.javascriptEvents,[n])),s.hasOwnProperty("metadata")&&(a.metadata=t.convertToType(s.metadata,{String:"String"})),s.hasOwnProperty("name")&&(a.name=t.convertToType(s.name,"String")),s.hasOwnProperty("outcomeTarget")&&(a.outcomeTarget=t.convertToType(s.outcomeTarget,"String")),s.hasOwnProperty("outcomes")&&(a.outcomes=t.convertToType(s.outcomes,[i])),s.hasOwnProperty("processDefinitionId")&&(a.processDefinitionId=t.convertToType(s.processDefinitionId,"String")),s.hasOwnProperty("processDefinitionKey")&&(a.processDefinitionKey=t.convertToType(s.processDefinitionKey,"String")),s.hasOwnProperty("processDefinitionName")&&(a.processDefinitionName=t.convertToType(s.processDefinitionName,"String")),s.hasOwnProperty("selectedOutcome")&&(a.selectedOutcome=t.convertToType(s.selectedOutcome,"String")),s.hasOwnProperty("style")&&(a.style=t.convertToType(s.style,"String")),s.hasOwnProperty("tabs")&&(a.tabs=t.convertToType(s.tabs,[o])),s.hasOwnProperty("taskDefinitionKey")&&(a.taskDefinitionKey=t.convertToType(s.taskDefinitionKey,"String")),s.hasOwnProperty("taskId")&&(a.taskId=t.convertToType(s.taskId,"String")),s.hasOwnProperty("taskName")&&(a.taskName=t.convertToType(s.taskName,"String"))),a},r.prototype.className=void 0,r.prototype.customFieldTemplates=void 0,r.prototype.fields=void 0,r.prototype.gridsterForm=void 0,r.prototype.id=void 0,r.prototype.javascriptEvents=void 0,r.prototype.metadata=void 0,r.prototype.name=void 0,r.prototype.outcomeTarget=void 0,r.prototype.outcomes=void 0,r.prototype.processDefinitionId=void 0,r.prototype.processDefinitionKey=void 0,r.prototype.processDefinitionName=void 0,r.prototype.selectedOutcome=void 0,r.prototype.style=void 0,r.prototype.tabs=void 0,r.prototype.taskDefinitionKey=void 0,r.prototype.taskId=void 0,r.prototype.taskName=void 0,r})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(){var t=function(){};return t.constructFromObject=function(e,n){return e&&(n=e||new t),n},t})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e){this.assocType=t,this.isPrimary=e};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("assocType")&&(i.assocType=t.convertToType(n.assocType,"String")),n.hasOwnProperty("isPrimary")&&(i.isPrimary=t.convertToType(n.isPrimary,"Boolean"))),i},e.prototype.assocType=void 0,e.prototype.isPrimary=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r,s,a,p,c,l=n(502),u=n(488),d=Function.prototype.apply,h=Function.prototype.call,f=Object.create,y=Object.defineProperty,v=Object.defineProperties,m=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};a={on:i=function(t,e){var n;return u(e),m.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),y(this,"__ee__",g),g.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},once:o=function(t,e){var n,o;return u(e),o=this,i.call(this,t,n=function(){r.call(o,t,n),d.call(e,this,arguments)}),n.__eeOnceListener__=e,this},off:r=function(t,e){var n,i,o,r;if(u(e),!m.call(this,"__ee__"))return this;if(!(n=this.__ee__)[t])return this;if("object"==typeof(i=n[t]))for(r=0;o=i[r];++r)o!==e&&o.__eeOnceListener__!==e||(2===i.length?n[t]=i[r?0:1]:i.splice(r,1));else i!==e&&i.__eeOnceListener__!==e||delete n[t];return this},emit:s=function(t){var e,n,i,o,r;if(m.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(r=Array((n=arguments.length)-1),e=1;n>e;++e)r[e-1]=arguments[e];for(o=o.slice(),e=0;i=o[e];++e)d.call(i,this,r)}else switch(arguments.length){case 1:h.call(o,this);break;case 2:h.call(o,this,arguments[1]);break;case 3:h.call(o,this,arguments[1],arguments[2]);break;default:for(r=Array((n=arguments.length)-1),e=1;n>e;++e)r[e-1]=arguments[e];d.call(o,this,r)}}},p={on:l(i),once:l(o),off:l(r),emit:l(s)},c=v({},p),t.exports=e=function(t){return null==t?f(c):v(Object(t),p)},e.methods=a},function(t,e,n){!function(e){var n;for(var i in n=void 0!==e&&e.console?e.console:"undefined"!=typeof window&&window.console?window.console:window.console={},t.exports=n,{log:1,info:1,error:1,warn:1,dir:1,trace:1,assert:1,time:1,timeEnd:1})n[i]||(n[i]=function(){})}(n(393))},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(28),n(141)],void 0===(r="function"==typeof(i=function(t,e,n){var i=function(){};return i.constructFromObject=function(o,r){return o&&(r=o||new i,o.hasOwnProperty("apps")&&(r.apps=t.convertToType(o.apps,[n])),o.hasOwnProperty("capabilities")&&(r.capabilities=t.convertToType(o.capabilities,["String"])),o.hasOwnProperty("company")&&(r.company=t.convertToType(o.company,"String")),o.hasOwnProperty("created")&&(r.created=t.convertToType(o.created,"Date")),o.hasOwnProperty("email")&&(r.email=t.convertToType(o.email,"String")),o.hasOwnProperty("externalId")&&(r.externalId=t.convertToType(o.externalId,"String")),o.hasOwnProperty("firstName")&&(r.firstName=t.convertToType(o.firstName,"String")),o.hasOwnProperty("fullname")&&(r.fullname=t.convertToType(o.fullname,"String")),o.hasOwnProperty("groups")&&(r.groups=t.convertToType(o.groups,[e])),o.hasOwnProperty("id")&&(r.id=t.convertToType(o.id,"Integer")),o.hasOwnProperty("lastName")&&(r.lastName=t.convertToType(o.lastName,"String")),o.hasOwnProperty("lastUpdate")&&(r.lastUpdate=t.convertToType(o.lastUpdate,"Date")),o.hasOwnProperty("latestSyncTimeStamp")&&(r.latestSyncTimeStamp=t.convertToType(o.latestSyncTimeStamp,"Date")),o.hasOwnProperty("password")&&(r.password=t.convertToType(o.password,"String")),o.hasOwnProperty("pictureId")&&(r.pictureId=t.convertToType(o.pictureId,"Integer")),o.hasOwnProperty("status")&&(r.status=t.convertToType(o.status,"String")),o.hasOwnProperty("tenantId")&&(r.tenantId=t.convertToType(o.tenantId,"Integer")),o.hasOwnProperty("tenantName")&&(r.tenantName=t.convertToType(o.tenantName,"String")),o.hasOwnProperty("tenantPictureId")&&(r.tenantPictureId=t.convertToType(o.tenantPictureId,"Integer")),o.hasOwnProperty("type")&&(r.type=t.convertToType(o.type,"String"))),r},i.prototype.apps=void 0,i.prototype.capabilities=void 0,i.prototype.company=void 0,i.prototype.created=void 0,i.prototype.email=void 0,i.prototype.externalId=void 0,i.prototype.firstName=void 0,i.prototype.fullname=void 0,i.prototype.groups=void 0,i.prototype.id=void 0,i.prototype.lastName=void 0,i.prototype.lastUpdate=void 0,i.prototype.latestSyncTimeStamp=void 0,i.prototype.password=void 0,i.prototype.pictureId=void 0,i.prototype.status=void 0,i.prototype.tenantId=void 0,i.prototype.tenantName=void 0,i.prototype.tenantPictureId=void 0,i.prototype.type=void 0,i})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("id")&&(i.id=t.convertToType(n.id,"String")),n.hasOwnProperty("name")&&(i.name=t.convertToType(n.name,"String"))),i},e.prototype.id=void 0,e.prototype.name=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("name")&&(i.name=t.convertToType(n.name,"String")),n.hasOwnProperty("scope")&&(i.scope=t.convertToType(n.scope,"String")),n.hasOwnProperty("type")&&(i.type=t.convertToType(n.type,"String")),n.hasOwnProperty("value")&&(i.value=t.convertToType(n.value,Object)),n.hasOwnProperty("valueUrl")&&(i.valueUrl=t.convertToType(n.valueUrl,"String"))),i},e.prototype.name=void 0,e.prototype.scope=void 0,e.prototype.type=void 0,e.prototype.value=void 0,e.prototype.valueUrl=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=n||new e,n.hasOwnProperty("defaultAppId")&&(i.defaultAppId=t.convertToType(n.defaultAppId,"String")),n.hasOwnProperty("deploymentId")&&(i.deploymentId=t.convertToType(n.deploymentId,"String")),n.hasOwnProperty("description")&&(i.description=t.convertToType(n.description,"String")),n.hasOwnProperty("icon")&&(i.icon=t.convertToType(n.icon,"String")),n.hasOwnProperty("id")&&(i.id=t.convertToType(n.id,"Integer")),n.hasOwnProperty("modelId")&&(i.modelId=t.convertToType(n.modelId,"Integer")),n.hasOwnProperty("name")&&(i.name=t.convertToType(n.name,"String")),n.hasOwnProperty("tenantId")&&(i.tenantId=t.convertToType(n.tenantId,"Integer")),n.hasOwnProperty("theme")&&(i.theme=t.convertToType(n.theme,"String"))),i},e.prototype.defaultAppId=void 0,e.prototype.deploymentId=void 0,e.prototype.description=void 0,e.prototype.icon=void 0,e.prototype.id=void 0,e.prototype.modelId=void 0,e.prototype.name=void 0,e.prototype.tenantId=void 0,e.prototype.theme=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e,n,i){this.count=t,this.hasMoreItems=e,this.skipCount=n,this.maxItems=i};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("count")&&(i.count=t.convertToType(n.count,"Number")),n.hasOwnProperty("hasMoreItems")&&(i.hasMoreItems=t.convertToType(n.hasMoreItems,"Boolean")),n.hasOwnProperty("totalItems")&&(i.totalItems=t.convertToType(n.totalItems,"Number")),n.hasOwnProperty("skipCount")&&(i.skipCount=t.convertToType(n.skipCount,"Number")),n.hasOwnProperty("maxItems")&&(i.maxItems=t.convertToType(n.maxItems,"Number"))),i},e.prototype.count=void 0,e.prototype.hasMoreItems=void 0,e.prototype.totalItems=void 0,e.prototype.skipCount=void 0,e.prototype.maxItems=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(251)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=i||new n,t.hasOwnProperty("error")&&(i.error=e.constructFromObject(t.error))),i},n.prototype.error=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(344)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("list")&&(i.list=e.constructFromObject(t.list))),i},n.prototype.list=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(7),n(45),n(44),n(9)],void 0===(r="function"==typeof(i=function(t,e,n,i,o){var r=function(t,e,n,i,o,r,s,a,p){this.id=t,this.name=e,this.nodeType=n,this.isFolder=i,this.isFile=o,this.modifiedAt=r,this.modifiedByUser=s,this.createdAt=a,this.createdByUser=p};return r.constructFromObject=function(s,a){return s&&(a=a||new r,s.hasOwnProperty("id")&&(a.id=t.convertToType(s.id,"String")),s.hasOwnProperty("name")&&(a.name=t.convertToType(s.name,"String")),s.hasOwnProperty("nodeType")&&(a.nodeType=t.convertToType(s.nodeType,"String")),s.hasOwnProperty("isFolder")&&(a.isFolder=t.convertToType(s.isFolder,"Boolean")),s.hasOwnProperty("isFile")&&(a.isFile=t.convertToType(s.isFile,"Boolean")),s.hasOwnProperty("isLocked")&&(a.isLocked=t.convertToType(s.isLocked,"Boolean")),s.hasOwnProperty("modifiedAt")&&(a.modifiedAt=t.convertToType(s.modifiedAt,"Date")),s.hasOwnProperty("modifiedByUser")&&(a.modifiedByUser=o.constructFromObject(s.modifiedByUser)),s.hasOwnProperty("createdAt")&&(a.createdAt=t.convertToType(s.createdAt,"Date")),s.hasOwnProperty("createdByUser")&&(a.createdByUser=o.constructFromObject(s.createdByUser)),s.hasOwnProperty("parentId")&&(a.parentId=t.convertToType(s.parentId,"String")),s.hasOwnProperty("isLink")&&(a.isLink=t.convertToType(s.isLink,"Boolean")),s.hasOwnProperty("content")&&(a.content=e.constructFromObject(s.content)),s.hasOwnProperty("aspectNames")&&(a.aspectNames=t.convertToType(s.aspectNames,["String"])),s.hasOwnProperty("properties")&&(a.properties=t.convertToType(s.properties,Object)),s.hasOwnProperty("allowableOperations")&&(a.allowableOperations=t.convertToType(s.allowableOperations,["String"])),s.hasOwnProperty("path")&&(a.path=n.constructFromObject(s.path)),s.hasOwnProperty("permissions")&&(a.permissions=i.constructFromObject(s.permissions))),a},r.prototype.id=void 0,r.prototype.name=void 0,r.prototype.nodeType=void 0,r.prototype.isFolder=void 0,r.prototype.isFile=void 0,r.prototype.isLocked=!1,r.prototype.modifiedAt=void 0,r.prototype.modifiedByUser=void 0,r.prototype.createdAt=void 0,r.prototype.createdByUser=void 0,r.prototype.parentId=void 0,r.prototype.isLink=void 0,r.prototype.content=void 0,r.prototype.aspectNames=void 0,r.prototype.properties=void 0,r.prototype.allowableOperations=void 0,r.prototype.path=void 0,r.prototype.permissions=void 0,r})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(378)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t,e,n,i,o){this.id=t,this.firstName=e,this.lastName=n,this.email=i,this.enabled=o};return n.constructFromObject=function(i,o){return i&&(o=i||new n,i.hasOwnProperty("id")&&(o.id=t.convertToType(i.id,"String")),i.hasOwnProperty("firstName")&&(o.firstName=t.convertToType(i.firstName,"String")),i.hasOwnProperty("lastName")&&(o.lastName=t.convertToType(i.lastName,"String")),i.hasOwnProperty("description")&&(o.description=t.convertToType(i.description,"String")),i.hasOwnProperty("avatarId")&&(o.avatarId=t.convertToType(i.avatarId,"String")),i.hasOwnProperty("email")&&(o.email=t.convertToType(i.email,"String")),i.hasOwnProperty("skypeId")&&(o.skypeId=t.convertToType(i.skypeId,"String")),i.hasOwnProperty("googleId")&&(o.googleId=t.convertToType(i.googleId,"String")),i.hasOwnProperty("instantMessageId")&&(o.instantMessageId=t.convertToType(i.instantMessageId,"String")),i.hasOwnProperty("jobTitle")&&(o.jobTitle=t.convertToType(i.jobTitle,"String")),i.hasOwnProperty("location")&&(o.location=t.convertToType(i.location,"String")),i.hasOwnProperty("company")&&(o.company=e.constructFromObject(i.company)),i.hasOwnProperty("mobile")&&(o.mobile=t.convertToType(i.mobile,"String")),i.hasOwnProperty("telephone")&&(o.telephone=t.convertToType(i.telephone,"String")),i.hasOwnProperty("statusUpdatedAt")&&(o.statusUpdatedAt=t.convertToType(i.statusUpdatedAt,"Date")),i.hasOwnProperty("userStatus")&&(o.userStatus=t.convertToType(i.userStatus,"String")),i.hasOwnProperty("enabled")&&(o.enabled=t.convertToType(i.enabled,"Boolean")),i.hasOwnProperty("emailNotificationsEnabled")&&(o.emailNotificationsEnabled=t.convertToType(i.emailNotificationsEnabled,"Boolean"))),o},n.prototype.id=void 0,n.prototype.firstName=void 0,n.prototype.lastName=void 0,n.prototype.description=void 0,n.prototype.avatarId=void 0,n.prototype.email=void 0,n.prototype.skypeId=void 0,n.prototype.googleId=void 0,n.prototype.instantMessageId=void 0,n.prototype.jobTitle=void 0,n.prototype.location=void 0,n.prototype.company=void 0,n.prototype.mobile=void 0,n.prototype.telephone=void 0,n.prototype.statusUpdatedAt=void 0,n.prototype.userStatus=void 0,n.prototype.enabled=!0,n.prototype.emailNotificationsEnabled=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(10)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=i||new n,i.hasOwnProperty("adhocTaskCanBeReassigned")&&(o.adhocTaskCanBeReassigned=t.convertToType(i.adhocTaskCanBeReassigned,"Boolean")),i.hasOwnProperty("assignee")&&(o.assignee=e.constructFromObject(i.assignee)),i.hasOwnProperty("category")&&(o.category=t.convertToType(i.category,"String")),i.hasOwnProperty("created")&&(o.created=t.convertToType(i.created,"Date")),i.hasOwnProperty("description")&&(o.description=t.convertToType(i.description,"String")),i.hasOwnProperty("dueDate")&&(o.dueDate=t.convertToType(i.dueDate,"Date")),i.hasOwnProperty("duration")&&(o.duration=t.convertToType(i.duration,"Integer")),i.hasOwnProperty("endDate")&&(o.endDate=t.convertToType(i.endDate,"Date")),i.hasOwnProperty("formKey")&&(o.formKey=t.convertToType(i.formKey,"String")),i.hasOwnProperty("id")&&(o.id=t.convertToType(i.id,"String")),i.hasOwnProperty("initiatorCanCompleteTask")&&(o.initiatorCanCompleteTask=t.convertToType(i.initiatorCanCompleteTask,"Boolean")),i.hasOwnProperty("involvedPeople")&&(o.involvedPeople=t.convertToType(i.involvedPeople,[e])),i.hasOwnProperty("memberOfCandidateGroup")&&(o.memberOfCandidateGroup=t.convertToType(i.memberOfCandidateGroup,"Boolean")),i.hasOwnProperty("memberOfCandidateUsers")&&(o.memberOfCandidateUsers=t.convertToType(i.memberOfCandidateUsers,"Boolean")),i.hasOwnProperty("name")&&(o.name=t.convertToType(i.name,"String")),i.hasOwnProperty("parentTaskId")&&(o.parentTaskId=t.convertToType(i.parentTaskId,"String")),i.hasOwnProperty("parentTaskName")&&(o.parentTaskName=t.convertToType(i.parentTaskName,"String")),i.hasOwnProperty("priority")&&(o.priority=t.convertToType(i.priority,"Integer")),i.hasOwnProperty("processDefinitionCategory")&&(o.processDefinitionCategory=t.convertToType(i.processDefinitionCategory,"String")),i.hasOwnProperty("processDefinitionDeploymentId")&&(o.processDefinitionDeploymentId=t.convertToType(i.processDefinitionDeploymentId,"String")),i.hasOwnProperty("processDefinitionDescription")&&(o.processDefinitionDescription=t.convertToType(i.processDefinitionDescription,"String")),i.hasOwnProperty("processDefinitionId")&&(o.processDefinitionId=t.convertToType(i.processDefinitionId,"String")),i.hasOwnProperty("processDefinitionKey")&&(o.processDefinitionKey=t.convertToType(i.processDefinitionKey,"String")),i.hasOwnProperty("processDefinitionName")&&(o.processDefinitionName=t.convertToType(i.processDefinitionName,"String")),i.hasOwnProperty("processDefinitionVersion")&&(o.processDefinitionVersion=t.convertToType(i.processDefinitionVersion,"Integer")),i.hasOwnProperty("processInstanceId")&&(o.processInstanceId=t.convertToType(i.processInstanceId,"String")),i.hasOwnProperty("processInstanceName")&&(o.processInstanceName=t.convertToType(i.processInstanceName,"String")),i.hasOwnProperty("processInstanceStartUserId")&&(o.processInstanceStartUserId=t.convertToType(i.processInstanceStartUserId,"String"))),o},n.prototype.adhocTaskCanBeReassigned=void 0,n.prototype.assignee=void 0,n.prototype.category=void 0,n.prototype.created=void 0,n.prototype.description=void 0,n.prototype.dueDate=void 0,n.prototype.duration=void 0,n.prototype.endDate=void 0,n.prototype.formKey=void 0,n.prototype.id=void 0,n.prototype.initiatorCanCompleteTask=void 0,n.prototype.involvedPeople=void 0,n.prototype.memberOfCandidateGroup=void 0,n.prototype.memberOfCandidateUsers=void 0,n.prototype.name=void 0,n.prototype.parentTaskId=void 0,n.prototype.parentTaskName=void 0,n.prototype.priority=void 0,n.prototype.processDefinitionCategory=void 0,n.prototype.processDefinitionDeploymentId=void 0,n.prototype.processDefinitionDescription=void 0,n.prototype.processDefinitionId=void 0,n.prototype.processDefinitionKey=void 0,n.prototype.processDefinitionName=void 0,n.prototype.processDefinitionVersion=void 0,n.prototype.processInstanceId=void 0,n.prototype.processInstanceName=void 0,n.prototype.processInstanceStartUserId=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(10),n(19)],void 0===(r="function"==typeof(i=function(t,e,n){var i=function(){};return i.constructFromObject=function(o,r){return o&&(r=o||new i,o.hasOwnProperty("businessKey")&&(r.businessKey=t.convertToType(o.businessKey,"String")),o.hasOwnProperty("ended")&&(r.ended=t.convertToType(o.ended,"Date")),o.hasOwnProperty("graphicalNotationDefined")&&(r.graphicalNotationDefined=t.convertToType(o.graphicalNotationDefined,"Boolean")),o.hasOwnProperty("id")&&(r.id=t.convertToType(o.id,"String")),o.hasOwnProperty("name")&&(r.name=t.convertToType(o.name,"String")),o.hasOwnProperty("processDefinitionCategory")&&(r.processDefinitionCategory=t.convertToType(o.processDefinitionCategory,"String")),o.hasOwnProperty("processDefinitionDeploymentId")&&(r.processDefinitionDeploymentId=t.convertToType(o.processDefinitionDeploymentId,"String")),o.hasOwnProperty("processDefinitionDescription")&&(r.processDefinitionDescription=t.convertToType(o.processDefinitionDescription,"String")),o.hasOwnProperty("processDefinitionId")&&(r.processDefinitionId=t.convertToType(o.processDefinitionId,"String")),o.hasOwnProperty("processDefinitionKey")&&(r.processDefinitionKey=t.convertToType(o.processDefinitionKey,"String")),o.hasOwnProperty("processDefinitionName")&&(r.processDefinitionName=t.convertToType(o.processDefinitionName,"String")),o.hasOwnProperty("processDefinitionVersion")&&(r.processDefinitionVersion=t.convertToType(o.processDefinitionVersion,"Integer")),o.hasOwnProperty("startFormDefined")&&(r.startFormDefined=t.convertToType(o.startFormDefined,"Boolean")),o.hasOwnProperty("started")&&(r.started=t.convertToType(o.started,"Date")),o.hasOwnProperty("startedBy")&&(r.startedBy=e.constructFromObject(o.startedBy)),o.hasOwnProperty("tenantId")&&(r.tenantId=t.convertToType(o.tenantId,"String")),o.hasOwnProperty("variables")&&(r.variables=t.convertToType(o.variables,[n]))),r},i.prototype.businessKey=void 0,i.prototype.ended=void 0,i.prototype.graphicalNotationDefined=void 0,i.prototype.id=void 0,i.prototype.name=void 0,i.prototype.processDefinitionCategory=void 0,i.prototype.processDefinitionDeploymentId=void 0,i.prototype.processDefinitionDescription=void 0,i.prototype.processDefinitionId=void 0,i.prototype.processDefinitionKey=void 0,i.prototype.processDefinitionName=void 0,i.prototype.processDefinitionVersion=void 0,i.prototype.startFormDefined=void 0,i.prototype.started=void 0,i.prototype.startedBy=void 0,i.prototype.tenantId=void 0,i.prototype.variables=void 0,i})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(142),n(28),n(17)],void 0===(r="function"==typeof(i=function(t,e,n,i){var o=function(){};return o.constructFromObject=function(r,s){return r&&(s=r||new o,r.hasOwnProperty("capabilities")&&(s.capabilities=t.convertToType(r.capabilities,[e])),r.hasOwnProperty("externalId")&&(s.externalId=t.convertToType(r.externalId,"String")),r.hasOwnProperty("groups")&&(s.groups=t.convertToType(r.groups,[n])),r.hasOwnProperty("id")&&(s.id=t.convertToType(r.id,"Integer")),r.hasOwnProperty("lastSyncTimeStamp")&&(s.lastSyncTimeStamp=t.convertToType(r.lastSyncTimeStamp,"Date")),r.hasOwnProperty("name")&&(s.name=t.convertToType(r.name,"String")),r.hasOwnProperty("parentGroupId")&&(s.parentGroupId=t.convertToType(r.parentGroupId,"Integer")),r.hasOwnProperty("status")&&(s.status=t.convertToType(r.status,"String")),r.hasOwnProperty("tenantId")&&(s.tenantId=t.convertToType(r.tenantId,"Integer")),r.hasOwnProperty("type")&&(s.type=t.convertToType(r.type,"Integer")),r.hasOwnProperty("userCount")&&(s.userCount=t.convertToType(r.userCount,"Integer")),r.hasOwnProperty("users")&&(s.users=t.convertToType(r.users,[i]))),s},o.prototype.capabilities=void 0,o.prototype.externalId=void 0,o.prototype.groups=void 0,o.prototype.id=void 0,o.prototype.lastSyncTimeStamp=void 0,o.prototype.name=void 0,o.prototype.parentGroupId=void 0,o.prototype.status=void 0,o.prototype.tenantId=void 0,o.prototype.type=void 0,o.prototype.userCount=void 0,o.prototype.users=void 0,o})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(10)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=i||new n,i.hasOwnProperty("created")&&(o.created=t.convertToType(i.created,"Date")),i.hasOwnProperty("createdBy")&&(o.createdBy=e.constructFromObject(i.createdBy)),i.hasOwnProperty("id")&&(o.id=t.convertToType(i.id,"Integer")),i.hasOwnProperty("message")&&(o.message=t.convertToType(i.message,"String"))),o},n.prototype.created=void 0,n.prototype.createdBy=void 0,n.prototype.id=void 0,n.prototype.message=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(30)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=i||new n,i.hasOwnProperty("externalId")&&(o.externalId=t.convertToType(i.externalId,"String")),i.hasOwnProperty("groups")&&(o.groups=t.convertToType(i.groups,[e])),i.hasOwnProperty("id")&&(o.id=t.convertToType(i.id,"Integer")),i.hasOwnProperty("name")&&(o.name=t.convertToType(i.name,"String")),i.hasOwnProperty("status")&&(o.status=t.convertToType(i.status,"String"))),o},n.prototype.externalId=void 0,n.prototype.groups=void 0,n.prototype.id=void 0,n.prototype.name=void 0,n.prototype.status=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(77)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=i||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0),n(76)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=i||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(){};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("name")&&(i.name=t.convertToType(n.name,"String")),n.hasOwnProperty("aspectNames")&&(i.aspectNames=t.convertToType(n.aspectNames,["String"])),n.hasOwnProperty("properties")&&(i.properties=t.convertToType(n.properties,{String:"String"}))),i},e.prototype.name=void 0,e.prototype.aspectNames=void 0,e.prototype.properties=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(0)],void 0===(r="function"==typeof(i=function(t){var e=function(t,e){this.level=t,this.reasonIds=e};return e.constructFromObject=function(n,i){return n&&(i=i||new e,n.hasOwnProperty("level")&&(i.level=t.convertToType(n.level,"String")),n.hasOwnProperty("classificationAgency")&&(i.classificationAgency=t.convertToType(n.classificationAgency,"String")),n.hasOwnProperty("reasonIds")&&(i.reasonIds=t.convertToType(n.reasonIds,["String"])),n.hasOwnProperty("downgradeOn")&&(i.downgradeOn=t.convertToType(n.downgradeOn,"Date")),n.hasOwnProperty("downgradeEvent")&&(i.downgradeEvent=t.convertToType(n.downgradeEvent,"String")),n.hasOwnProperty("downgradeInstructions")&&(i.downgradeInstructions=t.convertToType(n.downgradeInstructions,"String")),n.hasOwnProperty("declassifyOn")&&(i.declassifyOn=t.convertToType(n.declassifyOn,"Date")),n.hasOwnProperty("declassificationEvent")&&(i.declassificationEvent=t.convertToType(n.declassificationEvent,"String")),n.hasOwnProperty("exemptionIds")&&(i.exemptionIds=t.convertToType(n.exemptionIds,["String"]))),i},e.prototype.level=void 0,e.prototype.classificationAgency=void 0,e.prototype.reasonIds=void 0,e.prototype.downgradeOn=void 0,e.prototype.downgradeEvent=void 0,e.prototype.downgradeInstructions=void 0,e.prototype.declassifyOn=void 0,e.prototype.declassificationEvent=void 0,e.prototype.exemptionIds=void 0,e})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(37)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("list")&&(i.list=e.constructFromObject(t.list))),i},n.prototype.list=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(102)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(3)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.pagination=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("pagination")&&(i.pagination=e.constructFromObject(t.pagination))),i},n.prototype.pagination=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(329)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(339)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(343)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(119)],void 0===(r="function"==typeof(i=function(t,e){var n=function(t){this.entry=t};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("entry")&&(i.entry=e.constructFromObject(t.entry))),i},n.prototype.entry=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(349)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=i||new n,i.hasOwnProperty("name")&&(o.name=t.convertToType(i.name,"String")),i.hasOwnProperty("nodeType")&&(o.nodeType=t.convertToType(i.nodeType,"String")),i.hasOwnProperty("relativePath")&&(o.relativePath=t.convertToType(i.relativePath,"String")),i.hasOwnProperty("content")&&(o.content=e.constructFromObject(i.content)),i.hasOwnProperty("aspectNames")&&(o.aspectNames=t.convertToType(i.aspectNames,["String"])),i.hasOwnProperty("properties")&&(o.properties=t.convertToType(i.properties,{String:"String"}))),o},n.prototype.name=void 0,n.prototype.nodeType=void 0,n.prototype.relativePath=void 0,n.prototype.content=void 0,n.prototype.aspectNames=void 0,n.prototype.properties=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(350)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(t,i){return t&&(i=t||new n,t.hasOwnProperty("list")&&(i.list=e.constructFromObject(t.list))),i},n.prototype.list=void 0,n})?i.apply(e,o):i)||(t.exports=r)},function(t,e,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol;o=[n(1),n(360)],void 0===(r="function"==typeof(i=function(t,e){var n=function(){};return n.constructFromObject=function(i,o){return i&&(o=o||new n,i.hasOwnProperty("isInheritanceEnabled")&&(o.isInheritanceEnabled=t.convertToType(i.isInheritanceEnabled,"Boolean")),i.hasOwnProperty("inherited")&&(o.inherited=t.convertToType(i.inherited,[e])),i.hasOwnProperty("locallySet")&&(o.locallySet=t.convertToType(i.locallySet,[e])),i.hasOwnProperty("settable")&&(o.settable=t.convertToType(i.settable,["String"]))),o},n.prototype.isInheritanceEnabled=void 0,n.prototype.inherited=void 0,n.prototype.locall