@commercetools/tools-core 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ var th=Object.create;var Xe=Object.defineProperty,ih=Object.defineProperties,uh=Object.getOwnPropertyDescriptor,nh=Object.getOwnPropertyDescriptors,ch=Object.getOwnPropertyNames,sa=Object.getOwnPropertySymbols,ph=Object.getPrototypeOf,ab=Object.prototype.hasOwnProperty,jb=Object.prototype.propertyIsEnumerable;var eb=(a,e,r)=>e in a?Xe(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,s=(a,e)=>{for(var r in e||(e={}))ab.call(e,r)&&eb(a,r,e[r]);if(sa)for(var r of sa(e))jb.call(e,r)&&eb(a,r,e[r]);return a},w=(a,e)=>ih(a,nh(e));var Z=(a,e)=>{var r={};for(var u in a)ab.call(a,u)&&e.indexOf(u)<0&&(r[u]=a[u]);if(a!=null&&sa)for(var u of sa(a))e.indexOf(u)<0&&jb.call(a,u)&&(r[u]=a[u]);return r};var Ge=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports),fb=(a,e)=>{for(var r in e)Xe(a,r,{get:e[r],enumerable:!0})},Kb=(a,e,r,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ch(e))!ab.call(a,n)&&n!==r&&Xe(a,n,{get:()=>e[n],enumerable:!(u=uh(e,n))||u.enumerable});return a};var ob=(a,e,r)=>(r=a!=null?th(ph(a)):{},Kb(e||!a||!a.__esModule?Xe(r,"default",{value:a,enumerable:!0}):r,a)),yh=a=>Kb(Xe({},"__esModule",{value:!0}),a);var F=(a,e,r)=>eb(a,typeof e!="symbol"?e+"":e,r);var wq=Ge(z=>{"use strict";Object.defineProperty(z,"__esModule",{value:!0});function fU(a,e){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var u=r.call(a,e||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function KU(a){var e=fU(a,"string");return typeof e=="symbol"?e:e+""}function d(a,e,r){return(e=KU(e))in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function gb(a){return a&&typeof a=="string"?new TextEncoder().encode(a).length.toString():a&&a instanceof Uint8Array?a.byteLength.toString():a&&typeof a=="object"?new TextEncoder().encode(JSON.stringify(a)).length.toString():"0"}var oU=["application/json","application/graphql"],PU=20,EU="https://api.europe-west1.gcp.commercetools.com",ca="https://auth.europe-west1.gcp.commercetools.com",kU=["content-type","access-control-allow-origin","access-control-allow-headers","access-control-allow-methods","access-control-expose-headers","access-control-max-ag","x-correlation-id","server-timing","date","server","transfer-encoding","access-control-max-age","content-encoding","x-envoy-upstream-service-time","via","alt-svc","connection"];function he(a,e,r={}){var u;this.code=(u=r.code)!=null?u:r.code=this.constructor.name,this.statusCode=a,this.status=a,this.message=e,Object.assign(this,r),this.name=this.constructor.name,this.constructor.prototype.__proto__=Error.prototype,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function DU(...a){he.call(this,0,...a)}function CU(...a){he.call(this,...a)}function vU(...a){he.call(this,400,...a)}function VU(...a){he.call(this,401,...a)}function IU(...a){he.call(this,403,...a)}function OU(...a){he.call(this,404,...a)}function SU(...a){he.call(this,409,...a)}function _U(...a){he.call(this,500,...a)}function MU(...a){he.call(this,503,...a)}function GU(a){switch(a){case 0:return DU;case 400:return vU;case 401:return VU;case 403:return IU;case 404:return OU;case 409:return SU;case 500:return _U;case 503:return MU;default:return}}function nb(u){var n=u,{statusCode:a,message:e}=n,r=Z(n,["statusCode","message"]);var b;let c=e||"Unexpected non-JSON error response";a===404&&(c="URI not found: ".concat(((b=r.originalRequest)==null?void 0:b.uri)||r.uri));let l=GU(a);return l?new l(c,r):new CU(a,c,r)}function HU(a,e){return[503,...a].includes((e==null?void 0:e.status)||(e==null?void 0:e.statusCode))}async function LU(a,e){async function r(){return await a(w(s({},e),{headers:s({},e.headers)}))}return r().catch(u=>Promise.reject(u))}async function db(a){let c=a,{url:e,httpClient:r}=c,u=Z(c,["url","httpClient"]);return await LU(async l=>{let{enableRetry:b,retryConfig:h,timeout:U,getAbortController:R}=u,{retryCodes:j=[],maxDelay:E=1/0,maxRetries:C=3,backoff:G=!0,retryDelay:V=200,retryOnAbort:H=!0}=h||{},S,O,x=0,_;AU(j);async function $(){return r(e,w(s(w(s(s({},l),u),{headers:s({},u.headers)}),u.body?{data:u.body}:{}),{withCredentials:l.credentialsMode==="include"}))}function N(){let L=(R?R():null)||new AbortController;return u.abortController=L,u.signal=L.signal,L}async function ne(){let L=async(pe,Al)=>{let se={};if(U){let Y=N();_=setTimeout(()=>{Y.abort(),Y=N()},U)}try{if(se=await $(),se.status>399&&HU(pe,se))return{_response:se,shouldRetry:!0}}catch(Y){if((Y.name.includes("AbortError")||Y.name.includes("TimeoutError"))&&Al)return{_response:Y,shouldRetry:!0};throw Y}finally{clearTimeout(_)}return{_response:se,shouldRetry:!1}},{_response:ce,shouldRetry:Je}=await L(j,H);for(;b&&Je&&x<C;){x++,await zU(BU({retryCount:x,retryDelay:V,maxRetries:C,backoff:G,maxDelay:E}));let pe=await L(j,H);ce=pe._response,Je=pe.shouldRetry}return ce}let M=await ne();if(u.method=="HEAD")return{data:null,retryCount:x,statusCode:M.status||M.statusCode||O.statusCode,headers:M.headers};try{M.text&&typeof M.text=="function"?(S=await M.text(),O=JSON.parse(S)):O=M.data||M}catch(L){throw L}return{data:O,retryCount:x,statusCode:M.status||M.statusCode||O.statusCode,headers:M.headers}},{validateStatus:l=>!0})}function NU(){return("1000000-1000-4000-8000"+-1e11).replace(/[018]/g,a=>(parseInt(a)^Math.floor(Math.random()*256)&15>>parseInt(a)/4).toString(16))}function FU(a){return kU.reduce((e,r)=>{let u=a[r]?a[r]:typeof a.get=="function"?a.get(r):null;return u&&(e[r]=u),e},{})}function Ae(a){if(!a)return null;if(a.raw&&typeof a.raw=="function")return a.raw();if(!a.forEach)return FU(a);let e={};return a.forEach((r,u)=>e[u]=r),e}function Wb(a){return a!=null&&a.constructor!=null&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function cb(a){let e=JSON.parse(JSON.stringify(a));return e!=null&&e.headers&&(e.headers.Authorization&&(e.headers.Authorization="Bearer ********"),e.headers.authorization&&(e.headers.authorization="Bearer ********")),e}function ub(a,e){return w(s({},e),{headers:w(s({},e.headers),{Authorization:"Bearer ".concat(a)})})}var $U=["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"];function BU({retryCount:a,retryDelay:e,backoff:r,maxDelay:u}){return r&&a!==0?Math.min(Math.round((Math.random()+1)*e*2**a),u):e}function zU(a){return new Promise(e=>{setTimeout(e,a)})}function pa(a){var e;if(!((e=a==null?void 0:a.credentials)!=null&&e.clientId)||!a.projectKey||!a.host)throw new Error("Missing required options.");return{clientId:a.credentials.clientId,host:a.host,projectKey:a.projectKey}}function QU(a){return Date.now()+a*1e3-300*1e3}function ya(a){let e=a;return{get:r=>e,set:(r,u)=>{e=r}}}function mb(a){return typeof a<"u"&&a!==null}function ZU(a){return mb(a)?typeof a=="string"?a:Object.fromEntries(Object.entries(a).filter(([e,r])=>![null,void 0,""].includes(r))):""}function WU(a){let e={},r=new URLSearchParams(a);for(let u of r.keys())r.getAll(u).length>1?e[u]=r.getAll(u):e[u]=r.get(u);return e}function YU(a){if(a=ZU(a),!a)return"";let e=new URLSearchParams(a);for(let[r,u]of Object.entries(a))Array.isArray(u)&&(e.delete(r),u.filter(mb).forEach(n=>e.append(r,n)));return e.toString()}function JU(a,e=WU){return e(a)}function Yb(a,e=YU){return e(a)}var XU=()=>typeof window<"u"&&window.document&&window.document.nodeType===9;function gU(){var r;if(XU())return window.navigator.userAgent;let a=((r=process==null?void 0:process.version)==null?void 0:r.slice(1))||"unknown",e="(".concat((process==null?void 0:process.platform)||"","; ").concat((process==null?void 0:process.arch)||"",")");return"node.js/".concat(a," ").concat(e.trim())}function dU(a){let e=null,r=null;if(!a)throw new Error("Missing required option `name`");let u=a.version?"".concat(a.name,"/").concat(a.version):a.name;a.libraryName&&!a.libraryVersion?e=a.libraryName:a.libraryName&&a.libraryVersion&&(e="".concat(a.libraryName,"/").concat(a.libraryVersion)),a.contactUrl&&!a.contactEmail?r="(+".concat(a.contactUrl,")"):!a.contactUrl&&a.contactEmail?r="(+".concat(a.contactEmail,")"):a.contactUrl&&a.contactEmail&&(r="(+".concat(a.contactUrl,"; +").concat(a.contactEmail,")"));let n=gU(),c=a.customAgent||"";return[u,n,e,r,c].filter(Boolean).join(" ")}function mU(a){if(!a.host)throw new Error("Request `host` or `url` is missing or invalid, please pass in a valid host e.g `host: http://a-valid-host-url`");if(!a.httpClient&&typeof a.httpClient!="function")throw new Error("An `httpClient` is not available, please pass in a `fetch` or `axios` instance as an option or have them globally available.");if(a.httpClientOptions&&Object.prototype.toString.call(a.httpClientOptions)!=="[object Object]")throw new Error("`httpClientOptions` must be an object type")}function AU(a){if(!Array.isArray(a))throw new Error("`retryCodes` option must be an array of retry status (error) codes and/or messages.")}function ew(a){if(!a)throw new Error("Missing required options");if(a.middlewares&&!Array.isArray(a.middlewares))throw new Error("Middlewares should be an array");if(!a.middlewares||!Array.isArray(a.middlewares)||!a.middlewares.length)throw new Error("You need to provide at least one middleware")}function Ab(a,e,r={allowedMethods:$U}){if(!e)throw new Error('The "'.concat(a,'" function requires a "Request" object as an argument. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'));if(typeof e.uri!="string")throw new Error('The "'.concat(a,'" Request object requires a valid uri. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'));if(!r.allowedMethods.includes(e.method))throw new Error('The "'.concat(a,'" Request object requires a valid method. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'))}function aw(a){if(!Array.isArray(a))throw new Error("`stringBodyContentTypes` option must be an array of strings")}function eq(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");let{clientId:e,clientSecret:r}=a.credentials||{};if(!(e&&r))throw new Error("Missing required credentials (clientId, clientSecret)");let u=a.scopes?a.scopes.join(" "):void 0,n=btoa("".concat(e,":").concat(r)),c=a.oauthUri||"/oauth/token",l=a.host.replace(/\/$/,"")+c,b="grant_type=client_credentials".concat(u?"&scope=".concat(u):"");return{url:l,body:b,basicAuth:n}}function sw(a){if(!a)throw new Error("Missing required options");if(!a.projectKey)throw new Error("Missing required option (projectKey)");let e=a.projectKey;a.oauthUri=a.oauthUri||"/oauth/".concat(e,"/anonymous/token");let r=eq(a);return a.credentials.anonymousId&&(r.body+="&anonymous_id=".concat(a.credentials.anonymousId)),s({},r)}function aq(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");if(!a.refreshToken)throw new Error("Missing required option (refreshToken)");let{clientId:e,clientSecret:r}=a.credentials;if(!(e&&r))throw new Error("Missing required credentials (clientId, clientSecret)");let u=btoa("".concat(e,":").concat(r)),n=a.oauthUri||"/oauth/token",c=a.host.replace(/\/$/,"")+n,l="grant_type=refresh_token&refresh_token=".concat(encodeURIComponent(a.refreshToken));return{basicAuth:u,url:c,body:l}}function rw(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");let{clientId:e,clientSecret:r,user:u}=a.credentials,n=a.projectKey;if(!(e&&r&&u))throw new Error("Missing required credentials (clientId, clientSecret, user)");let{username:c,password:l}=u;if(!(c&&l))throw new Error("Missing required user credentials (username, password)");let b=(a.scopes||[]).join(" "),h=b?"&scope=".concat(b):"",U=btoa("".concat(e,":").concat(r)),R=a.oauthUri||"/oauth/".concat(n,"/customers/token"),j=a.host.replace(/\/$/,"")+R,E="grant_type=password&username=".concat(encodeURIComponent(c),"&password=").concat(encodeURIComponent(l)).concat(h);return{basicAuth:U,url:j,body:E}}async function Jb(a){let{httpClient:e,httpClientOptions:r,tokenCache:u,userOption:n,tokenCacheObject:c,tokenCacheKey:l,request:b}=a,h=a.url,U=a.body,R=a.basicAuth;if(!e||typeof e!="function")throw new Error("an `httpClient` is not available, please pass in a `fetch` or `axios` instance as an option or have them globally available.");if(c&&c.refreshToken&&(!c.token||c.token&&Date.now()>c.expirationTime)){if(!n)throw new Error("Missing required options.");let E=s({},aq(w(s({},n),{refreshToken:c.refreshToken})));h=E.url,U=E.body,R=E.basicAuth}let j;try{if(j=await db({url:h,method:"POST",headers:w(s({},b.headers),{Authorization:"Basic ".concat(R),"Content-Type":"application/x-www-form-urlencoded","Content-Length":gb(U)}),httpClient:e,httpClientOptions:r,body:U}),j.statusCode>=200&&j.statusCode<300){let{access_token:E,expires_in:C,refresh_token:G}=j==null?void 0:j.data,V=QU(C),H={token:E,expirationTime:V,refreshToken:G};return await u.set(H,l),Promise.resolve(!0)}throw nb({code:j.data.error,statusCode:j.data.statusCode,message:j.data.message,error:j.data.errors})}catch(E){throw E}}async function la(a,e=null,r,u,n,c,l,b){let h=w(s({request:a,tokenCache:n,tokenCacheKey:u,httpClient:l.httpClient||fetch,httpClientOptions:l.httpClientOptions},c(l)),{userOption:l,next:b}),U=async R=>{let j=Object.assign({},R);return j.statusCode==401&&(e=Jb(h),await e,e=null,r=await n.get(u),j=await b(ub(r.token,a))),j};return a.headers&&(a.headers.Authorization||a.headers.authorization)?U(await b(a)):(r=await n.get(u),r&&r.token&&Date.now()<r.expirationTime?U(await b(ub(r.token,a))):(e?await e:(e=Jb(h),await e,e=null),r=await n.get(u),b(ub(r.token,a))))}function sq(a){let e=a.tokenCache||ya({token:"",expirationTime:-1}),r,u=null,n=pa(a);return c=>async l=>la(l,u,r,n,e,sw,a,c)}function rq(a){let e=a.tokenCache||ya({token:"",expirationTime:-1}),r,u=null,n=pa(a);return c=>async l=>la(l,u,r,n,e,eq,a,c)}function tq(a,e){return r=>async u=>{if(typeof a!="string")throw new Error("authorization must be a string");let n=(e==null?void 0:e.force)===void 0?!0:e.force;if(!a||u.headers&&(u.headers.Authorization||u.headers.authorization)&&n===!1)return r(u);let c=w(s({},u),{headers:w(s({},u.headers),{Authorization:a})});return r(c)}}function iq(a){let e=a.tokenCache||ya({token:"",expirationTime:-1}),r,u=null,n=pa(a);return c=>async l=>la(l,u,r,n,e,rw,a,c)}function uq(a){let e=a.tokenCache||ya({token:"",tokenCacheKey:null}),r,u=null,n=pa(a);return c=>async l=>la(l,u,r,n,e,aq,a,c)}function nq(a){return e=>async r=>{var n,c,l;let u=await e(r);if(u.statusCode==409){let b=(l=(c=(n=u.error.body)==null?void 0:n.errors)==null?void 0:c[0])==null?void 0:l.currentVersion;if(b)return a&&typeof a=="function"?r.body=await a(b,r,u):r.body=typeof r.body=="string"?w(s({},JSON.parse(r.body)),{version:b}):w(s({},r.body),{version:b}),e(r)}return u}}function cq(a){return e=>r=>{let u=w(s({},r),{headers:w(s({},r.headers),{"X-Correlation-ID":a!=null&&a.generate&&typeof a.generate=="function"?a.generate():NU()})});return e(u)}}function pq(a={}){return e=>async r=>{let u=await e(r);if(u.error){let{error:n}=u;return a.handler&&typeof a.handler=="function"?a.handler({error:n,request:r,response:u,next:e}):w(s({},u),{statusCode:n.statusCode||0,headers:n.headers||Ae({}),body:n,error:n})}return u}}async function tw({url:a,httpClient:e,clientOptions:r}){var b,h,U,R,j,E,C,G,V,H,S,O;let{request:u,maskSensitiveHeaderData:n,includeRequestInErrorResponse:c,includeResponseHeaders:l}=r;try{let x=await db(s(w(s({url:a},r),{httpClient:e,method:r.method}),r.body?{body:r.body}:{}));if(l||(x.headers=null),x.statusCode>=200&&x.statusCode<300)return r.method=="HEAD"?{body:null,statusCode:x.statusCode,retryCount:x.retryCount,headers:Ae(x.headers)}:{body:x.data,statusCode:x.statusCode,retryCount:x.retryCount,headers:Ae(x.headers)};let _=nb(s({code:(h=(b=x.data)==null?void 0:b.errors)==null?void 0:h[0].code,message:((U=x==null?void 0:x.data)==null?void 0:U.message)||(x==null?void 0:x.message),statusCode:x.statusCode||((R=x==null?void 0:x.data)==null?void 0:R.statusCode),method:r.method,headers:Ae(x.headers),body:x.data,error:x.data,retryCount:x.retryCount},c?{originalRequest:n?cb(u):u}:{uri:u.uri}));return w(s({},_),{error:_})}catch(x){let _=l?Ae((j=x.response)==null?void 0:j.headers):null,$=((E=x.response)==null?void 0:E.status)||((C=x.response)==null?void 0:C.statusCode)||((G=x.response)==null?void 0:G.data.statusCode)||0,N=(H=(V=x.response)==null?void 0:V.data)==null?void 0:H.message;throw{body:null,error:nb(s({statusCode:$,code:"NetworkError",status:$,message:N||x.message,headers:_,body:((S=x.response)==null?void 0:S.data)||x,error:((O=x.response)==null?void 0:O.data)||x},c?{originalRequest:n?cb(u):u}:{uri:u.uri}))}}}function yq(a){mU(a);let{host:e,credentialsMode:r,httpClient:u,timeout:n,enableRetry:c,retryConfig:l,getAbortController:b,includeOriginalRequest:h,includeRequestInErrorResponse:U=!0,includeResponseHeaders:R=!0,maskSensitiveHeaderData:j,httpClientOptions:E,stringBodyContentTypes:C=[]}=a;return G=>async V=>{let H=e.replace(/\/$/,"")+V.uri,S=s({},V.headers);aw(C),Object.prototype.hasOwnProperty.call(S,"Content-Type")||Object.prototype.hasOwnProperty.call(S,"content-type")||(S["Content-Type"]="application/json"),S["Content-Type"]===null&&delete S["Content-Type"];let O=[...oU,...C].indexOf(S["Content-Type"])>-1&&typeof V.body=="string"||Wb(V.body)?V.body:JSON.stringify(V.body||void 0);O&&(typeof O=="string"||Wb(O))&&(S["Content-Length"]=gb(O));let x=s({enableRetry:c,retryConfig:l,request:V,method:V.method,headers:S,includeRequestInErrorResponse:U,maskSensitiveHeaderData:j,includeResponseHeaders:R},E);r&&(x.credentialsMode=r),n&&(x.timeout=n,x.getAbortController=b),O&&(x.body=O);let _=await tw({url:H,clientOptions:x,httpClient:u}),$=w(s({},V),{includeOriginalRequest:h,maskSensitiveHeaderData:j,response:_});return G($)}}function lq(a){return e=>async r=>{let u=await e(r),n=Object.assign({},u),{loggerFn:c=console.log}=a||{};return c&&typeof c=="function"&&c(u),n}}function bq({concurrency:a=20}){let e=0,r=[],u=()=>0>=a?Promise.resolve():new Promise(c=>{let l=()=>{e<a?(e++,c()):r.push(l)};l()}),n=()=>{if(e--,r.length>0){let c=r.shift();c&&c()}};return c=>l=>u().then(()=>{let b=w(s({},l),{resolve(h){l.resolve(h),n()},reject(h){l.reject(h),n()}});return c(b).finally(()=>{n()})})}var iw={name:"@commercetools/ts-client",version:"4.8.0",engines:{node:">=18"},description:"commercetools Composable Commerce TypeScript SDK client.",keywords:["commercetools","composable commerce","sdk","typescript","client","middleware","http","oauth","auth"],homepage:"https://github.com/commercetools/commercetools-sdk-typescript",license:"MIT",directories:{lib:"lib",test:"test"},publishConfig:{access:"public"},repository:{type:"git",url:"https://github.com/commercetools/commercetools-sdk-typescript"},bugs:{url:"https://github.com/commercetools/commercetools-sdk-typescript/issues"},dependencies:{buffer:"^6.0.3"},files:["dist","CHANGELOG.md"],author:"Chukwuemeka Ajima <meeky.ae@gmail.com>",main:"dist/commercetools-ts-client.cjs.js",module:"dist/commercetools-ts-client.esm.js",browser:{"./dist/commercetools-ts-client.cjs.js":"./dist/commercetools-ts-client.browser.cjs.js","./dist/commercetools-ts-client.esm.js":"./dist/commercetools-ts-client.browser.esm.js"},devDependencies:{"common-tags":"1.8.2",dotenv:"17.2.2",jest:"29.7.0",nock:"14.0.10","organize-imports-cli":"0.10.0"},scripts:{organize_imports:"find src -type f -name '*.ts' | xargs organize-imports-cli",postbuild:"yarn organize_imports",post_process_generate:"yarn organize_imports",docs:"typedoc --out docs"}};function qq(a){return e=>async r=>{let u=dU(w(s({},a),{name:"".concat(a.name?a.name+"/":"","commercetools-sdk-javascript-v3/").concat(iw.version)})),n=w(s({},r),{headers:w(s({},r.headers),{"User-Agent":u})});return e(n)}}var uw=Object.freeze({__proto__:null,createAuthMiddlewareForAnonymousSessionFlow:sq,createAuthMiddlewareForClientCredentialsFlow:rq,createAuthMiddlewareForExistingTokenFlow:tq,createAuthMiddlewareForPasswordFlow:iq,createAuthMiddlewareForRefreshTokenFlow:uq,createConcurrentModificationMiddleware:nq,createCorrelationIdMiddleware:cq,createErrorMiddleware:pq,createHttpMiddleware:yq,createLoggerMiddleware:lq,createQueueMiddleware:bq,createUserAgentMiddleware:qq});function nw({middlewares:a}){return a.length===1?a[0]:a.slice().reduce((r,u)=>(...n)=>r(u.apply(null,n)))}var hq;function Uq(a,e,r){if(Ab("process",a,{allowedMethods:["GET"]}),typeof e!="function")throw new Error('The "process" function accepts a "Function" as a second argument that returns a Promise. See https://commercetools.github.io/nodejs/sdk/api/sdkClient.html#processrequest-processfn-options');let u=s({total:Number.POSITIVE_INFINITY,accumulate:!0},r);return new Promise((n,c)=>{let l,b="";if(a&&a.uri){let[C,G]=a.uri.split("?");l=C,b=G}let h=s({},JU(b)),U=s({limit:20},h),R=u.total,j=!1,E=async(C,G=[])=>{let V=U.limit<R?U.limit:R,H=Yb(w(s({},U),{limit:V})),S=s({sort:"id asc",withTotal:!1},C?{where:'id > "'.concat(C,'"')}:{}),O=Yb(S),x=w(s({},a),{uri:"".concat(l,"?").concat(O,"&").concat(H)});try{let _=await yb(hq).execute(x),{results:$,count:N}=(_==null?void 0:_.body)||{};if(!N&&j)return n(G||[]);let ne=await Promise.resolve(e(_)),M;if(j=!0,u.accumulate&&(M=G.concat(ne||[])),R-=N,N<U.limit||!R)return n(M||[]);let L=$[N-1],ce=L&&L.id;E(ce,M)}catch(_){c(_)}};E()})}function yb(a){hq=a,ew(a);let e=!1,r={async resolve(n){let E=n,{response:c,includeOriginalRequest:l,maskSensitiveHeaderData:b}=E,h=Z(E,["response","includeOriginalRequest","maskSensitiveHeaderData"]),C=c,{retryCount:U}=C,R=Z(C,["retryCount"]);return e=b,s(s(s({body:null,error:null,reject:n.reject,resolve:n.resolve},R),l?{originalRequest:h}:{}),c!=null&&c.retryCount?{retryCount:c.retryCount}:{})}},u=nw(a)(r.resolve);return{process:Uq,execute(n){return Ab("exec",n),new Promise(async(c,l)=>{try{let b=await u(s({reject:l,resolve:c},n));if(b.error)return l(b.error);b.originalRequest&&e&&(b.originalRequest=cb(b.originalRequest)),c(b)}catch(b){l(b)}})}}}var{createAuthMiddlewareForPasswordFlow:cw,createAuthMiddlewareForAnonymousSessionFlow:pw,createAuthMiddlewareForClientCredentialsFlow:yw,createAuthMiddlewareForRefreshTokenFlow:lw,createAuthMiddlewareForExistingTokenFlow:bw,createCorrelationIdMiddleware:qw,createHttpMiddleware:hw,createLoggerMiddleware:Uw,createQueueMiddleware:ww,createUserAgentMiddleware:Xb,createConcurrentModificationMiddleware:xw,createErrorMiddleware:Tw}=uw,pb=class{constructor(){d(this,"projectKey",void 0),d(this,"authMiddleware",void 0),d(this,"httpMiddleware",void 0),d(this,"userAgentMiddleware",void 0),d(this,"correlationIdMiddleware",void 0),d(this,"loggerMiddleware",void 0),d(this,"queueMiddleware",void 0),d(this,"concurrentMiddleware",void 0),d(this,"telemetryMiddleware",void 0),d(this,"beforeMiddleware",void 0),d(this,"afterMiddleware",void 0),d(this,"errorMiddleware",void 0),d(this,"middlewares",[]),this.userAgentMiddleware=Xb({})}withProjectKey(e){return this.projectKey=e,this}defaultClient(e,r,u,n,c,l){return this.withClientCredentialsFlow({host:u,projectKey:n||this.projectKey,credentials:r,httpClient:l||fetch,scopes:c}).withHttpMiddleware({host:e,httpClient:l||fetch})}withAuthMiddleware(e){return this.authMiddleware=e,this}withMiddleware(e){return this.middlewares.push(e),this}withErrorMiddleware(e){return this.errorMiddleware=Tw(e),this}withClientCredentialsFlow(e){return this.withAuthMiddleware(yw(s({host:e.host||ca,projectKey:e.projectKey||this.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null},oauthUri:e.oauthUri||null,scopes:e.scopes,httpClient:e.httpClient||fetch},e)))}withPasswordFlow(e){return this.withAuthMiddleware(cw(s({host:e.host||ca,projectKey:e.projectKey||this.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null,user:{username:e.credentials.user.username||null,password:e.credentials.user.password||null}},httpClient:e.httpClient||fetch},e)))}withAnonymousSessionFlow(e){return this.withAuthMiddleware(pw(s({host:e.host||ca,projectKey:this.projectKey||e.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null,anonymousId:e.credentials.anonymousId||null},httpClient:e.httpClient||fetch},e)))}withRefreshTokenFlow(e){return this.withAuthMiddleware(lw(s({host:e.host||ca,projectKey:this.projectKey||e.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null},httpClient:e.httpClient||fetch,refreshToken:e.refreshToken||null},e)))}withExistingTokenFlow(e,r){return this.withAuthMiddleware(bw(e,s({force:r.force||!0},r)))}withHttpMiddleware(e){return this.httpMiddleware=hw(s({host:e.host||EU,httpClient:e.httpClient||fetch},e)),this}withUserAgentMiddleware(e){return this.userAgentMiddleware=Xb(e),this}withQueueMiddleware(e){return this.queueMiddleware=ww(s({concurrency:e.concurrency||PU},e)),this}withLoggerMiddleware(e){return this.loggerMiddleware=Uw(e),this}withCorrelationIdMiddleware(e){return this.correlationIdMiddleware=qw(s({generate:e==null?void 0:e.generate},e)),this}withConcurrentModificationMiddleware(e){return this.concurrentMiddleware=xw(e==null?void 0:e.concurrentModificationHandlerFn),this}withTelemetryMiddleware(e){let n=e,{createTelemetryMiddleware:r}=n,u=Z(n,["createTelemetryMiddleware"]);return this.withUserAgentMiddleware({customAgent:(u==null?void 0:u.userAgent)||"typescript-sdk-apm-middleware"}),this.telemetryMiddleware=r(u),this}withBeforeExecutionMiddleware(e){let n=e||{},{middleware:r}=n,u=Z(n,["middleware"]);return this.beforeMiddleware=e.middleware(u),this}withAfterExecutionMiddleware(e){let n=e||{},{middleware:r}=n,u=Z(n,["middleware"]);return this.afterMiddleware=e.middleware(u),this}build(){let e=this.middlewares.slice();return this.telemetryMiddleware&&e.push(this.telemetryMiddleware),this.correlationIdMiddleware&&e.push(this.correlationIdMiddleware),this.userAgentMiddleware&&e.push(this.userAgentMiddleware),this.errorMiddleware&&e.push(this.errorMiddleware),this.authMiddleware&&e.push(this.authMiddleware),this.beforeMiddleware&&e.push(this.beforeMiddleware),this.queueMiddleware&&e.push(this.queueMiddleware),this.loggerMiddleware&&e.push(this.loggerMiddleware),this.concurrentMiddleware&&e.push(this.concurrentMiddleware),this.httpMiddleware&&e.push(this.httpMiddleware),this.afterMiddleware&&e.push(this.afterMiddleware),yb({middlewares:e})}};z.ClientBuilder=pb;z.Process=Uq;z.createAuthMiddlewareForAnonymousSessionFlow=sq;z.createAuthMiddlewareForClientCredentialsFlow=rq;z.createAuthMiddlewareForExistingTokenFlow=tq;z.createAuthMiddlewareForPasswordFlow=iq;z.createAuthMiddlewareForRefreshTokenFlow=uq;z.createClient=yb;z.createConcurrentModificationMiddleware=nq;z.createCorrelationIdMiddleware=cq;z.createErrorMiddleware=pq;z.createHttpMiddleware=yq;z.createLoggerMiddleware=lq;z.createQueueMiddleware=bq;z.createUserAgentMiddleware=qq});var $q=Ge(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});function Rw(a,e){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var u=r.call(a,e||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function jw(a){var e=Rw(a,"string");return typeof e=="symbol"?e:e+""}function m(a,e,r){return(e=jw(e))in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function fq(a){return a&&typeof a=="string"?new TextEncoder().encode(a).length.toString():a&&a instanceof Uint8Array?a.byteLength.toString():a&&typeof a=="object"?new TextEncoder().encode(JSON.stringify(a)).length.toString():"0"}var fw=["application/json","application/graphql"],Kw=20,ow="https://api.europe-west1.gcp.commercetools.com",ba="https://auth.europe-west1.gcp.commercetools.com",Pw=["content-type","access-control-allow-origin","access-control-allow-headers","access-control-allow-methods","access-control-expose-headers","access-control-max-ag","x-correlation-id","server-timing","date","server","transfer-encoding","access-control-max-age","content-encoding","x-envoy-upstream-service-time","via","alt-svc","connection"];function Ue(a,e,r={}){var u;this.code=(u=r.code)!=null?u:r.code=this.constructor.name,this.statusCode=a,this.status=a,this.message=e,Object.assign(this,r),this.name=this.constructor.name,this.constructor.prototype.__proto__=Error.prototype,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function Ew(...a){Ue.call(this,0,...a)}function kw(...a){Ue.call(this,...a)}function Dw(...a){Ue.call(this,400,...a)}function Cw(...a){Ue.call(this,401,...a)}function vw(...a){Ue.call(this,403,...a)}function Vw(...a){Ue.call(this,404,...a)}function Iw(...a){Ue.call(this,409,...a)}function Ow(...a){Ue.call(this,500,...a)}function Sw(...a){Ue.call(this,503,...a)}function _w(a){switch(a){case 0:return Ew;case 400:return Dw;case 401:return Cw;case 403:return vw;case 404:return Vw;case 409:return Iw;case 500:return Ow;case 503:return Sw;default:return}}function bb(u){var n=u,{statusCode:a,message:e}=n,r=Z(n,["statusCode","message"]);var b;let c=e||"Unexpected non-JSON error response";a===404&&(c="URI not found: ".concat(((b=r.originalRequest)==null?void 0:b.uri)||r.uri));let l=_w(a);return l?new l(c,r):new kw(a,c,r)}function Mw(a,e){return[503,...a].includes((e==null?void 0:e.status)||(e==null?void 0:e.statusCode))}async function Gw(a,e){async function r(){return await a(w(s({},e),{headers:s({},e.headers)}))}return r().catch(u=>Promise.reject(u))}async function Kq(a){let c=a,{url:e,httpClient:r}=c,u=Z(c,["url","httpClient"]);return await Gw(async l=>{let{enableRetry:b,retryConfig:h,timeout:U,getAbortController:R}=u,{retryCodes:j=[],maxDelay:E=1/0,maxRetries:C=3,backoff:G=!0,retryDelay:V=200,retryOnAbort:H=!0}=h||{},S,O,x=0,_;dw(j);async function $(){return r(e,w(s(w(s(s({},l),u),{headers:s({},u.headers)}),u.body?{data:u.body}:{}),{withCredentials:l.credentialsMode==="include"}))}function N(){let L=(R?R():null)||new AbortController;return u.abortController=L,u.signal=L.signal,L}async function ne(){let L=async(pe,Al)=>{let se={};if(U){let Y=N();_=setTimeout(()=>{Y.abort(),Y=N()},U)}try{if(se=await $(),se.status>399&&Mw(pe,se))return{_response:se,shouldRetry:!0}}catch(Y){if((Y.name.includes("AbortError")||Y.name.includes("TimeoutError"))&&Al)return{_response:Y,shouldRetry:!0};throw Y}finally{clearTimeout(_)}return{_response:se,shouldRetry:!1}},{_response:ce,shouldRetry:Je}=await L(j,H);for(;b&&Je&&x<C;){x++,await $w(Fw({retryCount:x,retryDelay:V,maxRetries:C,backoff:G,maxDelay:E}));let pe=await L(j,H);ce=pe._response,Je=pe.shouldRetry}return ce}let M=await ne();if(u.method=="HEAD")return{data:null,retryCount:x,statusCode:M.status||M.statusCode||O.statusCode,headers:M.headers};try{M.text&&typeof M.text=="function"?(S=await M.text(),O=JSON.parse(S)):O=M.data||M}catch(L){throw L}return{data:O,retryCount:x,statusCode:M.status||M.statusCode||O.statusCode,headers:M.headers}},{validateStatus:l=>!0})}function Hw(){return("1000000-1000-4000-8000"+-1e11).replace(/[018]/g,a=>(parseInt(a)^Math.floor(Math.random()*256)&15>>parseInt(a)/4).toString(16))}function Lw(a){return Pw.reduce((e,r)=>{let u=a[r]?a[r]:typeof a.get=="function"?a.get(r):null;return u&&(e[r]=u),e},{})}function ea(a){if(!a)return null;if(a.raw&&typeof a.raw=="function")return a.raw();if(!a.forEach)return Lw(a);let e={};return a.forEach((r,u)=>e[u]=r),e}function xq(a){return a!=null&&a.constructor!=null&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function qb(a){let e=JSON.parse(JSON.stringify(a));return e!=null&&e.headers&&(e.headers.Authorization&&(e.headers.Authorization="Bearer ********"),e.headers.authorization&&(e.headers.authorization="Bearer ********")),e}function lb(a,e){return w(s({},e),{headers:w(s({},e.headers),{Authorization:"Bearer ".concat(a)})})}var Nw=["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"];function Fw({retryCount:a,retryDelay:e,backoff:r,maxDelay:u}){return r&&a!==0?Math.min(Math.round((Math.random()+1)*e*2**a),u):e}function $w(a){return new Promise(e=>{setTimeout(e,a)})}function qa(a){var e;if(!((e=a==null?void 0:a.credentials)!=null&&e.clientId)||!a.projectKey||!a.host)throw new Error("Missing required options.");return{clientId:a.credentials.clientId,host:a.host,projectKey:a.projectKey}}function Bw(a){return Date.now()+a*1e3-300*1e3}function ha(a){let e=a;return{get:r=>e,set:(r,u)=>{e=r}}}function oq(a){return typeof a<"u"&&a!==null}function zw(a){return oq(a)?typeof a=="string"?a:Object.fromEntries(Object.entries(a).filter(([e,r])=>![null,void 0,""].includes(r))):""}function Qw(a){let e={},r=new URLSearchParams(a);for(let u of r.keys())r.getAll(u).length>1?e[u]=r.getAll(u):e[u]=r.get(u);return e}function Zw(a){if(a=zw(a),!a)return"";let e=new URLSearchParams(a);for(let[r,u]of Object.entries(a))Array.isArray(u)&&(e.delete(r),u.filter(oq).forEach(n=>e.append(r,n)));return e.toString()}function Ww(a,e=Qw){return e(a)}function Tq(a,e=Zw){return e(a)}var Yw=()=>typeof window<"u"&&window.document&&window.document.nodeType===9;function Jw(){var r;if(Yw())return window.navigator.userAgent;let a=((r=process==null?void 0:process.version)==null?void 0:r.slice(1))||"unknown",e="(".concat((process==null?void 0:process.platform)||"","; ").concat((process==null?void 0:process.arch)||"",")");return"node.js/".concat(a," ").concat(e.trim())}function Xw(a){let e=null,r=null;if(!a)throw new Error("Missing required option `name`");let u=a.version?"".concat(a.name,"/").concat(a.version):a.name;a.libraryName&&!a.libraryVersion?e=a.libraryName:a.libraryName&&a.libraryVersion&&(e="".concat(a.libraryName,"/").concat(a.libraryVersion)),a.contactUrl&&!a.contactEmail?r="(+".concat(a.contactUrl,")"):!a.contactUrl&&a.contactEmail?r="(+".concat(a.contactEmail,")"):a.contactUrl&&a.contactEmail&&(r="(+".concat(a.contactUrl,"; +").concat(a.contactEmail,")"));let n=Jw(),c=a.customAgent||"";return[u,n,e,r,c].filter(Boolean).join(" ")}function gw(a){if(!a.host)throw new Error("Request `host` or `url` is missing or invalid, please pass in a valid host e.g `host: http://a-valid-host-url`");if(!a.httpClient&&typeof a.httpClient!="function")throw new Error("An `httpClient` is not available, please pass in a `fetch` or `axios` instance as an option or have them globally available.");if(a.httpClientOptions&&Object.prototype.toString.call(a.httpClientOptions)!=="[object Object]")throw new Error("`httpClientOptions` must be an object type")}function dw(a){if(!Array.isArray(a))throw new Error("`retryCodes` option must be an array of retry status (error) codes and/or messages.")}function mw(a){if(!a)throw new Error("Missing required options");if(a.middlewares&&!Array.isArray(a.middlewares))throw new Error("Middlewares should be an array");if(!a.middlewares||!Array.isArray(a.middlewares)||!a.middlewares.length)throw new Error("You need to provide at least one middleware")}function Pq(a,e,r={allowedMethods:Nw}){if(!e)throw new Error('The "'.concat(a,'" function requires a "Request" object as an argument. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'));if(typeof e.uri!="string")throw new Error('The "'.concat(a,'" Request object requires a valid uri. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'));if(!r.allowedMethods.includes(e.method))throw new Error('The "'.concat(a,'" Request object requires a valid method. See https://commercetools.github.io/nodejs/sdk/Glossary.html#clientrequest'))}function Aw(a){if(!Array.isArray(a))throw new Error("`stringBodyContentTypes` option must be an array of strings")}function Eq(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");let{clientId:e,clientSecret:r}=a.credentials||{};if(!(e&&r))throw new Error("Missing required credentials (clientId, clientSecret)");let u=a.scopes?a.scopes.join(" "):void 0,n=btoa("".concat(e,":").concat(r)),c=a.oauthUri||"/oauth/token",l=a.host.replace(/\/$/,"")+c,b="grant_type=client_credentials".concat(u?"&scope=".concat(u):"");return{url:l,body:b,basicAuth:n}}function ex(a){if(!a)throw new Error("Missing required options");if(!a.projectKey)throw new Error("Missing required option (projectKey)");let e=a.projectKey;a.oauthUri=a.oauthUri||"/oauth/".concat(e,"/anonymous/token");let r=Eq(a);return a.credentials.anonymousId&&(r.body+="&anonymous_id=".concat(a.credentials.anonymousId)),s({},r)}function kq(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");if(!a.refreshToken)throw new Error("Missing required option (refreshToken)");let{clientId:e,clientSecret:r}=a.credentials;if(!(e&&r))throw new Error("Missing required credentials (clientId, clientSecret)");let u=btoa("".concat(e,":").concat(r)),n=a.oauthUri||"/oauth/token",c=a.host.replace(/\/$/,"")+n,l="grant_type=refresh_token&refresh_token=".concat(encodeURIComponent(a.refreshToken));return{basicAuth:u,url:c,body:l}}function ax(a){if(!a)throw new Error("Missing required options");if(!a.host)throw new Error("Missing required option (host)");if(!a.projectKey)throw new Error("Missing required option (projectKey)");if(!a.credentials)throw new Error("Missing required option (credentials)");let{clientId:e,clientSecret:r,user:u}=a.credentials,n=a.projectKey;if(!(e&&r&&u))throw new Error("Missing required credentials (clientId, clientSecret, user)");let{username:c,password:l}=u;if(!(c&&l))throw new Error("Missing required user credentials (username, password)");let b=(a.scopes||[]).join(" "),h=b?"&scope=".concat(b):"",U=btoa("".concat(e,":").concat(r)),R=a.oauthUri||"/oauth/".concat(n,"/customers/token"),j=a.host.replace(/\/$/,"")+R,E="grant_type=password&username=".concat(encodeURIComponent(c),"&password=").concat(encodeURIComponent(l)).concat(h);return{basicAuth:U,url:j,body:E}}async function Rq(a){let{httpClient:e,httpClientOptions:r,tokenCache:u,userOption:n,tokenCacheObject:c,tokenCacheKey:l,request:b}=a,h=a.url,U=a.body,R=a.basicAuth;if(!e||typeof e!="function")throw new Error("an `httpClient` is not available, please pass in a `fetch` or `axios` instance as an option or have them globally available.");if(c&&c.refreshToken&&(!c.token||c.token&&Date.now()>c.expirationTime)){if(!n)throw new Error("Missing required options.");let E=s({},kq(w(s({},n),{refreshToken:c.refreshToken})));h=E.url,U=E.body,R=E.basicAuth}let j;try{if(j=await Kq({url:h,method:"POST",headers:w(s({},b.headers),{Authorization:"Basic ".concat(R),"Content-Type":"application/x-www-form-urlencoded","Content-Length":fq(U)}),httpClient:e,httpClientOptions:r,body:U}),j.statusCode>=200&&j.statusCode<300){let{access_token:E,expires_in:C,refresh_token:G}=j==null?void 0:j.data,V=Bw(C),H={token:E,expirationTime:V,refreshToken:G};return await u.set(H,l),Promise.resolve(!0)}throw bb({code:j.data.error,statusCode:j.data.statusCode,message:j.data.message,error:j.data.errors})}catch(E){throw E}}async function Ua(a,e=null,r,u,n,c,l,b){let h=w(s({request:a,tokenCache:n,tokenCacheKey:u,httpClient:l.httpClient||fetch,httpClientOptions:l.httpClientOptions},c(l)),{userOption:l,next:b}),U=async R=>{let j=Object.assign({},R);return j.statusCode==401&&(e=Rq(h),await e,e=null,r=await n.get(u),j=await b(lb(r.token,a))),j};return a.headers&&(a.headers.Authorization||a.headers.authorization)?U(await b(a)):(r=await n.get(u),r&&r.token&&Date.now()<r.expirationTime?U(await b(lb(r.token,a))):(e?await e:(e=Rq(h),await e,e=null),r=await n.get(u),b(lb(r.token,a))))}function Dq(a){let e=a.tokenCache||ha({token:"",expirationTime:-1}),r,u=null,n=qa(a);return c=>async l=>Ua(l,u,r,n,e,ex,a,c)}function Cq(a){let e=a.tokenCache||ha({token:"",expirationTime:-1}),r,u=null,n=qa(a);return c=>async l=>Ua(l,u,r,n,e,Eq,a,c)}function vq(a,e){return r=>async u=>{if(typeof a!="string")throw new Error("authorization must be a string");let n=(e==null?void 0:e.force)===void 0?!0:e.force;if(!a||u.headers&&(u.headers.Authorization||u.headers.authorization)&&n===!1)return r(u);let c=w(s({},u),{headers:w(s({},u.headers),{Authorization:a})});return r(c)}}function Vq(a){let e=a.tokenCache||ha({token:"",expirationTime:-1}),r,u=null,n=qa(a);return c=>async l=>Ua(l,u,r,n,e,ax,a,c)}function Iq(a){let e=a.tokenCache||ha({token:"",tokenCacheKey:null}),r,u=null,n=qa(a);return c=>async l=>Ua(l,u,r,n,e,kq,a,c)}function Oq(a){return e=>async r=>{var n,c,l;let u=await e(r);if(u.statusCode==409){let b=(l=(c=(n=u.error.body)==null?void 0:n.errors)==null?void 0:c[0])==null?void 0:l.currentVersion;if(b)return a&&typeof a=="function"?r.body=await a(b,r,u):r.body=typeof r.body=="string"?w(s({},JSON.parse(r.body)),{version:b}):w(s({},r.body),{version:b}),e(r)}return u}}function Sq(a){return e=>r=>{let u=w(s({},r),{headers:w(s({},r.headers),{"X-Correlation-ID":a!=null&&a.generate&&typeof a.generate=="function"?a.generate():Hw()})});return e(u)}}function _q(a={}){return e=>async r=>{let u=await e(r);if(u.error){let{error:n}=u;return a.handler&&typeof a.handler=="function"?a.handler({error:n,request:r,response:u,next:e}):w(s({},u),{statusCode:n.statusCode||0,headers:n.headers||ea({}),body:n,error:n})}return u}}async function sx({url:a,httpClient:e,clientOptions:r}){var b,h,U,R,j,E,C,G,V,H,S,O;let{request:u,maskSensitiveHeaderData:n,includeRequestInErrorResponse:c,includeResponseHeaders:l}=r;try{let x=await Kq(s(w(s({url:a},r),{httpClient:e,method:r.method}),r.body?{body:r.body}:{}));if(l||(x.headers=null),x.statusCode>=200&&x.statusCode<300)return r.method=="HEAD"?{body:null,statusCode:x.statusCode,retryCount:x.retryCount,headers:ea(x.headers)}:{body:x.data,statusCode:x.statusCode,retryCount:x.retryCount,headers:ea(x.headers)};let _=bb(s({code:(h=(b=x.data)==null?void 0:b.errors)==null?void 0:h[0].code,message:((U=x==null?void 0:x.data)==null?void 0:U.message)||(x==null?void 0:x.message),statusCode:x.statusCode||((R=x==null?void 0:x.data)==null?void 0:R.statusCode),method:r.method,headers:ea(x.headers),body:x.data,error:x.data,retryCount:x.retryCount},c?{originalRequest:n?qb(u):u}:{uri:u.uri}));return w(s({},_),{error:_})}catch(x){let _=l?ea((j=x.response)==null?void 0:j.headers):null,$=((E=x.response)==null?void 0:E.status)||((C=x.response)==null?void 0:C.statusCode)||((G=x.response)==null?void 0:G.data.statusCode)||0,N=(H=(V=x.response)==null?void 0:V.data)==null?void 0:H.message;throw{body:null,error:bb(s({statusCode:$,code:"NetworkError",status:$,message:N||x.message,headers:_,body:((S=x.response)==null?void 0:S.data)||x,error:((O=x.response)==null?void 0:O.data)||x},c?{originalRequest:n?qb(u):u}:{uri:u.uri}))}}}function Mq(a){gw(a);let{host:e,credentialsMode:r,httpClient:u,timeout:n,enableRetry:c,retryConfig:l,getAbortController:b,includeOriginalRequest:h,includeRequestInErrorResponse:U=!0,includeResponseHeaders:R=!0,maskSensitiveHeaderData:j,httpClientOptions:E,stringBodyContentTypes:C=[]}=a;return G=>async V=>{let H=e.replace(/\/$/,"")+V.uri,S=s({},V.headers);Aw(C),Object.prototype.hasOwnProperty.call(S,"Content-Type")||Object.prototype.hasOwnProperty.call(S,"content-type")||(S["Content-Type"]="application/json"),S["Content-Type"]===null&&delete S["Content-Type"];let O=[...fw,...C].indexOf(S["Content-Type"])>-1&&typeof V.body=="string"||xq(V.body)?V.body:JSON.stringify(V.body||void 0);O&&(typeof O=="string"||xq(O))&&(S["Content-Length"]=fq(O));let x=s({enableRetry:c,retryConfig:l,request:V,method:V.method,headers:S,includeRequestInErrorResponse:U,maskSensitiveHeaderData:j,includeResponseHeaders:R},E);r&&(x.credentialsMode=r),n&&(x.timeout=n,x.getAbortController=b),O&&(x.body=O);let _=await sx({url:H,clientOptions:x,httpClient:u}),$=w(s({},V),{includeOriginalRequest:h,maskSensitiveHeaderData:j,response:_});return G($)}}function Gq(a){return e=>async r=>{let u=await e(r),n=Object.assign({},u),{loggerFn:c=console.log}=a||{};return c&&typeof c=="function"&&c(u),n}}function Hq({concurrency:a=20}){let e=0,r=[],u=()=>0>=a?Promise.resolve():new Promise(c=>{let l=()=>{e<a?(e++,c()):r.push(l)};l()}),n=()=>{if(e--,r.length>0){let c=r.shift();c&&c()}};return c=>l=>u().then(()=>{let b=w(s({},l),{resolve(h){l.resolve(h),n()},reject(h){l.reject(h),n()}});return c(b).finally(()=>{n()})})}var rx={name:"@commercetools/ts-client",version:"4.8.0",engines:{node:">=18"},description:"commercetools Composable Commerce TypeScript SDK client.",keywords:["commercetools","composable commerce","sdk","typescript","client","middleware","http","oauth","auth"],homepage:"https://github.com/commercetools/commercetools-sdk-typescript",license:"MIT",directories:{lib:"lib",test:"test"},publishConfig:{access:"public"},repository:{type:"git",url:"https://github.com/commercetools/commercetools-sdk-typescript"},bugs:{url:"https://github.com/commercetools/commercetools-sdk-typescript/issues"},dependencies:{buffer:"^6.0.3"},files:["dist","CHANGELOG.md"],author:"Chukwuemeka Ajima <meeky.ae@gmail.com>",main:"dist/commercetools-ts-client.cjs.js",module:"dist/commercetools-ts-client.esm.js",browser:{"./dist/commercetools-ts-client.cjs.js":"./dist/commercetools-ts-client.browser.cjs.js","./dist/commercetools-ts-client.esm.js":"./dist/commercetools-ts-client.browser.esm.js"},devDependencies:{"common-tags":"1.8.2",dotenv:"17.2.2",jest:"29.7.0",nock:"14.0.10","organize-imports-cli":"0.10.0"},scripts:{organize_imports:"find src -type f -name '*.ts' | xargs organize-imports-cli",postbuild:"yarn organize_imports",post_process_generate:"yarn organize_imports",docs:"typedoc --out docs"}};function Lq(a){return e=>async r=>{let u=Xw(w(s({},a),{name:"".concat(a.name?a.name+"/":"","commercetools-sdk-javascript-v3/").concat(rx.version)})),n=w(s({},r),{headers:w(s({},r.headers),{"User-Agent":u})});return e(n)}}var tx=Object.freeze({__proto__:null,createAuthMiddlewareForAnonymousSessionFlow:Dq,createAuthMiddlewareForClientCredentialsFlow:Cq,createAuthMiddlewareForExistingTokenFlow:vq,createAuthMiddlewareForPasswordFlow:Vq,createAuthMiddlewareForRefreshTokenFlow:Iq,createConcurrentModificationMiddleware:Oq,createCorrelationIdMiddleware:Sq,createErrorMiddleware:_q,createHttpMiddleware:Mq,createLoggerMiddleware:Gq,createQueueMiddleware:Hq,createUserAgentMiddleware:Lq});function ix({middlewares:a}){return a.length===1?a[0]:a.slice().reduce((r,u)=>(...n)=>r(u.apply(null,n)))}var Nq;function Fq(a,e,r){if(Pq("process",a,{allowedMethods:["GET"]}),typeof e!="function")throw new Error('The "process" function accepts a "Function" as a second argument that returns a Promise. See https://commercetools.github.io/nodejs/sdk/api/sdkClient.html#processrequest-processfn-options');let u=s({total:Number.POSITIVE_INFINITY,accumulate:!0},r);return new Promise((n,c)=>{let l,b="";if(a&&a.uri){let[C,G]=a.uri.split("?");l=C,b=G}let h=s({},Ww(b)),U=s({limit:20},h),R=u.total,j=!1,E=async(C,G=[])=>{let V=U.limit<R?U.limit:R,H=Tq(w(s({},U),{limit:V})),S=s({sort:"id asc",withTotal:!1},C?{where:'id > "'.concat(C,'"')}:{}),O=Tq(S),x=w(s({},a),{uri:"".concat(l,"?").concat(O,"&").concat(H)});try{let _=await Ub(Nq).execute(x),{results:$,count:N}=(_==null?void 0:_.body)||{};if(!N&&j)return n(G||[]);let ne=await Promise.resolve(e(_)),M;if(j=!0,u.accumulate&&(M=G.concat(ne||[])),R-=N,N<U.limit||!R)return n(M||[]);let L=$[N-1],ce=L&&L.id;E(ce,M)}catch(_){c(_)}};E()})}function Ub(a){Nq=a,mw(a);let e=!1,r={async resolve(n){let E=n,{response:c,includeOriginalRequest:l,maskSensitiveHeaderData:b}=E,h=Z(E,["response","includeOriginalRequest","maskSensitiveHeaderData"]),C=c,{retryCount:U}=C,R=Z(C,["retryCount"]);return e=b,s(s(s({body:null,error:null,reject:n.reject,resolve:n.resolve},R),l?{originalRequest:h}:{}),c!=null&&c.retryCount?{retryCount:c.retryCount}:{})}},u=ix(a)(r.resolve);return{process:Fq,execute(n){return Pq("exec",n),new Promise(async(c,l)=>{try{let b=await u(s({reject:l,resolve:c},n));if(b.error)return l(b.error);b.originalRequest&&e&&(b.originalRequest=qb(b.originalRequest)),c(b)}catch(b){l(b)}})}}}var{createAuthMiddlewareForPasswordFlow:ux,createAuthMiddlewareForAnonymousSessionFlow:nx,createAuthMiddlewareForClientCredentialsFlow:cx,createAuthMiddlewareForRefreshTokenFlow:px,createAuthMiddlewareForExistingTokenFlow:yx,createCorrelationIdMiddleware:lx,createHttpMiddleware:bx,createLoggerMiddleware:qx,createQueueMiddleware:hx,createUserAgentMiddleware:jq,createConcurrentModificationMiddleware:Ux,createErrorMiddleware:wx}=tx,hb=class{constructor(){m(this,"projectKey",void 0),m(this,"authMiddleware",void 0),m(this,"httpMiddleware",void 0),m(this,"userAgentMiddleware",void 0),m(this,"correlationIdMiddleware",void 0),m(this,"loggerMiddleware",void 0),m(this,"queueMiddleware",void 0),m(this,"concurrentMiddleware",void 0),m(this,"telemetryMiddleware",void 0),m(this,"beforeMiddleware",void 0),m(this,"afterMiddleware",void 0),m(this,"errorMiddleware",void 0),m(this,"middlewares",[]),this.userAgentMiddleware=jq({})}withProjectKey(e){return this.projectKey=e,this}defaultClient(e,r,u,n,c,l){return this.withClientCredentialsFlow({host:u,projectKey:n||this.projectKey,credentials:r,httpClient:l||fetch,scopes:c}).withHttpMiddleware({host:e,httpClient:l||fetch})}withAuthMiddleware(e){return this.authMiddleware=e,this}withMiddleware(e){return this.middlewares.push(e),this}withErrorMiddleware(e){return this.errorMiddleware=wx(e),this}withClientCredentialsFlow(e){return this.withAuthMiddleware(cx(s({host:e.host||ba,projectKey:e.projectKey||this.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null},oauthUri:e.oauthUri||null,scopes:e.scopes,httpClient:e.httpClient||fetch},e)))}withPasswordFlow(e){return this.withAuthMiddleware(ux(s({host:e.host||ba,projectKey:e.projectKey||this.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null,user:{username:e.credentials.user.username||null,password:e.credentials.user.password||null}},httpClient:e.httpClient||fetch},e)))}withAnonymousSessionFlow(e){return this.withAuthMiddleware(nx(s({host:e.host||ba,projectKey:this.projectKey||e.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null,anonymousId:e.credentials.anonymousId||null},httpClient:e.httpClient||fetch},e)))}withRefreshTokenFlow(e){return this.withAuthMiddleware(px(s({host:e.host||ba,projectKey:this.projectKey||e.projectKey,credentials:{clientId:e.credentials.clientId||null,clientSecret:e.credentials.clientSecret||null},httpClient:e.httpClient||fetch,refreshToken:e.refreshToken||null},e)))}withExistingTokenFlow(e,r){return this.withAuthMiddleware(yx(e,s({force:r.force||!0},r)))}withHttpMiddleware(e){return this.httpMiddleware=bx(s({host:e.host||ow,httpClient:e.httpClient||fetch},e)),this}withUserAgentMiddleware(e){return this.userAgentMiddleware=jq(e),this}withQueueMiddleware(e){return this.queueMiddleware=hx(s({concurrency:e.concurrency||Kw},e)),this}withLoggerMiddleware(e){return this.loggerMiddleware=qx(e),this}withCorrelationIdMiddleware(e){return this.correlationIdMiddleware=lx(s({generate:e==null?void 0:e.generate},e)),this}withConcurrentModificationMiddleware(e){return this.concurrentMiddleware=Ux(e==null?void 0:e.concurrentModificationHandlerFn),this}withTelemetryMiddleware(e){let n=e,{createTelemetryMiddleware:r}=n,u=Z(n,["createTelemetryMiddleware"]);return this.withUserAgentMiddleware({customAgent:(u==null?void 0:u.userAgent)||"typescript-sdk-apm-middleware"}),this.telemetryMiddleware=r(u),this}withBeforeExecutionMiddleware(e){let n=e||{},{middleware:r}=n,u=Z(n,["middleware"]);return this.beforeMiddleware=e.middleware(u),this}withAfterExecutionMiddleware(e){let n=e||{},{middleware:r}=n,u=Z(n,["middleware"]);return this.afterMiddleware=e.middleware(u),this}build(){let e=this.middlewares.slice();return this.telemetryMiddleware&&e.push(this.telemetryMiddleware),this.correlationIdMiddleware&&e.push(this.correlationIdMiddleware),this.userAgentMiddleware&&e.push(this.userAgentMiddleware),this.errorMiddleware&&e.push(this.errorMiddleware),this.authMiddleware&&e.push(this.authMiddleware),this.beforeMiddleware&&e.push(this.beforeMiddleware),this.queueMiddleware&&e.push(this.queueMiddleware),this.loggerMiddleware&&e.push(this.loggerMiddleware),this.concurrentMiddleware&&e.push(this.concurrentMiddleware),this.httpMiddleware&&e.push(this.httpMiddleware),this.afterMiddleware&&e.push(this.afterMiddleware),Ub({middlewares:e})}};Q.ClientBuilder=hb;Q.Process=Fq;Q.createAuthMiddlewareForAnonymousSessionFlow=Dq;Q.createAuthMiddlewareForClientCredentialsFlow=Cq;Q.createAuthMiddlewareForExistingTokenFlow=vq;Q.createAuthMiddlewareForPasswordFlow=Vq;Q.createAuthMiddlewareForRefreshTokenFlow=Iq;Q.createClient=Ub;Q.createConcurrentModificationMiddleware=Oq;Q.createCorrelationIdMiddleware=Sq;Q.createErrorMiddleware=_q;Q.createHttpMiddleware=Mq;Q.createLoggerMiddleware=Gq;Q.createQueueMiddleware=Hq;Q.createUserAgentMiddleware=Lq});var Bq=Ge((KK,wb)=>{"use strict";process.env.NODE_ENV==="production"?wb.exports=wq():wb.exports=$q()});var Wq=Ge(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});function xx(a,e){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var u=r.call(a,e||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function Tx(a){var e=xx(a,"string");return typeof e=="symbol"?e:e+""}function xb(a,e,r){return(e=Tx(e))in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function zq(a){return typeof a<"u"&&a!==null}function Rx(a){let e=new URLSearchParams(a);for(let[r,u]of Object.entries(a))Array.isArray(u)&&(e.delete(r),u.filter(Boolean).forEach(n=>e.append(r,n)));return e.toString()}function jx(a){return Object.keys(a).reduce((e,r)=>{let u=a[r];if(Array.isArray(u)){let n=u.filter(zq);return n.length?w(s({},e),{[r]:n}):e}return zq(u)?w(s({},e),{[r]:u}):e},{})}function fx(a){let e=jx(a),r=Rx(e);return r===""?"":"?".concat(r)}function Qq(a){let e=a.pathVariables;var r=a.uriTemplate;for(let n in e){let c=encodeURIComponent("".concat(e[n]));r=r.replace("{".concat(n,"}"),"".concat(c))}let u=fx(a.queryParams||{});return"".concat(r).concat(u)}var t=class{constructor(e,r){this.requestExecutor=r,xb(this,"request",void 0),this.request=w(s({},e),{uri:Qq(e)})}clientRequest(){return this.request}execute(){return this.requestExecutor(this.request)}},wa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},xa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ta=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ra=class{constructor(e){this.args=e}withId(e){return new Ta({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ja=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},fa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ka=class{constructor(e){this.args=e}withKey(e){return new fa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ja({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},oa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Pa=class{constructor(e){this.args=e}withId(e){return new oa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ea=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ka=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Da=class{constructor(e){this.args=e}withId(e){return new Ea({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new ka({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ca=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},va=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Va=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ia=class{constructor(e){this.args=e}withKey(e){return new Va({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new va({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new Ca({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Oa=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Sa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},_a=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ma=class{constructor(e){this.args=e}orderQuote(){return new Oa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new _a({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Sa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ga=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ha=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},La=class{constructor(e){this.args=e}withKey(e){return new Ha({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ga({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Na=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Fa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},$a=class{constructor(e){this.args=e}withKey(e){return new Fa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Na({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ba=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},za=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Qa=class{constructor(e){this.args=e}withKey(e){return new za({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ba({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Za=class{constructor(e){this.args=e}approvalRules(){return new Da({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}approvalFlows(){return new Pa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new Ia({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new Qa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Ma({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new $a({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new La({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Wa=class{constructor(e){this.args=e}businessUnits(){return new Ka({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inBusinessUnitKeyWithBusinessUnitKeyValue(e){return new Za({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Ya=class{constructor(e){this.args=e}withAssociateIdValue(e){return new Wa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Ja=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Xa=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ga=class{constructor(e){this.args=e}withKey(e){return new Xa({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ja({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},da=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ma=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Aa=class{constructor(e){this.args=e}withKey(e){return new ma({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new da({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},es=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/{businessUnitId}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},as=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/key={key}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},ss=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/search/indexing-status",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},rs=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},ts=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},is=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},us=class{constructor(e){this.args=e}withKey(e){return new is({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ts({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}keyWithKeyValueAssociatesWithAssociateIdValue(e){return new as({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withBusinessUnitIdValueAssociatesWithAssociateIdValue(e){return new es({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new rs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}searchIndexingStatus(){return new ss({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ns=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},cs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ps=class{constructor(e){this.args=e}withKey(e){return new cs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ns({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ys=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/customer-id={customerId}/merge",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},ls=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},bs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},qs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},hs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Us=class{constructor(e){this.args=e}replicate(){return new ls({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withCustomerId(e){return new qs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerIdWithCustomerIdValueMerge(e){return new ys({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new hs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new bs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ws=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},xs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ts=class{constructor(e){this.args=e}withKey(e){return new xs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ws({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Rs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},js=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fs=class{constructor(e){this.args=e}withId(e){return new Rs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new js({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ks=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects/{container}/{key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/custom-objects/{container}/{key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},os=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects/{container}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ps=class{constructor(e){this.args=e}withContainerAndKey(e){return new Ks({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withContainer(e){return new os({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Es=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ks=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ds=class{constructor(e){this.args=e}withKey(e){return new ks({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Es({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Cs=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},vs=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/email-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Vs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/search/indexing-status",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Is=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Os=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Ss=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},_s=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ms=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Gs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/email-token={emailToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Hs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ls=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/password-token={passwordToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ns=class{constructor(e){this.args=e}withPasswordToken(e){return new Ls({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withEmailToken(e){return new Gs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailToken(){return new vs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new Cs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new Os({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordReset(){return new Ss({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordToken(){return new Is({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Hs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ms({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new _s({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}searchIndexingStatus(){return new Vs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Fs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$s=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Bs=class{constructor(e){this.args=e}withId(e){return new Fs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new $s({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},zs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Qs=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zs=class{constructor(e){this.args=e}withKey(e){return new Qs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new zs({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ws=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ys=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Js=class{constructor(e){this.args=e}withKey(e){return new Ys({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ws({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Xs=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/graphql",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},gs=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-business-unit/key={businessUnitKey}/me/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},ds=class{constructor(e){this.args=e}customers(){return new gs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},ms=class{constructor(e){this.args=e}me(){return new ds({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},As=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},er=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},ar=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},sr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},rr=class{constructor(e){this.args=e}withKey(e){return new sr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ar({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}keyWithKeyValueAssociatesWithAssociateIdValue(e){return new er({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withBusinessUnitIdValueAssociatesWithAssociateIdValue(e){return new As({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},tr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ir=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ur=class{constructor(e){this.args=e}withKey(e){return new ir({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new tr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},nr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}/merge",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},cr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},pr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},yr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},lr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},br=class{constructor(e){this.args=e}withCustomerId(e){return new yr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerIdWithCustomerIdValueMerge(e){return new nr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new lr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new cr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new pr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},qr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},hr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Ur=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},wr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},xr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Tr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Rr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email-token={emailToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},jr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password-token={passwordToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Kr=class{constructor(e){this.args=e}withPasswordToken(e){return new fr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withEmailToken(e){return new Rr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailToken(){return new hr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new qr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new wr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordReset(){return new xr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordToken(){return new Ur({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new jr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Tr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},or=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Pr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Er=class{constructor(e){this.args=e}withId(e){return new Pr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},kr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Dr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Cr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},vr=class{constructor(e){this.args=e}withId(e){return new Cr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Vr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Ir=class{constructor(e){this.args=e}reset(){return new Vr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Or=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Sr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},_r=class{constructor(e){this.args=e}withKey(e){return new Sr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Or({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Mr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/signup",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Gr=class{constructor(e){this.args=e}carts(){return new Er({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new vr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}activeCart(){return new wa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new _r({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new kr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new Ir({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}signup(){return new Mr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new Dr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Hr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Lr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Nr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Fr=class{constructor(e){this.args=e}orderQuote(){return new Hr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new Nr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Lr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},$r=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Br=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},zr=class{constructor(e){this.args=e}withKey(e){return new Br({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new $r({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Qr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-selection-assignments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zr=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Wr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Yr=class{constructor(e){this.args=e}images(){return new Wr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Jr=class{constructor(e){this.args=e}productTailoring(){return new Yr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Xr=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},gr=class{constructor(e){this.args=e}images(){return new Xr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},dr=class{constructor(e){this.args=e}productTailoring(){return new gr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},mr=class{constructor(e){this.args=e}withProductId(e){return new Jr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withProductKey(e){return new dr({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Ar=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},et=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},at=class{constructor(e){this.args=e}withKey(e){return new et({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ar({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},st=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},rt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},tt=class{constructor(e){this.args=e}withKey(e){return new rt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new st({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},it=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ut=class{constructor(e){this.args=e}matchingCart(){return new it({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},nt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ct=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},pt=class{constructor(e){this.args=e}withKey(e){return new ct({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new nt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},yt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},lt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},bt=class{constructor(e){this.args=e}withKey(e){return new lt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new yt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},qt=class{constructor(e){this.args=e}businessUnits(){return new rr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}cartDiscounts(){return new ur({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new br({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customers(){return new Kr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}me(){return new Gr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Fr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productProjections(){return new zr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelectionAssignments(){return new Qr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTailoring(){return new Zr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}products(){return new mr({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new at({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new tt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shippingMethods(){return new ut({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new pt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stagedQuotes(){return new bt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new or({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},ht=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ut=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},wt=class{constructor(e){this.args=e}withId(e){return new ht({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Ut({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},xt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Tt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Rt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},jt=class{constructor(e){this.args=e}withId(e){return new Tt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Rt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ft=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Kt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ot=class{constructor(e){this.args=e}withId(e){return new Kt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new ft({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Pt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Et=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},kt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Dt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ct=class{constructor(e){this.args=e}withId(e){return new Dt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orderQuote(){return new kt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},vt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Vt=class{constructor(e){this.args=e}reset(){return new vt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},It=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ot=class{constructor(e){this.args=e}withId(e){return new It({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},St=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},_t=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Mt=class{constructor(e){this.args=e}withId(e){return new St({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new _t({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Gt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ht=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Lt=class{constructor(e){this.args=e}withId(e){return new Gt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Ht({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Nt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ft=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$t=class{constructor(e){this.args=e}withId(e){return new Nt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Ft({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Bt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/signup",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},zt=class{constructor(e){this.args=e}emailConfirm(){return new Pt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new Vt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}signup(){return new Bt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new Et({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}activeCart(){return new xa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}businessUnits(){return new jt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new ot({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Ct({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}payments(){return new Ot({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new Mt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new Lt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new $t({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Qt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/messages/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/messages/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Zt=class{constructor(e){this.args=e}withId(e){return new Qt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/messages",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/messages",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Wt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/{ID}/apply",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Yt=class{constructor(e){this.args=e}apply(){return new Wt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Jt=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Xt=class{constructor(e){this.args=e}withKey(e){return new Jt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Yt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},gt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/import",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},dt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},mt=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},At=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ei=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ai=class{constructor(e){this.args=e}importOrder(){return new gt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orderQuote(){return new dt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new ei({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}edits(){return new Xt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new At({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new mt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},si=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ri=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ti=class{constructor(e){this.args=e}withKey(e){return new ri({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new si({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ii=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ui=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ni=class{constructor(e){this.args=e}withKey(e){return new ui({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ii({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ci=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/matching",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},pi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},yi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},li=class{constructor(e){this.args=e}matching(){return new ci({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new yi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new pi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},bi=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-projections/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/x-www-form-urlencoded"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},qi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/suggest",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},hi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ui=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},wi=class{constructor(e){this.args=e}search(){return new bi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}suggest(){return new qi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Ui({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new hi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},xi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/{ID}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ti=class{constructor(e){this.args=e}products(){return new xi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ri=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/key={key}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ji=class{constructor(e){this.args=e}products(){return new Ri({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fi=class{constructor(e){this.args=e}withKey(e){return new ji({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ti({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ki=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},oi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Pi=class{constructor(e){this.args=e}withKey(e){return new oi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ki({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ei=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ki=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Di=class{constructor(e){this.args=e}withKey(e){return new ki({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ei({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ci=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},vi=class{constructor(e){this.args=e}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/{ID}/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Vi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/{ID}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ii=class{constructor(e){this.args=e}images(){return new vi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelections(){return new Vi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Oi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/key={key}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Si=class{constructor(e){this.args=e}productSelections(){return new Oi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},_i=class{constructor(e){this.args=e}withKey(e){return new Si({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ii({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new Ci({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Mi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Gi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Hi=class{constructor(e){this.args=e}withKey(e){return new Gi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Mi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Li=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ni=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Fi=class{constructor(e){this.args=e}withKey(e){return new Ni({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Li({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},$i=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Bi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},zi=class{constructor(e){this.args=e}withKey(e){return new Bi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new $i({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Qi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Wi=class{constructor(e){this.args=e}withId(e){return new Qi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Zi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Yi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ji=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Xi=class{constructor(e){this.args=e}withKey(e){return new Ji({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Yi({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},gi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-cart-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-cart-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},di=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},mi=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ai=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-orderedit",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-orderedit",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},eu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},au=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},su=class{constructor(e){this.args=e}withKey(e){return new au({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingCart(){return new di({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingCartLocation(){return new gi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingOrderedit(){return new Ai({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingLocation(){return new mi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new eu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ru=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},tu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},iu=class{constructor(e){this.args=e}withKey(e){return new tu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ru({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},uu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},nu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},cu=class{constructor(e){this.args=e}withKey(e){return new nu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new uu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},pu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},yu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},lu=class{constructor(e){this.args=e}withKey(e){return new yu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new pu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},bu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},qu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},hu=class{constructor(e){this.args=e}withKey(e){return new qu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new bu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Uu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},wu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},xu=class{constructor(e){this.args=e}withKey(e){return new wu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Uu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Tu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/{ID}/health",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Ru=class{constructor(e){this.args=e}withIdHealth(){return new Tu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ju=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fu=class{constructor(e){this.args=e}withKey(e){return new ju({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ru({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Ku=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ou=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Pu=class{constructor(e){this.args=e}withKey(e){return new ou({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ku({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Eu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ku=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Du=class{constructor(e){this.args=e}withKey(e){return new ku({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Eu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Cu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},vu=class{constructor(e){this.args=e}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new t({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Vu=class{constructor(e){this.args=e}withKey(e){return new vu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Cu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Iu=class{constructor(e){this.args=e}asAssociate(){return new Ya({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}associateRoles(){return new ga({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}businessUnits(){return new us({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}categories(){return new Ts({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new Us({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}cartDiscounts(){return new ps({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}channels(){return new fs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customers(){return new Ns({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerGroups(){return new Ds({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customObjects(){return new Ps({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}discountCodes(){return new Bs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}discountGroups(){return new Zs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}graphql(){return new Xs({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inventory(){return new wt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new xt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}messages(){return new Zt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new ai({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}paymentMethods(){return new ti({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}payments(){return new ni({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}products(){return new _i({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productDiscounts(){return new li({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productProjections(){return new wi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelections(){return new fi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTailoring(){return new Pi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTypes(){return new Di({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new Fi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new Hi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stagedQuotes(){return new cu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}recurringOrders(){return new Wi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}recurrencePolicies(){return new zi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}reviews(){return new Xi({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shippingMethods(){return new su({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new iu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}states(){return new hu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}subscriptions(){return new fu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}taxCategories(){return new Pu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}types(){return new Du({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}zones(){return new Vu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}me(){return new zt({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}extensions(){return new Js({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}apiClients(){return new Ra({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stores(){return new xu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inStoreKeyWithStoreKeyValue(e){return new qt({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}standalonePrices(){return new lu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inBusinessUnitKeyWithBusinessUnitKeyValue(e){return new ms({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}attributeGroups(){return new Aa({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new t({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new t({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new t({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Ou=class{constructor(e){xb(this,"executeRequest",void 0),xb(this,"baseUri",void 0),this.executeRequest=e.executeRequest,this.baseUri=e.baseUri||"https://api.europe-west1.gcp.commercetools.com"}withProjectKey(e){return new Iu({pathArgs:s({},e),executeRequest:this.executeRequest,baseUri:this.baseUri})}},Kx=(function(a){return a.Approved="Approved",a.Pending="Pending",a.Rejected="Rejected",a})({}),ox=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),Px=(function(a){return a.AcceptMyQuotes="AcceptMyQuotes",a.AcceptOthersQuotes="AcceptOthersQuotes",a.AddChildUnits="AddChildUnits",a.CreateApprovalRules="CreateApprovalRules",a.CreateMyCarts="CreateMyCarts",a.CreateMyOrdersFromMyCarts="CreateMyOrdersFromMyCarts",a.CreateMyOrdersFromMyQuotes="CreateMyOrdersFromMyQuotes",a.CreateMyQuoteRequestsFromMyCarts="CreateMyQuoteRequestsFromMyCarts",a.CreateMyShoppingLists="CreateMyShoppingLists",a.CreateOrdersFromOthersCarts="CreateOrdersFromOthersCarts",a.CreateOrdersFromOthersQuotes="CreateOrdersFromOthersQuotes",a.CreateOthersCarts="CreateOthersCarts",a.CreateOthersShoppingLists="CreateOthersShoppingLists",a.CreateQuoteRequestsFromOthersCarts="CreateQuoteRequestsFromOthersCarts",a.DeclineMyQuotes="DeclineMyQuotes",a.DeclineOthersQuotes="DeclineOthersQuotes",a.DeleteMyCarts="DeleteMyCarts",a.DeleteMyShoppingLists="DeleteMyShoppingLists",a.DeleteOthersCarts="DeleteOthersCarts",a.DeleteOthersShoppingLists="DeleteOthersShoppingLists",a.ReassignMyQuotes="ReassignMyQuotes",a.ReassignOthersQuotes="ReassignOthersQuotes",a.RenegotiateMyQuotes="RenegotiateMyQuotes",a.RenegotiateOthersQuotes="RenegotiateOthersQuotes",a.UpdateApprovalFlows="UpdateApprovalFlows",a.UpdateApprovalRules="UpdateApprovalRules",a.UpdateAssociates="UpdateAssociates",a.UpdateBusinessUnitDetails="UpdateBusinessUnitDetails",a.UpdateMyCarts="UpdateMyCarts",a.UpdateMyOrders="UpdateMyOrders",a.UpdateMyQuoteRequests="UpdateMyQuoteRequests",a.UpdateMyShoppingLists="UpdateMyShoppingLists",a.UpdateOthersCarts="UpdateOthersCarts",a.UpdateOthersOrders="UpdateOthersOrders",a.UpdateOthersQuoteRequests="UpdateOthersQuoteRequests",a.UpdateOthersShoppingLists="UpdateOthersShoppingLists",a.UpdateParentUnit="UpdateParentUnit",a.ViewMyCarts="ViewMyCarts",a.ViewMyOrders="ViewMyOrders",a.ViewMyQuoteRequests="ViewMyQuoteRequests",a.ViewMyQuotes="ViewMyQuotes",a.ViewMyShoppingLists="ViewMyShoppingLists",a.ViewOthersCarts="ViewOthersCarts",a.ViewOthersOrders="ViewOthersOrders",a.ViewOthersQuoteRequests="ViewOthersQuoteRequests",a.ViewOthersQuotes="ViewOthersQuotes",a.ViewOthersShoppingLists="ViewOthersShoppingLists",a})({}),Ex=(function(a){return a.Disabled="Disabled",a.Enabled="Enabled",a})({}),kx=(function(a){return a.Explicit="Explicit",a.ExplicitAndFromParent="ExplicitAndFromParent",a})({}),Dx=(function(a){return a.Explicit="Explicit",a.ExplicitAndFromParent="ExplicitAndFromParent",a})({}),Cx=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),vx=(function(a){return a.Explicit="Explicit",a.FromParent="FromParent",a})({}),Vx=(function(a){return a.Company="Company",a.Division="Division",a})({}),Ix=(function(a){return a.MergeWithExistingCustomerCart="MergeWithExistingCustomerCart",a.UseAsNewActiveCustomerCart="UseAsNewActiveCustomerCart",a})({}),Ox=(function(a){return a.Customer="Customer",a.Merchant="Merchant",a.Quote="Quote",a.RecurringOrder="RecurringOrder",a})({}),Sx=(function(a){return a.Active="Active",a.Frozen="Frozen",a.Merged="Merged",a.Ordered="Ordered",a})({}),_x=(function(a){return a.External="External",a.Standard="Standard",a})({}),Mx=(function(a){return a.ApplicationStoppedByGroupBestDeal="ApplicationStoppedByGroupBestDeal",a.ApplicationStoppedByPreviousDiscount="ApplicationStoppedByPreviousDiscount",a.DoesNotMatchCart="DoesNotMatchCart",a.MatchesCart="MatchesCart",a.MaxApplicationReached="MaxApplicationReached",a.NotActive="NotActive",a.NotValid="NotValid",a})({}),Gx=(function(a){return a.None="None",a.ReserveOnOrder="ReserveOnOrder",a.TrackOnly="TrackOnly",a})({}),Hx=(function(a){return a.GiftLineItem="GiftLineItem",a.Standard="Standard",a})({}),Lx=(function(a){return a.ExternalPrice="ExternalPrice",a.ExternalTotal="ExternalTotal",a.Platform="Platform",a})({}),Nx=(function(a){return a.HalfDown="HalfDown",a.HalfEven="HalfEven",a.HalfUp="HalfUp",a})({}),Fx=(function(a){return a.DoesNotMatchCart="DoesNotMatchCart",a.MatchesCart="MatchesCart",a})({}),$x=(function(a){return a.Multiple="Multiple",a.Single="Single",a})({}),Bx=(function(a){return a.LineItemLevel="LineItemLevel",a.UnitPriceLevel="UnitPriceLevel",a})({}),zx=(function(a){return a.Disabled="Disabled",a.External="External",a.ExternalAmount="ExternalAmount",a.Platform="Platform",a})({}),Qx=(function(a){return a.All="All",a.Prices="Prices",a})({}),Zx=(function(a){return a.EvenDistribution="EvenDistribution",a.IndividualApplication="IndividualApplication",a.ProportionateDistribution="ProportionateDistribution",a})({}),Wx=(function(a){return a.Cheapest="Cheapest",a.MostExpensive="MostExpensive",a})({}),Yx=(function(a){return a.Stacking="Stacking",a.StopAfterThisDiscount="StopAfterThisDiscount",a})({}),Jx=(function(a){return a.InventorySupply="InventorySupply",a.OrderExport="OrderExport",a.OrderImport="OrderImport",a.Primary="Primary",a.ProductDistribution="ProductDistribution",a})({}),Xx=(function(a){return a.Billing="Billing",a.Shipping="Shipping",a})({}),gx=(function(a){return a.Export="Export",a.Import="Import",a})({}),dx=(function(a){return a.CentPrecision="centPrecision",a.HighPrecision="highPrecision",a})({}),mx=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.AttributeGroup="attribute-group",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.DirectDiscount="direct-discount",a.DiscountCode="discount-code",a.DiscountGroup="discount-group",a.Extension="extension",a.InventoryEntry="inventory-entry",a.KeyValueDocument="key-value-document",a.Order="order",a.OrderEdit="order-edit",a.Payment="payment",a.PaymentMethod="payment-method",a.Product="product",a.ProductDiscount="product-discount",a.ProductPrice="product-price",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.ProductType="product-type",a.Quote="quote",a.QuoteRequest="quote-request",a.RecurrencePolicy="recurrence-policy",a.RecurringOrder="recurring-order",a.Review="review",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.State="state",a.Store="store",a.Subscription="subscription",a.TaxCategory="tax-category",a.Type="type",a.Zone="zone",a})({}),Ax=(function(a){return a.MergeWithExistingCustomerCart="MergeWithExistingCustomerCart",a.UseAsNewActiveCustomerCart="UseAsNewActiveCustomerCart",a})({}),eT=(function(a){return a.ExternalAuth="ExternalAuth",a.Password="Password",a})({}),aT=(function(a){return a.Create="Create",a.Update="Update",a})({}),sT=(function(a){return a.BusinessUnit="business-unit",a.Cart="cart",a.Customer="customer",a.CustomerGroup="customer-group",a.Order="order",a.Payment="payment",a.PaymentMethod="payment-method",a.Quote="quote",a.QuoteRequest="quote-request",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a})({}),rT=(function(a){return a.Accepted="Accepted",a.Declined="Declined",a})({}),tT=(function(a){return a.BooleanType="BooleanType",a.DateTimeType="DateTimeType",a.DateType="DateType",a.EnumType="EnumType",a.LocalizedEnumType="LocalizedEnumType",a.LocalizedStringType="LocalizedStringType",a.NumberType="NumberType",a.SetTypeDateTimeType="SetType.DateTimeType",a.SetTypeDateType="SetType.DateType",a.SetTypeEnumType="SetType.EnumType",a.SetTypeLocalizedEnumType="SetType.LocalizedEnumType",a.SetTypeLocalizedStringType="SetType.LocalizedStringType",a.SetTypeNumberType="SetType.NumberType",a.SetTypeStringType="SetType.StringType",a.SetTypeTimeType="SetType.TimeType",a.StringType="StringType",a.TimeType="TimeType",a})({}),iT=(function(a){return a.All="all",a.Any="any",a})({}),uT=(function(a){return a.Avg="avg",a.Max="max",a.Min="min",a.Sum="sum",a})({}),nT=(function(a){return a.Asc="asc",a.Desc="desc",a})({}),cT=(function(a){return a.Cancelled="Cancelled",a.Complete="Complete",a.Confirmed="Confirmed",a.Open="Open",a})({}),pT=(function(a){return a.BalanceDue="BalanceDue",a.CreditOwed="CreditOwed",a.Failed="Failed",a.Paid="Paid",a.Pending="Pending",a})({}),yT=(function(a){return a.Initial="Initial",a.NonRefundable="NonRefundable",a.NotRefunded="NotRefunded",a.Refunded="Refunded",a})({}),lT=(function(a){return a.Advised="Advised",a.BackInStock="BackInStock",a.Returned="Returned",a.Unusable="Unusable",a})({}),bT=(function(a){return a.Backorder="Backorder",a.Canceled="Canceled",a.Delayed="Delayed",a.Delivered="Delivered",a.Partial="Partial",a.Pending="Pending",a.Ready="Ready",a.Shipped="Shipped",a})({}),qT=(function(a){return a.Failure="Failure",a.Initial="Initial",a.Pending="Pending",a.Success="Success",a})({}),hT=(function(a){return a.Authorization="Authorization",a.CancelAuthorization="CancelAuthorization",a.Charge="Charge",a.Chargeback="Chargeback",a.Refund="Refund",a})({}),UT=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),wT=(function(a){return a.Filter="filter",a.Range="range",a.Terms="terms",a})({}),xT=(function(a){return a.Embedded="Embedded",a.Standalone="Standalone",a})({}),TT=(function(a){return a.Boolean="boolean",a.Date="date",a.Datetime="datetime",a.Number="number",a.Text="text",a.Time="time",a})({}),RT=(function(a){return a.Products="products",a.Variants="variants",a})({}),jT=(function(a){return a.Count="count",a.Key="key",a})({}),fT=(function(a){return a.All="all",a.Query="query",a})({}),KT=(function(a){return a.Individual="Individual",a.IndividualExclusion="IndividualExclusion",a})({}),oT=(function(a){return a.Exclusion="exclusion",a.IncludeAllExcept="includeAllExcept",a.IncludeOnly="includeOnly",a.Inclusion="inclusion",a})({}),PT=(function(a){return a.CombinationUnique="CombinationUnique",a.None="None",a.SameForAll="SameForAll",a.Unique="Unique",a})({}),ET=(function(a){return a.None="None",a})({}),kT=(function(a){return a.Product="Product",a.Variant="Variant",a})({}),DT=(function(a){return a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerGroup="customer-group",a.KeyValueDocument="key-value-document",a.Order="order",a.Product="product",a.ProductType="product-type",a.Review="review",a.ShippingMethod="shipping-method",a.State="state",a.Zone="zone",a})({}),CT=(function(a){return a.MultiLine="MultiLine",a.SingleLine="SingleLine",a})({}),vT=(function(a){return a.Failed="Failed",a.Indexing="Indexing",a.Ready="Ready",a.Scheduled="Scheduled",a})({}),VT=(function(a){return a.Failed="Failed",a.Indexing="Indexing",a.Ready="Ready",a.Scheduled="Scheduled",a})({}),IT=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),OT=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),ST=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),_T=(function(a){return a.BestDeal="BestDeal",a.Stacking="Stacking",a})({}),MT=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),GT=(function(a){return a.ProductProjectionsSearch="ProductProjectionsSearch",a.ProductsSearch="ProductsSearch",a})({}),HT=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a.Indexing="Indexing",a})({}),LT=(function(a){return a.Accepted="Accepted",a.Declined="Declined",a.DeclinedForRenegotiation="DeclinedForRenegotiation",a.Pending="Pending",a.RenegotiationAddressed="RenegotiationAddressed",a.Withdrawn="Withdrawn",a})({}),NT=(function(a){return a.Accepted="Accepted",a.Cancelled="Cancelled",a.Closed="Closed",a.Rejected="Rejected",a.Submitted="Submitted",a})({}),FT=(function(a){return a.Days="Days",a.Months="Months",a.Weeks="Weeks",a})({}),$T=(function(a){return a.Dynamic="Dynamic",a.Fixed="Fixed",a})({}),BT=(function(a){return a.Active="Active",a.Canceled="Canceled",a.Expired="Expired",a.Failed="Failed",a.Paused="Paused",a})({}),zT=(function(a){return a.Boolean="boolean",a.Date="date",a.Datetime="datetime",a.Enum="enum",a.Lenum="lenum",a.Ltext="ltext",a.Money="money",a.Number="number",a.Reference="reference",a.SetBoolean="set_boolean",a.SetDate="set_date",a.SetDatetime="set_datetime",a.SetEnum="set_enum",a.SetLenum="set_lenum",a.SetLtext="set_ltext",a.SetMoney="set_money",a.SetNumber="set_number",a.SetReference="set_reference",a.SetText="set_text",a.SetTime="set_time",a.Text="text",a.Time="time",a})({}),QT=(function(a){return a.All="all",a.Any="any",a})({}),ZT=(function(a){return a.Avg="avg",a.Max="max",a.Min="min",a.Sum="sum",a})({}),WT=(function(a){return a.Asc="asc",a.Desc="desc",a})({}),YT=(function(a){return a.CartClassification="CartClassification",a.CartScore="CartScore",a.CartValue="CartValue",a})({}),JT=(function(a){return a.Closed="Closed",a.InProgress="InProgress",a.Sent="Sent",a})({}),XT=(function(a){return a.Return="Return",a.ReviewIncludedInStatistics="ReviewIncludedInStatistics",a})({}),gT=(function(a){return a.LineItemState="LineItemState",a.OrderState="OrderState",a.PaymentState="PaymentState",a.ProductState="ProductState",a.QuoteRequestState="QuoteRequestState",a.QuoteState="QuoteState",a.RecurringOrderState="RecurringOrderState",a.ReviewState="ReviewState",a.StagedQuoteState="StagedQuoteState",a})({}),dT=(function(a){return a.Credentials="Credentials",a.Iam="IAM",a})({}),mT=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.AttributeGroup="attribute-group",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.DiscountCode="discount-code",a.DiscountGroup="discount-group",a.Extension="extension",a.InventoryEntry="inventory-entry",a.KeyValueDocument="key-value-document",a.Order="order",a.OrderEdit="order-edit",a.Payment="payment",a.Product="product",a.ProductDiscount="product-discount",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.ProductType="product-type",a.Quote="quote",a.QuoteRequest="quote-request",a.RecurrencePolicy="recurrence-policy",a.RecurringOrder="recurring-order",a.Review="review",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.State="state",a.Store="store",a.Subscription="subscription",a.TaxCategory="tax-category",a.Type="type",a.Zone="zone",a})({}),AT=(function(a){return a.Checkout="checkout",a.ImportApi="import-api",a})({}),eR=(function(a){return a.CheckoutOrderCreationFailed="CheckoutOrderCreationFailed",a.CheckoutPaymentAuthorizationCancelled="CheckoutPaymentAuthorizationCancelled",a.CheckoutPaymentAuthorizationFailed="CheckoutPaymentAuthorizationFailed",a.CheckoutPaymentAuthorized="CheckoutPaymentAuthorized",a.CheckoutPaymentCancelAuthorizationFailed="CheckoutPaymentCancelAuthorizationFailed",a.CheckoutPaymentChargeFailed="CheckoutPaymentChargeFailed",a.CheckoutPaymentCharged="CheckoutPaymentCharged",a.CheckoutPaymentRefundFailed="CheckoutPaymentRefundFailed",a.CheckoutPaymentRefunded="CheckoutPaymentRefunded",a.ImportContainerCreated="ImportContainerCreated",a.ImportContainerDeleted="ImportContainerDeleted",a.ImportOperationRejected="ImportOperationRejected",a.ImportUnresolved="ImportUnresolved",a.ImportValidationFailed="ImportValidationFailed",a.ImportWaitForMasterVariant="ImportWaitForMasterVariant",a})({}),aR=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Category="category",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.InventoryEntry="inventory-entry",a.Order="order",a.Payment="payment",a.Product="product",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.Quote="quote",a.QuoteRequest="quote-request",a.Review="review",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.Store="store",a})({}),sR=(function(a){return a.ConfigurationError="ConfigurationError",a.ConfigurationErrorDeliveryStopped="ConfigurationErrorDeliveryStopped",a.Healthy="Healthy",a.ManuallySuspended="ManuallySuspended",a.TemporaryError="TemporaryError",a})({}),rR=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerGroup="customer-group",a.KeyValueDocument="key-value-document",a.Order="order",a.Product="product",a.ProductType="product-type",a.Review="review",a.ShippingMethod="shipping-method",a.State="state",a.Zone="zone",a})({}),tR=(function(a){return a.Address="address",a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.Asset="asset",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.CustomLineItem="custom-line-item",a.Customer="customer",a.CustomerGroup="customer-group",a.DiscountCode="discount-code",a.InventoryEntry="inventory-entry",a.LineItem="line-item",a.Order="order",a.OrderDelivery="order-delivery",a.OrderEdit="order-edit",a.OrderParcel="order-parcel",a.OrderReturnItem="order-return-item",a.Payment="payment",a.PaymentInterfaceInteraction="payment-interface-interaction",a.PaymentMethod="payment-method",a.PaymentMethodInfo="payment-method-info",a.ProductPrice="product-price",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.Quote="quote",a.RecurringOrder="recurring-order",a.Review="review",a.Shipping="shipping",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.ShoppingListTextLineItem="shopping-list-text-line-item",a.StandalonePrice="standalone-price",a.Store="store",a.Transaction="transaction",a})({}),iR=(function(a){return a.MultiLine="MultiLine",a.SingleLine="SingleLine",a})({}),uR=(a,e)=>{if(!e||e.length==0)return a;let r=e.reduce(nR);return Zq(r,a)};function nR(a,e){return(r,u)=>a(r,Zq(e,u))}function Zq(a,e){return r=>a(r,e)}function cR(a,e){return new Ou({executeRequest:a.execute,baseUri:e})}p.AddressRoleValues=Xx;p.AnonymousCartSignInModeValues=Ax;p.ApiRequest=t;p.ApiRoot=Ou;p.ApprovalFlowStatusValues=Kx;p.ApprovalRuleStatusValues=ox;p.AssociateRoleInheritanceModeValues=Ex;p.AttributeConstraintEnumDraftValues=ET;p.AttributeConstraintEnumValues=PT;p.AttributeLevelEnumValues=kT;p.AttributeReferenceTypeIdValues=DT;p.AttributionSourceValues=gx;p.AuthenticationModeValues=eT;p.AwsAuthenticationModeValues=dT;p.BusinessUnitApprovalRuleModeValues=kx;p.BusinessUnitAssociateModeValues=Dx;p.BusinessUnitConfigurationStatusValues=IT;p.BusinessUnitIndexingStatusValues=vT;p.BusinessUnitSearchStatusValues=OT;p.BusinessUnitStatusValues=Cx;p.BusinessUnitStoreModeValues=vx;p.BusinessUnitTypeValues=Vx;p.ByProjectKeyApiClientsByIDRequestBuilder=Ta;p.ByProjectKeyApiClientsRequestBuilder=Ra;p.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDRequestBuilder=ja;p.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyRequestBuilder=fa;p.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsRequestBuilder=Ka;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDRequestBuilder=oa;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsRequestBuilder=Pa;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDRequestBuilder=Ea;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyRequestBuilder=ka;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesRequestBuilder=Da;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDRequestBuilder=va;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyRequestBuilder=Va;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateRequestBuilder=Ca;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsRequestBuilder=Ia;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDRequestBuilder=Sa;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberRequestBuilder=_a;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesRequestBuilder=Oa;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersRequestBuilder=Ma;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDRequestBuilder=Ga;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyRequestBuilder=Ha;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsRequestBuilder=La;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDRequestBuilder=Na;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyRequestBuilder=Fa;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesRequestBuilder=$a;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyRequestBuilder=Za;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsByIDRequestBuilder=Ba;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsKeyByKeyRequestBuilder=za;p.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsRequestBuilder=Qa;p.ByProjectKeyAsAssociateByAssociateIdRequestBuilder=Wa;p.ByProjectKeyAsAssociateRequestBuilder=Ya;p.ByProjectKeyAssociateRolesByIDRequestBuilder=Ja;p.ByProjectKeyAssociateRolesKeyByKeyRequestBuilder=Xa;p.ByProjectKeyAssociateRolesRequestBuilder=ga;p.ByProjectKeyAttributeGroupsByIDRequestBuilder=da;p.ByProjectKeyAttributeGroupsKeyByKeyRequestBuilder=ma;p.ByProjectKeyAttributeGroupsRequestBuilder=Aa;p.ByProjectKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder=es;p.ByProjectKeyBusinessUnitsByIDRequestBuilder=ts;p.ByProjectKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder=as;p.ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder=is;p.ByProjectKeyBusinessUnitsRequestBuilder=us;p.ByProjectKeyBusinessUnitsSearchIndexingStatusRequestBuilder=ss;p.ByProjectKeyBusinessUnitsSearchRequestBuilder=rs;p.ByProjectKeyCartDiscountsByIDRequestBuilder=ns;p.ByProjectKeyCartDiscountsKeyByKeyRequestBuilder=cs;p.ByProjectKeyCartDiscountsRequestBuilder=ps;p.ByProjectKeyCartsByIDRequestBuilder=bs;p.ByProjectKeyCartsCustomerIdByCustomerIdMergeRequestBuilder=ys;p.ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder=qs;p.ByProjectKeyCartsKeyByKeyRequestBuilder=hs;p.ByProjectKeyCartsReplicateRequestBuilder=ls;p.ByProjectKeyCartsRequestBuilder=Us;p.ByProjectKeyCategoriesByIDRequestBuilder=ws;p.ByProjectKeyCategoriesKeyByKeyRequestBuilder=xs;p.ByProjectKeyCategoriesRequestBuilder=Ts;p.ByProjectKeyChannelsByIDRequestBuilder=Rs;p.ByProjectKeyChannelsKeyByKeyRequestBuilder=js;p.ByProjectKeyChannelsRequestBuilder=fs;p.ByProjectKeyCustomObjectsByContainerByKeyRequestBuilder=Ks;p.ByProjectKeyCustomObjectsByContainerRequestBuilder=os;p.ByProjectKeyCustomObjectsRequestBuilder=Ps;p.ByProjectKeyCustomerGroupsByIDRequestBuilder=Es;p.ByProjectKeyCustomerGroupsKeyByKeyRequestBuilder=ks;p.ByProjectKeyCustomerGroupsRequestBuilder=Ds;p.ByProjectKeyCustomersByIDRequestBuilder=Ms;p.ByProjectKeyCustomersEmailConfirmRequestBuilder=Cs;p.ByProjectKeyCustomersEmailTokenByEmailTokenRequestBuilder=Gs;p.ByProjectKeyCustomersEmailTokenRequestBuilder=vs;p.ByProjectKeyCustomersKeyByKeyRequestBuilder=Hs;p.ByProjectKeyCustomersPasswordRequestBuilder=Os;p.ByProjectKeyCustomersPasswordResetRequestBuilder=Ss;p.ByProjectKeyCustomersPasswordTokenByPasswordTokenRequestBuilder=Ls;p.ByProjectKeyCustomersPasswordTokenRequestBuilder=Is;p.ByProjectKeyCustomersRequestBuilder=Ns;p.ByProjectKeyCustomersSearchIndexingStatusRequestBuilder=Vs;p.ByProjectKeyCustomersSearchRequestBuilder=_s;p.ByProjectKeyDiscountCodesByIDRequestBuilder=Fs;p.ByProjectKeyDiscountCodesKeyByKeyRequestBuilder=$s;p.ByProjectKeyDiscountCodesRequestBuilder=Bs;p.ByProjectKeyDiscountGroupsByIDRequestBuilder=zs;p.ByProjectKeyDiscountGroupsKeyByKeyRequestBuilder=Qs;p.ByProjectKeyDiscountGroupsRequestBuilder=Zs;p.ByProjectKeyExtensionsByIDRequestBuilder=Ws;p.ByProjectKeyExtensionsKeyByKeyRequestBuilder=Ys;p.ByProjectKeyExtensionsRequestBuilder=Js;p.ByProjectKeyGraphqlRequestBuilder=Xs;p.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder=gs;p.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder=ds;p.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder=ms;p.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder=As;p.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByIDRequestBuilder=ar;p.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder=er;p.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyRequestBuilder=sr;p.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsRequestBuilder=rr;p.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDRequestBuilder=tr;p.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyRequestBuilder=ir;p.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsRequestBuilder=ur;p.ByProjectKeyInStoreKeyByStoreKeyCartsByIDRequestBuilder=pr;p.ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdMergeRequestBuilder=nr;p.ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdRequestBuilder=yr;p.ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyRequestBuilder=lr;p.ByProjectKeyInStoreKeyByStoreKeyCartsReplicateRequestBuilder=cr;p.ByProjectKeyInStoreKeyByStoreKeyCartsRequestBuilder=br;p.ByProjectKeyInStoreKeyByStoreKeyCustomersByIDRequestBuilder=Tr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmRequestBuilder=qr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenRequestBuilder=Rr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenRequestBuilder=hr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyRequestBuilder=jr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordRequestBuilder=wr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetRequestBuilder=xr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenRequestBuilder=fr;p.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenRequestBuilder=Ur;p.ByProjectKeyInStoreKeyByStoreKeyCustomersRequestBuilder=Kr;p.ByProjectKeyInStoreKeyByStoreKeyLoginRequestBuilder=or;p.ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder=wa;p.ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder=Pr;p.ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder=Er;p.ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmRequestBuilder=kr;p.ByProjectKeyInStoreKeyByStoreKeyMeLoginRequestBuilder=Dr;p.ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDRequestBuilder=Cr;p.ByProjectKeyInStoreKeyByStoreKeyMeOrdersRequestBuilder=vr;p.ByProjectKeyInStoreKeyByStoreKeyMePasswordRequestBuilder=Ir;p.ByProjectKeyInStoreKeyByStoreKeyMePasswordResetRequestBuilder=Vr;p.ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder=Gr;p.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDRequestBuilder=Or;p.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyRequestBuilder=Sr;p.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsRequestBuilder=_r;p.ByProjectKeyInStoreKeyByStoreKeyMeSignupRequestBuilder=Mr;p.ByProjectKeyInStoreKeyByStoreKeyOrdersByIDRequestBuilder=Lr;p.ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberRequestBuilder=Nr;p.ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesRequestBuilder=Hr;p.ByProjectKeyInStoreKeyByStoreKeyOrdersRequestBuilder=Fr;p.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder=$r;p.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder=Br;p.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsRequestBuilder=zr;p.ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsRequestBuilder=Qr;p.ByProjectKeyInStoreKeyByStoreKeyProductTailoringRequestBuilder=Zr;p.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesRequestBuilder=Wr;p.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringRequestBuilder=Yr;p.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDRequestBuilder=Jr;p.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesRequestBuilder=Xr;p.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringRequestBuilder=gr;p.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyRequestBuilder=dr;p.ByProjectKeyInStoreKeyByStoreKeyProductsRequestBuilder=mr;p.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDRequestBuilder=Ar;p.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyRequestBuilder=et;p.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsRequestBuilder=at;p.ByProjectKeyInStoreKeyByStoreKeyQuotesByIDRequestBuilder=st;p.ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyRequestBuilder=rt;p.ByProjectKeyInStoreKeyByStoreKeyQuotesRequestBuilder=tt;p.ByProjectKeyInStoreKeyByStoreKeyRequestBuilder=qt;p.ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartRequestBuilder=it;p.ByProjectKeyInStoreKeyByStoreKeyShippingMethodsRequestBuilder=ut;p.ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDRequestBuilder=nt;p.ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyRequestBuilder=ct;p.ByProjectKeyInStoreKeyByStoreKeyShoppingListsRequestBuilder=pt;p.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDRequestBuilder=yt;p.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyRequestBuilder=lt;p.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesRequestBuilder=bt;p.ByProjectKeyInventoryByIDRequestBuilder=ht;p.ByProjectKeyInventoryKeyByKeyRequestBuilder=Ut;p.ByProjectKeyInventoryRequestBuilder=wt;p.ByProjectKeyLoginRequestBuilder=xt;p.ByProjectKeyMeActiveCartRequestBuilder=xa;p.ByProjectKeyMeBusinessUnitsByIDRequestBuilder=Tt;p.ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder=Rt;p.ByProjectKeyMeBusinessUnitsRequestBuilder=jt;p.ByProjectKeyMeCartsByIDRequestBuilder=Kt;p.ByProjectKeyMeCartsReplicateRequestBuilder=ft;p.ByProjectKeyMeCartsRequestBuilder=ot;p.ByProjectKeyMeEmailConfirmRequestBuilder=Pt;p.ByProjectKeyMeLoginRequestBuilder=Et;p.ByProjectKeyMeOrdersByIDRequestBuilder=Dt;p.ByProjectKeyMeOrdersQuotesRequestBuilder=kt;p.ByProjectKeyMeOrdersRequestBuilder=Ct;p.ByProjectKeyMePasswordRequestBuilder=Vt;p.ByProjectKeyMePasswordResetRequestBuilder=vt;p.ByProjectKeyMePaymentsByIDRequestBuilder=It;p.ByProjectKeyMePaymentsRequestBuilder=Ot;p.ByProjectKeyMeQuoteRequestsByIDRequestBuilder=St;p.ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder=_t;p.ByProjectKeyMeQuoteRequestsRequestBuilder=Mt;p.ByProjectKeyMeQuotesByIDRequestBuilder=Gt;p.ByProjectKeyMeQuotesKeyByKeyRequestBuilder=Ht;p.ByProjectKeyMeQuotesRequestBuilder=Lt;p.ByProjectKeyMeRequestBuilder=zt;p.ByProjectKeyMeShoppingListsByIDRequestBuilder=Nt;p.ByProjectKeyMeShoppingListsKeyByKeyRequestBuilder=Ft;p.ByProjectKeyMeShoppingListsRequestBuilder=$t;p.ByProjectKeyMeSignupRequestBuilder=Bt;p.ByProjectKeyMessagesByIDRequestBuilder=Qt;p.ByProjectKeyMessagesRequestBuilder=Zt;p.ByProjectKeyOrdersByIDRequestBuilder=At;p.ByProjectKeyOrdersEditsByIDApplyRequestBuilder=Wt;p.ByProjectKeyOrdersEditsByIDRequestBuilder=Yt;p.ByProjectKeyOrdersEditsKeyByKeyRequestBuilder=Jt;p.ByProjectKeyOrdersEditsRequestBuilder=Xt;p.ByProjectKeyOrdersImportRequestBuilder=gt;p.ByProjectKeyOrdersOrderNumberByOrderNumberRequestBuilder=ei;p.ByProjectKeyOrdersQuotesRequestBuilder=dt;p.ByProjectKeyOrdersRequestBuilder=ai;p.ByProjectKeyOrdersSearchRequestBuilder=mt;p.ByProjectKeyPaymentMethodsByIDRequestBuilder=si;p.ByProjectKeyPaymentMethodsKeyByKeyRequestBuilder=ri;p.ByProjectKeyPaymentMethodsRequestBuilder=ti;p.ByProjectKeyPaymentsByIDRequestBuilder=ii;p.ByProjectKeyPaymentsKeyByKeyRequestBuilder=ui;p.ByProjectKeyPaymentsRequestBuilder=ni;p.ByProjectKeyProductDiscountsByIDRequestBuilder=pi;p.ByProjectKeyProductDiscountsKeyByKeyRequestBuilder=yi;p.ByProjectKeyProductDiscountsMatchingRequestBuilder=ci;p.ByProjectKeyProductDiscountsRequestBuilder=li;p.ByProjectKeyProductProjectionsByIDRequestBuilder=hi;p.ByProjectKeyProductProjectionsKeyByKeyRequestBuilder=Ui;p.ByProjectKeyProductProjectionsRequestBuilder=wi;p.ByProjectKeyProductProjectionsSearchRequestBuilder=bi;p.ByProjectKeyProductProjectionsSuggestRequestBuilder=qi;p.ByProjectKeyProductSelectionsByIDProductsRequestBuilder=xi;p.ByProjectKeyProductSelectionsByIDRequestBuilder=Ti;p.ByProjectKeyProductSelectionsKeyByKeyProductsRequestBuilder=Ri;p.ByProjectKeyProductSelectionsKeyByKeyRequestBuilder=ji;p.ByProjectKeyProductSelectionsRequestBuilder=fi;p.ByProjectKeyProductTailoringByIDRequestBuilder=Ki;p.ByProjectKeyProductTailoringKeyByKeyRequestBuilder=oi;p.ByProjectKeyProductTailoringRequestBuilder=Pi;p.ByProjectKeyProductTypesByIDRequestBuilder=Ei;p.ByProjectKeyProductTypesKeyByKeyRequestBuilder=ki;p.ByProjectKeyProductTypesRequestBuilder=Di;p.ByProjectKeyProductsByIDImagesRequestBuilder=vi;p.ByProjectKeyProductsByIDProductSelectionsRequestBuilder=Vi;p.ByProjectKeyProductsByIDRequestBuilder=Ii;p.ByProjectKeyProductsKeyByKeyProductSelectionsRequestBuilder=Oi;p.ByProjectKeyProductsKeyByKeyRequestBuilder=Si;p.ByProjectKeyProductsRequestBuilder=_i;p.ByProjectKeyProductsSearchRequestBuilder=Ci;p.ByProjectKeyQuoteRequestsByIDRequestBuilder=Mi;p.ByProjectKeyQuoteRequestsKeyByKeyRequestBuilder=Gi;p.ByProjectKeyQuoteRequestsRequestBuilder=Hi;p.ByProjectKeyQuotesByIDRequestBuilder=Li;p.ByProjectKeyQuotesKeyByKeyRequestBuilder=Ni;p.ByProjectKeyQuotesRequestBuilder=Fi;p.ByProjectKeyRecurrencePoliciesByIDRequestBuilder=$i;p.ByProjectKeyRecurrencePoliciesKeyByKeyRequestBuilder=Bi;p.ByProjectKeyRecurrencePoliciesRequestBuilder=zi;p.ByProjectKeyRecurringOrdersByIDRequestBuilder=Qi;p.ByProjectKeyRecurringOrdersKeyByKeyRequestBuilder=Zi;p.ByProjectKeyRecurringOrdersRequestBuilder=Wi;p.ByProjectKeyRequestBuilder=Iu;p.ByProjectKeyReviewsByIDRequestBuilder=Yi;p.ByProjectKeyReviewsKeyByKeyRequestBuilder=Ji;p.ByProjectKeyReviewsRequestBuilder=Xi;p.ByProjectKeyShippingMethodsByIDRequestBuilder=eu;p.ByProjectKeyShippingMethodsKeyByKeyRequestBuilder=au;p.ByProjectKeyShippingMethodsMatchingCartLocationRequestBuilder=gi;p.ByProjectKeyShippingMethodsMatchingCartRequestBuilder=di;p.ByProjectKeyShippingMethodsMatchingLocationRequestBuilder=mi;p.ByProjectKeyShippingMethodsMatchingOrdereditRequestBuilder=Ai;p.ByProjectKeyShippingMethodsRequestBuilder=su;p.ByProjectKeyShoppingListsByIDRequestBuilder=ru;p.ByProjectKeyShoppingListsKeyByKeyRequestBuilder=tu;p.ByProjectKeyShoppingListsRequestBuilder=iu;p.ByProjectKeyStagedQuotesByIDRequestBuilder=uu;p.ByProjectKeyStagedQuotesKeyByKeyRequestBuilder=nu;p.ByProjectKeyStagedQuotesRequestBuilder=cu;p.ByProjectKeyStandalonePricesByIDRequestBuilder=pu;p.ByProjectKeyStandalonePricesKeyByKeyRequestBuilder=yu;p.ByProjectKeyStandalonePricesRequestBuilder=lu;p.ByProjectKeyStatesByIDRequestBuilder=bu;p.ByProjectKeyStatesKeyByKeyRequestBuilder=qu;p.ByProjectKeyStatesRequestBuilder=hu;p.ByProjectKeyStoresByIDRequestBuilder=Uu;p.ByProjectKeyStoresKeyByKeyRequestBuilder=wu;p.ByProjectKeyStoresRequestBuilder=xu;p.ByProjectKeySubscriptionsByIDHealthRequestBuilder=Tu;p.ByProjectKeySubscriptionsByIDRequestBuilder=Ru;p.ByProjectKeySubscriptionsKeyByKeyRequestBuilder=ju;p.ByProjectKeySubscriptionsRequestBuilder=fu;p.ByProjectKeyTaxCategoriesByIDRequestBuilder=Ku;p.ByProjectKeyTaxCategoriesKeyByKeyRequestBuilder=ou;p.ByProjectKeyTaxCategoriesRequestBuilder=Pu;p.ByProjectKeyTypesByIDRequestBuilder=Eu;p.ByProjectKeyTypesKeyByKeyRequestBuilder=ku;p.ByProjectKeyTypesRequestBuilder=Du;p.ByProjectKeyZonesByIDRequestBuilder=Cu;p.ByProjectKeyZonesKeyByKeyRequestBuilder=vu;p.ByProjectKeyZonesRequestBuilder=Vu;p.CartMergeModeValues=Ix;p.CartOriginValues=Ox;p.CartStateValues=Sx;p.ChangeSubscriptionResourceTypeIdValues=mT;p.ChannelRoleEnumValues=Jx;p.CustomFieldReferenceValueValues=rR;p.CustomLineItemPriceModeValues=_x;p.CustomerIndexingStatusValues=VT;p.CustomerSearchStatusValues=ST;p.DiscountApplicationModeValues=Zx;p.DiscountCodeStateValues=Mx;p.DiscountCombinationModeValues=_T;p.EventSubscriptionResourceTypeIdValues=AT;p.EventTypeValues=eR;p.ExtensionActionValues=aT;p.ExtensionResourceTypeIdValues=sT;p.FacetTypesValues=wT;p.IntervalUnitValues=FT;p.InventoryModeValues=Gx;p.LineItemModeValues=Hx;p.LineItemPriceModeValues=Lx;p.MessageSubscriptionResourceTypeIdValues=aR;p.MoneyTypeValues=dx;p.MyQuoteStateValues=rT;p.OrderSearchCustomTypeValues=tT;p.OrderSearchMatchTypeValues=iT;p.OrderSearchSortModeValues=uT;p.OrderSearchSortOrderValues=nT;p.OrderSearchStatusValues=MT;p.OrderStateValues=cT;p.PaymentMethodStatusValues=UT;p.PaymentStateValues=pT;p.PermissionValues=Px;p.PriceSelectionModeValues=$T;p.ProductPriceModeEnumValues=xT;p.ProductPublishScopeValues=Qx;p.ProductSearchFacetCountLevelEnumValues=RT;p.ProductSearchFacetDistinctBucketSortByValues=jT;p.ProductSearchFacetScopeEnumValues=fT;p.ProductSearchIndexingModeValues=GT;p.ProductSelectionModeValues=KT;p.ProductVariantSelectionTypeEnumValues=oT;p.QuoteRequestStateValues=NT;p.QuoteStateValues=LT;p.RecurringOrderStateValues=BT;p.ReferenceTypeIdValues=mx;p.ResourceTypeIdValues=tR;p.ReturnPaymentStateValues=yT;p.ReturnShipmentStateValues=lT;p.RoundingModeValues=Nx;p.SearchFieldTypeValues=zT;p.SearchIndexingConfigurationStatusValues=HT;p.SearchMatchTypeValues=QT;p.SearchSortModeValues=ZT;p.SearchSortOrderValues=WT;p.SelectionModeValues=Wx;p.ShipmentStateValues=bT;p.ShippingMethodStateValues=Fx;p.ShippingModeValues=$x;p.ShippingRateTierTypeValues=YT;p.StackingModeValues=Yx;p.StagedQuoteStateValues=JT;p.StateRoleEnumValues=XT;p.StateTypeEnumValues=gT;p.SubscriptionHealthStatusValues=sR;p.TaxCalculationModeValues=Bx;p.TaxModeValues=zx;p.TermFacetResultTypeValues=TT;p.TextInputHintValues=CT;p.TransactionStateValues=qT;p.TransactionTypeValues=hT;p.TypeTextInputHintValues=iR;p.buildRelativeUri=Qq;p.createApiBuilderFromCtpClient=cR;p.createExecutorFromMiddlewares=uR});var gq=Ge(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});function pR(a,e){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var u=r.call(a,e||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function yR(a){var e=pR(a,"string");return typeof e=="symbol"?e:e+""}function Tb(a,e,r){return(e=yR(e))in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function Yq(a){return typeof a<"u"&&a!==null}function lR(a){let e=new URLSearchParams(a);for(let[r,u]of Object.entries(a))Array.isArray(u)&&(e.delete(r),u.filter(Boolean).forEach(n=>e.append(r,n)));return e.toString()}function bR(a){return Object.keys(a).reduce((e,r)=>{let u=a[r];if(Array.isArray(u)){let n=u.filter(Yq);return n.length?w(s({},e),{[r]:n}):e}return Yq(u)?w(s({},e),{[r]:u}):e},{})}function qR(a){let e=bR(a),r=lR(e);return r===""?"":"?".concat(r)}function Jq(a){let e=a.pathVariables;var r=a.uriTemplate;for(let n in e){let c=encodeURIComponent("".concat(e[n]));r=r.replace("{".concat(n,"}"),"".concat(c))}let u=qR(a.queryParams||{});return"".concat(r).concat(u)}var i=class{constructor(e,r){this.requestExecutor=r,Tb(this,"request",void 0),this.request=w(s({},e),{uri:Jq(e)})}clientRequest(){return this.request}execute(){return this.requestExecutor(this.request)}},Su=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},_u=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/active-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Mu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/api-clients/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Gu=class{constructor(e){this.args=e}withId(e){return new Mu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/api-clients",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Hu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Lu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Nu=class{constructor(e){this.args=e}withKey(e){return new Lu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Hu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Fu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},$u=class{constructor(e){this.args=e}withId(e){return new Fu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Bu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},zu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Qu=class{constructor(e){this.args=e}withId(e){return new Bu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new zu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Zu=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Wu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Yu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ju=class{constructor(e){this.args=e}withKey(e){return new Yu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Wu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new Zu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Xu=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},gu=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},du=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},mu=class{constructor(e){this.args=e}orderQuote(){return new Xu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new du({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new gu({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Au=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},en=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},an=class{constructor(e){this.args=e}withKey(e){return new en({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Au({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},sn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},rn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},tn=class{constructor(e){this.args=e}withKey(e){return new rn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new sn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},un=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},nn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},cn=class{constructor(e){this.args=e}withKey(e){return new nn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new un({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},pn=class{constructor(e){this.args=e}approvalRules(){return new Qu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}approvalFlows(){return new $u({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new Ju({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new cn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new mu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new tn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new an({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},yn=class{constructor(e){this.args=e}businessUnits(){return new Nu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inBusinessUnitKeyWithBusinessUnitKeyValue(e){return new pn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},ln=class{constructor(e){this.args=e}withAssociateIdValue(e){return new yn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},bn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/associate-roles/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},qn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/associate-roles/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},hn=class{constructor(e){this.args=e}withKey(e){return new qn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new bn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/associate-roles",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Un=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/attribute-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},wn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/attribute-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},xn=class{constructor(e){this.args=e}withKey(e){return new wn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Un({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/attribute-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Tn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/{businessUnitId}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Rn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/key={key}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},jn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/search/indexing-status",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},fn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Kn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},on=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Pn=class{constructor(e){this.args=e}withKey(e){return new on({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Kn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}keyWithKeyValueAssociatesWithAssociateIdValue(e){return new Rn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withBusinessUnitIdValueAssociatesWithAssociateIdValue(e){return new Tn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new fn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}searchIndexingStatus(){return new jn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},En=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},kn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Dn=class{constructor(e){this.args=e}withKey(e){return new kn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new En({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Cn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/customer-id={customerId}/merge",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},vn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Vn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},In=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},On=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Sn=class{constructor(e){this.args=e}replicate(){return new vn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withCustomerId(e){return new In({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerIdWithCustomerIdValueMerge(e){return new Cn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new On({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Vn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},_n=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Mn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Gn=class{constructor(e){this.args=e}withKey(e){return new Mn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new _n({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/categories",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Hn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/channels/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ln=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/channels/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Nn=class{constructor(e){this.args=e}withId(e){return new Hn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Ln({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/channels",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Fn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects/{container}/{key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/custom-objects/{container}/{key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$n=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects/{container}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Bn=class{constructor(e){this.args=e}withContainerAndKey(e){return new Fn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withContainer(e){return new $n({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/custom-objects",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},zn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customer-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Qn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customer-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zn=class{constructor(e){this.args=e}withKey(e){return new Qn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new zn({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customer-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Wn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Yn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/email-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Jn=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/search/indexing-status",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Xn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},gn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},dn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},mn=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},An=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ec=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/email-token={emailToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ac=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},sc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers/password-token={passwordToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},rc=class{constructor(e){this.args=e}withPasswordToken(e){return new sc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withEmailToken(e){return new ec({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailToken(){return new Yn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new Wn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new gn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordReset(){return new dn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordToken(){return new Xn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new ac({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new An({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new mn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}searchIndexingStatus(){return new Jn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},tc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-codes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ic=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-codes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},uc=class{constructor(e){this.args=e}withId(e){return new tc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new ic({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-codes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},nc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-groups/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},cc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/discount-groups/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},pc=class{constructor(e){this.args=e}withKey(e){return new cc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new nc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/discount-groups",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},yc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/extensions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},lc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/extensions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},bc=class{constructor(e){this.args=e}withKey(e){return new lc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new yc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/extensions",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},qc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/graphql",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},hc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-business-unit/key={businessUnitKey}/me/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Uc=class{constructor(e){this.args=e}customers(){return new hc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},wc=class{constructor(e){this.args=e}me(){return new Uc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},xc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Tc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Rc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},jc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fc=class{constructor(e){this.args=e}withKey(e){return new jc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Rc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}keyWithKeyValueAssociatesWithAssociateIdValue(e){return new Tc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withBusinessUnitIdValueAssociatesWithAssociateIdValue(e){return new xc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Kc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},oc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Pc=class{constructor(e){this.args=e}withKey(e){return new oc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Kc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/cart-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ec=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}/merge",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},kc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Dc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Cc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/customer-id={customerId}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},vc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Vc=class{constructor(e){this.args=e}withCustomerId(e){return new Cc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerIdWithCustomerIdValueMerge(e){return new Ec({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new vc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new kc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Dc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ic=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Oc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Sc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password-token",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},_c=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Mc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Gc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Hc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/email-token={emailToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Lc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Nc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers/password-token={passwordToken}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Fc=class{constructor(e){this.args=e}withPasswordToken(e){return new Nc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withEmailToken(e){return new Hc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailToken(){return new Oc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new Ic({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new _c({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordReset(){return new Mc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}passwordToken(){return new Sc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Lc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Gc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/customers",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},$c=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Bc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},zc=class{constructor(e){this.args=e}withId(e){return new Bc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Qc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Zc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Wc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Yc=class{constructor(e){this.args=e}withId(e){return new Wc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Jc=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Xc=class{constructor(e){this.args=e}reset(){return new Jc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},gc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},dc=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},mc=class{constructor(e){this.args=e}withKey(e){return new dc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new gc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ac=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me/signup",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},ep=class{constructor(e){this.args=e}carts(){return new zc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Yc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}activeCart(){return new Su({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new mc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}emailConfirm(){return new Qc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new Xc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}signup(){return new Ac({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new Zc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ap=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},sp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},rp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},tp=class{constructor(e){this.args=e}orderQuote(){return new ap({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new rp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new sp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ip=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},up=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},np=class{constructor(e){this.args=e}withKey(e){return new up({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ip({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},cp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-selection-assignments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},pp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},yp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},lp=class{constructor(e){this.args=e}images(){return new yp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},bp=class{constructor(e){this.args=e}productTailoring(){return new lp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},qp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},hp=class{constructor(e){this.args=e}images(){return new qp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Up=class{constructor(e){this.args=e}productTailoring(){return new hp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},wp=class{constructor(e){this.args=e}withProductId(e){return new bp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withProductKey(e){return new Up({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},xp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Tp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Rp=class{constructor(e){this.args=e}withKey(e){return new Tp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new xp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},jp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Kp=class{constructor(e){this.args=e}withKey(e){return new fp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new jp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},op=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Pp=class{constructor(e){this.args=e}matchingCart(){return new op({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Ep=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},kp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Dp=class{constructor(e){this.args=e}withKey(e){return new kp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ep({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Cp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},vp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Vp=class{constructor(e){this.args=e}withKey(e){return new vp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Cp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/in-store/key={storeKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ip=class{constructor(e){this.args=e}businessUnits(){return new fc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}cartDiscounts(){return new Pc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new Vc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customers(){return new Fc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}me(){return new ep({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new tp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productProjections(){return new np({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelectionAssignments(){return new cp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTailoring(){return new pp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}products(){return new wp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new Rp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new Kp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shippingMethods(){return new Pp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new Dp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stagedQuotes(){return new Vp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new $c({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}},Op=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/inventory/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Sp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/inventory/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},_p=class{constructor(e){this.args=e}withId(e){return new Op({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Sp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/inventory",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Mp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Gp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Hp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Lp=class{constructor(e){this.args=e}withId(e){return new Gp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Hp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/business-units",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Np=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts/replicate",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Fp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/carts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$p=class{constructor(e){this.args=e}withId(e){return new Fp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}replicate(){return new Np({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/carts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Bp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/email/confirm",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},zp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/login",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Qp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Zp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Wp=class{constructor(e){this.args=e}withId(e){return new Zp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orderQuote(){return new Qp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Yp=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/password/reset",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Jp=class{constructor(e){this.args=e}reset(){return new Yp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/password",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Xp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},gp=class{constructor(e){this.args=e}withId(e){return new Xp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/payments",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},dp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},mp=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ap=class{constructor(e){this.args=e}withId(e){return new dp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new mp({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ey=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ay=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},sy=class{constructor(e){this.args=e}withId(e){return new ey({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new ay({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ry=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ty=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},iy=class{constructor(e){this.args=e}withId(e){return new ry({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new ty({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},uy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me/signup",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},ny=class{constructor(e){this.args=e}emailConfirm(){return new Bp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}password(){return new Jp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}signup(){return new uy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new zp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}activeCart(){return new _u({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}businessUnits(){return new Lp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new $p({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Wp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}payments(){return new gp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new Ap({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new sy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new iy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/me",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},cy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/messages/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/messages/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},py=class{constructor(e){this.args=e}withId(e){return new cy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/messages",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/messages",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},yy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/{ID}/apply",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},ly=class{constructor(e){this.args=e}apply(){return new yy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/edits/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},by=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/edits/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},qy=class{constructor(e){this.args=e}withKey(e){return new by({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ly({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/edits",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},hy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/import",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Uy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},wy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},xy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ty=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/orders/order-number={orderNumber}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ry=class{constructor(e){this.args=e}importOrder(){return new hy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orderQuote(){return new Uy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withOrderNumber(e){return new Ty({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}edits(){return new qy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new xy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new wy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},jy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payment-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},fy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payment-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ky=class{constructor(e){this.args=e}withKey(e){return new fy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new jy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payment-methods",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},oy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payments/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Py=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/payments/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ey=class{constructor(e){this.args=e}withKey(e){return new Py({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new oy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/payments",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ky=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/matching",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Dy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-discounts/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Cy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-discounts/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},vy=class{constructor(e){this.args=e}matching(){return new ky({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Cy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Dy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-discounts",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Vy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-projections/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/x-www-form-urlencoded"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/search",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Iy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/suggest",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Oy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Sy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},_y=class{constructor(e){this.args=e}search(){return new Vy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}suggest(){return new Iy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new Sy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Oy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-projections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-projections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},My=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/{ID}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Gy=class{constructor(e){this.args=e}products(){return new My({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-selections/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Hy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/key={key}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ly=class{constructor(e){this.args=e}products(){return new Hy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-selections/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ny=class{constructor(e){this.args=e}withKey(e){return new Ly({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Gy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-selections",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Fy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-tailoring/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$y=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-tailoring/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},By=class{constructor(e){this.args=e}withKey(e){return new $y({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Fy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-tailoring",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},zy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Qy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/product-types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zy=class{constructor(e){this.args=e}withKey(e){return new Qy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new zy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/product-types",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Wy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/search",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Yy=class{constructor(e){this.args=e}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/{ID}/images",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Jy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/{ID}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Xy=class{constructor(e){this.args=e}images(){return new Yy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelections(){return new Jy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/products/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},gy=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/key={key}/product-selections",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},dy=class{constructor(e){this.args=e}productSelections(){return new gy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/products/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},my=class{constructor(e){this.args=e}withKey(e){return new dy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Xy({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}search(){return new Wy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/products",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Ay=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quote-requests/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},el=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quote-requests/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},al=class{constructor(e){this.args=e}withKey(e){return new el({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Ay({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quote-requests",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},sl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},rl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},tl=class{constructor(e){this.args=e}withKey(e){return new rl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new sl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},il=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurrence-policies/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ul=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurrence-policies/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},nl=class{constructor(e){this.args=e}withKey(e){return new ul({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new il({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurrence-policies",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},cl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurring-orders/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},pl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/recurring-orders/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},yl=class{constructor(e){this.args=e}withId(e){return new cl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withKey(e){return new pl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/recurring-orders",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},ll=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/reviews/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},bl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/reviews/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ql=class{constructor(e){this.args=e}withKey(e){return new bl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new ll({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/reviews",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},hl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-cart-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-cart-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ul=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-cart",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},wl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-location",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},xl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/matching-orderedit",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/matching-orderedit",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Tl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shipping-methods/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Rl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shipping-methods/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},jl=class{constructor(e){this.args=e}withKey(e){return new Rl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingCart(){return new Ul({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingCartLocation(){return new hl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingOrderedit(){return new xl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}matchingLocation(){return new wl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Tl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shipping-methods",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},fl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shopping-lists/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Kl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/shopping-lists/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},ol=class{constructor(e){this.args=e}withKey(e){return new Kl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new fl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/shopping-lists",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Pl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/staged-quotes/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},El=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/staged-quotes/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},kl=class{constructor(e){this.args=e}withKey(e){return new El({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Pl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/staged-quotes",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Dl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/standalone-prices/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Cl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/standalone-prices/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},vl=class{constructor(e){this.args=e}withKey(e){return new Cl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Dl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/standalone-prices",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Vl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/states/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Il=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/states/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ol=class{constructor(e){this.args=e}withKey(e){return new Il({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Vl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/states",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Sl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/stores/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},_l=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/stores/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ml=class{constructor(e){this.args=e}withKey(e){return new _l({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Sl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/stores",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Gl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/{ID}/health",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}},Hl=class{constructor(e){this.args=e}withIdHealth(){return new Gl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/subscriptions/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ll=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/subscriptions/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Nl=class{constructor(e){this.args=e}withKey(e){return new Ll({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Hl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/subscriptions",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},Fl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/tax-categories/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},$l=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/tax-categories/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Bl=class{constructor(e){this.args=e}withKey(e){return new $l({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Fl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/tax-categories",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},zl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/types/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Ql=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/types/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Zl=class{constructor(e){this.args=e}withKey(e){return new Ql({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new zl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/types",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Wl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/zones/{ID}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Yl=class{constructor(e){this.args=e}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}delete(e){return new i({baseUri:this.args.baseUri,method:"DELETE",uriTemplate:"/{projectKey}/zones/key={key}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}},Jl=class{constructor(e){this.args=e}withKey(e){return new Yl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}withId(e){return new Wl({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}/zones",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),queryParams:e==null?void 0:e.queryArgs,body:e==null?void 0:e.body},this.args.executeRequest)}},Xl=class{constructor(e){this.args=e}asAssociate(){return new ln({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}associateRoles(){return new hn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}businessUnits(){return new Pn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}categories(){return new Gn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}carts(){return new Sn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}cartDiscounts(){return new Dn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}channels(){return new Nn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customers(){return new rc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customerGroups(){return new Zn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}customObjects(){return new Bn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}discountCodes(){return new uc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}discountGroups(){return new pc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}graphql(){return new qc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inventory(){return new _p({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}login(){return new Mp({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}messages(){return new py({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}orders(){return new Ry({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}paymentMethods(){return new Ky({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}payments(){return new Ey({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}products(){return new my({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productDiscounts(){return new vy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productProjections(){return new _y({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productSelections(){return new Ny({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTailoring(){return new By({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}productTypes(){return new Zy({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quotes(){return new tl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}quoteRequests(){return new al({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stagedQuotes(){return new kl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}recurringOrders(){return new yl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}recurrencePolicies(){return new nl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}reviews(){return new ql({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shippingMethods(){return new jl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}shoppingLists(){return new ol({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}states(){return new Ol({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}subscriptions(){return new Nl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}taxCategories(){return new Bl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}types(){return new Zl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}zones(){return new Jl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}me(){return new ny({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}extensions(){return new bc({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}apiClients(){return new Gu({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}stores(){return new Ml({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inStoreKeyWithStoreKeyValue(e){return new Ip({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}standalonePrices(){return new vl({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}inBusinessUnitKeyWithBusinessUnitKeyValue(e){return new wc({pathArgs:s(s({},this.args.pathArgs),e),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}attributeGroups(){return new xn({pathArgs:s({},this.args.pathArgs),executeRequest:this.args.executeRequest,baseUri:this.args.baseUri})}get(e){return new i({baseUri:this.args.baseUri,method:"GET",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}head(e){return new i({baseUri:this.args.baseUri,method:"HEAD",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({},e==null?void 0:e.headers)},this.args.executeRequest)}post(e){return new i({baseUri:this.args.baseUri,method:"POST",uriTemplate:"/{projectKey}",pathVariables:this.args.pathArgs,headers:s({"Content-Type":"application/json"},e==null?void 0:e.headers),body:e==null?void 0:e.body},this.args.executeRequest)}},gl=class{constructor(e){Tb(this,"executeRequest",void 0),Tb(this,"baseUri",void 0),this.executeRequest=e.executeRequest,this.baseUri=e.baseUri||"https://api.europe-west1.gcp.commercetools.com"}withProjectKey(e){return new Xl({pathArgs:s({},e),executeRequest:this.executeRequest,baseUri:this.baseUri})}},hR=(function(a){return a.Approved="Approved",a.Pending="Pending",a.Rejected="Rejected",a})({}),UR=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),wR=(function(a){return a.AcceptMyQuotes="AcceptMyQuotes",a.AcceptOthersQuotes="AcceptOthersQuotes",a.AddChildUnits="AddChildUnits",a.CreateApprovalRules="CreateApprovalRules",a.CreateMyCarts="CreateMyCarts",a.CreateMyOrdersFromMyCarts="CreateMyOrdersFromMyCarts",a.CreateMyOrdersFromMyQuotes="CreateMyOrdersFromMyQuotes",a.CreateMyQuoteRequestsFromMyCarts="CreateMyQuoteRequestsFromMyCarts",a.CreateMyShoppingLists="CreateMyShoppingLists",a.CreateOrdersFromOthersCarts="CreateOrdersFromOthersCarts",a.CreateOrdersFromOthersQuotes="CreateOrdersFromOthersQuotes",a.CreateOthersCarts="CreateOthersCarts",a.CreateOthersShoppingLists="CreateOthersShoppingLists",a.CreateQuoteRequestsFromOthersCarts="CreateQuoteRequestsFromOthersCarts",a.DeclineMyQuotes="DeclineMyQuotes",a.DeclineOthersQuotes="DeclineOthersQuotes",a.DeleteMyCarts="DeleteMyCarts",a.DeleteMyShoppingLists="DeleteMyShoppingLists",a.DeleteOthersCarts="DeleteOthersCarts",a.DeleteOthersShoppingLists="DeleteOthersShoppingLists",a.ReassignMyQuotes="ReassignMyQuotes",a.ReassignOthersQuotes="ReassignOthersQuotes",a.RenegotiateMyQuotes="RenegotiateMyQuotes",a.RenegotiateOthersQuotes="RenegotiateOthersQuotes",a.UpdateApprovalFlows="UpdateApprovalFlows",a.UpdateApprovalRules="UpdateApprovalRules",a.UpdateAssociates="UpdateAssociates",a.UpdateBusinessUnitDetails="UpdateBusinessUnitDetails",a.UpdateMyCarts="UpdateMyCarts",a.UpdateMyOrders="UpdateMyOrders",a.UpdateMyQuoteRequests="UpdateMyQuoteRequests",a.UpdateMyShoppingLists="UpdateMyShoppingLists",a.UpdateOthersCarts="UpdateOthersCarts",a.UpdateOthersOrders="UpdateOthersOrders",a.UpdateOthersQuoteRequests="UpdateOthersQuoteRequests",a.UpdateOthersShoppingLists="UpdateOthersShoppingLists",a.UpdateParentUnit="UpdateParentUnit",a.ViewMyCarts="ViewMyCarts",a.ViewMyOrders="ViewMyOrders",a.ViewMyQuoteRequests="ViewMyQuoteRequests",a.ViewMyQuotes="ViewMyQuotes",a.ViewMyShoppingLists="ViewMyShoppingLists",a.ViewOthersCarts="ViewOthersCarts",a.ViewOthersOrders="ViewOthersOrders",a.ViewOthersQuoteRequests="ViewOthersQuoteRequests",a.ViewOthersQuotes="ViewOthersQuotes",a.ViewOthersShoppingLists="ViewOthersShoppingLists",a})({}),xR=(function(a){return a.Disabled="Disabled",a.Enabled="Enabled",a})({}),TR=(function(a){return a.Explicit="Explicit",a.ExplicitAndFromParent="ExplicitAndFromParent",a})({}),RR=(function(a){return a.Explicit="Explicit",a.ExplicitAndFromParent="ExplicitAndFromParent",a})({}),jR=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),fR=(function(a){return a.Explicit="Explicit",a.FromParent="FromParent",a})({}),KR=(function(a){return a.Company="Company",a.Division="Division",a})({}),oR=(function(a){return a.MergeWithExistingCustomerCart="MergeWithExistingCustomerCart",a.UseAsNewActiveCustomerCart="UseAsNewActiveCustomerCart",a})({}),PR=(function(a){return a.Customer="Customer",a.Merchant="Merchant",a.Quote="Quote",a.RecurringOrder="RecurringOrder",a})({}),ER=(function(a){return a.Active="Active",a.Frozen="Frozen",a.Merged="Merged",a.Ordered="Ordered",a})({}),kR=(function(a){return a.External="External",a.Standard="Standard",a})({}),DR=(function(a){return a.ApplicationStoppedByGroupBestDeal="ApplicationStoppedByGroupBestDeal",a.ApplicationStoppedByPreviousDiscount="ApplicationStoppedByPreviousDiscount",a.DoesNotMatchCart="DoesNotMatchCart",a.MatchesCart="MatchesCart",a.MaxApplicationReached="MaxApplicationReached",a.NotActive="NotActive",a.NotValid="NotValid",a})({}),CR=(function(a){return a.None="None",a.ReserveOnOrder="ReserveOnOrder",a.TrackOnly="TrackOnly",a})({}),vR=(function(a){return a.GiftLineItem="GiftLineItem",a.Standard="Standard",a})({}),VR=(function(a){return a.ExternalPrice="ExternalPrice",a.ExternalTotal="ExternalTotal",a.Platform="Platform",a})({}),IR=(function(a){return a.HalfDown="HalfDown",a.HalfEven="HalfEven",a.HalfUp="HalfUp",a})({}),OR=(function(a){return a.DoesNotMatchCart="DoesNotMatchCart",a.MatchesCart="MatchesCart",a})({}),SR=(function(a){return a.Multiple="Multiple",a.Single="Single",a})({}),_R=(function(a){return a.LineItemLevel="LineItemLevel",a.UnitPriceLevel="UnitPriceLevel",a})({}),MR=(function(a){return a.Disabled="Disabled",a.External="External",a.ExternalAmount="ExternalAmount",a.Platform="Platform",a})({}),GR=(function(a){return a.All="All",a.Prices="Prices",a})({}),HR=(function(a){return a.EvenDistribution="EvenDistribution",a.IndividualApplication="IndividualApplication",a.ProportionateDistribution="ProportionateDistribution",a})({}),LR=(function(a){return a.Cheapest="Cheapest",a.MostExpensive="MostExpensive",a})({}),NR=(function(a){return a.Stacking="Stacking",a.StopAfterThisDiscount="StopAfterThisDiscount",a})({}),FR=(function(a){return a.InventorySupply="InventorySupply",a.OrderExport="OrderExport",a.OrderImport="OrderImport",a.Primary="Primary",a.ProductDistribution="ProductDistribution",a})({}),$R=(function(a){return a.Billing="Billing",a.Shipping="Shipping",a})({}),BR=(function(a){return a.Export="Export",a.Import="Import",a})({}),zR=(function(a){return a.CentPrecision="centPrecision",a.HighPrecision="highPrecision",a})({}),QR=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.AttributeGroup="attribute-group",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.DirectDiscount="direct-discount",a.DiscountCode="discount-code",a.DiscountGroup="discount-group",a.Extension="extension",a.InventoryEntry="inventory-entry",a.KeyValueDocument="key-value-document",a.Order="order",a.OrderEdit="order-edit",a.Payment="payment",a.PaymentMethod="payment-method",a.Product="product",a.ProductDiscount="product-discount",a.ProductPrice="product-price",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.ProductType="product-type",a.Quote="quote",a.QuoteRequest="quote-request",a.RecurrencePolicy="recurrence-policy",a.RecurringOrder="recurring-order",a.Review="review",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.State="state",a.Store="store",a.Subscription="subscription",a.TaxCategory="tax-category",a.Type="type",a.Zone="zone",a})({}),ZR=(function(a){return a.MergeWithExistingCustomerCart="MergeWithExistingCustomerCart",a.UseAsNewActiveCustomerCart="UseAsNewActiveCustomerCart",a})({}),WR=(function(a){return a.ExternalAuth="ExternalAuth",a.Password="Password",a})({}),YR=(function(a){return a.Create="Create",a.Update="Update",a})({}),JR=(function(a){return a.BusinessUnit="business-unit",a.Cart="cart",a.Customer="customer",a.CustomerGroup="customer-group",a.Order="order",a.Payment="payment",a.PaymentMethod="payment-method",a.Quote="quote",a.QuoteRequest="quote-request",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a})({}),XR=(function(a){return a.Accepted="Accepted",a.Declined="Declined",a})({}),gR=(function(a){return a.BooleanType="BooleanType",a.DateTimeType="DateTimeType",a.DateType="DateType",a.EnumType="EnumType",a.LocalizedEnumType="LocalizedEnumType",a.LocalizedStringType="LocalizedStringType",a.NumberType="NumberType",a.SetTypeDateTimeType="SetType.DateTimeType",a.SetTypeDateType="SetType.DateType",a.SetTypeEnumType="SetType.EnumType",a.SetTypeLocalizedEnumType="SetType.LocalizedEnumType",a.SetTypeLocalizedStringType="SetType.LocalizedStringType",a.SetTypeNumberType="SetType.NumberType",a.SetTypeStringType="SetType.StringType",a.SetTypeTimeType="SetType.TimeType",a.StringType="StringType",a.TimeType="TimeType",a})({}),dR=(function(a){return a.All="all",a.Any="any",a})({}),mR=(function(a){return a.Avg="avg",a.Max="max",a.Min="min",a.Sum="sum",a})({}),AR=(function(a){return a.Asc="asc",a.Desc="desc",a})({}),ej=(function(a){return a.Cancelled="Cancelled",a.Complete="Complete",a.Confirmed="Confirmed",a.Open="Open",a})({}),aj=(function(a){return a.BalanceDue="BalanceDue",a.CreditOwed="CreditOwed",a.Failed="Failed",a.Paid="Paid",a.Pending="Pending",a})({}),sj=(function(a){return a.Initial="Initial",a.NonRefundable="NonRefundable",a.NotRefunded="NotRefunded",a.Refunded="Refunded",a})({}),rj=(function(a){return a.Advised="Advised",a.BackInStock="BackInStock",a.Returned="Returned",a.Unusable="Unusable",a})({}),tj=(function(a){return a.Backorder="Backorder",a.Canceled="Canceled",a.Delayed="Delayed",a.Delivered="Delivered",a.Partial="Partial",a.Pending="Pending",a.Ready="Ready",a.Shipped="Shipped",a})({}),ij=(function(a){return a.Failure="Failure",a.Initial="Initial",a.Pending="Pending",a.Success="Success",a})({}),uj=(function(a){return a.Authorization="Authorization",a.CancelAuthorization="CancelAuthorization",a.Charge="Charge",a.Chargeback="Chargeback",a.Refund="Refund",a})({}),nj=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),cj=(function(a){return a.Filter="filter",a.Range="range",a.Terms="terms",a})({}),pj=(function(a){return a.Embedded="Embedded",a.Standalone="Standalone",a})({}),yj=(function(a){return a.Boolean="boolean",a.Date="date",a.Datetime="datetime",a.Number="number",a.Text="text",a.Time="time",a})({}),lj=(function(a){return a.Products="products",a.Variants="variants",a})({}),bj=(function(a){return a.Count="count",a.Key="key",a})({}),qj=(function(a){return a.All="all",a.Query="query",a})({}),hj=(function(a){return a.Individual="Individual",a.IndividualExclusion="IndividualExclusion",a})({}),Uj=(function(a){return a.Exclusion="exclusion",a.IncludeAllExcept="includeAllExcept",a.IncludeOnly="includeOnly",a.Inclusion="inclusion",a})({}),wj=(function(a){return a.CombinationUnique="CombinationUnique",a.None="None",a.SameForAll="SameForAll",a.Unique="Unique",a})({}),xj=(function(a){return a.None="None",a})({}),Tj=(function(a){return a.Product="Product",a.Variant="Variant",a})({}),Rj=(function(a){return a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerGroup="customer-group",a.KeyValueDocument="key-value-document",a.Order="order",a.Product="product",a.ProductType="product-type",a.Review="review",a.ShippingMethod="shipping-method",a.State="state",a.Zone="zone",a})({}),jj=(function(a){return a.MultiLine="MultiLine",a.SingleLine="SingleLine",a})({}),fj=(function(a){return a.Failed="Failed",a.Indexing="Indexing",a.Ready="Ready",a.Scheduled="Scheduled",a})({}),Kj=(function(a){return a.Failed="Failed",a.Indexing="Indexing",a.Ready="Ready",a.Scheduled="Scheduled",a})({}),oj=(function(a){return a.Active="Active",a.Inactive="Inactive",a})({}),Pj=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),Ej=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),kj=(function(a){return a.BestDeal="BestDeal",a.Stacking="Stacking",a})({}),Dj=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a})({}),Cj=(function(a){return a.ProductProjectionsSearch="ProductProjectionsSearch",a.ProductsSearch="ProductsSearch",a})({}),vj=(function(a){return a.Activated="Activated",a.Deactivated="Deactivated",a.Indexing="Indexing",a})({}),Vj=(function(a){return a.Accepted="Accepted",a.Declined="Declined",a.DeclinedForRenegotiation="DeclinedForRenegotiation",a.Pending="Pending",a.RenegotiationAddressed="RenegotiationAddressed",a.Withdrawn="Withdrawn",a})({}),Ij=(function(a){return a.Accepted="Accepted",a.Cancelled="Cancelled",a.Closed="Closed",a.Rejected="Rejected",a.Submitted="Submitted",a})({}),Oj=(function(a){return a.Days="Days",a.Months="Months",a.Weeks="Weeks",a})({}),Sj=(function(a){return a.Dynamic="Dynamic",a.Fixed="Fixed",a})({}),_j=(function(a){return a.Active="Active",a.Canceled="Canceled",a.Expired="Expired",a.Failed="Failed",a.Paused="Paused",a})({}),Mj=(function(a){return a.Boolean="boolean",a.Date="date",a.Datetime="datetime",a.Enum="enum",a.Lenum="lenum",a.Ltext="ltext",a.Money="money",a.Number="number",a.Reference="reference",a.SetBoolean="set_boolean",a.SetDate="set_date",a.SetDatetime="set_datetime",a.SetEnum="set_enum",a.SetLenum="set_lenum",a.SetLtext="set_ltext",a.SetMoney="set_money",a.SetNumber="set_number",a.SetReference="set_reference",a.SetText="set_text",a.SetTime="set_time",a.Text="text",a.Time="time",a})({}),Gj=(function(a){return a.All="all",a.Any="any",a})({}),Hj=(function(a){return a.Avg="avg",a.Max="max",a.Min="min",a.Sum="sum",a})({}),Lj=(function(a){return a.Asc="asc",a.Desc="desc",a})({}),Nj=(function(a){return a.CartClassification="CartClassification",a.CartScore="CartScore",a.CartValue="CartValue",a})({}),Fj=(function(a){return a.Closed="Closed",a.InProgress="InProgress",a.Sent="Sent",a})({}),$j=(function(a){return a.Return="Return",a.ReviewIncludedInStatistics="ReviewIncludedInStatistics",a})({}),Bj=(function(a){return a.LineItemState="LineItemState",a.OrderState="OrderState",a.PaymentState="PaymentState",a.ProductState="ProductState",a.QuoteRequestState="QuoteRequestState",a.QuoteState="QuoteState",a.RecurringOrderState="RecurringOrderState",a.ReviewState="ReviewState",a.StagedQuoteState="StagedQuoteState",a})({}),zj=(function(a){return a.Credentials="Credentials",a.Iam="IAM",a})({}),Qj=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.AttributeGroup="attribute-group",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.DiscountCode="discount-code",a.DiscountGroup="discount-group",a.Extension="extension",a.InventoryEntry="inventory-entry",a.KeyValueDocument="key-value-document",a.Order="order",a.OrderEdit="order-edit",a.Payment="payment",a.Product="product",a.ProductDiscount="product-discount",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.ProductType="product-type",a.Quote="quote",a.QuoteRequest="quote-request",a.RecurrencePolicy="recurrence-policy",a.RecurringOrder="recurring-order",a.Review="review",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.State="state",a.Store="store",a.Subscription="subscription",a.TaxCategory="tax-category",a.Type="type",a.Zone="zone",a})({}),Zj=(function(a){return a.Checkout="checkout",a.ImportApi="import-api",a})({}),Wj=(function(a){return a.CheckoutOrderCreationFailed="CheckoutOrderCreationFailed",a.CheckoutPaymentAuthorizationCancelled="CheckoutPaymentAuthorizationCancelled",a.CheckoutPaymentAuthorizationFailed="CheckoutPaymentAuthorizationFailed",a.CheckoutPaymentAuthorized="CheckoutPaymentAuthorized",a.CheckoutPaymentCancelAuthorizationFailed="CheckoutPaymentCancelAuthorizationFailed",a.CheckoutPaymentChargeFailed="CheckoutPaymentChargeFailed",a.CheckoutPaymentCharged="CheckoutPaymentCharged",a.CheckoutPaymentRefundFailed="CheckoutPaymentRefundFailed",a.CheckoutPaymentRefunded="CheckoutPaymentRefunded",a.ImportContainerCreated="ImportContainerCreated",a.ImportContainerDeleted="ImportContainerDeleted",a.ImportOperationRejected="ImportOperationRejected",a.ImportUnresolved="ImportUnresolved",a.ImportValidationFailed="ImportValidationFailed",a.ImportWaitForMasterVariant="ImportWaitForMasterVariant",a})({}),Yj=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Category="category",a.Customer="customer",a.CustomerEmailToken="customer-email-token",a.CustomerGroup="customer-group",a.CustomerPasswordToken="customer-password-token",a.InventoryEntry="inventory-entry",a.Order="order",a.Payment="payment",a.Product="product",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.Quote="quote",a.QuoteRequest="quote-request",a.Review="review",a.ShoppingList="shopping-list",a.StagedQuote="staged-quote",a.StandalonePrice="standalone-price",a.Store="store",a})({}),Jj=(function(a){return a.ConfigurationError="ConfigurationError",a.ConfigurationErrorDeliveryStopped="ConfigurationErrorDeliveryStopped",a.Healthy="Healthy",a.ManuallySuspended="ManuallySuspended",a.TemporaryError="TemporaryError",a})({}),Xj=(function(a){return a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.Cart="cart",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.Customer="customer",a.CustomerGroup="customer-group",a.KeyValueDocument="key-value-document",a.Order="order",a.Product="product",a.ProductType="product-type",a.Review="review",a.ShippingMethod="shipping-method",a.State="state",a.Zone="zone",a})({}),gj=(function(a){return a.Address="address",a.ApprovalFlow="approval-flow",a.ApprovalRule="approval-rule",a.Asset="asset",a.AssociateRole="associate-role",a.BusinessUnit="business-unit",a.CartDiscount="cart-discount",a.Category="category",a.Channel="channel",a.CustomLineItem="custom-line-item",a.Customer="customer",a.CustomerGroup="customer-group",a.DiscountCode="discount-code",a.InventoryEntry="inventory-entry",a.LineItem="line-item",a.Order="order",a.OrderDelivery="order-delivery",a.OrderEdit="order-edit",a.OrderParcel="order-parcel",a.OrderReturnItem="order-return-item",a.Payment="payment",a.PaymentInterfaceInteraction="payment-interface-interaction",a.PaymentMethod="payment-method",a.PaymentMethodInfo="payment-method-info",a.ProductPrice="product-price",a.ProductSelection="product-selection",a.ProductTailoring="product-tailoring",a.Quote="quote",a.RecurringOrder="recurring-order",a.Review="review",a.Shipping="shipping",a.ShippingMethod="shipping-method",a.ShoppingList="shopping-list",a.ShoppingListTextLineItem="shopping-list-text-line-item",a.StandalonePrice="standalone-price",a.Store="store",a.Transaction="transaction",a})({}),dj=(function(a){return a.MultiLine="MultiLine",a.SingleLine="SingleLine",a})({}),mj=(a,e)=>{if(!e||e.length==0)return a;let r=e.reduce(Aj);return Xq(r,a)};function Aj(a,e){return(r,u)=>a(r,Xq(e,u))}function Xq(a,e){return r=>a(r,e)}function ef(a,e){return new gl({executeRequest:a.execute,baseUri:e})}y.AddressRoleValues=$R;y.AnonymousCartSignInModeValues=ZR;y.ApiRequest=i;y.ApiRoot=gl;y.ApprovalFlowStatusValues=hR;y.ApprovalRuleStatusValues=UR;y.AssociateRoleInheritanceModeValues=xR;y.AttributeConstraintEnumDraftValues=xj;y.AttributeConstraintEnumValues=wj;y.AttributeLevelEnumValues=Tj;y.AttributeReferenceTypeIdValues=Rj;y.AttributionSourceValues=BR;y.AuthenticationModeValues=WR;y.AwsAuthenticationModeValues=zj;y.BusinessUnitApprovalRuleModeValues=TR;y.BusinessUnitAssociateModeValues=RR;y.BusinessUnitConfigurationStatusValues=oj;y.BusinessUnitIndexingStatusValues=fj;y.BusinessUnitSearchStatusValues=Pj;y.BusinessUnitStatusValues=jR;y.BusinessUnitStoreModeValues=fR;y.BusinessUnitTypeValues=KR;y.ByProjectKeyApiClientsByIDRequestBuilder=Mu;y.ByProjectKeyApiClientsRequestBuilder=Gu;y.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDRequestBuilder=Hu;y.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyRequestBuilder=Lu;y.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsRequestBuilder=Nu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDRequestBuilder=Fu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsRequestBuilder=$u;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDRequestBuilder=Bu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyRequestBuilder=zu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesRequestBuilder=Qu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDRequestBuilder=Wu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyRequestBuilder=Yu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateRequestBuilder=Zu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsRequestBuilder=Ju;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDRequestBuilder=gu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberRequestBuilder=du;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesRequestBuilder=Xu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersRequestBuilder=mu;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDRequestBuilder=Au;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyRequestBuilder=en;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsRequestBuilder=an;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDRequestBuilder=sn;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyRequestBuilder=rn;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesRequestBuilder=tn;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyRequestBuilder=pn;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsByIDRequestBuilder=un;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsKeyByKeyRequestBuilder=nn;y.ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsRequestBuilder=cn;y.ByProjectKeyAsAssociateByAssociateIdRequestBuilder=yn;y.ByProjectKeyAsAssociateRequestBuilder=ln;y.ByProjectKeyAssociateRolesByIDRequestBuilder=bn;y.ByProjectKeyAssociateRolesKeyByKeyRequestBuilder=qn;y.ByProjectKeyAssociateRolesRequestBuilder=hn;y.ByProjectKeyAttributeGroupsByIDRequestBuilder=Un;y.ByProjectKeyAttributeGroupsKeyByKeyRequestBuilder=wn;y.ByProjectKeyAttributeGroupsRequestBuilder=xn;y.ByProjectKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder=Tn;y.ByProjectKeyBusinessUnitsByIDRequestBuilder=Kn;y.ByProjectKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder=Rn;y.ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder=on;y.ByProjectKeyBusinessUnitsRequestBuilder=Pn;y.ByProjectKeyBusinessUnitsSearchIndexingStatusRequestBuilder=jn;y.ByProjectKeyBusinessUnitsSearchRequestBuilder=fn;y.ByProjectKeyCartDiscountsByIDRequestBuilder=En;y.ByProjectKeyCartDiscountsKeyByKeyRequestBuilder=kn;y.ByProjectKeyCartDiscountsRequestBuilder=Dn;y.ByProjectKeyCartsByIDRequestBuilder=Vn;y.ByProjectKeyCartsCustomerIdByCustomerIdMergeRequestBuilder=Cn;y.ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder=In;y.ByProjectKeyCartsKeyByKeyRequestBuilder=On;y.ByProjectKeyCartsReplicateRequestBuilder=vn;y.ByProjectKeyCartsRequestBuilder=Sn;y.ByProjectKeyCategoriesByIDRequestBuilder=_n;y.ByProjectKeyCategoriesKeyByKeyRequestBuilder=Mn;y.ByProjectKeyCategoriesRequestBuilder=Gn;y.ByProjectKeyChannelsByIDRequestBuilder=Hn;y.ByProjectKeyChannelsKeyByKeyRequestBuilder=Ln;y.ByProjectKeyChannelsRequestBuilder=Nn;y.ByProjectKeyCustomObjectsByContainerByKeyRequestBuilder=Fn;y.ByProjectKeyCustomObjectsByContainerRequestBuilder=$n;y.ByProjectKeyCustomObjectsRequestBuilder=Bn;y.ByProjectKeyCustomerGroupsByIDRequestBuilder=zn;y.ByProjectKeyCustomerGroupsKeyByKeyRequestBuilder=Qn;y.ByProjectKeyCustomerGroupsRequestBuilder=Zn;y.ByProjectKeyCustomersByIDRequestBuilder=An;y.ByProjectKeyCustomersEmailConfirmRequestBuilder=Wn;y.ByProjectKeyCustomersEmailTokenByEmailTokenRequestBuilder=ec;y.ByProjectKeyCustomersEmailTokenRequestBuilder=Yn;y.ByProjectKeyCustomersKeyByKeyRequestBuilder=ac;y.ByProjectKeyCustomersPasswordRequestBuilder=gn;y.ByProjectKeyCustomersPasswordResetRequestBuilder=dn;y.ByProjectKeyCustomersPasswordTokenByPasswordTokenRequestBuilder=sc;y.ByProjectKeyCustomersPasswordTokenRequestBuilder=Xn;y.ByProjectKeyCustomersRequestBuilder=rc;y.ByProjectKeyCustomersSearchIndexingStatusRequestBuilder=Jn;y.ByProjectKeyCustomersSearchRequestBuilder=mn;y.ByProjectKeyDiscountCodesByIDRequestBuilder=tc;y.ByProjectKeyDiscountCodesKeyByKeyRequestBuilder=ic;y.ByProjectKeyDiscountCodesRequestBuilder=uc;y.ByProjectKeyDiscountGroupsByIDRequestBuilder=nc;y.ByProjectKeyDiscountGroupsKeyByKeyRequestBuilder=cc;y.ByProjectKeyDiscountGroupsRequestBuilder=pc;y.ByProjectKeyExtensionsByIDRequestBuilder=yc;y.ByProjectKeyExtensionsKeyByKeyRequestBuilder=lc;y.ByProjectKeyExtensionsRequestBuilder=bc;y.ByProjectKeyGraphqlRequestBuilder=qc;y.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder=hc;y.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder=Uc;y.ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder=wc;y.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByBusinessUnitIdAssociatesByAssociateIdRequestBuilder=xc;y.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsByIDRequestBuilder=Rc;y.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyAssociatesByAssociateIdRequestBuilder=Tc;y.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsKeyByKeyRequestBuilder=jc;y.ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsRequestBuilder=fc;y.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDRequestBuilder=Kc;y.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyRequestBuilder=oc;y.ByProjectKeyInStoreKeyByStoreKeyCartDiscountsRequestBuilder=Pc;y.ByProjectKeyInStoreKeyByStoreKeyCartsByIDRequestBuilder=Dc;y.ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdMergeRequestBuilder=Ec;y.ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdRequestBuilder=Cc;y.ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyRequestBuilder=vc;y.ByProjectKeyInStoreKeyByStoreKeyCartsReplicateRequestBuilder=kc;y.ByProjectKeyInStoreKeyByStoreKeyCartsRequestBuilder=Vc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersByIDRequestBuilder=Gc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmRequestBuilder=Ic;y.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenRequestBuilder=Hc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenRequestBuilder=Oc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyRequestBuilder=Lc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordRequestBuilder=_c;y.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetRequestBuilder=Mc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenRequestBuilder=Nc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenRequestBuilder=Sc;y.ByProjectKeyInStoreKeyByStoreKeyCustomersRequestBuilder=Fc;y.ByProjectKeyInStoreKeyByStoreKeyLoginRequestBuilder=$c;y.ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder=Su;y.ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder=Bc;y.ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder=zc;y.ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmRequestBuilder=Qc;y.ByProjectKeyInStoreKeyByStoreKeyMeLoginRequestBuilder=Zc;y.ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDRequestBuilder=Wc;y.ByProjectKeyInStoreKeyByStoreKeyMeOrdersRequestBuilder=Yc;y.ByProjectKeyInStoreKeyByStoreKeyMePasswordRequestBuilder=Xc;y.ByProjectKeyInStoreKeyByStoreKeyMePasswordResetRequestBuilder=Jc;y.ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder=ep;y.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDRequestBuilder=gc;y.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyRequestBuilder=dc;y.ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsRequestBuilder=mc;y.ByProjectKeyInStoreKeyByStoreKeyMeSignupRequestBuilder=Ac;y.ByProjectKeyInStoreKeyByStoreKeyOrdersByIDRequestBuilder=sp;y.ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberRequestBuilder=rp;y.ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesRequestBuilder=ap;y.ByProjectKeyInStoreKeyByStoreKeyOrdersRequestBuilder=tp;y.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder=ip;y.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder=up;y.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsRequestBuilder=np;y.ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsRequestBuilder=cp;y.ByProjectKeyInStoreKeyByStoreKeyProductTailoringRequestBuilder=pp;y.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesRequestBuilder=yp;y.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringRequestBuilder=lp;y.ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDRequestBuilder=bp;y.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesRequestBuilder=qp;y.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringRequestBuilder=hp;y.ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyRequestBuilder=Up;y.ByProjectKeyInStoreKeyByStoreKeyProductsRequestBuilder=wp;y.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDRequestBuilder=xp;y.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyRequestBuilder=Tp;y.ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsRequestBuilder=Rp;y.ByProjectKeyInStoreKeyByStoreKeyQuotesByIDRequestBuilder=jp;y.ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyRequestBuilder=fp;y.ByProjectKeyInStoreKeyByStoreKeyQuotesRequestBuilder=Kp;y.ByProjectKeyInStoreKeyByStoreKeyRequestBuilder=Ip;y.ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartRequestBuilder=op;y.ByProjectKeyInStoreKeyByStoreKeyShippingMethodsRequestBuilder=Pp;y.ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDRequestBuilder=Ep;y.ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyRequestBuilder=kp;y.ByProjectKeyInStoreKeyByStoreKeyShoppingListsRequestBuilder=Dp;y.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDRequestBuilder=Cp;y.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyRequestBuilder=vp;y.ByProjectKeyInStoreKeyByStoreKeyStagedQuotesRequestBuilder=Vp;y.ByProjectKeyInventoryByIDRequestBuilder=Op;y.ByProjectKeyInventoryKeyByKeyRequestBuilder=Sp;y.ByProjectKeyInventoryRequestBuilder=_p;y.ByProjectKeyLoginRequestBuilder=Mp;y.ByProjectKeyMeActiveCartRequestBuilder=_u;y.ByProjectKeyMeBusinessUnitsByIDRequestBuilder=Gp;y.ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder=Hp;y.ByProjectKeyMeBusinessUnitsRequestBuilder=Lp;y.ByProjectKeyMeCartsByIDRequestBuilder=Fp;y.ByProjectKeyMeCartsReplicateRequestBuilder=Np;y.ByProjectKeyMeCartsRequestBuilder=$p;y.ByProjectKeyMeEmailConfirmRequestBuilder=Bp;y.ByProjectKeyMeLoginRequestBuilder=zp;y.ByProjectKeyMeOrdersByIDRequestBuilder=Zp;y.ByProjectKeyMeOrdersQuotesRequestBuilder=Qp;y.ByProjectKeyMeOrdersRequestBuilder=Wp;y.ByProjectKeyMePasswordRequestBuilder=Jp;y.ByProjectKeyMePasswordResetRequestBuilder=Yp;y.ByProjectKeyMePaymentsByIDRequestBuilder=Xp;y.ByProjectKeyMePaymentsRequestBuilder=gp;y.ByProjectKeyMeQuoteRequestsByIDRequestBuilder=dp;y.ByProjectKeyMeQuoteRequestsKeyByKeyRequestBuilder=mp;y.ByProjectKeyMeQuoteRequestsRequestBuilder=Ap;y.ByProjectKeyMeQuotesByIDRequestBuilder=ey;y.ByProjectKeyMeQuotesKeyByKeyRequestBuilder=ay;y.ByProjectKeyMeQuotesRequestBuilder=sy;y.ByProjectKeyMeRequestBuilder=ny;y.ByProjectKeyMeShoppingListsByIDRequestBuilder=ry;y.ByProjectKeyMeShoppingListsKeyByKeyRequestBuilder=ty;y.ByProjectKeyMeShoppingListsRequestBuilder=iy;y.ByProjectKeyMeSignupRequestBuilder=uy;y.ByProjectKeyMessagesByIDRequestBuilder=cy;y.ByProjectKeyMessagesRequestBuilder=py;y.ByProjectKeyOrdersByIDRequestBuilder=xy;y.ByProjectKeyOrdersEditsByIDApplyRequestBuilder=yy;y.ByProjectKeyOrdersEditsByIDRequestBuilder=ly;y.ByProjectKeyOrdersEditsKeyByKeyRequestBuilder=by;y.ByProjectKeyOrdersEditsRequestBuilder=qy;y.ByProjectKeyOrdersImportRequestBuilder=hy;y.ByProjectKeyOrdersOrderNumberByOrderNumberRequestBuilder=Ty;y.ByProjectKeyOrdersQuotesRequestBuilder=Uy;y.ByProjectKeyOrdersRequestBuilder=Ry;y.ByProjectKeyOrdersSearchRequestBuilder=wy;y.ByProjectKeyPaymentMethodsByIDRequestBuilder=jy;y.ByProjectKeyPaymentMethodsKeyByKeyRequestBuilder=fy;y.ByProjectKeyPaymentMethodsRequestBuilder=Ky;y.ByProjectKeyPaymentsByIDRequestBuilder=oy;y.ByProjectKeyPaymentsKeyByKeyRequestBuilder=Py;y.ByProjectKeyPaymentsRequestBuilder=Ey;y.ByProjectKeyProductDiscountsByIDRequestBuilder=Dy;y.ByProjectKeyProductDiscountsKeyByKeyRequestBuilder=Cy;y.ByProjectKeyProductDiscountsMatchingRequestBuilder=ky;y.ByProjectKeyProductDiscountsRequestBuilder=vy;y.ByProjectKeyProductProjectionsByIDRequestBuilder=Oy;y.ByProjectKeyProductProjectionsKeyByKeyRequestBuilder=Sy;y.ByProjectKeyProductProjectionsRequestBuilder=_y;y.ByProjectKeyProductProjectionsSearchRequestBuilder=Vy;y.ByProjectKeyProductProjectionsSuggestRequestBuilder=Iy;y.ByProjectKeyProductSelectionsByIDProductsRequestBuilder=My;y.ByProjectKeyProductSelectionsByIDRequestBuilder=Gy;y.ByProjectKeyProductSelectionsKeyByKeyProductsRequestBuilder=Hy;y.ByProjectKeyProductSelectionsKeyByKeyRequestBuilder=Ly;y.ByProjectKeyProductSelectionsRequestBuilder=Ny;y.ByProjectKeyProductTailoringByIDRequestBuilder=Fy;y.ByProjectKeyProductTailoringKeyByKeyRequestBuilder=$y;y.ByProjectKeyProductTailoringRequestBuilder=By;y.ByProjectKeyProductTypesByIDRequestBuilder=zy;y.ByProjectKeyProductTypesKeyByKeyRequestBuilder=Qy;y.ByProjectKeyProductTypesRequestBuilder=Zy;y.ByProjectKeyProductsByIDImagesRequestBuilder=Yy;y.ByProjectKeyProductsByIDProductSelectionsRequestBuilder=Jy;y.ByProjectKeyProductsByIDRequestBuilder=Xy;y.ByProjectKeyProductsKeyByKeyProductSelectionsRequestBuilder=gy;y.ByProjectKeyProductsKeyByKeyRequestBuilder=dy;y.ByProjectKeyProductsRequestBuilder=my;y.ByProjectKeyProductsSearchRequestBuilder=Wy;y.ByProjectKeyQuoteRequestsByIDRequestBuilder=Ay;y.ByProjectKeyQuoteRequestsKeyByKeyRequestBuilder=el;y.ByProjectKeyQuoteRequestsRequestBuilder=al;y.ByProjectKeyQuotesByIDRequestBuilder=sl;y.ByProjectKeyQuotesKeyByKeyRequestBuilder=rl;y.ByProjectKeyQuotesRequestBuilder=tl;y.ByProjectKeyRecurrencePoliciesByIDRequestBuilder=il;y.ByProjectKeyRecurrencePoliciesKeyByKeyRequestBuilder=ul;y.ByProjectKeyRecurrencePoliciesRequestBuilder=nl;y.ByProjectKeyRecurringOrdersByIDRequestBuilder=cl;y.ByProjectKeyRecurringOrdersKeyByKeyRequestBuilder=pl;y.ByProjectKeyRecurringOrdersRequestBuilder=yl;y.ByProjectKeyRequestBuilder=Xl;y.ByProjectKeyReviewsByIDRequestBuilder=ll;y.ByProjectKeyReviewsKeyByKeyRequestBuilder=bl;y.ByProjectKeyReviewsRequestBuilder=ql;y.ByProjectKeyShippingMethodsByIDRequestBuilder=Tl;y.ByProjectKeyShippingMethodsKeyByKeyRequestBuilder=Rl;y.ByProjectKeyShippingMethodsMatchingCartLocationRequestBuilder=hl;y.ByProjectKeyShippingMethodsMatchingCartRequestBuilder=Ul;y.ByProjectKeyShippingMethodsMatchingLocationRequestBuilder=wl;y.ByProjectKeyShippingMethodsMatchingOrdereditRequestBuilder=xl;y.ByProjectKeyShippingMethodsRequestBuilder=jl;y.ByProjectKeyShoppingListsByIDRequestBuilder=fl;y.ByProjectKeyShoppingListsKeyByKeyRequestBuilder=Kl;y.ByProjectKeyShoppingListsRequestBuilder=ol;y.ByProjectKeyStagedQuotesByIDRequestBuilder=Pl;y.ByProjectKeyStagedQuotesKeyByKeyRequestBuilder=El;y.ByProjectKeyStagedQuotesRequestBuilder=kl;y.ByProjectKeyStandalonePricesByIDRequestBuilder=Dl;y.ByProjectKeyStandalonePricesKeyByKeyRequestBuilder=Cl;y.ByProjectKeyStandalonePricesRequestBuilder=vl;y.ByProjectKeyStatesByIDRequestBuilder=Vl;y.ByProjectKeyStatesKeyByKeyRequestBuilder=Il;y.ByProjectKeyStatesRequestBuilder=Ol;y.ByProjectKeyStoresByIDRequestBuilder=Sl;y.ByProjectKeyStoresKeyByKeyRequestBuilder=_l;y.ByProjectKeyStoresRequestBuilder=Ml;y.ByProjectKeySubscriptionsByIDHealthRequestBuilder=Gl;y.ByProjectKeySubscriptionsByIDRequestBuilder=Hl;y.ByProjectKeySubscriptionsKeyByKeyRequestBuilder=Ll;y.ByProjectKeySubscriptionsRequestBuilder=Nl;y.ByProjectKeyTaxCategoriesByIDRequestBuilder=Fl;y.ByProjectKeyTaxCategoriesKeyByKeyRequestBuilder=$l;y.ByProjectKeyTaxCategoriesRequestBuilder=Bl;y.ByProjectKeyTypesByIDRequestBuilder=zl;y.ByProjectKeyTypesKeyByKeyRequestBuilder=Ql;y.ByProjectKeyTypesRequestBuilder=Zl;y.ByProjectKeyZonesByIDRequestBuilder=Wl;y.ByProjectKeyZonesKeyByKeyRequestBuilder=Yl;y.ByProjectKeyZonesRequestBuilder=Jl;y.CartMergeModeValues=oR;y.CartOriginValues=PR;y.CartStateValues=ER;y.ChangeSubscriptionResourceTypeIdValues=Qj;y.ChannelRoleEnumValues=FR;y.CustomFieldReferenceValueValues=Xj;y.CustomLineItemPriceModeValues=kR;y.CustomerIndexingStatusValues=Kj;y.CustomerSearchStatusValues=Ej;y.DiscountApplicationModeValues=HR;y.DiscountCodeStateValues=DR;y.DiscountCombinationModeValues=kj;y.EventSubscriptionResourceTypeIdValues=Zj;y.EventTypeValues=Wj;y.ExtensionActionValues=YR;y.ExtensionResourceTypeIdValues=JR;y.FacetTypesValues=cj;y.IntervalUnitValues=Oj;y.InventoryModeValues=CR;y.LineItemModeValues=vR;y.LineItemPriceModeValues=VR;y.MessageSubscriptionResourceTypeIdValues=Yj;y.MoneyTypeValues=zR;y.MyQuoteStateValues=XR;y.OrderSearchCustomTypeValues=gR;y.OrderSearchMatchTypeValues=dR;y.OrderSearchSortModeValues=mR;y.OrderSearchSortOrderValues=AR;y.OrderSearchStatusValues=Dj;y.OrderStateValues=ej;y.PaymentMethodStatusValues=nj;y.PaymentStateValues=aj;y.PermissionValues=wR;y.PriceSelectionModeValues=Sj;y.ProductPriceModeEnumValues=pj;y.ProductPublishScopeValues=GR;y.ProductSearchFacetCountLevelEnumValues=lj;y.ProductSearchFacetDistinctBucketSortByValues=bj;y.ProductSearchFacetScopeEnumValues=qj;y.ProductSearchIndexingModeValues=Cj;y.ProductSelectionModeValues=hj;y.ProductVariantSelectionTypeEnumValues=Uj;y.QuoteRequestStateValues=Ij;y.QuoteStateValues=Vj;y.RecurringOrderStateValues=_j;y.ReferenceTypeIdValues=QR;y.ResourceTypeIdValues=gj;y.ReturnPaymentStateValues=sj;y.ReturnShipmentStateValues=rj;y.RoundingModeValues=IR;y.SearchFieldTypeValues=Mj;y.SearchIndexingConfigurationStatusValues=vj;y.SearchMatchTypeValues=Gj;y.SearchSortModeValues=Hj;y.SearchSortOrderValues=Lj;y.SelectionModeValues=LR;y.ShipmentStateValues=tj;y.ShippingMethodStateValues=OR;y.ShippingModeValues=SR;y.ShippingRateTierTypeValues=Nj;y.StackingModeValues=NR;y.StagedQuoteStateValues=Fj;y.StateRoleEnumValues=$j;y.StateTypeEnumValues=Bj;y.SubscriptionHealthStatusValues=Jj;y.TaxCalculationModeValues=_R;y.TaxModeValues=MR;y.TermFacetResultTypeValues=yj;y.TextInputHintValues=jj;y.TransactionStateValues=ij;y.TransactionTypeValues=uj;y.TypeTextInputHintValues=dj;y.buildRelativeUri=Jq;y.createApiBuilderFromCtpClient=ef;y.createExecutorFromMiddlewares=mj});var dq=Ge((DK,Rb)=>{"use strict";process.env.NODE_ENV==="production"?Rb.exports=Wq():Rb.exports=gq()});var If={};fb(If,{ApiClientFactory:()=>aa,BaseResourceHandler:()=>He,CommercetoolsAPIClient:()=>We,CustomerHandler:()=>dl,ProjectHandler:()=>ml,ToolExecutionError:()=>g,ToolHandler:()=>Eb,getDecoratorRegisteredHandlers:()=>kb});module.exports=yh(If);var sb=["read","create","update","delete"];var He=class{getToolName(e){let r=this.metadata.toolNamePrefix||"mcp_commercetools_";return"".concat(r).concat(e,"_").concat(this.metadata.namespace)}getOperation(e){let u=(this.metadata.toolNamePrefix||"mcp_commercetools_").replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=new RegExp("^".concat(u,"(read|create|update|delete)_(.+)$")),c=e.match(n);return!c||c[2]!==this.metadata.namespace?null:c[1]}async execute(e){let{toolName:r}=e,u=this.getOperation(r);if(!u)throw new Error("Unknown ".concat(this.metadata.namespace," tool: ").concat(r));let c=this.metadata.schemas[u].parse(e.parameters),l=w(s({},e),{parameters:c});switch(u){case"read":return this.read(l);case"create":return this.create(l);case"update":return this.update(l);case"delete":return this.delete(l);default:throw new Error("Unsupported operation: ".concat(u))}}getAllToolNames(){return sb.map(e=>this.getToolName(e))}getToolDefinition(e){return{name:this.getToolName(e),description:"".concat(e," ").concat(this.metadata.namespace),inputSchema:this.metadata.schemas[e]}}getAllToolDefinitions(){return sb.map(e=>this.getToolDefinition(e))}};var Pb=[];function Eb(){return function(a){let e=new a;return Pb.push(e),a}}function kb(){return[...Pb]}var q={};fb(q,{BRAND:()=>Gh,DIRTY:()=>je,EMPTY_PATH:()=>hh,INVALID:()=>P,NEVER:()=>jU,OK:()=>W,ParseStatus:()=>B,Schema:()=>v,ZodAny:()=>Te,ZodArray:()=>qe,ZodBigInt:()=>Ke,ZodBoolean:()=>oe,ZodBranded:()=>de,ZodCatch:()=>_e,ZodDate:()=>Pe,ZodDefault:()=>Se,ZodDiscriminatedUnion:()=>ia,ZodEffects:()=>ae,ZodEnum:()=>Ie,ZodError:()=>J,ZodFirstPartyTypeKind:()=>k,ZodFunction:()=>na,ZodIntersection:()=>Ce,ZodIssueCode:()=>T,ZodLazy:()=>ve,ZodLiteral:()=>Ve,ZodMap:()=>ze,ZodNaN:()=>Ze,ZodNativeEnum:()=>Oe,ZodNever:()=>re,ZodNull:()=>ke,ZodNullable:()=>ue,ZodNumber:()=>fe,ZodObject:()=>X,ZodOptional:()=>A,ZodParsedType:()=>K,ZodPipeline:()=>me,ZodPromise:()=>Re,ZodReadonly:()=>Me,ZodRecord:()=>ua,ZodSchema:()=>v,ZodSet:()=>Qe,ZodString:()=>xe,ZodSymbol:()=>$e,ZodTransformer:()=>ae,ZodTuple:()=>ie,ZodType:()=>v,ZodUndefined:()=>Ee,ZodUnion:()=>De,ZodUnknown:()=>be,ZodVoid:()=>Be,addIssueToContext:()=>f,any:()=>Zh,array:()=>Xh,bigint:()=>Fh,boolean:()=>Hb,coerce:()=>RU,custom:()=>_b,date:()=>$h,datetimeRegex:()=>Ob,defaultErrorMap:()=>ye,discriminatedUnion:()=>Ah,effect:()=>lU,enum:()=>cU,function:()=>iU,getErrorMap:()=>Le,getParsedType:()=>te,instanceof:()=>Lh,intersection:()=>eU,isAborted:()=>ra,isAsync:()=>Ne,isDirty:()=>ta,isValid:()=>we,late:()=>Hh,lazy:()=>uU,literal:()=>nU,makeIssue:()=>ge,map:()=>rU,nan:()=>Nh,nativeEnum:()=>pU,never:()=>Yh,null:()=>Qh,nullable:()=>qU,number:()=>Gb,object:()=>gh,objectUtil:()=>rb,oboolean:()=>TU,onumber:()=>xU,optional:()=>bU,ostring:()=>wU,pipeline:()=>UU,preprocess:()=>hU,promise:()=>yU,quotelessJson:()=>lh,record:()=>sU,set:()=>tU,setErrorMap:()=>qh,strictObject:()=>dh,string:()=>Mb,symbol:()=>Bh,transformer:()=>lU,tuple:()=>aU,undefined:()=>zh,union:()=>mh,unknown:()=>Wh,util:()=>I,void:()=>Jh});var I;(function(a){a.assertEqual=n=>{};function e(n){}a.assertIs=e;function r(n){throw new Error}a.assertNever=r,a.arrayToEnum=n=>{let c={};for(let l of n)c[l]=l;return c},a.getValidEnumValues=n=>{let c=a.objectKeys(n).filter(b=>typeof n[n[b]]!="number"),l={};for(let b of c)l[b]=n[b];return a.objectValues(l)},a.objectValues=n=>a.objectKeys(n).map(function(c){return n[c]}),a.objectKeys=typeof Object.keys=="function"?n=>Object.keys(n):n=>{let c=[];for(let l in n)Object.prototype.hasOwnProperty.call(n,l)&&c.push(l);return c},a.find=(n,c)=>{for(let l of n)if(c(l))return l},a.isInteger=typeof Number.isInteger=="function"?n=>Number.isInteger(n):n=>typeof n=="number"&&Number.isFinite(n)&&Math.floor(n)===n;function u(n,c=" | "){return n.map(l=>typeof l=="string"?"'".concat(l,"'"):l).join(c)}a.joinValues=u,a.jsonStringifyReplacer=(n,c)=>typeof c=="bigint"?c.toString():c})(I||(I={}));var rb;(function(a){a.mergeShapes=(e,r)=>s(s({},e),r)})(rb||(rb={}));var K=I.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),te=a=>{switch(typeof a){case"undefined":return K.undefined;case"string":return K.string;case"number":return Number.isNaN(a)?K.nan:K.number;case"boolean":return K.boolean;case"function":return K.function;case"bigint":return K.bigint;case"symbol":return K.symbol;case"object":return Array.isArray(a)?K.array:a===null?K.null:a.then&&typeof a.then=="function"&&a.catch&&typeof a.catch=="function"?K.promise:typeof Map<"u"&&a instanceof Map?K.map:typeof Set<"u"&&a instanceof Set?K.set:typeof Date<"u"&&a instanceof Date?K.date:K.object;default:return K.unknown}};var T=I.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),lh=a=>JSON.stringify(a,null,2).replace(/"([^"]+)":/g,"$1:"),J=class a extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=u=>{this.issues=[...this.issues,u]},this.addIssues=(u=[])=>{this.issues=[...this.issues,...u]};let r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){let r=e||function(c){return c.message},u={_errors:[]},n=c=>{for(let l of c.issues)if(l.code==="invalid_union")l.unionErrors.map(n);else if(l.code==="invalid_return_type")n(l.returnTypeError);else if(l.code==="invalid_arguments")n(l.argumentsError);else if(l.path.length===0)u._errors.push(r(l));else{let b=u,h=0;for(;h<l.path.length;){let U=l.path[h];h===l.path.length-1?(b[U]=b[U]||{_errors:[]},b[U]._errors.push(r(l))):b[U]=b[U]||{_errors:[]},b=b[U],h++}}};return n(this),u}static assert(e){if(!(e instanceof a))throw new Error("Not a ZodError: ".concat(e))}toString(){return this.message}get message(){return JSON.stringify(this.issues,I.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){let r={},u=[];for(let n of this.issues)if(n.path.length>0){let c=n.path[0];r[c]=r[c]||[],r[c].push(e(n))}else u.push(e(n));return{formErrors:u,fieldErrors:r}}get formErrors(){return this.flatten()}};J.create=a=>new J(a);var bh=(a,e)=>{let r;switch(a.code){case T.invalid_type:a.received===K.undefined?r="Required":r="Expected ".concat(a.expected,", received ").concat(a.received);break;case T.invalid_literal:r="Invalid literal value, expected ".concat(JSON.stringify(a.expected,I.jsonStringifyReplacer));break;case T.unrecognized_keys:r="Unrecognized key(s) in object: ".concat(I.joinValues(a.keys,", "));break;case T.invalid_union:r="Invalid input";break;case T.invalid_union_discriminator:r="Invalid discriminator value. Expected ".concat(I.joinValues(a.options));break;case T.invalid_enum_value:r="Invalid enum value. Expected ".concat(I.joinValues(a.options),", received '").concat(a.received,"'");break;case T.invalid_arguments:r="Invalid function arguments";break;case T.invalid_return_type:r="Invalid function return type";break;case T.invalid_date:r="Invalid date";break;case T.invalid_string:typeof a.validation=="object"?"includes"in a.validation?(r='Invalid input: must include "'.concat(a.validation.includes,'"'),typeof a.validation.position=="number"&&(r="".concat(r," at one or more positions greater than or equal to ").concat(a.validation.position))):"startsWith"in a.validation?r='Invalid input: must start with "'.concat(a.validation.startsWith,'"'):"endsWith"in a.validation?r='Invalid input: must end with "'.concat(a.validation.endsWith,'"'):I.assertNever(a.validation):a.validation!=="regex"?r="Invalid ".concat(a.validation):r="Invalid";break;case T.too_small:a.type==="array"?r="Array must contain ".concat(a.exact?"exactly":a.inclusive?"at least":"more than"," ").concat(a.minimum," element(s)"):a.type==="string"?r="String must contain ".concat(a.exact?"exactly":a.inclusive?"at least":"over"," ").concat(a.minimum," character(s)"):a.type==="number"||a.type==="bigint"?r="Number must be ".concat(a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than ").concat(a.minimum):a.type==="date"?r="Date must be ".concat(a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than ").concat(new Date(Number(a.minimum))):r="Invalid input";break;case T.too_big:a.type==="array"?r="Array must contain ".concat(a.exact?"exactly":a.inclusive?"at most":"less than"," ").concat(a.maximum," element(s)"):a.type==="string"?r="String must contain ".concat(a.exact?"exactly":a.inclusive?"at most":"under"," ").concat(a.maximum," character(s)"):a.type==="number"?r="Number must be ".concat(a.exact?"exactly":a.inclusive?"less than or equal to":"less than"," ").concat(a.maximum):a.type==="bigint"?r="BigInt must be ".concat(a.exact?"exactly":a.inclusive?"less than or equal to":"less than"," ").concat(a.maximum):a.type==="date"?r="Date must be ".concat(a.exact?"exactly":a.inclusive?"smaller than or equal to":"smaller than"," ").concat(new Date(Number(a.maximum))):r="Invalid input";break;case T.custom:r="Invalid input";break;case T.invalid_intersection_types:r="Intersection results could not be merged";break;case T.not_multiple_of:r="Number must be a multiple of ".concat(a.multipleOf);break;case T.not_finite:r="Number must be finite";break;default:r=e.defaultError,I.assertNever(a)}return{message:r}},ye=bh;var Db=ye;function qh(a){Db=a}function Le(){return Db}var ge=a=>{let{data:e,path:r,errorMaps:u,issueData:n}=a,c=[...r,...n.path||[]],l=w(s({},n),{path:c});if(n.message!==void 0)return w(s({},n),{path:c,message:n.message});let b="",h=u.filter(U=>!!U).slice().reverse();for(let U of h)b=U(l,{data:e,defaultError:b}).message;return w(s({},n),{path:c,message:b})},hh=[];function f(a,e){let r=Le(),u=ge({issueData:e,data:a.data,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,r,r===ye?void 0:ye].filter(n=>!!n)});a.common.issues.push(u)}var B=class a{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){let u=[];for(let n of r){if(n.status==="aborted")return P;n.status==="dirty"&&e.dirty(),u.push(n.value)}return{status:e.value,value:u}}static async mergeObjectAsync(e,r){let u=[];for(let n of r){let c=await n.key,l=await n.value;u.push({key:c,value:l})}return a.mergeObjectSync(e,u)}static mergeObjectSync(e,r){let u={};for(let n of r){let{key:c,value:l}=n;if(c.status==="aborted"||l.status==="aborted")return P;c.status==="dirty"&&e.dirty(),l.status==="dirty"&&e.dirty(),c.value!=="__proto__"&&(typeof l.value<"u"||n.alwaysSet)&&(u[c.value]=l.value)}return{status:e.value,value:u}}},P=Object.freeze({status:"aborted"}),je=a=>({status:"dirty",value:a}),W=a=>({status:"valid",value:a}),ra=a=>a.status==="aborted",ta=a=>a.status==="dirty",we=a=>a.status==="valid",Ne=a=>typeof Promise<"u"&&a instanceof Promise;var o;(function(a){a.errToObj=e=>typeof e=="string"?{message:e}:e||{},a.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(o||(o={}));var ee=class{constructor(e,r,u,n){this._cachedPath=[],this.parent=e,this.data=r,this._path=u,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Cb=(a,e)=>{if(we(e))return{success:!0,data:e.value};if(!a.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let r=new J(a.common.issues);return this._error=r,this._error}}};function D(a){if(!a)return{};let{errorMap:e,invalid_type_error:r,required_error:u,description:n}=a;if(e&&(r||u))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return e?{errorMap:e,description:n}:{errorMap:(l,b)=>{var U,R;let{message:h}=a;return l.code==="invalid_enum_value"?{message:h!=null?h:b.defaultError}:typeof b.data>"u"?{message:(U=h!=null?h:u)!=null?U:b.defaultError}:l.code!=="invalid_type"?{message:b.defaultError}:{message:(R=h!=null?h:r)!=null?R:b.defaultError}},description:n}}var v=class{get description(){return this._def.description}_getType(e){return te(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:te(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new B,ctx:{common:e.parent.common,data:e.data,parsedType:te(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let r=this._parse(e);if(Ne(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){let r=this._parse(e);return Promise.resolve(r)}parse(e,r){let u=this.safeParse(e,r);if(u.success)return u.data;throw u.error}safeParse(e,r){var c;let u={common:{issues:[],async:(c=r==null?void 0:r.async)!=null?c:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)},n=this._parseSync({data:e,path:u.path,parent:u});return Cb(u,n)}"~validate"(e){var u,n;let r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)};if(!this["~standard"].async)try{let c=this._parseSync({data:e,path:[],parent:r});return we(c)?{value:c.value}:{issues:r.common.issues}}catch(c){(n=(u=c==null?void 0:c.message)==null?void 0:u.toLowerCase())!=null&&n.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:r}).then(c=>we(c)?{value:c.value}:{issues:r.common.issues})}async parseAsync(e,r){let u=await this.safeParseAsync(e,r);if(u.success)return u.data;throw u.error}async safeParseAsync(e,r){let u={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)},n=this._parse({data:e,path:u.path,parent:u}),c=await(Ne(n)?n:Promise.resolve(n));return Cb(u,c)}refine(e,r){let u=n=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(n):r;return this._refinement((n,c)=>{let l=e(n),b=()=>c.addIssue(s({code:T.custom},u(n)));return typeof Promise<"u"&&l instanceof Promise?l.then(h=>h?!0:(b(),!1)):l?!0:(b(),!1)})}refinement(e,r){return this._refinement((u,n)=>e(u)?!0:(n.addIssue(typeof r=="function"?r(u,n):r),!1))}_refinement(e){return new ae({schema:this,typeName:k.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return A.create(this,this._def)}nullable(){return ue.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return qe.create(this)}promise(){return Re.create(this,this._def)}or(e){return De.create([this,e],this._def)}and(e){return Ce.create(this,e,this._def)}transform(e){return new ae(w(s({},D(this._def)),{schema:this,typeName:k.ZodEffects,effect:{type:"transform",transform:e}}))}default(e){let r=typeof e=="function"?e:()=>e;return new Se(w(s({},D(this._def)),{innerType:this,defaultValue:r,typeName:k.ZodDefault}))}brand(){return new de(s({typeName:k.ZodBranded,type:this},D(this._def)))}catch(e){let r=typeof e=="function"?e:()=>e;return new _e(w(s({},D(this._def)),{innerType:this,catchValue:r,typeName:k.ZodCatch}))}describe(e){let r=this.constructor;return new r(w(s({},this._def),{description:e}))}pipe(e){return me.create(this,e)}readonly(){return Me.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Uh=/^c[^\s-]{8,}$/i,wh=/^[0-9a-z]+$/,xh=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Th=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Rh=/^[a-z0-9_-]{21}$/i,jh=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,fh=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Kh=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,oh="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",tb,Ph=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Eh=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,kh=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Dh=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ch=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,vh=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Vb="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Vh=new RegExp("^".concat(Vb,"$"));function Ib(a){let e="[0-5]\\d";a.precision?e="".concat(e,"\\.\\d{").concat(a.precision,"}"):a.precision==null&&(e="".concat(e,"(\\.\\d+)?"));let r=a.precision?"+":"?";return"([01]\\d|2[0-3]):[0-5]\\d(:".concat(e,")").concat(r)}function Ih(a){return new RegExp("^".concat(Ib(a),"$"))}function Ob(a){let e="".concat(Vb,"T").concat(Ib(a)),r=[];return r.push(a.local?"Z?":"Z"),a.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e="".concat(e,"(").concat(r.join("|"),")"),new RegExp("^".concat(e,"$"))}function Oh(a,e){return!!((e==="v4"||!e)&&Ph.test(a)||(e==="v6"||!e)&&kh.test(a))}function Sh(a,e){if(!jh.test(a))return!1;try{let[r]=a.split(".");if(!r)return!1;let u=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),n=JSON.parse(atob(u));return!(typeof n!="object"||n===null||"typ"in n&&(n==null?void 0:n.typ)!=="JWT"||!n.alg||e&&n.alg!==e)}catch(r){return!1}}function _h(a,e){return!!((e==="v4"||!e)&&Eh.test(a)||(e==="v6"||!e)&&Dh.test(a))}var xe=class a extends v{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==K.string){let c=this._getOrReturnCtx(e);return f(c,{code:T.invalid_type,expected:K.string,received:c.parsedType}),P}let u=new B,n;for(let c of this._def.checks)if(c.kind==="min")e.data.length<c.value&&(n=this._getOrReturnCtx(e,n),f(n,{code:T.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),u.dirty());else if(c.kind==="max")e.data.length>c.value&&(n=this._getOrReturnCtx(e,n),f(n,{code:T.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),u.dirty());else if(c.kind==="length"){let l=e.data.length>c.value,b=e.data.length<c.value;(l||b)&&(n=this._getOrReturnCtx(e,n),l?f(n,{code:T.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):b&&f(n,{code:T.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),u.dirty())}else if(c.kind==="email")Kh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"email",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="emoji")tb||(tb=new RegExp(oh,"u")),tb.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"emoji",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="uuid")Th.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"uuid",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="nanoid")Rh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"nanoid",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="cuid")Uh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"cuid",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="cuid2")wh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"cuid2",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="ulid")xh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"ulid",code:T.invalid_string,message:c.message}),u.dirty());else if(c.kind==="url")try{new URL(e.data)}catch(l){n=this._getOrReturnCtx(e,n),f(n,{validation:"url",code:T.invalid_string,message:c.message}),u.dirty()}else c.kind==="regex"?(c.regex.lastIndex=0,c.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"regex",code:T.invalid_string,message:c.message}),u.dirty())):c.kind==="trim"?e.data=e.data.trim():c.kind==="includes"?e.data.includes(c.value,c.position)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:{includes:c.value,position:c.position},message:c.message}),u.dirty()):c.kind==="toLowerCase"?e.data=e.data.toLowerCase():c.kind==="toUpperCase"?e.data=e.data.toUpperCase():c.kind==="startsWith"?e.data.startsWith(c.value)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:{startsWith:c.value},message:c.message}),u.dirty()):c.kind==="endsWith"?e.data.endsWith(c.value)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:{endsWith:c.value},message:c.message}),u.dirty()):c.kind==="datetime"?Ob(c).test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:"datetime",message:c.message}),u.dirty()):c.kind==="date"?Vh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:"date",message:c.message}),u.dirty()):c.kind==="time"?Ih(c).test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{code:T.invalid_string,validation:"time",message:c.message}),u.dirty()):c.kind==="duration"?fh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"duration",code:T.invalid_string,message:c.message}),u.dirty()):c.kind==="ip"?Oh(e.data,c.version)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"ip",code:T.invalid_string,message:c.message}),u.dirty()):c.kind==="jwt"?Sh(e.data,c.alg)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"jwt",code:T.invalid_string,message:c.message}),u.dirty()):c.kind==="cidr"?_h(e.data,c.version)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"cidr",code:T.invalid_string,message:c.message}),u.dirty()):c.kind==="base64"?Ch.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"base64",code:T.invalid_string,message:c.message}),u.dirty()):c.kind==="base64url"?vh.test(e.data)||(n=this._getOrReturnCtx(e,n),f(n,{validation:"base64url",code:T.invalid_string,message:c.message}),u.dirty()):I.assertNever(c);return{status:u.value,value:e.data}}_regex(e,r,u){return this.refinement(n=>e.test(n),s({validation:r,code:T.invalid_string},o.errToObj(u)))}_addCheck(e){return new a(w(s({},this._def),{checks:[...this._def.checks,e]}))}email(e){return this._addCheck(s({kind:"email"},o.errToObj(e)))}url(e){return this._addCheck(s({kind:"url"},o.errToObj(e)))}emoji(e){return this._addCheck(s({kind:"emoji"},o.errToObj(e)))}uuid(e){return this._addCheck(s({kind:"uuid"},o.errToObj(e)))}nanoid(e){return this._addCheck(s({kind:"nanoid"},o.errToObj(e)))}cuid(e){return this._addCheck(s({kind:"cuid"},o.errToObj(e)))}cuid2(e){return this._addCheck(s({kind:"cuid2"},o.errToObj(e)))}ulid(e){return this._addCheck(s({kind:"ulid"},o.errToObj(e)))}base64(e){return this._addCheck(s({kind:"base64"},o.errToObj(e)))}base64url(e){return this._addCheck(s({kind:"base64url"},o.errToObj(e)))}jwt(e){return this._addCheck(s({kind:"jwt"},o.errToObj(e)))}ip(e){return this._addCheck(s({kind:"ip"},o.errToObj(e)))}cidr(e){return this._addCheck(s({kind:"cidr"},o.errToObj(e)))}datetime(e){var r,u;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck(s({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(r=e==null?void 0:e.offset)!=null?r:!1,local:(u=e==null?void 0:e.local)!=null?u:!1},o.errToObj(e==null?void 0:e.message)))}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck(s({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision},o.errToObj(e==null?void 0:e.message)))}duration(e){return this._addCheck(s({kind:"duration"},o.errToObj(e)))}regex(e,r){return this._addCheck(s({kind:"regex",regex:e},o.errToObj(r)))}includes(e,r){return this._addCheck(s({kind:"includes",value:e,position:r==null?void 0:r.position},o.errToObj(r==null?void 0:r.message)))}startsWith(e,r){return this._addCheck(s({kind:"startsWith",value:e},o.errToObj(r)))}endsWith(e,r){return this._addCheck(s({kind:"endsWith",value:e},o.errToObj(r)))}min(e,r){return this._addCheck(s({kind:"min",value:e},o.errToObj(r)))}max(e,r){return this._addCheck(s({kind:"max",value:e},o.errToObj(r)))}length(e,r){return this._addCheck(s({kind:"length",value:e},o.errToObj(r)))}nonempty(e){return this.min(1,o.errToObj(e))}trim(){return new a(w(s({},this._def),{checks:[...this._def.checks,{kind:"trim"}]}))}toLowerCase(){return new a(w(s({},this._def),{checks:[...this._def.checks,{kind:"toLowerCase"}]}))}toUpperCase(){return new a(w(s({},this._def),{checks:[...this._def.checks,{kind:"toUpperCase"}]}))}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};xe.create=a=>{var e;return new xe(s({checks:[],typeName:k.ZodString,coerce:(e=a==null?void 0:a.coerce)!=null?e:!1},D(a)))};function Mh(a,e){let r=(a.toString().split(".")[1]||"").length,u=(e.toString().split(".")[1]||"").length,n=r>u?r:u,c=Number.parseInt(a.toFixed(n).replace(".","")),l=Number.parseInt(e.toFixed(n).replace(".",""));return c%l/10**n}var fe=class a extends v{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==K.number){let c=this._getOrReturnCtx(e);return f(c,{code:T.invalid_type,expected:K.number,received:c.parsedType}),P}let u,n=new B;for(let c of this._def.checks)c.kind==="int"?I.isInteger(e.data)||(u=this._getOrReturnCtx(e,u),f(u,{code:T.invalid_type,expected:"integer",received:"float",message:c.message}),n.dirty()):c.kind==="min"?(c.inclusive?e.data<c.value:e.data<=c.value)&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.too_small,minimum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),n.dirty()):c.kind==="max"?(c.inclusive?e.data>c.value:e.data>=c.value)&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.too_big,maximum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),n.dirty()):c.kind==="multipleOf"?Mh(e.data,c.value)!==0&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.not_multiple_of,multipleOf:c.value,message:c.message}),n.dirty()):c.kind==="finite"?Number.isFinite(e.data)||(u=this._getOrReturnCtx(e,u),f(u,{code:T.not_finite,message:c.message}),n.dirty()):I.assertNever(c);return{status:n.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,o.toString(r))}gt(e,r){return this.setLimit("min",e,!1,o.toString(r))}lte(e,r){return this.setLimit("max",e,!0,o.toString(r))}lt(e,r){return this.setLimit("max",e,!1,o.toString(r))}setLimit(e,r,u,n){return new a(w(s({},this._def),{checks:[...this._def.checks,{kind:e,value:r,inclusive:u,message:o.toString(n)}]}))}_addCheck(e){return new a(w(s({},this._def),{checks:[...this._def.checks,e]}))}int(e){return this._addCheck({kind:"int",message:o.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:o.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:o.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:o.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:o.toString(e)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&I.isInteger(e.value))}get isFinite(){let e=null,r=null;for(let u of this._def.checks){if(u.kind==="finite"||u.kind==="int"||u.kind==="multipleOf")return!0;u.kind==="min"?(r===null||u.value>r)&&(r=u.value):u.kind==="max"&&(e===null||u.value<e)&&(e=u.value)}return Number.isFinite(r)&&Number.isFinite(e)}};fe.create=a=>new fe(s({checks:[],typeName:k.ZodNumber,coerce:(a==null?void 0:a.coerce)||!1},D(a)));var Ke=class a extends v{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(c){return this._getInvalidInput(e)}if(this._getType(e)!==K.bigint)return this._getInvalidInput(e);let u,n=new B;for(let c of this._def.checks)c.kind==="min"?(c.inclusive?e.data<c.value:e.data<=c.value)&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.too_small,type:"bigint",minimum:c.value,inclusive:c.inclusive,message:c.message}),n.dirty()):c.kind==="max"?(c.inclusive?e.data>c.value:e.data>=c.value)&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.too_big,type:"bigint",maximum:c.value,inclusive:c.inclusive,message:c.message}),n.dirty()):c.kind==="multipleOf"?e.data%c.value!==BigInt(0)&&(u=this._getOrReturnCtx(e,u),f(u,{code:T.not_multiple_of,multipleOf:c.value,message:c.message}),n.dirty()):I.assertNever(c);return{status:n.value,value:e.data}}_getInvalidInput(e){let r=this._getOrReturnCtx(e);return f(r,{code:T.invalid_type,expected:K.bigint,received:r.parsedType}),P}gte(e,r){return this.setLimit("min",e,!0,o.toString(r))}gt(e,r){return this.setLimit("min",e,!1,o.toString(r))}lte(e,r){return this.setLimit("max",e,!0,o.toString(r))}lt(e,r){return this.setLimit("max",e,!1,o.toString(r))}setLimit(e,r,u,n){return new a(w(s({},this._def),{checks:[...this._def.checks,{kind:e,value:r,inclusive:u,message:o.toString(n)}]}))}_addCheck(e){return new a(w(s({},this._def),{checks:[...this._def.checks,e]}))}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:o.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(r)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};Ke.create=a=>{var e;return new Ke(s({checks:[],typeName:k.ZodBigInt,coerce:(e=a==null?void 0:a.coerce)!=null?e:!1},D(a)))};var oe=class extends v{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==K.boolean){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.boolean,received:u.parsedType}),P}return W(e.data)}};oe.create=a=>new oe(s({typeName:k.ZodBoolean,coerce:(a==null?void 0:a.coerce)||!1},D(a)));var Pe=class a extends v{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==K.date){let c=this._getOrReturnCtx(e);return f(c,{code:T.invalid_type,expected:K.date,received:c.parsedType}),P}if(Number.isNaN(e.data.getTime())){let c=this._getOrReturnCtx(e);return f(c,{code:T.invalid_date}),P}let u=new B,n;for(let c of this._def.checks)c.kind==="min"?e.data.getTime()<c.value&&(n=this._getOrReturnCtx(e,n),f(n,{code:T.too_small,message:c.message,inclusive:!0,exact:!1,minimum:c.value,type:"date"}),u.dirty()):c.kind==="max"?e.data.getTime()>c.value&&(n=this._getOrReturnCtx(e,n),f(n,{code:T.too_big,message:c.message,inclusive:!0,exact:!1,maximum:c.value,type:"date"}),u.dirty()):I.assertNever(c);return{status:u.value,value:new Date(e.data.getTime())}}_addCheck(e){return new a(w(s({},this._def),{checks:[...this._def.checks,e]}))}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:o.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:o.toString(r)})}get minDate(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}};Pe.create=a=>new Pe(s({checks:[],coerce:(a==null?void 0:a.coerce)||!1,typeName:k.ZodDate},D(a)));var $e=class extends v{_parse(e){if(this._getType(e)!==K.symbol){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.symbol,received:u.parsedType}),P}return W(e.data)}};$e.create=a=>new $e(s({typeName:k.ZodSymbol},D(a)));var Ee=class extends v{_parse(e){if(this._getType(e)!==K.undefined){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.undefined,received:u.parsedType}),P}return W(e.data)}};Ee.create=a=>new Ee(s({typeName:k.ZodUndefined},D(a)));var ke=class extends v{_parse(e){if(this._getType(e)!==K.null){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.null,received:u.parsedType}),P}return W(e.data)}};ke.create=a=>new ke(s({typeName:k.ZodNull},D(a)));var Te=class extends v{constructor(){super(...arguments),this._any=!0}_parse(e){return W(e.data)}};Te.create=a=>new Te(s({typeName:k.ZodAny},D(a)));var be=class extends v{constructor(){super(...arguments),this._unknown=!0}_parse(e){return W(e.data)}};be.create=a=>new be(s({typeName:k.ZodUnknown},D(a)));var re=class extends v{_parse(e){let r=this._getOrReturnCtx(e);return f(r,{code:T.invalid_type,expected:K.never,received:r.parsedType}),P}};re.create=a=>new re(s({typeName:k.ZodNever},D(a)));var Be=class extends v{_parse(e){if(this._getType(e)!==K.undefined){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.void,received:u.parsedType}),P}return W(e.data)}};Be.create=a=>new Be(s({typeName:k.ZodVoid},D(a)));var qe=class a extends v{_parse(e){let{ctx:r,status:u}=this._processInputParams(e),n=this._def;if(r.parsedType!==K.array)return f(r,{code:T.invalid_type,expected:K.array,received:r.parsedType}),P;if(n.exactLength!==null){let l=r.data.length>n.exactLength.value,b=r.data.length<n.exactLength.value;(l||b)&&(f(r,{code:l?T.too_big:T.too_small,minimum:b?n.exactLength.value:void 0,maximum:l?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),u.dirty())}if(n.minLength!==null&&r.data.length<n.minLength.value&&(f(r,{code:T.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),u.dirty()),n.maxLength!==null&&r.data.length>n.maxLength.value&&(f(r,{code:T.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),u.dirty()),r.common.async)return Promise.all([...r.data].map((l,b)=>n.type._parseAsync(new ee(r,l,r.path,b)))).then(l=>B.mergeArray(u,l));let c=[...r.data].map((l,b)=>n.type._parseSync(new ee(r,l,r.path,b)));return B.mergeArray(u,c)}get element(){return this._def.type}min(e,r){return new a(w(s({},this._def),{minLength:{value:e,message:o.toString(r)}}))}max(e,r){return new a(w(s({},this._def),{maxLength:{value:e,message:o.toString(r)}}))}length(e,r){return new a(w(s({},this._def),{exactLength:{value:e,message:o.toString(r)}}))}nonempty(e){return this.min(1,e)}};qe.create=(a,e)=>new qe(s({type:a,minLength:null,maxLength:null,exactLength:null,typeName:k.ZodArray},D(e)));function Fe(a){if(a instanceof X){let e={};for(let r in a.shape){let u=a.shape[r];e[r]=A.create(Fe(u))}return new X(w(s({},a._def),{shape:()=>e}))}else return a instanceof qe?new qe(w(s({},a._def),{type:Fe(a.element)})):a instanceof A?A.create(Fe(a.unwrap())):a instanceof ue?ue.create(Fe(a.unwrap())):a instanceof ie?ie.create(a.items.map(e=>Fe(e))):a}var X=class a extends v{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),r=I.objectKeys(e);return this._cached={shape:e,keys:r},this._cached}_parse(e){if(this._getType(e)!==K.object){let U=this._getOrReturnCtx(e);return f(U,{code:T.invalid_type,expected:K.object,received:U.parsedType}),P}let{status:u,ctx:n}=this._processInputParams(e),{shape:c,keys:l}=this._getCached(),b=[];if(!(this._def.catchall instanceof re&&this._def.unknownKeys==="strip"))for(let U in n.data)l.includes(U)||b.push(U);let h=[];for(let U of l){let R=c[U],j=n.data[U];h.push({key:{status:"valid",value:U},value:R._parse(new ee(n,j,n.path,U)),alwaysSet:U in n.data})}if(this._def.catchall instanceof re){let U=this._def.unknownKeys;if(U==="passthrough")for(let R of b)h.push({key:{status:"valid",value:R},value:{status:"valid",value:n.data[R]}});else if(U==="strict")b.length>0&&(f(n,{code:T.unrecognized_keys,keys:b}),u.dirty());else if(U!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let U=this._def.catchall;for(let R of b){let j=n.data[R];h.push({key:{status:"valid",value:R},value:U._parse(new ee(n,j,n.path,R)),alwaysSet:R in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let U=[];for(let R of h){let j=await R.key,E=await R.value;U.push({key:j,value:E,alwaysSet:R.alwaysSet})}return U}).then(U=>B.mergeObjectSync(u,U)):B.mergeObjectSync(u,h)}get shape(){return this._def.shape()}strict(e){return o.errToObj,new a(s(w(s({},this._def),{unknownKeys:"strict"}),e!==void 0?{errorMap:(r,u)=>{var c,l,b,h;let n=(b=(l=(c=this._def).errorMap)==null?void 0:l.call(c,r,u).message)!=null?b:u.defaultError;return r.code==="unrecognized_keys"?{message:(h=o.errToObj(e).message)!=null?h:n}:{message:n}}}:{}))}strip(){return new a(w(s({},this._def),{unknownKeys:"strip"}))}passthrough(){return new a(w(s({},this._def),{unknownKeys:"passthrough"}))}extend(e){return new a(w(s({},this._def),{shape:()=>s(s({},this._def.shape()),e)}))}merge(e){return new a({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>s(s({},this._def.shape()),e._def.shape()),typeName:k.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new a(w(s({},this._def),{catchall:e}))}pick(e){let r={};for(let u of I.objectKeys(e))e[u]&&this.shape[u]&&(r[u]=this.shape[u]);return new a(w(s({},this._def),{shape:()=>r}))}omit(e){let r={};for(let u of I.objectKeys(this.shape))e[u]||(r[u]=this.shape[u]);return new a(w(s({},this._def),{shape:()=>r}))}deepPartial(){return Fe(this)}partial(e){let r={};for(let u of I.objectKeys(this.shape)){let n=this.shape[u];e&&!e[u]?r[u]=n:r[u]=n.optional()}return new a(w(s({},this._def),{shape:()=>r}))}required(e){let r={};for(let u of I.objectKeys(this.shape))if(e&&!e[u])r[u]=this.shape[u];else{let c=this.shape[u];for(;c instanceof A;)c=c._def.innerType;r[u]=c}return new a(w(s({},this._def),{shape:()=>r}))}keyof(){return Sb(I.objectKeys(this.shape))}};X.create=(a,e)=>new X(s({shape:()=>a,unknownKeys:"strip",catchall:re.create(),typeName:k.ZodObject},D(e)));X.strictCreate=(a,e)=>new X(s({shape:()=>a,unknownKeys:"strict",catchall:re.create(),typeName:k.ZodObject},D(e)));X.lazycreate=(a,e)=>new X(s({shape:a,unknownKeys:"strip",catchall:re.create(),typeName:k.ZodObject},D(e)));var De=class extends v{_parse(e){let{ctx:r}=this._processInputParams(e),u=this._def.options;function n(c){for(let b of c)if(b.result.status==="valid")return b.result;for(let b of c)if(b.result.status==="dirty")return r.common.issues.push(...b.ctx.common.issues),b.result;let l=c.map(b=>new J(b.ctx.common.issues));return f(r,{code:T.invalid_union,unionErrors:l}),P}if(r.common.async)return Promise.all(u.map(async c=>{let l=w(s({},r),{common:w(s({},r.common),{issues:[]}),parent:null});return{result:await c._parseAsync({data:r.data,path:r.path,parent:l}),ctx:l}})).then(n);{let c,l=[];for(let h of u){let U=w(s({},r),{common:w(s({},r.common),{issues:[]}),parent:null}),R=h._parseSync({data:r.data,path:r.path,parent:U});if(R.status==="valid")return R;R.status==="dirty"&&!c&&(c={result:R,ctx:U}),U.common.issues.length&&l.push(U.common.issues)}if(c)return r.common.issues.push(...c.ctx.common.issues),c.result;let b=l.map(h=>new J(h));return f(r,{code:T.invalid_union,unionErrors:b}),P}}get options(){return this._def.options}};De.create=(a,e)=>new De(s({options:a,typeName:k.ZodUnion},D(e)));var le=a=>a instanceof ve?le(a.schema):a instanceof ae?le(a.innerType()):a instanceof Ve?[a.value]:a instanceof Ie?a.options:a instanceof Oe?I.objectValues(a.enum):a instanceof Se?le(a._def.innerType):a instanceof Ee?[void 0]:a instanceof ke?[null]:a instanceof A?[void 0,...le(a.unwrap())]:a instanceof ue?[null,...le(a.unwrap())]:a instanceof de||a instanceof Me?le(a.unwrap()):a instanceof _e?le(a._def.innerType):[],ia=class a extends v{_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==K.object)return f(r,{code:T.invalid_type,expected:K.object,received:r.parsedType}),P;let u=this.discriminator,n=r.data[u],c=this.optionsMap.get(n);return c?r.common.async?c._parseAsync({data:r.data,path:r.path,parent:r}):c._parseSync({data:r.data,path:r.path,parent:r}):(f(r,{code:T.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[u]}),P)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,r,u){let n=new Map;for(let c of r){let l=le(c.shape[e]);if(!l.length)throw new Error("A discriminator value for key `".concat(e,"` could not be extracted from all schema options"));for(let b of l){if(n.has(b))throw new Error("Discriminator property ".concat(String(e)," has duplicate value ").concat(String(b)));n.set(b,c)}}return new a(s({typeName:k.ZodDiscriminatedUnion,discriminator:e,options:r,optionsMap:n},D(u)))}};function ib(a,e){let r=te(a),u=te(e);if(a===e)return{valid:!0,data:a};if(r===K.object&&u===K.object){let n=I.objectKeys(e),c=I.objectKeys(a).filter(b=>n.indexOf(b)!==-1),l=s(s({},a),e);for(let b of c){let h=ib(a[b],e[b]);if(!h.valid)return{valid:!1};l[b]=h.data}return{valid:!0,data:l}}else if(r===K.array&&u===K.array){if(a.length!==e.length)return{valid:!1};let n=[];for(let c=0;c<a.length;c++){let l=a[c],b=e[c],h=ib(l,b);if(!h.valid)return{valid:!1};n.push(h.data)}return{valid:!0,data:n}}else return r===K.date&&u===K.date&&+a==+e?{valid:!0,data:a}:{valid:!1}}var Ce=class extends v{_parse(e){let{status:r,ctx:u}=this._processInputParams(e),n=(c,l)=>{if(ra(c)||ra(l))return P;let b=ib(c.value,l.value);return b.valid?((ta(c)||ta(l))&&r.dirty(),{status:r.value,value:b.data}):(f(u,{code:T.invalid_intersection_types}),P)};return u.common.async?Promise.all([this._def.left._parseAsync({data:u.data,path:u.path,parent:u}),this._def.right._parseAsync({data:u.data,path:u.path,parent:u})]).then(([c,l])=>n(c,l)):n(this._def.left._parseSync({data:u.data,path:u.path,parent:u}),this._def.right._parseSync({data:u.data,path:u.path,parent:u}))}};Ce.create=(a,e,r)=>new Ce(s({left:a,right:e,typeName:k.ZodIntersection},D(r)));var ie=class a extends v{_parse(e){let{status:r,ctx:u}=this._processInputParams(e);if(u.parsedType!==K.array)return f(u,{code:T.invalid_type,expected:K.array,received:u.parsedType}),P;if(u.data.length<this._def.items.length)return f(u,{code:T.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),P;!this._def.rest&&u.data.length>this._def.items.length&&(f(u,{code:T.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());let c=[...u.data].map((l,b)=>{let h=this._def.items[b]||this._def.rest;return h?h._parse(new ee(u,l,u.path,b)):null}).filter(l=>!!l);return u.common.async?Promise.all(c).then(l=>B.mergeArray(r,l)):B.mergeArray(r,c)}get items(){return this._def.items}rest(e){return new a(w(s({},this._def),{rest:e}))}};ie.create=(a,e)=>{if(!Array.isArray(a))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ie(s({items:a,typeName:k.ZodTuple,rest:null},D(e)))};var ua=class a extends v{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:u}=this._processInputParams(e);if(u.parsedType!==K.object)return f(u,{code:T.invalid_type,expected:K.object,received:u.parsedType}),P;let n=[],c=this._def.keyType,l=this._def.valueType;for(let b in u.data)n.push({key:c._parse(new ee(u,b,u.path,b)),value:l._parse(new ee(u,u.data[b],u.path,b)),alwaysSet:b in u.data});return u.common.async?B.mergeObjectAsync(r,n):B.mergeObjectSync(r,n)}get element(){return this._def.valueType}static create(e,r,u){return r instanceof v?new a(s({keyType:e,valueType:r,typeName:k.ZodRecord},D(u))):new a(s({keyType:xe.create(),valueType:e,typeName:k.ZodRecord},D(r)))}},ze=class extends v{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:u}=this._processInputParams(e);if(u.parsedType!==K.map)return f(u,{code:T.invalid_type,expected:K.map,received:u.parsedType}),P;let n=this._def.keyType,c=this._def.valueType,l=[...u.data.entries()].map(([b,h],U)=>({key:n._parse(new ee(u,b,u.path,[U,"key"])),value:c._parse(new ee(u,h,u.path,[U,"value"]))}));if(u.common.async){let b=new Map;return Promise.resolve().then(async()=>{for(let h of l){let U=await h.key,R=await h.value;if(U.status==="aborted"||R.status==="aborted")return P;(U.status==="dirty"||R.status==="dirty")&&r.dirty(),b.set(U.value,R.value)}return{status:r.value,value:b}})}else{let b=new Map;for(let h of l){let U=h.key,R=h.value;if(U.status==="aborted"||R.status==="aborted")return P;(U.status==="dirty"||R.status==="dirty")&&r.dirty(),b.set(U.value,R.value)}return{status:r.value,value:b}}}};ze.create=(a,e,r)=>new ze(s({valueType:e,keyType:a,typeName:k.ZodMap},D(r)));var Qe=class a extends v{_parse(e){let{status:r,ctx:u}=this._processInputParams(e);if(u.parsedType!==K.set)return f(u,{code:T.invalid_type,expected:K.set,received:u.parsedType}),P;let n=this._def;n.minSize!==null&&u.data.size<n.minSize.value&&(f(u,{code:T.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),r.dirty()),n.maxSize!==null&&u.data.size>n.maxSize.value&&(f(u,{code:T.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),r.dirty());let c=this._def.valueType;function l(h){let U=new Set;for(let R of h){if(R.status==="aborted")return P;R.status==="dirty"&&r.dirty(),U.add(R.value)}return{status:r.value,value:U}}let b=[...u.data.values()].map((h,U)=>c._parse(new ee(u,h,u.path,U)));return u.common.async?Promise.all(b).then(h=>l(h)):l(b)}min(e,r){return new a(w(s({},this._def),{minSize:{value:e,message:o.toString(r)}}))}max(e,r){return new a(w(s({},this._def),{maxSize:{value:e,message:o.toString(r)}}))}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}};Qe.create=(a,e)=>new Qe(s({valueType:a,minSize:null,maxSize:null,typeName:k.ZodSet},D(e)));var na=class a extends v{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==K.function)return f(r,{code:T.invalid_type,expected:K.function,received:r.parsedType}),P;function u(b,h){return ge({data:b,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Le(),ye].filter(U=>!!U),issueData:{code:T.invalid_arguments,argumentsError:h}})}function n(b,h){return ge({data:b,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Le(),ye].filter(U=>!!U),issueData:{code:T.invalid_return_type,returnTypeError:h}})}let c={errorMap:r.common.contextualErrorMap},l=r.data;if(this._def.returns instanceof Re){let b=this;return W(async function(...h){let U=new J([]),R=await b._def.args.parseAsync(h,c).catch(C=>{throw U.addIssue(u(h,C)),U}),j=await Reflect.apply(l,this,R);return await b._def.returns._def.type.parseAsync(j,c).catch(C=>{throw U.addIssue(n(j,C)),U})})}else{let b=this;return W(function(...h){let U=b._def.args.safeParse(h,c);if(!U.success)throw new J([u(h,U.error)]);let R=Reflect.apply(l,this,U.data),j=b._def.returns.safeParse(R,c);if(!j.success)throw new J([n(R,j.error)]);return j.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new a(w(s({},this._def),{args:ie.create(e).rest(be.create())}))}returns(e){return new a(w(s({},this._def),{returns:e}))}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,r,u){return new a(s({args:e||ie.create([]).rest(be.create()),returns:r||be.create(),typeName:k.ZodFunction},D(u)))}},ve=class extends v{get schema(){return this._def.getter()}_parse(e){let{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}};ve.create=(a,e)=>new ve(s({getter:a,typeName:k.ZodLazy},D(e)));var Ve=class extends v{_parse(e){if(e.data!==this._def.value){let r=this._getOrReturnCtx(e);return f(r,{received:r.data,code:T.invalid_literal,expected:this._def.value}),P}return{status:"valid",value:e.data}}get value(){return this._def.value}};Ve.create=(a,e)=>new Ve(s({value:a,typeName:k.ZodLiteral},D(e)));function Sb(a,e){return new Ie(s({values:a,typeName:k.ZodEnum},D(e)))}var Ie=class a extends v{_parse(e){if(typeof e.data!="string"){let r=this._getOrReturnCtx(e),u=this._def.values;return f(r,{expected:I.joinValues(u),received:r.parsedType,code:T.invalid_type}),P}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let r=this._getOrReturnCtx(e),u=this._def.values;return f(r,{received:r.data,code:T.invalid_enum_value,options:u}),P}return W(e.data)}get options(){return this._def.values}get enum(){let e={};for(let r of this._def.values)e[r]=r;return e}get Values(){let e={};for(let r of this._def.values)e[r]=r;return e}get Enum(){let e={};for(let r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return a.create(e,s(s({},this._def),r))}exclude(e,r=this._def){return a.create(this.options.filter(u=>!e.includes(u)),s(s({},this._def),r))}};Ie.create=Sb;var Oe=class extends v{_parse(e){let r=I.getValidEnumValues(this._def.values),u=this._getOrReturnCtx(e);if(u.parsedType!==K.string&&u.parsedType!==K.number){let n=I.objectValues(r);return f(u,{expected:I.joinValues(n),received:u.parsedType,code:T.invalid_type}),P}if(this._cache||(this._cache=new Set(I.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let n=I.objectValues(r);return f(u,{received:u.data,code:T.invalid_enum_value,options:n}),P}return W(e.data)}get enum(){return this._def.values}};Oe.create=(a,e)=>new Oe(s({values:a,typeName:k.ZodNativeEnum},D(e)));var Re=class extends v{unwrap(){return this._def.type}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==K.promise&&r.common.async===!1)return f(r,{code:T.invalid_type,expected:K.promise,received:r.parsedType}),P;let u=r.parsedType===K.promise?r.data:Promise.resolve(r.data);return W(u.then(n=>this._def.type.parseAsync(n,{path:r.path,errorMap:r.common.contextualErrorMap})))}};Re.create=(a,e)=>new Re(s({type:a,typeName:k.ZodPromise},D(e)));var ae=class extends v{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===k.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:r,ctx:u}=this._processInputParams(e),n=this._def.effect||null,c={addIssue:l=>{f(u,l),l.fatal?r.abort():r.dirty()},get path(){return u.path}};if(c.addIssue=c.addIssue.bind(c),n.type==="preprocess"){let l=n.transform(u.data,c);if(u.common.async)return Promise.resolve(l).then(async b=>{if(r.value==="aborted")return P;let h=await this._def.schema._parseAsync({data:b,path:u.path,parent:u});return h.status==="aborted"?P:h.status==="dirty"?je(h.value):r.value==="dirty"?je(h.value):h});{if(r.value==="aborted")return P;let b=this._def.schema._parseSync({data:l,path:u.path,parent:u});return b.status==="aborted"?P:b.status==="dirty"?je(b.value):r.value==="dirty"?je(b.value):b}}if(n.type==="refinement"){let l=b=>{let h=n.refinement(b,c);if(u.common.async)return Promise.resolve(h);if(h instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return b};if(u.common.async===!1){let b=this._def.schema._parseSync({data:u.data,path:u.path,parent:u});return b.status==="aborted"?P:(b.status==="dirty"&&r.dirty(),l(b.value),{status:r.value,value:b.value})}else return this._def.schema._parseAsync({data:u.data,path:u.path,parent:u}).then(b=>b.status==="aborted"?P:(b.status==="dirty"&&r.dirty(),l(b.value).then(()=>({status:r.value,value:b.value}))))}if(n.type==="transform")if(u.common.async===!1){let l=this._def.schema._parseSync({data:u.data,path:u.path,parent:u});if(!we(l))return P;let b=n.transform(l.value,c);if(b instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:b}}else return this._def.schema._parseAsync({data:u.data,path:u.path,parent:u}).then(l=>we(l)?Promise.resolve(n.transform(l.value,c)).then(b=>({status:r.value,value:b})):P);I.assertNever(n)}};ae.create=(a,e,r)=>new ae(s({schema:a,typeName:k.ZodEffects,effect:e},D(r)));ae.createWithPreprocess=(a,e,r)=>new ae(s({schema:e,effect:{type:"preprocess",transform:a},typeName:k.ZodEffects},D(r)));var A=class extends v{_parse(e){return this._getType(e)===K.undefined?W(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};A.create=(a,e)=>new A(s({innerType:a,typeName:k.ZodOptional},D(e)));var ue=class extends v{_parse(e){return this._getType(e)===K.null?W(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};ue.create=(a,e)=>new ue(s({innerType:a,typeName:k.ZodNullable},D(e)));var Se=class extends v{_parse(e){let{ctx:r}=this._processInputParams(e),u=r.data;return r.parsedType===K.undefined&&(u=this._def.defaultValue()),this._def.innerType._parse({data:u,path:r.path,parent:r})}removeDefault(){return this._def.innerType}};Se.create=(a,e)=>new Se(s({innerType:a,typeName:k.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default},D(e)));var _e=class extends v{_parse(e){let{ctx:r}=this._processInputParams(e),u=w(s({},r),{common:w(s({},r.common),{issues:[]})}),n=this._def.innerType._parse({data:u.data,path:u.path,parent:s({},u)});return Ne(n)?n.then(c=>({status:"valid",value:c.status==="valid"?c.value:this._def.catchValue({get error(){return new J(u.common.issues)},input:u.data})})):{status:"valid",value:n.status==="valid"?n.value:this._def.catchValue({get error(){return new J(u.common.issues)},input:u.data})}}removeCatch(){return this._def.innerType}};_e.create=(a,e)=>new _e(s({innerType:a,typeName:k.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch},D(e)));var Ze=class extends v{_parse(e){if(this._getType(e)!==K.nan){let u=this._getOrReturnCtx(e);return f(u,{code:T.invalid_type,expected:K.nan,received:u.parsedType}),P}return{status:"valid",value:e.data}}};Ze.create=a=>new Ze(s({typeName:k.ZodNaN},D(a)));var Gh=Symbol("zod_brand"),de=class extends v{_parse(e){let{ctx:r}=this._processInputParams(e),u=r.data;return this._def.type._parse({data:u,path:r.path,parent:r})}unwrap(){return this._def.type}},me=class a extends v{_parse(e){let{status:r,ctx:u}=this._processInputParams(e);if(u.common.async)return(async()=>{let c=await this._def.in._parseAsync({data:u.data,path:u.path,parent:u});return c.status==="aborted"?P:c.status==="dirty"?(r.dirty(),je(c.value)):this._def.out._parseAsync({data:c.value,path:u.path,parent:u})})();{let n=this._def.in._parseSync({data:u.data,path:u.path,parent:u});return n.status==="aborted"?P:n.status==="dirty"?(r.dirty(),{status:"dirty",value:n.value}):this._def.out._parseSync({data:n.value,path:u.path,parent:u})}}static create(e,r){return new a({in:e,out:r,typeName:k.ZodPipeline})}},Me=class extends v{_parse(e){let r=this._def.innerType._parse(e),u=n=>(we(n)&&(n.value=Object.freeze(n.value)),n);return Ne(r)?r.then(n=>u(n)):u(r)}unwrap(){return this._def.innerType}};Me.create=(a,e)=>new Me(s({innerType:a,typeName:k.ZodReadonly},D(e)));function vb(a,e){let r=typeof a=="function"?a(e):typeof a=="string"?{message:a}:a;return typeof r=="string"?{message:r}:r}function _b(a,e={},r){return a?Te.create().superRefine((u,n)=>{var l,b;let c=a(u);if(c instanceof Promise)return c.then(h=>{var U,R;if(!h){let j=vb(e,u),E=(R=(U=j.fatal)!=null?U:r)!=null?R:!0;n.addIssue(w(s({code:"custom"},j),{fatal:E}))}});if(!c){let h=vb(e,u),U=(b=(l=h.fatal)!=null?l:r)!=null?b:!0;n.addIssue(w(s({code:"custom"},h),{fatal:U}))}}):Te.create()}var Hh={object:X.lazycreate},k;(function(a){a.ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly"})(k||(k={}));var Lh=(a,e={message:"Input not instance of ".concat(a.name)})=>_b(r=>r instanceof a,e),Mb=xe.create,Gb=fe.create,Nh=Ze.create,Fh=Ke.create,Hb=oe.create,$h=Pe.create,Bh=$e.create,zh=Ee.create,Qh=ke.create,Zh=Te.create,Wh=be.create,Yh=re.create,Jh=Be.create,Xh=qe.create,gh=X.create,dh=X.strictCreate,mh=De.create,Ah=ia.create,eU=Ce.create,aU=ie.create,sU=ua.create,rU=ze.create,tU=Qe.create,iU=na.create,uU=ve.create,nU=Ve.create,cU=Ie.create,pU=Oe.create,yU=Re.create,lU=ae.create,bU=A.create,qU=ue.create,hU=ae.createWithPreprocess,UU=me.create,wU=()=>Mb().optional(),xU=()=>Gb().optional(),TU=()=>Hb().optional(),RU={string:(a=>xe.create(w(s({},a),{coerce:!0}))),number:(a=>fe.create(w(s({},a),{coerce:!0}))),boolean:(a=>oe.create(w(s({},a),{coerce:!0}))),bigint:(a=>Ke.create(w(s({},a),{coerce:!0}))),date:(a=>Pe.create(w(s({},a),{coerce:!0})))};var jU=P;var Lb=q.object({id:q.string().optional().describe("Customer ID"),key:q.string().optional().describe("Customer key"),storeKey:q.string().optional().describe("Store key"),where:q.array(q.string()).optional().describe('Query predicates specified as strings. Example: ["email = \\"customer@example.com\\""]'),sort:q.array(q.string()).optional().describe('Sort criteria for the results. Example: ["firstName asc", "createdAt desc"]'),limit:q.number().int().min(1).max(500).optional().describe("A limit on the number of objects to be returned. Limit can range between 1 and 500, and the default is 10."),offset:q.number().int().min(0).optional().describe("The number of items to skip before starting to collect the result set."),expand:q.array(q.string()).optional().describe('Fields to expand. Example: ["customerGroup"]')}),Nb=q.object({email:q.string().email().describe("Customer email address"),storeKey:q.string().optional().describe("Store key"),password:q.string().describe("Customer password"),firstName:q.string().optional().describe("Customer first name"),lastName:q.string().optional().describe("Customer last name"),middleName:q.string().optional().describe("Customer middle name"),title:q.string().optional().describe("Customer title (e.g., Mr., Mrs., Dr.)"),dateOfBirth:q.string().optional().describe("Customer date of birth in ISO 8601 format (YYYY-MM-DD)"),companyName:q.string().optional().describe("Customer company name"),vatId:q.string().optional().describe("Customer VAT identification number"),addresses:q.array(q.object({streetName:q.string().describe("Street name"),streetNumber:q.string().optional().describe("Street number"),additionalStreetInfo:q.string().optional().describe("Additional street information"),postalCode:q.string().describe("Postal code"),city:q.string().describe("City"),region:q.string().optional().describe("Region"),state:q.string().optional().describe("State"),country:q.string().describe("Country code (ISO 3166-1 alpha-2)"),company:q.string().optional().describe("Company name"),department:q.string().optional().describe("Department"),building:q.string().optional().describe("Building"),apartment:q.string().optional().describe("Apartment"),pOBox:q.string().optional().describe("P.O. Box"),phone:q.string().optional().describe("Phone"),mobile:q.string().optional().describe("Mobile phone"),email:q.string().email().optional().describe("Email"),fax:q.string().optional().describe("Fax"),additionalAddressInfo:q.string().optional().describe("Additional address information")})).optional().describe("Customer addresses"),defaultShippingAddress:q.number().int().optional().describe("Index of default shipping address in the addresses array"),defaultBillingAddress:q.number().int().optional().describe("Index of default billing address in the addresses array"),shippingAddresses:q.array(q.number().int()).optional().describe("Indices of shipping addresses in the addresses array"),billingAddresses:q.array(q.number().int()).optional().describe("Indices of billing addresses in the addresses array"),isEmailVerified:q.boolean().optional().describe("Whether the customer email is verified"),externalId:q.string().optional().describe("Customer external ID"),customerGroup:q.object({id:q.string(),typeId:q.literal("customer-group")}).optional().describe("Customer group reference"),custom:q.object({type:q.object({id:q.string(),typeId:q.literal("type")}),fields:q.record(q.string(),q.any())}).optional().describe("Custom fields"),locale:q.string().optional().describe("Customer locale"),salutation:q.string().optional().describe("Customer salutation"),key:q.string().optional().describe("Customer key")}),Fb=q.object({id:q.string().describe("The ID of the customer to update"),version:q.number().int().describe("The current version of the customer"),actions:q.array(q.object({action:q.string().describe("The name of the update action to perform")}).and(q.record(q.string(),q.any()).optional()).describe('Array of update actions to perform on the customer. Each action should have an "action" field and other fields specific to that action type.')).describe("Update actions")}),$b=q.object({id:q.string().describe("Customer ID"),version:q.number().int().describe("Current version (for optimistic locking)"),dataErasure:q.boolean().optional().describe("Delete personal data")});var Bb='\nThis tool will fetch a Customer by ID (ID or key if provided) from commercetools or a specific store in commercetools or query all available customers in a commercetools project if no arquments or parameters are provided.\n\nIt takes these optional arguments:\n- id (string, optional): The ID of the customer to fetch.\n- storeKey (string, optional): The key of the store to fetch the customer from.\n- where (array of strings, optional): Query predicates specified as strings. Example: ["email = \\"customer@example.com\\""]\n- sort (array of strings, optional): Sort criteria for the results. Example: ["firstName asc", "createdAt desc"]\n- limit (integer, optional): A limit on the number of objects to be returned. Limit can range between 1 and 500, and the default is 10.\n- offset (integer, optional): The number of items to skip before starting to collect the result set.\n- expand (array of strings, optional): Fields to expand. Example: ["customerGroup"]\n',zb="\nThis tool will create a new Customer in commercetools or a specific store in commercetools.\n\nIt takes these required arguments:\n- email (string): Customer email address.\n- password (string): Customer password.\n\nIt takes these optional arguments:\n- storeKey (string, optional): The key of the store to create the customer in.\n- firstName (string, optional): Customer first name.\n- lastName (string, optional): Customer last name.\n- middleName (string, optional): Customer middle name.\n- title (string, optional): Customer title (e.g., Mr., Mrs., Dr.).\n- dateOfBirth (string, optional): Customer date of birth in ISO 8601 format (YYYY-MM-DD).\n- companyName (string, optional): Customer company name.\n- vatId (string, optional): Customer VAT identification number.\n- addresses (array, optional): An array of customer addresses.\n- defaultShippingAddress (integer, optional): Index of default shipping address in the addresses array.\n- defaultBillingAddress (integer, optional): Index of default billing address in the addresses array.\n- shippingAddresses (array of integers, optional): Indices of shipping addresses in the addresses array.\n- billingAddresses (array of integers, optional): Indices of billing addresses in the addresses array.\n- isEmailVerified (boolean, optional): Whether the customer email is verified.\n- externalId (string, optional): Customer external ID.\n- customerGroup (object, optional): Customer group reference.\n- custom (object, optional): Custom fields.\n- locale (string, optional): Customer locale.\n- salutation (string, optional): Customer salutation.\n- key (string, optional): Customer key.\n",Qb='\nThis tool will update a Customer in commercetools using update actions from the commercetools API.\n\nIt takes these required arguments:\n- id (string): The ID of the customer to update.\n- version (integer): The current version of the customer.\n- actions (array): An array of update actions to perform on the customer. Each action should have an "action" field indicating the action type.\n\nExample actions from commercetools API include:\n- addAddress\n- addBillingAddressId\n- addShippingAddressId\n- changeAddress\n- changeEmail\n- removeAddress\n- removeBillingAddressId\n- removeShippingAddressId\n- setCompanyName\n- setCustomField\n- setCustomType\n- setDateOfBirth\n- setDefaultBillingAddress\n- setDefaultShippingAddress\n- setFirstName\n- setLastName\n- setLocale\n- setMiddleName\n- setSalutation\n- setTitle\n- setVatId\n\nEach action type requires specific fields according to the commercetools API.\n',Zb="\nThis tool will delete a Customer from commercetools.\n\nIt takes these required arguments:\n- id (string): The ID of the customer to delete.\n- version (integer): The current version of the customer (for optimistic locking).\n\nIt takes these optional arguments:\n- dataErasure (boolean, optional): Delete personal data.\n";var g=class a extends Error{constructor(r,u,n){super(r);F(this,"toolName");F(this,"operation");F(this,"projectKey");F(this,"sessionId");F(this,"parameters");F(this,"originalError");F(this,"timestamp");this.name="ToolExecutionError",this.toolName=u.toolName,this.operation=this.extractOperation(u.toolName),this.projectKey=u.configuration.projectKey,this.sessionId=u.sessionId,this.parameters=u.parameters,this.originalError=n,this.timestamp=new Date,Error.captureStackTrace&&Error.captureStackTrace(this,a)}extractOperation(r){let u=r.match(/^mcp_commercetools_(read|create|update|delete)_(.+)$/);return u&&u[1]?u[1]:"unknown"}toJSON(){return{name:this.name,message:this.message,toolName:this.toolName,operation:this.operation,projectKey:this.projectKey,sessionId:this.sessionId,parameters:this.parameters,timestamp:this.timestamp.toISOString(),originalError:this.originalError instanceof Error?{name:this.originalError.name,message:this.originalError.message,stack:this.originalError.stack}:this.originalError,stack:this.stack}}};var mq=ob(Bq(),1),Aq=ob(dq(),1);var We=class{constructor(e,r){F(this,"client");F(this,"apiRoot");F(this,"configuration");F(this,"authToken");if(this.configuration=e,this.authToken=r,this.client=this.createClient(),!this.client)throw new Error("Failed to create commercetools client");this.apiRoot=(0,Aq.createApiBuilderFromCtpClient)(this.client)}getApiRoot(e,r){return e&&typeof e=="function"?e(this.client,r):this.apiRoot}getClient(){return this.client}contructApiRoot(e,r,u){return r(e,u)}createClient(){var n;let r={host:((n=this.configuration.metadata)==null?void 0:n.apiUrl)||"https://api.europe-west1.gcp.commercetools.com"},u=new mq.ClientBuilder().withHttpMiddleware(r).withConcurrentModificationMiddleware().withCorrelationIdMiddleware().withUserAgentMiddleware({libraryName:"multitenant-mcp-service",libraryVersion:"1.0.0"});if(!this.authToken)throw new Error("Authentication token is required");return u.withExistingTokenFlow("Bearer ".concat(this.authToken),{force:!0}).build()}};var aa=class{createApiClient(e,r){return new We(e,r).getApiRoot()}getApiRoot(e,r){return new We(e,r)}};var Ye=class extends He{constructor(r){super();F(this,"apiClientFactory");this.apiClientFactory=r||new aa}getApiRoot(r){return this.apiClientFactory.createApiClient(r.configuration,r.authToken)}};var dl=class extends Ye{constructor(r){super(r);F(this,"metadata",{namespace:"customer",description:"Manage customers in commercetools",toolNamePrefix:"mcp_commercetools_",schemas:{read:Lb,create:Nb,update:Fb,delete:$b}})}getToolDefinition(r){let u={read:Bb,create:zb,update:Qb,delete:Zb};return{name:this.getToolName(r),description:u[r],inputSchema:this.metadata.schemas[r]}}getCustomersApi(r,u){return u?r.inStoreKeyWithStoreKeyValue({storeKey:u}).customers():r.customers()}async read(r){let u=this.getApiRoot(r).withProjectKey({projectKey:r.configuration.projectKey}),n=r.parameters;try{return n!=null&&n.id?(await this.getCustomersApi(u,n.storeKey).withId({ID:n.id}).get({queryArgs:s({},n.expand&&{expand:n.expand})}).execute()).body:n!=null&&n.key?(await this.getCustomersApi(u,n.storeKey).withKey({key:n.key}).get().execute()).body:(await this.getCustomersApi(u,n.storeKey).get({queryArgs:s(s(s(s({limit:n.limit||10},n.offset&&{offset:n.offset}),n.sort&&{sort:n.sort}),n.where&&{where:n.where}),n.expand&&{expand:n.expand})}).execute()).body}catch(c){throw new g("Failed to read customer",r,c)}}async create(r){let u=this.getApiRoot(r).withProjectKey({projectKey:r.configuration.projectKey}),n=r.parameters;try{return(await this.getCustomersApi(u,n.storeKey).post({body:n}).execute()).body}catch(c){throw new g("Failed to create customer",r,c)}}async update(r){let u=this.getApiRoot(r).withProjectKey({projectKey:r.configuration.projectKey}),n=r.parameters;try{let l=(await u.customers().withId({ID:n.id}).get().execute()).body.version;return(await u.customers().withId({ID:n.id}).post({body:{version:l,actions:n.actions}}).execute()).body}catch(c){throw new g("Failed to update customer",r,c)}}async delete(r){throw new g("Delete operation not implemented",r)}};var eh=q.object({projectKey:q.string().optional().describe("The key of the project to read. If not provided, the current project will be used.")}),af=q.object({enabled:q.boolean().describe("When true, the Messages Query feature is active."),deleteDaysAfterCreation:q.number().min(1).max(90).optional().describe("Specifies the number of days each Message should be available via the Messages Query API.")}),sf=q.object({deleteDaysAfterLastModification:q.number().min(1).optional().describe("Default value for the deleteDaysAfterLastModification parameter of CartDraft and MyCartDraft."),countryTaxRateFallbackEnabled:q.boolean().optional().describe("Indicates if country - no state Tax Rate fallback should be used.")}),rf=q.object({deleteDaysAfterLastModification:q.number().min(1).optional().describe("Default value for the deleteDaysAfterLastModification parameter of ShoppingListDraft.")}),tf=q.object({key:q.string().describe("The key of the enum value."),label:q.record(q.string(),q.string()).describe("The localized labels for the enum value.")}),uf=q.discriminatedUnion("type",[q.object({type:q.literal("CartValue")}),q.object({type:q.literal("CartClassification"),values:q.array(tf).describe("The classification items for ShippingRatePriceTier.")}),q.object({type:q.literal("CartScore"),score:q.number().describe("The score mapping for available shipping rate tiers.")})]),nf=q.object({url:q.string().url().describe("The URL of the token introspection endpoint."),authorizationHeader:q.string().describe("The authorization header to authenticate against the introspection endpoint.")}),cf=q.enum(["Activated","Deactivated"]),pf=q.enum(["Activated","Deactivated"]),yf=q.enum(["Activated","Deactivated"]),lf=q.enum(["ProductProjectionsSearch","ProductsSearch"]),bf=q.enum(["Active","Inactive","Verification"]),qf=q.object({typeId:q.literal("associate-role"),id:q.string().optional().describe("The ID of the associate role."),key:q.string().optional().describe("The key of the associate role.")}),hf=q.object({action:q.literal("changeName"),name:q.string().describe("New value to set.")}),Uf=q.object({action:q.literal("changeCountries"),countries:q.array(q.string()).describe("New value to set. Must not be empty.")}),wf=q.object({action:q.literal("changeCurrencies"),currencies:q.array(q.string()).describe("New value to set. Must not be empty.")}),xf=q.object({action:q.literal("changeLanguages"),languages:q.array(q.string()).describe("New value to set. Must not be empty.")}),Tf=q.object({action:q.literal("changeMessagesConfiguration"),messagesConfiguration:af.describe("Configuration for the Messages Query feature.")}),Rf=q.object({action:q.literal("changeCartsConfiguration"),cartsConfiguration:sf.describe("Configuration for the Carts feature.")}),jf=q.object({action:q.literal("changeCountryTaxRateFallbackEnabled"),countryTaxRateFallbackEnabled:q.boolean().describe("When true, country - no state Tax Rate is used as fallback.")}),ff=q.object({action:q.literal("changeShoppingListsConfiguration"),shoppingListsConfiguration:rf.describe("Configuration for the Shopping Lists feature.")}),Kf=q.object({action:q.literal("changeMyBusinessUnitStatusOnCreation"),status:bf.describe("Status for Business Units created using the My Business Unit endpoint.")}),of=q.object({action:q.literal("setMyBusinessUnitAssociateRoleOnCreation"),associateRole:qf.describe("Default Associate Role assigned to the Associate creating a Business Unit.")}),Pf=q.object({action:q.literal("setShippingRateInputType"),shippingRateInputType:uf.optional().describe("Value to set. If empty, any existing value will be removed.")}),Ef=q.object({action:q.literal("setExternalOAuth"),externalOAuth:nf.optional().describe("Value to set. If empty, any existing value will be removed.")}),kf=q.object({action:q.literal("changeProductSearchIndexingEnabled"),enabled:q.boolean().describe("If false, the indexing of Product information will stop."),mode:lf.optional().describe("Controls whether the action should apply to Product Projection Search or to Product Search.")}),Df=q.object({action:q.literal("changeOrderSearchStatus"),status:yf.describe("Activates or deactivates the Order Search feature.")}),Cf=q.object({action:q.literal("changeCustomerSearchStatus"),status:cf.describe("Activates or deactivates the Customer Search feature.")}),vf=q.object({action:q.literal("changeBusinessUnitSearchStatus"),status:pf.describe("Activates or deactivates the Search Business Units feature.")}),Vf=q.discriminatedUnion("action",[hf,Uf,wf,xf,Tf,Rf,jf,ff,Kf,of,Pf,Ef,kf,Df,Cf,vf]),ah=q.object({version:q.number().describe("The current version of the project. If not provided, the current version will be fetched automatically."),actions:q.array(Vf).describe("The list of update actions to apply to the project."),projectKey:q.string().optional().describe("The key of the project to update. If not provided, the current project will be used.")});var sh="\nThis tool will fetch information about a commercetools project.\n\nIt takes these optional arguments:\n- projectKey (string, optional): The key of the project to read. If not provided, the current projectKey from the configuration will be used.\n\nThe response will contain detailed information about the project including countries, currencies, languages, and more.\n",rh="\nThis tool will update settings for a commercetools project. This is an admin-only operation.\n\nIt takes these arguments:\n- version (number, optional): The current version of the project. If not provided, the current version will be fetched automatically.\n- actions (array, required): The list of update actions to apply to the project.\n- projectKey (string, optional): The key of the project to update. If not provided, the current project will be used.\n\nAvailable update actions include:\n- changeName: Update the project name\n- changeCountries: Update the list of countries\n- changeCurrencies: Update the list of currencies\n- changeLanguages: Update the list of languages\n- changeMessagesConfiguration: Update the Messages Query feature configuration\n- changeCartsConfiguration: Update the Carts feature configuration\n- changeCountryTaxRateFallbackEnabled: Change the country tax rate fallback setting\n- changeShoppingListsConfiguration: Update the Shopping Lists feature configuration\n- setShippingRateInputType: Set the shipping rate input type\n- setExternalOAuth: Configure an external OAuth provider\n- changeProductSearchIndexingEnabled: Enable/disable product search indexing\n- changeOrderSearchStatus: Change the Order Search status\n- changeCustomerSearchStatus: Change the Customer Search status\n- changeBusinessUnitSearchStatus: Change the Business Unit Search status\n- and more\n\nThe response will contain the updated project information.\n";var ml=class extends Ye{constructor(r){super(r);F(this,"metadata",{namespace:"project",description:"Manage project in commercetools",schemas:{read:eh,update:ah,create:{},delete:{}}})}getToolDefinition(r){let u={read:sh,update:rh};return{name:this.getToolName(r),description:u[r],inputSchema:this.metadata.schemas[r]}}async read(r){let u=this.getApiRoot(r).withProjectKey({projectKey:r.configuration.projectKey});try{return(await u.get().execute()).body}catch(n){throw new g("Failed to read project",r,n)}}async update(r){let u=this.getApiRoot(r).withProjectKey({projectKey:r.configuration.projectKey}),n=r.parameters;try{return(await u.post({body:{version:n.version,actions:n.actions}}).execute()).body}catch(c){throw new g("Failed to update project",r,c)}}async create(r){throw new g("Create operation not implemented",r)}async delete(r){throw new g("Delete operation not implemented",r)}};0&&(module.exports={ApiClientFactory,BaseResourceHandler,CommercetoolsAPIClient,CustomerHandler,ProjectHandler,ToolExecutionError,ToolHandler,getDecoratorRegisteredHandlers});