UNPKG

liferay-headless-rest-client

Version:
2 lines (1 loc) 47.6 kB
var j=async(F,Z)=>{let V=typeof Z=="function"?await Z(F):Z;if(V)return F.scheme==="bearer"?`Bearer ${V}`:F.scheme==="basic"?`Basic ${btoa(V)}`:V},O=(F,Z,V)=>{typeof V=="string"||V instanceof Blob?F.append(Z,V):F.append(Z,JSON.stringify(V))};var C={bodySerializer:(F)=>{let Z=new FormData;return Object.entries(F).forEach(([V,E])=>{E!=null&&(Array.isArray(E)?E.forEach((B)=>O(Z,V,B)):O(Z,V,E))}),Z}},m={bodySerializer:(F)=>JSON.stringify(F,(Z,V)=>typeof V=="bigint"?V.toString():V)};var w=(F)=>{switch(F){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},b=(F)=>{switch(F){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},g=(F)=>{switch(F){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},x=({allowReserved:F,explode:Z,name:V,style:E,value:B})=>{if(!Z){let X=(F?B:B.map((J)=>encodeURIComponent(J))).join(b(E));switch(E){case"label":return`.${X}`;case"matrix":return`;${V}=${X}`;case"simple":return X;default:return`${V}=${X}`}}let H=w(E),k=B.map((X)=>E==="label"||E==="simple"?F?X:encodeURIComponent(X):D({allowReserved:F,name:V,value:X})).join(H);return E==="label"||E==="matrix"?H+k:k},D=({allowReserved:F,name:Z,value:V})=>{if(V==null)return"";if(typeof V=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${Z}=${F?V:encodeURIComponent(V)}`},R=({allowReserved:F,explode:Z,name:V,style:E,value:B})=>{if(B instanceof Date)return`${V}=${B.toISOString()}`;if(E!=="deepObject"&&!Z){let X=[];Object.entries(B).forEach(([P,M])=>{X=[...X,P,F?M:encodeURIComponent(M)]});let J=X.join(",");switch(E){case"form":return`${V}=${J}`;case"label":return`.${J}`;case"matrix":return`;${V}=${J}`;default:return J}}let H=g(E),k=Object.entries(B).map(([X,J])=>D({allowReserved:F,name:E==="deepObject"?`${V}[${X}]`:X,value:J})).join(H);return E==="label"||E==="matrix"?H+k:k},d=/\{[^{}]+\}/g,f=({path:F,url:Z})=>{let V=Z,E=Z.match(d);if(E)for(let B of E){let H=!1,k=B.substring(1,B.length-1),X="simple";k.endsWith("*")&&(H=!0,k=k.substring(0,k.length-1)),k.startsWith(".")?(k=k.substring(1),X="label"):k.startsWith(";")&&(k=k.substring(1),X="matrix");let J=F[k];if(J==null)continue;if(Array.isArray(J)){V=V.replace(B,x({explode:H,name:k,style:X,value:J}));continue}if(typeof J=="object"){V=V.replace(B,R({explode:H,name:k,style:X,value:J}));continue}if(X==="matrix"){V=V.replace(B,`;${D({name:k,value:J})}`);continue}let P=encodeURIComponent(X==="label"?`.${J}`:J);V=V.replace(B,P)}return V},S=({allowReserved:F,array:Z,object:V}={})=>(E)=>{let B=[];if(E&&typeof E=="object")for(let H in E){let k=E[H];if(k!=null)if(Array.isArray(k)){let X=x({allowReserved:F,explode:!0,name:H,style:"form",value:k,...Z});X&&B.push(X)}else if(typeof k=="object"){let X=R({allowReserved:F,explode:!0,name:H,style:"deepObject",value:k,...V});X&&B.push(X)}else{let X=D({allowReserved:F,name:H,value:k});X&&B.push(X)}}return B.join("&")},u=(F)=>{if(!F)return"stream";let Z=F.split(";")[0]?.trim();if(Z){if(Z.startsWith("application/json")||Z.endsWith("+json"))return"json";if(Z==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((V)=>Z.startsWith(V)))return"blob";if(Z.startsWith("text/"))return"text"}},c=async({security:F,...Z})=>{for(let V of F){let E=await j(V,Z.auth);if(!E)continue;let B=V.name??"Authorization";switch(V.in){case"query":Z.query||(Z.query={}),Z.query[B]=E;break;case"cookie":Z.headers.append("Cookie",`${B}=${E}`);break;case"header":default:Z.headers.set(B,E);break}return}},U=(F)=>a({baseUrl:F.baseUrl,path:F.path,query:F.query,querySerializer:typeof F.querySerializer=="function"?F.querySerializer:S(F.querySerializer),url:F.url}),a=({baseUrl:F,path:Z,query:V,querySerializer:E,url:B})=>{let H=B.startsWith("/")?B:`/${B}`,k=(F??"")+H;Z&&(k=f({path:Z,url:k}));let X=V?E(V):"";return X.startsWith("?")&&(X=X.substring(1)),X&&(k+=`?${X}`),k},Y=(F,Z)=>{let V={...F,...Z};return V.baseUrl?.endsWith("/")&&(V.baseUrl=V.baseUrl.substring(0,V.baseUrl.length-1)),V.headers=T(F.headers,Z.headers),V},T=(...F)=>{let Z=new Headers;for(let V of F){if(!V||typeof V!="object")continue;let E=V instanceof Headers?V.entries():Object.entries(V);for(let[B,H]of E)if(H===null)Z.delete(B);else if(Array.isArray(H))for(let k of H)Z.append(B,k);else H!==void 0&&Z.set(B,typeof H=="object"?JSON.stringify(H):H)}return Z},I=class{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}getInterceptorIndex(F){return typeof F=="number"?this._fns[F]?F:-1:this._fns.indexOf(F)}exists(F){let Z=this.getInterceptorIndex(F);return!!this._fns[Z]}eject(F){let Z=this.getInterceptorIndex(F);this._fns[Z]&&(this._fns[Z]=null)}update(F,Z){let V=this.getInterceptorIndex(F);return this._fns[V]?(this._fns[V]=Z,F):!1}use(F){return this._fns=[...this._fns,F],this._fns.length-1}},r=()=>({error:new I,request:new I,response:new I}),_=S({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),A={"Content-Type":"application/json"},N=(F={})=>({...m,headers:A,parseAs:"auto",querySerializer:_,...F}),v=(F={})=>{let Z=Y(N(),F),V=()=>({...Z}),E=(k)=>(Z=Y(Z,k),V()),B=r(),H=async(k)=>{let X={...Z,...k,fetch:k.fetch??Z.fetch??globalThis.fetch,headers:T(Z.headers,k.headers)};X.security&&await c({...X,security:X.security}),X.body&&X.bodySerializer&&(X.body=X.bodySerializer(X.body)),(X.body===void 0||X.body==="")&&X.headers.delete("Content-Type");let J=U(X),P={redirect:"follow",...X},M=new Request(J,P);for(let L of B.request._fns)L&&(M=await L(M,X));let z=X.fetch,K=await z(M);for(let L of B.response._fns)L&&(K=await L(K,M,X));let $={request:M,response:K};if(K.ok){if(K.status===204||K.headers.get("Content-Length")==="0")return X.responseStyle==="data"?{}:{data:{},...$};let L=(X.parseAs==="auto"?u(K.headers.get("Content-Type")):X.parseAs)??"json";if(L==="stream")return X.responseStyle==="data"?K.body:{data:K.body,...$};let W=await K[L]();return L==="json"&&(X.responseValidator&&await X.responseValidator(W),X.responseTransformer&&(W=await X.responseTransformer(W))),X.responseStyle==="data"?W:{data:W,...$}}let q=await K.text();try{q=JSON.parse(q)}catch{}let Q=q;for(let L of B.error._fns)L&&(Q=await L(q,K,M,X));if(Q=Q||{},X.throwOnError)throw Q;return X.responseStyle==="data"?void 0:{error:Q,...$}};return{buildUrl:U,connect:(k)=>H({...k,method:"CONNECT"}),delete:(k)=>H({...k,method:"DELETE"}),get:(k)=>H({...k,method:"GET"}),getConfig:V,head:(k)=>H({...k,method:"HEAD"}),interceptors:B,options:(k)=>H({...k,method:"OPTIONS"}),patch:(k)=>H({...k,method:"PATCH"}),post:(k)=>H({...k,method:"POST"}),put:(k)=>H({...k,method:"PUT"}),request:H,setConfig:E,trace:(k)=>H({...k,method:"TRACE"})}};var G=v(N({baseUrl:"http://localhost:8080"}));var p=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-accounts/{discountAccountId}/account",...F})},n=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-accounts/{priceListAccountId}/account",...F})},t=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-categories/{discountCategoryId}/category",...F})},i=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-categories/{priceModifierCategoryId}/category",...F})},o=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-channels/{discountChannelId}/channel",...F})},FF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-channels/{priceListChannelId}/channel",...F})},GF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-account-groups/{discountAccountGroupId}",...F})},VF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-account-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},XF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-account-groups",...F})},ZF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-account-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},kF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-account-groups",...F})},BF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-account-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},EF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-account-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},HF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-accounts/{discountAccountId}",...F})},JF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-accounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},KF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-accounts",...F})},LF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-accounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},MF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-accounts",...F})},PF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-accounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},QF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-accounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},WF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-categories/{discountCategoryId}",...F})},$F=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-categories/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},qF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-categories",...F})},DF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-categories",...F,headers:{"Content-Type":"application/json",...F.headers}})},IF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-categories",...F})},NF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-categories",...F,headers:{"Content-Type":"application/json",...F.headers}})},OF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-categories/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},UF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-channels/{discountChannelId}",...F})},YF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-channels/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},xF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-channels",...F})},RF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-channels",...F,headers:{"Content-Type":"application/json",...F.headers}})},SF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-channels",...F})},TF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-channels",...F,headers:{"Content-Type":"application/json",...F.headers}})},vF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-channels/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},zF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-order-types/{discountOrderTypeId}",...F})},jF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-order-types/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},mF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-order-types",...F})},wF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-order-types",...F,headers:{"Content-Type":"application/json",...F.headers}})},bF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-order-types",...F})},gF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-order-types",...F,headers:{"Content-Type":"application/json",...F.headers}})},dF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-order-types/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},fF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-product-groups/{discountProductGroupId}",...F})},uF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-product-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},cF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-product-groups",...F})},aF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-product-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},rF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-product-groups",...F})},_F=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-product-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},AF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-product-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},CF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-products/{discountProductId}",...F})},yF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-products/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},hF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-products",...F})},lF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-products",...F,headers:{"Content-Type":"application/json",...F.headers}})},eF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-products",...F})},sF=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-products",...F,headers:{"Content-Type":"application/json",...F.headers}})},pF=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-products/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},nF=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}",...F})},tF=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}",...F})},iF=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}",...F,headers:{"Content-Type":"application/json",...F.headers}})},oF=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},FG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},GG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}",...F})},VG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}",...F})},XG=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},ZG=(F)=>{return(F.client??G).put({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},kG=(F)=>{return(F?.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts",...F})},BG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts",...F,headers:{"Content-Type":"application/json",...F?.headers}})},EG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/export-batch",...F})},HG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-rules/{id}",...F})},JG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-rules/{id}",...F})},KG=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/discount-rules/{id}",...F,headers:{"Content-Type":"application/json",...F.headers}})},LG=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-rules/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},MG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-rules",...F})},PG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-rules",...F,headers:{"Content-Type":"application/json",...F.headers}})},QG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-rules",...F})},WG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-rules",...F,headers:{"Content-Type":"application/json",...F.headers}})},$G=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-rules/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},qG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-skus/{discountSkuId}",...F})},DG=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/discount-skus/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},IG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-skus",...F})},NG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discount-skus",...F,headers:{"Content-Type":"application/json",...F.headers}})},OG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-skus",...F})},UG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/{id}/discount-skus",...F,headers:{"Content-Type":"application/json",...F.headers}})},YG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/discounts/discount-skus/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},xG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/openapi.{type}",...F})},RG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-order-types/{discountOrderTypeId}/order-type",...F})},SG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-order-types/{priceListOrderTypeId}/order-type",...F})},TG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}",...F})},vG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}",...F})},zG=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}",...F,headers:{"Content-Type":"application/json",...F.headers}})},jG=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},mG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/by-externalReferenceCode/{externalReferenceCode}",...F})},wG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/by-externalReferenceCode/{externalReferenceCode}",...F})},bG=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},gG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-entries",...F})},dG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-entries",...F,headers:{"Content-Type":"application/json",...F.headers}})},fG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-entries",...F})},uG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-entries",...F,headers:{"Content-Type":"application/json",...F.headers}})},cG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-entries/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},aG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-account-groups/{priceListAccountGroupId}",...F})},rG=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-account-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},_G=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-account-groups",...F})},AG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-account-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},CG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-account-groups",...F})},yG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-account-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},hG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-list-account-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},lG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-accounts/{priceListAccountId}",...F})},eG=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-accounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},sG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-accounts",...F})},pG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-accounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},nG=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-accounts",...F})},tG=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-accounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},iG=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-list-accounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},oG=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-channels/{priceListChannelId}",...F})},FV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-channels/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},GV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-channels",...F})},VV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-channels",...F,headers:{"Content-Type":"application/json",...F.headers}})},XV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-channels",...F})},ZV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-channels",...F,headers:{"Content-Type":"application/json",...F.headers}})},kV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-list-channels/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},BV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-discounts/{priceListDiscountId}",...F})},EV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-discounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},HV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-discounts",...F})},JV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-discounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},KV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-discounts",...F})},LV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-discounts",...F,headers:{"Content-Type":"application/json",...F.headers}})},MV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-list-discounts/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},PV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-order-types/{priceListOrderTypeId}",...F})},QV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-order-types/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},WV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-order-types",...F})},$V=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-list-order-types",...F,headers:{"Content-Type":"application/json",...F.headers}})},qV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-order-types",...F})},DV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-list-order-types",...F,headers:{"Content-Type":"application/json",...F.headers}})},IV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-list-order-types/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},NV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}",...F})},OV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}",...F})},UV=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}",...F,headers:{"Content-Type":"application/json",...F.headers}})},YV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},xV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},RV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}",...F})},SV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}",...F})},TV=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},vV=(F)=>{return(F.client??G).put({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},zV=(F)=>{return(F?.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists",...F})},jV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists",...F,headers:{"Content-Type":"application/json",...F?.headers}})},mV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/export-batch",...F})},wV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-categories/{priceModifierCategoryId}",...F})},bV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-categories/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},gV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-categories",...F})},dV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-categories",...F,headers:{"Content-Type":"application/json",...F.headers}})},fV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-categories",...F})},uV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-categories",...F,headers:{"Content-Type":"application/json",...F.headers}})},cV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/price-modifier-categories/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},aV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-product-groups/{priceModifierProductGroupId}",...F})},rV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-product-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},_V=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-product-groups",...F})},AV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-product-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},CV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-product-groups",...F})},yV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-product-groups",...F,headers:{"Content-Type":"application/json",...F.headers}})},hV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/price-modifier-product-groups/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},lV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-products/{priceModifierProductId}",...F})},eV=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-products/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},sV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-products",...F})},pV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}/price-modifier-products",...F,headers:{"Content-Type":"application/json",...F.headers}})},nV=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-products",...F})},tV=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}/price-modifier-products",...F,headers:{"Content-Type":"application/json",...F.headers}})},iV=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/price-modifier-products/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},oV=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}",...F})},FX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}",...F})},GX=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/{id}",...F,headers:{"Content-Type":"application/json",...F.headers}})},VX=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},XX=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}",...F})},ZX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}",...F})},kX=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifiers/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},BX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-modifiers",...F})},EX=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/by-externalReferenceCode/{externalReferenceCode}/price-modifiers",...F,headers:{"Content-Type":"application/json",...F.headers}})},HX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-modifiers",...F})},JX=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/{id}/price-modifiers",...F,headers:{"Content-Type":"application/json",...F.headers}})},KX=(F)=>{return(F?.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-lists/price-modifiers/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},LX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-account-groups/{discountAccountGroupId}/account-group",...F})},MX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-list-account-groups/{priceListAccountGroupId}/account-group",...F})},PX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-product-groups/{discountProductGroupId}/product-group",...F})},QX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-product-groups/{priceModifierProductGroupId}/product-group",...F})},WX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-products/{discountProductId}/product",...F})},$X=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}/product",...F})},qX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-modifier-products/{priceModifierProductId}/product",...F})},DX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/discount-skus/{discountSkuId}/sku",...F})},IX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}/sku",...F})},NX=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/{id}",...F})},OX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/{id}",...F})},UX=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/{id}",...F,headers:{"Content-Type":"application/json",...F.headers}})},YX=(F)=>{return(F?.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/batch",...F,headers:{"Content-Type":"application/json",...F?.headers}})},xX=(F)=>{return(F.client??G).delete({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/by-externalReferenceCode/{externalReferenceCode}",...F})},RX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/by-externalReferenceCode/{externalReferenceCode}",...F})},SX=(F)=>{return(F.client??G).patch({url:"/o/headless-commerce-admin-pricing/v2.0/tier-prices/by-externalReferenceCode/{externalReferenceCode}",...F,headers:{"Content-Type":"application/json",...F.headers}})},TX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/by-externalReferenceCode/{externalReferenceCode}/tier-prices",...F})},vX=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/by-externalReferenceCode/{externalReferenceCode}/tier-prices",...F,headers:{"Content-Type":"application/json",...F.headers}})},zX=(F)=>{return(F.client??G).get({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}/tier-prices",...F})},jX=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}/tier-prices",...F,headers:{"Content-Type":"application/json",...F.headers}})},mX=(F)=>{return(F.client??G).post({url:"/o/headless-commerce-admin-pricing/v2.0/price-entries/{priceEntryId}/tier-prices/batch",...F,headers:{"Content-Type":"application/json",...F.headers}})};export{vV as putPriceListByExternalReferenceCode,ZG as putDiscountByExternalReferenceCode,hV as postPriceModifierIdPriceModifierProductGroupBatch,yV as postPriceModifierIdPriceModifierProductGroup,iV as postPriceModifierIdPriceModifierProductBatch,tV as postPriceModifierIdPriceModifierProduct,cV as postPriceModifierIdPriceModifierCategoryBatch,uV as postPriceModifierIdPriceModifierCategory,AV as postPriceModifierByExternalReferenceCodePriceModifierProductGroup,pV as postPriceModifierByExternalReferenceCodePriceModifierProduct,dV as postPriceModifierByExternalReferenceCodePriceModifierCategory,mV as postPriceListsPageExportBatch,KX as postPriceListIdPriceModifierBatch,JX as postPriceListIdPriceModifier,IV as postPriceListIdPriceListOrderTypeBatch,DV as postPriceListIdPriceListOrderType,MV as postPriceListIdPriceListDiscountBatch,LV as postPriceListIdPriceListDiscount,kV as postPriceListIdPriceListChannelBatch,ZV as postPriceListIdPriceListChannel,hG as postPriceListIdPriceListAccountGroupBatch,yG as postPriceListIdPriceListAccountGroup,iG as postPriceListIdPriceListAccountBatch,tG as postPriceListIdPriceListAccount,cG as postPriceListIdPriceEntryBatch,uG as postPriceListIdPriceEntry,EX as postPriceListByExternalReferenceCodePriceModifier,$V as postPriceListByExternalReferenceCodePriceListOrderType,JV as postPriceListByExternalReferenceCodePriceListDiscount,VV as postPriceListByExternalReferenceCodePriceListChannel,AG as postPriceListByExternalReferenceCodePriceListAccountGroup,pG as postPriceListByExternalReferenceCodePriceListAccount,dG as postPriceListByExternalReferenceCodePriceEntry,xV as postPriceListBatch,jV as postPriceList,mX as postPriceEntryIdTierPriceBatch,jX as postPriceEntryIdTierPrice,vX as postPriceEntryByExternalReferenceCodeTierPrice,EG as postDiscountsPageExportBatch,YG as postDiscountIdDiscountSkuBatch,UG as postDiscountIdDiscountSku,$G as postDiscountIdDiscountRuleBatch,WG as postDiscountIdDiscountRule,AF as postDiscountIdDiscountProductGroupBatch,_F as postDiscountIdDiscountProductGroup,pF as postDiscountIdDiscountProductBatch,sF as postDiscountIdDiscountProduct,dF as postDiscountIdDiscountOrderTypeBatch,gF as postDiscountIdDiscountOrderType,vF as postDiscountIdDiscountChannelBatch,TF as postDiscountIdDiscountChannel,OF as postDiscountIdDiscountCategoryBatch,NF as postDiscountIdDiscountCategory,EF as postDiscountIdDiscountAccountGroupBatch,BF as postDiscountIdDiscountAccountGroup,QF as postDiscountIdDiscountAccountBatch,PF as postDiscountIdDiscountAccount,NG as postDiscountByExternalReferenceCodeDiscountSku,PG as postDiscountByExternalReferenceCodeDiscountRule,aF as postDiscountByExternalReferenceCodeDiscountProductGroup,lF as postDiscountByExternalReferenceCodeDiscountProduct,wF as postDiscountByExternalReferenceCodeDiscountOrderType,RF as postDiscountByExternalReferenceCodeDiscountChannel,DF as postDiscountByExternalReferenceCodeDiscountCategory,ZF as postDiscountByExternalReferenceCodeDiscountAccountGroup,LF as postDiscountByExternalReferenceCodeDiscountAccount,FG as postDiscountBatch,BG as postDiscount,SX as patchTierPriceByExternalReferenceCode,UX as patchTierPrice,kX as patchPriceModifierByExternalReferenceCode,GX as patchPriceModifier,TV as patchPriceListByExternalReferenceCode,UV as patchPriceList,bG as patchPriceEntryByExternalReferenceCode,zG as patchPriceEntry,KG as patchDiscountRule,XG as patchDiscountByExternalReferenceCode,iF as patchDiscount,RX as getTierPriceByExternalReferenceCode,OX as getTierPrice,qX as getPriceModifierProductProduct,QX as getPriceModifierProductGroupProductGroup,nV as getPriceModifierIdPriceModifierProductsPage,CV as getPriceModifierIdPriceModifierProductGroupsPage,fV as getPriceModifierIdPriceModifierCategoriesPage,i as getPriceModifierCategoryCategory,sV as getPriceModifierByExternalReferenceCodePriceModifierProductsPage,_V as getPriceModifierByExternalReferenceCodePriceModifierProductGroupsPage,gV as getPriceModifierByExternalReferenceCodePriceModifierCategoriesPage,ZX as getPriceModifierByExternalReferenceCode,FX as getPriceModifier,zV as getPriceListsPage,SG as getPriceListOrderTypeOrderType,HX as getPriceListIdPriceModifiersPage,qV as getPriceListIdPriceListOrderTypesPage,KV as getPriceListIdPriceListDiscountsPage,XV as getPriceListIdPriceListChannelsPage,nG as getPriceListIdPriceListAccountsPage,CG as getPriceListIdPriceListAccountGroupsPage,fG as getPriceListIdPriceEntriesPage,FF as getPriceListChannelChannel,BX as getPriceListByExternalReferenceCodePriceModifiersPage,WV as getPriceListByExternalReferenceCodePriceListOrderTypesPage,HV as getPriceListByExternalReferenceCodePriceListDiscountsPage,GV as getPriceListByExternalReferenceCodePriceListChannelsPage,sG as getPriceListByExternalReferenceCodePriceListAccountsPage,_G as getPriceListByExternalReferenceCodePriceListAccountGroupsPage,gG as getPriceListByExternalReferenceCodePriceEntriesPage,SV as getPriceListByExternalReferenceCode,MX as getPriceListAccountGroupAccountGroup,n as getPriceListAccountAccount,OV as getPriceList,zX as getPriceEntryIdTierPricesPage,IX as getPriceEntryIdSku,$X as getPriceEntryIdProduct,TX as getPriceEntryByExternalReferenceCodeTierPricesPage,wG as getPriceEntryByExternalReferenceCode,vG as getPriceEntry,xG as getOpenApi,kG as getDiscountsPage,DX as getDiscountSkuSku,JG as getDiscountRule,WX as getDiscountProductProduct,PX as getDiscountProductGroupProductGroup,RG as getDiscountOrderTypeOrderType,OG as getDiscountIdDiscountSkusPage,QG as getDiscountIdDiscountRulesPage,eF as getDiscountIdDiscountProductsPage,rF as getDiscountIdDiscountProductGroupsPage,bF as getDiscountIdDiscountOrderTypesPage,SF as getDiscountIdDiscountChannelsPage,IF as getDiscountIdDiscountCategoriesPage,MF as getDiscountIdDiscountAccountsPage,kF as getDiscountIdDiscountAccountGroupsPage,o as getDiscountChannelChannel,t as getDiscountCategoryCategory,IG as getDiscountByExternalReferenceCodeDiscountSkusPage,MG as getDiscountByExternalReferenceCodeDiscountRulesPage,hF as getDiscountByExternalReferenceCodeDiscountProductsPage,cF as getDiscountByExternalReferenceCodeDiscountProductGroupsPage,mF as getDiscountByExternalReferenceCodeDiscountOrderTypesPage,xF as getDiscountByExternalReferenceCodeDiscountChannelsPage,qF as getDiscountByExternalReferenceCodeDiscountCategoriesPage,KF as getDiscountByExternalReferenceCodeDiscountAccountsPage,XF as getDiscountByExternalReferenceCodeDiscountAccountGroupsPage,VG as getDiscountByExternalReferenceCode,LX as getDiscountAccountGroupAccountGroup,p as getDiscountAccountAccount,tF as getDiscount,xX as deleteTierPriceByExternalReferenceCode,YX as deleteTierPriceBatch,NX as deleteTierPrice,rV as deletePriceModifierProductGroupBatch,aV as deletePriceModifierProductGroup,eV as deletePriceModifierProductBatch,lV as deletePriceModifierProduct,bV as deletePriceModifierCategoryBatch,wV as deletePriceModifierCategory,XX as deletePriceModifierByExternalReferenceCode,VX as deletePriceModifierBatch,oV as deletePriceModifier,QV as deletePriceListOrderTypeBatch,PV as deletePriceListOrderType,EV as deletePriceListDiscountBatch,BV as deletePriceListDiscount,FV as deletePriceListChannelBatch,oG as deletePriceListChannel,RV as deletePriceListByExternalReferenceCode,YV as deletePriceListBatch,rG as deletePriceListAccountGroupBatch,aG as deletePriceListAccountGroup,eG as deletePriceListAccountBatch,lG as deletePriceListAccount,NV as deletePriceList,mG as deletePriceEntryByExternalReferenceCode,jG as deletePriceEntryBatch,TG as deletePriceEntry,DG as deleteDiscountSkuBatch,qG as deleteDiscountSku,LG as deleteDiscountRuleBatch,HG as deleteDiscountRule,uF as deleteDiscountProductGroupBatch,fF as deleteDiscountProductGroup,yF as deleteDiscountProductBatch,CF as deleteDiscountProduct,jF as deleteDiscountOrderTypeBatch,zF as deleteDiscountOrderType,YF as deleteDiscountChannelBatch,UF as deleteDiscountChannel,$F as deleteDiscountCategoryBatch,WF as deleteDiscountCategory,GG as deleteDiscountByExternalReferenceCode,oF as deleteDiscountBatch,VF as deleteDiscountAccountGroupBatch,GF as deleteDiscountAccountGroup,JF as deleteDiscountAccountBatch,HF as deleteDiscountAccount,nF as deleteDiscount};