@aifeatures/backend 0.13.0 → 0.15.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/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";var F=Object.defineProperty;var Fs=Object.getOwnPropertyDescriptor;var Ws=Object.getOwnPropertyNames;var Ms=Object.prototype.hasOwnProperty;var Vs=(e,r)=>{for(var s in r)F(e,s,{get:r[s],enumerable:!0})},js=(e,r,s,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ws(r))!Ms.call(e,n)&&n!==s&&F(e,n,{get:()=>r[n],enumerable:!(o=Fs(r,n))||o.enumerable});return e};var zs=e=>js(F({},"__esModule",{value:!0}),e);var Ys={};Vs(Ys,{accountCancelSubscription:()=>Es,accountCreatePortalSession:()=>Ss,accountLogin:()=>ps,accountLogout:()=>us,accountManageCancel:()=>Os,accountManageGetSubscription:()=>vs,accountManagePortalSession:()=>ws,accountManageVerify:()=>ms,accountMe:()=>ds,accountReactivateSubscription:()=>Rs,accountSubscribe:()=>hs,accountUpdateSubscriptionAddress:()=>ys,accountVerify:()=>ls,actOnManageLink:()=>Ds,adjustVariantInventory:()=>Ce,attachProductFile:()=>ue,cancelRetainer:()=>Kt,cancelSubscription:()=>wt,createAnalyticsFunnel:()=>St,createAnalyticsGoal:()=>ht,createCartCheckout:()=>ss,createCheckout:()=>rs,createClient:()=>G,createConfig:()=>b,createCustomer:()=>ke,createEventDestination:()=>Vr,createEventDestinationWithSiteToken:()=>Qr,createForm:()=>Gr,createFormWithSiteToken:()=>mr,createInvoice:()=>gt,createMultiItemTestOrder:()=>Re,createOption:()=>we,createPreviewSession:()=>bt,createProduct:()=>ie,createProductReview:()=>fs,createProductWithSiteToken:()=>ne,createPromo:()=>ar,createPromoForSite:()=>ur,createRetainer:()=>Nt,createSite:()=>Or,createTestOrder:()=>he,createTestSubscription:()=>Ee,createVariant:()=>ye,deleteAnalyticsFunnel:()=>mt,deleteAnalyticsGoal:()=>Et,deleteEventDestination:()=>jr,deleteEventDestinationWithSiteToken:()=>_r,deleteForm:()=>xr,deleteOption:()=>Te,deleteProduct:()=>ce,deleteSite:()=>wr,deleteSubmission:()=>Lr,deleteVariant:()=>ve,disablePromo:()=>cr,disablePromoForSite:()=>hr,downloadAttachment:()=>Wr,downloadFile:()=>as,editProductReview:()=>Ps,eraseCustomerReviews:()=>sr,generateVariants:()=>me,getAccountReviews:()=>gs,getAnalyticsBrowsers:()=>it,getAnalyticsCampaigns:()=>Qe,getAnalyticsChannels:()=>pt,getAnalyticsCities:()=>nt,getAnalyticsConversions:()=>lt,getAnalyticsCountries:()=>st,getAnalyticsDevices:()=>at,getAnalyticsEntryPages:()=>tt,getAnalyticsExitPages:()=>rt,getAnalyticsFunnelReport:()=>ut,getAnalyticsOperatingSystems:()=>ct,getAnalyticsPages:()=>et,getAnalyticsRealtime:()=>He,getAnalyticsRegions:()=>ot,getAnalyticsSources:()=>Je,getAnalyticsStatus:()=>Be,getAnalyticsSummary:()=>Ne,getAnalyticsTimeseries:()=>$e,getAnalyticsUtmCampaign:()=>Xe,getAnalyticsUtmContent:()=>Ye,getAnalyticsUtmMedium:()=>_e,getAnalyticsUtmSource:()=>Ke,getAnalyticsUtmTerm:()=>Ze,getBusinessSummary:()=>We,getCartSummary:()=>os,getConsentConfigWithSiteToken:()=>Rr,getCustomer:()=>Ue,getEventDestination:()=>zr,getEventDestinationSecret:()=>Nr,getEventDestinationSecretWithSiteToken:()=>Yr,getForm:()=>Ir,getGeo:()=>is,getInvoice:()=>At,getInvoicePreview:()=>Pt,getInvoiceSettings:()=>jt,getInvoiceSettingsWithSiteToken:()=>Vt,getMerchantReview:()=>Yt,getNextPayout:()=>ze,getOrder:()=>Ae,getOrderSession:()=>ns,getOwnProductReview:()=>As,getPaymentsStatus:()=>se,getPerson:()=>je,getProduct:()=>pe,getProductReviewAvailability:()=>Cs,getProductReviews:()=>bs,getPromo:()=>ir,getPromoForSite:()=>dr,getPublicConsentPrefs:()=>cs,getPublicProduct:()=>ts,getRetainer:()=>$t,getReviewSettings:()=>tr,getSalesSummary:()=>Me,getSite:()=>Tr,getSiteAnalytics:()=>Ar,getSiteCheckoutPause:()=>br,getSubmission:()=>Fr,listAnalyticsFunnels:()=>yt,listAnalyticsGoals:()=>dt,listCustomers:()=>Ie,listEventDeliveries:()=>$r,listEventDeliveriesWithSiteToken:()=>Zr,listEventDestinations:()=>Mr,listEventDestinationsWithSiteToken:()=>Jr,listForms:()=>Pr,listFormsWithSiteToken:()=>Sr,listInvoices:()=>Ct,listMerchantReviews:()=>Xt,listOrdersWithSiteToken:()=>ge,listPeople:()=>Ve,listProducts:()=>ae,listProductsWithSiteToken:()=>oe,listPromos:()=>nr,listPromosForSite:()=>lr,listRetainers:()=>Bt,listSites:()=>vr,listSubmissions:()=>Ur,listSubscriptions:()=>Ot,markInvoicePaid:()=>Lt,markInvoiceUncollectible:()=>Ft,moderateMerchantReview:()=>Zt,pauseRetainer:()=>Qt,pauseSiteCheckout:()=>Cr,previewInvoice:()=>ft,purgeSiteReviews:()=>or,reactivateSiteSubscriptionsTeardown:()=>Dt,refundOrder:()=>fe,remindInvoice:()=>It,replacePromo:()=>pr,replacePromoForSite:()=>Er,replyToMerchantReview:()=>er,resendInvoice:()=>xt,resendOrderReceipt:()=>Pe,resetOrderDownloads:()=>Ge,resetWebhookEvent:()=>xe,resolveManageLink:()=>Ts,resubmitProductReview:()=>xs,resumeRetainer:()=>_t,retryEventDelivery:()=>Hr,retryEventDeliveryWithSiteToken:()=>es,revokeCustomerAccess:()=>Fe,rotateEventDestinationSecret:()=>Br,rotateEventDestinationSecretWithSiteToken:()=>Xr,setInvoiceReminders:()=>Ut,setOrderFulfillment:()=>qe,setProductSubscription:()=>de,setProductVariants:()=>Se,setVariantInventory:()=>be,skipNextRetainerCycle:()=>Jt,snoozeInvoice:()=>kt,teardownSiteSubscriptions:()=>Tt,updateAnalyticsFunnel:()=>vt,updateAnalyticsGoal:()=>Rt,updateCustomer:()=>Le,updateCustomerBilling:()=>Mt,updateEventDestination:()=>qr,updateEventDestinationWithSiteToken:()=>Kr,updateForm:()=>kr,updateInvoiceRecipient:()=>Wt,updateInvoiceSettings:()=>zt,updateOption:()=>De,updateProduct:()=>le,updateRetainer:()=>Ht,updateReviewSettings:()=>rr,updateSite:()=>Dr,updateSiteAccountRoute:()=>re,updateSiteAnalytics:()=>fr,updateSiteDomains:()=>gr,updateSiteInvoicing:()=>qt,updateSitePayments:()=>te,updateVariant:()=>Oe,upsertConsentConfigWithSiteToken:()=>yr,voidInvoice:()=>Gt,withdrawProductReview:()=>Gs});module.exports=zs(Ys);var H=(e,r,s)=>{typeof s=="string"?e.append(r,s):e.append(r,JSON.stringify(s))};var W={bodySerializer:e=>JSON.stringify(e,(r,s)=>typeof s=="bigint"?s.toString():s)},M={bodySerializer:e=>{let r=new URLSearchParams;return Object.entries(e).forEach(([s,o])=>{o!=null&&(Array.isArray(o)?o.forEach(n=>H(r,s,n)):H(r,s,o))}),r.toString()}};var qs={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},to=Object.entries(qs);var J=({onRequest:e,onSseError:r,onSseEvent:s,responseTransformer:o,responseValidator:n,sseDefaultRetryDelay:l,sseMaxRetryAttempts:c,sseMaxRetryDelay:i,sseSleepFn:p,url:d,...a})=>{let R,g=p??(u=>new Promise(y=>setTimeout(y,u)));return{stream:async function*(){let u=l??3e3,y=0,w=a.signal??new AbortController().signal;for(;!w.aborted;){y++;let A=a.headers instanceof Headers?a.headers:new Headers(a.headers);R!==void 0&&A.set("Last-Event-ID",R);try{let T={redirect:"follow",...a,body:a.serializedBody,headers:A,signal:w},O=new Request(d,T);e&&(O=await e(d,T));let E=await(a.fetch??globalThis.fetch)(O);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let S=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",z=()=>{try{S.cancel()}catch{}};w.addEventListener("abort",z);try{for(;;){let{done:Is,value:ks}=await S.read();if(Is)break;f+=ks,f=f.replace(/\r\n/g,`
1
+ "use strict";var F=Object.defineProperty;var Ws=Object.getOwnPropertyDescriptor;var Ms=Object.getOwnPropertyNames;var Vs=Object.prototype.hasOwnProperty;var js=(e,r)=>{for(var s in r)F(e,s,{get:r[s],enumerable:!0})},zs=(e,r,s,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ms(r))!Vs.call(e,n)&&n!==s&&F(e,n,{get:()=>r[n],enumerable:!(o=Ws(r,n))||o.enumerable});return e};var qs=e=>zs(F({},"__esModule",{value:!0}),e);var Zs={};js(Zs,{accountCancelSubscription:()=>Rs,accountCreatePortalSession:()=>ms,accountLogin:()=>ls,accountLogout:()=>ds,accountManageCancel:()=>ws,accountManageGetSubscription:()=>Os,accountManagePortalSession:()=>Ts,accountManageVerify:()=>vs,accountMe:()=>hs,accountReactivateSubscription:()=>ys,accountSubscribe:()=>Es,accountUpdateSubscriptionAddress:()=>Ss,accountVerify:()=>us,actOnManageLink:()=>bs,adjustVariantInventory:()=>Ce,attachProductFile:()=>ue,cancelRetainer:()=>Xt,cancelSubscription:()=>Tt,createAnalyticsFunnel:()=>mt,createAnalyticsGoal:()=>Et,createCartCheckout:()=>os,createCheckout:()=>ss,createClient:()=>G,createConfig:()=>b,createCustomer:()=>ke,createEventDestination:()=>jr,createEventDestinationWithSiteToken:()=>_r,createForm:()=>xr,createFormWithSiteToken:()=>vr,createInvoice:()=>At,createMultiItemTestOrder:()=>Re,createOption:()=>we,createPreviewSession:()=>Ct,createProduct:()=>ie,createProductReview:()=>Ps,createProductWithSiteToken:()=>ne,createPromo:()=>ir,createPromoForSite:()=>dr,createRetainer:()=>$t,createSite:()=>wr,createTestOrder:()=>he,createTestSubscription:()=>Ee,createVariant:()=>ye,deleteAnalyticsFunnel:()=>vt,deleteAnalyticsGoal:()=>Rt,deleteEventDestination:()=>zr,deleteEventDestinationWithSiteToken:()=>Kr,deleteForm:()=>Ir,deleteOption:()=>Te,deleteProduct:()=>ce,deleteSite:()=>Tr,deleteSubmission:()=>Fr,deleteVariant:()=>ve,disablePromo:()=>pr,disablePromoForSite:()=>Er,downloadAttachment:()=>Mr,downloadFile:()=>is,editProductReview:()=>Gs,eraseCustomerReviews:()=>or,generateVariants:()=>me,getAccountReviews:()=>As,getAnalyticsBrowsers:()=>it,getAnalyticsCampaigns:()=>Qe,getAnalyticsChannels:()=>pt,getAnalyticsCities:()=>nt,getAnalyticsConversions:()=>ut,getAnalyticsCountries:()=>st,getAnalyticsDevices:()=>at,getAnalyticsEntryPages:()=>tt,getAnalyticsExitPages:()=>rt,getAnalyticsFunnelReport:()=>dt,getAnalyticsGoalTargets:()=>lt,getAnalyticsOperatingSystems:()=>ct,getAnalyticsPages:()=>et,getAnalyticsRealtime:()=>He,getAnalyticsRegions:()=>ot,getAnalyticsSources:()=>Je,getAnalyticsStatus:()=>Be,getAnalyticsSummary:()=>Ne,getAnalyticsTimeseries:()=>$e,getAnalyticsUtmCampaign:()=>Xe,getAnalyticsUtmContent:()=>Ye,getAnalyticsUtmMedium:()=>_e,getAnalyticsUtmSource:()=>Ke,getAnalyticsUtmTerm:()=>Ze,getBusinessSummary:()=>We,getCartSummary:()=>ns,getConsentConfigWithSiteToken:()=>yr,getCustomer:()=>Ue,getEventDestination:()=>qr,getEventDestinationSecret:()=>$r,getEventDestinationSecretWithSiteToken:()=>Zr,getForm:()=>kr,getGeo:()=>cs,getInvoice:()=>ft,getInvoicePreview:()=>Gt,getInvoiceSettings:()=>zt,getInvoiceSettingsWithSiteToken:()=>jt,getMerchantReview:()=>Zt,getNextPayout:()=>ze,getOrder:()=>Ae,getOrderSession:()=>as,getOwnProductReview:()=>fs,getPaymentsStatus:()=>se,getPerson:()=>je,getProduct:()=>pe,getProductReviewAvailability:()=>gs,getProductReviews:()=>Cs,getPromo:()=>cr,getPromoForSite:()=>hr,getPublicConsentPrefs:()=>ps,getPublicProduct:()=>rs,getRetainer:()=>Ht,getReviewSettings:()=>rr,getSalesSummary:()=>Me,getSite:()=>Dr,getSiteAnalytics:()=>fr,getSiteCheckoutPause:()=>Cr,getSubmission:()=>Wr,listAnalyticsFunnels:()=>St,listAnalyticsGoals:()=>ht,listCustomers:()=>Ie,listEventDeliveries:()=>Hr,listEventDeliveriesWithSiteToken:()=>es,listEventDestinations:()=>Vr,listEventDestinationsWithSiteToken:()=>Qr,listForms:()=>Gr,listFormsWithSiteToken:()=>mr,listInvoices:()=>gt,listMerchantReviews:()=>Yt,listOrdersWithSiteToken:()=>ge,listPeople:()=>Ve,listProducts:()=>ae,listProductsWithSiteToken:()=>oe,listPromos:()=>ar,listPromosForSite:()=>ur,listRetainers:()=>Nt,listSites:()=>Or,listSubmissions:()=>Lr,listSubscriptions:()=>wt,markInvoicePaid:()=>Ft,markInvoiceUncollectible:()=>Wt,moderateMerchantReview:()=>er,pauseRetainer:()=>_t,pauseSiteCheckout:()=>gr,previewInvoice:()=>Pt,purgeSiteReviews:()=>nr,reactivateSiteSubscriptionsTeardown:()=>bt,refundOrder:()=>fe,remindInvoice:()=>kt,replacePromo:()=>lr,replacePromoForSite:()=>Rr,replyToMerchantReview:()=>tr,resendInvoice:()=>It,resendOrderReceipt:()=>Pe,resetOrderDownloads:()=>Ge,resetWebhookEvent:()=>xe,resolveManageLink:()=>Ds,resubmitProductReview:()=>Is,resumeRetainer:()=>Kt,retryEventDelivery:()=>Jr,retryEventDeliveryWithSiteToken:()=>ts,revokeCustomerAccess:()=>Fe,rotateEventDestinationSecret:()=>Nr,rotateEventDestinationSecretWithSiteToken:()=>Yr,setInvoiceReminders:()=>Lt,setOrderFulfillment:()=>qe,setProductSubscription:()=>de,setProductVariants:()=>Se,setVariantInventory:()=>be,skipNextRetainerCycle:()=>Qt,snoozeInvoice:()=>Ut,teardownSiteSubscriptions:()=>Dt,updateAnalyticsFunnel:()=>Ot,updateAnalyticsGoal:()=>yt,updateCustomer:()=>Le,updateCustomerBilling:()=>Vt,updateEventDestination:()=>Br,updateEventDestinationWithSiteToken:()=>Xr,updateForm:()=>Ur,updateInvoiceRecipient:()=>Mt,updateInvoiceSettings:()=>qt,updateOption:()=>De,updateProduct:()=>le,updateRetainer:()=>Jt,updateReviewSettings:()=>sr,updateSite:()=>br,updateSiteAccountRoute:()=>re,updateSiteAnalytics:()=>Pr,updateSiteDomains:()=>Ar,updateSiteInvoicing:()=>Bt,updateSitePayments:()=>te,updateVariant:()=>Oe,upsertConsentConfigWithSiteToken:()=>Sr,voidInvoice:()=>xt,withdrawProductReview:()=>xs});module.exports=qs(Zs);var H=(e,r,s)=>{typeof s=="string"?e.append(r,s):e.append(r,JSON.stringify(s))};var W={bodySerializer:e=>JSON.stringify(e,(r,s)=>typeof s=="bigint"?s.toString():s)},M={bodySerializer:e=>{let r=new URLSearchParams;return Object.entries(e).forEach(([s,o])=>{o!=null&&(Array.isArray(o)?o.forEach(n=>H(r,s,n)):H(r,s,o))}),r.toString()}};var Bs={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},ro=Object.entries(Bs);var J=({onRequest:e,onSseError:r,onSseEvent:s,responseTransformer:o,responseValidator:n,sseDefaultRetryDelay:l,sseMaxRetryAttempts:c,sseMaxRetryDelay:i,sseSleepFn:p,url:d,...a})=>{let R,g=p??(u=>new Promise(y=>setTimeout(y,u)));return{stream:async function*(){let u=l??3e3,y=0,w=a.signal??new AbortController().signal;for(;!w.aborted;){y++;let A=a.headers instanceof Headers?a.headers:new Headers(a.headers);R!==void 0&&A.set("Last-Event-ID",R);try{let T={redirect:"follow",...a,body:a.serializedBody,headers:A,signal:w},O=new Request(d,T);e&&(O=await e(d,T));let E=await(a.fetch??globalThis.fetch)(O);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let S=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",z=()=>{try{S.cancel()}catch{}};w.addEventListener("abort",z);try{for(;;){let{done:ks,value:Us}=await S.read();if(ks)break;f+=Us,f=f.replace(/\r\n/g,`
2
2
  `).replace(/\r/g,`
3
3
  `);let q=f.split(`
4
4
 
5
- `);f=q.pop()??"";for(let Us of q){let Ls=Us.split(`
6
- `),I=[],B;for(let v of Ls)if(v.startsWith("data:"))I.push(v.replace(/^data:\s*/,""));else if(v.startsWith("event:"))B=v.replace(/^event:\s*/,"");else if(v.startsWith("id:"))R=v.replace(/^id:\s*/,"");else if(v.startsWith("retry:")){let $=Number.parseInt(v.replace(/^retry:\s*/,""),10);Number.isNaN($)||(u=$)}let D,N=!1;if(I.length){let v=I.join(`
7
- `);try{D=JSON.parse(v),N=!0}catch{D=v}}N&&(n&&await n(D),o&&(D=await o(D))),s?.({data:D,event:B,id:R,retry:u}),I.length&&(yield D)}}}finally{w.removeEventListener("abort",z),S.releaseLock()}break}catch(T){if(r?.(T),c!==void 0&&y>=c)break;let O=Math.min(u*2**(y-1),i??3e4);await g(O)}}}()}};var Bs=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Ns=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},$s=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},k=({allowReserved:e,explode:r,name:s,style:o,value:n})=>{if(!r){let i=(e?n:n.map(p=>encodeURIComponent(p))).join(Ns(o));switch(o){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let l=Bs(o),c=n.map(i=>o==="label"||o==="simple"?e?i:encodeURIComponent(i):C({allowReserved:e,name:s,value:i})).join(l);return o==="label"||o==="matrix"?l+c:c},C=({allowReserved:e,name:r,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?s:encodeURIComponent(s)}`},U=({allowReserved:e,explode:r,name:s,style:o,value:n,valueOnly:l})=>{if(n instanceof Date)return l?n.toISOString():`${s}=${n.toISOString()}`;if(o!=="deepObject"&&!r){let p=[];Object.entries(n).forEach(([a,R])=>{p=[...p,a,e?R:encodeURIComponent(R)]});let d=p.join(",");switch(o){case"form":return`${s}=${d}`;case"label":return`.${d}`;case"matrix":return`;${s}=${d}`;default:return d}}let c=$s(o),i=Object.entries(n).map(([p,d])=>C({allowReserved:e,name:o==="deepObject"?`${s}[${p}]`:p,value:d})).join(c);return o==="label"||o==="matrix"?c+i:i};var Hs=/\{[^{}]+\}/g,Js=({path:e,url:r})=>{let s=r,o=r.match(Hs);if(o)for(let n of o){let l=!1,c=n.substring(1,n.length-1),i="simple";c.endsWith("*")&&(l=!0,c=c.substring(0,c.length-1)),c.startsWith(".")?(c=c.substring(1),i="label"):c.startsWith(";")&&(c=c.substring(1),i="matrix");let p=e[c];if(p==null)continue;if(Array.isArray(p)){s=s.replace(n,k({explode:l,name:c,style:i,value:p}));continue}if(typeof p=="object"){s=s.replace(n,U({explode:l,name:c,style:i,value:p,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(n,`;${C({name:c,value:p})}`);continue}let d=encodeURIComponent(i==="label"?`.${p}`:p);s=s.replace(n,d)}return s},Q=({baseUrl:e,path:r,query:s,querySerializer:o,url:n})=>{let l=n.startsWith("/")?n:`/${n}`,c=(e??"")+l;r&&(c=Js({path:r,url:c}));let i=s?o(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(c+=`?${i}`),c};function _(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}var K=async(e,r)=>{let s=typeof r=="function"?await r(e):r;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var X=({parameters:e={},...r}={})=>o=>{let n=[];if(o&&typeof o=="object")for(let l in o){let c=o[l];if(c==null)continue;let i=e[l]||r;if(Array.isArray(c)){let p=k({allowReserved:i.allowReserved,explode:!0,name:l,style:"form",value:c,...i.array});p&&n.push(p)}else if(typeof c=="object"){let p=U({allowReserved:i.allowReserved,explode:!0,name:l,style:"deepObject",value:c,...i.object});p&&n.push(p)}else{let p=C({allowReserved:i.allowReserved,name:l,value:c});p&&n.push(p)}}return n.join("&")},Y=e=>{if(!e)return"stream";let r=e.split(";")[0]?.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(s=>r.startsWith(s)))return"blob";if(r.startsWith("text/"))return"text"}},Qs=(e,r)=>r?!!(e.headers.has(r)||e.query?.[r]||e.headers.get("Cookie")?.includes(`${r}=`)):!1,Z=async({security:e,...r})=>{for(let s of e){if(Qs(r,s.name))continue;let o=await K(s,r.auth);if(!o)continue;let n=s.name??"Authorization";switch(s.in){case"query":r.query||(r.query={}),r.query[n]=o;break;case"cookie":r.headers.append("Cookie",`${n}=${o}`);break;case"header":default:r.headers.set(n,o);break}}},V=e=>Q({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:X(e.querySerializer),url:e.url}),j=(e,r)=>{let s={...e,...r};return s.baseUrl?.endsWith("/")&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=L(e.headers,r.headers),s},_s=e=>{let r=[];return e.forEach((s,o)=>{r.push([o,s])}),r},L=(...e)=>{let r=new Headers;for(let s of e){if(!s)continue;let o=s instanceof Headers?_s(s):Object.entries(s);for(let[n,l]of o)if(l===null)r.delete(n);else if(Array.isArray(l))for(let c of l)r.append(n,c);else l!==void 0&&r.set(n,typeof l=="object"?JSON.stringify(l):l)}return r},P=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let s=this.getInterceptorIndex(r);this.fns[s]&&(this.fns[s]=null)}exists(r){let s=this.getInterceptorIndex(r);return!!this.fns[s]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,s){let o=this.getInterceptorIndex(r);return this.fns[o]?(this.fns[o]=s,r):!1}use(r){return this.fns.push(r),this.fns.length-1}},ee=()=>({error:new P,request:new P,response:new P}),Ks=X({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Xs={"Content-Type":"application/json"},b=(e={})=>({...W,headers:Xs,parseAs:"auto",querySerializer:Ks,...e});var G=(e={})=>{let r=j(b(),e),s=()=>({...r}),o=d=>(r=j(r,d),s()),n=ee(),l=async d=>{let a={...r,...d,fetch:d.fetch??r.fetch??globalThis.fetch,headers:L(r.headers,d.headers),serializedBody:void 0};a.security&&await Z({...a,security:a.security}),a.requestValidator&&await a.requestValidator(a),a.body!==void 0&&a.bodySerializer&&(a.serializedBody=a.bodySerializer(a.body)),(a.body===void 0||a.serializedBody==="")&&a.headers.delete("Content-Type");let R=V(a);return{opts:a,url:R}},c=async d=>{let{opts:a,url:R}=await l(d),g={redirect:"follow",...a,body:_(a)},m=new Request(R,g);for(let h of n.request.fns)h&&(m=await h(m,a));let x=a.fetch,u;try{u=await x(m)}catch(h){let E=h;for(let S of n.error.fns)S&&(E=await S(h,void 0,m,a));if(E=E||{},a.throwOnError)throw E;return a.responseStyle==="data"?void 0:{error:E,request:m,response:void 0}}for(let h of n.response.fns)h&&(u=await h(u,m,a));let y={request:m,response:u};if(u.ok){let h=(a.parseAs==="auto"?Y(u.headers.get("Content-Type")):a.parseAs)??"json";if(u.status===204||u.headers.get("Content-Length")==="0"){let S;switch(h){case"arrayBuffer":case"blob":case"text":S=await u[h]();break;case"formData":S=new FormData;break;case"stream":S=u.body;break;case"json":default:S={};break}return a.responseStyle==="data"?S:{data:S,...y}}let E;switch(h){case"arrayBuffer":case"blob":case"formData":case"json":case"text":E=await u[h]();break;case"stream":return a.responseStyle==="data"?u.body:{data:u.body,...y}}return h==="json"&&(a.responseValidator&&await a.responseValidator(E),a.responseTransformer&&(E=await a.responseTransformer(E))),a.responseStyle==="data"?E:{data:E,...y}}let w=await u.text(),A;try{A=JSON.parse(w)}catch{}let T=A??w,O=T;for(let h of n.error.fns)h&&(O=await h(T,u,m,a));if(O=O||{},a.throwOnError)throw O;return a.responseStyle==="data"?void 0:{error:O,...y}},i=d=>a=>c({...a,method:d}),p=d=>async a=>{let{opts:R,url:g}=await l(a);return J({...R,body:R.body,headers:R.headers,method:d,onRequest:async(m,x)=>{let u=new Request(m,x);for(let y of n.request.fns)y&&(u=await y(u,R));return u},url:g})};return{buildUrl:V,connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:n,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:c,setConfig:o,sse:{connect:p("CONNECT"),delete:p("DELETE"),get:p("GET"),head:p("HEAD"),options:p("OPTIONS"),patch:p("PATCH"),post:p("POST"),put:p("PUT"),trace:p("TRACE")},trace:i("TRACE")}};var t=G(b({baseUrl:"https://aifeatures.dev"}));var te=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/payments",...e,headers:{"Content-Type":"application/json",...e.headers}}),re=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/account-route",...e,headers:{"Content-Type":"application/json",...e.headers}}),se=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payments/status",...e}),oe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e}),ne=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ae=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e}),ie=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ce=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),pe=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),le=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ue=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/file",...e,headers:{"Content-Type":"application/json",...e.headers}}),de=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-order",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/test-orders",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),Se=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants/generate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e}),Oe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/options",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e}),De=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory/adjust",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders",...e}),Ae=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}",...e}),fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/refund",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/resend-receipt",...e}),Ge=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/reset-downloads",...e}),xe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/webhook-events/{eventId}/reset",...e}),Ie=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e}),ke=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e}),Le=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/revoke-access",...e}),We=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/summary",...e}),Me=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sales-summary",...e}),Ve=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people",...e}),je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people/{email}",...e}),ze=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payouts/next",...e}),qe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/fulfillment",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/status",...e}),Ne=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/summary",...e}),$e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/timeseries",...e}),He=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/realtime",...e}),Je=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/sources",...e}),Qe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/campaigns",...e}),_e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/medium",...e}),Ke=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/source",...e}),Xe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/campaign",...e}),Ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/content",...e}),Ze=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/term",...e}),et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/pages",...e}),tt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/entry-pages",...e}),rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/exit-pages",...e}),st=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/countries",...e}),ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/regions",...e}),nt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/cities",...e}),at=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/devices",...e}),it=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/browsers",...e}),ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/operating-systems",...e}),pt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/channels",...e}),lt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions",...e}),ut=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}/report",...e}),dt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e}),ht=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Et=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e}),Rt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e}),St=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e,headers:{"Content-Type":"application/json",...e?.headers}}),mt=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e}),vt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions",...e}),wt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions/{subscriptionId}/cancel",...e}),Tt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Dt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/reactivate-teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),bt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/preview-session",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e}),gt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}",...e}),ft=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/preview",...e}),Gt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/void",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/resend",...e,headers:{"Content-Type":"application/json",...e.headers}}),It=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/remind",...e,headers:{"Content-Type":"application/json",...e.headers}}),kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/snooze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ut=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/reminders",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-paid",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ft=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-uncollectible",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/recipient",...e,headers:{"Content-Type":"application/json",...e.headers}}),Mt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/billing",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoice-settings",...e}),jt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e}),zt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),qt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoicing",...e,headers:{"Content-Type":"application/json",...e.headers}}),Bt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e}),Nt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e,headers:{"Content-Type":"application/json",...e.headers}}),$t=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e}),Ht=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/skip-next",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/resume",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/cancel",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews",...e}),Yt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}",...e}),Zt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/moderate",...e,headers:{"Content-Type":"application/json",...e.headers}}),er=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/reply",...e,headers:{"Content-Type":"application/json",...e.headers}}),tr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e}),rr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),sr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/customers/{customerId}/reviews",...e}),or=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/purge",...e}),nr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e}),ar=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),ir=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}",...e}),cr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/disable",...e}),pr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),lr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e}),ur=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),dr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}",...e}),hr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/disable",...e}),Er=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e}),yr=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e,headers:{"Content-Type":"application/json",...e.headers}}),Sr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e}),mr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),vr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e}),Or=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Tr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Dr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),br=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e}),Cr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),gr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/domains",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ar=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e}),fr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e}),Gr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),xr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),Ir=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),kr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ur=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}/submissions",...e}),Lr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Fr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Wr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}/attachments/{attachmentId}",...e}),Mr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e}),Vr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),jr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),zr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),qr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Br=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/rotate-secret",...e}),Nr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/secret",...e}),$r=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries",...e}),Hr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),Jr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e}),Qr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),_r=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e}),Kr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/rotate-secret",...e}),Yr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/secret",...e}),Zr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries",...e}),es=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),ts=e=>(e.client??t).get({url:"/v1/p/{productId}",...e}),rs=e=>(e.client??t).post({url:"/v1/p/{productId}/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),ss=e=>(e.client??t).post({url:"/v1/p/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),os=e=>(e.client??t).post({url:"/v1/p/checkout/summary",...e,headers:{"Content-Type":"application/json",...e.headers}}),ns=e=>(e.client??t).get({url:"/v1/o/session/{sessionId}",...e}),as=e=>(e.client??t).get({url:"/v1/d/{token}",...e}),is=e=>(e?.client??t).get({url:"/v1/geo",...e}),cs=e=>(e.client??t).get({url:"/v1/prefs/{configId}",...e}),ps=e=>(e.client??t).post({url:"/v1/account/login",...e,headers:{"Content-Type":"application/json",...e.headers}}),ls=e=>(e.client??t).post({url:"/v1/account/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),us=e=>(e?.client??t).post({url:"/v1/account/logout",...e}),ds=e=>(e?.client??t).get({url:"/v1/account/me",...e}),hs=e=>(e.client??t).post({url:"/v1/account/subscribe",...e,headers:{"Content-Type":"application/json",...e.headers}}),Es=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/cancel",...e}),Rs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/reactivate",...e}),ys=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/address",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ss=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/portal-session",...e}),ms=e=>(e.client??t).post({url:"/v1/account/manage/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),vs=e=>(e?.client??t).get({url:"/v1/account/manage/subscription",...e}),Os=e=>(e?.client??t).post({url:"/v1/account/manage/cancel",...e}),ws=e=>(e?.client??t).post({url:"/v1/account/manage/portal-session",...e}),Ts=e=>(e.client??t).get({url:"/v1/m/{token}",...e}),Ds=e=>(e.client??t).post({...M,url:"/v1/m/{token}",...e,headers:{"Content-Type":"application/x-www-form-urlencoded",...e.headers}}),bs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews",...e}),Cs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews/availability",...e}),gs=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews",...e}),As=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e}),fs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ps=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/edit",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/withdraw",...e,headers:{"Content-Type":"application/json",...e.headers}}),xs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/resubmit",...e,headers:{"Content-Type":"application/json",...e.headers}});0&&(module.exports={accountCancelSubscription,accountCreatePortalSession,accountLogin,accountLogout,accountManageCancel,accountManageGetSubscription,accountManagePortalSession,accountManageVerify,accountMe,accountReactivateSubscription,accountSubscribe,accountUpdateSubscriptionAddress,accountVerify,actOnManageLink,adjustVariantInventory,attachProductFile,cancelRetainer,cancelSubscription,createAnalyticsFunnel,createAnalyticsGoal,createCartCheckout,createCheckout,createClient,createConfig,createCustomer,createEventDestination,createEventDestinationWithSiteToken,createForm,createFormWithSiteToken,createInvoice,createMultiItemTestOrder,createOption,createPreviewSession,createProduct,createProductReview,createProductWithSiteToken,createPromo,createPromoForSite,createRetainer,createSite,createTestOrder,createTestSubscription,createVariant,deleteAnalyticsFunnel,deleteAnalyticsGoal,deleteEventDestination,deleteEventDestinationWithSiteToken,deleteForm,deleteOption,deleteProduct,deleteSite,deleteSubmission,deleteVariant,disablePromo,disablePromoForSite,downloadAttachment,downloadFile,editProductReview,eraseCustomerReviews,generateVariants,getAccountReviews,getAnalyticsBrowsers,getAnalyticsCampaigns,getAnalyticsChannels,getAnalyticsCities,getAnalyticsConversions,getAnalyticsCountries,getAnalyticsDevices,getAnalyticsEntryPages,getAnalyticsExitPages,getAnalyticsFunnelReport,getAnalyticsOperatingSystems,getAnalyticsPages,getAnalyticsRealtime,getAnalyticsRegions,getAnalyticsSources,getAnalyticsStatus,getAnalyticsSummary,getAnalyticsTimeseries,getAnalyticsUtmCampaign,getAnalyticsUtmContent,getAnalyticsUtmMedium,getAnalyticsUtmSource,getAnalyticsUtmTerm,getBusinessSummary,getCartSummary,getConsentConfigWithSiteToken,getCustomer,getEventDestination,getEventDestinationSecret,getEventDestinationSecretWithSiteToken,getForm,getGeo,getInvoice,getInvoicePreview,getInvoiceSettings,getInvoiceSettingsWithSiteToken,getMerchantReview,getNextPayout,getOrder,getOrderSession,getOwnProductReview,getPaymentsStatus,getPerson,getProduct,getProductReviewAvailability,getProductReviews,getPromo,getPromoForSite,getPublicConsentPrefs,getPublicProduct,getRetainer,getReviewSettings,getSalesSummary,getSite,getSiteAnalytics,getSiteCheckoutPause,getSubmission,listAnalyticsFunnels,listAnalyticsGoals,listCustomers,listEventDeliveries,listEventDeliveriesWithSiteToken,listEventDestinations,listEventDestinationsWithSiteToken,listForms,listFormsWithSiteToken,listInvoices,listMerchantReviews,listOrdersWithSiteToken,listPeople,listProducts,listProductsWithSiteToken,listPromos,listPromosForSite,listRetainers,listSites,listSubmissions,listSubscriptions,markInvoicePaid,markInvoiceUncollectible,moderateMerchantReview,pauseRetainer,pauseSiteCheckout,previewInvoice,purgeSiteReviews,reactivateSiteSubscriptionsTeardown,refundOrder,remindInvoice,replacePromo,replacePromoForSite,replyToMerchantReview,resendInvoice,resendOrderReceipt,resetOrderDownloads,resetWebhookEvent,resolveManageLink,resubmitProductReview,resumeRetainer,retryEventDelivery,retryEventDeliveryWithSiteToken,revokeCustomerAccess,rotateEventDestinationSecret,rotateEventDestinationSecretWithSiteToken,setInvoiceReminders,setOrderFulfillment,setProductSubscription,setProductVariants,setVariantInventory,skipNextRetainerCycle,snoozeInvoice,teardownSiteSubscriptions,updateAnalyticsFunnel,updateAnalyticsGoal,updateCustomer,updateCustomerBilling,updateEventDestination,updateEventDestinationWithSiteToken,updateForm,updateInvoiceRecipient,updateInvoiceSettings,updateOption,updateProduct,updateRetainer,updateReviewSettings,updateSite,updateSiteAccountRoute,updateSiteAnalytics,updateSiteDomains,updateSiteInvoicing,updateSitePayments,updateVariant,upsertConsentConfigWithSiteToken,voidInvoice,withdrawProductReview});
5
+ `);f=q.pop()??"";for(let Ls of q){let Fs=Ls.split(`
6
+ `),I=[],B;for(let v of Fs)if(v.startsWith("data:"))I.push(v.replace(/^data:\s*/,""));else if(v.startsWith("event:"))B=v.replace(/^event:\s*/,"");else if(v.startsWith("id:"))R=v.replace(/^id:\s*/,"");else if(v.startsWith("retry:")){let $=Number.parseInt(v.replace(/^retry:\s*/,""),10);Number.isNaN($)||(u=$)}let D,N=!1;if(I.length){let v=I.join(`
7
+ `);try{D=JSON.parse(v),N=!0}catch{D=v}}N&&(n&&await n(D),o&&(D=await o(D))),s?.({data:D,event:B,id:R,retry:u}),I.length&&(yield D)}}}finally{w.removeEventListener("abort",z),S.releaseLock()}break}catch(T){if(r?.(T),c!==void 0&&y>=c)break;let O=Math.min(u*2**(y-1),i??3e4);await g(O)}}}()}};var Ns=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},$s=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},Hs=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},k=({allowReserved:e,explode:r,name:s,style:o,value:n})=>{if(!r){let i=(e?n:n.map(p=>encodeURIComponent(p))).join($s(o));switch(o){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let l=Ns(o),c=n.map(i=>o==="label"||o==="simple"?e?i:encodeURIComponent(i):C({allowReserved:e,name:s,value:i})).join(l);return o==="label"||o==="matrix"?l+c:c},C=({allowReserved:e,name:r,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?s:encodeURIComponent(s)}`},U=({allowReserved:e,explode:r,name:s,style:o,value:n,valueOnly:l})=>{if(n instanceof Date)return l?n.toISOString():`${s}=${n.toISOString()}`;if(o!=="deepObject"&&!r){let p=[];Object.entries(n).forEach(([a,R])=>{p=[...p,a,e?R:encodeURIComponent(R)]});let d=p.join(",");switch(o){case"form":return`${s}=${d}`;case"label":return`.${d}`;case"matrix":return`;${s}=${d}`;default:return d}}let c=Hs(o),i=Object.entries(n).map(([p,d])=>C({allowReserved:e,name:o==="deepObject"?`${s}[${p}]`:p,value:d})).join(c);return o==="label"||o==="matrix"?c+i:i};var Js=/\{[^{}]+\}/g,Qs=({path:e,url:r})=>{let s=r,o=r.match(Js);if(o)for(let n of o){let l=!1,c=n.substring(1,n.length-1),i="simple";c.endsWith("*")&&(l=!0,c=c.substring(0,c.length-1)),c.startsWith(".")?(c=c.substring(1),i="label"):c.startsWith(";")&&(c=c.substring(1),i="matrix");let p=e[c];if(p==null)continue;if(Array.isArray(p)){s=s.replace(n,k({explode:l,name:c,style:i,value:p}));continue}if(typeof p=="object"){s=s.replace(n,U({explode:l,name:c,style:i,value:p,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(n,`;${C({name:c,value:p})}`);continue}let d=encodeURIComponent(i==="label"?`.${p}`:p);s=s.replace(n,d)}return s},Q=({baseUrl:e,path:r,query:s,querySerializer:o,url:n})=>{let l=n.startsWith("/")?n:`/${n}`,c=(e??"")+l;r&&(c=Qs({path:r,url:c}));let i=s?o(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(c+=`?${i}`),c};function _(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}var K=async(e,r)=>{let s=typeof r=="function"?await r(e):r;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var X=({parameters:e={},...r}={})=>o=>{let n=[];if(o&&typeof o=="object")for(let l in o){let c=o[l];if(c==null)continue;let i=e[l]||r;if(Array.isArray(c)){let p=k({allowReserved:i.allowReserved,explode:!0,name:l,style:"form",value:c,...i.array});p&&n.push(p)}else if(typeof c=="object"){let p=U({allowReserved:i.allowReserved,explode:!0,name:l,style:"deepObject",value:c,...i.object});p&&n.push(p)}else{let p=C({allowReserved:i.allowReserved,name:l,value:c});p&&n.push(p)}}return n.join("&")},Y=e=>{if(!e)return"stream";let r=e.split(";")[0]?.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(s=>r.startsWith(s)))return"blob";if(r.startsWith("text/"))return"text"}},_s=(e,r)=>r?!!(e.headers.has(r)||e.query?.[r]||e.headers.get("Cookie")?.includes(`${r}=`)):!1,Z=async({security:e,...r})=>{for(let s of e){if(_s(r,s.name))continue;let o=await K(s,r.auth);if(!o)continue;let n=s.name??"Authorization";switch(s.in){case"query":r.query||(r.query={}),r.query[n]=o;break;case"cookie":r.headers.append("Cookie",`${n}=${o}`);break;case"header":default:r.headers.set(n,o);break}}},V=e=>Q({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:X(e.querySerializer),url:e.url}),j=(e,r)=>{let s={...e,...r};return s.baseUrl?.endsWith("/")&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=L(e.headers,r.headers),s},Ks=e=>{let r=[];return e.forEach((s,o)=>{r.push([o,s])}),r},L=(...e)=>{let r=new Headers;for(let s of e){if(!s)continue;let o=s instanceof Headers?Ks(s):Object.entries(s);for(let[n,l]of o)if(l===null)r.delete(n);else if(Array.isArray(l))for(let c of l)r.append(n,c);else l!==void 0&&r.set(n,typeof l=="object"?JSON.stringify(l):l)}return r},P=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let s=this.getInterceptorIndex(r);this.fns[s]&&(this.fns[s]=null)}exists(r){let s=this.getInterceptorIndex(r);return!!this.fns[s]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,s){let o=this.getInterceptorIndex(r);return this.fns[o]?(this.fns[o]=s,r):!1}use(r){return this.fns.push(r),this.fns.length-1}},ee=()=>({error:new P,request:new P,response:new P}),Xs=X({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Ys={"Content-Type":"application/json"},b=(e={})=>({...W,headers:Ys,parseAs:"auto",querySerializer:Xs,...e});var G=(e={})=>{let r=j(b(),e),s=()=>({...r}),o=d=>(r=j(r,d),s()),n=ee(),l=async d=>{let a={...r,...d,fetch:d.fetch??r.fetch??globalThis.fetch,headers:L(r.headers,d.headers),serializedBody:void 0};a.security&&await Z({...a,security:a.security}),a.requestValidator&&await a.requestValidator(a),a.body!==void 0&&a.bodySerializer&&(a.serializedBody=a.bodySerializer(a.body)),(a.body===void 0||a.serializedBody==="")&&a.headers.delete("Content-Type");let R=V(a);return{opts:a,url:R}},c=async d=>{let{opts:a,url:R}=await l(d),g={redirect:"follow",...a,body:_(a)},m=new Request(R,g);for(let h of n.request.fns)h&&(m=await h(m,a));let x=a.fetch,u;try{u=await x(m)}catch(h){let E=h;for(let S of n.error.fns)S&&(E=await S(h,void 0,m,a));if(E=E||{},a.throwOnError)throw E;return a.responseStyle==="data"?void 0:{error:E,request:m,response:void 0}}for(let h of n.response.fns)h&&(u=await h(u,m,a));let y={request:m,response:u};if(u.ok){let h=(a.parseAs==="auto"?Y(u.headers.get("Content-Type")):a.parseAs)??"json";if(u.status===204||u.headers.get("Content-Length")==="0"){let S;switch(h){case"arrayBuffer":case"blob":case"text":S=await u[h]();break;case"formData":S=new FormData;break;case"stream":S=u.body;break;case"json":default:S={};break}return a.responseStyle==="data"?S:{data:S,...y}}let E;switch(h){case"arrayBuffer":case"blob":case"formData":case"json":case"text":E=await u[h]();break;case"stream":return a.responseStyle==="data"?u.body:{data:u.body,...y}}return h==="json"&&(a.responseValidator&&await a.responseValidator(E),a.responseTransformer&&(E=await a.responseTransformer(E))),a.responseStyle==="data"?E:{data:E,...y}}let w=await u.text(),A;try{A=JSON.parse(w)}catch{}let T=A??w,O=T;for(let h of n.error.fns)h&&(O=await h(T,u,m,a));if(O=O||{},a.throwOnError)throw O;return a.responseStyle==="data"?void 0:{error:O,...y}},i=d=>a=>c({...a,method:d}),p=d=>async a=>{let{opts:R,url:g}=await l(a);return J({...R,body:R.body,headers:R.headers,method:d,onRequest:async(m,x)=>{let u=new Request(m,x);for(let y of n.request.fns)y&&(u=await y(u,R));return u},url:g})};return{buildUrl:V,connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:n,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:c,setConfig:o,sse:{connect:p("CONNECT"),delete:p("DELETE"),get:p("GET"),head:p("HEAD"),options:p("OPTIONS"),patch:p("PATCH"),post:p("POST"),put:p("PUT"),trace:p("TRACE")},trace:i("TRACE")}};var t=G(b({baseUrl:"https://aifeatures.dev"}));var te=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/payments",...e,headers:{"Content-Type":"application/json",...e.headers}}),re=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/account-route",...e,headers:{"Content-Type":"application/json",...e.headers}}),se=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payments/status",...e}),oe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e}),ne=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ae=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e}),ie=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ce=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),pe=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),le=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ue=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/file",...e,headers:{"Content-Type":"application/json",...e.headers}}),de=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-order",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/test-orders",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),Se=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants/generate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e}),Oe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/options",...e,headers:{"Content-Type":"application/json",...e.headers}}),Te=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e}),De=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory/adjust",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders",...e}),Ae=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}",...e}),fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/refund",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/resend-receipt",...e}),Ge=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/reset-downloads",...e}),xe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/webhook-events/{eventId}/reset",...e}),Ie=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e}),ke=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e}),Le=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/revoke-access",...e}),We=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/summary",...e}),Me=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sales-summary",...e}),Ve=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people",...e}),je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people/{email}",...e}),ze=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payouts/next",...e}),qe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/fulfillment",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/status",...e}),Ne=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/summary",...e}),$e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/timeseries",...e}),He=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/realtime",...e}),Je=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/sources",...e}),Qe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/campaigns",...e}),_e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/medium",...e}),Ke=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/source",...e}),Xe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/campaign",...e}),Ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/content",...e}),Ze=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/term",...e}),et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/pages",...e}),tt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/entry-pages",...e}),rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/exit-pages",...e}),st=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/countries",...e}),ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/regions",...e}),nt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/cities",...e}),at=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/devices",...e}),it=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/browsers",...e}),ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/operating-systems",...e}),pt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/channels",...e}),lt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions/targets",...e}),ut=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions",...e}),dt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}/report",...e}),ht=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e}),Et=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Rt=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e}),yt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),St=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e}),mt=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e,headers:{"Content-Type":"application/json",...e?.headers}}),vt=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e}),Ot=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),wt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions",...e}),Tt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions/{subscriptionId}/cancel",...e}),Dt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),bt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/reactivate-teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ct=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/preview-session",...e,headers:{"Content-Type":"application/json",...e.headers}}),gt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e}),At=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}",...e}),Pt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/preview",...e}),xt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/void",...e,headers:{"Content-Type":"application/json",...e.headers}}),It=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/resend",...e,headers:{"Content-Type":"application/json",...e.headers}}),kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/remind",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ut=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/snooze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/reminders",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ft=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-paid",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-uncollectible",...e,headers:{"Content-Type":"application/json",...e.headers}}),Mt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/recipient",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/billing",...e,headers:{"Content-Type":"application/json",...e.headers}}),jt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoice-settings",...e}),zt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e}),qt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),Bt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoicing",...e,headers:{"Content-Type":"application/json",...e.headers}}),Nt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e}),$t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ht=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e}),Jt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/skip-next",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/resume",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/cancel",...e,headers:{"Content-Type":"application/json",...e.headers}}),Yt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews",...e}),Zt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}",...e}),er=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/moderate",...e,headers:{"Content-Type":"application/json",...e.headers}}),tr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/reply",...e,headers:{"Content-Type":"application/json",...e.headers}}),rr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e}),sr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),or=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/customers/{customerId}/reviews",...e}),nr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/purge",...e}),ar=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e}),ir=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),cr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}",...e}),pr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/disable",...e}),lr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),ur=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e}),dr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}",...e}),Er=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/disable",...e}),Rr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),yr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e}),Sr=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e,headers:{"Content-Type":"application/json",...e.headers}}),mr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e}),vr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),Or=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e}),wr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Dr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),br=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Cr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e}),gr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ar=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/domains",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e}),Pr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e}),xr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ir=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),kr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),Ur=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}/submissions",...e}),Fr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Wr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Mr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}/attachments/{attachmentId}",...e}),Vr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e}),jr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),zr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),qr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),Br=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Nr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/rotate-secret",...e}),$r=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/secret",...e}),Hr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries",...e}),Jr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),Qr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e}),_r=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e}),Xr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Yr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/rotate-secret",...e}),Zr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/secret",...e}),es=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries",...e}),ts=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),rs=e=>(e.client??t).get({url:"/v1/p/{productId}",...e}),ss=e=>(e.client??t).post({url:"/v1/p/{productId}/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),os=e=>(e.client??t).post({url:"/v1/p/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),ns=e=>(e.client??t).post({url:"/v1/p/checkout/summary",...e,headers:{"Content-Type":"application/json",...e.headers}}),as=e=>(e.client??t).get({url:"/v1/o/session/{sessionId}",...e}),is=e=>(e.client??t).get({url:"/v1/d/{token}",...e}),cs=e=>(e?.client??t).get({url:"/v1/geo",...e}),ps=e=>(e.client??t).get({url:"/v1/prefs/{configId}",...e}),ls=e=>(e.client??t).post({url:"/v1/account/login",...e,headers:{"Content-Type":"application/json",...e.headers}}),us=e=>(e.client??t).post({url:"/v1/account/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),ds=e=>(e?.client??t).post({url:"/v1/account/logout",...e}),hs=e=>(e?.client??t).get({url:"/v1/account/me",...e}),Es=e=>(e.client??t).post({url:"/v1/account/subscribe",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/cancel",...e}),ys=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/reactivate",...e}),Ss=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/address",...e,headers:{"Content-Type":"application/json",...e.headers}}),ms=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/portal-session",...e}),vs=e=>(e.client??t).post({url:"/v1/account/manage/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),Os=e=>(e?.client??t).get({url:"/v1/account/manage/subscription",...e}),ws=e=>(e?.client??t).post({url:"/v1/account/manage/cancel",...e}),Ts=e=>(e?.client??t).post({url:"/v1/account/manage/portal-session",...e}),Ds=e=>(e.client??t).get({url:"/v1/m/{token}",...e}),bs=e=>(e.client??t).post({...M,url:"/v1/m/{token}",...e,headers:{"Content-Type":"application/x-www-form-urlencoded",...e.headers}}),Cs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews",...e}),gs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews/availability",...e}),As=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews",...e}),fs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e}),Ps=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/edit",...e,headers:{"Content-Type":"application/json",...e.headers}}),xs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/withdraw",...e,headers:{"Content-Type":"application/json",...e.headers}}),Is=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/resubmit",...e,headers:{"Content-Type":"application/json",...e.headers}});0&&(module.exports={accountCancelSubscription,accountCreatePortalSession,accountLogin,accountLogout,accountManageCancel,accountManageGetSubscription,accountManagePortalSession,accountManageVerify,accountMe,accountReactivateSubscription,accountSubscribe,accountUpdateSubscriptionAddress,accountVerify,actOnManageLink,adjustVariantInventory,attachProductFile,cancelRetainer,cancelSubscription,createAnalyticsFunnel,createAnalyticsGoal,createCartCheckout,createCheckout,createClient,createConfig,createCustomer,createEventDestination,createEventDestinationWithSiteToken,createForm,createFormWithSiteToken,createInvoice,createMultiItemTestOrder,createOption,createPreviewSession,createProduct,createProductReview,createProductWithSiteToken,createPromo,createPromoForSite,createRetainer,createSite,createTestOrder,createTestSubscription,createVariant,deleteAnalyticsFunnel,deleteAnalyticsGoal,deleteEventDestination,deleteEventDestinationWithSiteToken,deleteForm,deleteOption,deleteProduct,deleteSite,deleteSubmission,deleteVariant,disablePromo,disablePromoForSite,downloadAttachment,downloadFile,editProductReview,eraseCustomerReviews,generateVariants,getAccountReviews,getAnalyticsBrowsers,getAnalyticsCampaigns,getAnalyticsChannels,getAnalyticsCities,getAnalyticsConversions,getAnalyticsCountries,getAnalyticsDevices,getAnalyticsEntryPages,getAnalyticsExitPages,getAnalyticsFunnelReport,getAnalyticsGoalTargets,getAnalyticsOperatingSystems,getAnalyticsPages,getAnalyticsRealtime,getAnalyticsRegions,getAnalyticsSources,getAnalyticsStatus,getAnalyticsSummary,getAnalyticsTimeseries,getAnalyticsUtmCampaign,getAnalyticsUtmContent,getAnalyticsUtmMedium,getAnalyticsUtmSource,getAnalyticsUtmTerm,getBusinessSummary,getCartSummary,getConsentConfigWithSiteToken,getCustomer,getEventDestination,getEventDestinationSecret,getEventDestinationSecretWithSiteToken,getForm,getGeo,getInvoice,getInvoicePreview,getInvoiceSettings,getInvoiceSettingsWithSiteToken,getMerchantReview,getNextPayout,getOrder,getOrderSession,getOwnProductReview,getPaymentsStatus,getPerson,getProduct,getProductReviewAvailability,getProductReviews,getPromo,getPromoForSite,getPublicConsentPrefs,getPublicProduct,getRetainer,getReviewSettings,getSalesSummary,getSite,getSiteAnalytics,getSiteCheckoutPause,getSubmission,listAnalyticsFunnels,listAnalyticsGoals,listCustomers,listEventDeliveries,listEventDeliveriesWithSiteToken,listEventDestinations,listEventDestinationsWithSiteToken,listForms,listFormsWithSiteToken,listInvoices,listMerchantReviews,listOrdersWithSiteToken,listPeople,listProducts,listProductsWithSiteToken,listPromos,listPromosForSite,listRetainers,listSites,listSubmissions,listSubscriptions,markInvoicePaid,markInvoiceUncollectible,moderateMerchantReview,pauseRetainer,pauseSiteCheckout,previewInvoice,purgeSiteReviews,reactivateSiteSubscriptionsTeardown,refundOrder,remindInvoice,replacePromo,replacePromoForSite,replyToMerchantReview,resendInvoice,resendOrderReceipt,resetOrderDownloads,resetWebhookEvent,resolveManageLink,resubmitProductReview,resumeRetainer,retryEventDelivery,retryEventDeliveryWithSiteToken,revokeCustomerAccess,rotateEventDestinationSecret,rotateEventDestinationSecretWithSiteToken,setInvoiceReminders,setOrderFulfillment,setProductSubscription,setProductVariants,setVariantInventory,skipNextRetainerCycle,snoozeInvoice,teardownSiteSubscriptions,updateAnalyticsFunnel,updateAnalyticsGoal,updateCustomer,updateCustomerBilling,updateEventDestination,updateEventDestinationWithSiteToken,updateForm,updateInvoiceRecipient,updateInvoiceSettings,updateOption,updateProduct,updateRetainer,updateReviewSettings,updateSite,updateSiteAccountRoute,updateSiteAnalytics,updateSiteDomains,updateSiteInvoicing,updateSitePayments,updateVariant,upsertConsentConfigWithSiteToken,voidInvoice,withdrawProductReview});
package/dist/index.d.cts CHANGED
@@ -5847,6 +5847,123 @@ type GetAnalyticsChannelsResponses = {
5847
5847
  200: AnalyticsChannels;
5848
5848
  };
5849
5849
  type GetAnalyticsChannelsResponse = GetAnalyticsChannelsResponses[keyof GetAnalyticsChannelsResponses];
5850
+ type GetAnalyticsGoalTargetsData = {
5851
+ body?: never;
5852
+ path?: never;
5853
+ query: {
5854
+ /**
5855
+ * Required when authenticating with an organization API key — scopes the call to one site in your org. Optional with a site token, and must match that token's site.
5856
+ */
5857
+ site_id?: string;
5858
+ /**
5859
+ * The goal's display name, exactly as the conversions report returned it. Names are resolved server-side against the same goal set that report used, so a drill-down cannot describe a goal the report did not show.
5860
+ */
5861
+ goal: string;
5862
+ /**
5863
+ * Days covered, ending at the most recent midnight in the site's reporting timezone. Today's partial day is EXCLUDED - including it would compare a complete period against a few hours and read as a traffic collapse every morning. Defaults to 30.
5864
+ */
5865
+ period?: "7" | "30" | "90";
5866
+ /**
5867
+ * First day of an explicit range, INCLUSIVE, as a whole date YYYY-MM-DD read in the site's reporting timezone. Send it with `to` and without `period` - a request carrying both a period and a range is refused rather than silently resolved to one of them. The same boundary rules as a preset apply: whole local days, and today is excluded because it is partial, so a range ending today ends at the most recent local midnight instead.
5868
+ */
5869
+ from?: string;
5870
+ /**
5871
+ * Last day of an explicit range, INCLUSIVE, as a whole date YYYY-MM-DD in the site's reporting timezone - so `from=2026-03-01&to=2026-03-31` covers all of March. The comparison window is the same number of days immediately before the range, exactly as it is for a preset. A range may span at most 366 days: these are metered queries, the comparison window doubles the scan, and 366 covers a year-over-year question including a leap year. A longer span is refused with `range_invalid` rather than trimmed, because a silently shortened window is a number the caller would quote as the one they asked for.
5872
+ */
5873
+ to?: string;
5874
+ /**
5875
+ * What the rows are. `target` (the default) is the value the conversion pointed at — a link, a file, a phone number, a form. `page` is the path it fired on, and for most sites it is the more useful question: 93.4% of sites with a form have exactly one, so their per-form list is a single row restating the goal, while one form in a shared footer fires from many pages. TWO KINDS OF GOAL REFUSE `page`, both with `page_unavailable_for_goal`. A goal matching a path pattern or a scroll depth — `kind` of `pageview` or `scroll` — already IS a page rule, and the report selects rows by event name, so it cannot evaluate that pattern; ask for its conversions instead. And `Form: Received` is recorded server-side, where a cross-origin submit tells us only the site, so those rows are stored under `/` and cannot be told apart from real homepage submissions — use `Form: Submission`, which is measured in the page itself. Every `event` goal supports both dimensions.
5876
+ */
5877
+ dimension?: "target" | "page";
5878
+ /**
5879
+ * How many values to return, 1-100, default 20. The response says `truncated` when more exist.
5880
+ */
5881
+ limit?: string;
5882
+ };
5883
+ url: "/api/v1/analytics/conversions/targets";
5884
+ };
5885
+ type GetAnalyticsGoalTargetsErrors = {
5886
+ /**
5887
+ * site_id mismatch / unsupported period / unknown goal / a goal with no values to break down / a page breakdown on a goal that has no honest page
5888
+ */
5889
+ 400: unknown;
5890
+ /**
5891
+ * Missing or invalid token
5892
+ */
5893
+ 401: unknown;
5894
+ };
5895
+ type GetAnalyticsGoalTargetsResponses = {
5896
+ /**
5897
+ * The values behind the goal, or an unreachable source
5898
+ */
5899
+ 200: {
5900
+ status: "ok";
5901
+ /**
5902
+ * One row per distinct value, ranked by conversions. Rows whose value was never recorded are OMITTED rather than grouped under an empty label, so these columns can sum to slightly less than the goal's own total — eleven outbound clicks fleet-wide in thirty days carry no target. The goal's row in the conversions report stays authoritative for the total.
5903
+ */
5904
+ data: Array<{
5905
+ /**
5906
+ * What this row is, which depends on the `dimension` asked for. With `target` it is the value behind the conversion exactly as the page authored it: the href for an outbound click or a download, the `tel:` or `mailto:` URI for a contact tap, the submit endpoint for a form — never visitor input, which is why it can be shown verbatim. With `page` it is the PATH the conversion fired on, such as `/pricing`. For a form reported under both transports this is one of the two endpoints; `label` is what to show.
5907
+ */
5908
+ target: string;
5909
+ /**
5910
+ * What to show for this row. Identical to `target` for a page row — a path is already the thing itself — and for every value except a form, where it is the form's CURRENT name, resolved as the report runs. No name is ever stored on an event, so renaming a form rewrites its whole history rather than splitting it across two labels — and a deleted form keeps its rows, falling back to the endpoint rather than dropping conversions that really happened.
5911
+ */
5912
+ label: string;
5913
+ /**
5914
+ * Unique visitors who converted on THIS value. Deduplicated per visitor identity, which rotates daily — so over a multi-day window one person active on several days counts once per day, the same basis as every other visitor count here.
5915
+ */
5916
+ visitors: number;
5917
+ /**
5918
+ * Total conversions on this value, counting repeats by the same visitor.
5919
+ */
5920
+ events: number;
5921
+ /**
5922
+ * visitors divided by SITE-WIDE unique visitors for the window — the SAME denominator the goal's own rate used, so the two tables can be read together. Rows do not sum to the goal's rate: one visitor can click several different links and is counted under each. Null, never 0, when the window had no visitors at all.
5923
+ */
5924
+ conversion_rate: number | null;
5925
+ }>;
5926
+ /**
5927
+ * The half-open UTC window the values were measured over: from inclusive, to exclusive. Resolved from the site's reporting timezone.
5928
+ */
5929
+ window: {
5930
+ from: string;
5931
+ to: string;
5932
+ };
5933
+ /**
5934
+ * The goal these values belong to, echoed back so a client can label the table without trusting its own request.
5935
+ */
5936
+ goal: string;
5937
+ /**
5938
+ * Which breakdown this is, echoed back for the same reason as `goal`. `target` rows are values the conversion pointed at; `page` rows are paths it fired on, and carry no form name because a path is already the thing itself.
5939
+ */
5940
+ dimension: "target" | "page";
5941
+ /**
5942
+ * Site-wide unique visitors for the window, with no goal filtering. Identical to the conversions report's denominator for the same window, by construction — a drill-down whose rates divided by something else could not be compared with the number it drilled into.
5943
+ */
5944
+ denominator: number;
5945
+ /**
5946
+ * True when more distinct values exist than were returned. The list is capped, and a capped list presented as complete invites a merchant to conclude a link is unused when it is merely further down.
5947
+ */
5948
+ truncated: boolean;
5949
+ /**
5950
+ * What share of the goal these rows explain, and you must render it whenever the two numbers differ. A value is recorded only from the deploy that began sending one, so a goal with a long history can show a breakdown covering a sliver of it — measured on one site the day before forms began carrying theirs: 8,430 submissions, none with a value. A short list printed beside a goal row reading 8,430 is indistinguishable from "this goal had no conversions". Null means coverage could not be established, which is NOT the same as zero coverage.
5951
+ */
5952
+ coverage: {
5953
+ /**
5954
+ * The goal's total conversions in this window, counting those with no value.
5955
+ */
5956
+ goal_events: number;
5957
+ /**
5958
+ * How many of them these rows account for.
5959
+ */
5960
+ with_a_value: number;
5961
+ } | null;
5962
+ } | {
5963
+ status: "unreachable";
5964
+ };
5965
+ };
5966
+ type GetAnalyticsGoalTargetsResponse = GetAnalyticsGoalTargetsResponses[keyof GetAnalyticsGoalTargetsResponses];
5850
5967
  type GetAnalyticsConversionsData = {
5851
5968
  body?: never;
5852
5969
  path?: never;
@@ -11144,6 +11261,12 @@ declare const getAnalyticsOperatingSystems: <ThrowOnError extends boolean = fals
11144
11261
  * First-touch acquisition folded into Plausible's 19 channels. Carries VISITS, not visitors: visitor counts are computed per acquisition tuple, so they do not sum across the tuples that fold into one channel — ordinary referrer-host and UTM variance would inflate the biggest channels. Visits are additive and exact.
11145
11262
  */
11146
11263
  declare const getAnalyticsChannels: <ThrowOnError extends boolean = false>(options?: Options<GetAnalyticsChannelsData, ThrowOnError>) => RequestResult<GetAnalyticsChannelsResponses, GetAnalyticsChannelsErrors, ThrowOnError, "fields">;
11264
+ /**
11265
+ * The values behind one goal's conversions
11266
+ *
11267
+ * Which links, files, numbers and addresses one goal's conversions actually were, ranked. This is the follow-up to the conversions report: 3.6k outbound clicks is not an answer until you know which destinations they went to. ONLY SOME GOALS HAVE VALUES TO SHOW. The value is the link the page authored, so it exists for outbound clicks, downloads, and phone and email taps — and does NOT exist for `Purchase`, where nothing in a payment identifies a page-level thing to point at, nor for goals matching a path or a scroll depth, whose value would be the pathname the breakdown reports already rank. ALL OF THAT IS ABOUT `dimension=target`. With `dimension=page` the rows are paths rather than values, so a goal with nothing to point at still answers — `Purchase` has no target and does have a page. THE FORM GOALS DO HAVE VALUES NOW: both report which form, as the endpoint it posts to, and one form reported under two transports is merged into a single row labelled with its current name. Asking about one of those is a 400 naming the goal rather than an empty list, because an empty list reads as "no conversions" when the truth is "this goal has no values". `conversion_rate` divides by the SAME site-wide denominator the goal's own rate used, so the two tables can be read together — but these rows do not sum to the goal's rate, because one visitor clicking three different links is counted under each. Rows with no recorded value are omitted, so the columns can total slightly less than the goal's own number; that number stays authoritative. Use `from`/`to` in place of `period` for an explicit range.
11268
+ */
11269
+ declare const getAnalyticsGoalTargets: <ThrowOnError extends boolean = false>(options: Options<GetAnalyticsGoalTargetsData, ThrowOnError>) => RequestResult<GetAnalyticsGoalTargetsResponses, GetAnalyticsGoalTargetsErrors, ThrowOnError, "fields">;
11147
11270
  /**
11148
11271
  * Conversions per goal for the period
11149
11272
  *
@@ -11799,4 +11922,4 @@ declare const withdrawProductReview: <ThrowOnError extends boolean = false>(opti
11799
11922
  */
11800
11923
  declare const resubmitProductReview: <ThrowOnError extends boolean = false>(options: Options<ResubmitProductReviewData, ThrowOnError>) => RequestResult<ResubmitProductReviewResponses, ResubmitProductReviewErrors, ThrowOnError, "fields">;
11801
11924
 
11802
- export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AnalyticsBreakdown, type AnalyticsChannels, type AnalyticsFunnel, type AnalyticsFunnelInput, type AnalyticsFunnelPatch, type AnalyticsFunnelStepInput, type AnalyticsGoal, type AnalyticsGoalInput, type AnalyticsGoalList, type AnalyticsRealtime, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsTimeseries, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelRetainerData, type CancelRetainerError, type CancelRetainerErrors, type CancelRetainerResponse, type CancelRetainerResponses, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type ConsentConfig, type ConsentConfigResult, type ConsentPrefs, type CreateAnalyticsFunnelData, type CreateAnalyticsFunnelErrors, type CreateAnalyticsFunnelResponse, type CreateAnalyticsFunnelResponses, type CreateAnalyticsGoalData, type CreateAnalyticsGoalErrors, type CreateAnalyticsGoalResponse, type CreateAnalyticsGoalResponses, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateEventDestination, type CreateEventDestinationData, type CreateEventDestinationError, type CreateEventDestinationErrors, type CreateEventDestinationResponse, type CreateEventDestinationResponses, type CreateEventDestinationWithSiteTokenData, type CreateEventDestinationWithSiteTokenError, type CreateEventDestinationWithSiteTokenErrors, type CreateEventDestinationWithSiteTokenResponse, type CreateEventDestinationWithSiteTokenResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateInvoice, type CreateInvoiceData, type CreateInvoiceError, type CreateInvoiceErrors, type CreateInvoiceLine, type CreateInvoiceResponse, type CreateInvoiceResponses, type CreateInvoiceResult, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductReviewData, type CreateProductReviewError, type CreateProductReviewErrors, type CreateProductReviewResponse, type CreateProductReviewResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreatePromo, type CreatePromoData, type CreatePromoError, type CreatePromoErrors, type CreatePromoForSiteData, type CreatePromoForSiteError, type CreatePromoForSiteErrors, type CreatePromoForSiteResponse, type CreatePromoForSiteResponses, type CreatePromoResponse, type CreatePromoResponses, type CreateRetainer, type CreateRetainerData, type CreateRetainerError, type CreateRetainerErrors, type CreateRetainerResponse, type CreateRetainerResponses, type CreateRetainerResult, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerBilling, type CustomerDetail, type CustomersList, type DeleteAnalyticsFunnelData, type DeleteAnalyticsFunnelErrors, type DeleteAnalyticsFunnelResponse, type DeleteAnalyticsFunnelResponses, type DeleteAnalyticsGoalData, type DeleteAnalyticsGoalErrors, type DeleteAnalyticsGoalResponse, type DeleteAnalyticsGoalResponses, type DeleteEventDestinationData, type DeleteEventDestinationError, type DeleteEventDestinationErrors, type DeleteEventDestinationResponse, type DeleteEventDestinationResponses, type DeleteEventDestinationWithSiteTokenData, type DeleteEventDestinationWithSiteTokenError, type DeleteEventDestinationWithSiteTokenErrors, type DeleteEventDestinationWithSiteTokenResponse, type DeleteEventDestinationWithSiteTokenResponses, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DisablePromoData, type DisablePromoError, type DisablePromoErrors, type DisablePromoForSiteData, type DisablePromoForSiteError, type DisablePromoForSiteErrors, type DisablePromoForSiteResponse, type DisablePromoForSiteResponses, type DisablePromoResponse, type DisablePromoResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EditProductReviewData, type EditProductReviewError, type EditProductReviewErrors, type EditProductReviewResponse, type EditProductReviewResponses, type EmailDelivery, type EraseCustomerReviewsData, type EraseCustomerReviewsError, type EraseCustomerReviewsErrors, type EraseCustomerReviewsResponse, type EraseCustomerReviewsResponses, type Error, type EventDeliveriesList, type EventDelivery, type EventDestination, type EventDestinationSecret, type EventDestinationsList, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetAccountReviewsData, type GetAccountReviewsError, type GetAccountReviewsErrors, type GetAccountReviewsResponse, type GetAccountReviewsResponses, type GetAnalyticsBrowsersData, type GetAnalyticsBrowsersErrors, type GetAnalyticsBrowsersResponse, type GetAnalyticsBrowsersResponses, type GetAnalyticsCampaignsData, type GetAnalyticsCampaignsErrors, type GetAnalyticsCampaignsResponse, type GetAnalyticsCampaignsResponses, type GetAnalyticsChannelsData, type GetAnalyticsChannelsErrors, type GetAnalyticsChannelsResponse, type GetAnalyticsChannelsResponses, type GetAnalyticsCitiesData, type GetAnalyticsCitiesErrors, type GetAnalyticsCitiesResponse, type GetAnalyticsCitiesResponses, type GetAnalyticsConversionsData, type GetAnalyticsConversionsErrors, type GetAnalyticsConversionsResponse, type GetAnalyticsConversionsResponses, type GetAnalyticsCountriesData, type GetAnalyticsCountriesErrors, type GetAnalyticsCountriesResponse, type GetAnalyticsCountriesResponses, type GetAnalyticsDevicesData, type GetAnalyticsDevicesErrors, type GetAnalyticsDevicesResponse, type GetAnalyticsDevicesResponses, type GetAnalyticsEntryPagesData, type GetAnalyticsEntryPagesErrors, type GetAnalyticsEntryPagesResponse, type GetAnalyticsEntryPagesResponses, type GetAnalyticsExitPagesData, type GetAnalyticsExitPagesErrors, type GetAnalyticsExitPagesResponse, type GetAnalyticsExitPagesResponses, type GetAnalyticsFunnelReportData, type GetAnalyticsFunnelReportErrors, type GetAnalyticsFunnelReportResponse, type GetAnalyticsFunnelReportResponses, type GetAnalyticsOperatingSystemsData, type GetAnalyticsOperatingSystemsErrors, type GetAnalyticsOperatingSystemsResponse, type GetAnalyticsOperatingSystemsResponses, type GetAnalyticsPagesData, type GetAnalyticsPagesErrors, type GetAnalyticsPagesResponse, type GetAnalyticsPagesResponses, type GetAnalyticsRealtimeData, type GetAnalyticsRealtimeErrors, type GetAnalyticsRealtimeResponse, type GetAnalyticsRealtimeResponses, type GetAnalyticsRegionsData, type GetAnalyticsRegionsErrors, type GetAnalyticsRegionsResponse, type GetAnalyticsRegionsResponses, type GetAnalyticsSourcesData, type GetAnalyticsSourcesErrors, type GetAnalyticsSourcesResponse, type GetAnalyticsSourcesResponses, type GetAnalyticsStatusData, type GetAnalyticsStatusErrors, type GetAnalyticsStatusResponse, type GetAnalyticsStatusResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetAnalyticsTimeseriesData, type GetAnalyticsTimeseriesErrors, type GetAnalyticsTimeseriesResponse, type GetAnalyticsTimeseriesResponses, type GetAnalyticsUtmCampaignData, type GetAnalyticsUtmCampaignErrors, type GetAnalyticsUtmCampaignResponse, type GetAnalyticsUtmCampaignResponses, type GetAnalyticsUtmContentData, type GetAnalyticsUtmContentErrors, type GetAnalyticsUtmContentResponse, type GetAnalyticsUtmContentResponses, type GetAnalyticsUtmMediumData, type GetAnalyticsUtmMediumErrors, type GetAnalyticsUtmMediumResponse, type GetAnalyticsUtmMediumResponses, type GetAnalyticsUtmSourceData, type GetAnalyticsUtmSourceErrors, type GetAnalyticsUtmSourceResponse, type GetAnalyticsUtmSourceResponses, type GetAnalyticsUtmTermData, type GetAnalyticsUtmTermErrors, type GetAnalyticsUtmTermResponse, type GetAnalyticsUtmTermResponses, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetConsentConfigWithSiteTokenData, type GetConsentConfigWithSiteTokenError, type GetConsentConfigWithSiteTokenErrors, type GetConsentConfigWithSiteTokenResponse, type GetConsentConfigWithSiteTokenResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetEventDestinationData, type GetEventDestinationError, type GetEventDestinationErrors, type GetEventDestinationResponse, type GetEventDestinationResponses, type GetEventDestinationSecretData, type GetEventDestinationSecretError, type GetEventDestinationSecretErrors, type GetEventDestinationSecretResponse, type GetEventDestinationSecretResponses, type GetEventDestinationSecretWithSiteTokenData, type GetEventDestinationSecretWithSiteTokenError, type GetEventDestinationSecretWithSiteTokenErrors, type GetEventDestinationSecretWithSiteTokenResponse, type GetEventDestinationSecretWithSiteTokenResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoError, type GetGeoErrors, type GetGeoResponse, type GetGeoResponses, type GetInvoiceData, type GetInvoiceError, type GetInvoiceErrors, type GetInvoicePreviewData, type GetInvoicePreviewError, type GetInvoicePreviewErrors, type GetInvoicePreviewResponse, type GetInvoicePreviewResponses, type GetInvoiceResponse, type GetInvoiceResponses, type GetInvoiceSettingsData, type GetInvoiceSettingsError, type GetInvoiceSettingsErrors, type GetInvoiceSettingsResponse, type GetInvoiceSettingsResponses, type GetInvoiceSettingsWithSiteTokenData, type GetInvoiceSettingsWithSiteTokenError, type GetInvoiceSettingsWithSiteTokenErrors, type GetInvoiceSettingsWithSiteTokenResponse, type GetInvoiceSettingsWithSiteTokenResponses, type GetMerchantReviewData, type GetMerchantReviewError, type GetMerchantReviewErrors, type GetMerchantReviewResponse, type GetMerchantReviewResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetOwnProductReviewData, type GetOwnProductReviewError, type GetOwnProductReviewErrors, type GetOwnProductReviewResponse, type GetOwnProductReviewResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetProductReviewAvailabilityData, type GetProductReviewAvailabilityError, type GetProductReviewAvailabilityErrors, type GetProductReviewAvailabilityResponse, type GetProductReviewAvailabilityResponses, type GetProductReviewsData, type GetProductReviewsError, type GetProductReviewsErrors, type GetProductReviewsResponse, type GetProductReviewsResponses, type GetPromoData, type GetPromoError, type GetPromoErrors, type GetPromoForSiteData, type GetPromoForSiteError, type GetPromoForSiteErrors, type GetPromoForSiteResponse, type GetPromoForSiteResponses, type GetPromoResponse, type GetPromoResponses, type GetPublicConsentPrefsData, type GetPublicConsentPrefsError, type GetPublicConsentPrefsErrors, type GetPublicConsentPrefsResponse, type GetPublicConsentPrefsResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetRetainerData, type GetRetainerError, type GetRetainerErrors, type GetRetainerResponse, type GetRetainerResponses, type GetReviewSettingsData, type GetReviewSettingsError, type GetReviewSettingsErrors, type GetReviewSettingsResponse, type GetReviewSettingsResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteAnalyticsData, type GetSiteAnalyticsError, type GetSiteAnalyticsErrors, type GetSiteAnalyticsResponse, type GetSiteAnalyticsResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceError, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, type InvoiceSiteBody, type InvoicesList, type ListAnalyticsFunnelsData, type ListAnalyticsFunnelsErrors, type ListAnalyticsFunnelsResponse, type ListAnalyticsFunnelsResponses, type ListAnalyticsGoalsData, type ListAnalyticsGoalsErrors, type ListAnalyticsGoalsResponse, type ListAnalyticsGoalsResponses, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListEventDeliveriesData, type ListEventDeliveriesError, type ListEventDeliveriesErrors, type ListEventDeliveriesResponse, type ListEventDeliveriesResponses, type ListEventDeliveriesWithSiteTokenData, type ListEventDeliveriesWithSiteTokenError, type ListEventDeliveriesWithSiteTokenErrors, type ListEventDeliveriesWithSiteTokenResponse, type ListEventDeliveriesWithSiteTokenResponses, type ListEventDestinationsData, type ListEventDestinationsError, type ListEventDestinationsErrors, type ListEventDestinationsResponse, type ListEventDestinationsResponses, type ListEventDestinationsWithSiteTokenData, type ListEventDestinationsWithSiteTokenError, type ListEventDestinationsWithSiteTokenErrors, type ListEventDestinationsWithSiteTokenResponse, type ListEventDestinationsWithSiteTokenResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListMerchantReviewsData, type ListMerchantReviewsError, type ListMerchantReviewsErrors, type ListMerchantReviewsResponse, type ListMerchantReviewsResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListPromosData, type ListPromosError, type ListPromosErrors, type ListPromosForSiteData, type ListPromosForSiteError, type ListPromosForSiteErrors, type ListPromosForSiteResponse, type ListPromosForSiteResponses, type ListPromosResponse, type ListPromosResponses, type ListRetainersData, type ListRetainersError, type ListRetainersErrors, type ListRetainersResponse, type ListRetainersResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type MarkInvoicePaid, type MarkInvoicePaidData, type MarkInvoicePaidError, type MarkInvoicePaidErrors, type MarkInvoicePaidResponse, type MarkInvoicePaidResponses, type MarkInvoicePaidResult, type MarkInvoiceUncollectibleData, type MarkInvoiceUncollectibleError, type MarkInvoiceUncollectibleErrors, type MarkInvoiceUncollectibleResponse, type MarkInvoiceUncollectibleResponses, type ModerateMerchantReviewData, type ModerateMerchantReviewError, type ModerateMerchantReviewErrors, type ModerateMerchantReviewResponse, type ModerateMerchantReviewResponses, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type OwnProductReview, type PauseRetainerData, type PauseRetainerError, type PauseRetainerErrors, type PauseRetainerResponse, type PauseRetainerResponses, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewInvoice, type PreviewInvoiceData, type PreviewInvoiceError, type PreviewInvoiceErrors, type PreviewInvoiceResponse, type PreviewInvoiceResponses, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductReview, type ProductSubscriptionConfig, type ProductsList, type Promo, type PromoError, type PromosList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type PurgeSiteReviewsData, type PurgeSiteReviewsError, type PurgeSiteReviewsErrors, type PurgeSiteReviewsResponse, type PurgeSiteReviewsResponses, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type RecipientCooldownError, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ReissueResult, type RemindInvoiceData, type RemindInvoiceError, type RemindInvoiceErrors, type RemindInvoiceResponse, type RemindInvoiceResponses, type RemindInvoiceResult, type ReplacePromoData, type ReplacePromoError, type ReplacePromoErrors, type ReplacePromoForSiteData, type ReplacePromoForSiteError, type ReplacePromoForSiteErrors, type ReplacePromoForSiteResponse, type ReplacePromoForSiteResponses, type ReplacePromoResponse, type ReplacePromoResponses, type ReplyToMerchantReviewData, type ReplyToMerchantReviewError, type ReplyToMerchantReviewErrors, type ReplyToMerchantReviewResponse, type ReplyToMerchantReviewResponses, type ResendInvoiceData, type ResendInvoiceError, type ResendInvoiceErrors, type ResendInvoiceResponse, type ResendInvoiceResponses, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type ResubmitProductReviewData, type ResubmitProductReviewError, type ResubmitProductReviewErrors, type ResubmitProductReviewResponse, type ResubmitProductReviewResponses, type ResumeRetainerData, type ResumeRetainerError, type ResumeRetainerErrors, type ResumeRetainerResponse, type ResumeRetainerResponses, type Retainer, type RetainerError, type RetainerSiteBody, type RetainersList, type RetryEventDeliveryData, type RetryEventDeliveryError, type RetryEventDeliveryErrors, type RetryEventDeliveryResponse, type RetryEventDeliveryResponses, type RetryEventDeliveryWithSiteTokenData, type RetryEventDeliveryWithSiteTokenError, type RetryEventDeliveryWithSiteTokenErrors, type RetryEventDeliveryWithSiteTokenResponse, type RetryEventDeliveryWithSiteTokenResponses, type ReviewReadiness, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type RotateEventDestinationSecretData, type RotateEventDestinationSecretError, type RotateEventDestinationSecretErrors, type RotateEventDestinationSecretResponse, type RotateEventDestinationSecretResponses, type RotateEventDestinationSecretWithSiteTokenData, type RotateEventDestinationSecretWithSiteTokenError, type RotateEventDestinationSecretWithSiteTokenErrors, type RotateEventDestinationSecretWithSiteTokenResponse, type RotateEventDestinationSecretWithSiteTokenResponses, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetInvoiceReminders, type SetInvoiceRemindersData, type SetInvoiceRemindersError, type SetInvoiceRemindersErrors, type SetInvoiceRemindersResponse, type SetInvoiceRemindersResponses, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteAnalytics, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type SkipNextRetainerCycleData, type SkipNextRetainerCycleError, type SkipNextRetainerCycleErrors, type SkipNextRetainerCycleResponse, type SkipNextRetainerCycleResponses, type SnoozeInvoice, type SnoozeInvoiceData, type SnoozeInvoiceError, type SnoozeInvoiceErrors, type SnoozeInvoiceResponse, type SnoozeInvoiceResponses, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateAnalyticsFunnelData, type UpdateAnalyticsFunnelErrors, type UpdateAnalyticsFunnelResponse, type UpdateAnalyticsFunnelResponses, type UpdateAnalyticsGoalData, type UpdateAnalyticsGoalErrors, type UpdateAnalyticsGoalResponse, type UpdateAnalyticsGoalResponses, type UpdateCustomer, type UpdateCustomerBilling, type UpdateCustomerBillingData, type UpdateCustomerBillingError, type UpdateCustomerBillingErrors, type UpdateCustomerBillingResponse, type UpdateCustomerBillingResponses, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateEventDestination, type UpdateEventDestinationData, type UpdateEventDestinationError, type UpdateEventDestinationErrors, type UpdateEventDestinationResponse, type UpdateEventDestinationResponses, type UpdateEventDestinationWithSiteTokenData, type UpdateEventDestinationWithSiteTokenError, type UpdateEventDestinationWithSiteTokenErrors, type UpdateEventDestinationWithSiteTokenResponse, type UpdateEventDestinationWithSiteTokenResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateInvoiceRecipient, type UpdateInvoiceRecipientData, type UpdateInvoiceRecipientError, type UpdateInvoiceRecipientErrors, type UpdateInvoiceRecipientResponse, type UpdateInvoiceRecipientResponses, type UpdateInvoiceSettings, type UpdateInvoiceSettingsData, type UpdateInvoiceSettingsError, type UpdateInvoiceSettingsErrors, type UpdateInvoiceSettingsResponse, type UpdateInvoiceSettingsResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateRecipientResult, type UpdateRetainer, type UpdateRetainerData, type UpdateRetainerError, type UpdateRetainerErrors, type UpdateRetainerResponse, type UpdateRetainerResponses, type UpdateReviewSettingsData, type UpdateReviewSettingsError, type UpdateReviewSettingsErrors, type UpdateReviewSettingsResponse, type UpdateReviewSettingsResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteAnalytics, type UpdateSiteAnalyticsData, type UpdateSiteAnalyticsError, type UpdateSiteAnalyticsErrors, type UpdateSiteAnalyticsResponse, type UpdateSiteAnalyticsResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSiteInvoicing, type UpdateSiteInvoicingData, type UpdateSiteInvoicingError, type UpdateSiteInvoicingErrors, type UpdateSiteInvoicingResponse, type UpdateSiteInvoicingResponses, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type UpsertConsentConfig, type UpsertConsentConfigWithSiteTokenData, type UpsertConsentConfigWithSiteTokenError, type UpsertConsentConfigWithSiteTokenErrors, type UpsertConsentConfigWithSiteTokenResponse, type UpsertConsentConfigWithSiteTokenResponses, type Variant, type VariantOptionValue, type VoidInvoice, type VoidInvoiceData, type VoidInvoiceError, type VoidInvoiceErrors, type VoidInvoiceResponse, type VoidInvoiceResponses, type VoidInvoiceResult, type WebhookEventResetResult, type WithdrawProductReviewData, type WithdrawProductReviewError, type WithdrawProductReviewErrors, type WithdrawProductReviewResponse, type WithdrawProductReviewResponses, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelRetainer, cancelSubscription, createAnalyticsFunnel, createAnalyticsGoal, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createEventDestination, createEventDestinationWithSiteToken, createForm, createFormWithSiteToken, createInvoice, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductReview, createProductWithSiteToken, createPromo, createPromoForSite, createRetainer, createSite, createTestOrder, createTestSubscription, createVariant, deleteAnalyticsFunnel, deleteAnalyticsGoal, deleteEventDestination, deleteEventDestinationWithSiteToken, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, disablePromo, disablePromoForSite, downloadAttachment, downloadFile, editProductReview, eraseCustomerReviews, generateVariants, getAccountReviews, getAnalyticsBrowsers, getAnalyticsCampaigns, getAnalyticsChannels, getAnalyticsCities, getAnalyticsConversions, getAnalyticsCountries, getAnalyticsDevices, getAnalyticsEntryPages, getAnalyticsExitPages, getAnalyticsFunnelReport, getAnalyticsOperatingSystems, getAnalyticsPages, getAnalyticsRealtime, getAnalyticsRegions, getAnalyticsSources, getAnalyticsStatus, getAnalyticsSummary, getAnalyticsTimeseries, getAnalyticsUtmCampaign, getAnalyticsUtmContent, getAnalyticsUtmMedium, getAnalyticsUtmSource, getAnalyticsUtmTerm, getBusinessSummary, getCartSummary, getConsentConfigWithSiteToken, getCustomer, getEventDestination, getEventDestinationSecret, getEventDestinationSecretWithSiteToken, getForm, getGeo, getInvoice, getInvoicePreview, getInvoiceSettings, getInvoiceSettingsWithSiteToken, getMerchantReview, getNextPayout, getOrder, getOrderSession, getOwnProductReview, getPaymentsStatus, getPerson, getProduct, getProductReviewAvailability, getProductReviews, getPromo, getPromoForSite, getPublicConsentPrefs, getPublicProduct, getRetainer, getReviewSettings, getSalesSummary, getSite, getSiteAnalytics, getSiteCheckoutPause, getSubmission, listAnalyticsFunnels, listAnalyticsGoals, listCustomers, listEventDeliveries, listEventDeliveriesWithSiteToken, listEventDestinations, listEventDestinationsWithSiteToken, listForms, listFormsWithSiteToken, listInvoices, listMerchantReviews, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listPromos, listPromosForSite, listRetainers, listSites, listSubmissions, listSubscriptions, markInvoicePaid, markInvoiceUncollectible, moderateMerchantReview, pauseRetainer, pauseSiteCheckout, previewInvoice, purgeSiteReviews, reactivateSiteSubscriptionsTeardown, refundOrder, remindInvoice, replacePromo, replacePromoForSite, replyToMerchantReview, resendInvoice, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, resubmitProductReview, resumeRetainer, retryEventDelivery, retryEventDeliveryWithSiteToken, revokeCustomerAccess, rotateEventDestinationSecret, rotateEventDestinationSecretWithSiteToken, setInvoiceReminders, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, skipNextRetainerCycle, snoozeInvoice, teardownSiteSubscriptions, updateAnalyticsFunnel, updateAnalyticsGoal, updateCustomer, updateCustomerBilling, updateEventDestination, updateEventDestinationWithSiteToken, updateForm, updateInvoiceRecipient, updateInvoiceSettings, updateOption, updateProduct, updateRetainer, updateReviewSettings, updateSite, updateSiteAccountRoute, updateSiteAnalytics, updateSiteDomains, updateSiteInvoicing, updateSitePayments, updateVariant, upsertConsentConfigWithSiteToken, voidInvoice, withdrawProductReview };
11925
+ export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AnalyticsBreakdown, type AnalyticsChannels, type AnalyticsFunnel, type AnalyticsFunnelInput, type AnalyticsFunnelPatch, type AnalyticsFunnelStepInput, type AnalyticsGoal, type AnalyticsGoalInput, type AnalyticsGoalList, type AnalyticsRealtime, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsTimeseries, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelRetainerData, type CancelRetainerError, type CancelRetainerErrors, type CancelRetainerResponse, type CancelRetainerResponses, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type ConsentConfig, type ConsentConfigResult, type ConsentPrefs, type CreateAnalyticsFunnelData, type CreateAnalyticsFunnelErrors, type CreateAnalyticsFunnelResponse, type CreateAnalyticsFunnelResponses, type CreateAnalyticsGoalData, type CreateAnalyticsGoalErrors, type CreateAnalyticsGoalResponse, type CreateAnalyticsGoalResponses, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateEventDestination, type CreateEventDestinationData, type CreateEventDestinationError, type CreateEventDestinationErrors, type CreateEventDestinationResponse, type CreateEventDestinationResponses, type CreateEventDestinationWithSiteTokenData, type CreateEventDestinationWithSiteTokenError, type CreateEventDestinationWithSiteTokenErrors, type CreateEventDestinationWithSiteTokenResponse, type CreateEventDestinationWithSiteTokenResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateInvoice, type CreateInvoiceData, type CreateInvoiceError, type CreateInvoiceErrors, type CreateInvoiceLine, type CreateInvoiceResponse, type CreateInvoiceResponses, type CreateInvoiceResult, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductReviewData, type CreateProductReviewError, type CreateProductReviewErrors, type CreateProductReviewResponse, type CreateProductReviewResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreatePromo, type CreatePromoData, type CreatePromoError, type CreatePromoErrors, type CreatePromoForSiteData, type CreatePromoForSiteError, type CreatePromoForSiteErrors, type CreatePromoForSiteResponse, type CreatePromoForSiteResponses, type CreatePromoResponse, type CreatePromoResponses, type CreateRetainer, type CreateRetainerData, type CreateRetainerError, type CreateRetainerErrors, type CreateRetainerResponse, type CreateRetainerResponses, type CreateRetainerResult, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerBilling, type CustomerDetail, type CustomersList, type DeleteAnalyticsFunnelData, type DeleteAnalyticsFunnelErrors, type DeleteAnalyticsFunnelResponse, type DeleteAnalyticsFunnelResponses, type DeleteAnalyticsGoalData, type DeleteAnalyticsGoalErrors, type DeleteAnalyticsGoalResponse, type DeleteAnalyticsGoalResponses, type DeleteEventDestinationData, type DeleteEventDestinationError, type DeleteEventDestinationErrors, type DeleteEventDestinationResponse, type DeleteEventDestinationResponses, type DeleteEventDestinationWithSiteTokenData, type DeleteEventDestinationWithSiteTokenError, type DeleteEventDestinationWithSiteTokenErrors, type DeleteEventDestinationWithSiteTokenResponse, type DeleteEventDestinationWithSiteTokenResponses, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DisablePromoData, type DisablePromoError, type DisablePromoErrors, type DisablePromoForSiteData, type DisablePromoForSiteError, type DisablePromoForSiteErrors, type DisablePromoForSiteResponse, type DisablePromoForSiteResponses, type DisablePromoResponse, type DisablePromoResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EditProductReviewData, type EditProductReviewError, type EditProductReviewErrors, type EditProductReviewResponse, type EditProductReviewResponses, type EmailDelivery, type EraseCustomerReviewsData, type EraseCustomerReviewsError, type EraseCustomerReviewsErrors, type EraseCustomerReviewsResponse, type EraseCustomerReviewsResponses, type Error, type EventDeliveriesList, type EventDelivery, type EventDestination, type EventDestinationSecret, type EventDestinationsList, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetAccountReviewsData, type GetAccountReviewsError, type GetAccountReviewsErrors, type GetAccountReviewsResponse, type GetAccountReviewsResponses, type GetAnalyticsBrowsersData, type GetAnalyticsBrowsersErrors, type GetAnalyticsBrowsersResponse, type GetAnalyticsBrowsersResponses, type GetAnalyticsCampaignsData, type GetAnalyticsCampaignsErrors, type GetAnalyticsCampaignsResponse, type GetAnalyticsCampaignsResponses, type GetAnalyticsChannelsData, type GetAnalyticsChannelsErrors, type GetAnalyticsChannelsResponse, type GetAnalyticsChannelsResponses, type GetAnalyticsCitiesData, type GetAnalyticsCitiesErrors, type GetAnalyticsCitiesResponse, type GetAnalyticsCitiesResponses, type GetAnalyticsConversionsData, type GetAnalyticsConversionsErrors, type GetAnalyticsConversionsResponse, type GetAnalyticsConversionsResponses, type GetAnalyticsCountriesData, type GetAnalyticsCountriesErrors, type GetAnalyticsCountriesResponse, type GetAnalyticsCountriesResponses, type GetAnalyticsDevicesData, type GetAnalyticsDevicesErrors, type GetAnalyticsDevicesResponse, type GetAnalyticsDevicesResponses, type GetAnalyticsEntryPagesData, type GetAnalyticsEntryPagesErrors, type GetAnalyticsEntryPagesResponse, type GetAnalyticsEntryPagesResponses, type GetAnalyticsExitPagesData, type GetAnalyticsExitPagesErrors, type GetAnalyticsExitPagesResponse, type GetAnalyticsExitPagesResponses, type GetAnalyticsFunnelReportData, type GetAnalyticsFunnelReportErrors, type GetAnalyticsFunnelReportResponse, type GetAnalyticsFunnelReportResponses, type GetAnalyticsGoalTargetsData, type GetAnalyticsGoalTargetsErrors, type GetAnalyticsGoalTargetsResponse, type GetAnalyticsGoalTargetsResponses, type GetAnalyticsOperatingSystemsData, type GetAnalyticsOperatingSystemsErrors, type GetAnalyticsOperatingSystemsResponse, type GetAnalyticsOperatingSystemsResponses, type GetAnalyticsPagesData, type GetAnalyticsPagesErrors, type GetAnalyticsPagesResponse, type GetAnalyticsPagesResponses, type GetAnalyticsRealtimeData, type GetAnalyticsRealtimeErrors, type GetAnalyticsRealtimeResponse, type GetAnalyticsRealtimeResponses, type GetAnalyticsRegionsData, type GetAnalyticsRegionsErrors, type GetAnalyticsRegionsResponse, type GetAnalyticsRegionsResponses, type GetAnalyticsSourcesData, type GetAnalyticsSourcesErrors, type GetAnalyticsSourcesResponse, type GetAnalyticsSourcesResponses, type GetAnalyticsStatusData, type GetAnalyticsStatusErrors, type GetAnalyticsStatusResponse, type GetAnalyticsStatusResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetAnalyticsTimeseriesData, type GetAnalyticsTimeseriesErrors, type GetAnalyticsTimeseriesResponse, type GetAnalyticsTimeseriesResponses, type GetAnalyticsUtmCampaignData, type GetAnalyticsUtmCampaignErrors, type GetAnalyticsUtmCampaignResponse, type GetAnalyticsUtmCampaignResponses, type GetAnalyticsUtmContentData, type GetAnalyticsUtmContentErrors, type GetAnalyticsUtmContentResponse, type GetAnalyticsUtmContentResponses, type GetAnalyticsUtmMediumData, type GetAnalyticsUtmMediumErrors, type GetAnalyticsUtmMediumResponse, type GetAnalyticsUtmMediumResponses, type GetAnalyticsUtmSourceData, type GetAnalyticsUtmSourceErrors, type GetAnalyticsUtmSourceResponse, type GetAnalyticsUtmSourceResponses, type GetAnalyticsUtmTermData, type GetAnalyticsUtmTermErrors, type GetAnalyticsUtmTermResponse, type GetAnalyticsUtmTermResponses, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetConsentConfigWithSiteTokenData, type GetConsentConfigWithSiteTokenError, type GetConsentConfigWithSiteTokenErrors, type GetConsentConfigWithSiteTokenResponse, type GetConsentConfigWithSiteTokenResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetEventDestinationData, type GetEventDestinationError, type GetEventDestinationErrors, type GetEventDestinationResponse, type GetEventDestinationResponses, type GetEventDestinationSecretData, type GetEventDestinationSecretError, type GetEventDestinationSecretErrors, type GetEventDestinationSecretResponse, type GetEventDestinationSecretResponses, type GetEventDestinationSecretWithSiteTokenData, type GetEventDestinationSecretWithSiteTokenError, type GetEventDestinationSecretWithSiteTokenErrors, type GetEventDestinationSecretWithSiteTokenResponse, type GetEventDestinationSecretWithSiteTokenResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoError, type GetGeoErrors, type GetGeoResponse, type GetGeoResponses, type GetInvoiceData, type GetInvoiceError, type GetInvoiceErrors, type GetInvoicePreviewData, type GetInvoicePreviewError, type GetInvoicePreviewErrors, type GetInvoicePreviewResponse, type GetInvoicePreviewResponses, type GetInvoiceResponse, type GetInvoiceResponses, type GetInvoiceSettingsData, type GetInvoiceSettingsError, type GetInvoiceSettingsErrors, type GetInvoiceSettingsResponse, type GetInvoiceSettingsResponses, type GetInvoiceSettingsWithSiteTokenData, type GetInvoiceSettingsWithSiteTokenError, type GetInvoiceSettingsWithSiteTokenErrors, type GetInvoiceSettingsWithSiteTokenResponse, type GetInvoiceSettingsWithSiteTokenResponses, type GetMerchantReviewData, type GetMerchantReviewError, type GetMerchantReviewErrors, type GetMerchantReviewResponse, type GetMerchantReviewResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetOwnProductReviewData, type GetOwnProductReviewError, type GetOwnProductReviewErrors, type GetOwnProductReviewResponse, type GetOwnProductReviewResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetProductReviewAvailabilityData, type GetProductReviewAvailabilityError, type GetProductReviewAvailabilityErrors, type GetProductReviewAvailabilityResponse, type GetProductReviewAvailabilityResponses, type GetProductReviewsData, type GetProductReviewsError, type GetProductReviewsErrors, type GetProductReviewsResponse, type GetProductReviewsResponses, type GetPromoData, type GetPromoError, type GetPromoErrors, type GetPromoForSiteData, type GetPromoForSiteError, type GetPromoForSiteErrors, type GetPromoForSiteResponse, type GetPromoForSiteResponses, type GetPromoResponse, type GetPromoResponses, type GetPublicConsentPrefsData, type GetPublicConsentPrefsError, type GetPublicConsentPrefsErrors, type GetPublicConsentPrefsResponse, type GetPublicConsentPrefsResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetRetainerData, type GetRetainerError, type GetRetainerErrors, type GetRetainerResponse, type GetRetainerResponses, type GetReviewSettingsData, type GetReviewSettingsError, type GetReviewSettingsErrors, type GetReviewSettingsResponse, type GetReviewSettingsResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteAnalyticsData, type GetSiteAnalyticsError, type GetSiteAnalyticsErrors, type GetSiteAnalyticsResponse, type GetSiteAnalyticsResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceError, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, type InvoiceSiteBody, type InvoicesList, type ListAnalyticsFunnelsData, type ListAnalyticsFunnelsErrors, type ListAnalyticsFunnelsResponse, type ListAnalyticsFunnelsResponses, type ListAnalyticsGoalsData, type ListAnalyticsGoalsErrors, type ListAnalyticsGoalsResponse, type ListAnalyticsGoalsResponses, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListEventDeliveriesData, type ListEventDeliveriesError, type ListEventDeliveriesErrors, type ListEventDeliveriesResponse, type ListEventDeliveriesResponses, type ListEventDeliveriesWithSiteTokenData, type ListEventDeliveriesWithSiteTokenError, type ListEventDeliveriesWithSiteTokenErrors, type ListEventDeliveriesWithSiteTokenResponse, type ListEventDeliveriesWithSiteTokenResponses, type ListEventDestinationsData, type ListEventDestinationsError, type ListEventDestinationsErrors, type ListEventDestinationsResponse, type ListEventDestinationsResponses, type ListEventDestinationsWithSiteTokenData, type ListEventDestinationsWithSiteTokenError, type ListEventDestinationsWithSiteTokenErrors, type ListEventDestinationsWithSiteTokenResponse, type ListEventDestinationsWithSiteTokenResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListMerchantReviewsData, type ListMerchantReviewsError, type ListMerchantReviewsErrors, type ListMerchantReviewsResponse, type ListMerchantReviewsResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListPromosData, type ListPromosError, type ListPromosErrors, type ListPromosForSiteData, type ListPromosForSiteError, type ListPromosForSiteErrors, type ListPromosForSiteResponse, type ListPromosForSiteResponses, type ListPromosResponse, type ListPromosResponses, type ListRetainersData, type ListRetainersError, type ListRetainersErrors, type ListRetainersResponse, type ListRetainersResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type MarkInvoicePaid, type MarkInvoicePaidData, type MarkInvoicePaidError, type MarkInvoicePaidErrors, type MarkInvoicePaidResponse, type MarkInvoicePaidResponses, type MarkInvoicePaidResult, type MarkInvoiceUncollectibleData, type MarkInvoiceUncollectibleError, type MarkInvoiceUncollectibleErrors, type MarkInvoiceUncollectibleResponse, type MarkInvoiceUncollectibleResponses, type ModerateMerchantReviewData, type ModerateMerchantReviewError, type ModerateMerchantReviewErrors, type ModerateMerchantReviewResponse, type ModerateMerchantReviewResponses, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type OwnProductReview, type PauseRetainerData, type PauseRetainerError, type PauseRetainerErrors, type PauseRetainerResponse, type PauseRetainerResponses, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewInvoice, type PreviewInvoiceData, type PreviewInvoiceError, type PreviewInvoiceErrors, type PreviewInvoiceResponse, type PreviewInvoiceResponses, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductReview, type ProductSubscriptionConfig, type ProductsList, type Promo, type PromoError, type PromosList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type PurgeSiteReviewsData, type PurgeSiteReviewsError, type PurgeSiteReviewsErrors, type PurgeSiteReviewsResponse, type PurgeSiteReviewsResponses, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type RecipientCooldownError, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ReissueResult, type RemindInvoiceData, type RemindInvoiceError, type RemindInvoiceErrors, type RemindInvoiceResponse, type RemindInvoiceResponses, type RemindInvoiceResult, type ReplacePromoData, type ReplacePromoError, type ReplacePromoErrors, type ReplacePromoForSiteData, type ReplacePromoForSiteError, type ReplacePromoForSiteErrors, type ReplacePromoForSiteResponse, type ReplacePromoForSiteResponses, type ReplacePromoResponse, type ReplacePromoResponses, type ReplyToMerchantReviewData, type ReplyToMerchantReviewError, type ReplyToMerchantReviewErrors, type ReplyToMerchantReviewResponse, type ReplyToMerchantReviewResponses, type ResendInvoiceData, type ResendInvoiceError, type ResendInvoiceErrors, type ResendInvoiceResponse, type ResendInvoiceResponses, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type ResubmitProductReviewData, type ResubmitProductReviewError, type ResubmitProductReviewErrors, type ResubmitProductReviewResponse, type ResubmitProductReviewResponses, type ResumeRetainerData, type ResumeRetainerError, type ResumeRetainerErrors, type ResumeRetainerResponse, type ResumeRetainerResponses, type Retainer, type RetainerError, type RetainerSiteBody, type RetainersList, type RetryEventDeliveryData, type RetryEventDeliveryError, type RetryEventDeliveryErrors, type RetryEventDeliveryResponse, type RetryEventDeliveryResponses, type RetryEventDeliveryWithSiteTokenData, type RetryEventDeliveryWithSiteTokenError, type RetryEventDeliveryWithSiteTokenErrors, type RetryEventDeliveryWithSiteTokenResponse, type RetryEventDeliveryWithSiteTokenResponses, type ReviewReadiness, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type RotateEventDestinationSecretData, type RotateEventDestinationSecretError, type RotateEventDestinationSecretErrors, type RotateEventDestinationSecretResponse, type RotateEventDestinationSecretResponses, type RotateEventDestinationSecretWithSiteTokenData, type RotateEventDestinationSecretWithSiteTokenError, type RotateEventDestinationSecretWithSiteTokenErrors, type RotateEventDestinationSecretWithSiteTokenResponse, type RotateEventDestinationSecretWithSiteTokenResponses, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetInvoiceReminders, type SetInvoiceRemindersData, type SetInvoiceRemindersError, type SetInvoiceRemindersErrors, type SetInvoiceRemindersResponse, type SetInvoiceRemindersResponses, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteAnalytics, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type SkipNextRetainerCycleData, type SkipNextRetainerCycleError, type SkipNextRetainerCycleErrors, type SkipNextRetainerCycleResponse, type SkipNextRetainerCycleResponses, type SnoozeInvoice, type SnoozeInvoiceData, type SnoozeInvoiceError, type SnoozeInvoiceErrors, type SnoozeInvoiceResponse, type SnoozeInvoiceResponses, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateAnalyticsFunnelData, type UpdateAnalyticsFunnelErrors, type UpdateAnalyticsFunnelResponse, type UpdateAnalyticsFunnelResponses, type UpdateAnalyticsGoalData, type UpdateAnalyticsGoalErrors, type UpdateAnalyticsGoalResponse, type UpdateAnalyticsGoalResponses, type UpdateCustomer, type UpdateCustomerBilling, type UpdateCustomerBillingData, type UpdateCustomerBillingError, type UpdateCustomerBillingErrors, type UpdateCustomerBillingResponse, type UpdateCustomerBillingResponses, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateEventDestination, type UpdateEventDestinationData, type UpdateEventDestinationError, type UpdateEventDestinationErrors, type UpdateEventDestinationResponse, type UpdateEventDestinationResponses, type UpdateEventDestinationWithSiteTokenData, type UpdateEventDestinationWithSiteTokenError, type UpdateEventDestinationWithSiteTokenErrors, type UpdateEventDestinationWithSiteTokenResponse, type UpdateEventDestinationWithSiteTokenResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateInvoiceRecipient, type UpdateInvoiceRecipientData, type UpdateInvoiceRecipientError, type UpdateInvoiceRecipientErrors, type UpdateInvoiceRecipientResponse, type UpdateInvoiceRecipientResponses, type UpdateInvoiceSettings, type UpdateInvoiceSettingsData, type UpdateInvoiceSettingsError, type UpdateInvoiceSettingsErrors, type UpdateInvoiceSettingsResponse, type UpdateInvoiceSettingsResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateRecipientResult, type UpdateRetainer, type UpdateRetainerData, type UpdateRetainerError, type UpdateRetainerErrors, type UpdateRetainerResponse, type UpdateRetainerResponses, type UpdateReviewSettingsData, type UpdateReviewSettingsError, type UpdateReviewSettingsErrors, type UpdateReviewSettingsResponse, type UpdateReviewSettingsResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteAnalytics, type UpdateSiteAnalyticsData, type UpdateSiteAnalyticsError, type UpdateSiteAnalyticsErrors, type UpdateSiteAnalyticsResponse, type UpdateSiteAnalyticsResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSiteInvoicing, type UpdateSiteInvoicingData, type UpdateSiteInvoicingError, type UpdateSiteInvoicingErrors, type UpdateSiteInvoicingResponse, type UpdateSiteInvoicingResponses, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type UpsertConsentConfig, type UpsertConsentConfigWithSiteTokenData, type UpsertConsentConfigWithSiteTokenError, type UpsertConsentConfigWithSiteTokenErrors, type UpsertConsentConfigWithSiteTokenResponse, type UpsertConsentConfigWithSiteTokenResponses, type Variant, type VariantOptionValue, type VoidInvoice, type VoidInvoiceData, type VoidInvoiceError, type VoidInvoiceErrors, type VoidInvoiceResponse, type VoidInvoiceResponses, type VoidInvoiceResult, type WebhookEventResetResult, type WithdrawProductReviewData, type WithdrawProductReviewError, type WithdrawProductReviewErrors, type WithdrawProductReviewResponse, type WithdrawProductReviewResponses, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelRetainer, cancelSubscription, createAnalyticsFunnel, createAnalyticsGoal, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createEventDestination, createEventDestinationWithSiteToken, createForm, createFormWithSiteToken, createInvoice, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductReview, createProductWithSiteToken, createPromo, createPromoForSite, createRetainer, createSite, createTestOrder, createTestSubscription, createVariant, deleteAnalyticsFunnel, deleteAnalyticsGoal, deleteEventDestination, deleteEventDestinationWithSiteToken, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, disablePromo, disablePromoForSite, downloadAttachment, downloadFile, editProductReview, eraseCustomerReviews, generateVariants, getAccountReviews, getAnalyticsBrowsers, getAnalyticsCampaigns, getAnalyticsChannels, getAnalyticsCities, getAnalyticsConversions, getAnalyticsCountries, getAnalyticsDevices, getAnalyticsEntryPages, getAnalyticsExitPages, getAnalyticsFunnelReport, getAnalyticsGoalTargets, getAnalyticsOperatingSystems, getAnalyticsPages, getAnalyticsRealtime, getAnalyticsRegions, getAnalyticsSources, getAnalyticsStatus, getAnalyticsSummary, getAnalyticsTimeseries, getAnalyticsUtmCampaign, getAnalyticsUtmContent, getAnalyticsUtmMedium, getAnalyticsUtmSource, getAnalyticsUtmTerm, getBusinessSummary, getCartSummary, getConsentConfigWithSiteToken, getCustomer, getEventDestination, getEventDestinationSecret, getEventDestinationSecretWithSiteToken, getForm, getGeo, getInvoice, getInvoicePreview, getInvoiceSettings, getInvoiceSettingsWithSiteToken, getMerchantReview, getNextPayout, getOrder, getOrderSession, getOwnProductReview, getPaymentsStatus, getPerson, getProduct, getProductReviewAvailability, getProductReviews, getPromo, getPromoForSite, getPublicConsentPrefs, getPublicProduct, getRetainer, getReviewSettings, getSalesSummary, getSite, getSiteAnalytics, getSiteCheckoutPause, getSubmission, listAnalyticsFunnels, listAnalyticsGoals, listCustomers, listEventDeliveries, listEventDeliveriesWithSiteToken, listEventDestinations, listEventDestinationsWithSiteToken, listForms, listFormsWithSiteToken, listInvoices, listMerchantReviews, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listPromos, listPromosForSite, listRetainers, listSites, listSubmissions, listSubscriptions, markInvoicePaid, markInvoiceUncollectible, moderateMerchantReview, pauseRetainer, pauseSiteCheckout, previewInvoice, purgeSiteReviews, reactivateSiteSubscriptionsTeardown, refundOrder, remindInvoice, replacePromo, replacePromoForSite, replyToMerchantReview, resendInvoice, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, resubmitProductReview, resumeRetainer, retryEventDelivery, retryEventDeliveryWithSiteToken, revokeCustomerAccess, rotateEventDestinationSecret, rotateEventDestinationSecretWithSiteToken, setInvoiceReminders, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, skipNextRetainerCycle, snoozeInvoice, teardownSiteSubscriptions, updateAnalyticsFunnel, updateAnalyticsGoal, updateCustomer, updateCustomerBilling, updateEventDestination, updateEventDestinationWithSiteToken, updateForm, updateInvoiceRecipient, updateInvoiceSettings, updateOption, updateProduct, updateRetainer, updateReviewSettings, updateSite, updateSiteAccountRoute, updateSiteAnalytics, updateSiteDomains, updateSiteInvoicing, updateSitePayments, updateVariant, upsertConsentConfigWithSiteToken, voidInvoice, withdrawProductReview };
package/dist/index.d.ts CHANGED
@@ -5847,6 +5847,123 @@ type GetAnalyticsChannelsResponses = {
5847
5847
  200: AnalyticsChannels;
5848
5848
  };
5849
5849
  type GetAnalyticsChannelsResponse = GetAnalyticsChannelsResponses[keyof GetAnalyticsChannelsResponses];
5850
+ type GetAnalyticsGoalTargetsData = {
5851
+ body?: never;
5852
+ path?: never;
5853
+ query: {
5854
+ /**
5855
+ * Required when authenticating with an organization API key — scopes the call to one site in your org. Optional with a site token, and must match that token's site.
5856
+ */
5857
+ site_id?: string;
5858
+ /**
5859
+ * The goal's display name, exactly as the conversions report returned it. Names are resolved server-side against the same goal set that report used, so a drill-down cannot describe a goal the report did not show.
5860
+ */
5861
+ goal: string;
5862
+ /**
5863
+ * Days covered, ending at the most recent midnight in the site's reporting timezone. Today's partial day is EXCLUDED - including it would compare a complete period against a few hours and read as a traffic collapse every morning. Defaults to 30.
5864
+ */
5865
+ period?: "7" | "30" | "90";
5866
+ /**
5867
+ * First day of an explicit range, INCLUSIVE, as a whole date YYYY-MM-DD read in the site's reporting timezone. Send it with `to` and without `period` - a request carrying both a period and a range is refused rather than silently resolved to one of them. The same boundary rules as a preset apply: whole local days, and today is excluded because it is partial, so a range ending today ends at the most recent local midnight instead.
5868
+ */
5869
+ from?: string;
5870
+ /**
5871
+ * Last day of an explicit range, INCLUSIVE, as a whole date YYYY-MM-DD in the site's reporting timezone - so `from=2026-03-01&to=2026-03-31` covers all of March. The comparison window is the same number of days immediately before the range, exactly as it is for a preset. A range may span at most 366 days: these are metered queries, the comparison window doubles the scan, and 366 covers a year-over-year question including a leap year. A longer span is refused with `range_invalid` rather than trimmed, because a silently shortened window is a number the caller would quote as the one they asked for.
5872
+ */
5873
+ to?: string;
5874
+ /**
5875
+ * What the rows are. `target` (the default) is the value the conversion pointed at — a link, a file, a phone number, a form. `page` is the path it fired on, and for most sites it is the more useful question: 93.4% of sites with a form have exactly one, so their per-form list is a single row restating the goal, while one form in a shared footer fires from many pages. TWO KINDS OF GOAL REFUSE `page`, both with `page_unavailable_for_goal`. A goal matching a path pattern or a scroll depth — `kind` of `pageview` or `scroll` — already IS a page rule, and the report selects rows by event name, so it cannot evaluate that pattern; ask for its conversions instead. And `Form: Received` is recorded server-side, where a cross-origin submit tells us only the site, so those rows are stored under `/` and cannot be told apart from real homepage submissions — use `Form: Submission`, which is measured in the page itself. Every `event` goal supports both dimensions.
5876
+ */
5877
+ dimension?: "target" | "page";
5878
+ /**
5879
+ * How many values to return, 1-100, default 20. The response says `truncated` when more exist.
5880
+ */
5881
+ limit?: string;
5882
+ };
5883
+ url: "/api/v1/analytics/conversions/targets";
5884
+ };
5885
+ type GetAnalyticsGoalTargetsErrors = {
5886
+ /**
5887
+ * site_id mismatch / unsupported period / unknown goal / a goal with no values to break down / a page breakdown on a goal that has no honest page
5888
+ */
5889
+ 400: unknown;
5890
+ /**
5891
+ * Missing or invalid token
5892
+ */
5893
+ 401: unknown;
5894
+ };
5895
+ type GetAnalyticsGoalTargetsResponses = {
5896
+ /**
5897
+ * The values behind the goal, or an unreachable source
5898
+ */
5899
+ 200: {
5900
+ status: "ok";
5901
+ /**
5902
+ * One row per distinct value, ranked by conversions. Rows whose value was never recorded are OMITTED rather than grouped under an empty label, so these columns can sum to slightly less than the goal's own total — eleven outbound clicks fleet-wide in thirty days carry no target. The goal's row in the conversions report stays authoritative for the total.
5903
+ */
5904
+ data: Array<{
5905
+ /**
5906
+ * What this row is, which depends on the `dimension` asked for. With `target` it is the value behind the conversion exactly as the page authored it: the href for an outbound click or a download, the `tel:` or `mailto:` URI for a contact tap, the submit endpoint for a form — never visitor input, which is why it can be shown verbatim. With `page` it is the PATH the conversion fired on, such as `/pricing`. For a form reported under both transports this is one of the two endpoints; `label` is what to show.
5907
+ */
5908
+ target: string;
5909
+ /**
5910
+ * What to show for this row. Identical to `target` for a page row — a path is already the thing itself — and for every value except a form, where it is the form's CURRENT name, resolved as the report runs. No name is ever stored on an event, so renaming a form rewrites its whole history rather than splitting it across two labels — and a deleted form keeps its rows, falling back to the endpoint rather than dropping conversions that really happened.
5911
+ */
5912
+ label: string;
5913
+ /**
5914
+ * Unique visitors who converted on THIS value. Deduplicated per visitor identity, which rotates daily — so over a multi-day window one person active on several days counts once per day, the same basis as every other visitor count here.
5915
+ */
5916
+ visitors: number;
5917
+ /**
5918
+ * Total conversions on this value, counting repeats by the same visitor.
5919
+ */
5920
+ events: number;
5921
+ /**
5922
+ * visitors divided by SITE-WIDE unique visitors for the window — the SAME denominator the goal's own rate used, so the two tables can be read together. Rows do not sum to the goal's rate: one visitor can click several different links and is counted under each. Null, never 0, when the window had no visitors at all.
5923
+ */
5924
+ conversion_rate: number | null;
5925
+ }>;
5926
+ /**
5927
+ * The half-open UTC window the values were measured over: from inclusive, to exclusive. Resolved from the site's reporting timezone.
5928
+ */
5929
+ window: {
5930
+ from: string;
5931
+ to: string;
5932
+ };
5933
+ /**
5934
+ * The goal these values belong to, echoed back so a client can label the table without trusting its own request.
5935
+ */
5936
+ goal: string;
5937
+ /**
5938
+ * Which breakdown this is, echoed back for the same reason as `goal`. `target` rows are values the conversion pointed at; `page` rows are paths it fired on, and carry no form name because a path is already the thing itself.
5939
+ */
5940
+ dimension: "target" | "page";
5941
+ /**
5942
+ * Site-wide unique visitors for the window, with no goal filtering. Identical to the conversions report's denominator for the same window, by construction — a drill-down whose rates divided by something else could not be compared with the number it drilled into.
5943
+ */
5944
+ denominator: number;
5945
+ /**
5946
+ * True when more distinct values exist than were returned. The list is capped, and a capped list presented as complete invites a merchant to conclude a link is unused when it is merely further down.
5947
+ */
5948
+ truncated: boolean;
5949
+ /**
5950
+ * What share of the goal these rows explain, and you must render it whenever the two numbers differ. A value is recorded only from the deploy that began sending one, so a goal with a long history can show a breakdown covering a sliver of it — measured on one site the day before forms began carrying theirs: 8,430 submissions, none with a value. A short list printed beside a goal row reading 8,430 is indistinguishable from "this goal had no conversions". Null means coverage could not be established, which is NOT the same as zero coverage.
5951
+ */
5952
+ coverage: {
5953
+ /**
5954
+ * The goal's total conversions in this window, counting those with no value.
5955
+ */
5956
+ goal_events: number;
5957
+ /**
5958
+ * How many of them these rows account for.
5959
+ */
5960
+ with_a_value: number;
5961
+ } | null;
5962
+ } | {
5963
+ status: "unreachable";
5964
+ };
5965
+ };
5966
+ type GetAnalyticsGoalTargetsResponse = GetAnalyticsGoalTargetsResponses[keyof GetAnalyticsGoalTargetsResponses];
5850
5967
  type GetAnalyticsConversionsData = {
5851
5968
  body?: never;
5852
5969
  path?: never;
@@ -11144,6 +11261,12 @@ declare const getAnalyticsOperatingSystems: <ThrowOnError extends boolean = fals
11144
11261
  * First-touch acquisition folded into Plausible's 19 channels. Carries VISITS, not visitors: visitor counts are computed per acquisition tuple, so they do not sum across the tuples that fold into one channel — ordinary referrer-host and UTM variance would inflate the biggest channels. Visits are additive and exact.
11145
11262
  */
11146
11263
  declare const getAnalyticsChannels: <ThrowOnError extends boolean = false>(options?: Options<GetAnalyticsChannelsData, ThrowOnError>) => RequestResult<GetAnalyticsChannelsResponses, GetAnalyticsChannelsErrors, ThrowOnError, "fields">;
11264
+ /**
11265
+ * The values behind one goal's conversions
11266
+ *
11267
+ * Which links, files, numbers and addresses one goal's conversions actually were, ranked. This is the follow-up to the conversions report: 3.6k outbound clicks is not an answer until you know which destinations they went to. ONLY SOME GOALS HAVE VALUES TO SHOW. The value is the link the page authored, so it exists for outbound clicks, downloads, and phone and email taps — and does NOT exist for `Purchase`, where nothing in a payment identifies a page-level thing to point at, nor for goals matching a path or a scroll depth, whose value would be the pathname the breakdown reports already rank. ALL OF THAT IS ABOUT `dimension=target`. With `dimension=page` the rows are paths rather than values, so a goal with nothing to point at still answers — `Purchase` has no target and does have a page. THE FORM GOALS DO HAVE VALUES NOW: both report which form, as the endpoint it posts to, and one form reported under two transports is merged into a single row labelled with its current name. Asking about one of those is a 400 naming the goal rather than an empty list, because an empty list reads as "no conversions" when the truth is "this goal has no values". `conversion_rate` divides by the SAME site-wide denominator the goal's own rate used, so the two tables can be read together — but these rows do not sum to the goal's rate, because one visitor clicking three different links is counted under each. Rows with no recorded value are omitted, so the columns can total slightly less than the goal's own number; that number stays authoritative. Use `from`/`to` in place of `period` for an explicit range.
11268
+ */
11269
+ declare const getAnalyticsGoalTargets: <ThrowOnError extends boolean = false>(options: Options<GetAnalyticsGoalTargetsData, ThrowOnError>) => RequestResult<GetAnalyticsGoalTargetsResponses, GetAnalyticsGoalTargetsErrors, ThrowOnError, "fields">;
11147
11270
  /**
11148
11271
  * Conversions per goal for the period
11149
11272
  *
@@ -11799,4 +11922,4 @@ declare const withdrawProductReview: <ThrowOnError extends boolean = false>(opti
11799
11922
  */
11800
11923
  declare const resubmitProductReview: <ThrowOnError extends boolean = false>(options: Options<ResubmitProductReviewData, ThrowOnError>) => RequestResult<ResubmitProductReviewResponses, ResubmitProductReviewErrors, ThrowOnError, "fields">;
11801
11924
 
11802
- export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AnalyticsBreakdown, type AnalyticsChannels, type AnalyticsFunnel, type AnalyticsFunnelInput, type AnalyticsFunnelPatch, type AnalyticsFunnelStepInput, type AnalyticsGoal, type AnalyticsGoalInput, type AnalyticsGoalList, type AnalyticsRealtime, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsTimeseries, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelRetainerData, type CancelRetainerError, type CancelRetainerErrors, type CancelRetainerResponse, type CancelRetainerResponses, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type ConsentConfig, type ConsentConfigResult, type ConsentPrefs, type CreateAnalyticsFunnelData, type CreateAnalyticsFunnelErrors, type CreateAnalyticsFunnelResponse, type CreateAnalyticsFunnelResponses, type CreateAnalyticsGoalData, type CreateAnalyticsGoalErrors, type CreateAnalyticsGoalResponse, type CreateAnalyticsGoalResponses, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateEventDestination, type CreateEventDestinationData, type CreateEventDestinationError, type CreateEventDestinationErrors, type CreateEventDestinationResponse, type CreateEventDestinationResponses, type CreateEventDestinationWithSiteTokenData, type CreateEventDestinationWithSiteTokenError, type CreateEventDestinationWithSiteTokenErrors, type CreateEventDestinationWithSiteTokenResponse, type CreateEventDestinationWithSiteTokenResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateInvoice, type CreateInvoiceData, type CreateInvoiceError, type CreateInvoiceErrors, type CreateInvoiceLine, type CreateInvoiceResponse, type CreateInvoiceResponses, type CreateInvoiceResult, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductReviewData, type CreateProductReviewError, type CreateProductReviewErrors, type CreateProductReviewResponse, type CreateProductReviewResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreatePromo, type CreatePromoData, type CreatePromoError, type CreatePromoErrors, type CreatePromoForSiteData, type CreatePromoForSiteError, type CreatePromoForSiteErrors, type CreatePromoForSiteResponse, type CreatePromoForSiteResponses, type CreatePromoResponse, type CreatePromoResponses, type CreateRetainer, type CreateRetainerData, type CreateRetainerError, type CreateRetainerErrors, type CreateRetainerResponse, type CreateRetainerResponses, type CreateRetainerResult, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerBilling, type CustomerDetail, type CustomersList, type DeleteAnalyticsFunnelData, type DeleteAnalyticsFunnelErrors, type DeleteAnalyticsFunnelResponse, type DeleteAnalyticsFunnelResponses, type DeleteAnalyticsGoalData, type DeleteAnalyticsGoalErrors, type DeleteAnalyticsGoalResponse, type DeleteAnalyticsGoalResponses, type DeleteEventDestinationData, type DeleteEventDestinationError, type DeleteEventDestinationErrors, type DeleteEventDestinationResponse, type DeleteEventDestinationResponses, type DeleteEventDestinationWithSiteTokenData, type DeleteEventDestinationWithSiteTokenError, type DeleteEventDestinationWithSiteTokenErrors, type DeleteEventDestinationWithSiteTokenResponse, type DeleteEventDestinationWithSiteTokenResponses, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DisablePromoData, type DisablePromoError, type DisablePromoErrors, type DisablePromoForSiteData, type DisablePromoForSiteError, type DisablePromoForSiteErrors, type DisablePromoForSiteResponse, type DisablePromoForSiteResponses, type DisablePromoResponse, type DisablePromoResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EditProductReviewData, type EditProductReviewError, type EditProductReviewErrors, type EditProductReviewResponse, type EditProductReviewResponses, type EmailDelivery, type EraseCustomerReviewsData, type EraseCustomerReviewsError, type EraseCustomerReviewsErrors, type EraseCustomerReviewsResponse, type EraseCustomerReviewsResponses, type Error, type EventDeliveriesList, type EventDelivery, type EventDestination, type EventDestinationSecret, type EventDestinationsList, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetAccountReviewsData, type GetAccountReviewsError, type GetAccountReviewsErrors, type GetAccountReviewsResponse, type GetAccountReviewsResponses, type GetAnalyticsBrowsersData, type GetAnalyticsBrowsersErrors, type GetAnalyticsBrowsersResponse, type GetAnalyticsBrowsersResponses, type GetAnalyticsCampaignsData, type GetAnalyticsCampaignsErrors, type GetAnalyticsCampaignsResponse, type GetAnalyticsCampaignsResponses, type GetAnalyticsChannelsData, type GetAnalyticsChannelsErrors, type GetAnalyticsChannelsResponse, type GetAnalyticsChannelsResponses, type GetAnalyticsCitiesData, type GetAnalyticsCitiesErrors, type GetAnalyticsCitiesResponse, type GetAnalyticsCitiesResponses, type GetAnalyticsConversionsData, type GetAnalyticsConversionsErrors, type GetAnalyticsConversionsResponse, type GetAnalyticsConversionsResponses, type GetAnalyticsCountriesData, type GetAnalyticsCountriesErrors, type GetAnalyticsCountriesResponse, type GetAnalyticsCountriesResponses, type GetAnalyticsDevicesData, type GetAnalyticsDevicesErrors, type GetAnalyticsDevicesResponse, type GetAnalyticsDevicesResponses, type GetAnalyticsEntryPagesData, type GetAnalyticsEntryPagesErrors, type GetAnalyticsEntryPagesResponse, type GetAnalyticsEntryPagesResponses, type GetAnalyticsExitPagesData, type GetAnalyticsExitPagesErrors, type GetAnalyticsExitPagesResponse, type GetAnalyticsExitPagesResponses, type GetAnalyticsFunnelReportData, type GetAnalyticsFunnelReportErrors, type GetAnalyticsFunnelReportResponse, type GetAnalyticsFunnelReportResponses, type GetAnalyticsOperatingSystemsData, type GetAnalyticsOperatingSystemsErrors, type GetAnalyticsOperatingSystemsResponse, type GetAnalyticsOperatingSystemsResponses, type GetAnalyticsPagesData, type GetAnalyticsPagesErrors, type GetAnalyticsPagesResponse, type GetAnalyticsPagesResponses, type GetAnalyticsRealtimeData, type GetAnalyticsRealtimeErrors, type GetAnalyticsRealtimeResponse, type GetAnalyticsRealtimeResponses, type GetAnalyticsRegionsData, type GetAnalyticsRegionsErrors, type GetAnalyticsRegionsResponse, type GetAnalyticsRegionsResponses, type GetAnalyticsSourcesData, type GetAnalyticsSourcesErrors, type GetAnalyticsSourcesResponse, type GetAnalyticsSourcesResponses, type GetAnalyticsStatusData, type GetAnalyticsStatusErrors, type GetAnalyticsStatusResponse, type GetAnalyticsStatusResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetAnalyticsTimeseriesData, type GetAnalyticsTimeseriesErrors, type GetAnalyticsTimeseriesResponse, type GetAnalyticsTimeseriesResponses, type GetAnalyticsUtmCampaignData, type GetAnalyticsUtmCampaignErrors, type GetAnalyticsUtmCampaignResponse, type GetAnalyticsUtmCampaignResponses, type GetAnalyticsUtmContentData, type GetAnalyticsUtmContentErrors, type GetAnalyticsUtmContentResponse, type GetAnalyticsUtmContentResponses, type GetAnalyticsUtmMediumData, type GetAnalyticsUtmMediumErrors, type GetAnalyticsUtmMediumResponse, type GetAnalyticsUtmMediumResponses, type GetAnalyticsUtmSourceData, type GetAnalyticsUtmSourceErrors, type GetAnalyticsUtmSourceResponse, type GetAnalyticsUtmSourceResponses, type GetAnalyticsUtmTermData, type GetAnalyticsUtmTermErrors, type GetAnalyticsUtmTermResponse, type GetAnalyticsUtmTermResponses, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetConsentConfigWithSiteTokenData, type GetConsentConfigWithSiteTokenError, type GetConsentConfigWithSiteTokenErrors, type GetConsentConfigWithSiteTokenResponse, type GetConsentConfigWithSiteTokenResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetEventDestinationData, type GetEventDestinationError, type GetEventDestinationErrors, type GetEventDestinationResponse, type GetEventDestinationResponses, type GetEventDestinationSecretData, type GetEventDestinationSecretError, type GetEventDestinationSecretErrors, type GetEventDestinationSecretResponse, type GetEventDestinationSecretResponses, type GetEventDestinationSecretWithSiteTokenData, type GetEventDestinationSecretWithSiteTokenError, type GetEventDestinationSecretWithSiteTokenErrors, type GetEventDestinationSecretWithSiteTokenResponse, type GetEventDestinationSecretWithSiteTokenResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoError, type GetGeoErrors, type GetGeoResponse, type GetGeoResponses, type GetInvoiceData, type GetInvoiceError, type GetInvoiceErrors, type GetInvoicePreviewData, type GetInvoicePreviewError, type GetInvoicePreviewErrors, type GetInvoicePreviewResponse, type GetInvoicePreviewResponses, type GetInvoiceResponse, type GetInvoiceResponses, type GetInvoiceSettingsData, type GetInvoiceSettingsError, type GetInvoiceSettingsErrors, type GetInvoiceSettingsResponse, type GetInvoiceSettingsResponses, type GetInvoiceSettingsWithSiteTokenData, type GetInvoiceSettingsWithSiteTokenError, type GetInvoiceSettingsWithSiteTokenErrors, type GetInvoiceSettingsWithSiteTokenResponse, type GetInvoiceSettingsWithSiteTokenResponses, type GetMerchantReviewData, type GetMerchantReviewError, type GetMerchantReviewErrors, type GetMerchantReviewResponse, type GetMerchantReviewResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetOwnProductReviewData, type GetOwnProductReviewError, type GetOwnProductReviewErrors, type GetOwnProductReviewResponse, type GetOwnProductReviewResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetProductReviewAvailabilityData, type GetProductReviewAvailabilityError, type GetProductReviewAvailabilityErrors, type GetProductReviewAvailabilityResponse, type GetProductReviewAvailabilityResponses, type GetProductReviewsData, type GetProductReviewsError, type GetProductReviewsErrors, type GetProductReviewsResponse, type GetProductReviewsResponses, type GetPromoData, type GetPromoError, type GetPromoErrors, type GetPromoForSiteData, type GetPromoForSiteError, type GetPromoForSiteErrors, type GetPromoForSiteResponse, type GetPromoForSiteResponses, type GetPromoResponse, type GetPromoResponses, type GetPublicConsentPrefsData, type GetPublicConsentPrefsError, type GetPublicConsentPrefsErrors, type GetPublicConsentPrefsResponse, type GetPublicConsentPrefsResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetRetainerData, type GetRetainerError, type GetRetainerErrors, type GetRetainerResponse, type GetRetainerResponses, type GetReviewSettingsData, type GetReviewSettingsError, type GetReviewSettingsErrors, type GetReviewSettingsResponse, type GetReviewSettingsResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteAnalyticsData, type GetSiteAnalyticsError, type GetSiteAnalyticsErrors, type GetSiteAnalyticsResponse, type GetSiteAnalyticsResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceError, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, type InvoiceSiteBody, type InvoicesList, type ListAnalyticsFunnelsData, type ListAnalyticsFunnelsErrors, type ListAnalyticsFunnelsResponse, type ListAnalyticsFunnelsResponses, type ListAnalyticsGoalsData, type ListAnalyticsGoalsErrors, type ListAnalyticsGoalsResponse, type ListAnalyticsGoalsResponses, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListEventDeliveriesData, type ListEventDeliveriesError, type ListEventDeliveriesErrors, type ListEventDeliveriesResponse, type ListEventDeliveriesResponses, type ListEventDeliveriesWithSiteTokenData, type ListEventDeliveriesWithSiteTokenError, type ListEventDeliveriesWithSiteTokenErrors, type ListEventDeliveriesWithSiteTokenResponse, type ListEventDeliveriesWithSiteTokenResponses, type ListEventDestinationsData, type ListEventDestinationsError, type ListEventDestinationsErrors, type ListEventDestinationsResponse, type ListEventDestinationsResponses, type ListEventDestinationsWithSiteTokenData, type ListEventDestinationsWithSiteTokenError, type ListEventDestinationsWithSiteTokenErrors, type ListEventDestinationsWithSiteTokenResponse, type ListEventDestinationsWithSiteTokenResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListMerchantReviewsData, type ListMerchantReviewsError, type ListMerchantReviewsErrors, type ListMerchantReviewsResponse, type ListMerchantReviewsResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListPromosData, type ListPromosError, type ListPromosErrors, type ListPromosForSiteData, type ListPromosForSiteError, type ListPromosForSiteErrors, type ListPromosForSiteResponse, type ListPromosForSiteResponses, type ListPromosResponse, type ListPromosResponses, type ListRetainersData, type ListRetainersError, type ListRetainersErrors, type ListRetainersResponse, type ListRetainersResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type MarkInvoicePaid, type MarkInvoicePaidData, type MarkInvoicePaidError, type MarkInvoicePaidErrors, type MarkInvoicePaidResponse, type MarkInvoicePaidResponses, type MarkInvoicePaidResult, type MarkInvoiceUncollectibleData, type MarkInvoiceUncollectibleError, type MarkInvoiceUncollectibleErrors, type MarkInvoiceUncollectibleResponse, type MarkInvoiceUncollectibleResponses, type ModerateMerchantReviewData, type ModerateMerchantReviewError, type ModerateMerchantReviewErrors, type ModerateMerchantReviewResponse, type ModerateMerchantReviewResponses, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type OwnProductReview, type PauseRetainerData, type PauseRetainerError, type PauseRetainerErrors, type PauseRetainerResponse, type PauseRetainerResponses, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewInvoice, type PreviewInvoiceData, type PreviewInvoiceError, type PreviewInvoiceErrors, type PreviewInvoiceResponse, type PreviewInvoiceResponses, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductReview, type ProductSubscriptionConfig, type ProductsList, type Promo, type PromoError, type PromosList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type PurgeSiteReviewsData, type PurgeSiteReviewsError, type PurgeSiteReviewsErrors, type PurgeSiteReviewsResponse, type PurgeSiteReviewsResponses, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type RecipientCooldownError, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ReissueResult, type RemindInvoiceData, type RemindInvoiceError, type RemindInvoiceErrors, type RemindInvoiceResponse, type RemindInvoiceResponses, type RemindInvoiceResult, type ReplacePromoData, type ReplacePromoError, type ReplacePromoErrors, type ReplacePromoForSiteData, type ReplacePromoForSiteError, type ReplacePromoForSiteErrors, type ReplacePromoForSiteResponse, type ReplacePromoForSiteResponses, type ReplacePromoResponse, type ReplacePromoResponses, type ReplyToMerchantReviewData, type ReplyToMerchantReviewError, type ReplyToMerchantReviewErrors, type ReplyToMerchantReviewResponse, type ReplyToMerchantReviewResponses, type ResendInvoiceData, type ResendInvoiceError, type ResendInvoiceErrors, type ResendInvoiceResponse, type ResendInvoiceResponses, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type ResubmitProductReviewData, type ResubmitProductReviewError, type ResubmitProductReviewErrors, type ResubmitProductReviewResponse, type ResubmitProductReviewResponses, type ResumeRetainerData, type ResumeRetainerError, type ResumeRetainerErrors, type ResumeRetainerResponse, type ResumeRetainerResponses, type Retainer, type RetainerError, type RetainerSiteBody, type RetainersList, type RetryEventDeliveryData, type RetryEventDeliveryError, type RetryEventDeliveryErrors, type RetryEventDeliveryResponse, type RetryEventDeliveryResponses, type RetryEventDeliveryWithSiteTokenData, type RetryEventDeliveryWithSiteTokenError, type RetryEventDeliveryWithSiteTokenErrors, type RetryEventDeliveryWithSiteTokenResponse, type RetryEventDeliveryWithSiteTokenResponses, type ReviewReadiness, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type RotateEventDestinationSecretData, type RotateEventDestinationSecretError, type RotateEventDestinationSecretErrors, type RotateEventDestinationSecretResponse, type RotateEventDestinationSecretResponses, type RotateEventDestinationSecretWithSiteTokenData, type RotateEventDestinationSecretWithSiteTokenError, type RotateEventDestinationSecretWithSiteTokenErrors, type RotateEventDestinationSecretWithSiteTokenResponse, type RotateEventDestinationSecretWithSiteTokenResponses, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetInvoiceReminders, type SetInvoiceRemindersData, type SetInvoiceRemindersError, type SetInvoiceRemindersErrors, type SetInvoiceRemindersResponse, type SetInvoiceRemindersResponses, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteAnalytics, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type SkipNextRetainerCycleData, type SkipNextRetainerCycleError, type SkipNextRetainerCycleErrors, type SkipNextRetainerCycleResponse, type SkipNextRetainerCycleResponses, type SnoozeInvoice, type SnoozeInvoiceData, type SnoozeInvoiceError, type SnoozeInvoiceErrors, type SnoozeInvoiceResponse, type SnoozeInvoiceResponses, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateAnalyticsFunnelData, type UpdateAnalyticsFunnelErrors, type UpdateAnalyticsFunnelResponse, type UpdateAnalyticsFunnelResponses, type UpdateAnalyticsGoalData, type UpdateAnalyticsGoalErrors, type UpdateAnalyticsGoalResponse, type UpdateAnalyticsGoalResponses, type UpdateCustomer, type UpdateCustomerBilling, type UpdateCustomerBillingData, type UpdateCustomerBillingError, type UpdateCustomerBillingErrors, type UpdateCustomerBillingResponse, type UpdateCustomerBillingResponses, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateEventDestination, type UpdateEventDestinationData, type UpdateEventDestinationError, type UpdateEventDestinationErrors, type UpdateEventDestinationResponse, type UpdateEventDestinationResponses, type UpdateEventDestinationWithSiteTokenData, type UpdateEventDestinationWithSiteTokenError, type UpdateEventDestinationWithSiteTokenErrors, type UpdateEventDestinationWithSiteTokenResponse, type UpdateEventDestinationWithSiteTokenResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateInvoiceRecipient, type UpdateInvoiceRecipientData, type UpdateInvoiceRecipientError, type UpdateInvoiceRecipientErrors, type UpdateInvoiceRecipientResponse, type UpdateInvoiceRecipientResponses, type UpdateInvoiceSettings, type UpdateInvoiceSettingsData, type UpdateInvoiceSettingsError, type UpdateInvoiceSettingsErrors, type UpdateInvoiceSettingsResponse, type UpdateInvoiceSettingsResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateRecipientResult, type UpdateRetainer, type UpdateRetainerData, type UpdateRetainerError, type UpdateRetainerErrors, type UpdateRetainerResponse, type UpdateRetainerResponses, type UpdateReviewSettingsData, type UpdateReviewSettingsError, type UpdateReviewSettingsErrors, type UpdateReviewSettingsResponse, type UpdateReviewSettingsResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteAnalytics, type UpdateSiteAnalyticsData, type UpdateSiteAnalyticsError, type UpdateSiteAnalyticsErrors, type UpdateSiteAnalyticsResponse, type UpdateSiteAnalyticsResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSiteInvoicing, type UpdateSiteInvoicingData, type UpdateSiteInvoicingError, type UpdateSiteInvoicingErrors, type UpdateSiteInvoicingResponse, type UpdateSiteInvoicingResponses, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type UpsertConsentConfig, type UpsertConsentConfigWithSiteTokenData, type UpsertConsentConfigWithSiteTokenError, type UpsertConsentConfigWithSiteTokenErrors, type UpsertConsentConfigWithSiteTokenResponse, type UpsertConsentConfigWithSiteTokenResponses, type Variant, type VariantOptionValue, type VoidInvoice, type VoidInvoiceData, type VoidInvoiceError, type VoidInvoiceErrors, type VoidInvoiceResponse, type VoidInvoiceResponses, type VoidInvoiceResult, type WebhookEventResetResult, type WithdrawProductReviewData, type WithdrawProductReviewError, type WithdrawProductReviewErrors, type WithdrawProductReviewResponse, type WithdrawProductReviewResponses, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelRetainer, cancelSubscription, createAnalyticsFunnel, createAnalyticsGoal, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createEventDestination, createEventDestinationWithSiteToken, createForm, createFormWithSiteToken, createInvoice, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductReview, createProductWithSiteToken, createPromo, createPromoForSite, createRetainer, createSite, createTestOrder, createTestSubscription, createVariant, deleteAnalyticsFunnel, deleteAnalyticsGoal, deleteEventDestination, deleteEventDestinationWithSiteToken, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, disablePromo, disablePromoForSite, downloadAttachment, downloadFile, editProductReview, eraseCustomerReviews, generateVariants, getAccountReviews, getAnalyticsBrowsers, getAnalyticsCampaigns, getAnalyticsChannels, getAnalyticsCities, getAnalyticsConversions, getAnalyticsCountries, getAnalyticsDevices, getAnalyticsEntryPages, getAnalyticsExitPages, getAnalyticsFunnelReport, getAnalyticsOperatingSystems, getAnalyticsPages, getAnalyticsRealtime, getAnalyticsRegions, getAnalyticsSources, getAnalyticsStatus, getAnalyticsSummary, getAnalyticsTimeseries, getAnalyticsUtmCampaign, getAnalyticsUtmContent, getAnalyticsUtmMedium, getAnalyticsUtmSource, getAnalyticsUtmTerm, getBusinessSummary, getCartSummary, getConsentConfigWithSiteToken, getCustomer, getEventDestination, getEventDestinationSecret, getEventDestinationSecretWithSiteToken, getForm, getGeo, getInvoice, getInvoicePreview, getInvoiceSettings, getInvoiceSettingsWithSiteToken, getMerchantReview, getNextPayout, getOrder, getOrderSession, getOwnProductReview, getPaymentsStatus, getPerson, getProduct, getProductReviewAvailability, getProductReviews, getPromo, getPromoForSite, getPublicConsentPrefs, getPublicProduct, getRetainer, getReviewSettings, getSalesSummary, getSite, getSiteAnalytics, getSiteCheckoutPause, getSubmission, listAnalyticsFunnels, listAnalyticsGoals, listCustomers, listEventDeliveries, listEventDeliveriesWithSiteToken, listEventDestinations, listEventDestinationsWithSiteToken, listForms, listFormsWithSiteToken, listInvoices, listMerchantReviews, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listPromos, listPromosForSite, listRetainers, listSites, listSubmissions, listSubscriptions, markInvoicePaid, markInvoiceUncollectible, moderateMerchantReview, pauseRetainer, pauseSiteCheckout, previewInvoice, purgeSiteReviews, reactivateSiteSubscriptionsTeardown, refundOrder, remindInvoice, replacePromo, replacePromoForSite, replyToMerchantReview, resendInvoice, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, resubmitProductReview, resumeRetainer, retryEventDelivery, retryEventDeliveryWithSiteToken, revokeCustomerAccess, rotateEventDestinationSecret, rotateEventDestinationSecretWithSiteToken, setInvoiceReminders, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, skipNextRetainerCycle, snoozeInvoice, teardownSiteSubscriptions, updateAnalyticsFunnel, updateAnalyticsGoal, updateCustomer, updateCustomerBilling, updateEventDestination, updateEventDestinationWithSiteToken, updateForm, updateInvoiceRecipient, updateInvoiceSettings, updateOption, updateProduct, updateRetainer, updateReviewSettings, updateSite, updateSiteAccountRoute, updateSiteAnalytics, updateSiteDomains, updateSiteInvoicing, updateSitePayments, updateVariant, upsertConsentConfigWithSiteToken, voidInvoice, withdrawProductReview };
11925
+ export { type AccountCancelSubscriptionData, type AccountCancelSubscriptionError, type AccountCancelSubscriptionErrors, type AccountCancelSubscriptionResponse, type AccountCancelSubscriptionResponses, type AccountCreatePortalSessionData, type AccountCreatePortalSessionError, type AccountCreatePortalSessionErrors, type AccountCreatePortalSessionResponse, type AccountCreatePortalSessionResponses, type AccountLoginData, type AccountLoginError, type AccountLoginErrors, type AccountLoginRequest, type AccountLoginResponse, type AccountLoginResponses, type AccountLoginResult, type AccountLogoutData, type AccountLogoutError, type AccountLogoutErrors, type AccountLogoutResponse, type AccountLogoutResponses, type AccountLogoutResult, type AccountManageCancelData, type AccountManageCancelError, type AccountManageCancelErrors, type AccountManageCancelResponse, type AccountManageCancelResponses, type AccountManageGetSubscriptionData, type AccountManageGetSubscriptionError, type AccountManageGetSubscriptionErrors, type AccountManageGetSubscriptionResponse, type AccountManageGetSubscriptionResponses, type AccountManagePortalSessionData, type AccountManagePortalSessionError, type AccountManagePortalSessionErrors, type AccountManagePortalSessionResponse, type AccountManagePortalSessionResponses, type AccountManageVerifyData, type AccountManageVerifyError, type AccountManageVerifyErrors, type AccountManageVerifyResponse, type AccountManageVerifyResponses, type AccountMeData, type AccountMeError, type AccountMeErrors, type AccountMeResponse, type AccountMeResponses, type AccountMeResult, type AccountReactivateSubscriptionData, type AccountReactivateSubscriptionError, type AccountReactivateSubscriptionErrors, type AccountReactivateSubscriptionResponse, type AccountReactivateSubscriptionResponses, type AccountSubscribeData, type AccountSubscribeError, type AccountSubscribeErrors, type AccountSubscribeRequest, type AccountSubscribeResponse, type AccountSubscribeResponses, type AccountUpdateSubscriptionAddressData, type AccountUpdateSubscriptionAddressError, type AccountUpdateSubscriptionAddressErrors, type AccountUpdateSubscriptionAddressResponse, type AccountUpdateSubscriptionAddressResponses, type AccountVerifyData, type AccountVerifyError, type AccountVerifyErrors, type AccountVerifyRequest, type AccountVerifyResponse, type AccountVerifyResponses, type AccountVerifyResult, type ActOnManageLinkData, type ActOnManageLinkError, type ActOnManageLinkErrors, type ActOnManageLinkResponse, type ActOnManageLinkResponses, type AdjustInventory, type AdjustVariantInventoryData, type AdjustVariantInventoryError, type AdjustVariantInventoryErrors, type AdjustVariantInventoryResponse, type AdjustVariantInventoryResponses, type AnalyticsBreakdown, type AnalyticsChannels, type AnalyticsFunnel, type AnalyticsFunnelInput, type AnalyticsFunnelPatch, type AnalyticsFunnelStepInput, type AnalyticsGoal, type AnalyticsGoalInput, type AnalyticsGoalList, type AnalyticsRealtime, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsTimeseries, type AttachProductFileData, type AttachProductFileError, type AttachProductFileErrors, type AttachProductFileFromUrl, type AttachProductFileMultipart, type AttachProductFileResponse, type AttachProductFileResponses, type Attachment, type BusinessSummary, type CancelRetainerData, type CancelRetainerError, type CancelRetainerErrors, type CancelRetainerResponse, type CancelRetainerResponses, type CancelSubscriptionData, type CancelSubscriptionErrors, type CancelSubscriptionResponse, type CancelSubscriptionResponses, type CartCheckoutRequest, type CartConflict, type CartConflictItem, type CartSummaryRequest, type CartSummaryResult, type ChangedField, type CheckoutPauseRequest, type CheckoutPauseState, type CheckoutRequest, type CheckoutResult, type Client, type ClientOptions$1 as ClientConfig, type ClientOptions, type Config, type ConsentConfig, type ConsentConfigResult, type ConsentPrefs, type CreateAnalyticsFunnelData, type CreateAnalyticsFunnelErrors, type CreateAnalyticsFunnelResponse, type CreateAnalyticsFunnelResponses, type CreateAnalyticsGoalData, type CreateAnalyticsGoalErrors, type CreateAnalyticsGoalResponse, type CreateAnalyticsGoalResponses, type CreateCartCheckoutData, type CreateCartCheckoutError, type CreateCartCheckoutErrors, type CreateCartCheckoutResponse, type CreateCartCheckoutResponses, type CreateCheckoutData, type CreateCheckoutError, type CreateCheckoutErrors, type CreateCheckoutResponse, type CreateCheckoutResponses, type CreateCustomer, type CreateCustomerData, type CreateCustomerError, type CreateCustomerErrors, type CreateCustomerResponse, type CreateCustomerResponses, type CreateEventDestination, type CreateEventDestinationData, type CreateEventDestinationError, type CreateEventDestinationErrors, type CreateEventDestinationResponse, type CreateEventDestinationResponses, type CreateEventDestinationWithSiteTokenData, type CreateEventDestinationWithSiteTokenError, type CreateEventDestinationWithSiteTokenErrors, type CreateEventDestinationWithSiteTokenResponse, type CreateEventDestinationWithSiteTokenResponses, type CreateForm, type CreateFormData, type CreateFormError, type CreateFormErrors, type CreateFormResponse, type CreateFormResponses, type CreateFormWithSiteTokenData, type CreateFormWithSiteTokenError, type CreateFormWithSiteTokenErrors, type CreateFormWithSiteTokenResponse, type CreateFormWithSiteTokenResponses, type CreateInvoice, type CreateInvoiceData, type CreateInvoiceError, type CreateInvoiceErrors, type CreateInvoiceLine, type CreateInvoiceResponse, type CreateInvoiceResponses, type CreateInvoiceResult, type CreateMultiItemTestOrder, type CreateMultiItemTestOrderData, type CreateMultiItemTestOrderError, type CreateMultiItemTestOrderErrors, type CreateMultiItemTestOrderResponse, type CreateMultiItemTestOrderResponses, type CreateOption, type CreateOptionData, type CreateOptionError, type CreateOptionErrors, type CreateOptionResponse, type CreateOptionResponses, type CreatePreviewSession, type CreatePreviewSessionData, type CreatePreviewSessionError, type CreatePreviewSessionErrors, type CreatePreviewSessionResponse, type CreatePreviewSessionResponses, type CreateProduct, type CreateProductData, type CreateProductError, type CreateProductErrors, type CreateProductResponse, type CreateProductResponses, type CreateProductReviewData, type CreateProductReviewError, type CreateProductReviewErrors, type CreateProductReviewResponse, type CreateProductReviewResponses, type CreateProductWithSiteTokenData, type CreateProductWithSiteTokenError, type CreateProductWithSiteTokenErrors, type CreateProductWithSiteTokenResponse, type CreateProductWithSiteTokenResponses, type CreatePromo, type CreatePromoData, type CreatePromoError, type CreatePromoErrors, type CreatePromoForSiteData, type CreatePromoForSiteError, type CreatePromoForSiteErrors, type CreatePromoForSiteResponse, type CreatePromoForSiteResponses, type CreatePromoResponse, type CreatePromoResponses, type CreateRetainer, type CreateRetainerData, type CreateRetainerError, type CreateRetainerErrors, type CreateRetainerResponse, type CreateRetainerResponses, type CreateRetainerResult, type CreateSite, type CreateSiteData, type CreateSiteError, type CreateSiteErrors, type CreateSiteResponse, type CreateSiteResponses, type CreateTestOrder, type CreateTestOrderData, type CreateTestOrderError, type CreateTestOrderErrors, type CreateTestOrderResponse, type CreateTestOrderResponses, type CreateTestSubscription, type CreateTestSubscriptionData, type CreateTestSubscriptionError, type CreateTestSubscriptionErrors, type CreateTestSubscriptionResponse, type CreateTestSubscriptionResponses, type CreateVariant, type CreateVariantData, type CreateVariantError, type CreateVariantErrors, type CreateVariantResponse, type CreateVariantResponses, type CurrencyRestatement, type CurrencyTotals, type Customer, type CustomerAddress, type CustomerBilling, type CustomerDetail, type CustomersList, type DeleteAnalyticsFunnelData, type DeleteAnalyticsFunnelErrors, type DeleteAnalyticsFunnelResponse, type DeleteAnalyticsFunnelResponses, type DeleteAnalyticsGoalData, type DeleteAnalyticsGoalErrors, type DeleteAnalyticsGoalResponse, type DeleteAnalyticsGoalResponses, type DeleteEventDestinationData, type DeleteEventDestinationError, type DeleteEventDestinationErrors, type DeleteEventDestinationResponse, type DeleteEventDestinationResponses, type DeleteEventDestinationWithSiteTokenData, type DeleteEventDestinationWithSiteTokenError, type DeleteEventDestinationWithSiteTokenErrors, type DeleteEventDestinationWithSiteTokenResponse, type DeleteEventDestinationWithSiteTokenResponses, type DeleteFormData, type DeleteFormError, type DeleteFormErrors, type DeleteFormResponse, type DeleteFormResponses, type DeleteOptionData, type DeleteOptionError, type DeleteOptionErrors, type DeleteOptionResponse, type DeleteOptionResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteSiteData, type DeleteSiteError, type DeleteSiteErrors, type DeleteSiteResponse, type DeleteSiteResponses, type DeleteSubmissionData, type DeleteSubmissionError, type DeleteSubmissionErrors, type DeleteSubmissionResponse, type DeleteSubmissionResponses, type DeleteVariantData, type DeleteVariantError, type DeleteVariantErrors, type DeleteVariantResponse, type DeleteVariantResponses, type DisablePromoData, type DisablePromoError, type DisablePromoErrors, type DisablePromoForSiteData, type DisablePromoForSiteError, type DisablePromoForSiteErrors, type DisablePromoForSiteResponse, type DisablePromoForSiteResponses, type DisablePromoResponse, type DisablePromoResponses, type DownloadAttachmentData, type DownloadAttachmentError, type DownloadAttachmentErrors, type DownloadAttachmentResponses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EditProductReviewData, type EditProductReviewError, type EditProductReviewErrors, type EditProductReviewResponse, type EditProductReviewResponses, type EmailDelivery, type EraseCustomerReviewsData, type EraseCustomerReviewsError, type EraseCustomerReviewsErrors, type EraseCustomerReviewsResponse, type EraseCustomerReviewsResponses, type Error, type EventDeliveriesList, type EventDelivery, type EventDestination, type EventDestinationSecret, type EventDestinationsList, type Form, type FormsList, type GenerateVariants, type GenerateVariantsData, type GenerateVariantsError, type GenerateVariantsErrors, type GenerateVariantsResponse, type GenerateVariantsResponses, type GenerateVariantsResult, type GeoSuggestion, type GetAccountReviewsData, type GetAccountReviewsError, type GetAccountReviewsErrors, type GetAccountReviewsResponse, type GetAccountReviewsResponses, type GetAnalyticsBrowsersData, type GetAnalyticsBrowsersErrors, type GetAnalyticsBrowsersResponse, type GetAnalyticsBrowsersResponses, type GetAnalyticsCampaignsData, type GetAnalyticsCampaignsErrors, type GetAnalyticsCampaignsResponse, type GetAnalyticsCampaignsResponses, type GetAnalyticsChannelsData, type GetAnalyticsChannelsErrors, type GetAnalyticsChannelsResponse, type GetAnalyticsChannelsResponses, type GetAnalyticsCitiesData, type GetAnalyticsCitiesErrors, type GetAnalyticsCitiesResponse, type GetAnalyticsCitiesResponses, type GetAnalyticsConversionsData, type GetAnalyticsConversionsErrors, type GetAnalyticsConversionsResponse, type GetAnalyticsConversionsResponses, type GetAnalyticsCountriesData, type GetAnalyticsCountriesErrors, type GetAnalyticsCountriesResponse, type GetAnalyticsCountriesResponses, type GetAnalyticsDevicesData, type GetAnalyticsDevicesErrors, type GetAnalyticsDevicesResponse, type GetAnalyticsDevicesResponses, type GetAnalyticsEntryPagesData, type GetAnalyticsEntryPagesErrors, type GetAnalyticsEntryPagesResponse, type GetAnalyticsEntryPagesResponses, type GetAnalyticsExitPagesData, type GetAnalyticsExitPagesErrors, type GetAnalyticsExitPagesResponse, type GetAnalyticsExitPagesResponses, type GetAnalyticsFunnelReportData, type GetAnalyticsFunnelReportErrors, type GetAnalyticsFunnelReportResponse, type GetAnalyticsFunnelReportResponses, type GetAnalyticsGoalTargetsData, type GetAnalyticsGoalTargetsErrors, type GetAnalyticsGoalTargetsResponse, type GetAnalyticsGoalTargetsResponses, type GetAnalyticsOperatingSystemsData, type GetAnalyticsOperatingSystemsErrors, type GetAnalyticsOperatingSystemsResponse, type GetAnalyticsOperatingSystemsResponses, type GetAnalyticsPagesData, type GetAnalyticsPagesErrors, type GetAnalyticsPagesResponse, type GetAnalyticsPagesResponses, type GetAnalyticsRealtimeData, type GetAnalyticsRealtimeErrors, type GetAnalyticsRealtimeResponse, type GetAnalyticsRealtimeResponses, type GetAnalyticsRegionsData, type GetAnalyticsRegionsErrors, type GetAnalyticsRegionsResponse, type GetAnalyticsRegionsResponses, type GetAnalyticsSourcesData, type GetAnalyticsSourcesErrors, type GetAnalyticsSourcesResponse, type GetAnalyticsSourcesResponses, type GetAnalyticsStatusData, type GetAnalyticsStatusErrors, type GetAnalyticsStatusResponse, type GetAnalyticsStatusResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetAnalyticsTimeseriesData, type GetAnalyticsTimeseriesErrors, type GetAnalyticsTimeseriesResponse, type GetAnalyticsTimeseriesResponses, type GetAnalyticsUtmCampaignData, type GetAnalyticsUtmCampaignErrors, type GetAnalyticsUtmCampaignResponse, type GetAnalyticsUtmCampaignResponses, type GetAnalyticsUtmContentData, type GetAnalyticsUtmContentErrors, type GetAnalyticsUtmContentResponse, type GetAnalyticsUtmContentResponses, type GetAnalyticsUtmMediumData, type GetAnalyticsUtmMediumErrors, type GetAnalyticsUtmMediumResponse, type GetAnalyticsUtmMediumResponses, type GetAnalyticsUtmSourceData, type GetAnalyticsUtmSourceErrors, type GetAnalyticsUtmSourceResponse, type GetAnalyticsUtmSourceResponses, type GetAnalyticsUtmTermData, type GetAnalyticsUtmTermErrors, type GetAnalyticsUtmTermResponse, type GetAnalyticsUtmTermResponses, type GetBusinessSummaryData, type GetBusinessSummaryErrors, type GetBusinessSummaryResponse, type GetBusinessSummaryResponses, type GetCartSummaryData, type GetCartSummaryError, type GetCartSummaryErrors, type GetCartSummaryResponse, type GetCartSummaryResponses, type GetConsentConfigWithSiteTokenData, type GetConsentConfigWithSiteTokenError, type GetConsentConfigWithSiteTokenErrors, type GetConsentConfigWithSiteTokenResponse, type GetConsentConfigWithSiteTokenResponses, type GetCustomerData, type GetCustomerError, type GetCustomerErrors, type GetCustomerResponse, type GetCustomerResponses, type GetEventDestinationData, type GetEventDestinationError, type GetEventDestinationErrors, type GetEventDestinationResponse, type GetEventDestinationResponses, type GetEventDestinationSecretData, type GetEventDestinationSecretError, type GetEventDestinationSecretErrors, type GetEventDestinationSecretResponse, type GetEventDestinationSecretResponses, type GetEventDestinationSecretWithSiteTokenData, type GetEventDestinationSecretWithSiteTokenError, type GetEventDestinationSecretWithSiteTokenErrors, type GetEventDestinationSecretWithSiteTokenResponse, type GetEventDestinationSecretWithSiteTokenResponses, type GetFormData, type GetFormError, type GetFormErrors, type GetFormResponse, type GetFormResponses, type GetGeoData, type GetGeoError, type GetGeoErrors, type GetGeoResponse, type GetGeoResponses, type GetInvoiceData, type GetInvoiceError, type GetInvoiceErrors, type GetInvoicePreviewData, type GetInvoicePreviewError, type GetInvoicePreviewErrors, type GetInvoicePreviewResponse, type GetInvoicePreviewResponses, type GetInvoiceResponse, type GetInvoiceResponses, type GetInvoiceSettingsData, type GetInvoiceSettingsError, type GetInvoiceSettingsErrors, type GetInvoiceSettingsResponse, type GetInvoiceSettingsResponses, type GetInvoiceSettingsWithSiteTokenData, type GetInvoiceSettingsWithSiteTokenError, type GetInvoiceSettingsWithSiteTokenErrors, type GetInvoiceSettingsWithSiteTokenResponse, type GetInvoiceSettingsWithSiteTokenResponses, type GetMerchantReviewData, type GetMerchantReviewError, type GetMerchantReviewErrors, type GetMerchantReviewResponse, type GetMerchantReviewResponses, type GetNextPayoutData, type GetNextPayoutErrors, type GetNextPayoutResponse, type GetNextPayoutResponses, type GetOrderData, type GetOrderError, type GetOrderErrors, type GetOrderResponse, type GetOrderResponses, type GetOrderSessionData, type GetOrderSessionError, type GetOrderSessionErrors, type GetOrderSessionResponse, type GetOrderSessionResponses, type GetOwnProductReviewData, type GetOwnProductReviewError, type GetOwnProductReviewErrors, type GetOwnProductReviewResponse, type GetOwnProductReviewResponses, type GetPaymentsStatusData, type GetPaymentsStatusError, type GetPaymentsStatusErrors, type GetPaymentsStatusResponse, type GetPaymentsStatusResponses, type GetPersonData, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductResponse, type GetProductResponses, type GetProductReviewAvailabilityData, type GetProductReviewAvailabilityError, type GetProductReviewAvailabilityErrors, type GetProductReviewAvailabilityResponse, type GetProductReviewAvailabilityResponses, type GetProductReviewsData, type GetProductReviewsError, type GetProductReviewsErrors, type GetProductReviewsResponse, type GetProductReviewsResponses, type GetPromoData, type GetPromoError, type GetPromoErrors, type GetPromoForSiteData, type GetPromoForSiteError, type GetPromoForSiteErrors, type GetPromoForSiteResponse, type GetPromoForSiteResponses, type GetPromoResponse, type GetPromoResponses, type GetPublicConsentPrefsData, type GetPublicConsentPrefsError, type GetPublicConsentPrefsErrors, type GetPublicConsentPrefsResponse, type GetPublicConsentPrefsResponses, type GetPublicProductData, type GetPublicProductError, type GetPublicProductErrors, type GetPublicProductResponse, type GetPublicProductResponses, type GetRetainerData, type GetRetainerError, type GetRetainerErrors, type GetRetainerResponse, type GetRetainerResponses, type GetReviewSettingsData, type GetReviewSettingsError, type GetReviewSettingsErrors, type GetReviewSettingsResponse, type GetReviewSettingsResponses, type GetSalesSummaryData, type GetSalesSummaryErrors, type GetSalesSummaryResponse, type GetSalesSummaryResponses, type GetSiteAnalyticsData, type GetSiteAnalyticsError, type GetSiteAnalyticsErrors, type GetSiteAnalyticsResponse, type GetSiteAnalyticsResponses, type GetSiteCheckoutPauseData, type GetSiteCheckoutPauseError, type GetSiteCheckoutPauseErrors, type GetSiteCheckoutPauseResponse, type GetSiteCheckoutPauseResponses, type GetSiteData, type GetSiteError, type GetSiteErrors, type GetSiteResponse, type GetSiteResponses, type GetSubmissionData, type GetSubmissionError, type GetSubmissionErrors, type GetSubmissionResponse, type GetSubmissionResponses, type Inventory, type InventoryInput, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceError, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, type InvoiceSiteBody, type InvoicesList, type ListAnalyticsFunnelsData, type ListAnalyticsFunnelsErrors, type ListAnalyticsFunnelsResponse, type ListAnalyticsFunnelsResponses, type ListAnalyticsGoalsData, type ListAnalyticsGoalsErrors, type ListAnalyticsGoalsResponse, type ListAnalyticsGoalsResponses, type ListCustomersData, type ListCustomersError, type ListCustomersErrors, type ListCustomersResponse, type ListCustomersResponses, type ListEventDeliveriesData, type ListEventDeliveriesError, type ListEventDeliveriesErrors, type ListEventDeliveriesResponse, type ListEventDeliveriesResponses, type ListEventDeliveriesWithSiteTokenData, type ListEventDeliveriesWithSiteTokenError, type ListEventDeliveriesWithSiteTokenErrors, type ListEventDeliveriesWithSiteTokenResponse, type ListEventDeliveriesWithSiteTokenResponses, type ListEventDestinationsData, type ListEventDestinationsError, type ListEventDestinationsErrors, type ListEventDestinationsResponse, type ListEventDestinationsResponses, type ListEventDestinationsWithSiteTokenData, type ListEventDestinationsWithSiteTokenError, type ListEventDestinationsWithSiteTokenErrors, type ListEventDestinationsWithSiteTokenResponse, type ListEventDestinationsWithSiteTokenResponses, type ListFormsData, type ListFormsError, type ListFormsErrors, type ListFormsResponse, type ListFormsResponses, type ListFormsWithSiteTokenData, type ListFormsWithSiteTokenError, type ListFormsWithSiteTokenErrors, type ListFormsWithSiteTokenResponse, type ListFormsWithSiteTokenResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListMerchantReviewsData, type ListMerchantReviewsError, type ListMerchantReviewsErrors, type ListMerchantReviewsResponse, type ListMerchantReviewsResponses, type ListOrdersWithSiteTokenData, type ListOrdersWithSiteTokenError, type ListOrdersWithSiteTokenErrors, type ListOrdersWithSiteTokenResponse, type ListOrdersWithSiteTokenResponses, type ListPeopleData, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListProductsWithSiteTokenData, type ListProductsWithSiteTokenError, type ListProductsWithSiteTokenErrors, type ListProductsWithSiteTokenResponse, type ListProductsWithSiteTokenResponses, type ListPromosData, type ListPromosError, type ListPromosErrors, type ListPromosForSiteData, type ListPromosForSiteError, type ListPromosForSiteErrors, type ListPromosForSiteResponse, type ListPromosForSiteResponses, type ListPromosResponse, type ListPromosResponses, type ListRetainersData, type ListRetainersError, type ListRetainersErrors, type ListRetainersResponse, type ListRetainersResponses, type ListSitesData, type ListSitesError, type ListSitesErrors, type ListSitesResponse, type ListSitesResponses, type ListSubmissionsData, type ListSubmissionsError, type ListSubmissionsErrors, type ListSubmissionsResponse, type ListSubmissionsResponses, type ListSubscriptionsData, type ListSubscriptionsErrors, type ListSubscriptionsResponse, type ListSubscriptionsResponses, type ManageCancelResult, type ManageLinkAction, type ManageVerifyRequest, type ManageVerifyResult, type ManagedSubscription, type ManagedSubscriptionResult, type MarkInvoicePaid, type MarkInvoicePaidData, type MarkInvoicePaidError, type MarkInvoicePaidErrors, type MarkInvoicePaidResponse, type MarkInvoicePaidResponses, type MarkInvoicePaidResult, type MarkInvoiceUncollectibleData, type MarkInvoiceUncollectibleError, type MarkInvoiceUncollectibleErrors, type MarkInvoiceUncollectibleResponse, type MarkInvoiceUncollectibleResponses, type ModerateMerchantReviewData, type ModerateMerchantReviewError, type ModerateMerchantReviewErrors, type ModerateMerchantReviewResponse, type ModerateMerchantReviewResponses, type NeedsAttentionItem, type NestedOptionInput, type NestedVariantInput, type NextPayout, type Option, type Options, type Order, type OrderCustomer, type OrderFulfillmentRequest, type OrderSessionStatus, type OrdersList, type OwnProductReview, type PauseRetainerData, type PauseRetainerError, type PauseRetainerErrors, type PauseRetainerResponse, type PauseRetainerResponses, type PauseSiteCheckoutData, type PauseSiteCheckoutError, type PauseSiteCheckoutErrors, type PauseSiteCheckoutResponse, type PauseSiteCheckoutResponses, type PaymentsStatus, type PeopleList, type PersonDetail, type PersonRow, type PortalSessionResult, type PreviewInvoice, type PreviewInvoiceData, type PreviewInvoiceError, type PreviewInvoiceErrors, type PreviewInvoiceResponse, type PreviewInvoiceResponses, type PreviewSessionResult, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentInput, type ProductReview, type ProductSubscriptionConfig, type ProductsList, type Promo, type PromoError, type PromosList, type PublicOption, type PublicProduct, type PublicSubscription, type PublicSubscriptionPlan, type PublicVariant, type PurgeSiteReviewsData, type PurgeSiteReviewsError, type PurgeSiteReviewsErrors, type PurgeSiteReviewsResponse, type PurgeSiteReviewsResponses, type ReactivateSiteSubscriptionsTeardownData, type ReactivateSiteSubscriptionsTeardownError, type ReactivateSiteSubscriptionsTeardownErrors, type ReactivateSiteSubscriptionsTeardownResponse, type ReactivateSiteSubscriptionsTeardownResponses, type RecipientCooldownError, type ReconcileOptionInput, type ReconcileOptionValueInput, type ReconcileVariantInput, type RefundOrder, type RefundOrderData, type RefundOrderError, type RefundOrderErrors, type RefundOrderResponse, type RefundOrderResponses, type RefundResult, type ReissueResult, type RemindInvoiceData, type RemindInvoiceError, type RemindInvoiceErrors, type RemindInvoiceResponse, type RemindInvoiceResponses, type RemindInvoiceResult, type ReplacePromoData, type ReplacePromoError, type ReplacePromoErrors, type ReplacePromoForSiteData, type ReplacePromoForSiteError, type ReplacePromoForSiteErrors, type ReplacePromoForSiteResponse, type ReplacePromoForSiteResponses, type ReplacePromoResponse, type ReplacePromoResponses, type ReplyToMerchantReviewData, type ReplyToMerchantReviewError, type ReplyToMerchantReviewErrors, type ReplyToMerchantReviewResponse, type ReplyToMerchantReviewResponses, type ResendInvoiceData, type ResendInvoiceError, type ResendInvoiceErrors, type ResendInvoiceResponse, type ResendInvoiceResponses, type ResendOrderReceiptData, type ResendOrderReceiptError, type ResendOrderReceiptErrors, type ResendOrderReceiptResponse, type ResendOrderReceiptResponses, type ResendReceiptResult, type ResetOrderDownloadsData, type ResetOrderDownloadsError, type ResetOrderDownloadsErrors, type ResetOrderDownloadsResponse, type ResetOrderDownloadsResponses, type ResetWebhookEventData, type ResetWebhookEventError, type ResetWebhookEventErrors, type ResetWebhookEventResponse, type ResetWebhookEventResponses, type ResolveManageLinkData, type ResolveManageLinkError, type ResolveManageLinkErrors, type ResolveManageLinkResponse, type ResolveManageLinkResponses, type ResubmitProductReviewData, type ResubmitProductReviewError, type ResubmitProductReviewErrors, type ResubmitProductReviewResponse, type ResubmitProductReviewResponses, type ResumeRetainerData, type ResumeRetainerError, type ResumeRetainerErrors, type ResumeRetainerResponse, type ResumeRetainerResponses, type Retainer, type RetainerError, type RetainerSiteBody, type RetainersList, type RetryEventDeliveryData, type RetryEventDeliveryError, type RetryEventDeliveryErrors, type RetryEventDeliveryResponse, type RetryEventDeliveryResponses, type RetryEventDeliveryWithSiteTokenData, type RetryEventDeliveryWithSiteTokenError, type RetryEventDeliveryWithSiteTokenErrors, type RetryEventDeliveryWithSiteTokenResponse, type RetryEventDeliveryWithSiteTokenResponses, type ReviewReadiness, type RevokeCustomerAccessData, type RevokeCustomerAccessError, type RevokeCustomerAccessErrors, type RevokeCustomerAccessResponse, type RevokeCustomerAccessResponses, type RevokeCustomerAccessResult, type RotateEventDestinationSecretData, type RotateEventDestinationSecretError, type RotateEventDestinationSecretErrors, type RotateEventDestinationSecretResponse, type RotateEventDestinationSecretResponses, type RotateEventDestinationSecretWithSiteTokenData, type RotateEventDestinationSecretWithSiteTokenError, type RotateEventDestinationSecretWithSiteTokenErrors, type RotateEventDestinationSecretWithSiteTokenResponse, type RotateEventDestinationSecretWithSiteTokenResponses, type SalesSummary, type SalesSummaryProductRow, type SalesSummarySeriesEntry, type SetInventory, type SetInvoiceReminders, type SetInvoiceRemindersData, type SetInvoiceRemindersError, type SetInvoiceRemindersErrors, type SetInvoiceRemindersResponse, type SetInvoiceRemindersResponses, type SetOrderFulfillmentData, type SetOrderFulfillmentErrors, type SetOrderFulfillmentResponse, type SetOrderFulfillmentResponses, type SetProductSubscription, type SetProductSubscriptionData, type SetProductSubscriptionError, type SetProductSubscriptionErrors, type SetProductSubscriptionResponse, type SetProductSubscriptionResponses, type SetProductVariants, type SetProductVariantsConflict, type SetProductVariantsData, type SetProductVariantsError, type SetProductVariantsErrors, type SetProductVariantsResponse, type SetProductVariantsResponses, type SetProductVariantsResult, type SetVariantInventoryData, type SetVariantInventoryError, type SetVariantInventoryErrors, type SetVariantInventoryResponse, type SetVariantInventoryResponses, type SettledTotals, type ShippingOptionUnavailable, type ShippingRateInput, type Site, type SiteAccountRoute, type SiteAnalytics, type SiteDomains, type SitePayments, type SiteWithRestatement, type SiteWithToken, type SitesList, type SkipNextRetainerCycleData, type SkipNextRetainerCycleError, type SkipNextRetainerCycleErrors, type SkipNextRetainerCycleResponse, type SkipNextRetainerCycleResponses, type SnoozeInvoice, type SnoozeInvoiceData, type SnoozeInvoiceError, type SnoozeInvoiceErrors, type SnoozeInvoiceResponse, type SnoozeInvoiceResponses, type Submission, type SubmissionMetadata, type SubmissionsList, type SubscriberActionResult, type SubscriberSubscription, type SubscriptionPlan, type SubscriptionPlanInput, type SubscriptionSummary, type SubscriptionsList, type SubscriptionsReactivateBody, type SubscriptionsReactivateResult, type SubscriptionsTeardownBody, type SubscriptionsTeardownResult, type SummaryPeriod, type TeardownReason, type TeardownSiteSubscriptionsData, type TeardownSiteSubscriptionsError, type TeardownSiteSubscriptionsErrors, type TeardownSiteSubscriptionsResponse, type TeardownSiteSubscriptionsResponses, type TestOrderResult, type TestShippingAddress, type TestSubscriptionResult, type UpdateAnalyticsFunnelData, type UpdateAnalyticsFunnelErrors, type UpdateAnalyticsFunnelResponse, type UpdateAnalyticsFunnelResponses, type UpdateAnalyticsGoalData, type UpdateAnalyticsGoalErrors, type UpdateAnalyticsGoalResponse, type UpdateAnalyticsGoalResponses, type UpdateCustomer, type UpdateCustomerBilling, type UpdateCustomerBillingData, type UpdateCustomerBillingError, type UpdateCustomerBillingErrors, type UpdateCustomerBillingResponse, type UpdateCustomerBillingResponses, type UpdateCustomerData, type UpdateCustomerError, type UpdateCustomerErrors, type UpdateCustomerResponse, type UpdateCustomerResponses, type UpdateEventDestination, type UpdateEventDestinationData, type UpdateEventDestinationError, type UpdateEventDestinationErrors, type UpdateEventDestinationResponse, type UpdateEventDestinationResponses, type UpdateEventDestinationWithSiteTokenData, type UpdateEventDestinationWithSiteTokenError, type UpdateEventDestinationWithSiteTokenErrors, type UpdateEventDestinationWithSiteTokenResponse, type UpdateEventDestinationWithSiteTokenResponses, type UpdateForm, type UpdateFormData, type UpdateFormError, type UpdateFormErrors, type UpdateFormResponse, type UpdateFormResponses, type UpdateInvoiceRecipient, type UpdateInvoiceRecipientData, type UpdateInvoiceRecipientError, type UpdateInvoiceRecipientErrors, type UpdateInvoiceRecipientResponse, type UpdateInvoiceRecipientResponses, type UpdateInvoiceSettings, type UpdateInvoiceSettingsData, type UpdateInvoiceSettingsError, type UpdateInvoiceSettingsErrors, type UpdateInvoiceSettingsResponse, type UpdateInvoiceSettingsResponses, type UpdateOption, type UpdateOptionData, type UpdateOptionError, type UpdateOptionErrors, type UpdateOptionResponse, type UpdateOptionResponses, type UpdateProduct, type UpdateProductData, type UpdateProductError, type UpdateProductErrors, type UpdateProductResponse, type UpdateProductResponses, type UpdateRecipientResult, type UpdateRetainer, type UpdateRetainerData, type UpdateRetainerError, type UpdateRetainerErrors, type UpdateRetainerResponse, type UpdateRetainerResponses, type UpdateReviewSettingsData, type UpdateReviewSettingsError, type UpdateReviewSettingsErrors, type UpdateReviewSettingsResponse, type UpdateReviewSettingsResponses, type UpdateSite, type UpdateSiteAccountRoute, type UpdateSiteAccountRouteData, type UpdateSiteAccountRouteError, type UpdateSiteAccountRouteErrors, type UpdateSiteAccountRouteResponse, type UpdateSiteAccountRouteResponses, type UpdateSiteAnalytics, type UpdateSiteAnalyticsData, type UpdateSiteAnalyticsError, type UpdateSiteAnalyticsErrors, type UpdateSiteAnalyticsResponse, type UpdateSiteAnalyticsResponses, type UpdateSiteData, type UpdateSiteDomains, type UpdateSiteDomainsData, type UpdateSiteDomainsError, type UpdateSiteDomainsErrors, type UpdateSiteDomainsResponse, type UpdateSiteDomainsResponses, type UpdateSiteError, type UpdateSiteErrors, type UpdateSiteInvoicing, type UpdateSiteInvoicingData, type UpdateSiteInvoicingError, type UpdateSiteInvoicingErrors, type UpdateSiteInvoicingResponse, type UpdateSiteInvoicingResponses, type UpdateSitePayments, type UpdateSitePaymentsData, type UpdateSitePaymentsError, type UpdateSitePaymentsErrors, type UpdateSitePaymentsResponse, type UpdateSitePaymentsResponses, type UpdateSiteResponse, type UpdateSiteResponses, type UpdateSubscriptionAddressRequest, type UpdateVariant, type UpdateVariantData, type UpdateVariantError, type UpdateVariantErrors, type UpdateVariantResponse, type UpdateVariantResponses, type UpsertConsentConfig, type UpsertConsentConfigWithSiteTokenData, type UpsertConsentConfigWithSiteTokenError, type UpsertConsentConfigWithSiteTokenErrors, type UpsertConsentConfigWithSiteTokenResponse, type UpsertConsentConfigWithSiteTokenResponses, type Variant, type VariantOptionValue, type VoidInvoice, type VoidInvoiceData, type VoidInvoiceError, type VoidInvoiceErrors, type VoidInvoiceResponse, type VoidInvoiceResponses, type VoidInvoiceResult, type WebhookEventResetResult, type WithdrawProductReviewData, type WithdrawProductReviewError, type WithdrawProductReviewErrors, type WithdrawProductReviewResponse, type WithdrawProductReviewResponses, accountCancelSubscription, accountCreatePortalSession, accountLogin, accountLogout, accountManageCancel, accountManageGetSubscription, accountManagePortalSession, accountManageVerify, accountMe, accountReactivateSubscription, accountSubscribe, accountUpdateSubscriptionAddress, accountVerify, actOnManageLink, adjustVariantInventory, attachProductFile, cancelRetainer, cancelSubscription, createAnalyticsFunnel, createAnalyticsGoal, createCartCheckout, createCheckout, createClient, createConfig, createCustomer, createEventDestination, createEventDestinationWithSiteToken, createForm, createFormWithSiteToken, createInvoice, createMultiItemTestOrder, createOption, createPreviewSession, createProduct, createProductReview, createProductWithSiteToken, createPromo, createPromoForSite, createRetainer, createSite, createTestOrder, createTestSubscription, createVariant, deleteAnalyticsFunnel, deleteAnalyticsGoal, deleteEventDestination, deleteEventDestinationWithSiteToken, deleteForm, deleteOption, deleteProduct, deleteSite, deleteSubmission, deleteVariant, disablePromo, disablePromoForSite, downloadAttachment, downloadFile, editProductReview, eraseCustomerReviews, generateVariants, getAccountReviews, getAnalyticsBrowsers, getAnalyticsCampaigns, getAnalyticsChannels, getAnalyticsCities, getAnalyticsConversions, getAnalyticsCountries, getAnalyticsDevices, getAnalyticsEntryPages, getAnalyticsExitPages, getAnalyticsFunnelReport, getAnalyticsGoalTargets, getAnalyticsOperatingSystems, getAnalyticsPages, getAnalyticsRealtime, getAnalyticsRegions, getAnalyticsSources, getAnalyticsStatus, getAnalyticsSummary, getAnalyticsTimeseries, getAnalyticsUtmCampaign, getAnalyticsUtmContent, getAnalyticsUtmMedium, getAnalyticsUtmSource, getAnalyticsUtmTerm, getBusinessSummary, getCartSummary, getConsentConfigWithSiteToken, getCustomer, getEventDestination, getEventDestinationSecret, getEventDestinationSecretWithSiteToken, getForm, getGeo, getInvoice, getInvoicePreview, getInvoiceSettings, getInvoiceSettingsWithSiteToken, getMerchantReview, getNextPayout, getOrder, getOrderSession, getOwnProductReview, getPaymentsStatus, getPerson, getProduct, getProductReviewAvailability, getProductReviews, getPromo, getPromoForSite, getPublicConsentPrefs, getPublicProduct, getRetainer, getReviewSettings, getSalesSummary, getSite, getSiteAnalytics, getSiteCheckoutPause, getSubmission, listAnalyticsFunnels, listAnalyticsGoals, listCustomers, listEventDeliveries, listEventDeliveriesWithSiteToken, listEventDestinations, listEventDestinationsWithSiteToken, listForms, listFormsWithSiteToken, listInvoices, listMerchantReviews, listOrdersWithSiteToken, listPeople, listProducts, listProductsWithSiteToken, listPromos, listPromosForSite, listRetainers, listSites, listSubmissions, listSubscriptions, markInvoicePaid, markInvoiceUncollectible, moderateMerchantReview, pauseRetainer, pauseSiteCheckout, previewInvoice, purgeSiteReviews, reactivateSiteSubscriptionsTeardown, refundOrder, remindInvoice, replacePromo, replacePromoForSite, replyToMerchantReview, resendInvoice, resendOrderReceipt, resetOrderDownloads, resetWebhookEvent, resolveManageLink, resubmitProductReview, resumeRetainer, retryEventDelivery, retryEventDeliveryWithSiteToken, revokeCustomerAccess, rotateEventDestinationSecret, rotateEventDestinationSecretWithSiteToken, setInvoiceReminders, setOrderFulfillment, setProductSubscription, setProductVariants, setVariantInventory, skipNextRetainerCycle, snoozeInvoice, teardownSiteSubscriptions, updateAnalyticsFunnel, updateAnalyticsGoal, updateCustomer, updateCustomerBilling, updateEventDestination, updateEventDestinationWithSiteToken, updateForm, updateInvoiceRecipient, updateInvoiceSettings, updateOption, updateProduct, updateRetainer, updateReviewSettings, updateSite, updateSiteAccountRoute, updateSiteAnalytics, updateSiteDomains, updateSiteInvoicing, updateSitePayments, updateVariant, upsertConsentConfigWithSiteToken, voidInvoice, withdrawProductReview };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- var $=(e,r,s)=>{typeof s=="string"?e.append(r,s):e.append(r,JSON.stringify(s))};var F={bodySerializer:e=>JSON.stringify(e,(r,s)=>typeof s=="bigint"?s.toString():s)},W={bodySerializer:e=>{let r=new URLSearchParams;return Object.entries(e).forEach(([s,n])=>{n!=null&&(Array.isArray(n)?n.forEach(a=>$(r,s,a)):$(r,s,n))}),r.toString()}};var oe={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},Hs=Object.entries(oe);var H=({onRequest:e,onSseError:r,onSseEvent:s,responseTransformer:n,responseValidator:a,sseDefaultRetryDelay:l,sseMaxRetryAttempts:c,sseMaxRetryDelay:i,sseSleepFn:p,url:d,...o})=>{let R,g=p??(u=>new Promise(y=>setTimeout(y,u)));return{stream:async function*(){let u=l??3e3,y=0,w=o.signal??new AbortController().signal;for(;!w.aborted;){y++;let A=o.headers instanceof Headers?o.headers:new Headers(o.headers);R!==void 0&&A.set("Last-Event-ID",R);try{let T={redirect:"follow",...o,body:o.serializedBody,headers:A,signal:w},O=new Request(d,T);e&&(O=await e(d,T));let E=await(o.fetch??globalThis.fetch)(O);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let S=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",j=()=>{try{S.cancel()}catch{}};w.addEventListener("abort",j);try{for(;;){let{done:ee,value:te}=await S.read();if(ee)break;f+=te,f=f.replace(/\r\n/g,`
1
+ var $=(e,r,s)=>{typeof s=="string"?e.append(r,s):e.append(r,JSON.stringify(s))};var F={bodySerializer:e=>JSON.stringify(e,(r,s)=>typeof s=="bigint"?s.toString():s)},W={bodySerializer:e=>{let r=new URLSearchParams;return Object.entries(e).forEach(([s,n])=>{n!=null&&(Array.isArray(n)?n.forEach(a=>$(r,s,a)):$(r,s,n))}),r.toString()}};var oe={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},Js=Object.entries(oe);var H=({onRequest:e,onSseError:r,onSseEvent:s,responseTransformer:n,responseValidator:a,sseDefaultRetryDelay:l,sseMaxRetryAttempts:c,sseMaxRetryDelay:i,sseSleepFn:p,url:d,...o})=>{let R,g=p??(u=>new Promise(y=>setTimeout(y,u)));return{stream:async function*(){let u=l??3e3,y=0,w=o.signal??new AbortController().signal;for(;!w.aborted;){y++;let A=o.headers instanceof Headers?o.headers:new Headers(o.headers);R!==void 0&&A.set("Last-Event-ID",R);try{let T={redirect:"follow",...o,body:o.serializedBody,headers:A,signal:w},O=new Request(d,T);e&&(O=await e(d,T));let E=await(o.fetch??globalThis.fetch)(O);if(!E.ok)throw new Error(`SSE failed: ${E.status} ${E.statusText}`);if(!E.body)throw new Error("No body in SSE response");let S=E.body.pipeThrough(new TextDecoderStream).getReader(),f="",j=()=>{try{S.cancel()}catch{}};w.addEventListener("abort",j);try{for(;;){let{done:ee,value:te}=await S.read();if(ee)break;f+=te,f=f.replace(/\r\n/g,`
2
2
  `).replace(/\r/g,`
3
3
  `);let z=f.split(`
4
4
 
5
5
  `);f=z.pop()??"";for(let re of z){let se=re.split(`
6
6
  `),x=[],q;for(let v of se)if(v.startsWith("data:"))x.push(v.replace(/^data:\s*/,""));else if(v.startsWith("event:"))q=v.replace(/^event:\s*/,"");else if(v.startsWith("id:"))R=v.replace(/^id:\s*/,"");else if(v.startsWith("retry:")){let N=Number.parseInt(v.replace(/^retry:\s*/,""),10);Number.isNaN(N)||(u=N)}let D,B=!1;if(x.length){let v=x.join(`
7
- `);try{D=JSON.parse(v),B=!0}catch{D=v}}B&&(a&&await a(D),n&&(D=await n(D))),s?.({data:D,event:q,id:R,retry:u}),x.length&&(yield D)}}}finally{w.removeEventListener("abort",j),S.releaseLock()}break}catch(T){if(r?.(T),c!==void 0&&y>=c)break;let O=Math.min(u*2**(y-1),i??3e4);await g(O)}}}()}};var ne=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},ae=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},ie=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},I=({allowReserved:e,explode:r,name:s,style:n,value:a})=>{if(!r){let i=(e?a:a.map(p=>encodeURIComponent(p))).join(ae(n));switch(n){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let l=ne(n),c=a.map(i=>n==="label"||n==="simple"?e?i:encodeURIComponent(i):b({allowReserved:e,name:s,value:i})).join(l);return n==="label"||n==="matrix"?l+c:c},b=({allowReserved:e,name:r,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?s:encodeURIComponent(s)}`},k=({allowReserved:e,explode:r,name:s,style:n,value:a,valueOnly:l})=>{if(a instanceof Date)return l?a.toISOString():`${s}=${a.toISOString()}`;if(n!=="deepObject"&&!r){let p=[];Object.entries(a).forEach(([o,R])=>{p=[...p,o,e?R:encodeURIComponent(R)]});let d=p.join(",");switch(n){case"form":return`${s}=${d}`;case"label":return`.${d}`;case"matrix":return`;${s}=${d}`;default:return d}}let c=ie(n),i=Object.entries(a).map(([p,d])=>b({allowReserved:e,name:n==="deepObject"?`${s}[${p}]`:p,value:d})).join(c);return n==="label"||n==="matrix"?c+i:i};var ce=/\{[^{}]+\}/g,pe=({path:e,url:r})=>{let s=r,n=r.match(ce);if(n)for(let a of n){let l=!1,c=a.substring(1,a.length-1),i="simple";c.endsWith("*")&&(l=!0,c=c.substring(0,c.length-1)),c.startsWith(".")?(c=c.substring(1),i="label"):c.startsWith(";")&&(c=c.substring(1),i="matrix");let p=e[c];if(p==null)continue;if(Array.isArray(p)){s=s.replace(a,I({explode:l,name:c,style:i,value:p}));continue}if(typeof p=="object"){s=s.replace(a,k({explode:l,name:c,style:i,value:p,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(a,`;${b({name:c,value:p})}`);continue}let d=encodeURIComponent(i==="label"?`.${p}`:p);s=s.replace(a,d)}return s},J=({baseUrl:e,path:r,query:s,querySerializer:n,url:a})=>{let l=a.startsWith("/")?a:`/${a}`,c=(e??"")+l;r&&(c=pe({path:r,url:c}));let i=s?n(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(c+=`?${i}`),c};function Q(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}var _=async(e,r)=>{let s=typeof r=="function"?await r(e):r;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var K=({parameters:e={},...r}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let l in n){let c=n[l];if(c==null)continue;let i=e[l]||r;if(Array.isArray(c)){let p=I({allowReserved:i.allowReserved,explode:!0,name:l,style:"form",value:c,...i.array});p&&a.push(p)}else if(typeof c=="object"){let p=k({allowReserved:i.allowReserved,explode:!0,name:l,style:"deepObject",value:c,...i.object});p&&a.push(p)}else{let p=b({allowReserved:i.allowReserved,name:l,value:c});p&&a.push(p)}}return a.join("&")},X=e=>{if(!e)return"stream";let r=e.split(";")[0]?.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(s=>r.startsWith(s)))return"blob";if(r.startsWith("text/"))return"text"}},le=(e,r)=>r?!!(e.headers.has(r)||e.query?.[r]||e.headers.get("Cookie")?.includes(`${r}=`)):!1,Y=async({security:e,...r})=>{for(let s of e){if(le(r,s.name))continue;let n=await _(s,r.auth);if(!n)continue;let a=s.name??"Authorization";switch(s.in){case"query":r.query||(r.query={}),r.query[a]=n;break;case"cookie":r.headers.append("Cookie",`${a}=${n}`);break;case"header":default:r.headers.set(a,n);break}}},M=e=>J({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:K(e.querySerializer),url:e.url}),V=(e,r)=>{let s={...e,...r};return s.baseUrl?.endsWith("/")&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=U(e.headers,r.headers),s},ue=e=>{let r=[];return e.forEach((s,n)=>{r.push([n,s])}),r},U=(...e)=>{let r=new Headers;for(let s of e){if(!s)continue;let n=s instanceof Headers?ue(s):Object.entries(s);for(let[a,l]of n)if(l===null)r.delete(a);else if(Array.isArray(l))for(let c of l)r.append(a,c);else l!==void 0&&r.set(a,typeof l=="object"?JSON.stringify(l):l)}return r},P=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let s=this.getInterceptorIndex(r);this.fns[s]&&(this.fns[s]=null)}exists(r){let s=this.getInterceptorIndex(r);return!!this.fns[s]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,s){let n=this.getInterceptorIndex(r);return this.fns[n]?(this.fns[n]=s,r):!1}use(r){return this.fns.push(r),this.fns.length-1}},Z=()=>({error:new P,request:new P,response:new P}),de=K({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),he={"Content-Type":"application/json"},C=(e={})=>({...F,headers:he,parseAs:"auto",querySerializer:de,...e});var L=(e={})=>{let r=V(C(),e),s=()=>({...r}),n=d=>(r=V(r,d),s()),a=Z(),l=async d=>{let o={...r,...d,fetch:d.fetch??r.fetch??globalThis.fetch,headers:U(r.headers,d.headers),serializedBody:void 0};o.security&&await Y({...o,security:o.security}),o.requestValidator&&await o.requestValidator(o),o.body!==void 0&&o.bodySerializer&&(o.serializedBody=o.bodySerializer(o.body)),(o.body===void 0||o.serializedBody==="")&&o.headers.delete("Content-Type");let R=M(o);return{opts:o,url:R}},c=async d=>{let{opts:o,url:R}=await l(d),g={redirect:"follow",...o,body:Q(o)},m=new Request(R,g);for(let h of a.request.fns)h&&(m=await h(m,o));let G=o.fetch,u;try{u=await G(m)}catch(h){let E=h;for(let S of a.error.fns)S&&(E=await S(h,void 0,m,o));if(E=E||{},o.throwOnError)throw E;return o.responseStyle==="data"?void 0:{error:E,request:m,response:void 0}}for(let h of a.response.fns)h&&(u=await h(u,m,o));let y={request:m,response:u};if(u.ok){let h=(o.parseAs==="auto"?X(u.headers.get("Content-Type")):o.parseAs)??"json";if(u.status===204||u.headers.get("Content-Length")==="0"){let S;switch(h){case"arrayBuffer":case"blob":case"text":S=await u[h]();break;case"formData":S=new FormData;break;case"stream":S=u.body;break;case"json":default:S={};break}return o.responseStyle==="data"?S:{data:S,...y}}let E;switch(h){case"arrayBuffer":case"blob":case"formData":case"json":case"text":E=await u[h]();break;case"stream":return o.responseStyle==="data"?u.body:{data:u.body,...y}}return h==="json"&&(o.responseValidator&&await o.responseValidator(E),o.responseTransformer&&(E=await o.responseTransformer(E))),o.responseStyle==="data"?E:{data:E,...y}}let w=await u.text(),A;try{A=JSON.parse(w)}catch{}let T=A??w,O=T;for(let h of a.error.fns)h&&(O=await h(T,u,m,o));if(O=O||{},o.throwOnError)throw O;return o.responseStyle==="data"?void 0:{error:O,...y}},i=d=>o=>c({...o,method:d}),p=d=>async o=>{let{opts:R,url:g}=await l(o);return H({...R,body:R.body,headers:R.headers,method:d,onRequest:async(m,G)=>{let u=new Request(m,G);for(let y of a.request.fns)y&&(u=await y(u,R));return u},url:g})};return{buildUrl:M,connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:a,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:c,setConfig:n,sse:{connect:p("CONNECT"),delete:p("DELETE"),get:p("GET"),head:p("HEAD"),options:p("OPTIONS"),patch:p("PATCH"),post:p("POST"),put:p("PUT"),trace:p("TRACE")},trace:i("TRACE")}};var t=L(C({baseUrl:"https://aifeatures.dev"}));var Ee=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/payments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/account-route",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payments/status",...e}),Se=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e}),me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e}),Oe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),Te=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),De=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/file",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-order",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ae=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/test-orders",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants/generate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e}),ke=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/options",...e,headers:{"Content-Type":"application/json",...e.headers}}),Le=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e}),Fe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory/adjust",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders",...e}),je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}",...e}),ze=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/refund",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/resend-receipt",...e}),Be=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/reset-downloads",...e}),Ne=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/webhook-events/{eventId}/reset",...e}),$e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e}),He=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e}),Qe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),_e=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/revoke-access",...e}),Ke=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/summary",...e}),Xe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sales-summary",...e}),Ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people",...e}),Ze=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people/{email}",...e}),et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payouts/next",...e}),tt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/fulfillment",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/status",...e}),st=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/summary",...e}),ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/timeseries",...e}),nt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/realtime",...e}),at=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/sources",...e}),it=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/campaigns",...e}),ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/medium",...e}),pt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/source",...e}),lt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/campaign",...e}),ut=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/content",...e}),dt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/term",...e}),ht=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/pages",...e}),Et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/entry-pages",...e}),Rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/exit-pages",...e}),yt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/countries",...e}),St=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/regions",...e}),mt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/cities",...e}),vt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/devices",...e}),Ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/browsers",...e}),wt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/operating-systems",...e}),Tt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/channels",...e}),Dt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions",...e}),bt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}/report",...e}),Ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e}),gt=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e,headers:{"Content-Type":"application/json",...e?.headers}}),At=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e}),ft=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e}),Gt=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e,headers:{"Content-Type":"application/json",...e?.headers}}),xt=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e}),It=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),kt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions",...e}),Ut=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions/{subscriptionId}/cancel",...e}),Lt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ft=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/reactivate-teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/preview-session",...e,headers:{"Content-Type":"application/json",...e.headers}}),Mt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e}),Vt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e,headers:{"Content-Type":"application/json",...e.headers}}),jt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}",...e}),zt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),qt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/preview",...e}),Bt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/void",...e,headers:{"Content-Type":"application/json",...e.headers}}),Nt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/resend",...e,headers:{"Content-Type":"application/json",...e.headers}}),$t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/remind",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ht=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/snooze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/reminders",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-paid",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-uncollectible",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/recipient",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/billing",...e,headers:{"Content-Type":"application/json",...e.headers}}),Yt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoice-settings",...e}),Zt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e}),er=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),tr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoicing",...e,headers:{"Content-Type":"application/json",...e.headers}}),rr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e}),sr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e,headers:{"Content-Type":"application/json",...e.headers}}),or=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e}),nr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ar=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/skip-next",...e,headers:{"Content-Type":"application/json",...e.headers}}),ir=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),cr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/resume",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/cancel",...e,headers:{"Content-Type":"application/json",...e.headers}}),lr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews",...e}),ur=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}",...e}),dr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/moderate",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/reply",...e,headers:{"Content-Type":"application/json",...e.headers}}),Er=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e}),Rr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),yr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/customers/{customerId}/reviews",...e}),Sr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/purge",...e}),mr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e}),vr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),Or=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}",...e}),wr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/disable",...e}),Tr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),Dr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e}),br=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),Cr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}",...e}),gr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/disable",...e}),Ar=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e}),Pr=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e}),xr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ir=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e}),kr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ur=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Lr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Fr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e}),Mr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/domains",...e,headers:{"Content-Type":"application/json",...e.headers}}),jr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e}),zr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e,headers:{"Content-Type":"application/json",...e.headers}}),qr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e}),Br=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),Nr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),$r=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),Hr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}/submissions",...e}),Qr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),_r=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Kr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}/attachments/{attachmentId}",...e}),Xr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e}),Yr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),es=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),ts=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),rs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/rotate-secret",...e}),ss=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/secret",...e}),os=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries",...e}),ns=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),as=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e}),is=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),cs=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e}),ps=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ls=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/rotate-secret",...e}),us=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/secret",...e}),ds=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries",...e}),hs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),Es=e=>(e.client??t).get({url:"/v1/p/{productId}",...e}),Rs=e=>(e.client??t).post({url:"/v1/p/{productId}/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),ys=e=>(e.client??t).post({url:"/v1/p/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ss=e=>(e.client??t).post({url:"/v1/p/checkout/summary",...e,headers:{"Content-Type":"application/json",...e.headers}}),ms=e=>(e.client??t).get({url:"/v1/o/session/{sessionId}",...e}),vs=e=>(e.client??t).get({url:"/v1/d/{token}",...e}),Os=e=>(e?.client??t).get({url:"/v1/geo",...e}),ws=e=>(e.client??t).get({url:"/v1/prefs/{configId}",...e}),Ts=e=>(e.client??t).post({url:"/v1/account/login",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ds=e=>(e.client??t).post({url:"/v1/account/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),bs=e=>(e?.client??t).post({url:"/v1/account/logout",...e}),Cs=e=>(e?.client??t).get({url:"/v1/account/me",...e}),gs=e=>(e.client??t).post({url:"/v1/account/subscribe",...e,headers:{"Content-Type":"application/json",...e.headers}}),As=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/cancel",...e}),fs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/reactivate",...e}),Ps=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/address",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/portal-session",...e}),xs=e=>(e.client??t).post({url:"/v1/account/manage/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),Is=e=>(e?.client??t).get({url:"/v1/account/manage/subscription",...e}),ks=e=>(e?.client??t).post({url:"/v1/account/manage/cancel",...e}),Us=e=>(e?.client??t).post({url:"/v1/account/manage/portal-session",...e}),Ls=e=>(e.client??t).get({url:"/v1/m/{token}",...e}),Fs=e=>(e.client??t).post({...W,url:"/v1/m/{token}",...e,headers:{"Content-Type":"application/x-www-form-urlencoded",...e.headers}}),Ws=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews",...e}),Ms=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews/availability",...e}),Vs=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews",...e}),js=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e}),zs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/edit",...e,headers:{"Content-Type":"application/json",...e.headers}}),Bs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/withdraw",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ns=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/resubmit",...e,headers:{"Content-Type":"application/json",...e.headers}});export{As as accountCancelSubscription,Gs as accountCreatePortalSession,Ts as accountLogin,bs as accountLogout,ks as accountManageCancel,Is as accountManageGetSubscription,Us as accountManagePortalSession,xs as accountManageVerify,Cs as accountMe,fs as accountReactivateSubscription,gs as accountSubscribe,Ps as accountUpdateSubscriptionAddress,Ds as accountVerify,Fs as actOnManageLink,Me as adjustVariantInventory,be as attachProductFile,pr as cancelRetainer,Ut as cancelSubscription,Gt as createAnalyticsFunnel,gt as createAnalyticsGoal,ys as createCartCheckout,Rs as createCheckout,L as createClient,C as createConfig,He as createCustomer,Yr as createEventDestination,is as createEventDestinationWithSiteToken,Br as createForm,xr as createFormWithSiteToken,Vt as createInvoice,fe as createMultiItemTestOrder,Ue as createOption,Wt as createPreviewSession,Oe as createProduct,zs as createProductReview,me as createProductWithSiteToken,vr as createPromo,br as createPromoForSite,sr as createRetainer,kr as createSite,ge as createTestOrder,Ae as createTestSubscription,Pe as createVariant,xt as deleteAnalyticsFunnel,At as deleteAnalyticsGoal,Zr as deleteEventDestination,cs as deleteEventDestinationWithSiteToken,Nr as deleteForm,Le as deleteOption,we as deleteProduct,Ur as deleteSite,Qr as deleteSubmission,Ie as deleteVariant,wr as disablePromo,gr as disablePromoForSite,Kr as downloadAttachment,vs as downloadFile,qs as editProductReview,yr as eraseCustomerReviews,xe as generateVariants,Vs as getAccountReviews,Ot as getAnalyticsBrowsers,it as getAnalyticsCampaigns,Tt as getAnalyticsChannels,mt as getAnalyticsCities,Dt as getAnalyticsConversions,yt as getAnalyticsCountries,vt as getAnalyticsDevices,Et as getAnalyticsEntryPages,Rt as getAnalyticsExitPages,bt as getAnalyticsFunnelReport,wt as getAnalyticsOperatingSystems,ht as getAnalyticsPages,nt as getAnalyticsRealtime,St as getAnalyticsRegions,at as getAnalyticsSources,rt as getAnalyticsStatus,st as getAnalyticsSummary,ot as getAnalyticsTimeseries,lt as getAnalyticsUtmCampaign,ut as getAnalyticsUtmContent,ct as getAnalyticsUtmMedium,pt as getAnalyticsUtmSource,dt as getAnalyticsUtmTerm,Ke as getBusinessSummary,Ss as getCartSummary,fr as getConsentConfigWithSiteToken,Je as getCustomer,es as getEventDestination,ss as getEventDestinationSecret,us as getEventDestinationSecretWithSiteToken,$r as getForm,Os as getGeo,jt as getInvoice,qt as getInvoicePreview,Zt as getInvoiceSettings,Yt as getInvoiceSettingsWithSiteToken,ur as getMerchantReview,et as getNextPayout,je as getOrder,ms as getOrderSession,js as getOwnProductReview,ye as getPaymentsStatus,Ze as getPerson,Te as getProduct,Ms as getProductReviewAvailability,Ws as getProductReviews,Or as getPromo,Cr as getPromoForSite,ws as getPublicConsentPrefs,Es as getPublicProduct,or as getRetainer,Er as getReviewSettings,Xe as getSalesSummary,Lr as getSite,jr as getSiteAnalytics,Wr as getSiteCheckoutPause,_r as getSubmission,Pt as listAnalyticsFunnels,Ct as listAnalyticsGoals,$e as listCustomers,os as listEventDeliveries,ds as listEventDeliveriesWithSiteToken,Xr as listEventDestinations,as as listEventDestinationsWithSiteToken,qr as listForms,Gr as listFormsWithSiteToken,Mt as listInvoices,lr as listMerchantReviews,Ve as listOrdersWithSiteToken,Ye as listPeople,ve as listProducts,Se as listProductsWithSiteToken,mr as listPromos,Dr as listPromosForSite,rr as listRetainers,Ir as listSites,Jr as listSubmissions,kt as listSubscriptions,Qt as markInvoicePaid,_t as markInvoiceUncollectible,dr as moderateMerchantReview,ir as pauseRetainer,Mr as pauseSiteCheckout,zt as previewInvoice,Sr as purgeSiteReviews,Ft as reactivateSiteSubscriptionsTeardown,ze as refundOrder,$t as remindInvoice,Tr as replacePromo,Ar as replacePromoForSite,hr as replyToMerchantReview,Nt as resendInvoice,qe as resendOrderReceipt,Be as resetOrderDownloads,Ne as resetWebhookEvent,Ls as resolveManageLink,Ns as resubmitProductReview,cr as resumeRetainer,ns as retryEventDelivery,hs as retryEventDeliveryWithSiteToken,_e as revokeCustomerAccess,rs as rotateEventDestinationSecret,ls as rotateEventDestinationSecretWithSiteToken,Jt as setInvoiceReminders,tt as setOrderFulfillment,Ce as setProductSubscription,Ge as setProductVariants,We as setVariantInventory,ar as skipNextRetainerCycle,Ht as snoozeInvoice,Lt as teardownSiteSubscriptions,It as updateAnalyticsFunnel,ft as updateAnalyticsGoal,Qe as updateCustomer,Xt as updateCustomerBilling,ts as updateEventDestination,ps as updateEventDestinationWithSiteToken,Hr as updateForm,Kt as updateInvoiceRecipient,er as updateInvoiceSettings,Fe as updateOption,De as updateProduct,nr as updateRetainer,Rr as updateReviewSettings,Fr as updateSite,Re as updateSiteAccountRoute,zr as updateSiteAnalytics,Vr as updateSiteDomains,tr as updateSiteInvoicing,Ee as updateSitePayments,ke as updateVariant,Pr as upsertConsentConfigWithSiteToken,Bt as voidInvoice,Bs as withdrawProductReview};
7
+ `);try{D=JSON.parse(v),B=!0}catch{D=v}}B&&(a&&await a(D),n&&(D=await n(D))),s?.({data:D,event:q,id:R,retry:u}),x.length&&(yield D)}}}finally{w.removeEventListener("abort",j),S.releaseLock()}break}catch(T){if(r?.(T),c!==void 0&&y>=c)break;let O=Math.min(u*2**(y-1),i??3e4);await g(O)}}}()}};var ne=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},ae=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},ie=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},I=({allowReserved:e,explode:r,name:s,style:n,value:a})=>{if(!r){let i=(e?a:a.map(p=>encodeURIComponent(p))).join(ae(n));switch(n){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let l=ne(n),c=a.map(i=>n==="label"||n==="simple"?e?i:encodeURIComponent(i):b({allowReserved:e,name:s,value:i})).join(l);return n==="label"||n==="matrix"?l+c:c},b=({allowReserved:e,name:r,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${e?s:encodeURIComponent(s)}`},k=({allowReserved:e,explode:r,name:s,style:n,value:a,valueOnly:l})=>{if(a instanceof Date)return l?a.toISOString():`${s}=${a.toISOString()}`;if(n!=="deepObject"&&!r){let p=[];Object.entries(a).forEach(([o,R])=>{p=[...p,o,e?R:encodeURIComponent(R)]});let d=p.join(",");switch(n){case"form":return`${s}=${d}`;case"label":return`.${d}`;case"matrix":return`;${s}=${d}`;default:return d}}let c=ie(n),i=Object.entries(a).map(([p,d])=>b({allowReserved:e,name:n==="deepObject"?`${s}[${p}]`:p,value:d})).join(c);return n==="label"||n==="matrix"?c+i:i};var ce=/\{[^{}]+\}/g,pe=({path:e,url:r})=>{let s=r,n=r.match(ce);if(n)for(let a of n){let l=!1,c=a.substring(1,a.length-1),i="simple";c.endsWith("*")&&(l=!0,c=c.substring(0,c.length-1)),c.startsWith(".")?(c=c.substring(1),i="label"):c.startsWith(";")&&(c=c.substring(1),i="matrix");let p=e[c];if(p==null)continue;if(Array.isArray(p)){s=s.replace(a,I({explode:l,name:c,style:i,value:p}));continue}if(typeof p=="object"){s=s.replace(a,k({explode:l,name:c,style:i,value:p,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(a,`;${b({name:c,value:p})}`);continue}let d=encodeURIComponent(i==="label"?`.${p}`:p);s=s.replace(a,d)}return s},J=({baseUrl:e,path:r,query:s,querySerializer:n,url:a})=>{let l=a.startsWith("/")?a:`/${a}`,c=(e??"")+l;r&&(c=pe({path:r,url:c}));let i=s?n(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(c+=`?${i}`),c};function Q(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}var _=async(e,r)=>{let s=typeof r=="function"?await r(e):r;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var K=({parameters:e={},...r}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let l in n){let c=n[l];if(c==null)continue;let i=e[l]||r;if(Array.isArray(c)){let p=I({allowReserved:i.allowReserved,explode:!0,name:l,style:"form",value:c,...i.array});p&&a.push(p)}else if(typeof c=="object"){let p=k({allowReserved:i.allowReserved,explode:!0,name:l,style:"deepObject",value:c,...i.object});p&&a.push(p)}else{let p=b({allowReserved:i.allowReserved,name:l,value:c});p&&a.push(p)}}return a.join("&")},X=e=>{if(!e)return"stream";let r=e.split(";")[0]?.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(s=>r.startsWith(s)))return"blob";if(r.startsWith("text/"))return"text"}},le=(e,r)=>r?!!(e.headers.has(r)||e.query?.[r]||e.headers.get("Cookie")?.includes(`${r}=`)):!1,Y=async({security:e,...r})=>{for(let s of e){if(le(r,s.name))continue;let n=await _(s,r.auth);if(!n)continue;let a=s.name??"Authorization";switch(s.in){case"query":r.query||(r.query={}),r.query[a]=n;break;case"cookie":r.headers.append("Cookie",`${a}=${n}`);break;case"header":default:r.headers.set(a,n);break}}},M=e=>J({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:K(e.querySerializer),url:e.url}),V=(e,r)=>{let s={...e,...r};return s.baseUrl?.endsWith("/")&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=U(e.headers,r.headers),s},ue=e=>{let r=[];return e.forEach((s,n)=>{r.push([n,s])}),r},U=(...e)=>{let r=new Headers;for(let s of e){if(!s)continue;let n=s instanceof Headers?ue(s):Object.entries(s);for(let[a,l]of n)if(l===null)r.delete(a);else if(Array.isArray(l))for(let c of l)r.append(a,c);else l!==void 0&&r.set(a,typeof l=="object"?JSON.stringify(l):l)}return r},P=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(r){let s=this.getInterceptorIndex(r);this.fns[s]&&(this.fns[s]=null)}exists(r){let s=this.getInterceptorIndex(r);return!!this.fns[s]}getInterceptorIndex(r){return typeof r=="number"?this.fns[r]?r:-1:this.fns.indexOf(r)}update(r,s){let n=this.getInterceptorIndex(r);return this.fns[n]?(this.fns[n]=s,r):!1}use(r){return this.fns.push(r),this.fns.length-1}},Z=()=>({error:new P,request:new P,response:new P}),de=K({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),he={"Content-Type":"application/json"},C=(e={})=>({...F,headers:he,parseAs:"auto",querySerializer:de,...e});var L=(e={})=>{let r=V(C(),e),s=()=>({...r}),n=d=>(r=V(r,d),s()),a=Z(),l=async d=>{let o={...r,...d,fetch:d.fetch??r.fetch??globalThis.fetch,headers:U(r.headers,d.headers),serializedBody:void 0};o.security&&await Y({...o,security:o.security}),o.requestValidator&&await o.requestValidator(o),o.body!==void 0&&o.bodySerializer&&(o.serializedBody=o.bodySerializer(o.body)),(o.body===void 0||o.serializedBody==="")&&o.headers.delete("Content-Type");let R=M(o);return{opts:o,url:R}},c=async d=>{let{opts:o,url:R}=await l(d),g={redirect:"follow",...o,body:Q(o)},m=new Request(R,g);for(let h of a.request.fns)h&&(m=await h(m,o));let G=o.fetch,u;try{u=await G(m)}catch(h){let E=h;for(let S of a.error.fns)S&&(E=await S(h,void 0,m,o));if(E=E||{},o.throwOnError)throw E;return o.responseStyle==="data"?void 0:{error:E,request:m,response:void 0}}for(let h of a.response.fns)h&&(u=await h(u,m,o));let y={request:m,response:u};if(u.ok){let h=(o.parseAs==="auto"?X(u.headers.get("Content-Type")):o.parseAs)??"json";if(u.status===204||u.headers.get("Content-Length")==="0"){let S;switch(h){case"arrayBuffer":case"blob":case"text":S=await u[h]();break;case"formData":S=new FormData;break;case"stream":S=u.body;break;case"json":default:S={};break}return o.responseStyle==="data"?S:{data:S,...y}}let E;switch(h){case"arrayBuffer":case"blob":case"formData":case"json":case"text":E=await u[h]();break;case"stream":return o.responseStyle==="data"?u.body:{data:u.body,...y}}return h==="json"&&(o.responseValidator&&await o.responseValidator(E),o.responseTransformer&&(E=await o.responseTransformer(E))),o.responseStyle==="data"?E:{data:E,...y}}let w=await u.text(),A;try{A=JSON.parse(w)}catch{}let T=A??w,O=T;for(let h of a.error.fns)h&&(O=await h(T,u,m,o));if(O=O||{},o.throwOnError)throw O;return o.responseStyle==="data"?void 0:{error:O,...y}},i=d=>o=>c({...o,method:d}),p=d=>async o=>{let{opts:R,url:g}=await l(o);return H({...R,body:R.body,headers:R.headers,method:d,onRequest:async(m,G)=>{let u=new Request(m,G);for(let y of a.request.fns)y&&(u=await y(u,R));return u},url:g})};return{buildUrl:M,connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:a,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:c,setConfig:n,sse:{connect:p("CONNECT"),delete:p("DELETE"),get:p("GET"),head:p("HEAD"),options:p("OPTIONS"),patch:p("PATCH"),post:p("POST"),put:p("PUT"),trace:p("TRACE")},trace:i("TRACE")}};var t=L(C({baseUrl:"https://aifeatures.dev"}));var Ee=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/payments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/account-route",...e,headers:{"Content-Type":"application/json",...e.headers}}),ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payments/status",...e}),Se=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e}),me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e}),Oe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/products",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),Te=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e}),De=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/file",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-order",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ae=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/test-subscription",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/test-orders",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants",...e,headers:{"Content-Type":"application/json",...e.headers}}),xe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/variants/generate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e}),ke=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/products/{productId}/options",...e,headers:{"Content-Type":"application/json",...e.headers}}),Le=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e}),Fe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/options/{optionId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/variants/{variantId}/inventory/adjust",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders",...e}),je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}",...e}),ze=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/refund",...e,headers:{"Content-Type":"application/json",...e.headers}}),qe=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/resend-receipt",...e}),Be=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/reset-downloads",...e}),Ne=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/webhook-events/{eventId}/reset",...e}),$e=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e}),He=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e}),Qe=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),_e=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/revoke-access",...e}),Ke=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/summary",...e}),Xe=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sales-summary",...e}),Ye=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people",...e}),Ze=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/people/{email}",...e}),et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/payouts/next",...e}),tt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/orders/{orderId}/fulfillment",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/status",...e}),st=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/summary",...e}),ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/timeseries",...e}),nt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/realtime",...e}),at=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/sources",...e}),it=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/campaigns",...e}),ct=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/medium",...e}),pt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/source",...e}),lt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/campaign",...e}),ut=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/content",...e}),dt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/utm/term",...e}),ht=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/pages",...e}),Et=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/entry-pages",...e}),Rt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/exit-pages",...e}),yt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/countries",...e}),St=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/regions",...e}),mt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/cities",...e}),vt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/devices",...e}),Ot=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/browsers",...e}),wt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/operating-systems",...e}),Tt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/channels",...e}),Dt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions/targets",...e}),bt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/conversions",...e}),Ct=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}/report",...e}),gt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e}),At=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ft=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e}),Pt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/goals/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e}),xt=e=>(e?.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels",...e,headers:{"Content-Type":"application/json",...e?.headers}}),It=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e}),kt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/analytics/funnels/{id}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ut=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions",...e}),Lt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/subscriptions/{subscriptionId}/cancel",...e}),Ft=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/subscriptions/reactivate-teardown",...e,headers:{"Content-Type":"application/json",...e.headers}}),Mt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/preview-session",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e}),jt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices",...e,headers:{"Content-Type":"application/json",...e.headers}}),zt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}",...e}),qt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),Bt=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/preview",...e}),Nt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/void",...e,headers:{"Content-Type":"application/json",...e.headers}}),$t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/resend",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ht=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/remind",...e,headers:{"Content-Type":"application/json",...e.headers}}),Jt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/snooze",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/reminders",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-paid",...e,headers:{"Content-Type":"application/json",...e.headers}}),Kt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/mark-uncollectible",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoices/{invoiceId}/recipient",...e,headers:{"Content-Type":"application/json",...e.headers}}),Yt=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/customers/{customerId}/billing",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zt=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/invoice-settings",...e}),er=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e}),tr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoice-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),rr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/invoicing",...e,headers:{"Content-Type":"application/json",...e.headers}}),sr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e}),or=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers",...e,headers:{"Content-Type":"application/json",...e.headers}}),nr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e}),ar=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ir=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/skip-next",...e,headers:{"Content-Type":"application/json",...e.headers}}),cr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/resume",...e,headers:{"Content-Type":"application/json",...e.headers}}),lr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/retainers/{retainerId}/cancel",...e,headers:{"Content-Type":"application/json",...e.headers}}),ur=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews",...e}),dr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}",...e}),hr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/moderate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Er=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/{reviewId}/reply",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e}),yr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/review-settings",...e,headers:{"Content-Type":"application/json",...e.headers}}),Sr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/customers/{customerId}/reviews",...e}),mr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/reviews/purge",...e}),vr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e}),Or=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}",...e}),Tr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/disable",...e}),Dr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),br=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e}),Cr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos",...e,headers:{"Content-Type":"application/json",...e.headers}}),gr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}",...e}),Ar=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/disable",...e}),fr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/promos/{promoId}/replace",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e}),Gr=e=>(e.client??t).put({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/site-prefs",...e,headers:{"Content-Type":"application/json",...e.headers}}),xr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e}),Ir=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),kr=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e}),Ur=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lr=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Fr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e}),Wr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Mr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e}),Vr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/checkout-pause",...e,headers:{"Content-Type":"application/json",...e.headers}}),jr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/domains",...e,headers:{"Content-Type":"application/json",...e.headers}}),zr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e}),qr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/analytics",...e,headers:{"Content-Type":"application/json",...e.headers}}),Br=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e}),Nr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/forms",...e,headers:{"Content-Type":"application/json",...e.headers}}),$r=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),Hr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e}),Jr=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/forms/{formId}/submissions",...e}),_r=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Kr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}",...e}),Xr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/submissions/{submissionId}/attachments/{attachmentId}",...e}),Yr=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e}),Zr=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),es=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),ts=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e}),rs=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ss=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/rotate-secret",...e}),os=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/secret",...e}),ns=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries",...e}),as=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/sites/{siteId}/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),is=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e}),cs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations",...e,headers:{"Content-Type":"application/json",...e.headers}}),ps=e=>(e.client??t).delete({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e}),ls=e=>(e.client??t).patch({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),us=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/rotate-secret",...e}),ds=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/secret",...e}),hs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries",...e}),Es=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/api/v1/event-destinations/{destinationId}/deliveries/{deliveryId}/retry",...e}),Rs=e=>(e.client??t).get({url:"/v1/p/{productId}",...e}),ys=e=>(e.client??t).post({url:"/v1/p/{productId}/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ss=e=>(e.client??t).post({url:"/v1/p/checkout",...e,headers:{"Content-Type":"application/json",...e.headers}}),ms=e=>(e.client??t).post({url:"/v1/p/checkout/summary",...e,headers:{"Content-Type":"application/json",...e.headers}}),vs=e=>(e.client??t).get({url:"/v1/o/session/{sessionId}",...e}),Os=e=>(e.client??t).get({url:"/v1/d/{token}",...e}),ws=e=>(e?.client??t).get({url:"/v1/geo",...e}),Ts=e=>(e.client??t).get({url:"/v1/prefs/{configId}",...e}),Ds=e=>(e.client??t).post({url:"/v1/account/login",...e,headers:{"Content-Type":"application/json",...e.headers}}),bs=e=>(e.client??t).post({url:"/v1/account/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),Cs=e=>(e?.client??t).post({url:"/v1/account/logout",...e}),gs=e=>(e?.client??t).get({url:"/v1/account/me",...e}),As=e=>(e.client??t).post({url:"/v1/account/subscribe",...e,headers:{"Content-Type":"application/json",...e.headers}}),fs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/cancel",...e}),Ps=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/reactivate",...e}),Gs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/address",...e,headers:{"Content-Type":"application/json",...e.headers}}),xs=e=>(e.client??t).post({url:"/v1/account/subscriptions/{subscriptionId}/portal-session",...e}),Is=e=>(e.client??t).post({url:"/v1/account/manage/verify",...e,headers:{"Content-Type":"application/json",...e.headers}}),ks=e=>(e?.client??t).get({url:"/v1/account/manage/subscription",...e}),Us=e=>(e?.client??t).post({url:"/v1/account/manage/cancel",...e}),Ls=e=>(e?.client??t).post({url:"/v1/account/manage/portal-session",...e}),Fs=e=>(e.client??t).get({url:"/v1/m/{token}",...e}),Ws=e=>(e.client??t).post({...W,url:"/v1/m/{token}",...e,headers:{"Content-Type":"application/x-www-form-urlencoded",...e.headers}}),Ms=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews",...e}),Vs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/p/{productId}/reviews/availability",...e}),js=e=>(e?.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews",...e}),zs=e=>(e.client??t).get({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e}),qs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/product/{productId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Bs=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/edit",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ns=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/withdraw",...e,headers:{"Content-Type":"application/json",...e.headers}}),$s=e=>(e.client??t).post({security:[{scheme:"bearer",type:"http"}],url:"/v1/account/reviews/{reviewId}/resubmit",...e,headers:{"Content-Type":"application/json",...e.headers}});export{fs as accountCancelSubscription,xs as accountCreatePortalSession,Ds as accountLogin,Cs as accountLogout,Us as accountManageCancel,ks as accountManageGetSubscription,Ls as accountManagePortalSession,Is as accountManageVerify,gs as accountMe,Ps as accountReactivateSubscription,As as accountSubscribe,Gs as accountUpdateSubscriptionAddress,bs as accountVerify,Ws as actOnManageLink,Me as adjustVariantInventory,be as attachProductFile,lr as cancelRetainer,Lt as cancelSubscription,xt as createAnalyticsFunnel,At as createAnalyticsGoal,Ss as createCartCheckout,ys as createCheckout,L as createClient,C as createConfig,He as createCustomer,Zr as createEventDestination,cs as createEventDestinationWithSiteToken,Nr as createForm,Ir as createFormWithSiteToken,jt as createInvoice,fe as createMultiItemTestOrder,Ue as createOption,Mt as createPreviewSession,Oe as createProduct,qs as createProductReview,me as createProductWithSiteToken,Or as createPromo,Cr as createPromoForSite,or as createRetainer,Ur as createSite,ge as createTestOrder,Ae as createTestSubscription,Pe as createVariant,It as deleteAnalyticsFunnel,ft as deleteAnalyticsGoal,es as deleteEventDestination,ps as deleteEventDestinationWithSiteToken,$r as deleteForm,Le as deleteOption,we as deleteProduct,Lr as deleteSite,_r as deleteSubmission,Ie as deleteVariant,Tr as disablePromo,Ar as disablePromoForSite,Xr as downloadAttachment,Os as downloadFile,Bs as editProductReview,Sr as eraseCustomerReviews,xe as generateVariants,js as getAccountReviews,Ot as getAnalyticsBrowsers,it as getAnalyticsCampaigns,Tt as getAnalyticsChannels,mt as getAnalyticsCities,bt as getAnalyticsConversions,yt as getAnalyticsCountries,vt as getAnalyticsDevices,Et as getAnalyticsEntryPages,Rt as getAnalyticsExitPages,Ct as getAnalyticsFunnelReport,Dt as getAnalyticsGoalTargets,wt as getAnalyticsOperatingSystems,ht as getAnalyticsPages,nt as getAnalyticsRealtime,St as getAnalyticsRegions,at as getAnalyticsSources,rt as getAnalyticsStatus,st as getAnalyticsSummary,ot as getAnalyticsTimeseries,lt as getAnalyticsUtmCampaign,ut as getAnalyticsUtmContent,ct as getAnalyticsUtmMedium,pt as getAnalyticsUtmSource,dt as getAnalyticsUtmTerm,Ke as getBusinessSummary,ms as getCartSummary,Pr as getConsentConfigWithSiteToken,Je as getCustomer,ts as getEventDestination,os as getEventDestinationSecret,ds as getEventDestinationSecretWithSiteToken,Hr as getForm,ws as getGeo,zt as getInvoice,Bt as getInvoicePreview,er as getInvoiceSettings,Zt as getInvoiceSettingsWithSiteToken,dr as getMerchantReview,et as getNextPayout,je as getOrder,vs as getOrderSession,zs as getOwnProductReview,ye as getPaymentsStatus,Ze as getPerson,Te as getProduct,Vs as getProductReviewAvailability,Ms as getProductReviews,wr as getPromo,gr as getPromoForSite,Ts as getPublicConsentPrefs,Rs as getPublicProduct,nr as getRetainer,Rr as getReviewSettings,Xe as getSalesSummary,Fr as getSite,zr as getSiteAnalytics,Mr as getSiteCheckoutPause,Kr as getSubmission,Gt as listAnalyticsFunnels,gt as listAnalyticsGoals,$e as listCustomers,ns as listEventDeliveries,hs as listEventDeliveriesWithSiteToken,Yr as listEventDestinations,is as listEventDestinationsWithSiteToken,Br as listForms,xr as listFormsWithSiteToken,Vt as listInvoices,ur as listMerchantReviews,Ve as listOrdersWithSiteToken,Ye as listPeople,ve as listProducts,Se as listProductsWithSiteToken,vr as listPromos,br as listPromosForSite,sr as listRetainers,kr as listSites,Qr as listSubmissions,Ut as listSubscriptions,_t as markInvoicePaid,Kt as markInvoiceUncollectible,hr as moderateMerchantReview,cr as pauseRetainer,Vr as pauseSiteCheckout,qt as previewInvoice,mr as purgeSiteReviews,Wt as reactivateSiteSubscriptionsTeardown,ze as refundOrder,Ht as remindInvoice,Dr as replacePromo,fr as replacePromoForSite,Er as replyToMerchantReview,$t as resendInvoice,qe as resendOrderReceipt,Be as resetOrderDownloads,Ne as resetWebhookEvent,Fs as resolveManageLink,$s as resubmitProductReview,pr as resumeRetainer,as as retryEventDelivery,Es as retryEventDeliveryWithSiteToken,_e as revokeCustomerAccess,ss as rotateEventDestinationSecret,us as rotateEventDestinationSecretWithSiteToken,Qt as setInvoiceReminders,tt as setOrderFulfillment,Ce as setProductSubscription,Ge as setProductVariants,We as setVariantInventory,ir as skipNextRetainerCycle,Jt as snoozeInvoice,Ft as teardownSiteSubscriptions,kt as updateAnalyticsFunnel,Pt as updateAnalyticsGoal,Qe as updateCustomer,Yt as updateCustomerBilling,rs as updateEventDestination,ls as updateEventDestinationWithSiteToken,Jr as updateForm,Xt as updateInvoiceRecipient,tr as updateInvoiceSettings,Fe as updateOption,De as updateProduct,ar as updateRetainer,yr as updateReviewSettings,Wr as updateSite,Re as updateSiteAccountRoute,qr as updateSiteAnalytics,jr as updateSiteDomains,rr as updateSiteInvoicing,Ee as updateSitePayments,ke as updateVariant,Gr as upsertConsentConfigWithSiteToken,Nt as voidInvoice,Ns as withdrawProductReview};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aifeatures/backend",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "description": "TypeScript API client for aifeatures backend",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",