From 905bdbc92e02d8b86031ba7a1a6decc3aa1b310c Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Tue, 15 Aug 2023 16:33:38 -0400 Subject: [PATCH 1/6] npm audit fix && remove coveralls dep --- dist/alks.min.js | 2 +- dist/alks.umd.js | 1 - docs/classes/export_.Alks.html | 60 +- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- package-lock.json | 1367 ++++------------- package.json | 1 - 42 files changed, 406 insertions(+), 1099 deletions(-) diff --git a/dist/alks.min.js b/dist/alks.min.js index c056072..5114f54 100644 --- a/dist/alks.min.js +++ b/dist/alks.min.js @@ -1 +1 @@ -!function(global,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((global="undefined"!=typeof globalThis?globalThis:global||self).alks={})}(this,function(e){"use strict";var a=window||this;function p(p){if(p.__esModule)return p;var d=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(p).forEach(function(e){var a=Object.getOwnPropertyDescriptor(p,e);Object.defineProperty(d,e,a.get?a:{enumerable:!0,get:function(){return p[e]}})}),d}var d=function(e,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(e[p]=a[p])})(e,a)};var t=function(){return(t=Object.assign||function(e){for(var a,p=1,d=arguments.length;p=e.length?void 0:e)&&e[d++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e,a){var p="function"==typeof Symbol&&e[Symbol.iterator];if(!p)return e;var d,t,i=p.call(e),r=[];try{for(;(void 0===a||0r[0]&&a[1] dist/alks.min.js',build:"npm run clean && npm run compile && npm run rollup && npm run minify",lint:"prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}",test:"npm run build && npm run lint && npm run mocha && npm run karma",mocha:"nyc mocha test/test.js",coverage:"nyc report --reporter=text-lcov | coveralls",karma:"karma start",docs:"typedoc src/alks.ts",prepare:"husky install",compile:"tsc"},files:["dist/"],repository:{type:"git",url:"https://github.com/Cox-Automotive/alks.js.git"},author:{name:"Cox Automotive",email:"paul.ofallon@coxautoinc.com",url:"https://github.com/Cox-Automotive/"},bugs:{url:"https://github.com/Cox-Automotive/alks.js/issues"},license:"MIT",engines:{node:">=14.0.0"},dependencies:{encoding:"^0.1.13","node-fetch":"^2.6.1",tslib:"^2.3.1"},devDependencies:{"@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/node":"^15.0.2","@types/node-fetch":"^2.5.10",browserify:"^17.0.0",chai:"^4.3.4","chai-as-promised":"^7.1.1",coveralls:"^3.0.3",eslint:"^7.25.0","eslint-plugin-jsdoc":"^4.1.1","fetch-mock":"^7.3.1",husky:"^6.0.0",karma:"^6.3.2","karma-browserify":"^8.0.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","lint-staged":"^11.0.0",mkdirp:"^1.0.4",mocha:"^10.0.0",nyc:"^15.1.0",prettier:"^2.3.0",rimraf:"^3.0.2",rollup:"^2.47.0","rollup-plugin-json":"^3.1.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-replace":"^2.2.0",sinon:"^10.0.0",tslint:"^6.1.3",typedoc:"^0.22.15",typescript:"^4.2.4","uglify-js":"^3.13.6"},prettier:{singleQuote:!0,semi:!0,arrowParens:"always",endOfLine:"lf",trailingComma:"es5"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["prettier --write"]}},u=void 0!==a?a:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function w(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=e.length;a>18&63]+h[d>>12&63]+h[d>>6&63]+h[63&d]);return t.join("")}function g(e){var a;v||w();for(var p=e.length,d=p%3,t="",i=[],r=0,n=p-d;r>2],t+=h[a<<4&63],t+="=="):2==d&&(a=(e[p-2]<<8)+e[p-1],t+=h[a>>10],t+=h[a>>4&63],t+=h[a<<2&63],t+="="),i.push(t),i.join("")}function b(e,a,p,d,t){var i,r,n=8*t-d-1,l=(1<>1,o=-7,s=p?t-1:0,u=p?-1:1,p=e[a+s];for(s+=u,i=p&(1<<-o)-1,p>>=-o,o+=n;0>=-o,o+=d;0>1,s=23===t?Math.pow(2,-24)-Math.pow(2,-77):0,u=d?0:i-1,h=d?1:-1,i=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(n=isNaN(a)?1:0,r=m):(r=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-r))<1&&(r--,d*=2),2<=(a+=1<=r+o?s/d:s*Math.pow(2,1-o))*d&&(r++,d/=2),m<=r+o?(n=0,r=m):1<=r+o?(n=(a*d-1)*Math.pow(2,t),r+=o):(n=a*Math.pow(2,o-1)*Math.pow(2,t),r=0));8<=t;e[p+u]=255&n,u+=h,n/=256,t-=8);for(r=r<=D())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D().toString(16)+" bytes");return 0|e}function O(e){return null!=e&&e._isBuffer}function L(e,a){if(O(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var p=(e="string"!=typeof e?""+e:e).length;if(0===p)return 0;for(var d=!1;;)switch(a){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*p;case"hex":return p>>>1;case"base64":return J(e).length;default:if(d)return X(e).length;a=(""+a).toLowerCase(),d=!0}}function B(e,a,p){var d,t,i,r=!1;if((a=void 0===a||a<0?0:a)>this.length)return"";if((p=void 0===p||p>this.length?this.length:p)<=0)return"";if((p>>>=0)<=(a>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,a,p){var d=e.length;(!a||a<0)&&(a=0);(!p||p<0||d=e.length){if(t)return-1;p=e.length-1}else if(p<0){if(!t)return-1;p=0}if(O(a="string"==typeof a?R.from(a,d):a))return 0===a.length?-1:F(e,a,p,d,t);if("number"==typeof a)return a&=255,R.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(t?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,a,p):F(e,[a],p,d,t);throw new TypeError("val must be string, number or Buffer")}function F(e,a,p,d,t){var i=1,r=e.length,n=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(e.length<2||a.length<2)return-1;r/=i=2,n/=2,p/=2}function l(e,a){return 1===i?e[a]:e.readUInt16BE(a*i)}if(t)for(var m=-1,o=p;o>8,d=d%256,t.push(d),t.push(p);return t}(a,e.length-p),e,p,d)}function z(e,a,p){p=Math.min(e.length,p);for(var d=[],t=a;t>>10&1023|55296),o=56320|1023&o),d.push(o),t+=s}return function(e){var a=e.length;if(a<=M)return String.fromCharCode.apply(String,e);var p="",d=0;for(;d"},R.prototype.compare=function(e,a,p,d,t){if(!O(e))throw new TypeError("Argument must be a Buffer");if(void 0===p&&(p=e?e.length:0),void 0===d&&(d=0),void 0===t&&(t=this.length),(a=void 0===a?0:a)<0||p>e.length||d<0||t>this.length)throw new RangeError("out of range index");if(t<=d&&p<=a)return 0;if(t<=d)return-1;if(p<=a)return 1;if(this===e)return 0;for(var i=(t>>>=0)-(d>>>=0),r=(p>>>=0)-(a>>>=0),n=Math.min(i,r),l=this.slice(d,t),m=e.slice(a,p),o=0;othis.length)throw new RangeError("Attempt to write outside buffer bounds");d=d||"utf8";for(var i,r,n,l=!1;;)switch(d){case"hex":return function(e,a,p,d){p=Number(p)||0;var t=e.length-p;if((!d||t<(d=Number(d)))&&(d=t),(t=a.length)%2!=0)throw new TypeError("Invalid hex string");t/2e.length)throw new RangeError("Index out of range")}function H(e,a,p,d){a<0&&(a=65535+a+1);for(var t=0,i=Math.min(e.length-p,2);t>>8*(d?t:1-t)}function K(e,a,p,d){a<0&&(a=4294967295+a+1);for(var t=0,i=Math.min(e.length-p,4);t>>8*(d?t:3-t)&255}function Y(e,a,p,d){if(p+d>e.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function W(e,a,p,d,t){return t||Y(e,0,p,4),y(e,a,p,d,23,4),p+4}function $(e,a,p,d,t){return t||Y(e,0,p,8),y(e,a,p,d,52,8),p+8}R.prototype.slice=function(e,a){var p=this.length;if((e=~~e)<0?(e+=p)<0&&(e=0):p>>8):H(this,e,a,!0),a+2},R.prototype.writeUInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeUInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e):K(this,e,a,!0),a+4},R.prototype.writeUInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeIntLE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=0,i=1,r=0;for(this[a]=255&e;++t>0)-r&255;return a+p},R.prototype.writeIntBE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=p-1,i=1,r=0;for(this[a+t]=255&e;0<=--t&&(i*=256);)e<0&&0===r&&0!==this[a+t+1]&&(r=1),this[a+t]=(e/i>>0)-r&255;return a+p},R.prototype.writeInt8=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,1,127,-128),R.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[a]=255&(e=e<0?255+e+1:e),a+1},R.prototype.writeInt16LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8):H(this,e,a,!0),a+2},R.prototype.writeInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24):K(this,e,a,!0),a+4},R.prototype.writeInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeFloatLE=function(e,a,p){return W(this,e,a,!0,p)},R.prototype.writeFloatBE=function(e,a,p){return W(this,e,a,!1,p)},R.prototype.writeDoubleLE=function(e,a,p){return $(this,e,a,!0,p)},R.prototype.writeDoubleBE=function(e,a,p){return $(this,e,a,!1,p)},R.prototype.copy=function(e,a,p,d){if(p=p||0,d||0===d||(d=this.length),a>=e.length&&(a=e.length),(d=0=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);var t,i=(d=e.length-a>>=0,p=void 0===p?this.length:p>>>0,"number"==typeof(e=e||0))for(n=a;n>6|192,63&p|128)}else if(p<65536){if((a-=3)<0)break;i.push(p>>12|224,p>>6&63|128,63&p|128)}else{if(!(p<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;i.push(p>>18|240,p>>12&63|128,p>>6&63|128,63&p|128)}}return i}function J(e){return function(e){var a;v||w();var p=e.length;if(0>16&255,t[r++]=a>>8&255,t[r++]=255&a;return 2==d?(a=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,t[r++]=255&a):1==d&&(a=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,t[r++]=a>>8&255,t[r++]=255&a),t}(function(e){var a;if((e=((a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,a,p,d){for(var t=0;t=a.length||t>=e.length);++t)a[t+p]=e[t];return t}function ee(e){return null!=e&&(!!e._isBuffer||ae(e)||"function"==typeof(e=e).readFloatLE&&"function"==typeof e.slice&&ae(e.slice(0,0)))}function ae(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pe=p(Object.freeze({__proto__:null,Buffer:R,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return R.alloc(+(e=+e!=e?0:e))},isBuffer:ee,kMaxLength:T}));function de(){}function te(){te.init.call(this)}function ie(e){return void 0===e._maxListeners?te.defaultMaxListeners:e._maxListeners}function re(e,a,p,d){var t,i;if("function"!=typeof p)throw new TypeError('"listener" argument must be a function');return(t=e._events)?(t.newListener&&(e.emit("newListener",a,p.listener||p),t=e._events),i=t[a]):(t=e._events=new de,e._eventsCount=0),i?("function"==typeof i?i=t[a]=d?[p,i]:[i,p]:d?i.unshift(p):i.push(p),i.warned||(d=ie(e))&&0d&&(i.warned=!0,(d=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+a+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",d.emitter=e,d.type=a,d.count=i.length,d=d,"function"==typeof console.warn?console.warn(d):console.log(d))):(i=t[a]=p,++e._eventsCount),e}function ne(e,a,p){var d=!1;function t(){e.removeListener(a,t),d||(d=!0,p.apply(e,arguments))}return t.listener=p,t}function le(e){var a=this._events;if(a){e=a[e];if("function"==typeof e)return 1;if(e)return e.length}return 0}function me(e,a){for(var p=new Array(a);a--;)p[a]=e[a];return p}function oe(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}de.prototype=Object.create(null),(te.EventEmitter=te).usingDomains=!1,te.prototype.domain=void 0,te.prototype._events=void 0,te.prototype._maxListeners=void 0,te.defaultMaxListeners=10,te.init=function(){this.domain=null,te.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new de,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},te.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},te.prototype.getMaxListeners=function(){return ie(this)},te.prototype.emit=function(e){var a,p,d,t="error"===e,i=this._events;if(i)t=t&&null==i.error;else if(!t)return!1;if(r=this.domain,t){if(t=arguments[1],r)return(t=t||new Error('Uncaught, unspecified "error" event')).domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1;if(t instanceof Error)throw t;var r=new Error('Uncaught, unspecified "error" event. ('+t+")");throw r.context=t,r}if(!(a=i[e]))return!1;var n,l="function"==typeof a;switch(n=arguments.length){case 1:!function(e,a,p){if(a)e.call(p);else for(var d=e.length,t=me(e,d),i=0;i>>0),p=this.head,d=0;p;)p.data.copy(a,d),d+=p.data.length,p=p.next;return a};var aa=R.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function pa(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!aa(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ta;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ia;break;default:return void(this.write=da)}this.charBuffer=new R(6),this.charReceived=0,this.charLength=0}function da(e){return e.toString(this.encoding)}function ta(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ia(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}pa.prototype.write=function(e){for(var a="";this.charLength;){var p=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,p),this.charReceived+=p,this.charReceived>5==6){this.charLength=2;break}if(a<=2&&p>>4==14){this.charLength=3;break}if(a<=3&&p>>3==30){this.charLength=4;break}}this.charReceived=a},pa.prototype.end=function(e){var a,p,d="";return e&&e.length&&(d=this.write(e)),this.charReceived&&(a=this.charReceived,p=this.charBuffer,e=this.encoding,d+=p.slice(0,a).toString(e)),d},ma.ReadableState=la;var ra,na=(Ke(Be)&&(Be=""),ra=(ra="stream").toUpperCase(),Pe[ra]||(new RegExp("\\b"+ra+"\\b","i").test(Be)?Pe[ra]=function(){var e=function(e){if(!He(e)){for(var a=[],p=0;pa.highWaterMark&&(a.highWaterMark=(sa<=(p=e)?p=sa:(p--,p|=p>>>1,p|=p>>>2,p|=p>>>4,p|=p>>>8,p|=p>>>16,p++),p)),e<=a.length?e:a.ended?a.length:(a.needReadable=!0,0));var p}function ha(e){var a=e._readableState;a.needReadable=!1,a.emittedReadable||(na("emitReadable",a.flowing),a.emittedReadable=!0,a.sync?ye(ca,e):ca(e))}function ca(e){na("emit readable"),e.emit("readable"),_a(e)}function fa(e,a){for(var p=a.length;!a.reading&&!a.flowing&&!a.ended&&a.length=a.length?(p=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.head.data:a.buffer.concat(a.length),a.buffer.clear()):p=function(e,a,p){var d;ei.length?i.length:e;if(r===i.length?t+=i:t+=i.slice(0,e),0===(e-=r)){r===i.length?(++d,p.next?a.head=p.next:a.head=a.tail=null):(a.head=p).data=i.slice(r);break}++d}return a.length-=d,t}:function(e,a){var p=R.allocUnsafe(e),d=a.head,t=1;d.data.copy(p),e-=d.data.length;for(;d=d.next;){var i=d.data,r=e>i.length?i.length:e;if(i.copy(p,p.length-e,0,r),0===(e-=r)){r===i.length?(++t,d.next?a.head=d.next:a.head=a.tail=null):(a.head=d).data=i.slice(r);break}++t}return a.length-=t,p})(e,a);return d}(e,a.buffer,a.decoder),p);var p}function ba(e){var a=e._readableState;if(0=a.highWaterMark||a.ended))return na("read: emitReadable",a.length,a.ended),(0===a.length&&a.ended?ba:ha)(this),null;if(0===(e=ua(e,a))&&a.ended)return 0===a.length&&ba(this),null;var d=a.needReadable;return na("need readable",d),(0===a.length||a.length-ea._pos){var d=p.substr(a._pos);if("x-user-defined"===a._charset){for(var t=new R(d.length),i=0;ia._pos&&(a.push(new R(new Uint8Array(r.result.slice(a._pos)))),a._pos=r.result.byteLength)},r.onload=function(){a.push(null)},r.readAsArrayBuffer(p)}a._xhr.readyState===pp&&"ms-stream"!==a._mode&&a.push(null)},De(tp,Va);var ip=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];tp.prototype.setHeader=function(e,a){var p=e.toLowerCase();-1===ip.indexOf(p)&&(this._headers[p]={name:e,value:a})},tp.prototype.getHeader=function(e){return this._headers[e.toLowerCase()].value},tp.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},tp.prototype._onFinish=function(){var a=this;if(!a._destroyed){var e,p=a._opts,d=a._headers;if("POST"!==p.method&&"PUT"!==p.method&&"PATCH"!==p.method||(e=function(){if(void 0!==Ha)return Ha;try{new u.Blob([new ArrayBuffer(1)]),Ha=!0}catch(e){Ha=!1}return Ha}()?new u.Blob(a._body.map(function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(ee(e)){for(var a=new Uint8Array(e.length),p=e.length,d=0;d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gp=np-lp,bp=Math.floor,yp=String.fromCharCode;function Sp(e){throw new RangeError(_p[e])}function Np(e,a){for(var p=e.length,d=[];p--;)d[p]=a(e[p]);return d}function Tp(e,a){var p=e.split("@"),d="";return 1>>10&1023|55296),e=56320|1023&e),a+=yp(e)}).join("")}function Ap(e,a){return e+22+75*(e<26)-((0!=a)<<5)}function Ep(e,a,p){var d=0;for(e=p?bp(e/sp):e>>1,e+=bp(e/a);gp*mp>>1bp((rp-o)/i))&&Sp("overflow"),o+=n*i,!(n<(n=r<=u?lp:u+mp<=r?mp:r-u));r+=np)i>bp(rp/(n=np-n))&&Sp("overflow"),i*=n;u=Ep(o-t,a=l.length+1,0==t),bp(o/a)>rp-s&&Sp("overflow"),s+=bp(o/a),o%=a,l.splice(o++,0,s)}return Vp(l)}function Rp(e){for(var a,p,d,t,i,r,n,l,m,o,s=[],u=(e=Dp(e)).length,h=hp,c=up,f=a=0;fbp((rp-a)/(l=p+1))&&Sp("overflow"),a+=(t-h)*l,h=t,f=0;frp&&Sp("overflow"),n==h){for(i=a,r=np;!(i<(m=r<=c?lp:c+mp<=r?mp:r-c));r+=np)s.push(yp(Ap(m+(o=i-m)%(m=np-m),0))),i=bp(o/m);s.push(yp(Ap(i,0))),c=Ep(a,l,p==d),a=0,++p}++a,++h}return s.join("")}function xp(e){return Tp(e,function(e){return fp.test(e)?kp(e.slice(4).toLowerCase()):e})}function Cp(e){return Tp(e,function(e){return vp.test(e)?"xn--"+Rp(e):e})}Ee={decode:Dp,encode:Vp},ke=Object.freeze({__proto__:null,decode:kp,encode:Rp,toUnicode:xp,toASCII:Cp,version:"1.4.1",ucs2:Ee,default:{version:"1.4.1",ucs2:Ee,toASCII:Cp,toUnicode:xp,encode:Rp,decode:kp}});var Op=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Lp(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Bp(e,a){if(e.map)return e.map(a);for(var p=[],d=0;d",'"',"`"," ","\r","\n","\t"]),Mp=["'"].concat(Ae),Zp=["%","/","?",";","#"].concat(Mp),qp=["/","?","#"],Hp=255,Kp=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Wp={javascript:!0,"javascript:":!0},$p={javascript:!0,"javascript:":!0},Gp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xp(e,a,p){if(e&&We(e)&&e instanceof Fp)return e;var d=new Fp;return d.parse(e,a,p),d}function Jp(e,a,p,d){if(!He(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var t=a.indexOf("?"),i=-1!==t&&tHp?e.hostname="":e.hostname=e.hostname.toLowerCase(),s||(e.hostname=Cp(e.hostname));var S=e.port?":"+e.port:"",N=e.hostname||"";e.host=N+S,e.href+=e.host,s&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==r[0]&&(r="/"+r))}if(!Wp[V])for(h=0,c=Mp.length;hi)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&a.clamp)return p=(a=p)%1==.5&&0==(1&a)?Math.floor(a):Math.round(a),pi&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=id(p)*Math.floor(Math.abs(p)),p%=r,!d.unsigned&&p>=n)return p-r;if(d.unsigned)if(p<0)p+=r;else if(-0===p)return 0;return p}}Ae.void=function(){},Ae.boolean=function(e){return!!e},Ae.byte=rd(8,{unsigned:!1}),Ae.octet=rd(8,{unsigned:!0}),Ae.short=rd(16,{unsigned:!1}),Ae["unsigned short"]=rd(16,{unsigned:!0}),Ae.long=rd(32,{unsigned:!1}),Ae["unsigned long"]=rd(32,{unsigned:!0}),Ae["long long"]=rd(32,{unsigned:!1,moduloBitLength:64}),Ae["unsigned long long"]=rd(32,{unsigned:!0,moduloBitLength:64}),Ae.double=function(e){e=+e;if(!Number.isFinite(e))throw new TypeError("Argument is not a finite floating-point value");return e},Ae["unrestricted double"]=function(e){e=+e;if(isNaN(e))throw new TypeError("Argument is NaN");return e},Ae.float=Ae.double,Ae["unrestricted float"]=Ae["unrestricted double"],Ae.DOMString=function(e,a){return(a=a||{}).treatNullAsEmptyString&&null===e?"":String(e)},Ae.ByteString=function(e,a){const p=String(e);var d;for(let e=0;void 0!==(d=p.codePointAt(e));++e)if(255=e)return t;t[0][0]>e?p=d-1:a=d+1}return null}var wd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function _d(e){return e.replace(wd,"_").length}var gd=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function bd(e,a,p){var d=function(e,a,p){for(var d=!1,t="",i=_d(e),r=0;r=Math.pow(256,5-p.length))return m;let t=p.pop(),i=0;for(const n of p)t+=n*Math.pow(256,3-i),++i;return t}function N(a){let p="";var d,t=function(a){let p=null,d=1,t=null,i=0;for(let e=0;ed&&(p=t,d=i),t=null,i=0):(null===t&&(t=e),++i);i>d&&(p=t,d=i);return{idx:p,len:d}}(a).idx;let i=!1;for(let e=0;e<=7;++e)i&&0===a[e]||(i=i&&!1,t!==e?(p+=a[e].toString(16),7!==e&&(p+=":")):(d=0===e?"::":":",p+=d,i=!0));return p}function T(e,a){if("["===e[0])return"]"!==e[e.length-1]?m:function(d){const t=[0,0,0,0,0,0,0,0];let i=0,a=null,r=0;if(58===(d=l.ucs2.decode(d))[r]){if(58!==d[r+1])return m;r+=2,++i,a=i}for(;rMath.pow(2,16)-1)return this.parseError=!0,m;this.url.port=a===(e=this.url.scheme,t[e])?null:a,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const k=new Set([47,92,63,35]);E.prototype["parse file"]=function(e){var a;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(a=this.input[this.pointer+1],!r(e)||58!==a&&124!==a)||2<=this.input.length-this.pointer-1&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),V(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},E.prototype["parse file slash"]=function(e){return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(e=this.base.path[0]).length&&r(e.codePointAt(0))&&":"===e[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},E.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&h(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=T(this.buffer,f(this.url));if(e===m)return m;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=a;return!0},E.prototype["parse path start"]=function(e){return f(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},E.prototype["parse path"]=function(e){if(isNaN(e)||47===e||f(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(f(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a?(V(this.url),47===e||f(this.url)&&92===e||this.url.path.push("")):!n(this.buffer)||47===e||f(this.url)&&92===e?n(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&h(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;1>>7)]}function st(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function ut(e,a,p){e.bi_valid>Zd-p?(e.bi_buf|=a<>Zd-e.bi_valid,e.bi_valid+=p-Zd):(e.bi_buf|=a<>>=1,p<<=1,0<--a;);return p>>>1}function ft(e,a,p){for(var d,t=new Array(Md+1),i=0,r=1;r<=Md;r++)t[r]=i=i+p[r-1]<<1;for(d=0;d<=a;d++){var n=e[2*d+1];0!==n&&(e[2*d]=ct(t[n]++,n))}}function vt(e){for(var a=0;a>1;1<=p;p--)gt(e,i,p);for(t=l;p=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gt(e,i,1),d=e.heap[1],e.heap[--e.heap_max]=p,e.heap[--e.heap_max]=d,i[2*t]=i[2*p]+i[2*d],e.depth[t]=(e.depth[p]>=e.depth[d]?e.depth[p]:e.depth[d])+1,i[2*p+1]=i[2*d+1]=t,e.heap[1]=t++,gt(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,a){for(var p,d,t,i,r,n=a.dyn_tree,l=a.max_code,m=a.stat_desc.static_tree,o=a.stat_desc.has_stree,s=a.stat_desc.extra_bits,u=a.stat_desc.extra_base,h=a.stat_desc.max_length,c=0,f=0;f<=Md;f++)e.bl_count[f]=0;for(n[2*e.heap[e.heap_max]+1]=0,p=e.heap_max+1;p>=7;i>=8,e.bi_valid-=8)}function Et(e,a,p,d){var t,i,r=0;0>>=1)if(1&a&&0!==e.dyn_ltree[2*p])return kd;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Rd;for(p=32;p>>3,(i=e.static_len+3+7>>>3)<=t&&(t=i)):t=i=p+5,p+4<=t&&-1!==a?Vt(e,a,p,d):e.strategy===Ed||i===t?(ut(e,(Ld<<1)+(d?1:0),3),bt(e,Qd,et)):(ut(e,(Bd<<1)+(d?1:0),3),function(e,a,p,d){var t;for(ut(e,a-257,5),ut(e,p-1,5),ut(e,d-4,4),t=0;t>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&p,e.last_lit++,0===a?e.dyn_ltree[2*p]++:(e.matches++,a--,e.dyn_ltree[2*(pt[p]+Ud+1)]++,e.dyn_dtree[2*ot(a)]++),e.last_lit===e.lit_bufsize-1}function Rt(e,a,p,d){for(var t=65535&e|0,i=e>>>16&65535|0,r=0;0!==p;){for(p-=r=2e3>>1:p>>>1;e[a]=p}return e}();function Ct(e,a,p,d){var t=xt,i=d+p;e^=-1;for(var r=d;r>>8^t[255&(e^a[r])];return-1^e}var Ot=0,Lt=1,Bt=3,Pt=4,Ut=5,Ft=0,It=1,jt=-2,zt=-3,Mt=-5,Zt=-1,qt=1,Ht=2,Kt=3,Yt=4,Wt=2,$t=8,Gt=9,Xt=286,Jt=30,Qt=19,ei=2*Xt+1,ai=15,pi=3,di=258,ti=di+pi+1,ii=32,ri=42,ni=69,li=73,mi=91,oi=103,si=113,ui=666,hi=1,ci=2,fi=3,vi=4,wi=3;function _i(e,a){return e.msg=Sd[a],a}function gi(e){return(e<<1)-(4e.avail_out?e.avail_out:p)&&(Td(e.output,a.pending_buf,a.pending_out,p,e.next_out),e.next_out+=p,a.pending_out+=p,e.total_out+=p,e.avail_out-=p,a.pending-=p,0===a.pending&&(a.pending_out=0))}function Si(e,a){Et(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,a),e.block_start=e.strstart,yi(e.strm)}function Ni(e,a){e.pending_buf[e.pending++]=a}function Ti(e,a){e.pending_buf[e.pending++]=a>>>8&255,e.pending_buf[e.pending++]=255&a}function Di(e,a){var p,d,t=e.max_chain_length,i=e.strstart,r=e.prev_length,n=e.nice_match,l=e.strstart>e.w_size-ti?e.strstart-(e.w_size-ti):0,m=e.window,o=e.w_mask,s=e.prev,u=e.strstart+di,h=m[i+r-1],c=m[i+r];e.prev_length>=e.good_match&&(t>>=2),n>e.lookahead&&(n=e.lookahead);do{if(m[(p=a)+r]===c&&m[p+r-1]===h&&m[p]===m[i]&&m[++p]===m[i+1]){for(i+=2,p++;m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&il&&0!=--t);return r<=e.lookahead?r:e.lookahead}function Vi(e){var a,p,d,t,i,r,n,l,m,o=e.w_size;do{if(m=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-ti)){for(Td(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,a=p=e.hash_size;d=e.head[--a],e.head[a]=o<=d?d-o:0,--p;);for(a=p=o;d=e.prev[--a],e.prev[a]=o<=d?d-o:0,--p;);m+=o}if(0===e.strm.avail_in)break;if(i=e.strm,r=e.window,n=e.strstart+e.lookahead,l=m,m=void 0,m=i.avail_in,p=0===(m=l=pi)for(t=e.strstart-e.insert,e.ins_h=e.window[t],e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi)if(d=kt(e,e.strstart-e.match_start,e.match_length-pi),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pi){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi&&e.match_length<=e.prev_length){for(t=e.strstart+e.lookahead-pi,d=kt(e,e.strstart-1-e.prev_match,e.prev_length-pi),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=t&&(e.ins_h=(e.ins_h<>8&255),Ni(p,p.gzhead.time>>16&255),Ni(p,p.gzhead.time>>24&255),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,255&p.gzhead.os),p.gzhead.extra&&p.gzhead.extra.length&&(Ni(p,255&p.gzhead.extra.length),Ni(p,p.gzhead.extra.length>>8&255)),p.gzhead.hcrc&&(e.adler=Ct(e.adler,p.pending_buf,p.pending,0)),p.gzindex=0,p.status=ni):(Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,wi),p.status=si)):(i=$t+(p.w_bits-8<<4)<<8,i|=(p.strategy>=Ht||p.level<2?0:p.level<6?1:6===p.level?2:3)<<6,0!==p.strstart&&(i|=ii),i+=31-i%31,p.status=si,Ti(p,i),0!==p.strstart&&(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),e.adler=1)),p.status===ni)if(p.gzhead.extra){for(d=p.pending;p.gzindex<(65535&p.gzhead.extra.length)&&(p.pending!==p.pending_buf_size||(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending!==p.pending_buf_size));)Ni(p,255&p.gzhead.extra[p.gzindex]),p.gzindex++;p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),p.gzindex===p.gzhead.extra.length&&(p.gzindex=0,p.status=li)}else p.status=li;if(p.status===li)if(p.gzhead.name){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.gzindex=0,p.status=mi)}else p.status=mi;if(p.status===mi)if(p.gzhead.comment){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.status=oi)}else p.status=oi;if(p.status===oi&&(p.gzhead.hcrc?(p.pending+2>p.pending_buf_size&&yi(e),p.pending+2<=p.pending_buf_size&&(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),e.adler=0,p.status=si)):p.status=si),0!==p.pending){if(yi(e),0===e.avail_out)return p.last_flush=-1,Ft}else if(0===e.avail_in&&gi(a)<=gi(r)&&a!==Pt)return _i(e,Mt);if(p.status===ui&&0!==e.avail_in)return _i(e,Mt);if(0!==e.avail_in||0!==p.lookahead||a!==Ot&&p.status!==ui){var r=p.strategy===Ht?function(e,a){for(var p;;){if(0===e.lookahead&&(Vi(e),0===e.lookahead)){if(a===Ot)return hi;break}if(e.match_length=0,p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):p.strategy===Kt?function(e,a){for(var p,d,t,i,r=e.window;;){if(e.lookahead<=di){if(Vi(e),e.lookahead<=di&&a===Ot)return hi;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=pi&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pi?(p=kt(e,1,e.match_length-pi),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):Oi[p.level].func(p,a);if(r!==fi&&r!==vi||(p.status=ui),r===hi||r===fi)return 0===e.avail_out&&(p.last_flush=-1),Ft;if(r===ci&&(a===Lt?At(p):a!==Ut&&(Vt(p,0,0,!1),a===Bt&&(bi(p.head),0===p.lookahead&&(p.strstart=0,p.block_start=0,p.insert=0))),yi(e),0===e.avail_out))return p.last_flush=-1,Ft}return a!==Pt?Ft:p.wrap<=0?It:(2===p.wrap?(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),Ni(p,e.adler>>16&255),Ni(p,e.adler>>24&255),Ni(p,255&e.total_in),Ni(p,e.total_in>>8&255),Ni(p,e.total_in>>16&255),Ni(p,e.total_in>>24&255)):(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),yi(e),0e.pending_buf_size-5&&(p=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vi(e),0===e.lookahead&&a===Ot)return hi;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var d=e.block_start+p;if((0===e.strstart||e.strstart>=d)&&(e.lookahead=e.strstart-d,e.strstart=d,Si(e,!1),0===e.strm.avail_out))return hi;if(e.strstart-e.block_start>=e.w_size-ti&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):(e.strstart>e.block_start&&(Si(e,!1),e.strm.avail_out),hi)}),new ki(4,4,8,4,Ai),new ki(4,5,16,8,Ai),new ki(4,6,32,32,Ai),new ki(4,4,16,16,Ei),new ki(8,16,32,32,Ei),new ki(8,16,128,128,Ei),new ki(8,32,128,256,Ei),new ki(32,128,258,1024,Ei),new ki(32,258,258,4096,Ei)],Li=30,Bi=12;var Pi=15,Ui=852,Fi=592,Ii=0,ji=1,zi=2,Mi=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zi=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qi=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Hi=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function Ki(e,a,p,d,t,i,r,n){for(var l,m,o,s,u,h,c,f,v,w=n.bits,_=0,g=0,b=0,y=0,S=0,N=0,T=0,D=0,V=0,A=0,E=null,k=0,R=new Vd(Pi+1),x=new Vd(Pi+1),C=null,O=0,_=0;_<=Pi;_++)R[_]=0;for(g=0;gh?(f=C[O+r[g]],E[k+r[g]]):(f=96,0),l=1<<(c=_-T),b=m=1<>T)+(m-=l)]=c<<24|f<<16|v|0,0!==m;);for(l=1<<_-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,g++,0==--R[_]){if(_===y)break;_=a[p+r[g]]}if(S<_&&(A&s)!==o){for(u+=b,D=1<<(N=_-(T=0===T?S:T));N+T>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Mr(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Vd(320),this.work=new Vd(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Zr(e){var a;return e&&e.state?((a=e.state).wsize=0,a.whave=0,a.wnext=0,(a=e)&&a.state?(e=a.state,a.total_in=a.total_out=e.total=0,a.msg="",e.wrap&&(a.adler=1&e.wrap),e.mode=nr,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Ad(Ir),e.distcode=e.distdyn=new Ad(jr),e.sane=1,e.back=-1,Qi):pr):pr}function qr(e,a){var p,d,t;return e?(p=new Mr,(e.state=p).window=null,d=a,(p=(p=e)&&p.state?(a=p.state,d<0?(t=0,d=-d):(t=1+(d>>4),d<48&&(d&=15)),d&&(d<8||15>>8&255,p.check=Ct(p.check,C,2,0),o=m=0,p.mode=lr;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",p.mode=Pr;break}if((15&m)!==rr){e.msg="unknown compression method",p.mode=Pr;break}if(o-=4,S=8+(15&(m>>>=4)),0===p.wbits)p.wbits=S;else if(S>p.wbits){e.msg="invalid window size",p.mode=Pr;break}p.dmax=1<>8&1),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=mr;case mr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>8&255,C[2]=m>>>16&255,C[3]=m>>>24&255,p.check=Ct(p.check,C,4,0)),o=m=0,p.mode=or;case or:for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>8),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=sr;case sr:if(1024&p.flags){for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0}else p.head&&(p.head.extra=null);p.mode=ur;case ur:if(1024&p.flags&&((h=n<(h=p.length)?n:h)&&(p.head&&(S=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),Td(p.head.extra,d,i,h,S)),512&p.flags&&(p.check=Ct(p.check,d,h,i)),n-=h,i+=h,p.length-=h),p.length))break e;p.length=0,p.mode=hr;case hr:if(2048&p.flags){if(0===n)break e;for(h=0;S=d[i+h++],p.head&&S&&p.length<65536&&(p.head.name+=String.fromCharCode(S)),S&&h>9&1,p.head.done=!0),e.adler=p.check=0,p.mode=_r;break;case vr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>=7&o,o-=7&o,p.mode=Or;break}for(;o<3;){if(0===n)break e;n--,m+=d[i++]<>>=1)){case 0:p.mode=br;break;case 1:if(!function(e){if(Yr){var a;for(Hr=new Ad(512),Kr=new Ad(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(Ki(Wi,e.lens,0,288,Hr,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;Ki($i,e.lens,0,32,Kr,0,e.work,{bits:5}),Yr=!1}e.lencode=Hr,e.lenbits=9,e.distcode=Kr,e.distbits=5}(p),p.mode=Vr,a!==Ji)break;m>>>=2,o-=2;break e;case 2:p.mode=Nr;break;case 3:e.msg="invalid block type",p.mode=Pr}m>>>=2,o-=2;break;case br:for(m>>>=7&o,o-=7&o;o<32;){if(0===n)break e;n--,m+=d[i++]<>>16^65535)){e.msg="invalid stored block lengths",p.mode=Pr;break}if(p.length=65535&m,o=m=0,p.mode=yr,a===Ji)break e;case yr:p.mode=Sr;case Sr:if(h=p.length){if(0===(h=l<(h=n>>=5,o-=5,p.ndist=1+(31&m),m>>>=5,o-=5,p.ncode=4+(15&m),m>>>=4,o-=4,286>>=3,o-=3}for(;p.have<19;)p.lens[O[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,T={bits:p.lenbits},N=Ki(Yi,p.lens,0,19,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid code lengths set",p.mode=Pr;break}p.have=0,p.mode=Dr;case Dr:for(;p.have>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=v,o-=v,p.lens[p.have++]=_;else{if(16===_){for(D=v+2;o>>=v,o-=v,0===p.have){e.msg="invalid bit length repeat",p.mode=Pr;break}S=p.lens[p.have-1],h=3+(3&m),m>>>=2,o-=2}else if(17===_){for(D=v+3;o>>=v)),m>>>=3,o-=3}else{for(D=v+7;o>>=v)),m>>>=7,o-=7}if(p.have+h>p.nlen+p.ndist){e.msg="invalid bit length repeat",p.mode=Pr;break}for(;h--;)p.lens[p.have++]=S}}if(p.mode===Pr)break;if(0===p.lens[256]){e.msg="invalid code -- missing end-of-block",p.mode=Pr;break}if(p.lenbits=9,T={bits:p.lenbits},N=Ki(Wi,p.lens,0,p.nlen,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid literal/lengths set",p.mode=Pr;break}if(p.distbits=6,p.distcode=p.distdyn,T={bits:p.distbits},N=Ki($i,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,T),p.distbits=T.bits,N){e.msg="invalid distances set",p.mode=Pr;break}if(p.mode=Vr,a===Ji)break e;case Vr:p.mode=Ar;case Ar:if(6<=n&&258<=l){e.next_out=r,e.avail_out=l,e.next_in=i,e.avail_in=n,p.hold=m,p.bits=o,function(e,a){var p,d,t,i,r,n,l=e.state,m=e.next_in,o=e.input,s=m+(e.avail_in-5),u=e.next_out,h=e.output,c=u-(a-e.avail_out),f=u+(e.avail_out-257),v=l.dmax,w=l.wsize,_=l.whave,g=l.wnext,b=l.window,y=l.hold,S=l.bits,N=l.lencode,T=l.distcode,D=(1<>>=d=p>>>24,S-=d,0===(d=p>>>16&255))h[u++]=65535&p;else{if(!(16&d)){if(0==(64&d)){p=N[(65535&p)+(y&(1<>>=d,S-=d),S<15&&(y+=o[m++]<>>=d=p>>>24,S-=d,!(16&(d=p>>>16&255))){if(0==(64&d)){p=T[(65535&p)+(y&(1<>>=d,S-=d,(d=u-c)>3)<<3))-1,e.next_in=m-=t,e.next_out=u,e.avail_in=m>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,p.length=_,0===w){p.mode=Cr;break}if(32&w){p.back=-1,p.mode=_r;break}if(64&w){e.msg="invalid literal/length code",p.mode=Pr;break}p.extra=15&w,p.mode=Er;case Er:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=kr;case kr:for(;w=(x=p.distcode[m&(1<>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,64&w){e.msg="invalid distance code",p.mode=Pr;break}p.offset=_,p.extra=15&w,p.mode=Rr;case Rr:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){e.msg="invalid distance too far back",p.mode=Pr;break}p.mode=xr;case xr:if(0===l)break e;if(p.offset>(h=u-l)){if((h=p.offset-h)>p.whave&&p.sane){e.msg="invalid distance too far back",p.mode=Pr;break}c=h>p.wnext?(h-=p.wnext,p.wsize-h):p.wnext-h,h>p.length&&(h=p.length),f=p.window}else f=t,c=r-p.offset,h=p.length;for(l-=h=l=R.wsize?(Td(R.window,A,E-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(V=R.wsize-R.wnext,Td(R.window,A,E-k,V=kan.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsan.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelan.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelan.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=an.Z_FILTERED&&e.strategy!=an.Z_HUFFMAN_ONLY&&e.strategy!=an.Z_RLE&&e.strategy!=an.Z_FIXED&&e.strategy!=an.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!R.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new an.Zlib(a);var p=this;this._hadError=!1,this._binding.onerror=function(e,a){p._binding=null,p._hadError=!0;e=new Error(e);e.errno=a,e.code=an.codes[a],p.emit("error",e)};var d=an.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(d=e.level);a=an.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||an.Z_DEFAULT_WINDOWBITS,d,e.memLevel||an.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new R(this._chunkSize),this._offset=0,this._closed=!1,this._level=d,this._strategy=a,this.once("end",this.close)}Object.keys(pn).forEach(function(e){pn[pn[e]]=e}),De(hn,za),hn.prototype.params=function(e,a,p){if(ean.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(a!=an.Z_FILTERED&&a!=an.Z_HUFFMAN_ONLY&&a!=an.Z_RLE&&a!=an.Z_FIXED&&a!=an.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+a);var d;this._level!==e||this._strategy!==a?(d=this).flush(an.Z_SYNC_FLUSH,function(){d._binding.params(e,a),d._hadError||(d._level=e,d._strategy=a,p&&p())}):Oe.nextTick(p)},hn.prototype.reset=function(){return this._binding.reset()},hn.prototype._flush=function(e){this._transform(new R(0),"",e)},hn.prototype.flush=function(e,a){var p,d=this._writableState;"function"!=typeof e&&(void 0!==e||a)||(a=e,e=an.Z_FULL_FLUSH),d.ended?a&&Oe.nextTick(a):d.ending?a&&this.once("end",a):d.needDrain?(p=this).once("drain",function(){p.flush(a)}):(this._flushFlag=e,this.write(new R(0),"",a))},hn.prototype.close=function(e){var a;e&&Oe.nextTick(e),this._closed||(this._closed=!0,this._binding.close(),a=this,Oe.nextTick(function(){a.emit("close")}))},hn.prototype._transform=function(e,a,p){var d,t=this._writableState,i=(t.ending||t.ended)&&(!e||t.length===e.length);if(null===!e&&!R.isBuffer(e))return p(new Error("invalid input"));i?d=an.Z_FINISH:(d=this._flushFlag,e.length>=t.length&&(this._flushFlag=this._opts.flush||an.Z_NO_FLUSH)),this._processChunk(e,d,p)},hn.prototype._processChunk=function(t,i,r){var n=t&&t.length,l=this._chunkSize-this._offset,m=0,o=this,s="function"==typeof r;if(!s){var a,u=[],h=0;this.on("error",function(e){a=e});do{var e=this._binding.writeSync(i,t,m,n,this._buffer,this._offset,l)}while(!this._hadError&&c(e[0],e[1]));if(this._hadError)throw a;var p=R.concat(u,h);return this.close(),p}p=this._binding.write(i,t,m,n,this._buffer,this._offset,l);function c(e,a){if(!o._hadError){var p,d=l-a;if(!function(e,a){if(!e)throw new Error(a)}(0<=d,"have should not go down"),0=o._chunkSize)&&(l=o._chunkSize,o._offset=0,o._buffer=new R(o._chunkSize)),0===a){if(m+=n-e,n=e,!s)return!0;e=o._binding.write(i,t,m,n,o._buffer,o._offset,o._chunkSize);return e.callback=c,void(e.buffer=t)}if(!s)return!1;r()}}p.buffer=t,p.callback=c},De(rn,hn),De(nn,hn),De(ln,hn),De(mn,hn),De(on,hn),De(sn,hn),De(un,hn);var cn={codes:pn,createDeflate:function(e){return new rn(e)},createInflate:function(e){return new nn(e)},createDeflateRaw:function(e){return new on(e)},createInflateRaw:function(e){return new sn(e)},createGzip:function(e){return new ln(e)},createGunzip:function(e){return new mn(e)},createUnzip:function(e){return new un(e)},deflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new rn(a),e,p)},deflateSync:function(e,a){return tn(new rn(a),e)},gzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new ln(a),e,p)},gzipSync:function(e,a){return tn(new ln(a),e)},deflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new on(a),e,p)},deflateRawSync:function(e,a){return tn(new on(a),e)},unzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new un(a),e,p)},unzipSync:function(e,a){return tn(new un(a),e)},inflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new nn(a),e,p)},inflateSync:function(e,a){return tn(new nn(a),e)},gunzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new mn(a),e,p)},gunzipSync:function(e,a){return tn(new mn(a),e)},inflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new sn(a),e,p)},inflateRawSync:function(e,a){return tn(new sn(a),e)},Deflate:rn,Inflate:nn,Gzip:ln,Gunzip:mn,DeflateRaw:on,InflateRaw:sn,Unzip:un,Zlib:hn};const fn=qa.Readable,vn=Symbol("buffer"),wn=Symbol("type");class _n{constructor(){this[wn]="";var e=arguments[0],a=arguments[1];const p=[];let d=0;if(e){var t=e,i=Number(t.length);for(let a=0;ad.size)return n=!0,void a(new gn(`content size at ${d.url} over limit: ${d.size}`,"max-size"));r+=e.length,i.push(e)}}),t.on("end",function(){if(!n){clearTimeout(p);try{e(Buffer.concat(i,r))}catch(e){a(new gn(`Could not create Buffer from response body for ${d.url}: ${e.message}`,"system",e))}}})})}function Dn(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function Vn(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function An(e){var a,p;let d=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return d instanceof qa&&"function"!=typeof d.getBoundary&&(a=new Sn,p=new Sn,d.pipe(a),d.pipe(p),e[yn].body=a,d=p),d}function En(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Dn(e)?"application/x-www-form-urlencoded;charset=UTF-8":Vn(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof qa?null:"text/plain;charset=UTF-8"}function kn(e){const a=e.body;return null===a?0:Vn(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync&&(a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength())?a.getLengthSync():null}Nn.prototype={get body(){return this[yn].body},get bodyUsed(){return this[yn].disturbed},arrayBuffer(){return Tn.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let a=this.headers&&this.headers.get("content-type")||"";return Tn.call(this).then(function(e){return Object.assign(new _n([],{type:a.toLowerCase()}),{[vn]:e})})},json(){var a=this;return Tn.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(e){return Nn.Promise.reject(new gn(`invalid json response body at ${a.url} reason: ${e.message}`,"invalid-json"))}})},text(){return Tn.call(this).then(function(e){return e.toString()})},buffer(){return Tn.call(this)},textConverted(){var a=this;return Tn.call(this).then(function(e){return function(e,a){if("function"!=typeof bn)throw new Error("The package `encoding` must be installed to use the textConverted() function");a=a.get("content-type");let p="utf-8",d,t;a&&(d=/charset=([^;]*)/i.exec(a));t=e.slice(0,1024).toString(),!d&&t&&(d=/=u.follow)return s(new gn(`maximum redirect reached at: ${u.url}`,"max-redirect")),void f();const r={headers:new Pn(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(!pl(u.url,e))for(const n of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(n);return 303!==a.statusCode&&u.body&&null===kn(u)?(s(new gn("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==a.statusCode&&(301!==a.statusCode&&302!==a.statusCode||"POST"!==u.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),o(dl(new Xn(e,r))),void f())}}a.once("end",function(){h&&h.removeEventListener("abort",v)});let t=a.pipe(new al);const i={url:u.url,status:a.statusCode,statusText:a.statusMessage,headers:p,size:u.size,timeout:u.timeout,counter:u.counter};var e=p.get("Content-Encoding");if(!u.compress||"HEAD"===u.method||null===e||204===a.statusCode||304===a.statusCode)return c=new Zn(t,i),void o(c);d={flush:cn.Z_SYNC_FLUSH,finishFlush:cn.Z_SYNC_FLUSH};if("gzip"==e||"x-gzip"==e)return t=t.pipe(cn.createGunzip(d)),c=new Zn(t,i),void o(c);if("deflate"!=e&&"x-deflate"!=e){if("br"==e&&"function"==typeof cn.createBrotliDecompress)return t=t.pipe(cn.createBrotliDecompress()),c=new Zn(t,i),void o(c);c=new Zn(t,i),o(c)}else{const l=a.pipe(new al);l.once("data",function(e){t=8==(15&e[0])?t.pipe(cn.createInflate()):t.pipe(cn.createInflateRaw()),c=new Zn(t,i),o(c)})}}),function(e,a){const p=a.body;null===p?e.end():Vn(p)?p.stream().pipe(e):Buffer.isBuffer(p)?(e.write(p),e.end()):p.pipe(e)}(d,u)}})}dl.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},dl.Promise=a.Promise;var a=p(Object.freeze({__proto__:null,default:dl,Headers:Pn,Request:Xn,Response:Zn,FetchError:gn})),tl=m,il=tl.__importStar(o),rl=pe;tl.__importDefault(a);var nl=window.fetch.bind(window);!function(e){(a=e.TrustType||(e.TrustType={})).CrossAccount="Cross Account",a.InnerAccount="Inner Account",(r=e.PseudoBoolean||(e.PseudoBoolean={}))[r.True=1]="True",r[r.False=0]="False";var a=(p.prototype.create=function(e){return new p(tl.__assign(tl.__assign({},this.config),e))},p.prototype.getAccounts=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccounts",p)];case 1:return a=e.sent(),[2,Object.keys(a.accountListRole).map(function(e){return{account:e,role:a.accountListRole[e][0].role,iamKeyActive:a.accountListRole[e][0].iamKeyActive,maxKeyDuration:a.accountListRole[e][0].maxKeyDuration,securityLevel:a.accountListRole[e][0].securityLevel,skypieaAccount:a.accountListRole[e][0].skypieaAccount}})]}})})},p.prototype.getKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getIAMKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getIAMKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getAllAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.getDynamicValues?"allAwsRoleTypes?getDynamicValues=true":"allAwsRoleTypes",[4,this.internalFetch(a,p,"GET")];case 1:return[2,e.sent().roleTypes]}})})},p.prototype.getAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.getNonServiceAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getNonServiceAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.createRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=null!=d.roleType,p=null!=d.trustPolicy,a==p?[3,2]:[4,this.internalFetch("createRole",d)];case 1:return(p=e.sent()).denyArns=p.denyArns.split(","),[2,i(p,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])];case 2:throw new Error("Must include roleType or trustPolicy, but not both.")}})})},p.prototype.createNonServiceRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("createNonServiceRole",p)];case 1:return(a=e.sent()).denyArns=a.denyArns.split(","),[2,i(a,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])]}})})},p.prototype.awsAccountRoles=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("awsAccountRoles?account="+a.account,a,"GET")];case 1:return[2,e.sent().awsRoleList]}})})},p.prototype.listAWSAccountRoles=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("listAWSAccountRoles",p)];case 1:return a=e.sent(),[2,JSON.parse(a.jsonAWSRoleList).map(function(e){return e.split("/").slice(-1)[0]})]}})})},p.prototype.getAccountRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccountRole",p)];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags","maxSessionDurationInSeconds"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.updateRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("role",p,"PATCH")];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.deleteRole=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("deleteRole",a)];case 1:return e.sent(),[2,!0]}})})},p.prototype.addRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a)];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.deleteRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a,"DELETE")];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.getUserAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/"+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserAccessByRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("reports/users-by-role?accountId="+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserRoleAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/roles/"+a,p)];case 1:return[2,e.sent().roles]}})})},p.prototype.getAccountOwners=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/owners/"+a,p,"GET")];case 1:return[2,e.sent().accountOwners]}})})},p.prototype.createAccessKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessKeys",a)];case 1:return[2,i(e.sent(),["iamUserArn","accessKey","secretKey","addedIAMUserToGroup","tags"])]}})})},p.prototype.getIamUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("iam-users/id/"+a.account+"/"+a.iamUserName,a,"GET")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.updateIamUser=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return delete(a=tl.__assign(tl.__assign({},p),{user:{tags:p.tags}})).tags,[4,this.internalFetch("iam-users/id/"+p.account+"/"+p.iamUserName,a,"PATCH")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.deleteIAMUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("IAMUser",a,"DELETE")];case 1:return e.sent(),[2,!0]}})})},p.prototype.version=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("version",a,"GET")];case 1:return[2,i(e.sent(),["version"])]}})})},p.prototype.getLoginRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=d.accountId,p=d.role,[4,this.internalFetch("loginRoles/id/"+a+"/"+p,d,"GET")];case 1:return[2,i(e.sent().loginRole,["account","role","iamKeyActive","maxKeyDuration","securityLevel"])]}})})},p.prototype.getAccessToken=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessToken",a)];case 1:return[2,i(e.sent(),["accessToken","expiresIn"])]}})})},p.prototype.getRefreshTokens=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("refreshTokens",a,"GET")];case 1:return[2,e.sent().refreshTokens.map(function(e){return i(e,["clientId","id","userId","value"])})]}})})},p.prototype.revoke=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("revoke",a)];case 1:return[2,"Success"==e.sent().statusMessage]}})})},p.prototype.getCostTotals=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("costTotals/"+a.accountId,a,"GET")];case 1:return[2,i(e.sent().costTotals,["awsAccountId","yyyy","mm","dd","daily","weekly","monthly","yearly","dailyCostsByService","monthlyCostsByService"])]}})})},p.prototype.internalFetch=function(n,l,m){return void 0===l&&(l={}),void 0===m&&(m="POST"),tl.__awaiter(this,void 0,void 0,function(){var a,p,d,t,i,r;return tl.__generator(this,function(e){switch(e.label){case 0:return a=tl.__assign(tl.__assign({},this.config),l),r=tl.__assign({},a),p={"Content-Type":"application/json","User-Agent":"AlksJS/"+il.version},void 0!==a.accessToken?(p.Authorization="Bearer "+a.accessToken,delete r.accessToken):void 0!==a.accessKey?(p["ALKS-STS-Access-Key"]=a.accessKey,p["ALKS-STS-Secret-Key"]=a.secretKey,p["ALKS-STS-Session-Token"]=a.sessionToken,delete r.accessKey,delete r.secretKey,delete r.sessionToken):void 0!==a.userid&&(console.error("The userid and password properties are deprecated and should be replaced with an access token"),d=function(e){void 0===e&&(e="");return rl.Buffer.from(e).toString("base64")}(a.userid+":"+a.password),p.Authorization="Basic "+d,delete r.userid,delete r.password),a.userAgent&&(p["User-Agent"]+=" "+a.userAgent,delete r.userAgent),[4,a._fetch(a.baseUrl+"/"+n,{method:m,headers:p,credentials:"omit",body:"GET"==m?void 0:JSON.stringify(r)})];case 1:t=e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.json()];case 3:return i=e.sent(),[3,5];case 4:return r=e.sent(),i={errors:[r.message]},[3,5];case 5:if(!t.ok)throw new o(t,i);return[2,i]}})})},p);function p(e){this.config=e}e.Alks=a;var t,o=(t=Error,tl.__extends(d,t),d);function d(e,a){var p=this,d=Array.isArray(null==a?void 0:a.errors)?a.errors:[];e.statusText&&d.unshift(e.statusText);d=d.join("; ");return(p=t.call(this,d)||this).status=e.status,p.message=d,Object.assign(p,a),p}function i(p,e){return e.reduce(function(e,a){return e[a]=p[a],e},{})}e.AlksError=o;var r=a.prototype.create.call({},{_fetch:nl});e.create=a.prototype.create.bind(r),e.getAccounts=a.prototype.getAccounts.bind(r),e.getKeys=a.prototype.getKeys.bind(r),e.getIAMKeys=a.prototype.getIAMKeys.bind(r),e.getAllAWSRoleTypes=a.prototype.getAllAWSRoleTypes.bind(r),e.getAWSRoleTypes=a.prototype.getAWSRoleTypes.bind(r),e.getNonServiceAWSRoleTypes=a.prototype.getNonServiceAWSRoleTypes.bind(r),e.createRole=a.prototype.createRole.bind(r),e.createNonServiceRole=a.prototype.createNonServiceRole.bind(r),e.awsAccountRoles=a.prototype.awsAccountRoles.bind(r),e.listAWSAccountRoles=a.prototype.listAWSAccountRoles.bind(r),e.getAccountRole=a.prototype.getAccountRole.bind(r),e.updateRole=a.prototype.updateRole.bind(r),e.deleteRole=a.prototype.deleteRole.bind(r),e.addRoleMachineIdentity=a.prototype.addRoleMachineIdentity.bind(r),e.deleteRoleMachineIdentity=a.prototype.deleteRoleMachineIdentity.bind(r),e.getUserAccess=a.prototype.getUserAccess.bind(r),e.getUserAccessByRole=a.prototype.getUserAccessByRole.bind(r),e.getUserRoleAccess=a.prototype.getUserRoleAccess.bind(r),e.getAccountOwners=a.prototype.getAccountOwners.bind(r),e.createAccessKeys=a.prototype.createAccessKeys.bind(r),e.getIamUser=a.prototype.getIamUser.bind(r),e.updateIamUser=a.prototype.updateIamUser.bind(r),e.deleteIAMUser=a.prototype.deleteIAMUser.bind(r),e.version=a.prototype.version.bind(r),e.getLoginRole=a.prototype.getLoginRole.bind(r),e.getAccessToken=a.prototype.getAccessToken.bind(r),e.getRefreshTokens=a.prototype.getRefreshTokens.bind(r),e.revoke=a.prototype.revoke.bind(r),e.getCostTotals=a.prototype.getCostTotals.bind(r)}(ll=ll||{});var ll=ll;e.default=ll,Object.defineProperty(e,"__esModule",{value:!0}),Object.assign(e,ll)}); +!function(global,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((global="undefined"!=typeof globalThis?globalThis:global||self).alks={})}(this,function(e){"use strict";var a=window||this;function p(p){if(p.__esModule)return p;var d=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(p).forEach(function(e){var a=Object.getOwnPropertyDescriptor(p,e);Object.defineProperty(d,e,a.get?a:{enumerable:!0,get:function(){return p[e]}})}),d}var d=function(e,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(e[p]=a[p])})(e,a)};var t=function(){return(t=Object.assign||function(e){for(var a,p=1,d=arguments.length;p=e.length?void 0:e)&&e[d++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e,a){var p="function"==typeof Symbol&&e[Symbol.iterator];if(!p)return e;var d,t,i=p.call(e),r=[];try{for(;(void 0===a||0r[0]&&a[1] dist/alks.min.js',build:"npm run clean && npm run compile && npm run rollup && npm run minify",lint:"prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}",test:"npm run build && npm run lint && npm run mocha && npm run karma",mocha:"nyc mocha test/test.js",coverage:"nyc report --reporter=text-lcov | coveralls",karma:"karma start",docs:"typedoc src/alks.ts",prepare:"husky install",compile:"tsc"},files:["dist/"],repository:{type:"git",url:"https://github.com/Cox-Automotive/alks.js.git"},author:{name:"Cox Automotive",email:"paul.ofallon@coxautoinc.com",url:"https://github.com/Cox-Automotive/"},bugs:{url:"https://github.com/Cox-Automotive/alks.js/issues"},license:"MIT",engines:{node:">=14.0.0"},dependencies:{encoding:"^0.1.13","node-fetch":"^2.6.1",tslib:"^2.3.1"},devDependencies:{"@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/node":"^15.0.2","@types/node-fetch":"^2.5.10",browserify:"^17.0.0",chai:"^4.3.4","chai-as-promised":"^7.1.1",eslint:"^7.25.0","eslint-plugin-jsdoc":"^4.1.1","fetch-mock":"^7.3.1",husky:"^6.0.0",karma:"^6.3.2","karma-browserify":"^8.0.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","lint-staged":"^11.0.0",mkdirp:"^1.0.4",mocha:"^10.0.0",nyc:"^15.1.0",prettier:"^2.3.0",rimraf:"^3.0.2",rollup:"^2.47.0","rollup-plugin-json":"^3.1.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-replace":"^2.2.0",sinon:"^10.0.0",tslint:"^6.1.3",typedoc:"^0.22.15",typescript:"^4.2.4","uglify-js":"^3.13.6"},prettier:{singleQuote:!0,semi:!0,arrowParens:"always",endOfLine:"lf",trailingComma:"es5"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["prettier --write"]}},u=void 0!==a?a:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function w(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=e.length;a>18&63]+h[d>>12&63]+h[d>>6&63]+h[63&d]);return t.join("")}function g(e){var a;v||w();for(var p=e.length,d=p%3,t="",i=[],r=0,n=p-d;r>2],t+=h[a<<4&63],t+="=="):2==d&&(a=(e[p-2]<<8)+e[p-1],t+=h[a>>10],t+=h[a>>4&63],t+=h[a<<2&63],t+="="),i.push(t),i.join("")}function b(e,a,p,d,t){var i,r,n=8*t-d-1,l=(1<>1,o=-7,s=p?t-1:0,u=p?-1:1,p=e[a+s];for(s+=u,i=p&(1<<-o)-1,p>>=-o,o+=n;0>=-o,o+=d;0>1,s=23===t?Math.pow(2,-24)-Math.pow(2,-77):0,u=d?0:i-1,h=d?1:-1,i=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(n=isNaN(a)?1:0,r=m):(r=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-r))<1&&(r--,d*=2),2<=(a+=1<=r+o?s/d:s*Math.pow(2,1-o))*d&&(r++,d/=2),m<=r+o?(n=0,r=m):1<=r+o?(n=(a*d-1)*Math.pow(2,t),r+=o):(n=a*Math.pow(2,o-1)*Math.pow(2,t),r=0));8<=t;e[p+u]=255&n,u+=h,n/=256,t-=8);for(r=r<=D())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D().toString(16)+" bytes");return 0|e}function O(e){return null!=e&&e._isBuffer}function L(e,a){if(O(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var p=(e="string"!=typeof e?""+e:e).length;if(0===p)return 0;for(var d=!1;;)switch(a){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*p;case"hex":return p>>>1;case"base64":return J(e).length;default:if(d)return X(e).length;a=(""+a).toLowerCase(),d=!0}}function B(e,a,p){var d,t,i,r=!1;if((a=void 0===a||a<0?0:a)>this.length)return"";if((p=void 0===p||p>this.length?this.length:p)<=0)return"";if((p>>>=0)<=(a>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,a,p){var d=e.length;(!a||a<0)&&(a=0);(!p||p<0||d=e.length){if(t)return-1;p=e.length-1}else if(p<0){if(!t)return-1;p=0}if(O(a="string"==typeof a?R.from(a,d):a))return 0===a.length?-1:F(e,a,p,d,t);if("number"==typeof a)return a&=255,R.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(t?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,a,p):F(e,[a],p,d,t);throw new TypeError("val must be string, number or Buffer")}function F(e,a,p,d,t){var i=1,r=e.length,n=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(e.length<2||a.length<2)return-1;r/=i=2,n/=2,p/=2}function l(e,a){return 1===i?e[a]:e.readUInt16BE(a*i)}if(t)for(var m=-1,o=p;o>8,d=d%256,t.push(d),t.push(p);return t}(a,e.length-p),e,p,d)}function z(e,a,p){p=Math.min(e.length,p);for(var d=[],t=a;t>>10&1023|55296),o=56320|1023&o),d.push(o),t+=s}return function(e){var a=e.length;if(a<=M)return String.fromCharCode.apply(String,e);var p="",d=0;for(;d"},R.prototype.compare=function(e,a,p,d,t){if(!O(e))throw new TypeError("Argument must be a Buffer");if(void 0===p&&(p=e?e.length:0),void 0===d&&(d=0),void 0===t&&(t=this.length),(a=void 0===a?0:a)<0||p>e.length||d<0||t>this.length)throw new RangeError("out of range index");if(t<=d&&p<=a)return 0;if(t<=d)return-1;if(p<=a)return 1;if(this===e)return 0;for(var i=(t>>>=0)-(d>>>=0),r=(p>>>=0)-(a>>>=0),n=Math.min(i,r),l=this.slice(d,t),m=e.slice(a,p),o=0;othis.length)throw new RangeError("Attempt to write outside buffer bounds");d=d||"utf8";for(var i,r,n,l=!1;;)switch(d){case"hex":return function(e,a,p,d){p=Number(p)||0;var t=e.length-p;if((!d||t<(d=Number(d)))&&(d=t),(t=a.length)%2!=0)throw new TypeError("Invalid hex string");t/2e.length)throw new RangeError("Index out of range")}function H(e,a,p,d){a<0&&(a=65535+a+1);for(var t=0,i=Math.min(e.length-p,2);t>>8*(d?t:1-t)}function K(e,a,p,d){a<0&&(a=4294967295+a+1);for(var t=0,i=Math.min(e.length-p,4);t>>8*(d?t:3-t)&255}function Y(e,a,p,d){if(p+d>e.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function W(e,a,p,d,t){return t||Y(e,0,p,4),y(e,a,p,d,23,4),p+4}function $(e,a,p,d,t){return t||Y(e,0,p,8),y(e,a,p,d,52,8),p+8}R.prototype.slice=function(e,a){var p=this.length;if((e=~~e)<0?(e+=p)<0&&(e=0):p>>8):H(this,e,a,!0),a+2},R.prototype.writeUInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeUInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e):K(this,e,a,!0),a+4},R.prototype.writeUInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeIntLE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=0,i=1,r=0;for(this[a]=255&e;++t>0)-r&255;return a+p},R.prototype.writeIntBE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=p-1,i=1,r=0;for(this[a+t]=255&e;0<=--t&&(i*=256);)e<0&&0===r&&0!==this[a+t+1]&&(r=1),this[a+t]=(e/i>>0)-r&255;return a+p},R.prototype.writeInt8=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,1,127,-128),R.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[a]=255&(e=e<0?255+e+1:e),a+1},R.prototype.writeInt16LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8):H(this,e,a,!0),a+2},R.prototype.writeInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24):K(this,e,a,!0),a+4},R.prototype.writeInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeFloatLE=function(e,a,p){return W(this,e,a,!0,p)},R.prototype.writeFloatBE=function(e,a,p){return W(this,e,a,!1,p)},R.prototype.writeDoubleLE=function(e,a,p){return $(this,e,a,!0,p)},R.prototype.writeDoubleBE=function(e,a,p){return $(this,e,a,!1,p)},R.prototype.copy=function(e,a,p,d){if(p=p||0,d||0===d||(d=this.length),a>=e.length&&(a=e.length),(d=0=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);var t,i=(d=e.length-a>>=0,p=void 0===p?this.length:p>>>0,"number"==typeof(e=e||0))for(n=a;n>6|192,63&p|128)}else if(p<65536){if((a-=3)<0)break;i.push(p>>12|224,p>>6&63|128,63&p|128)}else{if(!(p<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;i.push(p>>18|240,p>>12&63|128,p>>6&63|128,63&p|128)}}return i}function J(e){return function(e){var a;v||w();var p=e.length;if(0>16&255,t[r++]=a>>8&255,t[r++]=255&a;return 2==d?(a=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,t[r++]=255&a):1==d&&(a=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,t[r++]=a>>8&255,t[r++]=255&a),t}(function(e){var a;if((e=((a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,a,p,d){for(var t=0;t=a.length||t>=e.length);++t)a[t+p]=e[t];return t}function ee(e){return null!=e&&(!!e._isBuffer||ae(e)||"function"==typeof(e=e).readFloatLE&&"function"==typeof e.slice&&ae(e.slice(0,0)))}function ae(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pe=p(Object.freeze({__proto__:null,Buffer:R,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return R.alloc(+(e=+e!=e?0:e))},isBuffer:ee,kMaxLength:T}));function de(){}function te(){te.init.call(this)}function ie(e){return void 0===e._maxListeners?te.defaultMaxListeners:e._maxListeners}function re(e,a,p,d){var t,i;if("function"!=typeof p)throw new TypeError('"listener" argument must be a function');return(t=e._events)?(t.newListener&&(e.emit("newListener",a,p.listener||p),t=e._events),i=t[a]):(t=e._events=new de,e._eventsCount=0),i?("function"==typeof i?i=t[a]=d?[p,i]:[i,p]:d?i.unshift(p):i.push(p),i.warned||(d=ie(e))&&0d&&(i.warned=!0,(d=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+a+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",d.emitter=e,d.type=a,d.count=i.length,d=d,"function"==typeof console.warn?console.warn(d):console.log(d))):(i=t[a]=p,++e._eventsCount),e}function ne(e,a,p){var d=!1;function t(){e.removeListener(a,t),d||(d=!0,p.apply(e,arguments))}return t.listener=p,t}function le(e){var a=this._events;if(a){e=a[e];if("function"==typeof e)return 1;if(e)return e.length}return 0}function me(e,a){for(var p=new Array(a);a--;)p[a]=e[a];return p}function oe(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}de.prototype=Object.create(null),(te.EventEmitter=te).usingDomains=!1,te.prototype.domain=void 0,te.prototype._events=void 0,te.prototype._maxListeners=void 0,te.defaultMaxListeners=10,te.init=function(){this.domain=null,te.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new de,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},te.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},te.prototype.getMaxListeners=function(){return ie(this)},te.prototype.emit=function(e){var a,p,d,t="error"===e,i=this._events;if(i)t=t&&null==i.error;else if(!t)return!1;if(r=this.domain,t){if(t=arguments[1],r)return(t=t||new Error('Uncaught, unspecified "error" event')).domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1;if(t instanceof Error)throw t;var r=new Error('Uncaught, unspecified "error" event. ('+t+")");throw r.context=t,r}if(!(a=i[e]))return!1;var n,l="function"==typeof a;switch(n=arguments.length){case 1:!function(e,a,p){if(a)e.call(p);else for(var d=e.length,t=me(e,d),i=0;i>>0),p=this.head,d=0;p;)p.data.copy(a,d),d+=p.data.length,p=p.next;return a};var aa=R.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function pa(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!aa(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ta;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ia;break;default:return void(this.write=da)}this.charBuffer=new R(6),this.charReceived=0,this.charLength=0}function da(e){return e.toString(this.encoding)}function ta(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ia(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}pa.prototype.write=function(e){for(var a="";this.charLength;){var p=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,p),this.charReceived+=p,this.charReceived>5==6){this.charLength=2;break}if(a<=2&&p>>4==14){this.charLength=3;break}if(a<=3&&p>>3==30){this.charLength=4;break}}this.charReceived=a},pa.prototype.end=function(e){var a,p,d="";return e&&e.length&&(d=this.write(e)),this.charReceived&&(a=this.charReceived,p=this.charBuffer,e=this.encoding,d+=p.slice(0,a).toString(e)),d},ma.ReadableState=la;var ra,na=(Ke(Be)&&(Be=""),ra=(ra="stream").toUpperCase(),Pe[ra]||(new RegExp("\\b"+ra+"\\b","i").test(Be)?Pe[ra]=function(){var e=function(e){if(!He(e)){for(var a=[],p=0;pa.highWaterMark&&(a.highWaterMark=(sa<=(p=e)?p=sa:(p--,p|=p>>>1,p|=p>>>2,p|=p>>>4,p|=p>>>8,p|=p>>>16,p++),p)),e<=a.length?e:a.ended?a.length:(a.needReadable=!0,0));var p}function ha(e){var a=e._readableState;a.needReadable=!1,a.emittedReadable||(na("emitReadable",a.flowing),a.emittedReadable=!0,a.sync?ye(ca,e):ca(e))}function ca(e){na("emit readable"),e.emit("readable"),_a(e)}function fa(e,a){for(var p=a.length;!a.reading&&!a.flowing&&!a.ended&&a.length=a.length?(p=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.head.data:a.buffer.concat(a.length),a.buffer.clear()):p=function(e,a,p){var d;ei.length?i.length:e;if(r===i.length?t+=i:t+=i.slice(0,e),0===(e-=r)){r===i.length?(++d,p.next?a.head=p.next:a.head=a.tail=null):(a.head=p).data=i.slice(r);break}++d}return a.length-=d,t}:function(e,a){var p=R.allocUnsafe(e),d=a.head,t=1;d.data.copy(p),e-=d.data.length;for(;d=d.next;){var i=d.data,r=e>i.length?i.length:e;if(i.copy(p,p.length-e,0,r),0===(e-=r)){r===i.length?(++t,d.next?a.head=d.next:a.head=a.tail=null):(a.head=d).data=i.slice(r);break}++t}return a.length-=t,p})(e,a);return d}(e,a.buffer,a.decoder),p);var p}function ba(e){var a=e._readableState;if(0=a.highWaterMark||a.ended))return na("read: emitReadable",a.length,a.ended),(0===a.length&&a.ended?ba:ha)(this),null;if(0===(e=ua(e,a))&&a.ended)return 0===a.length&&ba(this),null;var d=a.needReadable;return na("need readable",d),(0===a.length||a.length-ea._pos){var d=p.substr(a._pos);if("x-user-defined"===a._charset){for(var t=new R(d.length),i=0;ia._pos&&(a.push(new R(new Uint8Array(r.result.slice(a._pos)))),a._pos=r.result.byteLength)},r.onload=function(){a.push(null)},r.readAsArrayBuffer(p)}a._xhr.readyState===pp&&"ms-stream"!==a._mode&&a.push(null)},De(tp,Va);var ip=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];tp.prototype.setHeader=function(e,a){var p=e.toLowerCase();-1===ip.indexOf(p)&&(this._headers[p]={name:e,value:a})},tp.prototype.getHeader=function(e){return this._headers[e.toLowerCase()].value},tp.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},tp.prototype._onFinish=function(){var a=this;if(!a._destroyed){var e,p=a._opts,d=a._headers;if("POST"!==p.method&&"PUT"!==p.method&&"PATCH"!==p.method||(e=function(){if(void 0!==Ha)return Ha;try{new u.Blob([new ArrayBuffer(1)]),Ha=!0}catch(e){Ha=!1}return Ha}()?new u.Blob(a._body.map(function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(ee(e)){for(var a=new Uint8Array(e.length),p=e.length,d=0;d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gp=np-lp,bp=Math.floor,yp=String.fromCharCode;function Sp(e){throw new RangeError(_p[e])}function Np(e,a){for(var p=e.length,d=[];p--;)d[p]=a(e[p]);return d}function Tp(e,a){var p=e.split("@"),d="";return 1>>10&1023|55296),e=56320|1023&e),a+=yp(e)}).join("")}function Ap(e,a){return e+22+75*(e<26)-((0!=a)<<5)}function Ep(e,a,p){var d=0;for(e=p?bp(e/sp):e>>1,e+=bp(e/a);gp*mp>>1bp((rp-o)/i))&&Sp("overflow"),o+=n*i,!(n<(n=r<=u?lp:u+mp<=r?mp:r-u));r+=np)i>bp(rp/(n=np-n))&&Sp("overflow"),i*=n;u=Ep(o-t,a=l.length+1,0==t),bp(o/a)>rp-s&&Sp("overflow"),s+=bp(o/a),o%=a,l.splice(o++,0,s)}return Vp(l)}function Rp(e){for(var a,p,d,t,i,r,n,l,m,o,s=[],u=(e=Dp(e)).length,h=hp,c=up,f=a=0;fbp((rp-a)/(l=p+1))&&Sp("overflow"),a+=(t-h)*l,h=t,f=0;frp&&Sp("overflow"),n==h){for(i=a,r=np;!(i<(m=r<=c?lp:c+mp<=r?mp:r-c));r+=np)s.push(yp(Ap(m+(o=i-m)%(m=np-m),0))),i=bp(o/m);s.push(yp(Ap(i,0))),c=Ep(a,l,p==d),a=0,++p}++a,++h}return s.join("")}function xp(e){return Tp(e,function(e){return fp.test(e)?kp(e.slice(4).toLowerCase()):e})}function Cp(e){return Tp(e,function(e){return vp.test(e)?"xn--"+Rp(e):e})}Ee={decode:Dp,encode:Vp},ke=Object.freeze({__proto__:null,decode:kp,encode:Rp,toUnicode:xp,toASCII:Cp,version:"1.4.1",ucs2:Ee,default:{version:"1.4.1",ucs2:Ee,toASCII:Cp,toUnicode:xp,encode:Rp,decode:kp}});var Op=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Lp(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Bp(e,a){if(e.map)return e.map(a);for(var p=[],d=0;d",'"',"`"," ","\r","\n","\t"]),Mp=["'"].concat(Ae),Zp=["%","/","?",";","#"].concat(Mp),qp=["/","?","#"],Hp=255,Kp=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Wp={javascript:!0,"javascript:":!0},$p={javascript:!0,"javascript:":!0},Gp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xp(e,a,p){if(e&&We(e)&&e instanceof Fp)return e;var d=new Fp;return d.parse(e,a,p),d}function Jp(e,a,p,d){if(!He(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var t=a.indexOf("?"),i=-1!==t&&tHp?e.hostname="":e.hostname=e.hostname.toLowerCase(),s||(e.hostname=Cp(e.hostname));var S=e.port?":"+e.port:"",N=e.hostname||"";e.host=N+S,e.href+=e.host,s&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==r[0]&&(r="/"+r))}if(!Wp[V])for(h=0,c=Mp.length;hi)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&a.clamp)return p=(a=p)%1==.5&&0==(1&a)?Math.floor(a):Math.round(a),pi&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=id(p)*Math.floor(Math.abs(p)),p%=r,!d.unsigned&&p>=n)return p-r;if(d.unsigned)if(p<0)p+=r;else if(-0===p)return 0;return p}}Ae.void=function(){},Ae.boolean=function(e){return!!e},Ae.byte=rd(8,{unsigned:!1}),Ae.octet=rd(8,{unsigned:!0}),Ae.short=rd(16,{unsigned:!1}),Ae["unsigned short"]=rd(16,{unsigned:!0}),Ae.long=rd(32,{unsigned:!1}),Ae["unsigned long"]=rd(32,{unsigned:!0}),Ae["long long"]=rd(32,{unsigned:!1,moduloBitLength:64}),Ae["unsigned long long"]=rd(32,{unsigned:!0,moduloBitLength:64}),Ae.double=function(e){e=+e;if(!Number.isFinite(e))throw new TypeError("Argument is not a finite floating-point value");return e},Ae["unrestricted double"]=function(e){e=+e;if(isNaN(e))throw new TypeError("Argument is NaN");return e},Ae.float=Ae.double,Ae["unrestricted float"]=Ae["unrestricted double"],Ae.DOMString=function(e,a){return(a=a||{}).treatNullAsEmptyString&&null===e?"":String(e)},Ae.ByteString=function(e,a){const p=String(e);var d;for(let e=0;void 0!==(d=p.codePointAt(e));++e)if(255=e)return t;t[0][0]>e?p=d-1:a=d+1}return null}var wd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function _d(e){return e.replace(wd,"_").length}var gd=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function bd(e,a,p){var d=function(e,a,p){for(var d=!1,t="",i=_d(e),r=0;r=Math.pow(256,5-p.length))return m;let t=p.pop(),i=0;for(const n of p)t+=n*Math.pow(256,3-i),++i;return t}function N(a){let p="";var d,t=function(a){let p=null,d=1,t=null,i=0;for(let e=0;ed&&(p=t,d=i),t=null,i=0):(null===t&&(t=e),++i);i>d&&(p=t,d=i);return{idx:p,len:d}}(a).idx;let i=!1;for(let e=0;e<=7;++e)i&&0===a[e]||(i=i&&!1,t!==e?(p+=a[e].toString(16),7!==e&&(p+=":")):(d=0===e?"::":":",p+=d,i=!0));return p}function T(e,a){if("["===e[0])return"]"!==e[e.length-1]?m:function(d){const t=[0,0,0,0,0,0,0,0];let i=0,a=null,r=0;if(58===(d=l.ucs2.decode(d))[r]){if(58!==d[r+1])return m;r+=2,++i,a=i}for(;rMath.pow(2,16)-1)return this.parseError=!0,m;this.url.port=a===(e=this.url.scheme,t[e])?null:a,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const k=new Set([47,92,63,35]);E.prototype["parse file"]=function(e){var a;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(a=this.input[this.pointer+1],!r(e)||58!==a&&124!==a)||2<=this.input.length-this.pointer-1&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),V(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},E.prototype["parse file slash"]=function(e){return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(e=this.base.path[0]).length&&r(e.codePointAt(0))&&":"===e[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},E.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&h(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=T(this.buffer,f(this.url));if(e===m)return m;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=a;return!0},E.prototype["parse path start"]=function(e){return f(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},E.prototype["parse path"]=function(e){if(isNaN(e)||47===e||f(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(f(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a?(V(this.url),47===e||f(this.url)&&92===e||this.url.path.push("")):!n(this.buffer)||47===e||f(this.url)&&92===e?n(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&h(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;1>>7)]}function st(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function ut(e,a,p){e.bi_valid>Zd-p?(e.bi_buf|=a<>Zd-e.bi_valid,e.bi_valid+=p-Zd):(e.bi_buf|=a<>>=1,p<<=1,0<--a;);return p>>>1}function ft(e,a,p){for(var d,t=new Array(Md+1),i=0,r=1;r<=Md;r++)t[r]=i=i+p[r-1]<<1;for(d=0;d<=a;d++){var n=e[2*d+1];0!==n&&(e[2*d]=ct(t[n]++,n))}}function vt(e){for(var a=0;a>1;1<=p;p--)gt(e,i,p);for(t=l;p=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gt(e,i,1),d=e.heap[1],e.heap[--e.heap_max]=p,e.heap[--e.heap_max]=d,i[2*t]=i[2*p]+i[2*d],e.depth[t]=(e.depth[p]>=e.depth[d]?e.depth[p]:e.depth[d])+1,i[2*p+1]=i[2*d+1]=t,e.heap[1]=t++,gt(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,a){for(var p,d,t,i,r,n=a.dyn_tree,l=a.max_code,m=a.stat_desc.static_tree,o=a.stat_desc.has_stree,s=a.stat_desc.extra_bits,u=a.stat_desc.extra_base,h=a.stat_desc.max_length,c=0,f=0;f<=Md;f++)e.bl_count[f]=0;for(n[2*e.heap[e.heap_max]+1]=0,p=e.heap_max+1;p>=7;i>=8,e.bi_valid-=8)}function Et(e,a,p,d){var t,i,r=0;0>>=1)if(1&a&&0!==e.dyn_ltree[2*p])return kd;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Rd;for(p=32;p>>3,(i=e.static_len+3+7>>>3)<=t&&(t=i)):t=i=p+5,p+4<=t&&-1!==a?Vt(e,a,p,d):e.strategy===Ed||i===t?(ut(e,(Ld<<1)+(d?1:0),3),bt(e,Qd,et)):(ut(e,(Bd<<1)+(d?1:0),3),function(e,a,p,d){var t;for(ut(e,a-257,5),ut(e,p-1,5),ut(e,d-4,4),t=0;t>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&p,e.last_lit++,0===a?e.dyn_ltree[2*p]++:(e.matches++,a--,e.dyn_ltree[2*(pt[p]+Ud+1)]++,e.dyn_dtree[2*ot(a)]++),e.last_lit===e.lit_bufsize-1}function Rt(e,a,p,d){for(var t=65535&e|0,i=e>>>16&65535|0,r=0;0!==p;){for(p-=r=2e3>>1:p>>>1;e[a]=p}return e}();function Ct(e,a,p,d){var t=xt,i=d+p;e^=-1;for(var r=d;r>>8^t[255&(e^a[r])];return-1^e}var Ot=0,Lt=1,Bt=3,Pt=4,Ut=5,Ft=0,It=1,jt=-2,zt=-3,Mt=-5,Zt=-1,qt=1,Ht=2,Kt=3,Yt=4,Wt=2,$t=8,Gt=9,Xt=286,Jt=30,Qt=19,ei=2*Xt+1,ai=15,pi=3,di=258,ti=di+pi+1,ii=32,ri=42,ni=69,li=73,mi=91,oi=103,si=113,ui=666,hi=1,ci=2,fi=3,vi=4,wi=3;function _i(e,a){return e.msg=Sd[a],a}function gi(e){return(e<<1)-(4e.avail_out?e.avail_out:p)&&(Td(e.output,a.pending_buf,a.pending_out,p,e.next_out),e.next_out+=p,a.pending_out+=p,e.total_out+=p,e.avail_out-=p,a.pending-=p,0===a.pending&&(a.pending_out=0))}function Si(e,a){Et(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,a),e.block_start=e.strstart,yi(e.strm)}function Ni(e,a){e.pending_buf[e.pending++]=a}function Ti(e,a){e.pending_buf[e.pending++]=a>>>8&255,e.pending_buf[e.pending++]=255&a}function Di(e,a){var p,d,t=e.max_chain_length,i=e.strstart,r=e.prev_length,n=e.nice_match,l=e.strstart>e.w_size-ti?e.strstart-(e.w_size-ti):0,m=e.window,o=e.w_mask,s=e.prev,u=e.strstart+di,h=m[i+r-1],c=m[i+r];e.prev_length>=e.good_match&&(t>>=2),n>e.lookahead&&(n=e.lookahead);do{if(m[(p=a)+r]===c&&m[p+r-1]===h&&m[p]===m[i]&&m[++p]===m[i+1]){for(i+=2,p++;m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&il&&0!=--t);return r<=e.lookahead?r:e.lookahead}function Vi(e){var a,p,d,t,i,r,n,l,m,o=e.w_size;do{if(m=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-ti)){for(Td(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,a=p=e.hash_size;d=e.head[--a],e.head[a]=o<=d?d-o:0,--p;);for(a=p=o;d=e.prev[--a],e.prev[a]=o<=d?d-o:0,--p;);m+=o}if(0===e.strm.avail_in)break;if(i=e.strm,r=e.window,n=e.strstart+e.lookahead,l=m,m=void 0,m=i.avail_in,p=0===(m=l=pi)for(t=e.strstart-e.insert,e.ins_h=e.window[t],e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi)if(d=kt(e,e.strstart-e.match_start,e.match_length-pi),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pi){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi&&e.match_length<=e.prev_length){for(t=e.strstart+e.lookahead-pi,d=kt(e,e.strstart-1-e.prev_match,e.prev_length-pi),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=t&&(e.ins_h=(e.ins_h<>8&255),Ni(p,p.gzhead.time>>16&255),Ni(p,p.gzhead.time>>24&255),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,255&p.gzhead.os),p.gzhead.extra&&p.gzhead.extra.length&&(Ni(p,255&p.gzhead.extra.length),Ni(p,p.gzhead.extra.length>>8&255)),p.gzhead.hcrc&&(e.adler=Ct(e.adler,p.pending_buf,p.pending,0)),p.gzindex=0,p.status=ni):(Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,wi),p.status=si)):(i=$t+(p.w_bits-8<<4)<<8,i|=(p.strategy>=Ht||p.level<2?0:p.level<6?1:6===p.level?2:3)<<6,0!==p.strstart&&(i|=ii),i+=31-i%31,p.status=si,Ti(p,i),0!==p.strstart&&(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),e.adler=1)),p.status===ni)if(p.gzhead.extra){for(d=p.pending;p.gzindex<(65535&p.gzhead.extra.length)&&(p.pending!==p.pending_buf_size||(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending!==p.pending_buf_size));)Ni(p,255&p.gzhead.extra[p.gzindex]),p.gzindex++;p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),p.gzindex===p.gzhead.extra.length&&(p.gzindex=0,p.status=li)}else p.status=li;if(p.status===li)if(p.gzhead.name){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.gzindex=0,p.status=mi)}else p.status=mi;if(p.status===mi)if(p.gzhead.comment){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.status=oi)}else p.status=oi;if(p.status===oi&&(p.gzhead.hcrc?(p.pending+2>p.pending_buf_size&&yi(e),p.pending+2<=p.pending_buf_size&&(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),e.adler=0,p.status=si)):p.status=si),0!==p.pending){if(yi(e),0===e.avail_out)return p.last_flush=-1,Ft}else if(0===e.avail_in&&gi(a)<=gi(r)&&a!==Pt)return _i(e,Mt);if(p.status===ui&&0!==e.avail_in)return _i(e,Mt);if(0!==e.avail_in||0!==p.lookahead||a!==Ot&&p.status!==ui){var r=p.strategy===Ht?function(e,a){for(var p;;){if(0===e.lookahead&&(Vi(e),0===e.lookahead)){if(a===Ot)return hi;break}if(e.match_length=0,p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):p.strategy===Kt?function(e,a){for(var p,d,t,i,r=e.window;;){if(e.lookahead<=di){if(Vi(e),e.lookahead<=di&&a===Ot)return hi;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=pi&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pi?(p=kt(e,1,e.match_length-pi),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):Oi[p.level].func(p,a);if(r!==fi&&r!==vi||(p.status=ui),r===hi||r===fi)return 0===e.avail_out&&(p.last_flush=-1),Ft;if(r===ci&&(a===Lt?At(p):a!==Ut&&(Vt(p,0,0,!1),a===Bt&&(bi(p.head),0===p.lookahead&&(p.strstart=0,p.block_start=0,p.insert=0))),yi(e),0===e.avail_out))return p.last_flush=-1,Ft}return a!==Pt?Ft:p.wrap<=0?It:(2===p.wrap?(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),Ni(p,e.adler>>16&255),Ni(p,e.adler>>24&255),Ni(p,255&e.total_in),Ni(p,e.total_in>>8&255),Ni(p,e.total_in>>16&255),Ni(p,e.total_in>>24&255)):(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),yi(e),0e.pending_buf_size-5&&(p=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vi(e),0===e.lookahead&&a===Ot)return hi;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var d=e.block_start+p;if((0===e.strstart||e.strstart>=d)&&(e.lookahead=e.strstart-d,e.strstart=d,Si(e,!1),0===e.strm.avail_out))return hi;if(e.strstart-e.block_start>=e.w_size-ti&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):(e.strstart>e.block_start&&(Si(e,!1),e.strm.avail_out),hi)}),new ki(4,4,8,4,Ai),new ki(4,5,16,8,Ai),new ki(4,6,32,32,Ai),new ki(4,4,16,16,Ei),new ki(8,16,32,32,Ei),new ki(8,16,128,128,Ei),new ki(8,32,128,256,Ei),new ki(32,128,258,1024,Ei),new ki(32,258,258,4096,Ei)],Li=30,Bi=12;var Pi=15,Ui=852,Fi=592,Ii=0,ji=1,zi=2,Mi=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zi=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qi=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Hi=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function Ki(e,a,p,d,t,i,r,n){for(var l,m,o,s,u,h,c,f,v,w=n.bits,_=0,g=0,b=0,y=0,S=0,N=0,T=0,D=0,V=0,A=0,E=null,k=0,R=new Vd(Pi+1),x=new Vd(Pi+1),C=null,O=0,_=0;_<=Pi;_++)R[_]=0;for(g=0;gh?(f=C[O+r[g]],E[k+r[g]]):(f=96,0),l=1<<(c=_-T),b=m=1<>T)+(m-=l)]=c<<24|f<<16|v|0,0!==m;);for(l=1<<_-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,g++,0==--R[_]){if(_===y)break;_=a[p+r[g]]}if(S<_&&(A&s)!==o){for(u+=b,D=1<<(N=_-(T=0===T?S:T));N+T>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Mr(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Vd(320),this.work=new Vd(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Zr(e){var a;return e&&e.state?((a=e.state).wsize=0,a.whave=0,a.wnext=0,(a=e)&&a.state?(e=a.state,a.total_in=a.total_out=e.total=0,a.msg="",e.wrap&&(a.adler=1&e.wrap),e.mode=nr,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Ad(Ir),e.distcode=e.distdyn=new Ad(jr),e.sane=1,e.back=-1,Qi):pr):pr}function qr(e,a){var p,d,t;return e?(p=new Mr,(e.state=p).window=null,d=a,(p=(p=e)&&p.state?(a=p.state,d<0?(t=0,d=-d):(t=1+(d>>4),d<48&&(d&=15)),d&&(d<8||15>>8&255,p.check=Ct(p.check,C,2,0),o=m=0,p.mode=lr;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",p.mode=Pr;break}if((15&m)!==rr){e.msg="unknown compression method",p.mode=Pr;break}if(o-=4,S=8+(15&(m>>>=4)),0===p.wbits)p.wbits=S;else if(S>p.wbits){e.msg="invalid window size",p.mode=Pr;break}p.dmax=1<>8&1),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=mr;case mr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>8&255,C[2]=m>>>16&255,C[3]=m>>>24&255,p.check=Ct(p.check,C,4,0)),o=m=0,p.mode=or;case or:for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>8),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=sr;case sr:if(1024&p.flags){for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0}else p.head&&(p.head.extra=null);p.mode=ur;case ur:if(1024&p.flags&&((h=n<(h=p.length)?n:h)&&(p.head&&(S=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),Td(p.head.extra,d,i,h,S)),512&p.flags&&(p.check=Ct(p.check,d,h,i)),n-=h,i+=h,p.length-=h),p.length))break e;p.length=0,p.mode=hr;case hr:if(2048&p.flags){if(0===n)break e;for(h=0;S=d[i+h++],p.head&&S&&p.length<65536&&(p.head.name+=String.fromCharCode(S)),S&&h>9&1,p.head.done=!0),e.adler=p.check=0,p.mode=_r;break;case vr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>=7&o,o-=7&o,p.mode=Or;break}for(;o<3;){if(0===n)break e;n--,m+=d[i++]<>>=1)){case 0:p.mode=br;break;case 1:if(!function(e){if(Yr){var a;for(Hr=new Ad(512),Kr=new Ad(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(Ki(Wi,e.lens,0,288,Hr,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;Ki($i,e.lens,0,32,Kr,0,e.work,{bits:5}),Yr=!1}e.lencode=Hr,e.lenbits=9,e.distcode=Kr,e.distbits=5}(p),p.mode=Vr,a!==Ji)break;m>>>=2,o-=2;break e;case 2:p.mode=Nr;break;case 3:e.msg="invalid block type",p.mode=Pr}m>>>=2,o-=2;break;case br:for(m>>>=7&o,o-=7&o;o<32;){if(0===n)break e;n--,m+=d[i++]<>>16^65535)){e.msg="invalid stored block lengths",p.mode=Pr;break}if(p.length=65535&m,o=m=0,p.mode=yr,a===Ji)break e;case yr:p.mode=Sr;case Sr:if(h=p.length){if(0===(h=l<(h=n>>=5,o-=5,p.ndist=1+(31&m),m>>>=5,o-=5,p.ncode=4+(15&m),m>>>=4,o-=4,286>>=3,o-=3}for(;p.have<19;)p.lens[O[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,T={bits:p.lenbits},N=Ki(Yi,p.lens,0,19,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid code lengths set",p.mode=Pr;break}p.have=0,p.mode=Dr;case Dr:for(;p.have>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=v,o-=v,p.lens[p.have++]=_;else{if(16===_){for(D=v+2;o>>=v,o-=v,0===p.have){e.msg="invalid bit length repeat",p.mode=Pr;break}S=p.lens[p.have-1],h=3+(3&m),m>>>=2,o-=2}else if(17===_){for(D=v+3;o>>=v)),m>>>=3,o-=3}else{for(D=v+7;o>>=v)),m>>>=7,o-=7}if(p.have+h>p.nlen+p.ndist){e.msg="invalid bit length repeat",p.mode=Pr;break}for(;h--;)p.lens[p.have++]=S}}if(p.mode===Pr)break;if(0===p.lens[256]){e.msg="invalid code -- missing end-of-block",p.mode=Pr;break}if(p.lenbits=9,T={bits:p.lenbits},N=Ki(Wi,p.lens,0,p.nlen,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid literal/lengths set",p.mode=Pr;break}if(p.distbits=6,p.distcode=p.distdyn,T={bits:p.distbits},N=Ki($i,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,T),p.distbits=T.bits,N){e.msg="invalid distances set",p.mode=Pr;break}if(p.mode=Vr,a===Ji)break e;case Vr:p.mode=Ar;case Ar:if(6<=n&&258<=l){e.next_out=r,e.avail_out=l,e.next_in=i,e.avail_in=n,p.hold=m,p.bits=o,function(e,a){var p,d,t,i,r,n,l=e.state,m=e.next_in,o=e.input,s=m+(e.avail_in-5),u=e.next_out,h=e.output,c=u-(a-e.avail_out),f=u+(e.avail_out-257),v=l.dmax,w=l.wsize,_=l.whave,g=l.wnext,b=l.window,y=l.hold,S=l.bits,N=l.lencode,T=l.distcode,D=(1<>>=d=p>>>24,S-=d,0===(d=p>>>16&255))h[u++]=65535&p;else{if(!(16&d)){if(0==(64&d)){p=N[(65535&p)+(y&(1<>>=d,S-=d),S<15&&(y+=o[m++]<>>=d=p>>>24,S-=d,!(16&(d=p>>>16&255))){if(0==(64&d)){p=T[(65535&p)+(y&(1<>>=d,S-=d,(d=u-c)>3)<<3))-1,e.next_in=m-=t,e.next_out=u,e.avail_in=m>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,p.length=_,0===w){p.mode=Cr;break}if(32&w){p.back=-1,p.mode=_r;break}if(64&w){e.msg="invalid literal/length code",p.mode=Pr;break}p.extra=15&w,p.mode=Er;case Er:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=kr;case kr:for(;w=(x=p.distcode[m&(1<>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,64&w){e.msg="invalid distance code",p.mode=Pr;break}p.offset=_,p.extra=15&w,p.mode=Rr;case Rr:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){e.msg="invalid distance too far back",p.mode=Pr;break}p.mode=xr;case xr:if(0===l)break e;if(p.offset>(h=u-l)){if((h=p.offset-h)>p.whave&&p.sane){e.msg="invalid distance too far back",p.mode=Pr;break}c=h>p.wnext?(h-=p.wnext,p.wsize-h):p.wnext-h,h>p.length&&(h=p.length),f=p.window}else f=t,c=r-p.offset,h=p.length;for(l-=h=l=R.wsize?(Td(R.window,A,E-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(V=R.wsize-R.wnext,Td(R.window,A,E-k,V=kan.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsan.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelan.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelan.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=an.Z_FILTERED&&e.strategy!=an.Z_HUFFMAN_ONLY&&e.strategy!=an.Z_RLE&&e.strategy!=an.Z_FIXED&&e.strategy!=an.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!R.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new an.Zlib(a);var p=this;this._hadError=!1,this._binding.onerror=function(e,a){p._binding=null,p._hadError=!0;e=new Error(e);e.errno=a,e.code=an.codes[a],p.emit("error",e)};var d=an.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(d=e.level);a=an.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||an.Z_DEFAULT_WINDOWBITS,d,e.memLevel||an.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new R(this._chunkSize),this._offset=0,this._closed=!1,this._level=d,this._strategy=a,this.once("end",this.close)}Object.keys(pn).forEach(function(e){pn[pn[e]]=e}),De(hn,za),hn.prototype.params=function(e,a,p){if(ean.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(a!=an.Z_FILTERED&&a!=an.Z_HUFFMAN_ONLY&&a!=an.Z_RLE&&a!=an.Z_FIXED&&a!=an.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+a);var d;this._level!==e||this._strategy!==a?(d=this).flush(an.Z_SYNC_FLUSH,function(){d._binding.params(e,a),d._hadError||(d._level=e,d._strategy=a,p&&p())}):Oe.nextTick(p)},hn.prototype.reset=function(){return this._binding.reset()},hn.prototype._flush=function(e){this._transform(new R(0),"",e)},hn.prototype.flush=function(e,a){var p,d=this._writableState;"function"!=typeof e&&(void 0!==e||a)||(a=e,e=an.Z_FULL_FLUSH),d.ended?a&&Oe.nextTick(a):d.ending?a&&this.once("end",a):d.needDrain?(p=this).once("drain",function(){p.flush(a)}):(this._flushFlag=e,this.write(new R(0),"",a))},hn.prototype.close=function(e){var a;e&&Oe.nextTick(e),this._closed||(this._closed=!0,this._binding.close(),a=this,Oe.nextTick(function(){a.emit("close")}))},hn.prototype._transform=function(e,a,p){var d,t=this._writableState,i=(t.ending||t.ended)&&(!e||t.length===e.length);if(null===!e&&!R.isBuffer(e))return p(new Error("invalid input"));i?d=an.Z_FINISH:(d=this._flushFlag,e.length>=t.length&&(this._flushFlag=this._opts.flush||an.Z_NO_FLUSH)),this._processChunk(e,d,p)},hn.prototype._processChunk=function(t,i,r){var n=t&&t.length,l=this._chunkSize-this._offset,m=0,o=this,s="function"==typeof r;if(!s){var a,u=[],h=0;this.on("error",function(e){a=e});do{var e=this._binding.writeSync(i,t,m,n,this._buffer,this._offset,l)}while(!this._hadError&&c(e[0],e[1]));if(this._hadError)throw a;var p=R.concat(u,h);return this.close(),p}p=this._binding.write(i,t,m,n,this._buffer,this._offset,l);function c(e,a){if(!o._hadError){var p,d=l-a;if(!function(e,a){if(!e)throw new Error(a)}(0<=d,"have should not go down"),0=o._chunkSize)&&(l=o._chunkSize,o._offset=0,o._buffer=new R(o._chunkSize)),0===a){if(m+=n-e,n=e,!s)return!0;e=o._binding.write(i,t,m,n,o._buffer,o._offset,o._chunkSize);return e.callback=c,void(e.buffer=t)}if(!s)return!1;r()}}p.buffer=t,p.callback=c},De(rn,hn),De(nn,hn),De(ln,hn),De(mn,hn),De(on,hn),De(sn,hn),De(un,hn);var cn={codes:pn,createDeflate:function(e){return new rn(e)},createInflate:function(e){return new nn(e)},createDeflateRaw:function(e){return new on(e)},createInflateRaw:function(e){return new sn(e)},createGzip:function(e){return new ln(e)},createGunzip:function(e){return new mn(e)},createUnzip:function(e){return new un(e)},deflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new rn(a),e,p)},deflateSync:function(e,a){return tn(new rn(a),e)},gzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new ln(a),e,p)},gzipSync:function(e,a){return tn(new ln(a),e)},deflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new on(a),e,p)},deflateRawSync:function(e,a){return tn(new on(a),e)},unzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new un(a),e,p)},unzipSync:function(e,a){return tn(new un(a),e)},inflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new nn(a),e,p)},inflateSync:function(e,a){return tn(new nn(a),e)},gunzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new mn(a),e,p)},gunzipSync:function(e,a){return tn(new mn(a),e)},inflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new sn(a),e,p)},inflateRawSync:function(e,a){return tn(new sn(a),e)},Deflate:rn,Inflate:nn,Gzip:ln,Gunzip:mn,DeflateRaw:on,InflateRaw:sn,Unzip:un,Zlib:hn};const fn=qa.Readable,vn=Symbol("buffer"),wn=Symbol("type");class _n{constructor(){this[wn]="";var e=arguments[0],a=arguments[1];const p=[];let d=0;if(e){var t=e,i=Number(t.length);for(let a=0;ad.size)return n=!0,void a(new gn(`content size at ${d.url} over limit: ${d.size}`,"max-size"));r+=e.length,i.push(e)}}),t.on("end",function(){if(!n){clearTimeout(p);try{e(Buffer.concat(i,r))}catch(e){a(new gn(`Could not create Buffer from response body for ${d.url}: ${e.message}`,"system",e))}}})})}function Dn(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function Vn(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function An(e){var a,p;let d=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return d instanceof qa&&"function"!=typeof d.getBoundary&&(a=new Sn,p=new Sn,d.pipe(a),d.pipe(p),e[yn].body=a,d=p),d}function En(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Dn(e)?"application/x-www-form-urlencoded;charset=UTF-8":Vn(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof qa?null:"text/plain;charset=UTF-8"}function kn(e){const a=e.body;return null===a?0:Vn(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync&&(a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength())?a.getLengthSync():null}Nn.prototype={get body(){return this[yn].body},get bodyUsed(){return this[yn].disturbed},arrayBuffer(){return Tn.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let a=this.headers&&this.headers.get("content-type")||"";return Tn.call(this).then(function(e){return Object.assign(new _n([],{type:a.toLowerCase()}),{[vn]:e})})},json(){var a=this;return Tn.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(e){return Nn.Promise.reject(new gn(`invalid json response body at ${a.url} reason: ${e.message}`,"invalid-json"))}})},text(){return Tn.call(this).then(function(e){return e.toString()})},buffer(){return Tn.call(this)},textConverted(){var a=this;return Tn.call(this).then(function(e){return function(e,a){if("function"!=typeof bn)throw new Error("The package `encoding` must be installed to use the textConverted() function");a=a.get("content-type");let p="utf-8",d,t;a&&(d=/charset=([^;]*)/i.exec(a));t=e.slice(0,1024).toString(),!d&&t&&(d=/=u.follow)return s(new gn(`maximum redirect reached at: ${u.url}`,"max-redirect")),void f();const r={headers:new Pn(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(!pl(u.url,e))for(const n of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(n);return 303!==a.statusCode&&u.body&&null===kn(u)?(s(new gn("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==a.statusCode&&(301!==a.statusCode&&302!==a.statusCode||"POST"!==u.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),o(dl(new Xn(e,r))),void f())}}a.once("end",function(){h&&h.removeEventListener("abort",v)});let t=a.pipe(new al);const i={url:u.url,status:a.statusCode,statusText:a.statusMessage,headers:p,size:u.size,timeout:u.timeout,counter:u.counter};var e=p.get("Content-Encoding");if(!u.compress||"HEAD"===u.method||null===e||204===a.statusCode||304===a.statusCode)return c=new Zn(t,i),void o(c);d={flush:cn.Z_SYNC_FLUSH,finishFlush:cn.Z_SYNC_FLUSH};if("gzip"==e||"x-gzip"==e)return t=t.pipe(cn.createGunzip(d)),c=new Zn(t,i),void o(c);if("deflate"!=e&&"x-deflate"!=e){if("br"==e&&"function"==typeof cn.createBrotliDecompress)return t=t.pipe(cn.createBrotliDecompress()),c=new Zn(t,i),void o(c);c=new Zn(t,i),o(c)}else{const l=a.pipe(new al);l.once("data",function(e){t=8==(15&e[0])?t.pipe(cn.createInflate()):t.pipe(cn.createInflateRaw()),c=new Zn(t,i),o(c)})}}),function(e,a){const p=a.body;null===p?e.end():Vn(p)?p.stream().pipe(e):Buffer.isBuffer(p)?(e.write(p),e.end()):p.pipe(e)}(d,u)}})}dl.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},dl.Promise=a.Promise;var a=p(Object.freeze({__proto__:null,default:dl,Headers:Pn,Request:Xn,Response:Zn,FetchError:gn})),tl=m,il=tl.__importStar(o),rl=pe;tl.__importDefault(a);var nl=window.fetch.bind(window);!function(e){(a=e.TrustType||(e.TrustType={})).CrossAccount="Cross Account",a.InnerAccount="Inner Account",(r=e.PseudoBoolean||(e.PseudoBoolean={}))[r.True=1]="True",r[r.False=0]="False";var a=(p.prototype.create=function(e){return new p(tl.__assign(tl.__assign({},this.config),e))},p.prototype.getAccounts=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccounts",p)];case 1:return a=e.sent(),[2,Object.keys(a.accountListRole).map(function(e){return{account:e,role:a.accountListRole[e][0].role,iamKeyActive:a.accountListRole[e][0].iamKeyActive,maxKeyDuration:a.accountListRole[e][0].maxKeyDuration,securityLevel:a.accountListRole[e][0].securityLevel,skypieaAccount:a.accountListRole[e][0].skypieaAccount}})]}})})},p.prototype.getKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getIAMKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getIAMKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getAllAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.getDynamicValues?"allAwsRoleTypes?getDynamicValues=true":"allAwsRoleTypes",[4,this.internalFetch(a,p,"GET")];case 1:return[2,e.sent().roleTypes]}})})},p.prototype.getAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.getNonServiceAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getNonServiceAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.createRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=null!=d.roleType,p=null!=d.trustPolicy,a==p?[3,2]:[4,this.internalFetch("createRole",d)];case 1:return(p=e.sent()).denyArns=p.denyArns.split(","),[2,i(p,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])];case 2:throw new Error("Must include roleType or trustPolicy, but not both.")}})})},p.prototype.createNonServiceRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("createNonServiceRole",p)];case 1:return(a=e.sent()).denyArns=a.denyArns.split(","),[2,i(a,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])]}})})},p.prototype.awsAccountRoles=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("awsAccountRoles?account="+a.account,a,"GET")];case 1:return[2,e.sent().awsRoleList]}})})},p.prototype.listAWSAccountRoles=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("listAWSAccountRoles",p)];case 1:return a=e.sent(),[2,JSON.parse(a.jsonAWSRoleList).map(function(e){return e.split("/").slice(-1)[0]})]}})})},p.prototype.getAccountRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccountRole",p)];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags","maxSessionDurationInSeconds"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.updateRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("role",p,"PATCH")];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.deleteRole=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("deleteRole",a)];case 1:return e.sent(),[2,!0]}})})},p.prototype.addRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a)];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.deleteRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a,"DELETE")];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.getUserAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/"+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserAccessByRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("reports/users-by-role?accountId="+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserRoleAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/roles/"+a,p)];case 1:return[2,e.sent().roles]}})})},p.prototype.getAccountOwners=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/owners/"+a,p,"GET")];case 1:return[2,e.sent().accountOwners]}})})},p.prototype.createAccessKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessKeys",a)];case 1:return[2,i(e.sent(),["iamUserArn","accessKey","secretKey","addedIAMUserToGroup","tags"])]}})})},p.prototype.getIamUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("iam-users/id/"+a.account+"/"+a.iamUserName,a,"GET")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.updateIamUser=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return delete(a=tl.__assign(tl.__assign({},p),{user:{tags:p.tags}})).tags,[4,this.internalFetch("iam-users/id/"+p.account+"/"+p.iamUserName,a,"PATCH")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.deleteIAMUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("IAMUser",a,"DELETE")];case 1:return e.sent(),[2,!0]}})})},p.prototype.version=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("version",a,"GET")];case 1:return[2,i(e.sent(),["version"])]}})})},p.prototype.getLoginRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=d.accountId,p=d.role,[4,this.internalFetch("loginRoles/id/"+a+"/"+p,d,"GET")];case 1:return[2,i(e.sent().loginRole,["account","role","iamKeyActive","maxKeyDuration","securityLevel"])]}})})},p.prototype.getAccessToken=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessToken",a)];case 1:return[2,i(e.sent(),["accessToken","expiresIn"])]}})})},p.prototype.getRefreshTokens=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("refreshTokens",a,"GET")];case 1:return[2,e.sent().refreshTokens.map(function(e){return i(e,["clientId","id","userId","value"])})]}})})},p.prototype.revoke=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("revoke",a)];case 1:return[2,"Success"==e.sent().statusMessage]}})})},p.prototype.getCostTotals=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("costTotals/"+a.accountId,a,"GET")];case 1:return[2,i(e.sent().costTotals,["awsAccountId","yyyy","mm","dd","daily","weekly","monthly","yearly","dailyCostsByService","monthlyCostsByService"])]}})})},p.prototype.internalFetch=function(n,l,m){return void 0===l&&(l={}),void 0===m&&(m="POST"),tl.__awaiter(this,void 0,void 0,function(){var a,p,d,t,i,r;return tl.__generator(this,function(e){switch(e.label){case 0:return a=tl.__assign(tl.__assign({},this.config),l),r=tl.__assign({},a),p={"Content-Type":"application/json","User-Agent":"AlksJS/"+il.version},void 0!==a.accessToken?(p.Authorization="Bearer "+a.accessToken,delete r.accessToken):void 0!==a.accessKey?(p["ALKS-STS-Access-Key"]=a.accessKey,p["ALKS-STS-Secret-Key"]=a.secretKey,p["ALKS-STS-Session-Token"]=a.sessionToken,delete r.accessKey,delete r.secretKey,delete r.sessionToken):void 0!==a.userid&&(console.error("The userid and password properties are deprecated and should be replaced with an access token"),d=function(e){void 0===e&&(e="");return rl.Buffer.from(e).toString("base64")}(a.userid+":"+a.password),p.Authorization="Basic "+d,delete r.userid,delete r.password),a.userAgent&&(p["User-Agent"]+=" "+a.userAgent,delete r.userAgent),[4,a._fetch(a.baseUrl+"/"+n,{method:m,headers:p,credentials:"omit",body:"GET"==m?void 0:JSON.stringify(r)})];case 1:t=e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.json()];case 3:return i=e.sent(),[3,5];case 4:return r=e.sent(),i={errors:[r.message]},[3,5];case 5:if(!t.ok)throw new o(t,i);return[2,i]}})})},p);function p(e){this.config=e}e.Alks=a;var t,o=(t=Error,tl.__extends(d,t),d);function d(e,a){var p=this,d=Array.isArray(null==a?void 0:a.errors)?a.errors:[];e.statusText&&d.unshift(e.statusText);d=d.join("; ");return(p=t.call(this,d)||this).status=e.status,p.message=d,Object.assign(p,a),p}function i(p,e){return e.reduce(function(e,a){return e[a]=p[a],e},{})}e.AlksError=o;var r=a.prototype.create.call({},{_fetch:nl});e.create=a.prototype.create.bind(r),e.getAccounts=a.prototype.getAccounts.bind(r),e.getKeys=a.prototype.getKeys.bind(r),e.getIAMKeys=a.prototype.getIAMKeys.bind(r),e.getAllAWSRoleTypes=a.prototype.getAllAWSRoleTypes.bind(r),e.getAWSRoleTypes=a.prototype.getAWSRoleTypes.bind(r),e.getNonServiceAWSRoleTypes=a.prototype.getNonServiceAWSRoleTypes.bind(r),e.createRole=a.prototype.createRole.bind(r),e.createNonServiceRole=a.prototype.createNonServiceRole.bind(r),e.awsAccountRoles=a.prototype.awsAccountRoles.bind(r),e.listAWSAccountRoles=a.prototype.listAWSAccountRoles.bind(r),e.getAccountRole=a.prototype.getAccountRole.bind(r),e.updateRole=a.prototype.updateRole.bind(r),e.deleteRole=a.prototype.deleteRole.bind(r),e.addRoleMachineIdentity=a.prototype.addRoleMachineIdentity.bind(r),e.deleteRoleMachineIdentity=a.prototype.deleteRoleMachineIdentity.bind(r),e.getUserAccess=a.prototype.getUserAccess.bind(r),e.getUserAccessByRole=a.prototype.getUserAccessByRole.bind(r),e.getUserRoleAccess=a.prototype.getUserRoleAccess.bind(r),e.getAccountOwners=a.prototype.getAccountOwners.bind(r),e.createAccessKeys=a.prototype.createAccessKeys.bind(r),e.getIamUser=a.prototype.getIamUser.bind(r),e.updateIamUser=a.prototype.updateIamUser.bind(r),e.deleteIAMUser=a.prototype.deleteIAMUser.bind(r),e.version=a.prototype.version.bind(r),e.getLoginRole=a.prototype.getLoginRole.bind(r),e.getAccessToken=a.prototype.getAccessToken.bind(r),e.getRefreshTokens=a.prototype.getRefreshTokens.bind(r),e.revoke=a.prototype.revoke.bind(r),e.getCostTotals=a.prototype.getCostTotals.bind(r)}(ll=ll||{});var ll=ll;e.default=ll,Object.defineProperty(e,"__esModule",{value:!0}),Object.assign(e,ll)}); diff --git a/dist/alks.umd.js b/dist/alks.umd.js index 39e1329..87ae7a7 100644 --- a/dist/alks.umd.js +++ b/dist/alks.umd.js @@ -347,7 +347,6 @@ browserify: "^17.0.0", chai: "^4.3.4", "chai-as-promised": "^7.1.1", - coveralls: "^3.0.3", eslint: "^7.25.0", "eslint-plugin-jsdoc": "^4.1.1", "fetch-mock": "^7.3.1", diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index 9375dd2..b79c9d4 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index 571bddd..f69f5f4 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index 0861a88..8041be3 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index 799ac5f..df0c802 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index a74a432..c95a463 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 3606fb7..1e8e97c 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index 9401cf4..f923134 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index 4066a97..40a1dbc 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index 9e625eb..d48cbd0 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index 01053b1..ac3816b 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index 082e7dc..c1b74cf 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index 062e1c8..da0f163 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index 555c961..88ae0a2 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index 1ca81c8..14c8b27 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index 9ff0388..b80d992 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index ed8b242..df8a692 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index e83b923..e74f592 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index 6f3c715..c80d021 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index 7da2aa9..5763c07 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index 597e916..d31ab20 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index 6b8dfd4..092f6aa 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index 5a65510..839b7bf 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index 6c6eafc..18b6eee 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 13a0893..950651e 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index b8f2c2e..a461f41 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index e571d9f..b722d04 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index 54b4d23..163ecb6 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index e8beece..36a2285 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index da02a23..fb8b190 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index 9a68b8c..b447e64 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index f6658f4..34e7d52 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index 8d8a3c7..6eb53da 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index c3779fb..d938550 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index 0282b56..d425ec8 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index 3dd0d1d..aa9ebd6 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index 2d6a96e..5a8fffe 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 5129664..58f22f7 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index f57df6f..85295bd 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2767889..8568da4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "alks.js", - "version": "2.5.1", + "version": "2.8.0", "license": "MIT", "dependencies": { "encoding": "^0.1.13", @@ -22,7 +22,6 @@ "browserify": "^17.0.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", - "coveralls": "^3.0.3", "eslint": "^7.25.0", "eslint-plugin-jsdoc": "^4.1.1", "fetch-mock": "^7.3.1", @@ -116,9 +115,9 @@ } }, "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -151,9 +150,9 @@ } }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -642,10 +641,10 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "node_modules/@types/component-emitter": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", - "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==", + "node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", "dev": true }, "node_modules/@types/cookie": { @@ -655,10 +654,13 @@ "dev": true }, "node_modules/@types/cors": { - "version": "2.8.12", - "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.12.tgz", - "integrity": "sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==", - "dev": true + "version": "2.8.13", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.13.tgz", + "integrity": "sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } }, "node_modules/@types/estree": { "version": "0.0.39", @@ -682,18 +684,6 @@ "form-data": "^3.0.0" } }, - "node_modules/@types/node-fetch/node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/@types/node-fetch/node_modules/form-data": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", @@ -943,15 +933,6 @@ "sprintf-js": "~1.0.2" } }, - "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, "node_modules/asn1.js": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", @@ -980,15 +961,6 @@ "util": "0.10.3" } }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true, - "engines": { - "node": ">=0.8" - } - }, "node_modules/assert/node_modules/inherits": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", @@ -1049,21 +1021,6 @@ "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=", "dev": true }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", - "dev": true - }, "node_modules/babel-polyfill": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", @@ -1126,15 +1083,6 @@ "node": "^4.5.0 || >= 5.9" } }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -1151,24 +1099,27 @@ "dev": true }, "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", + "bytes": "3.1.2", + "content-type": "~1.0.5", "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" }, "engines": { - "node": ">= 0.8" + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" } }, "node_modules/body-parser/node_modules/debug": { @@ -1186,13 +1137,16 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", + "node_modules/body-parser/node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, "engines": { - "node": ">=0.6" + "node": ">= 0.8" } }, "node_modules/brace-expansion": { @@ -1394,12 +1348,6 @@ "safe-buffer": "^5.2.0" } }, - "node_modules/browserify-sign/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/browserify-sign/node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -1504,9 +1452,9 @@ "dev": true }, "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, "engines": { "node": ">= 0.8" @@ -1574,12 +1522,6 @@ "url": "https://opencollective.com/browserslist" } }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, "node_modules/chai": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", @@ -1859,9 +1801,9 @@ } }, "node_modules/combined-stream": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", - "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, "dependencies": { "delayed-stream": "~1.0.0" @@ -1888,12 +1830,6 @@ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1958,9 +1894,9 @@ "dev": true }, "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "dev": true, "engines": { "node": ">= 0.6" @@ -2024,26 +1960,6 @@ "node": ">=10" } }, - "node_modules/coveralls": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.3.tgz", - "integrity": "sha512-viNfeGlda2zJr8Gj1zqXpDMRjw9uM54p7wzZdvLRyOgnAfCe974Dq4veZkjJdxQXbmdppu6flEajFYseHYaUhg==", - "dev": true, - "dependencies": { - "growl": "~> 1.10.0", - "js-yaml": "^3.11.0", - "lcov-parse": "^0.0.10", - "log-driver": "^1.2.7", - "minimist": "^1.2.0", - "request": "^2.86.0" - }, - "bin": { - "coveralls": "bin/coveralls.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/create-ecdh": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", @@ -2150,18 +2066,6 @@ "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==", "dev": true }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/date-format": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.11.tgz", @@ -2276,12 +2180,12 @@ } }, "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, "node_modules/deps-sort": { @@ -2309,6 +2213,16 @@ "minimalistic-assert": "^1.0.0" } }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, "node_modules/detective": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", @@ -2401,16 +2315,6 @@ "readable-stream": "^2.0.2" } }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -2444,12 +2348,6 @@ "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", "dev": true }, - "node_modules/elliptic/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -2485,9 +2383,9 @@ } }, "node_modules/engine.io": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz", - "integrity": "sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==", + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.2.tgz", + "integrity": "sha512-IXsMcGpw/xRfjra46sVZVHiSWo/nJ/3g1337q9KNXtS6YRzbW5yIzTCb9DjhrBe7r3GZQR0I4+nq+4ODk5g/cA==", "dev": true, "dependencies": { "@types/cookie": "^0.4.1", @@ -2498,17 +2396,17 @@ "cookie": "~0.4.1", "cors": "~2.8.5", "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.2.3" + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.2.0" } }, "node_modules/engine.io-parser": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", - "integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.1.tgz", + "integrity": "sha512-9JktcM3u18nU9N2Lz3bWeBgxVgOKpw7yhRaoxQA3FUDZzzw+9WlA6p4G4u0RixNkg14fH7EfEc/RhpurtiROTQ==", "dev": true, "engines": { "node": ">=10.0.0" @@ -2797,9 +2695,9 @@ } }, "node_modules/eslint/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3015,15 +2913,6 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true, - "engines": [ - "node >=0.6.0" - ] - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -3246,29 +3135,6 @@ "node": ">=8.0.0" } }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, "node_modules/fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", @@ -3409,15 +3275,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dev": true, - "dependencies": { - "assert-plus": "^1.0.0" - } - }, "node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -3471,38 +3328,6 @@ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", "dev": true }, - "node_modules/growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "dev": true, - "engines": { - "node": ">=4.x" - } - }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", - "deprecated": "this library is no longer supported", - "dev": true, - "dependencies": { - "ajv": "^6.5.5", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -3559,12 +3384,6 @@ "node": ">=4" } }, - "node_modules/hash-base/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/hash-base/node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -3670,19 +3489,28 @@ } }, "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" }, "engines": { - "node": ">= 0.6" + "node": ">= 0.8" + } + }, + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "dev": true, + "engines": { + "node": ">= 0.8" } }, "node_modules/http-proxy": { @@ -3699,21 +3527,6 @@ "node": ">=8.0.0" } }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dev": true, - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, - "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" - } - }, "node_modules/https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", @@ -3827,9 +3640,9 @@ } }, "node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "node_modules/inline-source-map": { @@ -4191,12 +4004,6 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, "node_modules/istanbul-lib-coverage": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", @@ -4234,9 +4041,9 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -4260,16 +4067,6 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-processinfo/node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "dev": true, - "bin": { - "uuid": "bin/uuid" - } - }, "node_modules/istanbul-lib-report": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", @@ -4348,12 +4145,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true - }, "node_modules/jsdoctypeparser": { "version": "2.0.0-alpha-8", "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-2.0.0-alpha-8.tgz", @@ -4378,12 +4169,6 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true - }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -4396,20 +4181,11 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, "bin": { "json5": "lib/cli.js" }, @@ -4460,21 +4236,6 @@ "node": "*" } }, - "node_modules/jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", - "dev": true, - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - }, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/just-extend": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", @@ -4602,18 +4363,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/karma/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/karma/node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -4645,12 +4394,6 @@ "stream-splicer": "^2.0.0" } }, - "node_modules/lcov-parse": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", - "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", - "dev": true - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -4876,15 +4619,6 @@ "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", "dev": true }, - "node_modules/log-driver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", - "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", - "dev": true, - "engines": { - "node": ">=0.8.6" - } - }, "node_modules/log-symbols": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", @@ -5011,9 +4745,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -5131,9 +4865,9 @@ "dev": true }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -5684,15 +5418,6 @@ "node": ">=6" } }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -6031,12 +5756,6 @@ "node": ">=0.12" } }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, "node_modules/picomatch": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", @@ -6164,12 +5883,6 @@ "node": ">=0.4.0" } }, - "node_modules/psl": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", - "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", - "dev": true - }, "node_modules/public-encrypt": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", @@ -6206,12 +5919,18 @@ } }, "node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, "engines": { "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/querystring": { @@ -6262,13 +5981,13 @@ } }, "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.2", + "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, @@ -6342,38 +6061,6 @@ "node": ">=4" } }, - "node_modules/request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "dev": true, - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 4" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -6562,9 +6249,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/semver": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", - "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" @@ -6592,9 +6279,9 @@ "dev": true }, "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "dev": true }, "node_modules/sha.js": { @@ -6657,6 +6344,20 @@ "vscode-textmate": "5.2.0" } }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -6737,36 +6438,39 @@ } }, "node_modules/socket.io": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.1.tgz", - "integrity": "sha512-0y9pnIso5a9i+lJmsCdtmTTgJFFSvNQKDnPQRz28mGNnxbmqYg2QPtJTLFxhymFZhAIn50eHAKzJeiNaKr+yUQ==", + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.2.tgz", + "integrity": "sha512-bvKVS29/I5fl2FGLNHuXlQaUH/BlzX1IN6S+NKLNZpBsPZIDH+90eQmCs2Railn4YUiww4SzUedJ6+uzwFnKLw==", "dev": true, "dependencies": { "accepts": "~1.3.4", "base64id": "~2.0.0", + "cors": "~2.8.5", "debug": "~4.3.2", - "engine.io": "~6.2.0", - "socket.io-adapter": "~2.4.0", - "socket.io-parser": "~4.0.4" + "engine.io": "~6.5.2", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.2.0" } }, "node_modules/socket.io-adapter": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.4.0.tgz", - "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==", - "dev": true + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.2.tgz", + "integrity": "sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA==", + "dev": true, + "dependencies": { + "ws": "~8.11.0" + } }, "node_modules/socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "dev": true, "dependencies": { - "@types/component-emitter": "^1.2.10", - "component-emitter": "~1.3.0", + "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" }, "engines": { @@ -6826,31 +6530,6 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "node_modules/sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dev": true, - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -6870,12 +6549,6 @@ "readable-stream": "^3.5.0" } }, - "node_modules/stream-browserify/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/stream-browserify/node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -6912,12 +6585,6 @@ "xtend": "^4.0.2" } }, - "node_modules/stream-http/node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/stream-http/node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -7261,27 +6928,14 @@ } }, "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "dev": true, "engines": { "node": ">=0.6" } }, - "node_modules/tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dev": true, - "dependencies": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - }, - "engines": { - "node": ">=0.8" - } - }, "node_modules/tr46": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", @@ -7387,24 +7041,6 @@ "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==", "dev": true }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dev": true, - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "dev": true - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -7520,9 +7156,9 @@ } }, "node_modules/ua-parser-js": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", - "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==", + "version": "0.7.35", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.35.tgz", + "integrity": "sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g==", "dev": true, "funding": [ { @@ -7672,9 +7308,9 @@ } }, "node_modules/uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", "dev": true, "bin": { @@ -7696,20 +7332,6 @@ "node": ">= 0.8" } }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, "node_modules/vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", @@ -7857,9 +7479,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -7942,9 +7564,9 @@ } }, "node_modules/ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", "dev": true, "engines": { "node": ">=10.0.0" @@ -8167,9 +7789,9 @@ } }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -8198,9 +7820,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -8627,10 +8249,10 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "@types/component-emitter": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", - "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==", + "@socket.io/component-emitter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", "dev": true }, "@types/cookie": { @@ -8640,10 +8262,13 @@ "dev": true }, "@types/cors": { - "version": "2.8.12", - "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.12.tgz", - "integrity": "sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==", - "dev": true + "version": "2.8.13", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.13.tgz", + "integrity": "sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==", + "dev": true, + "requires": { + "@types/node": "*" + } }, "@types/estree": { "version": "0.0.39", @@ -8667,15 +8292,6 @@ "form-data": "^3.0.0" }, "dependencies": { - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "requires": { - "delayed-stream": "~1.0.0" - } - }, "form-data": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", @@ -8870,15 +8486,6 @@ "sprintf-js": "~1.0.2" } }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, "asn1.js": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", @@ -8926,12 +8533,6 @@ } } }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true - }, "assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -8967,18 +8568,6 @@ } } }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true - }, - "aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", - "dev": true - }, "babel-polyfill": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", @@ -9026,15 +8615,6 @@ "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", "dev": true }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -9048,21 +8628,23 @@ "dev": true }, "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", + "bytes": "3.1.2", + "content-type": "~1.0.5", "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" }, "dependencies": { "debug": { @@ -9080,11 +8662,14 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "dev": true + "on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } } } }, @@ -9286,12 +8871,6 @@ "safe-buffer": "^5.2.0" }, "dependencies": { - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -9358,9 +8937,9 @@ "dev": true }, "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true }, "cached-path-relative": { @@ -9409,12 +8988,6 @@ "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==", "dev": true }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, "chai": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", @@ -9638,9 +9211,9 @@ } }, "combined-stream": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", - "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, "requires": { "delayed-stream": "~1.0.0" @@ -9664,12 +9237,6 @@ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -9730,9 +9297,9 @@ "dev": true }, "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "dev": true }, "convert-source-map": { @@ -9782,20 +9349,6 @@ "yaml": "^1.10.0" } }, - "coveralls": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.3.tgz", - "integrity": "sha512-viNfeGlda2zJr8Gj1zqXpDMRjw9uM54p7wzZdvLRyOgnAfCe974Dq4veZkjJdxQXbmdppu6flEajFYseHYaUhg==", - "dev": true, - "requires": { - "growl": "~> 1.10.0", - "js-yaml": "^3.11.0", - "lcov-parse": "^0.0.10", - "log-driver": "^1.2.7", - "minimist": "^1.2.0", - "request": "^2.86.0" - } - }, "create-ecdh": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", @@ -9894,15 +9447,6 @@ "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==", "dev": true }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "date-format": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.11.tgz", @@ -9990,9 +9534,9 @@ "dev": true }, "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "dev": true }, "deps-sort": { @@ -10017,6 +9561,12 @@ "minimalistic-assert": "^1.0.0" } }, + "destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true + }, "detective": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", @@ -10095,16 +9645,6 @@ "readable-stream": "^2.0.2" } }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -10137,12 +9677,6 @@ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", "dev": true - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true } } }, @@ -10177,9 +9711,9 @@ } }, "engine.io": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz", - "integrity": "sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==", + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.2.tgz", + "integrity": "sha512-IXsMcGpw/xRfjra46sVZVHiSWo/nJ/3g1337q9KNXtS6YRzbW5yIzTCb9DjhrBe7r3GZQR0I4+nq+4ODk5g/cA==", "dev": true, "requires": { "@types/cookie": "^0.4.1", @@ -10190,14 +9724,14 @@ "cookie": "~0.4.1", "cors": "~2.8.5", "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.2.3" + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" } }, "engine.io-parser": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", - "integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.1.tgz", + "integrity": "sha512-9JktcM3u18nU9N2Lz3bWeBgxVgOKpw7yhRaoxQA3FUDZzzw+9WlA6p4G4u0RixNkg14fH7EfEc/RhpurtiROTQ==", "dev": true }, "enquirer": { @@ -10371,9 +9905,9 @@ } }, "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -10582,12 +10116,6 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true - }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -10750,23 +10278,6 @@ "signal-exit": "^3.0.2" } }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true - }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, "fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", @@ -10862,15 +10373,6 @@ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -10912,28 +10414,6 @@ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", "dev": true }, - "growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "dev": true - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true - }, - "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", - "dev": true, - "requires": { - "ajv": "^6.5.5", - "har-schema": "^2.0.0" - } - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -10972,12 +10452,6 @@ "safe-buffer": "^5.2.0" }, "dependencies": { - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -11053,16 +10527,24 @@ "dev": true }, "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "dependencies": { + "statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "dev": true + } } }, "http-proxy": { @@ -11076,17 +10558,6 @@ "requires-port": "^1.0.0" } }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, "https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", @@ -11159,9 +10630,9 @@ } }, "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "inline-source-map": { @@ -11409,12 +10880,6 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, "istanbul-lib-coverage": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", @@ -11443,9 +10908,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -11463,14 +10928,6 @@ "p-map": "^3.0.0", "rimraf": "^3.0.0", "uuid": "^3.3.3" - }, - "dependencies": { - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - } } }, "istanbul-lib-report": { @@ -11535,12 +10992,6 @@ "esprima": "^4.0.0" } }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true - }, "jsdoctypeparser": { "version": "2.0.0-alpha-8", "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-2.0.0-alpha-8.tgz", @@ -11559,12 +11010,6 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, - "json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true - }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -11577,20 +11022,11 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true }, "jsonc-parser": { "version": "3.0.0", @@ -11624,18 +11060,6 @@ "through": ">=2.2.7 <3" } }, - "jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - } - }, "just-extend": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", @@ -11688,15 +11112,6 @@ "path-is-absolute": "^1.0.0" } }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, "mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -11778,12 +11193,6 @@ "stream-splicer": "^2.0.0" } }, - "lcov-parse": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", - "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", - "dev": true - }, "levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -11962,12 +11371,6 @@ "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", "dev": true }, - "log-driver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", - "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", - "dev": true - }, "log-symbols": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", @@ -12066,9 +11469,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -12160,9 +11563,9 @@ "dev": true }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -12596,12 +11999,6 @@ } } }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true - }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -12861,12 +12258,6 @@ "sha.js": "^2.4.8" } }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, "picomatch": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", @@ -12960,12 +12351,6 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, - "psl": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", - "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", - "dev": true - }, "public-encrypt": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", @@ -13001,10 +12386,13 @@ "dev": true }, "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "dev": true + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "requires": { + "side-channel": "^1.0.4" + } }, "querystring": { "version": "0.2.0", @@ -13044,13 +12432,13 @@ "dev": true }, "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", + "bytes": "3.1.2", + "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" } @@ -13109,34 +12497,6 @@ "es6-error": "^4.0.1" } }, - "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "dev": true, - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -13297,9 +12657,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "semver": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", - "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true }, "semver-compare": { @@ -13324,9 +12684,9 @@ "dev": true }, "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "dev": true }, "sha.js": { @@ -13380,6 +12740,17 @@ "vscode-textmate": "5.2.0" } }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -13434,33 +12805,36 @@ } }, "socket.io": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.1.tgz", - "integrity": "sha512-0y9pnIso5a9i+lJmsCdtmTTgJFFSvNQKDnPQRz28mGNnxbmqYg2QPtJTLFxhymFZhAIn50eHAKzJeiNaKr+yUQ==", + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.2.tgz", + "integrity": "sha512-bvKVS29/I5fl2FGLNHuXlQaUH/BlzX1IN6S+NKLNZpBsPZIDH+90eQmCs2Railn4YUiww4SzUedJ6+uzwFnKLw==", "dev": true, "requires": { "accepts": "~1.3.4", "base64id": "~2.0.0", + "cors": "~2.8.5", "debug": "~4.3.2", - "engine.io": "~6.2.0", - "socket.io-adapter": "~2.4.0", - "socket.io-parser": "~4.0.4" + "engine.io": "~6.5.2", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" } }, "socket.io-adapter": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.4.0.tgz", - "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==", - "dev": true + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.2.tgz", + "integrity": "sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA==", + "dev": true, + "requires": { + "ws": "~8.11.0" + } }, "socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "dev": true, "requires": { - "@types/component-emitter": "^1.2.10", - "component-emitter": "~1.3.0", + "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" } }, @@ -13507,23 +12881,6 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dev": true, - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, "statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -13540,12 +12897,6 @@ "readable-stream": "^3.5.0" }, "dependencies": { - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -13581,12 +12932,6 @@ "xtend": "^4.0.2" }, "dependencies": { - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -13865,21 +13210,11 @@ } }, "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "dev": true }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dev": true, - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - }, "tr46": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", @@ -13969,21 +13304,6 @@ "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==", "dev": true }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dev": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "dev": true - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -14072,9 +13392,9 @@ "dev": true }, "ua-parser-js": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", - "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==", + "version": "0.7.35", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.35.tgz", + "integrity": "sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g==", "dev": true }, "uglify-js": { @@ -14188,9 +13508,9 @@ "dev": true }, "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "dev": true }, "v8-compile-cache": { @@ -14205,17 +13525,6 @@ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "dev": true }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, "vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", @@ -14341,9 +13650,9 @@ } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true }, "workerpool": { @@ -14410,9 +13719,9 @@ } }, "ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 3ad946c..de9ce9b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,6 @@ "browserify": "^17.0.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", - "coveralls": "^3.0.3", "eslint": "^7.25.0", "eslint-plugin-jsdoc": "^4.1.1", "fetch-mock": "^7.3.1", From d9b21616fad28d06b20fa2c5d569494e7c3f35c7 Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Tue, 15 Aug 2023 17:14:55 -0400 Subject: [PATCH 2/6] changes coverage command --- dist/alks.min.js | 2 +- dist/alks.umd.js | 2 +- docs/classes/export_.Alks.html | 60 +++++++++---------- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/index.html | 4 +- docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- package.json | 2 +- 42 files changed, 71 insertions(+), 73 deletions(-) diff --git a/dist/alks.min.js b/dist/alks.min.js index 5114f54..b050f54 100644 --- a/dist/alks.min.js +++ b/dist/alks.min.js @@ -1 +1 @@ -!function(global,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((global="undefined"!=typeof globalThis?globalThis:global||self).alks={})}(this,function(e){"use strict";var a=window||this;function p(p){if(p.__esModule)return p;var d=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(p).forEach(function(e){var a=Object.getOwnPropertyDescriptor(p,e);Object.defineProperty(d,e,a.get?a:{enumerable:!0,get:function(){return p[e]}})}),d}var d=function(e,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(e[p]=a[p])})(e,a)};var t=function(){return(t=Object.assign||function(e){for(var a,p=1,d=arguments.length;p=e.length?void 0:e)&&e[d++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e,a){var p="function"==typeof Symbol&&e[Symbol.iterator];if(!p)return e;var d,t,i=p.call(e),r=[];try{for(;(void 0===a||0r[0]&&a[1] dist/alks.min.js',build:"npm run clean && npm run compile && npm run rollup && npm run minify",lint:"prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}",test:"npm run build && npm run lint && npm run mocha && npm run karma",mocha:"nyc mocha test/test.js",coverage:"nyc report --reporter=text-lcov | coveralls",karma:"karma start",docs:"typedoc src/alks.ts",prepare:"husky install",compile:"tsc"},files:["dist/"],repository:{type:"git",url:"https://github.com/Cox-Automotive/alks.js.git"},author:{name:"Cox Automotive",email:"paul.ofallon@coxautoinc.com",url:"https://github.com/Cox-Automotive/"},bugs:{url:"https://github.com/Cox-Automotive/alks.js/issues"},license:"MIT",engines:{node:">=14.0.0"},dependencies:{encoding:"^0.1.13","node-fetch":"^2.6.1",tslib:"^2.3.1"},devDependencies:{"@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/node":"^15.0.2","@types/node-fetch":"^2.5.10",browserify:"^17.0.0",chai:"^4.3.4","chai-as-promised":"^7.1.1",eslint:"^7.25.0","eslint-plugin-jsdoc":"^4.1.1","fetch-mock":"^7.3.1",husky:"^6.0.0",karma:"^6.3.2","karma-browserify":"^8.0.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","lint-staged":"^11.0.0",mkdirp:"^1.0.4",mocha:"^10.0.0",nyc:"^15.1.0",prettier:"^2.3.0",rimraf:"^3.0.2",rollup:"^2.47.0","rollup-plugin-json":"^3.1.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-replace":"^2.2.0",sinon:"^10.0.0",tslint:"^6.1.3",typedoc:"^0.22.15",typescript:"^4.2.4","uglify-js":"^3.13.6"},prettier:{singleQuote:!0,semi:!0,arrowParens:"always",endOfLine:"lf",trailingComma:"es5"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["prettier --write"]}},u=void 0!==a?a:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function w(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=e.length;a>18&63]+h[d>>12&63]+h[d>>6&63]+h[63&d]);return t.join("")}function g(e){var a;v||w();for(var p=e.length,d=p%3,t="",i=[],r=0,n=p-d;r>2],t+=h[a<<4&63],t+="=="):2==d&&(a=(e[p-2]<<8)+e[p-1],t+=h[a>>10],t+=h[a>>4&63],t+=h[a<<2&63],t+="="),i.push(t),i.join("")}function b(e,a,p,d,t){var i,r,n=8*t-d-1,l=(1<>1,o=-7,s=p?t-1:0,u=p?-1:1,p=e[a+s];for(s+=u,i=p&(1<<-o)-1,p>>=-o,o+=n;0>=-o,o+=d;0>1,s=23===t?Math.pow(2,-24)-Math.pow(2,-77):0,u=d?0:i-1,h=d?1:-1,i=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(n=isNaN(a)?1:0,r=m):(r=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-r))<1&&(r--,d*=2),2<=(a+=1<=r+o?s/d:s*Math.pow(2,1-o))*d&&(r++,d/=2),m<=r+o?(n=0,r=m):1<=r+o?(n=(a*d-1)*Math.pow(2,t),r+=o):(n=a*Math.pow(2,o-1)*Math.pow(2,t),r=0));8<=t;e[p+u]=255&n,u+=h,n/=256,t-=8);for(r=r<=D())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D().toString(16)+" bytes");return 0|e}function O(e){return null!=e&&e._isBuffer}function L(e,a){if(O(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var p=(e="string"!=typeof e?""+e:e).length;if(0===p)return 0;for(var d=!1;;)switch(a){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*p;case"hex":return p>>>1;case"base64":return J(e).length;default:if(d)return X(e).length;a=(""+a).toLowerCase(),d=!0}}function B(e,a,p){var d,t,i,r=!1;if((a=void 0===a||a<0?0:a)>this.length)return"";if((p=void 0===p||p>this.length?this.length:p)<=0)return"";if((p>>>=0)<=(a>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,a,p){var d=e.length;(!a||a<0)&&(a=0);(!p||p<0||d=e.length){if(t)return-1;p=e.length-1}else if(p<0){if(!t)return-1;p=0}if(O(a="string"==typeof a?R.from(a,d):a))return 0===a.length?-1:F(e,a,p,d,t);if("number"==typeof a)return a&=255,R.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(t?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,a,p):F(e,[a],p,d,t);throw new TypeError("val must be string, number or Buffer")}function F(e,a,p,d,t){var i=1,r=e.length,n=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(e.length<2||a.length<2)return-1;r/=i=2,n/=2,p/=2}function l(e,a){return 1===i?e[a]:e.readUInt16BE(a*i)}if(t)for(var m=-1,o=p;o>8,d=d%256,t.push(d),t.push(p);return t}(a,e.length-p),e,p,d)}function z(e,a,p){p=Math.min(e.length,p);for(var d=[],t=a;t>>10&1023|55296),o=56320|1023&o),d.push(o),t+=s}return function(e){var a=e.length;if(a<=M)return String.fromCharCode.apply(String,e);var p="",d=0;for(;d"},R.prototype.compare=function(e,a,p,d,t){if(!O(e))throw new TypeError("Argument must be a Buffer");if(void 0===p&&(p=e?e.length:0),void 0===d&&(d=0),void 0===t&&(t=this.length),(a=void 0===a?0:a)<0||p>e.length||d<0||t>this.length)throw new RangeError("out of range index");if(t<=d&&p<=a)return 0;if(t<=d)return-1;if(p<=a)return 1;if(this===e)return 0;for(var i=(t>>>=0)-(d>>>=0),r=(p>>>=0)-(a>>>=0),n=Math.min(i,r),l=this.slice(d,t),m=e.slice(a,p),o=0;othis.length)throw new RangeError("Attempt to write outside buffer bounds");d=d||"utf8";for(var i,r,n,l=!1;;)switch(d){case"hex":return function(e,a,p,d){p=Number(p)||0;var t=e.length-p;if((!d||t<(d=Number(d)))&&(d=t),(t=a.length)%2!=0)throw new TypeError("Invalid hex string");t/2e.length)throw new RangeError("Index out of range")}function H(e,a,p,d){a<0&&(a=65535+a+1);for(var t=0,i=Math.min(e.length-p,2);t>>8*(d?t:1-t)}function K(e,a,p,d){a<0&&(a=4294967295+a+1);for(var t=0,i=Math.min(e.length-p,4);t>>8*(d?t:3-t)&255}function Y(e,a,p,d){if(p+d>e.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function W(e,a,p,d,t){return t||Y(e,0,p,4),y(e,a,p,d,23,4),p+4}function $(e,a,p,d,t){return t||Y(e,0,p,8),y(e,a,p,d,52,8),p+8}R.prototype.slice=function(e,a){var p=this.length;if((e=~~e)<0?(e+=p)<0&&(e=0):p>>8):H(this,e,a,!0),a+2},R.prototype.writeUInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeUInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e):K(this,e,a,!0),a+4},R.prototype.writeUInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeIntLE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=0,i=1,r=0;for(this[a]=255&e;++t>0)-r&255;return a+p},R.prototype.writeIntBE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=p-1,i=1,r=0;for(this[a+t]=255&e;0<=--t&&(i*=256);)e<0&&0===r&&0!==this[a+t+1]&&(r=1),this[a+t]=(e/i>>0)-r&255;return a+p},R.prototype.writeInt8=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,1,127,-128),R.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[a]=255&(e=e<0?255+e+1:e),a+1},R.prototype.writeInt16LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8):H(this,e,a,!0),a+2},R.prototype.writeInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24):K(this,e,a,!0),a+4},R.prototype.writeInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeFloatLE=function(e,a,p){return W(this,e,a,!0,p)},R.prototype.writeFloatBE=function(e,a,p){return W(this,e,a,!1,p)},R.prototype.writeDoubleLE=function(e,a,p){return $(this,e,a,!0,p)},R.prototype.writeDoubleBE=function(e,a,p){return $(this,e,a,!1,p)},R.prototype.copy=function(e,a,p,d){if(p=p||0,d||0===d||(d=this.length),a>=e.length&&(a=e.length),(d=0=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);var t,i=(d=e.length-a>>=0,p=void 0===p?this.length:p>>>0,"number"==typeof(e=e||0))for(n=a;n>6|192,63&p|128)}else if(p<65536){if((a-=3)<0)break;i.push(p>>12|224,p>>6&63|128,63&p|128)}else{if(!(p<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;i.push(p>>18|240,p>>12&63|128,p>>6&63|128,63&p|128)}}return i}function J(e){return function(e){var a;v||w();var p=e.length;if(0>16&255,t[r++]=a>>8&255,t[r++]=255&a;return 2==d?(a=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,t[r++]=255&a):1==d&&(a=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,t[r++]=a>>8&255,t[r++]=255&a),t}(function(e){var a;if((e=((a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,a,p,d){for(var t=0;t=a.length||t>=e.length);++t)a[t+p]=e[t];return t}function ee(e){return null!=e&&(!!e._isBuffer||ae(e)||"function"==typeof(e=e).readFloatLE&&"function"==typeof e.slice&&ae(e.slice(0,0)))}function ae(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pe=p(Object.freeze({__proto__:null,Buffer:R,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return R.alloc(+(e=+e!=e?0:e))},isBuffer:ee,kMaxLength:T}));function de(){}function te(){te.init.call(this)}function ie(e){return void 0===e._maxListeners?te.defaultMaxListeners:e._maxListeners}function re(e,a,p,d){var t,i;if("function"!=typeof p)throw new TypeError('"listener" argument must be a function');return(t=e._events)?(t.newListener&&(e.emit("newListener",a,p.listener||p),t=e._events),i=t[a]):(t=e._events=new de,e._eventsCount=0),i?("function"==typeof i?i=t[a]=d?[p,i]:[i,p]:d?i.unshift(p):i.push(p),i.warned||(d=ie(e))&&0d&&(i.warned=!0,(d=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+a+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",d.emitter=e,d.type=a,d.count=i.length,d=d,"function"==typeof console.warn?console.warn(d):console.log(d))):(i=t[a]=p,++e._eventsCount),e}function ne(e,a,p){var d=!1;function t(){e.removeListener(a,t),d||(d=!0,p.apply(e,arguments))}return t.listener=p,t}function le(e){var a=this._events;if(a){e=a[e];if("function"==typeof e)return 1;if(e)return e.length}return 0}function me(e,a){for(var p=new Array(a);a--;)p[a]=e[a];return p}function oe(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}de.prototype=Object.create(null),(te.EventEmitter=te).usingDomains=!1,te.prototype.domain=void 0,te.prototype._events=void 0,te.prototype._maxListeners=void 0,te.defaultMaxListeners=10,te.init=function(){this.domain=null,te.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new de,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},te.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},te.prototype.getMaxListeners=function(){return ie(this)},te.prototype.emit=function(e){var a,p,d,t="error"===e,i=this._events;if(i)t=t&&null==i.error;else if(!t)return!1;if(r=this.domain,t){if(t=arguments[1],r)return(t=t||new Error('Uncaught, unspecified "error" event')).domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1;if(t instanceof Error)throw t;var r=new Error('Uncaught, unspecified "error" event. ('+t+")");throw r.context=t,r}if(!(a=i[e]))return!1;var n,l="function"==typeof a;switch(n=arguments.length){case 1:!function(e,a,p){if(a)e.call(p);else for(var d=e.length,t=me(e,d),i=0;i>>0),p=this.head,d=0;p;)p.data.copy(a,d),d+=p.data.length,p=p.next;return a};var aa=R.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function pa(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!aa(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ta;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ia;break;default:return void(this.write=da)}this.charBuffer=new R(6),this.charReceived=0,this.charLength=0}function da(e){return e.toString(this.encoding)}function ta(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ia(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}pa.prototype.write=function(e){for(var a="";this.charLength;){var p=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,p),this.charReceived+=p,this.charReceived>5==6){this.charLength=2;break}if(a<=2&&p>>4==14){this.charLength=3;break}if(a<=3&&p>>3==30){this.charLength=4;break}}this.charReceived=a},pa.prototype.end=function(e){var a,p,d="";return e&&e.length&&(d=this.write(e)),this.charReceived&&(a=this.charReceived,p=this.charBuffer,e=this.encoding,d+=p.slice(0,a).toString(e)),d},ma.ReadableState=la;var ra,na=(Ke(Be)&&(Be=""),ra=(ra="stream").toUpperCase(),Pe[ra]||(new RegExp("\\b"+ra+"\\b","i").test(Be)?Pe[ra]=function(){var e=function(e){if(!He(e)){for(var a=[],p=0;pa.highWaterMark&&(a.highWaterMark=(sa<=(p=e)?p=sa:(p--,p|=p>>>1,p|=p>>>2,p|=p>>>4,p|=p>>>8,p|=p>>>16,p++),p)),e<=a.length?e:a.ended?a.length:(a.needReadable=!0,0));var p}function ha(e){var a=e._readableState;a.needReadable=!1,a.emittedReadable||(na("emitReadable",a.flowing),a.emittedReadable=!0,a.sync?ye(ca,e):ca(e))}function ca(e){na("emit readable"),e.emit("readable"),_a(e)}function fa(e,a){for(var p=a.length;!a.reading&&!a.flowing&&!a.ended&&a.length=a.length?(p=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.head.data:a.buffer.concat(a.length),a.buffer.clear()):p=function(e,a,p){var d;ei.length?i.length:e;if(r===i.length?t+=i:t+=i.slice(0,e),0===(e-=r)){r===i.length?(++d,p.next?a.head=p.next:a.head=a.tail=null):(a.head=p).data=i.slice(r);break}++d}return a.length-=d,t}:function(e,a){var p=R.allocUnsafe(e),d=a.head,t=1;d.data.copy(p),e-=d.data.length;for(;d=d.next;){var i=d.data,r=e>i.length?i.length:e;if(i.copy(p,p.length-e,0,r),0===(e-=r)){r===i.length?(++t,d.next?a.head=d.next:a.head=a.tail=null):(a.head=d).data=i.slice(r);break}++t}return a.length-=t,p})(e,a);return d}(e,a.buffer,a.decoder),p);var p}function ba(e){var a=e._readableState;if(0=a.highWaterMark||a.ended))return na("read: emitReadable",a.length,a.ended),(0===a.length&&a.ended?ba:ha)(this),null;if(0===(e=ua(e,a))&&a.ended)return 0===a.length&&ba(this),null;var d=a.needReadable;return na("need readable",d),(0===a.length||a.length-ea._pos){var d=p.substr(a._pos);if("x-user-defined"===a._charset){for(var t=new R(d.length),i=0;ia._pos&&(a.push(new R(new Uint8Array(r.result.slice(a._pos)))),a._pos=r.result.byteLength)},r.onload=function(){a.push(null)},r.readAsArrayBuffer(p)}a._xhr.readyState===pp&&"ms-stream"!==a._mode&&a.push(null)},De(tp,Va);var ip=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];tp.prototype.setHeader=function(e,a){var p=e.toLowerCase();-1===ip.indexOf(p)&&(this._headers[p]={name:e,value:a})},tp.prototype.getHeader=function(e){return this._headers[e.toLowerCase()].value},tp.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},tp.prototype._onFinish=function(){var a=this;if(!a._destroyed){var e,p=a._opts,d=a._headers;if("POST"!==p.method&&"PUT"!==p.method&&"PATCH"!==p.method||(e=function(){if(void 0!==Ha)return Ha;try{new u.Blob([new ArrayBuffer(1)]),Ha=!0}catch(e){Ha=!1}return Ha}()?new u.Blob(a._body.map(function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(ee(e)){for(var a=new Uint8Array(e.length),p=e.length,d=0;d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gp=np-lp,bp=Math.floor,yp=String.fromCharCode;function Sp(e){throw new RangeError(_p[e])}function Np(e,a){for(var p=e.length,d=[];p--;)d[p]=a(e[p]);return d}function Tp(e,a){var p=e.split("@"),d="";return 1>>10&1023|55296),e=56320|1023&e),a+=yp(e)}).join("")}function Ap(e,a){return e+22+75*(e<26)-((0!=a)<<5)}function Ep(e,a,p){var d=0;for(e=p?bp(e/sp):e>>1,e+=bp(e/a);gp*mp>>1bp((rp-o)/i))&&Sp("overflow"),o+=n*i,!(n<(n=r<=u?lp:u+mp<=r?mp:r-u));r+=np)i>bp(rp/(n=np-n))&&Sp("overflow"),i*=n;u=Ep(o-t,a=l.length+1,0==t),bp(o/a)>rp-s&&Sp("overflow"),s+=bp(o/a),o%=a,l.splice(o++,0,s)}return Vp(l)}function Rp(e){for(var a,p,d,t,i,r,n,l,m,o,s=[],u=(e=Dp(e)).length,h=hp,c=up,f=a=0;fbp((rp-a)/(l=p+1))&&Sp("overflow"),a+=(t-h)*l,h=t,f=0;frp&&Sp("overflow"),n==h){for(i=a,r=np;!(i<(m=r<=c?lp:c+mp<=r?mp:r-c));r+=np)s.push(yp(Ap(m+(o=i-m)%(m=np-m),0))),i=bp(o/m);s.push(yp(Ap(i,0))),c=Ep(a,l,p==d),a=0,++p}++a,++h}return s.join("")}function xp(e){return Tp(e,function(e){return fp.test(e)?kp(e.slice(4).toLowerCase()):e})}function Cp(e){return Tp(e,function(e){return vp.test(e)?"xn--"+Rp(e):e})}Ee={decode:Dp,encode:Vp},ke=Object.freeze({__proto__:null,decode:kp,encode:Rp,toUnicode:xp,toASCII:Cp,version:"1.4.1",ucs2:Ee,default:{version:"1.4.1",ucs2:Ee,toASCII:Cp,toUnicode:xp,encode:Rp,decode:kp}});var Op=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Lp(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Bp(e,a){if(e.map)return e.map(a);for(var p=[],d=0;d",'"',"`"," ","\r","\n","\t"]),Mp=["'"].concat(Ae),Zp=["%","/","?",";","#"].concat(Mp),qp=["/","?","#"],Hp=255,Kp=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Wp={javascript:!0,"javascript:":!0},$p={javascript:!0,"javascript:":!0},Gp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xp(e,a,p){if(e&&We(e)&&e instanceof Fp)return e;var d=new Fp;return d.parse(e,a,p),d}function Jp(e,a,p,d){if(!He(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var t=a.indexOf("?"),i=-1!==t&&tHp?e.hostname="":e.hostname=e.hostname.toLowerCase(),s||(e.hostname=Cp(e.hostname));var S=e.port?":"+e.port:"",N=e.hostname||"";e.host=N+S,e.href+=e.host,s&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==r[0]&&(r="/"+r))}if(!Wp[V])for(h=0,c=Mp.length;hi)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&a.clamp)return p=(a=p)%1==.5&&0==(1&a)?Math.floor(a):Math.round(a),pi&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=id(p)*Math.floor(Math.abs(p)),p%=r,!d.unsigned&&p>=n)return p-r;if(d.unsigned)if(p<0)p+=r;else if(-0===p)return 0;return p}}Ae.void=function(){},Ae.boolean=function(e){return!!e},Ae.byte=rd(8,{unsigned:!1}),Ae.octet=rd(8,{unsigned:!0}),Ae.short=rd(16,{unsigned:!1}),Ae["unsigned short"]=rd(16,{unsigned:!0}),Ae.long=rd(32,{unsigned:!1}),Ae["unsigned long"]=rd(32,{unsigned:!0}),Ae["long long"]=rd(32,{unsigned:!1,moduloBitLength:64}),Ae["unsigned long long"]=rd(32,{unsigned:!0,moduloBitLength:64}),Ae.double=function(e){e=+e;if(!Number.isFinite(e))throw new TypeError("Argument is not a finite floating-point value");return e},Ae["unrestricted double"]=function(e){e=+e;if(isNaN(e))throw new TypeError("Argument is NaN");return e},Ae.float=Ae.double,Ae["unrestricted float"]=Ae["unrestricted double"],Ae.DOMString=function(e,a){return(a=a||{}).treatNullAsEmptyString&&null===e?"":String(e)},Ae.ByteString=function(e,a){const p=String(e);var d;for(let e=0;void 0!==(d=p.codePointAt(e));++e)if(255=e)return t;t[0][0]>e?p=d-1:a=d+1}return null}var wd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function _d(e){return e.replace(wd,"_").length}var gd=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function bd(e,a,p){var d=function(e,a,p){for(var d=!1,t="",i=_d(e),r=0;r=Math.pow(256,5-p.length))return m;let t=p.pop(),i=0;for(const n of p)t+=n*Math.pow(256,3-i),++i;return t}function N(a){let p="";var d,t=function(a){let p=null,d=1,t=null,i=0;for(let e=0;ed&&(p=t,d=i),t=null,i=0):(null===t&&(t=e),++i);i>d&&(p=t,d=i);return{idx:p,len:d}}(a).idx;let i=!1;for(let e=0;e<=7;++e)i&&0===a[e]||(i=i&&!1,t!==e?(p+=a[e].toString(16),7!==e&&(p+=":")):(d=0===e?"::":":",p+=d,i=!0));return p}function T(e,a){if("["===e[0])return"]"!==e[e.length-1]?m:function(d){const t=[0,0,0,0,0,0,0,0];let i=0,a=null,r=0;if(58===(d=l.ucs2.decode(d))[r]){if(58!==d[r+1])return m;r+=2,++i,a=i}for(;rMath.pow(2,16)-1)return this.parseError=!0,m;this.url.port=a===(e=this.url.scheme,t[e])?null:a,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const k=new Set([47,92,63,35]);E.prototype["parse file"]=function(e){var a;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(a=this.input[this.pointer+1],!r(e)||58!==a&&124!==a)||2<=this.input.length-this.pointer-1&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),V(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},E.prototype["parse file slash"]=function(e){return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(e=this.base.path[0]).length&&r(e.codePointAt(0))&&":"===e[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},E.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&h(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=T(this.buffer,f(this.url));if(e===m)return m;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=a;return!0},E.prototype["parse path start"]=function(e){return f(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},E.prototype["parse path"]=function(e){if(isNaN(e)||47===e||f(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(f(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a?(V(this.url),47===e||f(this.url)&&92===e||this.url.path.push("")):!n(this.buffer)||47===e||f(this.url)&&92===e?n(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&h(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;1>>7)]}function st(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function ut(e,a,p){e.bi_valid>Zd-p?(e.bi_buf|=a<>Zd-e.bi_valid,e.bi_valid+=p-Zd):(e.bi_buf|=a<>>=1,p<<=1,0<--a;);return p>>>1}function ft(e,a,p){for(var d,t=new Array(Md+1),i=0,r=1;r<=Md;r++)t[r]=i=i+p[r-1]<<1;for(d=0;d<=a;d++){var n=e[2*d+1];0!==n&&(e[2*d]=ct(t[n]++,n))}}function vt(e){for(var a=0;a>1;1<=p;p--)gt(e,i,p);for(t=l;p=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gt(e,i,1),d=e.heap[1],e.heap[--e.heap_max]=p,e.heap[--e.heap_max]=d,i[2*t]=i[2*p]+i[2*d],e.depth[t]=(e.depth[p]>=e.depth[d]?e.depth[p]:e.depth[d])+1,i[2*p+1]=i[2*d+1]=t,e.heap[1]=t++,gt(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,a){for(var p,d,t,i,r,n=a.dyn_tree,l=a.max_code,m=a.stat_desc.static_tree,o=a.stat_desc.has_stree,s=a.stat_desc.extra_bits,u=a.stat_desc.extra_base,h=a.stat_desc.max_length,c=0,f=0;f<=Md;f++)e.bl_count[f]=0;for(n[2*e.heap[e.heap_max]+1]=0,p=e.heap_max+1;p>=7;i>=8,e.bi_valid-=8)}function Et(e,a,p,d){var t,i,r=0;0>>=1)if(1&a&&0!==e.dyn_ltree[2*p])return kd;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Rd;for(p=32;p>>3,(i=e.static_len+3+7>>>3)<=t&&(t=i)):t=i=p+5,p+4<=t&&-1!==a?Vt(e,a,p,d):e.strategy===Ed||i===t?(ut(e,(Ld<<1)+(d?1:0),3),bt(e,Qd,et)):(ut(e,(Bd<<1)+(d?1:0),3),function(e,a,p,d){var t;for(ut(e,a-257,5),ut(e,p-1,5),ut(e,d-4,4),t=0;t>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&p,e.last_lit++,0===a?e.dyn_ltree[2*p]++:(e.matches++,a--,e.dyn_ltree[2*(pt[p]+Ud+1)]++,e.dyn_dtree[2*ot(a)]++),e.last_lit===e.lit_bufsize-1}function Rt(e,a,p,d){for(var t=65535&e|0,i=e>>>16&65535|0,r=0;0!==p;){for(p-=r=2e3>>1:p>>>1;e[a]=p}return e}();function Ct(e,a,p,d){var t=xt,i=d+p;e^=-1;for(var r=d;r>>8^t[255&(e^a[r])];return-1^e}var Ot=0,Lt=1,Bt=3,Pt=4,Ut=5,Ft=0,It=1,jt=-2,zt=-3,Mt=-5,Zt=-1,qt=1,Ht=2,Kt=3,Yt=4,Wt=2,$t=8,Gt=9,Xt=286,Jt=30,Qt=19,ei=2*Xt+1,ai=15,pi=3,di=258,ti=di+pi+1,ii=32,ri=42,ni=69,li=73,mi=91,oi=103,si=113,ui=666,hi=1,ci=2,fi=3,vi=4,wi=3;function _i(e,a){return e.msg=Sd[a],a}function gi(e){return(e<<1)-(4e.avail_out?e.avail_out:p)&&(Td(e.output,a.pending_buf,a.pending_out,p,e.next_out),e.next_out+=p,a.pending_out+=p,e.total_out+=p,e.avail_out-=p,a.pending-=p,0===a.pending&&(a.pending_out=0))}function Si(e,a){Et(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,a),e.block_start=e.strstart,yi(e.strm)}function Ni(e,a){e.pending_buf[e.pending++]=a}function Ti(e,a){e.pending_buf[e.pending++]=a>>>8&255,e.pending_buf[e.pending++]=255&a}function Di(e,a){var p,d,t=e.max_chain_length,i=e.strstart,r=e.prev_length,n=e.nice_match,l=e.strstart>e.w_size-ti?e.strstart-(e.w_size-ti):0,m=e.window,o=e.w_mask,s=e.prev,u=e.strstart+di,h=m[i+r-1],c=m[i+r];e.prev_length>=e.good_match&&(t>>=2),n>e.lookahead&&(n=e.lookahead);do{if(m[(p=a)+r]===c&&m[p+r-1]===h&&m[p]===m[i]&&m[++p]===m[i+1]){for(i+=2,p++;m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&il&&0!=--t);return r<=e.lookahead?r:e.lookahead}function Vi(e){var a,p,d,t,i,r,n,l,m,o=e.w_size;do{if(m=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-ti)){for(Td(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,a=p=e.hash_size;d=e.head[--a],e.head[a]=o<=d?d-o:0,--p;);for(a=p=o;d=e.prev[--a],e.prev[a]=o<=d?d-o:0,--p;);m+=o}if(0===e.strm.avail_in)break;if(i=e.strm,r=e.window,n=e.strstart+e.lookahead,l=m,m=void 0,m=i.avail_in,p=0===(m=l=pi)for(t=e.strstart-e.insert,e.ins_h=e.window[t],e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi)if(d=kt(e,e.strstart-e.match_start,e.match_length-pi),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pi){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi&&e.match_length<=e.prev_length){for(t=e.strstart+e.lookahead-pi,d=kt(e,e.strstart-1-e.prev_match,e.prev_length-pi),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=t&&(e.ins_h=(e.ins_h<>8&255),Ni(p,p.gzhead.time>>16&255),Ni(p,p.gzhead.time>>24&255),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,255&p.gzhead.os),p.gzhead.extra&&p.gzhead.extra.length&&(Ni(p,255&p.gzhead.extra.length),Ni(p,p.gzhead.extra.length>>8&255)),p.gzhead.hcrc&&(e.adler=Ct(e.adler,p.pending_buf,p.pending,0)),p.gzindex=0,p.status=ni):(Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,wi),p.status=si)):(i=$t+(p.w_bits-8<<4)<<8,i|=(p.strategy>=Ht||p.level<2?0:p.level<6?1:6===p.level?2:3)<<6,0!==p.strstart&&(i|=ii),i+=31-i%31,p.status=si,Ti(p,i),0!==p.strstart&&(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),e.adler=1)),p.status===ni)if(p.gzhead.extra){for(d=p.pending;p.gzindex<(65535&p.gzhead.extra.length)&&(p.pending!==p.pending_buf_size||(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending!==p.pending_buf_size));)Ni(p,255&p.gzhead.extra[p.gzindex]),p.gzindex++;p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),p.gzindex===p.gzhead.extra.length&&(p.gzindex=0,p.status=li)}else p.status=li;if(p.status===li)if(p.gzhead.name){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.gzindex=0,p.status=mi)}else p.status=mi;if(p.status===mi)if(p.gzhead.comment){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.status=oi)}else p.status=oi;if(p.status===oi&&(p.gzhead.hcrc?(p.pending+2>p.pending_buf_size&&yi(e),p.pending+2<=p.pending_buf_size&&(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),e.adler=0,p.status=si)):p.status=si),0!==p.pending){if(yi(e),0===e.avail_out)return p.last_flush=-1,Ft}else if(0===e.avail_in&&gi(a)<=gi(r)&&a!==Pt)return _i(e,Mt);if(p.status===ui&&0!==e.avail_in)return _i(e,Mt);if(0!==e.avail_in||0!==p.lookahead||a!==Ot&&p.status!==ui){var r=p.strategy===Ht?function(e,a){for(var p;;){if(0===e.lookahead&&(Vi(e),0===e.lookahead)){if(a===Ot)return hi;break}if(e.match_length=0,p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):p.strategy===Kt?function(e,a){for(var p,d,t,i,r=e.window;;){if(e.lookahead<=di){if(Vi(e),e.lookahead<=di&&a===Ot)return hi;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=pi&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pi?(p=kt(e,1,e.match_length-pi),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):Oi[p.level].func(p,a);if(r!==fi&&r!==vi||(p.status=ui),r===hi||r===fi)return 0===e.avail_out&&(p.last_flush=-1),Ft;if(r===ci&&(a===Lt?At(p):a!==Ut&&(Vt(p,0,0,!1),a===Bt&&(bi(p.head),0===p.lookahead&&(p.strstart=0,p.block_start=0,p.insert=0))),yi(e),0===e.avail_out))return p.last_flush=-1,Ft}return a!==Pt?Ft:p.wrap<=0?It:(2===p.wrap?(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),Ni(p,e.adler>>16&255),Ni(p,e.adler>>24&255),Ni(p,255&e.total_in),Ni(p,e.total_in>>8&255),Ni(p,e.total_in>>16&255),Ni(p,e.total_in>>24&255)):(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),yi(e),0e.pending_buf_size-5&&(p=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vi(e),0===e.lookahead&&a===Ot)return hi;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var d=e.block_start+p;if((0===e.strstart||e.strstart>=d)&&(e.lookahead=e.strstart-d,e.strstart=d,Si(e,!1),0===e.strm.avail_out))return hi;if(e.strstart-e.block_start>=e.w_size-ti&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):(e.strstart>e.block_start&&(Si(e,!1),e.strm.avail_out),hi)}),new ki(4,4,8,4,Ai),new ki(4,5,16,8,Ai),new ki(4,6,32,32,Ai),new ki(4,4,16,16,Ei),new ki(8,16,32,32,Ei),new ki(8,16,128,128,Ei),new ki(8,32,128,256,Ei),new ki(32,128,258,1024,Ei),new ki(32,258,258,4096,Ei)],Li=30,Bi=12;var Pi=15,Ui=852,Fi=592,Ii=0,ji=1,zi=2,Mi=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zi=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qi=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Hi=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function Ki(e,a,p,d,t,i,r,n){for(var l,m,o,s,u,h,c,f,v,w=n.bits,_=0,g=0,b=0,y=0,S=0,N=0,T=0,D=0,V=0,A=0,E=null,k=0,R=new Vd(Pi+1),x=new Vd(Pi+1),C=null,O=0,_=0;_<=Pi;_++)R[_]=0;for(g=0;gh?(f=C[O+r[g]],E[k+r[g]]):(f=96,0),l=1<<(c=_-T),b=m=1<>T)+(m-=l)]=c<<24|f<<16|v|0,0!==m;);for(l=1<<_-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,g++,0==--R[_]){if(_===y)break;_=a[p+r[g]]}if(S<_&&(A&s)!==o){for(u+=b,D=1<<(N=_-(T=0===T?S:T));N+T>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Mr(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Vd(320),this.work=new Vd(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Zr(e){var a;return e&&e.state?((a=e.state).wsize=0,a.whave=0,a.wnext=0,(a=e)&&a.state?(e=a.state,a.total_in=a.total_out=e.total=0,a.msg="",e.wrap&&(a.adler=1&e.wrap),e.mode=nr,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Ad(Ir),e.distcode=e.distdyn=new Ad(jr),e.sane=1,e.back=-1,Qi):pr):pr}function qr(e,a){var p,d,t;return e?(p=new Mr,(e.state=p).window=null,d=a,(p=(p=e)&&p.state?(a=p.state,d<0?(t=0,d=-d):(t=1+(d>>4),d<48&&(d&=15)),d&&(d<8||15>>8&255,p.check=Ct(p.check,C,2,0),o=m=0,p.mode=lr;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",p.mode=Pr;break}if((15&m)!==rr){e.msg="unknown compression method",p.mode=Pr;break}if(o-=4,S=8+(15&(m>>>=4)),0===p.wbits)p.wbits=S;else if(S>p.wbits){e.msg="invalid window size",p.mode=Pr;break}p.dmax=1<>8&1),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=mr;case mr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>8&255,C[2]=m>>>16&255,C[3]=m>>>24&255,p.check=Ct(p.check,C,4,0)),o=m=0,p.mode=or;case or:for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>8),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=sr;case sr:if(1024&p.flags){for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0}else p.head&&(p.head.extra=null);p.mode=ur;case ur:if(1024&p.flags&&((h=n<(h=p.length)?n:h)&&(p.head&&(S=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),Td(p.head.extra,d,i,h,S)),512&p.flags&&(p.check=Ct(p.check,d,h,i)),n-=h,i+=h,p.length-=h),p.length))break e;p.length=0,p.mode=hr;case hr:if(2048&p.flags){if(0===n)break e;for(h=0;S=d[i+h++],p.head&&S&&p.length<65536&&(p.head.name+=String.fromCharCode(S)),S&&h>9&1,p.head.done=!0),e.adler=p.check=0,p.mode=_r;break;case vr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>=7&o,o-=7&o,p.mode=Or;break}for(;o<3;){if(0===n)break e;n--,m+=d[i++]<>>=1)){case 0:p.mode=br;break;case 1:if(!function(e){if(Yr){var a;for(Hr=new Ad(512),Kr=new Ad(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(Ki(Wi,e.lens,0,288,Hr,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;Ki($i,e.lens,0,32,Kr,0,e.work,{bits:5}),Yr=!1}e.lencode=Hr,e.lenbits=9,e.distcode=Kr,e.distbits=5}(p),p.mode=Vr,a!==Ji)break;m>>>=2,o-=2;break e;case 2:p.mode=Nr;break;case 3:e.msg="invalid block type",p.mode=Pr}m>>>=2,o-=2;break;case br:for(m>>>=7&o,o-=7&o;o<32;){if(0===n)break e;n--,m+=d[i++]<>>16^65535)){e.msg="invalid stored block lengths",p.mode=Pr;break}if(p.length=65535&m,o=m=0,p.mode=yr,a===Ji)break e;case yr:p.mode=Sr;case Sr:if(h=p.length){if(0===(h=l<(h=n>>=5,o-=5,p.ndist=1+(31&m),m>>>=5,o-=5,p.ncode=4+(15&m),m>>>=4,o-=4,286>>=3,o-=3}for(;p.have<19;)p.lens[O[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,T={bits:p.lenbits},N=Ki(Yi,p.lens,0,19,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid code lengths set",p.mode=Pr;break}p.have=0,p.mode=Dr;case Dr:for(;p.have>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=v,o-=v,p.lens[p.have++]=_;else{if(16===_){for(D=v+2;o>>=v,o-=v,0===p.have){e.msg="invalid bit length repeat",p.mode=Pr;break}S=p.lens[p.have-1],h=3+(3&m),m>>>=2,o-=2}else if(17===_){for(D=v+3;o>>=v)),m>>>=3,o-=3}else{for(D=v+7;o>>=v)),m>>>=7,o-=7}if(p.have+h>p.nlen+p.ndist){e.msg="invalid bit length repeat",p.mode=Pr;break}for(;h--;)p.lens[p.have++]=S}}if(p.mode===Pr)break;if(0===p.lens[256]){e.msg="invalid code -- missing end-of-block",p.mode=Pr;break}if(p.lenbits=9,T={bits:p.lenbits},N=Ki(Wi,p.lens,0,p.nlen,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid literal/lengths set",p.mode=Pr;break}if(p.distbits=6,p.distcode=p.distdyn,T={bits:p.distbits},N=Ki($i,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,T),p.distbits=T.bits,N){e.msg="invalid distances set",p.mode=Pr;break}if(p.mode=Vr,a===Ji)break e;case Vr:p.mode=Ar;case Ar:if(6<=n&&258<=l){e.next_out=r,e.avail_out=l,e.next_in=i,e.avail_in=n,p.hold=m,p.bits=o,function(e,a){var p,d,t,i,r,n,l=e.state,m=e.next_in,o=e.input,s=m+(e.avail_in-5),u=e.next_out,h=e.output,c=u-(a-e.avail_out),f=u+(e.avail_out-257),v=l.dmax,w=l.wsize,_=l.whave,g=l.wnext,b=l.window,y=l.hold,S=l.bits,N=l.lencode,T=l.distcode,D=(1<>>=d=p>>>24,S-=d,0===(d=p>>>16&255))h[u++]=65535&p;else{if(!(16&d)){if(0==(64&d)){p=N[(65535&p)+(y&(1<>>=d,S-=d),S<15&&(y+=o[m++]<>>=d=p>>>24,S-=d,!(16&(d=p>>>16&255))){if(0==(64&d)){p=T[(65535&p)+(y&(1<>>=d,S-=d,(d=u-c)>3)<<3))-1,e.next_in=m-=t,e.next_out=u,e.avail_in=m>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,p.length=_,0===w){p.mode=Cr;break}if(32&w){p.back=-1,p.mode=_r;break}if(64&w){e.msg="invalid literal/length code",p.mode=Pr;break}p.extra=15&w,p.mode=Er;case Er:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=kr;case kr:for(;w=(x=p.distcode[m&(1<>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,64&w){e.msg="invalid distance code",p.mode=Pr;break}p.offset=_,p.extra=15&w,p.mode=Rr;case Rr:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){e.msg="invalid distance too far back",p.mode=Pr;break}p.mode=xr;case xr:if(0===l)break e;if(p.offset>(h=u-l)){if((h=p.offset-h)>p.whave&&p.sane){e.msg="invalid distance too far back",p.mode=Pr;break}c=h>p.wnext?(h-=p.wnext,p.wsize-h):p.wnext-h,h>p.length&&(h=p.length),f=p.window}else f=t,c=r-p.offset,h=p.length;for(l-=h=l=R.wsize?(Td(R.window,A,E-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(V=R.wsize-R.wnext,Td(R.window,A,E-k,V=kan.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsan.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelan.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelan.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=an.Z_FILTERED&&e.strategy!=an.Z_HUFFMAN_ONLY&&e.strategy!=an.Z_RLE&&e.strategy!=an.Z_FIXED&&e.strategy!=an.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!R.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new an.Zlib(a);var p=this;this._hadError=!1,this._binding.onerror=function(e,a){p._binding=null,p._hadError=!0;e=new Error(e);e.errno=a,e.code=an.codes[a],p.emit("error",e)};var d=an.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(d=e.level);a=an.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||an.Z_DEFAULT_WINDOWBITS,d,e.memLevel||an.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new R(this._chunkSize),this._offset=0,this._closed=!1,this._level=d,this._strategy=a,this.once("end",this.close)}Object.keys(pn).forEach(function(e){pn[pn[e]]=e}),De(hn,za),hn.prototype.params=function(e,a,p){if(ean.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(a!=an.Z_FILTERED&&a!=an.Z_HUFFMAN_ONLY&&a!=an.Z_RLE&&a!=an.Z_FIXED&&a!=an.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+a);var d;this._level!==e||this._strategy!==a?(d=this).flush(an.Z_SYNC_FLUSH,function(){d._binding.params(e,a),d._hadError||(d._level=e,d._strategy=a,p&&p())}):Oe.nextTick(p)},hn.prototype.reset=function(){return this._binding.reset()},hn.prototype._flush=function(e){this._transform(new R(0),"",e)},hn.prototype.flush=function(e,a){var p,d=this._writableState;"function"!=typeof e&&(void 0!==e||a)||(a=e,e=an.Z_FULL_FLUSH),d.ended?a&&Oe.nextTick(a):d.ending?a&&this.once("end",a):d.needDrain?(p=this).once("drain",function(){p.flush(a)}):(this._flushFlag=e,this.write(new R(0),"",a))},hn.prototype.close=function(e){var a;e&&Oe.nextTick(e),this._closed||(this._closed=!0,this._binding.close(),a=this,Oe.nextTick(function(){a.emit("close")}))},hn.prototype._transform=function(e,a,p){var d,t=this._writableState,i=(t.ending||t.ended)&&(!e||t.length===e.length);if(null===!e&&!R.isBuffer(e))return p(new Error("invalid input"));i?d=an.Z_FINISH:(d=this._flushFlag,e.length>=t.length&&(this._flushFlag=this._opts.flush||an.Z_NO_FLUSH)),this._processChunk(e,d,p)},hn.prototype._processChunk=function(t,i,r){var n=t&&t.length,l=this._chunkSize-this._offset,m=0,o=this,s="function"==typeof r;if(!s){var a,u=[],h=0;this.on("error",function(e){a=e});do{var e=this._binding.writeSync(i,t,m,n,this._buffer,this._offset,l)}while(!this._hadError&&c(e[0],e[1]));if(this._hadError)throw a;var p=R.concat(u,h);return this.close(),p}p=this._binding.write(i,t,m,n,this._buffer,this._offset,l);function c(e,a){if(!o._hadError){var p,d=l-a;if(!function(e,a){if(!e)throw new Error(a)}(0<=d,"have should not go down"),0=o._chunkSize)&&(l=o._chunkSize,o._offset=0,o._buffer=new R(o._chunkSize)),0===a){if(m+=n-e,n=e,!s)return!0;e=o._binding.write(i,t,m,n,o._buffer,o._offset,o._chunkSize);return e.callback=c,void(e.buffer=t)}if(!s)return!1;r()}}p.buffer=t,p.callback=c},De(rn,hn),De(nn,hn),De(ln,hn),De(mn,hn),De(on,hn),De(sn,hn),De(un,hn);var cn={codes:pn,createDeflate:function(e){return new rn(e)},createInflate:function(e){return new nn(e)},createDeflateRaw:function(e){return new on(e)},createInflateRaw:function(e){return new sn(e)},createGzip:function(e){return new ln(e)},createGunzip:function(e){return new mn(e)},createUnzip:function(e){return new un(e)},deflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new rn(a),e,p)},deflateSync:function(e,a){return tn(new rn(a),e)},gzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new ln(a),e,p)},gzipSync:function(e,a){return tn(new ln(a),e)},deflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new on(a),e,p)},deflateRawSync:function(e,a){return tn(new on(a),e)},unzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new un(a),e,p)},unzipSync:function(e,a){return tn(new un(a),e)},inflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new nn(a),e,p)},inflateSync:function(e,a){return tn(new nn(a),e)},gunzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new mn(a),e,p)},gunzipSync:function(e,a){return tn(new mn(a),e)},inflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new sn(a),e,p)},inflateRawSync:function(e,a){return tn(new sn(a),e)},Deflate:rn,Inflate:nn,Gzip:ln,Gunzip:mn,DeflateRaw:on,InflateRaw:sn,Unzip:un,Zlib:hn};const fn=qa.Readable,vn=Symbol("buffer"),wn=Symbol("type");class _n{constructor(){this[wn]="";var e=arguments[0],a=arguments[1];const p=[];let d=0;if(e){var t=e,i=Number(t.length);for(let a=0;ad.size)return n=!0,void a(new gn(`content size at ${d.url} over limit: ${d.size}`,"max-size"));r+=e.length,i.push(e)}}),t.on("end",function(){if(!n){clearTimeout(p);try{e(Buffer.concat(i,r))}catch(e){a(new gn(`Could not create Buffer from response body for ${d.url}: ${e.message}`,"system",e))}}})})}function Dn(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function Vn(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function An(e){var a,p;let d=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return d instanceof qa&&"function"!=typeof d.getBoundary&&(a=new Sn,p=new Sn,d.pipe(a),d.pipe(p),e[yn].body=a,d=p),d}function En(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Dn(e)?"application/x-www-form-urlencoded;charset=UTF-8":Vn(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof qa?null:"text/plain;charset=UTF-8"}function kn(e){const a=e.body;return null===a?0:Vn(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync&&(a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength())?a.getLengthSync():null}Nn.prototype={get body(){return this[yn].body},get bodyUsed(){return this[yn].disturbed},arrayBuffer(){return Tn.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let a=this.headers&&this.headers.get("content-type")||"";return Tn.call(this).then(function(e){return Object.assign(new _n([],{type:a.toLowerCase()}),{[vn]:e})})},json(){var a=this;return Tn.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(e){return Nn.Promise.reject(new gn(`invalid json response body at ${a.url} reason: ${e.message}`,"invalid-json"))}})},text(){return Tn.call(this).then(function(e){return e.toString()})},buffer(){return Tn.call(this)},textConverted(){var a=this;return Tn.call(this).then(function(e){return function(e,a){if("function"!=typeof bn)throw new Error("The package `encoding` must be installed to use the textConverted() function");a=a.get("content-type");let p="utf-8",d,t;a&&(d=/charset=([^;]*)/i.exec(a));t=e.slice(0,1024).toString(),!d&&t&&(d=/=u.follow)return s(new gn(`maximum redirect reached at: ${u.url}`,"max-redirect")),void f();const r={headers:new Pn(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(!pl(u.url,e))for(const n of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(n);return 303!==a.statusCode&&u.body&&null===kn(u)?(s(new gn("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==a.statusCode&&(301!==a.statusCode&&302!==a.statusCode||"POST"!==u.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),o(dl(new Xn(e,r))),void f())}}a.once("end",function(){h&&h.removeEventListener("abort",v)});let t=a.pipe(new al);const i={url:u.url,status:a.statusCode,statusText:a.statusMessage,headers:p,size:u.size,timeout:u.timeout,counter:u.counter};var e=p.get("Content-Encoding");if(!u.compress||"HEAD"===u.method||null===e||204===a.statusCode||304===a.statusCode)return c=new Zn(t,i),void o(c);d={flush:cn.Z_SYNC_FLUSH,finishFlush:cn.Z_SYNC_FLUSH};if("gzip"==e||"x-gzip"==e)return t=t.pipe(cn.createGunzip(d)),c=new Zn(t,i),void o(c);if("deflate"!=e&&"x-deflate"!=e){if("br"==e&&"function"==typeof cn.createBrotliDecompress)return t=t.pipe(cn.createBrotliDecompress()),c=new Zn(t,i),void o(c);c=new Zn(t,i),o(c)}else{const l=a.pipe(new al);l.once("data",function(e){t=8==(15&e[0])?t.pipe(cn.createInflate()):t.pipe(cn.createInflateRaw()),c=new Zn(t,i),o(c)})}}),function(e,a){const p=a.body;null===p?e.end():Vn(p)?p.stream().pipe(e):Buffer.isBuffer(p)?(e.write(p),e.end()):p.pipe(e)}(d,u)}})}dl.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},dl.Promise=a.Promise;var a=p(Object.freeze({__proto__:null,default:dl,Headers:Pn,Request:Xn,Response:Zn,FetchError:gn})),tl=m,il=tl.__importStar(o),rl=pe;tl.__importDefault(a);var nl=window.fetch.bind(window);!function(e){(a=e.TrustType||(e.TrustType={})).CrossAccount="Cross Account",a.InnerAccount="Inner Account",(r=e.PseudoBoolean||(e.PseudoBoolean={}))[r.True=1]="True",r[r.False=0]="False";var a=(p.prototype.create=function(e){return new p(tl.__assign(tl.__assign({},this.config),e))},p.prototype.getAccounts=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccounts",p)];case 1:return a=e.sent(),[2,Object.keys(a.accountListRole).map(function(e){return{account:e,role:a.accountListRole[e][0].role,iamKeyActive:a.accountListRole[e][0].iamKeyActive,maxKeyDuration:a.accountListRole[e][0].maxKeyDuration,securityLevel:a.accountListRole[e][0].securityLevel,skypieaAccount:a.accountListRole[e][0].skypieaAccount}})]}})})},p.prototype.getKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getIAMKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getIAMKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getAllAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.getDynamicValues?"allAwsRoleTypes?getDynamicValues=true":"allAwsRoleTypes",[4,this.internalFetch(a,p,"GET")];case 1:return[2,e.sent().roleTypes]}})})},p.prototype.getAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.getNonServiceAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getNonServiceAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.createRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=null!=d.roleType,p=null!=d.trustPolicy,a==p?[3,2]:[4,this.internalFetch("createRole",d)];case 1:return(p=e.sent()).denyArns=p.denyArns.split(","),[2,i(p,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])];case 2:throw new Error("Must include roleType or trustPolicy, but not both.")}})})},p.prototype.createNonServiceRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("createNonServiceRole",p)];case 1:return(a=e.sent()).denyArns=a.denyArns.split(","),[2,i(a,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])]}})})},p.prototype.awsAccountRoles=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("awsAccountRoles?account="+a.account,a,"GET")];case 1:return[2,e.sent().awsRoleList]}})})},p.prototype.listAWSAccountRoles=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("listAWSAccountRoles",p)];case 1:return a=e.sent(),[2,JSON.parse(a.jsonAWSRoleList).map(function(e){return e.split("/").slice(-1)[0]})]}})})},p.prototype.getAccountRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccountRole",p)];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags","maxSessionDurationInSeconds"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.updateRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("role",p,"PATCH")];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.deleteRole=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("deleteRole",a)];case 1:return e.sent(),[2,!0]}})})},p.prototype.addRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a)];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.deleteRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a,"DELETE")];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.getUserAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/"+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserAccessByRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("reports/users-by-role?accountId="+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserRoleAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/roles/"+a,p)];case 1:return[2,e.sent().roles]}})})},p.prototype.getAccountOwners=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/owners/"+a,p,"GET")];case 1:return[2,e.sent().accountOwners]}})})},p.prototype.createAccessKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessKeys",a)];case 1:return[2,i(e.sent(),["iamUserArn","accessKey","secretKey","addedIAMUserToGroup","tags"])]}})})},p.prototype.getIamUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("iam-users/id/"+a.account+"/"+a.iamUserName,a,"GET")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.updateIamUser=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return delete(a=tl.__assign(tl.__assign({},p),{user:{tags:p.tags}})).tags,[4,this.internalFetch("iam-users/id/"+p.account+"/"+p.iamUserName,a,"PATCH")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.deleteIAMUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("IAMUser",a,"DELETE")];case 1:return e.sent(),[2,!0]}})})},p.prototype.version=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("version",a,"GET")];case 1:return[2,i(e.sent(),["version"])]}})})},p.prototype.getLoginRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=d.accountId,p=d.role,[4,this.internalFetch("loginRoles/id/"+a+"/"+p,d,"GET")];case 1:return[2,i(e.sent().loginRole,["account","role","iamKeyActive","maxKeyDuration","securityLevel"])]}})})},p.prototype.getAccessToken=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessToken",a)];case 1:return[2,i(e.sent(),["accessToken","expiresIn"])]}})})},p.prototype.getRefreshTokens=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("refreshTokens",a,"GET")];case 1:return[2,e.sent().refreshTokens.map(function(e){return i(e,["clientId","id","userId","value"])})]}})})},p.prototype.revoke=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("revoke",a)];case 1:return[2,"Success"==e.sent().statusMessage]}})})},p.prototype.getCostTotals=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("costTotals/"+a.accountId,a,"GET")];case 1:return[2,i(e.sent().costTotals,["awsAccountId","yyyy","mm","dd","daily","weekly","monthly","yearly","dailyCostsByService","monthlyCostsByService"])]}})})},p.prototype.internalFetch=function(n,l,m){return void 0===l&&(l={}),void 0===m&&(m="POST"),tl.__awaiter(this,void 0,void 0,function(){var a,p,d,t,i,r;return tl.__generator(this,function(e){switch(e.label){case 0:return a=tl.__assign(tl.__assign({},this.config),l),r=tl.__assign({},a),p={"Content-Type":"application/json","User-Agent":"AlksJS/"+il.version},void 0!==a.accessToken?(p.Authorization="Bearer "+a.accessToken,delete r.accessToken):void 0!==a.accessKey?(p["ALKS-STS-Access-Key"]=a.accessKey,p["ALKS-STS-Secret-Key"]=a.secretKey,p["ALKS-STS-Session-Token"]=a.sessionToken,delete r.accessKey,delete r.secretKey,delete r.sessionToken):void 0!==a.userid&&(console.error("The userid and password properties are deprecated and should be replaced with an access token"),d=function(e){void 0===e&&(e="");return rl.Buffer.from(e).toString("base64")}(a.userid+":"+a.password),p.Authorization="Basic "+d,delete r.userid,delete r.password),a.userAgent&&(p["User-Agent"]+=" "+a.userAgent,delete r.userAgent),[4,a._fetch(a.baseUrl+"/"+n,{method:m,headers:p,credentials:"omit",body:"GET"==m?void 0:JSON.stringify(r)})];case 1:t=e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.json()];case 3:return i=e.sent(),[3,5];case 4:return r=e.sent(),i={errors:[r.message]},[3,5];case 5:if(!t.ok)throw new o(t,i);return[2,i]}})})},p);function p(e){this.config=e}e.Alks=a;var t,o=(t=Error,tl.__extends(d,t),d);function d(e,a){var p=this,d=Array.isArray(null==a?void 0:a.errors)?a.errors:[];e.statusText&&d.unshift(e.statusText);d=d.join("; ");return(p=t.call(this,d)||this).status=e.status,p.message=d,Object.assign(p,a),p}function i(p,e){return e.reduce(function(e,a){return e[a]=p[a],e},{})}e.AlksError=o;var r=a.prototype.create.call({},{_fetch:nl});e.create=a.prototype.create.bind(r),e.getAccounts=a.prototype.getAccounts.bind(r),e.getKeys=a.prototype.getKeys.bind(r),e.getIAMKeys=a.prototype.getIAMKeys.bind(r),e.getAllAWSRoleTypes=a.prototype.getAllAWSRoleTypes.bind(r),e.getAWSRoleTypes=a.prototype.getAWSRoleTypes.bind(r),e.getNonServiceAWSRoleTypes=a.prototype.getNonServiceAWSRoleTypes.bind(r),e.createRole=a.prototype.createRole.bind(r),e.createNonServiceRole=a.prototype.createNonServiceRole.bind(r),e.awsAccountRoles=a.prototype.awsAccountRoles.bind(r),e.listAWSAccountRoles=a.prototype.listAWSAccountRoles.bind(r),e.getAccountRole=a.prototype.getAccountRole.bind(r),e.updateRole=a.prototype.updateRole.bind(r),e.deleteRole=a.prototype.deleteRole.bind(r),e.addRoleMachineIdentity=a.prototype.addRoleMachineIdentity.bind(r),e.deleteRoleMachineIdentity=a.prototype.deleteRoleMachineIdentity.bind(r),e.getUserAccess=a.prototype.getUserAccess.bind(r),e.getUserAccessByRole=a.prototype.getUserAccessByRole.bind(r),e.getUserRoleAccess=a.prototype.getUserRoleAccess.bind(r),e.getAccountOwners=a.prototype.getAccountOwners.bind(r),e.createAccessKeys=a.prototype.createAccessKeys.bind(r),e.getIamUser=a.prototype.getIamUser.bind(r),e.updateIamUser=a.prototype.updateIamUser.bind(r),e.deleteIAMUser=a.prototype.deleteIAMUser.bind(r),e.version=a.prototype.version.bind(r),e.getLoginRole=a.prototype.getLoginRole.bind(r),e.getAccessToken=a.prototype.getAccessToken.bind(r),e.getRefreshTokens=a.prototype.getRefreshTokens.bind(r),e.revoke=a.prototype.revoke.bind(r),e.getCostTotals=a.prototype.getCostTotals.bind(r)}(ll=ll||{});var ll=ll;e.default=ll,Object.defineProperty(e,"__esModule",{value:!0}),Object.assign(e,ll)}); +!function(global,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((global="undefined"!=typeof globalThis?globalThis:global||self).alks={})}(this,function(e){"use strict";var a=window||this;function p(p){if(p.__esModule)return p;var d=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(p).forEach(function(e){var a=Object.getOwnPropertyDescriptor(p,e);Object.defineProperty(d,e,a.get?a:{enumerable:!0,get:function(){return p[e]}})}),d}var d=function(e,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(e[p]=a[p])})(e,a)};var t=function(){return(t=Object.assign||function(e){for(var a,p=1,d=arguments.length;p=e.length?void 0:e)&&e[d++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e,a){var p="function"==typeof Symbol&&e[Symbol.iterator];if(!p)return e;var d,t,i=p.call(e),r=[];try{for(;(void 0===a||0r[0]&&a[1] dist/alks.min.js',build:"npm run clean && npm run compile && npm run rollup && npm run minify",lint:"prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}",test:"npm run build && npm run lint && npm run mocha && npm run karma",mocha:"nyc mocha test/test.js",coverage:"nyc report --reporter=lcov --reporter=text",karma:"karma start",docs:"typedoc src/alks.ts",prepare:"husky install",compile:"tsc"},files:["dist/"],repository:{type:"git",url:"https://github.com/Cox-Automotive/alks.js.git"},author:{name:"Cox Automotive",email:"paul.ofallon@coxautoinc.com",url:"https://github.com/Cox-Automotive/"},bugs:{url:"https://github.com/Cox-Automotive/alks.js/issues"},license:"MIT",engines:{node:">=14.0.0"},dependencies:{encoding:"^0.1.13","node-fetch":"^2.6.1",tslib:"^2.3.1"},devDependencies:{"@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/node":"^15.0.2","@types/node-fetch":"^2.5.10",browserify:"^17.0.0",chai:"^4.3.4","chai-as-promised":"^7.1.1",eslint:"^7.25.0","eslint-plugin-jsdoc":"^4.1.1","fetch-mock":"^7.3.1",husky:"^6.0.0",karma:"^6.3.2","karma-browserify":"^8.0.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","lint-staged":"^11.0.0",mkdirp:"^1.0.4",mocha:"^10.0.0",nyc:"^15.1.0",prettier:"^2.3.0",rimraf:"^3.0.2",rollup:"^2.47.0","rollup-plugin-json":"^3.1.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-replace":"^2.2.0",sinon:"^10.0.0",tslint:"^6.1.3",typedoc:"^0.22.15",typescript:"^4.2.4","uglify-js":"^3.13.6"},prettier:{singleQuote:!0,semi:!0,arrowParens:"always",endOfLine:"lf",trailingComma:"es5"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["prettier --write"]}},u=void 0!==a?a:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function w(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=e.length;a>18&63]+h[d>>12&63]+h[d>>6&63]+h[63&d]);return t.join("")}function g(e){var a;v||w();for(var p=e.length,d=p%3,t="",i=[],r=0,n=p-d;r>2],t+=h[a<<4&63],t+="=="):2==d&&(a=(e[p-2]<<8)+e[p-1],t+=h[a>>10],t+=h[a>>4&63],t+=h[a<<2&63],t+="="),i.push(t),i.join("")}function b(e,a,p,d,t){var i,r,n=8*t-d-1,l=(1<>1,o=-7,s=p?t-1:0,u=p?-1:1,p=e[a+s];for(s+=u,i=p&(1<<-o)-1,p>>=-o,o+=n;0>=-o,o+=d;0>1,s=23===t?Math.pow(2,-24)-Math.pow(2,-77):0,u=d?0:i-1,h=d?1:-1,i=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(n=isNaN(a)?1:0,r=m):(r=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-r))<1&&(r--,d*=2),2<=(a+=1<=r+o?s/d:s*Math.pow(2,1-o))*d&&(r++,d/=2),m<=r+o?(n=0,r=m):1<=r+o?(n=(a*d-1)*Math.pow(2,t),r+=o):(n=a*Math.pow(2,o-1)*Math.pow(2,t),r=0));8<=t;e[p+u]=255&n,u+=h,n/=256,t-=8);for(r=r<=D())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D().toString(16)+" bytes");return 0|e}function O(e){return null!=e&&e._isBuffer}function L(e,a){if(O(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var p=(e="string"!=typeof e?""+e:e).length;if(0===p)return 0;for(var d=!1;;)switch(a){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*p;case"hex":return p>>>1;case"base64":return J(e).length;default:if(d)return X(e).length;a=(""+a).toLowerCase(),d=!0}}function B(e,a,p){var d,t,i,r=!1;if((a=void 0===a||a<0?0:a)>this.length)return"";if((p=void 0===p||p>this.length?this.length:p)<=0)return"";if((p>>>=0)<=(a>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,a,p){var d=e.length;(!a||a<0)&&(a=0);(!p||p<0||d=e.length){if(t)return-1;p=e.length-1}else if(p<0){if(!t)return-1;p=0}if(O(a="string"==typeof a?R.from(a,d):a))return 0===a.length?-1:F(e,a,p,d,t);if("number"==typeof a)return a&=255,R.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(t?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,a,p):F(e,[a],p,d,t);throw new TypeError("val must be string, number or Buffer")}function F(e,a,p,d,t){var i=1,r=e.length,n=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(e.length<2||a.length<2)return-1;r/=i=2,n/=2,p/=2}function l(e,a){return 1===i?e[a]:e.readUInt16BE(a*i)}if(t)for(var m=-1,o=p;o>8,d=d%256,t.push(d),t.push(p);return t}(a,e.length-p),e,p,d)}function z(e,a,p){p=Math.min(e.length,p);for(var d=[],t=a;t>>10&1023|55296),o=56320|1023&o),d.push(o),t+=s}return function(e){var a=e.length;if(a<=M)return String.fromCharCode.apply(String,e);var p="",d=0;for(;d"},R.prototype.compare=function(e,a,p,d,t){if(!O(e))throw new TypeError("Argument must be a Buffer");if(void 0===p&&(p=e?e.length:0),void 0===d&&(d=0),void 0===t&&(t=this.length),(a=void 0===a?0:a)<0||p>e.length||d<0||t>this.length)throw new RangeError("out of range index");if(t<=d&&p<=a)return 0;if(t<=d)return-1;if(p<=a)return 1;if(this===e)return 0;for(var i=(t>>>=0)-(d>>>=0),r=(p>>>=0)-(a>>>=0),n=Math.min(i,r),l=this.slice(d,t),m=e.slice(a,p),o=0;othis.length)throw new RangeError("Attempt to write outside buffer bounds");d=d||"utf8";for(var i,r,n,l=!1;;)switch(d){case"hex":return function(e,a,p,d){p=Number(p)||0;var t=e.length-p;if((!d||t<(d=Number(d)))&&(d=t),(t=a.length)%2!=0)throw new TypeError("Invalid hex string");t/2e.length)throw new RangeError("Index out of range")}function H(e,a,p,d){a<0&&(a=65535+a+1);for(var t=0,i=Math.min(e.length-p,2);t>>8*(d?t:1-t)}function K(e,a,p,d){a<0&&(a=4294967295+a+1);for(var t=0,i=Math.min(e.length-p,4);t>>8*(d?t:3-t)&255}function Y(e,a,p,d){if(p+d>e.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function W(e,a,p,d,t){return t||Y(e,0,p,4),y(e,a,p,d,23,4),p+4}function $(e,a,p,d,t){return t||Y(e,0,p,8),y(e,a,p,d,52,8),p+8}R.prototype.slice=function(e,a){var p=this.length;if((e=~~e)<0?(e+=p)<0&&(e=0):p>>8):H(this,e,a,!0),a+2},R.prototype.writeUInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeUInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e):K(this,e,a,!0),a+4},R.prototype.writeUInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeIntLE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=0,i=1,r=0;for(this[a]=255&e;++t>0)-r&255;return a+p},R.prototype.writeIntBE=function(e,a,p,d){e=+e,a|=0,d||q(this,e,a,p,(d=Math.pow(2,8*p-1))-1,-d);var t=p-1,i=1,r=0;for(this[a+t]=255&e;0<=--t&&(i*=256);)e<0&&0===r&&0!==this[a+t+1]&&(r=1),this[a+t]=(e/i>>0)-r&255;return a+p},R.prototype.writeInt8=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,1,127,-128),R.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[a]=255&(e=e<0?255+e+1:e),a+1},R.prototype.writeInt16LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8):H(this,e,a,!0),a+2},R.prototype.writeInt16BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):H(this,e,a,!1),a+2},R.prototype.writeInt32LE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),R.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24):K(this,e,a,!0),a+4},R.prototype.writeInt32BE=function(e,a,p){return e=+e,a|=0,p||q(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),R.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):K(this,e,a,!1),a+4},R.prototype.writeFloatLE=function(e,a,p){return W(this,e,a,!0,p)},R.prototype.writeFloatBE=function(e,a,p){return W(this,e,a,!1,p)},R.prototype.writeDoubleLE=function(e,a,p){return $(this,e,a,!0,p)},R.prototype.writeDoubleBE=function(e,a,p){return $(this,e,a,!1,p)},R.prototype.copy=function(e,a,p,d){if(p=p||0,d||0===d||(d=this.length),a>=e.length&&(a=e.length),(d=0=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);var t,i=(d=e.length-a>>=0,p=void 0===p?this.length:p>>>0,"number"==typeof(e=e||0))for(n=a;n>6|192,63&p|128)}else if(p<65536){if((a-=3)<0)break;i.push(p>>12|224,p>>6&63|128,63&p|128)}else{if(!(p<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;i.push(p>>18|240,p>>12&63|128,p>>6&63|128,63&p|128)}}return i}function J(e){return function(e){var a;v||w();var p=e.length;if(0>16&255,t[r++]=a>>8&255,t[r++]=255&a;return 2==d?(a=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,t[r++]=255&a):1==d&&(a=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,t[r++]=a>>8&255,t[r++]=255&a),t}(function(e){var a;if((e=((a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,a,p,d){for(var t=0;t=a.length||t>=e.length);++t)a[t+p]=e[t];return t}function ee(e){return null!=e&&(!!e._isBuffer||ae(e)||"function"==typeof(e=e).readFloatLE&&"function"==typeof e.slice&&ae(e.slice(0,0)))}function ae(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pe=p(Object.freeze({__proto__:null,Buffer:R,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return R.alloc(+(e=+e!=e?0:e))},isBuffer:ee,kMaxLength:T}));function de(){}function te(){te.init.call(this)}function ie(e){return void 0===e._maxListeners?te.defaultMaxListeners:e._maxListeners}function re(e,a,p,d){var t,i;if("function"!=typeof p)throw new TypeError('"listener" argument must be a function');return(t=e._events)?(t.newListener&&(e.emit("newListener",a,p.listener||p),t=e._events),i=t[a]):(t=e._events=new de,e._eventsCount=0),i?("function"==typeof i?i=t[a]=d?[p,i]:[i,p]:d?i.unshift(p):i.push(p),i.warned||(d=ie(e))&&0d&&(i.warned=!0,(d=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+a+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",d.emitter=e,d.type=a,d.count=i.length,d=d,"function"==typeof console.warn?console.warn(d):console.log(d))):(i=t[a]=p,++e._eventsCount),e}function ne(e,a,p){var d=!1;function t(){e.removeListener(a,t),d||(d=!0,p.apply(e,arguments))}return t.listener=p,t}function le(e){var a=this._events;if(a){e=a[e];if("function"==typeof e)return 1;if(e)return e.length}return 0}function me(e,a){for(var p=new Array(a);a--;)p[a]=e[a];return p}function oe(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}de.prototype=Object.create(null),(te.EventEmitter=te).usingDomains=!1,te.prototype.domain=void 0,te.prototype._events=void 0,te.prototype._maxListeners=void 0,te.defaultMaxListeners=10,te.init=function(){this.domain=null,te.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new de,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},te.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},te.prototype.getMaxListeners=function(){return ie(this)},te.prototype.emit=function(e){var a,p,d,t="error"===e,i=this._events;if(i)t=t&&null==i.error;else if(!t)return!1;if(r=this.domain,t){if(t=arguments[1],r)return(t=t||new Error('Uncaught, unspecified "error" event')).domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1;if(t instanceof Error)throw t;var r=new Error('Uncaught, unspecified "error" event. ('+t+")");throw r.context=t,r}if(!(a=i[e]))return!1;var n,l="function"==typeof a;switch(n=arguments.length){case 1:!function(e,a,p){if(a)e.call(p);else for(var d=e.length,t=me(e,d),i=0;i>>0),p=this.head,d=0;p;)p.data.copy(a,d),d+=p.data.length,p=p.next;return a};var aa=R.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function pa(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!aa(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ta;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ia;break;default:return void(this.write=da)}this.charBuffer=new R(6),this.charReceived=0,this.charLength=0}function da(e){return e.toString(this.encoding)}function ta(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ia(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}pa.prototype.write=function(e){for(var a="";this.charLength;){var p=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,p),this.charReceived+=p,this.charReceived>5==6){this.charLength=2;break}if(a<=2&&p>>4==14){this.charLength=3;break}if(a<=3&&p>>3==30){this.charLength=4;break}}this.charReceived=a},pa.prototype.end=function(e){var a,p,d="";return e&&e.length&&(d=this.write(e)),this.charReceived&&(a=this.charReceived,p=this.charBuffer,e=this.encoding,d+=p.slice(0,a).toString(e)),d},ma.ReadableState=la;var ra,na=(Ke(Be)&&(Be=""),ra=(ra="stream").toUpperCase(),Pe[ra]||(new RegExp("\\b"+ra+"\\b","i").test(Be)?Pe[ra]=function(){var e=function(e){if(!He(e)){for(var a=[],p=0;pa.highWaterMark&&(a.highWaterMark=(sa<=(p=e)?p=sa:(p--,p|=p>>>1,p|=p>>>2,p|=p>>>4,p|=p>>>8,p|=p>>>16,p++),p)),e<=a.length?e:a.ended?a.length:(a.needReadable=!0,0));var p}function ha(e){var a=e._readableState;a.needReadable=!1,a.emittedReadable||(na("emitReadable",a.flowing),a.emittedReadable=!0,a.sync?ye(ca,e):ca(e))}function ca(e){na("emit readable"),e.emit("readable"),_a(e)}function fa(e,a){for(var p=a.length;!a.reading&&!a.flowing&&!a.ended&&a.length=a.length?(p=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.head.data:a.buffer.concat(a.length),a.buffer.clear()):p=function(e,a,p){var d;ei.length?i.length:e;if(r===i.length?t+=i:t+=i.slice(0,e),0===(e-=r)){r===i.length?(++d,p.next?a.head=p.next:a.head=a.tail=null):(a.head=p).data=i.slice(r);break}++d}return a.length-=d,t}:function(e,a){var p=R.allocUnsafe(e),d=a.head,t=1;d.data.copy(p),e-=d.data.length;for(;d=d.next;){var i=d.data,r=e>i.length?i.length:e;if(i.copy(p,p.length-e,0,r),0===(e-=r)){r===i.length?(++t,d.next?a.head=d.next:a.head=a.tail=null):(a.head=d).data=i.slice(r);break}++t}return a.length-=t,p})(e,a);return d}(e,a.buffer,a.decoder),p);var p}function ba(e){var a=e._readableState;if(0=a.highWaterMark||a.ended))return na("read: emitReadable",a.length,a.ended),(0===a.length&&a.ended?ba:ha)(this),null;if(0===(e=ua(e,a))&&a.ended)return 0===a.length&&ba(this),null;var d=a.needReadable;return na("need readable",d),(0===a.length||a.length-ea._pos){var d=p.substr(a._pos);if("x-user-defined"===a._charset){for(var t=new R(d.length),i=0;ia._pos&&(a.push(new R(new Uint8Array(r.result.slice(a._pos)))),a._pos=r.result.byteLength)},r.onload=function(){a.push(null)},r.readAsArrayBuffer(p)}a._xhr.readyState===pp&&"ms-stream"!==a._mode&&a.push(null)},De(tp,Va);var ip=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];tp.prototype.setHeader=function(e,a){var p=e.toLowerCase();-1===ip.indexOf(p)&&(this._headers[p]={name:e,value:a})},tp.prototype.getHeader=function(e){return this._headers[e.toLowerCase()].value},tp.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},tp.prototype._onFinish=function(){var a=this;if(!a._destroyed){var e,p=a._opts,d=a._headers;if("POST"!==p.method&&"PUT"!==p.method&&"PATCH"!==p.method||(e=function(){if(void 0!==Ha)return Ha;try{new u.Blob([new ArrayBuffer(1)]),Ha=!0}catch(e){Ha=!1}return Ha}()?new u.Blob(a._body.map(function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(ee(e)){for(var a=new Uint8Array(e.length),p=e.length,d=0;d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gp=np-lp,bp=Math.floor,yp=String.fromCharCode;function Sp(e){throw new RangeError(_p[e])}function Np(e,a){for(var p=e.length,d=[];p--;)d[p]=a(e[p]);return d}function Tp(e,a){var p=e.split("@"),d="";return 1>>10&1023|55296),e=56320|1023&e),a+=yp(e)}).join("")}function Ap(e,a){return e+22+75*(e<26)-((0!=a)<<5)}function Ep(e,a,p){var d=0;for(e=p?bp(e/sp):e>>1,e+=bp(e/a);gp*mp>>1bp((rp-o)/i))&&Sp("overflow"),o+=n*i,!(n<(n=r<=u?lp:u+mp<=r?mp:r-u));r+=np)i>bp(rp/(n=np-n))&&Sp("overflow"),i*=n;u=Ep(o-t,a=l.length+1,0==t),bp(o/a)>rp-s&&Sp("overflow"),s+=bp(o/a),o%=a,l.splice(o++,0,s)}return Vp(l)}function Rp(e){for(var a,p,d,t,i,r,n,l,m,o,s=[],u=(e=Dp(e)).length,h=hp,c=up,f=a=0;fbp((rp-a)/(l=p+1))&&Sp("overflow"),a+=(t-h)*l,h=t,f=0;frp&&Sp("overflow"),n==h){for(i=a,r=np;!(i<(m=r<=c?lp:c+mp<=r?mp:r-c));r+=np)s.push(yp(Ap(m+(o=i-m)%(m=np-m),0))),i=bp(o/m);s.push(yp(Ap(i,0))),c=Ep(a,l,p==d),a=0,++p}++a,++h}return s.join("")}function xp(e){return Tp(e,function(e){return fp.test(e)?kp(e.slice(4).toLowerCase()):e})}function Cp(e){return Tp(e,function(e){return vp.test(e)?"xn--"+Rp(e):e})}Ee={decode:Dp,encode:Vp},ke=Object.freeze({__proto__:null,decode:kp,encode:Rp,toUnicode:xp,toASCII:Cp,version:"1.4.1",ucs2:Ee,default:{version:"1.4.1",ucs2:Ee,toASCII:Cp,toUnicode:xp,encode:Rp,decode:kp}});var Op=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Lp(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Bp(e,a){if(e.map)return e.map(a);for(var p=[],d=0;d",'"',"`"," ","\r","\n","\t"]),Mp=["'"].concat(Ae),Zp=["%","/","?",";","#"].concat(Mp),qp=["/","?","#"],Hp=255,Kp=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Wp={javascript:!0,"javascript:":!0},$p={javascript:!0,"javascript:":!0},Gp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xp(e,a,p){if(e&&We(e)&&e instanceof Fp)return e;var d=new Fp;return d.parse(e,a,p),d}function Jp(e,a,p,d){if(!He(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var t=a.indexOf("?"),i=-1!==t&&tHp?e.hostname="":e.hostname=e.hostname.toLowerCase(),s||(e.hostname=Cp(e.hostname));var S=e.port?":"+e.port:"",N=e.hostname||"";e.host=N+S,e.href+=e.host,s&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==r[0]&&(r="/"+r))}if(!Wp[V])for(h=0,c=Mp.length;hi)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&a.clamp)return p=(a=p)%1==.5&&0==(1&a)?Math.floor(a):Math.round(a),pi&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=id(p)*Math.floor(Math.abs(p)),p%=r,!d.unsigned&&p>=n)return p-r;if(d.unsigned)if(p<0)p+=r;else if(-0===p)return 0;return p}}Ae.void=function(){},Ae.boolean=function(e){return!!e},Ae.byte=rd(8,{unsigned:!1}),Ae.octet=rd(8,{unsigned:!0}),Ae.short=rd(16,{unsigned:!1}),Ae["unsigned short"]=rd(16,{unsigned:!0}),Ae.long=rd(32,{unsigned:!1}),Ae["unsigned long"]=rd(32,{unsigned:!0}),Ae["long long"]=rd(32,{unsigned:!1,moduloBitLength:64}),Ae["unsigned long long"]=rd(32,{unsigned:!0,moduloBitLength:64}),Ae.double=function(e){e=+e;if(!Number.isFinite(e))throw new TypeError("Argument is not a finite floating-point value");return e},Ae["unrestricted double"]=function(e){e=+e;if(isNaN(e))throw new TypeError("Argument is NaN");return e},Ae.float=Ae.double,Ae["unrestricted float"]=Ae["unrestricted double"],Ae.DOMString=function(e,a){return(a=a||{}).treatNullAsEmptyString&&null===e?"":String(e)},Ae.ByteString=function(e,a){const p=String(e);var d;for(let e=0;void 0!==(d=p.codePointAt(e));++e)if(255=e)return t;t[0][0]>e?p=d-1:a=d+1}return null}var wd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function _d(e){return e.replace(wd,"_").length}var gd=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function bd(e,a,p){var d=function(e,a,p){for(var d=!1,t="",i=_d(e),r=0;r=Math.pow(256,5-p.length))return m;let t=p.pop(),i=0;for(const n of p)t+=n*Math.pow(256,3-i),++i;return t}function N(a){let p="";var d,t=function(a){let p=null,d=1,t=null,i=0;for(let e=0;ed&&(p=t,d=i),t=null,i=0):(null===t&&(t=e),++i);i>d&&(p=t,d=i);return{idx:p,len:d}}(a).idx;let i=!1;for(let e=0;e<=7;++e)i&&0===a[e]||(i=i&&!1,t!==e?(p+=a[e].toString(16),7!==e&&(p+=":")):(d=0===e?"::":":",p+=d,i=!0));return p}function T(e,a){if("["===e[0])return"]"!==e[e.length-1]?m:function(d){const t=[0,0,0,0,0,0,0,0];let i=0,a=null,r=0;if(58===(d=l.ucs2.decode(d))[r]){if(58!==d[r+1])return m;r+=2,++i,a=i}for(;rMath.pow(2,16)-1)return this.parseError=!0,m;this.url.port=a===(e=this.url.scheme,t[e])?null:a,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const k=new Set([47,92,63,35]);E.prototype["parse file"]=function(e){var a;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(a=this.input[this.pointer+1],!r(e)||58!==a&&124!==a)||2<=this.input.length-this.pointer-1&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),V(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},E.prototype["parse file slash"]=function(e){return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(e=this.base.path[0]).length&&r(e.codePointAt(0))&&":"===e[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},E.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&h(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=T(this.buffer,f(this.url));if(e===m)return m;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=a;return!0},E.prototype["parse path start"]=function(e){return f(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},E.prototype["parse path"]=function(e){if(isNaN(e)||47===e||f(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(f(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a?(V(this.url),47===e||f(this.url)&&92===e||this.url.path.push("")):!n(this.buffer)||47===e||f(this.url)&&92===e?n(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&h(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;1>>7)]}function st(e,a){e.pending_buf[e.pending++]=255&a,e.pending_buf[e.pending++]=a>>>8&255}function ut(e,a,p){e.bi_valid>Zd-p?(e.bi_buf|=a<>Zd-e.bi_valid,e.bi_valid+=p-Zd):(e.bi_buf|=a<>>=1,p<<=1,0<--a;);return p>>>1}function ft(e,a,p){for(var d,t=new Array(Md+1),i=0,r=1;r<=Md;r++)t[r]=i=i+p[r-1]<<1;for(d=0;d<=a;d++){var n=e[2*d+1];0!==n&&(e[2*d]=ct(t[n]++,n))}}function vt(e){for(var a=0;a>1;1<=p;p--)gt(e,i,p);for(t=l;p=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gt(e,i,1),d=e.heap[1],e.heap[--e.heap_max]=p,e.heap[--e.heap_max]=d,i[2*t]=i[2*p]+i[2*d],e.depth[t]=(e.depth[p]>=e.depth[d]?e.depth[p]:e.depth[d])+1,i[2*p+1]=i[2*d+1]=t,e.heap[1]=t++,gt(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,a){for(var p,d,t,i,r,n=a.dyn_tree,l=a.max_code,m=a.stat_desc.static_tree,o=a.stat_desc.has_stree,s=a.stat_desc.extra_bits,u=a.stat_desc.extra_base,h=a.stat_desc.max_length,c=0,f=0;f<=Md;f++)e.bl_count[f]=0;for(n[2*e.heap[e.heap_max]+1]=0,p=e.heap_max+1;p>=7;i>=8,e.bi_valid-=8)}function Et(e,a,p,d){var t,i,r=0;0>>=1)if(1&a&&0!==e.dyn_ltree[2*p])return kd;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Rd;for(p=32;p>>3,(i=e.static_len+3+7>>>3)<=t&&(t=i)):t=i=p+5,p+4<=t&&-1!==a?Vt(e,a,p,d):e.strategy===Ed||i===t?(ut(e,(Ld<<1)+(d?1:0),3),bt(e,Qd,et)):(ut(e,(Bd<<1)+(d?1:0),3),function(e,a,p,d){var t;for(ut(e,a-257,5),ut(e,p-1,5),ut(e,d-4,4),t=0;t>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&a,e.pending_buf[e.l_buf+e.last_lit]=255&p,e.last_lit++,0===a?e.dyn_ltree[2*p]++:(e.matches++,a--,e.dyn_ltree[2*(pt[p]+Ud+1)]++,e.dyn_dtree[2*ot(a)]++),e.last_lit===e.lit_bufsize-1}function Rt(e,a,p,d){for(var t=65535&e|0,i=e>>>16&65535|0,r=0;0!==p;){for(p-=r=2e3>>1:p>>>1;e[a]=p}return e}();function Ct(e,a,p,d){var t=xt,i=d+p;e^=-1;for(var r=d;r>>8^t[255&(e^a[r])];return-1^e}var Ot=0,Lt=1,Bt=3,Pt=4,Ut=5,Ft=0,It=1,jt=-2,zt=-3,Mt=-5,Zt=-1,qt=1,Ht=2,Kt=3,Yt=4,Wt=2,$t=8,Gt=9,Xt=286,Jt=30,Qt=19,ei=2*Xt+1,ai=15,pi=3,di=258,ti=di+pi+1,ii=32,ri=42,ni=69,li=73,mi=91,oi=103,si=113,ui=666,hi=1,ci=2,fi=3,vi=4,wi=3;function _i(e,a){return e.msg=Sd[a],a}function gi(e){return(e<<1)-(4e.avail_out?e.avail_out:p)&&(Td(e.output,a.pending_buf,a.pending_out,p,e.next_out),e.next_out+=p,a.pending_out+=p,e.total_out+=p,e.avail_out-=p,a.pending-=p,0===a.pending&&(a.pending_out=0))}function Si(e,a){Et(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,a),e.block_start=e.strstart,yi(e.strm)}function Ni(e,a){e.pending_buf[e.pending++]=a}function Ti(e,a){e.pending_buf[e.pending++]=a>>>8&255,e.pending_buf[e.pending++]=255&a}function Di(e,a){var p,d,t=e.max_chain_length,i=e.strstart,r=e.prev_length,n=e.nice_match,l=e.strstart>e.w_size-ti?e.strstart-(e.w_size-ti):0,m=e.window,o=e.w_mask,s=e.prev,u=e.strstart+di,h=m[i+r-1],c=m[i+r];e.prev_length>=e.good_match&&(t>>=2),n>e.lookahead&&(n=e.lookahead);do{if(m[(p=a)+r]===c&&m[p+r-1]===h&&m[p]===m[i]&&m[++p]===m[i+1]){for(i+=2,p++;m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&m[++i]===m[++p]&&il&&0!=--t);return r<=e.lookahead?r:e.lookahead}function Vi(e){var a,p,d,t,i,r,n,l,m,o=e.w_size;do{if(m=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-ti)){for(Td(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,a=p=e.hash_size;d=e.head[--a],e.head[a]=o<=d?d-o:0,--p;);for(a=p=o;d=e.prev[--a],e.prev[a]=o<=d?d-o:0,--p;);m+=o}if(0===e.strm.avail_in)break;if(i=e.strm,r=e.window,n=e.strstart+e.lookahead,l=m,m=void 0,m=i.avail_in,p=0===(m=l=pi)for(t=e.strstart-e.insert,e.ins_h=e.window[t],e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi)if(d=kt(e,e.strstart-e.match_start,e.match_length-pi),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pi){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=pi&&(e.ins_h=(e.ins_h<=pi&&e.match_length<=e.prev_length){for(t=e.strstart+e.lookahead-pi,d=kt(e,e.strstart-1-e.prev_match,e.prev_length-pi),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=t&&(e.ins_h=(e.ins_h<>8&255),Ni(p,p.gzhead.time>>16&255),Ni(p,p.gzhead.time>>24&255),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,255&p.gzhead.os),p.gzhead.extra&&p.gzhead.extra.length&&(Ni(p,255&p.gzhead.extra.length),Ni(p,p.gzhead.extra.length>>8&255)),p.gzhead.hcrc&&(e.adler=Ct(e.adler,p.pending_buf,p.pending,0)),p.gzindex=0,p.status=ni):(Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,0),Ni(p,9===p.level?2:p.strategy>=Ht||p.level<2?4:0),Ni(p,wi),p.status=si)):(i=$t+(p.w_bits-8<<4)<<8,i|=(p.strategy>=Ht||p.level<2?0:p.level<6?1:6===p.level?2:3)<<6,0!==p.strstart&&(i|=ii),i+=31-i%31,p.status=si,Ti(p,i),0!==p.strstart&&(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),e.adler=1)),p.status===ni)if(p.gzhead.extra){for(d=p.pending;p.gzindex<(65535&p.gzhead.extra.length)&&(p.pending!==p.pending_buf_size||(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending!==p.pending_buf_size));)Ni(p,255&p.gzhead.extra[p.gzindex]),p.gzindex++;p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),p.gzindex===p.gzhead.extra.length&&(p.gzindex=0,p.status=li)}else p.status=li;if(p.status===li)if(p.gzhead.name){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.gzindex=0,p.status=mi)}else p.status=mi;if(p.status===mi)if(p.gzhead.comment){d=p.pending;do{if(p.pending===p.pending_buf_size&&(p.gzhead.hcrc&&p.pending>d&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),yi(e),d=p.pending,p.pending===p.pending_buf_size)){t=1;break}}while(t=p.gzindexd&&(e.adler=Ct(e.adler,p.pending_buf,p.pending-d,d)),0===t&&(p.status=oi)}else p.status=oi;if(p.status===oi&&(p.gzhead.hcrc?(p.pending+2>p.pending_buf_size&&yi(e),p.pending+2<=p.pending_buf_size&&(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),e.adler=0,p.status=si)):p.status=si),0!==p.pending){if(yi(e),0===e.avail_out)return p.last_flush=-1,Ft}else if(0===e.avail_in&&gi(a)<=gi(r)&&a!==Pt)return _i(e,Mt);if(p.status===ui&&0!==e.avail_in)return _i(e,Mt);if(0!==e.avail_in||0!==p.lookahead||a!==Ot&&p.status!==ui){var r=p.strategy===Ht?function(e,a){for(var p;;){if(0===e.lookahead&&(Vi(e),0===e.lookahead)){if(a===Ot)return hi;break}if(e.match_length=0,p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):p.strategy===Kt?function(e,a){for(var p,d,t,i,r=e.window;;){if(e.lookahead<=di){if(Vi(e),e.lookahead<=di&&a===Ot)return hi;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=pi&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pi?(p=kt(e,1,e.match_length-pi),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(p=kt(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),p&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):e.last_lit&&(Si(e,!1),0===e.strm.avail_out)?hi:ci}(p,a):Oi[p.level].func(p,a);if(r!==fi&&r!==vi||(p.status=ui),r===hi||r===fi)return 0===e.avail_out&&(p.last_flush=-1),Ft;if(r===ci&&(a===Lt?At(p):a!==Ut&&(Vt(p,0,0,!1),a===Bt&&(bi(p.head),0===p.lookahead&&(p.strstart=0,p.block_start=0,p.insert=0))),yi(e),0===e.avail_out))return p.last_flush=-1,Ft}return a!==Pt?Ft:p.wrap<=0?It:(2===p.wrap?(Ni(p,255&e.adler),Ni(p,e.adler>>8&255),Ni(p,e.adler>>16&255),Ni(p,e.adler>>24&255),Ni(p,255&e.total_in),Ni(p,e.total_in>>8&255),Ni(p,e.total_in>>16&255),Ni(p,e.total_in>>24&255)):(Ti(p,e.adler>>>16),Ti(p,65535&e.adler)),yi(e),0e.pending_buf_size-5&&(p=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vi(e),0===e.lookahead&&a===Ot)return hi;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var d=e.block_start+p;if((0===e.strstart||e.strstart>=d)&&(e.lookahead=e.strstart-d,e.strstart=d,Si(e,!1),0===e.strm.avail_out))return hi;if(e.strstart-e.block_start>=e.w_size-ti&&(Si(e,!1),0===e.strm.avail_out))return hi}return e.insert=0,a===Pt?(Si(e,!0),0===e.strm.avail_out?fi:vi):(e.strstart>e.block_start&&(Si(e,!1),e.strm.avail_out),hi)}),new ki(4,4,8,4,Ai),new ki(4,5,16,8,Ai),new ki(4,6,32,32,Ai),new ki(4,4,16,16,Ei),new ki(8,16,32,32,Ei),new ki(8,16,128,128,Ei),new ki(8,32,128,256,Ei),new ki(32,128,258,1024,Ei),new ki(32,258,258,4096,Ei)],Li=30,Bi=12;var Pi=15,Ui=852,Fi=592,Ii=0,ji=1,zi=2,Mi=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zi=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qi=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Hi=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function Ki(e,a,p,d,t,i,r,n){for(var l,m,o,s,u,h,c,f,v,w=n.bits,_=0,g=0,b=0,y=0,S=0,N=0,T=0,D=0,V=0,A=0,E=null,k=0,R=new Vd(Pi+1),x=new Vd(Pi+1),C=null,O=0,_=0;_<=Pi;_++)R[_]=0;for(g=0;gh?(f=C[O+r[g]],E[k+r[g]]):(f=96,0),l=1<<(c=_-T),b=m=1<>T)+(m-=l)]=c<<24|f<<16|v|0,0!==m;);for(l=1<<_-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,g++,0==--R[_]){if(_===y)break;_=a[p+r[g]]}if(S<_&&(A&s)!==o){for(u+=b,D=1<<(N=_-(T=0===T?S:T));N+T>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Mr(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Vd(320),this.work=new Vd(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Zr(e){var a;return e&&e.state?((a=e.state).wsize=0,a.whave=0,a.wnext=0,(a=e)&&a.state?(e=a.state,a.total_in=a.total_out=e.total=0,a.msg="",e.wrap&&(a.adler=1&e.wrap),e.mode=nr,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Ad(Ir),e.distcode=e.distdyn=new Ad(jr),e.sane=1,e.back=-1,Qi):pr):pr}function qr(e,a){var p,d,t;return e?(p=new Mr,(e.state=p).window=null,d=a,(p=(p=e)&&p.state?(a=p.state,d<0?(t=0,d=-d):(t=1+(d>>4),d<48&&(d&=15)),d&&(d<8||15>>8&255,p.check=Ct(p.check,C,2,0),o=m=0,p.mode=lr;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",p.mode=Pr;break}if((15&m)!==rr){e.msg="unknown compression method",p.mode=Pr;break}if(o-=4,S=8+(15&(m>>>=4)),0===p.wbits)p.wbits=S;else if(S>p.wbits){e.msg="invalid window size",p.mode=Pr;break}p.dmax=1<>8&1),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=mr;case mr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>8&255,C[2]=m>>>16&255,C[3]=m>>>24&255,p.check=Ct(p.check,C,4,0)),o=m=0,p.mode=or;case or:for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>8),512&p.flags&&(C[0]=255&m,C[1]=m>>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0,p.mode=sr;case sr:if(1024&p.flags){for(;o<16;){if(0===n)break e;n--,m+=d[i++]<>>8&255,p.check=Ct(p.check,C,2,0)),o=m=0}else p.head&&(p.head.extra=null);p.mode=ur;case ur:if(1024&p.flags&&((h=n<(h=p.length)?n:h)&&(p.head&&(S=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),Td(p.head.extra,d,i,h,S)),512&p.flags&&(p.check=Ct(p.check,d,h,i)),n-=h,i+=h,p.length-=h),p.length))break e;p.length=0,p.mode=hr;case hr:if(2048&p.flags){if(0===n)break e;for(h=0;S=d[i+h++],p.head&&S&&p.length<65536&&(p.head.name+=String.fromCharCode(S)),S&&h>9&1,p.head.done=!0),e.adler=p.check=0,p.mode=_r;break;case vr:for(;o<32;){if(0===n)break e;n--,m+=d[i++]<>>=7&o,o-=7&o,p.mode=Or;break}for(;o<3;){if(0===n)break e;n--,m+=d[i++]<>>=1)){case 0:p.mode=br;break;case 1:if(!function(e){if(Yr){var a;for(Hr=new Ad(512),Kr=new Ad(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(Ki(Wi,e.lens,0,288,Hr,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;Ki($i,e.lens,0,32,Kr,0,e.work,{bits:5}),Yr=!1}e.lencode=Hr,e.lenbits=9,e.distcode=Kr,e.distbits=5}(p),p.mode=Vr,a!==Ji)break;m>>>=2,o-=2;break e;case 2:p.mode=Nr;break;case 3:e.msg="invalid block type",p.mode=Pr}m>>>=2,o-=2;break;case br:for(m>>>=7&o,o-=7&o;o<32;){if(0===n)break e;n--,m+=d[i++]<>>16^65535)){e.msg="invalid stored block lengths",p.mode=Pr;break}if(p.length=65535&m,o=m=0,p.mode=yr,a===Ji)break e;case yr:p.mode=Sr;case Sr:if(h=p.length){if(0===(h=l<(h=n>>=5,o-=5,p.ndist=1+(31&m),m>>>=5,o-=5,p.ncode=4+(15&m),m>>>=4,o-=4,286>>=3,o-=3}for(;p.have<19;)p.lens[O[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,T={bits:p.lenbits},N=Ki(Yi,p.lens,0,19,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid code lengths set",p.mode=Pr;break}p.have=0,p.mode=Dr;case Dr:for(;p.have>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=v,o-=v,p.lens[p.have++]=_;else{if(16===_){for(D=v+2;o>>=v,o-=v,0===p.have){e.msg="invalid bit length repeat",p.mode=Pr;break}S=p.lens[p.have-1],h=3+(3&m),m>>>=2,o-=2}else if(17===_){for(D=v+3;o>>=v)),m>>>=3,o-=3}else{for(D=v+7;o>>=v)),m>>>=7,o-=7}if(p.have+h>p.nlen+p.ndist){e.msg="invalid bit length repeat",p.mode=Pr;break}for(;h--;)p.lens[p.have++]=S}}if(p.mode===Pr)break;if(0===p.lens[256]){e.msg="invalid code -- missing end-of-block",p.mode=Pr;break}if(p.lenbits=9,T={bits:p.lenbits},N=Ki(Wi,p.lens,0,p.nlen,p.lencode,0,p.work,T),p.lenbits=T.bits,N){e.msg="invalid literal/lengths set",p.mode=Pr;break}if(p.distbits=6,p.distcode=p.distdyn,T={bits:p.distbits},N=Ki($i,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,T),p.distbits=T.bits,N){e.msg="invalid distances set",p.mode=Pr;break}if(p.mode=Vr,a===Ji)break e;case Vr:p.mode=Ar;case Ar:if(6<=n&&258<=l){e.next_out=r,e.avail_out=l,e.next_in=i,e.avail_in=n,p.hold=m,p.bits=o,function(e,a){var p,d,t,i,r,n,l=e.state,m=e.next_in,o=e.input,s=m+(e.avail_in-5),u=e.next_out,h=e.output,c=u-(a-e.avail_out),f=u+(e.avail_out-257),v=l.dmax,w=l.wsize,_=l.whave,g=l.wnext,b=l.window,y=l.hold,S=l.bits,N=l.lencode,T=l.distcode,D=(1<>>=d=p>>>24,S-=d,0===(d=p>>>16&255))h[u++]=65535&p;else{if(!(16&d)){if(0==(64&d)){p=N[(65535&p)+(y&(1<>>=d,S-=d),S<15&&(y+=o[m++]<>>=d=p>>>24,S-=d,!(16&(d=p>>>16&255))){if(0==(64&d)){p=T[(65535&p)+(y&(1<>>=d,S-=d,(d=u-c)>3)<<3))-1,e.next_in=m-=t,e.next_out=u,e.avail_in=m>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,p.length=_,0===w){p.mode=Cr;break}if(32&w){p.back=-1,p.mode=_r;break}if(64&w){e.msg="invalid literal/length code",p.mode=Pr;break}p.extra=15&w,p.mode=Er;case Er:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=kr;case kr:for(;w=(x=p.distcode[m&(1<>>16&255,_=65535&x,!((v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>g)])>>>16&255,_=65535&x,!(g+(v=x>>>24)<=o);){if(0===n)break e;n--,m+=d[i++]<>>=g,o-=g,p.back+=g}if(m>>>=v,o-=v,p.back+=v,64&w){e.msg="invalid distance code",p.mode=Pr;break}p.offset=_,p.extra=15&w,p.mode=Rr;case Rr:if(p.extra){for(D=p.extra;o>>=p.extra,o-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){e.msg="invalid distance too far back",p.mode=Pr;break}p.mode=xr;case xr:if(0===l)break e;if(p.offset>(h=u-l)){if((h=p.offset-h)>p.whave&&p.sane){e.msg="invalid distance too far back",p.mode=Pr;break}c=h>p.wnext?(h-=p.wnext,p.wsize-h):p.wnext-h,h>p.length&&(h=p.length),f=p.window}else f=t,c=r-p.offset,h=p.length;for(l-=h=l=R.wsize?(Td(R.window,A,E-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(V=R.wsize-R.wnext,Td(R.window,A,E-k,V=kan.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsan.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelan.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelan.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=an.Z_FILTERED&&e.strategy!=an.Z_HUFFMAN_ONLY&&e.strategy!=an.Z_RLE&&e.strategy!=an.Z_FIXED&&e.strategy!=an.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!R.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new an.Zlib(a);var p=this;this._hadError=!1,this._binding.onerror=function(e,a){p._binding=null,p._hadError=!0;e=new Error(e);e.errno=a,e.code=an.codes[a],p.emit("error",e)};var d=an.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(d=e.level);a=an.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||an.Z_DEFAULT_WINDOWBITS,d,e.memLevel||an.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new R(this._chunkSize),this._offset=0,this._closed=!1,this._level=d,this._strategy=a,this.once("end",this.close)}Object.keys(pn).forEach(function(e){pn[pn[e]]=e}),De(hn,za),hn.prototype.params=function(e,a,p){if(ean.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(a!=an.Z_FILTERED&&a!=an.Z_HUFFMAN_ONLY&&a!=an.Z_RLE&&a!=an.Z_FIXED&&a!=an.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+a);var d;this._level!==e||this._strategy!==a?(d=this).flush(an.Z_SYNC_FLUSH,function(){d._binding.params(e,a),d._hadError||(d._level=e,d._strategy=a,p&&p())}):Oe.nextTick(p)},hn.prototype.reset=function(){return this._binding.reset()},hn.prototype._flush=function(e){this._transform(new R(0),"",e)},hn.prototype.flush=function(e,a){var p,d=this._writableState;"function"!=typeof e&&(void 0!==e||a)||(a=e,e=an.Z_FULL_FLUSH),d.ended?a&&Oe.nextTick(a):d.ending?a&&this.once("end",a):d.needDrain?(p=this).once("drain",function(){p.flush(a)}):(this._flushFlag=e,this.write(new R(0),"",a))},hn.prototype.close=function(e){var a;e&&Oe.nextTick(e),this._closed||(this._closed=!0,this._binding.close(),a=this,Oe.nextTick(function(){a.emit("close")}))},hn.prototype._transform=function(e,a,p){var d,t=this._writableState,i=(t.ending||t.ended)&&(!e||t.length===e.length);if(null===!e&&!R.isBuffer(e))return p(new Error("invalid input"));i?d=an.Z_FINISH:(d=this._flushFlag,e.length>=t.length&&(this._flushFlag=this._opts.flush||an.Z_NO_FLUSH)),this._processChunk(e,d,p)},hn.prototype._processChunk=function(t,i,r){var n=t&&t.length,l=this._chunkSize-this._offset,m=0,o=this,s="function"==typeof r;if(!s){var a,u=[],h=0;this.on("error",function(e){a=e});do{var e=this._binding.writeSync(i,t,m,n,this._buffer,this._offset,l)}while(!this._hadError&&c(e[0],e[1]));if(this._hadError)throw a;var p=R.concat(u,h);return this.close(),p}p=this._binding.write(i,t,m,n,this._buffer,this._offset,l);function c(e,a){if(!o._hadError){var p,d=l-a;if(!function(e,a){if(!e)throw new Error(a)}(0<=d,"have should not go down"),0=o._chunkSize)&&(l=o._chunkSize,o._offset=0,o._buffer=new R(o._chunkSize)),0===a){if(m+=n-e,n=e,!s)return!0;e=o._binding.write(i,t,m,n,o._buffer,o._offset,o._chunkSize);return e.callback=c,void(e.buffer=t)}if(!s)return!1;r()}}p.buffer=t,p.callback=c},De(rn,hn),De(nn,hn),De(ln,hn),De(mn,hn),De(on,hn),De(sn,hn),De(un,hn);var cn={codes:pn,createDeflate:function(e){return new rn(e)},createInflate:function(e){return new nn(e)},createDeflateRaw:function(e){return new on(e)},createInflateRaw:function(e){return new sn(e)},createGzip:function(e){return new ln(e)},createGunzip:function(e){return new mn(e)},createUnzip:function(e){return new un(e)},deflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new rn(a),e,p)},deflateSync:function(e,a){return tn(new rn(a),e)},gzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new ln(a),e,p)},gzipSync:function(e,a){return tn(new ln(a),e)},deflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new on(a),e,p)},deflateRawSync:function(e,a){return tn(new on(a),e)},unzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new un(a),e,p)},unzipSync:function(e,a){return tn(new un(a),e)},inflate:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new nn(a),e,p)},inflateSync:function(e,a){return tn(new nn(a),e)},gunzip:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new mn(a),e,p)},gunzipSync:function(e,a){return tn(new mn(a),e)},inflateRaw:function(e,a,p){return"function"==typeof a&&(p=a,a={}),dn(new sn(a),e,p)},inflateRawSync:function(e,a){return tn(new sn(a),e)},Deflate:rn,Inflate:nn,Gzip:ln,Gunzip:mn,DeflateRaw:on,InflateRaw:sn,Unzip:un,Zlib:hn};const fn=qa.Readable,vn=Symbol("buffer"),wn=Symbol("type");class _n{constructor(){this[wn]="";var e=arguments[0],a=arguments[1];const p=[];let d=0;if(e){var t=e,i=Number(t.length);for(let a=0;ad.size)return n=!0,void a(new gn(`content size at ${d.url} over limit: ${d.size}`,"max-size"));r+=e.length,i.push(e)}}),t.on("end",function(){if(!n){clearTimeout(p);try{e(Buffer.concat(i,r))}catch(e){a(new gn(`Could not create Buffer from response body for ${d.url}: ${e.message}`,"system",e))}}})})}function Dn(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function Vn(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function An(e){var a,p;let d=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return d instanceof qa&&"function"!=typeof d.getBoundary&&(a=new Sn,p=new Sn,d.pipe(a),d.pipe(p),e[yn].body=a,d=p),d}function En(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Dn(e)?"application/x-www-form-urlencoded;charset=UTF-8":Vn(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof qa?null:"text/plain;charset=UTF-8"}function kn(e){const a=e.body;return null===a?0:Vn(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync&&(a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength())?a.getLengthSync():null}Nn.prototype={get body(){return this[yn].body},get bodyUsed(){return this[yn].disturbed},arrayBuffer(){return Tn.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let a=this.headers&&this.headers.get("content-type")||"";return Tn.call(this).then(function(e){return Object.assign(new _n([],{type:a.toLowerCase()}),{[vn]:e})})},json(){var a=this;return Tn.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(e){return Nn.Promise.reject(new gn(`invalid json response body at ${a.url} reason: ${e.message}`,"invalid-json"))}})},text(){return Tn.call(this).then(function(e){return e.toString()})},buffer(){return Tn.call(this)},textConverted(){var a=this;return Tn.call(this).then(function(e){return function(e,a){if("function"!=typeof bn)throw new Error("The package `encoding` must be installed to use the textConverted() function");a=a.get("content-type");let p="utf-8",d,t;a&&(d=/charset=([^;]*)/i.exec(a));t=e.slice(0,1024).toString(),!d&&t&&(d=/=u.follow)return s(new gn(`maximum redirect reached at: ${u.url}`,"max-redirect")),void f();const r={headers:new Pn(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(!pl(u.url,e))for(const n of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(n);return 303!==a.statusCode&&u.body&&null===kn(u)?(s(new gn("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==a.statusCode&&(301!==a.statusCode&&302!==a.statusCode||"POST"!==u.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),o(dl(new Xn(e,r))),void f())}}a.once("end",function(){h&&h.removeEventListener("abort",v)});let t=a.pipe(new al);const i={url:u.url,status:a.statusCode,statusText:a.statusMessage,headers:p,size:u.size,timeout:u.timeout,counter:u.counter};var e=p.get("Content-Encoding");if(!u.compress||"HEAD"===u.method||null===e||204===a.statusCode||304===a.statusCode)return c=new Zn(t,i),void o(c);d={flush:cn.Z_SYNC_FLUSH,finishFlush:cn.Z_SYNC_FLUSH};if("gzip"==e||"x-gzip"==e)return t=t.pipe(cn.createGunzip(d)),c=new Zn(t,i),void o(c);if("deflate"!=e&&"x-deflate"!=e){if("br"==e&&"function"==typeof cn.createBrotliDecompress)return t=t.pipe(cn.createBrotliDecompress()),c=new Zn(t,i),void o(c);c=new Zn(t,i),o(c)}else{const l=a.pipe(new al);l.once("data",function(e){t=8==(15&e[0])?t.pipe(cn.createInflate()):t.pipe(cn.createInflateRaw()),c=new Zn(t,i),o(c)})}}),function(e,a){const p=a.body;null===p?e.end():Vn(p)?p.stream().pipe(e):Buffer.isBuffer(p)?(e.write(p),e.end()):p.pipe(e)}(d,u)}})}dl.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},dl.Promise=a.Promise;var a=p(Object.freeze({__proto__:null,default:dl,Headers:Pn,Request:Xn,Response:Zn,FetchError:gn})),tl=m,il=tl.__importStar(o),rl=pe;tl.__importDefault(a);var nl=window.fetch.bind(window);!function(e){(a=e.TrustType||(e.TrustType={})).CrossAccount="Cross Account",a.InnerAccount="Inner Account",(r=e.PseudoBoolean||(e.PseudoBoolean={}))[r.True=1]="True",r[r.False=0]="False";var a=(p.prototype.create=function(e){return new p(tl.__assign(tl.__assign({},this.config),e))},p.prototype.getAccounts=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccounts",p)];case 1:return a=e.sent(),[2,Object.keys(a.accountListRole).map(function(e){return{account:e,role:a.accountListRole[e][0].role,iamKeyActive:a.accountListRole[e][0].iamKeyActive,maxKeyDuration:a.accountListRole[e][0].maxKeyDuration,securityLevel:a.accountListRole[e][0].securityLevel,skypieaAccount:a.accountListRole[e][0].skypieaAccount}})]}})})},p.prototype.getKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getIAMKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getIAMKeys",a)];case 1:return[2,i(e.sent(),["accessKey","secretKey","sessionToken","consoleURL","sessionTime"])]}})})},p.prototype.getAllAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.getDynamicValues?"allAwsRoleTypes?getDynamicValues=true":"allAwsRoleTypes",[4,this.internalFetch(a,p,"GET")];case 1:return[2,e.sent().roleTypes]}})})},p.prototype.getAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.getNonServiceAWSRoleTypes=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getNonServiceAWSRoleTypes",p)];case 1:return a=e.sent(),[2,JSON.parse(a.roleTypes)]}})})},p.prototype.createRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=null!=d.roleType,p=null!=d.trustPolicy,a==p?[3,2]:[4,this.internalFetch("createRole",d)];case 1:return(p=e.sent()).denyArns=p.denyArns.split(","),[2,i(p,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])];case 2:throw new Error("Must include roleType or trustPolicy, but not both.")}})})},p.prototype.createNonServiceRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("createNonServiceRole",p)];case 1:return(a=e.sent()).denyArns=a.denyArns.split(","),[2,i(a,["roleArn","denyArns","instanceProfileArn","addedRoleToInstanceProfile","tags"])]}})})},p.prototype.awsAccountRoles=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("awsAccountRoles?account="+a.account,a,"GET")];case 1:return[2,e.sent().awsRoleList]}})})},p.prototype.listAWSAccountRoles=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("listAWSAccountRoles",p)];case 1:return a=e.sent(),[2,JSON.parse(a.jsonAWSRoleList).map(function(e){return e.split("/").slice(-1)[0]})]}})})},p.prototype.getAccountRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("getAccountRole",p)];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags","maxSessionDurationInSeconds"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.updateRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("role",p,"PATCH")];case 1:if(!(a=e.sent()).roleExists)throw new Error("Role "+p.roleName+" does not exist in this account");return[2,tl.__assign(tl.__assign({},i(a,["roleArn","isMachineIdentity","tags"])),{instanceProfileArn:a.instanceProfileARN})]}})})},p.prototype.deleteRole=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("deleteRole",a)];case 1:return e.sent(),[2,!0]}})})},p.prototype.addRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a)];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.deleteRoleMachineIdentity=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("roleMachineIdentity",a,"DELETE")];case 1:return[2,i(e.sent(),["machineIdentityArn"])]}})})},p.prototype.getUserAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/"+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserAccessByRole=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("reports/users-by-role?accountId="+a,p,"GET")];case 1:return[2,e.sent().users]}})})},p.prototype.getUserRoleAccess=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/roles/"+a,p)];case 1:return[2,e.sent().roles]}})})},p.prototype.getAccountOwners=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return a=p.accountId,[4,this.internalFetch("userAccess/owners/"+a,p,"GET")];case 1:return[2,e.sent().accountOwners]}})})},p.prototype.createAccessKeys=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessKeys",a)];case 1:return[2,i(e.sent(),["iamUserArn","accessKey","secretKey","addedIAMUserToGroup","tags"])]}})})},p.prototype.getIamUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("iam-users/id/"+a.account+"/"+a.iamUserName,a,"GET")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.updateIamUser=function(p){return tl.__awaiter(this,void 0,void 0,function(){var a;return tl.__generator(this,function(e){switch(e.label){case 0:return delete(a=tl.__assign(tl.__assign({},p),{user:{tags:p.tags}})).tags,[4,this.internalFetch("iam-users/id/"+p.account+"/"+p.iamUserName,a,"PATCH")];case 1:return[2,i(e.sent().item,["arn","accountId","userName","accessKey","tags"])]}})})},p.prototype.deleteIAMUser=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("IAMUser",a,"DELETE")];case 1:return e.sent(),[2,!0]}})})},p.prototype.version=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("version",a,"GET")];case 1:return[2,i(e.sent(),["version"])]}})})},p.prototype.getLoginRole=function(d){return tl.__awaiter(this,void 0,void 0,function(){var a,p;return tl.__generator(this,function(e){switch(e.label){case 0:return a=d.accountId,p=d.role,[4,this.internalFetch("loginRoles/id/"+a+"/"+p,d,"GET")];case 1:return[2,i(e.sent().loginRole,["account","role","iamKeyActive","maxKeyDuration","securityLevel"])]}})})},p.prototype.getAccessToken=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("accessToken",a)];case 1:return[2,i(e.sent(),["accessToken","expiresIn"])]}})})},p.prototype.getRefreshTokens=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("refreshTokens",a,"GET")];case 1:return[2,e.sent().refreshTokens.map(function(e){return i(e,["clientId","id","userId","value"])})]}})})},p.prototype.revoke=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("revoke",a)];case 1:return[2,"Success"==e.sent().statusMessage]}})})},p.prototype.getCostTotals=function(a){return tl.__awaiter(this,void 0,void 0,function(){return tl.__generator(this,function(e){switch(e.label){case 0:return[4,this.internalFetch("costTotals/"+a.accountId,a,"GET")];case 1:return[2,i(e.sent().costTotals,["awsAccountId","yyyy","mm","dd","daily","weekly","monthly","yearly","dailyCostsByService","monthlyCostsByService"])]}})})},p.prototype.internalFetch=function(n,l,m){return void 0===l&&(l={}),void 0===m&&(m="POST"),tl.__awaiter(this,void 0,void 0,function(){var a,p,d,t,i,r;return tl.__generator(this,function(e){switch(e.label){case 0:return a=tl.__assign(tl.__assign({},this.config),l),r=tl.__assign({},a),p={"Content-Type":"application/json","User-Agent":"AlksJS/"+il.version},void 0!==a.accessToken?(p.Authorization="Bearer "+a.accessToken,delete r.accessToken):void 0!==a.accessKey?(p["ALKS-STS-Access-Key"]=a.accessKey,p["ALKS-STS-Secret-Key"]=a.secretKey,p["ALKS-STS-Session-Token"]=a.sessionToken,delete r.accessKey,delete r.secretKey,delete r.sessionToken):void 0!==a.userid&&(console.error("The userid and password properties are deprecated and should be replaced with an access token"),d=function(e){void 0===e&&(e="");return rl.Buffer.from(e).toString("base64")}(a.userid+":"+a.password),p.Authorization="Basic "+d,delete r.userid,delete r.password),a.userAgent&&(p["User-Agent"]+=" "+a.userAgent,delete r.userAgent),[4,a._fetch(a.baseUrl+"/"+n,{method:m,headers:p,credentials:"omit",body:"GET"==m?void 0:JSON.stringify(r)})];case 1:t=e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t.json()];case 3:return i=e.sent(),[3,5];case 4:return r=e.sent(),i={errors:[r.message]},[3,5];case 5:if(!t.ok)throw new o(t,i);return[2,i]}})})},p);function p(e){this.config=e}e.Alks=a;var t,o=(t=Error,tl.__extends(d,t),d);function d(e,a){var p=this,d=Array.isArray(null==a?void 0:a.errors)?a.errors:[];e.statusText&&d.unshift(e.statusText);d=d.join("; ");return(p=t.call(this,d)||this).status=e.status,p.message=d,Object.assign(p,a),p}function i(p,e){return e.reduce(function(e,a){return e[a]=p[a],e},{})}e.AlksError=o;var r=a.prototype.create.call({},{_fetch:nl});e.create=a.prototype.create.bind(r),e.getAccounts=a.prototype.getAccounts.bind(r),e.getKeys=a.prototype.getKeys.bind(r),e.getIAMKeys=a.prototype.getIAMKeys.bind(r),e.getAllAWSRoleTypes=a.prototype.getAllAWSRoleTypes.bind(r),e.getAWSRoleTypes=a.prototype.getAWSRoleTypes.bind(r),e.getNonServiceAWSRoleTypes=a.prototype.getNonServiceAWSRoleTypes.bind(r),e.createRole=a.prototype.createRole.bind(r),e.createNonServiceRole=a.prototype.createNonServiceRole.bind(r),e.awsAccountRoles=a.prototype.awsAccountRoles.bind(r),e.listAWSAccountRoles=a.prototype.listAWSAccountRoles.bind(r),e.getAccountRole=a.prototype.getAccountRole.bind(r),e.updateRole=a.prototype.updateRole.bind(r),e.deleteRole=a.prototype.deleteRole.bind(r),e.addRoleMachineIdentity=a.prototype.addRoleMachineIdentity.bind(r),e.deleteRoleMachineIdentity=a.prototype.deleteRoleMachineIdentity.bind(r),e.getUserAccess=a.prototype.getUserAccess.bind(r),e.getUserAccessByRole=a.prototype.getUserAccessByRole.bind(r),e.getUserRoleAccess=a.prototype.getUserRoleAccess.bind(r),e.getAccountOwners=a.prototype.getAccountOwners.bind(r),e.createAccessKeys=a.prototype.createAccessKeys.bind(r),e.getIamUser=a.prototype.getIamUser.bind(r),e.updateIamUser=a.prototype.updateIamUser.bind(r),e.deleteIAMUser=a.prototype.deleteIAMUser.bind(r),e.version=a.prototype.version.bind(r),e.getLoginRole=a.prototype.getLoginRole.bind(r),e.getAccessToken=a.prototype.getAccessToken.bind(r),e.getRefreshTokens=a.prototype.getRefreshTokens.bind(r),e.revoke=a.prototype.revoke.bind(r),e.getCostTotals=a.prototype.getCostTotals.bind(r)}(ll=ll||{});var ll=ll;e.default=ll,Object.defineProperty(e,"__esModule",{value:!0}),Object.assign(e,ll)}); diff --git a/dist/alks.umd.js b/dist/alks.umd.js index 87ae7a7..1d6cab8 100644 --- a/dist/alks.umd.js +++ b/dist/alks.umd.js @@ -308,7 +308,7 @@ lint: "prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}", test: "npm run build && npm run lint && npm run mocha && npm run karma", mocha: "nyc mocha test/test.js", - coverage: "nyc report --reporter=text-lcov | coveralls", + coverage: "nyc report --reporter=lcov --reporter=text", karma: "karma start", docs: "typedoc src/alks.ts", prepare: "husky install", diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index b79c9d4..a5394c9 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index f69f5f4..2460cdf 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index 8041be3..d8b1794 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index df0c802..18a76d6 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index aa8869a..75981d3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,10 +2,8 @@

        alks.js

        -

        Build Status +

        Build Status Coverage Status -Requirements Status -File Size npm version

        JavaScript client for the ALKS API, usable in both modern browsers and node.js

        It provides a lightweight wrapper around the ALKS REST API, with the following features:

        diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index c95a463..e5d0bd9 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 1e8e97c..6ff7fc2 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index f923134..3c7b22c 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index 40a1dbc..a1fd922 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index d48cbd0..82b7d98 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index ac3816b..2794ffd 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index c1b74cf..5fe6b0a 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index da0f163..1f9f6b1 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index 88ae0a2..4c0a2a8 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index 14c8b27..bfe3424 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index b80d992..d7e740d 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index df8a692..17b54ae 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index e74f592..20850e2 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index c80d021..d00f666 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index 5763c07..e7a710d 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index d31ab20..9f17bf4 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index 092f6aa..069c2bb 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index 839b7bf..1dca81c 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index 18b6eee..918561c 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 950651e..90e6d0f 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index a461f41..4372998 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index b722d04..36589d1 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index 163ecb6..ca17932 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index 36a2285..81adebb 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index fb8b190..62c5770 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index b447e64..d4b5fc5 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index 34e7d52..c0f79da 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index 6eb53da..ad9153a 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index d938550..21ea8d3 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index d425ec8..bcb4fbf 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index aa9ebd6..10322f8 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index 5a8fffe..5869607 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 58f22f7..bd653fc 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index 85295bd..f6e1ae7 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/package.json b/package.json index de9ce9b..eb7b734 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint": "prettier --write --no-error-on-unmatched-pattern {src,test}/**/*.{ts,js,json,md}", "test": "npm run build && npm run lint && npm run mocha && npm run karma", "mocha": "nyc mocha test/test.js", - "coverage": "nyc report --reporter=text-lcov | coveralls", + "coverage": "nyc report --reporter=lcov --reporter=text", "karma": "karma start", "docs": "typedoc src/alks.ts", "prepare": "husky install", From 55352084d71679954e6e0acf9b8b7895ba2f220d Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Tue, 15 Aug 2023 17:15:27 -0400 Subject: [PATCH 3/6] adds coverag reporting to test action --- .github/workflows/build-and-test.yml | 22 ++++++- docs/classes/export_.Alks.html | 60 +++++++++---------- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- 39 files changed, 88 insertions(+), 68 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 81c33a4..cabded3 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -27,5 +27,25 @@ jobs: - name: Install dependencies run: npm ci - run: npm run build --if-present - - name: Run tests + - name: Run tests ${{ matrix.node-version }} run: npm test + - name: Build Coverage Report + run: npm run coverage + - name: Coveralls Parallel + uses: coverallsapp/github-actions@v2 + with: + flag-name: run-${{ join(matrix.*, '-') }} + parallel: true + outputs: + carryfoward-string: run-${{ join(matrix.*, '-') }} + + finish: + needs: build-and-test + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true + carryforward: ${{ needs.build-and-test.outputs.carryfoward-string }} diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index a5394c9..02b6b39 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index 2460cdf..8fed485 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index d8b1794..cb610d7 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index 18a76d6..9ba445d 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index e5d0bd9..f3ba345 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 6ff7fc2..24b2b0a 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index 3c7b22c..8b21794 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index a1fd922..59e778c 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index 82b7d98..baeb347 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index 2794ffd..a6257e7 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index 5fe6b0a..d3f3e21 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index 1f9f6b1..b489c32 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index 4c0a2a8..0a33e71 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index bfe3424..b2f0898 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index d7e740d..25d12b4 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index 17b54ae..586c204 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index 20850e2..8bef7ea 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index d00f666..7ab1c56 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index e7a710d..cdf40b7 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index 9f17bf4..0a402b4 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index 069c2bb..36a51a8 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index 1dca81c..9502e52 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index 918561c..1d2e537 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 90e6d0f..8b9aacb 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index 4372998..6933d32 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index 36589d1..0f33dc0 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index ca17932..7e9df51 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index 81adebb..eb51a70 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index 62c5770..786432e 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index d4b5fc5..47ff611 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index c0f79da..d926157 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index ad9153a..cc0e5a2 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index 21ea8d3..78c1611 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index bcb4fbf..28e3c87 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index 10322f8..cd756ed 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index 5869607..b154099 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index bd653fc..1abf112 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index f6e1ae7..f42a1d4 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file From 0f0d9660034bb0cdcdfc29b8c99198927d677aa3 Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Tue, 15 Aug 2023 17:34:05 -0400 Subject: [PATCH 4/6] other way of sending coverage report to coveralls --- .github/workflows/build-and-test.yml | 24 ++------ docs/classes/export_.Alks.html | 60 +++++++++---------- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- 39 files changed, 72 insertions(+), 86 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cabded3..e7f04fe 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -27,25 +27,11 @@ jobs: - name: Install dependencies run: npm ci - run: npm run build --if-present - - name: Run tests ${{ matrix.node-version }} + - name: Run tests run: npm test - name: Build Coverage Report run: npm run coverage - - name: Coveralls Parallel - uses: coverallsapp/github-actions@v2 - with: - flag-name: run-${{ join(matrix.*, '-') }} - parallel: true - outputs: - carryfoward-string: run-${{ join(matrix.*, '-') }} - - finish: - needs: build-and-test - if: ${{ always() }} - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@v2 - with: - parallel-finished: true - carryforward: ${{ needs.build-and-test.outputs.carryfoward-string }} + - name: Send report to Coveralls + run: | + curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz + ./coveralls report diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index 02b6b39..22b90d3 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index 8fed485..8294d96 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index cb610d7..48572f2 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index 9ba445d..32edf41 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index f3ba345..6418767 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 24b2b0a..7a0f945 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index 8b21794..2de4278 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index 59e778c..30e5a12 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index baeb347..fe769cc 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index a6257e7..60377f8 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index d3f3e21..b6b1eeb 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index b489c32..ba60118 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index 0a33e71..a197480 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index b2f0898..0b14bb3 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index 25d12b4..7bb5e79 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index 586c204..d577b7b 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index 8bef7ea..901e545 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index 7ab1c56..ec36b28 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index cdf40b7..44a5de4 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index 0a402b4..e462b7b 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index 36a51a8..136b46d 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index 9502e52..a46b2ea 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index 1d2e537..dbdb598 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 8b9aacb..0413d19 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index 6933d32..cbde7c2 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index 0f33dc0..8b3b849 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index 7e9df51..d6557de 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index eb51a70..32b61d0 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index 786432e..4094de2 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index 47ff611..0909ef3 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index d926157..668db4b 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index cc0e5a2..325829c 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index 78c1611..443d595 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index 28e3c87..a90a680 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index cd756ed..c4107f6 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index b154099..c52d195 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 1abf112..81ba986 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index f42a1d4..77ecea6 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file From a3fbb049af640897c5311342bbd53387ef30f2d7 Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Tue, 15 Aug 2023 17:38:25 -0400 Subject: [PATCH 5/6] for now, coveralls just isn't gonna work --- .github/workflows/build-and-test.yml | 6 -- README.md | 5 +- docs/classes/export_.Alks.html | 60 +++++++++---------- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/index.html | 1 - docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- 41 files changed, 68 insertions(+), 78 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e7f04fe..81c33a4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -29,9 +29,3 @@ jobs: - run: npm run build --if-present - name: Run tests run: npm test - - name: Build Coverage Report - run: npm run coverage - - name: Send report to Coveralls - run: | - curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz - ./coveralls report diff --git a/README.md b/README.md index a67ef68..7cc7f20 100755 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # alks.js -[![Build Status](https://travis-ci.org/Cox-Automotive/alks.js.svg?branch=master)](https://travis-ci.org/Cox-Automotive/alks.js) -[![Coverage Status](https://coveralls.io/repos/github/Cox-Automotive/alks.js/badge.svg?branch=master)](https://coveralls.io/github/Cox-Automotive/alks.js?branch=master) -[![Requirements Status](https://requires.io/github/Cox-Automotive/alks.js/requirements.svg?branch=master)](https://requires.io/github/Cox-Automotive/alks.js/requirements/?branch=master) -![File Size](http://img.badgesize.io/cox-automotive/alks.js/master/dist/alks.min.js?compression=gzip) +![Build Status](https://github.com/Cox-Automotive/alks.js/actions/workflows/build-and-test.yml/badge.svg) [![npm version](https://badge.fury.io/js/alks.js.svg)](https://www.npmjs.com/package/alks.js) JavaScript client for the ALKS API, usable in both modern browsers and node.js diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index 22b90d3..6d4ad85 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index 8294d96..aec6691 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index 48572f2..5488b6f 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index 32edf41..71b8ad9 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 75981d3..d168bfe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,6 @@

        alks.js

        Build Status -Coverage Status npm version

        JavaScript client for the ALKS API, usable in both modern browsers and node.js

        It provides a lightweight wrapper around the ALKS REST API, with the following features:

        diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index 6418767..bd95e7a 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 7a0f945..314500e 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index 2de4278..4b61d7d 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index 30e5a12..d4da5f0 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index fe769cc..0df28d5 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index 60377f8..81fe2c3 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index b6b1eeb..eacc73d 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index ba60118..80f7e84 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index a197480..d80adbd 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index 0b14bb3..97fd20f 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index 7bb5e79..c488de4 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index d577b7b..c3f13bc 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index 901e545..d0bbdf1 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index ec36b28..2982f1b 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index 44a5de4..c2757be 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index e462b7b..02b3573 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index 136b46d..d03add3 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index a46b2ea..9484ec8 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index dbdb598..ca0fed5 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 0413d19..896cb27 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index cbde7c2..5dae754 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index 8b3b849..7c73afb 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index d6557de..42f9e56 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index 32b61d0..a72af08 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index 4094de2..9fa09d7 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index 0909ef3..35e48e7 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index 668db4b..1ea51e1 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index 325829c..eb5702c 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index 443d595..c1779ac 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index a90a680..75fa793 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index c4107f6..7f03852 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index c52d195..41dd4f3 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 81ba986..4217c87 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index 77ecea6..5067301 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file From 9b5798ee6e6279fb45de21a3da1e916c57003085 Mon Sep 17 00:00:00 2001 From: Spencer Finkel Date: Wed, 16 Aug 2023 09:08:05 -0400 Subject: [PATCH 6/6] update's change log --- CHANGELOG.md | 3 +- docs/classes/export_.Alks.html | 60 +++++++++---------- docs/classes/export_.AlksError.html | 2 +- docs/enums/export_.PseudoBoolean.html | 2 +- docs/enums/export_.TrustType.html | 2 +- docs/interfaces/AccessToken.html | 2 +- docs/interfaces/Account.html | 2 +- docs/interfaces/AccountUserDetails.html | 2 +- docs/interfaces/AwsAccountRole.html | 2 +- docs/interfaces/AwsRoleType.html | 2 +- docs/interfaces/CloudsploitReport.html | 2 +- docs/interfaces/CostTotal.html | 2 +- docs/interfaces/IamUser.html | 2 +- docs/interfaces/Key.html | 2 +- docs/interfaces/LongTermKey.html | 2 +- docs/interfaces/MachineIdentity.html | 2 +- docs/interfaces/RefreshToken.html | 2 +- docs/interfaces/Role.html | 2 +- docs/interfaces/SkypieaAccount.html | 2 +- docs/interfaces/Tag.html | 2 +- docs/interfaces/User.html | 2 +- docs/interfaces/export_.AccessToken.html | 2 +- docs/interfaces/export_.Account.html | 2 +- .../export_.AccountUserDetails.html | 2 +- docs/interfaces/export_.AwsAccountRole.html | 2 +- docs/interfaces/export_.AwsRoleType.html | 2 +- .../interfaces/export_.CloudsploitReport.html | 2 +- docs/interfaces/export_.CostTotal.html | 2 +- docs/interfaces/export_.IamUser.html | 2 +- docs/interfaces/export_.Key.html | 2 +- docs/interfaces/export_.LongTermKey.html | 2 +- docs/interfaces/export_.MachineIdentity.html | 2 +- docs/interfaces/export_.RefreshToken.html | 2 +- docs/interfaces/export_.Role.html | 2 +- docs/interfaces/export_.SkypieaAccount.html | 2 +- docs/interfaces/export_.Tag.html | 2 +- docs/interfaces/export_.User.html | 2 +- docs/modules.html | 2 +- docs/modules/export_.html | 2 +- 39 files changed, 69 insertions(+), 68 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a4bd74..7fa32f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog * Update Ben Jefferies Branch Protection Action Again - +## 08/16/2023 +* Addresses dependabot alerts and removes Coveralls npm dependency diff --git a/docs/classes/export_.Alks.html b/docs/classes/export_.Alks.html index 6d4ad85..a6e27cb 100644 --- a/docs/classes/export_.Alks.html +++ b/docs/classes/export_.Alks.html @@ -1,6 +1,6 @@ Alks | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

ALKS JavaScript API

-

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Hierarchy

  • Alks

Index

Constructors

Properties

Methods

Returns Promise<export=.MachineIdentity>

Returns Promise<export=.AwsAccountRole[]>

  • Returns a new instance of alks with pre-defined properties (which don't need to be supplied to every method).

    Any of the properties required by other methods can be specified here.

    Properties present on the current object are carried through to the newly created one.

    @@ -39,7 +39,7 @@ })

    Parameters

    • props: export=.AlksProps

      An object containing settings for the new ALKS object

      -

    Returns Alks

Returns Alks

Returns Promise<export=.LongTermKey>

Returns Promise<export=.Role>

Returns Promise<export=.Role>

Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.MachineIdentity>

  • Returns a Promise for an array of available AWS IAM role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getAWSRoleTypes({ @@ -228,7 +228,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.AccessToken>

Returns Promise<export=.User[]>

Returns Promise<export=.Role>

Returns Promise<export=.Account[]>

Returns Promise<export=.AwsRoleType[]>

  • Returns cost totals for the specified account for the day, week, month, year, and a breakdown of costs by service for the day and month

    example

    alks.getCostTotals({ accountId: '012345678910', @@ -297,7 +297,7 @@ })

    Parameters

    Returns Promise<export=.CostTotal>

Returns Promise<export=.CostTotal>

Returns Promise<export=.Key>

Returns Promise<export=.IamUser>

Returns Promise<export=.Key>

  • Returns information about one of the roles used to generate keys

    example

    alks.getLoginRole({ ... @@ -344,7 +344,7 @@ })

    Parameters

    Returns Promise<Omit<export=.Account, "skypieaAccount">>

Returns Promise<Omit<export=.Account, "skypieaAccount">>

  • Returns a Promise for an array of available custom role types

    deprecated

    Replaced by getAllAWSRoleTypes which includes all AWS role types and their details

    example

    alks.getNonServiceAWSRoleTypes({ @@ -355,7 +355,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

Returns Promise<export=.RefreshToken[]>

Returns Promise<export=.User[]>

Returns Promise<Record<string, export=.User[]>>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>

Returns Promise<string[]>

  • internalFetch(path: string, args?: Partial<export=.AlksProps>, method?: string): Promise<any>
  • Returns a Promise for an array of AWS custom AWS IAM account roles

    deprecated

    Replaced by awsAccountRoles which includes AWS account roles and their details

    example

    alks.listAWSAccountRoles({ @@ -411,7 +411,7 @@ })

    Parameters

    Returns Promise<string[]>

Returns Promise<string[]>

  • Revokes a refresh or access token

    example

    alks.revoke({ token: '...', @@ -428,7 +428,7 @@ })

    Parameters

    Returns Promise<boolean>

Returns Promise<boolean>

Returns Promise<export=.IamUser>

Returns Promise<export=.Role>

  • Returns the version of the ALKS Rest API

    example

    alks.version({ ... diff --git a/docs/classes/export_.AlksError.html b/docs/classes/export_.AlksError.html index aec6691..eda64b0 100644 --- a/docs/classes/export_.AlksError.html +++ b/docs/classes/export_.AlksError.html @@ -1,4 +1,4 @@ -AlksError | alks.js

    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Class AlksError

    Hierarchy

    • Error
      • AlksError

    Indexable

    [s: string]: any

    Index

    Constructors

    • new AlksError(response: Response, json: any): AlksError

    Properties

    message: string
    name: string
    stack?: string
    status: number
    stackTraceLimit: number

    Methods

    • captureStackTrace(targetObject: object, constructorOpt?: Function): void
    • +AlksError | alks.js
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Class AlksError

      Hierarchy

      • Error
        • AlksError

      Indexable

      [s: string]: any

      Index

      Constructors

      • new AlksError(response: Response, json: any): AlksError

      Properties

      message: string
      name: string
      stack?: string
      status: number
      stackTraceLimit: number

      Methods

      • captureStackTrace(targetObject: object, constructorOpt?: Function): void
      • Create .stack property on a target object

        Parameters

        • targetObject: object
        • Optional constructorOpt: Function

        Returns void

      • prepareStackTrace(err: Error, stackTraces: CallSite[]): any
      • Optional override for formatting stack traces

        diff --git a/docs/enums/export_.PseudoBoolean.html b/docs/enums/export_.PseudoBoolean.html index 5488b6f..ec1da83 100644 --- a/docs/enums/export_.PseudoBoolean.html +++ b/docs/enums/export_.PseudoBoolean.html @@ -1 +1 @@ -PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +PseudoBoolean | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration PseudoBoolean

        Index

        Enumeration members

        Enumeration members

        False = 0
        True = 1

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/enums/export_.TrustType.html b/docs/enums/export_.TrustType.html index 71b8ad9..9ae7cb3 100644 --- a/docs/enums/export_.TrustType.html +++ b/docs/enums/export_.TrustType.html @@ -1 +1 @@ -TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +TrustType | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Enumeration TrustType

        Index

        Enumeration members

        Enumeration members

        CrossAccount = "Cross Account"
        InnerAccount = "Inner Account"

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/AccessToken.html b/docs/interfaces/AccessToken.html index bd95e7a..9dc118b 100644 --- a/docs/interfaces/AccessToken.html +++ b/docs/interfaces/AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +AccessToken | alks.js
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Interface AccessToken

        Hierarchy

        • AccessToken

        Index

        Properties

        accessToken: string
        expiresIn: string

        Legend

        • Property

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/docs/interfaces/Account.html b/docs/interfaces/Account.html index 314500e..e447fb8 100644 --- a/docs/interfaces/Account.html +++ b/docs/interfaces/Account.html @@ -5,4 +5,4 @@
    property

    iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

    property

    maxKeyDuration - The maximum key duration for this account

    property

    skypieaAccount - extra information about the account from Skypiea

    -

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AccountUserDetails.html b/docs/interfaces/AccountUserDetails.html index 4b61d7d..9f28b6e 100644 --- a/docs/interfaces/AccountUserDetails.html +++ b/docs/interfaces/AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsAccountRole.html b/docs/interfaces/AwsAccountRole.html index d4da5f0..e651bf5 100644 --- a/docs/interfaces/AwsAccountRole.html +++ b/docs/interfaces/AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/AwsRoleType.html b/docs/interfaces/AwsRoleType.html index 0df28d5..d375d75 100644 --- a/docs/interfaces/AwsRoleType.html +++ b/docs/interfaces/AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CloudsploitReport.html b/docs/interfaces/CloudsploitReport.html index 81fe2c3..037a56b 100644 --- a/docs/interfaces/CloudsploitReport.html +++ b/docs/interfaces/CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/CostTotal.html b/docs/interfaces/CostTotal.html index eacc73d..91e8836 100644 --- a/docs/interfaces/CostTotal.html +++ b/docs/interfaces/CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/IamUser.html b/docs/interfaces/IamUser.html index 80f7e84..1b88d75 100644 --- a/docs/interfaces/IamUser.html +++ b/docs/interfaces/IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Key.html b/docs/interfaces/Key.html index d80adbd..523a112 100644 --- a/docs/interfaces/Key.html +++ b/docs/interfaces/Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LongTermKey.html b/docs/interfaces/LongTermKey.html index 97fd20f..65e926b 100644 --- a/docs/interfaces/LongTermKey.html +++ b/docs/interfaces/LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MachineIdentity.html b/docs/interfaces/MachineIdentity.html index c488de4..b7bb3ac 100644 --- a/docs/interfaces/MachineIdentity.html +++ b/docs/interfaces/MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/RefreshToken.html b/docs/interfaces/RefreshToken.html index c3f13bc..b3d9261 100644 --- a/docs/interfaces/RefreshToken.html +++ b/docs/interfaces/RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Role.html b/docs/interfaces/Role.html index d0bbdf1..d51d349 100644 --- a/docs/interfaces/Role.html +++ b/docs/interfaces/Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/SkypieaAccount.html b/docs/interfaces/SkypieaAccount.html index 2982f1b..bcf4d47 100644 --- a/docs/interfaces/SkypieaAccount.html +++ b/docs/interfaces/SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/Tag.html b/docs/interfaces/Tag.html index c2757be..742b9a3 100644 --- a/docs/interfaces/Tag.html +++ b/docs/interfaces/Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/User.html b/docs/interfaces/User.html index 02b3573..7ce87f0 100644 --- a/docs/interfaces/User.html +++ b/docs/interfaces/User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccessToken.html b/docs/interfaces/export_.AccessToken.html index d03add3..c139703 100644 --- a/docs/interfaces/export_.AccessToken.html +++ b/docs/interfaces/export_.AccessToken.html @@ -1 +1 @@ -AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +AccessToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccessToken

Hierarchy

  • AccessToken

Index

Properties

accessToken: string
expiresIn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Account.html b/docs/interfaces/export_.Account.html index 9484ec8..ef3c302 100644 --- a/docs/interfaces/export_.Account.html +++ b/docs/interfaces/export_.Account.html @@ -5,4 +5,4 @@
property

iamKeyActive - Whether credentials with IAM permissions can be provisioned from this account

property

maxKeyDuration - The maximum key duration for this account

property

skypieaAccount - extra information about the account from Skypiea

-

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Account

Index

Properties

account: string
iamKeyActive: boolean
maxKeyDuration: number
role: string
securityLevel: string
skypieaAccount: null | export=.SkypieaAccount

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AccountUserDetails.html b/docs/interfaces/export_.AccountUserDetails.html index ca0fed5..5b386a9 100644 --- a/docs/interfaces/export_.AccountUserDetails.html +++ b/docs/interfaces/export_.AccountUserDetails.html @@ -3,4 +3,4 @@
property

samAccountName - the samAccountName of the user

property

email - the email of the user

property

href - the href self link

-

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AccountUserDetails

Index

Properties

email: string
href: string
samAccountName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsAccountRole.html b/docs/interfaces/export_.AwsAccountRole.html index 896cb27..c3bec89 100644 --- a/docs/interfaces/export_.AwsAccountRole.html +++ b/docs/interfaces/export_.AwsAccountRole.html @@ -3,4 +3,4 @@
property

roleArn - The AWS Role ARN

property

isMachineIdentity - true|false value of if this role is a machine identity

property

assumeRolePolicyDocument - The AWS assume role policy document associated with this role

-

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsAccountRole

Index

Properties

assumeRolePolicyDocument: object
isMachineIdentity: boolean
roleArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.AwsRoleType.html b/docs/interfaces/export_.AwsRoleType.html index 5dae754..5d4797e 100644 --- a/docs/interfaces/export_.AwsRoleType.html +++ b/docs/interfaces/export_.AwsRoleType.html @@ -5,4 +5,4 @@
property

trustRelationship - The AWS trust policy document associated with this role

property

instanceProfile - Whether this role is an instance profile

property

templateVariables - A list of template variables that exist within the role type's trust policy document

-

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • AwsRoleType

Index

Properties

defaultArns: string[]
instanceProfile: boolean
roleTypeName: string
templateVariables?: string[]
trustRelationship: object

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CloudsploitReport.html b/docs/interfaces/export_.CloudsploitReport.html index 7c73afb..329afd8 100644 --- a/docs/interfaces/export_.CloudsploitReport.html +++ b/docs/interfaces/export_.CloudsploitReport.html @@ -12,4 +12,4 @@
property

warning - the amount of warnings

property

failing - the amount of fails

property

unknown - the amount of unknowns

-

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • CloudsploitReport

Index

Properties

awsAccountId: string
day: number
failing: number
href: string
month: number
newRisks: number
passing: number
scanDate: string
scanId: number
unknown: number
warning: number
year: number

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.CostTotal.html b/docs/interfaces/export_.CostTotal.html index 42f9e56..d95def4 100644 --- a/docs/interfaces/export_.CostTotal.html +++ b/docs/interfaces/export_.CostTotal.html @@ -1 +1 @@ -CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +CostTotal | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CostTotal

Hierarchy

  • CostTotal

Index

Properties

awsAccountId: string
daily: string
dailyCostsByService: Record<string, string>
dd: string
mm: string
monthly: string
monthlyCostsByService: Record<string, string>
weekly: string
yearly: string
yyyy: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.IamUser.html b/docs/interfaces/export_.IamUser.html index a72af08..cf78279 100644 --- a/docs/interfaces/export_.IamUser.html +++ b/docs/interfaces/export_.IamUser.html @@ -1 +1 @@ -IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +IamUser | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IamUser

Hierarchy

  • IamUser

Index

Properties

accessKey: string
accountId: string
arn: string
tags: export=.Tag[]
userName: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Key.html b/docs/interfaces/export_.Key.html index 9fa09d7..25d1b17 100644 --- a/docs/interfaces/export_.Key.html +++ b/docs/interfaces/export_.Key.html @@ -5,4 +5,4 @@
property

sessionToken - AWS STS session token

property

consoleURL - a URL to the AWS console using these keys

property

sessionTime - the number of hours until the key expires

-

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Key

Index

Properties

accessKey: string
consoleURL: string
secretKey: string
sessionTime: number
sessionToken: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.LongTermKey.html b/docs/interfaces/export_.LongTermKey.html index 35e48e7..e0510c3 100644 --- a/docs/interfaces/export_.LongTermKey.html +++ b/docs/interfaces/export_.LongTermKey.html @@ -4,4 +4,4 @@
property

accessKey - the long term access key

property

secretKey - the secret key for the long term access key

property

addedIAMUserToGroup - whether the user was successfully added to the deny policy group

-

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • LongTermKey

Index

Properties

accessKey: string
addedIAMUserToGroup: boolean
iamUserArn: string
secretKey: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.MachineIdentity.html b/docs/interfaces/export_.MachineIdentity.html index 1ea51e1..05f6232 100644 --- a/docs/interfaces/export_.MachineIdentity.html +++ b/docs/interfaces/export_.MachineIdentity.html @@ -1 +1 @@ -MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +MachineIdentity | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MachineIdentity

Hierarchy

  • MachineIdentity

Index

Properties

machineIdentityArn: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.RefreshToken.html b/docs/interfaces/export_.RefreshToken.html index eb5702c..74dbc96 100644 --- a/docs/interfaces/export_.RefreshToken.html +++ b/docs/interfaces/export_.RefreshToken.html @@ -1 +1 @@ -RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +RefreshToken | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RefreshToken

Hierarchy

  • RefreshToken

Index

Properties

clientId: string
id: string
userId: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Role.html b/docs/interfaces/export_.Role.html index c1779ac..701db5e 100644 --- a/docs/interfaces/export_.Role.html +++ b/docs/interfaces/export_.Role.html @@ -5,4 +5,4 @@
property

instanceProfileArn - The Instance Profile ARN associated with this role

property

addedRoleToInstanceProfile - Whether this role was added to an Instance Profile

property

tags - Resource tags associated with the IAM account role

-

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Role

Index

Properties

addedRoleToInstanceProfile?: boolean
denyArns?: string
instanceProfileArn: string
isMachineIdentity?: boolean
maxSessionDurationInSeconds?: number
roleArn: string
tags?: export=.Tag[]

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.SkypieaAccount.html b/docs/interfaces/export_.SkypieaAccount.html index 75fa793..a22af21 100644 --- a/docs/interfaces/export_.SkypieaAccount.html +++ b/docs/interfaces/export_.SkypieaAccount.html @@ -3,4 +3,4 @@
property

label - the friendly name of the account

property

accountOwners - the samAccountNames of the account owners

property

cloudsploitTrend - the CloudSploit trends

-

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • SkypieaAccount

Index

Properties

accountOwners: export=.AccountUserDetails[]
alias: string
awsAccountId: string
cloudsploitTrend: export=.CloudsploitReport[]
label: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.Tag.html b/docs/interfaces/export_.Tag.html index 7f03852..88f7a3e 100644 --- a/docs/interfaces/export_.Tag.html +++ b/docs/interfaces/export_.Tag.html @@ -2,4 +2,4 @@

Alks role tags

property

key - The AWS role tag key

property

value - The AWS role tag value

-

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • Tag

Index

Properties

Properties

key: string
value: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/export_.User.html b/docs/interfaces/export_.User.html index 41dd4f3..a49f2be 100644 --- a/docs/interfaces/export_.User.html +++ b/docs/interfaces/export_.User.html @@ -5,4 +5,4 @@
property

email - The user email

property

title - The user title

property

department - The user department

-

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

  • User

Index

Properties

department: string
displayName: string
email: string
sAMAccountName: string
title: string

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 4217c87..7e7d415 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

alks.js

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/export_.html b/docs/modules/export_.html index 5067301..26afb0f 100644 --- a/docs/modules/export_.html +++ b/docs/modules/export_.html @@ -1 +1 @@ -export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +export= | alks.js
Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace export=

Index

Type aliases

AddRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
AlksProps: BaseConfig & Auth
AwsAccountRolesProps: Partial<export=.AlksProps> & { account: string }
CreateAccessKeysProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string; tags?: export=.Tag[] }
CreateNonServiceRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; externalId?: string; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType: TrustType; tags?: export=.Tag[]; trustArn: string }
CreateRoleProps: Partial<export=.AlksProps> & { account: string; enableAlksAccess: boolean; includeDefaultPolicy: PseudoBoolean; role: string; roleName: string; roleType?: string; tags?: export=.Tag[]; templateFields?: Record<string, string>; trustPolicy?: Record<string, unknown> }
DeleteIAMUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; role: string }
DeleteRoleMachineIdentityProps: Partial<export=.AlksProps> & { roleARN: string }
DeleteRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetAccessTokenProps: Partial<export=.AlksProps> & { refreshToken: string }
GetAccountOwnersProps: Partial<export=.AlksProps> & { accountId: string }
GetAccountRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string }
GetAccountsProps: Partial<export=.AlksProps> & {}
GetAllAWSRoleTypesProps: Partial<export=.AlksProps> & { getDynamicValues?: boolean }
GetCostTotalsProps: Partial<export=.AlksProps> & { accountId: string }
GetIAMKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string }
GetKeysProps: Partial<export=.AlksProps> & { account: string; role: string; sessionTime: number }
GetLoginRoleProps: Partial<export=.AlksProps> & { accountId: string; role: string }
GetNonServiceAWSRoleTypesProps: Partial<export=.AlksProps> & {}
GetRefreshTokensProps: Partial<export=.AlksProps> & {}
GetUserAccessByRoleProps: Partial<export=.AlksProps> & { accountId: string }
GetUserAccessProps: Partial<export=.AlksProps> & { accountId: string }
GetUserRoleAccessProps: Partial<export=.AlksProps> & { accountId: string; sAMAccountName: string }
ListAWSAccountRolesProps: Partial<export=.AlksProps> & { account: string; role: string }
RevokeByIdProps: Partial<export=.AlksProps> & { tokenId: string }
RevokeByValueProps: Partial<export=.AlksProps> & { token: string }
UpdateIamUserProps: Partial<export=.AlksProps> & { account: string; iamUserName: string; tags?: export=.Tag[] }
UpdateRoleProps: Partial<export=.AlksProps> & { account: string; role: string; roleName: string; tags?: export=.Tag[]; trustPolicy?: Record<string, unknown> }
VersionProps: Partial<export=.AlksProps> & {}

Functions

Legend

  • Property

Settings

Theme

Generated using TypeDoc

\ No newline at end of file