@opencloud-eu/web-client 3.2.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/functions-CKtvRiMa.cjs +1 -0
  2. package/dist/functions-aGu-ugzD.js +1188 -0
  3. package/dist/index-BIL0cW_q.js +1755 -0
  4. package/dist/index-Bc1xE_gW.cjs +16 -0
  5. package/dist/index-BtN57j2H.cjs +1 -0
  6. package/dist/index-DAa_DzDf.cjs +6 -0
  7. package/dist/index-DRZfsp9q.js +686 -0
  8. package/dist/{index-DxUgq3ag.js → index-DZvghmpY.js} +1937 -1953
  9. package/dist/{index-C6VnMvgz.cjs → index-D_NPkUGY.cjs} +1 -1
  10. package/dist/{index-Pl8khka8.js → index-JHVTaNRI.js} +2 -2
  11. package/dist/src/graph/driveItems/types.d.ts +6 -2
  12. package/dist/src/graph/drives/types.d.ts +0 -3
  13. package/dist/src/graph/generated/api.d.ts +120 -98
  14. package/dist/src/helpers/resource/types.d.ts +1 -1
  15. package/dist/src/helpers/share/constants.d.ts +0 -1
  16. package/dist/src/helpers/share/types.d.ts +1 -1
  17. package/dist/src/helpers/space/functions.d.ts +2 -1
  18. package/dist/src/ocs/capabilities.d.ts +2 -0
  19. package/dist/src/webdav/constants/dav.d.ts +1 -0
  20. package/dist/src/webdav/types.d.ts +1 -1
  21. package/dist/toString-CgHWCW2N.cjs +1 -0
  22. package/dist/{toString-Cn0xCZ28.js → toString-XlfBosfh.js} +4 -4
  23. package/dist/web-client/graph/generated.cjs +1 -1
  24. package/dist/web-client/graph/generated.js +1984 -2066
  25. package/dist/web-client/graph.cjs +1 -1
  26. package/dist/web-client/graph.js +1 -1
  27. package/dist/web-client/ocs.cjs +12 -12
  28. package/dist/web-client/ocs.js +1889 -1857
  29. package/dist/web-client/sse.cjs +2 -2
  30. package/dist/web-client/sse.js +95 -105
  31. package/dist/web-client/webdav.cjs +1 -1
  32. package/dist/web-client/webdav.js +3 -3
  33. package/dist/web-client.cjs +1 -1
  34. package/dist/web-client.js +83 -82
  35. package/package.json +2 -2
  36. package/dist/functions-CYOnwClV.js +0 -1178
  37. package/dist/functions-DEaUzlbB.cjs +0 -1
  38. package/dist/index-B3tdq56F.cjs +0 -16
  39. package/dist/index-BTGj2rHD.js +0 -1705
  40. package/dist/index-C-U4KVPG.cjs +0 -6
  41. package/dist/index-D3QfKFAH.cjs +0 -1
  42. package/dist/index-oCdLZPEA.js +0 -699
  43. package/dist/toString-hHr716Th.cjs +0 -1
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
5
5
  * @license MIT
6
- */(function(c){const f=X,l=ir,x=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;c.Buffer=o,c.SlowBuffer=Ur,c.INSPECT_MAX_BYTES=50;const w=2147483647;c.kMaxLength=w;const{Uint8Array:p,ArrayBuffer:s,SharedArrayBuffer:I}=globalThis;o.TYPED_ARRAY_SUPPORT=B(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function B(){try{const e=new p(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,p.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function T(e){if(e>w)throw new RangeError('The value "'+e+'" is invalid for option "size"');const r=new p(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(e)}return A(e,r,t)}o.poolSize=8192;function A(e,r,t){if(typeof e=="string")return J(e,r);if(s.isView(e))return Tr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(b(e,s)||e&&b(e.buffer,s)||typeof I<"u"&&(b(e,I)||e&&b(e.buffer,I)))return Q(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);const i=Ar(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return A(e,r,t)},Object.setPrototypeOf(o.prototype,p.prototype),Object.setPrototypeOf(o,p);function N(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function R(e,r,t){return N(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}o.alloc=function(e,r,t){return R(e,r,t)};function $(e){return N(e),T(e<0?0:K(e)|0)}o.allocUnsafe=function(e){return $(e)},o.allocUnsafeSlow=function(e){return $(e)};function J(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const t=or(e,r)|0;let n=T(t);const i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function z(e){const r=e.length<0?0:K(e.length)|0,t=T(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Tr(e){if(b(e,p)){const r=new p(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return z(e)}function Q(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new p(e):t===void 0?n=new p(e,r):n=new p(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function Ar(e){if(o.isBuffer(e)){const r=K(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||rr(e.length)?T(0):z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return z(e.data)}function K(e){if(e>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return e|0}function Ur(e){return+e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(b(r,p)&&(r=o.from(r,r.offset,r.byteLength)),b(t,p)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let u=0,h=Math.min(n,i);u<h;++u)if(r[u]!==t[u]){n=r[u],i=t[u];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;const i=o.allocUnsafe(t);let u=0;for(n=0;n<r.length;++n){let h=r[n];if(b(h,p))u+h.length>i.length?(o.isBuffer(h)||(h=o.from(h)),h.copy(i,u)):p.prototype.set.call(i,h,u);else if(o.isBuffer(h))h.copy(i,u);else throw new TypeError('"list" argument must be an Array of Buffers');u+=h.length}return i};function or(e,r){if(o.isBuffer(e))return e.length;if(s.isView(e)||b(e,s))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return v(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Br(e).length;default:if(i)return n?-1:v(e).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=or;function Rr(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return $r(this,r,t);case"utf8":case"utf-8":return cr(this,r,t);case"ascii":return Dr(this,r,t);case"latin1":case"binary":return kr(this,r,t);case"base64":return Nr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function P(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}o.prototype.swap16=function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)P(this,t,t+1);return this},o.prototype.swap32=function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)P(this,t,t+3),P(this,t+1,t+2);return this},o.prototype.swap64=function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)P(this,t,t+7),P(this,t+1,t+6),P(this,t+2,t+5),P(this,t+3,t+4);return this},o.prototype.toString=function(){const r=this.length;return r===0?"":arguments.length===0?cr(this,0,r):Rr.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="";const t=c.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},x&&(o.prototype[x]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,u){if(b(r,p)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),u===void 0&&(u=this.length),t<0||n>r.length||i<0||u>this.length)throw new RangeError("out of range index");if(i>=u&&t>=n)return 0;if(i>=u)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,u>>>=0,this===r)return 0;let h=u-i,a=n-t;const d=Math.min(h,a),E=this.slice(i,u),m=r.slice(t,n);for(let y=0;y<d;++y)if(E[y]!==m[y]){h=E[y],a=m[y];break}return h<a?-1:a<h?1:0};function ur(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,rr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:hr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof p.prototype.indexOf=="function"?i?p.prototype.indexOf.call(e,r,t):p.prototype.lastIndexOf.call(e,r,t):hr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(e,r,t,n,i){let u=1,h=e.length,a=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;u=2,h/=2,a/=2,t/=2}function d(m,y){return u===1?m[y]:m.readUInt16BE(y*u)}let E;if(i){let m=-1;for(E=t;E<h;E++)if(d(e,E)===d(r,m===-1?0:E-m)){if(m===-1&&(m=E),E-m+1===a)return m*u}else m!==-1&&(E-=E-m),m=-1}else for(t+a>h&&(t=h-a),E=t;E>=0;E--){let m=!0;for(let y=0;y<a;y++)if(d(e,E+y)!==d(r,y)){m=!1;break}if(m)return E}return-1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return ur(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return ur(this,r,t,n,!1)};function Cr(e,r,t,n){t=Number(t)||0;const i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;const u=r.length;n>u/2&&(n=u/2);let h;for(h=0;h<n;++h){const a=parseInt(r.substr(h*2,2),16);if(rr(a))return h;e[t+h]=a}return h}function br(e,r,t,n){return H(v(r,e.length-t),e,t,n)}function _r(e,r,t,n){return H(jr(r),e,t,n)}function Sr(e,r,t,n){return H(Br(r),e,t,n)}function Lr(e,r,t,n){return H(qr(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const u=this.length-t;if((n===void 0||n>u)&&(n=u),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let h=!1;for(;;)switch(i){case"hex":return Cr(this,r,t,n);case"utf8":case"utf-8":return br(this,r,t,n);case"ascii":case"latin1":case"binary":return _r(this,r,t,n);case"base64":return Sr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lr(this,r,t,n);default:if(h)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nr(e,r,t){return r===0&&t===e.length?f.fromByteArray(e):f.fromByteArray(e.slice(r,t))}function cr(e,r,t){t=Math.min(e.length,t);const n=[];let i=r;for(;i<t;){const u=e[i];let h=null,a=u>239?4:u>223?3:u>191?2:1;if(i+a<=t){let d,E,m,y;switch(a){case 1:u<128&&(h=u);break;case 2:d=e[i+1],(d&192)===128&&(y=(u&31)<<6|d&63,y>127&&(h=y));break;case 3:d=e[i+1],E=e[i+2],(d&192)===128&&(E&192)===128&&(y=(u&15)<<12|(d&63)<<6|E&63,y>2047&&(y<55296||y>57343)&&(h=y));break;case 4:d=e[i+1],E=e[i+2],m=e[i+3],(d&192)===128&&(E&192)===128&&(m&192)===128&&(y=(u&15)<<18|(d&63)<<12|(E&63)<<6|m&63,y>65535&&y<1114112&&(h=y))}}h===null?(h=65533,a=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|h&1023),n.push(h),i+=a}return Mr(n)}const fr=4096;function Mr(e){const r=e.length;if(r<=fr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=fr));return t}function Dr(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function kr(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function $r(e,r,t){const n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let u=r;u<t;++u)i+=Wr[e[u]];return i}function Pr(e,r,t){const n=e.slice(r,t);let i="";for(let u=0;u<n.length-1;u+=2)i+=String.fromCharCode(n[u]+n[u+1]*256);return i}o.prototype.slice=function(r,t){const n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);const i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function F(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r],u=1,h=0;for(;++h<t&&(u*=256);)i+=this[r+h]*u;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r+--t],u=1;for(;t>0&&(u*=256);)i+=this[r+--t]*u;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||F(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||F(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||F(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||F(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,u=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(u)<<BigInt(32))}),o.prototype.readBigUInt64BE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],u=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return(BigInt(i)<<BigInt(32))+BigInt(u)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r],u=1,h=0;for(;++h<t&&(u*=256);)i+=this[r+h]*u;return u*=128,i>=u&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=t,u=1,h=this[r+--i];for(;i>0&&(u*=256);)h+=this[r+--i]*u;return u*=128,h>=u&&(h-=Math.pow(2,8*t)),h},o.prototype.readInt8=function(r,t){return r=r>>>0,t||F(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||F(r,2,this.length);const n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||F(r,2,this.length);const n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||F(r,4,this.length),l.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||F(r,4,this.length),l.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||F(r,8,this.length),l.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||F(r,8,this.length),l.read(this,r,!1,52,8)};function U(e,r,t,n,i,u){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<u)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){const a=Math.pow(2,8*n)-1;U(this,r,t,n,a,0)}let u=1,h=0;for(this[t]=r&255;++h<n&&(u*=256);)this[t+h]=r/u&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){const a=Math.pow(2,8*n)-1;U(this,r,t,n,a,0)}let u=n-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function pr(e,r,t,n,i){xr(r,n,i,e,t,7);let u=Number(r&BigInt(4294967295));e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u;let h=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=h,h=h>>8,e[t++]=h,h=h>>8,e[t++]=h,h=h>>8,e[t++]=h,t}function sr(e,r,t,n,i){xr(r,n,i,e,t,7);let u=Number(r&BigInt(4294967295));e[t+7]=u,u=u>>8,e[t+6]=u,u=u>>8,e[t+5]=u,u=u>>8,e[t+4]=u;let h=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=h,h=h>>8,e[t+2]=h,h=h>>8,e[t+1]=h,h=h>>8,e[t]=h,t+8}o.prototype.writeBigUInt64LE=k(function(r,t=0){return pr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=k(function(r,t=0){return sr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){const d=Math.pow(2,8*n-1);U(this,r,t,n,d-1,-d)}let u=0,h=1,a=0;for(this[t]=r&255;++u<n&&(h*=256);)r<0&&a===0&&this[t+u-1]!==0&&(a=1),this[t+u]=(r/h>>0)-a&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){const d=Math.pow(2,8*n-1);U(this,r,t,n,d-1,-d)}let u=n-1,h=1,a=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&a===0&&this[t+u+1]!==0&&(a=1),this[t+u]=(r/h>>0)-a&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=k(function(r,t=0){return pr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=k(function(r,t=0){return sr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function lr(e,r,t,n,i,u){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ar(e,r,t,n,i){return r=+r,t=t>>>0,i||lr(e,r,t,4),l.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return ar(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return ar(this,r,t,!1,n)};function wr(e,r,t,n,i){return r=+r,t=t>>>0,i||lr(e,r,t,8),l.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return wr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return wr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);const u=i-n;return this===r&&typeof p.prototype.copyWithin=="function"?this.copyWithin(t,n,i):p.prototype.set.call(r,this.subarray(n,i),t),u},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){const h=r.charCodeAt(0);(i==="utf8"&&h<128||i==="latin1")&&(r=h)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{const h=o.isBuffer(r)?r:o.from(r,i),a=h.length;if(a===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=h[u%a]}return this};const G={};function Z(e,r,t){G[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(e,r){return`The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),Z("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=yr(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=yr(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function yr(e){let r="",t=e.length;const n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return`${e.slice(0,t)}${r}`}function Or(e,r,t){Y(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&W(r,e.length-(t+1))}function xr(e,r,t,n,i,u){if(e>t||e<r){const h=typeof r=="bigint"?"n":"";let a;throw r===0||r===BigInt(0)?a=`>= 0${h} and < 2${h} ** ${(u+1)*8}${h}`:a=`>= -(2${h} ** ${(u+1)*8-1}${h}) and < 2 ** ${(u+1)*8-1}${h}`,new G.ERR_OUT_OF_RANGE("value",a,e)}Or(n,i,u)}function Y(e,r){if(typeof e!="number")throw new G.ERR_INVALID_ARG_TYPE(r,"number",e)}function W(e,r,t){throw Math.floor(e)!==e?(Y(e,t),new G.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,e)}const Gr=/[^+/0-9A-Za-z-_]/g;function Yr(e){if(e=e.split("=")[0],e=e.trim().replace(Gr,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function v(e,r){r=r||1/0;let t;const n=e.length;let i=null;const u=[];for(let h=0;h<n;++h){if(t=e.charCodeAt(h),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&u.push(239,191,189);continue}else if(h+1===n){(r-=3)>-1&&u.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&u.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&u.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;u.push(t)}else if(t<2048){if((r-=2)<0)break;u.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;u.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;u.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return u}function jr(e){const r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function qr(e,r){let t,n,i;const u=[];for(let h=0;h<e.length&&!((r-=2)<0);++h)t=e.charCodeAt(h),n=t>>8,i=t%256,u.push(i),u.push(n);return u}function Br(e){return f.toByteArray(Yr(e))}function H(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function b(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function rr(e){return e!==e}const Wr=function(){const e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){const n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i]}return r}();function k(e){return typeof BigInt>"u"?Hr:e}function Hr(){throw new Error("BigInt not supported")}})(Ir);const ut=Ir.Buffer;exports.Buffer=ut;exports.global=Vr;exports.process$1=Kr;
6
+ */(function(c){const f=X,l=ir,x=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;c.Buffer=o,c.SlowBuffer=Ur,c.INSPECT_MAX_BYTES=50;const w=2147483647;c.kMaxLength=w;const{Uint8Array:p,ArrayBuffer:s,SharedArrayBuffer:I}=globalThis;o.TYPED_ARRAY_SUPPORT=B(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function B(){try{const e=new p(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,p.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function T(e){if(e>w)throw new RangeError('The value "'+e+'" is invalid for option "size"');const r=new p(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(e)}return A(e,r,t)}o.poolSize=8192;function A(e,r,t){if(typeof e=="string")return J(e,r);if(s.isView(e))return Tr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(b(e,s)||e&&b(e.buffer,s)||typeof I<"u"&&(b(e,I)||e&&b(e.buffer,I)))return Q(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);const i=Ar(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return A(e,r,t)},Object.setPrototypeOf(o.prototype,p.prototype),Object.setPrototypeOf(o,p);function N(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function R(e,r,t){return N(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}o.alloc=function(e,r,t){return R(e,r,t)};function $(e){return N(e),T(e<0?0:K(e)|0)}o.allocUnsafe=function(e){return $(e)},o.allocUnsafeSlow=function(e){return $(e)};function J(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const t=or(e,r)|0;let n=T(t);const i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function z(e){const r=e.length<0?0:K(e.length)|0,t=T(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Tr(e){if(b(e,p)){const r=new p(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return z(e)}function Q(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new p(e):t===void 0?n=new p(e,r):n=new p(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function Ar(e){if(o.isBuffer(e)){const r=K(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||rr(e.length)?T(0):z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return z(e.data)}function K(e){if(e>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return e|0}function Ur(e){return+e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(b(r,p)&&(r=o.from(r,r.offset,r.byteLength)),b(t,p)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let u=0,h=Math.min(n,i);u<h;++u)if(r[u]!==t[u]){n=r[u],i=t[u];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;const i=o.allocUnsafe(t);let u=0;for(n=0;n<r.length;++n){let h=r[n];if(b(h,p))u+h.length>i.length?(o.isBuffer(h)||(h=o.from(h)),h.copy(i,u)):p.prototype.set.call(i,h,u);else if(o.isBuffer(h))h.copy(i,u);else throw new TypeError('"list" argument must be an Array of Buffers');u+=h.length}return i};function or(e,r){if(o.isBuffer(e))return e.length;if(s.isView(e)||b(e,s))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return v(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Br(e).length;default:if(i)return n?-1:v(e).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=or;function Rr(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return $r(this,r,t);case"utf8":case"utf-8":return cr(this,r,t);case"ascii":return Dr(this,r,t);case"latin1":case"binary":return kr(this,r,t);case"base64":return Nr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function P(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}o.prototype.swap16=function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)P(this,t,t+1);return this},o.prototype.swap32=function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)P(this,t,t+3),P(this,t+1,t+2);return this},o.prototype.swap64=function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)P(this,t,t+7),P(this,t+1,t+6),P(this,t+2,t+5),P(this,t+3,t+4);return this},o.prototype.toString=function(){const r=this.length;return r===0?"":arguments.length===0?cr(this,0,r):Rr.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="";const t=c.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},x&&(o.prototype[x]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,u){if(b(r,p)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),u===void 0&&(u=this.length),t<0||n>r.length||i<0||u>this.length)throw new RangeError("out of range index");if(i>=u&&t>=n)return 0;if(i>=u)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,u>>>=0,this===r)return 0;let h=u-i,a=n-t;const d=Math.min(h,a),E=this.slice(i,u),m=r.slice(t,n);for(let y=0;y<d;++y)if(E[y]!==m[y]){h=E[y],a=m[y];break}return h<a?-1:a<h?1:0};function ur(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,rr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:hr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof p.prototype.indexOf=="function"?i?p.prototype.indexOf.call(e,r,t):p.prototype.lastIndexOf.call(e,r,t):hr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(e,r,t,n,i){let u=1,h=e.length,a=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;u=2,h/=2,a/=2,t/=2}function d(m,y){return u===1?m[y]:m.readUInt16BE(y*u)}let E;if(i){let m=-1;for(E=t;E<h;E++)if(d(e,E)===d(r,m===-1?0:E-m)){if(m===-1&&(m=E),E-m+1===a)return m*u}else m!==-1&&(E-=E-m),m=-1}else for(t+a>h&&(t=h-a),E=t;E>=0;E--){let m=!0;for(let y=0;y<a;y++)if(d(e,E+y)!==d(r,y)){m=!1;break}if(m)return E}return-1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return ur(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return ur(this,r,t,n,!1)};function Cr(e,r,t,n){t=Number(t)||0;const i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;const u=r.length;n>u/2&&(n=u/2);let h;for(h=0;h<n;++h){const a=parseInt(r.substr(h*2,2),16);if(rr(a))return h;e[t+h]=a}return h}function br(e,r,t,n){return H(v(r,e.length-t),e,t,n)}function _r(e,r,t,n){return H(jr(r),e,t,n)}function Sr(e,r,t,n){return H(Br(r),e,t,n)}function Lr(e,r,t,n){return H(qr(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const u=this.length-t;if((n===void 0||n>u)&&(n=u),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let h=!1;for(;;)switch(i){case"hex":return Cr(this,r,t,n);case"utf8":case"utf-8":return br(this,r,t,n);case"ascii":case"latin1":case"binary":return _r(this,r,t,n);case"base64":return Sr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lr(this,r,t,n);default:if(h)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nr(e,r,t){return r===0&&t===e.length?f.fromByteArray(e):f.fromByteArray(e.slice(r,t))}function cr(e,r,t){t=Math.min(e.length,t);const n=[];let i=r;for(;i<t;){const u=e[i];let h=null,a=u>239?4:u>223?3:u>191?2:1;if(i+a<=t){let d,E,m,y;switch(a){case 1:u<128&&(h=u);break;case 2:d=e[i+1],(d&192)===128&&(y=(u&31)<<6|d&63,y>127&&(h=y));break;case 3:d=e[i+1],E=e[i+2],(d&192)===128&&(E&192)===128&&(y=(u&15)<<12|(d&63)<<6|E&63,y>2047&&(y<55296||y>57343)&&(h=y));break;case 4:d=e[i+1],E=e[i+2],m=e[i+3],(d&192)===128&&(E&192)===128&&(m&192)===128&&(y=(u&15)<<18|(d&63)<<12|(E&63)<<6|m&63,y>65535&&y<1114112&&(h=y))}}h===null?(h=65533,a=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|h&1023),n.push(h),i+=a}return Mr(n)}const fr=4096;function Mr(e){const r=e.length;if(r<=fr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=fr));return t}function Dr(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function kr(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function $r(e,r,t){const n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let u=r;u<t;++u)i+=Wr[e[u]];return i}function Pr(e,r,t){const n=e.slice(r,t);let i="";for(let u=0;u<n.length-1;u+=2)i+=String.fromCharCode(n[u]+n[u+1]*256);return i}o.prototype.slice=function(r,t){const n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);const i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function F(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r],u=1,h=0;for(;++h<t&&(u*=256);)i+=this[r+h]*u;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r+--t],u=1;for(;t>0&&(u*=256);)i+=this[r+--t]*u;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||F(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||F(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||F(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||F(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,u=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(u)<<BigInt(32))}),o.prototype.readBigUInt64BE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],u=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return(BigInt(i)<<BigInt(32))+BigInt(u)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=this[r],u=1,h=0;for(;++h<t&&(u*=256);)i+=this[r+h]*u;return u*=128,i>=u&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||F(r,t,this.length);let i=t,u=1,h=this[r+--i];for(;i>0&&(u*=256);)h+=this[r+--i]*u;return u*=128,h>=u&&(h-=Math.pow(2,8*t)),h},o.prototype.readInt8=function(r,t){return r=r>>>0,t||F(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||F(r,2,this.length);const n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||F(r,2,this.length);const n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||F(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=k(function(r){r=r>>>0,Y(r,"offset");const t=this[r],n=this[r+7];(t===void 0||n===void 0)&&W(r,this.length-8);const i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||F(r,4,this.length),l.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||F(r,4,this.length),l.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||F(r,8,this.length),l.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||F(r,8,this.length),l.read(this,r,!1,52,8)};function U(e,r,t,n,i,u){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<u)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){const a=Math.pow(2,8*n)-1;U(this,r,t,n,a,0)}let u=1,h=0;for(this[t]=r&255;++h<n&&(u*=256);)this[t+h]=r/u&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){const a=Math.pow(2,8*n)-1;U(this,r,t,n,a,0)}let u=n-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function pr(e,r,t,n,i){xr(r,n,i,e,t,7);let u=Number(r&BigInt(4294967295));e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u;let h=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=h,h=h>>8,e[t++]=h,h=h>>8,e[t++]=h,h=h>>8,e[t++]=h,t}function sr(e,r,t,n,i){xr(r,n,i,e,t,7);let u=Number(r&BigInt(4294967295));e[t+7]=u,u=u>>8,e[t+6]=u,u=u>>8,e[t+5]=u,u=u>>8,e[t+4]=u;let h=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=h,h=h>>8,e[t+2]=h,h=h>>8,e[t+1]=h,h=h>>8,e[t]=h,t+8}o.prototype.writeBigUInt64LE=k(function(r,t=0){return pr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=k(function(r,t=0){return sr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){const d=Math.pow(2,8*n-1);U(this,r,t,n,d-1,-d)}let u=0,h=1,a=0;for(this[t]=r&255;++u<n&&(h*=256);)r<0&&a===0&&this[t+u-1]!==0&&(a=1),this[t+u]=(r/h>>0)-a&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){const d=Math.pow(2,8*n-1);U(this,r,t,n,d-1,-d)}let u=n-1,h=1,a=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&a===0&&this[t+u+1]!==0&&(a=1),this[t+u]=(r/h>>0)-a&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||U(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=k(function(r,t=0){return pr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=k(function(r,t=0){return sr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function lr(e,r,t,n,i,u){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ar(e,r,t,n,i){return r=+r,t=t>>>0,i||lr(e,r,t,4),l.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return ar(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return ar(this,r,t,!1,n)};function wr(e,r,t,n,i){return r=+r,t=t>>>0,i||lr(e,r,t,8),l.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return wr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return wr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);const u=i-n;return this===r&&typeof p.prototype.copyWithin=="function"?this.copyWithin(t,n,i):p.prototype.set.call(r,this.subarray(n,i),t),u},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){const h=r.charCodeAt(0);(i==="utf8"&&h<128||i==="latin1")&&(r=h)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{const h=o.isBuffer(r)?r:o.from(r,i),a=h.length;if(a===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=h[u%a]}return this};const G={};function Z(e,r,t){G[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(e,r){return`The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),Z("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=yr(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=yr(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function yr(e){let r="",t=e.length;const n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return`${e.slice(0,t)}${r}`}function Or(e,r,t){Y(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&W(r,e.length-(t+1))}function xr(e,r,t,n,i,u){if(e>t||e<r){const h=typeof r=="bigint"?"n":"";let a;throw r===0||r===BigInt(0)?a=`>= 0${h} and < 2${h} ** ${(u+1)*8}${h}`:a=`>= -(2${h} ** ${(u+1)*8-1}${h}) and < 2 ** ${(u+1)*8-1}${h}`,new G.ERR_OUT_OF_RANGE("value",a,e)}Or(n,i,u)}function Y(e,r){if(typeof e!="number")throw new G.ERR_INVALID_ARG_TYPE(r,"number",e)}function W(e,r,t){throw Math.floor(e)!==e?(Y(e,t),new G.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,e)}const Gr=/[^+/0-9A-Za-z-_]/g;function Yr(e){if(e=e.split("=")[0],e=e.trim().replace(Gr,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function v(e,r){r=r||1/0;let t;const n=e.length;let i=null;const u=[];for(let h=0;h<n;++h){if(t=e.charCodeAt(h),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&u.push(239,191,189);continue}else if(h+1===n){(r-=3)>-1&&u.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&u.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&u.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;u.push(t)}else if(t<2048){if((r-=2)<0)break;u.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;u.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;u.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return u}function jr(e){const r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function qr(e,r){let t,n,i;const u=[];for(let h=0;h<e.length&&!((r-=2)<0);++h)t=e.charCodeAt(h),n=t>>8,i=t%256,u.push(i),u.push(n);return u}function Br(e){return f.toByteArray(Yr(e))}function H(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function b(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function rr(e){return e!==e}const Wr=(function(){const e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){const n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i]}return r})();function k(e){return typeof BigInt>"u"?Hr:e}function Hr(){throw new Error("BigInt not supported")}})(Ir);const ut=Ir.Buffer;exports.Buffer=ut;exports.global=Vr;exports.process$1=Kr;
@@ -1117,7 +1117,7 @@ ir.write = function(c, f, l, x, w, p) {
1117
1117
  function rr(e) {
1118
1118
  return e !== e;
1119
1119
  }
1120
- const Wr = function() {
1120
+ const Wr = (function() {
1121
1121
  const e = "0123456789abcdef", r = new Array(256);
1122
1122
  for (let t = 0; t < 16; ++t) {
1123
1123
  const n = t * 16;
@@ -1125,7 +1125,7 @@ ir.write = function(c, f, l, x, w, p) {
1125
1125
  r[n + i] = e[t] + e[i];
1126
1126
  }
1127
1127
  return r;
1128
- }();
1128
+ })();
1129
1129
  function k(e) {
1130
1130
  return typeof BigInt > "u" ? Hr : e;
1131
1131
  }
@@ -5,6 +5,10 @@ export interface GraphDriveItems {
5
5
  createDriveItem: (driveId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
6
6
  updateDriveItem: (driveId: string, itemId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
7
7
  deleteDriveItem: (driveId: string, itemId: string, requestOptions?: GraphRequestOptions) => Promise<void>;
8
- listSharedByMe: (requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
9
- listSharedWithMe: (requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
8
+ listSharedByMe: (options?: {
9
+ expand?: Set<'thumbnails'>;
10
+ }, requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
11
+ listSharedWithMe: (options?: {
12
+ expand?: Set<'thumbnails'>;
13
+ }, requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
10
14
  }
@@ -3,9 +3,6 @@ import { Drive, DriveUpdate, ListMyDrivesBetaSelectEnum } from '../generated';
3
3
  import { GraphRequestOptions } from '../types';
4
4
  export interface GraphDrives {
5
5
  getDrive: (id: string, options?: {
6
- orderBy?: string;
7
- filter?: string;
8
- expand?: string;
9
6
  select?: Array<ListMyDrivesBetaSelectEnum>;
10
7
  }, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
11
8
  createDrive: (data: Drive, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;