@agentica/chat 0.14.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AgenticaChatApplication-BnyLYHXQ.js → AgenticaChatApplication-lWIm50QF.js} +162 -162
- package/dist/assets/bbs/{index-DSvFDg16.js → index-DQHKfogj.js} +1 -1
- package/dist/assets/shopping/{index.html-B4CF6Fff.js → index.html-FHl0O6gf.js} +1 -1
- package/dist/assets/uploader/{index.html-DqHkoSvp.js → index.html-CIM-e8Kh.js} +1 -1
- package/dist/bbs/index.html +2 -2
- package/dist/shopping/index.html +2 -2
- package/dist/uploader/index.html +2 -2
- package/lib/index.mjs.map +1 -1
- package/lib/movies/AgenticaChatMovie.d.ts +1 -1
- package/package.json +2 -2
- package/src/movies/AgenticaChatMovie.tsx +1 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as lo,g as ho,J as Kn,i as Zn,r as q,u as uo,j,s as mo,e as Ao,z as Xa,f as fo,T as In,m as To,D as yo,K as Na,M as go,N as b,o as Eo}from"../client-BVv4NBtY.js";import{u as Do,C as Mo,h as jo,G as Co,i as $o,H as eo,j as vo,L as _o,k as So,l as xo,O as to,m as bo,n as Uo,o as Ro,S as qo,v as ga,p as u,A as wo,f as Oo,F as Po,T as Qn,R as ko,c as Ba,d as Va,B as Fo,e as zo}from"../AgenticaChatApplication-BnyLYHXQ.js";import{_ as v,a as O}from"../_isFormatUri-YqTfGpHo.js";import{D as Go}from"../Divider-DaLcPLlq.js";function Ho(e){return ho("MuiLink",e)}const Lo=lo("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),No=({theme:e,ownerState:t})=>{const s=t.color,a=Kn(e,`palette.${s}.main`,!1)||Kn(e,`palette.${s}`,!1)||t.color,o=Kn(e,`palette.${s}.mainChannel`)||Kn(e,`palette.${s}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Zn(a,.4)},Ja={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Bo=e=>{const{classes:t,component:s,focusVisible:a,underline:o}=e,i={root:["root",`underline${Xa(o)}`,s==="button"&&"button",a&&"focusVisible"]};return fo(i,Ho,t)},Vo=mo(In,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:s}=e;return[t.root,t[`underline${Xa(s.underline)}`],s.component==="button"&&t.button]}})(To(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:s})=>t==="always"&&s.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(yo()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Zn(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Zn(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Zn(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Lo.focusVisible}`]:{outline:"auto"}}}]}))),Jo=q.forwardRef(function(t,s){const a=uo({props:t,name:"MuiLink"}),o=Do(),{className:i,color:p="primary",component:A="a",onBlur:f,onFocus:h,TypographyClasses:y,underline:M="always",variant:x="inherit",sx:E,...g}=a,[D,S]=q.useState(!1),c=_=>{Na(_.target)||S(!1),f&&f(_)},T=_=>{Na(_.target)&&S(!0),h&&h(_)},l={...a,color:p,component:A,focusVisible:D,underline:M,variant:x},C=Bo(l);return j.jsx(Vo,{color:p,className:Ao(C.root,i),classes:y,component:A,onBlur:c,onFocus:T,ref:s,ownerState:l,variant:x,...g,sx:[...Ja[p]===void 0?[{color:p}]:[],...Array.isArray(E)?E:[E]],style:{...g.style,...M==="always"&&p!=="inherit"&&!Ja[p]&&{"--Link-underlineColor":No({theme:o,ownerState:l})}}})});var Ea;Ea||(Ea={});var Da;Da||(Da={});const Wo=Object.freeze(Object.defineProperty({__proto__:null,get ChatGptTypeChecker(){return Mo},ClaudeTypeChecker:jo,get GeminiTypeChecker(){return Co},HttpError:$o,get HttpLlm(){return eo},get HttpMigration(){return vo},get IClaudeSchema(){return Ea},get ILlamaSchema(){return Da},LlamaTypeChecker:_o,get LlmTypeCheckerV3(){return So},get LlmTypeCheckerV3_1(){return xo},get OpenApi(){return to},get OpenApiTypeChecker(){return bo},get OpenApiV3(){return Uo},get OpenApiV3_1(){return Ro},get SwaggerV2(){return qo}},Symbol.toStringTag,{value:"Module"}));var so={},no={};Object.defineProperty(no,"__esModule",{value:!0});var Ua={};const Ko=go(Wo);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HttpError=void 0;var t=Ko;Object.defineProperty(e,"HttpError",{enumerable:!0,get:function(){return t.HttpError}})})(Ua);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});var oo={};Object.defineProperty(oo,"__esModule",{value:!0});var ro={};Object.defineProperty(ro,"__esModule",{value:!0});var po={};Object.defineProperty(po,"__esModule",{value:!0});var io={};Object.defineProperty(io,"__esModule",{value:!0});(function(e){var t=b&&b.__createBinding||(Object.create?function(a,o,i,p){p===void 0&&(p=i);var A=Object.getOwnPropertyDescriptor(o,i);(!A||("get"in A?!o.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(a,p,A)}:function(a,o,i,p){p===void 0&&(p=i),a[p]=o[i]}),s=b&&b.__exportStar||function(a,o){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,a,i)};Object.defineProperty(e,"__esModule",{value:!0}),s(no,e),s(Ua,e),s(ao,e),s(oo,e),s(ro,e),s(po,e),s(io,e)})(so);var Ra={};Object.defineProperty(Ra,"__esModule",{value:!0});var Fn=Ra._isFormatIpv4=void 0;const Qo=e=>Yo.test(e);Fn=Ra._isFormatIpv4=Qo;const Yo=/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/;var qa={};Object.defineProperty(qa,"__esModule",{value:!0});var zn=qa._isFormatIpv6=void 0;const Zo=e=>Io.test(e);zn=qa._isFormatIpv6=Zo;const Io=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i;var wa={};Object.defineProperty(wa,"__esModule",{value:!0});var $=wa._isFormatDateTime=void 0;const Xo=e=>er.test(e);$=wa._isFormatDateTime=Xo;const er=/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T|\s)([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i;var Oa={};Object.defineProperty(Oa,"__esModule",{value:!0});var Pa=Oa._miscCloneAny=void 0;const tr=e=>P(e);Pa=Oa._miscCloneAny=tr;const P=e=>{if(e!==void 0){if(typeof e=="object"){if(e===null)return null;if(Array.isArray(e))return e.map(P);if(e instanceof Date)return new Date(e);if(e instanceof Uint8Array)return new Uint8Array(e);if(e instanceof Uint8ClampedArray)return new Uint8ClampedArray(e);if(e instanceof Uint16Array)return new Uint16Array(e);if(e instanceof Uint32Array)return new Uint32Array(e);if(e instanceof BigUint64Array)return new BigUint64Array(e);if(e instanceof Int8Array)return new Int8Array(e);if(e instanceof Int16Array)return new Int16Array(e);if(e instanceof Int32Array)return new Int32Array(e);if(e instanceof BigInt64Array)return new BigInt64Array(e);if(e instanceof Float32Array)return new Float32Array(e);if(e instanceof Float64Array)return new Float64Array(e);if(e instanceof ArrayBuffer)return e.slice(0);if(e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView)return new DataView(e.buffer.slice(0));if(typeof File<"u"&&e instanceof File)return new File([e],e.name,{type:e.type});if(typeof Blob<"u"&&e instanceof Blob)return new Blob([e],{type:e.type});if(e instanceof Set)return new Set([...e].map(P));if(e instanceof Map)return new Map([...e].map(([t,s])=>[P(t),P(s)]));if(e instanceof WeakSet||e instanceof WeakMap)throw new Error("WeakSet and WeakMap are not supported");return e.valueOf()!==e?P(e.valueOf()):Object.fromEntries(Object.entries(e).map(([t,s])=>[t,P(s)]).filter(([,t])=>t!==void 0))}else if(typeof e=="function")return;return e}};var ka={};Object.defineProperty(ka,"__esModule",{value:!0});var Gn=ka._isFormatEmail=void 0;const sr=e=>nr.test(e);Gn=ka._isFormatEmail=sr;const nr=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;var Fa={},ra={},L=b&&b.__assign||function(){return L=Object.assign||function(e){for(var t,s=1,a=arguments.length;s<a;s++){t=arguments[s];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},L.apply(this,arguments)},Ta=b&&b.__awaiter||function(e,t,s,a){function o(i){return i instanceof s?i:new s(function(p){p(i)})}return new(s||(s=Promise))(function(i,p){function A(y){try{h(a.next(y))}catch(M){p(M)}}function f(y){try{h(a.throw(y))}catch(M){p(M)}}function h(y){y.done?i(y.value):o(y.value).then(A,f)}h((a=a.apply(e,t||[])).next())})},ya=b&&b.__generator||function(e,t){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,p=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return p.next=A(0),p.throw=A(1),p.return=A(2),typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function A(h){return function(y){return f([h,y])}}function f(h){if(a)throw new TypeError("Generator is already executing.");for(;p&&(p=0,h[0]&&(s=0)),s;)try{if(a=1,o&&(i=h[0]&2?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[h[0]&2,i.value]),h[0]){case 0:case 1:i=h;break;case 4:return s.label++,{value:h[1],done:!1};case 5:s.label++,o=h[1],h=[0];continue;case 7:h=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){s=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){s.label=h[1];break}if(h[0]===6&&s.label<i[1]){s.label=i[1],i=h;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(h);break}i[2]&&s.ops.pop(),s.trys.pop();continue}h=t.call(e,s)}catch(y){h=[6,y],o=0}finally{a=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Xn=b&&b.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,s=t&&e[t],a=0;if(s)return s.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},pa=b&&b.__read||function(e,t){var s=typeof Symbol=="function"&&e[Symbol.iterator];if(!s)return e;var a=s.call(e),o,i=[],p;try{for(;(t===void 0||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(A){p={error:A}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(p)throw p.error}}return i},ar=b&&b.__spreadArray||function(e,t,s){if(s||arguments.length===2)for(var a=0,o=t.length,i;a<o;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(ra,"__esModule",{value:!0});ra.FetcherBase=void 0;var or=Ua,Wa;(function(e){var t=this;e.request=function(a){return function(o,i,p,A){return Ta(t,void 0,void 0,function(){var f;return ya(this,function(h){switch(h.label){case 0:return[4,s("fetch")(a)(o,i,p,A)];case 1:if(f=h.sent(),f.success===!1)throw new or.HttpError(i.method,i.path,f.status,f.headers,f.data);return[2,f.data]}})})}},e.propagate=function(a){return function(o,i,p,A){return Ta(t,void 0,void 0,function(){return ya(this,function(f){return[2,s("propagate")(a)(o,i,p,A)]})})}};var s=function(a){return function(o){return function(i,p,A,f){return Ta(t,void 0,void 0,function(){var h,y,M,x,E,g,D,S,c,T,l,C,_,n,m,d,R,z,ia,ca,la,ha,ua,da,ma;return ya(this,function(U){switch(U.label){case 0:if(h=L({},(R=i.headers)!==null&&R!==void 0?R:{}),A!==void 0){if(((z=p.request)===null||z===void 0?void 0:z.type)===void 0)throw new Error("Error on ".concat(o.className,".fetch(): no content-type being configured."));p.request.type!=="multipart/form-data"&&(h["Content-Type"]=p.request.type)}else A===void 0&&h["Content-Type"]!==void 0&&delete h["Content-Type"];y=L(L({},(ia=i.options)!==null&&ia!==void 0?ia:{}),{method:p.method,headers:function(){var Nn,za,Bn,Ga,Aa=[];try{for(var Vn=Xn(Object.entries(h)),G=Vn.next();!G.done;G=Vn.next()){var Ha=pa(G.value,2),La=Ha[0],Jn=Ha[1];if(Jn!==void 0)if(Array.isArray(Jn))try{for(var Wn=(Bn=void 0,Xn(Jn)),H=Wn.next();!H.done;H=Wn.next()){var co=H.value;Aa.push([La,String(co)])}}catch(fa){Bn={error:fa}}finally{try{H&&!H.done&&(Ga=Wn.return)&&Ga.call(Wn)}finally{if(Bn)throw Bn.error}}else Aa.push([La,String(Jn)])}}catch(fa){Nn={error:fa}}finally{try{G&&!G.done&&(za=Vn.return)&&za.call(Vn)}finally{if(Nn)throw Nn.error}}return Aa}()}),A!==void 0&&(y.body=o.encode(((ca=p.request)===null||ca===void 0?void 0:ca.type)==="application/x-www-form-urlencoded"?rr(A):((la=p.request)===null||la===void 0?void 0:la.type)==="multipart/form-data"?pr(A):((ha=p.request)===null||ha===void 0?void 0:ha.type)!=="text/plain"?(f??JSON.stringify)(A):A,h)),M=i.host[i.host.length-1]!=="/"&&p.path[0]!=="/"?"/".concat(p.path):p.path,x=new URL("".concat(i.host).concat(M)),E={route:p,path:M,status:null,input:A,output:void 0,started_at:new Date,respond_at:null,completed_at:null},U.label=1;case 1:return U.trys.push([1,12,13,18]),[4,((ua=i.fetch)!==null&&ua!==void 0?ua:fetch)(x.href,y)];case 2:return g=U.sent(),E.respond_at=new Date,E.status=g.status,D={success:g.status===200||g.status===201||g.status===p.status,status:g.status,headers:ir(g.headers),data:void 0},D.success!==!1?[3,4]:(S=D,[4,g.text()]);case 3:if(S.data=U.sent(),c=g.headers.get("content-type"),a!=="fetch"&&c&&c.indexOf("application/json")!==-1)try{D.data=JSON.parse(D.data)}catch{}return[3,11];case 4:return p.method!=="HEAD"?[3,5]:(D.data=void 0,[3,11]);case 5:return((da=p.response)===null||da===void 0?void 0:da.type)!=="application/json"?[3,7]:[4,g.text()];case 6:return T=U.sent(),D.data=T.length?JSON.parse(T):void 0,[3,11];case 7:return((ma=p.response)===null||ma===void 0?void 0:ma.type)!=="application/x-www-form-urlencoded"?[3,9]:(C=URLSearchParams.bind,[4,g.text()]);case 8:return l=new(C.apply(URLSearchParams,[void 0,U.sent()])),D.data=p.parseQuery?p.parseQuery(l):l,[3,11];case 9:return _=D,m=(n=o).decode,[4,g.text()];case 10:_.data=m.apply(n,[U.sent(),D.headers]),U.label=11;case 11:return E.output=D.data,[2,D];case 12:throw d=U.sent(),d;case 13:if(E.completed_at=new Date,!i.logger)return[3,17];U.label=14;case 14:return U.trys.push([14,16,,17]),[4,i.logger(E)];case 15:return U.sent(),[3,17];case 16:return U.sent(),[3,17];case 17:return[7];case 18:return[2]}})})}}}})(Wa||(ra.FetcherBase=Wa={}));var rr=function(e){var t,s,a=new URLSearchParams,o=function(y,M){if(M===void 0)return"continue";Array.isArray(M)?M.forEach(function(x){return a.append(y,String(x))}):a.set(y,String(M))};try{for(var i=Xn(Object.entries(e)),p=i.next();!p.done;p=i.next()){var A=pa(p.value,2),f=A[0],h=A[1];o(f,h)}}catch(y){t={error:y}}finally{try{p&&!p.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}return a},pr=function(e){var t,s,a=new FormData,o=function(y){return function(M){M!==void 0&&(typeof File=="function"&&M instanceof File?a.append(y,M,M.name):a.append(y,M))}};try{for(var i=Xn(Object.entries(e)),p=i.next();!p.done;p=i.next()){var A=pa(p.value,2),f=A[0],h=A[1];Array.isArray(h)?h.map(o(f)):o(f)(h)}}catch(y){t={error:y}}finally{try{p&&!p.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}return a},ir=function(e){var t={};return e.forEach(function(s,a){var o,i;a==="set-cookie"?((i=t[a])!==null&&i!==void 0||(t[a]=[]),(o=t[a]).push.apply(o,ar([],pa(s.split(";").map(function(p){return p.trim()})),!1))):t[a]=s}),t},Ka=b&&b.__awaiter||function(e,t,s,a){function o(i){return i instanceof s?i:new s(function(p){p(i)})}return new(s||(s=Promise))(function(i,p){function A(y){try{h(a.next(y))}catch(M){p(M)}}function f(y){try{h(a.throw(y))}catch(M){p(M)}}function h(y){y.done?i(y.value):o(y.value).then(A,f)}h((a=a.apply(e,t||[])).next())})},Qa=b&&b.__generator||function(e,t){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,p=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return p.next=A(0),p.throw=A(1),p.return=A(2),typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function A(h){return function(y){return f([h,y])}}function f(h){if(a)throw new TypeError("Generator is already executing.");for(;p&&(p=0,h[0]&&(s=0)),s;)try{if(a=1,o&&(i=h[0]&2?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[h[0]&2,i.value]),h[0]){case 0:case 1:i=h;break;case 4:return s.label++,{value:h[1],done:!1};case 5:s.label++,o=h[1],h=[0];continue;case 7:h=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){s=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){s.label=h[1];break}if(h[0]===6&&s.label<i[1]){s.label=i[1],i=h;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(h);break}i[2]&&s.ops.pop(),s.trys.pop();continue}h=t.call(e,s)}catch(y){h=[6,y],o=0}finally{a=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(Fa,"__esModule",{value:!0});var r=Fa.PlainFetcher=void 0,Ya=ra,Za;(function(e){function t(a,o,i,p){return Ka(this,void 0,void 0,function(){var A,f;return Qa(this,function(h){if(((A=o.request)===null||A===void 0?void 0:A.encrypted)===!0||((f=o.response)===null||f===void 0?void 0:f.encrypted)===!0)throw new Error("Error on PlainFetcher.fetch(): PlainFetcher doesn't have encryption ability. Use EncryptedFetcher instead.");return[2,Ya.FetcherBase.request({className:"PlainFetcher",encode:function(y){return y},decode:function(y){return y}})(a,o,i,p)]})})}e.fetch=t;function s(a,o,i,p){return Ka(this,void 0,void 0,function(){var A,f;return Qa(this,function(h){if(((A=o.request)===null||A===void 0?void 0:A.encrypted)===!0||((f=o.response)===null||f===void 0?void 0:f.encrypted)===!0)throw new Error("Error on PlainFetcher.propagate(): PlainFetcher doesn't have encryption ability. Use EncryptedFetcher instead.");return[2,Ya.FetcherBase.propagate({className:"PlainFetcher",encode:function(y){return y},decode:function(y){return y}})(a,o,i,p)]})})}e.propagate=s})(Za||(r=Fa.PlainFetcher=Za={}));var Ma;(function(e){e.invert=t=>{var i;const s=t.citizen,a=t.member,o=(i=t.member)==null?void 0:i.administrator;return!s||!a||!o?null:{id:o.id,type:"administrator",citizen:s,customer:(()=>{const p=n=>typeof n.id=="string"&&v(n.id)&&typeof n.channel=="object"&&n.channel!==null&&A(n.channel)&&(n.external_user===null||typeof n.external_user=="object"&&n.external_user!==null&&f(n.external_user))&&typeof n.href=="string"&&O(n.href)&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0))&&typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip))&&typeof n.created_at=="string"&&$(n.created_at),A=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.code=="string"&&typeof n.name=="string",f=n=>typeof n.id=="string"&&v(n.id)&&(n.citizen===null||typeof n.citizen=="object"&&n.citizen!==null&&h(n.citizen))&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.application=="string"&&typeof n.uid=="string"&&typeof n.nickname=="string"&&!0,h=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.mobile=="string"&&RegExp("^[0-9]*$").test(n.mobile)&&typeof n.name=="string",y=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&((typeof n.channel=="object"&&n.channel!==null||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&M(n.channel,m+".channel",d)||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&(n.external_user===null||(typeof n.external_user=="object"&&n.external_user!==null||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&x(n.external_user,m+".external_user",d)||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&(typeof n.href=="string"&&(O(n.href)||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'string & Format<"uri">',value:n.href},l))||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'(string & Format<"uri">)',value:n.href},l))&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'(string & (Format<"uri"> | MaxLength<0>))',value:n.referrer},l))||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'((string & (Format<"uri"> | MaxLength<0>)) | null)',value:n.referrer},l))&&(typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip)||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l)),M=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.code=="string"||u(d,{method:"typia.misc.assertClone",path:m+".code",expected:"string",value:n.code},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"string",value:n.name},l)),x=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(n.citizen===null||(typeof n.citizen=="object"&&n.citizen!==null||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&E(n.citizen,m+".citizen",d)||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.application=="string"||u(d,{method:"typia.misc.assertClone",path:m+".application",expected:"string",value:n.application},l))&&(typeof n.uid=="string"||u(d,{method:"typia.misc.assertClone",path:m+".uid",expected:"string",value:n.uid},l))&&(typeof n.nickname=="string"||u(d,{method:"typia.misc.assertClone",path:m+".nickname",expected:"string",value:n.nickname},l))&&!0,E=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.mobile=="string"&&(RegExp("^[0-9]*$").test(n.mobile)||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'string & Pattern<"^[0-9]*$">',value:n.mobile},l))||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'(string & Pattern<"^[0-9]*$"> & JsonSchemaPlugin<__type>)',value:n.mobile},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"(string & JsonSchemaPlugin<__type>)",value:n.name},l)),g=n=>({id:n.id,channel:D(n.channel),external_user:n.external_user?S(n.external_user):n.external_user,href:n.href,referrer:n.referrer,ip:n.ip,created_at:n.created_at}),D=n=>({id:n.id,created_at:n.created_at,code:n.code,name:n.name}),S=n=>({id:n.id,citizen:n.citizen?c(n.citizen):n.citizen,created_at:n.created_at,application:n.application,uid:n.uid,nickname:n.nickname,data:Pa(n.data)}),c=n=>({id:n.id,created_at:n.created_at,mobile:n.mobile,name:n.name}),T=n=>typeof n=="object"&&n!==null&&p(n);let l;const C=(n,m)=>(T(n)===!1&&(l=m,((d,R,z=!0)=>(typeof d=="object"&&d!==null||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))&&y(d,R+"",!0)||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))(n,"$input",!0)),n),_=n=>g(n);return(n,m)=>_(C(n,m))})()(t),member:(()=>{const p=c=>c.map(T=>x(T)),A=c=>typeof c.id=="string"&&v(c.id)&&typeof c.nickname=="string"&&Array.isArray(c.emails)&&c.emails.every(T=>typeof T=="object"&&T!==null&&f(T))&&typeof c.created_at=="string"&&$(c.created_at),f=c=>typeof c.id=="string"&&v(c.id)&&typeof c.value=="string"&&Gn(c.value)&&typeof c.created_at=="string"&&$(c.created_at),h=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.nickname=="string"||u(l,{method:"typia.misc.assertClone",path:T+".nickname",expected:"string",value:c.nickname},g))&&((Array.isArray(c.emails)||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&c.emails.every((C,_)=>(typeof C=="object"&&C!==null||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))&&y(C,T+".emails["+_+"]",l)||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),y=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.value=="string"&&(Gn(c.value)||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'string & Format<"email">',value:c.value},g))||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'(string & Format<"email">)',value:c.value},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),M=c=>({id:c.id,nickname:c.nickname,emails:p(c.emails),created_at:c.created_at}),x=c=>({id:c.id,value:c.value,created_at:c.created_at}),E=c=>typeof c=="object"&&c!==null&&A(c);let g;const D=(c,T)=>(E(c)===!1&&(g=T,((l,C,_=!0)=>(typeof l=="object"&&l!==null||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))&&h(l,C+"",!0)||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))(c,"$input",!0)),c),S=c=>M(c);return(c,T)=>S(D(c,T))})()(a),created_at:o.created_at}}})(Ma||(Ma={}));var ja;(function(e){e.invert=t=>{var i;const s=t.citizen,a=t.member,o=(i=t.member)==null?void 0:i.seller;return!s||!a||!o?null:{id:o.id,type:"seller",citizen:s,customer:(()=>{const p=n=>typeof n.id=="string"&&v(n.id)&&typeof n.channel=="object"&&n.channel!==null&&A(n.channel)&&(n.external_user===null||typeof n.external_user=="object"&&n.external_user!==null&&f(n.external_user))&&typeof n.href=="string"&&O(n.href)&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0))&&typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip))&&typeof n.created_at=="string"&&$(n.created_at),A=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.code=="string"&&typeof n.name=="string",f=n=>typeof n.id=="string"&&v(n.id)&&(n.citizen===null||typeof n.citizen=="object"&&n.citizen!==null&&h(n.citizen))&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.application=="string"&&typeof n.uid=="string"&&typeof n.nickname=="string"&&!0,h=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.mobile=="string"&&RegExp("^[0-9]*$").test(n.mobile)&&typeof n.name=="string",y=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&((typeof n.channel=="object"&&n.channel!==null||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&M(n.channel,m+".channel",d)||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&(n.external_user===null||(typeof n.external_user=="object"&&n.external_user!==null||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&x(n.external_user,m+".external_user",d)||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&(typeof n.href=="string"&&(O(n.href)||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'string & Format<"uri">',value:n.href},l))||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'(string & Format<"uri">)',value:n.href},l))&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'(string & (Format<"uri"> | MaxLength<0>))',value:n.referrer},l))||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'((string & (Format<"uri"> | MaxLength<0>)) | null)',value:n.referrer},l))&&(typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip)||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l)),M=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.code=="string"||u(d,{method:"typia.misc.assertClone",path:m+".code",expected:"string",value:n.code},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"string",value:n.name},l)),x=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(n.citizen===null||(typeof n.citizen=="object"&&n.citizen!==null||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&E(n.citizen,m+".citizen",d)||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.application=="string"||u(d,{method:"typia.misc.assertClone",path:m+".application",expected:"string",value:n.application},l))&&(typeof n.uid=="string"||u(d,{method:"typia.misc.assertClone",path:m+".uid",expected:"string",value:n.uid},l))&&(typeof n.nickname=="string"||u(d,{method:"typia.misc.assertClone",path:m+".nickname",expected:"string",value:n.nickname},l))&&!0,E=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.mobile=="string"&&(RegExp("^[0-9]*$").test(n.mobile)||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'string & Pattern<"^[0-9]*$">',value:n.mobile},l))||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'(string & Pattern<"^[0-9]*$"> & JsonSchemaPlugin<__type>)',value:n.mobile},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"(string & JsonSchemaPlugin<__type>)",value:n.name},l)),g=n=>({id:n.id,channel:D(n.channel),external_user:n.external_user?S(n.external_user):n.external_user,href:n.href,referrer:n.referrer,ip:n.ip,created_at:n.created_at}),D=n=>({id:n.id,created_at:n.created_at,code:n.code,name:n.name}),S=n=>({id:n.id,citizen:n.citizen?c(n.citizen):n.citizen,created_at:n.created_at,application:n.application,uid:n.uid,nickname:n.nickname,data:Pa(n.data)}),c=n=>({id:n.id,created_at:n.created_at,mobile:n.mobile,name:n.name}),T=n=>typeof n=="object"&&n!==null&&p(n);let l;const C=(n,m)=>(T(n)===!1&&(l=m,((d,R,z=!0)=>(typeof d=="object"&&d!==null||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))&&y(d,R+"",!0)||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))(n,"$input",!0)),n),_=n=>g(n);return(n,m)=>_(C(n,m))})()(t),member:(()=>{const p=c=>c.map(T=>x(T)),A=c=>typeof c.id=="string"&&v(c.id)&&typeof c.nickname=="string"&&Array.isArray(c.emails)&&c.emails.every(T=>typeof T=="object"&&T!==null&&f(T))&&typeof c.created_at=="string"&&$(c.created_at),f=c=>typeof c.id=="string"&&v(c.id)&&typeof c.value=="string"&&Gn(c.value)&&typeof c.created_at=="string"&&$(c.created_at),h=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.nickname=="string"||u(l,{method:"typia.misc.assertClone",path:T+".nickname",expected:"string",value:c.nickname},g))&&((Array.isArray(c.emails)||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&c.emails.every((C,_)=>(typeof C=="object"&&C!==null||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))&&y(C,T+".emails["+_+"]",l)||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),y=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.value=="string"&&(Gn(c.value)||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'string & Format<"email">',value:c.value},g))||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'(string & Format<"email">)',value:c.value},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),M=c=>({id:c.id,nickname:c.nickname,emails:p(c.emails),created_at:c.created_at}),x=c=>({id:c.id,value:c.value,created_at:c.created_at}),E=c=>typeof c=="object"&&c!==null&&A(c);let g;const D=(c,T)=>(E(c)===!1&&(g=T,((l,C,_=!0)=>(typeof l=="object"&&l!==null||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))&&h(l,C+"",!0)||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))(c,"$input",!0)),c),S=c=>M(c);return(c,T)=>S(D(c,T))})()(a),created_at:o.created_at}}})(ja||(ja={}));var ea;(function(e){e.adjustable=s=>{const a=t(s);return s.criteria.direction==="include"?a:!a};const t=s=>s.criteria.type==="section"?s.criteria.sections.some(a=>a.id===s.sale.section.id):s.criteria.type==="seller"?s.criteria.sellers.some(a=>a.id===s.sale.seller.id):s.criteria.type==="sale"?s.criteria.sales.some(a=>a.id===s.sale.id):s.criteria.type==="funnel"?s.criteria.funnels.some(a=>{if(a.kind==="url")return s.customer.href.startsWith(a.value);if(a.kind==="referrer")return s.customer.referrer!==null&&s.customer.referrer.startsWith(a.value);if(a.kind==="variable"){const o=s.customer.href.lastIndexOf("?");return o===-1?!1:new URLSearchParams(s.customer.href.substring(o+1)).get(a.key)===a.value}return!1}):!1})(ea||(ea={}));var Ca;(function(e){e.take=(t,s,a)=>{const o=t.get(s);if(o)return o;const i=a();return t.set(s,i),i}})(Ca||(Ca={}));var w;(function(e){e.validate=t=>{const s=[],a=new Set;return t.items.forEach((o,i)=>{if(t.filter&&t.filter(o)===!1)return;const p=t.key(o);a.has(p)===!0?s.push(t.message(o,i)):a.add(p)}),s}})(w||(w={}));var ta;(function(e){e.replica=t=>({name:t.name,extension:t.extension,url:t.url})})(ta||(ta={}));var $a;(function(e){e.replica=t=>({title:t.title,body:t.body,format:t.format,thumbnails:t.thumbnails.map(ta.replica),files:t.files.map(ta.replica)})})($a||($a={}));var sa;(function(e){e.validate=t=>{if(t.option.type!=="select")return[];const s=`input.units[${t.unitIndex}].options[${t.index}]`,a=[];return t.option.candidates.length===0&&a.push({accessor:`${s}.candidates`,message:'Candidates must not be empty when type of the option is "select".'}),a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.candidates[${i}]`,message:`Duplicated candidate name: "${o.name}"`}),items:t.option.candidates})),a},e.replica=t=>t.type==="select"?{type:t.type,name:t.name,variable:t.variable,candidates:t.candidates.map(s=>({name:s.name}))}:{type:t.type,name:t.name}})(sa||(sa={}));var na;(function(e){e.validate=t=>{const s=`input.units.[${t.unitIndex}].stocks[${t.stockIndex}].choices[${t.index}]`,a=[],o=t.unit.options[t.choice.option_index];return o===void 0?a.push({accessor:s,message:`Option index ${t.choice.option_index} is out of bounds.`}):o.type!=="select"?a.push({accessor:s,message:'Option type must be "select".'}):o.variable===!1?a.push({accessor:s,message:"Option is not variable."}):o.candidates[t.choice.candidate_index]===void 0&&a.push({accessor:s,message:`Candidate index ${t.choice.candidate_index} is out of bounds.`}),a},e.replica=t=>{const s=t.options.findIndex(i=>i.id===t.choice.option_id);if(s===-1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): unable to find the matched option.");const a=t.options[s];if(a.type!=="select")throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): option type must be 'select'.");if(a.variable===!1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): option must be variable.");const o=a.candidates.findIndex(i=>i.id===t.choice.candidate_id);if(o===-1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): unable to find the matched candidate.");return{option_index:s,candidate_index:o}}})(na||(na={}));var va;(function(e){e.validate=t=>{const s=[];return s.push(...w.validate({key:a=>JSON.stringify([a.option_index,a.candidate_index]),message:(a,o)=>({accessor:`input.units[${t.unitIndex}].stocks[${t.index}].choices[${o}]`,message:`Duplicated choice: (${a.option_index}, ${a.candidate_index})`}),items:t.stock.choices})),t.stock.choices.forEach((a,o)=>{s.push(...na.validate({unit:t.unit,unitIndex:t.unitIndex,stock:t.stock,stockIndex:t.index,choice:a,index:o}))}),t.stock.price.nominal<t.stock.price.real&&s.push({accessor:`input.units[${t.unitIndex}].stocks[${t.index}].price.real`,message:"Real price cannot be greater than nominal price"}),s},e.replica=t=>({name:t.stock.name,choices:t.stock.choices.map(s=>na.replica({options:t.options,choice:s})),quantity:Math.max(0,t.stock.inventory.income-t.stock.inventory.outcome),price:{nominal:t.stock.price.nominal,real:t.stock.price.real}})})(va||(va={}));var aa;(function(e){e.validate=t=>{const s=`input.units[${t.index}]`,a=[];if(a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.options[${i}]`,message:`Duplicated option name: "${o.name}"`}),items:t.unit.options})),t.unit.options.forEach((o,i)=>a.push(...sa.validate({unit:t.unit,unitIndex:t.index,option:o,index:i}))),t.unit.stocks.length===0)a.push({accessor:`${s}.stocks.length`,message:"No stock exists."});else{const o=t.unit.options.map(i=>i.type==="select"&&i.variable?i.candidates.length:1).reduce((i,p)=>i*p,1);t.unit.stocks.length>o&&a.push({accessor:`${s}.stocks.length`,message:`Incorrect number of stocks: must not over the ${o} but ${t.unit.stocks.length}.`})}return a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.stocks[${i}]`,message:`Duplicated stock name: "${o.name}"`}),items:t.unit.stocks})),a},e.replica=t=>({name:t.name,primary:t.primary,required:t.required,options:t.options.map(sa.replica),stocks:t.stocks.map(s=>va.replica({options:t.options,stock:s}))})})(aa||(aa={}));var Hn;(function(e){e.validate=t=>{const s=[];return s.push(...w.validate({key:a=>a,message:(a,o)=>({accessor:`input.category_codes[${o}]`,message:`Duplicated category code: "${a}"`}),items:t.category_codes})),t.units.length===0?s.push({accessor:"input.units",message:"No unit"}):t.units.every(a=>a.required===!1)&&s.push({accessor:"input.units[].required",message:"No required unit"}),s.push(...w.validate({key:a=>a.name,message:(a,o)=>({accessor:`input.units[${o}]`,message:`Duplicated unit name: "${a.name}"`}),items:t.units})),t.units.forEach((a,o)=>s.push(...aa.validate({unit:a,index:o}))),s.push(...w.validate({key:a=>a,message:(a,o)=>({accessor:`input.tags[${o}]`,message:`Duplicated tags: "${a}"`}),items:t.tags})),s},e.replica=t=>({category_codes:t.categories.map(s=>s.code),content:$a.replica(t.content),units:t.units.map(aa.replica),tags:t.tags.slice()})})(Hn||(Hn={}));var Ln;(function(e){e.validate=t=>{const s=[];return t.opened_at&&t.closed_at&&new Date(t.closed_at).getTime()<new Date(t.opened_at).getTime()&&s.push({accessor:"input.closed_at",message:"Closed date is earlier than opened date"}),s.push(...Hn.validate(t)),s},e.replica=t=>({...Hn.replica(t),section_code:t.section.code,opened_at:t.opened_at,closed_at:t.closed_at}),e.readable=t=>{const s=[];t.sale.opened_at===null?s.push({accessor:t.accessor,message:"The sale has not been opened."}):new Date(t.sale.opened_at).getTime()>Date.now()&&s.push({accessor:t.accessor,message:"The sale has not been opened yet."});const a=(o,i)=>{i!==null&&Date.now()>=new Date(i).getTime()&&s.push({accessor:t.accessor,message:`The sale has been ${o}.`})};return a("closed",t.sale.closed_at),t.checkPause&&a("paused",t.sale.paused_at),a("suspended",t.sale.suspended_at),s}})(Ln||(Ln={}));var oa;(function(e){e.validate=t=>{const s=[],a=t.unit.options.find(o=>o.id===t.input.option_id);return a===void 0?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].option_id`,message:"Unable to find the matched option."}):a.type==="select"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}]`,message:"The select option does not require the choice composition."}):t.input.value!==null&&(a.type==="boolean"&&typeof t.input.value!="boolean"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be boolean type."}):a.type==="number"&&typeof t.input.value!="number"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be number type."}):a.type==="string"&&typeof t.input.value!="string"&&s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be string type."})),s},e.replica=t=>t.option.type==="select"?null:{option_id:t.option.id,value:t.value}})(oa||(oa={}));var F;(function(e){e.validate=t=>{const s=[];t.input.choices.forEach((o,i)=>{oa.validate({unit:t.unit,stockIndex:t.index,input:o,index:i})});const a=t.unit.stocks.find(o=>o.id===t.input.stock_id);return a===void 0?s.push({accessor:`$input.stocks[${t.index}].stock_id`,message:"Unable to find the matched stock."}):a.inventory.income-a.inventory.outcome<t.input.quantity*t.commodity.volume&&s.push({accessor:`$input.stocks[${t.index}].quantity`,message:"Insufficient inventory."}),s},e.replica=t=>({unit_id:t.unit.id,stock_id:t.stock.id,choices:t.stock.choices.map(oa.replica).filter(s=>s!==null),quantity:t.stock.quantity}),e.preview=t=>{const s=t.unit.stocks.find(a=>a.id===t.input.stock_id);if(s===void 0)throw new Error("Unable to find the matched stock.");return{id:s.id,name:s.name,price:s.price,inventory:s.inventory,quantity:t.input.quantity,choices:[...s.choices.map(a=>{const o=t.unit.options.find(p=>p.id===a.option_id),i=o.candidates.find(p=>p.id===a.candidate_id);return{id:a.id,option:o,candidate:i,value:null}}),...t.input.choices.map(a=>{const o=t.unit.options.find(i=>i.id===a.option_id);return{id:ga(),option:o,candidate:null,value:a.value}})]}}})(F||(F={}));var _a;(function(e){e.validate=t=>{const s=Ln.readable({accessor:"$input.sale_id",checkPause:!0,sale:t.sale});return t.input.stocks.forEach((a,o)=>{const i=t.sale.units.find(p=>p.id===a.unit_id);i===void 0?s.push({accessor:`$input.stocks[${o}].unit_id`,message:"Unable to find the matched unit."}):s.push(...F.validate({unit:i,commodity:t.input,input:a,index:o}))}),s},e.replica=t=>({sale_id:t.sale.id,stocks:t.sale.units.map(s=>s.stocks.map(a=>F.replica({unit:s,stock:a}))).flat(),volume:t.volume}),e.preview=t=>{const s=t.input.stocks.map(o=>{const i=t.sale.units.find(p=>p.id===o.unit_id);if(i===void 0)throw new Error(`Error on ShoppingCartItemDiagnoser.preview(): unable to find the matched unit by its id "${o.unit_id}".`);return[{id:i.id,name:i.name,primary:i.primary,required:i.required,stocks:[]},F.preview({unit:i,input:o})]}),a=new Map;for(const[o,i]of s)Ca.take(a,o.id,()=>o).stocks.push(i);return{id:ga(),sale:{...t.sale,content:{id:ga(),title:t.sale.content.title,thumbnails:t.sale.content.thumbnails},units:[...a.values()]},pseudo:!0,volume:t.input.volume,price:{nominal:s.map(([,o])=>o.price.nominal).reduce((o,i)=>o+i),real:s.map(([,o])=>o.price.real).reduce((o,i)=>o+i)},created_at:new Date().toISOString(),orderable:!0}}})(_a||(_a={}));var Sa;(function(e){e.validate=t=>{const s=Ln.readable({accessor:`input.goods.${t.index}.commodity.sale`,checkPause:!0,sale:t.commodity.sale});for(const a of t.commodity.sale.units)for(const o of a.stocks)o.quantity*t.input.volume>o.inventory.income-o.inventory.outcome&&s.push({accessor:`input.goods.${t.index}.volume`,message:`Not enough inventory on nested stock#${o.id}.`});return s}})(Sa||(Sa={}));var xa;(function(e){e.validate=t=>t.input.goods.map((s,a)=>{const o=t.commodities.find(i=>i.id===s.commodity_id);return o===void 0?{accessor:`input.goods[${a}].commodity_id`,message:`Commodity#${s.commodity_id} is not found.`}:Sa.validate({commodity:o,input:s,index:a})}).flat()})(xa||(xa={}));var N;(function(e){e.adjustable=s=>s.coupon.criterias.every(a=>ea.adjustable({customer:s.customer,sale:s.sale,criteria:a})),e.coexistable=s=>s.length<=1||s.every(a=>a.restriction.exclusive===!1),e.sort=s=>s.sort(t);function t(s,a){return s.discount.unit!==a.discount.unit?s.discount.unit==="percent"?-1:1:s.discount.unit==="amount"&&a.discount.unit==="amount"?Number(s.discount.value)-Number(a.discount.value):a.discount.value-s.discount.value}})(N||(N={}));var k;(function(e){e.checkCoupon=p=>e.filterItems(p).length!==0,e.filterItems=p=>t(p);const t=p=>s({accessor:p.accessor,coupon:p.coupon,data:p.data.filter(A=>N.adjustable({customer:p.customer,sale:p.accessor.item(A).sale,coupon:p.coupon}))}),s=p=>p.coupon.discount.threshold===null?p.coupon.discount.unit==="amount"&&p.coupon.discount.multiplicative===!0?p.data.filter(f=>p.accessor.item(f).price.real>=p.coupon.discount.value):p.data:p.coupon.discount.unit==="amount"&&p.coupon.discount.multiplicative===!0?p.data.filter(f=>p.accessor.item(f).price.real>=p.coupon.discount.threshold&&p.accessor.item(f).price.real>=p.coupon.discount.value):p.data.map(f=>a(p.accessor)(f)).reduce((f,h)=>f+h,0)>=p.coupon.discount.threshold?p.data:[],a=p=>A=>p.item(A).price.real*p.volume(A);e.discount=p=>o({...p,title:`${p.className}.discount`});const o=p=>{if(N.sort(p.coupons),N.coexistable(p.coupons)===!1)throw new Error(`Error on ${p.title}(): target coupons are not coexistable.`);const A={amount:0,coupon_to_elem_dict:new Map};for(const f of p.coupons)t({accessor:p.accessor,customer:p.customer,data:p.data,coupon:f}).length!==0&&i({accessor:p.accessor,coupon:f,data:p.data,output:A});return A},i=p=>{const A=(f,h)=>{cr(p.output.coupon_to_elem_dict,p.coupon.id,()=>new Map).set(f.id,h)};if(p.coupon.discount.unit==="percent")for(const f of p.data){const h=p.coupon.discount.value/100*a(p.accessor)(f);p.output.amount+=h,A(f,h)}else if(p.coupon.discount.multiplicative===!0)for(const f of p.data){const h=p.coupon.discount.value*p.accessor.volume(f);A(f,h),p.output.amount+=h}else{const f=p.data.map(h=>a(p.accessor)(h)).reduce((h,y)=>h+y,0);for(const h of p.data){const y=p.coupon.discount.value/100*a(p.accessor)(h)/f;A(h,y)}p.output.amount+=p.coupon.discount.value}};e.combine=p=>{const A=new Map(p.tickets.map(E=>[E.coupon.id,E])),f=p.coupons.filter(E=>A.has(E.id)===!1&&e.checkCoupon({accessor:p.accessor,customer:p.customer,data:p.data,coupon:E})),h=[...A.values()].filter(E=>e.checkCoupon({accessor:p.accessor,customer:p.customer,data:p.data,coupon:E.coupon})),y=[...f,...h.map(E=>E.coupon)],M=[y.filter(E=>E.restriction.exclusive===!1),...y.filter(E=>E.restriction.exclusive===!0).map(E=>[E])].filter(E=>E.length!==0);return M.map(E=>o({title:`${p.className}.combine`,accessor:p.accessor,customer:p.customer,data:p.data,coupons:E})).map((E,g)=>({coupons:M[g].filter(D=>f.some(S=>D.id===S.id)),tickets:h.filter(D=>M[g].some(S=>S.id===D.coupon.id)),entries:[...E.coupon_to_elem_dict.entries()].map(([D,S])=>[...S.entries()].map(([c,T])=>({coupon_id:D,item_id:c,amount:T}))).flat(),amount:E.amount}))}})(k||(k={}));const cr=(e,t,s)=>{const a=e.get(t);if(a)return a;const o=s();return e.set(t,o),o};var ba;(function(e){e.checkCoupon=t=>k.checkCoupon({accessor:Yn,customer:t.customer,coupon:t.coupon,data:t.goods}),e.filterGoods=t=>k.filterItems({accessor:Yn,customer:t.customer,coupon:t.coupon,data:t.goods}),e.combine=t=>k.combine({className:"ShoppingOrderDiscountableDiagnoser",accessor:Yn,customer:t.customer,coupons:t.coupons,tickets:t.tickets,data:t.goods}).map(s=>({...s,entries:s.entries.map(a=>({coupon_id:a.coupon_id,good_id:a.item_id,amount:a.amount}))})),e.discount=t=>k.discount({className:"ShoppingOrderDiscountableDiagnoser",accessor:Yn,customer:t.customer,coupons:t.coupons,data:t.goods})})(ba||(ba={}));const Yn={item:e=>e.commodity,volume:e=>e.volume};var lr=Object.freeze({__proto__:null,get ShoppingAdministratorDiagnoser(){return Ma},get ShoppingCartCommodityDiagnoser(){return _a},get ShoppingCartCommodityStockDiagnoser(){return F},get ShoppingCouponCriteriaDiagnoser(){return ea},get ShoppingOrderDiagnoser(){return xa},get ShoppingOrderDiscountableDiagnoser(){return ba},get ShoppingSaleDiagnoser(){return Ln},get ShoppingSaleSnapshotDiagnoser(){return Hn},get ShoppingSellerDiagnoser(){return ja}}),hr=Object.freeze({__proto__:null,shoppings:lr});async function B(e){return r.fetch(e,{...B.METADATA,template:B.METADATA.path,path:B.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/health",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/health"})(B);var ur=Object.freeze({__proto__:null,get:B});async function V(e){return r.fetch(e,{...V.METADATA,template:V.METADATA.path,path:V.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/performance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/performance"})(V);var dr=Object.freeze({__proto__:null,get:V});async function J(e){return r.fetch(e,{...J.METADATA,template:J.METADATA.path,path:J.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system"})(J);async function W(e){return r.fetch(e,{...W.METADATA,template:W.METADATA.path,path:W.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system/internal_server_error",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system/internal_server_error"})(W);async function K(e){return r.fetch(e,{...K.METADATA,template:K.METADATA.path,path:K.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system/uncaught_exception",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system/uncaught_exception"})(K);var mr=Object.freeze({__proto__:null,get:J,internal_server_error:W,uncaught_exception:K}),Ar=Object.freeze({__proto__:null,health:ur,performance:dr,system:mr});async function Q(e){return r.fetch(e,{...Q.METADATA,template:Q.METADATA.path,path:Q.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/authenticate"})(Q);async function Y(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Y.METADATA,template:Y.METADATA.path,path:Y.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/authenticate"})(Y);async function Z(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Z.METADATA,template:Z.METADATA.path,path:Z.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/authenticate/login"})(Z);var fr=Object.freeze({__proto__:null,get:Q,join:Y,login:Z});async function I(e,t){return r.fetch(e,{...I.METADATA,template:I.METADATA.path,path:I.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/coupons/:id/destroy",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/destroy`})(I);async function X(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...X.METADATA,template:X.METADATA.path,path:X.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/coupons"})(X);async function ee(e,t){return r.fetch(e,{...ee.METADATA,template:ee.METADATA.path,path:ee.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ee);async function te(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...te.METADATA,template:te.METADATA.path,path:te.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/coupons"})(te);async function se(e,t){return r.fetch(e,{...se.METADATA,template:se.METADATA.path,path:se.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(se);var Tr=Object.freeze({__proto__:null,at:se,create:X,destroy:I,erase:ee,index:te});async function ne(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ne.METADATA,template:ne.METADATA.path,path:ne.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/deposits",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/deposits"})(ne);async function ae(e,t){return r.fetch(e,{...ae.METADATA,template:ae.METADATA.path,path:ae.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/deposits/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ae);async function oe(e,t){return r.fetch(e,{...oe.METADATA,template:oe.METADATA.path,path:oe.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/deposits/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(oe);async function re(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...re.METADATA,template:re.METADATA.path,path:re.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/deposits",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/deposits"})(re);async function pe(e,t){return r.fetch(e,{...pe.METADATA,template:pe.METADATA.path,path:pe.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/deposits/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(pe);var yr=Object.freeze({__proto__:null,at:ae,create:re,erase:pe,get:oe,index:ne});async function ie(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ie.METADATA,template:ie.METADATA.path,path:ie.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/mileages/donations",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/mileages/donations"})(ie);async function ce(e,t){return r.fetch(e,{...ce.METADATA,template:ce.METADATA.path,path:ce.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/donations/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/donations/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ce);async function le(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...le.METADATA,template:le.METADATA.path,path:le.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/mileages/donations",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/mileages/donations"})(le);var gr=Object.freeze({__proto__:null,at:ce,create:le,index:ie});async function he(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...he.METADATA,template:he.METADATA.path,path:he.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/mileages",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/mileages"})(he);async function ue(e,t){return r.fetch(e,{...ue.METADATA,template:ue.METADATA.path,path:ue.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ue);async function de(e,t){return r.fetch(e,{...de.METADATA,template:de.METADATA.path,path:de.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(de);async function me(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...me.METADATA,template:me.METADATA.path,path:me.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/mileages",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/mileages"})(me);async function Ae(e,t){return r.fetch(e,{...Ae.METADATA,template:Ae.METADATA.path,path:Ae.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/mileages/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ae);var Er=Object.freeze({__proto__:null,at:ue,create:me,donations:gr,erase:Ae,get:de,index:he});async function fe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fe.METADATA,template:fe.METADATA.path,path:fe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/orders"})(fe);async function Te(e,t){return r.fetch(e,{...Te.METADATA,template:Te.METADATA.path,path:Te.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Te);var Dr=Object.freeze({__proto__:null,at:Te,index:fe});async function ye(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ye.METADATA,template:ye.METADATA.path,path:ye.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(ye);async function ge(e,t,s,a){return r.fetch(e,{...ge.METADATA,template:ge.METADATA.path,path:ge.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(ge);async function Ee(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ee.METADATA,template:Ee.METADATA.path,path:Ee.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Ee);async function De(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...De.METADATA,template:De.METADATA.path,path:De.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(De);var Mr=Object.freeze({__proto__:null,at:ge,create:Ee,index:ye,update:De});async function Me(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Me.METADATA,template:Me.METADATA.path,path:Me.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(Me);async function je(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...je.METADATA,template:je.METADATA.path,path:je.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(je);async function Ce(e,t,s){return r.fetch(e,{...Ce.METADATA,template:Ce.METADATA.path,path:Ce.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Ce);var jr=Object.freeze({__proto__:null,abridges:je,at:Ce,comments:Mr,index:Me});async function $e(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$e.METADATA,template:$e.METADATA.path,path:$e.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})($e);async function ve(e,t,s,a){return r.fetch(e,{...ve.METADATA,template:ve.METADATA.path,path:ve.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(ve);async function _e(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{..._e.METADATA,template:_e.METADATA.path,path:_e.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(_e);async function Se(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Se.METADATA,template:Se.METADATA.path,path:Se.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Se);var Cr=Object.freeze({__proto__:null,at:ve,create:_e,index:$e,update:Se});async function xe(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xe.METADATA,template:xe.METADATA.path,path:xe.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(xe);async function be(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...be.METADATA,template:be.METADATA.path,path:be.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(be);async function Ue(e,t,s){return r.fetch(e,{...Ue.METADATA,template:Ue.METADATA.path,path:Ue.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Ue);var $r=Object.freeze({__proto__:null,abridges:be,at:Ue,comments:Cr,index:xe});async function Re(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Re.METADATA,template:Re.METADATA.path,path:Re.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(Re);async function qe(e,t,s){return r.fetch(e,{...qe.METADATA,template:qe.METADATA.path,path:qe.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(qe);async function we(e,t,s){return r.fetch(e,{...we.METADATA,template:we.METADATA.path,path:we.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(we);var vr=Object.freeze({__proto__:null,at:qe,flip:we,index:Re});async function Oe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Oe.METADATA,template:Oe.METADATA.path,path:Oe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/sales/details"})(Oe);async function Pe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Pe.METADATA,template:Pe.METADATA.path,path:Pe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/sales"})(Pe);async function ke(e,t){return r.fetch(e,{...ke.METADATA,template:ke.METADATA.path,path:ke.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ke);var _r=Object.freeze({__proto__:null,at:ke,details:Oe,index:Pe,questions:jr,reviews:$r,snapshots:vr});async function Fe(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Fe.METADATA,template:Fe.METADATA.path,path:Fe.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/channels/:channelCode/categories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(Fe);async function ze(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ze.METADATA,template:ze.METADATA.path,path:ze.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ze);async function Ge(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ge.METADATA,template:Ge.METADATA.path,path:Ge.path(t)},s)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/channels/:channelCode/categories/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/merge`})(Ge);async function He(e,t){return r.fetch(e,{...He.METADATA,template:He.METADATA.path,path:He.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(He);async function Le(e,t,s){return r.fetch(e,{...Le.METADATA,template:Le.METADATA.path,path:Le.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Le);async function Ne(e,t,s){return r.fetch(e,{...Ne.METADATA,template:Ne.METADATA.path,path:Ne.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(Ne);var Sr=Object.freeze({__proto__:null,at:Le,create:Fe,index:He,invert:Ne,merge:Ge,update:ze});async function Be(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Be.METADATA,template:Be.METADATA.path,path:Be.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/systematic/channels"})(Be);async function Ve(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ve.METADATA,template:Ve.METADATA.path,path:Ve.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/channels/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ve);async function Je(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Je.METADATA,template:Je.METADATA.path,path:Je.path()},t)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/channels/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels/merge"})(Je);async function We(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...We.METADATA,template:We.METADATA.path,path:We.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels"})(We);async function Ke(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ke.METADATA,template:Ke.METADATA.path,path:Ke.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels/hierarchical"})(Ke);async function Qe(e,t){return r.fetch(e,{...Qe.METADATA,template:Qe.METADATA.path,path:Qe.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Qe);async function Ye(e,t){return r.fetch(e,{...Ye.METADATA,template:Ye.METADATA.path,path:Ye.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(Ye);var xr=Object.freeze({__proto__:null,at:Qe,categories:Sr,create:Be,get:Ye,hierarchical:Ke,index:We,merge:Je,update:Ve});async function Ze(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ze.METADATA,template:Ze.METADATA.path,path:Ze.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/systematic/sections"})(Ze);async function Ie(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ie.METADATA,template:Ie.METADATA.path,path:Ie.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/sections/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ie);async function Xe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Xe.METADATA,template:Xe.METADATA.path,path:Xe.path()},t)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/sections/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/sections/merge"})(Xe);async function et(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...et.METADATA,template:et.METADATA.path,path:et.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/sections"})(et);async function tt(e,t){return r.fetch(e,{...tt.METADATA,template:tt.METADATA.path,path:tt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(tt);async function st(e,t){return r.fetch(e,{...st.METADATA,template:st.METADATA.path,path:st.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(st);var br=Object.freeze({__proto__:null,at:tt,create:Ze,get:st,index:et,merge:Xe,update:Ie}),Ur=Object.freeze({__proto__:null,channels:xr,sections:br}),Rr=Object.freeze({__proto__:null,authenticate:fr,coupons:Tr,deposits:yr,mileages:Er,orders:Dr,sales:_r,systematic:Ur});async function nt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...nt.METADATA,template:nt.METADATA.path,path:nt.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/authenticate/password/change",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/password/change"})(nt);var qr=Object.freeze({__proto__:null,change:nt});async function at(e,t){const s=await r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...at.METADATA,template:at.METADATA.path,path:at.path()},t);return e.headers??(e.headers={}),Object.assign(e.headers,s.setHeaders),s}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/authenticate/refresh",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/refresh"})(at);async function ot(e){return r.fetch(e,{...ot.METADATA,template:ot.METADATA.path,path:ot.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate"})(ot);async function rt(e,t){const s=await r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rt.METADATA,template:rt.METADATA.path,path:rt.path()},t);return e.headers??(e.headers={}),Object.assign(e.headers,s.setHeaders),s}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate"})(rt);async function pt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...pt.METADATA,template:pt.METADATA.path,path:pt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/join",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/join"})(pt);async function it(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...it.METADATA,template:it.METADATA.path,path:it.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/login"})(it);async function ct(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ct.METADATA,template:ct.METADATA.path,path:ct.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/activate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/activate"})(ct);async function lt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...lt.METADATA,template:lt.METADATA.path,path:lt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/external",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/external"})(lt);var wr=Object.freeze({__proto__:null,activate:ct,create:rt,external:lt,get:ot,join:pt,login:it,password:qr,refresh:at});async function ht(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ht.METADATA,template:ht.METADATA.path,path:ht.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/coupons/tickets",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/coupons/tickets"})(ht);async function ut(e,t){return r.fetch(e,{...ut.METADATA,template:ut.METADATA.path,path:ut.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/coupons/tickets/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/coupons/tickets/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ut);async function dt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...dt.METADATA,template:dt.METADATA.path,path:dt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/coupons/tickets",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/coupons/tickets"})(dt);var Or=Object.freeze({__proto__:null,at:ut,create:dt,index:ht});async function mt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...mt.METADATA,template:mt.METADATA.path,path:mt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/coupons"})(mt);async function At(e,t){return r.fetch(e,{...At.METADATA,template:At.METADATA.path,path:At.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(At);var Pr=Object.freeze({__proto__:null,at:At,index:mt,tickets:Or});async function ft(e,t){return r.fetch(e,{...ft.METADATA,template:ft.METADATA.path,path:ft.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/charges/:chargeId/publish/able",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish/able`})(ft);async function Tt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Tt.METADATA,template:Tt.METADATA.path,path:Tt.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/deposits/charges/:chargeId/publish",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(Tt);var kr=Object.freeze({__proto__:null,able:ft,create:Tt});async function yt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...yt.METADATA,template:yt.METADATA.path,path:yt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/deposits/charges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/charges"})(yt);async function gt(e,t){return r.fetch(e,{...gt.METADATA,template:gt.METADATA.path,path:gt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/charges/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(gt);async function Et(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Et.METADATA,template:Et.METADATA.path,path:Et.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/deposits/charges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/deposits/charges"})(Et);async function Dt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Dt.METADATA,template:Dt.METADATA.path,path:Dt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/deposits/charges/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Dt);async function Mt(e,t){return r.fetch(e,{...Mt.METADATA,template:Mt.METADATA.path,path:Mt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/deposits/charges/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Mt);var Fr=Object.freeze({__proto__:null,at:gt,create:Et,erase:Mt,index:yt,publish:kr,update:Dt});async function jt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...jt.METADATA,template:jt.METADATA.path,path:jt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/deposits/histories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/histories"})(jt);async function Ct(e,t){return r.fetch(e,{...Ct.METADATA,template:Ct.METADATA.path,path:Ct.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/histories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/histories/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ct);async function $t(e){return r.fetch(e,{...$t.METADATA,template:$t.METADATA.path,path:$t.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/histories/balance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/histories/balance"})($t);var zr=Object.freeze({__proto__:null,at:Ct,balance:$t,index:jt}),Gr=Object.freeze({__proto__:null,charges:Fr,histories:zr});async function vt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...vt.METADATA,template:vt.METADATA.path,path:vt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/mileages/histories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/mileages/histories"})(vt);async function _t(e,t){return r.fetch(e,{..._t.METADATA,template:_t.METADATA.path,path:_t.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/mileages/histories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/mileages/histories/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(_t);async function St(e){return r.fetch(e,{...St.METADATA,template:St.METADATA.path,path:St.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/mileages/histories/balance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/mileages/histories/balance"})(St);var Hr=Object.freeze({__proto__:null,at:_t,balance:St,index:vt}),Lr=Object.freeze({__proto__:null,histories:Hr});async function xt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xt.METADATA,template:xt.METADATA.path,path:xt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/carts/commodities",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/carts/commodities"})(xt);async function bt(e,t){return r.fetch(e,{...bt.METADATA,template:bt.METADATA.path,path:bt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/carts/commodities/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(bt);async function Ut(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ut.METADATA,template:Ut.METADATA.path,path:Ut.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/carts/commodities",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/carts/commodities"})(Ut);async function Rt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rt.METADATA,template:Rt.METADATA.path,path:Rt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/carts/commodities/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Rt);async function qt(e,t){return r.fetch(e,{...qt.METADATA,template:qt.METADATA.path,path:qt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/carts/commodities/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/replica`})(qt);async function wt(e,t){return r.fetch(e,{...wt.METADATA,template:wt.METADATA.path,path:wt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/carts/commodities/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(wt);async function Ot(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ot.METADATA,template:Ot.METADATA.path,path:Ot.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/carts/commodities/discountable",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/carts/commodities/discountable"})(Ot);var Nr=Object.freeze({__proto__:null,at:bt,create:Ut,discountable:Ot,erase:wt,index:xt,replica:qt,update:Rt}),Br=Object.freeze({__proto__:null,commodities:Nr});async function Pt(e,t,s){return r.fetch(e,{...Pt.METADATA,template:Pt.METADATA.path,path:Pt.path(t,s)})}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/orders/:orderId/goods/:id/confirm",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/goods/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/confirm`})(Pt);var Vr=Object.freeze({__proto__:null,confirm:Pt});async function kt(e,t){return r.fetch(e,{...kt.METADATA,template:kt.METADATA.path,path:kt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:orderId/publish/able",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish/able`})(kt);async function Ft(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ft.METADATA,template:Ft.METADATA.path,path:Ft.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders/:orderId/publish",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(Ft);async function zt(e,t){return r.fetch(e,{...zt.METADATA,template:zt.METADATA.path,path:zt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/orders/:orderId/publish",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(zt);var Jr=Object.freeze({__proto__:null,able:kt,cancel:zt,create:Ft});async function Gt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Gt.METADATA,template:Gt.METADATA.path,path:Gt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/orders"})(Gt);async function Ht(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ht.METADATA,template:Ht.METADATA.path,path:Ht.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders/direct",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/orders/direct"})(Ht);async function Lt(e,t){return r.fetch(e,{...Lt.METADATA,template:Lt.METADATA.path,path:Lt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Lt);async function Nt(e,t){return r.fetch(e,{...Nt.METADATA,template:Nt.METADATA.path,path:Nt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:id/price",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/price`})(Nt);async function Bt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Bt.METADATA,template:Bt.METADATA.path,path:Bt.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/orders/:id/discountable",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/discountable`})(Bt);async function Vt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Vt.METADATA,template:Vt.METADATA.path,path:Vt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/orders/:id/discount",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/discount`})(Vt);async function Jt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Jt.METADATA,template:Jt.METADATA.path,path:Jt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/orders"})(Jt);async function Wt(e,t){return r.fetch(e,{...Wt.METADATA,template:Wt.METADATA.path,path:Wt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Wt);var Wr=Object.freeze({__proto__:null,at:Wt,create:Gt,direct:Ht,discount:Vt,discountable:Bt,erase:Lt,goods:Vr,index:Jt,price:Nt,publish:Jr});async function Kt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Kt.METADATA,template:Kt.METADATA.path,path:Kt.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Kt);async function Qt(e,t,s,a){return r.fetch(e,{...Qt.METADATA,template:Qt.METADATA.path,path:Qt.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Qt);async function Yt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Yt.METADATA,template:Yt.METADATA.path,path:Yt.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Yt);async function Zt(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Zt.METADATA,template:Zt.METADATA.path,path:Zt.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Zt);var Kr=Object.freeze({__proto__:null,at:Qt,create:Yt,index:Kt,update:Zt});async function It(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...It.METADATA,template:It.METADATA.path,path:It.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(It);async function Xt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Xt.METADATA,template:Xt.METADATA.path,path:Xt.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Xt);async function es(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...es.METADATA,template:es.METADATA.path,path:es.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(es);async function ts(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ts.METADATA,template:ts.METADATA.path,path:ts.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(ts);async function ss(e,t,s){return r.fetch(e,{...ss.METADATA,template:ss.METADATA.path,path:ss.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ss);var Qr=Object.freeze({__proto__:null,abridges:ts,at:ss,comments:Kr,create:It,index:es,update:Xt});async function ns(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ns.METADATA,template:ns.METADATA.path,path:ns.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(ns);async function as(e,t,s,a){return r.fetch(e,{...as.METADATA,template:as.METADATA.path,path:as.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(as);async function os(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...os.METADATA,template:os.METADATA.path,path:os.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(os);async function rs(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rs.METADATA,template:rs.METADATA.path,path:rs.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(rs);var Yr=Object.freeze({__proto__:null,at:as,create:os,index:ns,update:rs});async function ps(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ps.METADATA,template:ps.METADATA.path,path:ps.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(ps);async function is(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...is.METADATA,template:is.METADATA.path,path:is.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(is);async function cs(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...cs.METADATA,template:cs.METADATA.path,path:cs.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(cs);async function ls(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ls.METADATA,template:ls.METADATA.path,path:ls.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(ls);async function hs(e,t,s){return r.fetch(e,{...hs.METADATA,template:hs.METADATA.path,path:hs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(hs);var Zr=Object.freeze({__proto__:null,abridges:ls,at:hs,comments:Yr,create:ps,index:cs,update:is});async function us(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...us.METADATA,template:us.METADATA.path,path:us.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(us);async function ds(e,t,s){return r.fetch(e,{...ds.METADATA,template:ds.METADATA.path,path:ds.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ds);async function ms(e,t,s){return r.fetch(e,{...ms.METADATA,template:ms.METADATA.path,path:ms.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(ms);var Ir=Object.freeze({__proto__:null,at:ds,flip:ms,index:us});async function As(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...As.METADATA,template:As.METADATA.path,path:As.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/sales/details"})(As);async function fs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fs.METADATA,template:fs.METADATA.path,path:fs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/sales"})(fs);async function Ts(e,t){return r.fetch(e,{...Ts.METADATA,template:Ts.METADATA.path,path:Ts.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ts);var Xr=Object.freeze({__proto__:null,at:Ts,details:As,index:fs,questions:Qr,reviews:Zr,snapshots:Ir});async function ys(e,t){return r.fetch(e,{...ys.METADATA,template:ys.METADATA.path,path:ys.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(ys);async function gs(e,t,s){return r.fetch(e,{...gs.METADATA,template:gs.METADATA.path,path:gs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(gs);async function Es(e,t,s){return r.fetch(e,{...Es.METADATA,template:Es.METADATA.path,path:Es.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(Es);var ep=Object.freeze({__proto__:null,at:gs,index:ys,invert:Es});async function Ds(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ds.METADATA,template:Ds.METADATA.path,path:Ds.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/channels"})(Ds);async function Ms(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ms.METADATA,template:Ms.METADATA.path,path:Ms.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/channels/hierarchical"})(Ms);async function js(e,t){return r.fetch(e,{...js.METADATA,template:js.METADATA.path,path:js.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(js);async function Cs(e,t){return r.fetch(e,{...Cs.METADATA,template:Cs.METADATA.path,path:Cs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(Cs);var tp=Object.freeze({__proto__:null,at:js,categories:ep,get:Cs,hierarchical:Ms,index:Ds});async function $s(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$s.METADATA,template:$s.METADATA.path,path:$s.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/sections"})($s);async function vs(e,t){return r.fetch(e,{...vs.METADATA,template:vs.METADATA.path,path:vs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(vs);async function _s(e,t){return r.fetch(e,{..._s.METADATA,template:_s.METADATA.path,path:_s.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(_s);var sp=Object.freeze({__proto__:null,at:vs,get:_s,index:$s}),np=Object.freeze({__proto__:null,channels:tp,sections:sp}),ap=Object.freeze({__proto__:null,authenticate:wr,carts:Br,coupons:Pr,deposits:Gr,mileages:Lr,orders:Wr,sales:Xr,systematic:np});async function Ss(e){return r.fetch(e,{...Ss.METADATA,template:Ss.METADATA.path,path:Ss.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/authenticate"})(Ss);async function xs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xs.METADATA,template:xs.METADATA.path,path:xs.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/authenticate"})(xs);async function bs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...bs.METADATA,template:bs.METADATA.path,path:bs.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/authenticate/login"})(bs);var op=Object.freeze({__proto__:null,get:Ss,join:xs,login:bs});async function Us(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Us.METADATA,template:Us.METADATA.path,path:Us.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries/:deliveryId/journeys",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys`})(Us);async function Rs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rs.METADATA,template:Rs.METADATA.path,path:Rs.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/deliveries/:deliveryId/journeys/:id/complete",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/complete`})(Rs);async function qs(e,t,s){return r.fetch(e,{...qs.METADATA,template:qs.METADATA.path,path:qs.path(t,s)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/deliveries/:deliveryId/journeys/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(qs);var rp=Object.freeze({__proto__:null,complete:Rs,create:Us,erase:qs});async function ws(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ws.METADATA,template:ws.METADATA.path,path:ws.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries/:deliveryId/shippers",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/shippers`})(ws);var pp=Object.freeze({__proto__:null,create:ws});async function Os(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Os.METADATA,template:Os.METADATA.path,path:Os.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/deliveries",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/deliveries"})(Os);async function Ps(e,t){return r.fetch(e,{...Ps.METADATA,template:Ps.METADATA.path,path:Ps.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/deliveries/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ps);async function ks(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ks.METADATA,template:ks.METADATA.path,path:ks.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/deliveries"})(ks);async function Fs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Fs.METADATA,template:Fs.METADATA.path,path:Fs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/deliveries/incompletes",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/deliveries/incompletes"})(Fs);var ip=Object.freeze({__proto__:null,at:Ps,create:ks,incompletes:Fs,index:Os,journeys:rp,shippers:pp});async function zs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...zs.METADATA,template:zs.METADATA.path,path:zs.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/coupons"})(zs);async function Gs(e,t){return r.fetch(e,{...Gs.METADATA,template:Gs.METADATA.path,path:Gs.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Gs);async function Hs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Hs.METADATA,template:Hs.METADATA.path,path:Hs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/coupons"})(Hs);async function Ls(e,t){return r.fetch(e,{...Ls.METADATA,template:Ls.METADATA.path,path:Ls.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ls);var cp=Object.freeze({__proto__:null,at:Ls,create:zs,erase:Gs,index:Hs});async function Ns(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ns.METADATA,template:Ns.METADATA.path,path:Ns.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/orders"})(Ns);async function Bs(e,t){return r.fetch(e,{...Bs.METADATA,template:Bs.METADATA.path,path:Bs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Bs);var lp=Object.freeze({__proto__:null,at:Bs,index:Ns});async function Vs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Vs.METADATA,template:Vs.METADATA.path,path:Vs.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/questions/:questionId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(Vs);async function Js(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Js.METADATA,template:Js.METADATA.path,path:Js.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/questions/:questionId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(Js);var hp=Object.freeze({__proto__:null,create:Vs,update:Js});async function Ws(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ws.METADATA,template:Ws.METADATA.path,path:Ws.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Ws);async function Ks(e,t,s,a){return r.fetch(e,{...Ks.METADATA,template:Ks.METADATA.path,path:Ks.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Ks);async function Qs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Qs.METADATA,template:Qs.METADATA.path,path:Qs.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Qs);async function Ys(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ys.METADATA,template:Ys.METADATA.path,path:Ys.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Ys);var up=Object.freeze({__proto__:null,at:Ks,create:Qs,index:Ws,update:Ys});async function Zs(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Zs.METADATA,template:Zs.METADATA.path,path:Zs.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(Zs);async function Is(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Is.METADATA,template:Is.METADATA.path,path:Is.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(Is);async function Xs(e,t,s){return r.fetch(e,{...Xs.METADATA,template:Xs.METADATA.path,path:Xs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Xs);var dp=Object.freeze({__proto__:null,abridges:Is,answer:hp,at:Xs,comments:up,index:Zs});async function en(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...en.METADATA,template:en.METADATA.path,path:en.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/reviews/:reviewId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(en);async function tn(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...tn.METADATA,template:tn.METADATA.path,path:tn.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/reviews/:reviewId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(tn);var mp=Object.freeze({__proto__:null,create:en,update:tn});async function sn(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...sn.METADATA,template:sn.METADATA.path,path:sn.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(sn);async function nn(e,t,s,a){return r.fetch(e,{...nn.METADATA,template:nn.METADATA.path,path:nn.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(nn);async function an(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...an.METADATA,template:an.METADATA.path,path:an.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(an);async function on(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...on.METADATA,template:on.METADATA.path,path:on.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(on);var Ap=Object.freeze({__proto__:null,at:nn,create:an,index:sn,update:on});async function rn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rn.METADATA,template:rn.METADATA.path,path:rn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(rn);async function pn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...pn.METADATA,template:pn.METADATA.path,path:pn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(pn);async function cn(e,t,s){return r.fetch(e,{...cn.METADATA,template:cn.METADATA.path,path:cn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(cn);var fp=Object.freeze({__proto__:null,abridges:pn,answer:mp,at:cn,comments:Ap,index:rn});async function ln(e,t,s){return r.fetch(e,{...ln.METADATA,template:ln.METADATA.path,path:ln.path(t,s)})}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/snapshots/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/replica`})(ln);async function hn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...hn.METADATA,template:hn.METADATA.path,path:hn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(hn);async function un(e,t,s){return r.fetch(e,{...un.METADATA,template:un.METADATA.path,path:un.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(un);async function dn(e,t,s){return r.fetch(e,{...dn.METADATA,template:dn.METADATA.path,path:dn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(dn);var Tp=Object.freeze({__proto__:null,at:un,flip:dn,index:hn,replica:ln});async function mn(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...mn.METADATA,template:mn.METADATA.path,path:mn.path(t,s,a)},o)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements`})(mn);async function An(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...An.METADATA,template:An.METADATA.path,path:An.path(t,s,a)},o)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements`})(An);async function fn(e,t,s,a,o,i){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fn.METADATA,template:fn.METADATA.path,path:fn.path(t,s,a,o)},i)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a,o)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements/${encodeURIComponent((o==null?void 0:o.toString())??"null")}`})(fn);async function Tn(e,t,s,a,o){return r.fetch(e,{...Tn.METADATA,template:Tn.METADATA.path,path:Tn.path(t,s,a,o)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a,o)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements/${encodeURIComponent((o==null?void 0:o.toString())??"null")}`})(Tn);var yp=Object.freeze({__proto__:null,create:An,erase:Tn,index:mn,update:fn}),gp=Object.freeze({__proto__:null,supplements:yp}),Ep=Object.freeze({__proto__:null,stocks:gp});async function yn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...yn.METADATA,template:yn.METADATA.path,path:yn.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/sales"})(yn);async function gn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...gn.METADATA,template:gn.METADATA.path,path:gn.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(gn);async function En(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...En.METADATA,template:En.METADATA.path,path:En.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id/open",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/open`})(En);async function Dn(e,t){return r.fetch(e,{...Dn.METADATA,template:Dn.METADATA.path,path:Dn.path(t)})}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/replica`})(Dn);async function Mn(e,t){return r.fetch(e,{...Mn.METADATA,template:Mn.METADATA.path,path:Mn.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:id/pause",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/pause`})(Mn);async function jn(e,t){return r.fetch(e,{...jn.METADATA,template:jn.METADATA.path,path:jn.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:id/suspend",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/suspend`})(jn);async function Cn(e,t){return r.fetch(e,{...Cn.METADATA,template:Cn.METADATA.path,path:Cn.path(t)})}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id/restore",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/restore`})(Cn);async function $n(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$n.METADATA,template:$n.METADATA.path,path:$n.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/sales/details"})($n);async function vn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...vn.METADATA,template:vn.METADATA.path,path:vn.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/sales"})(vn);async function _n(e,t){return r.fetch(e,{..._n.METADATA,template:_n.METADATA.path,path:_n.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(_n);var Dp=Object.freeze({__proto__:null,at:_n,create:yn,details:$n,index:vn,open:En,pause:Mn,questions:dp,replica:Dn,restore:Cn,reviews:fp,snapshots:Tp,suspend:jn,units:Ep,update:gn});async function Sn(e,t){return r.fetch(e,{...Sn.METADATA,template:Sn.METADATA.path,path:Sn.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(Sn);async function xn(e,t,s){return r.fetch(e,{...xn.METADATA,template:xn.METADATA.path,path:xn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(xn);async function bn(e,t,s){return r.fetch(e,{...bn.METADATA,template:bn.METADATA.path,path:bn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(bn);var Mp=Object.freeze({__proto__:null,at:xn,index:Sn,invert:bn});async function Un(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Un.METADATA,template:Un.METADATA.path,path:Un.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/channels"})(Un);async function Rn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rn.METADATA,template:Rn.METADATA.path,path:Rn.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/channels/hierarchical"})(Rn);async function qn(e,t){return r.fetch(e,{...qn.METADATA,template:qn.METADATA.path,path:qn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(qn);async function wn(e,t){return r.fetch(e,{...wn.METADATA,template:wn.METADATA.path,path:wn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(wn);var jp=Object.freeze({__proto__:null,at:qn,categories:Mp,get:wn,hierarchical:Rn,index:Un});async function On(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...On.METADATA,template:On.METADATA.path,path:On.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/sections"})(On);async function Pn(e,t){return r.fetch(e,{...Pn.METADATA,template:Pn.METADATA.path,path:Pn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Pn);async function kn(e,t){return r.fetch(e,{...kn.METADATA,template:kn.METADATA.path,path:kn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(kn);var Cp=Object.freeze({__proto__:null,at:Pn,get:kn,index:On}),$p=Object.freeze({__proto__:null,channels:jp,sections:Cp}),vp=Object.freeze({__proto__:null,authenticate:op,coupons:cp,deliveries:ip,orders:lp,sales:Dp,systematic:$p}),_p=Object.freeze({__proto__:null,admins:Rr,customers:ap,sellers:vp}),Sp=Object.freeze({__proto__:null,monitors:Ar,shoppings:_p}),Ia=Object.freeze({__proto__:null,HttpError:so.HttpError,diagnosers:hr,functional:Sp});const xp=e=>{const[t,s]=q.useState(null);if(q.useEffect(()=>{(async()=>{s(eo.application({model:"chatgpt",document:to.convert(await fetch("https://raw.githubusercontent.com/samchon/shopping-backend/refs/heads/master/packages/api/customer.swagger.json").then(o=>o.json()))}))})().catch(console.error)},[]),t===null)return j.jsxs("div",{children:[j.jsx("h2",{children:"Loading Swagger document"}),j.jsx("hr",{}),j.jsx("p",{children:"Wait for a moment please."}),j.jsx("p",{children:"Loading Swagger document..."})]});const a=new wo({model:"chatgpt",vendor:{api:e.api,model:"gpt-4o-mini"},controllers:[{protocol:"http",name:"main",application:t,connection:e.connection}],config:{locale:e.locale}});return j.jsx(Oo,{agent:a,title:"Agentica Shopping Chatbot"})},bp=()=>{const[e,t]=q.useState(""),[s,a]=q.useState("gpt-4o-mini"),[o,i]=q.useState(window.navigator.language),[p,A]=q.useState("John Doe"),[f,h]=q.useState("821012345678"),[y,M]=q.useState(!1),[x,E]=q.useState(null),g=async()=>{M(!0);const D={host:"https://shopping-be.wrtn.ai"};await Ia.functional.shoppings.customers.authenticate.create(D,{channel_code:"samchon",external_user:null,href:window.location.href,referrer:window.document.referrer}),await Ia.functional.shoppings.customers.authenticate.activate(D,{mobile:f,name:p}),E({api:new zo({apiKey:e,dangerouslyAllowBrowser:!0}),connection:D,name:p,mobile:f,locale:o})};return j.jsx("div",{style:{width:"100%",height:"100%",overflow:x!==null?void 0:"auto"},children:x!==null?j.jsx(xp,{...x}):j.jsxs(Po,{style:{width:"calc(100% - 60px)",padding:15,margin:15},children:[j.jsx(In,{variant:"h4",children:"Shopping AI Chatbot"}),j.jsx("br",{}),j.jsx(Go,{}),j.jsx("br",{}),"Demonstration of Agentica with Shopping Backend API.",j.jsx("br",{}),j.jsx("br",{}),j.jsx(Jo,{href:"https://github.com/samchon/shopping-backend",target:"_blank",children:"https://github.com/samchon/shopping-backend"}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(In,{variant:"h6",children:" OpenAI Configuration "}),j.jsx(Qn,{onChange:D=>t(D.target.value),defaultValue:e,label:"OpenAI API Key",variant:"outlined",placeholder:"Your OpenAI API Key",error:e.length===0}),j.jsx("br",{}),j.jsxs(ko,{defaultValue:s,onChange:(D,S)=>a(S),style:{paddingLeft:15},children:[j.jsx(Ba,{control:j.jsx(Va,{}),label:"GPT-4o Mini",value:"gpt-4o-mini"}),j.jsx(Ba,{control:j.jsx(Va,{}),label:"GPT-4o",value:"gpt-4o"})]}),j.jsx("br",{}),j.jsx(In,{variant:"h6",children:" Membership Information "}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>i(D.target.value),defaultValue:o,label:"Locale",variant:"outlined",error:o.length===0}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>A(D.target.value),defaultValue:p,label:"Name",variant:"outlined",error:p.length===0}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>h(D.target.value),defaultValue:f,label:"Mobile",variant:"outlined",error:f.length===0}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(Fo,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:y||e.length===0||o.length===0||p.length===0||f.length===0,onClick:()=>g(),children:y?"Starting...":"Start AI Chatbot"})]})})};Eo(window.document.getElementById("root")).render(j.jsx(bp,{}));
|
|
1
|
+
import{a as lo,g as ho,J as Kn,i as Zn,r as q,u as uo,j,s as mo,e as Ao,z as Xa,f as fo,T as In,m as To,D as yo,K as Na,M as go,N as b,o as Eo}from"../client-BVv4NBtY.js";import{u as Do,C as Mo,h as jo,G as Co,i as $o,H as eo,j as vo,L as _o,k as So,l as xo,O as to,m as bo,n as Uo,o as Ro,S as qo,v as ga,p as u,A as wo,f as Oo,F as Po,T as Qn,R as ko,c as Ba,d as Va,B as Fo,e as zo}from"../AgenticaChatApplication-lWIm50QF.js";import{_ as v,a as O}from"../_isFormatUri-YqTfGpHo.js";import{D as Go}from"../Divider-DaLcPLlq.js";function Ho(e){return ho("MuiLink",e)}const Lo=lo("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),No=({theme:e,ownerState:t})=>{const s=t.color,a=Kn(e,`palette.${s}.main`,!1)||Kn(e,`palette.${s}`,!1)||t.color,o=Kn(e,`palette.${s}.mainChannel`)||Kn(e,`palette.${s}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Zn(a,.4)},Ja={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Bo=e=>{const{classes:t,component:s,focusVisible:a,underline:o}=e,i={root:["root",`underline${Xa(o)}`,s==="button"&&"button",a&&"focusVisible"]};return fo(i,Ho,t)},Vo=mo(In,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:s}=e;return[t.root,t[`underline${Xa(s.underline)}`],s.component==="button"&&t.button]}})(To(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:s})=>t==="always"&&s.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(yo()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Zn(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Zn(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Zn(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Lo.focusVisible}`]:{outline:"auto"}}}]}))),Jo=q.forwardRef(function(t,s){const a=uo({props:t,name:"MuiLink"}),o=Do(),{className:i,color:p="primary",component:A="a",onBlur:f,onFocus:h,TypographyClasses:y,underline:M="always",variant:x="inherit",sx:E,...g}=a,[D,S]=q.useState(!1),c=_=>{Na(_.target)||S(!1),f&&f(_)},T=_=>{Na(_.target)&&S(!0),h&&h(_)},l={...a,color:p,component:A,focusVisible:D,underline:M,variant:x},C=Bo(l);return j.jsx(Vo,{color:p,className:Ao(C.root,i),classes:y,component:A,onBlur:c,onFocus:T,ref:s,ownerState:l,variant:x,...g,sx:[...Ja[p]===void 0?[{color:p}]:[],...Array.isArray(E)?E:[E]],style:{...g.style,...M==="always"&&p!=="inherit"&&!Ja[p]&&{"--Link-underlineColor":No({theme:o,ownerState:l})}}})});var Ea;Ea||(Ea={});var Da;Da||(Da={});const Wo=Object.freeze(Object.defineProperty({__proto__:null,get ChatGptTypeChecker(){return Mo},ClaudeTypeChecker:jo,get GeminiTypeChecker(){return Co},HttpError:$o,get HttpLlm(){return eo},get HttpMigration(){return vo},get IClaudeSchema(){return Ea},get ILlamaSchema(){return Da},LlamaTypeChecker:_o,get LlmTypeCheckerV3(){return So},get LlmTypeCheckerV3_1(){return xo},get OpenApi(){return to},get OpenApiTypeChecker(){return bo},get OpenApiV3(){return Uo},get OpenApiV3_1(){return Ro},get SwaggerV2(){return qo}},Symbol.toStringTag,{value:"Module"}));var so={},no={};Object.defineProperty(no,"__esModule",{value:!0});var Ua={};const Ko=go(Wo);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HttpError=void 0;var t=Ko;Object.defineProperty(e,"HttpError",{enumerable:!0,get:function(){return t.HttpError}})})(Ua);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});var oo={};Object.defineProperty(oo,"__esModule",{value:!0});var ro={};Object.defineProperty(ro,"__esModule",{value:!0});var po={};Object.defineProperty(po,"__esModule",{value:!0});var io={};Object.defineProperty(io,"__esModule",{value:!0});(function(e){var t=b&&b.__createBinding||(Object.create?function(a,o,i,p){p===void 0&&(p=i);var A=Object.getOwnPropertyDescriptor(o,i);(!A||("get"in A?!o.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(a,p,A)}:function(a,o,i,p){p===void 0&&(p=i),a[p]=o[i]}),s=b&&b.__exportStar||function(a,o){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,a,i)};Object.defineProperty(e,"__esModule",{value:!0}),s(no,e),s(Ua,e),s(ao,e),s(oo,e),s(ro,e),s(po,e),s(io,e)})(so);var Ra={};Object.defineProperty(Ra,"__esModule",{value:!0});var Fn=Ra._isFormatIpv4=void 0;const Qo=e=>Yo.test(e);Fn=Ra._isFormatIpv4=Qo;const Yo=/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/;var qa={};Object.defineProperty(qa,"__esModule",{value:!0});var zn=qa._isFormatIpv6=void 0;const Zo=e=>Io.test(e);zn=qa._isFormatIpv6=Zo;const Io=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i;var wa={};Object.defineProperty(wa,"__esModule",{value:!0});var $=wa._isFormatDateTime=void 0;const Xo=e=>er.test(e);$=wa._isFormatDateTime=Xo;const er=/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T|\s)([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i;var Oa={};Object.defineProperty(Oa,"__esModule",{value:!0});var Pa=Oa._miscCloneAny=void 0;const tr=e=>P(e);Pa=Oa._miscCloneAny=tr;const P=e=>{if(e!==void 0){if(typeof e=="object"){if(e===null)return null;if(Array.isArray(e))return e.map(P);if(e instanceof Date)return new Date(e);if(e instanceof Uint8Array)return new Uint8Array(e);if(e instanceof Uint8ClampedArray)return new Uint8ClampedArray(e);if(e instanceof Uint16Array)return new Uint16Array(e);if(e instanceof Uint32Array)return new Uint32Array(e);if(e instanceof BigUint64Array)return new BigUint64Array(e);if(e instanceof Int8Array)return new Int8Array(e);if(e instanceof Int16Array)return new Int16Array(e);if(e instanceof Int32Array)return new Int32Array(e);if(e instanceof BigInt64Array)return new BigInt64Array(e);if(e instanceof Float32Array)return new Float32Array(e);if(e instanceof Float64Array)return new Float64Array(e);if(e instanceof ArrayBuffer)return e.slice(0);if(e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView)return new DataView(e.buffer.slice(0));if(typeof File<"u"&&e instanceof File)return new File([e],e.name,{type:e.type});if(typeof Blob<"u"&&e instanceof Blob)return new Blob([e],{type:e.type});if(e instanceof Set)return new Set([...e].map(P));if(e instanceof Map)return new Map([...e].map(([t,s])=>[P(t),P(s)]));if(e instanceof WeakSet||e instanceof WeakMap)throw new Error("WeakSet and WeakMap are not supported");return e.valueOf()!==e?P(e.valueOf()):Object.fromEntries(Object.entries(e).map(([t,s])=>[t,P(s)]).filter(([,t])=>t!==void 0))}else if(typeof e=="function")return;return e}};var ka={};Object.defineProperty(ka,"__esModule",{value:!0});var Gn=ka._isFormatEmail=void 0;const sr=e=>nr.test(e);Gn=ka._isFormatEmail=sr;const nr=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;var Fa={},ra={},L=b&&b.__assign||function(){return L=Object.assign||function(e){for(var t,s=1,a=arguments.length;s<a;s++){t=arguments[s];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},L.apply(this,arguments)},Ta=b&&b.__awaiter||function(e,t,s,a){function o(i){return i instanceof s?i:new s(function(p){p(i)})}return new(s||(s=Promise))(function(i,p){function A(y){try{h(a.next(y))}catch(M){p(M)}}function f(y){try{h(a.throw(y))}catch(M){p(M)}}function h(y){y.done?i(y.value):o(y.value).then(A,f)}h((a=a.apply(e,t||[])).next())})},ya=b&&b.__generator||function(e,t){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,p=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return p.next=A(0),p.throw=A(1),p.return=A(2),typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function A(h){return function(y){return f([h,y])}}function f(h){if(a)throw new TypeError("Generator is already executing.");for(;p&&(p=0,h[0]&&(s=0)),s;)try{if(a=1,o&&(i=h[0]&2?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[h[0]&2,i.value]),h[0]){case 0:case 1:i=h;break;case 4:return s.label++,{value:h[1],done:!1};case 5:s.label++,o=h[1],h=[0];continue;case 7:h=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){s=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){s.label=h[1];break}if(h[0]===6&&s.label<i[1]){s.label=i[1],i=h;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(h);break}i[2]&&s.ops.pop(),s.trys.pop();continue}h=t.call(e,s)}catch(y){h=[6,y],o=0}finally{a=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Xn=b&&b.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,s=t&&e[t],a=0;if(s)return s.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},pa=b&&b.__read||function(e,t){var s=typeof Symbol=="function"&&e[Symbol.iterator];if(!s)return e;var a=s.call(e),o,i=[],p;try{for(;(t===void 0||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(A){p={error:A}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(p)throw p.error}}return i},ar=b&&b.__spreadArray||function(e,t,s){if(s||arguments.length===2)for(var a=0,o=t.length,i;a<o;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(ra,"__esModule",{value:!0});ra.FetcherBase=void 0;var or=Ua,Wa;(function(e){var t=this;e.request=function(a){return function(o,i,p,A){return Ta(t,void 0,void 0,function(){var f;return ya(this,function(h){switch(h.label){case 0:return[4,s("fetch")(a)(o,i,p,A)];case 1:if(f=h.sent(),f.success===!1)throw new or.HttpError(i.method,i.path,f.status,f.headers,f.data);return[2,f.data]}})})}},e.propagate=function(a){return function(o,i,p,A){return Ta(t,void 0,void 0,function(){return ya(this,function(f){return[2,s("propagate")(a)(o,i,p,A)]})})}};var s=function(a){return function(o){return function(i,p,A,f){return Ta(t,void 0,void 0,function(){var h,y,M,x,E,g,D,S,c,T,l,C,_,n,m,d,R,z,ia,ca,la,ha,ua,da,ma;return ya(this,function(U){switch(U.label){case 0:if(h=L({},(R=i.headers)!==null&&R!==void 0?R:{}),A!==void 0){if(((z=p.request)===null||z===void 0?void 0:z.type)===void 0)throw new Error("Error on ".concat(o.className,".fetch(): no content-type being configured."));p.request.type!=="multipart/form-data"&&(h["Content-Type"]=p.request.type)}else A===void 0&&h["Content-Type"]!==void 0&&delete h["Content-Type"];y=L(L({},(ia=i.options)!==null&&ia!==void 0?ia:{}),{method:p.method,headers:function(){var Nn,za,Bn,Ga,Aa=[];try{for(var Vn=Xn(Object.entries(h)),G=Vn.next();!G.done;G=Vn.next()){var Ha=pa(G.value,2),La=Ha[0],Jn=Ha[1];if(Jn!==void 0)if(Array.isArray(Jn))try{for(var Wn=(Bn=void 0,Xn(Jn)),H=Wn.next();!H.done;H=Wn.next()){var co=H.value;Aa.push([La,String(co)])}}catch(fa){Bn={error:fa}}finally{try{H&&!H.done&&(Ga=Wn.return)&&Ga.call(Wn)}finally{if(Bn)throw Bn.error}}else Aa.push([La,String(Jn)])}}catch(fa){Nn={error:fa}}finally{try{G&&!G.done&&(za=Vn.return)&&za.call(Vn)}finally{if(Nn)throw Nn.error}}return Aa}()}),A!==void 0&&(y.body=o.encode(((ca=p.request)===null||ca===void 0?void 0:ca.type)==="application/x-www-form-urlencoded"?rr(A):((la=p.request)===null||la===void 0?void 0:la.type)==="multipart/form-data"?pr(A):((ha=p.request)===null||ha===void 0?void 0:ha.type)!=="text/plain"?(f??JSON.stringify)(A):A,h)),M=i.host[i.host.length-1]!=="/"&&p.path[0]!=="/"?"/".concat(p.path):p.path,x=new URL("".concat(i.host).concat(M)),E={route:p,path:M,status:null,input:A,output:void 0,started_at:new Date,respond_at:null,completed_at:null},U.label=1;case 1:return U.trys.push([1,12,13,18]),[4,((ua=i.fetch)!==null&&ua!==void 0?ua:fetch)(x.href,y)];case 2:return g=U.sent(),E.respond_at=new Date,E.status=g.status,D={success:g.status===200||g.status===201||g.status===p.status,status:g.status,headers:ir(g.headers),data:void 0},D.success!==!1?[3,4]:(S=D,[4,g.text()]);case 3:if(S.data=U.sent(),c=g.headers.get("content-type"),a!=="fetch"&&c&&c.indexOf("application/json")!==-1)try{D.data=JSON.parse(D.data)}catch{}return[3,11];case 4:return p.method!=="HEAD"?[3,5]:(D.data=void 0,[3,11]);case 5:return((da=p.response)===null||da===void 0?void 0:da.type)!=="application/json"?[3,7]:[4,g.text()];case 6:return T=U.sent(),D.data=T.length?JSON.parse(T):void 0,[3,11];case 7:return((ma=p.response)===null||ma===void 0?void 0:ma.type)!=="application/x-www-form-urlencoded"?[3,9]:(C=URLSearchParams.bind,[4,g.text()]);case 8:return l=new(C.apply(URLSearchParams,[void 0,U.sent()])),D.data=p.parseQuery?p.parseQuery(l):l,[3,11];case 9:return _=D,m=(n=o).decode,[4,g.text()];case 10:_.data=m.apply(n,[U.sent(),D.headers]),U.label=11;case 11:return E.output=D.data,[2,D];case 12:throw d=U.sent(),d;case 13:if(E.completed_at=new Date,!i.logger)return[3,17];U.label=14;case 14:return U.trys.push([14,16,,17]),[4,i.logger(E)];case 15:return U.sent(),[3,17];case 16:return U.sent(),[3,17];case 17:return[7];case 18:return[2]}})})}}}})(Wa||(ra.FetcherBase=Wa={}));var rr=function(e){var t,s,a=new URLSearchParams,o=function(y,M){if(M===void 0)return"continue";Array.isArray(M)?M.forEach(function(x){return a.append(y,String(x))}):a.set(y,String(M))};try{for(var i=Xn(Object.entries(e)),p=i.next();!p.done;p=i.next()){var A=pa(p.value,2),f=A[0],h=A[1];o(f,h)}}catch(y){t={error:y}}finally{try{p&&!p.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}return a},pr=function(e){var t,s,a=new FormData,o=function(y){return function(M){M!==void 0&&(typeof File=="function"&&M instanceof File?a.append(y,M,M.name):a.append(y,M))}};try{for(var i=Xn(Object.entries(e)),p=i.next();!p.done;p=i.next()){var A=pa(p.value,2),f=A[0],h=A[1];Array.isArray(h)?h.map(o(f)):o(f)(h)}}catch(y){t={error:y}}finally{try{p&&!p.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}return a},ir=function(e){var t={};return e.forEach(function(s,a){var o,i;a==="set-cookie"?((i=t[a])!==null&&i!==void 0||(t[a]=[]),(o=t[a]).push.apply(o,ar([],pa(s.split(";").map(function(p){return p.trim()})),!1))):t[a]=s}),t},Ka=b&&b.__awaiter||function(e,t,s,a){function o(i){return i instanceof s?i:new s(function(p){p(i)})}return new(s||(s=Promise))(function(i,p){function A(y){try{h(a.next(y))}catch(M){p(M)}}function f(y){try{h(a.throw(y))}catch(M){p(M)}}function h(y){y.done?i(y.value):o(y.value).then(A,f)}h((a=a.apply(e,t||[])).next())})},Qa=b&&b.__generator||function(e,t){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,p=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return p.next=A(0),p.throw=A(1),p.return=A(2),typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function A(h){return function(y){return f([h,y])}}function f(h){if(a)throw new TypeError("Generator is already executing.");for(;p&&(p=0,h[0]&&(s=0)),s;)try{if(a=1,o&&(i=h[0]&2?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[h[0]&2,i.value]),h[0]){case 0:case 1:i=h;break;case 4:return s.label++,{value:h[1],done:!1};case 5:s.label++,o=h[1],h=[0];continue;case 7:h=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){s=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){s.label=h[1];break}if(h[0]===6&&s.label<i[1]){s.label=i[1],i=h;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(h);break}i[2]&&s.ops.pop(),s.trys.pop();continue}h=t.call(e,s)}catch(y){h=[6,y],o=0}finally{a=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(Fa,"__esModule",{value:!0});var r=Fa.PlainFetcher=void 0,Ya=ra,Za;(function(e){function t(a,o,i,p){return Ka(this,void 0,void 0,function(){var A,f;return Qa(this,function(h){if(((A=o.request)===null||A===void 0?void 0:A.encrypted)===!0||((f=o.response)===null||f===void 0?void 0:f.encrypted)===!0)throw new Error("Error on PlainFetcher.fetch(): PlainFetcher doesn't have encryption ability. Use EncryptedFetcher instead.");return[2,Ya.FetcherBase.request({className:"PlainFetcher",encode:function(y){return y},decode:function(y){return y}})(a,o,i,p)]})})}e.fetch=t;function s(a,o,i,p){return Ka(this,void 0,void 0,function(){var A,f;return Qa(this,function(h){if(((A=o.request)===null||A===void 0?void 0:A.encrypted)===!0||((f=o.response)===null||f===void 0?void 0:f.encrypted)===!0)throw new Error("Error on PlainFetcher.propagate(): PlainFetcher doesn't have encryption ability. Use EncryptedFetcher instead.");return[2,Ya.FetcherBase.propagate({className:"PlainFetcher",encode:function(y){return y},decode:function(y){return y}})(a,o,i,p)]})})}e.propagate=s})(Za||(r=Fa.PlainFetcher=Za={}));var Ma;(function(e){e.invert=t=>{var i;const s=t.citizen,a=t.member,o=(i=t.member)==null?void 0:i.administrator;return!s||!a||!o?null:{id:o.id,type:"administrator",citizen:s,customer:(()=>{const p=n=>typeof n.id=="string"&&v(n.id)&&typeof n.channel=="object"&&n.channel!==null&&A(n.channel)&&(n.external_user===null||typeof n.external_user=="object"&&n.external_user!==null&&f(n.external_user))&&typeof n.href=="string"&&O(n.href)&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0))&&typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip))&&typeof n.created_at=="string"&&$(n.created_at),A=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.code=="string"&&typeof n.name=="string",f=n=>typeof n.id=="string"&&v(n.id)&&(n.citizen===null||typeof n.citizen=="object"&&n.citizen!==null&&h(n.citizen))&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.application=="string"&&typeof n.uid=="string"&&typeof n.nickname=="string"&&!0,h=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.mobile=="string"&&RegExp("^[0-9]*$").test(n.mobile)&&typeof n.name=="string",y=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&((typeof n.channel=="object"&&n.channel!==null||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&M(n.channel,m+".channel",d)||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&(n.external_user===null||(typeof n.external_user=="object"&&n.external_user!==null||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&x(n.external_user,m+".external_user",d)||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&(typeof n.href=="string"&&(O(n.href)||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'string & Format<"uri">',value:n.href},l))||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'(string & Format<"uri">)',value:n.href},l))&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'(string & (Format<"uri"> | MaxLength<0>))',value:n.referrer},l))||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'((string & (Format<"uri"> | MaxLength<0>)) | null)',value:n.referrer},l))&&(typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip)||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l)),M=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.code=="string"||u(d,{method:"typia.misc.assertClone",path:m+".code",expected:"string",value:n.code},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"string",value:n.name},l)),x=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(n.citizen===null||(typeof n.citizen=="object"&&n.citizen!==null||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&E(n.citizen,m+".citizen",d)||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.application=="string"||u(d,{method:"typia.misc.assertClone",path:m+".application",expected:"string",value:n.application},l))&&(typeof n.uid=="string"||u(d,{method:"typia.misc.assertClone",path:m+".uid",expected:"string",value:n.uid},l))&&(typeof n.nickname=="string"||u(d,{method:"typia.misc.assertClone",path:m+".nickname",expected:"string",value:n.nickname},l))&&!0,E=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.mobile=="string"&&(RegExp("^[0-9]*$").test(n.mobile)||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'string & Pattern<"^[0-9]*$">',value:n.mobile},l))||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'(string & Pattern<"^[0-9]*$"> & JsonSchemaPlugin<__type>)',value:n.mobile},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"(string & JsonSchemaPlugin<__type>)",value:n.name},l)),g=n=>({id:n.id,channel:D(n.channel),external_user:n.external_user?S(n.external_user):n.external_user,href:n.href,referrer:n.referrer,ip:n.ip,created_at:n.created_at}),D=n=>({id:n.id,created_at:n.created_at,code:n.code,name:n.name}),S=n=>({id:n.id,citizen:n.citizen?c(n.citizen):n.citizen,created_at:n.created_at,application:n.application,uid:n.uid,nickname:n.nickname,data:Pa(n.data)}),c=n=>({id:n.id,created_at:n.created_at,mobile:n.mobile,name:n.name}),T=n=>typeof n=="object"&&n!==null&&p(n);let l;const C=(n,m)=>(T(n)===!1&&(l=m,((d,R,z=!0)=>(typeof d=="object"&&d!==null||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))&&y(d,R+"",!0)||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))(n,"$input",!0)),n),_=n=>g(n);return(n,m)=>_(C(n,m))})()(t),member:(()=>{const p=c=>c.map(T=>x(T)),A=c=>typeof c.id=="string"&&v(c.id)&&typeof c.nickname=="string"&&Array.isArray(c.emails)&&c.emails.every(T=>typeof T=="object"&&T!==null&&f(T))&&typeof c.created_at=="string"&&$(c.created_at),f=c=>typeof c.id=="string"&&v(c.id)&&typeof c.value=="string"&&Gn(c.value)&&typeof c.created_at=="string"&&$(c.created_at),h=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.nickname=="string"||u(l,{method:"typia.misc.assertClone",path:T+".nickname",expected:"string",value:c.nickname},g))&&((Array.isArray(c.emails)||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&c.emails.every((C,_)=>(typeof C=="object"&&C!==null||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))&&y(C,T+".emails["+_+"]",l)||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),y=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.value=="string"&&(Gn(c.value)||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'string & Format<"email">',value:c.value},g))||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'(string & Format<"email">)',value:c.value},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),M=c=>({id:c.id,nickname:c.nickname,emails:p(c.emails),created_at:c.created_at}),x=c=>({id:c.id,value:c.value,created_at:c.created_at}),E=c=>typeof c=="object"&&c!==null&&A(c);let g;const D=(c,T)=>(E(c)===!1&&(g=T,((l,C,_=!0)=>(typeof l=="object"&&l!==null||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))&&h(l,C+"",!0)||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))(c,"$input",!0)),c),S=c=>M(c);return(c,T)=>S(D(c,T))})()(a),created_at:o.created_at}}})(Ma||(Ma={}));var ja;(function(e){e.invert=t=>{var i;const s=t.citizen,a=t.member,o=(i=t.member)==null?void 0:i.seller;return!s||!a||!o?null:{id:o.id,type:"seller",citizen:s,customer:(()=>{const p=n=>typeof n.id=="string"&&v(n.id)&&typeof n.channel=="object"&&n.channel!==null&&A(n.channel)&&(n.external_user===null||typeof n.external_user=="object"&&n.external_user!==null&&f(n.external_user))&&typeof n.href=="string"&&O(n.href)&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0))&&typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip))&&typeof n.created_at=="string"&&$(n.created_at),A=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.code=="string"&&typeof n.name=="string",f=n=>typeof n.id=="string"&&v(n.id)&&(n.citizen===null||typeof n.citizen=="object"&&n.citizen!==null&&h(n.citizen))&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.application=="string"&&typeof n.uid=="string"&&typeof n.nickname=="string"&&!0,h=n=>typeof n.id=="string"&&v(n.id)&&typeof n.created_at=="string"&&$(n.created_at)&&typeof n.mobile=="string"&&RegExp("^[0-9]*$").test(n.mobile)&&typeof n.name=="string",y=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&((typeof n.channel=="object"&&n.channel!==null||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&M(n.channel,m+".channel",d)||u(d,{method:"typia.misc.assertClone",path:m+".channel",expected:"IShoppingChannel",value:n.channel},l))&&(n.external_user===null||(typeof n.external_user=="object"&&n.external_user!==null||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&x(n.external_user,m+".external_user",d)||u(d,{method:"typia.misc.assertClone",path:m+".external_user",expected:"(IShoppingExternalUser | null)",value:n.external_user},l))&&(typeof n.href=="string"&&(O(n.href)||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'string & Format<"uri">',value:n.href},l))||u(d,{method:"typia.misc.assertClone",path:m+".href",expected:'(string & Format<"uri">)',value:n.href},l))&&(n.referrer===null||typeof n.referrer=="string"&&(O(n.referrer)||n.referrer.length<=0||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'(string & (Format<"uri"> | MaxLength<0>))',value:n.referrer},l))||u(d,{method:"typia.misc.assertClone",path:m+".referrer",expected:'((string & (Format<"uri"> | MaxLength<0>)) | null)',value:n.referrer},l))&&(typeof n.ip=="string"&&(Fn(n.ip)||zn(n.ip)||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))||u(d,{method:"typia.misc.assertClone",path:m+".ip",expected:'(string & (Format<"ipv4"> | Format<"ipv6">))',value:n.ip},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l)),M=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.code=="string"||u(d,{method:"typia.misc.assertClone",path:m+".code",expected:"string",value:n.code},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"string",value:n.name},l)),x=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(n.citizen===null||(typeof n.citizen=="object"&&n.citizen!==null||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&E(n.citizen,m+".citizen",d)||u(d,{method:"typia.misc.assertClone",path:m+".citizen",expected:"(IShoppingCitizen | null)",value:n.citizen},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.application=="string"||u(d,{method:"typia.misc.assertClone",path:m+".application",expected:"string",value:n.application},l))&&(typeof n.uid=="string"||u(d,{method:"typia.misc.assertClone",path:m+".uid",expected:"string",value:n.uid},l))&&(typeof n.nickname=="string"||u(d,{method:"typia.misc.assertClone",path:m+".nickname",expected:"string",value:n.nickname},l))&&!0,E=(n,m,d=!0)=>(typeof n.id=="string"&&(v(n.id)||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'string & Format<"uuid">',value:n.id},l))||u(d,{method:"typia.misc.assertClone",path:m+".id",expected:'(string & Format<"uuid">)',value:n.id},l))&&(typeof n.created_at=="string"&&($(n.created_at)||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'string & Format<"date-time">',value:n.created_at},l))||u(d,{method:"typia.misc.assertClone",path:m+".created_at",expected:'(string & Format<"date-time">)',value:n.created_at},l))&&(typeof n.mobile=="string"&&(RegExp("^[0-9]*$").test(n.mobile)||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'string & Pattern<"^[0-9]*$">',value:n.mobile},l))||u(d,{method:"typia.misc.assertClone",path:m+".mobile",expected:'(string & Pattern<"^[0-9]*$"> & JsonSchemaPlugin<__type>)',value:n.mobile},l))&&(typeof n.name=="string"||u(d,{method:"typia.misc.assertClone",path:m+".name",expected:"(string & JsonSchemaPlugin<__type>)",value:n.name},l)),g=n=>({id:n.id,channel:D(n.channel),external_user:n.external_user?S(n.external_user):n.external_user,href:n.href,referrer:n.referrer,ip:n.ip,created_at:n.created_at}),D=n=>({id:n.id,created_at:n.created_at,code:n.code,name:n.name}),S=n=>({id:n.id,citizen:n.citizen?c(n.citizen):n.citizen,created_at:n.created_at,application:n.application,uid:n.uid,nickname:n.nickname,data:Pa(n.data)}),c=n=>({id:n.id,created_at:n.created_at,mobile:n.mobile,name:n.name}),T=n=>typeof n=="object"&&n!==null&&p(n);let l;const C=(n,m)=>(T(n)===!1&&(l=m,((d,R,z=!0)=>(typeof d=="object"&&d!==null||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))&&y(d,R+"",!0)||u(!0,{method:"typia.misc.assertClone",path:R+"",expected:"IShoppingCustomer.IInvert",value:d},l))(n,"$input",!0)),n),_=n=>g(n);return(n,m)=>_(C(n,m))})()(t),member:(()=>{const p=c=>c.map(T=>x(T)),A=c=>typeof c.id=="string"&&v(c.id)&&typeof c.nickname=="string"&&Array.isArray(c.emails)&&c.emails.every(T=>typeof T=="object"&&T!==null&&f(T))&&typeof c.created_at=="string"&&$(c.created_at),f=c=>typeof c.id=="string"&&v(c.id)&&typeof c.value=="string"&&Gn(c.value)&&typeof c.created_at=="string"&&$(c.created_at),h=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.nickname=="string"||u(l,{method:"typia.misc.assertClone",path:T+".nickname",expected:"string",value:c.nickname},g))&&((Array.isArray(c.emails)||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&c.emails.every((C,_)=>(typeof C=="object"&&C!==null||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))&&y(C,T+".emails["+_+"]",l)||u(l,{method:"typia.misc.assertClone",path:T+".emails["+_+"]",expected:"IShoppingMemberEmail",value:C},g))||u(l,{method:"typia.misc.assertClone",path:T+".emails",expected:"Array<IShoppingMemberEmail>",value:c.emails},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),y=(c,T,l=!0)=>(typeof c.id=="string"&&(v(c.id)||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'string & Format<"uuid">',value:c.id},g))||u(l,{method:"typia.misc.assertClone",path:T+".id",expected:'(string & Format<"uuid">)',value:c.id},g))&&(typeof c.value=="string"&&(Gn(c.value)||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'string & Format<"email">',value:c.value},g))||u(l,{method:"typia.misc.assertClone",path:T+".value",expected:'(string & Format<"email">)',value:c.value},g))&&(typeof c.created_at=="string"&&($(c.created_at)||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'string & Format<"date-time">',value:c.created_at},g))||u(l,{method:"typia.misc.assertClone",path:T+".created_at",expected:'(string & Format<"date-time">)',value:c.created_at},g)),M=c=>({id:c.id,nickname:c.nickname,emails:p(c.emails),created_at:c.created_at}),x=c=>({id:c.id,value:c.value,created_at:c.created_at}),E=c=>typeof c=="object"&&c!==null&&A(c);let g;const D=(c,T)=>(E(c)===!1&&(g=T,((l,C,_=!0)=>(typeof l=="object"&&l!==null||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))&&h(l,C+"",!0)||u(!0,{method:"typia.misc.assertClone",path:C+"",expected:"IShoppingMember.IInvert",value:l},g))(c,"$input",!0)),c),S=c=>M(c);return(c,T)=>S(D(c,T))})()(a),created_at:o.created_at}}})(ja||(ja={}));var ea;(function(e){e.adjustable=s=>{const a=t(s);return s.criteria.direction==="include"?a:!a};const t=s=>s.criteria.type==="section"?s.criteria.sections.some(a=>a.id===s.sale.section.id):s.criteria.type==="seller"?s.criteria.sellers.some(a=>a.id===s.sale.seller.id):s.criteria.type==="sale"?s.criteria.sales.some(a=>a.id===s.sale.id):s.criteria.type==="funnel"?s.criteria.funnels.some(a=>{if(a.kind==="url")return s.customer.href.startsWith(a.value);if(a.kind==="referrer")return s.customer.referrer!==null&&s.customer.referrer.startsWith(a.value);if(a.kind==="variable"){const o=s.customer.href.lastIndexOf("?");return o===-1?!1:new URLSearchParams(s.customer.href.substring(o+1)).get(a.key)===a.value}return!1}):!1})(ea||(ea={}));var Ca;(function(e){e.take=(t,s,a)=>{const o=t.get(s);if(o)return o;const i=a();return t.set(s,i),i}})(Ca||(Ca={}));var w;(function(e){e.validate=t=>{const s=[],a=new Set;return t.items.forEach((o,i)=>{if(t.filter&&t.filter(o)===!1)return;const p=t.key(o);a.has(p)===!0?s.push(t.message(o,i)):a.add(p)}),s}})(w||(w={}));var ta;(function(e){e.replica=t=>({name:t.name,extension:t.extension,url:t.url})})(ta||(ta={}));var $a;(function(e){e.replica=t=>({title:t.title,body:t.body,format:t.format,thumbnails:t.thumbnails.map(ta.replica),files:t.files.map(ta.replica)})})($a||($a={}));var sa;(function(e){e.validate=t=>{if(t.option.type!=="select")return[];const s=`input.units[${t.unitIndex}].options[${t.index}]`,a=[];return t.option.candidates.length===0&&a.push({accessor:`${s}.candidates`,message:'Candidates must not be empty when type of the option is "select".'}),a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.candidates[${i}]`,message:`Duplicated candidate name: "${o.name}"`}),items:t.option.candidates})),a},e.replica=t=>t.type==="select"?{type:t.type,name:t.name,variable:t.variable,candidates:t.candidates.map(s=>({name:s.name}))}:{type:t.type,name:t.name}})(sa||(sa={}));var na;(function(e){e.validate=t=>{const s=`input.units.[${t.unitIndex}].stocks[${t.stockIndex}].choices[${t.index}]`,a=[],o=t.unit.options[t.choice.option_index];return o===void 0?a.push({accessor:s,message:`Option index ${t.choice.option_index} is out of bounds.`}):o.type!=="select"?a.push({accessor:s,message:'Option type must be "select".'}):o.variable===!1?a.push({accessor:s,message:"Option is not variable."}):o.candidates[t.choice.candidate_index]===void 0&&a.push({accessor:s,message:`Candidate index ${t.choice.candidate_index} is out of bounds.`}),a},e.replica=t=>{const s=t.options.findIndex(i=>i.id===t.choice.option_id);if(s===-1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): unable to find the matched option.");const a=t.options[s];if(a.type!=="select")throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): option type must be 'select'.");if(a.variable===!1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): option must be variable.");const o=a.candidates.findIndex(i=>i.id===t.choice.candidate_id);if(o===-1)throw new Error("Error on ShoppingSaleUnitStockChoiceDiagnoser.replica(): unable to find the matched candidate.");return{option_index:s,candidate_index:o}}})(na||(na={}));var va;(function(e){e.validate=t=>{const s=[];return s.push(...w.validate({key:a=>JSON.stringify([a.option_index,a.candidate_index]),message:(a,o)=>({accessor:`input.units[${t.unitIndex}].stocks[${t.index}].choices[${o}]`,message:`Duplicated choice: (${a.option_index}, ${a.candidate_index})`}),items:t.stock.choices})),t.stock.choices.forEach((a,o)=>{s.push(...na.validate({unit:t.unit,unitIndex:t.unitIndex,stock:t.stock,stockIndex:t.index,choice:a,index:o}))}),t.stock.price.nominal<t.stock.price.real&&s.push({accessor:`input.units[${t.unitIndex}].stocks[${t.index}].price.real`,message:"Real price cannot be greater than nominal price"}),s},e.replica=t=>({name:t.stock.name,choices:t.stock.choices.map(s=>na.replica({options:t.options,choice:s})),quantity:Math.max(0,t.stock.inventory.income-t.stock.inventory.outcome),price:{nominal:t.stock.price.nominal,real:t.stock.price.real}})})(va||(va={}));var aa;(function(e){e.validate=t=>{const s=`input.units[${t.index}]`,a=[];if(a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.options[${i}]`,message:`Duplicated option name: "${o.name}"`}),items:t.unit.options})),t.unit.options.forEach((o,i)=>a.push(...sa.validate({unit:t.unit,unitIndex:t.index,option:o,index:i}))),t.unit.stocks.length===0)a.push({accessor:`${s}.stocks.length`,message:"No stock exists."});else{const o=t.unit.options.map(i=>i.type==="select"&&i.variable?i.candidates.length:1).reduce((i,p)=>i*p,1);t.unit.stocks.length>o&&a.push({accessor:`${s}.stocks.length`,message:`Incorrect number of stocks: must not over the ${o} but ${t.unit.stocks.length}.`})}return a.push(...w.validate({key:o=>o.name,message:(o,i)=>({accessor:`${s}.stocks[${i}]`,message:`Duplicated stock name: "${o.name}"`}),items:t.unit.stocks})),a},e.replica=t=>({name:t.name,primary:t.primary,required:t.required,options:t.options.map(sa.replica),stocks:t.stocks.map(s=>va.replica({options:t.options,stock:s}))})})(aa||(aa={}));var Hn;(function(e){e.validate=t=>{const s=[];return s.push(...w.validate({key:a=>a,message:(a,o)=>({accessor:`input.category_codes[${o}]`,message:`Duplicated category code: "${a}"`}),items:t.category_codes})),t.units.length===0?s.push({accessor:"input.units",message:"No unit"}):t.units.every(a=>a.required===!1)&&s.push({accessor:"input.units[].required",message:"No required unit"}),s.push(...w.validate({key:a=>a.name,message:(a,o)=>({accessor:`input.units[${o}]`,message:`Duplicated unit name: "${a.name}"`}),items:t.units})),t.units.forEach((a,o)=>s.push(...aa.validate({unit:a,index:o}))),s.push(...w.validate({key:a=>a,message:(a,o)=>({accessor:`input.tags[${o}]`,message:`Duplicated tags: "${a}"`}),items:t.tags})),s},e.replica=t=>({category_codes:t.categories.map(s=>s.code),content:$a.replica(t.content),units:t.units.map(aa.replica),tags:t.tags.slice()})})(Hn||(Hn={}));var Ln;(function(e){e.validate=t=>{const s=[];return t.opened_at&&t.closed_at&&new Date(t.closed_at).getTime()<new Date(t.opened_at).getTime()&&s.push({accessor:"input.closed_at",message:"Closed date is earlier than opened date"}),s.push(...Hn.validate(t)),s},e.replica=t=>({...Hn.replica(t),section_code:t.section.code,opened_at:t.opened_at,closed_at:t.closed_at}),e.readable=t=>{const s=[];t.sale.opened_at===null?s.push({accessor:t.accessor,message:"The sale has not been opened."}):new Date(t.sale.opened_at).getTime()>Date.now()&&s.push({accessor:t.accessor,message:"The sale has not been opened yet."});const a=(o,i)=>{i!==null&&Date.now()>=new Date(i).getTime()&&s.push({accessor:t.accessor,message:`The sale has been ${o}.`})};return a("closed",t.sale.closed_at),t.checkPause&&a("paused",t.sale.paused_at),a("suspended",t.sale.suspended_at),s}})(Ln||(Ln={}));var oa;(function(e){e.validate=t=>{const s=[],a=t.unit.options.find(o=>o.id===t.input.option_id);return a===void 0?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].option_id`,message:"Unable to find the matched option."}):a.type==="select"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}]`,message:"The select option does not require the choice composition."}):t.input.value!==null&&(a.type==="boolean"&&typeof t.input.value!="boolean"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be boolean type."}):a.type==="number"&&typeof t.input.value!="number"?s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be number type."}):a.type==="string"&&typeof t.input.value!="string"&&s.push({accessor:`items[${t.stockIndex}].choices[${t.index}].value`,message:"The value must be string type."})),s},e.replica=t=>t.option.type==="select"?null:{option_id:t.option.id,value:t.value}})(oa||(oa={}));var F;(function(e){e.validate=t=>{const s=[];t.input.choices.forEach((o,i)=>{oa.validate({unit:t.unit,stockIndex:t.index,input:o,index:i})});const a=t.unit.stocks.find(o=>o.id===t.input.stock_id);return a===void 0?s.push({accessor:`$input.stocks[${t.index}].stock_id`,message:"Unable to find the matched stock."}):a.inventory.income-a.inventory.outcome<t.input.quantity*t.commodity.volume&&s.push({accessor:`$input.stocks[${t.index}].quantity`,message:"Insufficient inventory."}),s},e.replica=t=>({unit_id:t.unit.id,stock_id:t.stock.id,choices:t.stock.choices.map(oa.replica).filter(s=>s!==null),quantity:t.stock.quantity}),e.preview=t=>{const s=t.unit.stocks.find(a=>a.id===t.input.stock_id);if(s===void 0)throw new Error("Unable to find the matched stock.");return{id:s.id,name:s.name,price:s.price,inventory:s.inventory,quantity:t.input.quantity,choices:[...s.choices.map(a=>{const o=t.unit.options.find(p=>p.id===a.option_id),i=o.candidates.find(p=>p.id===a.candidate_id);return{id:a.id,option:o,candidate:i,value:null}}),...t.input.choices.map(a=>{const o=t.unit.options.find(i=>i.id===a.option_id);return{id:ga(),option:o,candidate:null,value:a.value}})]}}})(F||(F={}));var _a;(function(e){e.validate=t=>{const s=Ln.readable({accessor:"$input.sale_id",checkPause:!0,sale:t.sale});return t.input.stocks.forEach((a,o)=>{const i=t.sale.units.find(p=>p.id===a.unit_id);i===void 0?s.push({accessor:`$input.stocks[${o}].unit_id`,message:"Unable to find the matched unit."}):s.push(...F.validate({unit:i,commodity:t.input,input:a,index:o}))}),s},e.replica=t=>({sale_id:t.sale.id,stocks:t.sale.units.map(s=>s.stocks.map(a=>F.replica({unit:s,stock:a}))).flat(),volume:t.volume}),e.preview=t=>{const s=t.input.stocks.map(o=>{const i=t.sale.units.find(p=>p.id===o.unit_id);if(i===void 0)throw new Error(`Error on ShoppingCartItemDiagnoser.preview(): unable to find the matched unit by its id "${o.unit_id}".`);return[{id:i.id,name:i.name,primary:i.primary,required:i.required,stocks:[]},F.preview({unit:i,input:o})]}),a=new Map;for(const[o,i]of s)Ca.take(a,o.id,()=>o).stocks.push(i);return{id:ga(),sale:{...t.sale,content:{id:ga(),title:t.sale.content.title,thumbnails:t.sale.content.thumbnails},units:[...a.values()]},pseudo:!0,volume:t.input.volume,price:{nominal:s.map(([,o])=>o.price.nominal).reduce((o,i)=>o+i),real:s.map(([,o])=>o.price.real).reduce((o,i)=>o+i)},created_at:new Date().toISOString(),orderable:!0}}})(_a||(_a={}));var Sa;(function(e){e.validate=t=>{const s=Ln.readable({accessor:`input.goods.${t.index}.commodity.sale`,checkPause:!0,sale:t.commodity.sale});for(const a of t.commodity.sale.units)for(const o of a.stocks)o.quantity*t.input.volume>o.inventory.income-o.inventory.outcome&&s.push({accessor:`input.goods.${t.index}.volume`,message:`Not enough inventory on nested stock#${o.id}.`});return s}})(Sa||(Sa={}));var xa;(function(e){e.validate=t=>t.input.goods.map((s,a)=>{const o=t.commodities.find(i=>i.id===s.commodity_id);return o===void 0?{accessor:`input.goods[${a}].commodity_id`,message:`Commodity#${s.commodity_id} is not found.`}:Sa.validate({commodity:o,input:s,index:a})}).flat()})(xa||(xa={}));var N;(function(e){e.adjustable=s=>s.coupon.criterias.every(a=>ea.adjustable({customer:s.customer,sale:s.sale,criteria:a})),e.coexistable=s=>s.length<=1||s.every(a=>a.restriction.exclusive===!1),e.sort=s=>s.sort(t);function t(s,a){return s.discount.unit!==a.discount.unit?s.discount.unit==="percent"?-1:1:s.discount.unit==="amount"&&a.discount.unit==="amount"?Number(s.discount.value)-Number(a.discount.value):a.discount.value-s.discount.value}})(N||(N={}));var k;(function(e){e.checkCoupon=p=>e.filterItems(p).length!==0,e.filterItems=p=>t(p);const t=p=>s({accessor:p.accessor,coupon:p.coupon,data:p.data.filter(A=>N.adjustable({customer:p.customer,sale:p.accessor.item(A).sale,coupon:p.coupon}))}),s=p=>p.coupon.discount.threshold===null?p.coupon.discount.unit==="amount"&&p.coupon.discount.multiplicative===!0?p.data.filter(f=>p.accessor.item(f).price.real>=p.coupon.discount.value):p.data:p.coupon.discount.unit==="amount"&&p.coupon.discount.multiplicative===!0?p.data.filter(f=>p.accessor.item(f).price.real>=p.coupon.discount.threshold&&p.accessor.item(f).price.real>=p.coupon.discount.value):p.data.map(f=>a(p.accessor)(f)).reduce((f,h)=>f+h,0)>=p.coupon.discount.threshold?p.data:[],a=p=>A=>p.item(A).price.real*p.volume(A);e.discount=p=>o({...p,title:`${p.className}.discount`});const o=p=>{if(N.sort(p.coupons),N.coexistable(p.coupons)===!1)throw new Error(`Error on ${p.title}(): target coupons are not coexistable.`);const A={amount:0,coupon_to_elem_dict:new Map};for(const f of p.coupons)t({accessor:p.accessor,customer:p.customer,data:p.data,coupon:f}).length!==0&&i({accessor:p.accessor,coupon:f,data:p.data,output:A});return A},i=p=>{const A=(f,h)=>{cr(p.output.coupon_to_elem_dict,p.coupon.id,()=>new Map).set(f.id,h)};if(p.coupon.discount.unit==="percent")for(const f of p.data){const h=p.coupon.discount.value/100*a(p.accessor)(f);p.output.amount+=h,A(f,h)}else if(p.coupon.discount.multiplicative===!0)for(const f of p.data){const h=p.coupon.discount.value*p.accessor.volume(f);A(f,h),p.output.amount+=h}else{const f=p.data.map(h=>a(p.accessor)(h)).reduce((h,y)=>h+y,0);for(const h of p.data){const y=p.coupon.discount.value/100*a(p.accessor)(h)/f;A(h,y)}p.output.amount+=p.coupon.discount.value}};e.combine=p=>{const A=new Map(p.tickets.map(E=>[E.coupon.id,E])),f=p.coupons.filter(E=>A.has(E.id)===!1&&e.checkCoupon({accessor:p.accessor,customer:p.customer,data:p.data,coupon:E})),h=[...A.values()].filter(E=>e.checkCoupon({accessor:p.accessor,customer:p.customer,data:p.data,coupon:E.coupon})),y=[...f,...h.map(E=>E.coupon)],M=[y.filter(E=>E.restriction.exclusive===!1),...y.filter(E=>E.restriction.exclusive===!0).map(E=>[E])].filter(E=>E.length!==0);return M.map(E=>o({title:`${p.className}.combine`,accessor:p.accessor,customer:p.customer,data:p.data,coupons:E})).map((E,g)=>({coupons:M[g].filter(D=>f.some(S=>D.id===S.id)),tickets:h.filter(D=>M[g].some(S=>S.id===D.coupon.id)),entries:[...E.coupon_to_elem_dict.entries()].map(([D,S])=>[...S.entries()].map(([c,T])=>({coupon_id:D,item_id:c,amount:T}))).flat(),amount:E.amount}))}})(k||(k={}));const cr=(e,t,s)=>{const a=e.get(t);if(a)return a;const o=s();return e.set(t,o),o};var ba;(function(e){e.checkCoupon=t=>k.checkCoupon({accessor:Yn,customer:t.customer,coupon:t.coupon,data:t.goods}),e.filterGoods=t=>k.filterItems({accessor:Yn,customer:t.customer,coupon:t.coupon,data:t.goods}),e.combine=t=>k.combine({className:"ShoppingOrderDiscountableDiagnoser",accessor:Yn,customer:t.customer,coupons:t.coupons,tickets:t.tickets,data:t.goods}).map(s=>({...s,entries:s.entries.map(a=>({coupon_id:a.coupon_id,good_id:a.item_id,amount:a.amount}))})),e.discount=t=>k.discount({className:"ShoppingOrderDiscountableDiagnoser",accessor:Yn,customer:t.customer,coupons:t.coupons,data:t.goods})})(ba||(ba={}));const Yn={item:e=>e.commodity,volume:e=>e.volume};var lr=Object.freeze({__proto__:null,get ShoppingAdministratorDiagnoser(){return Ma},get ShoppingCartCommodityDiagnoser(){return _a},get ShoppingCartCommodityStockDiagnoser(){return F},get ShoppingCouponCriteriaDiagnoser(){return ea},get ShoppingOrderDiagnoser(){return xa},get ShoppingOrderDiscountableDiagnoser(){return ba},get ShoppingSaleDiagnoser(){return Ln},get ShoppingSaleSnapshotDiagnoser(){return Hn},get ShoppingSellerDiagnoser(){return ja}}),hr=Object.freeze({__proto__:null,shoppings:lr});async function B(e){return r.fetch(e,{...B.METADATA,template:B.METADATA.path,path:B.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/health",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/health"})(B);var ur=Object.freeze({__proto__:null,get:B});async function V(e){return r.fetch(e,{...V.METADATA,template:V.METADATA.path,path:V.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/performance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/performance"})(V);var dr=Object.freeze({__proto__:null,get:V});async function J(e){return r.fetch(e,{...J.METADATA,template:J.METADATA.path,path:J.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system"})(J);async function W(e){return r.fetch(e,{...W.METADATA,template:W.METADATA.path,path:W.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system/internal_server_error",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system/internal_server_error"})(W);async function K(e){return r.fetch(e,{...K.METADATA,template:K.METADATA.path,path:K.path()})}(function(e){e.METADATA={method:"GET",path:"/monitors/system/uncaught_exception",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/monitors/system/uncaught_exception"})(K);var mr=Object.freeze({__proto__:null,get:J,internal_server_error:W,uncaught_exception:K}),Ar=Object.freeze({__proto__:null,health:ur,performance:dr,system:mr});async function Q(e){return r.fetch(e,{...Q.METADATA,template:Q.METADATA.path,path:Q.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/authenticate"})(Q);async function Y(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Y.METADATA,template:Y.METADATA.path,path:Y.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/authenticate"})(Y);async function Z(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Z.METADATA,template:Z.METADATA.path,path:Z.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/authenticate/login"})(Z);var fr=Object.freeze({__proto__:null,get:Q,join:Y,login:Z});async function I(e,t){return r.fetch(e,{...I.METADATA,template:I.METADATA.path,path:I.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/coupons/:id/destroy",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/destroy`})(I);async function X(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...X.METADATA,template:X.METADATA.path,path:X.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/coupons"})(X);async function ee(e,t){return r.fetch(e,{...ee.METADATA,template:ee.METADATA.path,path:ee.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ee);async function te(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...te.METADATA,template:te.METADATA.path,path:te.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/coupons"})(te);async function se(e,t){return r.fetch(e,{...se.METADATA,template:se.METADATA.path,path:se.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(se);var Tr=Object.freeze({__proto__:null,at:se,create:X,destroy:I,erase:ee,index:te});async function ne(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ne.METADATA,template:ne.METADATA.path,path:ne.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/deposits",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/deposits"})(ne);async function ae(e,t){return r.fetch(e,{...ae.METADATA,template:ae.METADATA.path,path:ae.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/deposits/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ae);async function oe(e,t){return r.fetch(e,{...oe.METADATA,template:oe.METADATA.path,path:oe.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/deposits/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(oe);async function re(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...re.METADATA,template:re.METADATA.path,path:re.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/deposits",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/deposits"})(re);async function pe(e,t){return r.fetch(e,{...pe.METADATA,template:pe.METADATA.path,path:pe.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/deposits/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/deposits/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(pe);var yr=Object.freeze({__proto__:null,at:ae,create:re,erase:pe,get:oe,index:ne});async function ie(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ie.METADATA,template:ie.METADATA.path,path:ie.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/mileages/donations",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/mileages/donations"})(ie);async function ce(e,t){return r.fetch(e,{...ce.METADATA,template:ce.METADATA.path,path:ce.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/donations/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/donations/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ce);async function le(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...le.METADATA,template:le.METADATA.path,path:le.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/mileages/donations",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/mileages/donations"})(le);var gr=Object.freeze({__proto__:null,at:ce,create:le,index:ie});async function he(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...he.METADATA,template:he.METADATA.path,path:he.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/mileages",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/mileages"})(he);async function ue(e,t){return r.fetch(e,{...ue.METADATA,template:ue.METADATA.path,path:ue.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ue);async function de(e,t){return r.fetch(e,{...de.METADATA,template:de.METADATA.path,path:de.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/mileages/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(de);async function me(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...me.METADATA,template:me.METADATA.path,path:me.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/mileages",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/mileages"})(me);async function Ae(e,t){return r.fetch(e,{...Ae.METADATA,template:Ae.METADATA.path,path:Ae.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/mileages/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/mileages/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ae);var Er=Object.freeze({__proto__:null,at:ue,create:me,donations:gr,erase:Ae,get:de,index:he});async function fe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fe.METADATA,template:fe.METADATA.path,path:fe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/orders"})(fe);async function Te(e,t){return r.fetch(e,{...Te.METADATA,template:Te.METADATA.path,path:Te.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Te);var Dr=Object.freeze({__proto__:null,at:Te,index:fe});async function ye(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ye.METADATA,template:ye.METADATA.path,path:ye.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(ye);async function ge(e,t,s,a){return r.fetch(e,{...ge.METADATA,template:ge.METADATA.path,path:ge.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(ge);async function Ee(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ee.METADATA,template:Ee.METADATA.path,path:Ee.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Ee);async function De(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...De.METADATA,template:De.METADATA.path,path:De.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(De);var Mr=Object.freeze({__proto__:null,at:ge,create:Ee,index:ye,update:De});async function Me(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Me.METADATA,template:Me.METADATA.path,path:Me.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(Me);async function je(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...je.METADATA,template:je.METADATA.path,path:je.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(je);async function Ce(e,t,s){return r.fetch(e,{...Ce.METADATA,template:Ce.METADATA.path,path:Ce.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Ce);var jr=Object.freeze({__proto__:null,abridges:je,at:Ce,comments:Mr,index:Me});async function $e(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$e.METADATA,template:$e.METADATA.path,path:$e.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})($e);async function ve(e,t,s,a){return r.fetch(e,{...ve.METADATA,template:ve.METADATA.path,path:ve.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(ve);async function _e(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{..._e.METADATA,template:_e.METADATA.path,path:_e.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(_e);async function Se(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Se.METADATA,template:Se.METADATA.path,path:Se.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Se);var Cr=Object.freeze({__proto__:null,at:ve,create:_e,index:$e,update:Se});async function xe(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xe.METADATA,template:xe.METADATA.path,path:xe.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(xe);async function be(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...be.METADATA,template:be.METADATA.path,path:be.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(be);async function Ue(e,t,s){return r.fetch(e,{...Ue.METADATA,template:Ue.METADATA.path,path:Ue.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Ue);var $r=Object.freeze({__proto__:null,abridges:be,at:Ue,comments:Cr,index:xe});async function Re(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Re.METADATA,template:Re.METADATA.path,path:Re.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(Re);async function qe(e,t,s){return r.fetch(e,{...qe.METADATA,template:qe.METADATA.path,path:qe.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(qe);async function we(e,t,s){return r.fetch(e,{...we.METADATA,template:we.METADATA.path,path:we.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(we);var vr=Object.freeze({__proto__:null,at:qe,flip:we,index:Re});async function Oe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Oe.METADATA,template:Oe.METADATA.path,path:Oe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/sales/details"})(Oe);async function Pe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Pe.METADATA,template:Pe.METADATA.path,path:Pe.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/sales"})(Pe);async function ke(e,t){return r.fetch(e,{...ke.METADATA,template:ke.METADATA.path,path:ke.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ke);var _r=Object.freeze({__proto__:null,at:ke,details:Oe,index:Pe,questions:jr,reviews:$r,snapshots:vr});async function Fe(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Fe.METADATA,template:Fe.METADATA.path,path:Fe.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/channels/:channelCode/categories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(Fe);async function ze(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ze.METADATA,template:ze.METADATA.path,path:ze.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ze);async function Ge(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ge.METADATA,template:Ge.METADATA.path,path:Ge.path(t)},s)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/channels/:channelCode/categories/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/merge`})(Ge);async function He(e,t){return r.fetch(e,{...He.METADATA,template:He.METADATA.path,path:He.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(He);async function Le(e,t,s){return r.fetch(e,{...Le.METADATA,template:Le.METADATA.path,path:Le.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Le);async function Ne(e,t,s){return r.fetch(e,{...Ne.METADATA,template:Ne.METADATA.path,path:Ne.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(Ne);var Sr=Object.freeze({__proto__:null,at:Le,create:Fe,index:He,invert:Ne,merge:Ge,update:ze});async function Be(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Be.METADATA,template:Be.METADATA.path,path:Be.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/systematic/channels"})(Be);async function Ve(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ve.METADATA,template:Ve.METADATA.path,path:Ve.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/channels/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ve);async function Je(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Je.METADATA,template:Je.METADATA.path,path:Je.path()},t)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/channels/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels/merge"})(Je);async function We(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...We.METADATA,template:We.METADATA.path,path:We.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels"})(We);async function Ke(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ke.METADATA,template:Ke.METADATA.path,path:Ke.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/channels/hierarchical"})(Ke);async function Qe(e,t){return r.fetch(e,{...Qe.METADATA,template:Qe.METADATA.path,path:Qe.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Qe);async function Ye(e,t){return r.fetch(e,{...Ye.METADATA,template:Ye.METADATA.path,path:Ye.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(Ye);var xr=Object.freeze({__proto__:null,at:Qe,categories:Sr,create:Be,get:Ye,hierarchical:Ke,index:We,merge:Je,update:Ve});async function Ze(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ze.METADATA,template:Ze.METADATA.path,path:Ze.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/admins/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/admins/systematic/sections"})(Ze);async function Ie(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ie.METADATA,template:Ie.METADATA.path,path:Ie.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/admins/systematic/sections/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ie);async function Xe(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Xe.METADATA,template:Xe.METADATA.path,path:Xe.path()},t)}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/admins/systematic/sections/merge",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/sections/merge"})(Xe);async function et(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...et.METADATA,template:et.METADATA.path,path:et.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/admins/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/admins/systematic/sections"})(et);async function tt(e,t){return r.fetch(e,{...tt.METADATA,template:tt.METADATA.path,path:tt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(tt);async function st(e,t){return r.fetch(e,{...st.METADATA,template:st.METADATA.path,path:st.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/admins/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/admins/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(st);var br=Object.freeze({__proto__:null,at:tt,create:Ze,get:st,index:et,merge:Xe,update:Ie}),Ur=Object.freeze({__proto__:null,channels:xr,sections:br}),Rr=Object.freeze({__proto__:null,authenticate:fr,coupons:Tr,deposits:yr,mileages:Er,orders:Dr,sales:_r,systematic:Ur});async function nt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...nt.METADATA,template:nt.METADATA.path,path:nt.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/authenticate/password/change",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/password/change"})(nt);var qr=Object.freeze({__proto__:null,change:nt});async function at(e,t){const s=await r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...at.METADATA,template:at.METADATA.path,path:at.path()},t);return e.headers??(e.headers={}),Object.assign(e.headers,s.setHeaders),s}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/authenticate/refresh",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/refresh"})(at);async function ot(e){return r.fetch(e,{...ot.METADATA,template:ot.METADATA.path,path:ot.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate"})(ot);async function rt(e,t){const s=await r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rt.METADATA,template:rt.METADATA.path,path:rt.path()},t);return e.headers??(e.headers={}),Object.assign(e.headers,s.setHeaders),s}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate"})(rt);async function pt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...pt.METADATA,template:pt.METADATA.path,path:pt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/join",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/join"})(pt);async function it(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...it.METADATA,template:it.METADATA.path,path:it.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/authenticate/login"})(it);async function ct(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ct.METADATA,template:ct.METADATA.path,path:ct.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/activate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/activate"})(ct);async function lt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...lt.METADATA,template:lt.METADATA.path,path:lt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/authenticate/external",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/authenticate/external"})(lt);var wr=Object.freeze({__proto__:null,activate:ct,create:rt,external:lt,get:ot,join:pt,login:it,password:qr,refresh:at});async function ht(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ht.METADATA,template:ht.METADATA.path,path:ht.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/coupons/tickets",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/coupons/tickets"})(ht);async function ut(e,t){return r.fetch(e,{...ut.METADATA,template:ut.METADATA.path,path:ut.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/coupons/tickets/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/coupons/tickets/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(ut);async function dt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...dt.METADATA,template:dt.METADATA.path,path:dt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/coupons/tickets",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/coupons/tickets"})(dt);var Or=Object.freeze({__proto__:null,at:ut,create:dt,index:ht});async function mt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...mt.METADATA,template:mt.METADATA.path,path:mt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/coupons"})(mt);async function At(e,t){return r.fetch(e,{...At.METADATA,template:At.METADATA.path,path:At.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(At);var Pr=Object.freeze({__proto__:null,at:At,index:mt,tickets:Or});async function ft(e,t){return r.fetch(e,{...ft.METADATA,template:ft.METADATA.path,path:ft.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/charges/:chargeId/publish/able",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish/able`})(ft);async function Tt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Tt.METADATA,template:Tt.METADATA.path,path:Tt.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/deposits/charges/:chargeId/publish",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(Tt);var kr=Object.freeze({__proto__:null,able:ft,create:Tt});async function yt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...yt.METADATA,template:yt.METADATA.path,path:yt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/deposits/charges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/charges"})(yt);async function gt(e,t){return r.fetch(e,{...gt.METADATA,template:gt.METADATA.path,path:gt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/charges/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(gt);async function Et(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Et.METADATA,template:Et.METADATA.path,path:Et.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/deposits/charges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/deposits/charges"})(Et);async function Dt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Dt.METADATA,template:Dt.METADATA.path,path:Dt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/deposits/charges/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Dt);async function Mt(e,t){return r.fetch(e,{...Mt.METADATA,template:Mt.METADATA.path,path:Mt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/deposits/charges/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/charges/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Mt);var Fr=Object.freeze({__proto__:null,at:gt,create:Et,erase:Mt,index:yt,publish:kr,update:Dt});async function jt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...jt.METADATA,template:jt.METADATA.path,path:jt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/deposits/histories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/histories"})(jt);async function Ct(e,t){return r.fetch(e,{...Ct.METADATA,template:Ct.METADATA.path,path:Ct.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/histories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/deposits/histories/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ct);async function $t(e){return r.fetch(e,{...$t.METADATA,template:$t.METADATA.path,path:$t.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/deposits/histories/balance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/deposits/histories/balance"})($t);var zr=Object.freeze({__proto__:null,at:Ct,balance:$t,index:jt}),Gr=Object.freeze({__proto__:null,charges:Fr,histories:zr});async function vt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...vt.METADATA,template:vt.METADATA.path,path:vt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/mileages/histories",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/mileages/histories"})(vt);async function _t(e,t){return r.fetch(e,{..._t.METADATA,template:_t.METADATA.path,path:_t.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/mileages/histories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/mileages/histories/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(_t);async function St(e){return r.fetch(e,{...St.METADATA,template:St.METADATA.path,path:St.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/mileages/histories/balance",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/mileages/histories/balance"})(St);var Hr=Object.freeze({__proto__:null,at:_t,balance:St,index:vt}),Lr=Object.freeze({__proto__:null,histories:Hr});async function xt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xt.METADATA,template:xt.METADATA.path,path:xt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/carts/commodities",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/carts/commodities"})(xt);async function bt(e,t){return r.fetch(e,{...bt.METADATA,template:bt.METADATA.path,path:bt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/carts/commodities/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(bt);async function Ut(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ut.METADATA,template:Ut.METADATA.path,path:Ut.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/carts/commodities",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/carts/commodities"})(Ut);async function Rt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rt.METADATA,template:Rt.METADATA.path,path:Rt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/carts/commodities/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Rt);async function qt(e,t){return r.fetch(e,{...qt.METADATA,template:qt.METADATA.path,path:qt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/carts/commodities/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/replica`})(qt);async function wt(e,t){return r.fetch(e,{...wt.METADATA,template:wt.METADATA.path,path:wt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/carts/commodities/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/carts/commodities/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(wt);async function Ot(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ot.METADATA,template:Ot.METADATA.path,path:Ot.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/carts/commodities/discountable",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/carts/commodities/discountable"})(Ot);var Nr=Object.freeze({__proto__:null,at:bt,create:Ut,discountable:Ot,erase:wt,index:xt,replica:qt,update:Rt}),Br=Object.freeze({__proto__:null,commodities:Nr});async function Pt(e,t,s){return r.fetch(e,{...Pt.METADATA,template:Pt.METADATA.path,path:Pt.path(t,s)})}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/orders/:orderId/goods/:id/confirm",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/goods/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/confirm`})(Pt);var Vr=Object.freeze({__proto__:null,confirm:Pt});async function kt(e,t){return r.fetch(e,{...kt.METADATA,template:kt.METADATA.path,path:kt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:orderId/publish/able",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish/able`})(kt);async function Ft(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ft.METADATA,template:Ft.METADATA.path,path:Ft.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders/:orderId/publish",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(Ft);async function zt(e,t){return r.fetch(e,{...zt.METADATA,template:zt.METADATA.path,path:zt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/orders/:orderId/publish",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/publish`})(zt);var Jr=Object.freeze({__proto__:null,able:kt,cancel:zt,create:Ft});async function Gt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Gt.METADATA,template:Gt.METADATA.path,path:Gt.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/orders"})(Gt);async function Ht(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ht.METADATA,template:Ht.METADATA.path,path:Ht.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/orders/direct",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/customers/orders/direct"})(Ht);async function Lt(e,t){return r.fetch(e,{...Lt.METADATA,template:Lt.METADATA.path,path:Lt.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/customers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Lt);async function Nt(e,t){return r.fetch(e,{...Nt.METADATA,template:Nt.METADATA.path,path:Nt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:id/price",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/price`})(Nt);async function Bt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Bt.METADATA,template:Bt.METADATA.path,path:Bt.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/orders/:id/discountable",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/discountable`})(Bt);async function Vt(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Vt.METADATA,template:Vt.METADATA.path,path:Vt.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/orders/:id/discount",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/discount`})(Vt);async function Jt(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Jt.METADATA,template:Jt.METADATA.path,path:Jt.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/orders"})(Jt);async function Wt(e,t){return r.fetch(e,{...Wt.METADATA,template:Wt.METADATA.path,path:Wt.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Wt);var Wr=Object.freeze({__proto__:null,at:Wt,create:Gt,direct:Ht,discount:Vt,discountable:Bt,erase:Lt,goods:Vr,index:Jt,price:Nt,publish:Jr});async function Kt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Kt.METADATA,template:Kt.METADATA.path,path:Kt.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Kt);async function Qt(e,t,s,a){return r.fetch(e,{...Qt.METADATA,template:Qt.METADATA.path,path:Qt.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Qt);async function Yt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Yt.METADATA,template:Yt.METADATA.path,path:Yt.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Yt);async function Zt(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Zt.METADATA,template:Zt.METADATA.path,path:Zt.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Zt);var Kr=Object.freeze({__proto__:null,at:Qt,create:Yt,index:Kt,update:Zt});async function It(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...It.METADATA,template:It.METADATA.path,path:It.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(It);async function Xt(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Xt.METADATA,template:Xt.METADATA.path,path:Xt.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/questions/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Xt);async function es(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...es.METADATA,template:es.METADATA.path,path:es.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(es);async function ts(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ts.METADATA,template:ts.METADATA.path,path:ts.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(ts);async function ss(e,t,s){return r.fetch(e,{...ss.METADATA,template:ss.METADATA.path,path:ss.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ss);var Qr=Object.freeze({__proto__:null,abridges:ts,at:ss,comments:Kr,create:It,index:es,update:Xt});async function ns(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ns.METADATA,template:ns.METADATA.path,path:ns.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(ns);async function as(e,t,s,a){return r.fetch(e,{...as.METADATA,template:as.METADATA.path,path:as.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(as);async function os(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...os.METADATA,template:os.METADATA.path,path:os.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(os);async function rs(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rs.METADATA,template:rs.METADATA.path,path:rs.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/customers/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(rs);var Yr=Object.freeze({__proto__:null,at:as,create:os,index:ns,update:rs});async function ps(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ps.METADATA,template:ps.METADATA.path,path:ps.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(ps);async function is(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...is.METADATA,template:is.METADATA.path,path:is.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/customers/sales/:saleId/reviews/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(is);async function cs(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...cs.METADATA,template:cs.METADATA.path,path:cs.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(cs);async function ls(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ls.METADATA,template:ls.METADATA.path,path:ls.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(ls);async function hs(e,t,s){return r.fetch(e,{...hs.METADATA,template:hs.METADATA.path,path:hs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(hs);var Zr=Object.freeze({__proto__:null,abridges:ls,at:hs,comments:Yr,create:ps,index:cs,update:is});async function us(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...us.METADATA,template:us.METADATA.path,path:us.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(us);async function ds(e,t,s){return r.fetch(e,{...ds.METADATA,template:ds.METADATA.path,path:ds.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(ds);async function ms(e,t,s){return r.fetch(e,{...ms.METADATA,template:ms.METADATA.path,path:ms.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(ms);var Ir=Object.freeze({__proto__:null,at:ds,flip:ms,index:us});async function As(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...As.METADATA,template:As.METADATA.path,path:As.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/sales/details"})(As);async function fs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fs.METADATA,template:fs.METADATA.path,path:fs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/sales"})(fs);async function Ts(e,t){return r.fetch(e,{...Ts.METADATA,template:Ts.METADATA.path,path:Ts.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ts);var Xr=Object.freeze({__proto__:null,at:Ts,details:As,index:fs,questions:Qr,reviews:Zr,snapshots:Ir});async function ys(e,t){return r.fetch(e,{...ys.METADATA,template:ys.METADATA.path,path:ys.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(ys);async function gs(e,t,s){return r.fetch(e,{...gs.METADATA,template:gs.METADATA.path,path:gs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(gs);async function Es(e,t,s){return r.fetch(e,{...Es.METADATA,template:Es.METADATA.path,path:Es.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(Es);var ep=Object.freeze({__proto__:null,at:gs,index:ys,invert:Es});async function Ds(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ds.METADATA,template:Ds.METADATA.path,path:Ds.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/channels"})(Ds);async function Ms(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ms.METADATA,template:Ms.METADATA.path,path:Ms.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/channels/hierarchical"})(Ms);async function js(e,t){return r.fetch(e,{...js.METADATA,template:js.METADATA.path,path:js.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(js);async function Cs(e,t){return r.fetch(e,{...Cs.METADATA,template:Cs.METADATA.path,path:Cs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(Cs);var tp=Object.freeze({__proto__:null,at:js,categories:ep,get:Cs,hierarchical:Ms,index:Ds});async function $s(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$s.METADATA,template:$s.METADATA.path,path:$s.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/customers/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/customers/systematic/sections"})($s);async function vs(e,t){return r.fetch(e,{...vs.METADATA,template:vs.METADATA.path,path:vs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(vs);async function _s(e,t){return r.fetch(e,{..._s.METADATA,template:_s.METADATA.path,path:_s.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/customers/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/customers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(_s);var sp=Object.freeze({__proto__:null,at:vs,get:_s,index:$s}),np=Object.freeze({__proto__:null,channels:tp,sections:sp}),ap=Object.freeze({__proto__:null,authenticate:wr,carts:Br,coupons:Pr,deposits:Gr,mileages:Lr,orders:Wr,sales:Xr,systematic:np});async function Ss(e){return r.fetch(e,{...Ss.METADATA,template:Ss.METADATA.path,path:Ss.path()})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/authenticate",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/authenticate"})(Ss);async function xs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...xs.METADATA,template:xs.METADATA.path,path:xs.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/authenticate",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/authenticate"})(xs);async function bs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...bs.METADATA,template:bs.METADATA.path,path:bs.path()},t)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/authenticate/login",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/authenticate/login"})(bs);var op=Object.freeze({__proto__:null,get:Ss,join:xs,login:bs});async function Us(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Us.METADATA,template:Us.METADATA.path,path:Us.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries/:deliveryId/journeys",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys`})(Us);async function Rs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rs.METADATA,template:Rs.METADATA.path,path:Rs.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/deliveries/:deliveryId/journeys/:id/complete",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/complete`})(Rs);async function qs(e,t,s){return r.fetch(e,{...qs.METADATA,template:qs.METADATA.path,path:qs.path(t,s)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/deliveries/:deliveryId/journeys/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/journeys/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(qs);var rp=Object.freeze({__proto__:null,complete:Rs,create:Us,erase:qs});async function ws(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ws.METADATA,template:ws.METADATA.path,path:ws.path(t)},s)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries/:deliveryId/shippers",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/shippers`})(ws);var pp=Object.freeze({__proto__:null,create:ws});async function Os(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Os.METADATA,template:Os.METADATA.path,path:Os.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/deliveries",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/deliveries"})(Os);async function Ps(e,t){return r.fetch(e,{...Ps.METADATA,template:Ps.METADATA.path,path:Ps.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/deliveries/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/deliveries/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ps);async function ks(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...ks.METADATA,template:ks.METADATA.path,path:ks.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/deliveries",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/deliveries"})(ks);async function Fs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Fs.METADATA,template:Fs.METADATA.path,path:Fs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/deliveries/incompletes",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/deliveries/incompletes"})(Fs);var ip=Object.freeze({__proto__:null,at:Ps,create:ks,incompletes:Fs,index:Os,journeys:rp,shippers:pp});async function zs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...zs.METADATA,template:zs.METADATA.path,path:zs.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/coupons"})(zs);async function Gs(e,t){return r.fetch(e,{...Gs.METADATA,template:Gs.METADATA.path,path:Gs.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Gs);async function Hs(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Hs.METADATA,template:Hs.METADATA.path,path:Hs.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/coupons",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/coupons"})(Hs);async function Ls(e,t){return r.fetch(e,{...Ls.METADATA,template:Ls.METADATA.path,path:Ls.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/coupons/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/coupons/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Ls);var cp=Object.freeze({__proto__:null,at:Ls,create:zs,erase:Gs,index:Hs});async function Ns(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ns.METADATA,template:Ns.METADATA.path,path:Ns.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/orders",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/orders"})(Ns);async function Bs(e,t){return r.fetch(e,{...Bs.METADATA,template:Bs.METADATA.path,path:Bs.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/orders/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/orders/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Bs);var lp=Object.freeze({__proto__:null,at:Bs,index:Ns});async function Vs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Vs.METADATA,template:Vs.METADATA.path,path:Vs.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/questions/:questionId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(Vs);async function Js(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Js.METADATA,template:Js.METADATA.path,path:Js.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/questions/:questionId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(Js);var hp=Object.freeze({__proto__:null,create:Vs,update:Js});async function Ws(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ws.METADATA,template:Ws.METADATA.path,path:Ws.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Ws);async function Ks(e,t,s,a){return r.fetch(e,{...Ks.METADATA,template:Ks.METADATA.path,path:Ks.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Ks);async function Qs(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Qs.METADATA,template:Qs.METADATA.path,path:Qs.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(Qs);async function Ys(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Ys.METADATA,template:Ys.METADATA.path,path:Ys.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/questions/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(Ys);var up=Object.freeze({__proto__:null,at:Ks,create:Qs,index:Ws,update:Ys});async function Zs(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Zs.METADATA,template:Zs.METADATA.path,path:Zs.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions`})(Zs);async function Is(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Is.METADATA,template:Is.METADATA.path,path:Is.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/questions/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/abridges`})(Is);async function Xs(e,t,s){return r.fetch(e,{...Xs.METADATA,template:Xs.METADATA.path,path:Xs.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/questions/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/questions/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(Xs);var dp=Object.freeze({__proto__:null,abridges:Is,answer:hp,at:Xs,comments:up,index:Zs});async function en(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...en.METADATA,template:en.METADATA.path,path:en.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/reviews/:reviewId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(en);async function tn(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...tn.METADATA,template:tn.METADATA.path,path:tn.path(t,s)},a)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/reviews/:reviewId/answer",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/answer`})(tn);var mp=Object.freeze({__proto__:null,create:en,update:tn});async function sn(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...sn.METADATA,template:sn.METADATA.path,path:sn.path(t,s)},a)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(sn);async function nn(e,t,s,a){return r.fetch(e,{...nn.METADATA,template:nn.METADATA.path,path:nn.path(t,s,a)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(nn);async function an(e,t,s,a){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...an.METADATA,template:an.METADATA.path,path:an.path(t,s)},a)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments`})(an);async function on(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...on.METADATA,template:on.METADATA.path,path:on.path(t,s,a)},o)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/reviews/:inquiryId/comments/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/comments/${encodeURIComponent((a==null?void 0:a.toString())??"null")}`})(on);var Ap=Object.freeze({__proto__:null,at:nn,create:an,index:sn,update:on});async function rn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...rn.METADATA,template:rn.METADATA.path,path:rn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews`})(rn);async function pn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...pn.METADATA,template:pn.METADATA.path,path:pn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/reviews/abridges",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/abridges`})(pn);async function cn(e,t,s){return r.fetch(e,{...cn.METADATA,template:cn.METADATA.path,path:cn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/reviews/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/reviews/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(cn);var fp=Object.freeze({__proto__:null,abridges:pn,answer:mp,at:cn,comments:Ap,index:rn});async function ln(e,t,s){return r.fetch(e,{...ln.METADATA,template:ln.METADATA.path,path:ln.path(t,s)})}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/snapshots/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/replica`})(ln);async function hn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...hn.METADATA,template:hn.METADATA.path,path:hn.path(t)},s)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/snapshots",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots`})(hn);async function un(e,t,s){return r.fetch(e,{...un.METADATA,template:un.METADATA.path,path:un.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/snapshots/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(un);async function dn(e,t,s){return r.fetch(e,{...dn.METADATA,template:dn.METADATA.path,path:dn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:saleId/snapshots/:id/flip",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/snapshots/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/flip`})(dn);var Tp=Object.freeze({__proto__:null,at:un,flip:dn,index:hn,replica:ln});async function mn(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...mn.METADATA,template:mn.METADATA.path,path:mn.path(t,s,a)},o)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements`})(mn);async function An(e,t,s,a,o){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...An.METADATA,template:An.METADATA.path,path:An.path(t,s,a)},o)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=(t,s,a)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements`})(An);async function fn(e,t,s,a,o,i){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...fn.METADATA,template:fn.METADATA.path,path:fn.path(t,s,a,o)},i)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a,o)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements/${encodeURIComponent((o==null?void 0:o.toString())??"null")}`})(fn);async function Tn(e,t,s,a,o){return r.fetch(e,{...Tn.METADATA,template:Tn.METADATA.path,path:Tn.path(t,s,a,o)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:saleId/units/:unitId/stocks/:stockId/supplements/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s,a,o)=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/units/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/stocks/${encodeURIComponent((a==null?void 0:a.toString())??"null")}/supplements/${encodeURIComponent((o==null?void 0:o.toString())??"null")}`})(Tn);var yp=Object.freeze({__proto__:null,create:An,erase:Tn,index:mn,update:fn}),gp=Object.freeze({__proto__:null,supplements:yp}),Ep=Object.freeze({__proto__:null,stocks:gp});async function yn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...yn.METADATA,template:yn.METADATA.path,path:yn.path()},t)}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:201},e.path=()=>"/shoppings/sellers/sales"})(yn);async function gn(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...gn.METADATA,template:gn.METADATA.path,path:gn.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(gn);async function En(e,t,s){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...En.METADATA,template:En.METADATA.path,path:En.path(t)},s)}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id/open",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/open`})(En);async function Dn(e,t){return r.fetch(e,{...Dn.METADATA,template:Dn.METADATA.path,path:Dn.path(t)})}(function(e){e.METADATA={method:"POST",path:"/shoppings/sellers/sales/:id/replica",request:null,response:{type:"application/json",encrypted:!1},status:201},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/replica`})(Dn);async function Mn(e,t){return r.fetch(e,{...Mn.METADATA,template:Mn.METADATA.path,path:Mn.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:id/pause",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/pause`})(Mn);async function jn(e,t){return r.fetch(e,{...jn.METADATA,template:jn.METADATA.path,path:jn.path(t)})}(function(e){e.METADATA={method:"DELETE",path:"/shoppings/sellers/sales/:id/suspend",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/suspend`})(jn);async function Cn(e,t){return r.fetch(e,{...Cn.METADATA,template:Cn.METADATA.path,path:Cn.path(t)})}(function(e){e.METADATA={method:"PUT",path:"/shoppings/sellers/sales/:id/restore",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/restore`})(Cn);async function $n(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...$n.METADATA,template:$n.METADATA.path,path:$n.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales/details",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/sales/details"})($n);async function vn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...vn.METADATA,template:vn.METADATA.path,path:vn.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/sales",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/sales"})(vn);async function _n(e,t){return r.fetch(e,{..._n.METADATA,template:_n.METADATA.path,path:_n.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/sales/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/sales/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(_n);var Dp=Object.freeze({__proto__:null,at:_n,create:yn,details:$n,index:vn,open:En,pause:Mn,questions:dp,replica:Dn,restore:Cn,reviews:fp,snapshots:Tp,suspend:jn,units:Ep,update:gn});async function Sn(e,t){return r.fetch(e,{...Sn.METADATA,template:Sn.METADATA.path,path:Sn.path(t)})}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels/:channelCode/categories",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories`})(Sn);async function xn(e,t,s){return r.fetch(e,{...xn.METADATA,template:xn.METADATA.path,path:xn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:channelCode/categories/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}`})(xn);async function bn(e,t,s){return r.fetch(e,{...bn.METADATA,template:bn.METADATA.path,path:bn.path(t,s)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:channelCode/categories/:id/invert",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=(t,s)=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/categories/${encodeURIComponent((s==null?void 0:s.toString())??"null")}/invert`})(bn);var Mp=Object.freeze({__proto__:null,at:xn,index:Sn,invert:bn});async function Un(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Un.METADATA,template:Un.METADATA.path,path:Un.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/channels"})(Un);async function Rn(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...Rn.METADATA,template:Rn.METADATA.path,path:Rn.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/channels/hierarchical",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/channels/hierarchical"})(Rn);async function qn(e,t){return r.fetch(e,{...qn.METADATA,template:qn.METADATA.path,path:qn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(qn);async function wn(e,t){return r.fetch(e,{...wn.METADATA,template:wn.METADATA.path,path:wn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/channels/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/channels/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(wn);var jp=Object.freeze({__proto__:null,at:qn,categories:Mp,get:wn,hierarchical:Rn,index:Un});async function On(e,t){return r.fetch({...e,headers:{...e.headers,"Content-Type":"application/json"}},{...On.METADATA,template:On.METADATA.path,path:On.path()},t)}(function(e){e.METADATA={method:"PATCH",path:"/shoppings/sellers/systematic/sections",request:{type:"application/json",encrypted:!1},response:{type:"application/json",encrypted:!1},status:200},e.path=()=>"/shoppings/sellers/systematic/sections"})(On);async function Pn(e,t){return r.fetch(e,{...Pn.METADATA,template:Pn.METADATA.path,path:Pn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/sections/:id",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}`})(Pn);async function kn(e,t){return r.fetch(e,{...kn.METADATA,template:kn.METADATA.path,path:kn.path(t)})}(function(e){e.METADATA={method:"GET",path:"/shoppings/sellers/systematic/sections/:code/get",request:null,response:{type:"application/json",encrypted:!1},status:200},e.path=t=>`/shoppings/sellers/systematic/sections/${encodeURIComponent((t==null?void 0:t.toString())??"null")}/get`})(kn);var Cp=Object.freeze({__proto__:null,at:Pn,get:kn,index:On}),$p=Object.freeze({__proto__:null,channels:jp,sections:Cp}),vp=Object.freeze({__proto__:null,authenticate:op,coupons:cp,deliveries:ip,orders:lp,sales:Dp,systematic:$p}),_p=Object.freeze({__proto__:null,admins:Rr,customers:ap,sellers:vp}),Sp=Object.freeze({__proto__:null,monitors:Ar,shoppings:_p}),Ia=Object.freeze({__proto__:null,HttpError:so.HttpError,diagnosers:hr,functional:Sp});const xp=e=>{const[t,s]=q.useState(null);if(q.useEffect(()=>{(async()=>{s(eo.application({model:"chatgpt",document:to.convert(await fetch("https://raw.githubusercontent.com/samchon/shopping-backend/refs/heads/master/packages/api/customer.swagger.json").then(o=>o.json()))}))})().catch(console.error)},[]),t===null)return j.jsxs("div",{children:[j.jsx("h2",{children:"Loading Swagger document"}),j.jsx("hr",{}),j.jsx("p",{children:"Wait for a moment please."}),j.jsx("p",{children:"Loading Swagger document..."})]});const a=new wo({model:"chatgpt",vendor:{api:e.api,model:"gpt-4o-mini"},controllers:[{protocol:"http",name:"main",application:t,connection:e.connection}],config:{locale:e.locale}});return j.jsx(Oo,{agent:a,title:"Agentica Shopping Chatbot"})},bp=()=>{const[e,t]=q.useState(""),[s,a]=q.useState("gpt-4o-mini"),[o,i]=q.useState(window.navigator.language),[p,A]=q.useState("John Doe"),[f,h]=q.useState("821012345678"),[y,M]=q.useState(!1),[x,E]=q.useState(null),g=async()=>{M(!0);const D={host:"https://shopping-be.wrtn.ai"};await Ia.functional.shoppings.customers.authenticate.create(D,{channel_code:"samchon",external_user:null,href:window.location.href,referrer:window.document.referrer}),await Ia.functional.shoppings.customers.authenticate.activate(D,{mobile:f,name:p}),E({api:new zo({apiKey:e,dangerouslyAllowBrowser:!0}),connection:D,name:p,mobile:f,locale:o})};return j.jsx("div",{style:{width:"100%",height:"100%",overflow:x!==null?void 0:"auto"},children:x!==null?j.jsx(xp,{...x}):j.jsxs(Po,{style:{width:"calc(100% - 60px)",padding:15,margin:15},children:[j.jsx(In,{variant:"h4",children:"Shopping AI Chatbot"}),j.jsx("br",{}),j.jsx(Go,{}),j.jsx("br",{}),"Demonstration of Agentica with Shopping Backend API.",j.jsx("br",{}),j.jsx("br",{}),j.jsx(Jo,{href:"https://github.com/samchon/shopping-backend",target:"_blank",children:"https://github.com/samchon/shopping-backend"}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(In,{variant:"h6",children:" OpenAI Configuration "}),j.jsx(Qn,{onChange:D=>t(D.target.value),defaultValue:e,label:"OpenAI API Key",variant:"outlined",placeholder:"Your OpenAI API Key",error:e.length===0}),j.jsx("br",{}),j.jsxs(ko,{defaultValue:s,onChange:(D,S)=>a(S),style:{paddingLeft:15},children:[j.jsx(Ba,{control:j.jsx(Va,{}),label:"GPT-4o Mini",value:"gpt-4o-mini"}),j.jsx(Ba,{control:j.jsx(Va,{}),label:"GPT-4o",value:"gpt-4o"})]}),j.jsx("br",{}),j.jsx(In,{variant:"h6",children:" Membership Information "}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>i(D.target.value),defaultValue:o,label:"Locale",variant:"outlined",error:o.length===0}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>A(D.target.value),defaultValue:p,label:"Name",variant:"outlined",error:p.length===0}),j.jsx("br",{}),j.jsx(Qn,{onChange:D=>h(D.target.value),defaultValue:f,label:"Mobile",variant:"outlined",error:f.length===0}),j.jsx("br",{}),j.jsx("br",{}),j.jsx(Fo,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:y||e.length===0||o.length===0||p.length===0||f.length===0,onClick:()=>g(),children:y?"Starting...":"Start AI Chatbot"})]})})};Eo(window.document.getElementById("root")).render(j.jsx(bp,{}));
|