@skip-go/widget-web-component 3.14.3 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/1125.index.js +3 -0
- package/build/1133.index.js +8 -0
- package/build/1136.index.js +9 -0
- package/build/1139.index.js +18 -0
- package/build/1171.index.js +1 -1
- package/build/1189.index.js +1 -1
- package/build/1203.index.js +1 -1
- package/build/1207.index.js +1 -1
- package/build/1211.index.js +8 -0
- package/build/1226.index.js +8 -0
- package/build/1349.index.js +1 -1
- package/build/1361.index.js +1 -1
- package/build/1363.index.js +1 -1
- package/build/1370.index.js +1 -1
- package/build/1415.index.js +8 -0
- package/build/1426.index.js +3 -0
- package/build/1470.index.js +1 -1
- package/build/1572.index.js +11 -0
- package/build/1716.index.js +1 -1
- package/build/1776.index.js +8 -0
- package/build/1852.index.js +1 -1
- package/build/1881.index.js +1 -1
- package/build/1894.index.js +1 -1
- package/build/1911.index.js +1 -1
- package/build/1951.index.js +18 -0
- package/build/1979.index.js +30 -0
- package/build/2034.index.js +1 -1
- package/build/2131.index.js +1 -1
- package/build/2166.index.js +1 -1
- package/build/2202.index.js +61 -0
- package/build/2242.index.js +1 -1
- package/build/2289.index.js +8 -0
- package/build/2301.index.js +1 -1
- package/build/2410.index.js +1 -1
- package/build/2422.index.js +1 -0
- package/build/245.index.js +1 -1
- package/build/2496.index.js +1 -1
- package/build/2557.index.js +17 -0
- package/build/2699.index.js +1 -1
- package/build/2715.index.js +8 -0
- package/build/283.index.js +8 -0
- package/build/2844.index.js +13 -0
- package/build/2851.index.js +1 -0
- package/build/2902.index.js +15 -0
- package/build/3070.index.js +1 -1
- package/build/3099.index.js +8 -0
- package/build/3105.index.js +8 -0
- package/build/3131.index.js +6 -0
- package/build/3148.index.js +1 -1
- package/build/3472.index.js +1 -1
- package/build/3550.index.js +8 -0
- package/build/3574.index.js +1 -1
- package/build/362.index.js +12 -0
- package/build/3646.index.js +32 -0
- package/build/3726.index.js +1 -1
- package/build/3828.index.js +14 -0
- package/build/385.index.js +1 -1
- package/build/3857.index.js +14 -0
- package/build/3874.index.js +17 -0
- package/build/4028.index.js +1 -1
- package/build/4150.index.js +620 -0
- package/build/4194.index.js +317 -0
- package/build/4203.index.js +1 -1
- package/build/4226.index.js +14 -0
- package/build/4249.index.js +8 -0
- package/build/4264.index.js +1 -0
- package/build/428.index.js +1 -0
- package/build/4289.index.js +1 -1
- package/build/4319.index.js +1 -1
- package/build/4379.index.js +2069 -0
- package/build/4446.index.js +2 -0
- package/build/4683.index.js +1 -1
- package/build/4693.index.js +2 -2
- package/build/4729.index.js +1 -1
- package/build/4733.index.js +12 -0
- package/build/4857.index.js +12 -0
- package/build/4969.index.js +1 -1
- package/build/5069.index.js +1 -1
- package/build/5090.index.js +8 -0
- package/build/5193.index.js +1 -1
- package/build/5206.index.js +14 -0
- package/build/5218.index.js +6 -0
- package/build/5330.index.js +8 -0
- package/build/537.index.js +1 -1
- package/build/5438.index.js +9 -0
- package/build/5526.index.js +1 -1
- package/build/5572.index.js +1 -1
- package/build/5619.index.js +1 -1
- package/build/5642.index.js +2 -0
- package/build/5647.index.js +1 -1
- package/build/5737.index.js +1 -1
- package/build/577.index.js +8 -0
- package/build/5880.index.js +1 -1
- package/build/590.index.js +1 -1
- package/build/5972.index.js +622 -0
- package/build/602.index.js +9 -0
- package/build/6024.index.js +1 -1
- package/build/6036.index.js +8 -0
- package/build/6075.index.js +1 -1
- package/build/6123.index.js +1 -1
- package/build/6127.index.js +1 -1
- package/build/6138.index.js +18 -0
- package/build/6148.index.js +1 -1
- package/build/6151.index.js +1 -1
- package/build/6175.index.js +4 -0
- package/build/631.index.js +18 -0
- package/build/6323.index.js +1 -1
- package/build/6442.index.js +1 -1
- package/build/6484.index.js +1 -1
- package/build/6543.index.js +1 -1
- package/build/6553.index.js +8 -0
- package/build/6558.index.js +1 -0
- package/build/6573.index.js +1 -1
- package/build/6611.index.js +12 -0
- package/build/6639.index.js +8 -0
- package/build/6654.index.js +1 -0
- package/build/6705.index.js +12 -0
- package/build/6715.index.js +12 -0
- package/build/674.index.js +317 -0
- package/build/674.index.js.LICENSE.txt +17 -0
- package/build/6753.index.js +1 -1
- package/build/6811.index.js +8 -0
- package/build/6813.index.js +4 -0
- package/build/6869.index.js +1 -1
- package/build/6969.index.js +12 -0
- package/build/7172.index.js +1 -1
- package/build/7176.index.js +16 -0
- package/build/7201.index.js +878 -0
- package/build/7272.index.js +6 -0
- package/build/7311.index.js +11 -0
- package/build/7409.index.js +1 -0
- package/build/7428.index.js +4 -0
- package/build/7540.index.js +8 -0
- package/build/7618.index.js +1 -1
- package/build/7762.index.js +1 -1
- package/build/7780.index.js +3 -0
- package/build/7981.index.js +1 -1
- package/build/8000.index.js +1 -1
- package/build/8029.index.js +8 -0
- package/build/8036.index.js +1 -1
- package/build/8147.index.js +16 -0
- package/build/8249.index.js +8 -0
- package/build/8318.index.js +1 -1
- package/build/8367.index.js +1 -1
- package/build/8373.index.js +2082 -0
- package/build/8373.index.js.LICENSE.txt +5 -0
- package/build/8467.index.js +1 -1
- package/build/8483.index.js +1 -1
- package/build/8631.index.js +8 -0
- package/build/8645.index.js +2 -0
- package/build/8645.index.js.LICENSE.txt +11 -0
- package/build/8714.index.js +8 -0
- package/build/8717.index.js +6 -0
- package/build/8904.index.js +1 -1
- package/build/896.index.js +1 -1
- package/build/8964.index.js +26 -0
- package/build/897.index.js +11 -0
- package/build/9081.index.js +8 -0
- package/build/9120.index.js +8 -0
- package/build/913.index.js +15 -0
- package/build/9192.index.js +1 -0
- package/build/9194.index.js +878 -4
- package/build/9309.index.js +15 -0
- package/build/9313.index.js +8 -0
- package/build/9372.index.js +1 -1
- package/build/9396.index.js +12 -0
- package/build/9476.index.js +1 -1
- package/build/9607.index.js +8 -0
- package/build/967.index.js +5 -0
- package/build/984.index.js +8 -0
- package/build/9850.index.js +14 -0
- package/build/9884.index.js +1 -1
- package/build/index.js +769 -1633
- package/build/index.js.LICENSE.txt +6 -16
- package/package.json +1 -1
- package/build/1179.index.js +0 -2
- package/build/1256.index.js +0 -317
- package/build/1934.index.js +0 -2
- package/build/1934.index.js.LICENSE.txt +0 -17
- package/build/4619.index.js +0 -622
- package/build/4833.index.js +0 -2
- package/build/5902.index.js +0 -2
- package/build/6319.index.js +0 -2069
- package/build/6700.index.js +0 -1
- package/build/7084.index.js +0 -2
- package/build/7544.index.js +0 -1
- package/build/7591.index.js +0 -1
- package/build/8780.index.js +0 -1
- /package/build/{1256.index.js.LICENSE.txt → 4194.index.js.LICENSE.txt} +0 -0
- /package/build/{6319.index.js.LICENSE.txt → 4379.index.js.LICENSE.txt} +0 -0
- /package/build/{4833.index.js.LICENSE.txt → 4446.index.js.LICENSE.txt} +0 -0
- /package/build/{1179.index.js.LICENSE.txt → 5642.index.js.LICENSE.txt} +0 -0
- /package/build/{5902.index.js.LICENSE.txt → 7201.index.js.LICENSE.txt} +0 -0
- /package/build/{7084.index.js.LICENSE.txt → 9194.index.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const __webpack_esm_id__=428;export const __webpack_esm_ids__=[428];export const __webpack_esm_modules__={3710:(e,i,t)=>{t.d(i,{w:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async listBuckets(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/storage/buckets");return await this.client.call("get",n,{"content-type":"application/json"},t)}async createBucket(e,i,t,a,o,r,s,c,d,l){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const p={};void 0!==e&&(p.bucketId=e),void 0!==i&&(p.name=i),void 0!==t&&(p.permissions=t),void 0!==a&&(p.fileSecurity=a),void 0!==o&&(p.enabled=o),void 0!==r&&(p.maximumFileSize=r),void 0!==s&&(p.allowedFileExtensions=s),void 0!==c&&(p.compression=c),void 0!==d&&(p.encryption=d),void 0!==l&&(p.antivirus=l);const u=new URL(this.client.config.endpoint+"/storage/buckets");return await this.client.call("post",u,{"content-type":"application/json"},p)}async getBucket(e){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');const i="/storage/buckets/{bucketId}".replace("{bucketId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateBucket(e,i,t,a,o,r,s,c,d,l){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const p="/storage/buckets/{bucketId}".replace("{bucketId}",e),u={};void 0!==i&&(u.name=i),void 0!==t&&(u.permissions=t),void 0!==a&&(u.fileSecurity=a),void 0!==o&&(u.enabled=o),void 0!==r&&(u.maximumFileSize=r),void 0!==s&&(u.allowedFileExtensions=s),void 0!==c&&(u.compression=c),void 0!==d&&(u.encryption=d),void 0!==l&&(u.antivirus=l);const w=new URL(this.client.config.endpoint+p);return await this.client.call("put",w,{"content-type":"application/json"},u)}async deleteBucket(e){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');const i="/storage/buckets/{bucketId}".replace("{bucketId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listFiles(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');const a="/storage/buckets/{bucketId}/files".replace("{bucketId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createFile(e,i,t,a,o=e=>{}){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');if(void 0===t)throw new n.AZ('Missing required parameter: "file"');const r="/storage/buckets/{bucketId}/files".replace("{bucketId}",e),s={};void 0!==i&&(s.fileId=i),void 0!==t&&(s.file=t),void 0!==a&&(s.permissions=a);const c=new URL(this.client.config.endpoint+r);return await this.client.chunkedUpload("post",c,{"content-type":"multipart/form-data"},s,o)}async getFile(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const t="/storage/buckets/{bucketId}/files/{fileId}".replace("{bucketId}",e).replace("{fileId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateFile(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const o="/storage/buckets/{bucketId}/files/{fileId}".replace("{bucketId}",e).replace("{fileId}",i),r={};void 0!==t&&(r.name=t),void 0!==a&&(r.permissions=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("put",s,{"content-type":"application/json"},r)}async deleteFile(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const t="/storage/buckets/{bucketId}/files/{fileId}".replace("{bucketId}",e).replace("{fileId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async getFileDownload(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const t="/storage/buckets/{bucketId}/files/{fileId}/download".replace("{bucketId}",e).replace("{fileId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{},"arrayBuffer")}async getFilePreview(e,i,t,a,o,r,s,c,d,l,p,u,w){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const h="/storage/buckets/{bucketId}/files/{fileId}/preview".replace("{bucketId}",e).replace("{fileId}",i),v={};void 0!==t&&(v.width=t),void 0!==a&&(v.height=a),void 0!==o&&(v.gravity=o),void 0!==r&&(v.quality=r),void 0!==s&&(v.borderWidth=s),void 0!==c&&(v.borderColor=c),void 0!==d&&(v.borderRadius=d),void 0!==l&&(v.opacity=l),void 0!==p&&(v.rotation=p),void 0!==u&&(v.background=u),void 0!==w&&(v.output=w);const g=new URL(this.client.config.endpoint+h);return await this.client.call("get",g,{"content-type":"application/json"},v,"arrayBuffer")}async getFileView(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "bucketId"');if(void 0===i)throw new n.AZ('Missing required parameter: "fileId"');const t="/storage/buckets/{bucketId}/files/{fileId}/view".replace("{bucketId}",e).replace("{fileId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{},"arrayBuffer")}}},4477:(e,i,t)=>{t.d(i,{k:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async query(e){if(void 0===e)throw new n.AZ('Missing required parameter: "query"');const i={};void 0!==e&&(i.query=e);const t=new URL(this.client.config.endpoint+"/graphql");return await this.client.call("post",t,{"x-sdk-graphql":"true","content-type":"application/json"},i)}async mutation(e){if(void 0===e)throw new n.AZ('Missing required parameter: "query"');const i={};void 0!==e&&(i.query=e);const t=new URL(this.client.config.endpoint+"/graphql/mutation");return await this.client.call("post",t,{"x-sdk-graphql":"true","content-type":"application/json"},i)}}},7612:(e,i,t)=>{t.d(i,{h:()=>n});var n=(e=>(e.Cascade="cascade",e.Restrict="restrict",e.SetNull="setNull",e))(n||{})},8499:(e,i,t)=>{t.d(i,{P:()=>n});var n=(e=>(e.AvantBrowser="aa",e.AndroidWebViewBeta="an",e.GoogleChrome="ch",e.GoogleChromeIOS="ci",e.GoogleChromeMobile="cm",e.Chromium="cr",e.MozillaFirefox="ff",e.Safari="sf",e.MobileSafari="mf",e.MicrosoftEdge="ps",e.MicrosoftEdgeIOS="oi",e.OperaMini="om",e.Opera="op",e.OperaNext="on",e))(n||{})},11339:(e,i,t)=>{t.d(i,{W:()=>n});var n=(e=>(e.Totp="totp",e))(n||{})},18709:(e,i,t)=>{t.d(i,{AZ:()=>s,Kj:()=>l,XK:()=>o.X});var n=t(26854),a=t(88579),o=t(62836),r=t(39907),s=class extends Error{constructor(e,i=0,t="",n=""){super(e),this.name="AppwriteException",this.message=e,this.code=i,this.type=t,this.response=n}};function c(){let e="AppwriteNodeJSSDK/14.2.0";const i=[];return void 0!==r&&("string"==typeof r.platform&&i.push(r.platform),"string"==typeof r.arch&&i.push(r.arch)),i.length>0&&(e+=` (${i.join("; ")})`),"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?e+=` ${navigator.userAgent}`:"string"==typeof globalThis.EdgeRuntime?e+=" EdgeRuntime":void 0!==r&&"string"==typeof r.version&&(e+=` Node.js/${r.version}`),e}var d=class e{constructor(){this.config={endpoint:"https://cloud.appwrite.io/v1",selfSigned:!1,project:"",key:"",jwt:"",locale:"",session:"",forwardeduseragent:""},this.headers={"x-sdk-name":"Node.js","x-sdk-platform":"server","x-sdk-language":"nodejs","x-sdk-version":"14.2.0","user-agent":c(),"X-Appwrite-Response-Format":"1.6.0"}}setEndpoint(e){return this.config.endpoint=e,this}setSelfSigned(e){return void 0!==globalThis.EdgeRuntime&&console.warn("setSelfSigned is not supported in edge runtimes."),this.config.selfSigned=e,this}addHeader(e,i){return this.headers[e.toLowerCase()]=i,this}setProject(e){return this.headers["X-Appwrite-Project"]=e,this.config.project=e,this}setKey(e){return this.headers["X-Appwrite-Key"]=e,this.config.key=e,this}setJWT(e){return this.headers["X-Appwrite-JWT"]=e,this.config.jwt=e,this}setLocale(e){return this.headers["X-Appwrite-Locale"]=e,this.config.locale=e,this}setSession(e){return this.headers["X-Appwrite-Session"]=e,this.config.session=e,this}setForwardedUserAgent(e){return this.headers["X-Forwarded-User-Agent"]=e,this.config.forwardeduseragent=e,this}prepareRequest(i,t,o={},r={}){let s={method:i=i.toUpperCase(),headers:o=Object.assign({},this.headers,o),...(0,a.Sn)(this.config.endpoint,{rejectUnauthorized:!this.config.selfSigned})};if("GET"===i)for(const[i,n]of Object.entries(e.flatten(r)))t.searchParams.append(i,n);else switch(o["content-type"]){case"application/json":s.body=JSON.stringify(r);break;case"multipart/form-data":const e=new n.fS;for(const[i,t]of Object.entries(r))if(t instanceof n.ZH)e.append(i,t,t.name);else if(Array.isArray(t))for(const n of t)e.append(`${i}[]`,n);else e.append(i,t);s.body=e,delete o["content-type"]}return{uri:t.toString(),options:s}}async chunkedUpload(i,t,a={},o={},r){const s=Object.values(o).find(e=>e instanceof n.ZH);if(s.size<=e.CHUNK_SIZE)return await this.call(i,t,a,o);let c=0,d=null;for(;c<s.size;){let l=c+e.CHUNK_SIZE;l>=s.size&&(l=s.size),a["content-range"]=`bytes ${c}-${l-1}/${s.size}`;const p=s.slice(c,l);let u={...o,file:new n.ZH([p],s.name)};d=await this.call(i,t,a,u),r&&"function"==typeof r&&r({$id:d.$id,progress:Math.round(l/s.size*100),sizeUploaded:l,chunksTotal:Math.ceil(s.size/e.CHUNK_SIZE),chunksUploaded:Math.ceil(l/e.CHUNK_SIZE)}),d&&d.$id&&(a["x-appwrite-id"]=d.$id),c=l}return d}async ping(){return this.call("GET",new URL(this.config.endpoint+"/ping"))}async redirect(e,i,t={},a={}){const{uri:o,options:r}=this.prepareRequest(e,i,t,a),c=await(0,n.hd)(o,{...r,redirect:"manual"});if(301!==c.status&&302!==c.status)throw new s("Invalid redirect",c.status);return c.headers.get("location")||""}async call(e,i,t={},a={},o="json"){var r;const{uri:c,options:d}=this.prepareRequest(e,i,t,a);let l=null;const p=await(0,n.hd)(c,d),u=p.headers.get("x-appwrite-warning");if(u&&u.split(";").forEach(e=>console.warn("Warning: "+e)),l=(null==(r=p.headers.get("content-type"))?void 0:r.includes("application/json"))?await p.json():"arrayBuffer"===o?await p.arrayBuffer():{message:await p.text()},400<=p.status)throw new s(null==l?void 0:l.message,p.status,null==l?void 0:l.type,l);return l}static flatten(i,t=""){let n={};for(const[a,o]of Object.entries(i)){let i=t?t+"["+a+"]":a;Array.isArray(o)?n={...n,...e.flatten(o,i)}:n[i]=o}return n}};d.CHUNK_SIZE=5242880;var l=d},21119:(e,i,t)=>{t.d(i,{P:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async list(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/teams");return await this.client.call("get",n,{"content-type":"application/json"},t)}async create(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const a={};void 0!==e&&(a.teamId=e),void 0!==i&&(a.name=i),void 0!==t&&(a.roles=t);const o=new URL(this.client.config.endpoint+"/teams");return await this.client.call("post",o,{"content-type":"application/json"},a)}async get(e){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');const i="/teams/{teamId}".replace("{teamId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateName(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const t="/teams/{teamId}".replace("{teamId}",e),a={};void 0!==i&&(a.name=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("put",o,{"content-type":"application/json"},a)}async delete(e){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');const i="/teams/{teamId}".replace("{teamId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listMemberships(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');const a="/teams/{teamId}/memberships".replace("{teamId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createMembership(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "roles"');const c="/teams/{teamId}/memberships".replace("{teamId}",e),d={};void 0!==t&&(d.email=t),void 0!==a&&(d.userId=a),void 0!==o&&(d.phone=o),void 0!==i&&(d.roles=i),void 0!==r&&(d.url=r),void 0!==s&&(d.name=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("post",l,{"content-type":"application/json"},d)}async getMembership(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "membershipId"');const t="/teams/{teamId}/memberships/{membershipId}".replace("{teamId}",e).replace("{membershipId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateMembership(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "membershipId"');if(void 0===t)throw new n.AZ('Missing required parameter: "roles"');const a="/teams/{teamId}/memberships/{membershipId}".replace("{teamId}",e).replace("{membershipId}",i),o={};void 0!==t&&(o.roles=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("patch",r,{"content-type":"application/json"},o)}async deleteMembership(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "membershipId"');const t="/teams/{teamId}/memberships/{membershipId}".replace("{teamId}",e).replace("{membershipId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async updateMembershipStatus(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "membershipId"');if(void 0===t)throw new n.AZ('Missing required parameter: "userId"');if(void 0===a)throw new n.AZ('Missing required parameter: "secret"');const o="/teams/{teamId}/memberships/{membershipId}/status".replace("{teamId}",e).replace("{membershipId}",i),r={};void 0!==t&&(r.userId=t),void 0!==a&&(r.secret=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("patch",s,{"content-type":"application/json"},r)}async getPrefs(e){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');const i="/teams/{teamId}/prefs".replace("{teamId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updatePrefs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "teamId"');if(void 0===i)throw new n.AZ('Missing required parameter: "prefs"');const t="/teams/{teamId}/prefs".replace("{teamId}",e),a={};void 0!==i&&(a.prefs=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("put",o,{"content-type":"application/json"},a)}}},26854:(e,i,t)=>{t.d(i,{ZH:()=>n,fS:()=>a,hd:()=>o}),globalThis.Blob;const n=globalThis.File,a=globalThis.FormData,o=(globalThis.Headers,globalThis.Request,globalThis.Response,globalThis.AbortController,globalThis.fetch||(()=>{throw new Error("[node-fetch-native] Failed to fetch: `globalThis.fetch` is not available!")}))},27640:(e,i,t)=>{t.d(i,{F:()=>n});var n=(e=>(e.OneToOne="oneToOne",e.ManyToOne="manyToOne",e.ManyToMany="manyToMany",e.OneToMany="oneToMany",e))(n||{})},28259:(e,i,t)=>{t.d(i,{q:()=>n});var n=(e=>(e.Email="email",e.Phone="phone",e.Totp="totp",e.Recoverycode="recoverycode",e))(n||{})},29361:(e,i,t)=>{t.d(i,{y:()=>n});var n=(e=>(e.AmericanExpress="amex",e.Argencard="argencard",e.Cabal="cabal",e.Cencosud="cencosud",e.DinersClub="diners",e.Discover="discover",e.Elo="elo",e.Hipercard="hipercard",e.JCB="jcb",e.Mastercard="mastercard",e.Naranja="naranja",e.TarjetaShopping="targeta-shopping",e.UnionChinaPay="union-china-pay",e.Visa="visa",e.MIR="mir",e.Maestro="maestro",e))(n||{})},30428:(e,i,t)=>{t.r(i),t.d(i,{Account:()=>a.g,AppwriteException:()=>n.AZ,AuthenticationFactor:()=>y.q,AuthenticatorType:()=>f.W,Avatars:()=>o.L,Browser:()=>b.P,Client:()=>n.Kj,Compression:()=>T.P,CreditCard:()=>q.y,Databases:()=>r.L,ExecutionMethod:()=>L.S,Flag:()=>A.l,Functions:()=>s.a,Graphql:()=>c.k,Health:()=>d.X,ID:()=>m.ID,ImageFormat:()=>x.f,ImageGravity:()=>P._,IndexType:()=>R.f,Locale:()=>l.h,MessagePriority:()=>k.y,Messaging:()=>p.T,MessagingProviderType:()=>C.A,Name:()=>U.S,OAuthProvider:()=>I.L,PasswordHash:()=>E.q,Permission:()=>v.a,Query:()=>n.XK,RelationMutate:()=>Z.h,RelationshipType:()=>M.F,Role:()=>g.X,Runtime:()=>j.v,SmtpEncryption:()=>S.I,Storage:()=>u.w,Teams:()=>w.P,Users:()=>h.z});var n=t(18709),a=t(54428),o=t(74751),r=t(51771),s=t(64446),c=t(4477),d=t(88113),l=t(51633),p=t(58921),u=t(3710),w=t(21119),h=t(98205),v=t(43118),g=t(98112),m=t(36955),f=t(11339),y=t(28259),I=t(97691),b=t(8499),q=t(29361),A=t(91915),M=t(27640),Z=t(7612),R=t(63912),j=t(69783),L=t(31637),U=t(44932),k=t(46335),S=t(48505),T=t(64985),P=t(74233),x=t(78600),E=t(63795),C=t(60328)},31637:(e,i,t)=>{t.d(i,{S:()=>n});var n=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.DELETE="DELETE",e.OPTIONS="OPTIONS",e))(n||{})},36955:(e,i,t)=>{t.d(i,{ID:()=>n});var n=class e{static#e(){const e=new Date,i=Math.floor(e.getTime()/1e3),t=e.getMilliseconds();return i.toString(16)+t.toString(16).padStart(5,"0")}static custom(e){return e}static unique(i=7){const t=e.#e();let n="";for(let e=0;e<i;e++)n+=Math.floor(16*Math.random()).toString(16);return t+n}}},43118:(e,i,t)=>{t.d(i,{a:()=>n});var n=class{};n.read=e=>`read("${e}")`,n.write=e=>`write("${e}")`,n.create=e=>`create("${e}")`,n.update=e=>`update("${e}")`,n.delete=e=>`delete("${e}")`},44932:(e,i,t)=>{t.d(i,{S:()=>n});var n=(e=>(e.V1database="v1-database",e.V1deletes="v1-deletes",e.V1audits="v1-audits",e.V1mails="v1-mails",e.V1functions="v1-functions",e.V1usage="v1-usage",e.V1usagedump="v1-usage-dump",e.V1webhooks="v1-webhooks",e.V1certificates="v1-certificates",e.V1builds="v1-builds",e.V1messaging="v1-messaging",e.V1migrations="v1-migrations",e))(n||{})},46335:(e,i,t)=>{t.d(i,{y:()=>n});var n=(e=>(e.Normal="normal",e.High="high",e))(n||{})},48505:(e,i,t)=>{t.d(i,{I:()=>n});var n=(e=>(e.None="none",e.Ssl="ssl",e.Tls="tls",e))(n||{})},51633:(e,i,t)=>{t.d(i,{h:()=>n});var n=class{constructor(e){this.client=e}async get(){const e=new URL(this.client.config.endpoint+"/locale");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listCodes(){const e=new URL(this.client.config.endpoint+"/locale/codes");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listContinents(){const e=new URL(this.client.config.endpoint+"/locale/continents");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listCountries(){const e=new URL(this.client.config.endpoint+"/locale/countries");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listCountriesEU(){const e=new URL(this.client.config.endpoint+"/locale/countries/eu");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listCountriesPhones(){const e=new URL(this.client.config.endpoint+"/locale/countries/phones");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listCurrencies(){const e=new URL(this.client.config.endpoint+"/locale/currencies");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listLanguages(){const e=new URL(this.client.config.endpoint+"/locale/languages");return await this.client.call("get",e,{"content-type":"application/json"},{})}}},51771:(e,i,t)=>{t.d(i,{L:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async list(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/databases");return await this.client.call("get",n,{"content-type":"application/json"},t)}async create(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const a={};void 0!==e&&(a.databaseId=e),void 0!==i&&(a.name=i),void 0!==t&&(a.enabled=t);const o=new URL(this.client.config.endpoint+"/databases");return await this.client.call("post",o,{"content-type":"application/json"},a)}async get(e){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');const i="/databases/{databaseId}".replace("{databaseId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async update(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const a="/databases/{databaseId}".replace("{databaseId}",e),o={};void 0!==i&&(o.name=i),void 0!==t&&(o.enabled=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("put",r,{"content-type":"application/json"},o)}async delete(e){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');const i="/databases/{databaseId}".replace("{databaseId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listCollections(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');const a="/databases/{databaseId}/collections".replace("{databaseId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createCollection(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "name"');const s="/databases/{databaseId}/collections".replace("{databaseId}",e),c={};void 0!==i&&(c.collectionId=i),void 0!==t&&(c.name=t),void 0!==a&&(c.permissions=a),void 0!==o&&(c.documentSecurity=o),void 0!==r&&(c.enabled=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async getCollection(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');const t="/databases/{databaseId}/collections/{collectionId}".replace("{databaseId}",e).replace("{collectionId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateCollection(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "name"');const s="/databases/{databaseId}/collections/{collectionId}".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.name=t),void 0!==a&&(c.permissions=a),void 0!==o&&(c.documentSecurity=o),void 0!==r&&(c.enabled=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("put",d,{"content-type":"application/json"},c)}async deleteCollection(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');const t="/databases/{databaseId}/collections/{collectionId}".replace("{databaseId}",e).replace("{collectionId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async listAttributes(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');const a="/databases/{databaseId}/collections/{collectionId}/attributes".replace("{databaseId}",e).replace("{collectionId}",i),o={};void 0!==t&&(o.queries=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createBooleanAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/boolean".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.array=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateBooleanAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/boolean/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),c={};void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.newKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createDatetimeAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/datetime".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.array=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateDatetimeAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/datetime/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),c={};void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.newKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createEmailAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/email".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.array=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateEmailAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/email/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),c={};void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.newKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createEnumAttribute(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "elements"');if(void 0===o)throw new n.AZ('Missing required parameter: "required"');const c="/databases/{databaseId}/collections/{collectionId}/attributes/enum".replace("{databaseId}",e).replace("{collectionId}",i),d={};void 0!==t&&(d.key=t),void 0!==a&&(d.elements=a),void 0!==o&&(d.required=o),void 0!==r&&(d.default=r),void 0!==s&&(d.array=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("post",l,{"content-type":"application/json"},d)}async updateEnumAttribute(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "elements"');if(void 0===o)throw new n.AZ('Missing required parameter: "required"');if(void 0===r)throw new n.AZ('Missing required parameter: "xdefault"');const c="/databases/{databaseId}/collections/{collectionId}/attributes/enum/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),d={};void 0!==a&&(d.elements=a),void 0!==o&&(d.required=o),void 0!==r&&(d.default=r),void 0!==s&&(d.newKey=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("patch",l,{"content-type":"application/json"},d)}async createFloatAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/float".replace("{databaseId}",e).replace("{collectionId}",i),l={};void 0!==t&&(l.key=t),void 0!==a&&(l.required=a),void 0!==o&&(l.min=o),void 0!==r&&(l.max=r),void 0!==s&&(l.default=s),void 0!==c&&(l.array=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("post",p,{"content-type":"application/json"},l)}async updateFloatAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "min"');if(void 0===r)throw new n.AZ('Missing required parameter: "max"');if(void 0===s)throw new n.AZ('Missing required parameter: "xdefault"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/float/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),l={};void 0!==a&&(l.required=a),void 0!==o&&(l.min=o),void 0!==r&&(l.max=r),void 0!==s&&(l.default=s),void 0!==c&&(l.newKey=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("patch",p,{"content-type":"application/json"},l)}async createIntegerAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/integer".replace("{databaseId}",e).replace("{collectionId}",i),l={};void 0!==t&&(l.key=t),void 0!==a&&(l.required=a),void 0!==o&&(l.min=o),void 0!==r&&(l.max=r),void 0!==s&&(l.default=s),void 0!==c&&(l.array=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("post",p,{"content-type":"application/json"},l)}async updateIntegerAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "min"');if(void 0===r)throw new n.AZ('Missing required parameter: "max"');if(void 0===s)throw new n.AZ('Missing required parameter: "xdefault"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/integer/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),l={};void 0!==a&&(l.required=a),void 0!==o&&(l.min=o),void 0!==r&&(l.max=r),void 0!==s&&(l.default=s),void 0!==c&&(l.newKey=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("patch",p,{"content-type":"application/json"},l)}async createIpAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/ip".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.array=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateIpAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/ip/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),c={};void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.newKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createRelationshipAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "relatedCollectionId"');if(void 0===a)throw new n.AZ('Missing required parameter: "type"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/relationship".replace("{databaseId}",e).replace("{collectionId}",i),l={};void 0!==t&&(l.relatedCollectionId=t),void 0!==a&&(l.type=a),void 0!==o&&(l.twoWay=o),void 0!==r&&(l.key=r),void 0!==s&&(l.twoWayKey=s),void 0!==c&&(l.onDelete=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("post",p,{"content-type":"application/json"},l)}async createStringAttribute(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "size"');if(void 0===o)throw new n.AZ('Missing required parameter: "required"');const d="/databases/{databaseId}/collections/{collectionId}/attributes/string".replace("{databaseId}",e).replace("{collectionId}",i),l={};void 0!==t&&(l.key=t),void 0!==a&&(l.size=a),void 0!==o&&(l.required=o),void 0!==r&&(l.default=r),void 0!==s&&(l.array=s),void 0!==c&&(l.encrypt=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("post",p,{"content-type":"application/json"},l)}async updateStringAttribute(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const c="/databases/{databaseId}/collections/{collectionId}/attributes/string/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),d={};void 0!==a&&(d.required=a),void 0!==o&&(d.default=o),void 0!==r&&(d.size=r),void 0!==s&&(d.newKey=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("patch",l,{"content-type":"application/json"},d)}async createUrlAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/url".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.array=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateUrlAttribute(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "required"');if(void 0===o)throw new n.AZ('Missing required parameter: "xdefault"');const s="/databases/{databaseId}/collections/{collectionId}/attributes/url/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),c={};void 0!==a&&(c.required=a),void 0!==o&&(c.default=o),void 0!==r&&(c.newKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async getAttribute(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const a="/databases/{databaseId}/collections/{collectionId}/attributes/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),o=new URL(this.client.config.endpoint+a);return await this.client.call("get",o,{"content-type":"application/json"},{})}async deleteAttribute(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const a="/databases/{databaseId}/collections/{collectionId}/attributes/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),o=new URL(this.client.config.endpoint+a);return await this.client.call("delete",o,{"content-type":"application/json"},{})}async updateRelationshipAttribute(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const r="/databases/{databaseId}/collections/{collectionId}/attributes/{key}/relationship".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),s={};void 0!==a&&(s.onDelete=a),void 0!==o&&(s.newKey=o);const c=new URL(this.client.config.endpoint+r);return await this.client.call("patch",c,{"content-type":"application/json"},s)}async listDocuments(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');const a="/databases/{databaseId}/collections/{collectionId}/documents".replace("{databaseId}",e).replace("{collectionId}",i),o={};void 0!==t&&(o.queries=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createDocument(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "documentId"');if(void 0===a)throw new n.AZ('Missing required parameter: "data"');const r="/databases/{databaseId}/collections/{collectionId}/documents".replace("{databaseId}",e).replace("{collectionId}",i),s={};void 0!==t&&(s.documentId=t),void 0!==a&&(s.data=a),void 0!==o&&(s.permissions=o);const c=new URL(this.client.config.endpoint+r);return await this.client.call("post",c,{"content-type":"application/json"},s)}async getDocument(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "documentId"');const o="/databases/{databaseId}/collections/{collectionId}/documents/{documentId}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{documentId}",t),r={};void 0!==a&&(r.queries=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("get",s,{"content-type":"application/json"},r)}async updateDocument(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "documentId"');const r="/databases/{databaseId}/collections/{collectionId}/documents/{documentId}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{documentId}",t),s={};void 0!==a&&(s.data=a),void 0!==o&&(s.permissions=o);const c=new URL(this.client.config.endpoint+r);return await this.client.call("patch",c,{"content-type":"application/json"},s)}async deleteDocument(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "documentId"');const a="/databases/{databaseId}/collections/{collectionId}/documents/{documentId}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{documentId}",t),o=new URL(this.client.config.endpoint+a);return await this.client.call("delete",o,{"content-type":"application/json"},{})}async listIndexes(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');const a="/databases/{databaseId}/collections/{collectionId}/indexes".replace("{databaseId}",e).replace("{collectionId}",i),o={};void 0!==t&&(o.queries=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createIndex(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');if(void 0===a)throw new n.AZ('Missing required parameter: "type"');if(void 0===o)throw new n.AZ('Missing required parameter: "attributes"');const s="/databases/{databaseId}/collections/{collectionId}/indexes".replace("{databaseId}",e).replace("{collectionId}",i),c={};void 0!==t&&(c.key=t),void 0!==a&&(c.type=a),void 0!==o&&(c.attributes=o),void 0!==r&&(c.orders=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async getIndex(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const a="/databases/{databaseId}/collections/{collectionId}/indexes/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),o=new URL(this.client.config.endpoint+a);return await this.client.call("get",o,{"content-type":"application/json"},{})}async deleteIndex(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "databaseId"');if(void 0===i)throw new n.AZ('Missing required parameter: "collectionId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const a="/databases/{databaseId}/collections/{collectionId}/indexes/{key}".replace("{databaseId}",e).replace("{collectionId}",i).replace("{key}",t),o=new URL(this.client.config.endpoint+a);return await this.client.call("delete",o,{"content-type":"application/json"},{})}}},54428:(e,i,t)=>{t.d(i,{g:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async get(){const e=new URL(this.client.config.endpoint+"/account");return await this.client.call("get",e,{"content-type":"application/json"},{})}async create(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.password=t),void 0!==a&&(o.name=a);const r=new URL(this.client.config.endpoint+"/account");return await this.client.call("post",r,{"content-type":"application/json"},o)}async updateEmail(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "email"');if(void 0===i)throw new n.AZ('Missing required parameter: "password"');const t={};void 0!==e&&(t.email=e),void 0!==i&&(t.password=i);const a=new URL(this.client.config.endpoint+"/account/email");return await this.client.call("patch",a,{"content-type":"application/json"},t)}async listIdentities(e){const i={};void 0!==e&&(i.queries=e);const t=new URL(this.client.config.endpoint+"/account/identities");return await this.client.call("get",t,{"content-type":"application/json"},i)}async deleteIdentity(e){if(void 0===e)throw new n.AZ('Missing required parameter: "identityId"');const i="/account/identities/{identityId}".replace("{identityId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async createJWT(){const e=new URL(this.client.config.endpoint+"/account/jwts");return await this.client.call("post",e,{"content-type":"application/json"},{})}async listLogs(e){const i={};void 0!==e&&(i.queries=e);const t=new URL(this.client.config.endpoint+"/account/logs");return await this.client.call("get",t,{"content-type":"application/json"},i)}async updateMFA(e){if(void 0===e)throw new n.AZ('Missing required parameter: "mfa"');const i={};void 0!==e&&(i.mfa=e);const t=new URL(this.client.config.endpoint+"/account/mfa");return await this.client.call("patch",t,{"content-type":"application/json"},i)}async createMfaAuthenticator(e){if(void 0===e)throw new n.AZ('Missing required parameter: "type"');const i="/account/mfa/authenticators/{type}".replace("{type}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("post",t,{"content-type":"application/json"},{})}async updateMfaAuthenticator(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "type"');if(void 0===i)throw new n.AZ('Missing required parameter: "otp"');const t="/account/mfa/authenticators/{type}".replace("{type}",e),a={};void 0!==i&&(a.otp=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("put",o,{"content-type":"application/json"},a)}async deleteMfaAuthenticator(e){if(void 0===e)throw new n.AZ('Missing required parameter: "type"');const i="/account/mfa/authenticators/{type}".replace("{type}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async createMfaChallenge(e){if(void 0===e)throw new n.AZ('Missing required parameter: "factor"');const i={};void 0!==e&&(i.factor=e);const t=new URL(this.client.config.endpoint+"/account/mfa/challenge");return await this.client.call("post",t,{"content-type":"application/json"},i)}async updateMfaChallenge(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "challengeId"');if(void 0===i)throw new n.AZ('Missing required parameter: "otp"');const t={};void 0!==e&&(t.challengeId=e),void 0!==i&&(t.otp=i);const a=new URL(this.client.config.endpoint+"/account/mfa/challenge");return await this.client.call("put",a,{"content-type":"application/json"},t)}async listMfaFactors(){const e=new URL(this.client.config.endpoint+"/account/mfa/factors");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getMfaRecoveryCodes(){const e=new URL(this.client.config.endpoint+"/account/mfa/recovery-codes");return await this.client.call("get",e,{"content-type":"application/json"},{})}async createMfaRecoveryCodes(){const e=new URL(this.client.config.endpoint+"/account/mfa/recovery-codes");return await this.client.call("post",e,{"content-type":"application/json"},{})}async updateMfaRecoveryCodes(){const e=new URL(this.client.config.endpoint+"/account/mfa/recovery-codes");return await this.client.call("patch",e,{"content-type":"application/json"},{})}async updateName(e){if(void 0===e)throw new n.AZ('Missing required parameter: "name"');const i={};void 0!==e&&(i.name=e);const t=new URL(this.client.config.endpoint+"/account/name");return await this.client.call("patch",t,{"content-type":"application/json"},i)}async updatePassword(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "password"');const t={};void 0!==e&&(t.password=e),void 0!==i&&(t.oldPassword=i);const a=new URL(this.client.config.endpoint+"/account/password");return await this.client.call("patch",a,{"content-type":"application/json"},t)}async updatePhone(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "phone"');if(void 0===i)throw new n.AZ('Missing required parameter: "password"');const t={};void 0!==e&&(t.phone=e),void 0!==i&&(t.password=i);const a=new URL(this.client.config.endpoint+"/account/phone");return await this.client.call("patch",a,{"content-type":"application/json"},t)}async getPrefs(){const e=new URL(this.client.config.endpoint+"/account/prefs");return await this.client.call("get",e,{"content-type":"application/json"},{})}async updatePrefs(e){if(void 0===e)throw new n.AZ('Missing required parameter: "prefs"');const i={};void 0!==e&&(i.prefs=e);const t=new URL(this.client.config.endpoint+"/account/prefs");return await this.client.call("patch",t,{"content-type":"application/json"},i)}async createRecovery(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "email"');if(void 0===i)throw new n.AZ('Missing required parameter: "url"');const t={};void 0!==e&&(t.email=e),void 0!==i&&(t.url=i);const a=new URL(this.client.config.endpoint+"/account/recovery");return await this.client.call("post",a,{"content-type":"application/json"},t)}async updateRecovery(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const a={};void 0!==e&&(a.userId=e),void 0!==i&&(a.secret=i),void 0!==t&&(a.password=t);const o=new URL(this.client.config.endpoint+"/account/recovery");return await this.client.call("put",o,{"content-type":"application/json"},a)}async listSessions(){const e=new URL(this.client.config.endpoint+"/account/sessions");return await this.client.call("get",e,{"content-type":"application/json"},{})}async deleteSessions(){const e=new URL(this.client.config.endpoint+"/account/sessions");return await this.client.call("delete",e,{"content-type":"application/json"},{})}async createAnonymousSession(){const e=new URL(this.client.config.endpoint+"/account/sessions/anonymous");return await this.client.call("post",e,{"content-type":"application/json"},{})}async createEmailPasswordSession(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "email"');if(void 0===i)throw new n.AZ('Missing required parameter: "password"');const t={};void 0!==e&&(t.email=e),void 0!==i&&(t.password=i);const a=new URL(this.client.config.endpoint+"/account/sessions/email");return await this.client.call("post",a,{"content-type":"application/json"},t)}async updateMagicURLSession(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.secret=i);const a=new URL(this.client.config.endpoint+"/account/sessions/magic-url");return await this.client.call("put",a,{"content-type":"application/json"},t)}async updatePhoneSession(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.secret=i);const a=new URL(this.client.config.endpoint+"/account/sessions/phone");return await this.client.call("put",a,{"content-type":"application/json"},t)}async createSession(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.secret=i);const a=new URL(this.client.config.endpoint+"/account/sessions/token");return await this.client.call("post",a,{"content-type":"application/json"},t)}async getSession(e){if(void 0===e)throw new n.AZ('Missing required parameter: "sessionId"');const i="/account/sessions/{sessionId}".replace("{sessionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateSession(e){if(void 0===e)throw new n.AZ('Missing required parameter: "sessionId"');const i="/account/sessions/{sessionId}".replace("{sessionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("patch",t,{"content-type":"application/json"},{})}async deleteSession(e){if(void 0===e)throw new n.AZ('Missing required parameter: "sessionId"');const i="/account/sessions/{sessionId}".replace("{sessionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async updateStatus(){const e=new URL(this.client.config.endpoint+"/account/status");return await this.client.call("patch",e,{"content-type":"application/json"},{})}async createEmailToken(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');const a={};void 0!==e&&(a.userId=e),void 0!==i&&(a.email=i),void 0!==t&&(a.phrase=t);const o=new URL(this.client.config.endpoint+"/account/tokens/email");return await this.client.call("post",o,{"content-type":"application/json"},a)}async createMagicURLToken(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.url=t),void 0!==a&&(o.phrase=a);const r=new URL(this.client.config.endpoint+"/account/tokens/magic-url");return await this.client.call("post",r,{"content-type":"application/json"},o)}async createOAuth2Token(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "provider"');const o="/account/tokens/oauth2/{provider}".replace("{provider}",e),r={};void 0!==i&&(r.success=i),void 0!==t&&(r.failure=t),void 0!==a&&(r.scopes=a);const s=new URL(this.client.config.endpoint+o);return await this.client.redirect("get",s,{"content-type":"application/json"},r)}async createPhoneToken(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "phone"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.phone=i);const a=new URL(this.client.config.endpoint+"/account/tokens/phone");return await this.client.call("post",a,{"content-type":"application/json"},t)}async createVerification(e){if(void 0===e)throw new n.AZ('Missing required parameter: "url"');const i={};void 0!==e&&(i.url=e);const t=new URL(this.client.config.endpoint+"/account/verification");return await this.client.call("post",t,{"content-type":"application/json"},i)}async updateVerification(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.secret=i);const a=new URL(this.client.config.endpoint+"/account/verification");return await this.client.call("put",a,{"content-type":"application/json"},t)}async createPhoneVerification(){const e=new URL(this.client.config.endpoint+"/account/verification/phone");return await this.client.call("post",e,{"content-type":"application/json"},{})}async updatePhoneVerification(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "secret"');const t={};void 0!==e&&(t.userId=e),void 0!==i&&(t.secret=i);const a=new URL(this.client.config.endpoint+"/account/verification/phone");return await this.client.call("put",a,{"content-type":"application/json"},t)}}},58921:(e,i,t)=>{t.d(i,{T:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async listMessages(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/messaging/messages");return await this.client.call("get",n,{"content-type":"application/json"},t)}async createEmail(e,i,t,a,o,r,s,c,d,l,p,u){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');if(void 0===i)throw new n.AZ('Missing required parameter: "subject"');if(void 0===t)throw new n.AZ('Missing required parameter: "content"');const w={};void 0!==e&&(w.messageId=e),void 0!==i&&(w.subject=i),void 0!==t&&(w.content=t),void 0!==a&&(w.topics=a),void 0!==o&&(w.users=o),void 0!==r&&(w.targets=r),void 0!==s&&(w.cc=s),void 0!==c&&(w.bcc=c),void 0!==d&&(w.attachments=d),void 0!==l&&(w.draft=l),void 0!==p&&(w.html=p),void 0!==u&&(w.scheduledAt=u);const h=new URL(this.client.config.endpoint+"/messaging/messages/email");return await this.client.call("post",h,{"content-type":"application/json"},w)}async updateEmail(e,i,t,a,o,r,s,c,d,l,p,u){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const w="/messaging/messages/email/{messageId}".replace("{messageId}",e),h={};void 0!==i&&(h.topics=i),void 0!==t&&(h.users=t),void 0!==a&&(h.targets=a),void 0!==o&&(h.subject=o),void 0!==r&&(h.content=r),void 0!==s&&(h.draft=s),void 0!==c&&(h.html=c),void 0!==d&&(h.cc=d),void 0!==l&&(h.bcc=l),void 0!==p&&(h.scheduledAt=p),void 0!==u&&(h.attachments=u);const v=new URL(this.client.config.endpoint+w);return await this.client.call("patch",v,{"content-type":"application/json"},h)}async createPush(e,i,t,a,o,r,s,c,d,l,p,u,w,h,v,g,m,f,y){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const I={};void 0!==e&&(I.messageId=e),void 0!==i&&(I.title=i),void 0!==t&&(I.body=t),void 0!==a&&(I.topics=a),void 0!==o&&(I.users=o),void 0!==r&&(I.targets=r),void 0!==s&&(I.data=s),void 0!==c&&(I.action=c),void 0!==d&&(I.image=d),void 0!==l&&(I.icon=l),void 0!==p&&(I.sound=p),void 0!==u&&(I.color=u),void 0!==w&&(I.tag=w),void 0!==h&&(I.badge=h),void 0!==v&&(I.draft=v),void 0!==g&&(I.scheduledAt=g),void 0!==m&&(I.contentAvailable=m),void 0!==f&&(I.critical=f),void 0!==y&&(I.priority=y);const b=new URL(this.client.config.endpoint+"/messaging/messages/push");return await this.client.call("post",b,{"content-type":"application/json"},I)}async updatePush(e,i,t,a,o,r,s,c,d,l,p,u,w,h,v,g,m,f,y){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const I="/messaging/messages/push/{messageId}".replace("{messageId}",e),b={};void 0!==i&&(b.topics=i),void 0!==t&&(b.users=t),void 0!==a&&(b.targets=a),void 0!==o&&(b.title=o),void 0!==r&&(b.body=r),void 0!==s&&(b.data=s),void 0!==c&&(b.action=c),void 0!==d&&(b.image=d),void 0!==l&&(b.icon=l),void 0!==p&&(b.sound=p),void 0!==u&&(b.color=u),void 0!==w&&(b.tag=w),void 0!==h&&(b.badge=h),void 0!==v&&(b.draft=v),void 0!==g&&(b.scheduledAt=g),void 0!==m&&(b.contentAvailable=m),void 0!==f&&(b.critical=f),void 0!==y&&(b.priority=y);const q=new URL(this.client.config.endpoint+I);return await this.client.call("patch",q,{"content-type":"application/json"},b)}async createSms(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');if(void 0===i)throw new n.AZ('Missing required parameter: "content"');const c={};void 0!==e&&(c.messageId=e),void 0!==i&&(c.content=i),void 0!==t&&(c.topics=t),void 0!==a&&(c.users=a),void 0!==o&&(c.targets=o),void 0!==r&&(c.draft=r),void 0!==s&&(c.scheduledAt=s);const d=new URL(this.client.config.endpoint+"/messaging/messages/sms");return await this.client.call("post",d,{"content-type":"application/json"},c)}async updateSms(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const c="/messaging/messages/sms/{messageId}".replace("{messageId}",e),d={};void 0!==i&&(d.topics=i),void 0!==t&&(d.users=t),void 0!==a&&(d.targets=a),void 0!==o&&(d.content=o),void 0!==r&&(d.draft=r),void 0!==s&&(d.scheduledAt=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("patch",l,{"content-type":"application/json"},d)}async getMessage(e){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const i="/messaging/messages/{messageId}".replace("{messageId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async delete(e){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const i="/messaging/messages/{messageId}".replace("{messageId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listMessageLogs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const t="/messaging/messages/{messageId}/logs".replace("{messageId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listTargets(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "messageId"');const t="/messaging/messages/{messageId}/targets".replace("{messageId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listProviders(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/messaging/providers");return await this.client.call("get",n,{"content-type":"application/json"},t)}async createApnsProvider(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const d={};void 0!==e&&(d.providerId=e),void 0!==i&&(d.name=i),void 0!==t&&(d.authKey=t),void 0!==a&&(d.authKeyId=a),void 0!==o&&(d.teamId=o),void 0!==r&&(d.bundleId=r),void 0!==s&&(d.sandbox=s),void 0!==c&&(d.enabled=c);const l=new URL(this.client.config.endpoint+"/messaging/providers/apns");return await this.client.call("post",l,{"content-type":"application/json"},d)}async updateApnsProvider(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const d="/messaging/providers/apns/{providerId}".replace("{providerId}",e),l={};void 0!==i&&(l.name=i),void 0!==t&&(l.enabled=t),void 0!==a&&(l.authKey=a),void 0!==o&&(l.authKeyId=o),void 0!==r&&(l.teamId=r),void 0!==s&&(l.bundleId=s),void 0!==c&&(l.sandbox=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("patch",p,{"content-type":"application/json"},l)}async createFcmProvider(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const o={};void 0!==e&&(o.providerId=e),void 0!==i&&(o.name=i),void 0!==t&&(o.serviceAccountJSON=t),void 0!==a&&(o.enabled=a);const r=new URL(this.client.config.endpoint+"/messaging/providers/fcm");return await this.client.call("post",r,{"content-type":"application/json"},o)}async updateFcmProvider(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const o="/messaging/providers/fcm/{providerId}".replace("{providerId}",e),r={};void 0!==i&&(r.name=i),void 0!==t&&(r.enabled=t),void 0!==a&&(r.serviceAccountJSON=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("patch",s,{"content-type":"application/json"},r)}async createMailgunProvider(e,i,t,a,o,r,s,c,d,l){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const p={};void 0!==e&&(p.providerId=e),void 0!==i&&(p.name=i),void 0!==t&&(p.apiKey=t),void 0!==a&&(p.domain=a),void 0!==o&&(p.isEuRegion=o),void 0!==r&&(p.fromName=r),void 0!==s&&(p.fromEmail=s),void 0!==c&&(p.replyToName=c),void 0!==d&&(p.replyToEmail=d),void 0!==l&&(p.enabled=l);const u=new URL(this.client.config.endpoint+"/messaging/providers/mailgun");return await this.client.call("post",u,{"content-type":"application/json"},p)}async updateMailgunProvider(e,i,t,a,o,r,s,c,d,l){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const p="/messaging/providers/mailgun/{providerId}".replace("{providerId}",e),u={};void 0!==i&&(u.name=i),void 0!==t&&(u.apiKey=t),void 0!==a&&(u.domain=a),void 0!==o&&(u.isEuRegion=o),void 0!==r&&(u.enabled=r),void 0!==s&&(u.fromName=s),void 0!==c&&(u.fromEmail=c),void 0!==d&&(u.replyToName=d),void 0!==l&&(u.replyToEmail=l);const w=new URL(this.client.config.endpoint+p);return await this.client.call("patch",w,{"content-type":"application/json"},u)}async createMsg91Provider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const s={};void 0!==e&&(s.providerId=e),void 0!==i&&(s.name=i),void 0!==t&&(s.templateId=t),void 0!==a&&(s.senderId=a),void 0!==o&&(s.authKey=o),void 0!==r&&(s.enabled=r);const c=new URL(this.client.config.endpoint+"/messaging/providers/msg91");return await this.client.call("post",c,{"content-type":"application/json"},s)}async updateMsg91Provider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const s="/messaging/providers/msg91/{providerId}".replace("{providerId}",e),c={};void 0!==i&&(c.name=i),void 0!==t&&(c.enabled=t),void 0!==a&&(c.templateId=a),void 0!==o&&(c.senderId=o),void 0!==r&&(c.authKey=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createSendgridProvider(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const d={};void 0!==e&&(d.providerId=e),void 0!==i&&(d.name=i),void 0!==t&&(d.apiKey=t),void 0!==a&&(d.fromName=a),void 0!==o&&(d.fromEmail=o),void 0!==r&&(d.replyToName=r),void 0!==s&&(d.replyToEmail=s),void 0!==c&&(d.enabled=c);const l=new URL(this.client.config.endpoint+"/messaging/providers/sendgrid");return await this.client.call("post",l,{"content-type":"application/json"},d)}async updateSendgridProvider(e,i,t,a,o,r,s,c){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const d="/messaging/providers/sendgrid/{providerId}".replace("{providerId}",e),l={};void 0!==i&&(l.name=i),void 0!==t&&(l.enabled=t),void 0!==a&&(l.apiKey=a),void 0!==o&&(l.fromName=o),void 0!==r&&(l.fromEmail=r),void 0!==s&&(l.replyToName=s),void 0!==c&&(l.replyToEmail=c);const p=new URL(this.client.config.endpoint+d);return await this.client.call("patch",p,{"content-type":"application/json"},l)}async createSmtpProvider(e,i,t,a,o,r,s,c,d,l,p,u,w,h){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');if(void 0===t)throw new n.AZ('Missing required parameter: "host"');const v={};void 0!==e&&(v.providerId=e),void 0!==i&&(v.name=i),void 0!==t&&(v.host=t),void 0!==a&&(v.port=a),void 0!==o&&(v.username=o),void 0!==r&&(v.password=r),void 0!==s&&(v.encryption=s),void 0!==c&&(v.autoTLS=c),void 0!==d&&(v.mailer=d),void 0!==l&&(v.fromName=l),void 0!==p&&(v.fromEmail=p),void 0!==u&&(v.replyToName=u),void 0!==w&&(v.replyToEmail=w),void 0!==h&&(v.enabled=h);const g=new URL(this.client.config.endpoint+"/messaging/providers/smtp");return await this.client.call("post",g,{"content-type":"application/json"},v)}async updateSmtpProvider(e,i,t,a,o,r,s,c,d,l,p,u,w,h){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const v="/messaging/providers/smtp/{providerId}".replace("{providerId}",e),g={};void 0!==i&&(g.name=i),void 0!==t&&(g.host=t),void 0!==a&&(g.port=a),void 0!==o&&(g.username=o),void 0!==r&&(g.password=r),void 0!==s&&(g.encryption=s),void 0!==c&&(g.autoTLS=c),void 0!==d&&(g.mailer=d),void 0!==l&&(g.fromName=l),void 0!==p&&(g.fromEmail=p),void 0!==u&&(g.replyToName=u),void 0!==w&&(g.replyToEmail=w),void 0!==h&&(g.enabled=h);const m=new URL(this.client.config.endpoint+v);return await this.client.call("patch",m,{"content-type":"application/json"},g)}async createTelesignProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const s={};void 0!==e&&(s.providerId=e),void 0!==i&&(s.name=i),void 0!==t&&(s.from=t),void 0!==a&&(s.customerId=a),void 0!==o&&(s.apiKey=o),void 0!==r&&(s.enabled=r);const c=new URL(this.client.config.endpoint+"/messaging/providers/telesign");return await this.client.call("post",c,{"content-type":"application/json"},s)}async updateTelesignProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const s="/messaging/providers/telesign/{providerId}".replace("{providerId}",e),c={};void 0!==i&&(c.name=i),void 0!==t&&(c.enabled=t),void 0!==a&&(c.customerId=a),void 0!==o&&(c.apiKey=o),void 0!==r&&(c.from=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createTextmagicProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const s={};void 0!==e&&(s.providerId=e),void 0!==i&&(s.name=i),void 0!==t&&(s.from=t),void 0!==a&&(s.username=a),void 0!==o&&(s.apiKey=o),void 0!==r&&(s.enabled=r);const c=new URL(this.client.config.endpoint+"/messaging/providers/textmagic");return await this.client.call("post",c,{"content-type":"application/json"},s)}async updateTextmagicProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const s="/messaging/providers/textmagic/{providerId}".replace("{providerId}",e),c={};void 0!==i&&(c.name=i),void 0!==t&&(c.enabled=t),void 0!==a&&(c.username=a),void 0!==o&&(c.apiKey=o),void 0!==r&&(c.from=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createTwilioProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const s={};void 0!==e&&(s.providerId=e),void 0!==i&&(s.name=i),void 0!==t&&(s.from=t),void 0!==a&&(s.accountSid=a),void 0!==o&&(s.authToken=o),void 0!==r&&(s.enabled=r);const c=new URL(this.client.config.endpoint+"/messaging/providers/twilio");return await this.client.call("post",c,{"content-type":"application/json"},s)}async updateTwilioProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const s="/messaging/providers/twilio/{providerId}".replace("{providerId}",e),c={};void 0!==i&&(c.name=i),void 0!==t&&(c.enabled=t),void 0!==a&&(c.accountSid=a),void 0!==o&&(c.authToken=o),void 0!==r&&(c.from=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async createVonageProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const s={};void 0!==e&&(s.providerId=e),void 0!==i&&(s.name=i),void 0!==t&&(s.from=t),void 0!==a&&(s.apiKey=a),void 0!==o&&(s.apiSecret=o),void 0!==r&&(s.enabled=r);const c=new URL(this.client.config.endpoint+"/messaging/providers/vonage");return await this.client.call("post",c,{"content-type":"application/json"},s)}async updateVonageProvider(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const s="/messaging/providers/vonage/{providerId}".replace("{providerId}",e),c={};void 0!==i&&(c.name=i),void 0!==t&&(c.enabled=t),void 0!==a&&(c.apiKey=a),void 0!==o&&(c.apiSecret=o),void 0!==r&&(c.from=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("patch",d,{"content-type":"application/json"},c)}async getProvider(e){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const i="/messaging/providers/{providerId}".replace("{providerId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async deleteProvider(e){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const i="/messaging/providers/{providerId}".replace("{providerId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listProviderLogs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "providerId"');const t="/messaging/providers/{providerId}/logs".replace("{providerId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listSubscriberLogs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "subscriberId"');const t="/messaging/subscribers/{subscriberId}/logs".replace("{subscriberId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listTopics(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/messaging/topics");return await this.client.call("get",n,{"content-type":"application/json"},t)}async createTopic(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const a={};void 0!==e&&(a.topicId=e),void 0!==i&&(a.name=i),void 0!==t&&(a.subscribe=t);const o=new URL(this.client.config.endpoint+"/messaging/topics");return await this.client.call("post",o,{"content-type":"application/json"},a)}async getTopic(e){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');const i="/messaging/topics/{topicId}".replace("{topicId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateTopic(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');const a="/messaging/topics/{topicId}".replace("{topicId}",e),o={};void 0!==i&&(o.name=i),void 0!==t&&(o.subscribe=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("patch",r,{"content-type":"application/json"},o)}async deleteTopic(e){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');const i="/messaging/topics/{topicId}".replace("{topicId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listTopicLogs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');const t="/messaging/topics/{topicId}/logs".replace("{topicId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listSubscribers(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');const a="/messaging/topics/{topicId}/subscribers".replace("{topicId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createSubscriber(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');if(void 0===i)throw new n.AZ('Missing required parameter: "subscriberId"');if(void 0===t)throw new n.AZ('Missing required parameter: "targetId"');const a="/messaging/topics/{topicId}/subscribers".replace("{topicId}",e),o={};void 0!==i&&(o.subscriberId=i),void 0!==t&&(o.targetId=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("post",r,{"content-type":"application/json"},o)}async getSubscriber(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');if(void 0===i)throw new n.AZ('Missing required parameter: "subscriberId"');const t="/messaging/topics/{topicId}/subscribers/{subscriberId}".replace("{topicId}",e).replace("{subscriberId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async deleteSubscriber(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "topicId"');if(void 0===i)throw new n.AZ('Missing required parameter: "subscriberId"');const t="/messaging/topics/{topicId}/subscribers/{subscriberId}".replace("{topicId}",e).replace("{subscriberId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}}},60328:(e,i,t)=>{t.d(i,{A:()=>n});var n=(e=>(e.Email="email",e.Sms="sms",e.Push="push",e))(n||{})},62836:(e,i,t)=>{t.d(i,{X:()=>a});var n=class{constructor(e,i,t){this.method=e,this.attribute=i,void 0!==t&&(Array.isArray(t)?this.values=t:this.values=[t])}toString(){return JSON.stringify({method:this.method,attribute:this.attribute,values:this.values})}};n.equal=(e,i)=>new n("equal",e,i).toString(),n.notEqual=(e,i)=>new n("notEqual",e,i).toString(),n.lessThan=(e,i)=>new n("lessThan",e,i).toString(),n.lessThanEqual=(e,i)=>new n("lessThanEqual",e,i).toString(),n.greaterThan=(e,i)=>new n("greaterThan",e,i).toString(),n.greaterThanEqual=(e,i)=>new n("greaterThanEqual",e,i).toString(),n.isNull=e=>new n("isNull",e).toString(),n.isNotNull=e=>new n("isNotNull",e).toString(),n.between=(e,i,t)=>new n("between",e,[i,t]).toString(),n.startsWith=(e,i)=>new n("startsWith",e,i).toString(),n.endsWith=(e,i)=>new n("endsWith",e,i).toString(),n.select=e=>new n("select",void 0,e).toString(),n.search=(e,i)=>new n("search",e,i).toString(),n.orderDesc=e=>new n("orderDesc",e).toString(),n.orderAsc=e=>new n("orderAsc",e).toString(),n.cursorAfter=e=>new n("cursorAfter",void 0,e).toString(),n.cursorBefore=e=>new n("cursorBefore",void 0,e).toString(),n.limit=e=>new n("limit",void 0,e).toString(),n.offset=e=>new n("offset",void 0,e).toString(),n.contains=(e,i)=>new n("contains",e,i).toString(),n.or=e=>new n("or",void 0,e.map(e=>JSON.parse(e))).toString(),n.and=e=>new n("and",void 0,e.map(e=>JSON.parse(e))).toString();var a=n},63795:(e,i,t)=>{t.d(i,{q:()=>n});var n=(e=>(e.Sha1="sha1",e.Sha224="sha224",e.Sha256="sha256",e.Sha384="sha384",e.Sha512224="sha512/224",e.Sha512256="sha512/256",e.Sha512="sha512",e.Sha3224="sha3-224",e.Sha3256="sha3-256",e.Sha3384="sha3-384",e.Sha3512="sha3-512",e))(n||{})},63912:(e,i,t)=>{t.d(i,{f:()=>n});var n=(e=>(e.Key="key",e.Fulltext="fulltext",e.Unique="unique",e))(n||{})},64446:(e,i,t)=>{t.d(i,{a:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async list(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/functions");return await this.client.call("get",n,{"content-type":"application/json"},t)}async create(e,i,t,a,o,r,s,c,d,l,p,u,w,h,v,g,m,f,y,I,b,q){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');if(void 0===t)throw new n.AZ('Missing required parameter: "runtime"');const A={};void 0!==e&&(A.functionId=e),void 0!==i&&(A.name=i),void 0!==t&&(A.runtime=t),void 0!==a&&(A.execute=a),void 0!==o&&(A.events=o),void 0!==r&&(A.schedule=r),void 0!==s&&(A.timeout=s),void 0!==c&&(A.enabled=c),void 0!==d&&(A.logging=d),void 0!==l&&(A.entrypoint=l),void 0!==p&&(A.commands=p),void 0!==u&&(A.scopes=u),void 0!==w&&(A.installationId=w),void 0!==h&&(A.providerRepositoryId=h),void 0!==v&&(A.providerBranch=v),void 0!==g&&(A.providerSilentMode=g),void 0!==m&&(A.providerRootDirectory=m),void 0!==f&&(A.templateRepository=f),void 0!==y&&(A.templateOwner=y),void 0!==I&&(A.templateRootDirectory=I),void 0!==b&&(A.templateVersion=b),void 0!==q&&(A.specification=q);const M=new URL(this.client.config.endpoint+"/functions");return await this.client.call("post",M,{"content-type":"application/json"},A)}async listRuntimes(){const e=new URL(this.client.config.endpoint+"/functions/runtimes");return await this.client.call("get",e,{"content-type":"application/json"},{})}async listSpecifications(){const e=new URL(this.client.config.endpoint+"/functions/specifications");return await this.client.call("get",e,{"content-type":"application/json"},{})}async get(e){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const i="/functions/{functionId}".replace("{functionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async update(e,i,t,a,o,r,s,c,d,l,p,u,w,h,v,g,m,f){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const y="/functions/{functionId}".replace("{functionId}",e),I={};void 0!==i&&(I.name=i),void 0!==t&&(I.runtime=t),void 0!==a&&(I.execute=a),void 0!==o&&(I.events=o),void 0!==r&&(I.schedule=r),void 0!==s&&(I.timeout=s),void 0!==c&&(I.enabled=c),void 0!==d&&(I.logging=d),void 0!==l&&(I.entrypoint=l),void 0!==p&&(I.commands=p),void 0!==u&&(I.scopes=u),void 0!==w&&(I.installationId=w),void 0!==h&&(I.providerRepositoryId=h),void 0!==v&&(I.providerBranch=v),void 0!==g&&(I.providerSilentMode=g),void 0!==m&&(I.providerRootDirectory=m),void 0!==f&&(I.specification=f);const b=new URL(this.client.config.endpoint+y);return await this.client.call("put",b,{"content-type":"application/json"},I)}async delete(e){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const i="/functions/{functionId}".replace("{functionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async listDeployments(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const a="/functions/{functionId}/deployments".replace("{functionId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createDeployment(e,i,t,a,o,r=e=>{}){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "code"');if(void 0===t)throw new n.AZ('Missing required parameter: "activate"');const s="/functions/{functionId}/deployments".replace("{functionId}",e),c={};void 0!==a&&(c.entrypoint=a),void 0!==o&&(c.commands=o),void 0!==i&&(c.code=i),void 0!==t&&(c.activate=t);const d=new URL(this.client.config.endpoint+s);return await this.client.chunkedUpload("post",d,{"content-type":"multipart/form-data"},c,r)}async getDeployment(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const t="/functions/{functionId}/deployments/{deploymentId}".replace("{functionId}",e).replace("{deploymentId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateDeployment(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const t="/functions/{functionId}/deployments/{deploymentId}".replace("{functionId}",e).replace("{deploymentId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("patch",a,{"content-type":"application/json"},{})}async deleteDeployment(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const t="/functions/{functionId}/deployments/{deploymentId}".replace("{functionId}",e).replace("{deploymentId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async createBuild(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const a="/functions/{functionId}/deployments/{deploymentId}/build".replace("{functionId}",e).replace("{deploymentId}",i),o={};void 0!==t&&(o.buildId=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("post",r,{"content-type":"application/json"},o)}async updateDeploymentBuild(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const t="/functions/{functionId}/deployments/{deploymentId}/build".replace("{functionId}",e).replace("{deploymentId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("patch",a,{"content-type":"application/json"},{})}async getDeploymentDownload(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "deploymentId"');const t="/functions/{functionId}/deployments/{deploymentId}/download".replace("{functionId}",e).replace("{deploymentId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{},"arrayBuffer")}async listExecutions(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const a="/functions/{functionId}/executions".replace("{functionId}",e),o={};void 0!==i&&(o.queries=i),void 0!==t&&(o.search=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("get",r,{"content-type":"application/json"},o)}async createExecution(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const c="/functions/{functionId}/executions".replace("{functionId}",e),d={};void 0!==i&&(d.body=i),void 0!==t&&(d.async=t),void 0!==a&&(d.path=a),void 0!==o&&(d.method=o),void 0!==r&&(d.headers=r),void 0!==s&&(d.scheduledAt=s);const l=new URL(this.client.config.endpoint+c);return await this.client.call("post",l,{"content-type":"application/json"},d)}async getExecution(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "executionId"');const t="/functions/{functionId}/executions/{executionId}".replace("{functionId}",e).replace("{executionId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async deleteExecution(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "executionId"');const t="/functions/{functionId}/executions/{executionId}".replace("{functionId}",e).replace("{executionId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async listVariables(e){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');const i="/functions/{functionId}/variables".replace("{functionId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async createVariable(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "key"');if(void 0===t)throw new n.AZ('Missing required parameter: "value"');const a="/functions/{functionId}/variables".replace("{functionId}",e),o={};void 0!==i&&(o.key=i),void 0!==t&&(o.value=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("post",r,{"content-type":"application/json"},o)}async getVariable(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "variableId"');const t="/functions/{functionId}/variables/{variableId}".replace("{functionId}",e).replace("{variableId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateVariable(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "variableId"');if(void 0===t)throw new n.AZ('Missing required parameter: "key"');const o="/functions/{functionId}/variables/{variableId}".replace("{functionId}",e).replace("{variableId}",i),r={};void 0!==t&&(r.key=t),void 0!==a&&(r.value=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("put",s,{"content-type":"application/json"},r)}async deleteVariable(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "functionId"');if(void 0===i)throw new n.AZ('Missing required parameter: "variableId"');const t="/functions/{functionId}/variables/{variableId}".replace("{functionId}",e).replace("{variableId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}}},64985:(e,i,t)=>{t.d(i,{P:()=>n});var n=(e=>(e.None="none",e.Gzip="gzip",e.Zstd="zstd",e))(n||{})},69783:(e,i,t)=>{t.d(i,{v:()=>n});var n=(e=>(e.Node145="node-14.5",e.Node160="node-16.0",e.Node180="node-18.0",e.Node190="node-19.0",e.Node200="node-20.0",e.Node210="node-21.0",e.Node22="node-22",e.Php80="php-8.0",e.Php81="php-8.1",e.Php82="php-8.2",e.Php83="php-8.3",e.Ruby30="ruby-3.0",e.Ruby31="ruby-3.1",e.Ruby32="ruby-3.2",e.Ruby33="ruby-3.3",e.Python38="python-3.8",e.Python39="python-3.9",e.Python310="python-3.10",e.Python311="python-3.11",e.Python312="python-3.12",e.Pythonml311="python-ml-3.11",e.Deno121="deno-1.21",e.Deno124="deno-1.24",e.Deno135="deno-1.35",e.Deno140="deno-1.40",e.Deno146="deno-1.46",e.Deno20="deno-2.0",e.Dart215="dart-2.15",e.Dart216="dart-2.16",e.Dart217="dart-2.17",e.Dart218="dart-2.18",e.Dart30="dart-3.0",e.Dart31="dart-3.1",e.Dart33="dart-3.3",e.Dart35="dart-3.5",e.Dotnet60="dotnet-6.0",e.Dotnet70="dotnet-7.0",e.Dotnet80="dotnet-8.0",e.Java80="java-8.0",e.Java110="java-11.0",e.Java170="java-17.0",e.Java180="java-18.0",e.Java210="java-21.0",e.Java22="java-22",e.Swift55="swift-5.5",e.Swift58="swift-5.8",e.Swift59="swift-5.9",e.Swift510="swift-5.10",e.Kotlin16="kotlin-1.6",e.Kotlin18="kotlin-1.8",e.Kotlin19="kotlin-1.9",e.Kotlin20="kotlin-2.0",e.Cpp17="cpp-17",e.Cpp20="cpp-20",e.Bun10="bun-1.0",e.Bun11="bun-1.1",e.Go123="go-1.23",e.Static1="static-1",e.Flutter324="flutter-3.24",e))(n||{})},74233:(e,i,t)=>{t.d(i,{_:()=>n});var n=(e=>(e.Center="center",e.Topleft="top-left",e.Top="top",e.Topright="top-right",e.Left="left",e.Right="right",e.Bottomleft="bottom-left",e.Bottom="bottom",e.Bottomright="bottom-right",e))(n||{})},74751:(e,i,t)=>{t.d(i,{L:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async getBrowser(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "code"');const o="/avatars/browsers/{code}".replace("{code}",e),r={};void 0!==i&&(r.width=i),void 0!==t&&(r.height=t),void 0!==a&&(r.quality=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("get",s,{"content-type":"application/json"},r,"arrayBuffer")}async getCreditCard(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "code"');const o="/avatars/credit-cards/{code}".replace("{code}",e),r={};void 0!==i&&(r.width=i),void 0!==t&&(r.height=t),void 0!==a&&(r.quality=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("get",s,{"content-type":"application/json"},r,"arrayBuffer")}async getFavicon(e){if(void 0===e)throw new n.AZ('Missing required parameter: "url"');const i={};void 0!==e&&(i.url=e);const t=new URL(this.client.config.endpoint+"/avatars/favicon");return await this.client.call("get",t,{"content-type":"application/json"},i,"arrayBuffer")}async getFlag(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "code"');const o="/avatars/flags/{code}".replace("{code}",e),r={};void 0!==i&&(r.width=i),void 0!==t&&(r.height=t),void 0!==a&&(r.quality=a);const s=new URL(this.client.config.endpoint+o);return await this.client.call("get",s,{"content-type":"application/json"},r,"arrayBuffer")}async getImage(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "url"');const a={};void 0!==e&&(a.url=e),void 0!==i&&(a.width=i),void 0!==t&&(a.height=t);const o=new URL(this.client.config.endpoint+"/avatars/image");return await this.client.call("get",o,{"content-type":"application/json"},a,"arrayBuffer")}async getInitials(e,i,t,n){const a={};void 0!==e&&(a.name=e),void 0!==i&&(a.width=i),void 0!==t&&(a.height=t),void 0!==n&&(a.background=n);const o=new URL(this.client.config.endpoint+"/avatars/initials");return await this.client.call("get",o,{"content-type":"application/json"},a,"arrayBuffer")}async getQR(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "text"');const o={};void 0!==e&&(o.text=e),void 0!==i&&(o.size=i),void 0!==t&&(o.margin=t),void 0!==a&&(o.download=a);const r=new URL(this.client.config.endpoint+"/avatars/qr");return await this.client.call("get",r,{"content-type":"application/json"},o,"arrayBuffer")}}},78600:(e,i,t)=>{t.d(i,{f:()=>n});var n=(e=>(e.Jpg="jpg",e.Jpeg="jpeg",e.Gif="gif",e.Png="png",e.Webp="webp",e.Avif="avif",e))(n||{})},88113:(e,i,t)=>{t.d(i,{X:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async get(){const e=new URL(this.client.config.endpoint+"/health");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getAntivirus(){const e=new URL(this.client.config.endpoint+"/health/anti-virus");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getCache(){const e=new URL(this.client.config.endpoint+"/health/cache");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getCertificate(e){const i={};void 0!==e&&(i.domain=e);const t=new URL(this.client.config.endpoint+"/health/certificate");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getDB(){const e=new URL(this.client.config.endpoint+"/health/db");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getPubSub(){const e=new URL(this.client.config.endpoint+"/health/pubsub");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getQueue(){const e=new URL(this.client.config.endpoint+"/health/queue");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getQueueBuilds(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/builds");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueCertificates(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/certificates");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueDatabases(e,i){const t={};void 0!==e&&(t.name=e),void 0!==i&&(t.threshold=i);const n=new URL(this.client.config.endpoint+"/health/queue/databases");return await this.client.call("get",n,{"content-type":"application/json"},t)}async getQueueDeletes(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/deletes");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getFailedJobs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "name"');const t="/health/queue/failed/{name}".replace("{name}",e),a={};void 0!==i&&(a.threshold=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async getQueueFunctions(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/functions");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueLogs(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/logs");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueMails(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/mails");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueMessaging(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/messaging");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueMigrations(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/migrations");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueUsage(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/usage");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueUsageDump(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/usage-dump");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getQueueWebhooks(e){const i={};void 0!==e&&(i.threshold=e);const t=new URL(this.client.config.endpoint+"/health/queue/webhooks");return await this.client.call("get",t,{"content-type":"application/json"},i)}async getStorage(){const e=new URL(this.client.config.endpoint+"/health/storage");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getStorageLocal(){const e=new URL(this.client.config.endpoint+"/health/storage/local");return await this.client.call("get",e,{"content-type":"application/json"},{})}async getTime(){const e=new URL(this.client.config.endpoint+"/health/time");return await this.client.call("get",e,{"content-type":"application/json"},{})}}},88579:(e,i,t)=>{t.d(i,{Sn:()=>s});var n=Object.defineProperty,a=(e,i)=>n(e,"name",{value:i,configurable:!0}),o=Object.defineProperty,r=a((e,i)=>o(e,"name",{value:i,configurable:!0}),"e");function s(){return{agent:void 0,dispatcher:void 0}}function c(){return globalThis.fetch}a(s,"createAgent"),r(s,"createAgent"),a(c,"createFetch"),r(c,"createFetch"),globalThis.fetch},91915:(e,i,t)=>{t.d(i,{l:()=>n});var n=(e=>(e.Afghanistan="af",e.Angola="ao",e.Albania="al",e.Andorra="ad",e.UnitedArabEmirates="ae",e.Argentina="ar",e.Armenia="am",e.AntiguaAndBarbuda="ag",e.Australia="au",e.Austria="at",e.Azerbaijan="az",e.Burundi="bi",e.Belgium="be",e.Benin="bj",e.BurkinaFaso="bf",e.Bangladesh="bd",e.Bulgaria="bg",e.Bahrain="bh",e.Bahamas="bs",e.BosniaAndHerzegovina="ba",e.Belarus="by",e.Belize="bz",e.Bolivia="bo",e.Brazil="br",e.Barbados="bb",e.BruneiDarussalam="bn",e.Bhutan="bt",e.Botswana="bw",e.CentralAfricanRepublic="cf",e.Canada="ca",e.Switzerland="ch",e.Chile="cl",e.China="cn",e.CoteDIvoire="ci",e.Cameroon="cm",e.DemocraticRepublicOfTheCongo="cd",e.RepublicOfTheCongo="cg",e.Colombia="co",e.Comoros="km",e.CapeVerde="cv",e.CostaRica="cr",e.Cuba="cu",e.Cyprus="cy",e.CzechRepublic="cz",e.Germany="de",e.Djibouti="dj",e.Dominica="dm",e.Denmark="dk",e.DominicanRepublic="do",e.Algeria="dz",e.Ecuador="ec",e.Egypt="eg",e.Eritrea="er",e.Spain="es",e.Estonia="ee",e.Ethiopia="et",e.Finland="fi",e.Fiji="fj",e.France="fr",e.MicronesiaFederatedStatesOf="fm",e.Gabon="ga",e.UnitedKingdom="gb",e.Georgia="ge",e.Ghana="gh",e.Guinea="gn",e.Gambia="gm",e.GuineaBissau="gw",e.EquatorialGuinea="gq",e.Greece="gr",e.Grenada="gd",e.Guatemala="gt",e.Guyana="gy",e.Honduras="hn",e.Croatia="hr",e.Haiti="ht",e.Hungary="hu",e.Indonesia="id",e.India="in",e.Ireland="ie",e.IranIslamicRepublicOf="ir",e.Iraq="iq",e.Iceland="is",e.Israel="il",e.Italy="it",e.Jamaica="jm",e.Jordan="jo",e.Japan="jp",e.Kazakhstan="kz",e.Kenya="ke",e.Kyrgyzstan="kg",e.Cambodia="kh",e.Kiribati="ki",e.SaintKittsAndNevis="kn",e.SouthKorea="kr",e.Kuwait="kw",e.LaoPeopleSDemocraticRepublic="la",e.Lebanon="lb",e.Liberia="lr",e.Libya="ly",e.SaintLucia="lc",e.Liechtenstein="li",e.SriLanka="lk",e.Lesotho="ls",e.Lithuania="lt",e.Luxembourg="lu",e.Latvia="lv",e.Morocco="ma",e.Monaco="mc",e.Moldova="md",e.Madagascar="mg",e.Maldives="mv",e.Mexico="mx",e.MarshallIslands="mh",e.NorthMacedonia="mk",e.Mali="ml",e.Malta="mt",e.Myanmar="mm",e.Montenegro="me",e.Mongolia="mn",e.Mozambique="mz",e.Mauritania="mr",e.Mauritius="mu",e.Malawi="mw",e.Malaysia="my",e.Namibia="na",e.Niger="ne",e.Nigeria="ng",e.Nicaragua="ni",e.Netherlands="nl",e.Norway="no",e.Nepal="np",e.Nauru="nr",e.NewZealand="nz",e.Oman="om",e.Pakistan="pk",e.Panama="pa",e.Peru="pe",e.Philippines="ph",e.Palau="pw",e.PapuaNewGuinea="pg",e.Poland="pl",e.FrenchPolynesia="pf",e.NorthKorea="kp",e.Portugal="pt",e.Paraguay="py",e.Qatar="qa",e.Romania="ro",e.Russia="ru",e.Rwanda="rw",e.SaudiArabia="sa",e.Sudan="sd",e.Senegal="sn",e.Singapore="sg",e.SolomonIslands="sb",e.SierraLeone="sl",e.ElSalvador="sv",e.SanMarino="sm",e.Somalia="so",e.Serbia="rs",e.SouthSudan="ss",e.SaoTomeAndPrincipe="st",e.Suriname="sr",e.Slovakia="sk",e.Slovenia="si",e.Sweden="se",e.Eswatini="sz",e.Seychelles="sc",e.Syria="sy",e.Chad="td",e.Togo="tg",e.Thailand="th",e.Tajikistan="tj",e.Turkmenistan="tm",e.TimorLeste="tl",e.Tonga="to",e.TrinidadAndTobago="tt",e.Tunisia="tn",e.Turkey="tr",e.Tuvalu="tv",e.Tanzania="tz",e.Uganda="ug",e.Ukraine="ua",e.Uruguay="uy",e.UnitedStates="us",e.Uzbekistan="uz",e.VaticanCity="va",e.SaintVincentAndTheGrenadines="vc",e.Venezuela="ve",e.Vietnam="vn",e.Vanuatu="vu",e.Samoa="ws",e.Yemen="ye",e.SouthAfrica="za",e.Zambia="zm",e.Zimbabwe="zw",e))(n||{})},97691:(e,i,t)=>{t.d(i,{L:()=>n});var n=(e=>(e.Amazon="amazon",e.Apple="apple",e.Auth0="auth0",e.Authentik="authentik",e.Autodesk="autodesk",e.Bitbucket="bitbucket",e.Bitly="bitly",e.Box="box",e.Dailymotion="dailymotion",e.Discord="discord",e.Disqus="disqus",e.Dropbox="dropbox",e.Etsy="etsy",e.Facebook="facebook",e.Github="github",e.Gitlab="gitlab",e.Google="google",e.Linkedin="linkedin",e.Microsoft="microsoft",e.Notion="notion",e.Oidc="oidc",e.Okta="okta",e.Paypal="paypal",e.PaypalSandbox="paypalSandbox",e.Podio="podio",e.Salesforce="salesforce",e.Slack="slack",e.Spotify="spotify",e.Stripe="stripe",e.Tradeshift="tradeshift",e.TradeshiftBox="tradeshiftBox",e.Twitch="twitch",e.Wordpress="wordpress",e.Yahoo="yahoo",e.Yammer="yammer",e.Yandex="yandex",e.Zoho="zoho",e.Zoom="zoom",e.Mock="mock",e))(n||{})},98112:(e,i,t)=>{t.d(i,{X:()=>n});var n=class{static any(){return"any"}static user(e,i=""){return""===i?`user:${e}`:`user:${e}/${i}`}static users(e=""){return""===e?"users":`users/${e}`}static guests(){return"guests"}static team(e,i=""){return""===i?`team:${e}`:`team:${e}/${i}`}static member(e){return`member:${e}`}static label(e){return`label:${e}`}}},98205:(e,i,t)=>{t.d(i,{z:()=>a});var n=t(18709),a=class{constructor(e){this.client=e}async list(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/users");return await this.client.call("get",n,{"content-type":"application/json"},t)}async create(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const r={};void 0!==e&&(r.userId=e),void 0!==i&&(r.email=i),void 0!==t&&(r.phone=t),void 0!==a&&(r.password=a),void 0!==o&&(r.name=o);const s=new URL(this.client.config.endpoint+"/users");return await this.client.call("post",s,{"content-type":"application/json"},r)}async createArgon2User(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.password=t),void 0!==a&&(o.name=a);const r=new URL(this.client.config.endpoint+"/users/argon2");return await this.client.call("post",r,{"content-type":"application/json"},o)}async createBcryptUser(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.password=t),void 0!==a&&(o.name=a);const r=new URL(this.client.config.endpoint+"/users/bcrypt");return await this.client.call("post",r,{"content-type":"application/json"},o)}async listIdentities(e,i){const t={};void 0!==e&&(t.queries=e),void 0!==i&&(t.search=i);const n=new URL(this.client.config.endpoint+"/users/identities");return await this.client.call("get",n,{"content-type":"application/json"},t)}async deleteIdentity(e){if(void 0===e)throw new n.AZ('Missing required parameter: "identityId"');const i="/users/identities/{identityId}".replace("{identityId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async createMD5User(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.password=t),void 0!==a&&(o.name=a);const r=new URL(this.client.config.endpoint+"/users/md5");return await this.client.call("post",r,{"content-type":"application/json"},o)}async createPHPassUser(e,i,t,a){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const o={};void 0!==e&&(o.userId=e),void 0!==i&&(o.email=i),void 0!==t&&(o.password=t),void 0!==a&&(o.name=a);const r=new URL(this.client.config.endpoint+"/users/phpass");return await this.client.call("post",r,{"content-type":"application/json"},o)}async createScryptUser(e,i,t,a,o,r,s,c,d){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');if(void 0===a)throw new n.AZ('Missing required parameter: "passwordSalt"');if(void 0===o)throw new n.AZ('Missing required parameter: "passwordCpu"');if(void 0===r)throw new n.AZ('Missing required parameter: "passwordMemory"');if(void 0===s)throw new n.AZ('Missing required parameter: "passwordParallel"');if(void 0===c)throw new n.AZ('Missing required parameter: "passwordLength"');const l={};void 0!==e&&(l.userId=e),void 0!==i&&(l.email=i),void 0!==t&&(l.password=t),void 0!==a&&(l.passwordSalt=a),void 0!==o&&(l.passwordCpu=o),void 0!==r&&(l.passwordMemory=r),void 0!==s&&(l.passwordParallel=s),void 0!==c&&(l.passwordLength=c),void 0!==d&&(l.name=d);const p=new URL(this.client.config.endpoint+"/users/scrypt");return await this.client.call("post",p,{"content-type":"application/json"},l)}async createScryptModifiedUser(e,i,t,a,o,r,s){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');if(void 0===a)throw new n.AZ('Missing required parameter: "passwordSalt"');if(void 0===o)throw new n.AZ('Missing required parameter: "passwordSaltSeparator"');if(void 0===r)throw new n.AZ('Missing required parameter: "passwordSignerKey"');const c={};void 0!==e&&(c.userId=e),void 0!==i&&(c.email=i),void 0!==t&&(c.password=t),void 0!==a&&(c.passwordSalt=a),void 0!==o&&(c.passwordSaltSeparator=o),void 0!==r&&(c.passwordSignerKey=r),void 0!==s&&(c.name=s);const d=new URL(this.client.config.endpoint+"/users/scrypt-modified");return await this.client.call("post",d,{"content-type":"application/json"},c)}async createSHAUser(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');if(void 0===t)throw new n.AZ('Missing required parameter: "password"');const r={};void 0!==e&&(r.userId=e),void 0!==i&&(r.email=i),void 0!==t&&(r.password=t),void 0!==a&&(r.passwordVersion=a),void 0!==o&&(r.name=o);const s=new URL(this.client.config.endpoint+"/users/sha");return await this.client.call("post",s,{"content-type":"application/json"},r)}async get(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async delete(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async updateEmail(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "email"');const t="/users/{userId}/email".replace("{userId}",e),a={};void 0!==i&&(a.email=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async createJWT(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const a="/users/{userId}/jwts".replace("{userId}",e),o={};void 0!==i&&(o.sessionId=i),void 0!==t&&(o.duration=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("post",r,{"content-type":"application/json"},o)}async updateLabels(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "labels"');const t="/users/{userId}/labels".replace("{userId}",e),a={};void 0!==i&&(a.labels=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("put",o,{"content-type":"application/json"},a)}async listLogs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const t="/users/{userId}/logs".replace("{userId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async listMemberships(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/memberships".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateMfa(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "mfa"');const t="/users/{userId}/mfa".replace("{userId}",e),a={};void 0!==i&&(a.mfa=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async deleteMfaAuthenticator(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "type"');const t="/users/{userId}/mfa/authenticators/{type}".replace("{userId}",e).replace("{type}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async listMfaFactors(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/mfa/factors".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async getMfaRecoveryCodes(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/mfa/recovery-codes".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updateMfaRecoveryCodes(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/mfa/recovery-codes".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("put",t,{"content-type":"application/json"},{})}async createMfaRecoveryCodes(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/mfa/recovery-codes".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("patch",t,{"content-type":"application/json"},{})}async updateName(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "name"');const t="/users/{userId}/name".replace("{userId}",e),a={};void 0!==i&&(a.name=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async updatePassword(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "password"');const t="/users/{userId}/password".replace("{userId}",e),a={};void 0!==i&&(a.password=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async updatePhone(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "number"');const t="/users/{userId}/phone".replace("{userId}",e),a={};void 0!==i&&(a.number=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async getPrefs(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/prefs".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async updatePrefs(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "prefs"');const t="/users/{userId}/prefs".replace("{userId}",e),a={};void 0!==i&&(a.prefs=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async listSessions(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/sessions".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("get",t,{"content-type":"application/json"},{})}async createSession(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/sessions".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("post",t,{"content-type":"application/json"},{})}async deleteSessions(e){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const i="/users/{userId}/sessions".replace("{userId}",e),t=new URL(this.client.config.endpoint+i);return await this.client.call("delete",t,{"content-type":"application/json"},{})}async deleteSession(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "sessionId"');const t="/users/{userId}/sessions/{sessionId}".replace("{userId}",e).replace("{sessionId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async updateStatus(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "status"');const t="/users/{userId}/status".replace("{userId}",e),a={};void 0!==i&&(a.status=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async listTargets(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const t="/users/{userId}/targets".replace("{userId}",e),a={};void 0!==i&&(a.queries=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("get",o,{"content-type":"application/json"},a)}async createTarget(e,i,t,a,o,r){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "targetId"');if(void 0===t)throw new n.AZ('Missing required parameter: "providerType"');if(void 0===a)throw new n.AZ('Missing required parameter: "identifier"');const s="/users/{userId}/targets".replace("{userId}",e),c={};void 0!==i&&(c.targetId=i),void 0!==t&&(c.providerType=t),void 0!==a&&(c.identifier=a),void 0!==o&&(c.providerId=o),void 0!==r&&(c.name=r);const d=new URL(this.client.config.endpoint+s);return await this.client.call("post",d,{"content-type":"application/json"},c)}async getTarget(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "targetId"');const t="/users/{userId}/targets/{targetId}".replace("{userId}",e).replace("{targetId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("get",a,{"content-type":"application/json"},{})}async updateTarget(e,i,t,a,o){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "targetId"');const r="/users/{userId}/targets/{targetId}".replace("{userId}",e).replace("{targetId}",i),s={};void 0!==t&&(s.identifier=t),void 0!==a&&(s.providerId=a),void 0!==o&&(s.name=o);const c=new URL(this.client.config.endpoint+r);return await this.client.call("patch",c,{"content-type":"application/json"},s)}async deleteTarget(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "targetId"');const t="/users/{userId}/targets/{targetId}".replace("{userId}",e).replace("{targetId}",i),a=new URL(this.client.config.endpoint+t);return await this.client.call("delete",a,{"content-type":"application/json"},{})}async createToken(e,i,t){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');const a="/users/{userId}/tokens".replace("{userId}",e),o={};void 0!==i&&(o.length=i),void 0!==t&&(o.expire=t);const r=new URL(this.client.config.endpoint+a);return await this.client.call("post",r,{"content-type":"application/json"},o)}async updateEmailVerification(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "emailVerification"');const t="/users/{userId}/verification".replace("{userId}",e),a={};void 0!==i&&(a.emailVerification=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}async updatePhoneVerification(e,i){if(void 0===e)throw new n.AZ('Missing required parameter: "userId"');if(void 0===i)throw new n.AZ('Missing required parameter: "phoneVerification"');const t="/users/{userId}/verification/phone".replace("{userId}",e),a={};void 0!==i&&(a.phoneVerification=i);const o=new URL(this.client.config.endpoint+t);return await this.client.call("patch",o,{"content-type":"application/json"},a)}}}};
|
package/build/4289.index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const __webpack_esm_id__=4289;export const __webpack_esm_ids__=[4289];export const __webpack_esm_modules__={64289:(c,e,_)=>{_.r(e),_.d(e,{mailSvg:()=>o});const o=_(52788).JW`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
package/build/4319.index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const __webpack_esm_id__=4319;export const __webpack_esm_ids__=[4319];export const __webpack_esm_modules__={64319:(_,e,o)=>{o.r(e),o.d(e,{moreSvg:()=>s});const s=o(52788).JW`<svg fill="none" viewBox="0 0 41 40">
|
|
2
2
|
<path
|
|
3
3
|
style="fill: var(--wui-color-fg-100);"
|
|
4
4
|
fill-opacity=".05"
|