@secrecy/lib 1.0.0-dev.67 → 1.0.0-dev.68

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 (99) hide show
  1. package/dist/BaseClient.cjs +1 -1
  2. package/dist/BaseClient.cjs.map +1 -1
  3. package/dist/BaseClient.js +1 -1
  4. package/dist/BaseClient.js.map +1 -1
  5. package/dist/PopupTools.cjs +1 -1
  6. package/dist/PopupTools.js +1 -1
  7. package/dist/ZeusThunder.cjs +1 -1
  8. package/dist/ZeusThunder.cjs.map +1 -1
  9. package/dist/ZeusThunder.js +1 -1
  10. package/dist/ZeusThunder.js.map +1 -1
  11. package/dist/cache.cjs +1 -1
  12. package/dist/cache.js +1 -1
  13. package/dist/chunk-UPFDSEKI.js +2 -0
  14. package/dist/{chunk-KMTF2BZE.js.map → chunk-UPFDSEKI.js.map} +0 -0
  15. package/dist/chunk-XDPEU3HV.cjs +2 -0
  16. package/dist/{chunk-5WPCTUWH.cjs.map → chunk-XDPEU3HV.cjs.map} +0 -0
  17. package/dist/client/SecrecyAppClient.cjs +1 -1
  18. package/dist/client/SecrecyAppClient.cjs.map +1 -1
  19. package/dist/client/SecrecyAppClient.js +1 -1
  20. package/dist/client/SecrecyAppClient.js.map +1 -1
  21. package/dist/client/SecrecyCloudClient.cjs +1 -1
  22. package/dist/client/SecrecyCloudClient.cjs.map +1 -1
  23. package/dist/client/SecrecyCloudClient.js +1 -1
  24. package/dist/client/SecrecyCloudClient.js.map +1 -1
  25. package/dist/client/SecrecyDbClient.cjs +1 -1
  26. package/dist/client/SecrecyDbClient.cjs.map +1 -1
  27. package/dist/client/SecrecyDbClient.js +1 -1
  28. package/dist/client/SecrecyDbClient.js.map +1 -1
  29. package/dist/client/SecrecyMailClient.cjs +1 -1
  30. package/dist/client/SecrecyMailClient.cjs.map +1 -1
  31. package/dist/client/SecrecyMailClient.js +1 -1
  32. package/dist/client/SecrecyMailClient.js.map +1 -1
  33. package/dist/client/SecrecyPayClient.cjs +1 -1
  34. package/dist/client/SecrecyPayClient.js +1 -1
  35. package/dist/client/SecrecyWalletClient.cjs +1 -1
  36. package/dist/client/SecrecyWalletClient.cjs.map +1 -1
  37. package/dist/client/SecrecyWalletClient.js +1 -1
  38. package/dist/client/SecrecyWalletClient.js.map +1 -1
  39. package/dist/client/convert/file.cjs +1 -1
  40. package/dist/client/convert/file.js +1 -1
  41. package/dist/client/convert/mail.cjs +1 -1
  42. package/dist/client/convert/mail.js +1 -1
  43. package/dist/client/convert/node.cjs +1 -1
  44. package/dist/client/convert/node.cjs.map +1 -1
  45. package/dist/client/convert/node.js +1 -1
  46. package/dist/client/convert/node.js.map +1 -1
  47. package/dist/client/helpers.cjs +1 -1
  48. package/dist/client/helpers.js +1 -1
  49. package/dist/client/index.cjs +1 -1
  50. package/dist/client/index.cjs.map +1 -1
  51. package/dist/client/index.js +1 -1
  52. package/dist/client/index.js.map +1 -1
  53. package/dist/client/storage.cjs +1 -1
  54. package/dist/client/storage.js +1 -1
  55. package/dist/client/types/selectors.cjs +1 -1
  56. package/dist/client/types/selectors.js +1 -1
  57. package/dist/crypto/file.cjs +1 -1
  58. package/dist/crypto/file.cjs.map +1 -1
  59. package/dist/crypto/file.js +1 -1
  60. package/dist/crypto/file.js.map +1 -1
  61. package/dist/crypto/index.cjs +1 -1
  62. package/dist/crypto/index.js +1 -1
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.js +1 -1
  65. package/dist/minify/index.cjs +1 -1
  66. package/dist/minify/index.js +1 -1
  67. package/dist/minify/lz4.cjs +1 -1
  68. package/dist/minify/lz4.js +1 -1
  69. package/dist/sodium.cjs +1 -1
  70. package/dist/sodium.cjs.map +1 -1
  71. package/dist/sodium.js +1 -1
  72. package/dist/sodium.js.map +1 -1
  73. package/dist/utils/store-buddy.cjs +1 -1
  74. package/dist/utils/store-buddy.js +1 -1
  75. package/dist/utils/time.cjs +1 -1
  76. package/dist/utils/time.js +1 -1
  77. package/dist/utils/utils.cjs +1 -1
  78. package/dist/utils/utils.cjs.map +1 -1
  79. package/dist/utils/utils.js +1 -1
  80. package/dist/utils/utils.js.map +1 -1
  81. package/dist/worker/md5.cjs +1 -1
  82. package/dist/worker/md5.cjs.map +1 -1
  83. package/dist/worker/md5.js +1 -1
  84. package/dist/worker/md5.js.map +1 -1
  85. package/dist/worker/sodium.cjs +1 -1
  86. package/dist/worker/sodium.cjs.map +1 -1
  87. package/dist/worker/sodium.js +1 -1
  88. package/dist/worker/sodium.js.map +1 -1
  89. package/dist/worker/workerCodes.cjs +1 -1
  90. package/dist/worker/workerCodes.js +1 -1
  91. package/dist/zeus/const.cjs +1 -1
  92. package/dist/zeus/const.js +1 -1
  93. package/dist/zeus/index.cjs +2 -2
  94. package/dist/zeus/index.cjs.map +1 -1
  95. package/dist/zeus/index.js +2 -2
  96. package/dist/zeus/index.js.map +1 -1
  97. package/package.json +3 -3
  98. package/dist/chunk-5WPCTUWH.cjs +0 -2
  99. package/dist/chunk-KMTF2BZE.js +0 -2
@@ -1,3 +1,3 @@
1
- import"../chunk-KMTF2BZE.js";// lz4-ts @license BSD-3-Clause / Copyright (c) 2015, Pierre Curto / 2016, oov. All rights reserved.
1
+ import"../chunk-UPFDSEKI.js";// lz4-ts @license BSD-3-Clause / Copyright (c) 2015, Pierre Curto / 2016, oov. All rights reserved.
2
2
  const m=new Error("invalid source"),h=new Error("short buffer"),S=4,H=16,s=1<<H,E=s-1,I=16,P=1<<I,z=S*8-I,j=8+S,C=6,M=-1640531535;function q(t,i){const e=t>>>16&65535,r=t&65535,o=i>>>16&65535,n=i&65535;return r*n+(e*n+r*o<<16>>>0)|0}const v=Math.imul?Math.imul:q;function T(t,i){return t[i+3]|t[i+2]<<8|t[i+1]<<16|t[i]<<24}function k(t,i,e,r,o){for(let n=0;n<o;++n)t[e++]=i[r++]}function D(t){const i=t.length;if(i===0)return 0;let e=0,r=0;for(;;){let o=t[e]>>4,n=t[e]&15;if(++e===i)throw m;if(o>0){if(o===15){for(;t[e]===255;)if(o+=255,++e===i)throw m;if(o+=t[e],++e===i)throw m}if(r+=o,e+=o,e>=i)return r}if(e+=2,e>=i)throw m;const f=t[e-2]|t[e-1]<<8;if(r-f<0||f===0)throw m;if(n===15){for(;t[e]===255;)if(n+=255,++e===i)throw m;if(n+=t[e],++e===i)throw m}for(n+=4;n>=f;n-=f)r+=f;r+=n}}function F(t,i){const e=t.length,r=i.length;if(e===0)return 0;let o=0,n=0;for(;;){let f=t[o]>>4,x=t[o]&15;if(++o===e)throw m;if(f>0){if(f===15){for(;t[o]===255;)if(f+=255,++o===e)throw m;if(f+=t[o],++o===e)throw m}if(r-n<f||o+f>e)throw h;if(k(i,t,n,o,f),n+=f,o+=f,o>=e)return n}if(o+=2,o>=e)throw m;const w=t[o-2]|t[o-1]<<8;if(n-w<0||w===0)throw m;if(x===15){for(;t[o]===255;)if(x+=255,++o===e)throw m;if(x+=t[o],++o===e)throw m}if(x+=4,r-n<=x)throw h;for(;x>=w;x-=w)k(i,i,n,n-w,w),n+=w;k(i,i,n,n-w,x),n+=x}}function G(t){return t+(t/255|0)+16}function J(t,i,e){const r=t.length-j,o=i.length;if(r<=0||o===0||e>=r)return 0;let n=0,f=0;const x=new Uint32Array(P);for(;n<e;){const b=v(T(t,n),M)>>>z;x[b]=++n}let w=n,c=1<<C;for(;n<r-S;){const b=v(T(t,n),M)>>>z,l=x[b]-1;if(x[b]=n+1,l<0||n-l>>H>0||t[l]!==t[n]||t[l+1]!==t[n+1]||t[l+2]!==t[n+2]||t[l+3]!==t[n+3]){n+=c>>C,++c;continue}c=1<<C;const g=n-w,U=n-l;n+=S;let L=n;for(;n<=r&&t[n]===t[n-U];)n++;if(L=n-L,L<15?i[f]=L:i[f]=15,g<15)i[f]|=g<<4;else{if(i[f]|=240,++f===o)throw h;let y=g-15;for(;y>=255;y-=255)if(i[f]=255,++f===o)throw h;i[f]=y&255}if(++f===o||f+g>=o||(k(i,t,f,w,g),f+=g,w=n,f+=2,f>=o))throw h;if(i[f-2]=U,i[f-1]=U>>8,L>=15){for(L-=15;L>=255;L-=255)if(i[f]=255,++f===o)throw h;if(i[f]=L,++f===o)throw h}}if(w===0)return 0;let a=t.length-w;if(a<15)i[f]=a<<4;else{if(i[f]=240,++f===o)throw h;for(a-=15;a>=255;a-=255)if(i[f]=255,++f===o)throw h;i[f]=a}if(++f===o)throw h;const A=t.length-w,B=f+A;if(B>o)throw h;return B>=r?0:(k(i,t,f,w,A),f+=A,f)}function K(t,i,e){const r=t.length-j,o=i.length;if(r<=0||o===0||e>=r)return 0;let n=0,f=0;const x=new Uint32Array(P),w=new Uint32Array(s);for(;n<e;){const b=v(T(t,n),M)>>>z;w[n&E]=x[b],x[b]=++n}let c=n;for(;n<r-S;){const b=v(T(t,n),M)>>>z;let l=0,g=0;for(let u=x[b]-1;u>0&&u>n-s;u=w[u&E]-1)if(t[u+l]===t[n+l]){for(let p=0;;++p)if(t[u+p]!==t[n+p]||n+p>r){l<p&&p>=S&&(l=p,g=n-u);break}}if(w[n&E]=x[b],x[b]=n+1,l===0){++n;continue}let U=n+1;const L=n+l;for(;U<L;){const u=v(T(t,U),M)>>>z;w[U&E]=x[u],x[u]=++U}const y=n-c;if(n+=l,l-=S,l<15?i[f]=l:i[f]=15,y<15)i[f]|=y<<4;else{if(i[f]|=240,++f===o)throw h;let u=y-15;for(;u>=255;u-=255)if(i[f]=255,++f===o)throw h;i[f]=u&255}if(++f===o||f+y>=o||(k(i,t,f,c,y),f+=y,c=n,f+=2,f>=o))throw h;if(i[f-2]=g,i[f-1]=g>>8,l>=15){for(l-=15;l>=255;l-=255)if(i[f]=255,++f===o)throw h;if(i[f]=l,++f===o)throw h}}if(c===0)return 0;let a=t.length-c;if(a<15)i[f]=a<<4;else{if(i[f]=240,++f===o)throw h;for(a-=15;a>=255;a-=255)if(i[f]=255,++f===o)throw h;i[f]=a}if(++f===o)throw h;const A=t.length-c,B=f+A;if(B>o)throw h;return B>=r?0:(k(i,t,f,c,A),f+=A,f)}export{D as calcUncompressedLen,J as compressBlock,G as compressBlockBound,K as compressBlockHC,F as uncompressBlock};
3
3
  //# sourceMappingURL=lz4.js.map
package/dist/sodium.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-5WPCTUWH.cjs');var _libsodiumwrappers = require('libsodium-wrappers'); var _libsodiumwrappers2 = _interopRequireDefault(_libsodiumwrappers);async function r(){await _libsodiumwrappers2.default.ready}exports.setup = r; exports.sodium = _libsodiumwrappers2.default;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkXDPEU3HVcjs = require('./chunk-XDPEU3HV.cjs');var _libsodiumwrappers = require('libsodium-wrappers'); var _libsodiumwrappers2 = _interopRequireDefault(_libsodiumwrappers);function t(){return _chunkXDPEU3HVcjs.h.call(void 0, this,null,function*(){yield _libsodiumwrappers2.default.ready})}exports.setup = t; exports.sodium = _libsodiumwrappers2.default;
2
2
  //# sourceMappingURL=sodium.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/sodium.ts"],"names":["sodium","setup"],"mappings":"6BAAA,OAAOA,MAAY,qBAEnB,eAAsBC,GAAuB,CAC3C,MAAMD,EAAO,KACf","sourcesContent":["import sodium from \"libsodium-wrappers\";\n\nexport async function setup(): Promise<void> {\n await sodium.ready;\n}\n\nexport { sodium };\n"]}
1
+ {"version":3,"sources":["../src/sodium.ts"],"names":["sodium","setup","__async"],"mappings":"yCAAA,OAAOA,MAAY,qBAEnB,SAAsBC,GAAuB,QAAAC,EAAA,sBAC3C,MAAMF,EAAO,KACf","sourcesContent":["import sodium from \"libsodium-wrappers\";\n\nexport async function setup(): Promise<void> {\n await sodium.ready;\n}\n\nexport { sodium };\n"]}
package/dist/sodium.js CHANGED
@@ -1,2 +1,2 @@
1
- import"./chunk-KMTF2BZE.js";import o from"libsodium-wrappers";async function r(){await o.ready}export{r as setup,o as sodium};
1
+ import{h as o}from"./chunk-UPFDSEKI.js";import i from"libsodium-wrappers";function t(){return o(this,null,function*(){yield i.ready})}export{t as setup,i as sodium};
2
2
  //# sourceMappingURL=sodium.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/sodium.ts"],"sourcesContent":["import sodium from \"libsodium-wrappers\";\n\nexport async function setup(): Promise<void> {\n await sodium.ready;\n}\n\nexport { sodium };\n"],"mappings":"4BAAA,OAAOA,MAAY,qBAEnB,eAAsBC,GAAuB,CAC3C,MAAMD,EAAO,KACf","names":["sodium","setup"]}
1
+ {"version":3,"sources":["../src/sodium.ts"],"sourcesContent":["import sodium from \"libsodium-wrappers\";\n\nexport async function setup(): Promise<void> {\n await sodium.ready;\n}\n\nexport { sodium };\n"],"mappings":"wCAAA,OAAOA,MAAY,qBAEnB,SAAsBC,GAAuB,QAAAC,EAAA,sBAC3C,MAAMF,EAAO,KACf","names":["sodium","setup","__async"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');function d(t,o=!1){return{init(s){const e=o?sessionStorage:localStorage;return e.getItem(t)||e.setItem(t,JSON.stringify(s)),{load(){const r=e.getItem(t);if(!r)throw new Error("store-buddy: data has not been set or cannot be recognised");return JSON.parse(r)},save:r=>e.setItem(t,JSON.stringify(r)),reset:()=>e.setItem(t,JSON.stringify(s)),clear:()=>e.removeItem(t)}}}}exports.storeBuddy = d;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XDPEU3HV.cjs');function d(t,o=!1){return{init(s){const e=o?sessionStorage:localStorage;return e.getItem(t)||e.setItem(t,JSON.stringify(s)),{load(){const r=e.getItem(t);if(!r)throw new Error("store-buddy: data has not been set or cannot be recognised");return JSON.parse(r)},save:r=>e.setItem(t,JSON.stringify(r)),reset:()=>e.setItem(t,JSON.stringify(s)),clear:()=>e.removeItem(t)}}}}exports.storeBuddy = d;
2
2
  //# sourceMappingURL=store-buddy.cjs.map
@@ -1,2 +1,2 @@
1
- import"../chunk-KMTF2BZE.js";function d(t,o=!1){return{init(s){const e=o?sessionStorage:localStorage;return e.getItem(t)||e.setItem(t,JSON.stringify(s)),{load(){const r=e.getItem(t);if(!r)throw new Error("store-buddy: data has not been set or cannot be recognised");return JSON.parse(r)},save:r=>e.setItem(t,JSON.stringify(r)),reset:()=>e.setItem(t,JSON.stringify(s)),clear:()=>e.removeItem(t)}}}}export{d as storeBuddy};
1
+ import"../chunk-UPFDSEKI.js";function d(t,o=!1){return{init(s){const e=o?sessionStorage:localStorage;return e.getItem(t)||e.setItem(t,JSON.stringify(s)),{load(){const r=e.getItem(t);if(!r)throw new Error("store-buddy: data has not been set or cannot be recognised");return JSON.parse(r)},save:r=>e.setItem(t,JSON.stringify(r)),reset:()=>e.setItem(t,JSON.stringify(s)),clear:()=>e.removeItem(t)}}}}export{d as storeBuddy};
2
2
  //# sourceMappingURL=store-buddy.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');const n=s=>new Promise(o=>setTimeout(o,s)),e=s=>o=>Math.round(o*s),r= exports.ms ={seconds:e(1e3),minutes:e(6e4),hours:e(36e5),days:e(864e5),weeks:e(6048e5),months:e(26298e5),years:e(315576e5)};exports.ms = r; exports.sleep = n;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XDPEU3HV.cjs');const n=s=>new Promise(o=>setTimeout(o,s)),e=s=>o=>Math.round(o*s),r= exports.ms ={seconds:e(1e3),minutes:e(6e4),hours:e(36e5),days:e(864e5),weeks:e(6048e5),months:e(26298e5),years:e(315576e5)};exports.ms = r; exports.sleep = n;
2
2
  //# sourceMappingURL=time.cjs.map
@@ -1,2 +1,2 @@
1
- import"../chunk-KMTF2BZE.js";const n=s=>new Promise(o=>setTimeout(o,s)),e=s=>o=>Math.round(o*s),r={seconds:e(1e3),minutes:e(6e4),hours:e(36e5),days:e(864e5),weeks:e(6048e5),months:e(26298e5),years:e(315576e5)};export{r as ms,n as sleep};
1
+ import"../chunk-UPFDSEKI.js";const n=s=>new Promise(o=>setTimeout(o,s)),e=s=>o=>Math.round(o*s),r={seconds:e(1e3),minutes:e(6e4),hours:e(36e5),days:e(864e5),weeks:e(6048e5),months:e(26298e5),years:e(315576e5)};export{r as ms,n as sleep};
2
2
  //# sourceMappingURL=time.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');function u(...n){let e=0;for(const o of n)e+=o.length;const t=new Uint8Array(e);let i=0;for(const o of n)t.set(o,i),i+=o.length;return t}function*m(n){let e=0;for(const t of n)yield[e,t],e++}function*f(n,e){for(let t=0;t<n.length;t+=e)yield n.slice(t,t+e)}const d=async(n,e)=>{const t=e.slice(0,n),i=e.slice(n),o=[],a=async(s,r,l)=>{o[r]=await s(),await l()},c=async()=>{const s=e.length-i.length,r=i.shift();r!==void 0&&await a(r,s,c)};return await Promise.all(t.map((s,r)=>a(s,r,c))),o};exports.chunks = f; exports.concatenate = u; exports.enumerate = m; exports.promiseAllLimit = d;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXDPEU3HVcjs = require('../chunk-XDPEU3HV.cjs');function m(...n){let e=0;for(const o of n)e+=o.length;const t=new Uint8Array(e);let i=0;for(const o of n)t.set(o,i),i+=o.length;return t}function*f(n){let e=0;for(const t of n)yield[e,t],e++}function*d(n,e){for(let t=0;t<n.length;t+=e)yield n.slice(t,t+e)}const h=(n,e)=>_chunkXDPEU3HVcjs.h.call(void 0, void 0,null,function*(){const t=e.slice(0,n),i=e.slice(n),o=[],c=(s,r,u)=>_chunkXDPEU3HVcjs.h.call(void 0, void 0,null,function*(){o[r]=yield s(),yield u()}),l=()=>_chunkXDPEU3HVcjs.h.call(void 0, void 0,null,function*(){const s=e.length-i.length,r=i.shift();r!==void 0&&(yield c(r,s,l))});return yield Promise.all(t.map((s,r)=>c(s,r,l))),o});exports.chunks = d; exports.concatenate = m; exports.enumerate = f; exports.promiseAllLimit = h;
2
2
  //# sourceMappingURL=utils.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/utils.ts"],"names":["concatenate","arrays","totalLength","arr","result","offset","enumerate","iterable","i","x","chunks","n","promiseAllLimit","list","head","tail","execute","promise","runNext"],"mappings":"8BAAO,SAASA,KAAeC,EAAkC,CAC/D,IAAIC,EAAc,EAClB,UAAWC,KAAOF,EAChBC,GAAeC,EAAI,OAErB,MAAMC,EAAS,IAAI,WAAWF,CAAW,EACzC,IAAIG,EAAS,EACb,UAAWF,KAAOF,EAChBG,EAAO,IAAID,EAAKE,CAAM,EACtBA,GAAUF,EAAI,OAEhB,OAAOC,CACT,CAEO,SAAUE,EACfC,EAC+B,CAC/B,IAAIC,EAAI,EAER,UAAWC,KAAKF,EACd,KAAM,CAACC,EAAGC,CAAC,EACXD,GAEJ,CAEO,SAAUE,EACfP,EACAQ,EACsC,CACtC,QAASH,EAAI,EAAGA,EAAIL,EAAI,OAAQK,GAAKG,EACnC,MAAMR,EAAI,MAAMK,EAAGA,EAAIG,CAAC,CAE5B,CAEO,MAAMC,EAAkB,MAC7B,EACAC,IACiB,CACjB,MAAMC,EAAOD,EAAK,MAAM,EAAG,CAAC,EACtBE,EAAOF,EAAK,MAAM,CAAC,EACnBT,EAAc,CAAC,EACfY,EAAU,MACdC,EACAT,EACAU,IACkB,CAClBd,EAAOI,GAAK,MAAMS,EAAQ,EAC1B,MAAMC,EAAQ,CAChB,EACMA,EAAU,SAA2B,CACzC,MAAMV,EAAIK,EAAK,OAASE,EAAK,OACvBE,EAAUF,EAAK,MAAM,EACvBE,IAAY,QACd,MAAMD,EAAQC,EAAST,EAAGU,CAAO,CAErC,EACA,aAAM,QAAQ,IAAIJ,EAAK,IAAI,CAACG,EAAST,IAAMQ,EAAQC,EAAST,EAAGU,CAAO,CAAC,CAAC,EACjEd,CACT","sourcesContent":["export function concatenate(...arrays: Uint8Array[]): Uint8Array {\n let totalLength = 0;\n for (const arr of arrays) {\n totalLength += arr.length;\n }\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const arr of arrays) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\n\nexport function* enumerate<T>(\n iterable: Iterable<T>\n): IterableIterator<[number, T]> {\n let i = 0;\n\n for (const x of iterable) {\n yield [i, x];\n i++;\n }\n}\n\nexport function* chunks(\n arr: Uint8Array,\n n: number\n): Generator<Uint8Array, void, unknown> {\n for (let i = 0; i < arr.length; i += n) {\n yield arr.slice(i, i + n);\n }\n}\n\nexport const promiseAllLimit = async <T>(\n n: number,\n list: (() => Promise<T>)[]\n): Promise<T[]> => {\n const head = list.slice(0, n);\n const tail = list.slice(n);\n const result: T[] = [];\n const execute = async (\n promise: () => Promise<T>,\n i: number,\n runNext: () => Promise<void>\n ): Promise<void> => {\n result[i] = await promise();\n await runNext();\n };\n const runNext = async (): Promise<void> => {\n const i = list.length - tail.length;\n const promise = tail.shift();\n if (promise !== undefined) {\n await execute(promise, i, runNext);\n }\n };\n await Promise.all(head.map((promise, i) => execute(promise, i, runNext)));\n return result;\n};\n"]}
1
+ {"version":3,"sources":["../../src/utils/utils.ts"],"names":["concatenate","arrays","totalLength","arr","result","offset","enumerate","iterable","i","x","chunks","n","promiseAllLimit","list","__async","head","tail","execute","promise","runNext"],"mappings":"0CAAO,SAASA,KAAeC,EAAkC,CAC/D,IAAIC,EAAc,EAClB,UAAWC,KAAOF,EAChBC,GAAeC,EAAI,OAErB,MAAMC,EAAS,IAAI,WAAWF,CAAW,EACzC,IAAIG,EAAS,EACb,UAAWF,KAAOF,EAChBG,EAAO,IAAID,EAAKE,CAAM,EACtBA,GAAUF,EAAI,OAEhB,OAAOC,CACT,CAEO,SAAUE,EACfC,EAC+B,CAC/B,IAAIC,EAAI,EAER,UAAWC,KAAKF,EACd,KAAM,CAACC,EAAGC,CAAC,EACXD,GAEJ,CAEO,SAAUE,EACfP,EACAQ,EACsC,CACtC,QAASH,EAAI,EAAGA,EAAIL,EAAI,OAAQK,GAAKG,EACnC,MAAMR,EAAI,MAAMK,EAAGA,EAAIG,CAAC,CAE5B,CAEO,MAAMC,EAAkB,CAC7B,EACAC,IACiBC,EAAA,wBACjB,MAAMC,EAAOF,EAAK,MAAM,EAAG,CAAC,EACtBG,EAAOH,EAAK,MAAM,CAAC,EACnBT,EAAc,CAAC,EACfa,EAAU,CACdC,EACAV,EACAW,IACkBL,EAAA,wBAClBV,EAAOI,GAAK,MAAMU,EAAQ,EAC1B,MAAMC,EAAQ,CAChB,GACMA,EAAU,IAA2BL,EAAA,wBACzC,MAAMN,EAAIK,EAAK,OAASG,EAAK,OACvBE,EAAUF,EAAK,MAAM,EACvBE,IAAY,SACd,MAAMD,EAAQC,EAASV,EAAGW,CAAO,EAErC,GACA,aAAM,QAAQ,IAAIJ,EAAK,IAAI,CAACG,EAASV,IAAMS,EAAQC,EAASV,EAAGW,CAAO,CAAC,CAAC,EACjEf,CACT","sourcesContent":["export function concatenate(...arrays: Uint8Array[]): Uint8Array {\n let totalLength = 0;\n for (const arr of arrays) {\n totalLength += arr.length;\n }\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const arr of arrays) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\n\nexport function* enumerate<T>(\n iterable: Iterable<T>\n): IterableIterator<[number, T]> {\n let i = 0;\n\n for (const x of iterable) {\n yield [i, x];\n i++;\n }\n}\n\nexport function* chunks(\n arr: Uint8Array,\n n: number\n): Generator<Uint8Array, void, unknown> {\n for (let i = 0; i < arr.length; i += n) {\n yield arr.slice(i, i + n);\n }\n}\n\nexport const promiseAllLimit = async <T>(\n n: number,\n list: (() => Promise<T>)[]\n): Promise<T[]> => {\n const head = list.slice(0, n);\n const tail = list.slice(n);\n const result: T[] = [];\n const execute = async (\n promise: () => Promise<T>,\n i: number,\n runNext: () => Promise<void>\n ): Promise<void> => {\n result[i] = await promise();\n await runNext();\n };\n const runNext = async (): Promise<void> => {\n const i = list.length - tail.length;\n const promise = tail.shift();\n if (promise !== undefined) {\n await execute(promise, i, runNext);\n }\n };\n await Promise.all(head.map((promise, i) => execute(promise, i, runNext)));\n return result;\n};\n"]}
@@ -1,2 +1,2 @@
1
- import"../chunk-KMTF2BZE.js";function u(...n){let e=0;for(const o of n)e+=o.length;const t=new Uint8Array(e);let i=0;for(const o of n)t.set(o,i),i+=o.length;return t}function*m(n){let e=0;for(const t of n)yield[e,t],e++}function*f(n,e){for(let t=0;t<n.length;t+=e)yield n.slice(t,t+e)}const d=async(n,e)=>{const t=e.slice(0,n),i=e.slice(n),o=[],a=async(s,r,l)=>{o[r]=await s(),await l()},c=async()=>{const s=e.length-i.length,r=i.shift();r!==void 0&&await a(r,s,c)};return await Promise.all(t.map((s,r)=>a(s,r,c))),o};export{f as chunks,u as concatenate,m as enumerate,d as promiseAllLimit};
1
+ import{h as a}from"../chunk-UPFDSEKI.js";function m(...n){let e=0;for(const o of n)e+=o.length;const t=new Uint8Array(e);let i=0;for(const o of n)t.set(o,i),i+=o.length;return t}function*f(n){let e=0;for(const t of n)yield[e,t],e++}function*d(n,e){for(let t=0;t<n.length;t+=e)yield n.slice(t,t+e)}const h=(n,e)=>a(void 0,null,function*(){const t=e.slice(0,n),i=e.slice(n),o=[],c=(s,r,u)=>a(void 0,null,function*(){o[r]=yield s(),yield u()}),l=()=>a(void 0,null,function*(){const s=e.length-i.length,r=i.shift();r!==void 0&&(yield c(r,s,l))});return yield Promise.all(t.map((s,r)=>c(s,r,l))),o});export{d as chunks,m as concatenate,f as enumerate,h as promiseAllLimit};
2
2
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/utils.ts"],"sourcesContent":["export function concatenate(...arrays: Uint8Array[]): Uint8Array {\n let totalLength = 0;\n for (const arr of arrays) {\n totalLength += arr.length;\n }\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const arr of arrays) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\n\nexport function* enumerate<T>(\n iterable: Iterable<T>\n): IterableIterator<[number, T]> {\n let i = 0;\n\n for (const x of iterable) {\n yield [i, x];\n i++;\n }\n}\n\nexport function* chunks(\n arr: Uint8Array,\n n: number\n): Generator<Uint8Array, void, unknown> {\n for (let i = 0; i < arr.length; i += n) {\n yield arr.slice(i, i + n);\n }\n}\n\nexport const promiseAllLimit = async <T>(\n n: number,\n list: (() => Promise<T>)[]\n): Promise<T[]> => {\n const head = list.slice(0, n);\n const tail = list.slice(n);\n const result: T[] = [];\n const execute = async (\n promise: () => Promise<T>,\n i: number,\n runNext: () => Promise<void>\n ): Promise<void> => {\n result[i] = await promise();\n await runNext();\n };\n const runNext = async (): Promise<void> => {\n const i = list.length - tail.length;\n const promise = tail.shift();\n if (promise !== undefined) {\n await execute(promise, i, runNext);\n }\n };\n await Promise.all(head.map((promise, i) => execute(promise, i, runNext)));\n return result;\n};\n"],"mappings":"6BAAO,SAASA,KAAeC,EAAkC,CAC/D,IAAIC,EAAc,EAClB,UAAWC,KAAOF,EAChBC,GAAeC,EAAI,OAErB,MAAMC,EAAS,IAAI,WAAWF,CAAW,EACzC,IAAIG,EAAS,EACb,UAAWF,KAAOF,EAChBG,EAAO,IAAID,EAAKE,CAAM,EACtBA,GAAUF,EAAI,OAEhB,OAAOC,CACT,CAEO,SAAUE,EACfC,EAC+B,CAC/B,IAAIC,EAAI,EAER,UAAWC,KAAKF,EACd,KAAM,CAACC,EAAGC,CAAC,EACXD,GAEJ,CAEO,SAAUE,EACfP,EACAQ,EACsC,CACtC,QAASH,EAAI,EAAGA,EAAIL,EAAI,OAAQK,GAAKG,EACnC,MAAMR,EAAI,MAAMK,EAAGA,EAAIG,CAAC,CAE5B,CAEO,MAAMC,EAAkB,MAC7B,EACAC,IACiB,CACjB,MAAMC,EAAOD,EAAK,MAAM,EAAG,CAAC,EACtBE,EAAOF,EAAK,MAAM,CAAC,EACnBT,EAAc,CAAC,EACfY,EAAU,MACdC,EACAT,EACAU,IACkB,CAClBd,EAAOI,GAAK,MAAMS,EAAQ,EAC1B,MAAMC,EAAQ,CAChB,EACMA,EAAU,SAA2B,CACzC,MAAMV,EAAIK,EAAK,OAASE,EAAK,OACvBE,EAAUF,EAAK,MAAM,EACvBE,IAAY,QACd,MAAMD,EAAQC,EAAST,EAAGU,CAAO,CAErC,EACA,aAAM,QAAQ,IAAIJ,EAAK,IAAI,CAACG,EAAST,IAAMQ,EAAQC,EAAST,EAAGU,CAAO,CAAC,CAAC,EACjEd,CACT","names":["concatenate","arrays","totalLength","arr","result","offset","enumerate","iterable","i","x","chunks","n","promiseAllLimit","list","head","tail","execute","promise","runNext"]}
1
+ {"version":3,"sources":["../../src/utils/utils.ts"],"sourcesContent":["export function concatenate(...arrays: Uint8Array[]): Uint8Array {\n let totalLength = 0;\n for (const arr of arrays) {\n totalLength += arr.length;\n }\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const arr of arrays) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\n\nexport function* enumerate<T>(\n iterable: Iterable<T>\n): IterableIterator<[number, T]> {\n let i = 0;\n\n for (const x of iterable) {\n yield [i, x];\n i++;\n }\n}\n\nexport function* chunks(\n arr: Uint8Array,\n n: number\n): Generator<Uint8Array, void, unknown> {\n for (let i = 0; i < arr.length; i += n) {\n yield arr.slice(i, i + n);\n }\n}\n\nexport const promiseAllLimit = async <T>(\n n: number,\n list: (() => Promise<T>)[]\n): Promise<T[]> => {\n const head = list.slice(0, n);\n const tail = list.slice(n);\n const result: T[] = [];\n const execute = async (\n promise: () => Promise<T>,\n i: number,\n runNext: () => Promise<void>\n ): Promise<void> => {\n result[i] = await promise();\n await runNext();\n };\n const runNext = async (): Promise<void> => {\n const i = list.length - tail.length;\n const promise = tail.shift();\n if (promise !== undefined) {\n await execute(promise, i, runNext);\n }\n };\n await Promise.all(head.map((promise, i) => execute(promise, i, runNext)));\n return result;\n};\n"],"mappings":"yCAAO,SAASA,KAAeC,EAAkC,CAC/D,IAAIC,EAAc,EAClB,UAAWC,KAAOF,EAChBC,GAAeC,EAAI,OAErB,MAAMC,EAAS,IAAI,WAAWF,CAAW,EACzC,IAAIG,EAAS,EACb,UAAWF,KAAOF,EAChBG,EAAO,IAAID,EAAKE,CAAM,EACtBA,GAAUF,EAAI,OAEhB,OAAOC,CACT,CAEO,SAAUE,EACfC,EAC+B,CAC/B,IAAIC,EAAI,EAER,UAAWC,KAAKF,EACd,KAAM,CAACC,EAAGC,CAAC,EACXD,GAEJ,CAEO,SAAUE,EACfP,EACAQ,EACsC,CACtC,QAASH,EAAI,EAAGA,EAAIL,EAAI,OAAQK,GAAKG,EACnC,MAAMR,EAAI,MAAMK,EAAGA,EAAIG,CAAC,CAE5B,CAEO,MAAMC,EAAkB,CAC7B,EACAC,IACiBC,EAAA,wBACjB,MAAMC,EAAOF,EAAK,MAAM,EAAG,CAAC,EACtBG,EAAOH,EAAK,MAAM,CAAC,EACnBT,EAAc,CAAC,EACfa,EAAU,CACdC,EACAV,EACAW,IACkBL,EAAA,wBAClBV,EAAOI,GAAK,MAAMU,EAAQ,EAC1B,MAAMC,EAAQ,CAChB,GACMA,EAAU,IAA2BL,EAAA,wBACzC,MAAMN,EAAIK,EAAK,OAASG,EAAK,OACvBE,EAAUF,EAAK,MAAM,EACvBE,IAAY,SACd,MAAMD,EAAQC,EAASV,EAAGW,CAAO,EAErC,GACA,aAAM,QAAQ,IAAIJ,EAAK,IAAI,CAACG,EAASV,IAAMS,EAAQC,EAASV,EAAGW,CAAO,CAAC,CAAC,EACjEf,CACT","names":["concatenate","arrays","totalLength","arr","result","offset","enumerate","iterable","i","x","chunks","n","promiseAllLimit","list","__async","head","tail","execute","promise","runNext"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');var _workerCodesjs = require('./workerCodes.js');async function a(n){return new Promise((s,r)=>{const e=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerMd5Script],{type:"text/javascript"})));e.addEventListener("error",r),e.addEventListener("messageerror",r),e.addEventListener("message",({data:t})=>{if(t.event==="md5-result")return e.terminate(),s(t.data)}),e.postMessage({event:"md5",data:n})})}exports.md5 = a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXDPEU3HVcjs = require('../chunk-XDPEU3HV.cjs');var _workerCodesjs = require('./workerCodes.js');function d(s){return _chunkXDPEU3HVcjs.h.call(void 0, this,null,function*(){return new Promise((o,r)=>{const e=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerMd5Script],{type:"text/javascript"})));e.addEventListener("error",r),e.addEventListener("messageerror",r),e.addEventListener("message",({data:t})=>{if(t.event==="md5-result")return e.terminate(),o(t.data)}),e.postMessage({event:"md5",data:s})})})}exports.md5 = d;
2
2
  //# sourceMappingURL=md5.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/worker/md5.ts"],"names":["workerMd5Script","md5","data","resolve","reject","worker"],"mappings":"8BAAA,OAAS,mBAAAA,MAAuB,mBAEhC,eAAsBC,EAAIC,EAAmC,CAC3D,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtC,MAAMC,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACL,CAAe,EAAG,CAAE,KAAM,iBAAkB,CAAC,CACzD,CACF,EACAK,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAH,CAAK,IAAM,CAC/C,GAAIA,EAAK,QAAU,aACjB,OAAAG,EAAO,UAAU,EACVF,EAAQD,EAAK,IAAI,CAE5B,CAAC,EAEDG,EAAO,YAAY,CACjB,MAAO,MACP,KAAAH,CACF,CAAC,CACH,CAAC,CACH","sourcesContent":["import { workerMd5Script } from \"./workerCodes.js\";\n\nexport async function md5(data: Uint8Array): Promise<string> {\n return new Promise((resolve, reject) => {\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerMd5Script], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n if (data.event === \"md5-result\") {\n worker.terminate();\n return resolve(data.data);\n }\n });\n\n worker.postMessage({\n event: \"md5\",\n data\n });\n });\n}\n"]}
1
+ {"version":3,"sources":["../../src/worker/md5.ts"],"names":["workerMd5Script","md5","data","__async","resolve","reject","worker"],"mappings":"0CAAA,OAAS,mBAAAA,MAAuB,mBAEhC,SAAsBC,EAAIC,EAAmC,QAAAC,EAAA,sBAC3D,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtC,MAAMC,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACN,CAAe,EAAG,CAAE,KAAM,iBAAkB,CAAC,CACzD,CACF,EACAM,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAJ,CAAK,IAAM,CAC/C,GAAIA,EAAK,QAAU,aACjB,OAAAI,EAAO,UAAU,EACVF,EAAQF,EAAK,IAAI,CAE5B,CAAC,EAEDI,EAAO,YAAY,CACjB,MAAO,MACP,KAAAJ,CACF,CAAC,CACH,CAAC,CACH","sourcesContent":["import { workerMd5Script } from \"./workerCodes.js\";\n\nexport async function md5(data: Uint8Array): Promise<string> {\n return new Promise((resolve, reject) => {\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerMd5Script], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n if (data.event === \"md5-result\") {\n worker.terminate();\n return resolve(data.data);\n }\n });\n\n worker.postMessage({\n event: \"md5\",\n data\n });\n });\n}\n"]}
@@ -1,2 +1,2 @@
1
- import"../chunk-KMTF2BZE.js";import{workerMd5Script as o}from"./workerCodes.js";async function a(n){return new Promise((s,r)=>{const e=new Worker(URL.createObjectURL(new Blob([o],{type:"text/javascript"})));e.addEventListener("error",r),e.addEventListener("messageerror",r),e.addEventListener("message",({data:t})=>{if(t.event==="md5-result")return e.terminate(),s(t.data)}),e.postMessage({event:"md5",data:n})})}export{a as md5};
1
+ import{h as n}from"../chunk-UPFDSEKI.js";import{workerMd5Script as i}from"./workerCodes.js";function d(s){return n(this,null,function*(){return new Promise((o,r)=>{const e=new Worker(URL.createObjectURL(new Blob([i],{type:"text/javascript"})));e.addEventListener("error",r),e.addEventListener("messageerror",r),e.addEventListener("message",({data:t})=>{if(t.event==="md5-result")return e.terminate(),o(t.data)}),e.postMessage({event:"md5",data:s})})})}export{d as md5};
2
2
  //# sourceMappingURL=md5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/worker/md5.ts"],"sourcesContent":["import { workerMd5Script } from \"./workerCodes.js\";\n\nexport async function md5(data: Uint8Array): Promise<string> {\n return new Promise((resolve, reject) => {\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerMd5Script], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n if (data.event === \"md5-result\") {\n worker.terminate();\n return resolve(data.data);\n }\n });\n\n worker.postMessage({\n event: \"md5\",\n data\n });\n });\n}\n"],"mappings":"6BAAA,OAAS,mBAAAA,MAAuB,mBAEhC,eAAsBC,EAAIC,EAAmC,CAC3D,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtC,MAAMC,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACL,CAAe,EAAG,CAAE,KAAM,iBAAkB,CAAC,CACzD,CACF,EACAK,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAH,CAAK,IAAM,CAC/C,GAAIA,EAAK,QAAU,aACjB,OAAAG,EAAO,UAAU,EACVF,EAAQD,EAAK,IAAI,CAE5B,CAAC,EAEDG,EAAO,YAAY,CACjB,MAAO,MACP,KAAAH,CACF,CAAC,CACH,CAAC,CACH","names":["workerMd5Script","md5","data","resolve","reject","worker"]}
1
+ {"version":3,"sources":["../../src/worker/md5.ts"],"sourcesContent":["import { workerMd5Script } from \"./workerCodes.js\";\n\nexport async function md5(data: Uint8Array): Promise<string> {\n return new Promise((resolve, reject) => {\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerMd5Script], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n if (data.event === \"md5-result\") {\n worker.terminate();\n return resolve(data.data);\n }\n });\n\n worker.postMessage({\n event: \"md5\",\n data\n });\n });\n}\n"],"mappings":"yCAAA,OAAS,mBAAAA,MAAuB,mBAEhC,SAAsBC,EAAIC,EAAmC,QAAAC,EAAA,sBAC3D,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtC,MAAMC,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACN,CAAe,EAAG,CAAE,KAAM,iBAAkB,CAAC,CACzD,CACF,EACAM,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAJ,CAAK,IAAM,CAC/C,GAAIA,EAAK,QAAU,aACjB,OAAAI,EAAO,UAAU,EACVF,EAAQF,EAAK,IAAI,CAE5B,CAAC,EAEDI,EAAO,YAAY,CACjB,MAAO,MACP,KAAAJ,CACF,CAAC,CACH,CAAC,CACH","names":["workerMd5Script","md5","data","__async","resolve","reject","worker"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');var _workerCodesjs = require('./workerCodes.js');async function m(i,c,e,n){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerSodiumScript],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"encrypt",data:c,key:i};t.postMessage(r,[r.data.buffer]);break}case"encrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"encrypt-result":return t.terminate(),d(o.data)}})})}async function s(i,c,e,n){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerSodiumScript],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"decrypt",key:i,data:c};t.postMessage(r,[r.data.buffer]);break}case"decrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"decrypt-result":return t.terminate(),d(o.data)}})})}exports.decrypt = s; exports.encrypt = m;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXDPEU3HVcjs = require('../chunk-XDPEU3HV.cjs');var _workerCodesjs = require('./workerCodes.js');function s(i,c,e,n){return _chunkXDPEU3HVcjs.h.call(void 0, this,null,function*(){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerSodiumScript],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"encrypt",data:c,key:i};t.postMessage(r,[r.data.buffer]);break}case"encrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"encrypt-result":return t.terminate(),d(o.data)}})})})}function v(i,c,e,n){return _chunkXDPEU3HVcjs.h.call(void 0, this,null,function*(){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([_workerCodesjs.workerSodiumScript],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"decrypt",key:i,data:c};t.postMessage(r,[r.data.buffer]);break}case"decrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"decrypt-result":return t.terminate(),d(o.data)}})})})}exports.decrypt = v; exports.encrypt = s;
2
2
  //# sourceMappingURL=sodium.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/worker/sodium.ts"],"names":["workerSodiumScript","encrypt","key","dataToEncrypt","progress","signal","resolve","reject","worker","data","postData","abortError","decrypt","dataToDecrypt"],"mappings":"8BACA,OAAS,sBAAAA,MAA0B,mBAenC,eAAsBC,EACpBC,EACAC,EACAC,EACAC,EACwB,CACxB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCH,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOD,EAAc,UACvB,GACA,MAAMK,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACR,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAQ,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAC9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,KAAMP,EACN,IAAAD,CACF,EACAM,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIL,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMM,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAP,GAAA,MAAAA,EAAWK,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH,CAEA,eAAsBG,EACpBV,EACAW,EACAT,EACAC,EACqB,CACrB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCH,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOS,EAAc,UACvB,GACA,MAAML,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACR,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAQ,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,IAAAR,EACA,KAAMW,CACR,EACAL,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIL,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMM,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAP,GAAA,MAAAA,EAAWK,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH","sourcesContent":["import type { EncryptedFile, Progress } from \"../crypto/file.js\";\nimport { workerSodiumScript } from \"./workerCodes.js\";\n\n// const ensureNonDetachedUniqueBuffers = (\n// values: Transferable[]\n// ): Set<Transferable> =>\n// new Set(\n// values.filter(v => {\n// if (v instanceof ArrayBuffer) {\n// return v.byteLength === 0;\n// } else {\n// return true;\n// }\n// })\n// );\n\nexport async function encrypt(\n key: Uint8Array,\n dataToEncrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<EncryptedFile> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToEncrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"encrypt\",\n data: dataToEncrypt,\n key\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"encrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"encrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n\nexport async function decrypt(\n key: Uint8Array,\n dataToDecrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<Uint8Array> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToDecrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"decrypt\",\n key,\n data: dataToDecrypt\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"decrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"decrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n"]}
1
+ {"version":3,"sources":["../../src/worker/sodium.ts"],"names":["workerSodiumScript","encrypt","key","dataToEncrypt","progress","signal","__async","resolve","reject","worker","data","postData","abortError","decrypt","dataToDecrypt"],"mappings":"0CACA,OAAS,sBAAAA,MAA0B,mBAenC,SAAsBC,EACpBC,EACAC,EACAC,EACAC,EACwB,QAAAC,EAAA,sBACxB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCJ,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOD,EAAc,UACvB,GACA,MAAMM,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACT,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAS,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAC9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,KAAMR,EACN,IAAAD,CACF,EACAO,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIN,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMO,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAR,GAAA,MAAAA,EAAWM,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH,GAEA,SAAsBG,EACpBX,EACAY,EACAV,EACAC,EACqB,QAAAC,EAAA,sBACrB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCJ,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOU,EAAc,UACvB,GACA,MAAML,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACT,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAS,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,IAAAT,EACA,KAAMY,CACR,EACAL,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIN,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMO,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAR,GAAA,MAAAA,EAAWM,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH","sourcesContent":["import type { EncryptedFile, Progress } from \"../crypto/file.js\";\nimport { workerSodiumScript } from \"./workerCodes.js\";\n\n// const ensureNonDetachedUniqueBuffers = (\n// values: Transferable[]\n// ): Set<Transferable> =>\n// new Set(\n// values.filter(v => {\n// if (v instanceof ArrayBuffer) {\n// return v.byteLength === 0;\n// } else {\n// return true;\n// }\n// })\n// );\n\nexport async function encrypt(\n key: Uint8Array,\n dataToEncrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<EncryptedFile> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToEncrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"encrypt\",\n data: dataToEncrypt,\n key\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"encrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"encrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n\nexport async function decrypt(\n key: Uint8Array,\n dataToDecrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<Uint8Array> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToDecrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"decrypt\",\n key,\n data: dataToDecrypt\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"decrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"decrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n"]}
@@ -1,2 +1,2 @@
1
- import"../chunk-KMTF2BZE.js";import{workerSodiumScript as y}from"./workerCodes.js";async function m(i,c,e,n){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([y],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"encrypt",data:c,key:i};t.postMessage(r,[r.data.buffer]);break}case"encrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"encrypt-result":return t.terminate(),d(o.data)}})})}async function s(i,c,e,n){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([y],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"decrypt",key:i,data:c};t.postMessage(r,[r.data.buffer]);break}case"decrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"decrypt-result":return t.terminate(),d(o.data)}})})}export{s as decrypt,m as encrypt};
1
+ import{h as y}from"../chunk-UPFDSEKI.js";import{workerSodiumScript as b}from"./workerCodes.js";function s(i,c,e,n){return y(this,null,function*(){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([b],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"encrypt",data:c,key:i};t.postMessage(r,[r.data.buffer]);break}case"encrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"encrypt-result":return t.terminate(),d(o.data)}})})})}function v(i,c,e,n){return y(this,null,function*(){return new Promise((d,a)=>{e==null||e({current:0,percent:0,total:c.byteLength});const t=new Worker(URL.createObjectURL(new Blob([b],{type:"text/javascript"})));t.addEventListener("error",a),t.addEventListener("messageerror",a),t.addEventListener("message",({data:o})=>{switch(o.event){case"ready":{const r={event:"decrypt",key:i,data:c};t.postMessage(r,[r.data.buffer]);break}case"decrypt-progress":{if(n!=null&&n.aborted){const r=new Error("Aborted");r.name="AbortError",t.terminate(),a(r)}e==null||e(o.data);break}case"decrypt-result":return t.terminate(),d(o.data)}})})})}export{v as decrypt,s as encrypt};
2
2
  //# sourceMappingURL=sodium.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/worker/sodium.ts"],"sourcesContent":["import type { EncryptedFile, Progress } from \"../crypto/file.js\";\nimport { workerSodiumScript } from \"./workerCodes.js\";\n\n// const ensureNonDetachedUniqueBuffers = (\n// values: Transferable[]\n// ): Set<Transferable> =>\n// new Set(\n// values.filter(v => {\n// if (v instanceof ArrayBuffer) {\n// return v.byteLength === 0;\n// } else {\n// return true;\n// }\n// })\n// );\n\nexport async function encrypt(\n key: Uint8Array,\n dataToEncrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<EncryptedFile> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToEncrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"encrypt\",\n data: dataToEncrypt,\n key\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"encrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"encrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n\nexport async function decrypt(\n key: Uint8Array,\n dataToDecrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<Uint8Array> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToDecrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"decrypt\",\n key,\n data: dataToDecrypt\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"decrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"decrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n"],"mappings":"6BACA,OAAS,sBAAAA,MAA0B,mBAenC,eAAsBC,EACpBC,EACAC,EACAC,EACAC,EACwB,CACxB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCH,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOD,EAAc,UACvB,GACA,MAAMK,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACR,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAQ,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAC9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,KAAMP,EACN,IAAAD,CACF,EACAM,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIL,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMM,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAP,GAAA,MAAAA,EAAWK,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH,CAEA,eAAsBG,EACpBV,EACAW,EACAT,EACAC,EACqB,CACrB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCH,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOS,EAAc,UACvB,GACA,MAAML,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACR,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAQ,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,IAAAR,EACA,KAAMW,CACR,EACAL,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIL,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMM,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAP,GAAA,MAAAA,EAAWK,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH","names":["workerSodiumScript","encrypt","key","dataToEncrypt","progress","signal","resolve","reject","worker","data","postData","abortError","decrypt","dataToDecrypt"]}
1
+ {"version":3,"sources":["../../src/worker/sodium.ts"],"sourcesContent":["import type { EncryptedFile, Progress } from \"../crypto/file.js\";\nimport { workerSodiumScript } from \"./workerCodes.js\";\n\n// const ensureNonDetachedUniqueBuffers = (\n// values: Transferable[]\n// ): Set<Transferable> =>\n// new Set(\n// values.filter(v => {\n// if (v instanceof ArrayBuffer) {\n// return v.byteLength === 0;\n// } else {\n// return true;\n// }\n// })\n// );\n\nexport async function encrypt(\n key: Uint8Array,\n dataToEncrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<EncryptedFile> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToEncrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"encrypt\",\n data: dataToEncrypt,\n key\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"encrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"encrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n\nexport async function decrypt(\n key: Uint8Array,\n dataToDecrypt: Uint8Array,\n progress?: (progress: Progress) => Promise<void>,\n signal?: AbortSignal\n): Promise<Uint8Array> {\n return new Promise((resolve, reject) => {\n progress?.({\n current: 0,\n percent: 0,\n total: dataToDecrypt.byteLength\n });\n const worker = new Worker(\n URL.createObjectURL(\n new Blob([workerSodiumScript], { type: \"text/javascript\" })\n )\n );\n worker.addEventListener(\"error\", reject);\n worker.addEventListener(\"messageerror\", reject);\n\n worker.addEventListener(\"message\", ({ data }) => {\n switch (data.event) {\n case \"ready\": {\n const postData = {\n event: \"decrypt\",\n key,\n data: dataToDecrypt\n };\n worker.postMessage(\n postData,\n [postData.data.buffer]\n // // @ts-expect-error - Typescript expects the transfer list to be an Array, but it can actually be any iterable.\n // ensureNonDetachedUniqueBuffers([postData.data.buffer])\n );\n break;\n }\n case \"decrypt-progress\": {\n if (signal?.aborted) {\n const abortError = new Error(\"Aborted\");\n abortError.name = \"AbortError\";\n worker.terminate();\n reject(abortError);\n }\n progress?.(data.data);\n break;\n }\n case \"decrypt-result\": {\n worker.terminate();\n return resolve(data.data);\n }\n }\n });\n });\n}\n"],"mappings":"yCACA,OAAS,sBAAAA,MAA0B,mBAenC,SAAsBC,EACpBC,EACAC,EACAC,EACAC,EACwB,QAAAC,EAAA,sBACxB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCJ,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOD,EAAc,UACvB,GACA,MAAMM,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACT,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAS,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAC9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,KAAMR,EACN,IAAAD,CACF,EACAO,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIN,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMO,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAR,GAAA,MAAAA,EAAWM,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH,GAEA,SAAsBG,EACpBX,EACAY,EACAV,EACAC,EACqB,QAAAC,EAAA,sBACrB,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CACtCJ,GAAA,MAAAA,EAAW,CACT,QAAS,EACT,QAAS,EACT,MAAOU,EAAc,UACvB,GACA,MAAML,EAAS,IAAI,OACjB,IAAI,gBACF,IAAI,KAAK,CAACT,CAAkB,EAAG,CAAE,KAAM,iBAAkB,CAAC,CAC5D,CACF,EACAS,EAAO,iBAAiB,QAASD,CAAM,EACvCC,EAAO,iBAAiB,eAAgBD,CAAM,EAE9CC,EAAO,iBAAiB,UAAW,CAAC,CAAE,KAAAC,CAAK,IAAM,CAC/C,OAAQA,EAAK,WACN,QAAS,CACZ,MAAMC,EAAW,CACf,MAAO,UACP,IAAAT,EACA,KAAMY,CACR,EACAL,EAAO,YACLE,EACA,CAACA,EAAS,KAAK,MAAM,CAGvB,EACA,KACF,KACK,mBAAoB,CACvB,GAAIN,GAAA,MAAAA,EAAQ,QAAS,CACnB,MAAMO,EAAa,IAAI,MAAM,SAAS,EACtCA,EAAW,KAAO,aAClBH,EAAO,UAAU,EACjBD,EAAOI,CAAU,CACnB,CACAR,GAAA,MAAAA,EAAWM,EAAK,MAChB,KACF,KACK,iBACH,OAAAD,EAAO,UAAU,EACVF,EAAQG,EAAK,IAAI,EAG9B,CAAC,CACH,CAAC,CACH","names":["workerSodiumScript","encrypt","key","dataToEncrypt","progress","signal","__async","resolve","reject","worker","data","postData","abortError","decrypt","dataToDecrypt"]}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');const e=`let sodium;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XDPEU3HV.cjs');const e=`let sodium;
2
2
 
3
3
  self.sodium = {
4
4
  onload: (sod) => {
@@ -1,4 +1,4 @@
1
- import"../chunk-KMTF2BZE.js";const e=`let sodium;
1
+ import"../chunk-UPFDSEKI.js";const e=`let sodium;
2
2
 
3
3
  self.sodium = {
4
4
  onload: (sod) => {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5WPCTUWH.cjs');const e={BigInt:"scalar.BigInt",DateTime:"scalar.DateTime",Json:"scalar.Json",Bytes:"scalar.Bytes",Lang:"enum",PlanKind:"enum",UserRole:"enum",MailType:"enum",Rights:"enum",NodeType:"enum",FileContentType:"enum",InfuraNetwork:"enum",MailFileInput:{},MailRecipientInput:{files:"MailFileInput"},NameKeyInput:{files:"ShareFileKeyInput"},PayInput:{type:"PayInputType"},PayInputType:"enum",ShareFileInHistoryInput:{users:"ShareFileKeyInput"},ShareFileKeyInput:{},ShareNodesInput:{nodes:"NameKeyInput"},PayoutType:"enum",Query:{blog:{lang:"Lang"},dbConfig:{},dbGet:{},dbSearch:{},deletedMails:{mailType:"MailType"},faq:{lang:"Lang"},file:{},fileContent:{},filesContent:{},filesSharedWithMe:{},getJwt:{},isCryptoTransactionDone:{network:"InfuraNetwork"},mail:{},myCryptoBalance:{network:"InfuraNetwork"},node:{},nodesSharedWithMe:{type:"NodeType"},user:{},userList:{},getStripeTransaction:{},getStripeTransfer:{},getStripePayout:{},getPaymentRequestToCollect:{},getPaymentRequestToPay:{}},Mutation:{addFileToHistory:{},createApplication:{},createCryptoWallet:{},createDraftMail:{senderFiles:"MailFileInput"},createFolder:{},dbConfigMutation:{},dbSet:{},deleteDraftMail:{},deleteFile:{},deleteMail:{},deleteMailTrash:{},deleteNode:{},deleteNodeCloudTrash:{},deleteNodeSharing:{},deleteUser:{},duplicateNode:{},logout:{},moveNodes:{},pay:{input:"PayInput"},readMail:{},recoverMail:{},recoverNode:{},saveInCloud:{},sendAppMail:{},sendCryptoTransaction:{network:"InfuraNetwork"},sendDraftMail:{recipients:"MailRecipientInput"},sendOneMail:{recipient:"MailRecipientInput"},sendReport:{},shareFileInHistory:{input:"ShareFileInHistoryInput"},shareNode:{},shareNodeFinish:{shareNodes:"ShareNodesInput",rights:"Rights"},unreadMail:{},updateAppNotifications:{disableAllUntil:"DateTime"},updateAppSettings:{},updateAutoDisconnectDelay:{},updateDraftMail:{senderFiles:"MailFileInput"},updateNode:{deletedAt:"DateTime"},updateProfile:{lang:"Lang"},uploadAnonymous:{},uploadFile:{fileSize:"BigInt",fileSizeBefore:"BigInt"},uploadFileEnd:{},uploadFilePartEnd:{},uploadLiteFile:{content:"Bytes",fileSize:"BigInt",fileSizeBefore:"BigInt"},changeUserPlan:{plan:"PlanKind"},createCardToken:{},createStripeTransfer:{},stripeOnBoarding:{},cancelStripePayout:{},createStripePayout:{},addCartToPaymentIntent:{},cancelPaymentIntent:{},confirmPaymentIntent:{},createPaymentIntent:{}}},r= exports.ReturnTypes ={BigInt:"scalar.BigInt",DateTime:"scalar.DateTime",Json:"scalar.Json",Bytes:"scalar.Bytes",AppNotificationsResult:{"...on UserAppNotifications":"UserAppNotifications","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},BlogResult:{"...on BlogResponse":"BlogResponse","...on ErrorLangNotExist":"ErrorLangNotExist"},DbConfigResult:{"...on DbConfigResponse":"DbConfigResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorNotFound":"ErrorNotFound"},DbGetResult:{"...on DbGetResponse":"DbGetResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorNotExist":"ErrorNotExist"},DbSearchResult:{"...on DbSearchResponse":"DbSearchResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorBasic":"ErrorBasic"},DeletedMailsResult:{"...on DeletedMailsResponse":"DeletedMailsResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeletedNodesResult:{"...on DeletedNodesResponse":"DeletedNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FaqResult:{"...on FaqResponse":"FaqResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FileResult:{"...on FileQueryResponse":"FileQueryResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FileContentResult:{"...on FileContentResponse":"FileContentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},FilesContentResult:{"...on FilesContentResponse":"FilesContentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},GetJwtResult:{"...on JwtResponse":"JwtResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},IsCryptoTransactionDoneResult:{"...on IsCryptoTransactionDoneResponse":"IsCryptoTransactionDoneResponse","...on ErrorNotExist":"ErrorNotExist"},LimitsResult:{"...on QueryLimits":"QueryLimits","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorNotExist":"ErrorNotExist","...on ErrorLimit":"ErrorLimit"},MailResult:{"...on QueryMailResponse":"QueryMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},MyCryptoBalanceResult:{"...on MyCryptoBalanceResponse":"MyCryptoBalanceResponse","...on ErrorNotExist":"ErrorNotExist"},NodeResult:{"...on NodeResponse":"NodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},NodesSharedWithMeResult:{"...on NodesSharedWithMeResponse":"NodesSharedWithMeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PaymentInfosResult:{"...on PaymentInfosResponse":"PaymentInfosResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PlansResult:{"...on PlanResponse":"PlanResponse"},SharedNodesResult:{"...on SharedNodesResponse":"SharedNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UnreadReceivedMailsCountResult:{"...on UnreadReceivedMailsCountResponse":"UnreadReceivedMailsCountResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UserResult:{"...on UserResponse":"UserResponse","...on ErrorNotFound":"ErrorNotFound"},UserListResult:{"...on UserListResponse":"UserListResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},GetStripeBalanceResult:{"...on GetStripeBalanceResponse":"GetStripeBalanceResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripeBalanceTransactionResult:{"...on GetStripeBalanceTransactionResponse":"GetStripeBalanceTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripeTransactionResult:{"...on GetStripeTransactionResponse":"GetStripeTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},HasStripeAccountResult:{"...on HasStripeAccountResponse":"HasStripeAccountResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},KycStripeCompletedResult:{"...on KycStripeCompletedResponse":"KycStripeCompletedResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetAllStripeTransferResult:{"...on GetAllStripeTransferResponse":"GetAllStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetStripeTransferResult:{"...on GetStripeTransferResponse":"GetStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetAllStripePayoutResult:{"...on GetAllStripePayoutResponse":"GetAllStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripePayoutResult:{"...on GetStripePayoutResponse":"GetStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetAllPaymentRequestToCollectResult:{"...on GetAllPaymentRequestToCollectResponse":"GetAllPaymentRequestToCollectResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetAllPaymentRequestToPayResult:{"...on GetAllPaymentRequestToPayResponse":"GetAllPaymentRequestToPayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},GetPaymentRequestToCollectResult:{"...on GetPaymentRequestToCollectResponse":"GetPaymentRequestToCollectResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetPaymentRequestToPayResult:{"...on GetPaymentRequestToPayResponse":"GetPaymentRequestToPayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},AddFileToHistoryResult:{"...on AddFileToHistoryResponse":"AddFileToHistoryResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},CancelPaymentResult:{"...on CancelPaymentResponse":"CancelPaymentResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateApplicationResult:{"...on CreateApplicationResponse":"CreateApplicationResponse","...on ErrorNotExist":"ErrorNotExist"},CreateCryptoWalletResult:{"...on CreateCryptoWalletResponse":"CreateCryptoWalletResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateDraftMailResult:{"...on CreateDraftMailResponse":"CreateDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},CreateFolderResult:{"...on CreateFolderResponse":"CreateFolderResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},DbConfigMutationResult:{"...on DbConfigMutationResponse":"DbConfigMutationResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DbSetResult:{"...on DbSetResponse":"DbSetResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},DeleteDraftMailResult:{"...on DeleteDraftMailResponse":"DeleteDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteFileResult:{"...on DeleteFileResponse":"DeleteFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},DeleteMailResult:{"...on DeleteMailResponse":"DeleteMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteMailTrashResult:{"...on DeleteMailTrashResponse":"DeleteMailTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeResult:{"...on DeleteNodeResponse":"DeleteNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeCloudTrashResult:{"...on DeleteNodeCloudTrashResponse":"DeleteNodeCloudTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeSharingResult:{"...on DeleteNodeSharingResponse":"DeleteNodeSharingResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteUserResult:{"...on DeleteUserResponse":"DeleteUserResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DuplicateNodeResult:{"...on DuplicateNodeResponse":"DuplicateNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},EmptyCloudTrashResult:{"...on EmptyCloudTrashResponse":"EmptyCloudTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},EmptyMailTrashResult:{"...on EmptyMailTrashResponse":"EmptyMailTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},LogoutResult:{"...on LogoutResponse":"LogoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},MoveNodesResult:{"...on MoveNodesResponse":"MoveNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PayResult:{"...on PayResponse":"PayResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},ReadMailResult:{"...on ReadMailResponse":"ReadMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},RecoverMailResult:{"...on RecoverMailResponse":"RecoverMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},RecoverNodeResult:{"...on RecoverNodeResponse":"RecoverNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},SaveInCloudResult:{"...on SaveInCloudResponse":"SaveInCloudResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},SendAppMailResult:{"...on SendAppMailResponse":"SendAppMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},SendCryptoTransactionResult:{"...on SendCryptoTransactionResponse":"SendCryptoTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotExist":"ErrorNotExist"},SendDraftMailResult:{"...on SendDraftMailResponse":"SendDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},SendOneMailResult:{"...on RecoverNodeResponse":"RecoverNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},SendReportResult:{"...on SendReportResponse":"SendReportResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareFileInHistoryResult:{"...on ShareFileInHistoryResponse":"ShareFileInHistoryResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareNodeResult:{"...on ShareNodeResponse":"ShareNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareNodeFinishResult:{"...on ShareNodeFinishResponse":"ShareNodeFinishResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UnreadMailResult:{"...on UnreadMailResponse":"UnreadMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorBasic":"ErrorBasic"},UpdateAppNotificationsResult:{"...on UpdateAppNotificationsResponse":"UpdateAppNotificationsResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UpdateAppSettingsResult:{"...on UpdateAppSettingsResponse":"UpdateAppSettingsResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},UpdateAutoDisconnectDelayResult:{"...on UpdateAutoDisconnectDelayResponse":"UpdateAutoDisconnectDelayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorBasic":"ErrorBasic"},UpdateDraftMailResult:{"...on UpdateDraftMailResponse":"UpdateDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},UpdateNodeResult:{"...on UpdateNodeResponse":"UpdateNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},UpdateProfileResult:{"...on UpdateProfileResponse":"UpdateProfileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UploadFileResult:{"...on UploadFileResponse":"UploadFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},UploadFileEndResult:{"...on UploadFileEndResponse":"UploadFileEndResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UploadFilePartEndResult:{"...on UploadFilePartEndResponse":"UploadFilePartEndResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UploadLiteFileResult:{"...on UploadLiteFileResponse":"UploadLiteFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},ChangeUserPlanResult:{"...on ChangeUserPlanResponse":"ChangeUserPlanResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateCardTokenResult:{"...on CreateCardTokenResponse":"CreateCardTokenResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe"},CreateStripeTransferResult:{"...on CreateStripeTransferResponse":"CreateStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},StripeOnBoardingResult:{"...on StripeOnBoardingResponse":"StripeOnBoardingResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe"},CancelStripePayoutResult:{"...on CancelStripePayoutResponse":"CancelStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CreateStripePayoutResult:{"...on CreateStripePayoutResponse":"CreateStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},AddCartToPaymentIntentResult:{"...on AddCardToPaymentIntentResponse":"AddCardToPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CancelPaymentIntentResult:{"...on CancelPaymentIntentResponse":"CancelPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},ConfirmPaymentIntentResult:{"...on ConfirmPaymentIntentResponse":"ConfirmPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CreatePaymentIntentResult:{"...on CreatePaymentIntentResponse":"CreatePaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},AppKeyPair:{pub:"String"},AppSession:{id:"ID",lastActivity:"DateTime",userAgent:"String",ip:"String",city:"String",country:"String",userSession:"UserSession",userApp:"ApplicationsOnUsers",createdAt:"DateTime"},Application:{id:"ID",name:"String",logo:"String",origin:"String"},ApplicationsOnUsers:{fakeUserId:"String",keyPair:"AppKeyPair",sessions:"AppSession",app:"Application",appId:"String",user:"User",userId:"String",settings:"UserAppSettings",filesAccesses:"FileAccess",filesSharedAccesses:"FileAccess",nodesAccesses:"NodeAccess",nodesSharedAccesses:"NodeAccess",createdNodes:"Node"},Blog:{id:"ID",order:"Int",entries:"BlogEntry"},BlogEntry:{id:"ID",lang:"Lang",author:"String",body:"String",date:"DateTime",image:"String",summary:"String",title:"String"},BlogItem:{id:"String",blogId:"String",order:"Int",title:"String",body:"String",author:"String",image:"String",imageAlt:"String",summary:"String",date:"DateTime"},CloudLimits:{size:"BigInt",maxSize:"BigInt",count:"BigInt",maxCount:"BigInt"},CryptoWallet:{address:"ID",privateKeyEncrypted:"String"},Error:{"...on ErrorStripe":"ErrorStripe","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorUpgradePlan":"ErrorUpgradePlan","...on ErrorLangNotExist":"ErrorLangNotExist","...on ErrorNotExist":"ErrorNotExist","...on ErrorLimit":"ErrorLimit","...on ErrorBasic":"ErrorBasic"},ErrorAccessDenied:{message:"String"},ErrorBase:{"...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorLangNotExist":"ErrorLangNotExist","...on ErrorLimit":"ErrorLimit","...on ErrorNotExist":"ErrorNotExist","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe","...on ErrorUpgradePlan":"ErrorUpgradePlan",message:"String"},ErrorBasic:{message:"String"},ErrorLangNotExist:{message:"String"},ErrorLimit:{message:"String",field:"String"},ErrorNotExist:{message:"String",field:"String"},ErrorNotFound:{message:"String",field:"String"},ErrorStripe:{message:"String"},ErrorUpgradePlan:{message:"String"},Faq:{id:"ID",order:"Int",entries:"FaqEntry"},FaqEntry:{id:"ID",lang:"Lang",question:"String",answer:"String",faq:"Faq"},FaqItem:{order:"Int",question:"String",answer:"String"},File:{id:"ID",size:"BigInt",sizeBefore:"BigInt",createdAt:"DateTime",md5:"String",nodes:"Node",accesses:"FileAccess",md5Encrypted:"String",deletedAt:"DateTime",userApp:"ApplicationsOnUsers",mails:"FilesOnMails",validatedAt:"DateTime",access:"FileAccess"},FileAccess:{userApp:"ApplicationsOnUsers",userAppUserId:"String",userAppAppId:"String",file:"File",fileId:"String",key:"String",sharedBy:"ApplicationsOnUsers",sharedByUserId:"String",sharedByAppId:"String"},FileContent:{"...on FileContentCloud":"FileContentCloud","...on FileContentLite":"FileContentLite","...on FileContentReceivedMail":"FileContentReceivedMail","...on FileContentSentMail":"FileContentSentMail"},FileContentBase:{"...on FileContentCloud":"FileContentCloud","...on FileContentLite":"FileContentLite","...on FileContentReceivedMail":"FileContentReceivedMail","...on FileContentSentMail":"FileContentSentMail",id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType"},FileContentCloud:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",parts:"FileContentPart",publicKey:"String"},FileContentLite:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",content:"Bytes",publicKey:"String"},FileContentPart:{contentUrl:"String",order:"Int",md5:"String"},FileContentReceivedMail:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",maybeParts:"FileContentPart",maybeContent:"Bytes",senderPublicKey:"String"},FileContentSentMail:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",maybeParts:"FileContentPart",maybeContent:"Bytes"},FilePart:{id:"ID",file:"File",fileId:"String",size:"BigInt",order:"Int",md5:"String",validatedAt:"DateTime"},FilePartResponse:{fields:"Json",url:"String",order:"Int"},FileResponse:{fileId:"String",parts:"FilePartResponse",filePartSize:"BigInt"},FileShared:{userId:"String",message:"String",appId:"String",id:"String",filename:"String",size:"Int",sizeBefore:"Int"},FileSharedContent:{ownerId:"String",pubKey:"String",message:"String",appId:"String",id:"String",type:"String",filename:"String",contentUrl:"String",key:"String",size:"Int",sizeBefore:"Int"},FilesContentResponse:{files:"FileContent"},FilesOnMails:{file:"File",fileKey:"String",filename:"String",mail:"Mail"},Limits:{downloadBandwidth:"BigInt",downloadCount:"BigInt",hardFileCount:"BigInt",hardFileSize:"BigInt",perFileSize:"BigInt",receivedMails:"MailLimits",sentMails:"MailLimits",uploadBandwidth:"BigInt",uploadCount:"BigInt"},MailLimits:{count:"BigInt",fileCount:"BigInt",fileSize:"BigInt",hardCount:"BigInt",hardFileCount:"BigInt",hardFileSize:"BigInt",perFileSize:"BigInt"},MailLimitsValues:{count:"BigInt",maxCount:"BigInt",fileCount:"BigInt",maxFileCount:"BigInt",fileSize:"BigInt",maxFileSize:"BigInt"},QueryLimits:{cloud:"CloudLimits",mail:"UserMailLimits"},UserMailLimits:{sent:"MailLimitsValues",received:"MailLimitsValues"},LiteFileResponse:{fileId:"String",content:"Bytes"},Mail:{id:"ID",app:"Application",body:"String",createdAt:"DateTime",deletedAt:"DateTime",files:"FilesOnMails",mailIntegrity:"MailIntegrity",mailIntegrityId:"String",mailIntegrityDraft:"MailIntegrityDraft",openedAt:"DateTime",recipient:"User",sender:"User",subject:"String",type:"MailType",recipients:"User"},MailIntegrity:{id:"ID",hash:"String",hashKey:"String",answers:"MailIntegrity",app:"Application",mails:"Mail",recipients:"User",temporaryRecipients:"TemporaryUser",replyTo:"MailIntegrity"},MailIntegrityDraft:{id:"ID",hash:"String",hashKey:"String",app:"Application",mail:"Mail",recipients:"User",temporaryRecipients:"TemporaryUser",replyTo:"MailIntegrity"},Node:{id:"ID",isFavorite:"Boolean",type:"NodeType",createdAt:"DateTime",deletedAt:"DateTime",parentId:"String",createdBy:"ApplicationsOnUsers",children:"Node",history:"File",updatedAt:"DateTime",createdByAppId:"String",createdByUserId:"String",name:"String",parent:"Node",accesses:"NodeAccess",current:"File",currentFileId:"String",sizes:"NodeSize",access:"NodeAccess",breadcrumb:"NodeBreadcrumbItem"},NodeBreadcrumbItem:{id:"String",name:"String",pubKey:"String",nameKey:"String"},NodeAccess:{node:"Node",nodeId:"String",userApp:"ApplicationsOnUsers",userAppUserId:"String",userAppAppId:"String",rights:"Rights",nameKey:"String",isRoot:"Boolean",sharedBy:"ApplicationsOnUsers",sharedByUserId:"String",sharedByAppId:"String"},NodeSize:{size:"BigInt",sizeBefore:"BigInt"},Plan:{id:"ID",kind:"PlanKind",codes:"String",limits:"Limits"},Report:{id:"ID",user:"User",reportedUser:"User",customMessage:"String"},AddFileToHistoryResponse:{addFileToHistory:"Node"},CancelPaymentResponse:{cancelPayment:"Boolean"},ChangeUserPlanResponse:{changeUserPlan:"User"},CreateApplicationResponse:{createApplication:"String"},CreateCryptoWalletResponse:{createCryptoWallet:"CryptoWallet"},CreateDraftMailResponse:{createDraftMail:"Mail"},CreateFolderResponse:{createFolder:"Node"},DbConfigMutationResponse:{dbConfigMutation:"Json"},DbSetResponse:{dbSet:"Json"},DeleteDraftMailResponse:{deleteDraftMail:"Boolean"},DeleteFileResponse:{deleteFile:"Boolean"},DeleteMailResponse:{deleteMail:"Boolean"},DeleteMailTrashResponse:{deleteMailTrash:"Boolean"},DeleteNodeResponse:{deleteNode:"Boolean"},DeleteNodeCloudTrashResponse:{deleteNodeCloudTrash:"Boolean"},DeleteNodeSharingResponse:{deleteNodeSharing:"Boolean"},DeleteUserResponse:{deleteUser:"Boolean"},DuplicateNodeResponse:{duplicateNode:"Boolean"},EmptyCloudTrashResponse:{emptyCloudTrash:"Boolean"},EmptyMailTrashResponse:{emptyMailTrash:"Boolean"},LogoutResponse:{logout:"Boolean"},MoveNodesResponse:{moveNodes:"Boolean"},PayResponse:{pay:"Boolean"},ReadMailResponse:{readMail:"Boolean"},RecoverMailResponse:{recoverMail:"Boolean"},RecoverNodeResponse:{recoverNode:"Boolean"},SaveInCloudResponse:{saveInCloud:"Node"},SendAppMailResponse:{sendAppMail:"Boolean"},SendCryptoTransactionResponse:{id:"String",hash:"String"},SendDraftMailResponse:{sendDraftMail:"Boolean"},SendOneMailResponse:{sendOneMail:"Boolean"},SendReportResponse:{sendReport:"Report"},ShareFileInHistoryResponse:{shareFileInHistory:"Boolean"},ShareNodeQueryResponse:{shareNode:"ShareNodeResponse"},ShareNodeFinishResponse:{shareNodeFinish:"Boolean"},UnreadMailResponse:{unreadMail:"Boolean"},UpdateAppNotificationsResponse:{updateAppNotifications:"UserAppNotifications"},UpdateAppSettingsResponse:{updateAppSettings:"UserAppSettings"},UpdateAutoDisconnectDelayResponse:{updateAutoDisconnectDelay:"Boolean"},UpdateDraftMailResponse:{updateDraftMail:"Mail"},UpdateNodeResponse:{updateNode:"Node"},UpdateProfileResponse:{updateProfile:"User"},UploadAnonymousResponse:{uploadAnonymous:"FileResponse"},UploadFileResponse:{uploadFile:"FileResponse"},UploadFileEndResponse:{uploadFileEnd:"String"},UploadFilePartEndResponse:{uploadFilePartEnd:"Boolean"},UploadLiteFileResponse:{uploadLiteFile:"LiteFileResponse"},CreateStripeTransferResponse:{created:"Boolean"},StripeOnBoardingResponse:{onBoardingUrl:"String"},CreateCardTokenResponse:{created:"Boolean"},CancelStripePayoutResponse:{cancel:"Boolean"},CreateStripePayoutResponse:{created:"Boolean"},AddCardToPaymentIntentResponse:{added:"Boolean"},CancelPaymentIntentResponse:{cancel:"Boolean"},ConfirmPaymentIntentResponse:{confirm:"Boolean"},CreatePaymentIntentResponse:{created:"Boolean"},BlogResponse:{blogItems:"BlogItem"},DbConfigResponse:{json:"Json"},DbGetResponse:{json:"Json"},DbSearchResponse:{json:"Json"},DeletedMailsResponse:{deletedMails:"Mail"},DeletedNodesResponse:{deletedNodes:"Node"},FaqResponse:{faq:"FaqItem"},FileQueryResponse:{file:"File"},FileContentResponse:{file:"FileContent"},JwtResponse:{jwt:"String"},IsCryptoTransactionDoneResponse:{done:"Boolean"},QueryMailResponse:{mail:"Mail"},MyCryptoBalanceResponse:{amount:"String"},NodeResponse:{node:"Node"},NodesSharedWithMeResponse:{nodesSharedWithMe:"Node"},PaymentInfosResponse:{paymentInfos:"PaymentInfos"},PlanResponse:{plan:"Plan"},SharedNodesResponse:{sharedNodes:"Node"},UnreadReceivedMailsCountResponse:{count:"Int"},UserResponse:{user:"User"},UserListResponse:{userList:"User"},BalanceStripeResponse:{amount:"Int",currency:"String",source_types:"SourceTypeStripeResponse"},BalanceStripeObjectResponse:{object:"String",available:"BalanceStripeResponse",connect_reserved:"BalanceStripeResponse",instant_available:"BalanceStripeResponse",issuing:"IssuingStripeResponse",livemode:"Boolean",pending:"BalanceStripeResponse"},GetStripeBalanceResponse:{balance:"BalanceStripeObjectResponse"},GetStripeBalanceTransactionResponse:{balanceTransaction:"TransacStripeResponse"},GetStripeTransactionResponse:{transaction:"TransacStripeResponse"},HasStripeAccountResponse:{hasAccount:"Boolean"},IssuingStripeResponse:{available:"BalanceStripeResponse"},KycStripeCompletedResponse:{kycCompleted:"Boolean"},SourceTypeStripeResponse:{bank_account:"Int",card:"Int",fpx:"Int"},TransacStripeResponse:{id:"String",object:"String",amount:"Int",available_on:"Int",created:"Int",currency:"String",description:"String",exchange_rate:"Int",fee:"Int",fee_details:"TransactionStripeFeeResponse",net:"Int",reporting_category:"String",source:"Json",status:"String",type:"String"},TransactionStripeFeeResponse:{amount:"Int",application:"String",currency:"String",description:"String",type:"String"},GetAllStripeTransferResponse:{allTransfer:"StripeTransferResponse"},GetStripeTransferResponse:{transfer:"StripeTransferResponse"},StripeTransferResponse:{id:"String",object:"String",amount:"Int",amount_reversed:"Int",balance_transaction:"Json",created:"Int",currency:"String",description:"String",destination_payment:"Json"},GetAllPaymentRequestToCollect:{id:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetAllPaymentRequestToCollectResponse:{allPaymentRequestToCollect:"GetAllPaymentRequestToCollect"},GetAllPaymentRequestResponse:{id:"String",accountId:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetAllPaymentRequestToPayResponse:{allPaymentRequestToPay:"GetAllPaymentRequestResponse"},GetPaymentRequestToCollect:{id:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetPaymentRequestToCollectResponse:{paymentRequestToCollect:"GetPaymentRequestToCollect"},GetPaymentRequestToPay:{id:"String",accountId:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetPaymentRequestToPayResponse:{paymentRequestToPay:"GetPaymentRequestToPay"},GetAllStripePayoutResponse:{allPayout:"PayoutResponse"},GetStripePayoutResponse:{payout:"PayoutResponse"},PayoutResponse:{id:"String",object:"String",amount:"Int",arrival_date:"Int",automatic:"Boolean",created:"Int",currency:"String",description:"String",failure_code:"String",failure_message:"String",livemode:"Boolean",method:"String",original_payout:"Json",reversed_by:"Json",source_type:"String",statement_descriptor:"String",status:"String",type:"PayoutType"},TemporaryUser:{id:"ID",mails:"MailIntegrity",draftMails:"MailIntegrityDraft",email:"String"},User:{id:"ID",deletedAt:"DateTime",lang:"Lang",cryptoWallets:"CryptoWallet",reportSent:"Report",godFather:"User",godChildren:"User",infos:"UserInfos",infosId:"String",firstname:"String",lastname:"String",email:"String",phone:"String",lastLogin:"DateTime",role:"UserRole",sessions:"UserSession",createdAt:"DateTime",receivedMails:"Mail",waitingReceivedMails:"WaitingReceivedMail",sentMails:"Mail",draftMails:"Mail",appSettings:"UserAppSettings",applications:"ApplicationsOnUsers",publicKey:"String"},UserAppNotifications:{id:"ID",enableAll:"Boolean",mail:"Boolean",cloud:"Boolean",disableAllUntil:"DateTime"},UserAppSettings:{id:"ID",cloudNodeDaysForDelete:"Int",historyFileDaysForDelete:"Int",historyMaxFileCount:"Int"},UserInfos:{id:"ID",emails:"String",email:"String",phones:"String",lastname:"String",firstname:"String",user:"User",updatedAt:"DateTime"},UserSession:{id:"ID",appSessions:"AppSession",lastActivity:"DateTime",userAgent:"String",ip:"String",city:"String",country:"String",createdAt:"DateTime"},WaitingReceivedMail:{sender:"User",date:"DateTime",recipients:"User",temporaryRecipients:"TemporaryUser",attachmentsCount:"Int"},PaymentInfos:{hostedUrl:"String",currentSubscription:"RecurlySubscription",invoices:"RecurlyInvoices"},RecurlyInvoices:{pdf:"String",date:"DateTime",due:"DateTime",status:"String",total:"Int",name:"String",currency:"String"},RecurlySubscription:{autorenew:"Boolean",activatedAt:"DateTime",currentPeriodEndsAt:"DateTime",currentPeriodStartedAt:"DateTime",canceledAt:"DateTime",createdAt:"DateTime",expiresAt:"DateTime",pausedAt:"DateTime",trialEndsAt:"DateTime",trialStartedAt:"DateTime",updatedAt:"DateTime",state:"String",collectionMethod:"String",plan:"String",planCode:"String",total:"Int"},ShareNodeResponse:{nodes:"String"},Query:{appNotifications:"AppNotificationsResult",blog:"BlogResult",dbConfig:"DbConfigResult",dbGet:"DbGetResult",dbSearch:"DbSearchResult",deletedMails:"DeletedMailsResult",deletedNodes:"DeletedNodesResult",faq:"FaqResult",file:"FileResult",fileContent:"FileContentResult",filesContent:"FilesContentResult",filesSharedWithMe:"FileSharedContent",getJwt:"GetJwtResult",isCryptoTransactionDone:"IsCryptoTransactionDoneResult",limits:"LimitsResult",mail:"MailResult",myCryptoBalance:"MyCryptoBalanceResult",node:"NodeResult",nodesSharedWithMe:"NodesSharedWithMeResult",paymentInfos:"PaymentInfosResult",plans:"PlansResult",serverTime:"Int",sharedNodes:"SharedNodesResult",unreadReceivedMailsCount:"UnreadReceivedMailsCountResult",user:"UserResult",userList:"UserListResult",getStripeBalance:"GetStripeBalanceResult",getStripeBalanceTransaction:"GetStripeBalanceTransactionResult",getStripeTransaction:"GetStripeTransactionResult",hasStripeAccount:"HasStripeAccountResult",kycStripeCompleted:"KycStripeCompletedResult",getAllStripeTransfer:"GetAllStripeTransferResult",getStripeTransfer:"GetStripeTransferResult",getAllStripePayout:"GetAllStripePayoutResult",getStripePayout:"GetStripePayoutResult",getAllPaymentRequestToCollect:"GetAllPaymentRequestToCollectResult",getAllPaymentRequestToPay:"GetAllPaymentRequestToPayResult",getPaymentRequestToCollect:"GetPaymentRequestToCollectResult",getPaymentRequestToPay:"GetPaymentRequestToPayResult"},Mutation:{addFileToHistory:"AddFileToHistoryResult",cancelPayment:"CancelPaymentResult",createApplication:"CreateApplicationResult",createCryptoWallet:"CreateCryptoWalletResult",createDraftMail:"CreateDraftMailResult",createFolder:"CreateFolderResult",dbConfigMutation:"DbConfigMutationResult",dbSet:"DbSetResult",deleteAllData:"Boolean",deleteDraftMail:"DeleteDraftMailResult",deleteFile:"DeleteFileResult",deleteMail:"DeleteMailResult",deleteMailTrash:"DeleteMailTrashResult",deleteNode:"DeleteNodeResult",deleteNodeCloudTrash:"DeleteNodeCloudTrashResult",deleteNodeSharing:"DeleteNodeSharingResult",deleteUser:"DeleteUserResult",duplicateNode:"DuplicateNodeResult",emptyCloudTrash:"EmptyCloudTrashResult",emptyMailTrash:"EmptyMailTrashResult",logout:"LogoutResult",moveNodes:"MoveNodesResult",pay:"PayResult",readMail:"ReadMailResult",recoverMail:"RecoverMailResult",recoverNode:"RecoverNodeResult",saveInCloud:"SaveInCloudResult",sendAppMail:"SendAppMailResult",sendCryptoTransaction:"SendCryptoTransactionResult",sendDraftMail:"SendDraftMailResult",sendOneMail:"SendOneMailResult",sendReport:"SendReportResult",shareFileInHistory:"ShareFileInHistoryResult",shareNode:"ShareNodeResult",shareNodeFinish:"ShareNodeFinishResult",unreadMail:"UnreadMailResult",updateAppNotifications:"UpdateAppNotificationsResult",updateAppSettings:"UpdateAppSettingsResult",updateAutoDisconnectDelay:"UpdateAutoDisconnectDelayResult",updateDraftMail:"UpdateDraftMailResult",updateNode:"UpdateNodeResult",updateProfile:"UpdateProfileResult",uploadAnonymous:"FileResponse",uploadFile:"UploadFileResult",uploadFileEnd:"UploadFileEndResult",uploadFilePartEnd:"UploadFilePartEndResult",uploadLiteFile:"UploadLiteFileResult",changeUserPlan:"ChangeUserPlanResult",createCardToken:"CreateCardTokenResult",createStripeTransfer:"CreateStripeTransferResult",stripeOnBoarding:"StripeOnBoardingResult",cancelStripePayout:"CancelStripePayoutResult",createStripePayout:"CreateStripePayoutResult",addCartToPaymentIntent:"AddCartToPaymentIntentResult",cancelPaymentIntent:"CancelPaymentIntentResult",confirmPaymentIntent:"ConfirmPaymentIntentResult",createPaymentIntent:"CreatePaymentIntentResult"},Subscription:{test:"Boolean"}},t= exports.Ops ={query:"Query",mutation:"Mutation",subscription:"Subscription"};exports.AllTypesProps = e; exports.Ops = t; exports.ReturnTypes = r;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XDPEU3HV.cjs');const e={BigInt:"scalar.BigInt",DateTime:"scalar.DateTime",Json:"scalar.Json",Bytes:"scalar.Bytes",Lang:"enum",PlanKind:"enum",UserRole:"enum",MailType:"enum",Rights:"enum",NodeType:"enum",FileContentType:"enum",InfuraNetwork:"enum",MailFileInput:{},MailRecipientInput:{files:"MailFileInput"},NameKeyInput:{files:"ShareFileKeyInput"},PayInput:{type:"PayInputType"},PayInputType:"enum",ShareFileInHistoryInput:{users:"ShareFileKeyInput"},ShareFileKeyInput:{},ShareNodesInput:{nodes:"NameKeyInput"},PayoutType:"enum",Query:{blog:{lang:"Lang"},dbConfig:{},dbGet:{},dbSearch:{},deletedMails:{mailType:"MailType"},faq:{lang:"Lang"},file:{},fileContent:{},filesContent:{},filesSharedWithMe:{},getJwt:{},isCryptoTransactionDone:{network:"InfuraNetwork"},mail:{},myCryptoBalance:{network:"InfuraNetwork"},node:{},nodesSharedWithMe:{type:"NodeType"},user:{},userList:{},getStripeTransaction:{},getStripeTransfer:{},getStripePayout:{},getPaymentRequestToCollect:{},getPaymentRequestToPay:{}},Mutation:{addFileToHistory:{},createApplication:{},createCryptoWallet:{},createDraftMail:{senderFiles:"MailFileInput"},createFolder:{},dbConfigMutation:{},dbSet:{},deleteDraftMail:{},deleteFile:{},deleteMail:{},deleteMailTrash:{},deleteNode:{},deleteNodeCloudTrash:{},deleteNodeSharing:{},deleteUser:{},duplicateNode:{},logout:{},moveNodes:{},pay:{input:"PayInput"},readMail:{},recoverMail:{},recoverNode:{},saveInCloud:{},sendAppMail:{},sendCryptoTransaction:{network:"InfuraNetwork"},sendDraftMail:{recipients:"MailRecipientInput"},sendOneMail:{recipient:"MailRecipientInput"},sendReport:{},shareFileInHistory:{input:"ShareFileInHistoryInput"},shareNode:{},shareNodeFinish:{shareNodes:"ShareNodesInput",rights:"Rights"},unreadMail:{},updateAppNotifications:{disableAllUntil:"DateTime"},updateAppSettings:{},updateAutoDisconnectDelay:{},updateDraftMail:{senderFiles:"MailFileInput"},updateNode:{deletedAt:"DateTime"},updateProfile:{lang:"Lang"},uploadAnonymous:{},uploadFile:{fileSize:"BigInt",fileSizeBefore:"BigInt"},uploadFileEnd:{},uploadFilePartEnd:{},uploadLiteFile:{content:"Bytes",fileSize:"BigInt",fileSizeBefore:"BigInt"},changeUserPlan:{plan:"PlanKind"},createCardToken:{},createStripeTransfer:{},stripeOnBoarding:{},cancelStripePayout:{},createStripePayout:{},addCartToPaymentIntent:{},cancelPaymentIntent:{},confirmPaymentIntent:{},createPaymentIntent:{}}},r= exports.ReturnTypes ={BigInt:"scalar.BigInt",DateTime:"scalar.DateTime",Json:"scalar.Json",Bytes:"scalar.Bytes",AppNotificationsResult:{"...on UserAppNotifications":"UserAppNotifications","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},BlogResult:{"...on BlogResponse":"BlogResponse","...on ErrorLangNotExist":"ErrorLangNotExist"},DbConfigResult:{"...on DbConfigResponse":"DbConfigResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorNotFound":"ErrorNotFound"},DbGetResult:{"...on DbGetResponse":"DbGetResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorNotExist":"ErrorNotExist"},DbSearchResult:{"...on DbSearchResponse":"DbSearchResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorBasic":"ErrorBasic"},DeletedMailsResult:{"...on DeletedMailsResponse":"DeletedMailsResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeletedNodesResult:{"...on DeletedNodesResponse":"DeletedNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FaqResult:{"...on FaqResponse":"FaqResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FileResult:{"...on FileQueryResponse":"FileQueryResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},FileContentResult:{"...on FileContentResponse":"FileContentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},FilesContentResult:{"...on FilesContentResponse":"FilesContentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},GetJwtResult:{"...on JwtResponse":"JwtResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},IsCryptoTransactionDoneResult:{"...on IsCryptoTransactionDoneResponse":"IsCryptoTransactionDoneResponse","...on ErrorNotExist":"ErrorNotExist"},LimitsResult:{"...on QueryLimits":"QueryLimits","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorNotExist":"ErrorNotExist","...on ErrorLimit":"ErrorLimit"},MailResult:{"...on QueryMailResponse":"QueryMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},MyCryptoBalanceResult:{"...on MyCryptoBalanceResponse":"MyCryptoBalanceResponse","...on ErrorNotExist":"ErrorNotExist"},NodeResult:{"...on NodeResponse":"NodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},NodesSharedWithMeResult:{"...on NodesSharedWithMeResponse":"NodesSharedWithMeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PaymentInfosResult:{"...on PaymentInfosResponse":"PaymentInfosResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PlansResult:{"...on PlanResponse":"PlanResponse"},SharedNodesResult:{"...on SharedNodesResponse":"SharedNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UnreadReceivedMailsCountResult:{"...on UnreadReceivedMailsCountResponse":"UnreadReceivedMailsCountResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UserResult:{"...on UserResponse":"UserResponse","...on ErrorNotFound":"ErrorNotFound"},UserListResult:{"...on UserListResponse":"UserListResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},GetStripeBalanceResult:{"...on GetStripeBalanceResponse":"GetStripeBalanceResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripeBalanceTransactionResult:{"...on GetStripeBalanceTransactionResponse":"GetStripeBalanceTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripeTransactionResult:{"...on GetStripeTransactionResponse":"GetStripeTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},HasStripeAccountResult:{"...on HasStripeAccountResponse":"HasStripeAccountResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},KycStripeCompletedResult:{"...on KycStripeCompletedResponse":"KycStripeCompletedResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetAllStripeTransferResult:{"...on GetAllStripeTransferResponse":"GetAllStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetStripeTransferResult:{"...on GetStripeTransferResponse":"GetStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetAllStripePayoutResult:{"...on GetAllStripePayoutResponse":"GetAllStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetStripePayoutResult:{"...on GetStripePayoutResponse":"GetStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetAllPaymentRequestToCollectResult:{"...on GetAllPaymentRequestToCollectResponse":"GetAllPaymentRequestToCollectResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},GetAllPaymentRequestToPayResult:{"...on GetAllPaymentRequestToPayResponse":"GetAllPaymentRequestToPayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},GetPaymentRequestToCollectResult:{"...on GetPaymentRequestToCollectResponse":"GetPaymentRequestToCollectResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe"},GetPaymentRequestToPayResult:{"...on GetPaymentRequestToPayResponse":"GetPaymentRequestToPayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},AddFileToHistoryResult:{"...on AddFileToHistoryResponse":"AddFileToHistoryResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},CancelPaymentResult:{"...on CancelPaymentResponse":"CancelPaymentResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateApplicationResult:{"...on CreateApplicationResponse":"CreateApplicationResponse","...on ErrorNotExist":"ErrorNotExist"},CreateCryptoWalletResult:{"...on CreateCryptoWalletResponse":"CreateCryptoWalletResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateDraftMailResult:{"...on CreateDraftMailResponse":"CreateDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},CreateFolderResult:{"...on CreateFolderResponse":"CreateFolderResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},DbConfigMutationResult:{"...on DbConfigMutationResponse":"DbConfigMutationResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DbSetResult:{"...on DbSetResponse":"DbSetResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},DeleteDraftMailResult:{"...on DeleteDraftMailResponse":"DeleteDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteFileResult:{"...on DeleteFileResponse":"DeleteFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},DeleteMailResult:{"...on DeleteMailResponse":"DeleteMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteMailTrashResult:{"...on DeleteMailTrashResponse":"DeleteMailTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeResult:{"...on DeleteNodeResponse":"DeleteNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeCloudTrashResult:{"...on DeleteNodeCloudTrashResponse":"DeleteNodeCloudTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteNodeSharingResult:{"...on DeleteNodeSharingResponse":"DeleteNodeSharingResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DeleteUserResult:{"...on DeleteUserResponse":"DeleteUserResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},DuplicateNodeResult:{"...on DuplicateNodeResponse":"DuplicateNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},EmptyCloudTrashResult:{"...on EmptyCloudTrashResponse":"EmptyCloudTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},EmptyMailTrashResult:{"...on EmptyMailTrashResponse":"EmptyMailTrashResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},LogoutResult:{"...on LogoutResponse":"LogoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},MoveNodesResult:{"...on MoveNodesResponse":"MoveNodesResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},PayResult:{"...on PayResponse":"PayResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},ReadMailResult:{"...on ReadMailResponse":"ReadMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},RecoverMailResult:{"...on RecoverMailResponse":"RecoverMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},RecoverNodeResult:{"...on RecoverNodeResponse":"RecoverNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},SaveInCloudResult:{"...on SaveInCloudResponse":"SaveInCloudResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},SendAppMailResult:{"...on SendAppMailResponse":"SendAppMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound"},SendCryptoTransactionResult:{"...on SendCryptoTransactionResponse":"SendCryptoTransactionResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotExist":"ErrorNotExist"},SendDraftMailResult:{"...on SendDraftMailResponse":"SendDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},SendOneMailResult:{"...on RecoverNodeResponse":"RecoverNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},SendReportResult:{"...on SendReportResponse":"SendReportResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareFileInHistoryResult:{"...on ShareFileInHistoryResponse":"ShareFileInHistoryResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareNodeResult:{"...on ShareNodeResponse":"ShareNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},ShareNodeFinishResult:{"...on ShareNodeFinishResponse":"ShareNodeFinishResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UnreadMailResult:{"...on UnreadMailResponse":"UnreadMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorBasic":"ErrorBasic"},UpdateAppNotificationsResult:{"...on UpdateAppNotificationsResponse":"UpdateAppNotificationsResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UpdateAppSettingsResult:{"...on UpdateAppSettingsResponse":"UpdateAppSettingsResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},UpdateAutoDisconnectDelayResult:{"...on UpdateAutoDisconnectDelayResponse":"UpdateAutoDisconnectDelayResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorBasic":"ErrorBasic"},UpdateDraftMailResult:{"...on UpdateDraftMailResponse":"UpdateDraftMailResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic"},UpdateNodeResult:{"...on UpdateNodeResponse":"UpdateNodeResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotExist":"ErrorNotExist"},UpdateProfileResult:{"...on UpdateProfileResponse":"UpdateProfileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UploadFileResult:{"...on UploadFileResponse":"UploadFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},UploadFileEndResult:{"...on UploadFileEndResponse":"UploadFileEndResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound"},UploadFilePartEndResult:{"...on UploadFilePartEndResponse":"UploadFilePartEndResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},UploadLiteFileResult:{"...on UploadLiteFileResponse":"UploadLiteFileResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorNotFound":"ErrorNotFound","...on ErrorLimit":"ErrorLimit"},ChangeUserPlanResult:{"...on ChangeUserPlanResponse":"ChangeUserPlanResponse","...on ErrorAccessDenied":"ErrorAccessDenied"},CreateCardTokenResult:{"...on CreateCardTokenResponse":"CreateCardTokenResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe"},CreateStripeTransferResult:{"...on CreateStripeTransferResponse":"CreateStripeTransferResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},StripeOnBoardingResult:{"...on StripeOnBoardingResponse":"StripeOnBoardingResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe"},CancelStripePayoutResult:{"...on CancelStripePayoutResponse":"CancelStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CreateStripePayoutResult:{"...on CreateStripePayoutResponse":"CreateStripePayoutResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},AddCartToPaymentIntentResult:{"...on AddCardToPaymentIntentResponse":"AddCardToPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CancelPaymentIntentResult:{"...on CancelPaymentIntentResponse":"CancelPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},ConfirmPaymentIntentResult:{"...on ConfirmPaymentIntentResponse":"ConfirmPaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},CreatePaymentIntentResult:{"...on CreatePaymentIntentResponse":"CreatePaymentIntentResponse","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorStripe":"ErrorStripe","...on ErrorNotFound":"ErrorNotFound"},AppKeyPair:{pub:"String"},AppSession:{id:"ID",lastActivity:"DateTime",userAgent:"String",ip:"String",city:"String",country:"String",userSession:"UserSession",userApp:"ApplicationsOnUsers",createdAt:"DateTime"},Application:{id:"ID",name:"String",logo:"String",origin:"String"},ApplicationsOnUsers:{fakeUserId:"String",keyPair:"AppKeyPair",sessions:"AppSession",app:"Application",appId:"String",user:"User",userId:"String",settings:"UserAppSettings",filesAccesses:"FileAccess",filesSharedAccesses:"FileAccess",nodesAccesses:"NodeAccess",nodesSharedAccesses:"NodeAccess",createdNodes:"Node"},Blog:{id:"ID",order:"Int",entries:"BlogEntry"},BlogEntry:{id:"ID",lang:"Lang",author:"String",body:"String",date:"DateTime",image:"String",summary:"String",title:"String"},BlogItem:{id:"String",blogId:"String",order:"Int",title:"String",body:"String",author:"String",image:"String",imageAlt:"String",summary:"String",date:"DateTime"},CloudLimits:{size:"BigInt",maxSize:"BigInt",count:"BigInt",maxCount:"BigInt"},CryptoWallet:{address:"ID",privateKeyEncrypted:"String"},Error:{"...on ErrorStripe":"ErrorStripe","...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorNotFound":"ErrorNotFound","...on ErrorUpgradePlan":"ErrorUpgradePlan","...on ErrorLangNotExist":"ErrorLangNotExist","...on ErrorNotExist":"ErrorNotExist","...on ErrorLimit":"ErrorLimit","...on ErrorBasic":"ErrorBasic"},ErrorAccessDenied:{message:"String"},ErrorBase:{"...on ErrorAccessDenied":"ErrorAccessDenied","...on ErrorBasic":"ErrorBasic","...on ErrorLangNotExist":"ErrorLangNotExist","...on ErrorLimit":"ErrorLimit","...on ErrorNotExist":"ErrorNotExist","...on ErrorNotFound":"ErrorNotFound","...on ErrorStripe":"ErrorStripe","...on ErrorUpgradePlan":"ErrorUpgradePlan",message:"String"},ErrorBasic:{message:"String"},ErrorLangNotExist:{message:"String"},ErrorLimit:{message:"String",field:"String"},ErrorNotExist:{message:"String",field:"String"},ErrorNotFound:{message:"String",field:"String"},ErrorStripe:{message:"String"},ErrorUpgradePlan:{message:"String"},Faq:{id:"ID",order:"Int",entries:"FaqEntry"},FaqEntry:{id:"ID",lang:"Lang",question:"String",answer:"String",faq:"Faq"},FaqItem:{order:"Int",question:"String",answer:"String"},File:{id:"ID",size:"BigInt",sizeBefore:"BigInt",createdAt:"DateTime",md5:"String",nodes:"Node",accesses:"FileAccess",md5Encrypted:"String",deletedAt:"DateTime",userApp:"ApplicationsOnUsers",mails:"FilesOnMails",validatedAt:"DateTime",access:"FileAccess"},FileAccess:{userApp:"ApplicationsOnUsers",userAppUserId:"String",userAppAppId:"String",file:"File",fileId:"String",key:"String",sharedBy:"ApplicationsOnUsers",sharedByUserId:"String",sharedByAppId:"String"},FileContent:{"...on FileContentCloud":"FileContentCloud","...on FileContentLite":"FileContentLite","...on FileContentReceivedMail":"FileContentReceivedMail","...on FileContentSentMail":"FileContentSentMail"},FileContentBase:{"...on FileContentCloud":"FileContentCloud","...on FileContentLite":"FileContentLite","...on FileContentReceivedMail":"FileContentReceivedMail","...on FileContentSentMail":"FileContentSentMail",id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType"},FileContentCloud:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",parts:"FileContentPart",publicKey:"String"},FileContentLite:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",content:"Bytes",publicKey:"String"},FileContentPart:{contentUrl:"String",order:"Int",md5:"String"},FileContentReceivedMail:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",maybeParts:"FileContentPart",maybeContent:"Bytes",senderPublicKey:"String"},FileContentSentMail:{id:"String",key:"String",md5:"String",md5Encrypted:"String",totalSize:"BigInt",type:"FileContentType",maybeParts:"FileContentPart",maybeContent:"Bytes"},FilePart:{id:"ID",file:"File",fileId:"String",size:"BigInt",order:"Int",md5:"String",validatedAt:"DateTime"},FilePartResponse:{fields:"Json",url:"String",order:"Int"},FileResponse:{fileId:"String",parts:"FilePartResponse",filePartSize:"BigInt"},FileShared:{userId:"String",message:"String",appId:"String",id:"String",filename:"String",size:"Int",sizeBefore:"Int"},FileSharedContent:{ownerId:"String",pubKey:"String",message:"String",appId:"String",id:"String",type:"String",filename:"String",contentUrl:"String",key:"String",size:"Int",sizeBefore:"Int"},FilesContentResponse:{files:"FileContent"},FilesOnMails:{file:"File",fileKey:"String",filename:"String",mail:"Mail"},Limits:{downloadBandwidth:"BigInt",downloadCount:"BigInt",hardFileCount:"BigInt",hardFileSize:"BigInt",perFileSize:"BigInt",receivedMails:"MailLimits",sentMails:"MailLimits",uploadBandwidth:"BigInt",uploadCount:"BigInt"},MailLimits:{count:"BigInt",fileCount:"BigInt",fileSize:"BigInt",hardCount:"BigInt",hardFileCount:"BigInt",hardFileSize:"BigInt",perFileSize:"BigInt"},MailLimitsValues:{count:"BigInt",maxCount:"BigInt",fileCount:"BigInt",maxFileCount:"BigInt",fileSize:"BigInt",maxFileSize:"BigInt"},QueryLimits:{cloud:"CloudLimits",mail:"UserMailLimits"},UserMailLimits:{sent:"MailLimitsValues",received:"MailLimitsValues"},LiteFileResponse:{fileId:"String",content:"Bytes"},Mail:{id:"ID",app:"Application",body:"String",createdAt:"DateTime",deletedAt:"DateTime",files:"FilesOnMails",mailIntegrity:"MailIntegrity",mailIntegrityId:"String",mailIntegrityDraft:"MailIntegrityDraft",openedAt:"DateTime",recipient:"User",sender:"User",subject:"String",type:"MailType",recipients:"User"},MailIntegrity:{id:"ID",hash:"String",hashKey:"String",answers:"MailIntegrity",app:"Application",mails:"Mail",recipients:"User",temporaryRecipients:"TemporaryUser",replyTo:"MailIntegrity"},MailIntegrityDraft:{id:"ID",hash:"String",hashKey:"String",app:"Application",mail:"Mail",recipients:"User",temporaryRecipients:"TemporaryUser",replyTo:"MailIntegrity"},Node:{id:"ID",isFavorite:"Boolean",type:"NodeType",createdAt:"DateTime",deletedAt:"DateTime",parentId:"String",createdBy:"ApplicationsOnUsers",children:"Node",history:"File",updatedAt:"DateTime",createdByAppId:"String",createdByUserId:"String",name:"String",parent:"Node",accesses:"NodeAccess",current:"File",currentFileId:"String",sizes:"NodeSize",access:"NodeAccess",breadcrumb:"NodeBreadcrumbItem"},NodeBreadcrumbItem:{id:"String",name:"String",pubKey:"String",nameKey:"String"},NodeAccess:{node:"Node",nodeId:"String",userApp:"ApplicationsOnUsers",userAppUserId:"String",userAppAppId:"String",rights:"Rights",nameKey:"String",isRoot:"Boolean",sharedBy:"ApplicationsOnUsers",sharedByUserId:"String",sharedByAppId:"String"},NodeSize:{size:"BigInt",sizeBefore:"BigInt"},Plan:{id:"ID",kind:"PlanKind",codes:"String",limits:"Limits"},Report:{id:"ID",user:"User",reportedUser:"User",customMessage:"String"},AddFileToHistoryResponse:{addFileToHistory:"Node"},CancelPaymentResponse:{cancelPayment:"Boolean"},ChangeUserPlanResponse:{changeUserPlan:"User"},CreateApplicationResponse:{createApplication:"String"},CreateCryptoWalletResponse:{createCryptoWallet:"CryptoWallet"},CreateDraftMailResponse:{createDraftMail:"Mail"},CreateFolderResponse:{createFolder:"Node"},DbConfigMutationResponse:{dbConfigMutation:"Json"},DbSetResponse:{dbSet:"Json"},DeleteDraftMailResponse:{deleteDraftMail:"Boolean"},DeleteFileResponse:{deleteFile:"Boolean"},DeleteMailResponse:{deleteMail:"Boolean"},DeleteMailTrashResponse:{deleteMailTrash:"Boolean"},DeleteNodeResponse:{deleteNode:"Boolean"},DeleteNodeCloudTrashResponse:{deleteNodeCloudTrash:"Boolean"},DeleteNodeSharingResponse:{deleteNodeSharing:"Boolean"},DeleteUserResponse:{deleteUser:"Boolean"},DuplicateNodeResponse:{duplicateNode:"Boolean"},EmptyCloudTrashResponse:{emptyCloudTrash:"Boolean"},EmptyMailTrashResponse:{emptyMailTrash:"Boolean"},LogoutResponse:{logout:"Boolean"},MoveNodesResponse:{moveNodes:"Boolean"},PayResponse:{pay:"Boolean"},ReadMailResponse:{readMail:"Boolean"},RecoverMailResponse:{recoverMail:"Boolean"},RecoverNodeResponse:{recoverNode:"Boolean"},SaveInCloudResponse:{saveInCloud:"Node"},SendAppMailResponse:{sendAppMail:"Boolean"},SendCryptoTransactionResponse:{id:"String",hash:"String"},SendDraftMailResponse:{sendDraftMail:"Boolean"},SendOneMailResponse:{sendOneMail:"Boolean"},SendReportResponse:{sendReport:"Report"},ShareFileInHistoryResponse:{shareFileInHistory:"Boolean"},ShareNodeQueryResponse:{shareNode:"ShareNodeResponse"},ShareNodeFinishResponse:{shareNodeFinish:"Boolean"},UnreadMailResponse:{unreadMail:"Boolean"},UpdateAppNotificationsResponse:{updateAppNotifications:"UserAppNotifications"},UpdateAppSettingsResponse:{updateAppSettings:"UserAppSettings"},UpdateAutoDisconnectDelayResponse:{updateAutoDisconnectDelay:"Boolean"},UpdateDraftMailResponse:{updateDraftMail:"Mail"},UpdateNodeResponse:{updateNode:"Node"},UpdateProfileResponse:{updateProfile:"User"},UploadAnonymousResponse:{uploadAnonymous:"FileResponse"},UploadFileResponse:{uploadFile:"FileResponse"},UploadFileEndResponse:{uploadFileEnd:"String"},UploadFilePartEndResponse:{uploadFilePartEnd:"Boolean"},UploadLiteFileResponse:{uploadLiteFile:"LiteFileResponse"},CreateStripeTransferResponse:{created:"Boolean"},StripeOnBoardingResponse:{onBoardingUrl:"String"},CreateCardTokenResponse:{created:"Boolean"},CancelStripePayoutResponse:{cancel:"Boolean"},CreateStripePayoutResponse:{created:"Boolean"},AddCardToPaymentIntentResponse:{added:"Boolean"},CancelPaymentIntentResponse:{cancel:"Boolean"},ConfirmPaymentIntentResponse:{confirm:"Boolean"},CreatePaymentIntentResponse:{created:"Boolean"},BlogResponse:{blogItems:"BlogItem"},DbConfigResponse:{json:"Json"},DbGetResponse:{json:"Json"},DbSearchResponse:{json:"Json"},DeletedMailsResponse:{deletedMails:"Mail"},DeletedNodesResponse:{deletedNodes:"Node"},FaqResponse:{faq:"FaqItem"},FileQueryResponse:{file:"File"},FileContentResponse:{file:"FileContent"},JwtResponse:{jwt:"String"},IsCryptoTransactionDoneResponse:{done:"Boolean"},QueryMailResponse:{mail:"Mail"},MyCryptoBalanceResponse:{amount:"String"},NodeResponse:{node:"Node"},NodesSharedWithMeResponse:{nodesSharedWithMe:"Node"},PaymentInfosResponse:{paymentInfos:"PaymentInfos"},PlanResponse:{plan:"Plan"},SharedNodesResponse:{sharedNodes:"Node"},UnreadReceivedMailsCountResponse:{count:"Int"},UserResponse:{user:"User"},UserListResponse:{userList:"User"},BalanceStripeResponse:{amount:"Int",currency:"String",source_types:"SourceTypeStripeResponse"},BalanceStripeObjectResponse:{object:"String",available:"BalanceStripeResponse",connect_reserved:"BalanceStripeResponse",instant_available:"BalanceStripeResponse",issuing:"IssuingStripeResponse",livemode:"Boolean",pending:"BalanceStripeResponse"},GetStripeBalanceResponse:{balance:"BalanceStripeObjectResponse"},GetStripeBalanceTransactionResponse:{balanceTransaction:"TransacStripeResponse"},GetStripeTransactionResponse:{transaction:"TransacStripeResponse"},HasStripeAccountResponse:{hasAccount:"Boolean"},IssuingStripeResponse:{available:"BalanceStripeResponse"},KycStripeCompletedResponse:{kycCompleted:"Boolean"},SourceTypeStripeResponse:{bank_account:"Int",card:"Int",fpx:"Int"},TransacStripeResponse:{id:"String",object:"String",amount:"Int",available_on:"Int",created:"Int",currency:"String",description:"String",exchange_rate:"Int",fee:"Int",fee_details:"TransactionStripeFeeResponse",net:"Int",reporting_category:"String",source:"Json",status:"String",type:"String"},TransactionStripeFeeResponse:{amount:"Int",application:"String",currency:"String",description:"String",type:"String"},GetAllStripeTransferResponse:{allTransfer:"StripeTransferResponse"},GetStripeTransferResponse:{transfer:"StripeTransferResponse"},StripeTransferResponse:{id:"String",object:"String",amount:"Int",amount_reversed:"Int",balance_transaction:"Json",created:"Int",currency:"String",description:"String",destination_payment:"Json"},GetAllPaymentRequestToCollect:{id:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetAllPaymentRequestToCollectResponse:{allPaymentRequestToCollect:"GetAllPaymentRequestToCollect"},GetAllPaymentRequestResponse:{id:"String",accountId:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetAllPaymentRequestToPayResponse:{allPaymentRequestToPay:"GetAllPaymentRequestResponse"},GetPaymentRequestToCollect:{id:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetPaymentRequestToCollectResponse:{paymentRequestToCollect:"GetPaymentRequestToCollect"},GetPaymentRequestToPay:{id:"String",accountId:"String",object:"String",amount:"Int",amount_capturable:"Int",amount_details:"Json",amount_received:"Int",application:"Json",application_fee_amount:"Int",automatic_payment_methods:"Json",canceled_at:"Int",cancellation_reason:"Json",capture_method:"Json",charges:"Json",client_secret:"String",confirmation_method:"Json",created:"Int",currency:"String",customer:"Json",description:"String",invoice:"Json",last_payment_error:"Json",livemode:"Boolean",metadata:"Json",next_action:"Json",on_behalf_of:"Json",payment_method:"Json",payment_method_options:"Json",payment_method_types:"String",processing:"Json",receipt_email:"String",review:"Json",setup_future_usage:"Json",shipping:"Json",source:"Json",statement_descriptor:"String",statement_descriptor_suffix:"String",status:"Json",transfer_data:"Json",transfer_group:"String"},GetPaymentRequestToPayResponse:{paymentRequestToPay:"GetPaymentRequestToPay"},GetAllStripePayoutResponse:{allPayout:"PayoutResponse"},GetStripePayoutResponse:{payout:"PayoutResponse"},PayoutResponse:{id:"String",object:"String",amount:"Int",arrival_date:"Int",automatic:"Boolean",created:"Int",currency:"String",description:"String",failure_code:"String",failure_message:"String",livemode:"Boolean",method:"String",original_payout:"Json",reversed_by:"Json",source_type:"String",statement_descriptor:"String",status:"String",type:"PayoutType"},TemporaryUser:{id:"ID",mails:"MailIntegrity",draftMails:"MailIntegrityDraft",email:"String"},User:{id:"ID",deletedAt:"DateTime",lang:"Lang",cryptoWallets:"CryptoWallet",reportSent:"Report",godFather:"User",godChildren:"User",infos:"UserInfos",infosId:"String",firstname:"String",lastname:"String",email:"String",phone:"String",lastLogin:"DateTime",role:"UserRole",sessions:"UserSession",createdAt:"DateTime",receivedMails:"Mail",waitingReceivedMails:"WaitingReceivedMail",sentMails:"Mail",draftMails:"Mail",appSettings:"UserAppSettings",applications:"ApplicationsOnUsers",publicKey:"String"},UserAppNotifications:{id:"ID",enableAll:"Boolean",mail:"Boolean",cloud:"Boolean",disableAllUntil:"DateTime"},UserAppSettings:{id:"ID",cloudNodeDaysForDelete:"Int",historyFileDaysForDelete:"Int",historyMaxFileCount:"Int"},UserInfos:{id:"ID",emails:"String",email:"String",phones:"String",lastname:"String",firstname:"String",user:"User",updatedAt:"DateTime"},UserSession:{id:"ID",appSessions:"AppSession",lastActivity:"DateTime",userAgent:"String",ip:"String",city:"String",country:"String",createdAt:"DateTime"},WaitingReceivedMail:{sender:"User",date:"DateTime",recipients:"User",temporaryRecipients:"TemporaryUser",attachmentsCount:"Int"},PaymentInfos:{hostedUrl:"String",currentSubscription:"RecurlySubscription",invoices:"RecurlyInvoices"},RecurlyInvoices:{pdf:"String",date:"DateTime",due:"DateTime",status:"String",total:"Int",name:"String",currency:"String"},RecurlySubscription:{autorenew:"Boolean",activatedAt:"DateTime",currentPeriodEndsAt:"DateTime",currentPeriodStartedAt:"DateTime",canceledAt:"DateTime",createdAt:"DateTime",expiresAt:"DateTime",pausedAt:"DateTime",trialEndsAt:"DateTime",trialStartedAt:"DateTime",updatedAt:"DateTime",state:"String",collectionMethod:"String",plan:"String",planCode:"String",total:"Int"},ShareNodeResponse:{nodes:"String"},Query:{appNotifications:"AppNotificationsResult",blog:"BlogResult",dbConfig:"DbConfigResult",dbGet:"DbGetResult",dbSearch:"DbSearchResult",deletedMails:"DeletedMailsResult",deletedNodes:"DeletedNodesResult",faq:"FaqResult",file:"FileResult",fileContent:"FileContentResult",filesContent:"FilesContentResult",filesSharedWithMe:"FileSharedContent",getJwt:"GetJwtResult",isCryptoTransactionDone:"IsCryptoTransactionDoneResult",limits:"LimitsResult",mail:"MailResult",myCryptoBalance:"MyCryptoBalanceResult",node:"NodeResult",nodesSharedWithMe:"NodesSharedWithMeResult",paymentInfos:"PaymentInfosResult",plans:"PlansResult",serverTime:"Int",sharedNodes:"SharedNodesResult",unreadReceivedMailsCount:"UnreadReceivedMailsCountResult",user:"UserResult",userList:"UserListResult",getStripeBalance:"GetStripeBalanceResult",getStripeBalanceTransaction:"GetStripeBalanceTransactionResult",getStripeTransaction:"GetStripeTransactionResult",hasStripeAccount:"HasStripeAccountResult",kycStripeCompleted:"KycStripeCompletedResult",getAllStripeTransfer:"GetAllStripeTransferResult",getStripeTransfer:"GetStripeTransferResult",getAllStripePayout:"GetAllStripePayoutResult",getStripePayout:"GetStripePayoutResult",getAllPaymentRequestToCollect:"GetAllPaymentRequestToCollectResult",getAllPaymentRequestToPay:"GetAllPaymentRequestToPayResult",getPaymentRequestToCollect:"GetPaymentRequestToCollectResult",getPaymentRequestToPay:"GetPaymentRequestToPayResult"},Mutation:{addFileToHistory:"AddFileToHistoryResult",cancelPayment:"CancelPaymentResult",createApplication:"CreateApplicationResult",createCryptoWallet:"CreateCryptoWalletResult",createDraftMail:"CreateDraftMailResult",createFolder:"CreateFolderResult",dbConfigMutation:"DbConfigMutationResult",dbSet:"DbSetResult",deleteAllData:"Boolean",deleteDraftMail:"DeleteDraftMailResult",deleteFile:"DeleteFileResult",deleteMail:"DeleteMailResult",deleteMailTrash:"DeleteMailTrashResult",deleteNode:"DeleteNodeResult",deleteNodeCloudTrash:"DeleteNodeCloudTrashResult",deleteNodeSharing:"DeleteNodeSharingResult",deleteUser:"DeleteUserResult",duplicateNode:"DuplicateNodeResult",emptyCloudTrash:"EmptyCloudTrashResult",emptyMailTrash:"EmptyMailTrashResult",logout:"LogoutResult",moveNodes:"MoveNodesResult",pay:"PayResult",readMail:"ReadMailResult",recoverMail:"RecoverMailResult",recoverNode:"RecoverNodeResult",saveInCloud:"SaveInCloudResult",sendAppMail:"SendAppMailResult",sendCryptoTransaction:"SendCryptoTransactionResult",sendDraftMail:"SendDraftMailResult",sendOneMail:"SendOneMailResult",sendReport:"SendReportResult",shareFileInHistory:"ShareFileInHistoryResult",shareNode:"ShareNodeResult",shareNodeFinish:"ShareNodeFinishResult",unreadMail:"UnreadMailResult",updateAppNotifications:"UpdateAppNotificationsResult",updateAppSettings:"UpdateAppSettingsResult",updateAutoDisconnectDelay:"UpdateAutoDisconnectDelayResult",updateDraftMail:"UpdateDraftMailResult",updateNode:"UpdateNodeResult",updateProfile:"UpdateProfileResult",uploadAnonymous:"FileResponse",uploadFile:"UploadFileResult",uploadFileEnd:"UploadFileEndResult",uploadFilePartEnd:"UploadFilePartEndResult",uploadLiteFile:"UploadLiteFileResult",changeUserPlan:"ChangeUserPlanResult",createCardToken:"CreateCardTokenResult",createStripeTransfer:"CreateStripeTransferResult",stripeOnBoarding:"StripeOnBoardingResult",cancelStripePayout:"CancelStripePayoutResult",createStripePayout:"CreateStripePayoutResult",addCartToPaymentIntent:"AddCartToPaymentIntentResult",cancelPaymentIntent:"CancelPaymentIntentResult",confirmPaymentIntent:"ConfirmPaymentIntentResult",createPaymentIntent:"CreatePaymentIntentResult"},Subscription:{test:"Boolean"}},t= exports.Ops ={query:"Query",mutation:"Mutation",subscription:"Subscription"};exports.AllTypesProps = e; exports.Ops = t; exports.ReturnTypes = r;
2
2
  //# sourceMappingURL=const.cjs.map