@swishapp/api-client 0.44.0-unstable.20260701185127 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/unstable/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var rt=Object.defineProperty;var t=(e,r)=>rt(e,"name",{value:r,configurable:!0});var Vr={bodySerializer:t(e=>JSON.stringify(e,(r,o)=>typeof o=="bigint"?o.toString():o),"bodySerializer")};var Hr=t(({onRequest:e,onSseError:r,onSseEvent:o,responseTransformer:n,responseValidator:l,sseDefaultRetryDelay:p,sseMaxRetryAttempts:d,sseMaxRetryDelay:a,sseSleepFn:C,url:m,...i})=>{let y,
|
|
1
|
+
var rt=Object.defineProperty;var t=(e,r)=>rt(e,"name",{value:r,configurable:!0});var Vr={bodySerializer:t(e=>JSON.stringify(e,(r,o)=>typeof o=="bigint"?o.toString():o),"bodySerializer")};var Hr=t(({onRequest:e,onSseError:r,onSseEvent:o,responseTransformer:n,responseValidator:l,sseDefaultRetryDelay:p,sseMaxRetryAttempts:d,sseMaxRetryDelay:a,sseSleepFn:C,url:m,...i})=>{let y,F=C??(c=>new Promise(R=>setTimeout(R,c)));return{stream:t(async function*(){let c=p??3e3,R=0,S=i.signal??new AbortController().signal;for(;!S.aborted;){R++;let b=i.headers instanceof Headers?i.headers:new Headers(i.headers);y!==void 0&&b.set("Last-Event-ID",y);try{let D={redirect:"follow",...i,body:i.serializedBody,headers:b,signal:S},O=new Request(m,D);e&&(O=await e(m,D));let u=await(i.fetch??globalThis.fetch)(O);if(!u.ok)throw new Error(`SSE failed: ${u.status} ${u.statusText}`);if(!u.body)throw new Error("No body in SSE response");let I=u.body.pipeThrough(new TextDecoderStream).getReader(),w="",Gr=t(()=>{try{I.cancel()}catch{}},"abortHandler");S.addEventListener("abort",Gr);try{for(;;){let{done:Xr,value:Yr}=await I.read();if(Xr)break;w+=Yr,w=w.replace(/\r\n/g,`
|
|
2
2
|
`).replace(/\r/g,`
|
|
3
3
|
`);let Mr=w.split(`
|
|
4
4
|
|
|
5
5
|
`);w=Mr.pop()??"";for(let Zr of Mr){let et=Zr.split(`
|
|
6
6
|
`),x=[],zr;for(let f of et)if(f.startsWith("data:"))x.push(f.replace(/^data:\s*/,""));else if(f.startsWith("event:"))zr=f.replace(/^event:\s*/,"");else if(f.startsWith("id:"))y=f.replace(/^id:\s*/,"");else if(f.startsWith("retry:")){let Nr=Number.parseInt(f.replace(/^retry:\s*/,""),10);Number.isNaN(Nr)||(c=Nr)}let T,jr=!1;if(x.length){let f=x.join(`
|
|
7
|
-
`);try{T=JSON.parse(f),jr=!0}catch{T=f}}jr&&(l&&await l(T),n&&(T=await n(T))),o==null||o({data:T,event:zr,id:y,retry:c}),x.length&&(yield T)}}}finally{S.removeEventListener("abort",Gr),I.releaseLock()}break}catch(D){if(r==null||r(D),d!==void 0&&R>=d)break;let O=Math.min(c*2**(R-1),a??3e4);await b(O)}}},"createStream")()}},"createSseClient");var tt=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorArrayExplode"),ot=t(e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},"separatorArrayNoExplode"),st=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorObjectExplode"),P=t(({allowReserved:e,explode:r,name:o,style:n,value:l})=>{if(!r){let a=(e?l:l.map(C=>encodeURIComponent(C))).join(ot(n));switch(n){case"label":return`.${a}`;case"matrix":return`;${o}=${a}`;case"simple":return a;default:return`${o}=${a}`}}let p=tt(n),d=l.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):F({allowReserved:e,name:o,value:a})).join(p);return n==="label"||n==="matrix"?p+d:d},"serializeArrayParam"),F=t(({allowReserved:e,name:r,value:o})=>{if(o==null)return"";if(typeof o=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?o:encodeURIComponent(o)}`},"serializePrimitiveParam"),v=t(({allowReserved:e,explode:r,name:o,style:n,value:l,valueOnly:p})=>{if(l instanceof Date)return p?l.toISOString():`${o}=${l.toISOString()}`;if(n!=="deepObject"&&!r){let C=[];Object.entries(l).forEach(([i,y])=>{C=[...C,i,e?y:encodeURIComponent(y)]});let m=C.join(",");switch(n){case"form":return`${o}=${m}`;case"label":return`.${m}`;case"matrix":return`;${o}=${m}`;default:return m}}let d=st(n),a=Object.entries(l).map(([C,m])=>F({allowReserved:e,name:n==="deepObject"?`${o}[${C}]`:C,value:m})).join(d);return n==="label"||n==="matrix"?d+a:a},"serializeObjectParam");var nt=/\{[^{}]+\}/g,lt=t(({path:e,url:r})=>{let o=r,n=r.match(nt);if(n)for(let l of n){let p=!1,d=l.substring(1,l.length-1),a="simple";d.endsWith("*")&&(p=!0,d=d.substring(0,d.length-1)),d.startsWith(".")?(d=d.substring(1),a="label"):d.startsWith(";")&&(d=d.substring(1),a="matrix");let C=e[d];if(C==null)continue;if(Array.isArray(C)){o=o.replace(l,P({explode:p,name:d,style:a,value:C}));continue}if(typeof C=="object"){o=o.replace(l,v({explode:p,name:d,style:a,value:C,valueOnly:!0}));continue}if(a==="matrix"){o=o.replace(l,`;${F({name:d,value:C})}`);continue}let m=encodeURIComponent(a==="label"?`.${C}`:C);o=o.replace(l,m)}return o},"defaultPathSerializer"),$r=t(({baseUrl:e,path:r,query:o,querySerializer:n,url:l})=>{let p=l.startsWith("/")?l:`/${l}`,d=(e??"")+p;r&&(d=lt({path:r,url:d}));let a=o?n(o):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(d+=`?${a}`),d},"getUrl");function U(e){let r=e.body!==void 0;if(r&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(r)return e.body}t(U,"getValidRequestBody");var Qr=t(async(e,r)=>{let o=typeof r=="function"?await r(e):r;if(o)return e.scheme==="bearer"?`Bearer ${o}`:e.scheme==="basic"?`Basic ${btoa(o)}`:o},"getAuthToken");var Wr=t(({parameters:e={},...r}={})=>t(n=>{let l=[];if(n&&typeof n=="object")for(let p in n){let d=n[p];if(d==null)continue;let a=e[p]||r;if(Array.isArray(d)){let C=P({allowReserved:a.allowReserved,explode:!0,name:p,style:"form",value:d,...a.array});C&&l.push(C)}else if(typeof d=="object"){let C=v({allowReserved:a.allowReserved,explode:!0,name:p,style:"deepObject",value:d,...a.object});C&&l.push(C)}else{let C=F({allowReserved:a.allowReserved,name:p,value:d});C&&l.push(C)}}return l.join("&")},"querySerializer"),"createQuerySerializer"),Jr=t(e=>{var o;if(!e)return"stream";let r=(o=e.split(";")[0])==null?void 0:o.trim();if(r){if(r.startsWith("application/json")||r.endsWith("+json"))return"json";if(r==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>r.startsWith(n)))return"blob";if(r.startsWith("text/"))return"text"}},"getParseAs"),it=t((e,r)=>{var o,n;return r?!!(e.headers.has(r)||(o=e.query)!=null&&o[r]||(n=e.headers.get("Cookie"))!=null&&n.includes(`${r}=`)):!1},"checkForExistence"),Kr=t(async({security:e,...r})=>{for(let o of e){if(it(r,o.name))continue;let n=await Qr(o,r.auth);if(!n)continue;let l=o.name??"Authorization";switch(o.in){case"query":r.query||(r.query={}),r.query[l]=n;break;case"cookie":r.headers.append("Cookie",`${l}=${n}`);break;default:r.headers.set(l,n);break}}},"setAuthParams"),G=t(e=>$r({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:Wr(e.querySerializer),url:e.url}),"buildUrl"),M=t((e,r)=>{var n;let o={...e,...r};return(n=o.baseUrl)!=null&&n.endsWith("/")&&(o.baseUrl=o.baseUrl.substring(0,o.baseUrl.length-1)),o.headers=q(e.headers,r.headers),o},"mergeConfigs"),at=t(e=>{let r=[];return e.forEach((o,n)=>{r.push([n,o])}),r},"headersEntries"),q=t((...e)=>{let r=new Headers;for(let o of e){if(!o)continue;let n=o instanceof Headers?at(o):Object.entries(o);for(let[l,p]of n)if(p===null)r.delete(l);else if(Array.isArray(p))for(let d of p)r.append(l,d);else p!==void 0&&r.set(l,typeof p=="object"?JSON.stringify(p):p)}return r},"mergeHeaders"),z=class z{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let o=this.getInterceptorIndex(r);this.fns[o]&&(this.fns[o]=null)}exists(r){let o=this.getInterceptorIndex(r);return!!this.fns[o]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,o){let n=this.getInterceptorIndex(r);return this.fns[n]?(this.fns[n]=o,r):!1}use(r){return this.fns.push(r),this.fns.length-1}};t(z,"Interceptors");var A=z,_r=t(()=>({error:new A,request:new A,response:new A}),"createInterceptors"),dt=Wr({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Ct={"Content-Type":"application/json"},L=t((e={})=>({...Vr,headers:Ct,parseAs:"auto",querySerializer:dt,...e}),"createConfig");var k=t((e={})=>{let r=M(L(),e),o=t(()=>({...r}),"getConfig"),n=t(m=>(r=M(r,m),o()),"setConfig"),l=_r(),p=t(async m=>{let i={...r,...m,fetch:m.fetch??r.fetch??globalThis.fetch,headers:q(r.headers,m.headers),serializedBody:void 0};i.security&&await Kr({...i,security:i.security}),i.requestValidator&&await i.requestValidator(i),i.body!==void 0&&i.bodySerializer&&(i.serializedBody=i.bodySerializer(i.body)),(i.body===void 0||i.serializedBody==="")&&i.headers.delete("Content-Type");let y=G(i);return{opts:i,url:y}},"beforeRequest"),d=t(async m=>{let{opts:i,url:y}=await p(m),b={redirect:"follow",...i,body:U(i)},E=new Request(y,b);for(let h of l.request.fns)h&&(E=await h(E,i));let B=i.fetch,c;try{c=await B(E)}catch(h){let u=h;for(let I of l.error.fns)I&&(u=await I(h,void 0,E,i));if(u=u||{},i.throwOnError)throw u;return i.responseStyle==="data"?void 0:{error:u,request:E,response:void 0}}for(let h of l.response.fns)h&&(c=await h(c,E,i));let R={request:E,response:c};if(c.ok){let h=(i.parseAs==="auto"?Jr(c.headers.get("Content-Type")):i.parseAs)??"json";if(c.status===204||c.headers.get("Content-Length")==="0"){let I;switch(h){case"arrayBuffer":case"blob":case"text":I=await c[h]();break;case"formData":I=new FormData;break;case"stream":I=c.body;break;default:I={};break}return i.responseStyle==="data"?I:{data:I,...R}}let u;switch(h){case"arrayBuffer":case"blob":case"formData":case"text":u=await c[h]();break;case"json":{let I=await c.text();u=I?JSON.parse(I):{};break}case"stream":return i.responseStyle==="data"?c.body:{data:c.body,...R}}return h==="json"&&(i.responseValidator&&await i.responseValidator(u),i.responseTransformer&&(u=await i.responseTransformer(u))),i.responseStyle==="data"?u:{data:u,...R}}let S=await c.text(),g;try{g=JSON.parse(S)}catch{}let D=g??S,O=D;for(let h of l.error.fns)h&&(O=await h(D,c,E,i));if(O=O||{},i.throwOnError)throw O;return i.responseStyle==="data"?void 0:{error:O,...R}},"request"),a=t(m=>i=>d({...i,method:m}),"makeMethodFn"),C=t(m=>async i=>{let{opts:y,url:b}=await p(i);return Hr({...y,body:y.body,headers:y.headers,method:m,onRequest:t(async(E,B)=>{let c=new Request(E,B);for(let R of l.request.fns)R&&(c=await R(c,y));return c},"onRequest"),serializedBody:U(y),url:b})},"makeSseFn");return{buildUrl:G,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:o,head:a("HEAD"),interceptors:l,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:d,setConfig:n,sse:{connect:C("CONNECT"),delete:C("DELETE"),get:C("GET"),head:C("HEAD"),options:C("OPTIONS"),patch:C("PATCH"),post:C("POST"),put:C("PUT"),trace:C("TRACE")},trace:a("TRACE")}},"createClient");var s=k(L({baseUrl:"https://unstable.swish.app/api/2026-07"}));var j=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/lists",...e}),"listControllerFind"),N=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerCreate"),V=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e}),"listControllerDeleteById"),H=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e}),"listControllerFindById"),$=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerUpdateById"),Q=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items/order",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerSetListItemsOrder"),W=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerAddItemsToList"),J=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items/{itemId}",...e}),"listControllerRemoveItemFromList"),K=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerDelete"),_=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items",...e}),"itemControllerFind"),X=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerCreate"),Y=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items/count",...e}),"itemControllerCount"),Z=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e}),"itemControllerDeleteById"),ee=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e}),"itemControllerFindById"),re=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerUpdateById"),te=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerSetListsById"),oe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/profiles/identify",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerIdentify"),se=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/profiles/token",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerCreateToken"),ne=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/profiles",...e}),"profileControllerGetProfile"),le=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/profiles/profile",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerUpdateProfile"),ie=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/collect",...e,headers:{"Content-Type":"application/json",...e.headers}}),"trackingControllerCollect"),ae=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/orders",...e}),"ordersControllerFind"),de=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/orders/{orderId}",...e}),"ordersControllerFindOne"),Ce=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists",...e}),"sharedListsControllerFindAll"),pe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"sharedListsControllerSave"),ce=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}",...e}),"sharedListsControllerDeleteById"),me=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}",...e}),"sharedListsControllerFindById"),ue=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}/items",...e}),"sharedListsControllerFindItems"),he=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/notifications",...e}),"notificationsControllerFind"),ye=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/notifications/unread/count",...e}),"notificationsControllerGetUnreadCount"),Ie=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/notifications/read",...e,headers:{"Content-Type":"application/json",...e.headers}}),"notificationsControllerMarkAsRead"),Re=t(e=>((e==null?void 0:e.client)??s).post({security:[{scheme:"bearer",type:"http"}],url:"/notifications/read/all",...e}),"notificationsControllerMarkAllAsRead"),Ee=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/notifications/{id}",...e}),"notificationsControllerDeleteById"),fe=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions",...e}),"subscriptionsControllerFind"),Oe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions",...e,headers:{"Content-Type":"application/json",...e.headers}}),"subscriptionsControllerCreate"),Se=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e}),"subscriptionsControllerDelete"),De=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e}),"subscriptionsControllerFindById"),Te=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"subscriptionsControllerUpdate"),Le=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists",...e}),"smartListsControllerFindAll"),Fe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}",...e}),"smartListsControllerFindById"),be=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}/items",...e}),"smartListsControllerFindItems"),ge=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}/items/{itemId}",...e}),"smartListsControllerRemoveItem"),we=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes",...e}),"themesControllerFindAll"),Ae=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes/live",...e}),"themesControllerFindLive"),ke=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes/{themeId}",...e}),"themesControllerFindById"),Be=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/products",...e}),"productsControllerFindAll"),xe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/products/{productId}",...e}),"productsControllerFindById"),Pe=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens",...e}),"adminTokensControllerFindAll"),ve=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens",...e,headers:{"Content-Type":"application/json",...e.headers}}),"adminTokensControllerCreate"),qe=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens/{id}",...e}),"adminTokensControllerRevoke"),Ue=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations",...e}),"integrationsControllerFindAll"),Ge=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}",...e}),"integrationsControllerFindById"),Me=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"integrationsControllerUpdate"),ze=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e}),"integrationsControllerDisconnect"),je=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e}),"integrationsControllerGetConnection"),Ne=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),"integrationsControllerConnect");var Ve=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers",...e}),"customersControllerFindAll"),He=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}",...e}),"customersControllerFindById"),$e=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerDeleteMany"),Qe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e}),"customerItemsControllerFindAll"),We=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerCreate"),Je=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/count",...e}),"customerItemsControllerCount"),Ke=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e}),"customerItemsControllerDeleteById"),_e=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e}),"customerItemsControllerFindById"),Xe=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerUpdate"),Ye=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerSetLists"),Ze=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists",...e}),"customerListsControllerFindAll"),er=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerCreate"),rr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e}),"customerListsControllerDeleteById"),tr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e}),"customerListsControllerFindById"),or=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerUpdate"),sr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items",...e}),"customerListsControllerFindItems"),nr=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerAddItems"),lr=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items/order",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerSetItemsOrder"),ir=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items/{itemId}",...e}),"customerListsControllerRemoveItem"),ar=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists",...e}),"customerSmartListsControllerFindAll"),dr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists/{smartListId}",...e}),"customerSmartListsControllerFindById"),Cr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists/{smartListId}/items",...e}),"customerSmartListsControllerFindItems"),pr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports",...e}),"reportsControllerGetIndex"),cr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports/most-saved-products",...e}),"reportsControllerGetMostSavedProducts"),mr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports/most-saved-variants",...e}),"reportsControllerGetMostSavedVariants"),ur=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/summary",...e}),"adminAnalyticsControllerGetSummary"),hr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/metrics",...e}),"adminAnalyticsControllerGetMetrics"),yr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/dimensions",...e}),"adminAnalyticsControllerGetDimensions"),Ir=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/events",...e}),"adminEventsControllerFindEvents"),Rr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups",...e}),"setupControllerList"),Er=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerCreate"),fr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/state",...e}),"setupControllerGetState"),Or=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/state",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerPatchState"),Sr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e}),"setupControllerDelete"),Dr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e}),"setupControllerGet"),Tr=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerUpdate"),Lr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding",...e}),"onboardingChecklistsControllerList"),Fr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}",...e}),"onboardingChecklistsControllerDelete"),br=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}",...e}),"onboardingChecklistsControllerGet"),gr=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}/{stepId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"onboardingChecklistsControllerUpsertStep"),wr=t(e=>((e==null?void 0:e.client)??s).delete({url:"/admin/mcp",...e}),"mcpControllerDelete"),Ar=t(e=>((e==null?void 0:e.client)??s).get({url:"/admin/mcp",...e}),"mcpControllerGet"),kr=t(e=>((e==null?void 0:e.client)??s).post({url:"/admin/mcp",...e}),"mcpControllerPost");var Br=t(e=>(e.client??s).post({url:"/flow/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerCreateList"),xr=t(e=>(e.client??s).post({url:"/flow/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerAddItem"),Pr=t(e=>(e.client??s).post({url:"/flow/items/remove",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerRemoveItem"),vr=t(e=>(e.client??s).post({url:"/flow/lists/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerDeleteList");var ct="unstable",Xt=t(e=>new qr(e),"createApiClient"),Ur=class Ur{constructor(r){this.version=ct;this.items={list:t(r=>this.handlePaginatedRequest(_({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(X({body:r,client:this.client})),"create"),delete:t(r=>this.handleRequest(K({body:{itemIds:r},client:this.client})),"delete"),findById:t(r=>this.handleRequest(ee({path:{itemId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(re({body:o,path:{itemId:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Z({path:{itemId:r},client:this.client})),"deleteById"),setListsById:t((r,o)=>this.handleRequest(te({body:{listIds:o},path:{itemId:r},client:this.client})),"setListsById"),count:t(()=>this.handleRequest(Y({client:this.client})),"count")};this.lists={list:t(r=>this.handlePaginatedRequest(j({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(N({body:r,client:this.client})),"create"),findById:t(r=>this.handleRequest(H({path:{listId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest($({body:o,path:{listId:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(V({path:{listId:r},client:this.client})),"deleteById"),orderItems:t((r,o)=>this.handleRequest(Q({body:{itemIds:o},path:{listId:r},client:this.client})),"orderItems"),addItemsToList:t((r,o)=>this.handleRequest(W({body:{itemIds:o},path:{listId:r},client:this.client})),"addItemsToList"),removeItemFromList:t((r,o)=>this.handleRequest(J({path:{listId:r,itemId:o},client:this.client})),"removeItemFromList")};this.profiles={createToken:t((r={})=>this.handleRequest(se({body:r,client:this.client})),"createToken"),identify:t(r=>this.handleRequest(oe({body:r,client:this.client})),"identify"),getProfile:t(()=>this.handleRequest(ne({client:this.client})),"getProfile"),updateProfile:t(r=>this.handleRequest(le({body:r,client:this.client})),"updateProfile")};this.orders={list:t(r=>this.handlePaginatedRequest(ae({query:r,client:this.client})),"list"),findById:t(r=>this.handleRequest(de({path:{orderId:r},client:this.client})),"findById")};this.sharedLists={list:t(r=>this.handlePaginatedRequest(Ce({query:r,client:this.client})),"list"),save:t(r=>this.handleRequest(pe({body:{listId:r},client:this.client})),"save"),findById:t(r=>this.handleRequest(me({path:{sharedListId:r},client:this.client})),"findById"),deleteById:t(r=>this.handleRequest(ce({path:{sharedListId:r},client:this.client})),"deleteById"),findItems:t((r,o)=>this.handlePaginatedRequest(ue({path:{sharedListId:r},query:o,client:this.client})),"findItems")};this.tracking={track:t(r=>this.handleRequest(ie({body:r,client:this.client})),"track")};this.notifications={list:t(r=>this.handlePaginatedRequest(he({query:r,client:this.client})),"list"),getUnreadCount:t(()=>this.handleRequest(ye({client:this.client})),"getUnreadCount"),markAsRead:t(r=>this.handleRequest(Ie({body:{notificationIds:r},client:this.client})),"markAsRead"),markAllAsRead:t(()=>this.handleRequest(Re({client:this.client})),"markAllAsRead"),deleteById:t(r=>this.handleRequest(Ee({path:{id:r},client:this.client})),"deleteById")};this.subscriptions={list:t(r=>this.handlePaginatedRequest(fe({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(Oe({body:r,client:this.client})),"create"),findById:t(r=>this.handleRequest(De({path:{id:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Te({body:o,path:{id:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Se({path:{id:r},client:this.client})),"deleteById")};this.smartLists={list:t(()=>this.handleRequest(Le({client:this.client})),"list"),findById:t(r=>this.handleRequest(Fe({path:{smartListId:r},client:this.client})),"findById"),findItems:t((r,o)=>this.handlePaginatedRequest(be({path:{smartListId:r},query:o,client:this.client})),"findItems"),removeItem:t((r,o)=>this.handleRequest(ge({path:{smartListId:r,itemId:o},client:this.client})),"removeItem")};this.themes={list:t(r=>this.handlePaginatedRequest(we({query:r,client:this.client})),"list"),findLive:t(()=>this.handleRequest(Ae({client:this.client})),"findLive"),findById:t(r=>this.handleRequest(ke({path:{themeId:r},client:this.client})),"findById")};this.products={list:t(r=>this.handlePaginatedRequest(Be({query:r,client:this.client})),"list"),findById:t((r,o)=>this.handleRequest(xe({path:{productId:r},query:o,client:this.client})),"findById")};this.adminTokens={list:t(()=>this.handleRequest(Pe({client:this.client})),"list"),create:t(r=>this.handleRequest(ve({body:r,client:this.client})),"create"),revokeById:t(r=>this.handleRequest(qe({path:{id:r},client:this.client})),"revokeById")};this.integrations={list:t(()=>this.handleRequest(Ue({client:this.client})),"list"),findById:t(r=>this.handleRequest(Ge({path:{integrationId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Me({path:{integrationId:r},body:o,client:this.client})),"updateById"),getConnection:t(r=>this.handleRequest(je({path:{integrationId:r},client:this.client})),"getConnection"),connect:t((r,o)=>this.handleConnectRequest(Ne({path:{integrationId:r},body:o,client:this.client})),"connect"),disconnect:t(r=>this.handleRequest(ze({path:{integrationId:r},client:this.client})),"disconnect")};this.customers={list:t(r=>this.handlePaginatedRequest(Ve({query:r,client:this.client})),"list"),findById:t(r=>this.handleRequest(He({path:{customerId:r},client:this.client})),"findById")};this.customerItems={list:t((r,o)=>this.handlePaginatedRequest(Qe({path:{customerId:r},query:o,client:this.client})),"list"),create:t((r,o)=>this.handleRequest(We({path:{customerId:r},body:o,client:this.client})),"create"),delete:t((r,o)=>this.handleRequest($e({path:{customerId:r},body:{itemIds:o},client:this.client})),"delete"),count:t(r=>this.handleRequest(Je({path:{customerId:r},client:this.client})),"count"),findById:t((r,o)=>this.handleRequest(_e({path:{customerId:r,itemId:o},client:this.client})),"findById"),updateById:t((r,o,n)=>this.handleRequest(Xe({path:{customerId:r,itemId:o},body:n,client:this.client})),"updateById"),deleteById:t((r,o)=>this.handleRequest(Ke({path:{customerId:r,itemId:o},client:this.client})),"deleteById"),setListsById:t((r,o,n)=>this.handleRequest(Ye({path:{customerId:r,itemId:o},body:{listIds:n},client:this.client})),"setListsById")};this.customerLists={list:t((r,o)=>this.handlePaginatedRequest(Ze({path:{customerId:r},query:o,client:this.client})),"list"),create:t((r,o)=>this.handleRequest(er({path:{customerId:r},body:o,client:this.client})),"create"),findById:t((r,o)=>this.handleRequest(tr({path:{customerId:r,listId:o},client:this.client})),"findById"),updateById:t((r,o,n)=>this.handleRequest(or({path:{customerId:r,listId:o},body:n,client:this.client})),"updateById"),deleteById:t((r,o)=>this.handleRequest(rr({path:{customerId:r,listId:o},client:this.client})),"deleteById"),findItems:t((r,o,n)=>this.handlePaginatedRequest(sr({path:{customerId:r,listId:o},query:n,client:this.client})),"findItems"),addItems:t((r,o,n)=>this.handleRequest(nr({path:{customerId:r,listId:o},body:{itemIds:n},client:this.client})),"addItems"),orderItems:t((r,o,n)=>this.handleRequest(lr({path:{customerId:r,listId:o},body:{itemIds:n},client:this.client})),"orderItems"),removeItem:t((r,o,n)=>this.handleRequest(ir({path:{customerId:r,listId:o,itemId:n},client:this.client})),"removeItem")};this.customerSmartLists={list:t(r=>this.handleRequest(ar({path:{customerId:r},client:this.client})),"list"),findById:t((r,o)=>this.handleRequest(dr({path:{customerId:r,smartListId:o},client:this.client})),"findById"),findItems:t((r,o,n)=>this.handlePaginatedRequest(Cr({path:{customerId:r,smartListId:o},query:n,client:this.client})),"findItems")};this.setups={list:t(()=>this.handleRequest(Rr({client:this.client})),"list"),create:t(r=>this.handleRequest(Er({body:r,client:this.client})),"create"),getState:t(()=>this.handleRequest(fr({client:this.client})),"getState"),patchState:t(r=>this.handleRequest(Or({body:r,client:this.client})),"patchState"),findById:t(r=>this.handleRequest(Dr({path:{id:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Tr({path:{id:r},body:o,client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Sr({path:{id:r},client:this.client})),"deleteById")};this.reports={list:t(()=>this.handlePaginatedRequest(pr({client:this.client})),"list"),mostSavedProducts:t(r=>this.handlePaginatedRequest(cr({query:r,client:this.client})),"mostSavedProducts"),mostSavedVariants:t(r=>this.handlePaginatedRequest(mr({query:r,client:this.client})),"mostSavedVariants")};this.adminAnalytics={getSummary:t(r=>this.handleRequest(ur({query:r,client:this.client})),"getSummary"),getMetrics:t(r=>this.handleRequest(hr({query:r,client:this.client})),"getMetrics"),getDimensions:t(r=>this.handleRequest(yr({query:r,client:this.client})),"getDimensions")};this.adminEvents={list:t(r=>this.handlePaginatedRequest(Ir({query:r,client:this.client})),"list")};this.onboarding={list:t(()=>this.handleRequest(Lr({client:this.client})),"list"),get:t(r=>this.handleRequest(br({path:{checklistId:r},client:this.client})),"get"),delete:t(r=>this.handleRequest(Fr({path:{checklistId:r},client:this.client})),"delete"),upsertStep:t((r,o,n)=>this.handleRequest(gr({path:{checklistId:r,stepId:o},body:n,client:this.client})),"upsertStep")};this.mcp={get:t(()=>this.handleRequest(Ar({client:this.client})),"get"),post:t(()=>this.handleRequest(kr({client:this.client})),"post"),delete:t(()=>this.handleRequest(wr({client:this.client})),"delete")};this.flow={createList:t(r=>this.handleRequest(Br({body:r,client:this.client})),"createList"),addItem:t(r=>this.handleRequest(xr({body:r,client:this.client})),"addItem"),removeItem:t(r=>this.handleRequest(Pr({body:r,client:this.client})),"removeItem"),deleteList:t(r=>this.handleRequest(vr({body:r,client:this.client})),"deleteList")};this.handleRequest=t(async r=>{let{data:o,error:n}=await r;return n!=null&&n.error?{error:n.error}:{data:o==null?void 0:o.data}},"handleRequest");this.handleConnectRequest=t(async r=>{let o=await r,{data:n,error:l}=o;return l!=null&&l.error?{error:l.error}:n&&"redirectUrl"in n?{data:n}:{data:(n==null?void 0:n.data)??null}},"handleConnectRequest");this.handlePaginatedRequest=t(async r=>{var l;let{data:o,error:n}=await r;return n!=null&&n.error?{error:n.error}:{data:(o==null?void 0:o.data)??[],pageInfo:(o==null?void 0:o.pageInfo)??{next:null,previous:null,totalCount:((l=o==null?void 0:o.data)==null?void 0:l.length)??0}}},"handlePaginatedRequest");this.client=k(L({baseUrl:"https://unstable.swish.app/api/2026-07",...r.config})),r.authToken&&(this.authToken=r.authToken),r.requestInterceptor&&this.client.interceptors.request.use(r.requestInterceptor),r.responseInterceptor&&this.client.interceptors.response.use(r.responseInterceptor),this.client.interceptors.request.use(this.directRequestInterceptor.bind(this))}setAuthToken(r){this.authToken=r}directRequestInterceptor(r){return this.authToken&&r.headers.set("Authorization",`Bearer ${this.authToken}`),r}};t(Ur,"SwishClient");var qr=Ur;export{ct as apiVersion,Xt as createApiClient};
|
|
7
|
+
`);try{T=JSON.parse(f),jr=!0}catch{T=f}}jr&&(l&&await l(T),n&&(T=await n(T))),o==null||o({data:T,event:zr,id:y,retry:c}),x.length&&(yield T)}}}finally{S.removeEventListener("abort",Gr),I.releaseLock()}break}catch(D){if(r==null||r(D),d!==void 0&&R>=d)break;let O=Math.min(c*2**(R-1),a??3e4);await F(O)}}},"createStream")()}},"createSseClient");var tt=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorArrayExplode"),ot=t(e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},"separatorArrayNoExplode"),st=t(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},"separatorObjectExplode"),P=t(({allowReserved:e,explode:r,name:o,style:n,value:l})=>{if(!r){let a=(e?l:l.map(C=>encodeURIComponent(C))).join(ot(n));switch(n){case"label":return`.${a}`;case"matrix":return`;${o}=${a}`;case"simple":return a;default:return`${o}=${a}`}}let p=tt(n),d=l.map(a=>n==="label"||n==="simple"?e?a:encodeURIComponent(a):g({allowReserved:e,name:o,value:a})).join(p);return n==="label"||n==="matrix"?p+d:d},"serializeArrayParam"),g=t(({allowReserved:e,name:r,value:o})=>{if(o==null)return"";if(typeof o=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?o:encodeURIComponent(o)}`},"serializePrimitiveParam"),v=t(({allowReserved:e,explode:r,name:o,style:n,value:l,valueOnly:p})=>{if(l instanceof Date)return p?l.toISOString():`${o}=${l.toISOString()}`;if(n!=="deepObject"&&!r){let C=[];Object.entries(l).forEach(([i,y])=>{C=[...C,i,e?y:encodeURIComponent(y)]});let m=C.join(",");switch(n){case"form":return`${o}=${m}`;case"label":return`.${m}`;case"matrix":return`;${o}=${m}`;default:return m}}let d=st(n),a=Object.entries(l).map(([C,m])=>g({allowReserved:e,name:n==="deepObject"?`${o}[${C}]`:C,value:m})).join(d);return n==="label"||n==="matrix"?d+a:a},"serializeObjectParam");var nt=/\{[^{}]+\}/g,lt=t(({path:e,url:r})=>{let o=r,n=r.match(nt);if(n)for(let l of n){let p=!1,d=l.substring(1,l.length-1),a="simple";d.endsWith("*")&&(p=!0,d=d.substring(0,d.length-1)),d.startsWith(".")?(d=d.substring(1),a="label"):d.startsWith(";")&&(d=d.substring(1),a="matrix");let C=e[d];if(C==null)continue;if(Array.isArray(C)){o=o.replace(l,P({explode:p,name:d,style:a,value:C}));continue}if(typeof C=="object"){o=o.replace(l,v({explode:p,name:d,style:a,value:C,valueOnly:!0}));continue}if(a==="matrix"){o=o.replace(l,`;${g({name:d,value:C})}`);continue}let m=encodeURIComponent(a==="label"?`.${C}`:C);o=o.replace(l,m)}return o},"defaultPathSerializer"),$r=t(({baseUrl:e,path:r,query:o,querySerializer:n,url:l})=>{let p=l.startsWith("/")?l:`/${l}`,d=(e??"")+p;r&&(d=lt({path:r,url:d}));let a=o?n(o):"";return a.startsWith("?")&&(a=a.substring(1)),a&&(d+=`?${a}`),d},"getUrl");function U(e){let r=e.body!==void 0;if(r&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(r)return e.body}t(U,"getValidRequestBody");var Qr=t(async(e,r)=>{let o=typeof r=="function"?await r(e):r;if(o)return e.scheme==="bearer"?`Bearer ${o}`:e.scheme==="basic"?`Basic ${btoa(o)}`:o},"getAuthToken");var Wr=t(({parameters:e={},...r}={})=>t(n=>{let l=[];if(n&&typeof n=="object")for(let p in n){let d=n[p];if(d==null)continue;let a=e[p]||r;if(Array.isArray(d)){let C=P({allowReserved:a.allowReserved,explode:!0,name:p,style:"form",value:d,...a.array});C&&l.push(C)}else if(typeof d=="object"){let C=v({allowReserved:a.allowReserved,explode:!0,name:p,style:"deepObject",value:d,...a.object});C&&l.push(C)}else{let C=g({allowReserved:a.allowReserved,name:p,value:d});C&&l.push(C)}}return l.join("&")},"querySerializer"),"createQuerySerializer"),Jr=t(e=>{var o;if(!e)return"stream";let r=(o=e.split(";")[0])==null?void 0:o.trim();if(r){if(r.startsWith("application/json")||r.endsWith("+json"))return"json";if(r==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>r.startsWith(n)))return"blob";if(r.startsWith("text/"))return"text"}},"getParseAs"),it=t((e,r)=>{var o,n;return r?!!(e.headers.has(r)||(o=e.query)!=null&&o[r]||(n=e.headers.get("Cookie"))!=null&&n.includes(`${r}=`)):!1},"checkForExistence"),Kr=t(async({security:e,...r})=>{for(let o of e){if(it(r,o.name))continue;let n=await Qr(o,r.auth);if(!n)continue;let l=o.name??"Authorization";switch(o.in){case"query":r.query||(r.query={}),r.query[l]=n;break;case"cookie":r.headers.append("Cookie",`${l}=${n}`);break;default:r.headers.set(l,n);break}}},"setAuthParams"),G=t(e=>$r({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:Wr(e.querySerializer),url:e.url}),"buildUrl"),M=t((e,r)=>{var n;let o={...e,...r};return(n=o.baseUrl)!=null&&n.endsWith("/")&&(o.baseUrl=o.baseUrl.substring(0,o.baseUrl.length-1)),o.headers=q(e.headers,r.headers),o},"mergeConfigs"),at=t(e=>{let r=[];return e.forEach((o,n)=>{r.push([n,o])}),r},"headersEntries"),q=t((...e)=>{let r=new Headers;for(let o of e){if(!o)continue;let n=o instanceof Headers?at(o):Object.entries(o);for(let[l,p]of n)if(p===null)r.delete(l);else if(Array.isArray(p))for(let d of p)r.append(l,d);else p!==void 0&&r.set(l,typeof p=="object"?JSON.stringify(p):p)}return r},"mergeHeaders"),z=class z{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let o=this.getInterceptorIndex(r);this.fns[o]&&(this.fns[o]=null)}exists(r){let o=this.getInterceptorIndex(r);return!!this.fns[o]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,o){let n=this.getInterceptorIndex(r);return this.fns[n]?(this.fns[n]=o,r):!1}use(r){return this.fns.push(r),this.fns.length-1}};t(z,"Interceptors");var A=z,_r=t(()=>({error:new A,request:new A,response:new A}),"createInterceptors"),dt=Wr({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Ct={"Content-Type":"application/json"},L=t((e={})=>({...Vr,headers:Ct,parseAs:"auto",querySerializer:dt,...e}),"createConfig");var k=t((e={})=>{let r=M(L(),e),o=t(()=>({...r}),"getConfig"),n=t(m=>(r=M(r,m),o()),"setConfig"),l=_r(),p=t(async m=>{let i={...r,...m,fetch:m.fetch??r.fetch??globalThis.fetch,headers:q(r.headers,m.headers),serializedBody:void 0};i.security&&await Kr({...i,security:i.security}),i.requestValidator&&await i.requestValidator(i),i.body!==void 0&&i.bodySerializer&&(i.serializedBody=i.bodySerializer(i.body)),(i.body===void 0||i.serializedBody==="")&&i.headers.delete("Content-Type");let y=G(i);return{opts:i,url:y}},"beforeRequest"),d=t(async m=>{let{opts:i,url:y}=await p(m),F={redirect:"follow",...i,body:U(i)},E=new Request(y,F);for(let h of l.request.fns)h&&(E=await h(E,i));let B=i.fetch,c;try{c=await B(E)}catch(h){let u=h;for(let I of l.error.fns)I&&(u=await I(h,void 0,E,i));if(u=u||{},i.throwOnError)throw u;return i.responseStyle==="data"?void 0:{error:u,request:E,response:void 0}}for(let h of l.response.fns)h&&(c=await h(c,E,i));let R={request:E,response:c};if(c.ok){let h=(i.parseAs==="auto"?Jr(c.headers.get("Content-Type")):i.parseAs)??"json";if(c.status===204||c.headers.get("Content-Length")==="0"){let I;switch(h){case"arrayBuffer":case"blob":case"text":I=await c[h]();break;case"formData":I=new FormData;break;case"stream":I=c.body;break;default:I={};break}return i.responseStyle==="data"?I:{data:I,...R}}let u;switch(h){case"arrayBuffer":case"blob":case"formData":case"text":u=await c[h]();break;case"json":{let I=await c.text();u=I?JSON.parse(I):{};break}case"stream":return i.responseStyle==="data"?c.body:{data:c.body,...R}}return h==="json"&&(i.responseValidator&&await i.responseValidator(u),i.responseTransformer&&(u=await i.responseTransformer(u))),i.responseStyle==="data"?u:{data:u,...R}}let S=await c.text(),b;try{b=JSON.parse(S)}catch{}let D=b??S,O=D;for(let h of l.error.fns)h&&(O=await h(D,c,E,i));if(O=O||{},i.throwOnError)throw O;return i.responseStyle==="data"?void 0:{error:O,...R}},"request"),a=t(m=>i=>d({...i,method:m}),"makeMethodFn"),C=t(m=>async i=>{let{opts:y,url:F}=await p(i);return Hr({...y,body:y.body,headers:y.headers,method:m,onRequest:t(async(E,B)=>{let c=new Request(E,B);for(let R of l.request.fns)R&&(c=await R(c,y));return c},"onRequest"),serializedBody:U(y),url:F})},"makeSseFn");return{buildUrl:G,connect:a("CONNECT"),delete:a("DELETE"),get:a("GET"),getConfig:o,head:a("HEAD"),interceptors:l,options:a("OPTIONS"),patch:a("PATCH"),post:a("POST"),put:a("PUT"),request:d,setConfig:n,sse:{connect:C("CONNECT"),delete:C("DELETE"),get:C("GET"),head:C("HEAD"),options:C("OPTIONS"),patch:C("PATCH"),post:C("POST"),put:C("PUT"),trace:C("TRACE")},trace:a("TRACE")}},"createClient");var s=k(L({baseUrl:"https://unstable.swish.app/api/2026-07"}));var j=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/lists",...e}),"listControllerFind"),N=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerCreate"),V=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e}),"listControllerDeleteById"),H=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e}),"listControllerFindById"),$=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerUpdateById"),Q=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items/order",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerSetListItemsOrder"),W=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"listControllerAddItemsToList"),J=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/lists/{listId}/items/{itemId}",...e}),"listControllerRemoveItemFromList"),K=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerDelete"),_=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items",...e}),"itemControllerFind"),X=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerCreate"),Y=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items/count",...e}),"itemControllerCount"),Z=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e}),"itemControllerDeleteById"),ee=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e}),"itemControllerFindById"),re=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerUpdateById"),te=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/items/{itemId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"itemControllerSetListsById"),oe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/profiles/identify",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerIdentify"),se=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/profiles/token",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerCreateToken"),ne=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/profiles",...e}),"profileControllerGetProfile"),le=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/profiles/profile",...e,headers:{"Content-Type":"application/json",...e.headers}}),"profileControllerUpdateProfile"),ie=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/collect",...e,headers:{"Content-Type":"application/json",...e.headers}}),"trackingControllerCollect"),ae=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/orders",...e}),"ordersControllerFind"),de=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/orders/{orderId}",...e}),"ordersControllerFindOne"),Ce=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists",...e}),"sharedListsControllerFindAll"),pe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"sharedListsControllerSave"),ce=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}",...e}),"sharedListsControllerDeleteById"),me=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}",...e}),"sharedListsControllerFindById"),ue=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/shared-lists/{sharedListId}/items",...e}),"sharedListsControllerFindItems"),he=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/notifications",...e}),"notificationsControllerFind"),ye=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/notifications/unread/count",...e}),"notificationsControllerGetUnreadCount"),Ie=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/notifications/read",...e,headers:{"Content-Type":"application/json",...e.headers}}),"notificationsControllerMarkAsRead"),Re=t(e=>((e==null?void 0:e.client)??s).post({security:[{scheme:"bearer",type:"http"}],url:"/notifications/read/all",...e}),"notificationsControllerMarkAllAsRead"),Ee=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/notifications/{id}",...e}),"notificationsControllerDeleteById"),fe=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions",...e}),"subscriptionsControllerFind"),Oe=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions",...e,headers:{"Content-Type":"application/json",...e.headers}}),"subscriptionsControllerCreate"),Se=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e}),"subscriptionsControllerDelete"),De=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e}),"subscriptionsControllerFindById"),Te=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/subscriptions/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"subscriptionsControllerUpdate"),Le=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists",...e}),"smartListsControllerFindAll"),ge=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}",...e}),"smartListsControllerFindById"),Fe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}/items",...e}),"smartListsControllerFindItems"),be=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/smart-lists/{smartListId}/items/{itemId}",...e}),"smartListsControllerRemoveItem"),we=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes",...e}),"themesControllerFindAll"),Ae=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes/live",...e}),"themesControllerFindLive"),ke=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/themes/{themeId}",...e}),"themesControllerFindById"),Be=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/products",...e}),"productsControllerFindAll"),xe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/products/{productId}",...e}),"productsControllerFindById"),Pe=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens",...e}),"adminTokensControllerFindAll"),ve=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens",...e,headers:{"Content-Type":"application/json",...e.headers}}),"adminTokensControllerCreate"),qe=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/tokens/{id}",...e}),"adminTokensControllerRevoke"),Ue=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations",...e}),"integrationsControllerFindAll"),Ge=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}",...e}),"integrationsControllerFindById"),Me=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"integrationsControllerUpdate"),ze=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e}),"integrationsControllerDisconnect"),je=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e}),"integrationsControllerGetConnection"),Ne=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/integrations/{integrationId}/connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),"integrationsControllerConnect");var Ve=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers",...e}),"customersControllerFindAll"),He=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}",...e}),"customersControllerFindById"),$e=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerDeleteMany"),Qe=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e}),"customerItemsControllerFindAll"),We=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerCreate"),Je=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/count",...e}),"customerItemsControllerCount"),Ke=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e}),"customerItemsControllerDeleteById"),_e=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e}),"customerItemsControllerFindById"),Xe=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerUpdate"),Ye=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/items/{itemId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerItemsControllerSetLists"),Ze=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists",...e}),"customerListsControllerFindAll"),er=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerCreate"),rr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e}),"customerListsControllerDeleteById"),tr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e}),"customerListsControllerFindById"),or=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerUpdate"),sr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items",...e}),"customerListsControllerFindItems"),nr=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerAddItems"),lr=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items/order",...e,headers:{"Content-Type":"application/json",...e.headers}}),"customerListsControllerSetItemsOrder"),ir=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/lists/{listId}/items/{itemId}",...e}),"customerListsControllerRemoveItem"),ar=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists",...e}),"customerSmartListsControllerFindAll"),dr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists/{smartListId}",...e}),"customerSmartListsControllerFindById"),Cr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/customers/{customerId}/smart-lists/{smartListId}/items",...e}),"customerSmartListsControllerFindItems"),pr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports",...e}),"reportsControllerGetIndex"),cr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports/most-saved-products",...e}),"reportsControllerGetMostSavedProducts"),mr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/reports/most-saved-variants",...e}),"reportsControllerGetMostSavedVariants"),ur=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/summary",...e}),"adminAnalyticsControllerGetSummary"),hr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/metrics",...e}),"adminAnalyticsControllerGetMetrics"),yr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/analytics/dimensions",...e}),"adminAnalyticsControllerGetDimensions"),Ir=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/events",...e}),"adminEventsControllerFindEvents"),Rr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups",...e}),"setupControllerList"),Er=t(e=>(e.client??s).post({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerCreate"),fr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/state",...e}),"setupControllerGetState"),Or=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/state",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerPatchState"),Sr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e}),"setupControllerDelete"),Dr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e}),"setupControllerGet"),Tr=t(e=>(e.client??s).patch({security:[{scheme:"bearer",type:"http"}],url:"/admin/setups/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"setupControllerUpdate"),Lr=t(e=>((e==null?void 0:e.client)??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding",...e}),"onboardingChecklistsControllerList"),gr=t(e=>(e.client??s).delete({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}",...e}),"onboardingChecklistsControllerDelete"),Fr=t(e=>(e.client??s).get({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}",...e}),"onboardingChecklistsControllerGet"),br=t(e=>(e.client??s).put({security:[{scheme:"bearer",type:"http"}],url:"/admin/onboarding/{checklistId}/{stepId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),"onboardingChecklistsControllerUpsertStep"),wr=t(e=>((e==null?void 0:e.client)??s).delete({url:"/admin/mcp",...e}),"mcpControllerDelete"),Ar=t(e=>((e==null?void 0:e.client)??s).get({url:"/admin/mcp",...e}),"mcpControllerGet"),kr=t(e=>((e==null?void 0:e.client)??s).post({url:"/admin/mcp",...e}),"mcpControllerPost");var Br=t(e=>(e.client??s).post({url:"/flow/lists",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerCreateList"),xr=t(e=>(e.client??s).post({url:"/flow/items",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerAddItem"),Pr=t(e=>(e.client??s).post({url:"/flow/items/remove",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerRemoveItem"),vr=t(e=>(e.client??s).post({url:"/flow/lists/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),"flowControllerDeleteList");var ct="unstable",to=t(e=>new qr(e),"createApiClient"),Ur=class Ur{constructor(r){this.version=ct;this.items={list:t(r=>this.handlePaginatedRequest(_({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(X({body:r,client:this.client})),"create"),delete:t(r=>this.handleRequest(K({body:{itemIds:r},client:this.client})),"delete"),findById:t(r=>this.handleRequest(ee({path:{itemId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(re({body:o,path:{itemId:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Z({path:{itemId:r},client:this.client})),"deleteById"),setListsById:t((r,o)=>this.handleRequest(te({body:{listIds:o},path:{itemId:r},client:this.client})),"setListsById"),count:t(()=>this.handleRequest(Y({client:this.client})),"count")};this.lists={list:t(r=>this.handlePaginatedRequest(j({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(N({body:r,client:this.client})),"create"),findById:t(r=>this.handleRequest(H({path:{listId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest($({body:o,path:{listId:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(V({path:{listId:r},client:this.client})),"deleteById"),orderItems:t((r,o)=>this.handleRequest(Q({body:{itemIds:o},path:{listId:r},client:this.client})),"orderItems"),addItemsToList:t((r,o)=>this.handleRequest(W({body:{itemIds:o},path:{listId:r},client:this.client})),"addItemsToList"),removeItemFromList:t((r,o)=>this.handleRequest(J({path:{listId:r,itemId:o},client:this.client})),"removeItemFromList")};this.profiles={createToken:t((r={})=>this.handleRequest(se({body:r,client:this.client})),"createToken"),identify:t(r=>this.handleRequest(oe({body:r,client:this.client})),"identify"),getProfile:t(()=>this.handleRequest(ne({client:this.client})),"getProfile"),updateProfile:t(r=>this.handleRequest(le({body:r,client:this.client})),"updateProfile")};this.orders={list:t(r=>this.handlePaginatedRequest(ae({query:r,client:this.client})),"list"),findById:t(r=>this.handleRequest(de({path:{orderId:r},client:this.client})),"findById")};this.sharedLists={list:t(r=>this.handlePaginatedRequest(Ce({query:r,client:this.client})),"list"),save:t(r=>this.handleRequest(pe({body:{listId:r},client:this.client})),"save"),findById:t(r=>this.handleRequest(me({path:{sharedListId:r},client:this.client})),"findById"),deleteById:t(r=>this.handleRequest(ce({path:{sharedListId:r},client:this.client})),"deleteById"),findItems:t((r,o)=>this.handlePaginatedRequest(ue({path:{sharedListId:r},query:o,client:this.client})),"findItems")};this.tracking={track:t(r=>this.handleRequest(ie({body:r,client:this.client})),"track")};this.notifications={list:t(r=>this.handlePaginatedRequest(he({query:r,client:this.client})),"list"),getUnreadCount:t(()=>this.handleRequest(ye({client:this.client})),"getUnreadCount"),markAsRead:t(r=>this.handleRequest(Ie({body:{notificationIds:r},client:this.client})),"markAsRead"),markAllAsRead:t(()=>this.handleRequest(Re({client:this.client})),"markAllAsRead"),deleteById:t(r=>this.handleRequest(Ee({path:{id:r},client:this.client})),"deleteById")};this.subscriptions={list:t(r=>this.handlePaginatedRequest(fe({query:r,client:this.client})),"list"),create:t(r=>this.handleRequest(Oe({body:r,client:this.client})),"create"),findById:t(r=>this.handleRequest(De({path:{id:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Te({body:o,path:{id:r},client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Se({path:{id:r},client:this.client})),"deleteById")};this.smartLists={list:t(()=>this.handleRequest(Le({client:this.client})),"list"),findById:t(r=>this.handleRequest(ge({path:{smartListId:r},client:this.client})),"findById"),findItems:t((r,o)=>this.handlePaginatedRequest(Fe({path:{smartListId:r},query:o,client:this.client})),"findItems"),removeItem:t((r,o)=>this.handleRequest(be({path:{smartListId:r,itemId:o},client:this.client})),"removeItem")};this.themes={list:t(r=>this.handlePaginatedRequest(we({query:r,client:this.client})),"list"),findLive:t(()=>this.handleRequest(Ae({client:this.client})),"findLive"),findById:t(r=>this.handleRequest(ke({path:{themeId:r},client:this.client})),"findById")};this.products={list:t(r=>this.handlePaginatedRequest(Be({query:r,client:this.client})),"list"),findById:t((r,o)=>this.handleRequest(xe({path:{productId:r},query:o,client:this.client})),"findById")};this.adminTokens={list:t(()=>this.handleRequest(Pe({client:this.client})),"list"),create:t(r=>this.handleRequest(ve({body:r,client:this.client})),"create"),revokeById:t(r=>this.handleRequest(qe({path:{id:r},client:this.client})),"revokeById")};this.integrations={list:t(()=>this.handleRequest(Ue({client:this.client})),"list"),findById:t(r=>this.handleRequest(Ge({path:{integrationId:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Me({path:{integrationId:r},body:o,client:this.client})),"updateById"),getConnection:t(r=>this.handleRequest(je({path:{integrationId:r},client:this.client})),"getConnection"),connect:t((r,o)=>this.handleConnectRequest(Ne({path:{integrationId:r},body:o,client:this.client})),"connect"),disconnect:t(r=>this.handleRequest(ze({path:{integrationId:r},client:this.client})),"disconnect")};this.customers={list:t(r=>this.handlePaginatedRequest(Ve({query:r,client:this.client})),"list"),findById:t(r=>this.handleRequest(He({path:{customerId:r},client:this.client})),"findById")};this.customerItems={list:t((r,o)=>this.handlePaginatedRequest(Qe({path:{customerId:r},query:o,client:this.client})),"list"),create:t((r,o)=>this.handleRequest(We({path:{customerId:r},body:o,client:this.client})),"create"),delete:t((r,o)=>this.handleRequest($e({path:{customerId:r},body:{itemIds:o},client:this.client})),"delete"),count:t(r=>this.handleRequest(Je({path:{customerId:r},client:this.client})),"count"),findById:t((r,o)=>this.handleRequest(_e({path:{customerId:r,itemId:o},client:this.client})),"findById"),updateById:t((r,o,n)=>this.handleRequest(Xe({path:{customerId:r,itemId:o},body:n,client:this.client})),"updateById"),deleteById:t((r,o)=>this.handleRequest(Ke({path:{customerId:r,itemId:o},client:this.client})),"deleteById"),setListsById:t((r,o,n)=>this.handleRequest(Ye({path:{customerId:r,itemId:o},body:{listIds:n},client:this.client})),"setListsById")};this.customerLists={list:t((r,o)=>this.handlePaginatedRequest(Ze({path:{customerId:r},query:o,client:this.client})),"list"),create:t((r,o)=>this.handleRequest(er({path:{customerId:r},body:o,client:this.client})),"create"),findById:t((r,o)=>this.handleRequest(tr({path:{customerId:r,listId:o},client:this.client})),"findById"),updateById:t((r,o,n)=>this.handleRequest(or({path:{customerId:r,listId:o},body:n,client:this.client})),"updateById"),deleteById:t((r,o)=>this.handleRequest(rr({path:{customerId:r,listId:o},client:this.client})),"deleteById"),findItems:t((r,o,n)=>this.handlePaginatedRequest(sr({path:{customerId:r,listId:o},query:n,client:this.client})),"findItems"),addItems:t((r,o,n)=>this.handleRequest(nr({path:{customerId:r,listId:o},body:{itemIds:n},client:this.client})),"addItems"),orderItems:t((r,o,n)=>this.handleRequest(lr({path:{customerId:r,listId:o},body:{itemIds:n},client:this.client})),"orderItems"),removeItem:t((r,o,n)=>this.handleRequest(ir({path:{customerId:r,listId:o,itemId:n},client:this.client})),"removeItem")};this.customerSmartLists={list:t(r=>this.handleRequest(ar({path:{customerId:r},client:this.client})),"list"),findById:t((r,o)=>this.handleRequest(dr({path:{customerId:r,smartListId:o},client:this.client})),"findById"),findItems:t((r,o,n)=>this.handlePaginatedRequest(Cr({path:{customerId:r,smartListId:o},query:n,client:this.client})),"findItems")};this.setups={list:t(()=>this.handleRequest(Rr({client:this.client})),"list"),create:t(r=>this.handleRequest(Er({body:r,client:this.client})),"create"),getState:t(()=>this.handleRequest(fr({client:this.client})),"getState"),patchState:t(r=>this.handleRequest(Or({body:r,client:this.client})),"patchState"),findById:t(r=>this.handleRequest(Dr({path:{id:r},client:this.client})),"findById"),updateById:t((r,o)=>this.handleRequest(Tr({path:{id:r},body:o,client:this.client})),"updateById"),deleteById:t(r=>this.handleRequest(Sr({path:{id:r},client:this.client})),"deleteById")};this.reports={list:t(()=>this.handlePaginatedRequest(pr({client:this.client})),"list"),mostSavedProducts:t(r=>this.handlePaginatedRequest(cr({query:r,client:this.client})),"mostSavedProducts"),mostSavedVariants:t(r=>this.handlePaginatedRequest(mr({query:r,client:this.client})),"mostSavedVariants")};this.adminAnalytics={getSummary:t(r=>this.handleRequest(ur({query:r,client:this.client})),"getSummary"),getMetrics:t(r=>this.handleRequest(hr({query:r,client:this.client})),"getMetrics"),getDimensions:t(r=>this.handleRequest(yr({query:r,client:this.client})),"getDimensions")};this.adminEvents={list:t(r=>this.handlePaginatedRequest(Ir({query:r,client:this.client})),"list")};this.onboarding={list:t(()=>this.handleRequest(Lr({client:this.client})),"list"),get:t(r=>this.handleRequest(Fr({path:{checklistId:r},client:this.client})),"get"),delete:t(r=>this.handleRequest(gr({path:{checklistId:r},client:this.client})),"delete"),upsertStep:t((r,o,n)=>this.handleRequest(br({path:{checklistId:r,stepId:o},body:n,client:this.client})),"upsertStep")};this.mcp={get:t(()=>this.handleRequest(Ar({client:this.client})),"get"),post:t(()=>this.handleRequest(kr({client:this.client})),"post"),delete:t(()=>this.handleRequest(wr({client:this.client})),"delete")};this.flow={createList:t(r=>this.handleRequest(Br({body:r,client:this.client})),"createList"),addItem:t(r=>this.handleRequest(xr({body:r,client:this.client})),"addItem"),removeItem:t(r=>this.handleRequest(Pr({body:r,client:this.client})),"removeItem"),deleteList:t(r=>this.handleRequest(vr({body:r,client:this.client})),"deleteList")};this.handleRequest=t(async r=>{let{data:o,error:n}=await r;return n!=null&&n.error?{error:n.error}:{data:o==null?void 0:o.data}},"handleRequest");this.handleConnectRequest=t(async r=>{let o=await r,{data:n,error:l}=o;return l!=null&&l.error?{error:l.error}:n&&"redirectUrl"in n?{data:n}:{data:(n==null?void 0:n.data)??null}},"handleConnectRequest");this.handlePaginatedRequest=t(async r=>{var l;let{data:o,error:n}=await r;return n!=null&&n.error?{error:n.error}:{data:(o==null?void 0:o.data)??[],pageInfo:(o==null?void 0:o.pageInfo)??{next:null,previous:null,totalCount:((l=o==null?void 0:o.data)==null?void 0:l.length)??0}}},"handlePaginatedRequest");this.client=k(L({baseUrl:"https://unstable.swish.app/api/2026-07",...r.config})),r.authToken&&(this.authToken=r.authToken),r.requestInterceptor&&this.client.interceptors.request.use(r.requestInterceptor),r.responseInterceptor&&this.client.interceptors.response.use(r.responseInterceptor),this.client.interceptors.request.use(this.directRequestInterceptor.bind(this))}setAuthToken(r){this.authToken=r}directRequestInterceptor(r){return this.authToken&&r.headers.set("Authorization",`Bearer ${this.authToken}`),r}};t(Ur,"SwishClient");var qr=Ur;export{ct as apiVersion,to as createApiClient};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { adminAnalyticsControllerGetDimensions, adminAnalyticsControllerGetMetrics, adminAnalyticsControllerGetSummary, adminEventsControllerFindEvents, adminTokensControllerCreate, adminTokensControllerFindAll, adminTokensControllerRevoke, aiSetupControllerResolveTool, aiSetupControllerStep, customerItemsControllerCount, customerItemsControllerCreate, customerItemsControllerDeleteById, customerItemsControllerDeleteMany, customerItemsControllerFindAll, customerItemsControllerFindById, customerItemsControllerSetLists, customerItemsControllerUpdate, customerListsControllerAddItems, customerListsControllerCreate, customerListsControllerDeleteById, customerListsControllerFindAll, customerListsControllerFindById, customerListsControllerFindItems, customerListsControllerRemoveItem, customerListsControllerSetItemsOrder, customerListsControllerUpdate, customersControllerFindAll, customersControllerFindById, customerSmartListsControllerFindAll, customerSmartListsControllerFindById, customerSmartListsControllerFindItems, flowControllerAddItem, flowControllerCreateList, flowControllerDeleteList, flowControllerRemoveItem, integrationsControllerConnect, integrationsControllerDisconnect, integrationsControllerFindAll, integrationsControllerFindById, integrationsControllerGetConnection, integrationsControllerUpdate, itemControllerCount, itemControllerCreate, itemControllerDelete, itemControllerDeleteById, itemControllerFind, itemControllerFindById, itemControllerSetListsById, itemControllerUpdateById, listControllerAddItemsToList, listControllerCreate, listControllerDeleteById, listControllerFind, listControllerFindById, listControllerRemoveItemFromList, listControllerSetListItemsOrder, listControllerUpdateById, mcpControllerDelete, mcpControllerGet, mcpControllerPost, notificationsControllerDeleteById, notificationsControllerFind, notificationsControllerGetUnreadCount, notificationsControllerMarkAllAsRead, notificationsControllerMarkAsRead, oAuthCallbackControllerHandleCallback, onboardingChecklistsControllerDelete, onboardingChecklistsControllerGet, onboardingChecklistsControllerList, onboardingChecklistsControllerUpsertStep, type Options, ordersControllerFind, ordersControllerFindOne, productsControllerFindAll, productsControllerFindById, profileControllerCreateToken, profileControllerGetProfile, profileControllerIdentify, profileControllerUpdateProfile, protectedResourceControllerMcpMetadata, reportsControllerGetIndex, reportsControllerGetMostSavedProducts, reportsControllerGetMostSavedVariants, setupControllerCreate, setupControllerDelete, setupControllerGet, setupControllerGetState, setupControllerList, setupControllerPatchState, setupControllerUpdate, sharedListsControllerDeleteById, sharedListsControllerFindAll, sharedListsControllerFindById, sharedListsControllerFindItems, sharedListsControllerSave, smartListsControllerFindAll, smartListsControllerFindById, smartListsControllerFindItems, smartListsControllerRemoveItem, subscriptionsControllerCreate, subscriptionsControllerDelete, subscriptionsControllerFind, subscriptionsControllerFindById, subscriptionsControllerUpdate, themesControllerFindAll, themesControllerFindById, themesControllerFindLive, trackingControllerCollect } from './sdk.gen';
|
|
2
|
-
export type { AddItemsToList, Address, AdminAnalyticsControllerGetDimensionsData, AdminAnalyticsControllerGetDimensionsError, AdminAnalyticsControllerGetDimensionsErrors, AdminAnalyticsControllerGetDimensionsResponse, AdminAnalyticsControllerGetDimensionsResponses, AdminAnalyticsControllerGetMetricsData, AdminAnalyticsControllerGetMetricsError, AdminAnalyticsControllerGetMetricsErrors, AdminAnalyticsControllerGetMetricsResponse, AdminAnalyticsControllerGetMetricsResponses, AdminAnalyticsControllerGetSummaryData, AdminAnalyticsControllerGetSummaryError, AdminAnalyticsControllerGetSummaryErrors, AdminAnalyticsControllerGetSummaryResponse, AdminAnalyticsControllerGetSummaryResponses, AdminCreateItem, AdminCreateList, AdminEventsControllerFindEventsData, AdminEventsControllerFindEventsError, AdminEventsControllerFindEventsErrors, AdminEventsControllerFindEventsResponse, AdminEventsControllerFindEventsResponses, AdminToken, AdminTokensControllerCreateData, AdminTokensControllerCreateError, AdminTokensControllerCreateErrors, AdminTokensControllerCreateResponse, AdminTokensControllerCreateResponses, AdminTokensControllerFindAllData, AdminTokensControllerFindAllError, AdminTokensControllerFindAllErrors, AdminTokensControllerFindAllResponse, AdminTokensControllerFindAllResponses, AdminTokensControllerRevokeData, AdminTokensControllerRevokeError, AdminTokensControllerRevokeErrors, AdminTokensControllerRevokeResponse, AdminTokensControllerRevokeResponses, AiSetupControllerResolveToolData, AiSetupControllerResolveToolResponses, AiSetupControllerStepData, AiSetupControllerStepResponses, AnalyticsSummary, AttentiveAuth, AuthorizeResponse, AutomationConfig, BackInStockFlow, BackInStockSettings, BloomreachAuth, BrazeAuth, BrevoAuth, ClientOptions, ConnectionDetail, CreateAdminToken, CreateItem, CreateList, CreateProfileToken, CreateProfileTokenResult, CreateSetup, CreateSubscription, CustomerDetail, CustomerItemsControllerCountData, CustomerItemsControllerCountError, CustomerItemsControllerCountErrors, CustomerItemsControllerCountResponse, CustomerItemsControllerCountResponses, CustomerItemsControllerCreateData, CustomerItemsControllerCreateError, CustomerItemsControllerCreateErrors, CustomerItemsControllerCreateResponse, CustomerItemsControllerCreateResponses, CustomerItemsControllerDeleteByIdData, CustomerItemsControllerDeleteByIdError, CustomerItemsControllerDeleteByIdErrors, CustomerItemsControllerDeleteByIdResponse, CustomerItemsControllerDeleteByIdResponses, CustomerItemsControllerDeleteManyData, CustomerItemsControllerDeleteManyError, CustomerItemsControllerDeleteManyErrors, CustomerItemsControllerDeleteManyResponse, CustomerItemsControllerDeleteManyResponses, CustomerItemsControllerFindAllData, CustomerItemsControllerFindAllError, CustomerItemsControllerFindAllErrors, CustomerItemsControllerFindAllResponse, CustomerItemsControllerFindAllResponses, CustomerItemsControllerFindByIdData, CustomerItemsControllerFindByIdError, CustomerItemsControllerFindByIdErrors, CustomerItemsControllerFindByIdResponse, CustomerItemsControllerFindByIdResponses, CustomerItemsControllerSetListsData, CustomerItemsControllerSetListsError, CustomerItemsControllerSetListsErrors, CustomerItemsControllerSetListsResponse, CustomerItemsControllerSetListsResponses, CustomerItemsControllerUpdateData, CustomerItemsControllerUpdateError, CustomerItemsControllerUpdateErrors, CustomerItemsControllerUpdateResponse, CustomerItemsControllerUpdateResponses, CustomerLastOrder, CustomerListItem, CustomerListsControllerAddItemsData, CustomerListsControllerAddItemsError, CustomerListsControllerAddItemsErrors, CustomerListsControllerAddItemsResponse, CustomerListsControllerAddItemsResponses, CustomerListsControllerCreateData, CustomerListsControllerCreateError, CustomerListsControllerCreateErrors, CustomerListsControllerCreateResponse, CustomerListsControllerCreateResponses, CustomerListsControllerDeleteByIdData, CustomerListsControllerDeleteByIdError, CustomerListsControllerDeleteByIdErrors, CustomerListsControllerDeleteByIdResponse, CustomerListsControllerDeleteByIdResponses, CustomerListsControllerFindAllData, CustomerListsControllerFindAllError, CustomerListsControllerFindAllErrors, CustomerListsControllerFindAllResponse, CustomerListsControllerFindAllResponses, CustomerListsControllerFindByIdData, CustomerListsControllerFindByIdError, CustomerListsControllerFindByIdErrors, CustomerListsControllerFindByIdResponse, CustomerListsControllerFindByIdResponses, CustomerListsControllerFindItemsData, CustomerListsControllerFindItemsError, CustomerListsControllerFindItemsErrors, CustomerListsControllerFindItemsResponse, CustomerListsControllerFindItemsResponses, CustomerListsControllerRemoveItemData, CustomerListsControllerRemoveItemError, CustomerListsControllerRemoveItemErrors, CustomerListsControllerRemoveItemResponse, CustomerListsControllerRemoveItemResponses, CustomerListsControllerSetItemsOrderData, CustomerListsControllerSetItemsOrderError, CustomerListsControllerSetItemsOrderErrors, CustomerListsControllerSetItemsOrderResponse, CustomerListsControllerSetItemsOrderResponses, CustomerListsControllerUpdateData, CustomerListsControllerUpdateError, CustomerListsControllerUpdateErrors, CustomerListsControllerUpdateResponse, CustomerListsControllerUpdateResponses, CustomerOrdersSummary, CustomersControllerFindAllData, CustomersControllerFindAllError, CustomersControllerFindAllErrors, CustomersControllerFindAllResponse, CustomersControllerFindAllResponses, CustomersControllerFindByIdData, CustomersControllerFindByIdError, CustomersControllerFindByIdErrors, CustomersControllerFindByIdResponse, CustomersControllerFindByIdResponses, CustomerSmartListsControllerFindAllData, CustomerSmartListsControllerFindAllError, CustomerSmartListsControllerFindAllErrors, CustomerSmartListsControllerFindAllResponse, CustomerSmartListsControllerFindAllResponses, CustomerSmartListsControllerFindByIdData, CustomerSmartListsControllerFindByIdError, CustomerSmartListsControllerFindByIdErrors, CustomerSmartListsControllerFindByIdResponse, CustomerSmartListsControllerFindByIdResponses, CustomerSmartListsControllerFindItemsData, CustomerSmartListsControllerFindItemsError, CustomerSmartListsControllerFindItemsErrors, CustomerSmartListsControllerFindItemsResponse, CustomerSmartListsControllerFindItemsResponses, DeleteItems, Dimension, DimensionsResponse, Error, ErrorResponse, Event, EventsResponse, FlowAddItem, FlowAddItemProperties, FlowConfig, FlowControllerAddItemData, FlowControllerAddItemResponses, FlowControllerCreateListData, FlowControllerCreateListResponses, FlowControllerDeleteListData, FlowControllerDeleteListResponses, FlowControllerRemoveItemData, FlowControllerRemoveItemResponses, FlowCreateList, FlowCreateListProperties, FlowDeleteList, FlowDeleteListProperties, FlowRemoveItem, FlowRemoveItemProperties, Fulfillment, HydrogenConfig, IdentifyProfile, Image, IntegrationDetail, IntegrationListItem, IntegrationsControllerConnectData, IntegrationsControllerConnectError, IntegrationsControllerConnectErrors, IntegrationsControllerConnectResponse, IntegrationsControllerConnectResponses, IntegrationsControllerDisconnectData, IntegrationsControllerDisconnectError, IntegrationsControllerDisconnectErrors, IntegrationsControllerDisconnectResponse, IntegrationsControllerDisconnectResponses, IntegrationsControllerFindAllData, IntegrationsControllerFindAllError, IntegrationsControllerFindAllErrors, IntegrationsControllerFindAllResponse, IntegrationsControllerFindAllResponses, IntegrationsControllerFindByIdData, IntegrationsControllerFindByIdError, IntegrationsControllerFindByIdErrors, IntegrationsControllerFindByIdResponse, IntegrationsControllerFindByIdResponses, IntegrationsControllerGetConnectionData, IntegrationsControllerGetConnectionError, IntegrationsControllerGetConnectionErrors, IntegrationsControllerGetConnectionResponse, IntegrationsControllerGetConnectionResponses, IntegrationsControllerUpdateData, IntegrationsControllerUpdateError, IntegrationsControllerUpdateErrors, IntegrationsControllerUpdateResponse, IntegrationsControllerUpdateResponses, Item, ItemControllerCountData, ItemControllerCountError, ItemControllerCountErrors, ItemControllerCountResponse, ItemControllerCountResponses, ItemControllerCreateData, ItemControllerCreateError, ItemControllerCreateErrors, ItemControllerCreateResponse, ItemControllerCreateResponses, ItemControllerDeleteByIdData, ItemControllerDeleteByIdError, ItemControllerDeleteByIdErrors, ItemControllerDeleteByIdResponse, ItemControllerDeleteByIdResponses, ItemControllerDeleteData, ItemControllerDeleteError, ItemControllerDeleteErrors, ItemControllerDeleteResponse, ItemControllerDeleteResponses, ItemControllerFindByIdData, ItemControllerFindByIdError, ItemControllerFindByIdErrors, ItemControllerFindByIdResponse, ItemControllerFindByIdResponses, ItemControllerFindData, ItemControllerFindError, ItemControllerFindErrors, ItemControllerFindResponse, ItemControllerFindResponses, ItemControllerSetListsByIdData, ItemControllerSetListsByIdError, ItemControllerSetListsByIdErrors, ItemControllerSetListsByIdResponse, ItemControllerSetListsByIdResponses, ItemControllerUpdateByIdData, ItemControllerUpdateByIdError, ItemControllerUpdateByIdErrors, ItemControllerUpdateByIdResponse, ItemControllerUpdateByIdResponses, ItemCount, ItemDetail, ItemReference, List, ListControllerAddItemsToListData, ListControllerAddItemsToListError, ListControllerAddItemsToListErrors, ListControllerAddItemsToListResponse, ListControllerAddItemsToListResponses, ListControllerCreateData, ListControllerCreateError, ListControllerCreateErrors, ListControllerCreateResponse, ListControllerCreateResponses, ListControllerDeleteByIdData, ListControllerDeleteByIdError, ListControllerDeleteByIdErrors, ListControllerDeleteByIdResponse, ListControllerDeleteByIdResponses, ListControllerFindByIdData, ListControllerFindByIdError, ListControllerFindByIdErrors, ListControllerFindByIdResponse, ListControllerFindByIdResponses, ListControllerFindData, ListControllerFindError, ListControllerFindErrors, ListControllerFindResponse, ListControllerFindResponses, ListControllerRemoveItemFromListData, ListControllerRemoveItemFromListError, ListControllerRemoveItemFromListErrors, ListControllerRemoveItemFromListResponse, ListControllerRemoveItemFromListResponses, ListControllerSetListItemsOrderData, ListControllerSetListItemsOrderError, ListControllerSetListItemsOrderErrors, ListControllerSetListItemsOrderResponse, ListControllerSetListItemsOrderResponses, ListControllerUpdateByIdData, ListControllerUpdateByIdError, ListControllerUpdateByIdErrors, ListControllerUpdateByIdResponse, ListControllerUpdateByIdResponses, ListDetail, LowStockFlow, LowStockSettings, MarkAsRead, MarketingConsent, McpControllerDeleteData, McpControllerDeleteResponses, McpControllerGetData, McpControllerGetResponses, McpControllerPostData, McpControllerPostResponses, MetricSeries, MetricSeriesPoint, MetricTimeseries, MetricValue, Money, Notification, NotificationContext, NotificationMoney, NotificationProduct, NotificationsControllerDeleteByIdData, NotificationsControllerDeleteByIdError, NotificationsControllerDeleteByIdErrors, NotificationsControllerDeleteByIdResponse, NotificationsControllerDeleteByIdResponses, NotificationsControllerFindData, NotificationsControllerFindError, NotificationsControllerFindErrors, NotificationsControllerFindResponse, NotificationsControllerFindResponses, NotificationsControllerGetUnreadCountData, NotificationsControllerGetUnreadCountError, NotificationsControllerGetUnreadCountErrors, NotificationsControllerGetUnreadCountResponse, NotificationsControllerGetUnreadCountResponses, NotificationsControllerMarkAllAsReadData, NotificationsControllerMarkAllAsReadError, NotificationsControllerMarkAllAsReadErrors, NotificationsControllerMarkAllAsReadResponse, NotificationsControllerMarkAllAsReadResponses, NotificationsControllerMarkAsReadData, NotificationsControllerMarkAsReadError, NotificationsControllerMarkAsReadErrors, NotificationsControllerMarkAsReadResponse, NotificationsControllerMarkAsReadResponses, NotificationSettings, NotificationUnreadCount, NotificationVariant, OAuthCallbackControllerHandleCallbackData, OAuthCallbackControllerHandleCallbackError, OAuthCallbackControllerHandleCallbackErrors, OmetriaAuth, OmnisendAuth, OnboardingChecklist, OnboardingChecklistsControllerDeleteData, OnboardingChecklistsControllerDeleteError, OnboardingChecklistsControllerDeleteErrors, OnboardingChecklistsControllerDeleteResponse, OnboardingChecklistsControllerDeleteResponses, OnboardingChecklistsControllerGetData, OnboardingChecklistsControllerGetError, OnboardingChecklistsControllerGetErrors, OnboardingChecklistsControllerGetResponse, OnboardingChecklistsControllerGetResponses, OnboardingChecklistsControllerListData, OnboardingChecklistsControllerListError, OnboardingChecklistsControllerListErrors, OnboardingChecklistsControllerListResponse, OnboardingChecklistsControllerListResponses, OnboardingChecklistsControllerUpsertStepData, OnboardingChecklistsControllerUpsertStepError, OnboardingChecklistsControllerUpsertStepErrors, OnboardingChecklistsControllerUpsertStepResponse, OnboardingChecklistsControllerUpsertStepResponses, OnboardingChecklistStep, Order, OrderDetail, OrderLineItem, OrderProduct, OrderProductVariant, OrdersControllerFindData, OrdersControllerFindError, OrdersControllerFindErrors, OrdersControllerFindOneData, OrdersControllerFindOneError, OrdersControllerFindOneErrors, OrdersControllerFindOneResponse, OrdersControllerFindOneResponses, OrdersControllerFindResponse, OrdersControllerFindResponses, PageInfo, PaginatedResponse, PreviewImage, PriceDropFlow, PriceDropSettings, ProductCategory, ProductDetail, ProductListItem, ProductOption, ProductPriceRange, ProductsControllerFindAllData, ProductsControllerFindAllError, ProductsControllerFindAllErrors, ProductsControllerFindAllResponse, ProductsControllerFindAllResponses, ProductsControllerFindByIdData, ProductsControllerFindByIdError, ProductsControllerFindByIdErrors, ProductsControllerFindByIdResponse, ProductsControllerFindByIdResponses, ProductStats, ProductVariant, ProductVariantsCount, Profile, ProfileControllerCreateTokenData, ProfileControllerCreateTokenError, ProfileControllerCreateTokenErrors, ProfileControllerCreateTokenResponse, ProfileControllerCreateTokenResponses, ProfileControllerGetProfileData, ProfileControllerGetProfileError, ProfileControllerGetProfileErrors, ProfileControllerGetProfileResponse, ProfileControllerGetProfileResponses, ProfileControllerIdentifyData, ProfileControllerIdentifyError, ProfileControllerIdentifyErrors, ProfileControllerIdentifyResponses, ProfileControllerUpdateProfileData, ProfileControllerUpdateProfileError, ProfileControllerUpdateProfileErrors, ProfileControllerUpdateProfileResponse, ProfileControllerUpdateProfileResponses, ProtectedResourceControllerMcpMetadataData, ProtectedResourceControllerMcpMetadataResponses, RankedProduct, RankedVariant, ReportDefinition, ReportFilter, ReportProduct, ReportResponse, ReportsControllerGetIndexData, ReportsControllerGetIndexError, ReportsControllerGetIndexErrors, ReportsControllerGetIndexResponse, ReportsControllerGetIndexResponses, ReportsControllerGetMostSavedProductsData, ReportsControllerGetMostSavedProductsError, ReportsControllerGetMostSavedProductsErrors, ReportsControllerGetMostSavedProductsResponse, ReportsControllerGetMostSavedProductsResponses, ReportsControllerGetMostSavedVariantsData, ReportsControllerGetMostSavedVariantsError, ReportsControllerGetMostSavedVariantsErrors, ReportsControllerGetMostSavedVariantsResponse, ReportsControllerGetMostSavedVariantsResponses, ReportVariant, ReportVariantProduct, ResolveTool, Response, SaveEventMetadata, SaveSharedList, SessionEventMetadata, SetItemLists, SetListItemsOrder, Setup, SetupControllerCreateData, SetupControllerCreateError, SetupControllerCreateErrors, SetupControllerCreateResponse, SetupControllerCreateResponses, SetupControllerDeleteData, SetupControllerDeleteError, SetupControllerDeleteErrors, SetupControllerDeleteResponse, SetupControllerDeleteResponses, SetupControllerGetData, SetupControllerGetError, SetupControllerGetErrors, SetupControllerGetResponse, SetupControllerGetResponses, SetupControllerGetStateData, SetupControllerGetStateError, SetupControllerGetStateErrors, SetupControllerGetStateResponse, SetupControllerGetStateResponses, SetupControllerListData, SetupControllerListError, SetupControllerListErrors, SetupControllerListResponse, SetupControllerListResponses, SetupControllerPatchStateData, SetupControllerPatchStateError, SetupControllerPatchStateErrors, SetupControllerPatchStateResponse, SetupControllerPatchStateResponses, SetupControllerUpdateData, SetupControllerUpdateError, SetupControllerUpdateErrors, SetupControllerUpdateResponse, SetupControllerUpdateResponses, SetupDetail, SetupOptions, SetupState, SetupStep, SharedListsControllerDeleteByIdData, SharedListsControllerDeleteByIdError, SharedListsControllerDeleteByIdErrors, SharedListsControllerDeleteByIdResponse, SharedListsControllerDeleteByIdResponses, SharedListsControllerFindAllData, SharedListsControllerFindAllError, SharedListsControllerFindAllErrors, SharedListsControllerFindAllResponse, SharedListsControllerFindAllResponses, SharedListsControllerFindByIdData, SharedListsControllerFindByIdError, SharedListsControllerFindByIdErrors, SharedListsControllerFindByIdResponse, SharedListsControllerFindByIdResponses, SharedListsControllerFindItemsData, SharedListsControllerFindItemsError, SharedListsControllerFindItemsErrors, SharedListsControllerFindItemsResponse, SharedListsControllerFindItemsResponses, SharedListsControllerSaveData, SharedListsControllerSaveError, SharedListsControllerSaveErrors, SharedListsControllerSaveResponse, SharedListsControllerSaveResponses, SmartListsControllerFindAllData, SmartListsControllerFindAllError, SmartListsControllerFindAllErrors, SmartListsControllerFindAllResponse, SmartListsControllerFindAllResponses, SmartListsControllerFindByIdData, SmartListsControllerFindByIdError, SmartListsControllerFindByIdErrors, SmartListsControllerFindByIdResponse, SmartListsControllerFindByIdResponses, SmartListsControllerFindItemsData, SmartListsControllerFindItemsError, SmartListsControllerFindItemsErrors, SmartListsControllerFindItemsResponse, SmartListsControllerFindItemsResponses, SmartListsControllerRemoveItemData, SmartListsControllerRemoveItemError, SmartListsControllerRemoveItemErrors, SmartListsControllerRemoveItemResponse, SmartListsControllerRemoveItemResponses, StorefrontImage, StorefrontProduct, StorefrontProductVariant, Subscription, SubscriptionQuery, SubscriptionsControllerCreateData, SubscriptionsControllerCreateError, SubscriptionsControllerCreateErrors, SubscriptionsControllerCreateResponse, SubscriptionsControllerCreateResponses, SubscriptionsControllerDeleteData, SubscriptionsControllerDeleteError, SubscriptionsControllerDeleteErrors, SubscriptionsControllerDeleteResponse, SubscriptionsControllerDeleteResponses, SubscriptionsControllerFindByIdData, SubscriptionsControllerFindByIdError, SubscriptionsControllerFindByIdErrors, SubscriptionsControllerFindByIdResponse, SubscriptionsControllerFindByIdResponses, SubscriptionsControllerFindData, SubscriptionsControllerFindError, SubscriptionsControllerFindErrors, SubscriptionsControllerFindResponse, SubscriptionsControllerFindResponses, SubscriptionsControllerUpdateData, SubscriptionsControllerUpdateError, SubscriptionsControllerUpdateErrors, SubscriptionsControllerUpdateResponse, SubscriptionsControllerUpdateResponses, ThemeDetail, ThemeInfo, ThemeListItem, ThemesControllerFindAllData, ThemesControllerFindAllError, ThemesControllerFindAllErrors, ThemesControllerFindAllResponse, ThemesControllerFindAllResponses, ThemesControllerFindByIdData, ThemesControllerFindByIdError, ThemesControllerFindByIdErrors, ThemesControllerFindByIdResponse, ThemesControllerFindByIdResponses, ThemesControllerFindLiveData, ThemesControllerFindLiveError, ThemesControllerFindLiveErrors, ThemesControllerFindLiveResponse, ThemesControllerFindLiveResponses, TrackingControllerCollectData, TrackingControllerCollectError, TrackingControllerCollectErrors, TrackingControllerCollectResponse, TrackingControllerCollectResponses, TrackingEventItem, TrackingEventRequest, TrackingInfo, UpdateItem, UpdateList, UpdateProfile, UpdateSetup, UpdateSetupState, UpdateSubscription, UpsertOnboardingChecklistStep } from './types.gen';
|
|
1
|
+
export { adminAnalyticsControllerGetDimensions, adminAnalyticsControllerGetMetrics, adminAnalyticsControllerGetSummary, adminEventsControllerFindEvents, adminTokensControllerCreate, adminTokensControllerFindAll, adminTokensControllerRevoke, aiSetupControllerResolveTool, aiSetupControllerStep, authorizationServerControllerBare, authorizationServerControllerSuffixed, customerItemsControllerCount, customerItemsControllerCreate, customerItemsControllerDeleteById, customerItemsControllerDeleteMany, customerItemsControllerFindAll, customerItemsControllerFindById, customerItemsControllerSetLists, customerItemsControllerUpdate, customerListsControllerAddItems, customerListsControllerCreate, customerListsControllerDeleteById, customerListsControllerFindAll, customerListsControllerFindById, customerListsControllerFindItems, customerListsControllerRemoveItem, customerListsControllerSetItemsOrder, customerListsControllerUpdate, customersControllerFindAll, customersControllerFindById, customerSmartListsControllerFindAll, customerSmartListsControllerFindById, customerSmartListsControllerFindItems, flowControllerAddItem, flowControllerCreateList, flowControllerDeleteList, flowControllerRemoveItem, integrationsControllerConnect, integrationsControllerDisconnect, integrationsControllerFindAll, integrationsControllerFindById, integrationsControllerGetConnection, integrationsControllerUpdate, itemControllerCount, itemControllerCreate, itemControllerDelete, itemControllerDeleteById, itemControllerFind, itemControllerFindById, itemControllerSetListsById, itemControllerUpdateById, listControllerAddItemsToList, listControllerCreate, listControllerDeleteById, listControllerFind, listControllerFindById, listControllerRemoveItemFromList, listControllerSetListItemsOrder, listControllerUpdateById, mcpControllerDelete, mcpControllerGet, mcpControllerPost, notificationsControllerDeleteById, notificationsControllerFind, notificationsControllerGetUnreadCount, notificationsControllerMarkAllAsRead, notificationsControllerMarkAsRead, oAuthCallbackControllerHandleCallback, onboardingChecklistsControllerDelete, onboardingChecklistsControllerGet, onboardingChecklistsControllerList, onboardingChecklistsControllerUpsertStep, openIdConfigurationControllerBare, openIdConfigurationControllerSuffixed, type Options, ordersControllerFind, ordersControllerFindOne, productsControllerFindAll, productsControllerFindById, profileControllerCreateToken, profileControllerGetProfile, profileControllerIdentify, profileControllerUpdateProfile, protectedResourceControllerMcpMetadata, protectedResourceControllerRootMetadata, reportsControllerGetIndex, reportsControllerGetMostSavedProducts, reportsControllerGetMostSavedVariants, setupControllerCreate, setupControllerDelete, setupControllerGet, setupControllerGetState, setupControllerList, setupControllerPatchState, setupControllerUpdate, sharedListsControllerDeleteById, sharedListsControllerFindAll, sharedListsControllerFindById, sharedListsControllerFindItems, sharedListsControllerSave, smartListsControllerFindAll, smartListsControllerFindById, smartListsControllerFindItems, smartListsControllerRemoveItem, subscriptionsControllerCreate, subscriptionsControllerDelete, subscriptionsControllerFind, subscriptionsControllerFindById, subscriptionsControllerUpdate, themesControllerFindAll, themesControllerFindById, themesControllerFindLive, trackingControllerCollect } from './sdk.gen';
|
|
2
|
+
export type { AddItemsToList, Address, AdminAnalyticsControllerGetDimensionsData, AdminAnalyticsControllerGetDimensionsError, AdminAnalyticsControllerGetDimensionsErrors, AdminAnalyticsControllerGetDimensionsResponse, AdminAnalyticsControllerGetDimensionsResponses, AdminAnalyticsControllerGetMetricsData, AdminAnalyticsControllerGetMetricsError, AdminAnalyticsControllerGetMetricsErrors, AdminAnalyticsControllerGetMetricsResponse, AdminAnalyticsControllerGetMetricsResponses, AdminAnalyticsControllerGetSummaryData, AdminAnalyticsControllerGetSummaryError, AdminAnalyticsControllerGetSummaryErrors, AdminAnalyticsControllerGetSummaryResponse, AdminAnalyticsControllerGetSummaryResponses, AdminCreateItem, AdminCreateList, AdminEventsControllerFindEventsData, AdminEventsControllerFindEventsError, AdminEventsControllerFindEventsErrors, AdminEventsControllerFindEventsResponse, AdminEventsControllerFindEventsResponses, AdminToken, AdminTokensControllerCreateData, AdminTokensControllerCreateError, AdminTokensControllerCreateErrors, AdminTokensControllerCreateResponse, AdminTokensControllerCreateResponses, AdminTokensControllerFindAllData, AdminTokensControllerFindAllError, AdminTokensControllerFindAllErrors, AdminTokensControllerFindAllResponse, AdminTokensControllerFindAllResponses, AdminTokensControllerRevokeData, AdminTokensControllerRevokeError, AdminTokensControllerRevokeErrors, AdminTokensControllerRevokeResponse, AdminTokensControllerRevokeResponses, AiSetupControllerResolveToolData, AiSetupControllerResolveToolResponses, AiSetupControllerStepData, AiSetupControllerStepResponses, AnalyticsSummary, AttentiveAuth, AuthorizationServerControllerBareData, AuthorizationServerControllerBareResponses, AuthorizationServerControllerSuffixedData, AuthorizationServerControllerSuffixedResponses, AuthorizeResponse, AutomationConfig, BackInStockFlow, BackInStockSettings, BloomreachAuth, BrazeAuth, BrevoAuth, ClientOptions, ConnectionDetail, CreateAdminToken, CreateItem, CreateList, CreateProfileToken, CreateProfileTokenResult, CreateSetup, CreateSubscription, CustomerDetail, CustomerItemsControllerCountData, CustomerItemsControllerCountError, CustomerItemsControllerCountErrors, CustomerItemsControllerCountResponse, CustomerItemsControllerCountResponses, CustomerItemsControllerCreateData, CustomerItemsControllerCreateError, CustomerItemsControllerCreateErrors, CustomerItemsControllerCreateResponse, CustomerItemsControllerCreateResponses, CustomerItemsControllerDeleteByIdData, CustomerItemsControllerDeleteByIdError, CustomerItemsControllerDeleteByIdErrors, CustomerItemsControllerDeleteByIdResponse, CustomerItemsControllerDeleteByIdResponses, CustomerItemsControllerDeleteManyData, CustomerItemsControllerDeleteManyError, CustomerItemsControllerDeleteManyErrors, CustomerItemsControllerDeleteManyResponse, CustomerItemsControllerDeleteManyResponses, CustomerItemsControllerFindAllData, CustomerItemsControllerFindAllError, CustomerItemsControllerFindAllErrors, CustomerItemsControllerFindAllResponse, CustomerItemsControllerFindAllResponses, CustomerItemsControllerFindByIdData, CustomerItemsControllerFindByIdError, CustomerItemsControllerFindByIdErrors, CustomerItemsControllerFindByIdResponse, CustomerItemsControllerFindByIdResponses, CustomerItemsControllerSetListsData, CustomerItemsControllerSetListsError, CustomerItemsControllerSetListsErrors, CustomerItemsControllerSetListsResponse, CustomerItemsControllerSetListsResponses, CustomerItemsControllerUpdateData, CustomerItemsControllerUpdateError, CustomerItemsControllerUpdateErrors, CustomerItemsControllerUpdateResponse, CustomerItemsControllerUpdateResponses, CustomerLastOrder, CustomerListItem, CustomerListsControllerAddItemsData, CustomerListsControllerAddItemsError, CustomerListsControllerAddItemsErrors, CustomerListsControllerAddItemsResponse, CustomerListsControllerAddItemsResponses, CustomerListsControllerCreateData, CustomerListsControllerCreateError, CustomerListsControllerCreateErrors, CustomerListsControllerCreateResponse, CustomerListsControllerCreateResponses, CustomerListsControllerDeleteByIdData, CustomerListsControllerDeleteByIdError, CustomerListsControllerDeleteByIdErrors, CustomerListsControllerDeleteByIdResponse, CustomerListsControllerDeleteByIdResponses, CustomerListsControllerFindAllData, CustomerListsControllerFindAllError, CustomerListsControllerFindAllErrors, CustomerListsControllerFindAllResponse, CustomerListsControllerFindAllResponses, CustomerListsControllerFindByIdData, CustomerListsControllerFindByIdError, CustomerListsControllerFindByIdErrors, CustomerListsControllerFindByIdResponse, CustomerListsControllerFindByIdResponses, CustomerListsControllerFindItemsData, CustomerListsControllerFindItemsError, CustomerListsControllerFindItemsErrors, CustomerListsControllerFindItemsResponse, CustomerListsControllerFindItemsResponses, CustomerListsControllerRemoveItemData, CustomerListsControllerRemoveItemError, CustomerListsControllerRemoveItemErrors, CustomerListsControllerRemoveItemResponse, CustomerListsControllerRemoveItemResponses, CustomerListsControllerSetItemsOrderData, CustomerListsControllerSetItemsOrderError, CustomerListsControllerSetItemsOrderErrors, CustomerListsControllerSetItemsOrderResponse, CustomerListsControllerSetItemsOrderResponses, CustomerListsControllerUpdateData, CustomerListsControllerUpdateError, CustomerListsControllerUpdateErrors, CustomerListsControllerUpdateResponse, CustomerListsControllerUpdateResponses, CustomerOrdersSummary, CustomersControllerFindAllData, CustomersControllerFindAllError, CustomersControllerFindAllErrors, CustomersControllerFindAllResponse, CustomersControllerFindAllResponses, CustomersControllerFindByIdData, CustomersControllerFindByIdError, CustomersControllerFindByIdErrors, CustomersControllerFindByIdResponse, CustomersControllerFindByIdResponses, CustomerSmartListsControllerFindAllData, CustomerSmartListsControllerFindAllError, CustomerSmartListsControllerFindAllErrors, CustomerSmartListsControllerFindAllResponse, CustomerSmartListsControllerFindAllResponses, CustomerSmartListsControllerFindByIdData, CustomerSmartListsControllerFindByIdError, CustomerSmartListsControllerFindByIdErrors, CustomerSmartListsControllerFindByIdResponse, CustomerSmartListsControllerFindByIdResponses, CustomerSmartListsControllerFindItemsData, CustomerSmartListsControllerFindItemsError, CustomerSmartListsControllerFindItemsErrors, CustomerSmartListsControllerFindItemsResponse, CustomerSmartListsControllerFindItemsResponses, DeleteItems, Dimension, DimensionsResponse, Error, ErrorResponse, Event, EventsResponse, FlowAddItem, FlowAddItemProperties, FlowConfig, FlowControllerAddItemData, FlowControllerAddItemResponses, FlowControllerCreateListData, FlowControllerCreateListResponses, FlowControllerDeleteListData, FlowControllerDeleteListResponses, FlowControllerRemoveItemData, FlowControllerRemoveItemResponses, FlowCreateList, FlowCreateListProperties, FlowDeleteList, FlowDeleteListProperties, FlowRemoveItem, FlowRemoveItemProperties, Fulfillment, HydrogenConfig, IdentifyProfile, Image, IntegrationDetail, IntegrationListItem, IntegrationsControllerConnectData, IntegrationsControllerConnectError, IntegrationsControllerConnectErrors, IntegrationsControllerConnectResponse, IntegrationsControllerConnectResponses, IntegrationsControllerDisconnectData, IntegrationsControllerDisconnectError, IntegrationsControllerDisconnectErrors, IntegrationsControllerDisconnectResponse, IntegrationsControllerDisconnectResponses, IntegrationsControllerFindAllData, IntegrationsControllerFindAllError, IntegrationsControllerFindAllErrors, IntegrationsControllerFindAllResponse, IntegrationsControllerFindAllResponses, IntegrationsControllerFindByIdData, IntegrationsControllerFindByIdError, IntegrationsControllerFindByIdErrors, IntegrationsControllerFindByIdResponse, IntegrationsControllerFindByIdResponses, IntegrationsControllerGetConnectionData, IntegrationsControllerGetConnectionError, IntegrationsControllerGetConnectionErrors, IntegrationsControllerGetConnectionResponse, IntegrationsControllerGetConnectionResponses, IntegrationsControllerUpdateData, IntegrationsControllerUpdateError, IntegrationsControllerUpdateErrors, IntegrationsControllerUpdateResponse, IntegrationsControllerUpdateResponses, Item, ItemControllerCountData, ItemControllerCountError, ItemControllerCountErrors, ItemControllerCountResponse, ItemControllerCountResponses, ItemControllerCreateData, ItemControllerCreateError, ItemControllerCreateErrors, ItemControllerCreateResponse, ItemControllerCreateResponses, ItemControllerDeleteByIdData, ItemControllerDeleteByIdError, ItemControllerDeleteByIdErrors, ItemControllerDeleteByIdResponse, ItemControllerDeleteByIdResponses, ItemControllerDeleteData, ItemControllerDeleteError, ItemControllerDeleteErrors, ItemControllerDeleteResponse, ItemControllerDeleteResponses, ItemControllerFindByIdData, ItemControllerFindByIdError, ItemControllerFindByIdErrors, ItemControllerFindByIdResponse, ItemControllerFindByIdResponses, ItemControllerFindData, ItemControllerFindError, ItemControllerFindErrors, ItemControllerFindResponse, ItemControllerFindResponses, ItemControllerSetListsByIdData, ItemControllerSetListsByIdError, ItemControllerSetListsByIdErrors, ItemControllerSetListsByIdResponse, ItemControllerSetListsByIdResponses, ItemControllerUpdateByIdData, ItemControllerUpdateByIdError, ItemControllerUpdateByIdErrors, ItemControllerUpdateByIdResponse, ItemControllerUpdateByIdResponses, ItemCount, ItemDetail, ItemReference, List, ListControllerAddItemsToListData, ListControllerAddItemsToListError, ListControllerAddItemsToListErrors, ListControllerAddItemsToListResponse, ListControllerAddItemsToListResponses, ListControllerCreateData, ListControllerCreateError, ListControllerCreateErrors, ListControllerCreateResponse, ListControllerCreateResponses, ListControllerDeleteByIdData, ListControllerDeleteByIdError, ListControllerDeleteByIdErrors, ListControllerDeleteByIdResponse, ListControllerDeleteByIdResponses, ListControllerFindByIdData, ListControllerFindByIdError, ListControllerFindByIdErrors, ListControllerFindByIdResponse, ListControllerFindByIdResponses, ListControllerFindData, ListControllerFindError, ListControllerFindErrors, ListControllerFindResponse, ListControllerFindResponses, ListControllerRemoveItemFromListData, ListControllerRemoveItemFromListError, ListControllerRemoveItemFromListErrors, ListControllerRemoveItemFromListResponse, ListControllerRemoveItemFromListResponses, ListControllerSetListItemsOrderData, ListControllerSetListItemsOrderError, ListControllerSetListItemsOrderErrors, ListControllerSetListItemsOrderResponse, ListControllerSetListItemsOrderResponses, ListControllerUpdateByIdData, ListControllerUpdateByIdError, ListControllerUpdateByIdErrors, ListControllerUpdateByIdResponse, ListControllerUpdateByIdResponses, ListDetail, LowStockFlow, LowStockSettings, MarkAsRead, MarketingConsent, McpControllerDeleteData, McpControllerDeleteResponses, McpControllerGetData, McpControllerGetResponses, McpControllerPostData, McpControllerPostResponses, MetricSeries, MetricSeriesPoint, MetricTimeseries, MetricValue, Money, Notification, NotificationContext, NotificationMoney, NotificationProduct, NotificationsControllerDeleteByIdData, NotificationsControllerDeleteByIdError, NotificationsControllerDeleteByIdErrors, NotificationsControllerDeleteByIdResponse, NotificationsControllerDeleteByIdResponses, NotificationsControllerFindData, NotificationsControllerFindError, NotificationsControllerFindErrors, NotificationsControllerFindResponse, NotificationsControllerFindResponses, NotificationsControllerGetUnreadCountData, NotificationsControllerGetUnreadCountError, NotificationsControllerGetUnreadCountErrors, NotificationsControllerGetUnreadCountResponse, NotificationsControllerGetUnreadCountResponses, NotificationsControllerMarkAllAsReadData, NotificationsControllerMarkAllAsReadError, NotificationsControllerMarkAllAsReadErrors, NotificationsControllerMarkAllAsReadResponse, NotificationsControllerMarkAllAsReadResponses, NotificationsControllerMarkAsReadData, NotificationsControllerMarkAsReadError, NotificationsControllerMarkAsReadErrors, NotificationsControllerMarkAsReadResponse, NotificationsControllerMarkAsReadResponses, NotificationSettings, NotificationUnreadCount, NotificationVariant, OAuthCallbackControllerHandleCallbackData, OAuthCallbackControllerHandleCallbackError, OAuthCallbackControllerHandleCallbackErrors, OmetriaAuth, OmnisendAuth, OnboardingChecklist, OnboardingChecklistsControllerDeleteData, OnboardingChecklistsControllerDeleteError, OnboardingChecklistsControllerDeleteErrors, OnboardingChecklistsControllerDeleteResponse, OnboardingChecklistsControllerDeleteResponses, OnboardingChecklistsControllerGetData, OnboardingChecklistsControllerGetError, OnboardingChecklistsControllerGetErrors, OnboardingChecklistsControllerGetResponse, OnboardingChecklistsControllerGetResponses, OnboardingChecklistsControllerListData, OnboardingChecklistsControllerListError, OnboardingChecklistsControllerListErrors, OnboardingChecklistsControllerListResponse, OnboardingChecklistsControllerListResponses, OnboardingChecklistsControllerUpsertStepData, OnboardingChecklistsControllerUpsertStepError, OnboardingChecklistsControllerUpsertStepErrors, OnboardingChecklistsControllerUpsertStepResponse, OnboardingChecklistsControllerUpsertStepResponses, OnboardingChecklistStep, OpenIdConfigurationControllerBareData, OpenIdConfigurationControllerBareResponses, OpenIdConfigurationControllerSuffixedData, OpenIdConfigurationControllerSuffixedResponses, Order, OrderDetail, OrderLineItem, OrderProduct, OrderProductVariant, OrdersControllerFindData, OrdersControllerFindError, OrdersControllerFindErrors, OrdersControllerFindOneData, OrdersControllerFindOneError, OrdersControllerFindOneErrors, OrdersControllerFindOneResponse, OrdersControllerFindOneResponses, OrdersControllerFindResponse, OrdersControllerFindResponses, PageInfo, PaginatedResponse, PreviewImage, PriceDropFlow, PriceDropSettings, ProductCategory, ProductDetail, ProductListItem, ProductOption, ProductPriceRange, ProductsControllerFindAllData, ProductsControllerFindAllError, ProductsControllerFindAllErrors, ProductsControllerFindAllResponse, ProductsControllerFindAllResponses, ProductsControllerFindByIdData, ProductsControllerFindByIdError, ProductsControllerFindByIdErrors, ProductsControllerFindByIdResponse, ProductsControllerFindByIdResponses, ProductStats, ProductVariant, ProductVariantsCount, Profile, ProfileControllerCreateTokenData, ProfileControllerCreateTokenError, ProfileControllerCreateTokenErrors, ProfileControllerCreateTokenResponse, ProfileControllerCreateTokenResponses, ProfileControllerGetProfileData, ProfileControllerGetProfileError, ProfileControllerGetProfileErrors, ProfileControllerGetProfileResponse, ProfileControllerGetProfileResponses, ProfileControllerIdentifyData, ProfileControllerIdentifyError, ProfileControllerIdentifyErrors, ProfileControllerIdentifyResponses, ProfileControllerUpdateProfileData, ProfileControllerUpdateProfileError, ProfileControllerUpdateProfileErrors, ProfileControllerUpdateProfileResponse, ProfileControllerUpdateProfileResponses, ProtectedResourceControllerMcpMetadataData, ProtectedResourceControllerMcpMetadataResponses, ProtectedResourceControllerRootMetadataData, ProtectedResourceControllerRootMetadataResponses, RankedProduct, RankedVariant, ReportDefinition, ReportFilter, ReportProduct, ReportResponse, ReportsControllerGetIndexData, ReportsControllerGetIndexError, ReportsControllerGetIndexErrors, ReportsControllerGetIndexResponse, ReportsControllerGetIndexResponses, ReportsControllerGetMostSavedProductsData, ReportsControllerGetMostSavedProductsError, ReportsControllerGetMostSavedProductsErrors, ReportsControllerGetMostSavedProductsResponse, ReportsControllerGetMostSavedProductsResponses, ReportsControllerGetMostSavedVariantsData, ReportsControllerGetMostSavedVariantsError, ReportsControllerGetMostSavedVariantsErrors, ReportsControllerGetMostSavedVariantsResponse, ReportsControllerGetMostSavedVariantsResponses, ReportVariant, ReportVariantProduct, ResolveTool, Response, SaveEventMetadata, SaveSharedList, SessionEventMetadata, SetItemLists, SetListItemsOrder, Setup, SetupControllerCreateData, SetupControllerCreateError, SetupControllerCreateErrors, SetupControllerCreateResponse, SetupControllerCreateResponses, SetupControllerDeleteData, SetupControllerDeleteError, SetupControllerDeleteErrors, SetupControllerDeleteResponse, SetupControllerDeleteResponses, SetupControllerGetData, SetupControllerGetError, SetupControllerGetErrors, SetupControllerGetResponse, SetupControllerGetResponses, SetupControllerGetStateData, SetupControllerGetStateError, SetupControllerGetStateErrors, SetupControllerGetStateResponse, SetupControllerGetStateResponses, SetupControllerListData, SetupControllerListError, SetupControllerListErrors, SetupControllerListResponse, SetupControllerListResponses, SetupControllerPatchStateData, SetupControllerPatchStateError, SetupControllerPatchStateErrors, SetupControllerPatchStateResponse, SetupControllerPatchStateResponses, SetupControllerUpdateData, SetupControllerUpdateError, SetupControllerUpdateErrors, SetupControllerUpdateResponse, SetupControllerUpdateResponses, SetupDetail, SetupOptions, SetupState, SetupStep, SharedListsControllerDeleteByIdData, SharedListsControllerDeleteByIdError, SharedListsControllerDeleteByIdErrors, SharedListsControllerDeleteByIdResponse, SharedListsControllerDeleteByIdResponses, SharedListsControllerFindAllData, SharedListsControllerFindAllError, SharedListsControllerFindAllErrors, SharedListsControllerFindAllResponse, SharedListsControllerFindAllResponses, SharedListsControllerFindByIdData, SharedListsControllerFindByIdError, SharedListsControllerFindByIdErrors, SharedListsControllerFindByIdResponse, SharedListsControllerFindByIdResponses, SharedListsControllerFindItemsData, SharedListsControllerFindItemsError, SharedListsControllerFindItemsErrors, SharedListsControllerFindItemsResponse, SharedListsControllerFindItemsResponses, SharedListsControllerSaveData, SharedListsControllerSaveError, SharedListsControllerSaveErrors, SharedListsControllerSaveResponse, SharedListsControllerSaveResponses, SmartListsControllerFindAllData, SmartListsControllerFindAllError, SmartListsControllerFindAllErrors, SmartListsControllerFindAllResponse, SmartListsControllerFindAllResponses, SmartListsControllerFindByIdData, SmartListsControllerFindByIdError, SmartListsControllerFindByIdErrors, SmartListsControllerFindByIdResponse, SmartListsControllerFindByIdResponses, SmartListsControllerFindItemsData, SmartListsControllerFindItemsError, SmartListsControllerFindItemsErrors, SmartListsControllerFindItemsResponse, SmartListsControllerFindItemsResponses, SmartListsControllerRemoveItemData, SmartListsControllerRemoveItemError, SmartListsControllerRemoveItemErrors, SmartListsControllerRemoveItemResponse, SmartListsControllerRemoveItemResponses, StorefrontImage, StorefrontProduct, StorefrontProductVariant, Subscription, SubscriptionQuery, SubscriptionsControllerCreateData, SubscriptionsControllerCreateError, SubscriptionsControllerCreateErrors, SubscriptionsControllerCreateResponse, SubscriptionsControllerCreateResponses, SubscriptionsControllerDeleteData, SubscriptionsControllerDeleteError, SubscriptionsControllerDeleteErrors, SubscriptionsControllerDeleteResponse, SubscriptionsControllerDeleteResponses, SubscriptionsControllerFindByIdData, SubscriptionsControllerFindByIdError, SubscriptionsControllerFindByIdErrors, SubscriptionsControllerFindByIdResponse, SubscriptionsControllerFindByIdResponses, SubscriptionsControllerFindData, SubscriptionsControllerFindError, SubscriptionsControllerFindErrors, SubscriptionsControllerFindResponse, SubscriptionsControllerFindResponses, SubscriptionsControllerUpdateData, SubscriptionsControllerUpdateError, SubscriptionsControllerUpdateErrors, SubscriptionsControllerUpdateResponse, SubscriptionsControllerUpdateResponses, ThemeDetail, ThemeInfo, ThemeListItem, ThemesControllerFindAllData, ThemesControllerFindAllError, ThemesControllerFindAllErrors, ThemesControllerFindAllResponse, ThemesControllerFindAllResponses, ThemesControllerFindByIdData, ThemesControllerFindByIdError, ThemesControllerFindByIdErrors, ThemesControllerFindByIdResponse, ThemesControllerFindByIdResponses, ThemesControllerFindLiveData, ThemesControllerFindLiveError, ThemesControllerFindLiveErrors, ThemesControllerFindLiveResponse, ThemesControllerFindLiveResponses, TrackingControllerCollectData, TrackingControllerCollectError, TrackingControllerCollectErrors, TrackingControllerCollectResponse, TrackingControllerCollectResponses, TrackingEventItem, TrackingEventRequest, TrackingInfo, UpdateItem, UpdateList, UpdateProfile, UpdateSetup, UpdateSetupState, UpdateSubscription, UpsertOnboardingChecklistStep } from './types.gen';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type { AdminAnalyticsControllerGetDimensionsData, AdminAnalyticsControllerGetDimensionsErrors, AdminAnalyticsControllerGetDimensionsResponses, AdminAnalyticsControllerGetMetricsData, AdminAnalyticsControllerGetMetricsErrors, AdminAnalyticsControllerGetMetricsResponses, AdminAnalyticsControllerGetSummaryData, AdminAnalyticsControllerGetSummaryErrors, AdminAnalyticsControllerGetSummaryResponses, AdminEventsControllerFindEventsData, AdminEventsControllerFindEventsErrors, AdminEventsControllerFindEventsResponses, AdminTokensControllerCreateData, AdminTokensControllerCreateErrors, AdminTokensControllerCreateResponses, AdminTokensControllerFindAllData, AdminTokensControllerFindAllErrors, AdminTokensControllerFindAllResponses, AdminTokensControllerRevokeData, AdminTokensControllerRevokeErrors, AdminTokensControllerRevokeResponses, AiSetupControllerResolveToolData, AiSetupControllerResolveToolResponses, AiSetupControllerStepData, AiSetupControllerStepResponses, CustomerItemsControllerCountData, CustomerItemsControllerCountErrors, CustomerItemsControllerCountResponses, CustomerItemsControllerCreateData, CustomerItemsControllerCreateErrors, CustomerItemsControllerCreateResponses, CustomerItemsControllerDeleteByIdData, CustomerItemsControllerDeleteByIdErrors, CustomerItemsControllerDeleteByIdResponses, CustomerItemsControllerDeleteManyData, CustomerItemsControllerDeleteManyErrors, CustomerItemsControllerDeleteManyResponses, CustomerItemsControllerFindAllData, CustomerItemsControllerFindAllErrors, CustomerItemsControllerFindAllResponses, CustomerItemsControllerFindByIdData, CustomerItemsControllerFindByIdErrors, CustomerItemsControllerFindByIdResponses, CustomerItemsControllerSetListsData, CustomerItemsControllerSetListsErrors, CustomerItemsControllerSetListsResponses, CustomerItemsControllerUpdateData, CustomerItemsControllerUpdateErrors, CustomerItemsControllerUpdateResponses, CustomerListsControllerAddItemsData, CustomerListsControllerAddItemsErrors, CustomerListsControllerAddItemsResponses, CustomerListsControllerCreateData, CustomerListsControllerCreateErrors, CustomerListsControllerCreateResponses, CustomerListsControllerDeleteByIdData, CustomerListsControllerDeleteByIdErrors, CustomerListsControllerDeleteByIdResponses, CustomerListsControllerFindAllData, CustomerListsControllerFindAllErrors, CustomerListsControllerFindAllResponses, CustomerListsControllerFindByIdData, CustomerListsControllerFindByIdErrors, CustomerListsControllerFindByIdResponses, CustomerListsControllerFindItemsData, CustomerListsControllerFindItemsErrors, CustomerListsControllerFindItemsResponses, CustomerListsControllerRemoveItemData, CustomerListsControllerRemoveItemErrors, CustomerListsControllerRemoveItemResponses, CustomerListsControllerSetItemsOrderData, CustomerListsControllerSetItemsOrderErrors, CustomerListsControllerSetItemsOrderResponses, CustomerListsControllerUpdateData, CustomerListsControllerUpdateErrors, CustomerListsControllerUpdateResponses, CustomersControllerFindAllData, CustomersControllerFindAllErrors, CustomersControllerFindAllResponses, CustomersControllerFindByIdData, CustomersControllerFindByIdErrors, CustomersControllerFindByIdResponses, CustomerSmartListsControllerFindAllData, CustomerSmartListsControllerFindAllErrors, CustomerSmartListsControllerFindAllResponses, CustomerSmartListsControllerFindByIdData, CustomerSmartListsControllerFindByIdErrors, CustomerSmartListsControllerFindByIdResponses, CustomerSmartListsControllerFindItemsData, CustomerSmartListsControllerFindItemsErrors, CustomerSmartListsControllerFindItemsResponses, FlowControllerAddItemData, FlowControllerAddItemResponses, FlowControllerCreateListData, FlowControllerCreateListResponses, FlowControllerDeleteListData, FlowControllerDeleteListResponses, FlowControllerRemoveItemData, FlowControllerRemoveItemResponses, IntegrationsControllerConnectData, IntegrationsControllerConnectErrors, IntegrationsControllerConnectResponses, IntegrationsControllerDisconnectData, IntegrationsControllerDisconnectErrors, IntegrationsControllerDisconnectResponses, IntegrationsControllerFindAllData, IntegrationsControllerFindAllErrors, IntegrationsControllerFindAllResponses, IntegrationsControllerFindByIdData, IntegrationsControllerFindByIdErrors, IntegrationsControllerFindByIdResponses, IntegrationsControllerGetConnectionData, IntegrationsControllerGetConnectionErrors, IntegrationsControllerGetConnectionResponses, IntegrationsControllerUpdateData, IntegrationsControllerUpdateErrors, IntegrationsControllerUpdateResponses, ItemControllerCountData, ItemControllerCountErrors, ItemControllerCountResponses, ItemControllerCreateData, ItemControllerCreateErrors, ItemControllerCreateResponses, ItemControllerDeleteByIdData, ItemControllerDeleteByIdErrors, ItemControllerDeleteByIdResponses, ItemControllerDeleteData, ItemControllerDeleteErrors, ItemControllerDeleteResponses, ItemControllerFindByIdData, ItemControllerFindByIdErrors, ItemControllerFindByIdResponses, ItemControllerFindData, ItemControllerFindErrors, ItemControllerFindResponses, ItemControllerSetListsByIdData, ItemControllerSetListsByIdErrors, ItemControllerSetListsByIdResponses, ItemControllerUpdateByIdData, ItemControllerUpdateByIdErrors, ItemControllerUpdateByIdResponses, ListControllerAddItemsToListData, ListControllerAddItemsToListErrors, ListControllerAddItemsToListResponses, ListControllerCreateData, ListControllerCreateErrors, ListControllerCreateResponses, ListControllerDeleteByIdData, ListControllerDeleteByIdErrors, ListControllerDeleteByIdResponses, ListControllerFindByIdData, ListControllerFindByIdErrors, ListControllerFindByIdResponses, ListControllerFindData, ListControllerFindErrors, ListControllerFindResponses, ListControllerRemoveItemFromListData, ListControllerRemoveItemFromListErrors, ListControllerRemoveItemFromListResponses, ListControllerSetListItemsOrderData, ListControllerSetListItemsOrderErrors, ListControllerSetListItemsOrderResponses, ListControllerUpdateByIdData, ListControllerUpdateByIdErrors, ListControllerUpdateByIdResponses, McpControllerDeleteData, McpControllerDeleteResponses, McpControllerGetData, McpControllerGetResponses, McpControllerPostData, McpControllerPostResponses, NotificationsControllerDeleteByIdData, NotificationsControllerDeleteByIdErrors, NotificationsControllerDeleteByIdResponses, NotificationsControllerFindData, NotificationsControllerFindErrors, NotificationsControllerFindResponses, NotificationsControllerGetUnreadCountData, NotificationsControllerGetUnreadCountErrors, NotificationsControllerGetUnreadCountResponses, NotificationsControllerMarkAllAsReadData, NotificationsControllerMarkAllAsReadErrors, NotificationsControllerMarkAllAsReadResponses, NotificationsControllerMarkAsReadData, NotificationsControllerMarkAsReadErrors, NotificationsControllerMarkAsReadResponses, OAuthCallbackControllerHandleCallbackData, OAuthCallbackControllerHandleCallbackErrors, OnboardingChecklistsControllerDeleteData, OnboardingChecklistsControllerDeleteErrors, OnboardingChecklistsControllerDeleteResponses, OnboardingChecklistsControllerGetData, OnboardingChecklistsControllerGetErrors, OnboardingChecklistsControllerGetResponses, OnboardingChecklistsControllerListData, OnboardingChecklistsControllerListErrors, OnboardingChecklistsControllerListResponses, OnboardingChecklistsControllerUpsertStepData, OnboardingChecklistsControllerUpsertStepErrors, OnboardingChecklistsControllerUpsertStepResponses, OrdersControllerFindData, OrdersControllerFindErrors, OrdersControllerFindOneData, OrdersControllerFindOneErrors, OrdersControllerFindOneResponses, OrdersControllerFindResponses, ProductsControllerFindAllData, ProductsControllerFindAllErrors, ProductsControllerFindAllResponses, ProductsControllerFindByIdData, ProductsControllerFindByIdErrors, ProductsControllerFindByIdResponses, ProfileControllerCreateTokenData, ProfileControllerCreateTokenErrors, ProfileControllerCreateTokenResponses, ProfileControllerGetProfileData, ProfileControllerGetProfileErrors, ProfileControllerGetProfileResponses, ProfileControllerIdentifyData, ProfileControllerIdentifyErrors, ProfileControllerIdentifyResponses, ProfileControllerUpdateProfileData, ProfileControllerUpdateProfileErrors, ProfileControllerUpdateProfileResponses, ProtectedResourceControllerMcpMetadataData, ProtectedResourceControllerMcpMetadataResponses, ReportsControllerGetIndexData, ReportsControllerGetIndexErrors, ReportsControllerGetIndexResponses, ReportsControllerGetMostSavedProductsData, ReportsControllerGetMostSavedProductsErrors, ReportsControllerGetMostSavedProductsResponses, ReportsControllerGetMostSavedVariantsData, ReportsControllerGetMostSavedVariantsErrors, ReportsControllerGetMostSavedVariantsResponses, SetupControllerCreateData, SetupControllerCreateErrors, SetupControllerCreateResponses, SetupControllerDeleteData, SetupControllerDeleteErrors, SetupControllerDeleteResponses, SetupControllerGetData, SetupControllerGetErrors, SetupControllerGetResponses, SetupControllerGetStateData, SetupControllerGetStateErrors, SetupControllerGetStateResponses, SetupControllerListData, SetupControllerListErrors, SetupControllerListResponses, SetupControllerPatchStateData, SetupControllerPatchStateErrors, SetupControllerPatchStateResponses, SetupControllerUpdateData, SetupControllerUpdateErrors, SetupControllerUpdateResponses, SharedListsControllerDeleteByIdData, SharedListsControllerDeleteByIdErrors, SharedListsControllerDeleteByIdResponses, SharedListsControllerFindAllData, SharedListsControllerFindAllErrors, SharedListsControllerFindAllResponses, SharedListsControllerFindByIdData, SharedListsControllerFindByIdErrors, SharedListsControllerFindByIdResponses, SharedListsControllerFindItemsData, SharedListsControllerFindItemsErrors, SharedListsControllerFindItemsResponses, SharedListsControllerSaveData, SharedListsControllerSaveErrors, SharedListsControllerSaveResponses, SmartListsControllerFindAllData, SmartListsControllerFindAllErrors, SmartListsControllerFindAllResponses, SmartListsControllerFindByIdData, SmartListsControllerFindByIdErrors, SmartListsControllerFindByIdResponses, SmartListsControllerFindItemsData, SmartListsControllerFindItemsErrors, SmartListsControllerFindItemsResponses, SmartListsControllerRemoveItemData, SmartListsControllerRemoveItemErrors, SmartListsControllerRemoveItemResponses, SubscriptionsControllerCreateData, SubscriptionsControllerCreateErrors, SubscriptionsControllerCreateResponses, SubscriptionsControllerDeleteData, SubscriptionsControllerDeleteErrors, SubscriptionsControllerDeleteResponses, SubscriptionsControllerFindByIdData, SubscriptionsControllerFindByIdErrors, SubscriptionsControllerFindByIdResponses, SubscriptionsControllerFindData, SubscriptionsControllerFindErrors, SubscriptionsControllerFindResponses, SubscriptionsControllerUpdateData, SubscriptionsControllerUpdateErrors, SubscriptionsControllerUpdateResponses, ThemesControllerFindAllData, ThemesControllerFindAllErrors, ThemesControllerFindAllResponses, ThemesControllerFindByIdData, ThemesControllerFindByIdErrors, ThemesControllerFindByIdResponses, ThemesControllerFindLiveData, ThemesControllerFindLiveErrors, ThemesControllerFindLiveResponses, TrackingControllerCollectData, TrackingControllerCollectErrors, TrackingControllerCollectResponses } from './types.gen';
|
|
2
|
+
import type { AdminAnalyticsControllerGetDimensionsData, AdminAnalyticsControllerGetDimensionsErrors, AdminAnalyticsControllerGetDimensionsResponses, AdminAnalyticsControllerGetMetricsData, AdminAnalyticsControllerGetMetricsErrors, AdminAnalyticsControllerGetMetricsResponses, AdminAnalyticsControllerGetSummaryData, AdminAnalyticsControllerGetSummaryErrors, AdminAnalyticsControllerGetSummaryResponses, AdminEventsControllerFindEventsData, AdminEventsControllerFindEventsErrors, AdminEventsControllerFindEventsResponses, AdminTokensControllerCreateData, AdminTokensControllerCreateErrors, AdminTokensControllerCreateResponses, AdminTokensControllerFindAllData, AdminTokensControllerFindAllErrors, AdminTokensControllerFindAllResponses, AdminTokensControllerRevokeData, AdminTokensControllerRevokeErrors, AdminTokensControllerRevokeResponses, AiSetupControllerResolveToolData, AiSetupControllerResolveToolResponses, AiSetupControllerStepData, AiSetupControllerStepResponses, AuthorizationServerControllerBareData, AuthorizationServerControllerBareResponses, AuthorizationServerControllerSuffixedData, AuthorizationServerControllerSuffixedResponses, CustomerItemsControllerCountData, CustomerItemsControllerCountErrors, CustomerItemsControllerCountResponses, CustomerItemsControllerCreateData, CustomerItemsControllerCreateErrors, CustomerItemsControllerCreateResponses, CustomerItemsControllerDeleteByIdData, CustomerItemsControllerDeleteByIdErrors, CustomerItemsControllerDeleteByIdResponses, CustomerItemsControllerDeleteManyData, CustomerItemsControllerDeleteManyErrors, CustomerItemsControllerDeleteManyResponses, CustomerItemsControllerFindAllData, CustomerItemsControllerFindAllErrors, CustomerItemsControllerFindAllResponses, CustomerItemsControllerFindByIdData, CustomerItemsControllerFindByIdErrors, CustomerItemsControllerFindByIdResponses, CustomerItemsControllerSetListsData, CustomerItemsControllerSetListsErrors, CustomerItemsControllerSetListsResponses, CustomerItemsControllerUpdateData, CustomerItemsControllerUpdateErrors, CustomerItemsControllerUpdateResponses, CustomerListsControllerAddItemsData, CustomerListsControllerAddItemsErrors, CustomerListsControllerAddItemsResponses, CustomerListsControllerCreateData, CustomerListsControllerCreateErrors, CustomerListsControllerCreateResponses, CustomerListsControllerDeleteByIdData, CustomerListsControllerDeleteByIdErrors, CustomerListsControllerDeleteByIdResponses, CustomerListsControllerFindAllData, CustomerListsControllerFindAllErrors, CustomerListsControllerFindAllResponses, CustomerListsControllerFindByIdData, CustomerListsControllerFindByIdErrors, CustomerListsControllerFindByIdResponses, CustomerListsControllerFindItemsData, CustomerListsControllerFindItemsErrors, CustomerListsControllerFindItemsResponses, CustomerListsControllerRemoveItemData, CustomerListsControllerRemoveItemErrors, CustomerListsControllerRemoveItemResponses, CustomerListsControllerSetItemsOrderData, CustomerListsControllerSetItemsOrderErrors, CustomerListsControllerSetItemsOrderResponses, CustomerListsControllerUpdateData, CustomerListsControllerUpdateErrors, CustomerListsControllerUpdateResponses, CustomersControllerFindAllData, CustomersControllerFindAllErrors, CustomersControllerFindAllResponses, CustomersControllerFindByIdData, CustomersControllerFindByIdErrors, CustomersControllerFindByIdResponses, CustomerSmartListsControllerFindAllData, CustomerSmartListsControllerFindAllErrors, CustomerSmartListsControllerFindAllResponses, CustomerSmartListsControllerFindByIdData, CustomerSmartListsControllerFindByIdErrors, CustomerSmartListsControllerFindByIdResponses, CustomerSmartListsControllerFindItemsData, CustomerSmartListsControllerFindItemsErrors, CustomerSmartListsControllerFindItemsResponses, FlowControllerAddItemData, FlowControllerAddItemResponses, FlowControllerCreateListData, FlowControllerCreateListResponses, FlowControllerDeleteListData, FlowControllerDeleteListResponses, FlowControllerRemoveItemData, FlowControllerRemoveItemResponses, IntegrationsControllerConnectData, IntegrationsControllerConnectErrors, IntegrationsControllerConnectResponses, IntegrationsControllerDisconnectData, IntegrationsControllerDisconnectErrors, IntegrationsControllerDisconnectResponses, IntegrationsControllerFindAllData, IntegrationsControllerFindAllErrors, IntegrationsControllerFindAllResponses, IntegrationsControllerFindByIdData, IntegrationsControllerFindByIdErrors, IntegrationsControllerFindByIdResponses, IntegrationsControllerGetConnectionData, IntegrationsControllerGetConnectionErrors, IntegrationsControllerGetConnectionResponses, IntegrationsControllerUpdateData, IntegrationsControllerUpdateErrors, IntegrationsControllerUpdateResponses, ItemControllerCountData, ItemControllerCountErrors, ItemControllerCountResponses, ItemControllerCreateData, ItemControllerCreateErrors, ItemControllerCreateResponses, ItemControllerDeleteByIdData, ItemControllerDeleteByIdErrors, ItemControllerDeleteByIdResponses, ItemControllerDeleteData, ItemControllerDeleteErrors, ItemControllerDeleteResponses, ItemControllerFindByIdData, ItemControllerFindByIdErrors, ItemControllerFindByIdResponses, ItemControllerFindData, ItemControllerFindErrors, ItemControllerFindResponses, ItemControllerSetListsByIdData, ItemControllerSetListsByIdErrors, ItemControllerSetListsByIdResponses, ItemControllerUpdateByIdData, ItemControllerUpdateByIdErrors, ItemControllerUpdateByIdResponses, ListControllerAddItemsToListData, ListControllerAddItemsToListErrors, ListControllerAddItemsToListResponses, ListControllerCreateData, ListControllerCreateErrors, ListControllerCreateResponses, ListControllerDeleteByIdData, ListControllerDeleteByIdErrors, ListControllerDeleteByIdResponses, ListControllerFindByIdData, ListControllerFindByIdErrors, ListControllerFindByIdResponses, ListControllerFindData, ListControllerFindErrors, ListControllerFindResponses, ListControllerRemoveItemFromListData, ListControllerRemoveItemFromListErrors, ListControllerRemoveItemFromListResponses, ListControllerSetListItemsOrderData, ListControllerSetListItemsOrderErrors, ListControllerSetListItemsOrderResponses, ListControllerUpdateByIdData, ListControllerUpdateByIdErrors, ListControllerUpdateByIdResponses, McpControllerDeleteData, McpControllerDeleteResponses, McpControllerGetData, McpControllerGetResponses, McpControllerPostData, McpControllerPostResponses, NotificationsControllerDeleteByIdData, NotificationsControllerDeleteByIdErrors, NotificationsControllerDeleteByIdResponses, NotificationsControllerFindData, NotificationsControllerFindErrors, NotificationsControllerFindResponses, NotificationsControllerGetUnreadCountData, NotificationsControllerGetUnreadCountErrors, NotificationsControllerGetUnreadCountResponses, NotificationsControllerMarkAllAsReadData, NotificationsControllerMarkAllAsReadErrors, NotificationsControllerMarkAllAsReadResponses, NotificationsControllerMarkAsReadData, NotificationsControllerMarkAsReadErrors, NotificationsControllerMarkAsReadResponses, OAuthCallbackControllerHandleCallbackData, OAuthCallbackControllerHandleCallbackErrors, OnboardingChecklistsControllerDeleteData, OnboardingChecklistsControllerDeleteErrors, OnboardingChecklistsControllerDeleteResponses, OnboardingChecklistsControllerGetData, OnboardingChecklistsControllerGetErrors, OnboardingChecklistsControllerGetResponses, OnboardingChecklistsControllerListData, OnboardingChecklistsControllerListErrors, OnboardingChecklistsControllerListResponses, OnboardingChecklistsControllerUpsertStepData, OnboardingChecklistsControllerUpsertStepErrors, OnboardingChecklistsControllerUpsertStepResponses, OpenIdConfigurationControllerBareData, OpenIdConfigurationControllerBareResponses, OpenIdConfigurationControllerSuffixedData, OpenIdConfigurationControllerSuffixedResponses, OrdersControllerFindData, OrdersControllerFindErrors, OrdersControllerFindOneData, OrdersControllerFindOneErrors, OrdersControllerFindOneResponses, OrdersControllerFindResponses, ProductsControllerFindAllData, ProductsControllerFindAllErrors, ProductsControllerFindAllResponses, ProductsControllerFindByIdData, ProductsControllerFindByIdErrors, ProductsControllerFindByIdResponses, ProfileControllerCreateTokenData, ProfileControllerCreateTokenErrors, ProfileControllerCreateTokenResponses, ProfileControllerGetProfileData, ProfileControllerGetProfileErrors, ProfileControllerGetProfileResponses, ProfileControllerIdentifyData, ProfileControllerIdentifyErrors, ProfileControllerIdentifyResponses, ProfileControllerUpdateProfileData, ProfileControllerUpdateProfileErrors, ProfileControllerUpdateProfileResponses, ProtectedResourceControllerMcpMetadataData, ProtectedResourceControllerMcpMetadataResponses, ProtectedResourceControllerRootMetadataData, ProtectedResourceControllerRootMetadataResponses, ReportsControllerGetIndexData, ReportsControllerGetIndexErrors, ReportsControllerGetIndexResponses, ReportsControllerGetMostSavedProductsData, ReportsControllerGetMostSavedProductsErrors, ReportsControllerGetMostSavedProductsResponses, ReportsControllerGetMostSavedVariantsData, ReportsControllerGetMostSavedVariantsErrors, ReportsControllerGetMostSavedVariantsResponses, SetupControllerCreateData, SetupControllerCreateErrors, SetupControllerCreateResponses, SetupControllerDeleteData, SetupControllerDeleteErrors, SetupControllerDeleteResponses, SetupControllerGetData, SetupControllerGetErrors, SetupControllerGetResponses, SetupControllerGetStateData, SetupControllerGetStateErrors, SetupControllerGetStateResponses, SetupControllerListData, SetupControllerListErrors, SetupControllerListResponses, SetupControllerPatchStateData, SetupControllerPatchStateErrors, SetupControllerPatchStateResponses, SetupControllerUpdateData, SetupControllerUpdateErrors, SetupControllerUpdateResponses, SharedListsControllerDeleteByIdData, SharedListsControllerDeleteByIdErrors, SharedListsControllerDeleteByIdResponses, SharedListsControllerFindAllData, SharedListsControllerFindAllErrors, SharedListsControllerFindAllResponses, SharedListsControllerFindByIdData, SharedListsControllerFindByIdErrors, SharedListsControllerFindByIdResponses, SharedListsControllerFindItemsData, SharedListsControllerFindItemsErrors, SharedListsControllerFindItemsResponses, SharedListsControllerSaveData, SharedListsControllerSaveErrors, SharedListsControllerSaveResponses, SmartListsControllerFindAllData, SmartListsControllerFindAllErrors, SmartListsControllerFindAllResponses, SmartListsControllerFindByIdData, SmartListsControllerFindByIdErrors, SmartListsControllerFindByIdResponses, SmartListsControllerFindItemsData, SmartListsControllerFindItemsErrors, SmartListsControllerFindItemsResponses, SmartListsControllerRemoveItemData, SmartListsControllerRemoveItemErrors, SmartListsControllerRemoveItemResponses, SubscriptionsControllerCreateData, SubscriptionsControllerCreateErrors, SubscriptionsControllerCreateResponses, SubscriptionsControllerDeleteData, SubscriptionsControllerDeleteErrors, SubscriptionsControllerDeleteResponses, SubscriptionsControllerFindByIdData, SubscriptionsControllerFindByIdErrors, SubscriptionsControllerFindByIdResponses, SubscriptionsControllerFindData, SubscriptionsControllerFindErrors, SubscriptionsControllerFindResponses, SubscriptionsControllerUpdateData, SubscriptionsControllerUpdateErrors, SubscriptionsControllerUpdateResponses, ThemesControllerFindAllData, ThemesControllerFindAllErrors, ThemesControllerFindAllResponses, ThemesControllerFindByIdData, ThemesControllerFindByIdErrors, ThemesControllerFindByIdResponses, ThemesControllerFindLiveData, ThemesControllerFindLiveErrors, ThemesControllerFindLiveResponses, TrackingControllerCollectData, TrackingControllerCollectErrors, TrackingControllerCollectResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -597,6 +597,11 @@ export declare const mcpControllerDelete: <ThrowOnError extends boolean = false>
|
|
|
597
597
|
export declare const mcpControllerGet: <ThrowOnError extends boolean = false>(options?: Options<McpControllerGetData, ThrowOnError>) => import("./client").RequestResult<McpControllerGetResponses, unknown, ThrowOnError, "fields">;
|
|
598
598
|
export declare const mcpControllerPost: <ThrowOnError extends boolean = false>(options?: Options<McpControllerPostData, ThrowOnError>) => import("./client").RequestResult<McpControllerPostResponses, unknown, ThrowOnError, "fields">;
|
|
599
599
|
export declare const protectedResourceControllerMcpMetadata: <ThrowOnError extends boolean = false>(options?: Options<ProtectedResourceControllerMcpMetadataData, ThrowOnError>) => import("./client").RequestResult<ProtectedResourceControllerMcpMetadataResponses, unknown, ThrowOnError, "fields">;
|
|
600
|
+
export declare const protectedResourceControllerRootMetadata: <ThrowOnError extends boolean = false>(options?: Options<ProtectedResourceControllerRootMetadataData, ThrowOnError>) => import("./client").RequestResult<ProtectedResourceControllerRootMetadataResponses, unknown, ThrowOnError, "fields">;
|
|
601
|
+
export declare const authorizationServerControllerBare: <ThrowOnError extends boolean = false>(options?: Options<AuthorizationServerControllerBareData, ThrowOnError>) => import("./client").RequestResult<AuthorizationServerControllerBareResponses, unknown, ThrowOnError, "fields">;
|
|
602
|
+
export declare const authorizationServerControllerSuffixed: <ThrowOnError extends boolean = false>(options?: Options<AuthorizationServerControllerSuffixedData, ThrowOnError>) => import("./client").RequestResult<AuthorizationServerControllerSuffixedResponses, unknown, ThrowOnError, "fields">;
|
|
603
|
+
export declare const openIdConfigurationControllerBare: <ThrowOnError extends boolean = false>(options?: Options<OpenIdConfigurationControllerBareData, ThrowOnError>) => import("./client").RequestResult<OpenIdConfigurationControllerBareResponses, unknown, ThrowOnError, "fields">;
|
|
604
|
+
export declare const openIdConfigurationControllerSuffixed: <ThrowOnError extends boolean = false>(options?: Options<OpenIdConfigurationControllerSuffixedData, ThrowOnError>) => import("./client").RequestResult<OpenIdConfigurationControllerSuffixedResponses, unknown, ThrowOnError, "fields">;
|
|
600
605
|
/**
|
|
601
606
|
* Create a customer wishlist
|
|
602
607
|
*
|
|
@@ -10029,6 +10029,51 @@ export type ProtectedResourceControllerMcpMetadataData = {
|
|
|
10029
10029
|
export type ProtectedResourceControllerMcpMetadataResponses = {
|
|
10030
10030
|
200: unknown;
|
|
10031
10031
|
};
|
|
10032
|
+
export type ProtectedResourceControllerRootMetadataData = {
|
|
10033
|
+
body?: never;
|
|
10034
|
+
path?: never;
|
|
10035
|
+
query?: never;
|
|
10036
|
+
url: '/.well-known/oauth-protected-resource';
|
|
10037
|
+
};
|
|
10038
|
+
export type ProtectedResourceControllerRootMetadataResponses = {
|
|
10039
|
+
200: unknown;
|
|
10040
|
+
};
|
|
10041
|
+
export type AuthorizationServerControllerBareData = {
|
|
10042
|
+
body?: never;
|
|
10043
|
+
path?: never;
|
|
10044
|
+
query?: never;
|
|
10045
|
+
url: '/.well-known/oauth-authorization-server';
|
|
10046
|
+
};
|
|
10047
|
+
export type AuthorizationServerControllerBareResponses = {
|
|
10048
|
+
200: unknown;
|
|
10049
|
+
};
|
|
10050
|
+
export type AuthorizationServerControllerSuffixedData = {
|
|
10051
|
+
body?: never;
|
|
10052
|
+
path?: never;
|
|
10053
|
+
query?: never;
|
|
10054
|
+
url: '/.well-known/oauth-authorization-server/admin/mcp';
|
|
10055
|
+
};
|
|
10056
|
+
export type AuthorizationServerControllerSuffixedResponses = {
|
|
10057
|
+
200: unknown;
|
|
10058
|
+
};
|
|
10059
|
+
export type OpenIdConfigurationControllerBareData = {
|
|
10060
|
+
body?: never;
|
|
10061
|
+
path?: never;
|
|
10062
|
+
query?: never;
|
|
10063
|
+
url: '/.well-known/openid-configuration';
|
|
10064
|
+
};
|
|
10065
|
+
export type OpenIdConfigurationControllerBareResponses = {
|
|
10066
|
+
200: unknown;
|
|
10067
|
+
};
|
|
10068
|
+
export type OpenIdConfigurationControllerSuffixedData = {
|
|
10069
|
+
body?: never;
|
|
10070
|
+
path?: never;
|
|
10071
|
+
query?: never;
|
|
10072
|
+
url: '/.well-known/openid-configuration/admin/mcp';
|
|
10073
|
+
};
|
|
10074
|
+
export type OpenIdConfigurationControllerSuffixedResponses = {
|
|
10075
|
+
200: unknown;
|
|
10076
|
+
};
|
|
10032
10077
|
export type FlowControllerCreateListData = {
|
|
10033
10078
|
body: FlowCreateList;
|
|
10034
10079
|
path?: never;
|
package/package.json
CHANGED