@zeroin.earth/appwrite-graphql 0.16.4 → 22.4.1
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/README.md +1 -111
- package/dist/index.cjs +1072 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +17911 -0
- package/dist/index.d.ts +14470 -2559
- package/dist/index.js +738 -121
- package/dist/index.js.map +1 -1
- package/package.json +39 -23
- package/react-native/index.cjs +1071 -0
- package/react-native/index.d.cts +17911 -0
- package/dist/index.d.mts +0 -6000
- package/dist/index.mjs +0 -395
- package/dist/index.mjs.map +0 -1
- package/react-native/index.d.ts +0 -6000
- package/react-native/index.js +0 -453
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,1072 @@
|
|
|
1
|
+
'use strict';var jotai=require('jotai'),graphql=require('graphql'),appwrite=require('appwrite'),reactQuery=require('@tanstack/react-query'),utils=require('jotai/utils'),immer=require('immer');var Qa=Object.create;var tn=Object.defineProperty;var Ga=Object.getOwnPropertyDescriptor;var Oa=Object.getOwnPropertyNames;var Ka=Object.getPrototypeOf,Ba=Object.prototype.hasOwnProperty;var Se=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Ja=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of Oa(n))!Ba.call(e,t)&&t!==r&&tn(e,t,{get:()=>n[t],enumerable:!(i=Ga(n,t))||i.enumerable});return e};var w=(e,n,r)=>(r=e!=null?Qa(Ka(e)):{},Ja(tn(r,"default",{value:e,enumerable:true}),e));var ca=Se(v=>{var he=Symbol.for("react.transitional.element"),li=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),ci=Symbol.for("react.strict_mode"),pi=Symbol.for("react.profiler"),yi=Symbol.for("react.consumer"),ki=Symbol.for("react.context"),fi=Symbol.for("react.forward_ref"),gi=Symbol.for("react.suspense"),Si=Symbol.for("react.memo"),oa=Symbol.for("react.lazy"),na=Symbol.iterator;function bi(e){return e===null||typeof e!="object"?null:(e=na&&e[na]||e["@@iterator"],typeof e=="function"?e:null)}var sa={isMounted:function(){return false},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ua=Object.assign,da={};function K(e,n,r){this.props=e,this.context=n,this.refs=da,this.updater=r||sa;}K.prototype.isReactComponent={};K.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState");};K.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate");};function la(){}la.prototype=K.prototype;function xe(e,n,r){this.props=e,this.context=n,this.refs=da,this.updater=r||sa;}var Te=xe.prototype=new la;Te.constructor=xe;ua(Te,K.prototype);Te.isPureReactComponent=true;var ta=Array.isArray,T={H:null,A:null,T:null,S:null,V:null},ma=Object.prototype.hasOwnProperty;function Ce(e,n,r,i,t,s){return r=s.ref,{$$typeof:he,type:e,key:n,ref:r!==void 0?r:null,props:s}}function vi(e,n){return Ce(e.type,n,void 0,void 0,void 0,e.props)}function Ae(e){return typeof e=="object"&&e!==null&&e.$$typeof===he}function Ii(e){var n={"=":"=0",":":"=2"};return "$"+e.replace(/[=:]/g,function(r){return n[r]})}var aa=/\/+/g;function Me(e,n){return typeof e=="object"&&e!==null&&e.key!=null?Ii(""+e.key):n.toString(36)}function ia(){}function Ni(e){switch(e.status){case "fulfilled":return e.value;case "rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(ia,ia):(e.status="pending",e.then(function(n){e.status==="pending"&&(e.status="fulfilled",e.value=n);},function(n){e.status==="pending"&&(e.status="rejected",e.reason=n);})),e.status){case "fulfilled":return e.value;case "rejected":throw e.reason}}throw e}function O(e,n,r,i,t){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var l=false;if(e===null)l=true;else switch(s){case "bigint":case "string":case "number":l=true;break;case "object":switch(e.$$typeof){case he:case li:l=true;break;case oa:return l=e._init,O(l(e._payload),n,r,i,t)}}if(l)return t=t(e),l=i===""?"."+Me(e,0):i,ta(t)?(r="",l!=null&&(r=l.replace(aa,"$&/")+"/"),O(t,n,r,"",function(I){return I})):t!=null&&(Ae(t)&&(t=vi(t,r+(t.key==null||e&&e.key===t.key?"":(""+t.key).replace(aa,"$&/")+"/")+l)),n.push(t)),1;l=0;var p=i===""?".":i+":";if(ta(e))for(var y=0;y<e.length;y++)i=e[y],s=p+Me(i,y),l+=O(i,n,r,s,t);else if(y=bi(e),typeof y=="function")for(e=y.call(e),y=0;!(i=e.next()).done;)i=i.value,s=p+Me(i,y++),l+=O(i,n,r,s,t);else if(s==="object"){if(typeof e.then=="function")return O(Ni(e),n,r,i,t);throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return l}function oe(e,n,r){if(e==null)return e;var i=[],t=0;return O(e,i,"","",function(s){return n.call(r,s,t++)}),i}function Di(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r);},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r);}),e._status===-1&&(e._status=0,e._result=n);}if(e._status===1)return e._result.default;throw e._result}var ra=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:true,cancelable:true,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e);};function $i(){}v.Children={map:oe,forEach:function(e,n,r){oe(e,function(){n.apply(this,arguments);},r);},count:function(e){var n=0;return oe(e,function(){n++;}),n},toArray:function(e){return oe(e,function(n){return n})||[]},only:function(e){if(!Ae(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};v.Component=K;v.Fragment=mi;v.Profiler=pi;v.PureComponent=xe;v.StrictMode=ci;v.Suspense=gi;v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T;v.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}};v.cache=function(e){return function(){return e.apply(null,arguments)}};v.cloneElement=function(e,n,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=ua({},e.props),t=e.key,s=void 0;if(n!=null)for(l in n.ref!==void 0&&(s=void 0),n.key!==void 0&&(t=""+n.key),n)!ma.call(n,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&n.ref===void 0||(i[l]=n[l]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var p=Array(l),y=0;y<l;y++)p[y]=arguments[y+2];i.children=p;}return Ce(e.type,t,void 0,void 0,s,i)};v.createContext=function(e){return e={$$typeof:ki,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:yi,_context:e},e};v.createElement=function(e,n,r){var i,t={},s=null;if(n!=null)for(i in n.key!==void 0&&(s=""+n.key),n)ma.call(n,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(t[i]=n[i]);var l=arguments.length-2;if(l===1)t.children=r;else if(1<l){for(var p=Array(l),y=0;y<l;y++)p[y]=arguments[y+2];t.children=p;}if(e&&e.defaultProps)for(i in l=e.defaultProps,l)t[i]===void 0&&(t[i]=l[i]);return Ce(e,s,void 0,void 0,null,t)};v.createRef=function(){return {current:null}};v.forwardRef=function(e){return {$$typeof:fi,render:e}};v.isValidElement=Ae;v.lazy=function(e){return {$$typeof:oa,_payload:{_status:-1,_result:e},_init:Di}};v.memo=function(e,n){return {$$typeof:Si,type:e,compare:n===void 0?null:n}};v.startTransition=function(e){var n=T.T,r={};T.T=r;try{var i=e(),t=T.S;t!==null&&t(r,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then($i,ra);}catch(s){ra(s);}finally{T.T=n;}};v.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()};v.use=function(e){return T.H.use(e)};v.useActionState=function(e,n,r){return T.H.useActionState(e,n,r)};v.useCallback=function(e,n){return T.H.useCallback(e,n)};v.useContext=function(e){return T.H.useContext(e)};v.useDebugValue=function(){};v.useDeferredValue=function(e,n){return T.H.useDeferredValue(e,n)};v.useEffect=function(e,n,r){var i=T.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return i.useEffect(e,n)};v.useId=function(){return T.H.useId()};v.useImperativeHandle=function(e,n,r){return T.H.useImperativeHandle(e,n,r)};v.useInsertionEffect=function(e,n){return T.H.useInsertionEffect(e,n)};v.useLayoutEffect=function(e,n){return T.H.useLayoutEffect(e,n)};v.useMemo=function(e,n){return T.H.useMemo(e,n)};v.useOptimistic=function(e,n){return T.H.useOptimistic(e,n)};v.useReducer=function(e,n,r){return T.H.useReducer(e,n,r)};v.useRef=function(e){return T.H.useRef(e)};v.useState=function(e){return T.H.useState(e)};v.useSyncExternalStore=function(e,n,r){return T.H.useSyncExternalStore(e,n,r)};v.useTransition=function(){return T.H.useTransition()};v.version="19.1.0";});var pa=Se((b,se)=>{process.env.NODE_ENV!=="production"&&(function(){function e(a,d){Object.defineProperty(i.prototype,a,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1]);}});}function n(a){return a===null||typeof a!="object"?null:(a=Ge&&a[Ge]||a["@@iterator"],typeof a=="function"?a:null)}function r(a,d){a=(a=a.constructor)&&(a.displayName||a.name)||"ReactClass";var k=a+"."+d;Oe[k]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",d,a),Oe[k]=true);}function i(a,d,k){this.props=a,this.context=d,this.refs=fe,this.updater=k||Ke;}function t(){}function s(a,d,k){this.props=a,this.context=d,this.refs=fe,this.updater=k||Ke;}function l(a){return ""+a}function p(a){try{l(a);var d=!1;}catch{d=true;}if(d){d=console;var k=d.error,f=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return k.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",f),l(a)}}function y(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Ea?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case pe:return "Fragment";case Le:return "Profiler";case Fe:return "StrictMode";case Qe:return "Suspense";case Va:return "SuspenseList";case Ua:return "Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case Ee:return "Portal";case Pe:return (a.displayName||"Context")+".Provider";case ye:return (a._context.displayName||"Context")+".Consumer";case Re:var d=a.render;return a=a.displayName,a||(a=d.displayName||d.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case ke:return d=a.displayName||null,d!==null?d:y(a.type)||"Memo";case X:d=a._payload,a=a._init;try{return y(a(d))}catch{}}return null}function I(a){if(a===pe)return "<>";if(typeof a=="object"&&a!==null&&a.$$typeof===X)return "<...>";try{var d=y(a);return d?"<"+d+">":"<...>"}catch{return "<...>"}}function h(){var a=$.A;return a===null?null:a.getOwner()}function A(){return Error("react-stack-top-frame")}function C(a){if(ee.call(a,"key")){var d=Object.getOwnPropertyDescriptor(a,"key").get;if(d&&d.isReactWarning)return false}return a.key!==void 0}function F(a,d){function k(){We||(We=true,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",d));}k.isReactWarning=true,Object.defineProperty(a,"key",{get:k,configurable:true});}function L(){var a=y(this.type);return Ye[a]||(Ye[a]=true,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function P(a,d,k,f,S,M,N,x){return k=M.ref,a={$$typeof:ce,type:a,key:d,props:M,_owner:S},(k!==void 0?k:null)!==null?Object.defineProperty(a,"ref",{enumerable:false,get:L}):Object.defineProperty(a,"ref",{enumerable:false,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:false,enumerable:false,writable:true,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:false,enumerable:false,writable:true,value:null}),Object.defineProperty(a,"_debugStack",{configurable:false,enumerable:false,writable:true,value:N}),Object.defineProperty(a,"_debugTask",{configurable:false,enumerable:false,writable:true,value:x}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function ue(a,d){return d=P(a.type,d,void 0,void 0,a._owner,a.props,a._debugStack,a._debugTask),a._store&&(d._store.validated=a._store.validated),d}function U(a){return typeof a=="object"&&a!==null&&a.$$typeof===ce}function Ve(a){var d={"=":"=0",":":"=2"};return "$"+a.replace(/[=:]/g,function(k){return d[k]})}function de(a,d){return typeof a=="object"&&a!==null&&a.key!=null?(p(a.key),Ve(""+a.key)):d.toString(36)}function Ue(){}function _a(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch(typeof a.status=="string"?a.then(Ue,Ue):(a.status="pending",a.then(function(d){a.status==="pending"&&(a.status="fulfilled",a.value=d);},function(d){a.status==="pending"&&(a.status="rejected",a.reason=d);})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason}}throw a}function R(a,d,k,f,S){var M=typeof a;(M==="undefined"||M==="boolean")&&(a=null);var N=false;if(a===null)N=true;else switch(M){case "bigint":case "string":case "number":N=true;break;case "object":switch(a.$$typeof){case ce:case Ee:N=true;break;case X:return N=a._init,R(N(a._payload),d,k,f,S)}}if(N){N=a,S=S(N);var x=f===""?"."+de(N,0):f;return Je(S)?(k="",x!=null&&(k=x.replace(Xe,"$&/")+"/"),R(S,d,k,"",function(E){return E})):S!=null&&(U(S)&&(S.key!=null&&(N&&N.key===S.key||p(S.key)),k=ue(S,k+(S.key==null||N&&N.key===S.key?"":(""+S.key).replace(Xe,"$&/")+"/")+x),f!==""&&N!=null&&U(N)&&N.key==null&&N._store&&!N._store.validated&&(k._store.validated=2),S=k),d.push(S)),1}if(N=0,x=f===""?".":f+":",Je(a))for(var D=0;D<a.length;D++)f=a[D],M=x+de(f,D),N+=R(f,d,k,M,S);else if(D=n(a),typeof D=="function")for(D===a.entries&&(He||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),He=true),a=D.call(a),D=0;!(f=a.next()).done;)f=f.value,M=x+de(f,D++),N+=R(f,d,k,M,S);else if(M==="object"){if(typeof a.then=="function")return R(_a(a),d,k,f,S);throw d=String(a),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return N}function z(a,d,k){if(a==null)return a;var f=[],S=0;return R(a,f,"","",function(M){return d.call(k,M,S++)}),f}function qa(a){if(a._status===-1){var d=a._result;d=d(),d.then(function(k){(a._status===0||a._status===-1)&&(a._status=1,a._result=k);},function(k){(a._status===0||a._status===-1)&&(a._status=2,a._result=k);}),a._status===-1&&(a._status=0,a._result=d);}if(a._status===1)return d=a._result,d===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,d),"default"in d||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,d),d.default;throw a._result}function _(){var a=$.H;return a===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function wa(){}function Y(a){if(ne===null)try{var d=("require"+Math.random()).slice(0,7);ne=(se&&se[d]).call(se,"timers").setImmediate;}catch{ne=function(f){en===false&&(en=true,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var S=new MessageChannel;S.port1.onmessage=f,S.port2.postMessage(void 0);};}return ne(a)}function B(a){return 1<a.length&&typeof AggregateError=="function"?new AggregateError(a):a[0]}function H(a,d){d!==te-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),te=d;}function le(a,d,k){var f=$.actQueue;if(f!==null)if(f.length!==0)try{me(f),Y(function(){return le(a,d,k)});return}catch(S){$.thrownErrors.push(S);}else $.actQueue=null;0<$.thrownErrors.length?(f=B($.thrownErrors),$.thrownErrors.length=0,k(f)):d(a);}function me(a){if(!ge){ge=true;var d=0;try{for(;d<a.length;d++){var k=a[d];do{$.didUsePromise=!1;var f=k(!1);if(f!==null){if($.didUsePromise){a[d]=k,a.splice(0,d);return}k=f;}else break}while(!0)}a.length=0;}catch(S){a.splice(0,d+1),$.thrownErrors.push(S);}finally{ge=false;}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ce=Symbol.for("react.transitional.element"),Ee=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),Le=Symbol.for("react.profiler"),ye=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),Re=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),Va=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),Ua=Symbol.for("react.activity"),Ge=Symbol.iterator,Oe={},Ke={isMounted:function(){return false},enqueueForceUpdate:function(a){r(a,"forceUpdate");},enqueueReplaceState:function(a){r(a,"replaceState");},enqueueSetState:function(a){r(a,"setState");}},Be=Object.assign,fe={};Object.freeze(fe),i.prototype.isReactComponent={},i.prototype.setState=function(a,d){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,d,"setState");},i.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};var V={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Z;for(Z in V)V.hasOwnProperty(Z)&&e(Z,V[Z]);t.prototype=i.prototype,V=s.prototype=new t,V.constructor=s,Be(V,i.prototype),V.isPureReactComponent=true;var Je=Array.isArray,Ea=Symbol.for("react.client.reference"),$={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:false,didScheduleLegacyUpdate:false,didUsePromise:false,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ee=Object.prototype.hasOwnProperty,je=console.createTask?console.createTask:function(){return null};V={"react-stack-bottom-frame":function(a){return a()}};var We,ze,Ye={},Fa=V["react-stack-bottom-frame"].bind(V,A)(),La=je(I(A)),He=false,Xe=/\/+/g,Ze=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var d=new window.ErrorEvent("error",{bubbles:true,cancelable:true,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(d))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a);},en=false,ne=null,te=0,ae=false,ge=false,nn=typeof queueMicrotask=="function"?function(a){queueMicrotask(function(){return queueMicrotask(a)});}:Y;V=Object.freeze({__proto__:null,c:function(a){return _().useMemoCache(a)}}),b.Children={map:z,forEach:function(a,d,k){z(a,function(){d.apply(this,arguments);},k);},count:function(a){var d=0;return z(a,function(){d++;}),d},toArray:function(a){return z(a,function(d){return d})||[]},only:function(a){if(!U(a))throw Error("React.Children.only expected to receive a single React element child.");return a}},b.Component=i,b.Fragment=pe,b.Profiler=Le,b.PureComponent=s,b.StrictMode=Fe,b.Suspense=Qe,b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,b.__COMPILER_RUNTIME=V,b.act=function(a){var d=$.actQueue,k=te;te++;var f=$.actQueue=d!==null?d:[],S=false;try{var M=a();}catch(D){$.thrownErrors.push(D);}if(0<$.thrownErrors.length)throw H(d,k),a=B($.thrownErrors),$.thrownErrors.length=0,a;if(M!==null&&typeof M=="object"&&typeof M.then=="function"){var N=M;return nn(function(){S||ae||(ae=true,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));}),{then:function(D,E){S=true,N.then(function(Q){if(H(d,k),k===0){try{me(f),Y(function(){return le(Q,D,E)});}catch(Ra){$.thrownErrors.push(Ra);}if(0<$.thrownErrors.length){var Pa=B($.thrownErrors);$.thrownErrors.length=0,E(Pa);}}else D(Q);},function(Q){H(d,k),0<$.thrownErrors.length&&(Q=B($.thrownErrors),$.thrownErrors.length=0),E(Q);});}}}var x=M;if(H(d,k),k===0&&(me(f),f.length!==0&&nn(function(){S||ae||(ae=true,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));}),$.actQueue=null),0<$.thrownErrors.length)throw a=B($.thrownErrors),$.thrownErrors.length=0,a;return {then:function(D,E){S=true,k===0?($.actQueue=f,Y(function(){return le(x,D,E)})):D(x);}}},b.cache=function(a){return function(){return a.apply(null,arguments)}},b.captureOwnerStack=function(){var a=$.getCurrentStack;return a===null?null:a()},b.cloneElement=function(a,d,k){if(a==null)throw Error("The argument must be a React element, but you passed "+a+".");var f=Be({},a.props),S=a.key,M=a._owner;if(d!=null){var N;e:{if(ee.call(d,"ref")&&(N=Object.getOwnPropertyDescriptor(d,"ref").get)&&N.isReactWarning){N=false;break e}N=d.ref!==void 0;}N&&(M=h()),C(d)&&(p(d.key),S=""+d.key);for(x in d)!ee.call(d,x)||x==="key"||x==="__self"||x==="__source"||x==="ref"&&d.ref===void 0||(f[x]=d[x]);}var x=arguments.length-2;if(x===1)f.children=k;else if(1<x){N=Array(x);for(var D=0;D<x;D++)N[D]=arguments[D+2];f.children=N;}for(f=P(a.type,S,void 0,void 0,M,f,a._debugStack,a._debugTask),S=2;S<arguments.length;S++)M=arguments[S],U(M)&&M._store&&(M._store.validated=1);return f},b.createContext=function(a){return a={$$typeof:Pe,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null},a.Provider=a,a.Consumer={$$typeof:ye,_context:a},a._currentRenderer=null,a._currentRenderer2=null,a},b.createElement=function(a,d,k){for(var f=2;f<arguments.length;f++){var S=arguments[f];U(S)&&S._store&&(S._store.validated=1);}if(f={},S=null,d!=null)for(D in ze||!("__self"in d)||"key"in d||(ze=true,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),C(d)&&(p(d.key),S=""+d.key),d)ee.call(d,D)&&D!=="key"&&D!=="__self"&&D!=="__source"&&(f[D]=d[D]);var M=arguments.length-2;if(M===1)f.children=k;else if(1<M){for(var N=Array(M),x=0;x<M;x++)N[x]=arguments[x+2];Object.freeze&&Object.freeze(N),f.children=N;}if(a&&a.defaultProps)for(D in M=a.defaultProps,M)f[D]===void 0&&(f[D]=M[D]);S&&F(f,typeof a=="function"?a.displayName||a.name||"Unknown":a);var D=1e4>$.recentlyCreatedOwnerStacks++;return P(a,S,void 0,void 0,h(),f,D?Error("react-stack-top-frame"):Fa,D?je(I(a)):La)},b.createRef=function(){var a={current:null};return Object.seal(a),a},b.forwardRef=function(a){a!=null&&a.$$typeof===ke?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?console.error("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&a.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var d={$$typeof:Re,render:a},k;return Object.defineProperty(d,"displayName",{enumerable:false,configurable:true,get:function(){return k},set:function(f){k=f,a.name||a.displayName||(Object.defineProperty(a,"name",{value:f}),a.displayName=f);}}),d},b.isValidElement=U,b.lazy=function(a){return {$$typeof:X,_payload:{_status:-1,_result:a},_init:qa}},b.memo=function(a,d){a==null&&console.error("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),d={$$typeof:ke,type:a,compare:d===void 0?null:d};var k;return Object.defineProperty(d,"displayName",{enumerable:false,configurable:true,get:function(){return k},set:function(f){k=f,a.name||a.displayName||(Object.defineProperty(a,"name",{value:f}),a.displayName=f);}}),d},b.startTransition=function(a){var d=$.T,k={};$.T=k,k._updatedFibers=new Set;try{var f=a(),S=$.S;S!==null&&S(k,f),typeof f=="object"&&f!==null&&typeof f.then=="function"&&f.then(wa,Ze);}catch(M){Ze(M);}finally{d===null&&k._updatedFibers&&(a=k._updatedFibers.size,k._updatedFibers.clear(),10<a&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),$.T=d;}},b.unstable_useCacheRefresh=function(){return _().useCacheRefresh()},b.use=function(a){return _().use(a)},b.useActionState=function(a,d,k){return _().useActionState(a,d,k)},b.useCallback=function(a,d){return _().useCallback(a,d)},b.useContext=function(a){var d=_();return a.$$typeof===ye&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),d.useContext(a)},b.useDebugValue=function(a,d){return _().useDebugValue(a,d)},b.useDeferredValue=function(a,d){return _().useDeferredValue(a,d)},b.useEffect=function(a,d,k){a==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var f=_();if(typeof k=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return f.useEffect(a,d)},b.useId=function(){return _().useId()},b.useImperativeHandle=function(a,d,k){return _().useImperativeHandle(a,d,k)},b.useInsertionEffect=function(a,d){return a==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),_().useInsertionEffect(a,d)},b.useLayoutEffect=function(a,d){return a==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),_().useLayoutEffect(a,d)},b.useMemo=function(a,d){return _().useMemo(a,d)},b.useOptimistic=function(a,d){return _().useOptimistic(a,d)},b.useReducer=function(a,d,k){return _().useReducer(a,d,k)},b.useRef=function(a){return _().useRef(a)},b.useState=function(a){return _().useState(a)},b.useSyncExternalStore=function(a,d,k){return _().useSyncExternalStore(a,d,k)},b.useTransition=function(){return _().useTransition()},b.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());})();});var q=Se((vd,_e)=>{process.env.NODE_ENV==="production"?_e.exports=ca():_e.exports=pa();});function ja(e,n){return n}var an={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Account_User"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"prefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},rn={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Identity_Provider"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Identity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"provider"}}]}}]},on={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountGet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountGet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Account_User"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Account_User"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"prefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},sn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateAnonymousSession"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateAnonymousSession"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},un={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateEmailToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phrase"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateEmailToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"phrase"},value:{kind:"Variable",name:{kind:"Name",value:"phrase"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},dn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateEmailVerification"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateEmailVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"secret"}},{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},ln={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateJWT"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateJWT"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jwt"}}]}}]}}]},mn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateMagicURLToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phrase"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateMagicURLToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}},{kind:"Argument",name:{kind:"Name",value:"phrase"},value:{kind:"Variable",name:{kind:"Name",value:"phrase"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},cn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateMfaAuthenticator"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateMfaAuthenticator"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"secret"}},{kind:"Field",name:{kind:"Name",value:"uri"}}]}}]}}]},pn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateMfaChallenge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"factor"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateMfaChallenge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"factor"},value:{kind:"Variable",name:{kind:"Name",value:"factor"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},yn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recoveryCodes"}}]}}]}}]},kn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreatePhoneToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phone"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreatePhoneToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"phone"},value:{kind:"Variable",name:{kind:"Name",value:"phone"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},fn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreatePhoneVerification"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreatePhoneVerification"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},gn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreatePushTarget"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identifier"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"providerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreatePushTarget"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetId"},value:{kind:"Variable",name:{kind:"Name",value:"targetId"}}},{kind:"Argument",name:{kind:"Name",value:"identifier"},value:{kind:"Variable",name:{kind:"Name",value:"identifier"}}},{kind:"Argument",name:{kind:"Name",value:"providerId"},value:{kind:"Variable",name:{kind:"Name",value:"providerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"providerType"}},{kind:"Field",name:{kind:"Name",value:"identifier"}}]}}]}}]},Sn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},bn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteAccount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDelete"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},vn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteIdentity"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDeleteIdentity"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identityId"},value:{kind:"Variable",name:{kind:"Name",value:"identityId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},In={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteMfaAuthenticator"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDeleteMfaAuthenticator"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Nn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeletePushTarget"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDeletePushTarget"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetId"},value:{kind:"Variable",name:{kind:"Name",value:"targetId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Dn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sessionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDeleteSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sessionId"},value:{kind:"Variable",name:{kind:"Name",value:"sessionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},$n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDeleteSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Mn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountGetMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recoveryCodes"}}]}}]}}]},hn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPrefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountGetPrefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},xn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sessionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountGetSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sessionId"},value:{kind:"Variable",name:{kind:"Name",value:"sessionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},Tn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListIdentities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountListIdentities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"identities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Identity_Provider"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Identity_Provider"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Identity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"provider"}}]}}]},Cn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListMfaFactors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountListMfaFactors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totp"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"email"}}]}}]}}]},An={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountListSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"osName"}},{kind:"Field",name:{kind:"Name",value:"clientName"}}]}}]}}]}}]},_n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateEmailPasswordSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateEmailPasswordSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},qn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListLogs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountListLogs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"logs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"event"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userEmail"}},{kind:"Field",name:{kind:"Name",value:"userName"}},{kind:"Field",name:{kind:"Name",value:"mode"}},{kind:"Field",name:{kind:"Name",value:"ip"}},{kind:"Field",name:{kind:"Name",value:"time"}},{kind:"Field",name:{kind:"Name",value:"osCode"}},{kind:"Field",name:{kind:"Name",value:"osName"}},{kind:"Field",name:{kind:"Name",value:"osVersion"}},{kind:"Field",name:{kind:"Name",value:"clientType"}},{kind:"Field",name:{kind:"Name",value:"clientCode"}},{kind:"Field",name:{kind:"Name",value:"clientName"}},{kind:"Field",name:{kind:"Name",value:"clientVersion"}},{kind:"Field",name:{kind:"Name",value:"clientEngine"}},{kind:"Field",name:{kind:"Name",value:"clientEngineVersion"}},{kind:"Field",name:{kind:"Name",value:"deviceName"}},{kind:"Field",name:{kind:"Name",value:"deviceBrand"}},{kind:"Field",name:{kind:"Name",value:"deviceModel"}},{kind:"Field",name:{kind:"Name",value:"countryCode"}},{kind:"Field",name:{kind:"Name",value:"countryName"}}]}}]}}]}}]},wn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateRecovery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateRecovery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},Vn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateRecovery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateRecovery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},Un={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateAccount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"email"}}]}}]}}]},En={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"VerifyEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountCreateVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},Fn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"email"}}]}}]}}]},Ln={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateEmailVerification"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateEmailVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"secret"}},{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},Pn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMagicURLSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateMagicURLSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},Rn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMFA"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mfa"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateMFA"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mfa"},value:{kind:"Variable",name:{kind:"Name",value:"mfa"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mfa"}}]}}]}}]},Qn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMfaAuthenticator"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"otp"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateMfaAuthenticator"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"otp"},value:{kind:"Variable",name:{kind:"Name",value:"otp"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mfa"}}]}}]}}]},Gn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMfaChallenge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"challengeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"otp"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateMfaChallenge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"challengeId"},value:{kind:"Variable",name:{kind:"Name",value:"challengeId"}}},{kind:"Argument",name:{kind:"Name",value:"otp"},value:{kind:"Variable",name:{kind:"Name",value:"otp"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},On={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateMfaRecoveryCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recoveryCodes"}}]}}]}}]},Kn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},Bn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePassword"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"oldPassword"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePassword"},arguments:[{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}},{kind:"Argument",name:{kind:"Name",value:"oldPassword"},value:{kind:"Variable",name:{kind:"Name",value:"oldPassword"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Jn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePhone"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phone"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePhone"},arguments:[{kind:"Argument",name:{kind:"Name",value:"phone"},value:{kind:"Variable",name:{kind:"Name",value:"phone"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phone"}}]}}]}}]},jn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePhoneSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePhoneSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},Wn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePhoneVerification"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePhoneVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expire"}}]}}]}}]},zn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePrefs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"prefs"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Assoc"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePrefs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"prefs"},value:{kind:"Variable",name:{kind:"Name",value:"prefs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"prefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]}}]},Yn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePushTarget"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identifier"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdatePushTarget"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetId"},value:{kind:"Variable",name:{kind:"Name",value:"targetId"}}},{kind:"Argument",name:{kind:"Name",value:"identifier"},value:{kind:"Variable",name:{kind:"Name",value:"identifier"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"providerType"}},{kind:"Field",name:{kind:"Name",value:"identifier"}}]}}]}}]},Hn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSession"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sessionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sessionId"},value:{kind:"Variable",name:{kind:"Name",value:"sessionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"current"}}]}}]}}]},Xn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateStatus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateStatus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Zn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateVerification"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountUpdateVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"secret"}},{kind:"Field",name:{kind:"Name",value:"expire"}},{kind:"Field",name:{kind:"Name",value:"userId"}}]}}]}}]},et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesListDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"documents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]}}]},nt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"permissions"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesCreateDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"permissions"},value:{kind:"Variable",name:{kind:"Name",value:"permissions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]},tt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documents"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesCreateDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documents"},value:{kind:"Variable",name:{kind:"Name",value:"documents"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"documents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]}}]},at={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateOperations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"operations"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesCreateOperations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"operations"},value:{kind:"Variable",name:{kind:"Name",value:"operations"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"operations"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]},it={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ttl"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesCreateTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ttl"},value:{kind:"Variable",name:{kind:"Name",value:"ttl"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"operations"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]},rt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DecrementDocumentAttribute"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"attribute"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"value"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"min"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesDecrementDocumentAttribute"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"attribute"},value:{kind:"Variable",name:{kind:"Name",value:"attribute"}}},{kind:"Argument",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"value"}}},{kind:"Argument",name:{kind:"Name",value:"min"},value:{kind:"Variable",name:{kind:"Name",value:"min"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},ot={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesDeleteDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},st={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesDeleteDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"documents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]}}]},ut={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesDeleteTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},dt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesGetDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},lt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesGetTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"operations"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]},mt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"IncrementDocumentAttribute"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"attribute"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"value"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"max"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesIncrementDocumentAttribute"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"attribute"},value:{kind:"Variable",name:{kind:"Name",value:"attribute"}}},{kind:"Argument",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"value"}}},{kind:"Argument",name:{kind:"Name",value:"max"},value:{kind:"Variable",name:{kind:"Name",value:"max"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},ct={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesListTransactions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"operations"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]}}]},pt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"permissions"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesUpdateDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"permissions"},value:{kind:"Variable",name:{kind:"Name",value:"permissions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]},yt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesUpdateDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"documents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]}}]},kt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"commit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rollback"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesUpdateTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"commit"},value:{kind:"Variable",name:{kind:"Name",value:"commit"}}},{kind:"Argument",name:{kind:"Name",value:"rollback"},value:{kind:"Variable",name:{kind:"Name",value:"rollback"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"operations"}}]}}]}}]},ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"permissions"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesUpsertDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"permissions"},value:{kind:"Variable",name:{kind:"Name",value:"permissions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]},gt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"databaseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documents"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Json"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databasesUpsertDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"databaseId"},value:{kind:"Variable",name:{kind:"Name",value:"databaseId"}}},{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"documents"},value:{kind:"Variable",name:{kind:"Name",value:"documents"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"documents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}}]}}]}}]}}]},St={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateExecution"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"functionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"body"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"async"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"method"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"functionsCreateExecution"},arguments:[{kind:"Argument",name:{kind:"Name",value:"functionId"},value:{kind:"Variable",name:{kind:"Name",value:"functionId"}}},{kind:"Argument",name:{kind:"Name",value:"body"},value:{kind:"Variable",name:{kind:"Name",value:"body"}}},{kind:"Argument",name:{kind:"Name",value:"async"},value:{kind:"Variable",name:{kind:"Name",value:"async"}}},{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"method"},value:{kind:"Variable",name:{kind:"Name",value:"method"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"responseStatusCode"}},{kind:"Field",name:{kind:"Name",value:"responseBody"}},{kind:"Field",name:{kind:"Name",value:"errors"}},{kind:"Field",name:{kind:"Name",value:"duration"}}]}}]}}]},bt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFunctionExecution"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"functionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"executionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"functionsGetExecution"},arguments:[{kind:"Argument",name:{kind:"Name",value:"functionId"},value:{kind:"Variable",name:{kind:"Name",value:"functionId"}}},{kind:"Argument",name:{kind:"Name",value:"executionId"},value:{kind:"Variable",name:{kind:"Name",value:"executionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"errors"}},{kind:"Field",name:{kind:"Name",value:"duration"}},{kind:"Field",name:{kind:"Name",value:"responseBody"}},{kind:"Field",name:{kind:"Name",value:"requestPath"}}]}}]}}]},vt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetExecution"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"functionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"executionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"functionsGetExecution"},arguments:[{kind:"Argument",name:{kind:"Name",value:"functionId"},value:{kind:"Variable",name:{kind:"Name",value:"functionId"}}},{kind:"Argument",name:{kind:"Name",value:"executionId"},value:{kind:"Variable",name:{kind:"Name",value:"executionId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"functionId"}},{kind:"Field",name:{kind:"Name",value:"trigger"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"requestMethod"}},{kind:"Field",name:{kind:"Name",value:"requestPath"}},{kind:"Field",name:{kind:"Name",value:"responseStatusCode"}},{kind:"Field",name:{kind:"Name",value:"responseBody"}},{kind:"Field",name:{kind:"Name",value:"errors"}},{kind:"Field",name:{kind:"Name",value:"duration"}}]}}]}}]},It={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListExecutions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"functionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"functionsListExecutions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"functionId"},value:{kind:"Variable",name:{kind:"Name",value:"functionId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"executions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"functionId"}},{kind:"Field",name:{kind:"Name",value:"trigger"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"requestMethod"}},{kind:"Field",name:{kind:"Name",value:"requestPath"}},{kind:"Field",name:{kind:"Name",value:"responseStatusCode"}},{kind:"Field",name:{kind:"Name",value:"responseBody"}},{kind:"Field",name:{kind:"Name",value:"errors"}},{kind:"Field",name:{kind:"Name",value:"duration"}}]}}]}}]}}]},Nt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLocale"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeGet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ip"}},{kind:"Field",name:{kind:"Name",value:"countryCode"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"continentCode"}},{kind:"Field",name:{kind:"Name",value:"continent"}},{kind:"Field",name:{kind:"Name",value:"eu"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]},Dt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListLocaleCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"localeCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},$t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListContinents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListContinents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"continents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]}}]},Mt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"countries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]}}]},ht={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListCountriesEU"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListCountriesEU"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"countries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]}}]},xt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListCountriesPhones"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListCountriesPhones"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"phones"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"countryCode"}},{kind:"Field",name:{kind:"Name",value:"countryName"}}]}}]}}]}}]},Tt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListCurrencies"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListCurrencies"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"currencies"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"symbol"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"symbolNative"}},{kind:"Field",name:{kind:"Name",value:"decimalDigits"}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"namePlural"}}]}}]}}]}}]},Ct={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListLanguages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeListLanguages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"languages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"nativeName"}}]}}]}}]}}]},At={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bucketId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fileId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"file"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"permissions"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storageCreateFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bucketId"},value:{kind:"Variable",name:{kind:"Name",value:"bucketId"}}},{kind:"Argument",name:{kind:"Name",value:"fileId"},value:{kind:"Variable",name:{kind:"Name",value:"fileId"}}},{kind:"Argument",name:{kind:"Name",value:"file"},value:{kind:"Variable",name:{kind:"Name",value:"file"}}},{kind:"Argument",name:{kind:"Name",value:"permissions"},value:{kind:"Variable",name:{kind:"Name",value:"permissions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"bucketId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"sizeOriginal"}}]}}]}}]},_t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bucketId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fileId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storageDeleteFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bucketId"},value:{kind:"Variable",name:{kind:"Name",value:"bucketId"}}},{kind:"Argument",name:{kind:"Name",value:"fileId"},value:{kind:"Variable",name:{kind:"Name",value:"fileId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},qt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bucketId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fileId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storageGetFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bucketId"},value:{kind:"Variable",name:{kind:"Name",value:"bucketId"}}},{kind:"Argument",name:{kind:"Name",value:"fileId"},value:{kind:"Variable",name:{kind:"Name",value:"fileId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"bucketId"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"_permissions"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"signature"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"sizeOriginal"}},{kind:"Field",name:{kind:"Name",value:"chunksTotal"}},{kind:"Field",name:{kind:"Name",value:"chunksUploaded"}}]}}]}}]},wt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListFiles"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bucketId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storageListFiles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bucketId"},value:{kind:"Variable",name:{kind:"Name",value:"bucketId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}},{kind:"Argument",name:{kind:"Name",value:"search"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"files"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"bucketId"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"_permissions"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"signature"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"sizeOriginal"}},{kind:"Field",name:{kind:"Name",value:"chunksTotal"}},{kind:"Field",name:{kind:"Name",value:"chunksUploaded"}}]}}]}}]}}]},Vt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bucketId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fileId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"permissions"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storageUpdateFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"bucketId"},value:{kind:"Variable",name:{kind:"Name",value:"bucketId"}}},{kind:"Argument",name:{kind:"Name",value:"fileId"},value:{kind:"Variable",name:{kind:"Name",value:"fileId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"permissions"},value:{kind:"Variable",name:{kind:"Name",value:"permissions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"bucketId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"_permissions"}}]}}]}}]},Ut={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roles"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phone"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsCreateMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"roles"},value:{kind:"Variable",name:{kind:"Name",value:"roles"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"phone"},value:{kind:"Variable",name:{kind:"Name",value:"phone"}}},{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"teamId"}},{kind:"Field",name:{kind:"Name",value:"roles"}},{kind:"Field",name:{kind:"Name",value:"confirm"}}]}}]}}]},Et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roles"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"roles"},value:{kind:"Variable",name:{kind:"Name",value:"roles"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"total"}}]}}]}}]},Ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"membershipId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsDeleteMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"membershipId"},value:{kind:"Variable",name:{kind:"Name",value:"membershipId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Lt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsDelete"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Pt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTeam"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsGet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"prefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]}}]},Rt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"membershipId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsGetMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"membershipId"},value:{kind:"Variable",name:{kind:"Name",value:"membershipId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userName"}},{kind:"Field",name:{kind:"Name",value:"userEmail"}},{kind:"Field",name:{kind:"Name",value:"teamId"}},{kind:"Field",name:{kind:"Name",value:"teamName"}},{kind:"Field",name:{kind:"Name",value:"invited"}},{kind:"Field",name:{kind:"Name",value:"joined"}},{kind:"Field",name:{kind:"Name",value:"confirm"}},{kind:"Field",name:{kind:"Name",value:"mfa"}},{kind:"Field",name:{kind:"Name",value:"roles"}}]}}]}}]},Qt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListMemberships"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsListMemberships"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}},{kind:"Argument",name:{kind:"Name",value:"search"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"memberships"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userName"}},{kind:"Field",name:{kind:"Name",value:"userEmail"}},{kind:"Field",name:{kind:"Name",value:"teamId"}},{kind:"Field",name:{kind:"Name",value:"teamName"}},{kind:"Field",name:{kind:"Name",value:"invited"}},{kind:"Field",name:{kind:"Name",value:"joined"}},{kind:"Field",name:{kind:"Name",value:"confirm"}},{kind:"Field",name:{kind:"Name",value:"mfa"}},{kind:"Field",name:{kind:"Name",value:"roles"}}]}}]}}]}}]},Gt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTeamPrefs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsGetPrefs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]},Ot={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListTeams"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}},{kind:"Argument",name:{kind:"Name",value:"search"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"teams"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"_createdAt"}},{kind:"Field",name:{kind:"Name",value:"_updatedAt"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"prefs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]}}]}}]},Kt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"membershipId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roles"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsUpdateMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"membershipId"},value:{kind:"Variable",name:{kind:"Name",value:"membershipId"}}},{kind:"Argument",name:{kind:"Name",value:"roles"},value:{kind:"Variable",name:{kind:"Name",value:"roles"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"roles"}}]}}]}}]},Bt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMembershipStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"membershipId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"secret"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsUpdateMembershipStatus"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"membershipId"},value:{kind:"Variable",name:{kind:"Name",value:"membershipId"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"secret"},value:{kind:"Variable",name:{kind:"Name",value:"secret"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"confirm"}}]}}]}}]},Jt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTeamName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsUpdateName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"_id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},jt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTeamPrefs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"prefs"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Assoc"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"teamsUpdatePrefs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"teamId"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"prefs"},value:{kind:"Variable",name:{kind:"Name",value:"prefs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"}}]}}]}}]};var za={"\n fragment Account_User on User {\n _id\n name\n email\n prefs {\n data\n }\n }\n":an,"\n fragment Identity_Provider on Identity {\n _id\n userId\n provider\n }\n":rn,"\n query AccountGet {\n accountGet {\n ...Account_User\n }\n }\n":on,"\n mutation CreateAnonymousSession {\n accountCreateAnonymousSession {\n _id\n expire\n current\n }\n }\n":sn,"\n mutation CreateEmailToken($userId: String!, $email: String!, $phrase: Boolean) {\n accountCreateEmailToken(userId: $userId, email: $email, phrase: $phrase) {\n expire\n }\n }\n":un,"\n mutation CreateEmailVerification($url: String!) {\n accountCreateEmailVerification(url: $url) {\n _id\n userId\n secret\n expire\n }\n }\n":dn,"\n mutation CreateJWT {\n accountCreateJWT {\n jwt\n }\n }\n":ln,"\n mutation CreateMagicURLToken($userId: String!, $email: String!, $url: String, $phrase: Boolean) {\n accountCreateMagicURLToken(userId: $userId, email: $email, url: $url, phrase: $phrase) {\n expire\n }\n }\n":mn,"\n mutation CreateMfaAuthenticator($type: String!) {\n accountCreateMfaAuthenticator(type: $type) {\n secret\n uri\n }\n }\n":cn,"\n mutation CreateMfaChallenge($factor: String!) {\n accountCreateMfaChallenge(factor: $factor) {\n userId\n expire\n }\n }\n":pn,"\n mutation CreateMfaRecoveryCodes {\n accountCreateMfaRecoveryCodes {\n recoveryCodes\n }\n }\n":yn,"\n mutation CreatePhoneToken($userId: String!, $phone: String!) {\n accountCreatePhoneToken(userId: $userId, phone: $phone) {\n expire\n }\n }\n":kn,"\n mutation CreatePhoneVerification {\n accountCreatePhoneVerification {\n expire\n }\n }\n":fn,"\n mutation CreatePushTarget($targetId: String!, $identifier: String!, $providerId: String) {\n accountCreatePushTarget(targetId: $targetId, identifier: $identifier, providerId: $providerId) {\n _id\n userId\n providerType\n identifier\n }\n }\n":gn,"\n mutation CreateSession($userId: String!, $secret: String!) {\n accountCreateSession(userId: $userId, secret: $secret) {\n userId\n expire\n current\n }\n }\n":Sn,"\n mutation DeleteAccount {\n accountDelete {\n status\n }\n }\n":bn,"\n mutation DeleteIdentity($identityId: String!) {\n accountDeleteIdentity(identityId: $identityId) {\n status\n }\n }\n":vn,"\n mutation DeleteMfaAuthenticator($type: String!) {\n accountDeleteMfaAuthenticator(type: $type) {\n status\n }\n }\n":In,"\n mutation DeletePushTarget($targetId: String!) {\n accountDeletePushTarget(targetId: $targetId) {\n status\n }\n }\n":Nn,"\n mutation DeleteSession($sessionId: String!) {\n accountDeleteSession(sessionId: $sessionId) {\n status\n }\n }\n":Dn,"\n mutation DeleteSessions {\n accountDeleteSessions {\n status\n }\n }\n":$n,"\n query GetMfaRecoveryCodes {\n accountGetMfaRecoveryCodes {\n recoveryCodes\n }\n }\n":Mn,"\n query GetPrefs {\n accountGetPrefs {\n data\n }\n }\n":hn,"\n query GetSession($sessionId: String!) {\n accountGetSession(sessionId: $sessionId) {\n userId\n expire\n current\n }\n }\n":xn,"\n query ListIdentities {\n accountListIdentities {\n total\n identities {\n ...Identity_Provider\n }\n }\n }\n":Tn,"\n query ListMfaFactors {\n accountListMfaFactors {\n totp\n phone\n email\n }\n }\n":Cn,"\n query ListSessions {\n accountListSessions {\n sessions {\n _id\n _createdAt\n osName\n clientName\n }\n }\n }\n":An,"\n mutation CreateEmailPasswordSession($email: String!, $password: String!) {\n accountCreateEmailPasswordSession(email: $email, password: $password) {\n userId\n expire\n current\n }\n }\n":_n,"\n query ListLogs($queries: [String!]) {\n accountListLogs(queries: $queries) {\n total\n logs {\n event\n userId\n userEmail\n userName\n mode\n ip\n time\n osCode\n osName\n osVersion\n clientType\n clientCode\n clientName\n clientVersion\n clientEngine\n clientEngineVersion\n deviceName\n deviceBrand\n deviceModel\n countryCode\n countryName\n }\n }\n }\n":qn,"\n mutation CreateRecovery($email: String!, $url: String!) {\n accountCreateRecovery(email: $email, url: $url) {\n expire\n }\n }\n":wn,"\n mutation UpdateRecovery($userId: String!, $secret: String!, $password: String!) {\n accountUpdateRecovery(userId: $userId, secret: $secret, password: $password) {\n expire\n }\n }\n":Vn,"\n mutation CreateAccount($userId: String!, $name: String, $email: String!, $password: String!) {\n accountCreate(userId: $userId, name: $name, email: $email, password: $password) {\n name\n email\n }\n }\n":Un,"\n mutation VerifyEmail($url: String!) {\n accountCreateVerification(url: $url) {\n expire\n }\n }\n":En,"\n mutation UpdateEmail($email: String!, $password: String!) {\n accountUpdateEmail(email: $email, password: $password) {\n name\n email\n }\n }\n":Fn,"\n mutation UpdateEmailVerification($userId: String!, $secret: String!) {\n accountUpdateEmailVerification(userId: $userId, secret: $secret) {\n _id\n userId\n secret\n expire\n }\n }\n":Ln,"\n mutation UpdateMagicURLSession($userId: String!, $secret: String!) {\n accountUpdateMagicURLSession(userId: $userId, secret: $secret) {\n userId\n expire\n current\n }\n }\n":Pn,"\n mutation UpdateMFA($mfa: Boolean!) {\n accountUpdateMFA(mfa: $mfa) {\n mfa\n }\n }\n":Rn,"\n mutation UpdateMfaAuthenticator($type: String!, $otp: String!) {\n accountUpdateMfaAuthenticator(type: $type, otp: $otp) {\n mfa\n }\n }\n":Qn,"\n mutation UpdateMfaChallenge($challengeId: String!, $otp: String!) {\n accountUpdateMfaChallenge(challengeId: $challengeId, otp: $otp) {\n status\n }\n }\n":Gn,"\n mutation UpdateMfaRecoveryCodes {\n accountUpdateMfaRecoveryCodes {\n recoveryCodes\n }\n }\n":On,"\n mutation UpdateName($name: String!) {\n accountUpdateName(name: $name) {\n name\n }\n }\n":Kn,"\n mutation UpdatePassword($password: String!, $oldPassword: String!) {\n accountUpdatePassword(password: $password, oldPassword: $oldPassword) {\n status\n }\n }\n":Bn,"\n mutation UpdatePhone($phone: String!, $password: String!) {\n accountUpdatePhone(phone: $phone, password: $password) {\n phone\n }\n }\n":Jn,"\n mutation UpdatePhoneSession($userId: String!, $secret: String!) {\n accountUpdatePhoneSession(userId: $userId, secret: $secret) {\n userId\n expire\n current\n }\n }\n":jn,"\n mutation UpdatePhoneVerification($userId: String!, $secret: String!) {\n accountUpdatePhoneVerification(userId: $userId, secret: $secret) {\n expire\n }\n }\n":Wn,"\n mutation UpdatePrefs($prefs: Assoc!) {\n accountUpdatePrefs(prefs: $prefs) {\n prefs {\n data\n }\n }\n }\n":zn,"\n mutation UpdatePushTarget($targetId: String!, $identifier: String!) {\n accountUpdatePushTarget(targetId: $targetId, identifier: $identifier) {\n _id\n userId\n providerType\n identifier\n }\n }\n":Yn,"\n mutation UpdateSession($sessionId: String!) {\n accountUpdateSession(sessionId: $sessionId) {\n userId\n expire\n current\n }\n }\n":Hn,"\n mutation UpdateStatus {\n accountUpdateStatus {\n _id\n status\n }\n }\n":Xn,"\n mutation UpdateVerification($userId: String!, $secret: String!) {\n accountUpdateVerification(userId: $userId, secret: $secret) {\n secret\n expire\n userId\n }\n }\n":Zn,"\n query ListDocuments($databaseId: String!, $collectionId: String!, $queries: [String!]) {\n databasesListDocuments(\n databaseId: $databaseId\n collectionId: $collectionId\n queries: $queries\n ) {\n total\n documents {\n _id\n data\n }\n }\n }\n":et,"\n mutation CreateDocument(\n $databaseId: String!\n $collectionId: String!\n $documentId: String!\n $data: Json!\n $permissions: [String!]\n ) {\n databasesCreateDocument(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n data: $data\n permissions: $permissions\n ) {\n _id\n }\n }\n":nt,"\n mutation CreateDocuments(\n $databaseId: String!\n $collectionId: String!\n $documents: [Json!]!\n ) {\n databasesCreateDocuments(\n databaseId: $databaseId\n collectionId: $collectionId\n documents: $documents\n ) {\n total\n documents {\n _id\n }\n }\n }\n":tt,"\n mutation CreateOperations($transactionId: String!, $operations: [String!]) {\n databasesCreateOperations(transactionId: $transactionId, operations: $operations) {\n _id\n status\n operations\n expiresAt\n }\n }\n":at,"\n mutation CreateTransaction($ttl: Int) {\n databasesCreateTransaction(ttl: $ttl) {\n _id\n status\n operations\n expiresAt\n }\n }\n":it,"\n mutation DecrementDocumentAttribute(\n $databaseId: String!\n $collectionId: String!\n $documentId: String!\n $attribute: String!\n $value: Int\n $min: Int\n ) {\n databasesDecrementDocumentAttribute(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n attribute: $attribute\n value: $value\n min: $min\n ) {\n _id\n data\n }\n }\n":rt,"\n mutation DeleteDocument($databaseId: String!, $collectionId: String!, $documentId: String!) {\n databasesDeleteDocument(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n ) {\n status\n }\n }\n":ot,"\n mutation DeleteDocuments(\n $databaseId: String!\n $collectionId: String!\n $queries: [String!]\n ) {\n databasesDeleteDocuments(\n databaseId: $databaseId\n collectionId: $collectionId\n queries: $queries\n ) {\n total\n documents {\n _id\n }\n }\n }\n":st,"\n mutation DeleteTransaction($transactionId: String!) {\n databasesDeleteTransaction(transactionId: $transactionId) {\n status\n }\n }\n":ut,"\n query GetDocument($databaseId: String!, $collectionId: String!, $documentId: String!) {\n databasesGetDocument(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n ) {\n _id\n data\n }\n }\n":dt,"\n query GetTransaction($transactionId: String!) {\n databasesGetTransaction(transactionId: $transactionId) {\n _id\n _createdAt\n _updatedAt\n status\n operations\n expiresAt\n }\n }\n":lt,"\n mutation IncrementDocumentAttribute(\n $databaseId: String!\n $collectionId: String!\n $documentId: String!\n $attribute: String!\n $value: Int\n $max: Int\n ) {\n databasesIncrementDocumentAttribute(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n attribute: $attribute\n value: $value\n max: $max\n ) {\n _id\n data\n }\n }\n":mt,"\n query ListTransactions($queries: String) {\n databasesListTransactions(queries: $queries) {\n total\n transactions {\n _id\n _createdAt\n _updatedAt\n status\n operations\n expiresAt\n }\n }\n }\n":ct,"\n mutation UpdateDocument(\n $databaseId: String!\n $collectionId: String!\n $documentId: String!\n $data: Json\n $permissions: [String!]\n ) {\n databasesUpdateDocument(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n data: $data\n permissions: $permissions\n ) {\n _id\n }\n }\n":pt,"\n mutation UpdateDocuments(\n $databaseId: String!\n $collectionId: String!\n $data: Json\n $queries: [String!]\n ) {\n databasesUpdateDocuments(\n databaseId: $databaseId\n collectionId: $collectionId\n data: $data\n queries: $queries\n ) {\n total\n documents {\n _id\n }\n }\n }\n":yt,"\n mutation UpdateTransaction($transactionId: String!, $commit: Boolean, $rollback: Boolean) {\n databasesUpdateTransaction(\n transactionId: $transactionId\n commit: $commit\n rollback: $rollback\n ) {\n _id\n status\n operations\n }\n }\n":kt,"\n mutation UpsertDocument(\n $databaseId: String!\n $collectionId: String!\n $documentId: String!\n $data: Json!\n $permissions: [String!]\n ) {\n databasesUpsertDocument(\n databaseId: $databaseId\n collectionId: $collectionId\n documentId: $documentId\n data: $data\n permissions: $permissions\n ) {\n _id\n }\n }\n":ft,"\n mutation UpsertDocuments(\n $databaseId: String!\n $collectionId: String!\n $documents: [Json!]!\n ) {\n databasesUpsertDocuments(\n databaseId: $databaseId\n collectionId: $collectionId\n documents: $documents\n ) {\n total\n documents {\n _id\n }\n }\n }\n":gt,"\n mutation CreateExecution(\n $functionId: String!\n $body: String\n $async: Boolean\n $path: String\n $method: String # $headers: Json\n ) {\n functionsCreateExecution(\n functionId: $functionId\n body: $body\n async: $async\n path: $path\n method: $method # headers: $headers\n ) {\n _id\n status\n responseStatusCode\n responseBody\n errors\n duration\n }\n }\n":St,"\n query GetFunctionExecution($functionId: String!, $executionId: String!) {\n functionsGetExecution(functionId: $functionId, executionId: $executionId) {\n status\n errors\n duration\n responseBody\n requestPath\n }\n }\n":bt,"\n query GetExecution($functionId: String!, $executionId: String!) {\n functionsGetExecution(functionId: $functionId, executionId: $executionId) {\n _id\n _createdAt\n _updatedAt\n functionId\n trigger\n status\n requestMethod\n requestPath\n responseStatusCode\n responseBody\n errors\n duration\n }\n }\n":vt,"\n query ListExecutions($functionId: String!, $queries: [String!]) {\n functionsListExecutions(functionId: $functionId, queries: $queries) {\n total\n executions {\n _id\n _createdAt\n _updatedAt\n functionId\n trigger\n status\n requestMethod\n requestPath\n responseStatusCode\n responseBody\n errors\n duration\n }\n }\n }\n":It,"\n query GetLocale {\n localeGet {\n ip\n countryCode\n country\n continentCode\n continent\n eu\n currency\n }\n }\n":Nt,"\n query ListLocaleCodes {\n localeListCodes {\n total\n localeCodes {\n code\n name\n }\n }\n }\n":Dt,"\n query ListContinents {\n localeListContinents {\n total\n continents {\n name\n code\n }\n }\n }\n":$t,"\n query ListCountries {\n localeListCountries {\n total\n countries {\n name\n code\n }\n }\n }\n":Mt,"\n query ListCountriesEU {\n localeListCountriesEU {\n total\n countries {\n name\n code\n }\n }\n }\n":ht,"\n query ListCountriesPhones {\n localeListCountriesPhones {\n total\n phones {\n code\n countryCode\n countryName\n }\n }\n }\n":xt,"\n query ListCurrencies {\n localeListCurrencies {\n total\n currencies {\n symbol\n name\n symbolNative\n decimalDigits\n rounding\n code\n namePlural\n }\n }\n }\n":Tt,"\n query ListLanguages {\n localeListLanguages {\n total\n languages {\n name\n code\n nativeName\n }\n }\n }\n":Ct,"\n mutation CreateFile(\n $bucketId: String!\n $fileId: String!\n $file: String!\n $permissions: [String!]\n ) {\n storageCreateFile(\n bucketId: $bucketId\n fileId: $fileId\n file: $file\n permissions: $permissions\n ) {\n _id\n bucketId\n name\n mimeType\n sizeOriginal\n }\n }\n":At,"\n mutation DeleteFile($bucketId: String!, $fileId: String!) {\n storageDeleteFile(bucketId: $bucketId, fileId: $fileId) {\n status\n }\n }\n":_t,"\n query GetFile($bucketId: String!, $fileId: String!) {\n storageGetFile(bucketId: $bucketId, fileId: $fileId) {\n _id\n bucketId\n _createdAt\n _updatedAt\n _permissions\n name\n signature\n mimeType\n sizeOriginal\n chunksTotal\n chunksUploaded\n }\n }\n":qt,"\n query ListFiles($bucketId: String!, $queries: [String!], $search: String) {\n storageListFiles(bucketId: $bucketId, queries: $queries, search: $search) {\n total\n files {\n _id\n bucketId\n _createdAt\n _updatedAt\n _permissions\n name\n signature\n mimeType\n sizeOriginal\n chunksTotal\n chunksUploaded\n }\n }\n }\n":wt,"\n mutation UpdateFile(\n $bucketId: String!\n $fileId: String!\n $name: String\n $permissions: [String!]\n ) {\n storageUpdateFile(\n bucketId: $bucketId\n fileId: $fileId\n name: $name\n permissions: $permissions\n ) {\n _id\n bucketId\n name\n _permissions\n }\n }\n":Vt,"\n mutation CreateMembership(\n $teamId: String!\n $roles: [String!]!\n $email: String\n $userId: String\n $phone: String\n $url: String\n $name: String\n ) {\n teamsCreateMembership(\n teamId: $teamId\n roles: $roles\n email: $email\n userId: $userId\n phone: $phone\n url: $url\n name: $name\n ) {\n _id\n userId\n teamId\n roles\n confirm\n }\n }\n":Ut,"\n mutation CreateTeam($teamId: String!, $name: String!, $roles: [String!]) {\n teamsCreate(teamId: $teamId, name: $name, roles: $roles) {\n _id\n name\n total\n }\n }\n":Et,"\n mutation DeleteMembership($teamId: String!, $membershipId: String!) {\n teamsDeleteMembership(teamId: $teamId, membershipId: $membershipId) {\n status\n }\n }\n":Ft,"\n mutation DeleteTeam($teamId: String!) {\n teamsDelete(teamId: $teamId) {\n status\n }\n }\n":Lt,"\n query GetTeam($teamId: String!) {\n teamsGet(teamId: $teamId) {\n _id\n _createdAt\n _updatedAt\n name\n total\n prefs {\n data\n }\n }\n }\n":Pt,"\n query GetMembership($teamId: String!, $membershipId: String!) {\n teamsGetMembership(teamId: $teamId, membershipId: $membershipId) {\n _id\n _createdAt\n _updatedAt\n userId\n userName\n userEmail\n teamId\n teamName\n invited\n joined\n confirm\n mfa\n roles\n }\n }\n":Rt,"\n query ListMemberships($teamId: String!, $queries: [String!], $search: String) {\n teamsListMemberships(teamId: $teamId, queries: $queries, search: $search) {\n total\n memberships {\n _id\n _createdAt\n _updatedAt\n userId\n userName\n userEmail\n teamId\n teamName\n invited\n joined\n confirm\n mfa\n roles\n }\n }\n }\n":Qt,"\n query GetTeamPrefs($teamId: String!) {\n teamsGetPrefs(teamId: $teamId) {\n data\n }\n }\n":Gt,"\n query ListTeams($queries: [String!], $search: String) {\n teamsList(queries: $queries, search: $search) {\n total\n teams {\n _id\n _createdAt\n _updatedAt\n name\n total\n prefs {\n data\n }\n }\n }\n }\n":Ot,"\n mutation UpdateMembership($teamId: String!, $membershipId: String!, $roles: [String!]!) {\n teamsUpdateMembership(teamId: $teamId, membershipId: $membershipId, roles: $roles) {\n _id\n roles\n }\n }\n":Kt,"\n mutation UpdateMembershipStatus(\n $teamId: String!\n $membershipId: String!\n $userId: String!\n $secret: String!\n ) {\n teamsUpdateMembershipStatus(\n teamId: $teamId\n membershipId: $membershipId\n userId: $userId\n secret: $secret\n ) {\n _id\n confirm\n }\n }\n":Bt,"\n mutation UpdateTeamName($teamId: String!, $name: String!) {\n teamsUpdateName(teamId: $teamId, name: $name) {\n _id\n name\n }\n }\n":Jt,"\n mutation UpdateTeamPrefs($teamId: String!, $prefs: Assoc!) {\n teamsUpdatePrefs(teamId: $teamId, prefs: $prefs) {\n data\n }\n }\n":jt};function u(e){return za[e]??{}}var Wt=u(`
|
|
14
|
+
fragment Account_User on User {
|
|
15
|
+
_id
|
|
16
|
+
name
|
|
17
|
+
email
|
|
18
|
+
prefs {
|
|
19
|
+
data
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`),zt=u(`
|
|
23
|
+
fragment Identity_Provider on Identity {
|
|
24
|
+
_id
|
|
25
|
+
userId
|
|
26
|
+
provider
|
|
27
|
+
}
|
|
28
|
+
`);var Ha=process.env.APPWRITE_ENDPOINT??process.env.EXPO_PUBLIC_APPWRITE_URL??process.env.NEXT_PUBLIC_APPWRITE_URL??"http://localhost/v1",Xa=process.env.APPWRITE_PROJECT_ID??process.env.EXPO_PUBLIC_APPWRITE_PROJECT_ID??process.env.NEXT_PUBLIC_APPWRITE_PROJECT_ID??"[PROJECT_ID]",G=new appwrite.Client;G.setEndpoint(Ha).setProject(Xa);var ea=e=>({client:e.client,query:async({query:n,variables:r})=>{let{data:i,errors:t}=await e.query({query:{query:graphql.print(n),variables:r}});return {data:i,errors:t}},mutation:async({query:n,variables:r})=>{let{data:i,errors:t}=await e.mutation({query:{query:graphql.print(n),variables:r}});return {data:i,errors:t}}}),Xt=jotai.atom({account:new appwrite.Account(G),avatars:new appwrite.Avatars(G),realtime:new appwrite.Realtime(G),storage:new appwrite.Storage(G),graphql:ea(new appwrite.Graphql(G))}),ie=jotai.atom(e=>e(Xt),(e,n,{endpoint:r,projectId:i})=>{let t=new appwrite.Client;t.setEndpoint(r).setProject(i);let s=new appwrite.Account(t),l=new appwrite.Avatars(t),p=new appwrite.Realtime(t),y=new appwrite.Storage(t),I=new appwrite.Graphql(t);n(Xt,{account:s,avatars:l,realtime:p,storage:y,graphql:ea(I)});});function o(){let{account:e,avatars:n,realtime:r,storage:i,graphql:t}=jotai.useAtomValue(ie);return {avatars:n,realtime:r,storage:i,account:e,graphql:t}}var ti=new reactQuery.QueryClient,re=jotai.atom(ti);function c(){return jotai.useAtomValue(re)}function m(e){let n=c();return reactQuery.useMutation(e,n)}function g(e){let n=c();return reactQuery.useQuery(e,n)}function J(e){let n=c(),r=reactQuery.useQuery({...e,enabled:false},n);return {run:r.refetch,query:r}}function j(e){let n=c();return reactQuery.useSuspenseQuery(e,n)}function di({endpoint:e,projectId:n,queryClient:r,children:i}){let t=[[ie,{endpoint:e,projectId:n}]];return r&&t.push([re,r]),utils.useHydrateAtoms(t),i}var W=w(q());var xi=u(`
|
|
29
|
+
query AccountGet {
|
|
30
|
+
accountGet {
|
|
31
|
+
...Account_User
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`);function Ti(){let{graphql:e,realtime:n}=o(),r=c(),[i,t]=(0, W.useState)(false),s=J(ya(e));return (0, W.useEffect)(()=>{if(!i)return;let l=ka(n,r);return ()=>{l.then(p=>p.close());}},[i,n,r]),{...s,run:()=>(t(true),s.run())}}function Ci(){let{graphql:e,realtime:n}=o(),r=c(),i=g(ya(e));return (0, W.useEffect)(()=>{let t=ka(n,r);return ()=>{t.then(s=>s.close());}},[n,r]),i}function ya(e){return {queryKey:["appwrite","account"],queryFn:async()=>{let{data:n,errors:r}=await e.query({query:xi});if(r)throw r;return n.accountGet},retry:false}}function ka(e,n){return e.subscribe("account",r=>{if(r.events.some(t=>t.endsWith("prefs"))){n.setQueryData(["appwrite","account"],t=>immer.produce(t,s=>{s&&(s.prefs=immer.castDraft(r.payload.prefs));}));return}n.setQueryData(["appwrite","account"],r.payload);})}var Ai=u(`
|
|
35
|
+
mutation CreateAnonymousSession {
|
|
36
|
+
accountCreateAnonymousSession {
|
|
37
|
+
_id
|
|
38
|
+
expire
|
|
39
|
+
current
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`);function _i(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:Ai});if(t)throw t;return i.accountCreateAnonymousSession},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var qi=u(`
|
|
43
|
+
mutation CreateEmailToken($userId: String!, $email: String!, $phrase: Boolean) {
|
|
44
|
+
accountCreateEmailToken(userId: $userId, email: $email, phrase: $phrase) {
|
|
45
|
+
expire
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`);function wi(){let{graphql:e}=o();return {...m({mutationFn:async({userId:r,email:i,phrase:t})=>{let{data:s,errors:l}=await e.mutation({query:qi,variables:{userId:r,email:i,phrase:t}});if(l)throw l;return s.accountCreateEmailToken}})}}var fa=u(`
|
|
49
|
+
mutation CreateJWT {
|
|
50
|
+
accountCreateJWT {
|
|
51
|
+
jwt
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`);function Vi({gcTime:e=6e5}={}){let{graphql:n}=o(),r=c();return {...m({gcTime:e,mutationKey:["appwrite","jwt"],mutationFn:async()=>{let{data:t,errors:s}=await n.mutation({query:fa});if(s)throw s;return t.accountCreateJWT},onSuccess:t=>{n.client.setJWT(t.jwt),r.setQueryData(["appwrite","jwt"],t.jwt,{updatedAt:Date.now()});}})}}function Ui({gcTime:e=6e5}={}){let{graphql:n}=o();return {...j({gcTime:e,queryKey:["appwrite","jwt"],queryFn:async()=>{let{data:i,errors:t}=await n.mutation({query:fa});if(t)throw t;return n.client.setJWT(i.accountCreateJWT.jwt),i.accountCreateJWT}})}}var Ei=u(`
|
|
55
|
+
mutation CreateMagicURLToken($userId: String!, $email: String!, $url: String, $phrase: Boolean) {
|
|
56
|
+
accountCreateMagicURLToken(userId: $userId, email: $email, url: $url, phrase: $phrase) {
|
|
57
|
+
expire
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`);function Fi(){let{graphql:e}=o();return {...m({mutationFn:async({userId:r,email:i,url:t,phrase:s})=>{let{data:l,errors:p}=await e.mutation({query:Ei,variables:{userId:r,email:i,url:t,phrase:s}});if(p)throw p;return l.accountCreateMagicURLToken}})}}var Li=u(`
|
|
61
|
+
mutation CreateMfaAuthenticator($type: String!) {
|
|
62
|
+
accountCreateMfaAuthenticator(type: $type) {
|
|
63
|
+
secret
|
|
64
|
+
uri
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
`);function Pi(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({type:i="totp"})=>{let{data:t,errors:s}=await e.mutation({query:Li,variables:{type:i}});if(s)throw s;return t.accountCreateMfaAuthenticator},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account","mfa","factors"]});}})}}var Ri=u(`
|
|
68
|
+
mutation CreateMfaChallenge($factor: String!) {
|
|
69
|
+
accountCreateMfaChallenge(factor: $factor) {
|
|
70
|
+
userId
|
|
71
|
+
expire
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
`);function Qi(){let{graphql:e}=o();return {...m({mutationFn:async({factor:r})=>{let{data:i,errors:t}=await e.mutation({query:Ri,variables:{factor:r}});if(t)throw t;return i.accountCreateMfaChallenge}})}}var Gi=u(`
|
|
75
|
+
mutation CreateMfaRecoveryCodes {
|
|
76
|
+
accountCreateMfaRecoveryCodes {
|
|
77
|
+
recoveryCodes
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
`);function Oi(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:Gi});if(t)throw t;return i.accountCreateMfaRecoveryCodes},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account","mfa","recovery-codes"]});}})}}function Ki(){let{account:e}=o();return {...m({mutationFn:async({provider:r,success:i,failure:t,scopes:s})=>e.createOAuth2Token({provider:r,success:i,failure:t,scopes:s})})}}var Bi=u(`
|
|
81
|
+
mutation CreatePhoneToken($userId: String!, $phone: String!) {
|
|
82
|
+
accountCreatePhoneToken(userId: $userId, phone: $phone) {
|
|
83
|
+
expire
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`);function Ji(){let{graphql:e}=o();return {...m({mutationFn:async({userId:r,phone:i})=>{let{data:t,errors:s}=await e.mutation({query:Bi,variables:{userId:r,phone:i}});if(s)throw s;return t.accountCreatePhoneToken}})}}var ji=u(`
|
|
87
|
+
mutation CreatePhoneVerification {
|
|
88
|
+
accountCreatePhoneVerification {
|
|
89
|
+
expire
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
`);function Wi(){let{graphql:e}=o();return {...m({mutationFn:async()=>{let{data:r,errors:i}=await e.mutation({query:ji});if(i)throw i;return r.accountCreatePhoneVerification}})}}var zi=u(`
|
|
93
|
+
mutation CreatePushTarget($targetId: String!, $identifier: String!, $providerId: String) {
|
|
94
|
+
accountCreatePushTarget(targetId: $targetId, identifier: $identifier, providerId: $providerId) {
|
|
95
|
+
_id
|
|
96
|
+
userId
|
|
97
|
+
providerType
|
|
98
|
+
identifier
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
`);function Yi(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({targetId:i,identifier:t,providerId:s})=>{let{data:l,errors:p}=await e.mutation({query:zi,variables:{targetId:i,identifier:t,providerId:s}});if(p)throw p;return l.accountCreatePushTarget},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var Hi=u(`
|
|
102
|
+
mutation CreateSession($userId: String!, $secret: String!) {
|
|
103
|
+
accountCreateSession(userId: $userId, secret: $secret) {
|
|
104
|
+
userId
|
|
105
|
+
expire
|
|
106
|
+
current
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
`);function Xi(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({userId:i,secret:t})=>{let{data:s,errors:l}=await e.mutation({query:Hi,variables:{userId:i,secret:t}});if(l)throw l;return s.accountCreateSession},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var Zi=u(`
|
|
110
|
+
mutation DeleteAccount {
|
|
111
|
+
accountDelete {
|
|
112
|
+
status
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
`);function er(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:Zi});if(t)throw t;return i?.accountDelete??{status:true}},onSuccess:()=>{n.clear();}})}}var nr=u(`
|
|
116
|
+
mutation CreateEmailVerification($url: String!) {
|
|
117
|
+
accountCreateEmailVerification(url: $url) {
|
|
118
|
+
_id
|
|
119
|
+
userId
|
|
120
|
+
secret
|
|
121
|
+
expire
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
`);function tr(){let{graphql:e}=o();return {...m({mutationFn:async({url:r})=>{let{data:i,errors:t}=await e.mutation({query:nr,variables:{url:r}});if(t)throw t;return i.accountCreateEmailVerification}})}}var ar=u(`
|
|
125
|
+
mutation DeleteIdentity($identityId: String!) {
|
|
126
|
+
accountDeleteIdentity(identityId: $identityId) {
|
|
127
|
+
status
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
`);function ir(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({identityId:i})=>{let{data:t,errors:s}=await e.mutation({query:ar,variables:{identityId:i}});if(s)throw s;return t?.accountDeleteIdentity??{status:true}},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var rr=u(`
|
|
131
|
+
mutation DeleteMfaAuthenticator($type: String!) {
|
|
132
|
+
accountDeleteMfaAuthenticator(type: $type) {
|
|
133
|
+
status
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`);function or(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({type:i="totp"})=>{let{data:t,errors:s}=await e.mutation({query:rr,variables:{type:i}});if(s)throw s;return t?.accountDeleteMfaAuthenticator??{status:true}},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","mfa","factors"]});}})}}var sr=u(`
|
|
137
|
+
mutation DeletePushTarget($targetId: String!) {
|
|
138
|
+
accountDeletePushTarget(targetId: $targetId) {
|
|
139
|
+
status
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
`);function ur(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({targetId:i})=>{let{data:t,errors:s}=await e.mutation({query:sr,variables:{targetId:i}});if(s)throw s;return t.accountDeletePushTarget},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var dr=u(`
|
|
143
|
+
mutation DeleteSession($sessionId: String!) {
|
|
144
|
+
accountDeleteSession(sessionId: $sessionId) {
|
|
145
|
+
status
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
`);function lr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({sessionId:i})=>{let{data:t,errors:s}=await e.mutation({query:dr,variables:{sessionId:i}});if(s)throw s;return t?.accountDeleteSession??{status:true}},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var mr=u(`
|
|
149
|
+
mutation DeleteSessions {
|
|
150
|
+
accountDeleteSessions {
|
|
151
|
+
status
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
`);function cr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:mr});if(t)throw t;return i?.accountDeleteSessions??{status:true}},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var pr=u(`
|
|
155
|
+
query GetMfaRecoveryCodes {
|
|
156
|
+
accountGetMfaRecoveryCodes {
|
|
157
|
+
recoveryCodes
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
`);function yr(){let{graphql:e}=o();return {...g({queryKey:["appwrite","account","mfa","recovery-codes"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:pr});if(i)throw i;return r.accountGetMfaRecoveryCodes}})}}var kr=u(`
|
|
161
|
+
query GetPrefs {
|
|
162
|
+
accountGetPrefs {
|
|
163
|
+
data
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
`);function fr(){let{graphql:e}=o();return {...g({queryKey:["appwrite","account","prefs"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:kr});if(i)throw i;return r.accountGetPrefs}})}}var gr=u(`
|
|
167
|
+
query GetSession($sessionId: String!) {
|
|
168
|
+
accountGetSession(sessionId: $sessionId) {
|
|
169
|
+
userId
|
|
170
|
+
expire
|
|
171
|
+
current
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
`);function Sr({sessionId:e}){let{graphql:n}=o();return g({queryKey:["appwrite","account","sessions",e],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:gr,variables:{sessionId:e}});if(t)throw t;return i.accountGetSession}})}var br=u(`
|
|
175
|
+
query ListIdentities {
|
|
176
|
+
accountListIdentities {
|
|
177
|
+
total
|
|
178
|
+
identities {
|
|
179
|
+
...Identity_Provider
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
`);function vr(){let{graphql:e}=o();return {...g({queryKey:["appwrite","account","identities"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:br});if(i)throw i;return r.accountListIdentities}})}}var Ir=u(`
|
|
184
|
+
query ListMfaFactors {
|
|
185
|
+
accountListMfaFactors {
|
|
186
|
+
totp
|
|
187
|
+
phone
|
|
188
|
+
email
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
`);function Nr(){let{graphql:e}=o();return {...g({queryKey:["appwrite","account","mfa","factors"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:Ir});if(i)throw i;return r.accountListMfaFactors}})}}var Dr=u(`
|
|
192
|
+
query ListSessions {
|
|
193
|
+
accountListSessions {
|
|
194
|
+
sessions {
|
|
195
|
+
_id
|
|
196
|
+
_createdAt
|
|
197
|
+
osName
|
|
198
|
+
clientName
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
`);function $r(){let{graphql:e}=o();return {...g({queryKey:["appwrite","account","sessions"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:Dr});if(i)throw i;return r.accountListSessions}})}}var Mr=u(`
|
|
203
|
+
mutation CreateEmailPasswordSession($email: String!, $password: String!) {
|
|
204
|
+
accountCreateEmailPasswordSession(email: $email, password: $password) {
|
|
205
|
+
userId
|
|
206
|
+
expire
|
|
207
|
+
current
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
`);function hr(){let{account:e,graphql:n}=o(),r=c(),i=m({mutationFn:async({email:s,password:l})=>{let{data:p,errors:y}=await n.mutation({query:Mr,variables:{email:s,password:l}});if(y)throw y;return p.accountCreateEmailPasswordSession},onSuccess:()=>{r.invalidateQueries({queryKey:["appwrite","account"]}),r.invalidateQueries({queryKey:["appwrite","account","sessions"]});}}),t=m({mutationFn:async({provider:s,success:l,failure:p})=>e.createOAuth2Session({provider:s,success:l,failure:p})});return {login:i,oAuthLogin:t}}var xr=u(`
|
|
211
|
+
mutation DeleteSession($sessionId: String!) {
|
|
212
|
+
accountDeleteSession(sessionId: $sessionId) {
|
|
213
|
+
status
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
`);function Tr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({sessionId:i})=>{let{data:t,errors:s}=await e.mutation({query:xr,variables:{sessionId:i}});if(s)throw s;return t?.accountDeleteSession??{status:true}},onSuccess:async()=>{n.clear();}})}}var Cr=u(`
|
|
217
|
+
query ListLogs($queries: [String!]) {
|
|
218
|
+
accountListLogs(queries: $queries) {
|
|
219
|
+
total
|
|
220
|
+
logs {
|
|
221
|
+
event
|
|
222
|
+
userId
|
|
223
|
+
userEmail
|
|
224
|
+
userName
|
|
225
|
+
mode
|
|
226
|
+
ip
|
|
227
|
+
time
|
|
228
|
+
osCode
|
|
229
|
+
osName
|
|
230
|
+
osVersion
|
|
231
|
+
clientType
|
|
232
|
+
clientCode
|
|
233
|
+
clientName
|
|
234
|
+
clientVersion
|
|
235
|
+
clientEngine
|
|
236
|
+
clientEngineVersion
|
|
237
|
+
deviceName
|
|
238
|
+
deviceBrand
|
|
239
|
+
deviceModel
|
|
240
|
+
countryCode
|
|
241
|
+
countryName
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
`);function Ar({queries:e}){let{graphql:n}=o();return {...g({queryKey:["appwrite","account","logs",e],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:Cr,variables:{queries:e}});if(t)throw t;return i.accountListLogs}})}}var _r=u(`
|
|
246
|
+
mutation CreateRecovery($email: String!, $url: String!) {
|
|
247
|
+
accountCreateRecovery(email: $email, url: $url) {
|
|
248
|
+
expire
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
`);function qr(){let{graphql:e}=o();return {...m({mutationFn:async({email:r,url:i})=>{let{data:t,errors:s}=await e.mutation({query:_r,variables:{email:r,url:i}});if(s)throw s;return t.accountCreateRecovery},onSuccess:async(r,i)=>{try{localStorage?.setItem("email",i.email);}catch{console.error("Could not save email to local storage. If you are using react-native, this is expected.");}}})}}var wr=u(`
|
|
252
|
+
mutation UpdateRecovery($userId: String!, $secret: String!, $password: String!) {
|
|
253
|
+
accountUpdateRecovery(userId: $userId, secret: $secret, password: $password) {
|
|
254
|
+
expire
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
`);function Vr(){let{graphql:e}=o();return {...m({mutationFn:async({userId:r,secret:i,password:t})=>{let{data:s,errors:l}=await e.mutation({query:wr,variables:{userId:r,secret:i,password:t}});if(l)throw l;return s.accountUpdateRecovery??{}}})}}var Ur=u(`
|
|
258
|
+
mutation CreateAccount($userId: String!, $name: String, $email: String!, $password: String!) {
|
|
259
|
+
accountCreate(userId: $userId, name: $name, email: $email, password: $password) {
|
|
260
|
+
name
|
|
261
|
+
email
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
`),Er=u(`
|
|
265
|
+
mutation VerifyEmail($url: String!) {
|
|
266
|
+
accountCreateVerification(url: $url) {
|
|
267
|
+
expire
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
`);function Fr(){let{graphql:e}=o(),n=m({mutationFn:async({userId:i,email:t,password:s,name:l})=>{let{data:p,errors:y}=await e.mutation({query:Ur,variables:{userId:i??appwrite.ID.unique(),name:l,email:t,password:s}});if(y)throw y;return p.accountCreate}}),r=m({mutationFn:async({verifyUrl:i})=>{let{data:t,errors:s}=await e.mutation({query:Er,variables:{url:i}});if(s)throw s;return t.accountCreateVerification}});return {signUp:n,verifyEmail:r}}var Lr=u(`
|
|
271
|
+
mutation UpdateEmail($email: String!, $password: String!) {
|
|
272
|
+
accountUpdateEmail(email: $email, password: $password) {
|
|
273
|
+
name
|
|
274
|
+
email
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
`);function Pr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({email:i,password:t})=>{let{data:s,errors:l}=await e.mutation({query:Lr,variables:{email:i,password:t}});if(l)throw l;return s.accountUpdateEmail},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var Rr=u(`
|
|
278
|
+
mutation UpdateEmailVerification($userId: String!, $secret: String!) {
|
|
279
|
+
accountUpdateEmailVerification(userId: $userId, secret: $secret) {
|
|
280
|
+
_id
|
|
281
|
+
userId
|
|
282
|
+
secret
|
|
283
|
+
expire
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
`);function Qr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({userId:i,secret:t})=>{let{data:s,errors:l}=await e.mutation({query:Rr,variables:{userId:i,secret:t}});if(l)throw l;return s.accountUpdateEmailVerification},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var Gr=u(`
|
|
287
|
+
mutation UpdateMagicURLSession($userId: String!, $secret: String!) {
|
|
288
|
+
accountUpdateMagicURLSession(userId: $userId, secret: $secret) {
|
|
289
|
+
userId
|
|
290
|
+
expire
|
|
291
|
+
current
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
`);function Or(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({userId:i,secret:t})=>{let{data:s,errors:l}=await e.mutation({query:Gr,variables:{userId:i,secret:t}});if(l)throw l;return s.accountUpdateMagicURLSession},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var Kr=u(`
|
|
295
|
+
mutation UpdateMFA($mfa: Boolean!) {
|
|
296
|
+
accountUpdateMFA(mfa: $mfa) {
|
|
297
|
+
mfa
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
`);function Br(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({mfa:i})=>{let{data:t,errors:s}=await e.mutation({query:Kr,variables:{mfa:i}});if(s)throw s;return t.accountUpdateMFA},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","mfa"]});}})}}var Jr=u(`
|
|
301
|
+
mutation UpdateMfaAuthenticator($type: String!, $otp: String!) {
|
|
302
|
+
accountUpdateMfaAuthenticator(type: $type, otp: $otp) {
|
|
303
|
+
mfa
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
`);function jr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({type:i="totp",otp:t})=>{let{data:s,errors:l}=await e.mutation({query:Jr,variables:{type:i,otp:t}});if(l)throw l;return s.accountUpdateMfaAuthenticator},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","mfa","factors"]});}})}}var Wr=u(`
|
|
307
|
+
mutation UpdateMfaChallenge($challengeId: String!, $otp: String!) {
|
|
308
|
+
accountUpdateMfaChallenge(challengeId: $challengeId, otp: $otp) {
|
|
309
|
+
status
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
`);function zr(){let{graphql:e}=o();return {...m({mutationFn:async({challengeId:r,otp:i})=>{let{data:t,errors:s}=await e.mutation({query:Wr,variables:{challengeId:r,otp:i}});if(s)throw s;return t?.accountUpdateMfaChallenge??{status:false}}})}}var Yr=u(`
|
|
313
|
+
mutation UpdateMfaRecoveryCodes {
|
|
314
|
+
accountUpdateMfaRecoveryCodes {
|
|
315
|
+
recoveryCodes
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
`);function Hr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:Yr});if(t)throw t;return i.accountUpdateMfaRecoveryCodes},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account","mfa","recovery-codes"]});}})}}var Xr=u(`
|
|
319
|
+
mutation UpdateName($name: String!) {
|
|
320
|
+
accountUpdateName(name: $name) {
|
|
321
|
+
name
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
`);function Zr(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({name:i})=>{let{data:t,errors:s}=await e.mutation({query:Xr,variables:{name:i}});if(s)throw s;return t.accountUpdateName},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var eo=u(`
|
|
325
|
+
mutation UpdatePassword($password: String!, $oldPassword: String!) {
|
|
326
|
+
accountUpdatePassword(password: $password, oldPassword: $oldPassword) {
|
|
327
|
+
status
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
`);function no(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({password:i,oldPassword:t})=>{let{data:s,errors:l}=await e.mutation({query:eo,variables:{password:i,oldPassword:t}});if(l)throw l;return s?.accountUpdatePassword},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var to=u(`
|
|
331
|
+
mutation UpdatePhone($phone: String!, $password: String!) {
|
|
332
|
+
accountUpdatePhone(phone: $phone, password: $password) {
|
|
333
|
+
phone
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
`);function ao(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({phone:i,password:t})=>{let{data:s,errors:l}=await e.mutation({query:to,variables:{phone:i,password:t}});if(l)throw l;return s.accountUpdatePhone},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var io=u(`
|
|
337
|
+
mutation UpdatePhoneSession($userId: String!, $secret: String!) {
|
|
338
|
+
accountUpdatePhoneSession(userId: $userId, secret: $secret) {
|
|
339
|
+
userId
|
|
340
|
+
expire
|
|
341
|
+
current
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
`);function ro(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({userId:i,secret:t})=>{let{data:s,errors:l}=await e.mutation({query:io,variables:{userId:i,secret:t}});if(l)throw l;return s.accountUpdatePhoneSession},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]}),n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var oo=u(`
|
|
345
|
+
mutation UpdatePhoneVerification($userId: String!, $secret: String!) {
|
|
346
|
+
accountUpdatePhoneVerification(userId: $userId, secret: $secret) {
|
|
347
|
+
expire
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
`);function so(){let{graphql:e}=o();return {...m({mutationFn:async({userId:r,secret:i})=>{let{data:t,errors:s}=await e.mutation({query:oo,variables:{userId:r,secret:i}});if(s)throw s;return t.accountUpdatePhoneVerification}})}}var uo=u(`
|
|
351
|
+
mutation UpdatePrefs($prefs: Assoc!) {
|
|
352
|
+
accountUpdatePrefs(prefs: $prefs) {
|
|
353
|
+
prefs {
|
|
354
|
+
data
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`);function lo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({prefs:i})=>{let{data:t,errors:s}=await e.mutation({query:uo,variables:{prefs:i}});if(s)throw s;return t?.accountUpdatePrefs},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var mo=u(`
|
|
359
|
+
mutation UpdatePushTarget($targetId: String!, $identifier: String!) {
|
|
360
|
+
accountUpdatePushTarget(targetId: $targetId, identifier: $identifier) {
|
|
361
|
+
_id
|
|
362
|
+
userId
|
|
363
|
+
providerType
|
|
364
|
+
identifier
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
`);function co(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({targetId:i,identifier:t})=>{let{data:s,errors:l}=await e.mutation({query:mo,variables:{targetId:i,identifier:t}});if(l)throw l;return s.accountUpdatePushTarget},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var po=u(`
|
|
368
|
+
mutation UpdateSession($sessionId: String!) {
|
|
369
|
+
accountUpdateSession(sessionId: $sessionId) {
|
|
370
|
+
userId
|
|
371
|
+
expire
|
|
372
|
+
current
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
`);function yo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({sessionId:i})=>{let{data:t,errors:s}=await e.mutation({query:po,variables:{sessionId:i}});if(s)throw s;return t.accountUpdateSession},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","account","sessions"]});}})}}var ko=u(`
|
|
376
|
+
mutation UpdateStatus {
|
|
377
|
+
accountUpdateStatus {
|
|
378
|
+
_id
|
|
379
|
+
status
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
`);function fo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async()=>{let{data:i,errors:t}=await e.mutation({query:ko});if(t)throw t;return i.accountUpdateStatus},onSuccess:async()=>{n.invalidateQueries({queryKey:["appwrite","account"]});}})}}var go=u(`
|
|
383
|
+
mutation UpdateVerification($userId: String!, $secret: String!) {
|
|
384
|
+
accountUpdateVerification(userId: $userId, secret: $secret) {
|
|
385
|
+
secret
|
|
386
|
+
expire
|
|
387
|
+
userId
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
`);function So(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({userId:i,secret:t})=>{if(!i||!t)throw new Error("Missing userId or secret");let{data:s,errors:l}=await e.mutation({query:go,variables:{userId:i,secret:t}});if(l)throw l;return s.accountUpdateVerification??{}},onSuccess:async()=>{n.setQueryData(["appwrite","account"],null);}})}}var ga=w(q());function bo({code:e,width:n,height:r,quality:i}){let{avatars:t}=o();return (0, ga.useMemo)(()=>t?.getBrowser({code:e,width:n,height:r,quality:i}),[t,e,n,r,i])}var Sa=w(q());function vo({code:e,width:n,height:r,quality:i}){let{avatars:t}=o();return (0, Sa.useMemo)(()=>t?.getCreditCard({code:e,width:n,height:r,quality:i}),[t,e,n,r,i])}var ba=w(q());function Io({url:e}){let{avatars:n}=o();return (0, ba.useMemo)(()=>n?.getFavicon({url:e}),[n,e])}var va=w(q());function No({code:e,width:n,height:r,quality:i}){let{avatars:t}=o();return (0, va.useMemo)(()=>t?.getFlag({code:e,width:n,height:r,quality:i}),[t,e,n,r,i])}var Ia=w(q());function Do({url:e,width:n,height:r}){let{avatars:i}=o();return (0, Ia.useMemo)(()=>i?.getImage({url:e,width:n,height:r}),[i,e,n,r])}var Na=w(q());function $o({name:e,width:n,height:r,background:i}={}){let{avatars:t}=o();return (0, Na.useMemo)(()=>t?.getInitials({name:e,width:n,height:r,background:i}),[t,e,n,r,i])}var Da=w(q());function Mo({text:e,size:n,margin:r,download:i}){let{avatars:t}=o();return (0, Da.useMemo)(()=>t?.getQR({text:e,size:n,margin:r,download:i}),[t,e,n,r,i])}var $a=w(q());function ho({url:e,width:n,height:r}){let{avatars:i}=o();return (0, $a.useMemo)(()=>i?.getScreenshot({url:e,width:n,height:r}),[i,e,n,r])}var qe=w(q());var Ma=u(`
|
|
391
|
+
query ListDocuments($databaseId: String!, $collectionId: String!, $queries: [String!]) {
|
|
392
|
+
databasesListDocuments(
|
|
393
|
+
databaseId: $databaseId
|
|
394
|
+
collectionId: $collectionId
|
|
395
|
+
queries: $queries
|
|
396
|
+
) {
|
|
397
|
+
total
|
|
398
|
+
documents {
|
|
399
|
+
_id
|
|
400
|
+
data
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
`);function xo({databaseId:e,collectionId:n,queries:r,subscribe:i=true}){let{graphql:t,realtime:s}=o(),l=c(),p=JSON.stringify(r),y=g({queryKey:["appwrite","databases",e,n,{queries:r}],queryFn:async()=>{let{data:I,errors:h}=await t.query({query:Ma,variables:{databaseId:e,collectionId:n,queries:r}});if(h)throw h;let A=I.databasesListDocuments?.documents?.map(C=>({...C,...C?JSON.parse(C.data):{}}))??[];return {total:I.databasesListDocuments?.total??0,documents:A}}});return (0, qe.useEffect)(()=>{if(!i)return;let I=s.subscribe(`databases.${e}.collections.${n}.documents`,h=>{let[,A]=h.events[0].match(/\.(\w+)$/),C=h.payload;switch(A){case "create":case "update":case "delete":l.setQueryData(["appwrite","databases",e,n,"documents",C.$id],C),l.invalidateQueries({queryKey:["appwrite","databases",e,n,{queries:r}],exact:true});break}});return ()=>{I.then(h=>h.close());}},[e,n,s,l,p,i]),{...y,documents:y.data?.documents,total:y.data?.total}}function To({databaseId:e,collectionId:n,queries:r,subscribe:i=true}){let{graphql:t,realtime:s}=o(),l=c(),p=JSON.stringify(r),y=j({queryKey:["appwrite","databases",e,n,{queries:r}],queryFn:async()=>{let{data:I,errors:h}=await t.query({query:Ma,variables:{databaseId:e,collectionId:n,queries:r}});if(h)throw h;let A=I.databasesListDocuments?.documents?.map(C=>({...C,...C?JSON.parse(C.data):{}}))??[];return {total:I.databasesListDocuments?.total??0,documents:A}}});return (0, qe.useEffect)(()=>{if(!i)return;let I=s.subscribe(`databases.${e}.collections.${n}.documents`,h=>{let[,A]=h.events[0].match(/\.(\w+)$/),C=h.payload;switch(A){case "create":case "update":case "delete":l.setQueryData(["appwrite","databases",e,n,"documents",C.$id],C),l.invalidateQueries({queryKey:["appwrite","databases",e,n,{queries:r}],exact:true});break}});return ()=>{I.then(h=>h.close());}},[e,n,s,l,p]),{...y,documents:y.data?.documents,total:y.data?.total}}var Co=u(`
|
|
405
|
+
mutation CreateDocument(
|
|
406
|
+
$databaseId: String!
|
|
407
|
+
$collectionId: String!
|
|
408
|
+
$documentId: String!
|
|
409
|
+
$data: Json!
|
|
410
|
+
$permissions: [String!]
|
|
411
|
+
) {
|
|
412
|
+
databasesCreateDocument(
|
|
413
|
+
databaseId: $databaseId
|
|
414
|
+
collectionId: $collectionId
|
|
415
|
+
documentId: $documentId
|
|
416
|
+
data: $data
|
|
417
|
+
permissions: $permissions
|
|
418
|
+
) {
|
|
419
|
+
_id
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
`);function Ao(){let{graphql:e}=o(),n=c();return m({mutationFn:async({databaseId:i,collectionId:t,documentId:s,data:l,permissions:p})=>{let{data:y,errors:I}=await e.mutation({query:Co,variables:{databaseId:i,collectionId:t,documentId:s,data:JSON.stringify(l),permissions:p}});if(I)throw I;return y.databasesCreateDocument},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}var _o=u(`
|
|
423
|
+
mutation CreateDocuments(
|
|
424
|
+
$databaseId: String!
|
|
425
|
+
$collectionId: String!
|
|
426
|
+
$documents: [Json!]!
|
|
427
|
+
) {
|
|
428
|
+
databasesCreateDocuments(
|
|
429
|
+
databaseId: $databaseId
|
|
430
|
+
collectionId: $collectionId
|
|
431
|
+
documents: $documents
|
|
432
|
+
) {
|
|
433
|
+
total
|
|
434
|
+
documents {
|
|
435
|
+
_id
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
`);function qo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documents:s})=>{let{data:l,errors:p}=await e.mutation({query:_o,variables:{databaseId:i,collectionId:t,documents:s.map(y=>JSON.stringify(y))}});if(p)throw p;return l.databasesCreateDocuments},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var wo=u(`
|
|
440
|
+
mutation CreateOperations($transactionId: String!, $operations: [String!]) {
|
|
441
|
+
databasesCreateOperations(transactionId: $transactionId, operations: $operations) {
|
|
442
|
+
_id
|
|
443
|
+
status
|
|
444
|
+
operations
|
|
445
|
+
expiresAt
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
`);function Vo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({transactionId:i,operations:t})=>{let{data:s,errors:l}=await e.mutation({query:wo,variables:{transactionId:i,operations:t}});if(l)throw l;return s.databasesCreateOperations},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases","transactions",t.transactionId]});}})}}var Uo=u(`
|
|
449
|
+
mutation CreateTransaction($ttl: Int) {
|
|
450
|
+
databasesCreateTransaction(ttl: $ttl) {
|
|
451
|
+
_id
|
|
452
|
+
status
|
|
453
|
+
operations
|
|
454
|
+
expiresAt
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
`);function Eo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({ttl:i}={})=>{let{data:t,errors:s}=await e.mutation({query:Uo,variables:{ttl:i}});if(s)throw s;return t.databasesCreateTransaction},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","databases","transactions"]});}})}}var Fo=u(`
|
|
458
|
+
mutation DecrementDocumentAttribute(
|
|
459
|
+
$databaseId: String!
|
|
460
|
+
$collectionId: String!
|
|
461
|
+
$documentId: String!
|
|
462
|
+
$attribute: String!
|
|
463
|
+
$value: Int
|
|
464
|
+
$min: Int
|
|
465
|
+
) {
|
|
466
|
+
databasesDecrementDocumentAttribute(
|
|
467
|
+
databaseId: $databaseId
|
|
468
|
+
collectionId: $collectionId
|
|
469
|
+
documentId: $documentId
|
|
470
|
+
attribute: $attribute
|
|
471
|
+
value: $value
|
|
472
|
+
min: $min
|
|
473
|
+
) {
|
|
474
|
+
_id
|
|
475
|
+
data
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
`);function Lo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documentId:s,attribute:l,value:p,min:y})=>{let{data:I,errors:h}=await e.mutation({query:Fo,variables:{databaseId:i,collectionId:t,documentId:s,attribute:l,value:p,min:y}});if(h)throw h;return I.databasesDecrementDocumentAttribute},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var Po=u(`
|
|
479
|
+
mutation DeleteDocument($databaseId: String!, $collectionId: String!, $documentId: String!) {
|
|
480
|
+
databasesDeleteDocument(
|
|
481
|
+
databaseId: $databaseId
|
|
482
|
+
collectionId: $collectionId
|
|
483
|
+
documentId: $documentId
|
|
484
|
+
) {
|
|
485
|
+
status
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
`);function Ro(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documentId:s})=>{let{data:l,errors:p}=await e.mutation({query:Po,variables:{databaseId:i,collectionId:t,documentId:s}});if(p)throw p;return l?.databasesDeleteDocument??{status:true}},onSuccess:async(i,t)=>{n.removeQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId,"documents",t.documentId]}),n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var Qo=u(`
|
|
489
|
+
mutation DeleteDocuments(
|
|
490
|
+
$databaseId: String!
|
|
491
|
+
$collectionId: String!
|
|
492
|
+
$queries: [String!]
|
|
493
|
+
) {
|
|
494
|
+
databasesDeleteDocuments(
|
|
495
|
+
databaseId: $databaseId
|
|
496
|
+
collectionId: $collectionId
|
|
497
|
+
queries: $queries
|
|
498
|
+
) {
|
|
499
|
+
total
|
|
500
|
+
documents {
|
|
501
|
+
_id
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
`);function Go(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,queries:s})=>{let{data:l,errors:p}=await e.mutation({query:Qo,variables:{databaseId:i,collectionId:t,queries:s}});if(p)throw p;return l?.databasesDeleteDocuments??{total:0,documents:[]}},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var Oo=u(`
|
|
506
|
+
mutation DeleteTransaction($transactionId: String!) {
|
|
507
|
+
databasesDeleteTransaction(transactionId: $transactionId) {
|
|
508
|
+
status
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
`);function Ko(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({transactionId:i})=>{let{data:t,errors:s}=await e.mutation({query:Oo,variables:{transactionId:i}});if(s)throw s;return t?.databasesDeleteTransaction??{status:true}},onSuccess:(i,t)=>{n.removeQueries({queryKey:["appwrite","databases","transactions",t.transactionId]}),n.invalidateQueries({queryKey:["appwrite","databases","transactions"]});}})}}var ha=w(q());var Bo=u(`
|
|
512
|
+
query GetDocument($databaseId: String!, $collectionId: String!, $documentId: String!) {
|
|
513
|
+
databasesGetDocument(
|
|
514
|
+
databaseId: $databaseId
|
|
515
|
+
collectionId: $collectionId
|
|
516
|
+
documentId: $documentId
|
|
517
|
+
) {
|
|
518
|
+
_id
|
|
519
|
+
data
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
`);function Jo({databaseId:e,collectionId:n,documentId:r}){let{graphql:i,realtime:t}=o(),s=c(),l=g({queryKey:["appwrite","databases",e,n,"documents",r],queryFn:async()=>{let{data:p,errors:y}=await i.query({query:Bo,variables:{databaseId:e,collectionId:n,documentId:r}});if(y)throw y;return {...p.databasesGetDocument,...p.databasesGetDocument?JSON.parse(p.databasesGetDocument.data):{}}}});return (0, ha.useEffect)(()=>{let p=t.subscribe(`databases.${e}.collections.${n}.documents.${r}`,y=>{s.setQueryData(["appwrite","databases",e,n,"documents",r],y.payload);});return ()=>{p.then(y=>y.close());}},[e,n,r,t,s]),{...l}}var jo=u(`
|
|
523
|
+
query GetTransaction($transactionId: String!) {
|
|
524
|
+
databasesGetTransaction(transactionId: $transactionId) {
|
|
525
|
+
_id
|
|
526
|
+
_createdAt
|
|
527
|
+
_updatedAt
|
|
528
|
+
status
|
|
529
|
+
operations
|
|
530
|
+
expiresAt
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
`);function Wo({transactionId:e}){let{graphql:n}=o();return {...g({queryKey:["appwrite","databases","transactions",e],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:jo,variables:{transactionId:e}});if(t)throw t;return i.databasesGetTransaction}})}}var zo=u(`
|
|
534
|
+
mutation IncrementDocumentAttribute(
|
|
535
|
+
$databaseId: String!
|
|
536
|
+
$collectionId: String!
|
|
537
|
+
$documentId: String!
|
|
538
|
+
$attribute: String!
|
|
539
|
+
$value: Int
|
|
540
|
+
$max: Int
|
|
541
|
+
) {
|
|
542
|
+
databasesIncrementDocumentAttribute(
|
|
543
|
+
databaseId: $databaseId
|
|
544
|
+
collectionId: $collectionId
|
|
545
|
+
documentId: $documentId
|
|
546
|
+
attribute: $attribute
|
|
547
|
+
value: $value
|
|
548
|
+
max: $max
|
|
549
|
+
) {
|
|
550
|
+
_id
|
|
551
|
+
data
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
`);function Yo(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documentId:s,attribute:l,value:p,max:y})=>{let{data:I,errors:h}=await e.mutation({query:zo,variables:{databaseId:i,collectionId:t,documentId:s,attribute:l,value:p,max:y}});if(h)throw h;return I.databasesIncrementDocumentAttribute},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var Ho=u(`
|
|
555
|
+
query ListTransactions($queries: String) {
|
|
556
|
+
databasesListTransactions(queries: $queries) {
|
|
557
|
+
total
|
|
558
|
+
transactions {
|
|
559
|
+
_id
|
|
560
|
+
_createdAt
|
|
561
|
+
_updatedAt
|
|
562
|
+
status
|
|
563
|
+
operations
|
|
564
|
+
expiresAt
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
`);function Xo({queries:e}={}){let{graphql:n}=o();return {...g({queryKey:["appwrite","databases","transactions",{queries:e}],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:Ho,variables:{queries:e}});if(t)throw t;return i.databasesListTransactions}})}}var Zo=u(`
|
|
569
|
+
mutation UpdateDocument(
|
|
570
|
+
$databaseId: String!
|
|
571
|
+
$collectionId: String!
|
|
572
|
+
$documentId: String!
|
|
573
|
+
$data: Json
|
|
574
|
+
$permissions: [String!]
|
|
575
|
+
) {
|
|
576
|
+
databasesUpdateDocument(
|
|
577
|
+
databaseId: $databaseId
|
|
578
|
+
collectionId: $collectionId
|
|
579
|
+
documentId: $documentId
|
|
580
|
+
data: $data
|
|
581
|
+
permissions: $permissions
|
|
582
|
+
) {
|
|
583
|
+
_id
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
`);function es(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documentId:s,data:l,permissions:p})=>{let{data:y,errors:I}=await e.mutation({query:Zo,variables:{databaseId:i,collectionId:t,documentId:s,data:JSON.stringify(l),permissions:p}});if(I)throw I;return y.databasesUpdateDocument},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var ns=u(`
|
|
587
|
+
mutation UpdateDocuments(
|
|
588
|
+
$databaseId: String!
|
|
589
|
+
$collectionId: String!
|
|
590
|
+
$data: Json
|
|
591
|
+
$queries: [String!]
|
|
592
|
+
) {
|
|
593
|
+
databasesUpdateDocuments(
|
|
594
|
+
databaseId: $databaseId
|
|
595
|
+
collectionId: $collectionId
|
|
596
|
+
data: $data
|
|
597
|
+
queries: $queries
|
|
598
|
+
) {
|
|
599
|
+
total
|
|
600
|
+
documents {
|
|
601
|
+
_id
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
`);function ts(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,data:s,queries:l})=>{let{data:p,errors:y}=await e.mutation({query:ns,variables:{databaseId:i,collectionId:t,data:s?JSON.stringify(s):void 0,queries:l}});if(y)throw y;return p.databasesUpdateDocuments},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var as=u(`
|
|
606
|
+
mutation UpdateTransaction($transactionId: String!, $commit: Boolean, $rollback: Boolean) {
|
|
607
|
+
databasesUpdateTransaction(
|
|
608
|
+
transactionId: $transactionId
|
|
609
|
+
commit: $commit
|
|
610
|
+
rollback: $rollback
|
|
611
|
+
) {
|
|
612
|
+
_id
|
|
613
|
+
status
|
|
614
|
+
operations
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
`);function is(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({transactionId:i,commit:t,rollback:s})=>{let{data:l,errors:p}=await e.mutation({query:as,variables:{transactionId:i,commit:t,rollback:s}});if(p)throw p;return l.databasesUpdateTransaction},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases","transactions",t.transactionId]}),n.invalidateQueries({queryKey:["appwrite","databases","transactions"]});}})}}var rs=u(`
|
|
618
|
+
mutation UpsertDocument(
|
|
619
|
+
$databaseId: String!
|
|
620
|
+
$collectionId: String!
|
|
621
|
+
$documentId: String!
|
|
622
|
+
$data: Json!
|
|
623
|
+
$permissions: [String!]
|
|
624
|
+
) {
|
|
625
|
+
databasesUpsertDocument(
|
|
626
|
+
databaseId: $databaseId
|
|
627
|
+
collectionId: $collectionId
|
|
628
|
+
documentId: $documentId
|
|
629
|
+
data: $data
|
|
630
|
+
permissions: $permissions
|
|
631
|
+
) {
|
|
632
|
+
_id
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
`);function os(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documentId:s,data:l,permissions:p})=>{let{data:y,errors:I}=await e.mutation({query:rs,variables:{databaseId:i,collectionId:t,documentId:s,data:JSON.stringify(l),permissions:p}});if(I)throw I;return y.databasesUpsertDocument},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var ss=u(`
|
|
636
|
+
mutation UpsertDocuments(
|
|
637
|
+
$databaseId: String!
|
|
638
|
+
$collectionId: String!
|
|
639
|
+
$documents: [Json!]!
|
|
640
|
+
) {
|
|
641
|
+
databasesUpsertDocuments(
|
|
642
|
+
databaseId: $databaseId
|
|
643
|
+
collectionId: $collectionId
|
|
644
|
+
documents: $documents
|
|
645
|
+
) {
|
|
646
|
+
total
|
|
647
|
+
documents {
|
|
648
|
+
_id
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
`);function us(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({databaseId:i,collectionId:t,documents:s})=>{let{data:l,errors:p}=await e.mutation({query:ss,variables:{databaseId:i,collectionId:t,documents:s.map(y=>JSON.stringify(y))}});if(p)throw p;return l.databasesUpsertDocuments},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","databases",t.databaseId,t.collectionId]});}})}}var ds=u(`
|
|
653
|
+
query GetLocale {
|
|
654
|
+
localeGet {
|
|
655
|
+
ip
|
|
656
|
+
countryCode
|
|
657
|
+
country
|
|
658
|
+
continentCode
|
|
659
|
+
continent
|
|
660
|
+
eu
|
|
661
|
+
currency
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
`);function ls(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:ds});if(i)throw i;return r.localeGet}})}}var ms=u(`
|
|
665
|
+
query ListLocaleCodes {
|
|
666
|
+
localeListCodes {
|
|
667
|
+
total
|
|
668
|
+
localeCodes {
|
|
669
|
+
code
|
|
670
|
+
name
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
`);function cs(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","codes"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:ms});if(i)throw i;return r.localeListCodes}})}}var ps=u(`
|
|
675
|
+
query ListContinents {
|
|
676
|
+
localeListContinents {
|
|
677
|
+
total
|
|
678
|
+
continents {
|
|
679
|
+
name
|
|
680
|
+
code
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
`);function ys(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","continents"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:ps});if(i)throw i;return r.localeListContinents}})}}var ks=u(`
|
|
685
|
+
query ListCountries {
|
|
686
|
+
localeListCountries {
|
|
687
|
+
total
|
|
688
|
+
countries {
|
|
689
|
+
name
|
|
690
|
+
code
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
`);function fs(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","countries"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:ks});if(i)throw i;return r.localeListCountries}})}}var gs=u(`
|
|
695
|
+
query ListCountriesEU {
|
|
696
|
+
localeListCountriesEU {
|
|
697
|
+
total
|
|
698
|
+
countries {
|
|
699
|
+
name
|
|
700
|
+
code
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
`);function Ss(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","countries-eu"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:gs});if(i)throw i;return r.localeListCountriesEU}})}}var bs=u(`
|
|
705
|
+
query ListCountriesPhones {
|
|
706
|
+
localeListCountriesPhones {
|
|
707
|
+
total
|
|
708
|
+
phones {
|
|
709
|
+
code
|
|
710
|
+
countryCode
|
|
711
|
+
countryName
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
`);function vs(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","countries-phones"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:bs});if(i)throw i;return r.localeListCountriesPhones}})}}var Is=u(`
|
|
716
|
+
query ListCurrencies {
|
|
717
|
+
localeListCurrencies {
|
|
718
|
+
total
|
|
719
|
+
currencies {
|
|
720
|
+
symbol
|
|
721
|
+
name
|
|
722
|
+
symbolNative
|
|
723
|
+
decimalDigits
|
|
724
|
+
rounding
|
|
725
|
+
code
|
|
726
|
+
namePlural
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
`);function Ns(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","currencies"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:Is});if(i)throw i;return r.localeListCurrencies}})}}var Ds=u(`
|
|
731
|
+
query ListLanguages {
|
|
732
|
+
localeListLanguages {
|
|
733
|
+
total
|
|
734
|
+
languages {
|
|
735
|
+
name
|
|
736
|
+
code
|
|
737
|
+
nativeName
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
`);function $s(){let{graphql:e}=o();return {...g({queryKey:["appwrite","locale","languages"],queryFn:async()=>{let{data:r,errors:i}=await e.query({query:Ds});if(i)throw i;return r.localeListLanguages}})}}var Ms=u(`
|
|
742
|
+
query GetFile($bucketId: String!, $fileId: String!) {
|
|
743
|
+
storageGetFile(bucketId: $bucketId, fileId: $fileId) {
|
|
744
|
+
_id
|
|
745
|
+
bucketId
|
|
746
|
+
_createdAt
|
|
747
|
+
_updatedAt
|
|
748
|
+
_permissions
|
|
749
|
+
name
|
|
750
|
+
signature
|
|
751
|
+
mimeType
|
|
752
|
+
sizeOriginal
|
|
753
|
+
chunksTotal
|
|
754
|
+
chunksUploaded
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
`);function hs({bucketId:e,fileId:n}){let{graphql:r}=o();return {...g({queryKey:["appwrite","storage",e,"files",n],queryFn:async()=>{let{data:t,errors:s}=await r.query({query:Ms,variables:{bucketId:e,fileId:n}});if(s)throw s;return t.storageGetFile}})}}var xa=w(q());function xs({bucketId:e,fileId:n,token:r}){let{storage:i}=o();return (0, xa.useMemo)(()=>i?.getFileDownload({bucketId:e,fileId:n,token:r}),[i,e,n,r])}var Ta=w(q());function Ts({bucketId:e,fileId:n,width:r,height:i,gravity:t,quality:s,borderWidth:l,borderColor:p,borderRadius:y,opacity:I,rotation:h,background:A,output:C,token:F}){let{storage:L}=o();return (0, Ta.useMemo)(()=>L?.getFilePreview({bucketId:e,fileId:n,width:r,height:i,gravity:t,quality:s,borderWidth:l,borderColor:p,borderRadius:y,opacity:I,rotation:h,background:A,output:C,token:F}),[L,e,n,r,i,t,s,l,p,y,I,h,A,C,F])}var Ca=w(q());function Cs({bucketId:e,fileId:n,token:r}){let{storage:i}=o();return (0, Ca.useMemo)(()=>i?.getFileView({bucketId:e,fileId:n,token:r}),[i,e,n,r])}var As=u(`
|
|
758
|
+
query ListFiles($bucketId: String!, $queries: [String!], $search: String) {
|
|
759
|
+
storageListFiles(bucketId: $bucketId, queries: $queries, search: $search) {
|
|
760
|
+
total
|
|
761
|
+
files {
|
|
762
|
+
_id
|
|
763
|
+
bucketId
|
|
764
|
+
_createdAt
|
|
765
|
+
_updatedAt
|
|
766
|
+
_permissions
|
|
767
|
+
name
|
|
768
|
+
signature
|
|
769
|
+
mimeType
|
|
770
|
+
sizeOriginal
|
|
771
|
+
chunksTotal
|
|
772
|
+
chunksUploaded
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
`);function _s({bucketId:e,queries:n,search:r}){let{graphql:i}=o();return {...g({queryKey:["appwrite","storage",e,"files",{queries:n,search:r}],queryFn:async()=>{let{data:s,errors:l}=await i.query({query:As,variables:{bucketId:e,queries:n,search:r}});if(l)throw l;return s.storageListFiles}})}}var qs=u(`
|
|
777
|
+
mutation CreateFile(
|
|
778
|
+
$bucketId: String!
|
|
779
|
+
$fileId: String!
|
|
780
|
+
$file: String!
|
|
781
|
+
$permissions: [String!]
|
|
782
|
+
) {
|
|
783
|
+
storageCreateFile(
|
|
784
|
+
bucketId: $bucketId
|
|
785
|
+
fileId: $fileId
|
|
786
|
+
file: $file
|
|
787
|
+
permissions: $permissions
|
|
788
|
+
) {
|
|
789
|
+
_id
|
|
790
|
+
bucketId
|
|
791
|
+
name
|
|
792
|
+
mimeType
|
|
793
|
+
sizeOriginal
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
`);function ws(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({bucketId:i,fileId:t,file:s,permissions:l})=>{let{data:p,errors:y}=await e.mutation({query:qs,variables:{bucketId:i,fileId:t,file:s,permissions:l}});if(y)throw y;return p.storageCreateFile},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","storage",t.bucketId,"files"]});}})}}var Vs=u(`
|
|
797
|
+
mutation UpdateFile(
|
|
798
|
+
$bucketId: String!
|
|
799
|
+
$fileId: String!
|
|
800
|
+
$name: String
|
|
801
|
+
$permissions: [String!]
|
|
802
|
+
) {
|
|
803
|
+
storageUpdateFile(
|
|
804
|
+
bucketId: $bucketId
|
|
805
|
+
fileId: $fileId
|
|
806
|
+
name: $name
|
|
807
|
+
permissions: $permissions
|
|
808
|
+
) {
|
|
809
|
+
_id
|
|
810
|
+
bucketId
|
|
811
|
+
name
|
|
812
|
+
_permissions
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
`);function Us(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({bucketId:i,fileId:t,name:s,permissions:l})=>{let{data:p,errors:y}=await e.mutation({query:Vs,variables:{bucketId:i,fileId:t,name:s,permissions:l}});if(y)throw y;return p.storageUpdateFile},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","storage",t.bucketId,"files"]});}})}}var Es=u(`
|
|
816
|
+
mutation DeleteFile($bucketId: String!, $fileId: String!) {
|
|
817
|
+
storageDeleteFile(bucketId: $bucketId, fileId: $fileId) {
|
|
818
|
+
status
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
`);function Fs(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({bucketId:i,fileId:t})=>{let{data:s,errors:l}=await e.mutation({query:Es,variables:{bucketId:i,fileId:t}});if(l)throw l;return s?.storageDeleteFile??{status:true}},onSuccess:(i,t)=>{n.removeQueries({queryKey:["appwrite","storage",t.bucketId,"files",t.fileId]}),n.invalidateQueries({queryKey:["appwrite","storage",t.bucketId,"files"]});}})}}var Ls=u(`
|
|
822
|
+
query GetTeam($teamId: String!) {
|
|
823
|
+
teamsGet(teamId: $teamId) {
|
|
824
|
+
_id
|
|
825
|
+
_createdAt
|
|
826
|
+
_updatedAt
|
|
827
|
+
name
|
|
828
|
+
total
|
|
829
|
+
prefs {
|
|
830
|
+
data
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
`);function Ps({teamId:e}){let{graphql:n}=o();return {...g({queryKey:["appwrite","teams",e],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:Ls,variables:{teamId:e}});if(t)throw t;return i.teamsGet}})}}var Rs=u(`
|
|
835
|
+
query ListTeams($queries: [String!], $search: String) {
|
|
836
|
+
teamsList(queries: $queries, search: $search) {
|
|
837
|
+
total
|
|
838
|
+
teams {
|
|
839
|
+
_id
|
|
840
|
+
_createdAt
|
|
841
|
+
_updatedAt
|
|
842
|
+
name
|
|
843
|
+
total
|
|
844
|
+
prefs {
|
|
845
|
+
data
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
`);function Qs({queries:e,search:n}={}){let{graphql:r}=o();return {...g({queryKey:["appwrite","teams",{queries:e,search:n}],queryFn:async()=>{let{data:t,errors:s}=await r.query({query:Rs,variables:{queries:e,search:n}});if(s)throw s;return t.teamsList}})}}var Gs=u(`
|
|
851
|
+
query GetTeamPrefs($teamId: String!) {
|
|
852
|
+
teamsGetPrefs(teamId: $teamId) {
|
|
853
|
+
data
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
`);function Os({teamId:e}){let{graphql:n}=o();return {...g({queryKey:["appwrite","teams",e,"prefs"],queryFn:async()=>{let{data:i,errors:t}=await n.query({query:Gs,variables:{teamId:e}});if(t)throw t;return i.teamsGetPrefs}})}}var Ks=u(`
|
|
857
|
+
query GetMembership($teamId: String!, $membershipId: String!) {
|
|
858
|
+
teamsGetMembership(teamId: $teamId, membershipId: $membershipId) {
|
|
859
|
+
_id
|
|
860
|
+
_createdAt
|
|
861
|
+
_updatedAt
|
|
862
|
+
userId
|
|
863
|
+
userName
|
|
864
|
+
userEmail
|
|
865
|
+
teamId
|
|
866
|
+
teamName
|
|
867
|
+
invited
|
|
868
|
+
joined
|
|
869
|
+
confirm
|
|
870
|
+
mfa
|
|
871
|
+
roles
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
`);function Bs({teamId:e,membershipId:n}){let{graphql:r}=o();return {...g({queryKey:["appwrite","teams",e,"memberships",n],queryFn:async()=>{let{data:t,errors:s}=await r.query({query:Ks,variables:{teamId:e,membershipId:n}});if(s)throw s;return t.teamsGetMembership}})}}var Js=u(`
|
|
875
|
+
query ListMemberships($teamId: String!, $queries: [String!], $search: String) {
|
|
876
|
+
teamsListMemberships(teamId: $teamId, queries: $queries, search: $search) {
|
|
877
|
+
total
|
|
878
|
+
memberships {
|
|
879
|
+
_id
|
|
880
|
+
_createdAt
|
|
881
|
+
_updatedAt
|
|
882
|
+
userId
|
|
883
|
+
userName
|
|
884
|
+
userEmail
|
|
885
|
+
teamId
|
|
886
|
+
teamName
|
|
887
|
+
invited
|
|
888
|
+
joined
|
|
889
|
+
confirm
|
|
890
|
+
mfa
|
|
891
|
+
roles
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
`);function js({teamId:e,queries:n,search:r}){let{graphql:i}=o();return {...g({queryKey:["appwrite","teams",e,"memberships",{queries:n,search:r}],queryFn:async()=>{let{data:s,errors:l}=await i.query({query:Js,variables:{teamId:e,queries:n,search:r}});if(l)throw l;return s.teamsListMemberships}})}}var Ws=u(`
|
|
896
|
+
mutation CreateTeam($teamId: String!, $name: String!, $roles: [String!]) {
|
|
897
|
+
teamsCreate(teamId: $teamId, name: $name, roles: $roles) {
|
|
898
|
+
_id
|
|
899
|
+
name
|
|
900
|
+
total
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
`);function zs(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,name:t,roles:s})=>{let{data:l,errors:p}=await e.mutation({query:Ws,variables:{teamId:i,name:t,roles:s}});if(p)throw p;return l.teamsCreate},onSuccess:()=>{n.invalidateQueries({queryKey:["appwrite","teams"]});}})}}var Ys=u(`
|
|
904
|
+
mutation UpdateTeamName($teamId: String!, $name: String!) {
|
|
905
|
+
teamsUpdateName(teamId: $teamId, name: $name) {
|
|
906
|
+
_id
|
|
907
|
+
name
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
`);function Hs(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,name:t})=>{let{data:s,errors:l}=await e.mutation({query:Ys,variables:{teamId:i,name:t}});if(l)throw l;return s.teamsUpdateName},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","teams",t.teamId]}),n.invalidateQueries({queryKey:["appwrite","teams"]});}})}}var Xs=u(`
|
|
911
|
+
mutation UpdateTeamPrefs($teamId: String!, $prefs: Assoc!) {
|
|
912
|
+
teamsUpdatePrefs(teamId: $teamId, prefs: $prefs) {
|
|
913
|
+
data
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
`);function Zs(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,prefs:t})=>{let{data:s,errors:l}=await e.mutation({query:Xs,variables:{teamId:i,prefs:t}});if(l)throw l;return s.teamsUpdatePrefs},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","teams",t.teamId]});}})}}var eu=u(`
|
|
917
|
+
mutation DeleteTeam($teamId: String!) {
|
|
918
|
+
teamsDelete(teamId: $teamId) {
|
|
919
|
+
status
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
`);function nu(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i})=>{let{data:t,errors:s}=await e.mutation({query:eu,variables:{teamId:i}});if(s)throw s;return t?.teamsDelete??{status:true}},onSuccess:(i,t)=>{n.removeQueries({queryKey:["appwrite","teams",t.teamId]}),n.invalidateQueries({queryKey:["appwrite","teams"]});}})}}var tu=u(`
|
|
923
|
+
mutation CreateMembership(
|
|
924
|
+
$teamId: String!
|
|
925
|
+
$roles: [String!]!
|
|
926
|
+
$email: String
|
|
927
|
+
$userId: String
|
|
928
|
+
$phone: String
|
|
929
|
+
$url: String
|
|
930
|
+
$name: String
|
|
931
|
+
) {
|
|
932
|
+
teamsCreateMembership(
|
|
933
|
+
teamId: $teamId
|
|
934
|
+
roles: $roles
|
|
935
|
+
email: $email
|
|
936
|
+
userId: $userId
|
|
937
|
+
phone: $phone
|
|
938
|
+
url: $url
|
|
939
|
+
name: $name
|
|
940
|
+
) {
|
|
941
|
+
_id
|
|
942
|
+
userId
|
|
943
|
+
teamId
|
|
944
|
+
roles
|
|
945
|
+
confirm
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
`);function au(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,roles:t,email:s,userId:l,phone:p,url:y,name:I})=>{let{data:h,errors:A}=await e.mutation({query:tu,variables:{teamId:i,roles:t,email:s,userId:l,phone:p,url:y,name:I}});if(A)throw A;return h.teamsCreateMembership},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","teams",t.teamId,"memberships"]}),n.invalidateQueries({queryKey:["appwrite","teams",t.teamId]});}})}}var iu=u(`
|
|
949
|
+
mutation UpdateMembership($teamId: String!, $membershipId: String!, $roles: [String!]!) {
|
|
950
|
+
teamsUpdateMembership(teamId: $teamId, membershipId: $membershipId, roles: $roles) {
|
|
951
|
+
_id
|
|
952
|
+
roles
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
`);function ru(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,membershipId:t,roles:s})=>{let{data:l,errors:p}=await e.mutation({query:iu,variables:{teamId:i,membershipId:t,roles:s}});if(p)throw p;return l.teamsUpdateMembership},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","teams",t.teamId,"memberships"]});}})}}var ou=u(`
|
|
956
|
+
mutation UpdateMembershipStatus(
|
|
957
|
+
$teamId: String!
|
|
958
|
+
$membershipId: String!
|
|
959
|
+
$userId: String!
|
|
960
|
+
$secret: String!
|
|
961
|
+
) {
|
|
962
|
+
teamsUpdateMembershipStatus(
|
|
963
|
+
teamId: $teamId
|
|
964
|
+
membershipId: $membershipId
|
|
965
|
+
userId: $userId
|
|
966
|
+
secret: $secret
|
|
967
|
+
) {
|
|
968
|
+
_id
|
|
969
|
+
confirm
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
`);function su(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,membershipId:t,userId:s,secret:l})=>{let{data:p,errors:y}=await e.mutation({query:ou,variables:{teamId:i,membershipId:t,userId:s,secret:l}});if(y)throw y;return p.teamsUpdateMembershipStatus},onSuccess:(i,t)=>{n.invalidateQueries({queryKey:["appwrite","teams",t.teamId,"memberships"]});}})}}var uu=u(`
|
|
973
|
+
mutation DeleteMembership($teamId: String!, $membershipId: String!) {
|
|
974
|
+
teamsDeleteMembership(teamId: $teamId, membershipId: $membershipId) {
|
|
975
|
+
status
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
`);function du(){let{graphql:e}=o(),n=c();return {...m({mutationFn:async({teamId:i,membershipId:t})=>{let{data:s,errors:l}=await e.mutation({query:uu,variables:{teamId:i,membershipId:t}});if(l)throw l;return s?.teamsDeleteMembership??{status:true}},onSuccess:(i,t)=>{n.removeQueries({queryKey:["appwrite","teams",t.teamId,"memberships",t.membershipId]}),n.invalidateQueries({queryKey:["appwrite","teams",t.teamId,"memberships"]}),n.invalidateQueries({queryKey:["appwrite","teams",t.teamId]});}})}}var we=w(q());var Aa=u(`
|
|
979
|
+
mutation CreateExecution(
|
|
980
|
+
$functionId: String!
|
|
981
|
+
$body: String
|
|
982
|
+
$async: Boolean
|
|
983
|
+
$path: String
|
|
984
|
+
$method: String # $headers: Json
|
|
985
|
+
) {
|
|
986
|
+
functionsCreateExecution(
|
|
987
|
+
functionId: $functionId
|
|
988
|
+
body: $body
|
|
989
|
+
async: $async
|
|
990
|
+
path: $path
|
|
991
|
+
method: $method # headers: $headers
|
|
992
|
+
) {
|
|
993
|
+
_id
|
|
994
|
+
status
|
|
995
|
+
responseStatusCode
|
|
996
|
+
responseBody
|
|
997
|
+
errors
|
|
998
|
+
duration
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
`),lu=u(`
|
|
1002
|
+
query GetFunctionExecution($functionId: String!, $executionId: String!) {
|
|
1003
|
+
functionsGetExecution(functionId: $functionId, executionId: $executionId) {
|
|
1004
|
+
status
|
|
1005
|
+
errors
|
|
1006
|
+
duration
|
|
1007
|
+
responseBody
|
|
1008
|
+
requestPath
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
`);function mu({currentExecution:e,currentFunction:n}){let{graphql:r}=o();return J({queryKey:["appwrite","functions",n,e],queryFn:async()=>{if(!e||!n)return null;let{data:t}=await r.query({query:lu,variables:{functionId:n,executionId:e}});return t.functionsGetExecution??{}}})}function Zb(){let{graphql:e}=o(),[n,r]=(0, we.useState)(null),[i,t]=(0, we.useState)(null),s=mu({currentExecution:n,currentFunction:i});return {executeFunction:m({mutationFn:async({functionId:p,body:y={},async:I=false,path:h="/",method:A="POST"})=>{t(p);let{data:C}=await e.mutation({query:Aa,variables:{functionId:p,body:JSON.stringify(y),async:I,path:h,method:A}}),{_id:F,status:L,responseBody:P,errors:ue}=C.functionsCreateExecution??{};if(L==="failed")throw new Error(ue);r(F??null);let U={};try{U=JSON.parse(P??"{}");}catch{}return U}}),currentExecution:s}}function ev({functionId:e,body:n={},async:r=false,path:i="/",method:t="POST"}){let{graphql:s}=o();return {executeFunction:g({queryKey:["appwrite","functions",e,i],queryFn:async()=>{let{data:p}=await s.mutation({query:Aa,variables:{functionId:e,body:JSON.stringify(n),async:r,path:i,method:t}}),{status:y,responseBody:I,errors:h}=p.functionsCreateExecution??{};if(y==="failed")throw new Error(h);let A={};try{A=JSON.parse(I??"{}");}catch{}return A}})}}var cu=u(`
|
|
1012
|
+
query GetExecution($functionId: String!, $executionId: String!) {
|
|
1013
|
+
functionsGetExecution(functionId: $functionId, executionId: $executionId) {
|
|
1014
|
+
_id
|
|
1015
|
+
_createdAt
|
|
1016
|
+
_updatedAt
|
|
1017
|
+
functionId
|
|
1018
|
+
trigger
|
|
1019
|
+
status
|
|
1020
|
+
requestMethod
|
|
1021
|
+
requestPath
|
|
1022
|
+
responseStatusCode
|
|
1023
|
+
responseBody
|
|
1024
|
+
errors
|
|
1025
|
+
duration
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
`);function rv({functionId:e,executionId:n}){let{graphql:r}=o();return {...g({queryKey:["appwrite","functions",e,"executions",n],queryFn:async()=>{let{data:t,errors:s}=await r.query({query:cu,variables:{functionId:e,executionId:n}});if(s)throw s;return t.functionsGetExecution}})}}var pu=u(`
|
|
1029
|
+
query ListExecutions($functionId: String!, $queries: [String!]) {
|
|
1030
|
+
functionsListExecutions(functionId: $functionId, queries: $queries) {
|
|
1031
|
+
total
|
|
1032
|
+
executions {
|
|
1033
|
+
_id
|
|
1034
|
+
_createdAt
|
|
1035
|
+
_updatedAt
|
|
1036
|
+
functionId
|
|
1037
|
+
trigger
|
|
1038
|
+
status
|
|
1039
|
+
requestMethod
|
|
1040
|
+
requestPath
|
|
1041
|
+
responseStatusCode
|
|
1042
|
+
responseBody
|
|
1043
|
+
errors
|
|
1044
|
+
duration
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`);function lv({functionId:e,queries:n}){let{graphql:r}=o();return {...g({queryKey:["appwrite","functions",e,"executions",{queries:n}],queryFn:async()=>{let{data:t,errors:s}=await r.query({query:pu,variables:{functionId:e,queries:n}});if(s)throw s;return t.functionsListExecutions}})}}exports.fragments=void 0;(r=>(r.Account_UserFragment=Wt,r.Identity_ProviderFragment=zt))(exports.fragments||={});/*! Bundled license information:
|
|
1049
|
+
|
|
1050
|
+
react/cjs/react.production.js:
|
|
1051
|
+
(**
|
|
1052
|
+
* @license React
|
|
1053
|
+
* react.production.js
|
|
1054
|
+
*
|
|
1055
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1056
|
+
*
|
|
1057
|
+
* This source code is licensed under the MIT license found in the
|
|
1058
|
+
* LICENSE file in the root directory of this source tree.
|
|
1059
|
+
*)
|
|
1060
|
+
|
|
1061
|
+
react/cjs/react.development.js:
|
|
1062
|
+
(**
|
|
1063
|
+
* @license React
|
|
1064
|
+
* react.development.js
|
|
1065
|
+
*
|
|
1066
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1067
|
+
*
|
|
1068
|
+
* This source code is licensed under the MIT license found in the
|
|
1069
|
+
* LICENSE file in the root directory of this source tree.
|
|
1070
|
+
*)
|
|
1071
|
+
*/exports.AppwriteProvider=di;exports.getFragmentData=ja;exports.useAccount=Ci;exports.useAppwrite=o;exports.useAvatarBrowser=bo;exports.useAvatarCreditCard=vo;exports.useAvatarFavicon=Io;exports.useAvatarFlag=No;exports.useAvatarImage=Do;exports.useAvatarInitials=$o;exports.useAvatarQR=Mo;exports.useAvatarScreenshot=ho;exports.useCollection=xo;exports.useCreateAnonymousSession=_i;exports.useCreateDocument=Ao;exports.useCreateDocuments=qo;exports.useCreateEmailToken=wi;exports.useCreateEmailVerification=tr;exports.useCreateFile=ws;exports.useCreateJWT=Vi;exports.useCreateMagicURLToken=Fi;exports.useCreateMembership=au;exports.useCreateMfaAuthenticator=Pi;exports.useCreateMfaChallenge=Qi;exports.useCreateMfaRecoveryCodes=Oi;exports.useCreateOAuth2Token=Ki;exports.useCreateOperations=Vo;exports.useCreatePhoneToken=Ji;exports.useCreatePhoneVerification=Wi;exports.useCreatePushTarget=Yi;exports.useCreateSession=Xi;exports.useCreateTeam=zs;exports.useCreateTransaction=Eo;exports.useDecrementAttribute=Lo;exports.useDeleteAccount=er;exports.useDeleteDocument=Ro;exports.useDeleteDocuments=Go;exports.useDeleteFile=Fs;exports.useDeleteIdentity=ir;exports.useDeleteMembership=du;exports.useDeleteMfaAuthenticator=or;exports.useDeletePushTarget=ur;exports.useDeleteSession=lr;exports.useDeleteSessions=cr;exports.useDeleteTeam=nu;exports.useDeleteTransaction=Ko;exports.useDocument=Jo;exports.useFile=hs;exports.useFileDownload=xs;exports.useFilePreview=Ts;exports.useFileView=Cs;exports.useFiles=_s;exports.useFunction=Zb;exports.useGetExecution=rv;exports.useGetMfaRecoveryCodes=yr;exports.useGetPrefs=fr;exports.useGetSession=Sr;exports.useGetTransaction=Wo;exports.useIncrementAttribute=Yo;exports.useLazyAccount=Ti;exports.useLazyQuery=J;exports.useListExecutions=lv;exports.useListIdentities=vr;exports.useListMfaFactors=Nr;exports.useListSessions=$r;exports.useListTransactions=Xo;exports.useLocale=ls;exports.useLocaleCodes=cs;exports.useLocaleContinents=ys;exports.useLocaleCountries=fs;exports.useLocaleCountriesEU=Ss;exports.useLocaleCountriesPhones=vs;exports.useLocaleCurrencies=Ns;exports.useLocaleLanguages=$s;exports.useLogin=hr;exports.useLogout=Tr;exports.useLogs=Ar;exports.useMutation=m;exports.usePasswordRecovery=qr;exports.useQuery=g;exports.useQueryClient=c;exports.useResetPassword=Vr;exports.useSignUp=Fr;exports.useSuspenseCollection=To;exports.useSuspenseCreateJWT=Ui;exports.useSuspenseFunction=ev;exports.useSuspenseQuery=j;exports.useTeam=Ps;exports.useTeamMembership=Bs;exports.useTeamMemberships=js;exports.useTeamPrefs=Os;exports.useTeams=Qs;exports.useUpdateDocument=es;exports.useUpdateDocuments=ts;exports.useUpdateEmail=Pr;exports.useUpdateEmailVerification=Qr;exports.useUpdateFile=Us;exports.useUpdateMagicURLSession=Or;exports.useUpdateMembership=ru;exports.useUpdateMembershipStatus=su;exports.useUpdateMfa=Br;exports.useUpdateMfaAuthenticator=jr;exports.useUpdateMfaChallenge=zr;exports.useUpdateMfaRecoveryCodes=Hr;exports.useUpdateName=Zr;exports.useUpdatePassword=no;exports.useUpdatePhone=ao;exports.useUpdatePhoneSession=ro;exports.useUpdatePhoneVerification=so;exports.useUpdatePrefs=lo;exports.useUpdatePushTarget=co;exports.useUpdateSession=yo;exports.useUpdateStatus=fo;exports.useUpdateTeamName=Hs;exports.useUpdateTeamPrefs=Zs;exports.useUpdateTransaction=is;exports.useUpsertDocument=os;exports.useUpsertDocuments=us;exports.useVerification=So;//# sourceMappingURL=index.cjs.map
|
|
1072
|
+
//# sourceMappingURL=index.cjs.map
|