gap-nodejs-sdk 1.0.152 → 1.0.154

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/gap-sdk.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GapSdk=e():t.GapSdk=e()}(self,(()=>(()=>{var t={9669:(t,e,i)=>{t.exports=i(51609)},55448:(t,e,i)=>{"use strict";var n=i(64867),o=i(36026),s=i(4372),r=i(15327),a=i(94097),l=i(84109),d=i(67985),u=i(77874),p=i(82648),_=i(60644),c=i(90205);t.exports=function(t){return new Promise((function(e,i){var m,f=t.data,h=t.headers,y=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(m),t.signal&&t.signal.removeEventListener("abort",m)}n.isFormData(f)&&n.isStandardBrowserEnv()&&delete h["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var T=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(T+":"+S)}var E=a(t.baseURL,t.url);function I(){if(g){var n="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,s={data:y&&"text"!==y&&"json"!==y?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:t,request:g};o((function(t){e(t),v()}),(function(t){i(t),v()}),s),g=null}}if(g.open(t.method.toUpperCase(),r(E,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=I:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(I)},g.onabort=function(){g&&(i(new p("Request aborted",p.ECONNABORTED,t,g)),g=null)},g.onerror=function(){i(new p("Network Error",p.ERR_NETWORK,t,g,g)),g=null},g.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||u;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(new p(e,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,t,g)),g=null},n.isStandardBrowserEnv()){var R=(t.withCredentials||d(E))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;R&&(h[t.xsrfHeaderName]=R)}"setRequestHeader"in g&&n.forEach(h,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete h[e]:g.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),y&&"json"!==y&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(m=function(t){g&&(i(!t||t&&t.type?new _:t),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(m),t.signal&&(t.signal.aborted?m():t.signal.addEventListener("abort",m))),f||(f=null);var C=c(E);C&&-1===["http","https","file"].indexOf(C)?i(new p("Unsupported protocol "+C+":",p.ERR_BAD_REQUEST,t)):g.send(f)}))}},51609:(t,e,i)=>{"use strict";var n=i(64867),o=i(91849),s=i(30321),r=i(47185),a=function t(e){var i=new s(e),a=o(s.prototype.request,i);return n.extend(a,s.prototype,i),n.extend(a,i),a.create=function(i){return t(r(e,i))},a}(i(45546));a.Axios=s,a.CanceledError=i(60644),a.CancelToken=i(14972),a.isCancel=i(26502),a.VERSION=i(97288).version,a.toFormData=i(47675),a.AxiosError=i(82648),a.Cancel=a.CanceledError,a.all=function(t){return Promise.all(t)},a.spread=i(8713),a.isAxiosError=i(16268),t.exports=a,t.exports.default=a},14972:(t,e,i)=>{"use strict";var n=i(60644);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var i=this;this.promise.then((function(t){if(i._listeners){var e,n=i._listeners.length;for(e=0;e<n;e++)i._listeners[e](t);i._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){i.subscribe(t),e=t})).then(t);return n.cancel=function(){i.unsubscribe(e)},n},t((function(t){i.reason||(i.reason=new n(t),e(i.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},60644:(t,e,i)=>{"use strict";var n=i(82648);function o(t){n.call(this,null==t?"canceled":t,n.ERR_CANCELED),this.name="CanceledError"}i(64867).inherits(o,n,{__CANCEL__:!0}),t.exports=o},26502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:(t,e,i)=>{"use strict";var n=i(64867),o=i(15327),s=i(80782),r=i(13572),a=i(47185),l=i(94097),d=i(54875),u=d.validators;function p(t){this.defaults=t,this.interceptors={request:new s,response:new s}}p.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var i=e.transitional;void 0!==i&&d.assertOptions(i,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var p=[r,void 0];for(Array.prototype.unshift.apply(p,n),p=p.concat(l),s=Promise.resolve(e);p.length;)s=s.then(p.shift(),p.shift());return s}for(var _=e;n.length;){var c=n.shift(),m=n.shift();try{_=c(_)}catch(t){m(t);break}}try{s=r(_)}catch(t){return Promise.reject(t)}for(;l.length;)s=s.then(l.shift(),l.shift());return s},p.prototype.getUri=function(t){t=a(this.defaults,t);var e=l(t.baseURL,t.url);return o(e,t.params,t.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,i){return this.request(a(i||{},{method:t,url:e,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){function e(e){return function(i,n,o){return this.request(a(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}p.prototype[t]=e(),p.prototype[t+"Form"]=e(!0)})),t.exports=p},82648:(t,e,i)=>{"use strict";var n=i(64867);function o(t,e,i,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var s=o.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){r[t]={value:t}})),Object.defineProperties(o,r),Object.defineProperty(s,"isAxiosError",{value:!0}),o.from=function(t,e,i,r,a,l){var d=Object.create(s);return n.toFlatObject(t,d,(function(t){return t!==Error.prototype})),o.call(d,t.message,e,i,r,a),d.name=t.name,l&&Object.assign(d,l),d},t.exports=o},80782:(t,e,i)=>{"use strict";var n=i(64867);function o(){this.handlers=[]}o.prototype.use=function(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},94097:(t,e,i)=>{"use strict";var n=i(91793),o=i(7303);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},13572:(t,e,i)=>{"use strict";var n=i(64867),o=i(18527),s=i(26502),r=i(45546),a=i(60644);function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a}t.exports=function(t){return l(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||r.adapter)(t).then((function(e){return l(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},47185:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){e=e||{};var i={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function s(i){return n.isUndefined(e[i])?n.isUndefined(t[i])?void 0:o(void 0,t[i]):o(t[i],e[i])}function r(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(i){return n.isUndefined(e[i])?n.isUndefined(t[i])?void 0:o(void 0,t[i]):o(void 0,e[i])}function l(i){return i in e?o(t[i],e[i]):i in t?o(void 0,t[i]):void 0}var d={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=d[t]||s,o=e(t);n.isUndefined(o)&&e!==l||(i[t]=o)})),i}},36026:(t,e,i)=>{"use strict";var n=i(82648);t.exports=function(t,e,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?e(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}},18527:(t,e,i)=>{"use strict";var n=i(64867),o=i(45546);t.exports=function(t,e,i){var s=this||o;return n.forEach(i,(function(i){t=i.call(s,t,e)})),t}},45546:(t,e,i)=>{"use strict";var n=i(64867),o=i(16016),s=i(82648),r=i(77874),a=i(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function d(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,p={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=i(55448)),u),transformRequest:[function(t,e){if(o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t))return t;if(n.isArrayBufferView(t))return t.buffer;if(n.isURLSearchParams(t))return d(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=n.isObject(t),r=e&&e["Content-Type"];if((i=n.isFileList(t))||s&&"multipart/form-data"===r){var l=this.env&&this.env.FormData;return a(i?{"files[]":t}:t,l&&new l)}return s||"application/json"===r?(d(e,"application/json"),function(t,e,i){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||p.transitional,i=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,r=!i&&"json"===this.responseType;if(r||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw s.from(t,s.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:i(91623)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){p.headers[t]=n.merge(l)})),t.exports=p},77874:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:t=>{t.exports={version:"0.27.2"}},91849:t=>{"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},15327:(t,e,i)=>{"use strict";var n=i(64867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var r=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),r.push(o(e)+"="+o(t))})))})),s=r.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,i)=>{"use strict";var n=i(64867);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,i,o,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(s)&&a.push("domain="+s),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},16268:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},67985:(t,e,i)=>{"use strict";var n=i(64867);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(e){var i=n.isString(e)?o(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},16016:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}},91623:t=>{t.exports=null},84109:(t,e,i)=>{"use strict";var n=i(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,s,r={};return t?(n.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=n.trim(t.substr(0,s)).toLowerCase(),i=n.trim(t.substr(s+1)),e){if(r[e]&&o.indexOf(e)>=0)return;r[e]="set-cookie"===e?(r[e]?r[e]:[]).concat([i]):r[e]?r[e]+", "+i:i}})),r):r}},90205:t=>{"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},47675:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){e=e||new FormData;var i=[];function o(t){return null===t?"":n.isDate(t)?t.toISOString():n.isArrayBuffer(t)||n.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(s,r){if(n.isPlainObject(s)||n.isArray(s)){if(-1!==i.indexOf(s))throw Error("Circular reference detected in "+r);i.push(s),n.forEach(s,(function(i,s){if(!n.isUndefined(i)){var a,l=r?r+"."+s:s;if(i&&!r&&"object"==typeof i)if(n.endsWith(s,"{}"))i=JSON.stringify(i);else if(n.endsWith(s,"[]")&&(a=n.toArray(i)))return void a.forEach((function(t){!n.isUndefined(t)&&e.append(l,o(t))}));t(i,l)}})),i.pop()}else e.append(r,o(s))}(t),e}},54875:(t,e,i)=>{"use strict";var n=i(97288).version,o=i(82648),s={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){s[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}}));var r={};s.transitional=function(t,e,i){function s(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,n,a){if(!1===t)throw new o(s(n," has been removed"+(e?" in "+e:"")),o.ERR_DEPRECATED);return e&&!r[n]&&(r[n]=!0,console.warn(s(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,n,a)}},t.exports={assertOptions:function(t,e,i){if("object"!=typeof t)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),s=n.length;s-- >0;){var r=n[s],a=e[r];if(a){var l=t[r],d=void 0===l||a(l,r,t);if(!0!==d)throw new o("option "+r+" must be "+d,o.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new o("Unknown option "+r,o.ERR_BAD_OPTION)}},validators:s}},64867:(t,e,i)=>{"use strict";var n,o=i(91849),s=Object.prototype.toString,r=(n=Object.create(null),function(t){var e=s.call(t);return n[e]||(n[e]=e.slice(8,-1).toLowerCase())});function a(t){return t=t.toLowerCase(),function(e){return r(e)===t}}function l(t){return Array.isArray(t)}function d(t){return void 0===t}var u=a("ArrayBuffer");function p(t){return null!==t&&"object"==typeof t}function _(t){if("object"!==r(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var c=a("Date"),m=a("File"),f=a("Blob"),h=a("FileList");function y(t){return"[object Function]"===s.call(t)}var v=a("URLSearchParams");function g(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),l(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var T,S=(T="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return T&&t instanceof T});t.exports={isArray:l,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!d(t)&&null!==t.constructor&&!d(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||s.call(t)===e||y(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:p,isPlainObject:_,isUndefined:d,isDate:c,isFile:m,isBlob:f,isFunction:y,isStream:function(t){return p(t)&&y(t.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:g,merge:function t(){var e={};function i(i,n){_(e[n])&&_(i)?e[n]=t(e[n],i):_(i)?e[n]=t({},i):l(i)?e[n]=i.slice():e[n]=i}for(var n=0,o=arguments.length;n<o;n++)g(arguments[n],i);return e},extend:function(t,e,i){return g(e,(function(e,n){t[n]=i&&"function"==typeof e?o(e,i):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,i,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,i&&Object.assign(t.prototype,i)},toFlatObject:function(t,e,i){var n,o,s,r={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)r[s=n[o]]||(e[s]=t[s],r[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:r,kindOfTest:a,endsWith:function(t,e,i){t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=e.length;var n=t.indexOf(e,i);return-1!==n&&n===i},toArray:function(t){if(!t)return null;var e=t.length;if(d(e))return null;for(var i=new Array(e);e-- >0;)i[e]=t[e];return i},isTypedArray:S,isFileList:h}},27484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",n="second",o="minute",s="hour",r="day",a="week",l="month",d="quarter",u="year",p="date",_="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},y={s:h,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),o=i%60;return(e<=0?"+":"-")+h(n,2,"0")+":"+h(o,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var n=12*(i.year()-e.year())+(i.month()-e.month()),o=e.clone().add(n,l),s=i-o<0,r=e.clone().add(n+(s?-1:1),l);return+(-(n+(i-o)/(s?o-r:r-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:u,w:a,d:r,D:p,h:s,m:o,s:n,ms:i,Q:d}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",g={};g[v]=f;var T=function(t){return t instanceof R},S=function t(e,i,n){var o;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();g[s]&&(o=s),i&&(g[s]=i,o=s);var r=e.split("-");if(!o&&r.length>1)return t(r[0])}else{var a=e.name;g[a]=e,o=a}return!n&&o&&(v=o),o||!n&&v},E=function(t,e){if(T(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new R(i)},I=y;I.l=S,I.i=T,I.w=function(t,e){return E(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var R=function(){function f(t){this.$L=S(t.locale,null,!0),this.parse(t)}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(I.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(c);if(n){var o=n[2]-1||0,s=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return I},h.isValid=function(){return!(this.$d.toString()===_)},h.isSame=function(t,e){var i=E(t);return this.startOf(e)<=i&&i<=this.endOf(e)},h.isAfter=function(t,e){return E(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<E(t)},h.$g=function(t,e,i){return I.u(t)?this[e]:this.set(i,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,e){var i=this,d=!!I.u(e)||e,_=I.p(t),c=function(t,e){var n=I.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return d?n:n.endOf(r)},m=function(t,e){return I.w(i.toDate()[t].apply(i.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},f=this.$W,h=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(_){case u:return d?c(1,0):c(31,11);case l:return d?c(1,h):c(0,h+1);case a:var g=this.$locale().weekStart||0,T=(f<g?f+7:f)-g;return c(d?y-T:y+(6-T),h);case r:case p:return m(v+"Hours",0);case s:return m(v+"Minutes",1);case o:return m(v+"Seconds",2);case n:return m(v+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(t,e){var a,d=I.p(t),_="set"+(this.$u?"UTC":""),c=(a={},a[r]=_+"Date",a[p]=_+"Date",a[l]=_+"Month",a[u]=_+"FullYear",a[s]=_+"Hours",a[o]=_+"Minutes",a[n]=_+"Seconds",a[i]=_+"Milliseconds",a)[d],m=d===r?this.$D+(e-this.$W):e;if(d===l||d===u){var f=this.clone().set(p,1);f.$d[c](m),f.init(),this.$d=f.set(p,Math.min(this.$D,f.daysInMonth())).$d}else c&&this.$d[c](m);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[I.p(t)]()},h.add=function(i,d){var p,_=this;i=Number(i);var c=I.p(d),m=function(t){var e=E(_);return I.w(e.date(e.date()+Math.round(t*i)),_)};if(c===l)return this.set(l,this.$M+i);if(c===u)return this.set(u,this.$y+i);if(c===r)return m(1);if(c===a)return m(7);var f=(p={},p[o]=t,p[s]=e,p[n]=1e3,p)[c]||1,h=this.$d.getTime()+i*f;return I.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||_;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=I.z(this),s=this.$H,r=this.$m,a=this.$M,l=i.weekdays,d=i.months,u=function(t,i,o,s){return t&&(t[i]||t(e,n))||o[i].slice(0,s)},p=function(t){return I.s(s%12||12,t,"0")},c=i.meridiem||function(t,e,i){var n=t<12?"AM":"PM";return i?n.toLowerCase():n},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:I.s(a+1,2,"0"),MMM:u(i.monthsShort,a,d,3),MMMM:u(d,a),D:this.$D,DD:I.s(this.$D,2,"0"),d:String(this.$W),dd:u(i.weekdaysMin,this.$W,l,2),ddd:u(i.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(s),HH:I.s(s,2,"0"),h:p(1),hh:p(2),a:c(s,r,!0),A:c(s,r,!1),m:String(r),mm:I.s(r,2,"0"),s:String(this.$s),ss:I.s(this.$s,2,"0"),SSS:I.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(t,e){return e||f[t]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(i,p,_){var c,m=I.p(p),f=E(i),h=(f.utcOffset()-this.utcOffset())*t,y=this-f,v=I.m(this,f);return v=(c={},c[u]=v/12,c[l]=v,c[d]=v/3,c[a]=(y-h)/6048e5,c[r]=(y-h)/864e5,c[s]=y/e,c[o]=y/t,c[n]=y/1e3,c)[m]||y,_?v:I.a(v)},h.daysInMonth=function(){return this.endOf(l).$D},h.$locale=function(){return g[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),n=S(t,e,!0);return n&&(i.$L=n),i},h.clone=function(){return I.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),C=R.prototype;return E.prototype=C,[["$ms",i],["$s",n],["$m",o],["$H",s],["$W",r],["$M",l],["$y",u],["$D",p]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),E.extend=function(t,e){return t.$i||(t(e,R,E),t.$i=!0),E},E.locale=S,E.isDayjs=T,E.unix=function(t){return E(1e3*t)},E.en=g[v],E.Ls=g,E.p={},E}()},17187:t=>{"use strict";var e,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(t,e,i){return Function.prototype.apply.call(t,e,i)};e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(i,n){function o(i){t.removeListener(e,s),n(i)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",o),i([].slice.call(arguments))}f(t,e,s,{once:!0}),"error"!==e&&function(t,e,i){"function"==typeof t.on&&f(t,"error",e,{once:!0})}(t,o)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var r=10;function a(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function d(t,e,i,n){var o,s,r,d;if(a(i),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,i.listener?i.listener:i),s=t._events),r=s[e]),void 0===r)r=s[e]=i,++t._eventsCount;else if("function"==typeof r?r=s[e]=n?[i,r]:[r,i]:n?r.unshift(i):r.push(i),(o=l(t))>0&&r.length>o&&!r.warned){r.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=r.length,d=u,console&&console.warn&&console.warn(d)}return t}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,i){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},o=u.bind(n);return o.listener=i,n.wrapFn=o,o}function _(t,e,i){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?i?[o.listener||o]:[o]:i?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(o):m(o,o.length)}function c(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function m(t,e){for(var i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i}function f(t,e,i,n){if("function"==typeof t.on)n.once?t.once(e,i):t.on(e,i);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(s){n.once&&t.removeEventListener(e,o),i(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");r=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var o="error"===t,s=this._events;if(void 0!==s)o=o&&void 0===s.error;else if(!o)return!1;if(o){var r;if(e.length>0&&(r=e[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var l=s[t];if(void 0===l)return!1;if("function"==typeof l)n(l,this,e);else{var d=l.length,u=m(l,d);for(i=0;i<d;++i)n(u[i],this,e)}return!0},s.prototype.addListener=function(t,e){return d(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return d(this,t,e,!0)},s.prototype.once=function(t,e){return a(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return a(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var i,n,o,s,r;if(a(e),void 0===(n=this._events))return this;if(void 0===(i=n[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(o=-1,s=i.length-1;s>=0;s--)if(i[s]===e||i[s].listener===e){r=i[s].listener,o=s;break}if(o<0)return this;0===o?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,o),1===i.length&&(n[t]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",t,r||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0===arguments.length){var o,s=Object.keys(i);for(n=0;n<s.length;++n)"removeListener"!==(o=s[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=i[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return _(this,t,!0)},s.prototype.rawListeners=function(t){return _(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):c.call(t,e)},s.prototype.listenerCount=c,s.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},35823:t=>{t.exports=function(t,e,i,n){var o=new Blob(void 0!==n?[n,t]:[t],{type:i||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(o,e);else{var s=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(o):window.webkitURL.createObjectURL(o),r=document.createElement("a");r.style.display="none",r.href=s,r.setAttribute("download",e),void 0===r.download&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),setTimeout((function(){document.body.removeChild(r),window.URL.revokeObjectURL(s)}),200)}}},12033:t=>{var e=function(){this._class_=e,this.developerAppId=void 0,this.applicationName=void 0,this.applicationID=void 0,this.applicationVersion=void 0,this.sourceSDK=void 0,this.sourceSDKVersion=void 0};e.prototype.setDeveloperAppId=function(t){this.developerAppId=t},e.prototype.getDeveloperAppId=function(){return this.developerAppId},e.prototype.setApplicationName=function(t){this.applicationName=t},e.prototype.getApplicationName=function(){return this.applicationName},e.prototype.setApplicationID=function(t){this.applicationID=t},e.prototype.getApplicationID=function(){return this.applicationID},e.prototype.setApplicationVersion=function(t){this.applicationVersion=t},e.prototype.getApplicationVersion=function(){return this.applicationVersion},e.prototype.setSourceSDK=function(t){this.sourceSDK=t},e.prototype.getSourceSDK=function(){return this.sourceSDK},e.prototype.setSourceSDKVersion=function(t){this.sourceSDKVersion=t},e.prototype.getSourceSDKVersion=function(){return this.sourceSDKVersion},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.developerAppId={},e._meta_.fields.developerAppId.type=String,e._meta_.fields.applicationName={},e._meta_.fields.applicationName.type=String,e._meta_.fields.applicationID={},e._meta_.fields.applicationID.type=String,e._meta_.fields.applicationVersion={},e._meta_.fields.applicationVersion.type=String,e._meta_.fields.sourceSDK={},e._meta_.fields.sourceSDK.type=String,e._meta_.fields.sourceSDKVersion={},e._meta_.fields.sourceSDKVersion.type=String,t.exports=e},64280:(t,e,i)=>{function n(){}t.exports.apps=n,n.AppTracking=i(12033),t.exports=n},81565:t=>{var e=function(){this._class_=e,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.city=void 0,this.country=void 0,this.phoneNumber=void 0,this.state=void 0,this.zip=void 0};e.prototype.setAddress1=function(t){this.address1=t},e.prototype.getAddress1=function(){return this.address1},e.prototype.setAddress2=function(t){this.address2=t},e.prototype.getAddress2=function(){return this.address2},e.prototype.setAddress3=function(t){this.address3=t},e.prototype.getAddress3=function(){return this.address3},e.prototype.setCity=function(t){this.city=t},e.prototype.getCity=function(){return this.city},e.prototype.setCountry=function(t){this.country=t},e.prototype.getCountry=function(){return this.country},e.prototype.setPhoneNumber=function(t){this.phoneNumber=t},e.prototype.getPhoneNumber=function(){return this.phoneNumber},e.prototype.setState=function(t){this.state=t},e.prototype.getState=function(){return this.state},e.prototype.setZip=function(t){this.zip=t},e.prototype.getZip=function(){return this.zip},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.address1={},e._meta_.fields.address1.type=String,e._meta_.fields.address2={},e._meta_.fields.address2.type=String,e._meta_.fields.address3={},e._meta_.fields.address3.type=String,e._meta_.fields.city={},e._meta_.fields.city.type=String,e._meta_.fields.country={},e._meta_.fields.country.type=String,e._meta_.fields.phoneNumber={},e._meta_.fields.phoneNumber.type=String,e._meta_.fields.state={},e._meta_.fields.state.type=String,e._meta_.fields.zip={},e._meta_.fields.zip.type=String,t.exports=e},38455:t=>{t.exports={ALL:"ALL",MARKET:"MARKET",SEARCH:"SEARCH",INSTALL:"INSTALL"}},73767:t=>{t.exports={NEW:"NEW",PENDING:"PENDING",APPROVED_PENDING_SIGNING:"APPROVED_PENDING_SIGNING",APPROVED:"APPROVED",DENIED:"DENIED",PUBLISHED:"PUBLISHED"}},5192:t=>{t.exports={FULL_SERVICE_RESTAURANT:"FULL_SERVICE_RESTAURANT",QUICK_SERVICE_RESTAURANT:"QUICK_SERVICE_RESTAURANT",COFFEE_SHOP:"COFFEE_SHOP",BAKERY:"BAKERY",BAR:"BAR",FOOD_TRUCK:"FOOD_TRUCK",FROZEN_YOGURT:"FROZEN_YOGURT",PIZZA:"PIZZA",DELI:"DELI",OTHER_RESTAURANT:"OTHER_RESTAURANT",BOUTIQUE:"BOUTIQUE",CONVENIENCE_STORE:"CONVENIENCE_STORE",GROCERY:"GROCERY",LIQUOR_STORE:"LIQUOR_STORE",VAPE_SHOP:"VAPE_SHOP",JEWELRY:"JEWELRY",FLORIST:"FLORIST",OTHER_RETAIL:"OTHER_RETAIL",FITNESS:"FITNESS",SPA:"SPA",HAIR_SALON:"HAIR_SALON",HOME_AND_REPAIR:"HOME_AND_REPAIR",PROFESSIONAL_SERVICES:"PROFESSIONAL_SERVICES",CATERING:"CATERING",OTHER_SERVICE:"OTHER_SERVICE"}},9728:t=>{var e=function(){this._class_=e,this.track1=void 0,this.track2=void 0,this.track3=void 0,this.encrypted=void 0,this.maskedTrack1=void 0,this.maskedTrack2=void 0,this.maskedTrack3=void 0,this.pan=void 0,this.cardholderName=void 0,this.firstName=void 0,this.lastName=void 0,this.exp=void 0,this.last4=void 0,this.first6=void 0};e.prototype.setTrack1=function(t){this.track1=t},e.prototype.getTrack1=function(){return this.track1},e.prototype.setTrack2=function(t){this.track2=t},e.prototype.getTrack2=function(){return this.track2},e.prototype.setTrack3=function(t){this.track3=t},e.prototype.getTrack3=function(){return this.track3},e.prototype.setEncrypted=function(t){this.encrypted=t},e.prototype.getEncrypted=function(){return this.encrypted},e.prototype.setMaskedTrack1=function(t){this.maskedTrack1=t},e.prototype.getMaskedTrack1=function(){return this.maskedTrack1},e.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},e.prototype.getMaskedTrack2=function(){return this.maskedTrack2},e.prototype.setMaskedTrack3=function(t){this.maskedTrack3=t},e.prototype.getMaskedTrack3=function(){return this.maskedTrack3},e.prototype.setPan=function(t){this.pan=t},e.prototype.getPan=function(){return this.pan},e.prototype.setCardholderName=function(t){this.cardholderName=t},e.prototype.getCardholderName=function(){return this.cardholderName},e.prototype.setFirstName=function(t){this.firstName=t},e.prototype.getFirstName=function(){return this.firstName},e.prototype.setLastName=function(t){this.lastName=t},e.prototype.getLastName=function(){return this.lastName},e.prototype.setExp=function(t){this.exp=t},e.prototype.getExp=function(){return this.exp},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.track1={},e._meta_.fields.track1.type=String,e._meta_.fields.track2={},e._meta_.fields.track2.type=String,e._meta_.fields.track3={},e._meta_.fields.track3.type=String,e._meta_.fields.encrypted={},e._meta_.fields.encrypted.type=Boolean,e._meta_.fields.maskedTrack1={},e._meta_.fields.maskedTrack1.type=String,e._meta_.fields.maskedTrack2={},e._meta_.fields.maskedTrack2.type=String,e._meta_.fields.maskedTrack3={},e._meta_.fields.maskedTrack3.type=String,e._meta_.fields.pan={},e._meta_.fields.pan.type=String,e._meta_.fields.cardholderName={},e._meta_.fields.cardholderName.type=String,e._meta_.fields.firstName={},e._meta_.fields.firstName.type=String,e._meta_.fields.lastName={},e._meta_.fields.lastName.type=String,e._meta_.fields.exp={},e._meta_.fields.exp.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,t.exports=e},52514:(t,e,i)=>{var n=i(3306),o=i(96351),s=function(){this._class_=s,this.type=void 0,this.reason=void 0,this.message=void 0};s.prototype.setType=function(t){this.type=t},s.prototype.getType=function(){return this.type},s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.type={},s._meta_.fields.type.type=o,s._meta_.fields.reason={},s._meta_.fields.reason.type=n,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},96351:t=>{t.exports={DUPLICATE_CHALLENGE:"DUPLICATE_CHALLENGE",OFFLINE_CHALLENGE:"OFFLINE_CHALLENGE"}},40994:(t,e,i)=>{var n=i(96351),o=function(){this._class_=o,this.challengeType=void 0};o.prototype.setChallengeType=function(t){this.challengeType=t},o.prototype.getChallengeType=function(){return this.challengeType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.challengeType={},o._meta_.fields.challengeType.type=n,t.exports=o},41208:t=>{var e=function(){this._class_=e,this.countryCode=void 0,this.displayName=void 0,this.localDisplayName=void 0,this.defaultCurrency=void 0,this.defaultTimezone=void 0,this.stateProvinceRequired=void 0,this.zipPostalRequired=void 0,this.countyRequired=void 0,this.defaultLocale=void 0,this.appMarketBillingEnabled=void 0};e.prototype.setCountryCode=function(t){this.countryCode=t},e.prototype.getCountryCode=function(){return this.countryCode},e.prototype.setDisplayName=function(t){this.displayName=t},e.prototype.getDisplayName=function(){return this.displayName},e.prototype.setLocalDisplayName=function(t){this.localDisplayName=t},e.prototype.getLocalDisplayName=function(){return this.localDisplayName},e.prototype.setDefaultCurrency=function(t){this.defaultCurrency=t},e.prototype.getDefaultCurrency=function(){return this.defaultCurrency},e.prototype.setDefaultTimezone=function(t){this.defaultTimezone=t},e.prototype.getDefaultTimezone=function(){return this.defaultTimezone},e.prototype.setStateProvinceRequired=function(t){this.stateProvinceRequired=t},e.prototype.getStateProvinceRequired=function(){return this.stateProvinceRequired},e.prototype.setZipPostalRequired=function(t){this.zipPostalRequired=t},e.prototype.getZipPostalRequired=function(){return this.zipPostalRequired},e.prototype.setCountyRequired=function(t){this.countyRequired=t},e.prototype.getCountyRequired=function(){return this.countyRequired},e.prototype.setDefaultLocale=function(t){this.defaultLocale=t},e.prototype.getDefaultLocale=function(){return this.defaultLocale},e.prototype.setAppMarketBillingEnabled=function(t){this.appMarketBillingEnabled=t},e.prototype.getAppMarketBillingEnabled=function(){return this.appMarketBillingEnabled},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.countryCode={},e._meta_.fields.countryCode.type=String,e._meta_.fields.displayName={},e._meta_.fields.displayName.type=String,e._meta_.fields.localDisplayName={},e._meta_.fields.localDisplayName.type=String,e._meta_.fields.defaultCurrency={},e._meta_.fields.defaultCurrency.type=String,e._meta_.fields.defaultTimezone={},e._meta_.fields.defaultTimezone.type=String,e._meta_.fields.stateProvinceRequired={},e._meta_.fields.stateProvinceRequired.type=Boolean,e._meta_.fields.zipPostalRequired={},e._meta_.fields.zipPostalRequired.type=Boolean,e._meta_.fields.countyRequired={},e._meta_.fields.countyRequired.type=Boolean,e._meta_.fields.defaultLocale={},e._meta_.fields.defaultLocale.type=String,e._meta_.fields.appMarketBillingEnabled={},e._meta_.fields.appMarketBillingEnabled.type=Boolean,t.exports=e},4258:t=>{var e=function(){this._class_=e,this.amount=void 0,this.paymentId=void 0,this.externalPaymentId=void 0,this.tipAmount=void 0};e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setPaymentId=function(t){this.paymentId=t},e.prototype.getPaymentId=function(){return this.paymentId},e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setTipAmount=function(t){this.tipAmount=t},e.prototype.getTipAmount=function(){return this.tipAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,e._meta_.fields.paymentId={},e._meta_.fields.paymentId.type=String,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.tipAmount={},e._meta_.fields.tipAmount.type=Number,t.exports=e},7378:t=>{var e=function(){this._class_=e,this.x=void 0,this.y=void 0};e.prototype.setX=function(t){this.x=t},e.prototype.getX=function(){return this.x},e.prototype.setY=function(t){this.y=t},e.prototype.getY=function(){return this.y},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.x={},e._meta_.fields.x.type=Number,e._meta_.fields.y={},e._meta_.fields.y.type=Number,t.exports=e},44549:(t,e,i)=>{var n=i(7378),o=function(){this._class_=o,this.points=void 0};o.prototype.setPoints=function(t){this.points=t},o.prototype.getPoints=function(){return this.points},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.points={},o._meta_.fields.points.type=Array,o._meta_.fields.points.elementType=n,t.exports=o},4448:t=>{var e=function(){this._class_=e,this.id=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},37479:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.enabled=void 0,this.percentage=void 0,this.percentageDecimal=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setPercentageDecimal=function(t){this.percentageDecimal=t},e.prototype.getPercentageDecimal=function(){return this.percentageDecimal},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.percentageDecimal={},e._meta_.fields.percentageDecimal.type=Number,t.exports=e},42348:(t,e,i)=>{var n=i(44549),o=function(){this._class_=o,this.strokes=void 0,this.width=void 0,this.height=void 0};o.prototype.setStrokes=function(t){this.strokes=t},o.prototype.getStrokes=function(){return this.strokes},o.prototype.setWidth=function(t){this.width=t},o.prototype.getWidth=function(){return this.width},o.prototype.setHeight=function(t){this.height=t},o.prototype.getHeight=function(){return this.height},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.strokes={},o._meta_.fields.strokes.type=Array,o._meta_.fields.strokes.elementType=n,o._meta_.fields.width={},o._meta_.fields.width.type=Number,o._meta_.fields.height={},o._meta_.fields.height.type=Number,t.exports=o},50775:t=>{var e=function(){this._class_=e,this.id=void 0,this.editable=void 0,this.labelKey=void 0,this.label=void 0,this.opensCashDrawer=void 0,this.supportsTipping=void 0,this.enabled=void 0,this.visible=void 0,this.instructions=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setEditable=function(t){this.editable=t},e.prototype.getEditable=function(){return this.editable},e.prototype.setLabelKey=function(t){this.labelKey=t},e.prototype.getLabelKey=function(){return this.labelKey},e.prototype.setLabel=function(t){this.label=t},e.prototype.getLabel=function(){return this.label},e.prototype.setOpensCashDrawer=function(t){this.opensCashDrawer=t},e.prototype.getOpensCashDrawer=function(){return this.opensCashDrawer},e.prototype.setSupportsTipping=function(t){this.supportsTipping=t},e.prototype.getSupportsTipping=function(){return this.supportsTipping},e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setVisible=function(t){this.visible=t},e.prototype.getVisible=function(){return this.visible},e.prototype.setInstructions=function(t){this.instructions=t},e.prototype.getInstructions=function(){return this.instructions},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.editable={},e._meta_.fields.editable.type=Boolean,e._meta_.fields.labelKey={},e._meta_.fields.labelKey.type=String,e._meta_.fields.label={},e._meta_.fields.label.type=String,e._meta_.fields.opensCashDrawer={},e._meta_.fields.opensCashDrawer.type=Boolean,e._meta_.fields.supportsTipping={},e._meta_.fields.supportsTipping.type=Boolean,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.visible={},e._meta_.fields.visible.type=Boolean,e._meta_.fields.instructions={},e._meta_.fields.instructions.type=String,t.exports=e},87773:(t,e,i)=>{function n(){}t.exports.base=n,n.Address=i(81565),n.AppExclusionType=i(38455),n.ApprovalStatus=i(73767),n.BusinessTypeCode=i(5192),n.CardData=i(9728),n.Challenge=i(52514),n.ChallengeType=i(96351),n.ChallengeTypeEnum=i(40994),n.CountryInfo=i(41208),n.PendingPaymentEntry=i(4258),n.Point=i(7378),n.Points=i(44549),n.Reference=i(4448),n.ServiceCharge=i(37479),n.Signature=i(42348),n.Tender=i(50775),t.exports=n},79601:t=>{var e=function(){this._class_=e,this.action=void 0,this.categories=void 0};e.prototype.setAction=function(t){this.action=t},e.prototype.getAction=function(){return this.action},e.prototype.setCategories=function(t){this.categories=t},e.prototype.getCategories=function(){return this.categories},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.action={},e._meta_.fields.action.type=String,e._meta_.fields.categories={},e._meta_.fields.categories.type=Array,t.exports=e},68667:t=>{var e=function(){this._class_=e,this.id=void 0,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.city=void 0,this.country=void 0,this.state=void 0,this.zip=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setAddress1=function(t){this.address1=t},e.prototype.getAddress1=function(){return this.address1},e.prototype.setAddress2=function(t){this.address2=t},e.prototype.getAddress2=function(){return this.address2},e.prototype.setAddress3=function(t){this.address3=t},e.prototype.getAddress3=function(){return this.address3},e.prototype.setCity=function(t){this.city=t},e.prototype.getCity=function(){return this.city},e.prototype.setCountry=function(t){this.country=t},e.prototype.getCountry=function(){return this.country},e.prototype.setState=function(t){this.state=t},e.prototype.getState=function(){return this.state},e.prototype.setZip=function(t){this.zip=t},e.prototype.getZip=function(){return this.zip},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.address1={},e._meta_.fields.address1.type=String,e._meta_.fields.address2={},e._meta_.fields.address2.type=String,e._meta_.fields.address3={},e._meta_.fields.address3.type=String,e._meta_.fields.city={},e._meta_.fields.city.type=String,e._meta_.fields.country={},e._meta_.fields.country.type=String,e._meta_.fields.state={},e._meta_.fields.state.type=String,e._meta_.fields.zip={},e._meta_.fields.zip.type=String,t.exports=e},57534:t=>{var e=function(){this._class_=e,this.id=void 0,this.first6=void 0,this.last4=void 0,this.firstName=void 0,this.lastName=void 0,this.expirationDate=void 0,this.cardType=void 0,this.token=void 0,this.modifiedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setFirstName=function(t){this.firstName=t},e.prototype.getFirstName=function(){return this.firstName},e.prototype.setLastName=function(t){this.lastName=t},e.prototype.getLastName=function(){return this.lastName},e.prototype.setExpirationDate=function(t){this.expirationDate=t},e.prototype.getExpirationDate=function(){return this.expirationDate},e.prototype.setCardType=function(t){this.cardType=t},e.prototype.getCardType=function(){return this.cardType},e.prototype.setToken=function(t){this.token=t},e.prototype.getToken=function(){return this.token},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.firstName={},e._meta_.fields.firstName.type=String,e._meta_.fields.lastName={},e._meta_.fields.lastName.type=String,e._meta_.fields.expirationDate={},e._meta_.fields.expirationDate.type=String,e._meta_.fields.cardType={},e._meta_.fields.cardType.type=String,e._meta_.fields.token={},e._meta_.fields.token.type=String,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},39998:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.order=void 0,this.customer=void 0,this.card=void 0,this.emailAddress=void 0};o.prototype.setOrder=function(t){this.order=t},o.prototype.getOrder=function(){return this.order},o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setCard=function(t){this.card=t},o.prototype.getCard=function(){return this.card},o.prototype.setEmailAddress=function(t){this.emailAddress=t},o.prototype.getEmailAddress=function(){return this.emailAddress},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.order={},o._meta_.fields.order.type=n,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.card={},o._meta_.fields.card.type=n,o._meta_.fields.emailAddress={},o._meta_.fields.emailAddress.type=String,t.exports=o},26866:(t,e,i)=>{var n=i(71764),o=i(22634),s=i(82368),r=i(4448),a=i(68667),l=i(57534),d=function(){this._class_=d,this.id=void 0,this.merchant=void 0,this.firstName=void 0,this.lastName=void 0,this.marketingAllowed=void 0,this.customerSince=void 0,this.orders=void 0,this.addresses=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0,this.cards=void 0,this.metadata=void 0};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setMerchant=function(t){this.merchant=t},d.prototype.getMerchant=function(){return this.merchant},d.prototype.setFirstName=function(t){this.firstName=t},d.prototype.getFirstName=function(){return this.firstName},d.prototype.setLastName=function(t){this.lastName=t},d.prototype.getLastName=function(){return this.lastName},d.prototype.setMarketingAllowed=function(t){this.marketingAllowed=t},d.prototype.getMarketingAllowed=function(){return this.marketingAllowed},d.prototype.setCustomerSince=function(t){this.customerSince=t},d.prototype.getCustomerSince=function(){return this.customerSince},d.prototype.setOrders=function(t){this.orders=t},d.prototype.getOrders=function(){return this.orders},d.prototype.setAddresses=function(t){this.addresses=t},d.prototype.getAddresses=function(){return this.addresses},d.prototype.setEmailAddresses=function(t){this.emailAddresses=t},d.prototype.getEmailAddresses=function(){return this.emailAddresses},d.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},d.prototype.getPhoneNumbers=function(){return this.phoneNumbers},d.prototype.setCards=function(t){this.cards=t},d.prototype.getCards=function(){return this.cards},d.prototype.setMetadata=function(t){this.metadata=t},d.prototype.getMetadata=function(){return this.metadata},d.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},d.prototype.toString=function(){return JSON.stringify(this)},d._meta_={fields:{}},d._meta_._class_=d,d._meta_.fields.id={},d._meta_.fields.id.type=String,d._meta_.fields.merchant={},d._meta_.fields.merchant.type=r,d._meta_.fields.firstName={},d._meta_.fields.firstName.type=String,d._meta_.fields.lastName={},d._meta_.fields.lastName.type=String,d._meta_.fields.marketingAllowed={},d._meta_.fields.marketingAllowed.type=Boolean,d._meta_.fields.customerSince={},d._meta_.fields.customerSince.type=Number,d._meta_.fields.orders={},d._meta_.fields.orders.type=Array,d._meta_.fields.orders.elementType=r,d._meta_.fields.addresses={},d._meta_.fields.addresses.type=Array,d._meta_.fields.addresses.elementType=a,d._meta_.fields.emailAddresses={},d._meta_.fields.emailAddresses.type=Array,d._meta_.fields.emailAddresses.elementType=n,d._meta_.fields.phoneNumbers={},d._meta_.fields.phoneNumbers.type=Array,d._meta_.fields.phoneNumbers.elementType=o,d._meta_.fields.cards={},d._meta_.fields.cards.type=Array,d._meta_.fields.cards.elementType=l,d._meta_.fields.metadata={},d._meta_.fields.metadata.type=s,t.exports=d},31160:(t,e,i)=>{var n=i(26866),o=i(4448),s=function(){this._class_=s,this.paymentRef=void 0,this.tokenRequestRef=void 0,this.customer=void 0};s.prototype.setPaymentRef=function(t){this.paymentRef=t},s.prototype.getPaymentRef=function(){return this.paymentRef},s.prototype.setTokenRequestRef=function(t){this.tokenRequestRef=t},s.prototype.getTokenRequestRef=function(){return this.tokenRequestRef},s.prototype.setCustomer=function(t){this.customer=t},s.prototype.getCustomer=function(){return this.customer},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.paymentRef={},s._meta_.fields.paymentRef.type=o,s._meta_.fields.tokenRequestRef={},s._meta_.fields.tokenRequestRef.type=o,s._meta_.fields.customer={},s._meta_.fields.customer.type=n,t.exports=s},84265:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},82368:t=>{var e=function(){this._class_=e,this.businessName=void 0,this.note=void 0,this.dobYear=void 0,this.dobMonth=void 0,this.dobDay=void 0,this.modifiedTime=void 0};e.prototype.setBusinessName=function(t){this.businessName=t},e.prototype.getBusinessName=function(){return this.businessName},e.prototype.setNote=function(t){this.note=t},e.prototype.getNote=function(){return this.note},e.prototype.setDobYear=function(t){this.dobYear=t},e.prototype.getDobYear=function(){return this.dobYear},e.prototype.setDobMonth=function(t){this.dobMonth=t},e.prototype.getDobMonth=function(){return this.dobMonth},e.prototype.setDobDay=function(t){this.dobDay=t},e.prototype.getDobDay=function(){return this.dobDay},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.businessName={},e._meta_.fields.businessName.type=String,e._meta_.fields.note={},e._meta_.fields.note.type=String,e._meta_.fields.dobYear={},e._meta_.fields.dobYear.type=Number,e._meta_.fields.dobMonth={},e._meta_.fields.dobMonth.type=Number,e._meta_.fields.dobDay={},e._meta_.fields.dobDay.type=Number,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},71764:t=>{var e=function(){this._class_=e,this.id=void 0,this.emailAddress=void 0,this.verifiedTime=void 0,this.primaryEmail=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setEmailAddress=function(t){this.emailAddress=t},e.prototype.getEmailAddress=function(){return this.emailAddress},e.prototype.setVerifiedTime=function(t){this.verifiedTime=t},e.prototype.getVerifiedTime=function(){return this.verifiedTime},e.prototype.setPrimaryEmail=function(t){this.primaryEmail=t},e.prototype.getPrimaryEmail=function(){return this.primaryEmail},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.emailAddress={},e._meta_.fields.emailAddress.type=String,e._meta_.fields.verifiedTime={},e._meta_.fields.verifiedTime.type=Number,e._meta_.fields.primaryEmail={},e._meta_.fields.primaryEmail.type=Boolean,t.exports=e},40615:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.type=void 0,this.number=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.payment=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.setNumber=function(t){this.number=t},o.prototype.getNumber=function(){return this.number},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=String,o._meta_.fields.number={},o._meta_.fields.number.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,t.exports=o},22634:t=>{var e=function(){this._class_=e,this.id=void 0,this.phoneNumber=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setPhoneNumber=function(t){this.phoneNumber=t},e.prototype.getPhoneNumber=function(){return this.phoneNumber},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.phoneNumber={},e._meta_.fields.phoneNumber.type=String,t.exports=e},39698:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},6623:t=>{t.exports={MULTIPAY:"MULTIPAY",FINANCIAL:"FINANCIAL",CTOKEN:"CTOKEN"}},92700:(t,e,i)=>{function n(){}t.exports.customers=n,n.Address=i(68667),n.Card=i(57534),n.Confirmation=i(39998),n.Customer=i(26866),n.CustomerAssociationRequest=i(31160),n.CustomerInfo=i(84265),n.CustomerMetadata=i(82368),n.EmailAddress=i(71764),n.IdentityDocument=i(40615),n.PhoneNumber=i(22634),n.RemoteCustomer=i(39698),n.TokenType=i(6623),t.exports=n},20857:t=>{var e=function(){this._class_=e,this.cpuId=void 0,this.version=void 0,this.buildType=void 0};e.prototype.setCpuId=function(t){this.cpuId=t},e.prototype.getCpuId=function(){return this.cpuId},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.setBuildType=function(t){this.buildType=t},e.prototype.getBuildType=function(){return this.buildType},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.cpuId={},e._meta_.fields.cpuId.type=String,e._meta_.fields.version={},e._meta_.fields.version.type=Number,e._meta_.fields.buildType={},e._meta_.fields.buildType.type=String,t.exports=e},1752:t=>{var e=function(){this._class_=e,this.id=void 0,this.bundleIndicator=void 0,this.createdTime=void 0,this.deletedTime=void 0,this.associatedTime=void 0,this.disassociatedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},e.prototype.getBundleIndicator=function(){return this.bundleIndicator},e.prototype.setCreatedTime=function(t){this.createdTime=t},e.prototype.getCreatedTime=function(){return this.createdTime},e.prototype.setDeletedTime=function(t){this.deletedTime=t},e.prototype.getDeletedTime=function(){return this.deletedTime},e.prototype.setAssociatedTime=function(t){this.associatedTime=t},e.prototype.getAssociatedTime=function(){return this.associatedTime},e.prototype.setDisassociatedTime=function(t){this.disassociatedTime=t},e.prototype.getDisassociatedTime=function(){return this.disassociatedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.bundleIndicator={},e._meta_.fields.bundleIndicator.type=String,e._meta_.fields.createdTime={},e._meta_.fields.createdTime.type=Number,e._meta_.fields.deletedTime={},e._meta_.fields.deletedTime.type=Number,e._meta_.fields.associatedTime={},e._meta_.fields.associatedTime.type=Number,e._meta_.fields.disassociatedTime={},e._meta_.fields.disassociatedTime.type=Number,t.exports=e},70511:t=>{t.exports={ENG:"ENG",USER:"USER",USERDEBUG:"USERDEBUG"}},76021:t=>{var e=function(){this._class_=e,this.equipmentCode=void 0,this.equipmentCodeDesc=void 0,this.quantity=void 0,this.version=void 0};e.prototype.setEquipmentCode=function(t){this.equipmentCode=t},e.prototype.getEquipmentCode=function(){return this.equipmentCode},e.prototype.setEquipmentCodeDesc=function(t){this.equipmentCodeDesc=t},e.prototype.getEquipmentCodeDesc=function(){return this.equipmentCodeDesc},e.prototype.setQuantity=function(t){this.quantity=t},e.prototype.getQuantity=function(){return this.quantity},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.equipmentCode={},e._meta_.fields.equipmentCode.type=String,e._meta_.fields.equipmentCodeDesc={},e._meta_.fields.equipmentCodeDesc.type=String,e._meta_.fields.quantity={},e._meta_.fields.quantity.type=Number,e._meta_.fields.version={},e._meta_.fields.version.type=Number,t.exports=e},12972:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.model=void 0,this.merchant=void 0,this.orderPrefix=void 0,this.terminalId=void 0,this.terminalPrefix=void 0,this.serial=void 0,this.imei=void 0,this.imsi=void 0,this.simIccid=void 0,this.deviceCertificate=void 0,this.pedCertificate=void 0,this.deviceTypeName=void 0,this.productName=void 0,this.pinDisabled=!1,this.offlinePayments=!1,this.offlinePaymentsAll=!1,this.offlinePaymentsLimit=void 0,this.offlinePaymentsPromptThreshold=void 0,this.offlinePaymentsTotalPaymentsLimit=void 0,this.offlinePaymentsLimitDefault=void 0,this.offlinePaymentsPromptThresholdDefault=void 0,this.offlinePaymentsTotalPaymentsLimitDefault=void 0,this.offlinePaymentsMaxLimit=void 0,this.offlinePaymentsMaxTotalPaymentsLimit=void 0,this.showOfflinePayments=void 0,this.maxOfflineDays=void 0,this.allowStoreAndForward=void 0,this.secureReports=void 0,this.bundleIndicator=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setModel=function(t){this.model=t},o.prototype.getModel=function(){return this.model},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.setOrderPrefix=function(t){this.orderPrefix=t},o.prototype.getOrderPrefix=function(){return this.orderPrefix},o.prototype.setTerminalId=function(t){this.terminalId=t},o.prototype.getTerminalId=function(){return this.terminalId},o.prototype.setTerminalPrefix=function(t){this.terminalPrefix=t},o.prototype.getTerminalPrefix=function(){return this.terminalPrefix},o.prototype.setSerial=function(t){this.serial=t},o.prototype.getSerial=function(){return this.serial},o.prototype.setImei=function(t){this.imei=t},o.prototype.getImei=function(){return this.imei},o.prototype.setImsi=function(t){this.imsi=t},o.prototype.getImsi=function(){return this.imsi},o.prototype.setSimIccid=function(t){this.simIccid=t},o.prototype.getSimIccid=function(){return this.simIccid},o.prototype.setDeviceCertificate=function(t){this.deviceCertificate=t},o.prototype.getDeviceCertificate=function(){return this.deviceCertificate},o.prototype.setPedCertificate=function(t){this.pedCertificate=t},o.prototype.getPedCertificate=function(){return this.pedCertificate},o.prototype.setDeviceTypeName=function(t){this.deviceTypeName=t},o.prototype.getDeviceTypeName=function(){return this.deviceTypeName},o.prototype.setProductName=function(t){this.productName=t},o.prototype.getProductName=function(){return this.productName},o.prototype.setPinDisabled=function(t){this.pinDisabled=t},o.prototype.getPinDisabled=function(){return this.pinDisabled},o.prototype.setOfflinePayments=function(t){this.offlinePayments=t},o.prototype.getOfflinePayments=function(){return this.offlinePayments},o.prototype.setOfflinePaymentsAll=function(t){this.offlinePaymentsAll=t},o.prototype.getOfflinePaymentsAll=function(){return this.offlinePaymentsAll},o.prototype.setOfflinePaymentsLimit=function(t){this.offlinePaymentsLimit=t},o.prototype.getOfflinePaymentsLimit=function(){return this.offlinePaymentsLimit},o.prototype.setOfflinePaymentsPromptThreshold=function(t){this.offlinePaymentsPromptThreshold=t},o.prototype.getOfflinePaymentsPromptThreshold=function(){return this.offlinePaymentsPromptThreshold},o.prototype.setOfflinePaymentsTotalPaymentsLimit=function(t){this.offlinePaymentsTotalPaymentsLimit=t},o.prototype.getOfflinePaymentsTotalPaymentsLimit=function(){return this.offlinePaymentsTotalPaymentsLimit},o.prototype.setOfflinePaymentsLimitDefault=function(t){this.offlinePaymentsLimitDefault=t},o.prototype.getOfflinePaymentsLimitDefault=function(){return this.offlinePaymentsLimitDefault},o.prototype.setOfflinePaymentsPromptThresholdDefault=function(t){this.offlinePaymentsPromptThresholdDefault=t},o.prototype.getOfflinePaymentsPromptThresholdDefault=function(){return this.offlinePaymentsPromptThresholdDefault},o.prototype.setOfflinePaymentsTotalPaymentsLimitDefault=function(t){this.offlinePaymentsTotalPaymentsLimitDefault=t},o.prototype.getOfflinePaymentsTotalPaymentsLimitDefault=function(){return this.offlinePaymentsTotalPaymentsLimitDefault},o.prototype.setOfflinePaymentsMaxLimit=function(t){this.offlinePaymentsMaxLimit=t},o.prototype.getOfflinePaymentsMaxLimit=function(){return this.offlinePaymentsMaxLimit},o.prototype.setOfflinePaymentsMaxTotalPaymentsLimit=function(t){this.offlinePaymentsMaxTotalPaymentsLimit=t},o.prototype.getOfflinePaymentsMaxTotalPaymentsLimit=function(){return this.offlinePaymentsMaxTotalPaymentsLimit},o.prototype.setShowOfflinePayments=function(t){this.showOfflinePayments=t},o.prototype.getShowOfflinePayments=function(){return this.showOfflinePayments},o.prototype.setMaxOfflineDays=function(t){this.maxOfflineDays=t},o.prototype.getMaxOfflineDays=function(){return this.maxOfflineDays},o.prototype.setAllowStoreAndForward=function(t){this.allowStoreAndForward=t},o.prototype.getAllowStoreAndForward=function(){return this.allowStoreAndForward},o.prototype.setSecureReports=function(t){this.secureReports=t},o.prototype.getSecureReports=function(){return this.secureReports},o.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},o.prototype.getBundleIndicator=function(){return this.bundleIndicator},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.model={},o._meta_.fields.model.type=String,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,o._meta_.fields.orderPrefix={},o._meta_.fields.orderPrefix.type=String,o._meta_.fields.terminalId={},o._meta_.fields.terminalId.type=String,o._meta_.fields.terminalPrefix={},o._meta_.fields.terminalPrefix.type=Number,o._meta_.fields.serial={},o._meta_.fields.serial.type=String,o._meta_.fields.imei={},o._meta_.fields.imei.type=String,o._meta_.fields.imsi={},o._meta_.fields.imsi.type=String,o._meta_.fields.simIccid={},o._meta_.fields.simIccid.type=String,o._meta_.fields.deviceCertificate={},o._meta_.fields.deviceCertificate.type=String,o._meta_.fields.pedCertificate={},o._meta_.fields.pedCertificate.type=String,o._meta_.fields.deviceTypeName={},o._meta_.fields.deviceTypeName.type=String,o._meta_.fields.productName={},o._meta_.fields.productName.type=String,o._meta_.fields.pinDisabled={},o._meta_.fields.pinDisabled.type=Boolean,o._meta_.fields.offlinePayments={},o._meta_.fields.offlinePayments.type=Boolean,o._meta_.fields.offlinePaymentsAll={},o._meta_.fields.offlinePaymentsAll.type=Boolean,o._meta_.fields.offlinePaymentsLimit={},o._meta_.fields.offlinePaymentsLimit.type=Number,o._meta_.fields.offlinePaymentsPromptThreshold={},o._meta_.fields.offlinePaymentsPromptThreshold.type=Number,o._meta_.fields.offlinePaymentsTotalPaymentsLimit={},o._meta_.fields.offlinePaymentsTotalPaymentsLimit.type=Number,o._meta_.fields.offlinePaymentsLimitDefault={},o._meta_.fields.offlinePaymentsLimitDefault.type=Number,o._meta_.fields.offlinePaymentsPromptThresholdDefault={},o._meta_.fields.offlinePaymentsPromptThresholdDefault.type=Number,o._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault={},o._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault.type=Number,o._meta_.fields.offlinePaymentsMaxLimit={},o._meta_.fields.offlinePaymentsMaxLimit.type=Number,o._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit={},o._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit.type=Number,o._meta_.fields.showOfflinePayments={},o._meta_.fields.showOfflinePayments.type=Boolean,o._meta_.fields.maxOfflineDays={},o._meta_.fields.maxOfflineDays.type=Number,o._meta_.fields.allowStoreAndForward={},o._meta_.fields.allowStoreAndForward.type=Boolean,o._meta_.fields.secureReports={},o._meta_.fields.secureReports.type=Array,o._meta_.fields.secureReports.elementType=n,o._meta_.fields.bundleIndicator={},o._meta_.fields.bundleIndicator.type=String,t.exports=o},10522:(t,e,i)=>{var n=i(12157),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.model=void 0,this.serial=void 0,this.associatedDevice=void 0,this.pedCertificate=void 0,this.buildType=void 0,this.deviceType=void 0,this.versionCode=void 0,this.currentRom=void 0,this.secureReports=void 0,this.createdTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setModel=function(t){this.model=t},s.prototype.getModel=function(){return this.model},s.prototype.setSerial=function(t){this.serial=t},s.prototype.getSerial=function(){return this.serial},s.prototype.setAssociatedDevice=function(t){this.associatedDevice=t},s.prototype.getAssociatedDevice=function(){return this.associatedDevice},s.prototype.setPedCertificate=function(t){this.pedCertificate=t},s.prototype.getPedCertificate=function(){return this.pedCertificate},s.prototype.setBuildType=function(t){this.buildType=t},s.prototype.getBuildType=function(){return this.buildType},s.prototype.setDeviceType=function(t){this.deviceType=t},s.prototype.getDeviceType=function(){return this.deviceType},s.prototype.setVersionCode=function(t){this.versionCode=t},s.prototype.getVersionCode=function(){return this.versionCode},s.prototype.setCurrentRom=function(t){this.currentRom=t},s.prototype.getCurrentRom=function(){return this.currentRom},s.prototype.setSecureReports=function(t){this.secureReports=t},s.prototype.getSecureReports=function(){return this.secureReports},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.model={},s._meta_.fields.model.type=String,s._meta_.fields.serial={},s._meta_.fields.serial.type=String,s._meta_.fields.associatedDevice={},s._meta_.fields.associatedDevice.type=o,s._meta_.fields.pedCertificate={},s._meta_.fields.pedCertificate.type=String,s._meta_.fields.buildType={},s._meta_.fields.buildType.type=n,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=o,s._meta_.fields.versionCode={},s._meta_.fields.versionCode.type=Number,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=o,s._meta_.fields.secureReports={},s._meta_.fields.secureReports.type=Array,s._meta_.fields.secureReports.elementType=o,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},12157:t=>{t.exports={ENG:"ENG",USER:"USER",USERDEBUG:"USERDEBUG"}},84646:(t,e,i)=>{var n=i(76021),o=function(){this._class_=o,this.id=void 0,this.bundleIndicator=void 0,this.description=void 0,this.bundleItems=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},o.prototype.getBundleIndicator=function(){return this.bundleIndicator},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setBundleItems=function(t){this.bundleItems=t},o.prototype.getBundleItems=function(){return this.bundleItems},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.bundleIndicator={},o._meta_.fields.bundleIndicator.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.bundleItems={},o._meta_.fields.bundleItems.type=Array,o._meta_.fields.bundleItems.elementType=n,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},20927:t=>{t.exports={REGISTERED:"REGISTERED",PROVISIONED:"PROVISIONED",ACTIVATED:"ACTIVATED",REACTIVATED:"REACTIVATED",DEACTIVATED:"DEACTIVATED",DISASSOCIATED:"DISASSOCIATED",POS_MODE:"POS_MODE",CFD_MODE:"CFD_MODE"}},61668:(t,e,i)=>{var n=i(71132),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.deviceRef=void 0,this.state=void 0,this.lastActivationCode=void 0,this.activationCode=void 0,this.emailSent=void 0,this.hasShipment=void 0,this.shipment=void 0,this.serialNumber=void 0,this.chip_uid=void 0,this.imei=void 0,this.merchant=void 0,this.deviceType=void 0,this.provisionedTime=void 0,this.activatedTime=void 0,this.activationCodeCreatedTime=void 0,this.terminalId=void 0,this.reseller=void 0,this.currentRom=void 0,this.currentSecureBoardRom=void 0,this.bundleIndicator=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.deviceWarrantyRef=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setDeviceRef=function(t){this.deviceRef=t},s.prototype.getDeviceRef=function(){return this.deviceRef},s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s.prototype.setLastActivationCode=function(t){this.lastActivationCode=t},s.prototype.getLastActivationCode=function(){return this.lastActivationCode},s.prototype.setActivationCode=function(t){this.activationCode=t},s.prototype.getActivationCode=function(){return this.activationCode},s.prototype.setEmailSent=function(t){this.emailSent=t},s.prototype.getEmailSent=function(){return this.emailSent},s.prototype.setHasShipment=function(t){this.hasShipment=t},s.prototype.getHasShipment=function(){return this.hasShipment},s.prototype.setShipment=function(t){this.shipment=t},s.prototype.getShipment=function(){return this.shipment},s.prototype.setSerialNumber=function(t){this.serialNumber=t},s.prototype.getSerialNumber=function(){return this.serialNumber},s.prototype.setChipUid=function(t){this.chip_uid=t},s.prototype.getChipUid=function(){return this.chip_uid},s.prototype.setImei=function(t){this.imei=t},s.prototype.getImei=function(){return this.imei},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.setDeviceType=function(t){this.deviceType=t},s.prototype.getDeviceType=function(){return this.deviceType},s.prototype.setProvisionedTime=function(t){this.provisionedTime=t},s.prototype.getProvisionedTime=function(){return this.provisionedTime},s.prototype.setActivatedTime=function(t){this.activatedTime=t},s.prototype.getActivatedTime=function(){return this.activatedTime},s.prototype.setActivationCodeCreatedTime=function(t){this.activationCodeCreatedTime=t},s.prototype.getActivationCodeCreatedTime=function(){return this.activationCodeCreatedTime},s.prototype.setTerminalId=function(t){this.terminalId=t},s.prototype.getTerminalId=function(){return this.terminalId},s.prototype.setReseller=function(t){this.reseller=t},s.prototype.getReseller=function(){return this.reseller},s.prototype.setCurrentRom=function(t){this.currentRom=t},s.prototype.getCurrentRom=function(){return this.currentRom},s.prototype.setCurrentSecureBoardRom=function(t){this.currentSecureBoardRom=t},s.prototype.getCurrentSecureBoardRom=function(){return this.currentSecureBoardRom},s.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},s.prototype.getBundleIndicator=function(){return this.bundleIndicator},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setDeviceWarrantyRef=function(t){this.deviceWarrantyRef=t},s.prototype.getDeviceWarrantyRef=function(){return this.deviceWarrantyRef},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.deviceRef={},s._meta_.fields.deviceRef.type=o,s._meta_.fields.state={},s._meta_.fields.state.type=n,s._meta_.fields.lastActivationCode={},s._meta_.fields.lastActivationCode.type=String,s._meta_.fields.activationCode={},s._meta_.fields.activationCode.type=String,s._meta_.fields.emailSent={},s._meta_.fields.emailSent.type=Boolean,s._meta_.fields.hasShipment={},s._meta_.fields.hasShipment.type=Boolean,s._meta_.fields.shipment={},s._meta_.fields.shipment.type=o,s._meta_.fields.serialNumber={},s._meta_.fields.serialNumber.type=String,s._meta_.fields.chip_uid={},s._meta_.fields.chip_uid.type=String,s._meta_.fields.imei={},s._meta_.fields.imei.type=String,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=String,s._meta_.fields.provisionedTime={},s._meta_.fields.provisionedTime.type=Number,s._meta_.fields.activatedTime={},s._meta_.fields.activatedTime.type=Number,s._meta_.fields.activationCodeCreatedTime={},s._meta_.fields.activationCodeCreatedTime.type=Number,s._meta_.fields.terminalId={},s._meta_.fields.terminalId.type=String,s._meta_.fields.reseller={},s._meta_.fields.reseller.type=o,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=o,s._meta_.fields.currentSecureBoardRom={},s._meta_.fields.currentSecureBoardRom.type=o,s._meta_.fields.bundleIndicator={},s._meta_.fields.bundleIndicator.type=String,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.deviceWarrantyRef={},s._meta_.fields.deviceWarrantyRef.type=o,t.exports=s},4784:t=>{var e=function(){this._class_=e,this.serialNumber=void 0,this.associatedId=void 0};e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setAssociatedId=function(t){this.associatedId=t},e.prototype.getAssociatedId=function(){return this.associatedId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.associatedId={},e._meta_.fields.associatedId.type=String,t.exports=e},71132:t=>{t.exports={NOT_ASSOCIATED:"NOT_ASSOCIATED",DISASSOCIATED:"DISASSOCIATED",ASSOCIATED:"ASSOCIATED"}},16982:t=>{var e=function(){this._class_=e,this.id=void 0,this.chipUid=void 0,this.imei=void 0,this.provisionInfo=void 0,this.lastActivationCode=void 0,this.activationCode=void 0,this.emailSent=void 0,this.serialNumber=void 0,this.merchantId=void 0,this.provisionedTime=void 0,this.activatedTime=void 0,this.resellerId=void 0,this.deletedTime=void 0,this.modifiedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setChipUid=function(t){this.chipUid=t},e.prototype.getChipUid=function(){return this.chipUid},e.prototype.setImei=function(t){this.imei=t},e.prototype.getImei=function(){return this.imei},e.prototype.setProvisionInfo=function(t){this.provisionInfo=t},e.prototype.getProvisionInfo=function(){return this.provisionInfo},e.prototype.setLastActivationCode=function(t){this.lastActivationCode=t},e.prototype.getLastActivationCode=function(){return this.lastActivationCode},e.prototype.setActivationCode=function(t){this.activationCode=t},e.prototype.getActivationCode=function(){return this.activationCode},e.prototype.setEmailSent=function(t){this.emailSent=t},e.prototype.getEmailSent=function(){return this.emailSent},e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setMerchantId=function(t){this.merchantId=t},e.prototype.getMerchantId=function(){return this.merchantId},e.prototype.setProvisionedTime=function(t){this.provisionedTime=t},e.prototype.getProvisionedTime=function(){return this.provisionedTime},e.prototype.setActivatedTime=function(t){this.activatedTime=t},e.prototype.getActivatedTime=function(){return this.activatedTime},e.prototype.setResellerId=function(t){this.resellerId=t},e.prototype.getResellerId=function(){return this.resellerId},e.prototype.setDeletedTime=function(t){this.deletedTime=t},e.prototype.getDeletedTime=function(){return this.deletedTime},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.chipUid={},e._meta_.fields.chipUid.type=String,e._meta_.fields.imei={},e._meta_.fields.imei.type=String,e._meta_.fields.provisionInfo={},e._meta_.fields.provisionInfo.type=String,e._meta_.fields.lastActivationCode={},e._meta_.fields.lastActivationCode.type=String,e._meta_.fields.activationCode={},e._meta_.fields.activationCode.type=String,e._meta_.fields.emailSent={},e._meta_.fields.emailSent.type=Boolean,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.merchantId={},e._meta_.fields.merchantId.type=Number,e._meta_.fields.provisionedTime={},e._meta_.fields.provisionedTime.type=Number,e._meta_.fields.activatedTime={},e._meta_.fields.activatedTime.type=Number,e._meta_.fields.resellerId={},e._meta_.fields.resellerId.type=Number,e._meta_.fields.deletedTime={},e._meta_.fields.deletedTime.type=Number,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},46015:t=>{var e=function(){this._class_=e,this.requestUuids=void 0};e.prototype.setRequestUuids=function(t){this.requestUuids=t},e.prototype.getRequestUuids=function(){return this.requestUuids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestUuids={},e._meta_.fields.requestUuids.type=Array,t.exports=e},78032:t=>{var e=function(){this._class_=e,this.id=void 0,this.serialNumber=void 0,this.standardWarrantyStartDay=void 0,this.standardWarrantyEndDay=void 0,this.standardWarrantyStartDate=void 0,this.standardWarrantyEndDate=void 0,this.extendedWarrantyStatus=void 0,this.extendedWarrantyStartDay=void 0,this.extendedWarrantyEndDay=void 0,this.extendedWarrantyStartDate=void 0,this.extendedWarrantyEndDate=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setStandardWarrantyStartDay=function(t){this.standardWarrantyStartDay=t},e.prototype.getStandardWarrantyStartDay=function(){return this.standardWarrantyStartDay},e.prototype.setStandardWarrantyEndDay=function(t){this.standardWarrantyEndDay=t},e.prototype.getStandardWarrantyEndDay=function(){return this.standardWarrantyEndDay},e.prototype.setStandardWarrantyStartDate=function(t){this.standardWarrantyStartDate=t},e.prototype.getStandardWarrantyStartDate=function(){return this.standardWarrantyStartDate},e.prototype.setStandardWarrantyEndDate=function(t){this.standardWarrantyEndDate=t},e.prototype.getStandardWarrantyEndDate=function(){return this.standardWarrantyEndDate},e.prototype.setExtendedWarrantyStatus=function(t){this.extendedWarrantyStatus=t},e.prototype.getExtendedWarrantyStatus=function(){return this.extendedWarrantyStatus},e.prototype.setExtendedWarrantyStartDay=function(t){this.extendedWarrantyStartDay=t},e.prototype.getExtendedWarrantyStartDay=function(){return this.extendedWarrantyStartDay},e.prototype.setExtendedWarrantyEndDay=function(t){this.extendedWarrantyEndDay=t},e.prototype.getExtendedWarrantyEndDay=function(){return this.extendedWarrantyEndDay},e.prototype.setExtendedWarrantyStartDate=function(t){this.extendedWarrantyStartDate=t},e.prototype.getExtendedWarrantyStartDate=function(){return this.extendedWarrantyStartDate},e.prototype.setExtendedWarrantyEndDate=function(t){this.extendedWarrantyEndDate=t},e.prototype.getExtendedWarrantyEndDate=function(){return this.extendedWarrantyEndDate},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.standardWarrantyStartDay={},e._meta_.fields.standardWarrantyStartDay.type=String,e._meta_.fields.standardWarrantyEndDay={},e._meta_.fields.standardWarrantyEndDay.type=String,e._meta_.fields.standardWarrantyStartDate={},e._meta_.fields.standardWarrantyStartDate.type=Number,e._meta_.fields.standardWarrantyEndDate={},e._meta_.fields.standardWarrantyEndDate.type=Number,e._meta_.fields.extendedWarrantyStatus={},e._meta_.fields.extendedWarrantyStatus.type=String,e._meta_.fields.extendedWarrantyStartDay={},e._meta_.fields.extendedWarrantyStartDay.type=String,e._meta_.fields.extendedWarrantyEndDay={},e._meta_.fields.extendedWarrantyEndDay.type=String,e._meta_.fields.extendedWarrantyStartDate={},e._meta_.fields.extendedWarrantyStartDate.type=Number,e._meta_.fields.extendedWarrantyEndDate={},e._meta_.fields.extendedWarrantyEndDate.type=Number,t.exports=e},39431:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.serial=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setSerial=function(t){this.serial=t},e.prototype.getSerial=function(){return this.serial},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.serial={},e._meta_.fields.serial.type=String,t.exports=e},68452:(t,e,i)=>{var n=i(47005),o=function(){this._class_=o,this.id=void 0,this.createdAt=void 0,this.version=void 0,this.versionName=void 0,this.description=void 0,this.buildType=void 0,this.isCritical=void 0,this.published=void 0,this.enabled=void 0,this.associationTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setCreatedAt=function(t){this.createdAt=t},o.prototype.getCreatedAt=function(){return this.createdAt},o.prototype.setVersion=function(t){this.version=t},o.prototype.getVersion=function(){return this.version},o.prototype.setVersionName=function(t){this.versionName=t},o.prototype.getVersionName=function(){return this.versionName},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setBuildType=function(t){this.buildType=t},o.prototype.getBuildType=function(){return this.buildType},o.prototype.setIsCritical=function(t){this.isCritical=t},o.prototype.getIsCritical=function(){return this.isCritical},o.prototype.setPublished=function(t){this.published=t},o.prototype.getPublished=function(){return this.published},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setAssociationTime=function(t){this.associationTime=t},o.prototype.getAssociationTime=function(){return this.associationTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.createdAt={},o._meta_.fields.createdAt.type=Number,o._meta_.fields.version={},o._meta_.fields.version.type=Number,o._meta_.fields.versionName={},o._meta_.fields.versionName.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.buildType={},o._meta_.fields.buildType.type=n,o._meta_.fields.isCritical={},o._meta_.fields.isCritical.type=Boolean,o._meta_.fields.published={},o._meta_.fields.published.type=Boolean,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.associationTime={},o._meta_.fields.associationTime.type=Number,t.exports=o},47005:t=>{t.exports={ENG:"ENG",USER:"USER"}},32340:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.type=void 0,this.serialNumber=void 0,this.createdTime=void 0,this.merchant=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.setSerialNumber=function(t){this.serialNumber=t},o.prototype.getSerialNumber=function(){return this.serialNumber},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=String,o._meta_.fields.serialNumber={},o._meta_.fields.serialNumber.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,t.exports=o},3427:t=>{var e=function(){this._class_=e,this.merchantId=void 0,this.provisionedSerialNumber=void 0,this.equipmentNumber=void 0,this.equipmentCode=void 0,this.bundleId=void 0,this.effectiveTime=void 0};e.prototype.setMerchantId=function(t){this.merchantId=t},e.prototype.getMerchantId=function(){return this.merchantId},e.prototype.setProvisionedSerialNumber=function(t){this.provisionedSerialNumber=t},e.prototype.getProvisionedSerialNumber=function(){return this.provisionedSerialNumber},e.prototype.setEquipmentNumber=function(t){this.equipmentNumber=t},e.prototype.getEquipmentNumber=function(){return this.equipmentNumber},e.prototype.setEquipmentCode=function(t){this.equipmentCode=t},e.prototype.getEquipmentCode=function(){return this.equipmentCode},e.prototype.setBundleId=function(t){this.bundleId=t},e.prototype.getBundleId=function(){return this.bundleId},e.prototype.setEffectiveTime=function(t){this.effectiveTime=t},e.prototype.getEffectiveTime=function(){return this.effectiveTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.merchantId={},e._meta_.fields.merchantId.type=String,e._meta_.fields.provisionedSerialNumber={},e._meta_.fields.provisionedSerialNumber.type=String,e._meta_.fields.equipmentNumber={},e._meta_.fields.equipmentNumber.type=String,e._meta_.fields.equipmentCode={},e._meta_.fields.equipmentCode.type=String,e._meta_.fields.bundleId={},e._meta_.fields.bundleId.type=String,e._meta_.fields.effectiveTime={},e._meta_.fields.effectiveTime.type=Number,t.exports=e},4822:(t,e,i)=>{function n(){}t.exports.device=n,n.AccessoryRomMetadataUpdateRequest=i(20857),n.AssociatedDeviceBundle=i(1752),n.BuildType=i(70511),n.BundleItem=i(76021),n.Device=i(12972),n.DeviceAccessory=i(10522),n.DeviceAccessoryBuildType=i(12157),n.DeviceBundle=i(84646),n.DeviceEventType=i(20927),n.DeviceProvision=i(61668),n.DeviceProvisionAssoc=i(4784),n.DeviceProvisionState=i(71132),n.DeviceProvisionStatus=i(16982),n.DeviceRequests=i(46015),n.DeviceWarranty=i(78032),n.LimitedDevice=i(39431),n.Rom=i(68452),n.RomBuildType=i(47005),n.SwapRequestEvent=i(32340),n.UpdatedDeviceBundle=i(3427),t.exports=n},2444:t=>{t.exports={ecom:"ecom",moto:"moto",recurring:"recurring"}},54931:t=>{t.exports={OWNER:"OWNER",ADMIN:"ADMIN",MANAGER:"MANAGER",EMPLOYEE:"EMPLOYEE"}},91033:(t,e,i)=>{var n=i(54931),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.nickname=void 0,this.customId=void 0,this.email=void 0,this.inviteSent=void 0,this.claimedTime=void 0,this.deletedTime=void 0,this.pin=void 0,this.unhashedPin=void 0,this.role=void 0,this.roles=void 0,this.isOwner=void 0,this.shifts=void 0,this.payments=void 0,this.orders=void 0,this.employeeCards=void 0,this.merchant=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setNickname=function(t){this.nickname=t},s.prototype.getNickname=function(){return this.nickname},s.prototype.setCustomId=function(t){this.customId=t},s.prototype.getCustomId=function(){return this.customId},s.prototype.setEmail=function(t){this.email=t},s.prototype.getEmail=function(){return this.email},s.prototype.setInviteSent=function(t){this.inviteSent=t},s.prototype.getInviteSent=function(){return this.inviteSent},s.prototype.setClaimedTime=function(t){this.claimedTime=t},s.prototype.getClaimedTime=function(){return this.claimedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setPin=function(t){this.pin=t},s.prototype.getPin=function(){return this.pin},s.prototype.setUnhashedPin=function(t){this.unhashedPin=t},s.prototype.getUnhashedPin=function(){return this.unhashedPin},s.prototype.setRole=function(t){this.role=t},s.prototype.getRole=function(){return this.role},s.prototype.setRoles=function(t){this.roles=t},s.prototype.getRoles=function(){return this.roles},s.prototype.setIsOwner=function(t){this.isOwner=t},s.prototype.getIsOwner=function(){return this.isOwner},s.prototype.setShifts=function(t){this.shifts=t},s.prototype.getShifts=function(){return this.shifts},s.prototype.setPayments=function(t){this.payments=t},s.prototype.getPayments=function(){return this.payments},s.prototype.setOrders=function(t){this.orders=t},s.prototype.getOrders=function(){return this.orders},s.prototype.setEmployeeCards=function(t){this.employeeCards=t},s.prototype.getEmployeeCards=function(){return this.employeeCards},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.nickname={},s._meta_.fields.nickname.type=String,s._meta_.fields.customId={},s._meta_.fields.customId.type=String,s._meta_.fields.email={},s._meta_.fields.email.type=String,s._meta_.fields.inviteSent={},s._meta_.fields.inviteSent.type=Boolean,s._meta_.fields.claimedTime={},s._meta_.fields.claimedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.pin={},s._meta_.fields.pin.type=String,s._meta_.fields.unhashedPin={},s._meta_.fields.unhashedPin.type=String,s._meta_.fields.role={},s._meta_.fields.role.type=n,s._meta_.fields.roles={},s._meta_.fields.roles.type=Array,s._meta_.fields.roles.elementType=o,s._meta_.fields.isOwner={},s._meta_.fields.isOwner.type=Boolean,s._meta_.fields.shifts={},s._meta_.fields.shifts.type=Array,s._meta_.fields.shifts.elementType=o,s._meta_.fields.payments={},s._meta_.fields.payments.type=Array,s._meta_.fields.payments.elementType=o,s._meta_.fields.orders={},s._meta_.fields.orders.type=Array,s._meta_.fields.orders.elementType=o,s._meta_.fields.employeeCards={},s._meta_.fields.employeeCards.type=Array,s._meta_.fields.employeeCards.elementType=o,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,t.exports=s},78945:(t,e,i)=>{var n=i(54863),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.merchant=void 0,this.employee=void 0,this.updater=void 0,this.number=void 0,this.status=void 0,this.createdTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.setEmployee=function(t){this.employee=t},s.prototype.getEmployee=function(){return this.employee},s.prototype.setUpdater=function(t){this.updater=t},s.prototype.getUpdater=function(){return this.updater},s.prototype.setNumber=function(t){this.number=t},s.prototype.getNumber=function(){return this.number},s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,s._meta_.fields.employee={},s._meta_.fields.employee.type=o,s._meta_.fields.updater={},s._meta_.fields.updater.type=o,s._meta_.fields.number={},s._meta_.fields.number.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},54863:t=>{t.exports={ACTIVE:"ACTIVE",DISABLED:"DISABLED"}},52370:t=>{t.exports={MERCHANT_R:"MERCHANT_R",MERCHANT_W:"MERCHANT_W",PAYMENTS_R:"PAYMENTS_R",PAYMENTS_W:"PAYMENTS_W",ORDERS_R:"ORDERS_R",ORDERS_W:"ORDERS_W",PROCESS_CARDS:"PROCESS_CARDS"}},57598:t=>{t.exports={ORDERS_R:"ORDERS_R",ORDERS_W:"ORDERS_W",INVENTORY_R:"INVENTORY_R",INVENTORY_W:"INVENTORY_W",PAYMENTS_R:"PAYMENTS_R",PAYMENTS_W:"PAYMENTS_W",CUSTOMERS_R:"CUSTOMERS_R",CUSTOMERS_W:"CUSTOMERS_W",EMPLOYEES_R:"EMPLOYEES_R",EMPLOYEES_W:"EMPLOYEES_W",MERCHANT_R:"MERCHANT_R",MERCHANT_W:"MERCHANT_W"}},12899:(t,e,i)=>{var n=i(52370),o=i(4448),s=i(36967),r=function(){this._class_=r,this.id=void 0,this.name=void 0,this.label=void 0,this.app=void 0,this.employeeDefault=void 0,this.managerDefault=void 0,this.permissions=void 0,this.employeePermissions=void 0,this.module=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setName=function(t){this.name=t},r.prototype.getName=function(){return this.name},r.prototype.setLabel=function(t){this.label=t},r.prototype.getLabel=function(){return this.label},r.prototype.setApp=function(t){this.app=t},r.prototype.getApp=function(){return this.app},r.prototype.setEmployeeDefault=function(t){this.employeeDefault=t},r.prototype.getEmployeeDefault=function(){return this.employeeDefault},r.prototype.setManagerDefault=function(t){this.managerDefault=t},r.prototype.getManagerDefault=function(){return this.managerDefault},r.prototype.setPermissions=function(t){this.permissions=t},r.prototype.getPermissions=function(){return this.permissions},r.prototype.setEmployeePermissions=function(t){this.employeePermissions=t},r.prototype.getEmployeePermissions=function(){return this.employeePermissions},r.prototype.setModule=function(t){this.module=t},r.prototype.getModule=function(){return this.module},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.name={},r._meta_.fields.name.type=String,r._meta_.fields.label={},r._meta_.fields.label.type=String,r._meta_.fields.app={},r._meta_.fields.app.type=o,r._meta_.fields.employeeDefault={},r._meta_.fields.employeeDefault.type=Boolean,r._meta_.fields.managerDefault={},r._meta_.fields.managerDefault.type=Boolean,r._meta_.fields.permissions={},r._meta_.fields.permissions.type=s,r._meta_.fields.employeePermissions={},r._meta_.fields.employeePermissions.type=Array,r._meta_.fields.employeePermissions.elementType=n,r._meta_.fields.module={},r._meta_.fields.module.type=o,t.exports=r},85039:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.role=void 0,this.permissionSet=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setRole=function(t){this.role=t},o.prototype.getRole=function(){return this.role},o.prototype.setPermissionSet=function(t){this.permissionSet=t},o.prototype.getPermissionSet=function(){return this.permissionSet},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.role={},o._meta_.fields.role.type=n,o._meta_.fields.permissionSet={},o._meta_.fields.permissionSet.type=n,t.exports=o},36967:(t,e,i)=>{var n=i(57598),o=function(){this._class_=o,this.id=void 0,this.bits=void 0,this.readablePermissions=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setBits=function(t){this.bits=t},o.prototype.getBits=function(){return this.bits},o.prototype.setReadablePermissions=function(t){this.readablePermissions=t},o.prototype.getReadablePermissions=function(){return this.readablePermissions},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.bits={},o._meta_.fields.bits.type=Number,o._meta_.fields.readablePermissions={},o._meta_.fields.readablePermissions.type=Array,o._meta_.fields.readablePermissions.elementType=n,t.exports=o},11306:(t,e,i)=>{var n=i(54931),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.systemRole=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setSystemRole=function(t){this.systemRole=t},o.prototype.getSystemRole=function(){return this.systemRole},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.systemRole={},o._meta_.fields.systemRole.type=n,t.exports=o},66932:(t,e,i)=>{var n=i(91033),o=function(){this._class_=o,this.id=void 0,this.employee=void 0,this.cashTipsCollected=void 0,this.serverBanking=void 0,this.inTime=void 0,this.overrideInTime=void 0,this.overrideInEmployee=void 0,this.outTime=void 0,this.overrideOutTime=void 0,this.overrideOutEmployee=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setEmployee=function(t){this.employee=t},o.prototype.getEmployee=function(){return this.employee},o.prototype.setCashTipsCollected=function(t){this.cashTipsCollected=t},o.prototype.getCashTipsCollected=function(){return this.cashTipsCollected},o.prototype.setServerBanking=function(t){this.serverBanking=t},o.prototype.getServerBanking=function(){return this.serverBanking},o.prototype.setInTime=function(t){this.inTime=t},o.prototype.getInTime=function(){return this.inTime},o.prototype.setOverrideInTime=function(t){this.overrideInTime=t},o.prototype.getOverrideInTime=function(){return this.overrideInTime},o.prototype.setOverrideInEmployee=function(t){this.overrideInEmployee=t},o.prototype.getOverrideInEmployee=function(){return this.overrideInEmployee},o.prototype.setOutTime=function(t){this.outTime=t},o.prototype.getOutTime=function(){return this.outTime},o.prototype.setOverrideOutTime=function(t){this.overrideOutTime=t},o.prototype.getOverrideOutTime=function(){return this.overrideOutTime},o.prototype.setOverrideOutEmployee=function(t){this.overrideOutEmployee=t},o.prototype.getOverrideOutEmployee=function(){return this.overrideOutEmployee},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.employee={},o._meta_.fields.employee.type=n,o._meta_.fields.cashTipsCollected={},o._meta_.fields.cashTipsCollected.type=Number,o._meta_.fields.serverBanking={},o._meta_.fields.serverBanking.type=Boolean,o._meta_.fields.inTime={},o._meta_.fields.inTime.type=Number,o._meta_.fields.overrideInTime={},o._meta_.fields.overrideInTime.type=Number,o._meta_.fields.overrideInEmployee={},o._meta_.fields.overrideInEmployee.type=n,o._meta_.fields.outTime={},o._meta_.fields.outTime.type=Number,o._meta_.fields.overrideOutTime={},o._meta_.fields.overrideOutTime.type=Number,o._meta_.fields.overrideOutEmployee={},o._meta_.fields.overrideOutEmployee.type=n,t.exports=o},22731:(t,e,i)=>{function n(){}t.exports.employees=n,n.AccountRole=i(54931),n.Employee=i(91033),n.EmployeeCard=i(78945),n.EmployeeCardStatus=i(54863),n.EmployeePermission=i(52370),n.Permission=i(57598),n.PermissionSet=i(12899),n.PermissionSetRole=i(85039),n.Permissions=i(36967),n.Role=i(11306),n.Shift=i(66932),t.exports=n},82274:t=>{var e=function(){this._class_=e,this.start=void 0,this.end=void 0};e.prototype.setStart=function(t){this.start=t},e.prototype.getStart=function(){return this.start},e.prototype.setEnd=function(t){this.end=t},e.prototype.getEnd=function(){return this.end},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.start={},e._meta_.fields.start.type=Number,e._meta_.fields.end={},e._meta_.fields.end.type=Number,t.exports=e},20886:(t,e,i)=>{var n=i(82274),o=i(27653),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.reference=void 0,this.sunday=void 0,this.monday=void 0,this.tuesday=void 0,this.wednesday=void 0,this.thursday=void 0,this.friday=void 0,this.saturday=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setReference=function(t){this.reference=t},s.prototype.getReference=function(){return this.reference},s.prototype.setSunday=function(t){this.sunday=t},s.prototype.getSunday=function(){return this.sunday},s.prototype.setMonday=function(t){this.monday=t},s.prototype.getMonday=function(){return this.monday},s.prototype.setTuesday=function(t){this.tuesday=t},s.prototype.getTuesday=function(){return this.tuesday},s.prototype.setWednesday=function(t){this.wednesday=t},s.prototype.getWednesday=function(){return this.wednesday},s.prototype.setThursday=function(t){this.thursday=t},s.prototype.getThursday=function(){return this.thursday},s.prototype.setFriday=function(t){this.friday=t},s.prototype.getFriday=function(){return this.friday},s.prototype.setSaturday=function(t){this.saturday=t},s.prototype.getSaturday=function(){return this.saturday},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.reference={},s._meta_.fields.reference.type=o,s._meta_.fields.sunday={},s._meta_.fields.sunday.type=Array,s._meta_.fields.sunday.elementType=n,s._meta_.fields.monday={},s._meta_.fields.monday.type=Array,s._meta_.fields.monday.elementType=n,s._meta_.fields.tuesday={},s._meta_.fields.tuesday.type=Array,s._meta_.fields.tuesday.elementType=n,s._meta_.fields.wednesday={},s._meta_.fields.wednesday.type=Array,s._meta_.fields.wednesday.elementType=n,s._meta_.fields.thursday={},s._meta_.fields.thursday.type=Array,s._meta_.fields.thursday.elementType=n,s._meta_.fields.friday={},s._meta_.fields.friday.type=Array,s._meta_.fields.friday.elementType=n,s._meta_.fields.saturday={},s._meta_.fields.saturday.type=Array,s._meta_.fields.saturday.elementType=n,t.exports=s},27653:(t,e,i)=>{var n=i(76263),o=function(){this._class_=o,this.id=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},76263:t=>{t.exports={ORDER_TYPE:"ORDER_TYPE",ITEM_GROUP:"ITEM_GROUP",SOFTWARE_UPDATE_EXCLUSION:"SOFTWARE_UPDATE_EXCLUSION",ONLINE_ORDER_SERVICE:"ONLINE_ORDER_SERVICE"}},81894:(t,e,i)=>{function n(){}t.exports.hours=n,n.HourRange=i(82274),n.HoursSet=i(20886),n.Reference=i(27653),n.ReferenceType=i(76263),t.exports=n},61256:(t,e,i)=>{function n(){}t.exports.sdk=n,n.apps=i(64280),n.base=i(87773),n.customers=i(92700),n.device=i(4822),n.employees=i(22731),n.hours=i(81894),n.inventory=i(19820),n.order=i(40402),n.pay=i(57637),n.payments=i(72397),n.printer=i(54492),n.remotemessage=i(90226),n.remotepay=i(95626),n.merchant=i(15222),n.loyalty=i(81990),t.exports=n},2937:(t,e,i)=>{var n=i(4448),o=i(35787),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.itemGroup=void 0,this.options=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setItemGroup=function(t){this.itemGroup=t},s.prototype.getItemGroup=function(){return this.itemGroup},s.prototype.setOptions=function(t){this.options=t},s.prototype.getOptions=function(){return this.options},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.itemGroup={},s._meta_.fields.itemGroup.type=n,s._meta_.fields.options={},s._meta_.fields.options.type=Array,s._meta_.fields.options.elementType=o,t.exports=s},74155:(t,e,i)=>{var n=i(84700),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.sortOrder=void 0,this.items=void 0,this.deleted=void 0,this.modifiedTime=void 0,this.canonical=void 0,this.menuSection=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSortOrder=function(t){this.sortOrder=t},s.prototype.getSortOrder=function(){return this.sortOrder},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setDeleted=function(t){this.deleted=t},s.prototype.getDeleted=function(){return this.deleted},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setCanonical=function(t){this.canonical=t},s.prototype.getCanonical=function(){return this.canonical},s.prototype.setMenuSection=function(t){this.menuSection=t},s.prototype.getMenuSection=function(){return this.menuSection},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.sortOrder={},s._meta_.fields.sortOrder.type=Number,s._meta_.fields.items={},s._meta_.fields.items.type=Array,s._meta_.fields.items.elementType=o,s._meta_.fields.deleted={},s._meta_.fields.deleted.type=Boolean,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.canonical={},s._meta_.fields.canonical.type=o,s._meta_.fields.menuSection={},s._meta_.fields.menuSection.type=n,t.exports=s},58563:(t,e,i)=>{var n=i(69728),o=i(74155),s=function(){this._class_=s,this.item=void 0,this.category=void 0};s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.item={},s._meta_.fields.item.type=n,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},70855:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.primary=void 0,this.secondary=void 0,this.payload=void 0};o.prototype.setPrimary=function(t){this.primary=t},o.prototype.getPrimary=function(){return this.primary},o.prototype.setSecondary=function(t){this.secondary=t},o.prototype.getSecondary=function(){return this.secondary},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.primary={},o._meta_.fields.primary.type=n,o._meta_.fields.secondary={},o._meta_.fields.secondary.type=n,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,t.exports=o},68119:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.merchantRef=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPercentage=function(t){this.percentage=t},o.prototype.getPercentage=function(){return this.percentage},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.percentage={},o._meta_.fields.percentage.type=Number,t.exports=o},71848:(t,e,i)=>{var n=i(69728),o=function(){this._class_=o,this.items=void 0};o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},69728:(t,e,i)=>{var n=i(2514),o=i(73004),s=i(11273),r=i(62703),a=i(33983),l=i(74155),d=i(4448),u=i(43156),p=i(35787),_=function(){this._class_=_,this.id=void 0,this.hidden=!1,this.itemGroup=void 0,this.options=void 0,this.name=void 0,this.alternateName=void 0,this.code=void 0,this.sku=void 0,this.price=void 0,this.priceType=void 0,this.defaultTaxRates=!0,this.unitName=void 0,this.cost=void 0,this.isRevenue=!1,this.stockCount=void 0,this.taxRates=void 0,this.modifierGroups=void 0,this.categories=void 0,this.tags=void 0,this.canonical=void 0,this.itemStock=void 0,this.menuItem=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.priceWithoutVat=void 0};_.prototype.setId=function(t){this.id=t},_.prototype.getId=function(){return this.id},_.prototype.setHidden=function(t){this.hidden=t},_.prototype.getHidden=function(){return this.hidden},_.prototype.setItemGroup=function(t){this.itemGroup=t},_.prototype.getItemGroup=function(){return this.itemGroup},_.prototype.setOptions=function(t){this.options=t},_.prototype.getOptions=function(){return this.options},_.prototype.setName=function(t){this.name=t},_.prototype.getName=function(){return this.name},_.prototype.setAlternateName=function(t){this.alternateName=t},_.prototype.getAlternateName=function(){return this.alternateName},_.prototype.setCode=function(t){this.code=t},_.prototype.getCode=function(){return this.code},_.prototype.setSku=function(t){this.sku=t},_.prototype.getSku=function(){return this.sku},_.prototype.setPrice=function(t){this.price=t},_.prototype.getPrice=function(){return this.price},_.prototype.setPriceType=function(t){this.priceType=t},_.prototype.getPriceType=function(){return this.priceType},_.prototype.setDefaultTaxRates=function(t){this.defaultTaxRates=t},_.prototype.getDefaultTaxRates=function(){return this.defaultTaxRates},_.prototype.setUnitName=function(t){this.unitName=t},_.prototype.getUnitName=function(){return this.unitName},_.prototype.setCost=function(t){this.cost=t},_.prototype.getCost=function(){return this.cost},_.prototype.setIsRevenue=function(t){this.isRevenue=t},_.prototype.getIsRevenue=function(){return this.isRevenue},_.prototype.setStockCount=function(t){this.stockCount=t},_.prototype.getStockCount=function(){return this.stockCount},_.prototype.setTaxRates=function(t){this.taxRates=t},_.prototype.getTaxRates=function(){return this.taxRates},_.prototype.setModifierGroups=function(t){this.modifierGroups=t},_.prototype.getModifierGroups=function(){return this.modifierGroups},_.prototype.setCategories=function(t){this.categories=t},_.prototype.getCategories=function(){return this.categories},_.prototype.setTags=function(t){this.tags=t},_.prototype.getTags=function(){return this.tags},_.prototype.setCanonical=function(t){this.canonical=t},_.prototype.getCanonical=function(){return this.canonical},_.prototype.setItemStock=function(t){this.itemStock=t},_.prototype.getItemStock=function(){return this.itemStock},_.prototype.setMenuItem=function(t){this.menuItem=t},_.prototype.getMenuItem=function(){return this.menuItem},_.prototype.setModifiedTime=function(t){this.modifiedTime=t},_.prototype.getModifiedTime=function(){return this.modifiedTime},_.prototype.setDeletedTime=function(t){this.deletedTime=t},_.prototype.getDeletedTime=function(){return this.deletedTime},_.prototype.setPriceWithoutVat=function(t){this.priceWithoutVat=t},_.prototype.getPriceWithoutVat=function(){return this.priceWithoutVat},_.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},_.prototype.toString=function(){return JSON.stringify(this)},_._meta_={fields:{}},_._meta_._class_=_,_._meta_.fields.id={},_._meta_.fields.id.type=String,_._meta_.fields.hidden={},_._meta_.fields.hidden.type=Boolean,_._meta_.fields.itemGroup={},_._meta_.fields.itemGroup.type=d,_._meta_.fields.options={},_._meta_.fields.options.type=Array,_._meta_.fields.options.elementType=p,_._meta_.fields.name={},_._meta_.fields.name.type=String,_._meta_.fields.alternateName={},_._meta_.fields.alternateName.type=String,_._meta_.fields.code={},_._meta_.fields.code.type=String,_._meta_.fields.sku={},_._meta_.fields.sku.type=String,_._meta_.fields.price={},_._meta_.fields.price.type=Number,_._meta_.fields.priceType={},_._meta_.fields.priceType.type=a,_._meta_.fields.defaultTaxRates={},_._meta_.fields.defaultTaxRates.type=Boolean,_._meta_.fields.unitName={},_._meta_.fields.unitName.type=String,_._meta_.fields.cost={},_._meta_.fields.cost.type=Number,_._meta_.fields.isRevenue={},_._meta_.fields.isRevenue.type=Boolean,_._meta_.fields.stockCount={},_._meta_.fields.stockCount.type=Number,_._meta_.fields.taxRates={},_._meta_.fields.taxRates.type=Array,_._meta_.fields.taxRates.elementType=o,_._meta_.fields.modifierGroups={},_._meta_.fields.modifierGroups.type=Array,_._meta_.fields.modifierGroups.elementType=r,_._meta_.fields.categories={},_._meta_.fields.categories.type=Array,_._meta_.fields.categories.elementType=l,_._meta_.fields.tags={},_._meta_.fields.tags.type=Array,_._meta_.fields.tags.elementType=u,_._meta_.fields.canonical={},_._meta_.fields.canonical.type=d,_._meta_.fields.itemStock={},_._meta_.fields.itemStock.type=n,_._meta_.fields.menuItem={},_._meta_.fields.menuItem.type=s,_._meta_.fields.modifiedTime={},_._meta_.fields.modifiedTime.type=Number,_._meta_.fields.deletedTime={},_._meta_.fields.deletedTime.type=Number,_._meta_.fields.priceWithoutVat={},_._meta_.fields.priceWithoutVat.type=Number,t.exports=_},72002:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.items=void 0,this.attributes=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.setAttributes=function(t){this.attributes=t},o.prototype.getAttributes=function(){return this.attributes},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,o._meta_.fields.attributes={},o._meta_.fields.attributes.type=Array,o._meta_.fields.attributes.elementType=n,t.exports=o},78777:(t,e,i)=>{var n=i(62703),o=i(69728),s=function(){this._class_=s,this.item=void 0,this.modifierGroup=void 0};s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.setModifierGroup=function(t){this.modifierGroup=t},s.prototype.getModifierGroup=function(){return this.modifierGroup},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.item={},s._meta_.fields.item.type=o,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=n,t.exports=s},2514:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.item=void 0,this.stockCount=void 0,this.quantity=void 0,this.modifiedTime=void 0};o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.setStockCount=function(t){this.stockCount=t},o.prototype.getStockCount=function(){return this.stockCount},o.prototype.setQuantity=function(t){this.quantity=t},o.prototype.getQuantity=function(){return this.quantity},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.item={},o._meta_.fields.item.type=n,o._meta_.fields.stockCount={},o._meta_.fields.stockCount.type=Number,o._meta_.fields.quantity={},o._meta_.fields.quantity.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,t.exports=o},43051:t=>{var e=function(){this._class_=e,this.enabled=void 0,this.uuids=void 0};e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setUuids=function(t){this.uuids=t},e.prototype.getUuids=function(){return this.uuids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.uuids={},e._meta_.fields.uuids.type=Array,t.exports=e},11273:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.item=void 0,this.merchantRef=void 0,this.price=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setPrice=function(t){this.price=t},o.prototype.getPrice=function(){return this.price},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.item={},o._meta_.fields.item.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.price={},o._meta_.fields.price.type=Number,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},48575:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.modifier=void 0,this.merchantRef=void 0,this.price=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setModifier=function(t){this.modifier=t},o.prototype.getModifier=function(){return this.modifier},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setPrice=function(t){this.price=t},o.prototype.getPrice=function(){return this.price},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.modifier={},o._meta_.fields.modifier.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.price={},o._meta_.fields.price.type=Number,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},73592:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.modifierGroup=void 0,this.merchantRef=void 0,this.name=void 0,this.description=void 0,this.minRequired=void 0,this.maxAllowed=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setModifierGroup=function(t){this.modifierGroup=t},o.prototype.getModifierGroup=function(){return this.modifierGroup},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setMinRequired=function(t){this.minRequired=t},o.prototype.getMinRequired=function(){return this.minRequired},o.prototype.setMaxAllowed=function(t){this.maxAllowed=t},o.prototype.getMaxAllowed=function(){return this.maxAllowed},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.modifierGroup={},o._meta_.fields.modifierGroup.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.minRequired={},o._meta_.fields.minRequired.type=Number,o._meta_.fields.maxAllowed={},o._meta_.fields.maxAllowed.type=Number,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},84700:(t,e,i)=>{var n=i(11273),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.category=void 0,this.merchantRef=void 0,this.items=void 0,this.itemList=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.setMerchantRef=function(t){this.merchantRef=t},s.prototype.getMerchantRef=function(){return this.merchantRef},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setItemList=function(t){this.itemList=t},s.prototype.getItemList=function(){return this.itemList},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setDescription=function(t){this.description=t},s.prototype.getDescription=function(){return this.description},s.prototype.setImageFilename=function(t){this.imageFilename=t},s.prototype.getImageFilename=function(){return this.imageFilename},s.prototype.setEnabled=function(t){this.enabled=t},s.prototype.getEnabled=function(){return this.enabled},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.category={},s._meta_.fields.category.type=o,s._meta_.fields.merchantRef={},s._meta_.fields.merchantRef.type=o,s._meta_.fields.items={},s._meta_.fields.items.type=String,s._meta_.fields.itemList={},s._meta_.fields.itemList.type=Array,s._meta_.fields.itemList.elementType=n,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.description={},s._meta_.fields.description.type=String,s._meta_.fields.imageFilename={},s._meta_.fields.imageFilename.type=String,s._meta_.fields.enabled={},s._meta_.fields.enabled.type=Boolean,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,t.exports=s},55683:(t,e,i)=>{var n=i(48575),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.price=0,this.modifierGroup=void 0,this.menuModifier=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setAlternateName=function(t){this.alternateName=t},s.prototype.getAlternateName=function(){return this.alternateName},s.prototype.setPrice=function(t){this.price=t},s.prototype.getPrice=function(){return this.price},s.prototype.setModifierGroup=function(t){this.modifierGroup=t},s.prototype.getModifierGroup=function(){return this.modifierGroup},s.prototype.setMenuModifier=function(t){this.menuModifier=t},s.prototype.getMenuModifier=function(){return this.menuModifier},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.alternateName={},s._meta_.fields.alternateName.type=String,s._meta_.fields.price={},s._meta_.fields.price.type=Number,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=o,s._meta_.fields.menuModifier={},s._meta_.fields.menuModifier.type=n,t.exports=s},62703:(t,e,i)=>{var n=i(73592),o=i(4448),s=i(55683),r=function(){this._class_=r,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.minRequired=void 0,this.maxAllowed=void 0,this.showByDefault=!0,this.modifiers=void 0,this.modifierIds=void 0,this.items=void 0,this.menuModifierGroup=void 0,this.sortOrder=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setName=function(t){this.name=t},r.prototype.getName=function(){return this.name},r.prototype.setAlternateName=function(t){this.alternateName=t},r.prototype.getAlternateName=function(){return this.alternateName},r.prototype.setMinRequired=function(t){this.minRequired=t},r.prototype.getMinRequired=function(){return this.minRequired},r.prototype.setMaxAllowed=function(t){this.maxAllowed=t},r.prototype.getMaxAllowed=function(){return this.maxAllowed},r.prototype.setShowByDefault=function(t){this.showByDefault=t},r.prototype.getShowByDefault=function(){return this.showByDefault},r.prototype.setModifiers=function(t){this.modifiers=t},r.prototype.getModifiers=function(){return this.modifiers},r.prototype.setModifierIds=function(t){this.modifierIds=t},r.prototype.getModifierIds=function(){return this.modifierIds},r.prototype.setItems=function(t){this.items=t},r.prototype.getItems=function(){return this.items},r.prototype.setMenuModifierGroup=function(t){this.menuModifierGroup=t},r.prototype.getMenuModifierGroup=function(){return this.menuModifierGroup},r.prototype.setSortOrder=function(t){this.sortOrder=t},r.prototype.getSortOrder=function(){return this.sortOrder},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.name={},r._meta_.fields.name.type=String,r._meta_.fields.alternateName={},r._meta_.fields.alternateName.type=String,r._meta_.fields.minRequired={},r._meta_.fields.minRequired.type=Number,r._meta_.fields.maxAllowed={},r._meta_.fields.maxAllowed.type=Number,r._meta_.fields.showByDefault={},r._meta_.fields.showByDefault.type=Boolean,r._meta_.fields.modifiers={},r._meta_.fields.modifiers.type=Array,r._meta_.fields.modifiers.elementType=s,r._meta_.fields.modifierIds={},r._meta_.fields.modifierIds.type=String,r._meta_.fields.items={},r._meta_.fields.items.type=Array,r._meta_.fields.items.elementType=o,r._meta_.fields.menuModifierGroup={},r._meta_.fields.menuModifierGroup.type=n,r._meta_.fields.sortOrder={},r._meta_.fields.sortOrder.type=Number,t.exports=r},61445:(t,e,i)=>{var n=i(62703),o=function(){this._class_=o,this.modifierGroups=void 0};o.prototype.setModifierGroups=function(t){this.modifierGroups=t},o.prototype.getModifierGroups=function(){return this.modifierGroups},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.modifierGroups={},o._meta_.fields.modifierGroups.type=Array,o._meta_.fields.modifierGroups.elementType=n,t.exports=o},35787:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.attribute=void 0,this.items=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAttribute=function(t){this.attribute=t},o.prototype.getAttribute=function(){return this.attribute},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.attribute={},o._meta_.fields.attribute.type=n,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},34456:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.option=void 0,this.item=void 0};o.prototype.setOption=function(t){this.option=t},o.prototype.getOption=function(){return this.option},o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.option={},o._meta_.fields.option.type=n,o._meta_.fields.item={},o._meta_.fields.item.type=n,t.exports=o},33983:t=>{t.exports={FIXED:"FIXED",VARIABLE:"VARIABLE",PER_UNIT:"PER_UNIT"}},95263:t=>{var e=function(){this._class_=e,this.ids=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,t.exports=e},43156:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name="",this.showInReporting=!1,this.items=void 0,this.printers=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setShowInReporting=function(t){this.showInReporting=t},o.prototype.getShowInReporting=function(){return this.showInReporting},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.setPrinters=function(t){this.printers=t},o.prototype.getPrinters=function(){return this.printers},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.showInReporting={},o._meta_.fields.showInReporting.type=Boolean,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,o._meta_.fields.printers={},o._meta_.fields.printers.type=Array,o._meta_.fields.printers.elementType=n,t.exports=o},7248:(t,e,i)=>{var n=i(69728),o=i(43156),s=function(){this._class_=s,this.tag=void 0,this.item=void 0};s.prototype.setTag=function(t){this.tag=t},s.prototype.getTag=function(){return this.tag},s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.tag={},s._meta_.fields.tag.type=o,s._meta_.fields.item={},s._meta_.fields.item.type=n,t.exports=s},73519:(t,e,i)=>{var n=i(43540),o=i(43156),s=function(){this._class_=s,this.tag=void 0,this.printer=void 0};s.prototype.setTag=function(t){this.tag=t},s.prototype.getTag=function(){return this.tag},s.prototype.setPrinter=function(t){this.printer=t},s.prototype.getPrinter=function(){return this.printer},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.tag={},s._meta_.fields.tag.type=o,s._meta_.fields.printer={},s._meta_.fields.printer.type=n,t.exports=s},73004:(t,e,i)=>{var n=i(46554),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.taxType=void 0,this.rate=void 0,this.isDefault=void 0,this.items=void 0,this.taxAmount=void 0,this.deletedTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setTaxType=function(t){this.taxType=t},s.prototype.getTaxType=function(){return this.taxType},s.prototype.setRate=function(t){this.rate=t},s.prototype.getRate=function(){return this.rate},s.prototype.setIsDefault=function(t){this.isDefault=t},s.prototype.getIsDefault=function(){return this.isDefault},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setTaxAmount=function(t){this.taxAmount=t},s.prototype.getTaxAmount=function(){return this.taxAmount},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.taxType={},s._meta_.fields.taxType.type=n,s._meta_.fields.rate={},s._meta_.fields.rate.type=Number,s._meta_.fields.isDefault={},s._meta_.fields.isDefault.type=Boolean,s._meta_.fields.items={},s._meta_.fields.items.type=Array,s._meta_.fields.items.elementType=o,s._meta_.fields.taxAmount={},s._meta_.fields.taxAmount.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},97946:(t,e,i)=>{var n=i(73004),o=i(69728),s=function(){this._class_=s,this.taxRate=void 0,this.item=void 0};s.prototype.setTaxRate=function(t){this.taxRate=t},s.prototype.getTaxRate=function(){return this.taxRate},s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.taxRate={},s._meta_.fields.taxRate.type=n,s._meta_.fields.item={},s._meta_.fields.item.type=o,t.exports=s},46554:t=>{t.exports={VAT_TAXABLE:"VAT_TAXABLE",VAT_NON_TAXABLE:"VAT_NON_TAXABLE",VAT_EXEMPT:"VAT_EXEMPT",INTERNAL_TAX:"INTERNAL_TAX"}},19820:(t,e,i)=>{function n(){}t.exports.inventory=n,n.Attribute=i(2937),n.Category=i(74155),n.CategoryItem=i(58563),n.DataAssociation=i(70855),n.Discount=i(68119),n.InventoryItems=i(71848),n.Item=i(69728),n.ItemGroup=i(72002),n.ItemModifierGroup=i(78777),n.ItemStock=i(2514),n.MenuBulkUpdate=i(43051),n.MenuItem=i(11273),n.MenuModifier=i(48575),n.MenuModifierGroup=i(73592),n.MenuSection=i(84700),n.Modifier=i(55683),n.ModifierGroup=i(62703),n.ModifierGroupArray=i(61445),n.Option=i(35787),n.OptionItem=i(34456),n.PriceType=i(33983),n.SortOrder=i(95263),n.Tag=i(43156),n.TagItem=i(7248),n.TagPrinter=i(73519),n.TaxRate=i(73004),n.TaxRateItem=i(97946),n.TaxType=i(46554),t.exports=n},48485:(t,e,i)=>{var n=i(53090),o=function(){this._class_=o,this.responseType=void 0};o.prototype.setResponseType=function(t){this.responseType=t},o.prototype.getResponseType=function(){return this.responseType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.responseType={},o._meta_.fields.responseType.type=n,t.exports=o},53090:t=>{t.exports={ACCEPTED:"ACCEPTED",PENDING:"PENDING"}},77166:t=>{var e=function(){this._class_=e,this.type=void 0,this.configuration=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setConfiguration=function(t){this.configuration=t},e.prototype.getConfiguration=function(){return this.configuration},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.configuration={},e._meta_.fields.configuration.type=Object,t.exports=e},81990:(t,e,i)=>{function n(){}t.exports.loyalty=n,n.CustomerProvidedDataResponse=i(48485),n.CustomerProvidedDataResponseType=i(53090),n.LoyaltyDataConfig=i(77166),t.exports=n},27033:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.percentage=void 0,this.amount=void 0,this.isEnabled=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setIsEnabled=function(t){this.isEnabled=t},e.prototype.getIsEnabled=function(){return this.isEnabled},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,e._meta_.fields.isEnabled={},e._meta_.fields.isEnabled.type=Boolean,t.exports=e},15222:(t,e,i)=>{function n(){}t.exports.merchant=n,n.TipSuggestion=i(27033),t.exports=n},55623:(t,e,i)=>{var n=i(15358),o=i(5428),s=i(43252),r=i(4448),a=i(4780),l=function(){this._class_=l,this.id=void 0,this.merchantRef=void 0,this.onlineOrderId=void 0,this.receiptId=void 0,this.provider=void 0,this.providerId=void 0,this.orderState=void 0,this.onlineOrderCustomer=void 0,this.deliverTime=void 0,this.scheduledPickupTime=void 0,this.reason=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};l.prototype.setId=function(t){this.id=t},l.prototype.getId=function(){return this.id},l.prototype.setMerchantRef=function(t){this.merchantRef=t},l.prototype.getMerchantRef=function(){return this.merchantRef},l.prototype.setOnlineOrderId=function(t){this.onlineOrderId=t},l.prototype.getOnlineOrderId=function(){return this.onlineOrderId},l.prototype.setReceiptId=function(t){this.receiptId=t},l.prototype.getReceiptId=function(){return this.receiptId},l.prototype.setProvider=function(t){this.provider=t},l.prototype.getProvider=function(){return this.provider},l.prototype.setProviderId=function(t){this.providerId=t},l.prototype.getProviderId=function(){return this.providerId},l.prototype.setOrderState=function(t){this.orderState=t},l.prototype.getOrderState=function(){return this.orderState},l.prototype.setOnlineOrderCustomer=function(t){this.onlineOrderCustomer=t},l.prototype.getOnlineOrderCustomer=function(){return this.onlineOrderCustomer},l.prototype.setDeliverTime=function(t){this.deliverTime=t},l.prototype.getDeliverTime=function(){return this.deliverTime},l.prototype.setScheduledPickupTime=function(t){this.scheduledPickupTime=t},l.prototype.getScheduledPickupTime=function(){return this.scheduledPickupTime},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setCreatedTime=function(t){this.createdTime=t},l.prototype.getCreatedTime=function(){return this.createdTime},l.prototype.setModifiedTime=function(t){this.modifiedTime=t},l.prototype.getModifiedTime=function(){return this.modifiedTime},l.prototype.setDeletedTime=function(t){this.deletedTime=t},l.prototype.getDeletedTime=function(){return this.deletedTime},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.id={},l._meta_.fields.id.type=String,l._meta_.fields.merchantRef={},l._meta_.fields.merchantRef.type=r,l._meta_.fields.onlineOrderId={},l._meta_.fields.onlineOrderId.type=String,l._meta_.fields.receiptId={},l._meta_.fields.receiptId.type=String,l._meta_.fields.provider={},l._meta_.fields.provider.type=r,l._meta_.fields.providerId={},l._meta_.fields.providerId.type=n,l._meta_.fields.orderState={},l._meta_.fields.orderState.type=a,l._meta_.fields.onlineOrderCustomer={},l._meta_.fields.onlineOrderCustomer.type=o,l._meta_.fields.deliverTime={},l._meta_.fields.deliverTime.type=Number,l._meta_.fields.scheduledPickupTime={},l._meta_.fields.scheduledPickupTime.type=Number,l._meta_.fields.reason={},l._meta_.fields.reason.type=s,l._meta_.fields.createdTime={},l._meta_.fields.createdTime.type=Number,l._meta_.fields.modifiedTime={},l._meta_.fields.modifiedTime.type=Number,l._meta_.fields.deletedTime={},l._meta_.fields.deletedTime.type=Number,t.exports=l},5428:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.merchantRef=void 0,this.customerEmailAddress=void 0,this.customerDisplayName=void 0,this.customerFirstName=void 0,this.customerLastName=void 0,this.customerPhoneNumber=void 0,this.createdTime=void 0,this.modifiedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setCustomerEmailAddress=function(t){this.customerEmailAddress=t},o.prototype.getCustomerEmailAddress=function(){return this.customerEmailAddress},o.prototype.setCustomerDisplayName=function(t){this.customerDisplayName=t},o.prototype.getCustomerDisplayName=function(){return this.customerDisplayName},o.prototype.setCustomerFirstName=function(t){this.customerFirstName=t},o.prototype.getCustomerFirstName=function(){return this.customerFirstName},o.prototype.setCustomerLastName=function(t){this.customerLastName=t},o.prototype.getCustomerLastName=function(){return this.customerLastName},o.prototype.setCustomerPhoneNumber=function(t){this.customerPhoneNumber=t},o.prototype.getCustomerPhoneNumber=function(){return this.customerPhoneNumber},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.customerEmailAddress={},o._meta_.fields.customerEmailAddress.type=String,o._meta_.fields.customerDisplayName={},o._meta_.fields.customerDisplayName.type=String,o._meta_.fields.customerFirstName={},o._meta_.fields.customerFirstName.type=String,o._meta_.fields.customerLastName={},o._meta_.fields.customerLastName.type=String,o._meta_.fields.customerPhoneNumber={},o._meta_.fields.customerPhoneNumber.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,t.exports=o},4780:t=>{t.exports={CREATED:"CREATED",CONFIRMED:"CONFIRMED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",IN_PREPARATION:"IN_PREPARATION",READY_FOR_PICKUP:"READY_FOR_PICKUP",IN_TRANSIT:"IN_TRANSIT",FULFILLED:"FULFILLED"}},15358:t=>{t.exports={GOOGLE:"GOOGLE"}},43252:t=>{t.exports={MENU_ITEM_UNAVAILABLE:"MENU_ITEM_UNAVAILABLE",RESTAURANT_CLOSED:"RESTAURANT_CLOSED"}},70541:t=>{t.exports={DELETED_LINE_ITEM:"DELETED_LINE_ITEM",MOVED_TABLE:"MOVED_TABLE",LEFT_TABLE:"LEFT_TABLE"}},85653:(t,e,i)=>{var n=i(9222),o=function(){this._class_=o,this.items=void 0};o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},91961:t=>{t.exports={NAME:"NAME",TABLE:"TABLE",NAME_TABLE:"NAME_TABLE"}},4248:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.discount=void 0,this.approver=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.setApprover=function(t){this.approver=t},o.prototype.getApprover=function(){return this.approver},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPercentage=function(t){this.percentage=t},o.prototype.getPercentage=function(){return this.percentage},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,o._meta_.fields.approver={},o._meta_.fields.approver.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.percentage={},o._meta_.fields.percentage.type=Number,t.exports=o},16572:t=>{var e=function(){this._class_=e,this.id=void 0,this.lineItemId=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=String,t.exports=e},6062:(t,e,i)=>{var n=i(16572),o=i(82922),s=function(){this._class_=s,this.id=void 0,this.orderId=void 0,this.name=void 0,this.alternateName=void 0,this.price=void 0,this.unitPrice=void 0,this.quantity=void 0,this.unitQuantity=void 0,this.note=void 0,this.printed="false",this.binName=void 0,this.userData=void 0,this.discounts=void 0,this.discountAmount=void 0,this.exchanged="false",this.exchangedAmount=void 0,this.modifications=void 0,this.refunded="false",this.refundedAmount=void 0,this.percent=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setAlternateName=function(t){this.alternateName=t},s.prototype.getAlternateName=function(){return this.alternateName},s.prototype.setPrice=function(t){this.price=t},s.prototype.getPrice=function(){return this.price},s.prototype.setUnitPrice=function(t){this.unitPrice=t},s.prototype.getUnitPrice=function(){return this.unitPrice},s.prototype.setQuantity=function(t){this.quantity=t},s.prototype.getQuantity=function(){return this.quantity},s.prototype.setUnitQuantity=function(t){this.unitQuantity=t},s.prototype.getUnitQuantity=function(){return this.unitQuantity},s.prototype.setNote=function(t){this.note=t},s.prototype.getNote=function(){return this.note},s.prototype.setPrinted=function(t){this.printed=t},s.prototype.getPrinted=function(){return this.printed},s.prototype.setBinName=function(t){this.binName=t},s.prototype.getBinName=function(){return this.binName},s.prototype.setUserData=function(t){this.userData=t},s.prototype.getUserData=function(){return this.userData},s.prototype.setDiscounts=function(t){this.discounts=t},s.prototype.getDiscounts=function(){return this.discounts},s.prototype.setDiscountAmount=function(t){this.discountAmount=t},s.prototype.getDiscountAmount=function(){return this.discountAmount},s.prototype.setExchanged=function(t){this.exchanged=t},s.prototype.getExchanged=function(){return this.exchanged},s.prototype.setExchangedAmount=function(t){this.exchangedAmount=t},s.prototype.getExchangedAmount=function(){return this.exchangedAmount},s.prototype.setModifications=function(t){this.modifications=t},s.prototype.getModifications=function(){return this.modifications},s.prototype.setRefunded=function(t){this.refunded=t},s.prototype.getRefunded=function(){return this.refunded},s.prototype.setRefundedAmount=function(t){this.refundedAmount=t},s.prototype.getRefundedAmount=function(){return this.refundedAmount},s.prototype.setPercent=function(t){this.percent=t},s.prototype.getPercent=function(){return this.percent},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.alternateName={},s._meta_.fields.alternateName.type=String,s._meta_.fields.price={},s._meta_.fields.price.type=String,s._meta_.fields.unitPrice={},s._meta_.fields.unitPrice.type=String,s._meta_.fields.quantity={},s._meta_.fields.quantity.type=String,s._meta_.fields.unitQuantity={},s._meta_.fields.unitQuantity.type=String,s._meta_.fields.note={},s._meta_.fields.note.type=String,s._meta_.fields.printed={},s._meta_.fields.printed.type=Boolean,s._meta_.fields.binName={},s._meta_.fields.binName.type=String,s._meta_.fields.userData={},s._meta_.fields.userData.type=String,s._meta_.fields.discounts={},s._meta_.fields.discounts.type=Array,s._meta_.fields.discounts.elementType=n,s._meta_.fields.discountAmount={},s._meta_.fields.discountAmount.type=String,s._meta_.fields.exchanged={},s._meta_.fields.exchanged.type=Boolean,s._meta_.fields.exchangedAmount={},s._meta_.fields.exchangedAmount.type=String,s._meta_.fields.modifications={},s._meta_.fields.modifications.type=Array,s._meta_.fields.modifications.elementType=o,s._meta_.fields.refunded={},s._meta_.fields.refunded.type=Boolean,s._meta_.fields.refundedAmount={},s._meta_.fields.refundedAmount.type=String,s._meta_.fields.percent={},s._meta_.fields.percent.type=String,t.exports=s},82922:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,t.exports=e},2565:(t,e,i)=>{var n=i(6190),o=i(16572),s=i(6062),r=function(){this._class_=r,this.id=void 0,this.currency=void 0,this.employee=void 0,this.subtotal=void 0,this.tax=void 0,this.total=void 0,this.title=void 0,this.note=void 0,this.isVat=void 0,this.serviceChargeName=void 0,this.serviceChargeAmount=void 0,this.discounts=void 0,this.lineItems=void 0,this.amountRemaining=void 0,this.payments=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setCurrency=function(t){this.currency=t},r.prototype.getCurrency=function(){return this.currency},r.prototype.setEmployee=function(t){this.employee=t},r.prototype.getEmployee=function(){return this.employee},r.prototype.setSubtotal=function(t){this.subtotal=t},r.prototype.getSubtotal=function(){return this.subtotal},r.prototype.setTax=function(t){this.tax=t},r.prototype.getTax=function(){return this.tax},r.prototype.setTotal=function(t){this.total=t},r.prototype.getTotal=function(){return this.total},r.prototype.setTitle=function(t){this.title=t},r.prototype.getTitle=function(){return this.title},r.prototype.setNote=function(t){this.note=t},r.prototype.getNote=function(){return this.note},r.prototype.setIsVat=function(t){this.isVat=t},r.prototype.getIsVat=function(){return this.isVat},r.prototype.setServiceChargeName=function(t){this.serviceChargeName=t},r.prototype.getServiceChargeName=function(){return this.serviceChargeName},r.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},r.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},r.prototype.setDiscounts=function(t){this.discounts=t},r.prototype.getDiscounts=function(){return this.discounts},r.prototype.setLineItems=function(t){this.lineItems=t},r.prototype.getLineItems=function(){return this.lineItems},r.prototype.setAmountRemaining=function(t){this.amountRemaining=t},r.prototype.getAmountRemaining=function(){return this.amountRemaining},r.prototype.setPayments=function(t){this.payments=t},r.prototype.getPayments=function(){return this.payments},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.currency={},r._meta_.fields.currency.type=String,r._meta_.fields.employee={},r._meta_.fields.employee.type=String,r._meta_.fields.subtotal={},r._meta_.fields.subtotal.type=String,r._meta_.fields.tax={},r._meta_.fields.tax.type=String,r._meta_.fields.total={},r._meta_.fields.total.type=String,r._meta_.fields.title={},r._meta_.fields.title.type=String,r._meta_.fields.note={},r._meta_.fields.note.type=String,r._meta_.fields.isVat={},r._meta_.fields.isVat.type=Boolean,r._meta_.fields.serviceChargeName={},r._meta_.fields.serviceChargeName.type=String,r._meta_.fields.serviceChargeAmount={},r._meta_.fields.serviceChargeAmount.type=String,r._meta_.fields.discounts={},r._meta_.fields.discounts.type=Array,r._meta_.fields.discounts.elementType=o,r._meta_.fields.lineItems={},r._meta_.fields.lineItems.type=Array,r._meta_.fields.lineItems.elementType=s,r._meta_.fields.amountRemaining={},r._meta_.fields.amountRemaining.type=String,r._meta_.fields.payments={},r._meta_.fields.payments.type=Array,r._meta_.fields.payments.elementType=n,t.exports=r},6190:t=>{var e=function(){this._class_=e,this.id=void 0,this.label=void 0,this.amount=void 0,this.tipAmount=void 0,this.taxAmount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLabel=function(t){this.label=t},e.prototype.getLabel=function(){return this.label},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setTipAmount=function(t){this.tipAmount=t},e.prototype.getTipAmount=function(){return this.tipAmount},e.prototype.setTaxAmount=function(t){this.taxAmount=t},e.prototype.getTaxAmount=function(){return this.taxAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.label={},e._meta_.fields.label.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,e._meta_.fields.tipAmount={},e._meta_.fields.tipAmount.type=String,e._meta_.fields.taxAmount={},e._meta_.fields.taxAmount.type=Number,t.exports=e},49346:t=>{var e=function(){this._class_=e,this.id=void 0,this.orderId=void 0,this.delay=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setDelay=function(t){this.delay=t},e.prototype.getDelay=function(){return this.delay},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.delay={},e._meta_.fields.delay.type=Number,t.exports=e},46335:t=>{t.exports={ALL:"ALL",BUSINESS:"BUSINESS",CUSTOM:"CUSTOM"}},9222:(t,e,i)=>{var n=i(62362),o=i(73004),s=i(62886),r=i(4248),a=i(4448),l=i(37471),d=function(){this._class_=d,this.id=void 0,this.item=void 0,this.name=void 0,this.alternateName=void 0,this.price=void 0,this.priceWithModifiers=void 0,this.priceWithModifiersAndItemAndOrderDiscounts=void 0,this.unitQty=void 0,this.unitName=void 0,this.itemCode=void 0,this.note=void 0,this.printed=!1,this.exchangedLineItem=void 0,this.binName=void 0,this.userData=void 0,this.createdTime=void 0,this.orderClientCreatedTime=void 0,this.discounts=void 0,this.orderLevelDiscounts=void 0,this.discountAmount=void 0,this.orderLevelDiscountAmount=void 0,this.exchanged=!1,this.modifications=void 0,this.refunded=!1,this.refund=void 0,this.isRevenue=!1,this.taxRates=void 0,this.payments=void 0,this.revenueAmount=void 0,this.quantitySold=void 0,this.printGroup=void 0};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setItem=function(t){this.item=t},d.prototype.getItem=function(){return this.item},d.prototype.setName=function(t){this.name=t},d.prototype.getName=function(){return this.name},d.prototype.setAlternateName=function(t){this.alternateName=t},d.prototype.getAlternateName=function(){return this.alternateName},d.prototype.setPrice=function(t){this.price=t},d.prototype.getPrice=function(){return this.price},d.prototype.setPriceWithModifiers=function(t){this.priceWithModifiers=t},d.prototype.getPriceWithModifiers=function(){return this.priceWithModifiers},d.prototype.setPriceWithModifiersAndItemAndOrderDiscounts=function(t){this.priceWithModifiersAndItemAndOrderDiscounts=t},d.prototype.getPriceWithModifiersAndItemAndOrderDiscounts=function(){return this.priceWithModifiersAndItemAndOrderDiscounts},d.prototype.setUnitQty=function(t){this.unitQty=t},d.prototype.getUnitQty=function(){return this.unitQty},d.prototype.setUnitName=function(t){this.unitName=t},d.prototype.getUnitName=function(){return this.unitName},d.prototype.setItemCode=function(t){this.itemCode=t},d.prototype.getItemCode=function(){return this.itemCode},d.prototype.setNote=function(t){this.note=t},d.prototype.getNote=function(){return this.note},d.prototype.setPrinted=function(t){this.printed=t},d.prototype.getPrinted=function(){return this.printed},d.prototype.setExchangedLineItem=function(t){this.exchangedLineItem=t},d.prototype.getExchangedLineItem=function(){return this.exchangedLineItem},d.prototype.setBinName=function(t){this.binName=t},d.prototype.getBinName=function(){return this.binName},d.prototype.setUserData=function(t){this.userData=t},d.prototype.getUserData=function(){return this.userData},d.prototype.setCreatedTime=function(t){this.createdTime=t},d.prototype.getCreatedTime=function(){return this.createdTime},d.prototype.setOrderClientCreatedTime=function(t){this.orderClientCreatedTime=t},d.prototype.getOrderClientCreatedTime=function(){return this.orderClientCreatedTime},d.prototype.setDiscounts=function(t){this.discounts=t},d.prototype.getDiscounts=function(){return this.discounts},d.prototype.setOrderLevelDiscounts=function(t){this.orderLevelDiscounts=t},d.prototype.getOrderLevelDiscounts=function(){return this.orderLevelDiscounts},d.prototype.setDiscountAmount=function(t){this.discountAmount=t},d.prototype.getDiscountAmount=function(){return this.discountAmount},d.prototype.setOrderLevelDiscountAmount=function(t){this.orderLevelDiscountAmount=t},d.prototype.getOrderLevelDiscountAmount=function(){return this.orderLevelDiscountAmount},d.prototype.setExchanged=function(t){this.exchanged=t},d.prototype.getExchanged=function(){return this.exchanged},d.prototype.setModifications=function(t){this.modifications=t},d.prototype.getModifications=function(){return this.modifications},d.prototype.setRefunded=function(t){this.refunded=t},d.prototype.getRefunded=function(){return this.refunded},d.prototype.setRefund=function(t){this.refund=t},d.prototype.getRefund=function(){return this.refund},d.prototype.setIsRevenue=function(t){this.isRevenue=t},d.prototype.getIsRevenue=function(){return this.isRevenue},d.prototype.setTaxRates=function(t){this.taxRates=t},d.prototype.getTaxRates=function(){return this.taxRates},d.prototype.setPayments=function(t){this.payments=t},d.prototype.getPayments=function(){return this.payments},d.prototype.setRevenueAmount=function(t){this.revenueAmount=t},d.prototype.getRevenueAmount=function(){return this.revenueAmount},d.prototype.setQuantitySold=function(t){this.quantitySold=t},d.prototype.getQuantitySold=function(){return this.quantitySold},d.prototype.setPrintGroup=function(t){this.printGroup=t},d.prototype.getPrintGroup=function(){return this.printGroup},d.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},d.prototype.toString=function(){return JSON.stringify(this)},d._meta_={fields:{}},d._meta_._class_=d,d._meta_.fields.id={},d._meta_.fields.id.type=String,d._meta_.fields.item={},d._meta_.fields.item.type=a,d._meta_.fields.name={},d._meta_.fields.name.type=String,d._meta_.fields.alternateName={},d._meta_.fields.alternateName.type=String,d._meta_.fields.price={},d._meta_.fields.price.type=Number,d._meta_.fields.priceWithModifiers={},d._meta_.fields.priceWithModifiers.type=Number,d._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts={},d._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts.type=Number,d._meta_.fields.unitQty={},d._meta_.fields.unitQty.type=Number,d._meta_.fields.unitName={},d._meta_.fields.unitName.type=String,d._meta_.fields.itemCode={},d._meta_.fields.itemCode.type=String,d._meta_.fields.note={},d._meta_.fields.note.type=String,d._meta_.fields.printed={},d._meta_.fields.printed.type=Boolean,d._meta_.fields.exchangedLineItem={},d._meta_.fields.exchangedLineItem.type=a,d._meta_.fields.binName={},d._meta_.fields.binName.type=String,d._meta_.fields.userData={},d._meta_.fields.userData.type=String,d._meta_.fields.createdTime={},d._meta_.fields.createdTime.type=Number,d._meta_.fields.orderClientCreatedTime={},d._meta_.fields.orderClientCreatedTime.type=Number,d._meta_.fields.discounts={},d._meta_.fields.discounts.type=Array,d._meta_.fields.discounts.elementType=r,d._meta_.fields.orderLevelDiscounts={},d._meta_.fields.orderLevelDiscounts.type=Array,d._meta_.fields.orderLevelDiscounts.elementType=r,d._meta_.fields.discountAmount={},d._meta_.fields.discountAmount.type=Number,d._meta_.fields.orderLevelDiscountAmount={},d._meta_.fields.orderLevelDiscountAmount.type=Number,d._meta_.fields.exchanged={},d._meta_.fields.exchanged.type=Boolean,d._meta_.fields.modifications={},d._meta_.fields.modifications.type=Array,d._meta_.fields.modifications.elementType=n,d._meta_.fields.refunded={},d._meta_.fields.refunded.type=Boolean,d._meta_.fields.refund={},d._meta_.fields.refund.type=l,d._meta_.fields.isRevenue={},d._meta_.fields.isRevenue.type=Boolean,d._meta_.fields.taxRates={},d._meta_.fields.taxRates.type=Array,d._meta_.fields.taxRates.elementType=o,d._meta_.fields.payments={},d._meta_.fields.payments.type=Array,d._meta_.fields.payments.elementType=s,d._meta_.fields.revenueAmount={},d._meta_.fields.revenueAmount.type=Number,d._meta_.fields.quantitySold={},d._meta_.fields.quantitySold.type=Number,d._meta_.fields.printGroup={},d._meta_.fields.printGroup.type=a,t.exports=d},16018:(t,e,i)=>{var n=i(73004),o=function(){this._class_=o,this.rates=void 0};o.prototype.setRates=function(t){this.rates=t},o.prototype.getRates=function(){return this.rates},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.rates={},o._meta_.fields.rates.type=Object,o._meta_.fields.rates.valueType=n,t.exports=o},62362:(t,e,i)=>{var n=i(55683),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.amount=void 0,this.modifier=void 0,this.quantitySold=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAlternateName=function(t){this.alternateName=t},o.prototype.getAlternateName=function(){return this.alternateName},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setModifier=function(t){this.modifier=t},o.prototype.getModifier=function(){return this.modifier},o.prototype.setQuantitySold=function(t){this.quantitySold=t},o.prototype.getQuantitySold=function(){return this.quantitySold},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.alternateName={},o._meta_.fields.alternateName.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.modifier={},o._meta_.fields.modifier.type=n,o._meta_.fields.quantitySold={},o._meta_.fields.quantitySold.type=Number,t.exports=o},14326:(t,e,i)=>{var n=i(93657),o=i(4248),s=i(55623),r=i(51669),a=i(37479),l=i(37471),d=i(6639),u=i(26866),p=i(44155),_=i(16765),c=i(9222),m=i(85471),f=i(82794),h=i(4448),y=function(){this._class_=y,this.id=void 0,this.currency=void 0,this.customerId=void 0,this.customerUuid=void 0,this.orderTypeId=void 0,this.customers=void 0,this.employee=void 0,this.total=void 0,this.externalReferenceId=void 0,this.unpaidBalance=void 0,this.paymentState=void 0,this.title=void 0,this.note=void 0,this.orderType=void 0,this.taxRemoved=!1,this.isVat=void 0,this.state=void 0,this.manualTransaction=void 0,this.groupLineItems=void 0,this.testMode=void 0,this.payType=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.modifiedTime=void 0,this.deletedTimestamp=void 0,this.serviceCharge=void 0,this.discounts=void 0,this.lineItems=void 0,this.payments=void 0,this.refunds=void 0,this.credits=void 0,this.voids=void 0,this.preAuths=void 0,this.device=void 0,this.authorizations=void 0,this.merchant=void 0,this.onlineOrder=void 0,this.printGroups=void 0};y.prototype.setId=function(t){this.id=t},y.prototype.getId=function(){return this.id},y.prototype.setCurrency=function(t){this.currency=t},y.prototype.getCurrency=function(){return this.currency},y.prototype.setCustomerId=function(t){this.customerId=t},y.prototype.getCustomerId=function(){return this.customerId},y.prototype.setCustomerUuid=function(t){this.customerUuid=t},y.prototype.getCustomerUuid=function(){return this.customerUuid},y.prototype.setOrderTypeId=function(t){this.orderTypeId=t},y.prototype.getOrderTypeId=function(){return this.orderTypeId},y.prototype.setCustomers=function(t){this.customers=t},y.prototype.getCustomers=function(){return this.customers},y.prototype.setEmployee=function(t){this.employee=t},y.prototype.getEmployee=function(){return this.employee},y.prototype.setTotal=function(t){this.total=t},y.prototype.getTotal=function(){return this.total},y.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},y.prototype.getExternalReferenceId=function(){return this.externalReferenceId},y.prototype.setUnpaidBalance=function(t){this.unpaidBalance=t},y.prototype.getUnpaidBalance=function(){return this.unpaidBalance},y.prototype.setPaymentState=function(t){this.paymentState=t},y.prototype.getPaymentState=function(){return this.paymentState},y.prototype.setTitle=function(t){this.title=t},y.prototype.getTitle=function(){return this.title},y.prototype.setNote=function(t){this.note=t},y.prototype.getNote=function(){return this.note},y.prototype.setOrderType=function(t){this.orderType=t},y.prototype.getOrderType=function(){return this.orderType},y.prototype.setTaxRemoved=function(t){this.taxRemoved=t},y.prototype.getTaxRemoved=function(){return this.taxRemoved},y.prototype.setIsVat=function(t){this.isVat=t},y.prototype.getIsVat=function(){return this.isVat},y.prototype.setState=function(t){this.state=t},y.prototype.getState=function(){return this.state},y.prototype.setManualTransaction=function(t){this.manualTransaction=t},y.prototype.getManualTransaction=function(){return this.manualTransaction},y.prototype.setGroupLineItems=function(t){this.groupLineItems=t},y.prototype.getGroupLineItems=function(){return this.groupLineItems},y.prototype.setTestMode=function(t){this.testMode=t},y.prototype.getTestMode=function(){return this.testMode},y.prototype.setPayType=function(t){this.payType=t},y.prototype.getPayType=function(){return this.payType},y.prototype.setCreatedTime=function(t){this.createdTime=t},y.prototype.getCreatedTime=function(){return this.createdTime},y.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},y.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},y.prototype.setModifiedTime=function(t){this.modifiedTime=t},y.prototype.getModifiedTime=function(){return this.modifiedTime},y.prototype.setDeletedTimestamp=function(t){this.deletedTimestamp=t},y.prototype.getDeletedTimestamp=function(){return this.deletedTimestamp},y.prototype.setServiceCharge=function(t){this.serviceCharge=t},y.prototype.getServiceCharge=function(){return this.serviceCharge},y.prototype.setDiscounts=function(t){this.discounts=t},y.prototype.getDiscounts=function(){return this.discounts},y.prototype.setLineItems=function(t){this.lineItems=t},y.prototype.getLineItems=function(){return this.lineItems},y.prototype.setPayments=function(t){this.payments=t},y.prototype.getPayments=function(){return this.payments},y.prototype.setRefunds=function(t){this.refunds=t},y.prototype.getRefunds=function(){return this.refunds},y.prototype.setCredits=function(t){this.credits=t},y.prototype.getCredits=function(){return this.credits},y.prototype.setVoids=function(t){this.voids=t},y.prototype.getVoids=function(){return this.voids},y.prototype.setPreAuths=function(t){this.preAuths=t},y.prototype.getPreAuths=function(){return this.preAuths},y.prototype.setDevice=function(t){this.device=t},y.prototype.getDevice=function(){return this.device},y.prototype.setAuthorizations=function(t){this.authorizations=t},y.prototype.getAuthorizations=function(){return this.authorizations},y.prototype.setMerchant=function(t){this.merchant=t},y.prototype.getMerchant=function(){return this.merchant},y.prototype.setOnlineOrder=function(t){this.onlineOrder=t},y.prototype.getOnlineOrder=function(){return this.onlineOrder},y.prototype.setPrintGroups=function(t){this.printGroups=t},y.prototype.getPrintGroups=function(){return this.printGroups},y.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},y.prototype.toString=function(){return JSON.stringify(this)},y._meta_={fields:{}},y._meta_._class_=y,y._meta_.fields.id={},y._meta_.fields.id.type=String,y._meta_.fields.currency={},y._meta_.fields.currency.type=String,y._meta_.fields.customerId={},y._meta_.fields.customerId.type=Number,y._meta_.fields.customerUuid={},y._meta_.fields.customerUuid.type=String,y._meta_.fields.orderTypeId={},y._meta_.fields.orderTypeId.type=Number,y._meta_.fields.customers={},y._meta_.fields.customers.type=Array,y._meta_.fields.customers.elementType=u,y._meta_.fields.employee={},y._meta_.fields.employee.type=h,y._meta_.fields.total={},y._meta_.fields.total.type=Number,y._meta_.fields.externalReferenceId={},y._meta_.fields.externalReferenceId.type=String,y._meta_.fields.unpaidBalance={},y._meta_.fields.unpaidBalance.type=Number,y._meta_.fields.paymentState={},y._meta_.fields.paymentState.type=r,y._meta_.fields.title={},y._meta_.fields.title.type=String,y._meta_.fields.note={},y._meta_.fields.note.type=String,y._meta_.fields.orderType={},y._meta_.fields.orderType.type=m,y._meta_.fields.taxRemoved={},y._meta_.fields.taxRemoved.type=Boolean,y._meta_.fields.isVat={},y._meta_.fields.isVat.type=Boolean,y._meta_.fields.state={},y._meta_.fields.state.type=String,y._meta_.fields.manualTransaction={},y._meta_.fields.manualTransaction.type=Boolean,y._meta_.fields.groupLineItems={},y._meta_.fields.groupLineItems.type=Boolean,y._meta_.fields.testMode={},y._meta_.fields.testMode.type=Boolean,y._meta_.fields.payType={},y._meta_.fields.payType.type=_,y._meta_.fields.createdTime={},y._meta_.fields.createdTime.type=Number,y._meta_.fields.clientCreatedTime={},y._meta_.fields.clientCreatedTime.type=Number,y._meta_.fields.modifiedTime={},y._meta_.fields.modifiedTime.type=Number,y._meta_.fields.deletedTimestamp={},y._meta_.fields.deletedTimestamp.type=Number,y._meta_.fields.serviceCharge={},y._meta_.fields.serviceCharge.type=a,y._meta_.fields.discounts={},y._meta_.fields.discounts.type=Array,y._meta_.fields.discounts.elementType=o,y._meta_.fields.lineItems={},y._meta_.fields.lineItems.type=Array,y._meta_.fields.lineItems.elementType=c,y._meta_.fields.payments={},y._meta_.fields.payments.type=Array,y._meta_.fields.payments.elementType=f,y._meta_.fields.refunds={},y._meta_.fields.refunds.type=Array,y._meta_.fields.refunds.elementType=l,y._meta_.fields.credits={},y._meta_.fields.credits.type=Array,y._meta_.fields.credits.elementType=d,y._meta_.fields.voids={},y._meta_.fields.voids.type=Array,y._meta_.fields.voids.elementType=f,y._meta_.fields.preAuths={},y._meta_.fields.preAuths.type=Array,y._meta_.fields.preAuths.elementType=f,y._meta_.fields.device={},y._meta_.fields.device.type=h,y._meta_.fields.authorizations={},y._meta_.fields.authorizations.type=Array,y._meta_.fields.authorizations.elementType=n,y._meta_.fields.merchant={},y._meta_.fields.merchant.type=h,y._meta_.fields.onlineOrder={},y._meta_.fields.onlineOrder.type=s,y._meta_.fields.printGroups={},y._meta_.fields.printGroups.type=Array,y._meta_.fields.printGroups.elementType=p,t.exports=y},59656:t=>{var e=function(){this._class_=e,this.id=void 0,this.hasCredit=!1,this.hasCreditCardTransaction=!1,this.hasCustomer=!1,this.hasCustomerEmailAddress=!1,this.hasCustomerAddress=!1,this.hasCustomerPhone=!1,this.hasDiscount=!1,this.hasLineItemDiscount=!1,this.hasServiceCharge=!1,this.hasRefund=!1,this.hasVoid=!1};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setHasCredit=function(t){this.hasCredit=t},e.prototype.getHasCredit=function(){return this.hasCredit},e.prototype.setHasCreditCardTransaction=function(t){this.hasCreditCardTransaction=t},e.prototype.getHasCreditCardTransaction=function(){return this.hasCreditCardTransaction},e.prototype.setHasCustomer=function(t){this.hasCustomer=t},e.prototype.getHasCustomer=function(){return this.hasCustomer},e.prototype.setHasCustomerEmailAddress=function(t){this.hasCustomerEmailAddress=t},e.prototype.getHasCustomerEmailAddress=function(){return this.hasCustomerEmailAddress},e.prototype.setHasCustomerAddress=function(t){this.hasCustomerAddress=t},e.prototype.getHasCustomerAddress=function(){return this.hasCustomerAddress},e.prototype.setHasCustomerPhone=function(t){this.hasCustomerPhone=t},e.prototype.getHasCustomerPhone=function(){return this.hasCustomerPhone},e.prototype.setHasDiscount=function(t){this.hasDiscount=t},e.prototype.getHasDiscount=function(){return this.hasDiscount},e.prototype.setHasLineItemDiscount=function(t){this.hasLineItemDiscount=t},e.prototype.getHasLineItemDiscount=function(){return this.hasLineItemDiscount},e.prototype.setHasServiceCharge=function(t){this.hasServiceCharge=t},e.prototype.getHasServiceCharge=function(){return this.hasServiceCharge},e.prototype.setHasRefund=function(t){this.hasRefund=t},e.prototype.getHasRefund=function(){return this.hasRefund},e.prototype.setHasVoid=function(t){this.hasVoid=t},e.prototype.getHasVoid=function(){return this.hasVoid},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.hasCredit={},e._meta_.fields.hasCredit.type=Boolean,e._meta_.fields.hasCreditCardTransaction={},e._meta_.fields.hasCreditCardTransaction.type=Boolean,e._meta_.fields.hasCustomer={},e._meta_.fields.hasCustomer.type=Boolean,e._meta_.fields.hasCustomerEmailAddress={},e._meta_.fields.hasCustomerEmailAddress.type=Boolean,e._meta_.fields.hasCustomerAddress={},e._meta_.fields.hasCustomerAddress.type=Boolean,e._meta_.fields.hasCustomerPhone={},e._meta_.fields.hasCustomerPhone.type=Boolean,e._meta_.fields.hasDiscount={},e._meta_.fields.hasDiscount.type=Boolean,e._meta_.fields.hasLineItemDiscount={},e._meta_.fields.hasLineItemDiscount.type=Boolean,e._meta_.fields.hasServiceCharge={},e._meta_.fields.hasServiceCharge.type=Boolean,e._meta_.fields.hasRefund={},e._meta_.fields.hasRefund.type=Boolean,e._meta_.fields.hasVoid={},e._meta_.fields.hasVoid.type=Boolean,t.exports=e},61147:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,t.exports=e},85471:(t,e,i)=>{var n=i(46335),o=i(20886),s=i(4448),r=i(91961),a=function(){this._class_=a,this.id=void 0,this.labelKey=void 0,this.label=void 0,this.taxable=!1,this.isDefault=!1,this.filterCategories=!1,this.isHidden=!1,this.fee=void 0,this.minOrderAmount=void 0,this.maxOrderAmount=void 0,this.maxRadius=void 0,this.avgOrderTime=void 0,this.hoursAvailable=void 0,this.customerIdMethod=void 0,this.isDeleted=!1,this.systemOrderTypeId=void 0,this.systemOrderTypeDatabaseId=void 0,this.hours=void 0,this.categories=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setLabelKey=function(t){this.labelKey=t},a.prototype.getLabelKey=function(){return this.labelKey},a.prototype.setLabel=function(t){this.label=t},a.prototype.getLabel=function(){return this.label},a.prototype.setTaxable=function(t){this.taxable=t},a.prototype.getTaxable=function(){return this.taxable},a.prototype.setIsDefault=function(t){this.isDefault=t},a.prototype.getIsDefault=function(){return this.isDefault},a.prototype.setFilterCategories=function(t){this.filterCategories=t},a.prototype.getFilterCategories=function(){return this.filterCategories},a.prototype.setIsHidden=function(t){this.isHidden=t},a.prototype.getIsHidden=function(){return this.isHidden},a.prototype.setFee=function(t){this.fee=t},a.prototype.getFee=function(){return this.fee},a.prototype.setMinOrderAmount=function(t){this.minOrderAmount=t},a.prototype.getMinOrderAmount=function(){return this.minOrderAmount},a.prototype.setMaxOrderAmount=function(t){this.maxOrderAmount=t},a.prototype.getMaxOrderAmount=function(){return this.maxOrderAmount},a.prototype.setMaxRadius=function(t){this.maxRadius=t},a.prototype.getMaxRadius=function(){return this.maxRadius},a.prototype.setAvgOrderTime=function(t){this.avgOrderTime=t},a.prototype.getAvgOrderTime=function(){return this.avgOrderTime},a.prototype.setHoursAvailable=function(t){this.hoursAvailable=t},a.prototype.getHoursAvailable=function(){return this.hoursAvailable},a.prototype.setCustomerIdMethod=function(t){this.customerIdMethod=t},a.prototype.getCustomerIdMethod=function(){return this.customerIdMethod},a.prototype.setIsDeleted=function(t){this.isDeleted=t},a.prototype.getIsDeleted=function(){return this.isDeleted},a.prototype.setSystemOrderTypeId=function(t){this.systemOrderTypeId=t},a.prototype.getSystemOrderTypeId=function(){return this.systemOrderTypeId},a.prototype.setSystemOrderTypeDatabaseId=function(t){this.systemOrderTypeDatabaseId=t},a.prototype.getSystemOrderTypeDatabaseId=function(){return this.systemOrderTypeDatabaseId},a.prototype.setHours=function(t){this.hours=t},a.prototype.getHours=function(){return this.hours},a.prototype.setCategories=function(t){this.categories=t},a.prototype.getCategories=function(){return this.categories},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.labelKey={},a._meta_.fields.labelKey.type=String,a._meta_.fields.label={},a._meta_.fields.label.type=String,a._meta_.fields.taxable={},a._meta_.fields.taxable.type=Boolean,a._meta_.fields.isDefault={},a._meta_.fields.isDefault.type=Boolean,a._meta_.fields.filterCategories={},a._meta_.fields.filterCategories.type=Boolean,a._meta_.fields.isHidden={},a._meta_.fields.isHidden.type=Boolean,a._meta_.fields.fee={},a._meta_.fields.fee.type=Number,a._meta_.fields.minOrderAmount={},a._meta_.fields.minOrderAmount.type=Number,a._meta_.fields.maxOrderAmount={},a._meta_.fields.maxOrderAmount.type=Number,a._meta_.fields.maxRadius={},a._meta_.fields.maxRadius.type=Number,a._meta_.fields.avgOrderTime={},a._meta_.fields.avgOrderTime.type=Number,a._meta_.fields.hoursAvailable={},a._meta_.fields.hoursAvailable.type=n,a._meta_.fields.customerIdMethod={},a._meta_.fields.customerIdMethod.type=r,a._meta_.fields.isDeleted={},a._meta_.fields.isDeleted.type=Boolean,a._meta_.fields.systemOrderTypeId={},a._meta_.fields.systemOrderTypeId.type=String,a._meta_.fields.systemOrderTypeDatabaseId={},a._meta_.fields.systemOrderTypeDatabaseId.type=Number,a._meta_.fields.hours={},a._meta_.fields.hours.type=o,a._meta_.fields.categories={},a._meta_.fields.categories.type=Array,a._meta_.fields.categories.elementType=s,t.exports=a},90195:(t,e,i)=>{var n=i(85471),o=i(74155),s=function(){this._class_=s,this.orderType=void 0,this.category=void 0};s.prototype.setOrderType=function(t){this.orderType=t},s.prototype.getOrderType=function(){return this.orderType},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.orderType={},s._meta_.fields.orderType.type=n,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},38338:t=>{var e=function(){this._class_=e,this.disableCustomerUpdate=void 0};e.prototype.setDisableCustomerUpdate=function(t){this.disableCustomerUpdate=t},e.prototype.getDisableCustomerUpdate=function(){return this.disableCustomerUpdate},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.disableCustomerUpdate={},e._meta_.fields.disableCustomerUpdate.type=Boolean,t.exports=e},16765:t=>{t.exports={SPLIT_GUEST:"SPLIT_GUEST",SPLIT_ITEM:"SPLIT_ITEM",SPLIT_CUSTOM:"SPLIT_CUSTOM",FULL:"FULL"}},51669:t=>{t.exports={OPEN:"OPEN",PAID:"PAID",REFUNDED:"REFUNDED",CREDITED:"CREDITED",PARTIALLY_PAID:"PARTIALLY_PAID",PARTIALLY_REFUNDED:"PARTIALLY_REFUNDED"}},44155:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.sortOrder=void 0,this.fired=!1};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setSortOrder=function(t){this.sortOrder=t},e.prototype.getSortOrder=function(){return this.sortOrder},e.prototype.setFired=function(t){this.fired=t},e.prototype.getFired=function(){return this.fired},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.sortOrder={},e._meta_.fields.sortOrder.type=Number,e._meta_.fields.fired={},e._meta_.fields.fired.type=Boolean,t.exports=e},41671:(t,e,i)=>{var n=i(92842),o=i(4448),s=i(34454),r=function(){this._class_=r,this.id=void 0,this.merchantRef=void 0,this.orderRef=void 0,this.deviceRef=void 0,this.category=void 0,this.state=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setMerchantRef=function(t){this.merchantRef=t},r.prototype.getMerchantRef=function(){return this.merchantRef},r.prototype.setOrderRef=function(t){this.orderRef=t},r.prototype.getOrderRef=function(){return this.orderRef},r.prototype.setDeviceRef=function(t){this.deviceRef=t},r.prototype.getDeviceRef=function(){return this.deviceRef},r.prototype.setCategory=function(t){this.category=t},r.prototype.getCategory=function(){return this.category},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setModifiedTime=function(t){this.modifiedTime=t},r.prototype.getModifiedTime=function(){return this.modifiedTime},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.merchantRef={},r._meta_.fields.merchantRef.type=o,r._meta_.fields.orderRef={},r._meta_.fields.orderRef.type=o,r._meta_.fields.deviceRef={},r._meta_.fields.deviceRef.type=o,r._meta_.fields.category={},r._meta_.fields.category.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.modifiedTime={},r._meta_.fields.modifiedTime.type=Number,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,t.exports=r},92842:t=>{t.exports={CREATED:"CREATED",FAILED:"FAILED",DONE:"DONE"}},76699:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setRefund=function(t){this.refund=t},o.prototype.getRefund=function(){return this.refund},o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setEmailAddresses=function(t){this.emailAddresses=t},o.prototype.getEmailAddresses=function(){return this.emailAddresses},o.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},o.prototype.getPhoneNumbers=function(){return this.phoneNumbers},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.refund={},o._meta_.fields.refund.type=n,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.emailAddresses={},o._meta_.fields.emailAddresses.type=Array,o._meta_.fields.phoneNumbers={},o._meta_.fields.phoneNumbers.type=Array,t.exports=o},95955:t=>{var e=function(){this._class_=e,this.id=void 0,this.labelKey=void 0,this.isQsr=void 0,this.isFsr=void 0,this.isRetail=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLabelKey=function(t){this.labelKey=t},e.prototype.getLabelKey=function(){return this.labelKey},e.prototype.setIsQsr=function(t){this.isQsr=t},e.prototype.getIsQsr=function(){return this.isQsr},e.prototype.setIsFsr=function(t){this.isFsr=t},e.prototype.getIsFsr=function(){return this.isFsr},e.prototype.setIsRetail=function(t){this.isRetail=t},e.prototype.getIsRetail=function(){return this.isRetail},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.labelKey={},e._meta_.fields.labelKey.type=String,e._meta_.fields.isQsr={},e._meta_.fields.isQsr.type=Boolean,e._meta_.fields.isFsr={},e._meta_.fields.isFsr.type=Boolean,e._meta_.fields.isRetail={},e._meta_.fields.isRetail.type=Boolean,t.exports=e},3306:t=>{t.exports={USER_CANCEL:"USER_CANCEL",TRANSPORT_ERROR:"TRANSPORT_ERROR",REJECT_SIGNATURE:"REJECT_SIGNATURE",REJECT_PARTIAL_AUTH:"REJECT_PARTIAL_AUTH",NOT_APPROVED:"NOT_APPROVED",FAILED:"FAILED",AUTH_CLOSED_NEW_CARD:"AUTH_CLOSED_NEW_CARD",DEVELOPER_PAY_PARTIAL_AUTH:"DEVELOPER_PAY_PARTIAL_AUTH",REJECT_DUPLICATE:"REJECT_DUPLICATE",REJECT_OFFLINE:"REJECT_OFFLINE",GIFTCARD_LOAD_FAILED:"GIFTCARD_LOAD_FAILED",USER_GIFTCARD_LOAD_CANCEL:"USER_GIFTCARD_LOAD_CANCEL",DEVELOPER_PAY_TIP_ADJUST_FAILED:"DEVELOPER_PAY_TIP_ADJUST_FAILED",USER_CUSTOMER_CANCEL:"USER_CUSTOMER_CANCEL",FRAUD:"FRAUD"}},71250:(t,e,i)=>{var n=i(70541),o=i(9222),s=i(4448),r=function(){this._class_=r,this.lineItem=void 0,this.merchant=void 0,this.reason=void 0,this.removedBy=void 0,this.createdBy=void 0,this.deletedTime=void 0,this.environment=void 0,this.clientEventType=void 0};r.prototype.setLineItem=function(t){this.lineItem=t},r.prototype.getLineItem=function(){return this.lineItem},r.prototype.setMerchant=function(t){this.merchant=t},r.prototype.getMerchant=function(){return this.merchant},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setRemovedBy=function(t){this.removedBy=t},r.prototype.getRemovedBy=function(){return this.removedBy},r.prototype.setCreatedBy=function(t){this.createdBy=t},r.prototype.getCreatedBy=function(){return this.createdBy},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.setEnvironment=function(t){this.environment=t},r.prototype.getEnvironment=function(){return this.environment},r.prototype.setClientEventType=function(t){this.clientEventType=t},r.prototype.getClientEventType=function(){return this.clientEventType},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.lineItem={},r._meta_.fields.lineItem.type=o,r._meta_.fields.merchant={},r._meta_.fields.merchant.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.removedBy={},r._meta_.fields.removedBy.type=s,r._meta_.fields.createdBy={},r._meta_.fields.createdBy.type=s,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,r._meta_.fields.environment={},r._meta_.fields.environment.type=String,r._meta_.fields.clientEventType={},r._meta_.fields.clientEventType.type=n,t.exports=r},40402:(t,e,i)=>{function n(){}t.exports.order=n,n.operation={},n.ClientEventType=i(70541),n.CreateLineItemsRequest=i(85653),n.CustomerIdMethod=i(91961),n.Discount=i(4248),n.DisplayDiscount=i(16572),n.DisplayLineItem=i(6062),n.DisplayModification=i(82922),n.DisplayOrder=i(2565),n.DisplayPayment=i(6190),n.FireOrder=i(49346),n.HoursAvailable=i(46335),n.LineItem=i(9222),n.LineItemTaxRates=i(16018),n.Modification=i(62362),n.Order=i(14326),n.OrderExpansion=i(59656),n.OrderTaxRate=i(61147),n.OrderType=i(85471),n.OrderTypeCategory=i(90195),n.OverrideInfo=i(38338),n.PayType=i(16765),n.PaymentState=i(51669),n.PrintGroup=i(44155),n.PrintOrder=i(41671),n.PrintState=i(92842),n.SendReceiptRequest=i(76699),n.SystemOrderType=i(95955),n.VoidReason=i(3306),n.VoidedLineItem=i(71250),n.operation.DiscountsAddedOperation=i(78368),n.operation.DiscountsDeletedOperation=i(74066),n.operation.LineItemsAddedOperation=i(89361),n.operation.LineItemsDeletedOperation=i(79494),n.operation.OrderDeletedOperation=i(30087),t.exports=n},78368:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},74066:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},89361:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},79494:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},30087:t=>{var e=function(){this._class_=e,this.id=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},80321:t=>{t.exports={CREDIT:"CREDIT",DEBIT:"DEBIT",PREPAID:"PREPAID",PINLESS_DEBIT:"PINLESS_DEBIT",SIGNATURE_DEBIT:"SIGNATURE_DEBIT",EBT:"EBT",SNAP:"SNAP"}},89656:t=>{t.exports={TERMINAL_BUSY:"TERMINAL_BUSY",TERMINAL_UNAVAILABLE:"TERMINAL_UNAVAILABLE",TERMINAL_GENERAL:"TERMINAL_GENERAL"}},27416:t=>{t.exports={APPROVED_ONLINE:"APPROVED_ONLINE",DECLINED_ONLINE:"DECLINED_ONLINE",UNABLE_TO_GO_ONLINE:"UNABLE_TO_GO_ONLINE",REFERRAL_ONLINE:"REFERRAL_ONLINE",REFERRAL_OFFLINE:"REFERRAL_OFFLINE"}},27138:(t,e,i)=>{var n=i(4212),o=i(40271),s=i(56614),r=i(80321),a=function(){this._class_=a,this.track1=void 0,this.track2=void 0,this.track3=void 0,this.encrypted=void 0,this.maskedTrack1=void 0,this.maskedTrack2=void 0,this.maskedTrack3=void 0,this.uniqueToken=void 0,this.pan=void 0,this.firstName=void 0,this.lastName=void 0,this.countryCode=void 0,this.exp=void 0,this.streetAddress=void 0,this.zip=void 0,this.cvv=void 0,this.last4=void 0,this.first4=void 0,this.dukptSerial=void 0,this.swipeStatus=void 0,this.fingerprint=void 0,this.deviceSerial=void 0,this.manualEntered=void 0,this.async=void 0,this.isFallback=void 0,this.isAuth=void 0,this.isPrepaid=void 0,this.cardFunction=void 0,this.qrCode=void 0,this.cardType=void 0,this.entryType=void 0,this.transactionNo=void 0,this.cardholderName=void 0,this.plainCardData=void 0,this.transactionData=void 0};a.prototype.setTrack1=function(t){this.track1=t},a.prototype.getTrack1=function(){return this.track1},a.prototype.setTrack2=function(t){this.track2=t},a.prototype.getTrack2=function(){return this.track2},a.prototype.setTrack3=function(t){this.track3=t},a.prototype.getTrack3=function(){return this.track3},a.prototype.setEncrypted=function(t){this.encrypted=t},a.prototype.getEncrypted=function(){return this.encrypted},a.prototype.setMaskedTrack1=function(t){this.maskedTrack1=t},a.prototype.getMaskedTrack1=function(){return this.maskedTrack1},a.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},a.prototype.getMaskedTrack2=function(){return this.maskedTrack2},a.prototype.setMaskedTrack3=function(t){this.maskedTrack3=t},a.prototype.getMaskedTrack3=function(){return this.maskedTrack3},a.prototype.setUniqueToken=function(t){this.uniqueToken=t},a.prototype.getUniqueToken=function(){return this.uniqueToken},a.prototype.setPan=function(t){this.pan=t},a.prototype.getPan=function(){return this.pan},a.prototype.setFirstName=function(t){this.firstName=t},a.prototype.getFirstName=function(){return this.firstName},a.prototype.setLastName=function(t){this.lastName=t},a.prototype.getLastName=function(){return this.lastName},a.prototype.setCountryCode=function(t){this.countryCode=t},a.prototype.getCountryCode=function(){return this.countryCode},a.prototype.setExp=function(t){this.exp=t},a.prototype.getExp=function(){return this.exp},a.prototype.setStreetAddress=function(t){this.streetAddress=t},a.prototype.getStreetAddress=function(){return this.streetAddress},a.prototype.setZip=function(t){this.zip=t},a.prototype.getZip=function(){return this.zip},a.prototype.setCvv=function(t){this.cvv=t},a.prototype.getCvv=function(){return this.cvv},a.prototype.setLast4=function(t){this.last4=t},a.prototype.getLast4=function(){return this.last4},a.prototype.setFirst4=function(t){this.first4=t},a.prototype.getFirst4=function(){return this.first4},a.prototype.setDukptSerial=function(t){this.dukptSerial=t},a.prototype.getDukptSerial=function(){return this.dukptSerial},a.prototype.setSwipeStatus=function(t){this.swipeStatus=t},a.prototype.getSwipeStatus=function(){return this.swipeStatus},a.prototype.setFingerprint=function(t){this.fingerprint=t},a.prototype.getFingerprint=function(){return this.fingerprint},a.prototype.setDeviceSerial=function(t){this.deviceSerial=t},a.prototype.getDeviceSerial=function(){return this.deviceSerial},a.prototype.setManualEntered=function(t){this.manualEntered=t},a.prototype.getManualEntered=function(){return this.manualEntered},a.prototype.setAsync=function(t){this.async=t},a.prototype.getAsync=function(){return this.async},a.prototype.setIsFallback=function(t){this.isFallback=t},a.prototype.getIsFallback=function(){return this.isFallback},a.prototype.setIsAuth=function(t){this.isAuth=t},a.prototype.getIsAuth=function(){return this.isAuth},a.prototype.setIsPrepaid=function(t){this.isPrepaid=t},a.prototype.getIsPrepaid=function(){return this.isPrepaid},a.prototype.setCardFunction=function(t){this.cardFunction=t},a.prototype.getCardFunction=function(){return this.cardFunction},a.prototype.setQrCode=function(t){this.qrCode=t},a.prototype.getQrCode=function(){return this.qrCode},a.prototype.setCardType=function(t){this.cardType=t},a.prototype.getCardType=function(){return this.cardType},a.prototype.setEntryType=function(t){this.entryType=t},a.prototype.getEntryType=function(){return this.entryType},a.prototype.setTransactionNo=function(t){this.transactionNo=t},a.prototype.getTransactionNo=function(){return this.transactionNo},a.prototype.setCardholderName=function(t){this.cardholderName=t},a.prototype.getCardholderName=function(){return this.cardholderName},a.prototype.setPlainCardData=function(t){this.plainCardData=t},a.prototype.getPlainCardData=function(){return this.plainCardData},a.prototype.setTransactionData=function(t){this.transactionData=t},a.prototype.getTransactionData=function(){return this.transactionData},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.track1={},a._meta_.fields.track1.type=String,a._meta_.fields.track2={},a._meta_.fields.track2.type=String,a._meta_.fields.track3={},a._meta_.fields.track3.type=String,a._meta_.fields.encrypted={},a._meta_.fields.encrypted.type=Boolean,a._meta_.fields.maskedTrack1={},a._meta_.fields.maskedTrack1.type=String,a._meta_.fields.maskedTrack2={},a._meta_.fields.maskedTrack2.type=String,a._meta_.fields.maskedTrack3={},a._meta_.fields.maskedTrack3.type=String,a._meta_.fields.uniqueToken={},a._meta_.fields.uniqueToken.type=String,a._meta_.fields.pan={},a._meta_.fields.pan.type=String,a._meta_.fields.firstName={},a._meta_.fields.firstName.type=String,a._meta_.fields.lastName={},a._meta_.fields.lastName.type=String,a._meta_.fields.countryCode={},a._meta_.fields.countryCode.type=String,a._meta_.fields.exp={},a._meta_.fields.exp.type=String,a._meta_.fields.streetAddress={},a._meta_.fields.streetAddress.type=String,a._meta_.fields.zip={},a._meta_.fields.zip.type=String,a._meta_.fields.cvv={},a._meta_.fields.cvv.type=String,a._meta_.fields.last4={},a._meta_.fields.last4.type=String,a._meta_.fields.first4={},a._meta_.fields.first4.type=String,a._meta_.fields.dukptSerial={},a._meta_.fields.dukptSerial.type=String,a._meta_.fields.swipeStatus={},a._meta_.fields.swipeStatus.type=String,a._meta_.fields.fingerprint={},a._meta_.fields.fingerprint.type=String,a._meta_.fields.deviceSerial={},a._meta_.fields.deviceSerial.type=String,a._meta_.fields.manualEntered={},a._meta_.fields.manualEntered.type=Boolean,a._meta_.fields.async={},a._meta_.fields.async.type=Boolean,a._meta_.fields.isFallback={},a._meta_.fields.isFallback.type=Boolean,a._meta_.fields.isAuth={},a._meta_.fields.isAuth.type=Boolean,a._meta_.fields.isPrepaid={},a._meta_.fields.isPrepaid.type=Boolean,a._meta_.fields.cardFunction={},a._meta_.fields.cardFunction.type=r,a._meta_.fields.qrCode={},a._meta_.fields.qrCode.type=Boolean,a._meta_.fields.cardType={},a._meta_.fields.cardType.type=n,a._meta_.fields.entryType={},a._meta_.fields.entryType.type=s,a._meta_.fields.transactionNo={},a._meta_.fields.transactionNo.type=String,a._meta_.fields.cardholderName={},a._meta_.fields.cardholderName.type=String,a._meta_.fields.plainCardData={},a._meta_.fields.plainCardData.type=String,a._meta_.fields.transactionData={},a._meta_.fields.transactionData.type=o,t.exports=a},52849:t=>{t.exports={INTERNATIONAL_INTERCHANGE_OK:"INTERNATIONAL_INTERCHANGE_OK",INTERNATIONAL_INTERCHANGE_USE_IC_CHIP_WHERE_FEASIBLE:"INTERNATIONAL_INTERCHANGE_USE_IC_CHIP_WHERE_FEASIBLE",NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT:"NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT",NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT_USE_IC_CHIP_WHERE_FEASIBLE:"NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT_USE_IC_CHIP_WHERE_FEASIBLE",NO_INTERCHANGE_EXCEPT_UNDER_BILATERAL_AGREEMENT:"NO_INTERCHANGE_EXCEPT_UNDER_BILATERAL_AGREEMENT",TEST:"TEST",UNDEFINED:"UNDEFINED"}},88581:t=>{t.exports={NORMAL:"NORMAL",CONTACT_ISSUER_VIA_ONLINE_MEANS:"CONTACT_ISSUER_VIA_ONLINE_MEANS",CONTACT_ISSUER_VIA_ONLINE_MEANS_EXCEPT_UNDER_BILATERAL_AGREEMENT:"CONTACT_ISSUER_VIA_ONLINE_MEANS_EXCEPT_UNDER_BILATERAL_AGREEMENT",UNDEFINED:"UNDEFINED"}},9496:t=>{t.exports={NO_RESTRICTIONS_PIN_REQUIRED:"NO_RESTRICTIONS_PIN_REQUIRED",NO_RESTRICTIONS:"NO_RESTRICTIONS",GOODS_AND_SERVICES_ONLY_NO_CASH:"GOODS_AND_SERVICES_ONLY_NO_CASH",ATM_ONLY_PIN_REQUIRED:"ATM_ONLY_PIN_REQUIRED",CASH_ONLY:"CASH_ONLY",GOODS_AND_SERVICES_ONLY_NO_CASH_PIN_REQUIRED:"GOODS_AND_SERVICES_ONLY_NO_CASH_PIN_REQUIRED",NO_RESTRICTIONS_USE_PIN_WHERE_FEASIBLE:"NO_RESTRICTIONS_USE_PIN_WHERE_FEASIBLE",GOODS_AND_SERVICES_ONLY_NO_CASH_USE_PIN_WHERE_FEASIBLE:"GOODS_AND_SERVICES_ONLY_NO_CASH_USE_PIN_WHERE_FEASIBLE",UNDEFINED:"UNDEFINED"}},40271:(t,e,i)=>{var n=i(43634),o=i(89656),s=i(10413),r=i(27416),a=i(52849),l=i(88581),d=i(9496),u=function(){this._class_=u,this.txResult=void 0,this.txError=void 0,this.amount=void 0,this.tipAmount=void 0,this.cashBackAmount=void 0,this.errorCode=void 0,this.errorText=void 0,this.transactionDate=void 0,this.transactionTime=void 0,this.msrContainer=void 0,this.msrMaskedTrack1=void 0,this.msrMaskedTrack2=void 0,this.maskedManualPan=void 0,this.sredContainer=void 0,this.sred=void 0,this.ksn=void 0,this.transArmorContainer=void 0,this.transArmorKey=void 0,this.transArmorKeyId=void 0,this.transArmorEncryptedTrack1=void 0,this.transArmorEncryptedTrack2=void 0,this.transArmorEncryptedEmvTag57=void 0,this.transArmorEncryptedEmvTag5A=void 0,this.transArmorEncryptedManualKeyedData=void 0,this.iccContainer=void 0,this.iccApplicationInterchangeProfile=void 0,this.iccMaskedEmv57=void 0,this.iccMaskedEmv5A=void 0,this.iccApplicationPanSequenceNumber=void 0,this.iccApplicationExpirationDate=void 0,this.iccApplicationEffectiveDate=void 0,this.iccAmountAuthorized=void 0,this.iccAmountOther=void 0,this.iccTransactionCurrencyCode=void 0,this.iccTransactionCurrencyExponent=void 0,this.iccApplicationUsageControl=void 0,this.iccIssuerActionCodeDefault=void 0,this.iccIssuerActionCodeDenial=void 0,this.iccIssuerActionCodeOnline=void 0,this.iccApplicationLabel=void 0,this.iccApplicationCryptogram=void 0,this.iccApplicationIdentifierCard=void 0,this.iccApplicationIdentifierTerminal=void 0,this.iccApplicationTransactionCounter=void 0,this.iccApplicationVersionNumber=void 0,this.iccCryptogramInformationData=void 0,this.iccCvmResults=void 0,this.iccInterfaceDeviceSerialNumber=void 0,this.iccIssuerApplicationData=void 0,this.iccPosEntryModeCode=void 0,this.iccTerminalCapabilities=void 0,this.iccTerminalCountryCode=void 0,this.iccTerminalType=void 0,this.iccTvr=void 0,this.iccTransactionDate=void 0,this.iccTsi=void 0,this.iccTransactionType=void 0,this.iccUnpredictableNumber=void 0,this.iccTransactionTime=void 0,this.iccAdditionalTerminalCapabilities=void 0,this.iccTransactionCategoryCode=void 0,this.iccIssuerApplicationPreferredName=void 0,this.iccCardholderName=void 0,this.iccIssuerCodeTableIndex=void 0,this.iccIssuerScripts=void 0,this.iccIssuerScriptResults=void 0,this.debugTrack2EquivalentData=void 0,this.debugApplicationPan=void 0,this.debugAmountAuthorizedBinary=void 0,this.debugAmountOtherBinary=void 0,this.debugTransactionStatusInformation=void 0,this.debugPlainTrack1=void 0,this.debugPlainTrack2=void 0,this.schemePunATC=void 0,this.schemeThirdPartyData=void 0,this.schemeMerchantCustomData=void 0,this.schemeTerminalEntryCapability=void 0,this.pinBlockContainer=void 0,this.pinBlock=void 0,this.pinBlockKsn=void 0,this.mac=void 0,this.macKsn=void 0,this.gwContainer=void 0,this.gwIssuerAuthenticationData=void 0,this.gwIssuerScriptTemplate1=void 0,this.gwIssuerScriptTemplate2=void 0,this.gwIssuerAuthorizationResponseCode=void 0,this.gwMessageControlField=void 0,this.gwTxResult=void 0,this.cvmResult=void 0,this.serviceCode1=void 0,this.serviceCode2=void 0,this.serviceCode3=void 0,this.offlineApprovalAuthCode=void 0,this.availableOfflineSpendingAmount=void 0};u.prototype.setTxResult=function(t){this.txResult=t},u.prototype.getTxResult=function(){return this.txResult},u.prototype.setTxError=function(t){this.txError=t},u.prototype.getTxError=function(){return this.txError},u.prototype.setAmount=function(t){this.amount=t},u.prototype.getAmount=function(){return this.amount},u.prototype.setTipAmount=function(t){this.tipAmount=t},u.prototype.getTipAmount=function(){return this.tipAmount},u.prototype.setCashBackAmount=function(t){this.cashBackAmount=t},u.prototype.getCashBackAmount=function(){return this.cashBackAmount},u.prototype.setErrorCode=function(t){this.errorCode=t},u.prototype.getErrorCode=function(){return this.errorCode},u.prototype.setErrorText=function(t){this.errorText=t},u.prototype.getErrorText=function(){return this.errorText},u.prototype.setTransactionDate=function(t){this.transactionDate=t},u.prototype.getTransactionDate=function(){return this.transactionDate},u.prototype.setTransactionTime=function(t){this.transactionTime=t},u.prototype.getTransactionTime=function(){return this.transactionTime},u.prototype.setMsrContainer=function(t){this.msrContainer=t},u.prototype.getMsrContainer=function(){return this.msrContainer},u.prototype.setMsrMaskedTrack1=function(t){this.msrMaskedTrack1=t},u.prototype.getMsrMaskedTrack1=function(){return this.msrMaskedTrack1},u.prototype.setMsrMaskedTrack2=function(t){this.msrMaskedTrack2=t},u.prototype.getMsrMaskedTrack2=function(){return this.msrMaskedTrack2},u.prototype.setMaskedManualPan=function(t){this.maskedManualPan=t},u.prototype.getMaskedManualPan=function(){return this.maskedManualPan},u.prototype.setSredContainer=function(t){this.sredContainer=t},u.prototype.getSredContainer=function(){return this.sredContainer},u.prototype.setSred=function(t){this.sred=t},u.prototype.getSred=function(){return this.sred},u.prototype.setKsn=function(t){this.ksn=t},u.prototype.getKsn=function(){return this.ksn},u.prototype.setTransArmorContainer=function(t){this.transArmorContainer=t},u.prototype.getTransArmorContainer=function(){return this.transArmorContainer},u.prototype.setTransArmorKey=function(t){this.transArmorKey=t},u.prototype.getTransArmorKey=function(){return this.transArmorKey},u.prototype.setTransArmorKeyId=function(t){this.transArmorKeyId=t},u.prototype.getTransArmorKeyId=function(){return this.transArmorKeyId},u.prototype.setTransArmorEncryptedTrack1=function(t){this.transArmorEncryptedTrack1=t},u.prototype.getTransArmorEncryptedTrack1=function(){return this.transArmorEncryptedTrack1},u.prototype.setTransArmorEncryptedTrack2=function(t){this.transArmorEncryptedTrack2=t},u.prototype.getTransArmorEncryptedTrack2=function(){return this.transArmorEncryptedTrack2},u.prototype.setTransArmorEncryptedEmvTag57=function(t){this.transArmorEncryptedEmvTag57=t},u.prototype.getTransArmorEncryptedEmvTag57=function(){return this.transArmorEncryptedEmvTag57},u.prototype.setTransArmorEncryptedEmvTag5A=function(t){this.transArmorEncryptedEmvTag5A=t},u.prototype.getTransArmorEncryptedEmvTag5A=function(){return this.transArmorEncryptedEmvTag5A},u.prototype.setTransArmorEncryptedManualKeyedData=function(t){this.transArmorEncryptedManualKeyedData=t},u.prototype.getTransArmorEncryptedManualKeyedData=function(){return this.transArmorEncryptedManualKeyedData},u.prototype.setIccContainer=function(t){this.iccContainer=t},u.prototype.getIccContainer=function(){return this.iccContainer},u.prototype.setIccApplicationInterchangeProfile=function(t){this.iccApplicationInterchangeProfile=t},u.prototype.getIccApplicationInterchangeProfile=function(){return this.iccApplicationInterchangeProfile},u.prototype.setIccMaskedEmv57=function(t){this.iccMaskedEmv57=t},u.prototype.getIccMaskedEmv57=function(){return this.iccMaskedEmv57},u.prototype.setIccMaskedEmv5A=function(t){this.iccMaskedEmv5A=t},u.prototype.getIccMaskedEmv5A=function(){return this.iccMaskedEmv5A},u.prototype.setIccApplicationPanSequenceNumber=function(t){this.iccApplicationPanSequenceNumber=t},u.prototype.getIccApplicationPanSequenceNumber=function(){return this.iccApplicationPanSequenceNumber},u.prototype.setIccApplicationExpirationDate=function(t){this.iccApplicationExpirationDate=t},u.prototype.getIccApplicationExpirationDate=function(){return this.iccApplicationExpirationDate},u.prototype.setIccApplicationEffectiveDate=function(t){this.iccApplicationEffectiveDate=t},u.prototype.getIccApplicationEffectiveDate=function(){return this.iccApplicationEffectiveDate},u.prototype.setIccAmountAuthorized=function(t){this.iccAmountAuthorized=t},u.prototype.getIccAmountAuthorized=function(){return this.iccAmountAuthorized},u.prototype.setIccAmountOther=function(t){this.iccAmountOther=t},u.prototype.getIccAmountOther=function(){return this.iccAmountOther},u.prototype.setIccTransactionCurrencyCode=function(t){this.iccTransactionCurrencyCode=t},u.prototype.getIccTransactionCurrencyCode=function(){return this.iccTransactionCurrencyCode},u.prototype.setIccTransactionCurrencyExponent=function(t){this.iccTransactionCurrencyExponent=t},u.prototype.getIccTransactionCurrencyExponent=function(){return this.iccTransactionCurrencyExponent},u.prototype.setIccApplicationUsageControl=function(t){this.iccApplicationUsageControl=t},u.prototype.getIccApplicationUsageControl=function(){return this.iccApplicationUsageControl},u.prototype.setIccIssuerActionCodeDefault=function(t){this.iccIssuerActionCodeDefault=t},u.prototype.getIccIssuerActionCodeDefault=function(){return this.iccIssuerActionCodeDefault},u.prototype.setIccIssuerActionCodeDenial=function(t){this.iccIssuerActionCodeDenial=t},u.prototype.getIccIssuerActionCodeDenial=function(){return this.iccIssuerActionCodeDenial},u.prototype.setIccIssuerActionCodeOnline=function(t){this.iccIssuerActionCodeOnline=t},u.prototype.getIccIssuerActionCodeOnline=function(){return this.iccIssuerActionCodeOnline},u.prototype.setIccApplicationLabel=function(t){this.iccApplicationLabel=t},u.prototype.getIccApplicationLabel=function(){return this.iccApplicationLabel},u.prototype.setIccApplicationCryptogram=function(t){this.iccApplicationCryptogram=t},u.prototype.getIccApplicationCryptogram=function(){return this.iccApplicationCryptogram},u.prototype.setIccApplicationIdentifierCard=function(t){this.iccApplicationIdentifierCard=t},u.prototype.getIccApplicationIdentifierCard=function(){return this.iccApplicationIdentifierCard},u.prototype.setIccApplicationIdentifierTerminal=function(t){this.iccApplicationIdentifierTerminal=t},u.prototype.getIccApplicationIdentifierTerminal=function(){return this.iccApplicationIdentifierTerminal},u.prototype.setIccApplicationTransactionCounter=function(t){this.iccApplicationTransactionCounter=t},u.prototype.getIccApplicationTransactionCounter=function(){return this.iccApplicationTransactionCounter},u.prototype.setIccApplicationVersionNumber=function(t){this.iccApplicationVersionNumber=t},u.prototype.getIccApplicationVersionNumber=function(){return this.iccApplicationVersionNumber},u.prototype.setIccCryptogramInformationData=function(t){this.iccCryptogramInformationData=t},u.prototype.getIccCryptogramInformationData=function(){return this.iccCryptogramInformationData},u.prototype.setIccCvmResults=function(t){this.iccCvmResults=t},u.prototype.getIccCvmResults=function(){return this.iccCvmResults},u.prototype.setIccInterfaceDeviceSerialNumber=function(t){this.iccInterfaceDeviceSerialNumber=t},u.prototype.getIccInterfaceDeviceSerialNumber=function(){return this.iccInterfaceDeviceSerialNumber},u.prototype.setIccIssuerApplicationData=function(t){this.iccIssuerApplicationData=t},u.prototype.getIccIssuerApplicationData=function(){return this.iccIssuerApplicationData},u.prototype.setIccPosEntryModeCode=function(t){this.iccPosEntryModeCode=t},u.prototype.getIccPosEntryModeCode=function(){return this.iccPosEntryModeCode},u.prototype.setIccTerminalCapabilities=function(t){this.iccTerminalCapabilities=t},u.prototype.getIccTerminalCapabilities=function(){return this.iccTerminalCapabilities},u.prototype.setIccTerminalCountryCode=function(t){this.iccTerminalCountryCode=t},u.prototype.getIccTerminalCountryCode=function(){return this.iccTerminalCountryCode},u.prototype.setIccTerminalType=function(t){this.iccTerminalType=t},u.prototype.getIccTerminalType=function(){return this.iccTerminalType},u.prototype.setIccTvr=function(t){this.iccTvr=t},u.prototype.getIccTvr=function(){return this.iccTvr},u.prototype.setIccTransactionDate=function(t){this.iccTransactionDate=t},u.prototype.getIccTransactionDate=function(){return this.iccTransactionDate},u.prototype.setIccTsi=function(t){this.iccTsi=t},u.prototype.getIccTsi=function(){return this.iccTsi},u.prototype.setIccTransactionType=function(t){this.iccTransactionType=t},u.prototype.getIccTransactionType=function(){return this.iccTransactionType},u.prototype.setIccUnpredictableNumber=function(t){this.iccUnpredictableNumber=t},u.prototype.getIccUnpredictableNumber=function(){return this.iccUnpredictableNumber},u.prototype.setIccTransactionTime=function(t){this.iccTransactionTime=t},u.prototype.getIccTransactionTime=function(){return this.iccTransactionTime},u.prototype.setIccAdditionalTerminalCapabilities=function(t){this.iccAdditionalTerminalCapabilities=t},u.prototype.getIccAdditionalTerminalCapabilities=function(){return this.iccAdditionalTerminalCapabilities},u.prototype.setIccTransactionCategoryCode=function(t){this.iccTransactionCategoryCode=t},u.prototype.getIccTransactionCategoryCode=function(){return this.iccTransactionCategoryCode},u.prototype.setIccIssuerApplicationPreferredName=function(t){this.iccIssuerApplicationPreferredName=t},u.prototype.getIccIssuerApplicationPreferredName=function(){return this.iccIssuerApplicationPreferredName},u.prototype.setIccCardholderName=function(t){this.iccCardholderName=t},u.prototype.getIccCardholderName=function(){return this.iccCardholderName},u.prototype.setIccIssuerCodeTableIndex=function(t){this.iccIssuerCodeTableIndex=t},u.prototype.getIccIssuerCodeTableIndex=function(){return this.iccIssuerCodeTableIndex},u.prototype.setIccIssuerScripts=function(t){this.iccIssuerScripts=t},u.prototype.getIccIssuerScripts=function(){return this.iccIssuerScripts},u.prototype.setIccIssuerScriptResults=function(t){this.iccIssuerScriptResults=t},u.prototype.getIccIssuerScriptResults=function(){return this.iccIssuerScriptResults},u.prototype.setDebugTrack2EquivalentData=function(t){this.debugTrack2EquivalentData=t},u.prototype.getDebugTrack2EquivalentData=function(){return this.debugTrack2EquivalentData},u.prototype.setDebugApplicationPan=function(t){this.debugApplicationPan=t},u.prototype.getDebugApplicationPan=function(){return this.debugApplicationPan},u.prototype.setDebugAmountAuthorizedBinary=function(t){this.debugAmountAuthorizedBinary=t},u.prototype.getDebugAmountAuthorizedBinary=function(){return this.debugAmountAuthorizedBinary},u.prototype.setDebugAmountOtherBinary=function(t){this.debugAmountOtherBinary=t},u.prototype.getDebugAmountOtherBinary=function(){return this.debugAmountOtherBinary},u.prototype.setDebugTransactionStatusInformation=function(t){this.debugTransactionStatusInformation=t},u.prototype.getDebugTransactionStatusInformation=function(){return this.debugTransactionStatusInformation},u.prototype.setDebugPlainTrack1=function(t){this.debugPlainTrack1=t},u.prototype.getDebugPlainTrack1=function(){return this.debugPlainTrack1},u.prototype.setDebugPlainTrack2=function(t){this.debugPlainTrack2=t},u.prototype.getDebugPlainTrack2=function(){return this.debugPlainTrack2},u.prototype.setSchemePunATC=function(t){this.schemePunATC=t},u.prototype.getSchemePunATC=function(){return this.schemePunATC},u.prototype.setSchemeThirdPartyData=function(t){this.schemeThirdPartyData=t},u.prototype.getSchemeThirdPartyData=function(){return this.schemeThirdPartyData},u.prototype.setSchemeMerchantCustomData=function(t){this.schemeMerchantCustomData=t},u.prototype.getSchemeMerchantCustomData=function(){return this.schemeMerchantCustomData},u.prototype.setSchemeTerminalEntryCapability=function(t){this.schemeTerminalEntryCapability=t},u.prototype.getSchemeTerminalEntryCapability=function(){return this.schemeTerminalEntryCapability},u.prototype.setPinBlockContainer=function(t){this.pinBlockContainer=t},u.prototype.getPinBlockContainer=function(){return this.pinBlockContainer},u.prototype.setPinBlock=function(t){this.pinBlock=t},u.prototype.getPinBlock=function(){return this.pinBlock},u.prototype.setPinBlockKsn=function(t){this.pinBlockKsn=t},u.prototype.getPinBlockKsn=function(){return this.pinBlockKsn},u.prototype.setMac=function(t){this.mac=t},u.prototype.getMac=function(){return this.mac},u.prototype.setMacKsn=function(t){this.macKsn=t},u.prototype.getMacKsn=function(){return this.macKsn},u.prototype.setGwContainer=function(t){this.gwContainer=t},u.prototype.getGwContainer=function(){return this.gwContainer},u.prototype.setGwIssuerAuthenticationData=function(t){this.gwIssuerAuthenticationData=t},u.prototype.getGwIssuerAuthenticationData=function(){return this.gwIssuerAuthenticationData},u.prototype.setGwIssuerScriptTemplate1=function(t){this.gwIssuerScriptTemplate1=t},u.prototype.getGwIssuerScriptTemplate1=function(){return this.gwIssuerScriptTemplate1},u.prototype.setGwIssuerScriptTemplate2=function(t){this.gwIssuerScriptTemplate2=t},u.prototype.getGwIssuerScriptTemplate2=function(){return this.gwIssuerScriptTemplate2},u.prototype.setGwIssuerAuthorizationResponseCode=function(t){this.gwIssuerAuthorizationResponseCode=t},u.prototype.getGwIssuerAuthorizationResponseCode=function(){return this.gwIssuerAuthorizationResponseCode},u.prototype.setGwMessageControlField=function(t){this.gwMessageControlField=t},u.prototype.getGwMessageControlField=function(){return this.gwMessageControlField},u.prototype.setGwTxResult=function(t){this.gwTxResult=t},u.prototype.getGwTxResult=function(){return this.gwTxResult},u.prototype.setCvmResult=function(t){this.cvmResult=t},u.prototype.getCvmResult=function(){return this.cvmResult},u.prototype.setServiceCode1=function(t){this.serviceCode1=t},u.prototype.getServiceCode1=function(){return this.serviceCode1},u.prototype.setServiceCode2=function(t){this.serviceCode2=t},u.prototype.getServiceCode2=function(){return this.serviceCode2},u.prototype.setServiceCode3=function(t){this.serviceCode3=t},u.prototype.getServiceCode3=function(){return this.serviceCode3},u.prototype.setOfflineApprovalAuthCode=function(t){this.offlineApprovalAuthCode=t},u.prototype.getOfflineApprovalAuthCode=function(){return this.offlineApprovalAuthCode},u.prototype.setAvailableOfflineSpendingAmount=function(t){this.availableOfflineSpendingAmount=t},u.prototype.getAvailableOfflineSpendingAmount=function(){return this.availableOfflineSpendingAmount},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.txResult={},u._meta_.fields.txResult.type=s,u._meta_.fields.txError={},u._meta_.fields.txError.type=o,u._meta_.fields.amount={},u._meta_.fields.amount.type=Number,u._meta_.fields.tipAmount={},u._meta_.fields.tipAmount.type=Number,u._meta_.fields.cashBackAmount={},u._meta_.fields.cashBackAmount.type=Number,u._meta_.fields.errorCode={},u._meta_.fields.errorCode.type=String,u._meta_.fields.errorText={},u._meta_.fields.errorText.type=String,u._meta_.fields.transactionDate={},u._meta_.fields.transactionDate.type=String,u._meta_.fields.transactionTime={},u._meta_.fields.transactionTime.type=String,u._meta_.fields.msrContainer={},u._meta_.fields.msrContainer.type=String,u._meta_.fields.msrMaskedTrack1={},u._meta_.fields.msrMaskedTrack1.type=String,u._meta_.fields.msrMaskedTrack2={},u._meta_.fields.msrMaskedTrack2.type=String,u._meta_.fields.maskedManualPan={},u._meta_.fields.maskedManualPan.type=String,u._meta_.fields.sredContainer={},u._meta_.fields.sredContainer.type=String,u._meta_.fields.sred={},u._meta_.fields.sred.type=String,u._meta_.fields.ksn={},u._meta_.fields.ksn.type=String,u._meta_.fields.transArmorContainer={},u._meta_.fields.transArmorContainer.type=String,u._meta_.fields.transArmorKey={},u._meta_.fields.transArmorKey.type=String,u._meta_.fields.transArmorKeyId={},u._meta_.fields.transArmorKeyId.type=String,u._meta_.fields.transArmorEncryptedTrack1={},u._meta_.fields.transArmorEncryptedTrack1.type=String,u._meta_.fields.transArmorEncryptedTrack2={},u._meta_.fields.transArmorEncryptedTrack2.type=String,u._meta_.fields.transArmorEncryptedEmvTag57={},u._meta_.fields.transArmorEncryptedEmvTag57.type=String,u._meta_.fields.transArmorEncryptedEmvTag5A={},u._meta_.fields.transArmorEncryptedEmvTag5A.type=String,u._meta_.fields.transArmorEncryptedManualKeyedData={},u._meta_.fields.transArmorEncryptedManualKeyedData.type=String,u._meta_.fields.iccContainer={},u._meta_.fields.iccContainer.type=String,u._meta_.fields.iccApplicationInterchangeProfile={},u._meta_.fields.iccApplicationInterchangeProfile.type=String,u._meta_.fields.iccMaskedEmv57={},u._meta_.fields.iccMaskedEmv57.type=String,u._meta_.fields.iccMaskedEmv5A={},u._meta_.fields.iccMaskedEmv5A.type=String,u._meta_.fields.iccApplicationPanSequenceNumber={},u._meta_.fields.iccApplicationPanSequenceNumber.type=String,u._meta_.fields.iccApplicationExpirationDate={},u._meta_.fields.iccApplicationExpirationDate.type=String,u._meta_.fields.iccApplicationEffectiveDate={},u._meta_.fields.iccApplicationEffectiveDate.type=String,u._meta_.fields.iccAmountAuthorized={},u._meta_.fields.iccAmountAuthorized.type=String,u._meta_.fields.iccAmountOther={},u._meta_.fields.iccAmountOther.type=String,u._meta_.fields.iccTransactionCurrencyCode={},u._meta_.fields.iccTransactionCurrencyCode.type=String,u._meta_.fields.iccTransactionCurrencyExponent={},u._meta_.fields.iccTransactionCurrencyExponent.type=String,u._meta_.fields.iccApplicationUsageControl={},u._meta_.fields.iccApplicationUsageControl.type=String,u._meta_.fields.iccIssuerActionCodeDefault={},u._meta_.fields.iccIssuerActionCodeDefault.type=String,u._meta_.fields.iccIssuerActionCodeDenial={},u._meta_.fields.iccIssuerActionCodeDenial.type=String,u._meta_.fields.iccIssuerActionCodeOnline={},u._meta_.fields.iccIssuerActionCodeOnline.type=String,u._meta_.fields.iccApplicationLabel={},u._meta_.fields.iccApplicationLabel.type=String,u._meta_.fields.iccApplicationCryptogram={},u._meta_.fields.iccApplicationCryptogram.type=String,u._meta_.fields.iccApplicationIdentifierCard={},u._meta_.fields.iccApplicationIdentifierCard.type=String,u._meta_.fields.iccApplicationIdentifierTerminal={},u._meta_.fields.iccApplicationIdentifierTerminal.type=String,u._meta_.fields.iccApplicationTransactionCounter={},u._meta_.fields.iccApplicationTransactionCounter.type=String,u._meta_.fields.iccApplicationVersionNumber={},u._meta_.fields.iccApplicationVersionNumber.type=String,u._meta_.fields.iccCryptogramInformationData={},u._meta_.fields.iccCryptogramInformationData.type=String,u._meta_.fields.iccCvmResults={},u._meta_.fields.iccCvmResults.type=String,u._meta_.fields.iccInterfaceDeviceSerialNumber={},u._meta_.fields.iccInterfaceDeviceSerialNumber.type=String,u._meta_.fields.iccIssuerApplicationData={},u._meta_.fields.iccIssuerApplicationData.type=String,u._meta_.fields.iccPosEntryModeCode={},u._meta_.fields.iccPosEntryModeCode.type=String,u._meta_.fields.iccTerminalCapabilities={},u._meta_.fields.iccTerminalCapabilities.type=String,u._meta_.fields.iccTerminalCountryCode={},u._meta_.fields.iccTerminalCountryCode.type=String,u._meta_.fields.iccTerminalType={},u._meta_.fields.iccTerminalType.type=String,u._meta_.fields.iccTvr={},u._meta_.fields.iccTvr.type=String,u._meta_.fields.iccTransactionDate={},u._meta_.fields.iccTransactionDate.type=String,u._meta_.fields.iccTsi={},u._meta_.fields.iccTsi.type=String,u._meta_.fields.iccTransactionType={},u._meta_.fields.iccTransactionType.type=String,u._meta_.fields.iccUnpredictableNumber={},u._meta_.fields.iccUnpredictableNumber.type=String,u._meta_.fields.iccTransactionTime={},u._meta_.fields.iccTransactionTime.type=String,u._meta_.fields.iccAdditionalTerminalCapabilities={},u._meta_.fields.iccAdditionalTerminalCapabilities.type=String,u._meta_.fields.iccTransactionCategoryCode={},u._meta_.fields.iccTransactionCategoryCode.type=String,u._meta_.fields.iccIssuerApplicationPreferredName={},u._meta_.fields.iccIssuerApplicationPreferredName.type=String,u._meta_.fields.iccCardholderName={},u._meta_.fields.iccCardholderName.type=String,u._meta_.fields.iccIssuerCodeTableIndex={},u._meta_.fields.iccIssuerCodeTableIndex.type=String,u._meta_.fields.iccIssuerScripts={},u._meta_.fields.iccIssuerScripts.type=String,u._meta_.fields.iccIssuerScriptResults={},u._meta_.fields.iccIssuerScriptResults.type=String,u._meta_.fields.debugTrack2EquivalentData={},u._meta_.fields.debugTrack2EquivalentData.type=String,u._meta_.fields.debugApplicationPan={},u._meta_.fields.debugApplicationPan.type=String,u._meta_.fields.debugAmountAuthorizedBinary={},u._meta_.fields.debugAmountAuthorizedBinary.type=String,u._meta_.fields.debugAmountOtherBinary={},u._meta_.fields.debugAmountOtherBinary.type=String,u._meta_.fields.debugTransactionStatusInformation={},u._meta_.fields.debugTransactionStatusInformation.type=String,u._meta_.fields.debugPlainTrack1={},u._meta_.fields.debugPlainTrack1.type=String,u._meta_.fields.debugPlainTrack2={},u._meta_.fields.debugPlainTrack2.type=String,u._meta_.fields.schemePunATC={},u._meta_.fields.schemePunATC.type=String,u._meta_.fields.schemeThirdPartyData={},u._meta_.fields.schemeThirdPartyData.type=String,u._meta_.fields.schemeMerchantCustomData={},u._meta_.fields.schemeMerchantCustomData.type=String,u._meta_.fields.schemeTerminalEntryCapability={},u._meta_.fields.schemeTerminalEntryCapability.type=String,u._meta_.fields.pinBlockContainer={},u._meta_.fields.pinBlockContainer.type=String,u._meta_.fields.pinBlock={},u._meta_.fields.pinBlock.type=String,u._meta_.fields.pinBlockKsn={},u._meta_.fields.pinBlockKsn.type=String,u._meta_.fields.mac={},u._meta_.fields.mac.type=String,u._meta_.fields.macKsn={},u._meta_.fields.macKsn.type=String,u._meta_.fields.gwContainer={},u._meta_.fields.gwContainer.type=String,u._meta_.fields.gwIssuerAuthenticationData={},u._meta_.fields.gwIssuerAuthenticationData.type=String,u._meta_.fields.gwIssuerScriptTemplate1={},u._meta_.fields.gwIssuerScriptTemplate1.type=String,u._meta_.fields.gwIssuerScriptTemplate2={},u._meta_.fields.gwIssuerScriptTemplate2.type=String,u._meta_.fields.gwIssuerAuthorizationResponseCode={},u._meta_.fields.gwIssuerAuthorizationResponseCode.type=String,u._meta_.fields.gwMessageControlField={},u._meta_.fields.gwMessageControlField.type=String,u._meta_.fields.gwTxResult={},u._meta_.fields.gwTxResult.type=r,u._meta_.fields.cvmResult={},u._meta_.fields.cvmResult.type=n,u._meta_.fields.serviceCode1={},u._meta_.fields.serviceCode1.type=a,u._meta_.fields.serviceCode2={},u._meta_.fields.serviceCode2.type=l,u._meta_.fields.serviceCode3={},u._meta_.fields.serviceCode3.type=d,u._meta_.fields.offlineApprovalAuthCode={},u._meta_.fields.offlineApprovalAuthCode.type=String,u._meta_.fields.availableOfflineSpendingAmount={},u._meta_.fields.availableOfflineSpendingAmount.type=Number,t.exports=u},10413:t=>{t.exports={ERROR:"ERROR",MSR:"MSR",EMV_OFFLINE_APPROVED:"EMV_OFFLINE_APPROVED",EMV_OFFLINE_DECLINED:"EMV_OFFLINE_DECLINED",EMV_GO_ONLINE:"EMV_GO_ONLINE",EMV_APPROVED_ONLINE:"EMV_APPROVED_ONLINE",EMV_DECLINED_ONLINE:"EMV_DECLINED_ONLINE",RFID_OFFLINE_APPROVED:"RFID_OFFLINE_APPROVED",RFID_OFFLINE_DECLINED:"RFID_OFFLINE_DECLINED",RFID_GO_ONLINE:"RFID_GO_ONLINE",RFID_TERMINATED:"RFID_TERMINATED",RFID_MSR:"RFID_MSR",MANUAL:"MANUAL"}},57637:(t,e,i)=>{function n(){}t.exports.pay=n,n.CardFunction=i(80321),n.ErrorCode=i(89656),n.GwTxResult=i(27416),n.PaymentRequestCardDetails=i(27138),n.ServiceCode1=i(52849),n.ServiceCode2=i(88581),n.ServiceCode3=i(9496),n.TransactionData=i(40271),n.TxResult=i(10413),t.exports=n},80373:t=>{t.exports={SUCCESS:"SUCCESS",ZIP_CODE_MATCH:"ZIP_CODE_MATCH",ZIP_CODE_MATCH_ADDRESS_NOT_CHECKED:"ZIP_CODE_MATCH_ADDRESS_NOT_CHECKED",ADDRESS_MATCH:"ADDRESS_MATCH",ADDRESS_MATCH_ZIP_NOT_CHECKED:"ADDRESS_MATCH_ZIP_NOT_CHECKED",NEITHER_MATCH:"NEITHER_MATCH",SERVICE_FAILURE:"SERVICE_FAILURE",SERVICE_UNAVAILABLE:"SERVICE_UNAVAILABLE",NOT_CHECKED:"NOT_CHECKED",ZIP_CODE_NOT_MATCHED_ADDRESS_NOT_CHECKED:"ZIP_CODE_NOT_MATCHED_ADDRESS_NOT_CHECKED",ADDRESS_NOT_MATCHED_ZIP_CODE_NOT_CHECKED:"ADDRESS_NOT_MATCHED_ZIP_CODE_NOT_CHECKED"}},18593:t=>{t.exports={CREDIT:"CREDIT",DEBIT:"DEBIT",CHECKING:"CHECKING",SAVINGS:"SAVINGS"}},48067:(t,e,i)=>{var n=i(32488),o=function(){this._class_=o,this.id=void 0,this.amount=void 0,this.rate=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setRate=function(t){this.rate=t},o.prototype.getRate=function(){return this.rate},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.rate={},o._meta_.fields.rate.type=Number,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},32488:t=>{t.exports={INTERAC:"INTERAC",CREDIT_SURCHARGE:"CREDIT_SURCHARGE",CONVENIENCE_FEE:"CONVENIENCE_FEE",INTERAC_V2:"INTERAC_V2"}},93657:(t,e,i)=>{var n=i(4212),o=i(82794),s=i(88960),r=function(){this._class_=r,this.id=void 0,this.payment=void 0,this.tabName=void 0,this.amount=void 0,this.cardType=void 0,this.last4=void 0,this.authcode=void 0,this.token=void 0,this.type=void 0,this.note=void 0,this.externalReferenceId=void 0,this.closingPayment=void 0,this.createdTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setTabName=function(t){this.tabName=t},r.prototype.getTabName=function(){return this.tabName},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardType=function(t){this.cardType=t},r.prototype.getCardType=function(){return this.cardType},r.prototype.setLast4=function(t){this.last4=t},r.prototype.getLast4=function(){return this.last4},r.prototype.setAuthcode=function(t){this.authcode=t},r.prototype.getAuthcode=function(){return this.authcode},r.prototype.setToken=function(t){this.token=t},r.prototype.getToken=function(){return this.token},r.prototype.setType=function(t){this.type=t},r.prototype.getType=function(){return this.type},r.prototype.setNote=function(t){this.note=t},r.prototype.getNote=function(){return this.note},r.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},r.prototype.getExternalReferenceId=function(){return this.externalReferenceId},r.prototype.setClosingPayment=function(t){this.closingPayment=t},r.prototype.getClosingPayment=function(){return this.closingPayment},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.tabName={},r._meta_.fields.tabName.type=String,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardType={},r._meta_.fields.cardType.type=n,r._meta_.fields.last4={},r._meta_.fields.last4.type=String,r._meta_.fields.authcode={},r._meta_.fields.authcode.type=String,r._meta_.fields.token={},r._meta_.fields.token.type=String,r._meta_.fields.type={},r._meta_.fields.type.type=s,r._meta_.fields.note={},r._meta_.fields.note.type=String,r._meta_.fields.externalReferenceId={},r._meta_.fields.externalReferenceId.type=String,r._meta_.fields.closingPayment={},r._meta_.fields.closingPayment.type=o,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,t.exports=r},10360:(t,e,i)=>{var n=i(34160),o=i(23549),s=i(25093),r=i(33513),a=function(){this._class_=a,this.id=void 0,this.txCount=0,this.totalBatchAmount=0,this.devices=void 0,this.state=r.OPEN,this.batchType=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.closeoutTimeDifference=void 0,this.batchDetails=void 0,this.batchTransactions=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setTxCount=function(t){this.txCount=t},a.prototype.getTxCount=function(){return this.txCount},a.prototype.setTotalBatchAmount=function(t){this.totalBatchAmount=t},a.prototype.getTotalBatchAmount=function(){return this.totalBatchAmount},a.prototype.setDevices=function(t){this.devices=t},a.prototype.getDevices=function(){return this.devices},a.prototype.setState=function(t){this.state=t},a.prototype.getState=function(){return this.state},a.prototype.setBatchType=function(t){this.batchType=t},a.prototype.getBatchType=function(){return this.batchType},a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setModifiedTime=function(t){this.modifiedTime=t},a.prototype.getModifiedTime=function(){return this.modifiedTime},a.prototype.setCloseoutTimeDifference=function(t){this.closeoutTimeDifference=t},a.prototype.getCloseoutTimeDifference=function(){return this.closeoutTimeDifference},a.prototype.setBatchDetails=function(t){this.batchDetails=t},a.prototype.getBatchDetails=function(){return this.batchDetails},a.prototype.setBatchTransactions=function(t){this.batchTransactions=t},a.prototype.getBatchTransactions=function(){return this.batchTransactions},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.txCount={},a._meta_.fields.txCount.type=Number,a._meta_.fields.totalBatchAmount={},a._meta_.fields.totalBatchAmount.type=Number,a._meta_.fields.devices={},a._meta_.fields.devices.type=String,a._meta_.fields.state={},a._meta_.fields.state.type=r,a._meta_.fields.batchType={},a._meta_.fields.batchType.type=n,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.modifiedTime={},a._meta_.fields.modifiedTime.type=Number,a._meta_.fields.closeoutTimeDifference={},a._meta_.fields.closeoutTimeDifference.type=Number,a._meta_.fields.batchDetails={},a._meta_.fields.batchDetails.type=s,a._meta_.fields.batchTransactions={},a._meta_.fields.batchTransactions.type=o,t.exports=a},19964:(t,e,i)=>{var n=i(4212),o=function(){this._class_=o,this.cardType=void 0,this.cardTypeLabel=void 0,this.installments=void 0,this.count=void 0,this.total=void 0};o.prototype.setCardType=function(t){this.cardType=t},o.prototype.getCardType=function(){return this.cardType},o.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},o.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},o.prototype.setInstallments=function(t){this.installments=t},o.prototype.getInstallments=function(){return this.installments},o.prototype.setCount=function(t){this.count=t},o.prototype.getCount=function(){return this.count},o.prototype.setTotal=function(t){this.total=t},o.prototype.getTotal=function(){return this.total},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.cardType={},o._meta_.fields.cardType.type=n,o._meta_.fields.cardTypeLabel={},o._meta_.fields.cardTypeLabel.type=String,o._meta_.fields.installments={},o._meta_.fields.installments.type=Number,o._meta_.fields.count={},o._meta_.fields.count.type=Number,o._meta_.fields.total={},o._meta_.fields.total.type=Number,t.exports=o},25093:(t,e,i)=>{var n=i(19964),o=i(24754),s=i(42802),r=i(12299),a=i(33066),l=function(){this._class_=l,this.terminalId=void 0,this.batchTotals=void 0,this.serverTotals=void 0,this.cardTotals=void 0,this.deviceTotals=void 0,this.endpointTotals=void 0,this.openTips=void 0,this.openTabs=void 0};l.prototype.setTerminalId=function(t){this.terminalId=t},l.prototype.getTerminalId=function(){return this.terminalId},l.prototype.setBatchTotals=function(t){this.batchTotals=t},l.prototype.getBatchTotals=function(){return this.batchTotals},l.prototype.setServerTotals=function(t){this.serverTotals=t},l.prototype.getServerTotals=function(){return this.serverTotals},l.prototype.setCardTotals=function(t){this.cardTotals=t},l.prototype.getCardTotals=function(){return this.cardTotals},l.prototype.setDeviceTotals=function(t){this.deviceTotals=t},l.prototype.getDeviceTotals=function(){return this.deviceTotals},l.prototype.setEndpointTotals=function(t){this.endpointTotals=t},l.prototype.getEndpointTotals=function(){return this.endpointTotals},l.prototype.setOpenTips=function(t){this.openTips=t},l.prototype.getOpenTips=function(){return this.openTips},l.prototype.setOpenTabs=function(t){this.openTabs=t},l.prototype.getOpenTabs=function(){return this.openTabs},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.terminalId={},l._meta_.fields.terminalId.type=String,l._meta_.fields.batchTotals={},l._meta_.fields.batchTotals.type=s,l._meta_.fields.serverTotals={},l._meta_.fields.serverTotals.type=Array,l._meta_.fields.serverTotals.elementType=a,l._meta_.fields.cardTotals={},l._meta_.fields.cardTotals.type=Array,l._meta_.fields.cardTotals.elementType=n,l._meta_.fields.deviceTotals={},l._meta_.fields.deviceTotals.type=Array,l._meta_.fields.deviceTotals.elementType=o,l._meta_.fields.endpointTotals={},l._meta_.fields.endpointTotals.type=Array,l._meta_.fields.endpointTotals.elementType=r,l._meta_.fields.openTips={},l._meta_.fields.openTips.type=Number,l._meta_.fields.openTabs={},l._meta_.fields.openTabs.type=Number,t.exports=l},65339:t=>{var e=function(){this._class_=e,this.devices=void 0};e.prototype.setDevices=function(t){this.devices=t},e.prototype.getDevices=function(){return this.devices},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.devices={},e._meta_.fields.devices.type=Array,t.exports=e},33513:t=>{t.exports={OPEN:"OPEN",QUEUED_FOR_PROCESSING:"QUEUED_FOR_PROCESSING",PROCESSING:"PROCESSING",CLOSED:"CLOSED",FAILED:"FAILED"}},42802:(t,e,i)=>{var n=i(14415),o=function(){this._class_=o,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0};o.prototype.setSales=function(t){this.sales=t},o.prototype.getSales=function(){return this.sales},o.prototype.setRefunds=function(t){this.refunds=t},o.prototype.getRefunds=function(){return this.refunds},o.prototype.setNet=function(t){this.net=t},o.prototype.getNet=function(){return this.net},o.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},o.prototype.getGiftCardLoads=function(){return this.giftCardLoads},o.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},o.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},o.prototype.setTax=function(t){this.tax=t},o.prototype.getTax=function(){return this.tax},o.prototype.setTips=function(t){this.tips=t},o.prototype.getTips=function(){return this.tips},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.sales={},o._meta_.fields.sales.type=n,o._meta_.fields.refunds={},o._meta_.fields.refunds.type=n,o._meta_.fields.net={},o._meta_.fields.net.type=n,o._meta_.fields.giftCardLoads={},o._meta_.fields.giftCardLoads.type=n,o._meta_.fields.giftCardCashOuts={},o._meta_.fields.giftCardCashOuts.type=n,o._meta_.fields.tax={},o._meta_.fields.tax.type=n,o._meta_.fields.tips={},o._meta_.fields.tips.type=n,t.exports=o},14415:t=>{var e=function(){this._class_=e,this.count=void 0,this.total=void 0};e.prototype.setCount=function(t){this.count=t},e.prototype.getCount=function(){return this.count},e.prototype.setTotal=function(t){this.total=t},e.prototype.getTotal=function(){return this.total},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.count={},e._meta_.fields.count.type=Number,e._meta_.fields.total={},e._meta_.fields.total.type=Number,t.exports=e},23549:t=>{var e=function(){this._class_=e,this.paymentIds=void 0,this.refundIds=void 0,this.creditIds=void 0};e.prototype.setPaymentIds=function(t){this.paymentIds=t},e.prototype.getPaymentIds=function(){return this.paymentIds},e.prototype.setRefundIds=function(t){this.refundIds=t},e.prototype.getRefundIds=function(){return this.refundIds},e.prototype.setCreditIds=function(t){this.creditIds=t},e.prototype.getCreditIds=function(){return this.creditIds},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.paymentIds={},e._meta_.fields.paymentIds.type=Array,e._meta_.fields.refundIds={},e._meta_.fields.refundIds.type=Array,e._meta_.fields.creditIds={},e._meta_.fields.creditIds.type=Array,t.exports=e},34160:t=>{t.exports={MANUAL_CLOSE:"MANUAL_CLOSE",AUTO_CLOSE:"AUTO_CLOSE"}},74215:t=>{t.exports={SUCCESS:"SUCCESS",FAILURE:"FAILURE",NOT_PROCESSED:"NOT_PROCESSED",NOT_PRESENT:"NOT_PRESENT"}},56614:t=>{t.exports={SWIPED:"SWIPED",KEYED:"KEYED",VOICE:"VOICE",VAULTED:"VAULTED",OFFLINE_SWIPED:"OFFLINE_SWIPED",OFFLINE_KEYED:"OFFLINE_KEYED",EMV_CONTACT:"EMV_CONTACT",EMV_CONTACTLESS:"EMV_CONTACTLESS",MSD_CONTACTLESS:"MSD_CONTACTLESS",PINPAD_MANUAL_ENTRY:"PINPAD_MANUAL_ENTRY",QR_CODE:"QR_CODE",SCANNED:"SCANNED"}},113:(t,e,i)=>{var n=i(4212),o=i(688),s=i(56614),r=i(15118),a=i(79682),l=i(45318),d=i(80373),u=function(){this._class_=u,this.cardType=void 0,this.entryType=void 0,this.first6=void 0,this.last4=void 0,this.type=void 0,this.authCode=void 0,this.referenceId=void 0,this.transactionNo=void 0,this.state=void 0,this.extra=void 0,this.begBalance=void 0,this.endBalance=void 0,this.avsResult=void 0,this.cardholderName=void 0,this.token=void 0,this.vaultedCard=void 0,this.gatewayTxState=void 0,this.currency=void 0,this.captured=void 0};u.prototype.setCardType=function(t){this.cardType=t},u.prototype.getCardType=function(){return this.cardType},u.prototype.setEntryType=function(t){this.entryType=t},u.prototype.getEntryType=function(){return this.entryType},u.prototype.setFirst6=function(t){this.first6=t},u.prototype.getFirst6=function(){return this.first6},u.prototype.setLast4=function(t){this.last4=t},u.prototype.getLast4=function(){return this.last4},u.prototype.setType=function(t){this.type=t},u.prototype.getType=function(){return this.type},u.prototype.setAuthCode=function(t){this.authCode=t},u.prototype.getAuthCode=function(){return this.authCode},u.prototype.setReferenceId=function(t){this.referenceId=t},u.prototype.getReferenceId=function(){return this.referenceId},u.prototype.setTransactionNo=function(t){this.transactionNo=t},u.prototype.getTransactionNo=function(){return this.transactionNo},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setExtra=function(t){this.extra=t},u.prototype.getExtra=function(){return this.extra},u.prototype.setBegBalance=function(t){this.begBalance=t},u.prototype.getBegBalance=function(){return this.begBalance},u.prototype.setEndBalance=function(t){this.endBalance=t},u.prototype.getEndBalance=function(){return this.endBalance},u.prototype.setAvsResult=function(t){this.avsResult=t},u.prototype.getAvsResult=function(){return this.avsResult},u.prototype.setCardholderName=function(t){this.cardholderName=t},u.prototype.getCardholderName=function(){return this.cardholderName},u.prototype.setToken=function(t){this.token=t},u.prototype.getToken=function(){return this.token},u.prototype.setVaultedCard=function(t){this.vaultedCard=t},u.prototype.getVaultedCard=function(){return this.vaultedCard},u.prototype.setGatewayTxState=function(t){this.gatewayTxState=t},u.prototype.getGatewayTxState=function(){return this.gatewayTxState},u.prototype.setCurrency=function(t){this.currency=t},u.prototype.getCurrency=function(){return this.currency},u.prototype.setCaptured=function(t){this.captured=t},u.prototype.getCaptured=function(){return this.captured},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.cardType={},u._meta_.fields.cardType.type=n,u._meta_.fields.entryType={},u._meta_.fields.entryType.type=s,u._meta_.fields.first6={},u._meta_.fields.first6.type=String,u._meta_.fields.last4={},u._meta_.fields.last4.type=String,u._meta_.fields.type={},u._meta_.fields.type.type=a,u._meta_.fields.authCode={},u._meta_.fields.authCode.type=String,u._meta_.fields.referenceId={},u._meta_.fields.referenceId.type=String,u._meta_.fields.transactionNo={},u._meta_.fields.transactionNo.type=String,u._meta_.fields.state={},u._meta_.fields.state.type=o,u._meta_.fields.extra={},u._meta_.fields.extra.type=Object,u._meta_.fields.begBalance={},u._meta_.fields.begBalance.type=Number,u._meta_.fields.endBalance={},u._meta_.fields.endBalance.type=Number,u._meta_.fields.avsResult={},u._meta_.fields.avsResult.type=d,u._meta_.fields.cardholderName={},u._meta_.fields.cardholderName.type=String,u._meta_.fields.token={},u._meta_.fields.token.type=String,u._meta_.fields.vaultedCard={},u._meta_.fields.vaultedCard.type=r,u._meta_.fields.gatewayTxState={},u._meta_.fields.gatewayTxState.type=l,u._meta_.fields.currency={},u._meta_.fields.currency.type=String,u._meta_.fields.captured={},u._meta_.fields.captured.type=Boolean,t.exports=u},688:t=>{t.exports={PENDING:"PENDING",CLOSED:"CLOSED"}},79682:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",CASH_ADVANCE:"CASH_ADVANCE",VOID_CREDIT:"VOID_CREDIT",REFUND_CREDIT:"REFUND_CREDIT",INTERNET_ACTIVATE:"INTERNET_ACTIVATE",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},4212:t=>{t.exports={VISA:"VISA",MC:"MC",AMEX:"AMEX",DISCOVER:"DISCOVER",DINERS_CLUB:"DINERS_CLUB",JCB:"JCB",MAESTRO:"MAESTRO",SOLO:"SOLO",LASER:"LASER",CHINA_UNION_PAY:"CHINA_UNION_PAY",CARTE_BLANCHE:"CARTE_BLANCHE",UNKNOWN:"UNKNOWN",GIFT_CARD:"GIFT_CARD",EBT:"EBT",GIROCARD:"GIROCARD",INTERAC:"INTERAC",OTHER:"OTHER"}},78317:(t,e,i)=>{var n=i(37912),o=i(57925),s=function(){this._class_=s,this.paymentNetwork=void 0,this.paymentType=void 0,this.paymentData=void 0};s.prototype.setPaymentNetwork=function(t){this.paymentNetwork=t},s.prototype.getPaymentNetwork=function(){return this.paymentNetwork},s.prototype.setPaymentType=function(t){this.paymentType=t},s.prototype.getPaymentType=function(){return this.paymentType},s.prototype.setPaymentData=function(t){this.paymentData=t},s.prototype.getPaymentData=function(){return this.paymentData},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.paymentNetwork={},s._meta_.fields.paymentNetwork.type=o,s._meta_.fields.paymentType={},s._meta_.fields.paymentType.type=n,s._meta_.fields.paymentData={},s._meta_.fields.paymentData.type=String,t.exports=s},37912:t=>{t.exports={QR_CODE:"QR_CODE",BARCODE:"BARCODE"}},57925:t=>{t.exports={ALIPAY:"ALIPAY",WECHAT:"WECHAT"}},893:(t,e,i)=>{var n=i(20275),o=function(){this._class_=o,this.idType=void 0,this.serialNumber=void 0,this.maskedSerialNumber=void 0,this.encryptedSerialNumber=void 0,this.expirationDate=void 0,this.issuingState=void 0,this.issuingCountry=void 0,this.customerName=void 0,this.addressStreet1=void 0,this.addressStreet2=void 0,this.addressCity=void 0,this.addressState=void 0,this.addressZipCode=void 0,this.addressCountry=void 0};o.prototype.setIdType=function(t){this.idType=t},o.prototype.getIdType=function(){return this.idType},o.prototype.setSerialNumber=function(t){this.serialNumber=t},o.prototype.getSerialNumber=function(){return this.serialNumber},o.prototype.setMaskedSerialNumber=function(t){this.maskedSerialNumber=t},o.prototype.getMaskedSerialNumber=function(){return this.maskedSerialNumber},o.prototype.setEncryptedSerialNumber=function(t){this.encryptedSerialNumber=t},o.prototype.getEncryptedSerialNumber=function(){return this.encryptedSerialNumber},o.prototype.setExpirationDate=function(t){this.expirationDate=t},o.prototype.getExpirationDate=function(){return this.expirationDate},o.prototype.setIssuingState=function(t){this.issuingState=t},o.prototype.getIssuingState=function(){return this.issuingState},o.prototype.setIssuingCountry=function(t){this.issuingCountry=t},o.prototype.getIssuingCountry=function(){return this.issuingCountry},o.prototype.setCustomerName=function(t){this.customerName=t},o.prototype.getCustomerName=function(){return this.customerName},o.prototype.setAddressStreet1=function(t){this.addressStreet1=t},o.prototype.getAddressStreet1=function(){return this.addressStreet1},o.prototype.setAddressStreet2=function(t){this.addressStreet2=t},o.prototype.getAddressStreet2=function(){return this.addressStreet2},o.prototype.setAddressCity=function(t){this.addressCity=t},o.prototype.getAddressCity=function(){return this.addressCity},o.prototype.setAddressState=function(t){this.addressState=t},o.prototype.getAddressState=function(){return this.addressState},o.prototype.setAddressZipCode=function(t){this.addressZipCode=t},o.prototype.getAddressZipCode=function(){return this.addressZipCode},o.prototype.setAddressCountry=function(t){this.addressCountry=t},o.prototype.getAddressCountry=function(){return this.addressCountry},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.idType={},o._meta_.fields.idType.type=n,o._meta_.fields.serialNumber={},o._meta_.fields.serialNumber.type=String,o._meta_.fields.maskedSerialNumber={},o._meta_.fields.maskedSerialNumber.type=String,o._meta_.fields.encryptedSerialNumber={},o._meta_.fields.encryptedSerialNumber.type=String,o._meta_.fields.expirationDate={},o._meta_.fields.expirationDate.type=String,o._meta_.fields.issuingState={},o._meta_.fields.issuingState.type=String,o._meta_.fields.issuingCountry={},o._meta_.fields.issuingCountry.type=String,o._meta_.fields.customerName={},o._meta_.fields.customerName.type=String,o._meta_.fields.addressStreet1={},o._meta_.fields.addressStreet1.type=String,o._meta_.fields.addressStreet2={},o._meta_.fields.addressStreet2.type=String,o._meta_.fields.addressCity={},o._meta_.fields.addressCity.type=String,o._meta_.fields.addressState={},o._meta_.fields.addressState.type=String,o._meta_.fields.addressZipCode={},o._meta_.fields.addressZipCode.type=String,o._meta_.fields.addressCountry={},o._meta_.fields.addressCountry.type=String,t.exports=o},11654:(t,e,i)=>{var n=i(893),o=function(){this._class_=o,this.cashAdvanceSerialNum=void 0,this.cashAdvanceCustomerIdentification=void 0};o.prototype.setCashAdvanceSerialNum=function(t){this.cashAdvanceSerialNum=t},o.prototype.getCashAdvanceSerialNum=function(){return this.cashAdvanceSerialNum},o.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},o.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.cashAdvanceSerialNum={},o._meta_.fields.cashAdvanceSerialNum.type=String,o._meta_.fields.cashAdvanceCustomerIdentification={},o._meta_.fields.cashAdvanceCustomerIdentification.type=n,t.exports=o},6639:(t,e,i)=>{var n=i(26866),o=i(113),s=i(27022),r=i(51029),a=i(52448),l=i(12033),d=i(50234),u=i(82986),p=i(4448),_=i(50775),c=i(56135),m=i(17589),f=function(){this._class_=f,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.tender=void 0,this.employee=void 0,this.customers=void 0,this.amount=void 0,this.taxAmount=void 0,this.taxRates=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.cardTransaction=void 0,this.voided=void 0,this.voidReason=void 0,this.dccInfo=void 0,this.transactionSettings=void 0,this.creditRefunds=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.result=void 0,this.transactionInfo=void 0,this.merchant=void 0,this.externalReferenceId=void 0};f.prototype.setId=function(t){this.id=t},f.prototype.getId=function(){return this.id},f.prototype.setOrderRef=function(t){this.orderRef=t},f.prototype.getOrderRef=function(){return this.orderRef},f.prototype.setDevice=function(t){this.device=t},f.prototype.getDevice=function(){return this.device},f.prototype.setTender=function(t){this.tender=t},f.prototype.getTender=function(){return this.tender},f.prototype.setEmployee=function(t){this.employee=t},f.prototype.getEmployee=function(){return this.employee},f.prototype.setCustomers=function(t){this.customers=t},f.prototype.getCustomers=function(){return this.customers},f.prototype.setAmount=function(t){this.amount=t},f.prototype.getAmount=function(){return this.amount},f.prototype.setTaxAmount=function(t){this.taxAmount=t},f.prototype.getTaxAmount=function(){return this.taxAmount},f.prototype.setTaxRates=function(t){this.taxRates=t},f.prototype.getTaxRates=function(){return this.taxRates},f.prototype.setCreatedTime=function(t){this.createdTime=t},f.prototype.getCreatedTime=function(){return this.createdTime},f.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},f.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},f.prototype.setCardTransaction=function(t){this.cardTransaction=t},f.prototype.getCardTransaction=function(){return this.cardTransaction},f.prototype.setVoided=function(t){this.voided=t},f.prototype.getVoided=function(){return this.voided},f.prototype.setVoidReason=function(t){this.voidReason=t},f.prototype.getVoidReason=function(){return this.voidReason},f.prototype.setDccInfo=function(t){this.dccInfo=t},f.prototype.getDccInfo=function(){return this.dccInfo},f.prototype.setTransactionSettings=function(t){this.transactionSettings=t},f.prototype.getTransactionSettings=function(){return this.transactionSettings},f.prototype.setCreditRefunds=function(t){this.creditRefunds=t},f.prototype.getCreditRefunds=function(){return this.creditRefunds},f.prototype.setGermanInfo=function(t){this.germanInfo=t},f.prototype.getGermanInfo=function(){return this.germanInfo},f.prototype.setAppTracking=function(t){this.appTracking=t},f.prototype.getAppTracking=function(){return this.appTracking},f.prototype.setResult=function(t){this.result=t},f.prototype.getResult=function(){return this.result},f.prototype.setTransactionInfo=function(t){this.transactionInfo=t},f.prototype.getTransactionInfo=function(){return this.transactionInfo},f.prototype.setMerchant=function(t){this.merchant=t},f.prototype.getMerchant=function(){return this.merchant},f.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},f.prototype.getExternalReferenceId=function(){return this.externalReferenceId},f.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},f.prototype.toString=function(){return JSON.stringify(this)},f._meta_={fields:{}},f._meta_._class_=f,f._meta_.fields.id={},f._meta_.fields.id.type=String,f._meta_.fields.orderRef={},f._meta_.fields.orderRef.type=p,f._meta_.fields.device={},f._meta_.fields.device.type=p,f._meta_.fields.tender={},f._meta_.fields.tender.type=_,f._meta_.fields.employee={},f._meta_.fields.employee.type=p,f._meta_.fields.customers={},f._meta_.fields.customers.type=n,f._meta_.fields.amount={},f._meta_.fields.amount.type=Number,f._meta_.fields.taxAmount={},f._meta_.fields.taxAmount.type=Number,f._meta_.fields.taxRates={},f._meta_.fields.taxRates.type=Array,f._meta_.fields.taxRates.elementType=a,f._meta_.fields.createdTime={},f._meta_.fields.createdTime.type=Number,f._meta_.fields.clientCreatedTime={},f._meta_.fields.clientCreatedTime.type=Number,f._meta_.fields.cardTransaction={},f._meta_.fields.cardTransaction.type=o,f._meta_.fields.voided={},f._meta_.fields.voided.type=Boolean,f._meta_.fields.voidReason={},f._meta_.fields.voidReason.type=String,f._meta_.fields.dccInfo={},f._meta_.fields.dccInfo.type=u,f._meta_.fields.transactionSettings={},f._meta_.fields.transactionSettings.type=c,f._meta_.fields.creditRefunds={},f._meta_.fields.creditRefunds.type=Array,f._meta_.fields.creditRefunds.elementType=s,f._meta_.fields.germanInfo={},f._meta_.fields.germanInfo.type=m,f._meta_.fields.appTracking={},f._meta_.fields.appTracking.type=l,f._meta_.fields.result={},f._meta_.fields.result.type=r,f._meta_.fields.transactionInfo={},f._meta_.fields.transactionInfo.type=d,f._meta_.fields.merchant={},f._meta_.fields.merchant.type=p,f._meta_.fields.externalReferenceId={},f._meta_.fields.externalReferenceId.type=String,t.exports=f},27022:(t,e,i)=>{var n=i(12033),o=i(50234),s=i(4448),r=i(17589),a=function(){this._class_=a,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.credit=void 0,this.employee=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.transactionInfo=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setOrderRef=function(t){this.orderRef=t},a.prototype.getOrderRef=function(){return this.orderRef},a.prototype.setDevice=function(t){this.device=t},a.prototype.getDevice=function(){return this.device},a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},a.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setEmployee=function(t){this.employee=t},a.prototype.getEmployee=function(){return this.employee},a.prototype.setGermanInfo=function(t){this.germanInfo=t},a.prototype.getGermanInfo=function(){return this.germanInfo},a.prototype.setAppTracking=function(t){this.appTracking=t},a.prototype.getAppTracking=function(){return this.appTracking},a.prototype.setTransactionInfo=function(t){this.transactionInfo=t},a.prototype.getTransactionInfo=function(){return this.transactionInfo},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.orderRef={},a._meta_.fields.orderRef.type=s,a._meta_.fields.device={},a._meta_.fields.device.type=s,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.clientCreatedTime={},a._meta_.fields.clientCreatedTime.type=Number,a._meta_.fields.credit={},a._meta_.fields.credit.type=s,a._meta_.fields.employee={},a._meta_.fields.employee.type=s,a._meta_.fields.germanInfo={},a._meta_.fields.germanInfo.type=r,a._meta_.fields.appTracking={},a._meta_.fields.appTracking.type=n,a._meta_.fields.transactionInfo={},a._meta_.fields.transactionInfo.type=o,t.exports=a},38822:(t,e,i)=>{var n=i(27022),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.creditRefund=void 0,this.clientData=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setCreditRefund=function(t){this.creditRefund=t},o.prototype.getCreditRefund=function(){return this.creditRefund},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.creditRefund={},o._meta_.fields.creditRefund.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,t.exports=o},23102:(t,e,i)=>{var n=i(27138),o=i(6639),s=function(){this._class_=s,this.orderId=void 0,this.credit=void 0,this.paymentCard=void 0};s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s.prototype.setPaymentCard=function(t){this.paymentCard=t},s.prototype.getPaymentCard=function(){return this.paymentCard},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,s._meta_.fields.paymentCard={},s._meta_.fields.paymentCard.type=n,t.exports=s},31575:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.credit=void 0,this.clientData=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,t.exports=o},14264:t=>{t.exports={USD:"USD",GBP:"GBP",EUR:"EUR"}},43634:t=>{t.exports={NO_CVM_REQUIRED:"NO_CVM_REQUIRED",SIGNATURE:"SIGNATURE",SIGNATURE_VERIFIED:"SIGNATURE_VERIFIED",SIGNATURE_ON_PAPER:"SIGNATURE_ON_PAPER",SIGNATURE_REJECTED:"SIGNATURE_REJECTED",PIN:"PIN",ONLINE_PIN:"ONLINE_PIN",SIGNATURE_AND_PIN:"SIGNATURE_AND_PIN",CVM_FAILED:"CVM_FAILED",DEVICE:"DEVICE"}},82986:t=>{var e=function(){this._class_=e,this.inquiryRateId=void 0,this.dccApplied=void 0,this.foreignCurrencyCode=void 0,this.foreignAmount=void 0,this.exchangeRate=void 0,this.marginRatePercentage=void 0,this.exchangeRateSourceName=void 0,this.exchangeRateSourceTimeStamp=void 0};e.prototype.setInquiryRateId=function(t){this.inquiryRateId=t},e.prototype.getInquiryRateId=function(){return this.inquiryRateId},e.prototype.setDccApplied=function(t){this.dccApplied=t},e.prototype.getDccApplied=function(){return this.dccApplied},e.prototype.setForeignCurrencyCode=function(t){this.foreignCurrencyCode=t},e.prototype.getForeignCurrencyCode=function(){return this.foreignCurrencyCode},e.prototype.setForeignAmount=function(t){this.foreignAmount=t},e.prototype.getForeignAmount=function(){return this.foreignAmount},e.prototype.setExchangeRate=function(t){this.exchangeRate=t},e.prototype.getExchangeRate=function(){return this.exchangeRate},e.prototype.setMarginRatePercentage=function(t){this.marginRatePercentage=t},e.prototype.getMarginRatePercentage=function(){return this.marginRatePercentage},e.prototype.setExchangeRateSourceName=function(t){this.exchangeRateSourceName=t},e.prototype.getExchangeRateSourceName=function(){return this.exchangeRateSourceName},e.prototype.setExchangeRateSourceTimeStamp=function(t){this.exchangeRateSourceTimeStamp=t},e.prototype.getExchangeRateSourceTimeStamp=function(){return this.exchangeRateSourceTimeStamp},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.inquiryRateId={},e._meta_.fields.inquiryRateId.type=Number,e._meta_.fields.dccApplied={},e._meta_.fields.dccApplied.type=Boolean,e._meta_.fields.foreignCurrencyCode={},e._meta_.fields.foreignCurrencyCode.type=String,e._meta_.fields.foreignAmount={},e._meta_.fields.foreignAmount.type=Number,e._meta_.fields.exchangeRate={},e._meta_.fields.exchangeRate.type=Number,e._meta_.fields.marginRatePercentage={},e._meta_.fields.marginRatePercentage.type=String,e._meta_.fields.exchangeRateSourceName={},e._meta_.fields.exchangeRateSourceName.type=String,e._meta_.fields.exchangeRateSourceTimeStamp={},e._meta_.fields.exchangeRateSourceTimeStamp.type=String,t.exports=e},57953:t=>{t.exports={ON_SCREEN:"ON_SCREEN",ON_PAPER:"ON_PAPER",NONE:"NONE"}},24754:(t,e,i)=>{var n=i(19964),o=i(14415),s=function(){this._class_=s,this.deviceId=void 0,this.deviceSerial=void 0,this.deviceName=void 0,this.terminalId=void 0,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0,this.cardTotals=void 0};s.prototype.setDeviceId=function(t){this.deviceId=t},s.prototype.getDeviceId=function(){return this.deviceId},s.prototype.setDeviceSerial=function(t){this.deviceSerial=t},s.prototype.getDeviceSerial=function(){return this.deviceSerial},s.prototype.setDeviceName=function(t){this.deviceName=t},s.prototype.getDeviceName=function(){return this.deviceName},s.prototype.setTerminalId=function(t){this.terminalId=t},s.prototype.getTerminalId=function(){return this.terminalId},s.prototype.setSales=function(t){this.sales=t},s.prototype.getSales=function(){return this.sales},s.prototype.setRefunds=function(t){this.refunds=t},s.prototype.getRefunds=function(){return this.refunds},s.prototype.setNet=function(t){this.net=t},s.prototype.getNet=function(){return this.net},s.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},s.prototype.getGiftCardLoads=function(){return this.giftCardLoads},s.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},s.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},s.prototype.setTax=function(t){this.tax=t},s.prototype.getTax=function(){return this.tax},s.prototype.setTips=function(t){this.tips=t},s.prototype.getTips=function(){return this.tips},s.prototype.setCardTotals=function(t){this.cardTotals=t},s.prototype.getCardTotals=function(){return this.cardTotals},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.deviceId={},s._meta_.fields.deviceId.type=Number,s._meta_.fields.deviceSerial={},s._meta_.fields.deviceSerial.type=String,s._meta_.fields.deviceName={},s._meta_.fields.deviceName.type=String,s._meta_.fields.terminalId={},s._meta_.fields.terminalId.type=String,s._meta_.fields.sales={},s._meta_.fields.sales.type=o,s._meta_.fields.refunds={},s._meta_.fields.refunds.type=o,s._meta_.fields.net={},s._meta_.fields.net.type=o,s._meta_.fields.giftCardLoads={},s._meta_.fields.giftCardLoads.type=o,s._meta_.fields.giftCardCashOuts={},s._meta_.fields.giftCardCashOuts.type=o,s._meta_.fields.tax={},s._meta_.fields.tax.type=o,s._meta_.fields.tips={},s._meta_.fields.tips.type=o,s._meta_.fields.cardTotals={},s._meta_.fields.cardTotals.type=Array,s._meta_.fields.cardTotals.elementType=n,t.exports=s},78648:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.discount=void 0,this.merchant=void 0,this.approvedBy=void 0,this.order=void 0,this.lineItem=void 0,this.createdTime=void 0,this.environment=void 0};o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.setApprovedBy=function(t){this.approvedBy=t},o.prototype.getApprovedBy=function(){return this.approvedBy},o.prototype.setOrder=function(t){this.order=t},o.prototype.getOrder=function(){return this.order},o.prototype.setLineItem=function(t){this.lineItem=t},o.prototype.getLineItem=function(){return this.lineItem},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setEnvironment=function(t){this.environment=t},o.prototype.getEnvironment=function(){return this.environment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,o._meta_.fields.approvedBy={},o._meta_.fields.approvedBy.type=n,o._meta_.fields.order={},o._meta_.fields.order.type=n,o._meta_.fields.lineItem={},o._meta_.fields.lineItem.type=n,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.environment={},o._meta_.fields.environment.type=String,t.exports=o},21570:(t,e,i)=>{var n=i(2444),o=i(95615),s=function(){this._class_=s,this.eCommTransaction=void 0,this.credentialOnFile=void 0,this.tokenType=void 0,this.ecommIndicator=void 0};s.prototype.setECommTransaction=function(t){this.eCommTransaction=t},s.prototype.getECommTransaction=function(){return this.eCommTransaction},s.prototype.setCredentialOnFile=function(t){this.credentialOnFile=t},s.prototype.getCredentialOnFile=function(){return this.credentialOnFile},s.prototype.setTokenType=function(t){this.tokenType=t},s.prototype.getTokenType=function(){return this.tokenType},s.prototype.setEcommIndicator=function(t){this.ecommIndicator=t},s.prototype.getEcommIndicator=function(){return this.ecommIndicator},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.eCommTransaction={},s._meta_.fields.eCommTransaction.type=Boolean,s._meta_.fields.credentialOnFile={},s._meta_.fields.credentialOnFile.type=Boolean,s._meta_.fields.tokenType={},s._meta_.fields.tokenType.type=o,s._meta_.fields.ecommIndicator={},s._meta_.fields.ecommIndicator.type=n,t.exports=s},12299:(t,e,i)=>{var n=i(19964),o=function(){this._class_=o,this.success=void 0,this.endpointName=void 0,this.batchNumber=void 0,this.terminalId=void 0,this.count=void 0,this.total=void 0,this.cardTotals=void 0};o.prototype.setSuccess=function(t){this.success=t},o.prototype.getSuccess=function(){return this.success},o.prototype.setEndpointName=function(t){this.endpointName=t},o.prototype.getEndpointName=function(){return this.endpointName},o.prototype.setBatchNumber=function(t){this.batchNumber=t},o.prototype.getBatchNumber=function(){return this.batchNumber},o.prototype.setTerminalId=function(t){this.terminalId=t},o.prototype.getTerminalId=function(){return this.terminalId},o.prototype.setCount=function(t){this.count=t},o.prototype.getCount=function(){return this.count},o.prototype.setTotal=function(t){this.total=t},o.prototype.getTotal=function(){return this.total},o.prototype.setCardTotals=function(t){this.cardTotals=t},o.prototype.getCardTotals=function(){return this.cardTotals},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.success={},o._meta_.fields.success.type=Boolean,o._meta_.fields.endpointName={},o._meta_.fields.endpointName.type=String,o._meta_.fields.batchNumber={},o._meta_.fields.batchNumber.type=String,o._meta_.fields.terminalId={},o._meta_.fields.terminalId.type=String,o._meta_.fields.count={},o._meta_.fields.count.type=Number,o._meta_.fields.total={},o._meta_.fields.total.type=Number,o._meta_.fields.cardTotals={},o._meta_.fields.cardTotals.type=Array,o._meta_.fields.cardTotals.elementType=n,t.exports=o},76497:(t,e,i)=>{var n=i(34160),o=i(33513),s=function(){this._class_=s,this.merchantName=void 0,this.mid=void 0,this.cid=void 0,this.batchId=void 0,this.txCount=void 0,this.state=void 0,this.batchType=void 0,this.createdTime=void 0,this.retries=void 0};s.prototype.setMerchantName=function(t){this.merchantName=t},s.prototype.getMerchantName=function(){return this.merchantName},s.prototype.setMid=function(t){this.mid=t},s.prototype.getMid=function(){return this.mid},s.prototype.setCid=function(t){this.cid=t},s.prototype.getCid=function(){return this.cid},s.prototype.setBatchId=function(t){this.batchId=t},s.prototype.getBatchId=function(){return this.batchId},s.prototype.setTxCount=function(t){this.txCount=t},s.prototype.getTxCount=function(){return this.txCount},s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s.prototype.setBatchType=function(t){this.batchType=t},s.prototype.getBatchType=function(){return this.batchType},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setRetries=function(t){this.retries=t},s.prototype.getRetries=function(){return this.retries},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.merchantName={},s._meta_.fields.merchantName.type=String,s._meta_.fields.mid={},s._meta_.fields.mid.type=String,s._meta_.fields.cid={},s._meta_.fields.cid.type=String,s._meta_.fields.batchId={},s._meta_.fields.batchId.type=String,s._meta_.fields.txCount={},s._meta_.fields.txCount.type=Number,s._meta_.fields.state={},s._meta_.fields.state.type=o,s._meta_.fields.batchType={},s._meta_.fields.batchType.type=n,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.retries={},s._meta_.fields.retries.type=Number,t.exports=s},6783:t=>{t.exports={VOID:"VOID",PROMPT:"PROMPT",IGNORE:"IGNORE",DECLINE:"DECLINE"}},80403:t=>{t.exports={AVS:"AVS",CVV:"CVV"}},4302:(t,e,i)=>{var n=i(6783),o=function(){this._class_=o,this.action=void 0,this.ruleTriggered=void 0,this.reason=void 0};o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setRuleTriggered=function(t){this.ruleTriggered=t},o.prototype.getRuleTriggered=function(){return this.ruleTriggered},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.action={},o._meta_.fields.action.type=n,o._meta_.fields.ruleTriggered={},o._meta_.fields.ruleTriggered.type=String,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},45318:t=>{t.exports={INITIATED:"INITIATED",INITIATED_ON_AUTH:"INITIATED_ON_AUTH",ACKNOWLEDGED:"ACKNOWLEDGED",CONNECT_FAILED:"CONNECT_FAILED",TIMEOUT:"TIMEOUT",FAILED:"FAILED",REVERSE_INITIATED:"REVERSE_INITIATED",REVERSE_INITIATED_ON_AUTH:"REVERSE_INITIATED_ON_AUTH",REVERSED:"REVERSED",REVERSAL_FAILED:"REVERSAL_FAILED",EXTERNAL:"EXTERNAL"}},13911:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",CASH_ADVANCE:"CASH_ADVANCE",INTERNET_ACTIVATE:"INTERNET_ACTIVATE",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},21029:(t,e,i)=>{var n=i(14264),o=i(4212),s=i(56614),r=i(45318),a=i(13911),l=function(){this._class_=l,this.merchantGatewayId=void 0,this.clientId=void 0,this.amount=void 0,this.adjustAmount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.refundTaxAmount=void 0,this.currency=void 0,this.state=void 0,this.retries=void 0,this.type=void 0,this.entryType=void 0,this.responseCode=void 0,this.responseMessage=void 0,this.first4=void 0,this.last4=void 0,this.cardType=void 0,this.refnum=void 0,this.token=void 0,this.authcode=void 0,this.employeeId=void 0,this.extra=void 0,this.captured=void 0,this.swiperSerial=void 0,this.ksnPrefix=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.refundId=void 0,this.paymentRefundId=void 0,this.extraGatewayInfo=void 0,this.refundDeviceId=void 0,this.paymentDeviceId=void 0,this.paymentUuid=void 0,this.refundUuid=void 0,this.creditUuid=void 0};l.prototype.setMerchantGatewayId=function(t){this.merchantGatewayId=t},l.prototype.getMerchantGatewayId=function(){return this.merchantGatewayId},l.prototype.setClientId=function(t){this.clientId=t},l.prototype.getClientId=function(){return this.clientId},l.prototype.setAmount=function(t){this.amount=t},l.prototype.getAmount=function(){return this.amount},l.prototype.setAdjustAmount=function(t){this.adjustAmount=t},l.prototype.getAdjustAmount=function(){return this.adjustAmount},l.prototype.setTaxAmount=function(t){this.taxAmount=t},l.prototype.getTaxAmount=function(){return this.taxAmount},l.prototype.setTipAmount=function(t){this.tipAmount=t},l.prototype.getTipAmount=function(){return this.tipAmount},l.prototype.setRefundTaxAmount=function(t){this.refundTaxAmount=t},l.prototype.getRefundTaxAmount=function(){return this.refundTaxAmount},l.prototype.setCurrency=function(t){this.currency=t},l.prototype.getCurrency=function(){return this.currency},l.prototype.setState=function(t){this.state=t},l.prototype.getState=function(){return this.state},l.prototype.setRetries=function(t){this.retries=t},l.prototype.getRetries=function(){return this.retries},l.prototype.setType=function(t){this.type=t},l.prototype.getType=function(){return this.type},l.prototype.setEntryType=function(t){this.entryType=t},l.prototype.getEntryType=function(){return this.entryType},l.prototype.setResponseCode=function(t){this.responseCode=t},l.prototype.getResponseCode=function(){return this.responseCode},l.prototype.setResponseMessage=function(t){this.responseMessage=t},l.prototype.getResponseMessage=function(){return this.responseMessage},l.prototype.setFirst4=function(t){this.first4=t},l.prototype.getFirst4=function(){return this.first4},l.prototype.setLast4=function(t){this.last4=t},l.prototype.getLast4=function(){return this.last4},l.prototype.setCardType=function(t){this.cardType=t},l.prototype.getCardType=function(){return this.cardType},l.prototype.setRefnum=function(t){this.refnum=t},l.prototype.getRefnum=function(){return this.refnum},l.prototype.setToken=function(t){this.token=t},l.prototype.getToken=function(){return this.token},l.prototype.setAuthcode=function(t){this.authcode=t},l.prototype.getAuthcode=function(){return this.authcode},l.prototype.setEmployeeId=function(t){this.employeeId=t},l.prototype.getEmployeeId=function(){return this.employeeId},l.prototype.setExtra=function(t){this.extra=t},l.prototype.getExtra=function(){return this.extra},l.prototype.setCaptured=function(t){this.captured=t},l.prototype.getCaptured=function(){return this.captured},l.prototype.setSwiperSerial=function(t){this.swiperSerial=t},l.prototype.getSwiperSerial=function(){return this.swiperSerial},l.prototype.setKsnPrefix=function(t){this.ksnPrefix=t},l.prototype.getKsnPrefix=function(){return this.ksnPrefix},l.prototype.setCreatedTime=function(t){this.createdTime=t},l.prototype.getCreatedTime=function(){return this.createdTime},l.prototype.setModifiedTime=function(t){this.modifiedTime=t},l.prototype.getModifiedTime=function(){return this.modifiedTime},l.prototype.setRefundId=function(t){this.refundId=t},l.prototype.getRefundId=function(){return this.refundId},l.prototype.setPaymentRefundId=function(t){this.paymentRefundId=t},l.prototype.getPaymentRefundId=function(){return this.paymentRefundId},l.prototype.setExtraGatewayInfo=function(t){this.extraGatewayInfo=t},l.prototype.getExtraGatewayInfo=function(){return this.extraGatewayInfo},l.prototype.setRefundDeviceId=function(t){this.refundDeviceId=t},l.prototype.getRefundDeviceId=function(){return this.refundDeviceId},l.prototype.setPaymentDeviceId=function(t){this.paymentDeviceId=t},l.prototype.getPaymentDeviceId=function(){return this.paymentDeviceId},l.prototype.setPaymentUuid=function(t){this.paymentUuid=t},l.prototype.getPaymentUuid=function(){return this.paymentUuid},l.prototype.setRefundUuid=function(t){this.refundUuid=t},l.prototype.getRefundUuid=function(){return this.refundUuid},l.prototype.setCreditUuid=function(t){this.creditUuid=t},l.prototype.getCreditUuid=function(){return this.creditUuid},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.merchantGatewayId={},l._meta_.fields.merchantGatewayId.type=Number,l._meta_.fields.clientId={},l._meta_.fields.clientId.type=String,l._meta_.fields.amount={},l._meta_.fields.amount.type=Number,l._meta_.fields.adjustAmount={},l._meta_.fields.adjustAmount.type=Number,l._meta_.fields.taxAmount={},l._meta_.fields.taxAmount.type=Number,l._meta_.fields.tipAmount={},l._meta_.fields.tipAmount.type=Number,l._meta_.fields.refundTaxAmount={},l._meta_.fields.refundTaxAmount.type=Number,l._meta_.fields.currency={},l._meta_.fields.currency.type=n,l._meta_.fields.state={},l._meta_.fields.state.type=r,l._meta_.fields.retries={},l._meta_.fields.retries.type=Number,l._meta_.fields.type={},l._meta_.fields.type.type=a,l._meta_.fields.entryType={},l._meta_.fields.entryType.type=s,l._meta_.fields.responseCode={},l._meta_.fields.responseCode.type=String,l._meta_.fields.responseMessage={},l._meta_.fields.responseMessage.type=String,l._meta_.fields.first4={},l._meta_.fields.first4.type=String,l._meta_.fields.last4={},l._meta_.fields.last4.type=String,l._meta_.fields.cardType={},l._meta_.fields.cardType.type=o,l._meta_.fields.refnum={},l._meta_.fields.refnum.type=String,l._meta_.fields.token={},l._meta_.fields.token.type=String,l._meta_.fields.authcode={},l._meta_.fields.authcode.type=String,l._meta_.fields.employeeId={},l._meta_.fields.employeeId.type=String,l._meta_.fields.extra={},l._meta_.fields.extra.type=String,l._meta_.fields.captured={},l._meta_.fields.captured.type=Boolean,l._meta_.fields.swiperSerial={},l._meta_.fields.swiperSerial.type=String,l._meta_.fields.ksnPrefix={},l._meta_.fields.ksnPrefix.type=String,l._meta_.fields.createdTime={},l._meta_.fields.createdTime.type=Number,l._meta_.fields.modifiedTime={},l._meta_.fields.modifiedTime.type=Number,l._meta_.fields.refundId={},l._meta_.fields.refundId.type=Number,l._meta_.fields.paymentRefundId={},l._meta_.fields.paymentRefundId.type=Number,l._meta_.fields.extraGatewayInfo={},l._meta_.fields.extraGatewayInfo.type=Object,l._meta_.fields.refundDeviceId={},l._meta_.fields.refundDeviceId.type=Number,l._meta_.fields.paymentDeviceId={},l._meta_.fields.paymentDeviceId.type=Number,l._meta_.fields.paymentUuid={},l._meta_.fields.paymentUuid.type=String,l._meta_.fields.refundUuid={},l._meta_.fields.refundUuid.type=String,l._meta_.fields.creditUuid={},l._meta_.fields.creditUuid.type=String,t.exports=l},17589:t=>{var e=function(){this._class_=e,this.cardTrack2=void 0,this.cardSequenceNumber=void 0,this.transactionCaseGermany=void 0,this.transactionTypeGermany=void 0,this.terminalID=void 0,this.traceNumber=void 0,this.oldTraceNumber=void 0,this.receiptNumber=void 0,this.transactionAID=void 0,this.transactionMSApp=void 0,this.transactionScriptResults=void 0,this.receiptType=void 0,this.customerTransactionDOLValues=void 0,this.merchantTransactionDOLValues=void 0,this.merchantJournalDOL=void 0,this.merchantJournalDOLValues=void 0,this.configMerchantId=void 0,this.configProductLabel=void 0,this.hostResponseAidParBMP53=void 0,this.hostResponsePrintDataBM60=void 0,this.sepaElvReceiptFormat=void 0,this.sepaElvExtAppLabel=void 0,this.sepaElvPreNotification=void 0,this.sepaElvMandate=void 0,this.sepaElvCreditorId=void 0,this.sepaElvMandateId=void 0,this.sepaElvIban=void 0};e.prototype.setCardTrack2=function(t){this.cardTrack2=t},e.prototype.getCardTrack2=function(){return this.cardTrack2},e.prototype.setCardSequenceNumber=function(t){this.cardSequenceNumber=t},e.prototype.getCardSequenceNumber=function(){return this.cardSequenceNumber},e.prototype.setTransactionCaseGermany=function(t){this.transactionCaseGermany=t},e.prototype.getTransactionCaseGermany=function(){return this.transactionCaseGermany},e.prototype.setTransactionTypeGermany=function(t){this.transactionTypeGermany=t},e.prototype.getTransactionTypeGermany=function(){return this.transactionTypeGermany},e.prototype.setTerminalID=function(t){this.terminalID=t},e.prototype.getTerminalID=function(){return this.terminalID},e.prototype.setTraceNumber=function(t){this.traceNumber=t},e.prototype.getTraceNumber=function(){return this.traceNumber},e.prototype.setOldTraceNumber=function(t){this.oldTraceNumber=t},e.prototype.getOldTraceNumber=function(){return this.oldTraceNumber},e.prototype.setReceiptNumber=function(t){this.receiptNumber=t},e.prototype.getReceiptNumber=function(){return this.receiptNumber},e.prototype.setTransactionAID=function(t){this.transactionAID=t},e.prototype.getTransactionAID=function(){return this.transactionAID},e.prototype.setTransactionMSApp=function(t){this.transactionMSApp=t},e.prototype.getTransactionMSApp=function(){return this.transactionMSApp},e.prototype.setTransactionScriptResults=function(t){this.transactionScriptResults=t},e.prototype.getTransactionScriptResults=function(){return this.transactionScriptResults},e.prototype.setReceiptType=function(t){this.receiptType=t},e.prototype.getReceiptType=function(){return this.receiptType},e.prototype.setCustomerTransactionDOLValues=function(t){this.customerTransactionDOLValues=t},e.prototype.getCustomerTransactionDOLValues=function(){return this.customerTransactionDOLValues},e.prototype.setMerchantTransactionDOLValues=function(t){this.merchantTransactionDOLValues=t},e.prototype.getMerchantTransactionDOLValues=function(){return this.merchantTransactionDOLValues},e.prototype.setMerchantJournalDOL=function(t){this.merchantJournalDOL=t},e.prototype.getMerchantJournalDOL=function(){return this.merchantJournalDOL},e.prototype.setMerchantJournalDOLValues=function(t){this.merchantJournalDOLValues=t},e.prototype.getMerchantJournalDOLValues=function(){return this.merchantJournalDOLValues},e.prototype.setConfigMerchantId=function(t){this.configMerchantId=t},e.prototype.getConfigMerchantId=function(){return this.configMerchantId},e.prototype.setConfigProductLabel=function(t){this.configProductLabel=t},e.prototype.getConfigProductLabel=function(){return this.configProductLabel},e.prototype.setHostResponseAidParBMP53=function(t){this.hostResponseAidParBMP53=t},e.prototype.getHostResponseAidParBMP53=function(){return this.hostResponseAidParBMP53},e.prototype.setHostResponsePrintDataBM60=function(t){this.hostResponsePrintDataBM60=t},e.prototype.getHostResponsePrintDataBM60=function(){return this.hostResponsePrintDataBM60},e.prototype.setSepaElvReceiptFormat=function(t){this.sepaElvReceiptFormat=t},e.prototype.getSepaElvReceiptFormat=function(){return this.sepaElvReceiptFormat},e.prototype.setSepaElvExtAppLabel=function(t){this.sepaElvExtAppLabel=t},e.prototype.getSepaElvExtAppLabel=function(){return this.sepaElvExtAppLabel},e.prototype.setSepaElvPreNotification=function(t){this.sepaElvPreNotification=t},e.prototype.getSepaElvPreNotification=function(){return this.sepaElvPreNotification},e.prototype.setSepaElvMandate=function(t){this.sepaElvMandate=t},e.prototype.getSepaElvMandate=function(){return this.sepaElvMandate},e.prototype.setSepaElvCreditorId=function(t){this.sepaElvCreditorId=t},e.prototype.getSepaElvCreditorId=function(){return this.sepaElvCreditorId},e.prototype.setSepaElvMandateId=function(t){this.sepaElvMandateId=t},e.prototype.getSepaElvMandateId=function(){return this.sepaElvMandateId},e.prototype.setSepaElvIban=function(t){this.sepaElvIban=t},e.prototype.getSepaElvIban=function(){return this.sepaElvIban},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.cardTrack2={},e._meta_.fields.cardTrack2.type=String,e._meta_.fields.cardSequenceNumber={},e._meta_.fields.cardSequenceNumber.type=String,e._meta_.fields.transactionCaseGermany={},e._meta_.fields.transactionCaseGermany.type=String,e._meta_.fields.transactionTypeGermany={},e._meta_.fields.transactionTypeGermany.type=String,e._meta_.fields.terminalID={},e._meta_.fields.terminalID.type=String,e._meta_.fields.traceNumber={},e._meta_.fields.traceNumber.type=String,e._meta_.fields.oldTraceNumber={},e._meta_.fields.oldTraceNumber.type=String,e._meta_.fields.receiptNumber={},e._meta_.fields.receiptNumber.type=String,e._meta_.fields.transactionAID={},e._meta_.fields.transactionAID.type=String,e._meta_.fields.transactionMSApp={},e._meta_.fields.transactionMSApp.type=String,e._meta_.fields.transactionScriptResults={},e._meta_.fields.transactionScriptResults.type=String,e._meta_.fields.receiptType={},e._meta_.fields.receiptType.type=String,e._meta_.fields.customerTransactionDOLValues={},e._meta_.fields.customerTransactionDOLValues.type=String,e._meta_.fields.merchantTransactionDOLValues={},e._meta_.fields.merchantTransactionDOLValues.type=String,e._meta_.fields.merchantJournalDOL={},e._meta_.fields.merchantJournalDOL.type=String,e._meta_.fields.merchantJournalDOLValues={},e._meta_.fields.merchantJournalDOLValues.type=String,e._meta_.fields.configMerchantId={},e._meta_.fields.configMerchantId.type=String,e._meta_.fields.configProductLabel={},e._meta_.fields.configProductLabel.type=String,e._meta_.fields.hostResponseAidParBMP53={},e._meta_.fields.hostResponseAidParBMP53.type=String,e._meta_.fields.hostResponsePrintDataBM60={},e._meta_.fields.hostResponsePrintDataBM60.type=String,e._meta_.fields.sepaElvReceiptFormat={},e._meta_.fields.sepaElvReceiptFormat.type=String,e._meta_.fields.sepaElvExtAppLabel={},e._meta_.fields.sepaElvExtAppLabel.type=String,e._meta_.fields.sepaElvPreNotification={},e._meta_.fields.sepaElvPreNotification.type=String,e._meta_.fields.sepaElvMandate={},e._meta_.fields.sepaElvMandate.type=String,e._meta_.fields.sepaElvCreditorId={},e._meta_.fields.sepaElvCreditorId.type=String,e._meta_.fields.sepaElvMandateId={},e._meta_.fields.sepaElvMandateId.type=String,e._meta_.fields.sepaElvIban={},e._meta_.fields.sepaElvIban.type=String,t.exports=e},26175:t=>{var e=function(){this._class_=e,this.track2=void 0,this.cardNumber=void 0,this.isManuallyEntered=!1,this.deviceSerial=void 0,this.virtual=!1,this.promoCode=void 0};e.prototype.setTrack2=function(t){this.track2=t},e.prototype.getTrack2=function(){return this.track2},e.prototype.setCardNumber=function(t){this.cardNumber=t},e.prototype.getCardNumber=function(){return this.cardNumber},e.prototype.setIsManuallyEntered=function(t){this.isManuallyEntered=t},e.prototype.getIsManuallyEntered=function(){return this.isManuallyEntered},e.prototype.setDeviceSerial=function(t){this.deviceSerial=t},e.prototype.getDeviceSerial=function(){return this.deviceSerial},e.prototype.setVirtual=function(t){this.virtual=t},e.prototype.getVirtual=function(){return this.virtual},e.prototype.setPromoCode=function(t){this.promoCode=t},e.prototype.getPromoCode=function(){return this.promoCode},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.track2={},e._meta_.fields.track2.type=String,e._meta_.fields.cardNumber={},e._meta_.fields.cardNumber.type=String,e._meta_.fields.isManuallyEntered={},e._meta_.fields.isManuallyEntered.type=Boolean,e._meta_.fields.deviceSerial={},e._meta_.fields.deviceSerial.type=String,e._meta_.fields.virtual={},e._meta_.fields.virtual.type=Boolean,e._meta_.fields.promoCode={},e._meta_.fields.promoCode.type=String,t.exports=e},91038:(t,e,i)=>{var n=i(59042),o=i(82794),s=i(82447),r=function(){this._class_=r,this.txType=void 0,this.state=n.INVALID,this.requestAmount=void 0,this.payment=void 0,this.responseMessage=void 0,this.requestSuccessful=!1,this.accountNumber=void 0,this.scv=void 0,this.giftCardTxUuid=void 0,this.transactionId=void 0,this.referenceUuid=void 0,this.authCode=void 0,this.begBal=void 0,this.endBal=void 0,this.holdBal=void 0,this.syncPaymentObject=void 0};r.prototype.setTxType=function(t){this.txType=t},r.prototype.getTxType=function(){return this.txType},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setRequestAmount=function(t){this.requestAmount=t},r.prototype.getRequestAmount=function(){return this.requestAmount},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setResponseMessage=function(t){this.responseMessage=t},r.prototype.getResponseMessage=function(){return this.responseMessage},r.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},r.prototype.getRequestSuccessful=function(){return this.requestSuccessful},r.prototype.setAccountNumber=function(t){this.accountNumber=t},r.prototype.getAccountNumber=function(){return this.accountNumber},r.prototype.setScv=function(t){this.scv=t},r.prototype.getScv=function(){return this.scv},r.prototype.setGiftCardTxUuid=function(t){this.giftCardTxUuid=t},r.prototype.getGiftCardTxUuid=function(){return this.giftCardTxUuid},r.prototype.setTransactionId=function(t){this.transactionId=t},r.prototype.getTransactionId=function(){return this.transactionId},r.prototype.setReferenceUuid=function(t){this.referenceUuid=t},r.prototype.getReferenceUuid=function(){return this.referenceUuid},r.prototype.setAuthCode=function(t){this.authCode=t},r.prototype.getAuthCode=function(){return this.authCode},r.prototype.setBegBal=function(t){this.begBal=t},r.prototype.getBegBal=function(){return this.begBal},r.prototype.setEndBal=function(t){this.endBal=t},r.prototype.getEndBal=function(){return this.endBal},r.prototype.setHoldBal=function(t){this.holdBal=t},r.prototype.getHoldBal=function(){return this.holdBal},r.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},r.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.txType={},r._meta_.fields.txType.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.requestAmount={},r._meta_.fields.requestAmount.type=Number,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.responseMessage={},r._meta_.fields.responseMessage.type=String,r._meta_.fields.requestSuccessful={},r._meta_.fields.requestSuccessful.type=Boolean,r._meta_.fields.accountNumber={},r._meta_.fields.accountNumber.type=String,r._meta_.fields.scv={},r._meta_.fields.scv.type=String,r._meta_.fields.giftCardTxUuid={},r._meta_.fields.giftCardTxUuid.type=String,r._meta_.fields.transactionId={},r._meta_.fields.transactionId.type=String,r._meta_.fields.referenceUuid={},r._meta_.fields.referenceUuid.type=String,r._meta_.fields.authCode={},r._meta_.fields.authCode.type=String,r._meta_.fields.begBal={},r._meta_.fields.begBal.type=Number,r._meta_.fields.endBal={},r._meta_.fields.endBal.type=Number,r._meta_.fields.holdBal={},r._meta_.fields.holdBal.type=Number,r._meta_.fields.syncPaymentObject={},r._meta_.fields.syncPaymentObject.type=Boolean,t.exports=r},59042:t=>{t.exports={INVALID:"INVALID",ACTIVATED:"ACTIVATED",INACTIVE:"INACTIVE"}},84725:(t,e,i)=>{var n=i(62886),o=i(52448),s=i(66824),r=i(26175),a=function(){this._class_=a,this.id=void 0,this.amount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.orderId=void 0,this.card=void 0,this.paymentIds=void 0,this.ignorePayment=!1,this.serviceChargeAmount=void 0,this.taxableAmountRates=void 0,this.lineItems=void 0,this.employeeId=void 0,this.suppressPayment="false"};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setAmount=function(t){this.amount=t},a.prototype.getAmount=function(){return this.amount},a.prototype.setTaxAmount=function(t){this.taxAmount=t},a.prototype.getTaxAmount=function(){return this.taxAmount},a.prototype.setTipAmount=function(t){this.tipAmount=t},a.prototype.getTipAmount=function(){return this.tipAmount},a.prototype.setOrderId=function(t){this.orderId=t},a.prototype.getOrderId=function(){return this.orderId},a.prototype.setCard=function(t){this.card=t},a.prototype.getCard=function(){return this.card},a.prototype.setPaymentIds=function(t){this.paymentIds=t},a.prototype.getPaymentIds=function(){return this.paymentIds},a.prototype.setIgnorePayment=function(t){this.ignorePayment=t},a.prototype.getIgnorePayment=function(){return this.ignorePayment},a.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},a.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},a.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},a.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},a.prototype.setLineItems=function(t){this.lineItems=t},a.prototype.getLineItems=function(){return this.lineItems},a.prototype.setEmployeeId=function(t){this.employeeId=t},a.prototype.getEmployeeId=function(){return this.employeeId},a.prototype.setSuppressPayment=function(t){this.suppressPayment=t},a.prototype.getSuppressPayment=function(){return this.suppressPayment},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.amount={},a._meta_.fields.amount.type=Number,a._meta_.fields.taxAmount={},a._meta_.fields.taxAmount.type=Number,a._meta_.fields.tipAmount={},a._meta_.fields.tipAmount.type=Number,a._meta_.fields.orderId={},a._meta_.fields.orderId.type=String,a._meta_.fields.card={},a._meta_.fields.card.type=r,a._meta_.fields.paymentIds={},a._meta_.fields.paymentIds.type=Array,a._meta_.fields.ignorePayment={},a._meta_.fields.ignorePayment.type=Boolean,a._meta_.fields.serviceChargeAmount={},a._meta_.fields.serviceChargeAmount.type=s,a._meta_.fields.taxableAmountRates={},a._meta_.fields.taxableAmountRates.type=Array,a._meta_.fields.taxableAmountRates.elementType=o,a._meta_.fields.lineItems={},a._meta_.fields.lineItems.type=Array,a._meta_.fields.lineItems.elementType=n,a._meta_.fields.employeeId={},a._meta_.fields.employeeId.type=String,a._meta_.fields.suppressPayment={},a._meta_.fields.suppressPayment.type=Boolean,t.exports=a},20275:t=>{t.exports={DRIVERS_LICENSE:"DRIVERS_LICENSE",PASSPORT:"PASSPORT"}},79035:(t,e,i)=>{var n=i(113),o=i(51029),s=i(4448),r=function(){this._class_=r,this.id=void 0,this.merchantId=void 0,this.paymentId=void 0,this.gatewayTxId=void 0,this.amount=void 0,this.cardTransaction=void 0,this.result=void 0,this.createdTime=void 0,this.employee=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setMerchantId=function(t){this.merchantId=t},r.prototype.getMerchantId=function(){return this.merchantId},r.prototype.setPaymentId=function(t){this.paymentId=t},r.prototype.getPaymentId=function(){return this.paymentId},r.prototype.setGatewayTxId=function(t){this.gatewayTxId=t},r.prototype.getGatewayTxId=function(){return this.gatewayTxId},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardTransaction=function(t){this.cardTransaction=t},r.prototype.getCardTransaction=function(){return this.cardTransaction},r.prototype.setResult=function(t){this.result=t},r.prototype.getResult=function(){return this.result},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setEmployee=function(t){this.employee=t},r.prototype.getEmployee=function(){return this.employee},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=Number,r._meta_.fields.paymentId={},r._meta_.fields.paymentId.type=Number,r._meta_.fields.gatewayTxId={},r._meta_.fields.gatewayTxId.type=Number,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardTransaction={},r._meta_.fields.cardTransaction.type=n,r._meta_.fields.result={},r._meta_.fields.result.type=o,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.employee={},r._meta_.fields.employee.type=s,t.exports=r},62886:t=>{var e=function(){this._class_=e,this.id=void 0,this.percentage=void 0,this.binName=void 0,this.refunded=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setBinName=function(t){this.binName=t},e.prototype.getBinName=function(){return this.binName},e.prototype.setRefunded=function(t){this.refunded=t},e.prototype.getRefunded=function(){return this.refunded},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.binName={},e._meta_.fields.binName.type=String,e._meta_.fields.refunded={},e._meta_.fields.refunded.type=Boolean,t.exports=e},82794:(t,e,i)=>{var n=i(51029),o=i(48067),s=i(66824),r=i(96207),a=i(82986),l=i(11654),d=i(37471),u=i(17589),p=i(113),_=i(62886),c=i(3306),m=i(79035),f=i(12033),h=i(50234),y=i(4448),v=i(50775),g=i(56135),T=i(99485),S=function(){this._class_=S,this.id=void 0,this.order=void 0,this.device=void 0,this.tender=void 0,this.amount=void 0,this.tipAmount=void 0,this.taxAmount=void 0,this.cashbackAmount=void 0,this.cashTendered=void 0,this.externalPaymentId=void 0,this.employee=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.modifiedTime=void 0,this.offline=!1,this.result=void 0,this.cardTransaction=void 0,this.serviceCharge=void 0,this.attributes=void 0,this.additionalCharges=void 0,this.taxRates=void 0,this.refunds=void 0,this.note=void 0,this.lineItemPayments=void 0,this.authorization=void 0,this.voidPaymentRef=void 0,this.voidReason=void 0,this.dccInfo=void 0,this.transactionSettings=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.cashAdvanceExtra=void 0,this.transactionInfo=void 0,this.signatureDisclaimer=void 0,this.externalReferenceId=void 0,this.merchant=void 0,this.increments=void 0};S.prototype.setId=function(t){this.id=t},S.prototype.getId=function(){return this.id},S.prototype.setOrder=function(t){this.order=t},S.prototype.getOrder=function(){return this.order},S.prototype.setDevice=function(t){this.device=t},S.prototype.getDevice=function(){return this.device},S.prototype.setTender=function(t){this.tender=t},S.prototype.getTender=function(){return this.tender},S.prototype.setAmount=function(t){this.amount=t},S.prototype.getAmount=function(){return this.amount},S.prototype.setTipAmount=function(t){this.tipAmount=t},S.prototype.getTipAmount=function(){return this.tipAmount},S.prototype.setTaxAmount=function(t){this.taxAmount=t},S.prototype.getTaxAmount=function(){return this.taxAmount},S.prototype.setCashbackAmount=function(t){this.cashbackAmount=t},S.prototype.getCashbackAmount=function(){return this.cashbackAmount},S.prototype.setCashTendered=function(t){this.cashTendered=t},S.prototype.getCashTendered=function(){return this.cashTendered},S.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},S.prototype.getExternalPaymentId=function(){return this.externalPaymentId},S.prototype.setEmployee=function(t){this.employee=t},S.prototype.getEmployee=function(){return this.employee},S.prototype.setCreatedTime=function(t){this.createdTime=t},S.prototype.getCreatedTime=function(){return this.createdTime},S.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},S.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},S.prototype.setModifiedTime=function(t){this.modifiedTime=t},S.prototype.getModifiedTime=function(){return this.modifiedTime},S.prototype.setOffline=function(t){this.offline=t},S.prototype.getOffline=function(){return this.offline},S.prototype.setResult=function(t){this.result=t},S.prototype.getResult=function(){return this.result},S.prototype.setCardTransaction=function(t){this.cardTransaction=t},S.prototype.getCardTransaction=function(){return this.cardTransaction},S.prototype.setServiceCharge=function(t){this.serviceCharge=t},S.prototype.getServiceCharge=function(){return this.serviceCharge},S.prototype.setAttributes=function(t){this.attributes=t},S.prototype.getAttributes=function(){return this.attributes},S.prototype.setAdditionalCharges=function(t){this.additionalCharges=t},S.prototype.getAdditionalCharges=function(){return this.additionalCharges},S.prototype.setTaxRates=function(t){this.taxRates=t},S.prototype.getTaxRates=function(){return this.taxRates},S.prototype.setRefunds=function(t){this.refunds=t},S.prototype.getRefunds=function(){return this.refunds},S.prototype.setNote=function(t){this.note=t},S.prototype.getNote=function(){return this.note},S.prototype.setLineItemPayments=function(t){this.lineItemPayments=t},S.prototype.getLineItemPayments=function(){return this.lineItemPayments},S.prototype.setAuthorization=function(t){this.authorization=t},S.prototype.getAuthorization=function(){return this.authorization},S.prototype.setVoidPaymentRef=function(t){this.voidPaymentRef=t},S.prototype.getVoidPaymentRef=function(){return this.voidPaymentRef},S.prototype.setVoidReason=function(t){this.voidReason=t},S.prototype.getVoidReason=function(){return this.voidReason},S.prototype.setDccInfo=function(t){this.dccInfo=t},S.prototype.getDccInfo=function(){return this.dccInfo},S.prototype.setTransactionSettings=function(t){this.transactionSettings=t},S.prototype.getTransactionSettings=function(){return this.transactionSettings},S.prototype.setGermanInfo=function(t){this.germanInfo=t},S.prototype.getGermanInfo=function(){return this.germanInfo},S.prototype.setAppTracking=function(t){this.appTracking=t},S.prototype.getAppTracking=function(){return this.appTracking},S.prototype.setCashAdvanceExtra=function(t){this.cashAdvanceExtra=t},S.prototype.getCashAdvanceExtra=function(){return this.cashAdvanceExtra},S.prototype.setTransactionInfo=function(t){this.transactionInfo=t},S.prototype.getTransactionInfo=function(){return this.transactionInfo},S.prototype.setSignatureDisclaimer=function(t){this.signatureDisclaimer=t},S.prototype.getSignatureDisclaimer=function(){return this.signatureDisclaimer},S.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},S.prototype.getExternalReferenceId=function(){return this.externalReferenceId},S.prototype.setMerchant=function(t){this.merchant=t},S.prototype.getMerchant=function(){return this.merchant},S.prototype.setIncrements=function(t){this.increments=t},S.prototype.getIncrements=function(){return this.increments},S.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},S.prototype.toString=function(){return JSON.stringify(this)},S._meta_={fields:{}},S._meta_._class_=S,S._meta_.fields.id={},S._meta_.fields.id.type=String,S._meta_.fields.order={},S._meta_.fields.order.type=y,S._meta_.fields.device={},S._meta_.fields.device.type=y,S._meta_.fields.tender={},S._meta_.fields.tender.type=v,S._meta_.fields.amount={},S._meta_.fields.amount.type=Number,S._meta_.fields.tipAmount={},S._meta_.fields.tipAmount.type=Number,S._meta_.fields.taxAmount={},S._meta_.fields.taxAmount.type=Number,S._meta_.fields.cashbackAmount={},S._meta_.fields.cashbackAmount.type=Number,S._meta_.fields.cashTendered={},S._meta_.fields.cashTendered.type=Number,S._meta_.fields.externalPaymentId={},S._meta_.fields.externalPaymentId.type=String,S._meta_.fields.employee={},S._meta_.fields.employee.type=y,S._meta_.fields.createdTime={},S._meta_.fields.createdTime.type=Number,S._meta_.fields.clientCreatedTime={},S._meta_.fields.clientCreatedTime.type=Number,S._meta_.fields.modifiedTime={},S._meta_.fields.modifiedTime.type=Number,S._meta_.fields.offline={},S._meta_.fields.offline.type=Boolean,S._meta_.fields.result={},S._meta_.fields.result.type=n,S._meta_.fields.cardTransaction={},S._meta_.fields.cardTransaction.type=p,S._meta_.fields.serviceCharge={},S._meta_.fields.serviceCharge.type=s,S._meta_.fields.attributes={},S._meta_.fields.attributes.type=Object,S._meta_.fields.additionalCharges={},S._meta_.fields.additionalCharges.type=Array,S._meta_.fields.additionalCharges.elementType=o,S._meta_.fields.taxRates={},S._meta_.fields.taxRates.type=Array,S._meta_.fields.taxRates.elementType=r,S._meta_.fields.refunds={},S._meta_.fields.refunds.type=Array,S._meta_.fields.refunds.elementType=d,S._meta_.fields.note={},S._meta_.fields.note.type=String,S._meta_.fields.lineItemPayments={},S._meta_.fields.lineItemPayments.type=Array,S._meta_.fields.lineItemPayments.elementType=_,S._meta_.fields.authorization={},S._meta_.fields.authorization.type=y,S._meta_.fields.voidPaymentRef={},S._meta_.fields.voidPaymentRef.type=y,S._meta_.fields.voidReason={},S._meta_.fields.voidReason.type=c,S._meta_.fields.dccInfo={},S._meta_.fields.dccInfo.type=a,S._meta_.fields.transactionSettings={},S._meta_.fields.transactionSettings.type=g,S._meta_.fields.germanInfo={},S._meta_.fields.germanInfo.type=u,S._meta_.fields.appTracking={},S._meta_.fields.appTracking.type=f,S._meta_.fields.cashAdvanceExtra={},S._meta_.fields.cashAdvanceExtra.type=l,S._meta_.fields.transactionInfo={},S._meta_.fields.transactionInfo.type=h,S._meta_.fields.signatureDisclaimer={},S._meta_.fields.signatureDisclaimer.type=T,S._meta_.fields.externalReferenceId={},S._meta_.fields.externalReferenceId.type=String,S._meta_.fields.merchant={},S._meta_.fields.merchant.type=y,S._meta_.fields.increments={},S._meta_.fields.increments.type=Array,S._meta_.fields.increments.elementType=m,t.exports=S},4391:t=>{var e=function(){this._class_=e,this.type=void 0,this.value=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setValue=function(t){this.value=t},e.prototype.getValue=function(){return this.value},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.value={},e._meta_.fields.value.type=String,t.exports=e},90792:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.payment=void 0,this.clientData=void 0,this.syncPaymentObject=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},o.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,o._meta_.fields.syncPaymentObject={},o._meta_.fields.syncPaymentObject.type=Boolean,t.exports=o},5134:(t,e,i)=>{var n=i(4212),o=i(6783),s=i(80403),r=function(){this._class_=r,this.id=void 0,this.cardType=void 0,this.responseCode=void 0,this.responseCodeType=void 0,this.action=void 0,this.settingName=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setCardType=function(t){this.cardType=t},r.prototype.getCardType=function(){return this.cardType},r.prototype.setResponseCode=function(t){this.responseCode=t},r.prototype.getResponseCode=function(){return this.responseCode},r.prototype.setResponseCodeType=function(t){this.responseCodeType=t},r.prototype.getResponseCodeType=function(){return this.responseCodeType},r.prototype.setAction=function(t){this.action=t},r.prototype.getAction=function(){return this.action},r.prototype.setSettingName=function(t){this.settingName=t},r.prototype.getSettingName=function(){return this.settingName},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setModifiedTime=function(t){this.modifiedTime=t},r.prototype.getModifiedTime=function(){return this.modifiedTime},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.cardType={},r._meta_.fields.cardType.type=n,r._meta_.fields.responseCode={},r._meta_.fields.responseCode.type=String,r._meta_.fields.responseCodeType={},r._meta_.fields.responseCodeType.type=s,r._meta_.fields.action={},r._meta_.fields.action.type=o,r._meta_.fields.settingName={},r._meta_.fields.settingName.type=String,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.modifiedTime={},r._meta_.fields.modifiedTime.type=Number,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,t.exports=r},96207:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.rate=void 0,this.isDefault=void 0,this.taxableAmount=void 0,this.isVat=void 0,this.taxAmount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setRate=function(t){this.rate=t},e.prototype.getRate=function(){return this.rate},e.prototype.setIsDefault=function(t){this.isDefault=t},e.prototype.getIsDefault=function(){return this.isDefault},e.prototype.setTaxableAmount=function(t){this.taxableAmount=t},e.prototype.getTaxableAmount=function(){return this.taxableAmount},e.prototype.setIsVat=function(t){this.isVat=t},e.prototype.getIsVat=function(){return this.isVat},e.prototype.setTaxAmount=function(t){this.taxAmount=t},e.prototype.getTaxAmount=function(){return this.taxAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.rate={},e._meta_.fields.rate.type=Number,e._meta_.fields.isDefault={},e._meta_.fields.isDefault.type=Boolean,e._meta_.fields.taxableAmount={},e._meta_.fields.taxableAmount.type=Number,e._meta_.fields.isVat={},e._meta_.fields.isVat.type=Boolean,e._meta_.fields.taxAmount={},e._meta_.fields.taxAmount.type=Number,t.exports=e},65582:t=>{var e=function(){this._class_=e,this.message=void 0,this.showOnMerchantReceipt=void 0,this.showOnCustomerReceipt=void 0,this.showOnDisplay=void 0};e.prototype.setMessage=function(t){this.message=t},e.prototype.getMessage=function(){return this.message},e.prototype.setShowOnMerchantReceipt=function(t){this.showOnMerchantReceipt=t},e.prototype.getShowOnMerchantReceipt=function(){return this.showOnMerchantReceipt},e.prototype.setShowOnCustomerReceipt=function(t){this.showOnCustomerReceipt=t},e.prototype.getShowOnCustomerReceipt=function(){return this.showOnCustomerReceipt},e.prototype.setShowOnDisplay=function(t){this.showOnDisplay=t},e.prototype.getShowOnDisplay=function(){return this.showOnDisplay},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.message={},e._meta_.fields.message.type=String,e._meta_.fields.showOnMerchantReceipt={},e._meta_.fields.showOnMerchantReceipt.type=Boolean,e._meta_.fields.showOnCustomerReceipt={},e._meta_.fields.showOnCustomerReceipt.type=Boolean,e._meta_.fields.showOnDisplay={},e._meta_.fields.showOnDisplay.type=Boolean,t.exports=e},37471:(t,e,i)=>{var n=i(113),o=i(48067),s=i(52448),r=i(12033),a=i(66824),l=i(50234),d=i(4448),u=i(50775),p=i(17589),_=function(){this._class_=_,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.amount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.payment=void 0,this.employee=void 0,this.lineItems=void 0,this.overrideMerchantTender=void 0,this.taxableAmountRates=void 0,this.serviceChargeAmount=void 0,this.additionalCharges=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.voided=void 0,this.voidReason=void 0,this.cardTransaction=void 0,this.transactionInfo=void 0,this.merchant=void 0,this.externalReferenceId=void 0};_.prototype.setId=function(t){this.id=t},_.prototype.getId=function(){return this.id},_.prototype.setOrderRef=function(t){this.orderRef=t},_.prototype.getOrderRef=function(){return this.orderRef},_.prototype.setDevice=function(t){this.device=t},_.prototype.getDevice=function(){return this.device},_.prototype.setAmount=function(t){this.amount=t},_.prototype.getAmount=function(){return this.amount},_.prototype.setTaxAmount=function(t){this.taxAmount=t},_.prototype.getTaxAmount=function(){return this.taxAmount},_.prototype.setTipAmount=function(t){this.tipAmount=t},_.prototype.getTipAmount=function(){return this.tipAmount},_.prototype.setCreatedTime=function(t){this.createdTime=t},_.prototype.getCreatedTime=function(){return this.createdTime},_.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},_.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},_.prototype.setPayment=function(t){this.payment=t},_.prototype.getPayment=function(){return this.payment},_.prototype.setEmployee=function(t){this.employee=t},_.prototype.getEmployee=function(){return this.employee},_.prototype.setLineItems=function(t){this.lineItems=t},_.prototype.getLineItems=function(){return this.lineItems},_.prototype.setOverrideMerchantTender=function(t){this.overrideMerchantTender=t},_.prototype.getOverrideMerchantTender=function(){return this.overrideMerchantTender},_.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},_.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},_.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},_.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},_.prototype.setAdditionalCharges=function(t){this.additionalCharges=t},_.prototype.getAdditionalCharges=function(){return this.additionalCharges},_.prototype.setGermanInfo=function(t){this.germanInfo=t},_.prototype.getGermanInfo=function(){return this.germanInfo},_.prototype.setAppTracking=function(t){this.appTracking=t},_.prototype.getAppTracking=function(){return this.appTracking},_.prototype.setVoided=function(t){this.voided=t},_.prototype.getVoided=function(){return this.voided},_.prototype.setVoidReason=function(t){this.voidReason=t},_.prototype.getVoidReason=function(){return this.voidReason},_.prototype.setCardTransaction=function(t){this.cardTransaction=t},_.prototype.getCardTransaction=function(){return this.cardTransaction},_.prototype.setTransactionInfo=function(t){this.transactionInfo=t},_.prototype.getTransactionInfo=function(){return this.transactionInfo},_.prototype.setMerchant=function(t){this.merchant=t},_.prototype.getMerchant=function(){return this.merchant},_.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},_.prototype.getExternalReferenceId=function(){return this.externalReferenceId},_.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},_.prototype.toString=function(){return JSON.stringify(this)},_._meta_={fields:{}},_._meta_._class_=_,_._meta_.fields.id={},_._meta_.fields.id.type=String,_._meta_.fields.orderRef={},_._meta_.fields.orderRef.type=d,_._meta_.fields.device={},_._meta_.fields.device.type=d,_._meta_.fields.amount={},_._meta_.fields.amount.type=Number,_._meta_.fields.taxAmount={},_._meta_.fields.taxAmount.type=Number,_._meta_.fields.tipAmount={},_._meta_.fields.tipAmount.type=Number,_._meta_.fields.createdTime={},_._meta_.fields.createdTime.type=Number,_._meta_.fields.clientCreatedTime={},_._meta_.fields.clientCreatedTime.type=Number,_._meta_.fields.payment={},_._meta_.fields.payment.type=d,_._meta_.fields.employee={},_._meta_.fields.employee.type=d,_._meta_.fields.lineItems={},_._meta_.fields.lineItems.type=Array,_._meta_.fields.lineItems.elementType=d,_._meta_.fields.overrideMerchantTender={},_._meta_.fields.overrideMerchantTender.type=u,_._meta_.fields.taxableAmountRates={},_._meta_.fields.taxableAmountRates.type=Array,_._meta_.fields.taxableAmountRates.elementType=s,_._meta_.fields.serviceChargeAmount={},_._meta_.fields.serviceChargeAmount.type=a,_._meta_.fields.additionalCharges={},_._meta_.fields.additionalCharges.type=Array,_._meta_.fields.additionalCharges.elementType=o,_._meta_.fields.germanInfo={},_._meta_.fields.germanInfo.type=p,_._meta_.fields.appTracking={},_._meta_.fields.appTracking.type=r,_._meta_.fields.voided={},_._meta_.fields.voided.type=Boolean,_._meta_.fields.voidReason={},_._meta_.fields.voidReason.type=String,_._meta_.fields.cardTransaction={},_._meta_.fields.cardTransaction.type=n,_._meta_.fields.transactionInfo={},_._meta_.fields.transactionInfo.type=l,_._meta_.fields.merchant={},_._meta_.fields.merchant.type=d,_._meta_.fields.externalReferenceId={},_._meta_.fields.externalReferenceId.type=String,t.exports=_},40716:(t,e,i)=>{var n=i(27138),o=i(37471),s=function(){this._class_=s,this.refund=void 0,this.card=void 0,this.isAdjustment=void 0};s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s.prototype.setIsAdjustment=function(t){this.isAdjustment=t},s.prototype.getIsAdjustment=function(){return this.isAdjustment},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,s._meta_.fields.card={},s._meta_.fields.card.type=n,s._meta_.fields.isAdjustment={},s._meta_.fields.isAdjustment.type=Boolean,t.exports=s},46797:(t,e,i)=>{var n=i(82794),o=i(37471),s=function(){this._class_=s,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.refund=void 0,this.payment=void 0,this.extra=void 0};s.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},s.prototype.getRequestSuccessful=function(){return this.requestSuccessful},s.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},s.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s.prototype.setPayment=function(t){this.payment=t},s.prototype.getPayment=function(){return this.payment},s.prototype.setExtra=function(t){this.extra=t},s.prototype.getExtra=function(){return this.extra},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.requestSuccessful={},s._meta_.fields.requestSuccessful.type=Boolean,s._meta_.fields.responseErrorMessage={},s._meta_.fields.responseErrorMessage.type=String,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,s._meta_.fields.payment={},s._meta_.fields.payment.type=n,s._meta_.fields.extra={},s._meta_.fields.extra.type=Object,t.exports=s},49734:t=>{var e=function(){this._class_=e,this.FISCAL_INVOICE_NUMBER_KEY="com.clover.regionalextras.ar.FISCAL_INVOICE_NUMBER_KEY",this.INSTALLMENT_NUMBER_KEY="com.clover.regionalextras.ar.INSTALLMENT_NUMBER_KEY",this.INSTALLMENT_PLAN_KEY="com.clover.regionalextras.ar.INSTALLMENT_PLAN_KEY",this.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE="com.clover.regionalextras.ar.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE",this.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE="com.clover.regionalextras.ar.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE",this.INSTALLMENT_NUMBER_DEFAULT_VALUE="1"};e.prototype.getFISCALINVOICENUMBERKEY=function(){return this.FISCAL_INVOICE_NUMBER_KEY},e.prototype.getINSTALLMENTNUMBERKEY=function(){return this.INSTALLMENT_NUMBER_KEY},e.prototype.getINSTALLMENTPLANKEY=function(){return this.INSTALLMENT_PLAN_KEY},e.prototype.getSKIPFISCALINVOICENUMBERSCREENVALUE=function(){return this.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE},e.prototype.getCONFIRMFISCALINVOICENUMBERPROVIDEDVALUE=function(){return this.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE},e.prototype.getINSTALLMENTNUMBERDEFAULTVALUE=function(){return this.INSTALLMENT_NUMBER_DEFAULT_VALUE},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.FISCAL_INVOICE_NUMBER_KEY={},e._meta_.fields.FISCAL_INVOICE_NUMBER_KEY.type=String,e._meta_.fields.INSTALLMENT_NUMBER_KEY={},e._meta_.fields.INSTALLMENT_NUMBER_KEY.type=String,e._meta_.fields.INSTALLMENT_PLAN_KEY={},e._meta_.fields.INSTALLMENT_PLAN_KEY.type=String,e._meta_.fields.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE={},e._meta_.fields.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE.type=String,e._meta_.fields.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE={},e._meta_.fields.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE.type=String,e._meta_.fields.INSTALLMENT_NUMBER_DEFAULT_VALUE={},e._meta_.fields.INSTALLMENT_NUMBER_DEFAULT_VALUE.type=String,t.exports=e},51029:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",INITIATED:"INITIATED",VOIDED:"VOIDED",VOIDING:"VOIDING",VOID_FAILED:"VOID_FAILED",AUTH:"AUTH",AUTH_COMPLETED:"AUTH_COMPLETED",DISCOUNT:"DISCOUNT"}},4468:t=>{t.exports={CHIP_DECLINE:"CHIP_DECLINE",CARDHOLDER_CANCELLATION:"CARDHOLDER_CANCELLATION",COMMUNICATION_ERROR:"COMMUNICATION_ERROR",OTHER_REASON:"OTHER_REASON"}},66976:t=>{t.exports={NONE:"NONE",PAYMENT:"PAYMENT",REFUND:"REFUND",CANCELLATION:"CANCELLATION",PRE_AUTH:"PRE_AUTH",UPDATE_PRE_AUTH:"UPDATE_PRE_AUTH",PAYMENT_COMPLETION:"PAYMENT_COMPLETION",CASH_ADVANCE:"CASH_ADVANCE",DEFERRED_PAYMENT:"DEFERRED_PAYMENT",DEFERRED_PAYMENT_COMPLETION:"DEFERRED_PAYMENT_COMPLETION",VOICE_AUTHORISATION:"VOICE_AUTHORISATION",CARDHOLDER_DETECTION:"CARDHOLDER_DETECTION",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},33066:(t,e,i)=>{var n=i(14415),o=function(){this._class_=o,this.employeeId=void 0,this.employeeName=void 0,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0};o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setEmployeeName=function(t){this.employeeName=t},o.prototype.getEmployeeName=function(){return this.employeeName},o.prototype.setSales=function(t){this.sales=t},o.prototype.getSales=function(){return this.sales},o.prototype.setRefunds=function(t){this.refunds=t},o.prototype.getRefunds=function(){return this.refunds},o.prototype.setNet=function(t){this.net=t},o.prototype.getNet=function(){return this.net},o.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},o.prototype.getGiftCardLoads=function(){return this.giftCardLoads},o.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},o.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},o.prototype.setTax=function(t){this.tax=t},o.prototype.getTax=function(){return this.tax},o.prototype.setTips=function(t){this.tips=t},o.prototype.getTips=function(){return this.tips},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.employeeName={},o._meta_.fields.employeeName.type=String,o._meta_.fields.sales={},o._meta_.fields.sales.type=n,o._meta_.fields.refunds={},o._meta_.fields.refunds.type=n,o._meta_.fields.net={},o._meta_.fields.net.type=n,o._meta_.fields.giftCardLoads={},o._meta_.fields.giftCardLoads.type=n,o._meta_.fields.giftCardCashOuts={},o._meta_.fields.giftCardCashOuts.type=n,o._meta_.fields.tax={},o._meta_.fields.tax.type=n,o._meta_.fields.tips={},o._meta_.fields.tips.type=n,t.exports=o},66824:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,t.exports=e},51743:(t,e,i)=>{var n=i(37471),o=function(){this._class_=o,this.refund=void 0};o.prototype.setRefund=function(t){this.refund=t},o.prototype.getRefund=function(){return this.refund},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.refund={},o._meta_.fields.refund.type=n,t.exports=o},40188:(t,e,i)=>{var n=i(15118),o=function(){this._class_=o,this.amount=void 0,this.orderId=void 0,this.sourcePaymentId=void 0,this.vaultedCard=void 0};o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setSourcePaymentId=function(t){this.sourcePaymentId=t},o.prototype.getSourcePaymentId=function(){return this.sourcePaymentId},o.prototype.setVaultedCard=function(t){this.vaultedCard=t},o.prototype.getVaultedCard=function(){return this.vaultedCard},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.sourcePaymentId={},o._meta_.fields.sourcePaymentId.type=String,o._meta_.fields.vaultedCard={},o._meta_.fields.vaultedCard.type=n,t.exports=o},99485:t=>{var e=function(){this._class_=e,this.disclaimerText=void 0,this.disclaimerValues=void 0};e.prototype.setDisclaimerText=function(t){this.disclaimerText=t},e.prototype.getDisclaimerText=function(){return this.disclaimerText},e.prototype.setDisclaimerValues=function(t){this.disclaimerValues=t},e.prototype.getDisclaimerValues=function(){return this.disclaimerValues},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.disclaimerText={},e._meta_.fields.disclaimerText.type=String,e._meta_.fields.disclaimerValues={},e._meta_.fields.disclaimerValues.type=Object,t.exports=e},52448:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.taxableAmount=void 0,this.rate=void 0,this.isVat=void 0,this.taxAmount=void 0,this.transactionRef=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setTaxableAmount=function(t){this.taxableAmount=t},o.prototype.getTaxableAmount=function(){return this.taxableAmount},o.prototype.setRate=function(t){this.rate=t},o.prototype.getRate=function(){return this.rate},o.prototype.setIsVat=function(t){this.isVat=t},o.prototype.getIsVat=function(){return this.isVat},o.prototype.setTaxAmount=function(t){this.taxAmount=t},o.prototype.getTaxAmount=function(){return this.taxAmount},o.prototype.setTransactionRef=function(t){this.transactionRef=t},o.prototype.getTransactionRef=function(){return this.transactionRef},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.taxableAmount={},o._meta_.fields.taxableAmount.type=Number,o._meta_.fields.rate={},o._meta_.fields.rate.type=Number,o._meta_.fields.isVat={},o._meta_.fields.isVat.type=Boolean,o._meta_.fields.taxAmount={},o._meta_.fields.taxAmount.type=Number,o._meta_.fields.transactionRef={},o._meta_.fields.transactionRef.type=n,t.exports=o},32628:t=>{t.exports={TIP_PROVIDED:"TIP_PROVIDED",ON_SCREEN_BEFORE_PAYMENT:"ON_SCREEN_BEFORE_PAYMENT",ON_SCREEN_AFTER_PAYMENT:"ON_SCREEN_AFTER_PAYMENT",ON_PAPER:"ON_PAPER",NO_TIP:"NO_TIP"}},95426:(t,e,i)=>{var n=i(26866),o=i(73865),s=i(113),r=i(51029),a=i(50234),l=i(4448),d=i(50775),u=function(){this._class_=u,this.id=void 0,this.type=void 0,this.employee=void 0,this.device=void 0,this.merchant=void 0,this.tender=void 0,this.customer=void 0,this.externalReferenceId=void 0,this.cardTransaction=void 0,this.note=void 0,this.result=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.transactionInfo=void 0};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setType=function(t){this.type=t},u.prototype.getType=function(){return this.type},u.prototype.setEmployee=function(t){this.employee=t},u.prototype.getEmployee=function(){return this.employee},u.prototype.setDevice=function(t){this.device=t},u.prototype.getDevice=function(){return this.device},u.prototype.setMerchant=function(t){this.merchant=t},u.prototype.getMerchant=function(){return this.merchant},u.prototype.setTender=function(t){this.tender=t},u.prototype.getTender=function(){return this.tender},u.prototype.setCustomer=function(t){this.customer=t},u.prototype.getCustomer=function(){return this.customer},u.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},u.prototype.getExternalReferenceId=function(){return this.externalReferenceId},u.prototype.setCardTransaction=function(t){this.cardTransaction=t},u.prototype.getCardTransaction=function(){return this.cardTransaction},u.prototype.setNote=function(t){this.note=t},u.prototype.getNote=function(){return this.note},u.prototype.setResult=function(t){this.result=t},u.prototype.getResult=function(){return this.result},u.prototype.setCreatedTime=function(t){this.createdTime=t},u.prototype.getCreatedTime=function(){return this.createdTime},u.prototype.setModifiedTime=function(t){this.modifiedTime=t},u.prototype.getModifiedTime=function(){return this.modifiedTime},u.prototype.setDeletedTime=function(t){this.deletedTime=t},u.prototype.getDeletedTime=function(){return this.deletedTime},u.prototype.setTransactionInfo=function(t){this.transactionInfo=t},u.prototype.getTransactionInfo=function(){return this.transactionInfo},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.id={},u._meta_.fields.id.type=String,u._meta_.fields.type={},u._meta_.fields.type.type=o,u._meta_.fields.employee={},u._meta_.fields.employee.type=l,u._meta_.fields.device={},u._meta_.fields.device.type=l,u._meta_.fields.merchant={},u._meta_.fields.merchant.type=l,u._meta_.fields.tender={},u._meta_.fields.tender.type=d,u._meta_.fields.customer={},u._meta_.fields.customer.type=n,u._meta_.fields.externalReferenceId={},u._meta_.fields.externalReferenceId.type=String,u._meta_.fields.cardTransaction={},u._meta_.fields.cardTransaction.type=s,u._meta_.fields.note={},u._meta_.fields.note.type=String,u._meta_.fields.result={},u._meta_.fields.result.type=r,u._meta_.fields.createdTime={},u._meta_.fields.createdTime.type=Number,u._meta_.fields.modifiedTime={},u._meta_.fields.modifiedTime.type=Number,u._meta_.fields.deletedTime={},u._meta_.fields.deletedTime.type=Number,u._meta_.fields.transactionInfo={},u._meta_.fields.transactionInfo.type=a,t.exports=u},73865:t=>{t.exports={VERIFICATION:"VERIFICATION",TOKEN_REQUEST:"TOKEN_REQUEST"}},98957:(t,e,i)=>{var n=i(27022),o=i(82794),s=i(37471),r=i(6639),a=function(){this._class_=a,this.createdTime=void 0,this.clientCreatedTime=void 0,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.creditRefund=void 0};a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},a.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setCreditRefund=function(t){this.creditRefund=t},a.prototype.getCreditRefund=function(){return this.creditRefund},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.clientCreatedTime={},a._meta_.fields.clientCreatedTime.type=Number,a._meta_.fields.payment={},a._meta_.fields.payment.type=o,a._meta_.fields.refund={},a._meta_.fields.refund.type=s,a._meta_.fields.credit={},a._meta_.fields.credit.type=r,a._meta_.fields.creditRefund={},a._meta_.fields.creditRefund.type=n,t.exports=a},50234:(t,e,i)=>{var n=i(66976),o=i(65582),s=i(43762),r=i(21570),a=i(4212),l=i(56614),d=i(4468),u=i(57311),p=i(18593),_=i(40615),c=function(){this._class_=c,this.languageIndicator=void 0,this.transactionLocale=void 0,this.accountSelection=void 0,this.fiscalInvoiceNumber=void 0,this.installmentsQuantity=void 0,this.installmentsPlanCode=void 0,this.installmentsPlanId=void 0,this.installmentsPlanDesc=void 0,this.cardTypeLabel=void 0,this.cardSymbol=void 0,this.stan=void 0,this.identityDocument=void 0,this.batchNumber=void 0,this.receiptNumber=void 0,this.reversalStanRefNum=void 0,this.reversalStan=void 0,this.reversalMac=void 0,this.reversalMacKsn=void 0,this.terminalIdentification=void 0,this.merchantIdentifier=void 0,this.merchantNameLocation=void 0,this.maskedTrack2=void 0,this.receiptExtraData=void 0,this.selectedService=void 0,this.transactionResult=void 0,this.transactionTags=void 0,this.txFormat=void 0,this.panMask=void 0,this.transactionSequenceCounter=void 0,this.applicationPanSequenceNumber=void 0,this.reversalReason=void 0,this.isTokenBasedTx=!1,this.origTransactionSequenceCounter=void 0,this.transactionSequenceCounterUpdate=void 0,this.emergencyFlag=!1,this.entryType=void 0,this.promotionalMessage=void 0,this.eCommTransactionInfo=void 0,this.clientCardType=void 0};c.prototype.setLanguageIndicator=function(t){this.languageIndicator=t},c.prototype.getLanguageIndicator=function(){return this.languageIndicator},c.prototype.setTransactionLocale=function(t){this.transactionLocale=t},c.prototype.getTransactionLocale=function(){return this.transactionLocale},c.prototype.setAccountSelection=function(t){this.accountSelection=t},c.prototype.getAccountSelection=function(){return this.accountSelection},c.prototype.setFiscalInvoiceNumber=function(t){this.fiscalInvoiceNumber=t},c.prototype.getFiscalInvoiceNumber=function(){return this.fiscalInvoiceNumber},c.prototype.setInstallmentsQuantity=function(t){this.installmentsQuantity=t},c.prototype.getInstallmentsQuantity=function(){return this.installmentsQuantity},c.prototype.setInstallmentsPlanCode=function(t){this.installmentsPlanCode=t},c.prototype.getInstallmentsPlanCode=function(){return this.installmentsPlanCode},c.prototype.setInstallmentsPlanId=function(t){this.installmentsPlanId=t},c.prototype.getInstallmentsPlanId=function(){return this.installmentsPlanId},c.prototype.setInstallmentsPlanDesc=function(t){this.installmentsPlanDesc=t},c.prototype.getInstallmentsPlanDesc=function(){return this.installmentsPlanDesc},c.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},c.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},c.prototype.setCardSymbol=function(t){this.cardSymbol=t},c.prototype.getCardSymbol=function(){return this.cardSymbol},c.prototype.setStan=function(t){this.stan=t},c.prototype.getStan=function(){return this.stan},c.prototype.setIdentityDocument=function(t){this.identityDocument=t},c.prototype.getIdentityDocument=function(){return this.identityDocument},c.prototype.setBatchNumber=function(t){this.batchNumber=t},c.prototype.getBatchNumber=function(){return this.batchNumber},c.prototype.setReceiptNumber=function(t){this.receiptNumber=t},c.prototype.getReceiptNumber=function(){return this.receiptNumber},c.prototype.setReversalStanRefNum=function(t){this.reversalStanRefNum=t},c.prototype.getReversalStanRefNum=function(){return this.reversalStanRefNum},c.prototype.setReversalStan=function(t){this.reversalStan=t},c.prototype.getReversalStan=function(){return this.reversalStan},c.prototype.setReversalMac=function(t){this.reversalMac=t},c.prototype.getReversalMac=function(){return this.reversalMac},c.prototype.setReversalMacKsn=function(t){this.reversalMacKsn=t},c.prototype.getReversalMacKsn=function(){return this.reversalMacKsn},c.prototype.setTerminalIdentification=function(t){this.terminalIdentification=t},c.prototype.getTerminalIdentification=function(){return this.terminalIdentification},c.prototype.setMerchantIdentifier=function(t){this.merchantIdentifier=t},c.prototype.getMerchantIdentifier=function(){return this.merchantIdentifier},c.prototype.setMerchantNameLocation=function(t){this.merchantNameLocation=t},c.prototype.getMerchantNameLocation=function(){return this.merchantNameLocation},c.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},c.prototype.getMaskedTrack2=function(){return this.maskedTrack2},c.prototype.setReceiptExtraData=function(t){this.receiptExtraData=t},c.prototype.getReceiptExtraData=function(){return this.receiptExtraData},c.prototype.setSelectedService=function(t){this.selectedService=t},c.prototype.getSelectedService=function(){return this.selectedService},c.prototype.setTransactionResult=function(t){this.transactionResult=t},c.prototype.getTransactionResult=function(){return this.transactionResult},c.prototype.setTransactionTags=function(t){this.transactionTags=t},c.prototype.getTransactionTags=function(){return this.transactionTags},c.prototype.setTxFormat=function(t){this.txFormat=t},c.prototype.getTxFormat=function(){return this.txFormat},c.prototype.setPanMask=function(t){this.panMask=t},c.prototype.getPanMask=function(){return this.panMask},c.prototype.setTransactionSequenceCounter=function(t){this.transactionSequenceCounter=t},c.prototype.getTransactionSequenceCounter=function(){return this.transactionSequenceCounter},c.prototype.setApplicationPanSequenceNumber=function(t){this.applicationPanSequenceNumber=t},c.prototype.getApplicationPanSequenceNumber=function(){return this.applicationPanSequenceNumber},c.prototype.setReversalReason=function(t){this.reversalReason=t},c.prototype.getReversalReason=function(){return this.reversalReason},c.prototype.setIsTokenBasedTx=function(t){this.isTokenBasedTx=t},c.prototype.getIsTokenBasedTx=function(){return this.isTokenBasedTx},c.prototype.setOrigTransactionSequenceCounter=function(t){this.origTransactionSequenceCounter=t},c.prototype.getOrigTransactionSequenceCounter=function(){return this.origTransactionSequenceCounter},c.prototype.setTransactionSequenceCounterUpdate=function(t){this.transactionSequenceCounterUpdate=t},c.prototype.getTransactionSequenceCounterUpdate=function(){return this.transactionSequenceCounterUpdate},c.prototype.setEmergencyFlag=function(t){this.emergencyFlag=t},c.prototype.getEmergencyFlag=function(){return this.emergencyFlag},c.prototype.setEntryType=function(t){this.entryType=t},c.prototype.getEntryType=function(){return this.entryType},c.prototype.setPromotionalMessage=function(t){this.promotionalMessage=t},c.prototype.getPromotionalMessage=function(){return this.promotionalMessage},c.prototype.setECommTransactionInfo=function(t){this.eCommTransactionInfo=t},c.prototype.getECommTransactionInfo=function(){return this.eCommTransactionInfo},c.prototype.setClientCardType=function(t){this.clientCardType=t},c.prototype.getClientCardType=function(){return this.clientCardType},c.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},c.prototype.toString=function(){return JSON.stringify(this)},c._meta_={fields:{}},c._meta_._class_=c,c._meta_.fields.languageIndicator={},c._meta_.fields.languageIndicator.type=String,c._meta_.fields.transactionLocale={},c._meta_.fields.transactionLocale.type=String,c._meta_.fields.accountSelection={},c._meta_.fields.accountSelection.type=p,c._meta_.fields.fiscalInvoiceNumber={},c._meta_.fields.fiscalInvoiceNumber.type=String,c._meta_.fields.installmentsQuantity={},c._meta_.fields.installmentsQuantity.type=Number,c._meta_.fields.installmentsPlanCode={},c._meta_.fields.installmentsPlanCode.type=String,c._meta_.fields.installmentsPlanId={},c._meta_.fields.installmentsPlanId.type=String,c._meta_.fields.installmentsPlanDesc={},c._meta_.fields.installmentsPlanDesc.type=String,c._meta_.fields.cardTypeLabel={},c._meta_.fields.cardTypeLabel.type=String,c._meta_.fields.cardSymbol={},c._meta_.fields.cardSymbol.type=String,c._meta_.fields.stan={},c._meta_.fields.stan.type=Number,c._meta_.fields.identityDocument={},c._meta_.fields.identityDocument.type=_,c._meta_.fields.batchNumber={},c._meta_.fields.batchNumber.type=String,c._meta_.fields.receiptNumber={},c._meta_.fields.receiptNumber.type=String,c._meta_.fields.reversalStanRefNum={},c._meta_.fields.reversalStanRefNum.type=String,c._meta_.fields.reversalStan={},c._meta_.fields.reversalStan.type=Number,c._meta_.fields.reversalMac={},c._meta_.fields.reversalMac.type=String,c._meta_.fields.reversalMacKsn={},c._meta_.fields.reversalMacKsn.type=String,c._meta_.fields.terminalIdentification={},c._meta_.fields.terminalIdentification.type=String,c._meta_.fields.merchantIdentifier={},c._meta_.fields.merchantIdentifier.type=String,c._meta_.fields.merchantNameLocation={},c._meta_.fields.merchantNameLocation.type=String,c._meta_.fields.maskedTrack2={},c._meta_.fields.maskedTrack2.type=String,c._meta_.fields.receiptExtraData={},c._meta_.fields.receiptExtraData.type=String,c._meta_.fields.selectedService={},c._meta_.fields.selectedService.type=n,c._meta_.fields.transactionResult={},c._meta_.fields.transactionResult.type=u,c._meta_.fields.transactionTags={},c._meta_.fields.transactionTags.type=String,c._meta_.fields.txFormat={},c._meta_.fields.txFormat.type=s,c._meta_.fields.panMask={},c._meta_.fields.panMask.type=String,c._meta_.fields.transactionSequenceCounter={},c._meta_.fields.transactionSequenceCounter.type=String,c._meta_.fields.applicationPanSequenceNumber={},c._meta_.fields.applicationPanSequenceNumber.type=String,c._meta_.fields.reversalReason={},c._meta_.fields.reversalReason.type=d,c._meta_.fields.isTokenBasedTx={},c._meta_.fields.isTokenBasedTx.type=Boolean,c._meta_.fields.origTransactionSequenceCounter={},c._meta_.fields.origTransactionSequenceCounter.type=String,c._meta_.fields.transactionSequenceCounterUpdate={},c._meta_.fields.transactionSequenceCounterUpdate.type=String,c._meta_.fields.emergencyFlag={},c._meta_.fields.emergencyFlag.type=Boolean,c._meta_.fields.entryType={},c._meta_.fields.entryType.type=l,c._meta_.fields.promotionalMessage={},c._meta_.fields.promotionalMessage.type=o,c._meta_.fields.eCommTransactionInfo={},c._meta_.fields.eCommTransactionInfo.type=r,c._meta_.fields.clientCardType={},c._meta_.fields.clientCardType.type=a,t.exports=c},57311:t=>{t.exports={APPROVED:"APPROVED",DECLINED:"DECLINED",ABORTED:"ABORTED",VOICE_AUTHORISATION:"VOICE_AUTHORISATION",PAYMENT_PART_ONLY:"PAYMENT_PART_ONLY",PARTIALLY_APPROVED:"PARTIALLY_APPROVED",NONE:"NONE"}},56135:(t,e,i)=>{var n=i(32628),o=i(57953),s=i(27033),r=function(){this._class_=r,this.cardEntryMethods=void 0,this.disableCashBack=!1,this.cloverShouldHandleReceipts=!0,this.forcePinEntryOnSwipe=!1,this.disableRestartTransactionOnFailure=!1,this.allowOfflinePayment=!1,this.approveOfflinePaymentWithoutPrompt=!1,this.forceOfflinePayment=!1,this.signatureThreshold=void 0,this.signatureEntryLocation=void 0,this.tipMode=void 0,this.tippableAmount=void 0,this.disableReceiptSelection=!1,this.disableDuplicateCheck=!1,this.autoAcceptPaymentConfirmations=!1,this.autoAcceptSignature=!1,this.returnResultOnTransactionComplete=!1,this.tipSuggestions=void 0,this.regionalExtras=void 0};r.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},r.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},r.prototype.setDisableCashBack=function(t){this.disableCashBack=t},r.prototype.getDisableCashBack=function(){return this.disableCashBack},r.prototype.setCloverShouldHandleReceipts=function(t){this.cloverShouldHandleReceipts=t},r.prototype.getCloverShouldHandleReceipts=function(){return this.cloverShouldHandleReceipts},r.prototype.setForcePinEntryOnSwipe=function(t){this.forcePinEntryOnSwipe=t},r.prototype.getForcePinEntryOnSwipe=function(){return this.forcePinEntryOnSwipe},r.prototype.setDisableRestartTransactionOnFailure=function(t){this.disableRestartTransactionOnFailure=t},r.prototype.getDisableRestartTransactionOnFailure=function(){return this.disableRestartTransactionOnFailure},r.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},r.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},r.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},r.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},r.prototype.setForceOfflinePayment=function(t){this.forceOfflinePayment=t},r.prototype.getForceOfflinePayment=function(){return this.forceOfflinePayment},r.prototype.setSignatureThreshold=function(t){this.signatureThreshold=t},r.prototype.getSignatureThreshold=function(){return this.signatureThreshold},r.prototype.setSignatureEntryLocation=function(t){this.signatureEntryLocation=t},r.prototype.getSignatureEntryLocation=function(){return this.signatureEntryLocation},r.prototype.setTipMode=function(t){this.tipMode=t},r.prototype.getTipMode=function(){return this.tipMode},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},r.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},r.prototype.setDisableDuplicateCheck=function(t){this.disableDuplicateCheck=t},r.prototype.getDisableDuplicateCheck=function(){return this.disableDuplicateCheck},r.prototype.setAutoAcceptPaymentConfirmations=function(t){this.autoAcceptPaymentConfirmations=t},r.prototype.getAutoAcceptPaymentConfirmations=function(){return this.autoAcceptPaymentConfirmations},r.prototype.setAutoAcceptSignature=function(t){this.autoAcceptSignature=t},r.prototype.getAutoAcceptSignature=function(){return this.autoAcceptSignature},r.prototype.setReturnResultOnTransactionComplete=function(t){this.returnResultOnTransactionComplete=t},r.prototype.getReturnResultOnTransactionComplete=function(){return this.returnResultOnTransactionComplete},r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r.prototype.setRegionalExtras=function(t){this.regionalExtras=t},r.prototype.getRegionalExtras=function(){return this.regionalExtras},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.cardEntryMethods={},r._meta_.fields.cardEntryMethods.type=Number,r._meta_.fields.disableCashBack={},r._meta_.fields.disableCashBack.type=Boolean,r._meta_.fields.cloverShouldHandleReceipts={},r._meta_.fields.cloverShouldHandleReceipts.type=Boolean,r._meta_.fields.forcePinEntryOnSwipe={},r._meta_.fields.forcePinEntryOnSwipe.type=Boolean,r._meta_.fields.disableRestartTransactionOnFailure={},r._meta_.fields.disableRestartTransactionOnFailure.type=Boolean,r._meta_.fields.allowOfflinePayment={},r._meta_.fields.allowOfflinePayment.type=Boolean,r._meta_.fields.approveOfflinePaymentWithoutPrompt={},r._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,r._meta_.fields.forceOfflinePayment={},r._meta_.fields.forceOfflinePayment.type=Boolean,r._meta_.fields.signatureThreshold={},r._meta_.fields.signatureThreshold.type=Number,r._meta_.fields.signatureEntryLocation={},r._meta_.fields.signatureEntryLocation.type=o,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=n,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,r._meta_.fields.disableReceiptSelection={},r._meta_.fields.disableReceiptSelection.type=Boolean,r._meta_.fields.disableDuplicateCheck={},r._meta_.fields.disableDuplicateCheck.type=Boolean,r._meta_.fields.autoAcceptPaymentConfirmations={},r._meta_.fields.autoAcceptPaymentConfirmations.type=Boolean,r._meta_.fields.autoAcceptSignature={},r._meta_.fields.autoAcceptSignature.type=Boolean,r._meta_.fields.returnResultOnTransactionComplete={},r._meta_.fields.returnResultOnTransactionComplete.type=Boolean,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=s,r._meta_.fields.regionalExtras={},r._meta_.fields.regionalExtras.type=Object,t.exports=r},43762:t=>{t.exports={DEFAULT:"DEFAULT",NEXO:"NEXO"}},82447:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",INTERNET_ACTIVATE:"INTERNET_ACTIVATE"}},88960:t=>{t.exports={TAB:"TAB",AUTH:"AUTH"}},53266:(t,e,i)=>{var n=i(90622),o=function(){this._class_=o,this.vasProviders=void 0};o.prototype.setVasProviders=function(t){this.vasProviders=t},o.prototype.getVasProviders=function(){return this.vasProviders},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.vasProviders={},o._meta_.fields.vasProviders.type=Array,o._meta_.fields.vasProviders.elementType=n,t.exports=o},64213:(t,e,i)=>{var n=i(7641),o=function(){this._class_=o,this.dataType=void 0};o.prototype.setDataType=function(t){this.dataType=t},o.prototype.getDataType=function(){return this.dataType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.dataType={},o._meta_.fields.dataType.type=n,t.exports=o},7641:t=>{t.exports={ALL:"ALL",LOYALTY:"LOYALTY",OFFER:"OFFER",GIFT_CARD:"GIFT_CARD",PRIVATE_LABEL_CARD:"PRIVATE_LABEL_CARD",CUSTOMER:"CUSTOMER",VAS_DATA:"VAS_DATA"}},75314:t=>{t.exports={PAY_ONLY:"PAY_ONLY",VAS_ONLY:"VAS_ONLY",VAS_OR_PAYMENT:"VAS_OR_PAYMENT",VAS_AND_PAYMENT:"VAS_AND_PAYMENT"}},61691:(t,e,i)=>{var n=i(7497),o=function(){this._class_=o,this.payloadElements=void 0};o.prototype.setPayloadElements=function(t){this.payloadElements=t},o.prototype.getPayloadElements=function(){return this.payloadElements},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payloadElements={},o._meta_.fields.payloadElements.type=Array,o._meta_.fields.payloadElements.elementType=n,t.exports=o},7497:(t,e,i)=>{var n=i(3360),o=i(40492),s=i(64213),r=function(){this._class_=r,this.dataType=void 0,this.responseFormat=void 0,this.vasData=void 0,this.protocolId=void 0,this.merchantId=void 0};r.prototype.setDataType=function(t){this.dataType=t},r.prototype.getDataType=function(){return this.dataType},r.prototype.setResponseFormat=function(t){this.responseFormat=t},r.prototype.getResponseFormat=function(){return this.responseFormat},r.prototype.setVasData=function(t){this.vasData=t},r.prototype.getVasData=function(){return this.vasData},r.prototype.setProtocolId=function(t){this.protocolId=t},r.prototype.getProtocolId=function(){return this.protocolId},r.prototype.setMerchantId=function(t){this.merchantId=t},r.prototype.getMerchantId=function(){return this.merchantId},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.dataType={},r._meta_.fields.dataType.type=s,r._meta_.fields.responseFormat={},r._meta_.fields.responseFormat.type=n,r._meta_.fields.vasData={},r._meta_.fields.vasData.type=String,r._meta_.fields.protocolId={},r._meta_.fields.protocolId.type=o,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=String,t.exports=r},35269:(t,e,i)=>{var n=i(38913),o=function(){this._class_=o,this.responseType=void 0};o.prototype.setResponseType=function(t){this.responseType=t},o.prototype.getResponseType=function(){return this.responseType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.responseType={},o._meta_.fields.responseType.type=n,t.exports=o},38913:t=>{t.exports={ACCEPTED:"ACCEPTED",PENDING:"PENDING"}},40492:t=>{t.exports={ST:"ST",PK:"PK"}},45265:t=>{t.exports={PUSH_NONE:"PUSH_NONE",PUSH_ONLY:"PUSH_ONLY",PUSH_AND_GET:"PUSH_AND_GET"}},3360:t=>{t.exports={NDEF:"NDEF",STRING:"STRING",ENCRYPTED:"ENCRYPTED"}},90622:(t,e,i)=>{var n=i(40492),o=i(64213),s=function(){this._class_=s,this.providerPackage=void 0,this.protocolId=void 0,this.supportedServices=void 0,this.protocolConfig=void 0,this.pushUrl=void 0,this.pushTitle=void 0};s.prototype.setProviderPackage=function(t){this.providerPackage=t},s.prototype.getProviderPackage=function(){return this.providerPackage},s.prototype.setProtocolId=function(t){this.protocolId=t},s.prototype.getProtocolId=function(){return this.protocolId},s.prototype.setSupportedServices=function(t){this.supportedServices=t},s.prototype.getSupportedServices=function(){return this.supportedServices},s.prototype.setProtocolConfig=function(t){this.protocolConfig=t},s.prototype.getProtocolConfig=function(){return this.protocolConfig},s.prototype.setPushUrl=function(t){this.pushUrl=t},s.prototype.getPushUrl=function(){return this.pushUrl},s.prototype.setPushTitle=function(t){this.pushTitle=t},s.prototype.getPushTitle=function(){return this.pushTitle},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.providerPackage={},s._meta_.fields.providerPackage.type=String,s._meta_.fields.protocolId={},s._meta_.fields.protocolId.type=n,s._meta_.fields.supportedServices={},s._meta_.fields.supportedServices.type=Array,s._meta_.fields.supportedServices.elementType=o,s._meta_.fields.protocolConfig={},s._meta_.fields.protocolConfig.type=Object,s._meta_.fields.pushUrl={},s._meta_.fields.pushUrl.type=String,s._meta_.fields.pushTitle={},s._meta_.fields.pushTitle.type=String,t.exports=s},74965:(t,e,i)=>{var n=i(45265),o=i(75314),s=i(64213),r=function(){this._class_=r,this.vasMode=void 0,this.serviceTypes=void 0,this.extras=void 0,this.pushMode=void 0};r.prototype.setVasMode=function(t){this.vasMode=t},r.prototype.getVasMode=function(){return this.vasMode},r.prototype.setServiceTypes=function(t){this.serviceTypes=t},r.prototype.getServiceTypes=function(){return this.serviceTypes},r.prototype.setExtras=function(t){this.extras=t},r.prototype.getExtras=function(){return this.extras},r.prototype.setPushMode=function(t){this.pushMode=t},r.prototype.getPushMode=function(){return this.pushMode},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.vasMode={},r._meta_.fields.vasMode.type=o,r._meta_.fields.serviceTypes={},r._meta_.fields.serviceTypes.type=Array,r._meta_.fields.serviceTypes.elementType=s,r._meta_.fields.extras={},r._meta_.fields.extras.type=Object,r._meta_.fields.pushMode={},r._meta_.fields.pushMode.type=n,t.exports=r},15118:t=>{var e=function(){this._class_=e,this.first6=void 0,this.last4=void 0,this.cardholderName=void 0,this.expirationDate=void 0,this.token=void 0};e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setCardholderName=function(t){this.cardholderName=t},e.prototype.getCardholderName=function(){return this.cardholderName},e.prototype.setExpirationDate=function(t){this.expirationDate=t},e.prototype.getExpirationDate=function(){return this.expirationDate},e.prototype.setToken=function(t){this.token=t},e.prototype.getToken=function(){return this.token},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.cardholderName={},e._meta_.fields.cardholderName.type=String,e._meta_.fields.expirationDate={},e._meta_.fields.expirationDate.type=String,e._meta_.fields.token={},e._meta_.fields.token.type=String,t.exports=e},72397:(t,e,i)=>{function n(){}t.exports.payments=n,n.AVSResult=i(80373),n.AccountType=i(18593),n.AdditionalChargeAmount=i(48067),n.AdditionalChargeType=i(32488),n.Authorization=i(93657),n.Batch=i(10360),n.BatchCardTotal=i(19964),n.BatchDetail=i(25093),n.BatchRequest=i(65339),n.BatchState=i(33513),n.BatchTotalStats=i(42802),n.BatchTotalType=i(14415),n.BatchTransactions=i(23549),n.BatchType=i(34160),n.CVVResult=i(74215),n.CardEntryType=i(56614),n.CardTransaction=i(113),n.CardTransactionState=i(688),n.CardTransactionType=i(79682),n.CardType=i(4212),n.CardlessPaymentData=i(78317),n.CardlessPaymentDataType=i(37912),n.CardlessPaymentNetwork=i(57925),n.CashAdvanceCustomerIdentification=i(893),n.CashAdvanceExtra=i(11654),n.Credit=i(6639),n.CreditRefund=i(27022),n.CreditRefundResponse=i(38822),n.CreditRequest=i(23102),n.CreditResponse=i(31575),n.Currency=i(14264),n.CvmResult=i(43634),n.DCCInfo=i(82986),n.DataEntryLocation=i(57953),n.DeviceTotalStats=i(24754),n.DiscountApprover=i(78648),n.ECommTransactionInfo=i(21570),n.EndpointTotalStats=i(12299),n.FailedBatchSettlement=i(76497),n.FraudResponseAction=i(6783),n.FraudResponseCodeType=i(80403),n.FraudResponseReason=i(4302),n.GatewayTxState=i(45318),n.GatewayTxType=i(13911),n.GatewayTxs=i(21029),n.GermanInfo=i(17589),n.GiftCard=i(26175),n.GiftCardResponse=i(91038),n.GiftCardState=i(59042),n.GiftCardTransaction=i(84725),n.IdType=i(20275),n.IncrementalAuthorization=i(79035),n.LineItemPayment=i(62886),n.Payment=i(82794),n.PaymentAttribute=i(4391),n.PaymentResponse=i(90792),n.PaymentResponseFraudSetting=i(5134),n.PaymentTaxRate=i(96207),n.PromotionalMessage=i(65582),n.Refund=i(37471),n.RefundRequest=i(40716),n.RefundResponse=i(46797),n.RegionalExtras=i(49734),n.Result=i(51029),n.ReversalReason=i(4468),n.SelectedService=i(66976),n.ServerTotalStats=i(33066),n.ServiceChargeAmount=i(66824),n.ServiceFeeRefundRequest=i(51743),n.ServiceFeeRequest=i(40188),n.SignatureDisclaimer=i(99485),n.TaxableAmountRate=i(52448),n.TipMode=i(32628),n.TokenRequest=i(95426),n.TokenRequestType=i(73865),n.Transaction=i(98957),n.TransactionInfo=i(50234),n.TransactionResult=i(57311),n.TransactionSettings=i(56135),n.TxFormat=i(43762),n.TxType=i(82447),n.Type=i(88960),n.VasConfig=i(53266),n.VasDataType=i(64213),n.VasDataTypeType=i(7641),n.VasMode=i(75314),n.VasPayload=i(61691),n.VasPayloadElement=i(7497),n.VasPayloadResponse=i(35269),n.VasPayloadResponseType=i(38913),n.VasProtocol=i(40492),n.VasPushMode=i(45265),n.VasResponseFormat=i(3360),n.VasServiceProvider=i(90622),n.VasSettings=i(74965),n.VaultedCard=i(15118),t.exports=n},34454:t=>{t.exports={ORDER:"ORDER",RECEIPT:"RECEIPT",FISCAL:"FISCAL",LABEL:"LABEL"}},15350:t=>{t.exports={IN_QUEUE:"IN_QUEUE",PRINTING:"PRINTING",DONE:"DONE",ERROR:"ERROR",UNKNOWN:"UNKNOWN",NOT_FOUND:"NOT_FOUND"}},43540:(t,e,i)=>{var n=i(78353),o=function(){this._class_=o,this.id=void 0,this.mac=void 0,this.model=void 0,this.name=void 0,this.ipAddress=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMac=function(t){this.mac=t},o.prototype.getMac=function(){return this.mac},o.prototype.setModel=function(t){this.model=t},o.prototype.getModel=function(){return this.model},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setIpAddress=function(t){this.ipAddress=t},o.prototype.getIpAddress=function(){return this.ipAddress},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.mac={},o._meta_.fields.mac.type=String,o._meta_.fields.model={},o._meta_.fields.model.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.ipAddress={},o._meta_.fields.ipAddress.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},78353:t=>{t.exports={NETWORK:"NETWORK",MY_LOCAL:"MY_LOCAL"}},54492:(t,e,i)=>{function n(){}t.exports.printer=n,n.PrintCategory=i(34454),n.PrintJobStatus=i(15350),n.Printer=i(43540),n.PrinterType=i(78353),t.exports=n},71410:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACK),this.sourceMethod=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSourceMethod=function(t){this.sourceMethod=t},s.prototype.getSourceMethod=function(){return this.sourceMethod},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.sourceMethod={},s._meta_.fields.sourceMethod.type=n,t.exports=s},93974:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_MESSAGE_FROM_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,t.exports=s},76307:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_MESSAGE_TO_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,t.exports=s},29195:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_REQUEST),this.action=void 0,this.payload=void 0,this.nonBlocking=void 0,this.forceLaunch=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setNonBlocking=function(t){this.nonBlocking=t},s.prototype.getNonBlocking=function(){return this.nonBlocking},s.prototype.setForceLaunch=function(t){this.forceLaunch=t},s.prototype.getForceLaunch=function(){return this.forceLaunch},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.nonBlocking={},s._meta_.fields.nonBlocking.type=Boolean,s._meta_.fields.forceLaunch={},s._meta_.fields.forceLaunch.type=Boolean,t.exports=s},45126:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_RESPONSE),this.resultCode=void 0,this.failReason=void 0,this.payload=void 0,this.action=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setResultCode=function(t){this.resultCode=t},s.prototype.getResultCode=function(){return this.resultCode},s.prototype.setFailReason=function(t){this.failReason=t},s.prototype.getFailReason=function(){return this.failReason},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.resultCode={},s._meta_.fields.resultCode.type=Number,s._meta_.fields.failReason={},s._meta_.fields.failReason.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.action={},s._meta_.fields.action.type=String,t.exports=s},28162:(t,e,i)=>{var n=i(16572),o=function(){this._class_=o,this.discount=void 0};o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,t.exports=o},32364:(t,e,i)=>{var n=i(6062),o=function(){this._class_=o,this.lineItem=void 0,this.taxable=void 0};o.prototype.setLineItem=function(t){this.lineItem=t},o.prototype.getLineItem=function(){return this.lineItem},o.prototype.setTaxable=function(t){this.taxable=t},o.prototype.getTaxable=function(){return this.taxable},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.lineItem={},o._meta_.fields.lineItem.type=n,o._meta_.fields.taxable={},o._meta_.fields.taxable.type=Boolean,t.exports=o},4295:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.BALANCE_INQUIRY),this.cardEntryMethods=void 0,this.cardDataMessage=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},s.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},s.prototype.setCardDataMessage=function(t){this.cardDataMessage=t},s.prototype.getCardDataMessage=function(){return this.cardDataMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardEntryMethods={},s._meta_.fields.cardEntryMethods.type=Number,s._meta_.fields.cardDataMessage={},s._meta_.fields.cardDataMessage.type=String,t.exports=s},57885:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(27138),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.BALANCE_INQUIRY_RESPONSE),this.status=void 0,this.reason=void 0,this.payment=void 0,this.cardDetails=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setCardDetails=function(t){this.cardDetails=t},l.prototype.getCardDetails=function(){return this.cardDetails},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.status={},l._meta_.fields.status.type=o,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.payment={},l._meta_.fields.payment.type=a,l._meta_.fields.cardDetails={},l._meta_.fields.cardDetails.type=s,t.exports=l},8763:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.BREAK)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},22008:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CAPTURE_PREAUTH),this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},25478:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CAPTURE_PREAUTH_RESPONSE),this.status=void 0,this.reason=void 0,this.message=void 0,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setMessage=function(t){this.message=t},r.prototype.getMessage=function(){return this.message},r.prototype.setPaymentId=function(t){this.paymentId=t},r.prototype.getPaymentId=function(){return this.paymentId},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setTipAmount=function(t){this.tipAmount=t},r.prototype.getTipAmount=function(){return this.tipAmount},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.status={},r._meta_.fields.status.type=o,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.message={},r._meta_.fields.message.type=String,r._meta_.fields.paymentId={},r._meta_.fields.paymentId.type=String,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.tipAmount={},r._meta_.fields.tipAmount.type=Number,t.exports=r},17843:(t,e,i)=>{var n=i(58552),o=i(23305),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CARD_DATA),this.payIntent=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPayIntent=function(t){this.payIntent=t},r.prototype.getPayIntent=function(){return this.payIntent},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.payIntent={},r._meta_.fields.payIntent.type=o,t.exports=r},71346:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(9728),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.CARD_DATA_RESPONSE),this.reason=void 0,this.status=void 0,this.cardData=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setCardData=function(t){this.cardData=t},a.prototype.getCardData=function(){return this.cardData},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.cardData={},a._meta_.fields.cardData.type=r,t.exports=a},1838:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CASHBACK_SELECTED),this.cashbackAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCashbackAmount=function(t){this.cashbackAmount=t},s.prototype.getCashbackAmount=function(){return this.cashbackAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cashbackAmount={},s._meta_.fields.cashbackAmount.type=Number,t.exports=s},91146:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CLOSEOUT_REQUEST),this.allowOpenTabs=void 0,this.batchId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},s.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},s.prototype.setBatchId=function(t){this.batchId=t},s.prototype.getBatchId=function(){return this.batchId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.allowOpenTabs={},s._meta_.fields.allowOpenTabs.type=Boolean,s._meta_.fields.batchId={},s._meta_.fields.batchId.type=String,t.exports=s},9139:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(10360),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.CLOSEOUT_RESPONSE),this.reason=void 0,this.status=void 0,this.batch=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setBatch=function(t){this.batch=t},a.prototype.getBatch=function(){return this.batch},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.batch={},a._meta_.fields.batch.type=s,t.exports=a},93761:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CLOVER_DEVICE_LOG_REQUEST),this.message=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},58429:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CONFIGURATION_CHANGE),this.configurationType=void 0,this.configuration=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setConfigurationType=function(t){this.configurationType=t},s.prototype.getConfigurationType=function(){return this.configurationType},s.prototype.setConfiguration=function(t){this.configuration=t},s.prototype.getConfiguration=function(){return this.configuration},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.configurationType={},s._meta_.fields.configurationType.type=String,s._meta_.fields.configuration={},s._meta_.fields.configuration.type=String,t.exports=s},85919:(t,e,i)=>{var n=i(58552),o=i(52514),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.CONFIRM_PAYMENT_MESSAGE),this.payment=void 0,this.challenges=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setChallenges=function(t){this.challenges=t},a.prototype.getChallenges=function(){return this.challenges},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.challenges={},a._meta_.fields.challenges.type=Array,a._meta_.fields.challenges.elementType=o,t.exports=a},50441:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6639),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_CREDIT),this.credit=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCredit=function(t){this.credit=t},r.prototype.getCredit=function(){return this.credit},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,t.exports=r},24088:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(84265),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.CUSTOMER_INFO_MESSAGE),this.customer=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCustomer=function(t){this.customer=t},r.prototype.getCustomer=function(){return this.customer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.customer={},r._meta_.fields.customer.type=s,t.exports=r},41936:(t,e,i)=>{var n=i(58552),o=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CUSTOMER_PROVIDED_DATA_MESSAGE),this.eventId=void 0,this.config=void 0,this.data=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setEventId=function(t){this.eventId=t},r.prototype.getEventId=function(){return this.eventId},r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.eventId={},r._meta_.fields.eventId.type=String,r._meta_.fields.config={},r._meta_.fields.config.type=o,r._meta_.fields.data={},r._meta_.fields.data.type=String,t.exports=r},38237:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6639),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_CREDIT_DECLINE),this.credit=void 0,this.reason=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCredit=function(t){this.credit=t},r.prototype.getCredit=function(){return this.credit},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},86712:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_PAYMENT_DECLINE),this.payment=void 0,this.reason=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},46025:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.DISCOVERY_REQUEST),this.supportsOrderModification=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSupportsOrderModification=function(t){this.supportsOrderModification=t},s.prototype.getSupportsOrderModification=function(){return this.supportsOrderModification},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.supportsOrderModification={},s._meta_.fields.supportsOrderModification.type=Boolean,t.exports=s},44709:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.DISCOVERY_RESPONSE),this.merchantId=void 0,this.merchantName=void 0,this.merchantMId=void 0,this.name=void 0,this.serial=void 0,this.model=void 0,this.ready="false",this.supportsTipAdjust="false",this.supportsManualRefund="false",this.supportsMultiPayToken="false",this.supportsAcknowledgement="false",this.supportsPreAuth="false",this.supportsAuth="false",this.supportsVaultCard="false",this.supportsVoidPaymentResponse="false"};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setMerchantId=function(t){this.merchantId=t},s.prototype.getMerchantId=function(){return this.merchantId},s.prototype.setMerchantName=function(t){this.merchantName=t},s.prototype.getMerchantName=function(){return this.merchantName},s.prototype.setMerchantMId=function(t){this.merchantMId=t},s.prototype.getMerchantMId=function(){return this.merchantMId},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSerial=function(t){this.serial=t},s.prototype.getSerial=function(){return this.serial},s.prototype.setModel=function(t){this.model=t},s.prototype.getModel=function(){return this.model},s.prototype.setReady=function(t){this.ready=t},s.prototype.getReady=function(){return this.ready},s.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},s.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},s.prototype.setSupportsManualRefund=function(t){this.supportsManualRefund=t},s.prototype.getSupportsManualRefund=function(){return this.supportsManualRefund},s.prototype.setSupportsMultiPayToken=function(t){this.supportsMultiPayToken=t},s.prototype.getSupportsMultiPayToken=function(){return this.supportsMultiPayToken},s.prototype.setSupportsAcknowledgement=function(t){this.supportsAcknowledgement=t},s.prototype.getSupportsAcknowledgement=function(){return this.supportsAcknowledgement},s.prototype.setSupportsPreAuth=function(t){this.supportsPreAuth=t},s.prototype.getSupportsPreAuth=function(){return this.supportsPreAuth},s.prototype.setSupportsAuth=function(t){this.supportsAuth=t},s.prototype.getSupportsAuth=function(){return this.supportsAuth},s.prototype.setSupportsVaultCard=function(t){this.supportsVaultCard=t},s.prototype.getSupportsVaultCard=function(){return this.supportsVaultCard},s.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},s.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.merchantId={},s._meta_.fields.merchantId.type=String,s._meta_.fields.merchantName={},s._meta_.fields.merchantName.type=String,s._meta_.fields.merchantMId={},s._meta_.fields.merchantMId.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.serial={},s._meta_.fields.serial.type=String,s._meta_.fields.model={},s._meta_.fields.model.type=String,s._meta_.fields.ready={},s._meta_.fields.ready.type=Boolean,s._meta_.fields.supportsTipAdjust={},s._meta_.fields.supportsTipAdjust.type=Boolean,s._meta_.fields.supportsManualRefund={},s._meta_.fields.supportsManualRefund.type=Boolean,s._meta_.fields.supportsMultiPayToken={},s._meta_.fields.supportsMultiPayToken.type=Boolean,s._meta_.fields.supportsAcknowledgement={},s._meta_.fields.supportsAcknowledgement.type=Boolean,s._meta_.fields.supportsPreAuth={},s._meta_.fields.supportsPreAuth.type=Boolean,s._meta_.fields.supportsAuth={},s._meta_.fields.supportsAuth.type=Boolean,s._meta_.fields.supportsVaultCard={},s._meta_.fields.supportsVaultCard.type=Boolean,s._meta_.fields.supportsVoidPaymentResponse={},s._meta_.fields.supportsVoidPaymentResponse.type=Boolean,t.exports=s},29450:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.EMPLOYEE_PERMISSIONS_REQUEST),this.reason=void 0,this.permissions=void 0,this.appPackage=void 0,this.showCancelButton=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setPermissions=function(t){this.permissions=t},s.prototype.getPermissions=function(){return this.permissions},s.prototype.setAppPackage=function(t){this.appPackage=t},s.prototype.getAppPackage=function(){return this.appPackage},s.prototype.setShowCancelButton=function(t){this.showCancelButton=t},s.prototype.getShowCancelButton=function(){return this.showCancelButton},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.reason={},s._meta_.fields.reason.type=String,s._meta_.fields.permissions={},s._meta_.fields.permissions.type=String,s._meta_.fields.appPackage={},s._meta_.fields.appPackage.type=String,s._meta_.fields.showCancelButton={},s._meta_.fields.showCancelButton.type=Boolean,t.exports=s},59911:t=>{t.exports={ORDER_NOT_FOUND:"ORDER_NOT_FOUND",PAYMENT_NOT_FOUND:"PAYMENT_NOT_FOUND",FAIL:"FAIL"}},6694:(t,e,i)=>{var n=i(59911),o=function(){this._class_=o,this.errorCode=void 0};o.prototype.setErrorCode=function(t){this.errorCode=t},o.prototype.getErrorCode=function(){return this.errorCode},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.errorCode={},o._meta_.fields.errorCode.type=n,t.exports=o},13382:t=>{t.exports={IDLE:"IDLE",BUSY:"BUSY",WAITING_FOR_POS:"WAITING_FOR_POS",WAITING_FOR_CUSTOMER:"WAITING_FOR_CUSTOMER",UNKNOWN:"UNKNOWN"}},6505:t=>{var e=function(){this._class_=e,this.externalPaymentId=void 0,this.customActivityId=void 0};e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setCustomActivityId=function(t){this.customActivityId=t},e.prototype.getCustomActivityId=function(){return this.customActivityId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.customActivityId={},e._meta_.fields.customActivityId.type=String,t.exports=e},89279:(t,e,i)=>{var n=i(13382),o=function(){this._class_=o,this.state=void 0};o.prototype.setState=function(t){this.state=t},o.prototype.getState=function(){return this.state},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.state={},o._meta_.fields.state.type=n,t.exports=o},74199:t=>{t.exports={CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",STARTING_PAYMENT_FLOW:"STARTING_PAYMENT_FLOW",PROCESSING_PAYMENT:"PROCESSING_PAYMENT",PROCESSING_CARD_DATA:"PROCESSING_CARD_DATA",PROCESSING_CREDIT:"PROCESSING_CREDIT",VERIFY_SIGNATURE:"VERIFY_SIGNATURE",TIP_SCREEN:"TIP_SCREEN",RECEIPT_SCREEN:"RECEIPT_SCREEN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",UNKNOWN:"UNKNOWN"}},44132:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.FINISH_CANCEL),this.requestInfo=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setRequestInfo=function(t){this.requestInfo=t},s.prototype.getRequestInfo=function(){return this.requestInfo},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.requestInfo={},s._meta_.fields.requestInfo.type=String,t.exports=s},4847:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(42348),a=i(37471),l=i(6639),d=function(){o.call(this),this._superClass_=o,this._class_=d,this.setMethod(n.FINISH_OK),this.credit=void 0,this.payment=void 0,this.refund=void 0,this.signature=void 0,this.requestInfo=void 0};d.prototype=Object.create(o.prototype),d.prototype.constructor=d,d.prototype.setCredit=function(t){this.credit=t},d.prototype.getCredit=function(){return this.credit},d.prototype.setPayment=function(t){this.payment=t},d.prototype.getPayment=function(){return this.payment},d.prototype.setRefund=function(t){this.refund=t},d.prototype.getRefund=function(){return this.refund},d.prototype.setSignature=function(t){this.signature=t},d.prototype.getSignature=function(){return this.signature},d.prototype.setRequestInfo=function(t){this.requestInfo=t},d.prototype.getRequestInfo=function(){return this.requestInfo},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=o._meta_,d._meta_.fields.credit={},d._meta_.fields.credit.type=l,d._meta_.fields.payment={},d._meta_.fields.payment.type=s,d._meta_.fields.refund={},d._meta_.fields.refund.type=a,d._meta_.fields.signature={},d._meta_.fields.signature.type=r,d._meta_.fields.requestInfo={},d._meta_.fields.requestInfo.type=String,t.exports=d},87233:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.FORCECONNECT),this.friendlyId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFriendlyId=function(t){this.friendlyId=t},s.prototype.getFriendlyId=function(){return this.friendlyId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.friendlyId={},s._meta_.fields.friendlyId.type=String,t.exports=s},34077:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(34454),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.GET_PRINTERS_REQUEST),this.category=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCategory=function(t){this.category=t},r.prototype.getCategory=function(){return this.category},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.category={},r._meta_.fields.category.type=s,t.exports=r},63019:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.GET_PRINTERS_RESPONSE),this.printers=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPrinters=function(t){this.printers=t},r.prototype.getPrinters=function(){return this.printers},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.printers={},r._meta_.fields.printers.type=Array,r._meta_.fields.printers.elementType=o,t.exports=r},54294:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_IMAGE),this.png=void 0,this.urlString=void 0,this.externalPrintJobId=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPng=function(t){this.png=t},r.prototype.getPng=function(){return this.png},r.prototype.setUrlString=function(t){this.urlString=t},r.prototype.getUrlString=function(){return this.urlString},r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.png={},r._meta_.fields.png.type=Object,r._meta_.fields.urlString={},r._meta_.fields.urlString.type=String,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},6556:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.INCREMENT_PREAUTH_REQUEST),this.amount=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},13500:(t,e,i)=>{var n=i(58552),o=i(93657),s=i(39933),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.INCREMENT_PREAUTH_RESPONSE),this.status=void 0,this.reason=void 0,this.authorization=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setAuthorization=function(t){this.authorization=t},a.prototype.getAuthorization=function(){return this.authorization},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=s,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.authorization={},a._meta_.fields.authorization.type=o,t.exports=a},10915:(t,e,i)=>{var n=i(52750),o=function(){this._class_=o,this.keyPress=void 0,this.description=void 0};o.prototype.setKeyPress=function(t){this.keyPress=t},o.prototype.getKeyPress=function(){return this.keyPress},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.keyPress={},o._meta_.fields.keyPress.type=n,o._meta_.fields.description={},o._meta_.fields.description.type=String,t.exports=o},58394:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),d=function(){a.call(this),this._superClass_=a,this._class_=d,this.setMethod(n.INVALID_STATE_TRANSITION),this.result=void 0,this.reason=void 0,this.requestedTransition=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};d.prototype=Object.create(a.prototype),d.prototype.constructor=d,d.prototype.setResult=function(t){this.result=t},d.prototype.getResult=function(){return this.result},d.prototype.setReason=function(t){this.reason=t},d.prototype.getReason=function(){return this.reason},d.prototype.setRequestedTransition=function(t){this.requestedTransition=t},d.prototype.getRequestedTransition=function(){return this.requestedTransition},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setSubstate=function(t){this.substate=t},d.prototype.getSubstate=function(){return this.substate},d.prototype.setData=function(t){this.data=t},d.prototype.getData=function(){return this.data},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=a._meta_,d._meta_.fields.result={},d._meta_.fields.result.type=o,d._meta_.fields.reason={},d._meta_.fields.reason.type=String,d._meta_.fields.requestedTransition={},d._meta_.fields.requestedTransition.type=String,d._meta_.fields.state={},d._meta_.fields.state.type=r,d._meta_.fields.substate={},d._meta_.fields.substate.type=s,d._meta_.fields.data={},d._meta_.fields.data.type=l,t.exports=d},52750:t=>{t.exports={NONE:"NONE",ENTER:"ENTER",ESC:"ESC",BACKSPACE:"BACKSPACE",TAB:"TAB",STAR:"STAR",BUTTON_1:"BUTTON_1",BUTTON_2:"BUTTON_2",BUTTON_3:"BUTTON_3",BUTTON_4:"BUTTON_4",BUTTON_5:"BUTTON_5",BUTTON_6:"BUTTON_6",BUTTON_7:"BUTTON_7",BUTTON_8:"BUTTON_8",DIGIT_1:"DIGIT_1",DIGIT_2:"DIGIT_2",DIGIT_3:"DIGIT_3",DIGIT_4:"DIGIT_4",DIGIT_5:"DIGIT_5",DIGIT_6:"DIGIT_6",DIGIT_7:"DIGIT_7",DIGIT_8:"DIGIT_8",DIGIT_9:"DIGIT_9",DIGIT_0:"DIGIT_0"}},66688:(t,e,i)=>{var n=i(52750),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},94368:(t,e,i)=>{var n=i(58552),o=i(52750),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.KEY_PRESS),this.keyPress=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setKeyPress=function(t){this.keyPress=t},r.prototype.getKeyPress=function(){return this.keyPress},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.keyPress={},r._meta_.fields.keyPress.type=o,t.exports=r},95169:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.LAST_MSG_REQUEST)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},63581:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.LAST_MSG_RESPONSE),this.request=void 0,this.response=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setRequest=function(t){this.request=t},s.prototype.getRequest=function(){return this.request},s.prototype.setResponse=function(t){this.response=t},s.prototype.getResponse=function(){return this.response},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.request={},s._meta_.fields.request.type=o,s._meta_.fields.response={},s._meta_.fields.response.type=o,t.exports=s},42128:t=>{t.exports={VERBOSE:"VERBOSE",DEBUG:"DEBUG",INFO:"INFO",WARN:"WARN",ERROR:"ERROR"}},60536:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(42128),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.LOG_MESSAGE),this.logLevel=void 0,this.messages=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setLogLevel=function(t){this.logLevel=t},r.prototype.getLogLevel=function(){return this.logLevel},r.prototype.setMessages=function(t){this.messages=t},r.prototype.getMessages=function(){return this.messages},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.logLevel={},r._meta_.fields.logLevel.type=s,r._meta_.fields.messages={},r._meta_.fields.messages.type=Object,t.exports=r},64202:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_CALCULATED),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setLoyaltyUuid=function(t){this.loyaltyUuid=t},s.prototype.getLoyaltyUuid=function(){return this.loyaltyUuid},s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.loyaltyUuid={},s._meta_.fields.loyaltyUuid.type=String,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},92507:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_EARNED_SCREEN),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setLoyaltyUuid=function(t){this.loyaltyUuid=t},s.prototype.getLoyaltyUuid=function(){return this.loyaltyUuid},s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.loyaltyUuid={},s._meta_.fields.loyaltyUuid.type=String,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},92027:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_RECEIPT_PRINTED),this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},63485:(t,e,i)=>{var n=i(58552),o=function(){this._class_=o,this.method=void 0,this.messageId=void 0,this.sourceMessageId=void 0,this.version=0};o.prototype.setMethod=function(t){this.method=t},o.prototype.getMethod=function(){return this.method},o.prototype.setMessageId=function(t){this.messageId=t},o.prototype.getMessageId=function(){return this.messageId},o.prototype.setSourceMessageId=function(t){this.sourceMessageId=t},o.prototype.getSourceMessageId=function(){return this.sourceMessageId},o.prototype.setVersion=function(t){this.version=t},o.prototype.getVersion=function(){return this.version},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.method={},o._meta_.fields.method.type=n,o._meta_.fields.messageId={},o._meta_.fields.messageId.type=String,o._meta_.fields.sourceMessageId={},o._meta_.fields.sourceMessageId.type=String,o._meta_.fields.version={},o._meta_.fields.version.type=Number,t.exports=o},58552:t=>{t.exports={ACK:"ACK",ACTIVITY_MESSAGE_FROM_ACTIVITY:"ACTIVITY_MESSAGE_FROM_ACTIVITY",ACTIVITY_MESSAGE_TO_ACTIVITY:"ACTIVITY_MESSAGE_TO_ACTIVITY",ACTIVITY_REQUEST:"ACTIVITY_REQUEST",EMPLOYEE_PERMISSIONS_REQUEST:"EMPLOYEE_PERMISSIONS_REQUEST",ACTIVITY_RESPONSE:"ACTIVITY_RESPONSE",BREAK:"BREAK",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",CAPTURE_PREAUTH_RESPONSE:"CAPTURE_PREAUTH_RESPONSE",CARD_DATA:"CARD_DATA",CARD_DATA_RESPONSE:"CARD_DATA_RESPONSE",CASHBACK_SELECTED:"CASHBACK_SELECTED",CLEAR_SESSION:"CLEAR_SESSION",CLOSEOUT_REQUEST:"CLOSEOUT_REQUEST",CLOSEOUT_RESPONSE:"CLOSEOUT_RESPONSE",CLOVER_DEVICE_LOG_REQUEST:"CLOVER_DEVICE_LOG_REQUEST",CONFIGURATION_CHANGE:"CONFIGURATION_CHANGE",CONFIRM_PAYMENT_MESSAGE:"CONFIRM_PAYMENT_MESSAGE",CUSTOMER_INFO_MESSAGE:"CUSTOMER_INFO_MESSAGE",DISCOVERY_REQUEST:"DISCOVERY_REQUEST",DISCOVERY_RESPONSE:"DISCOVERY_RESPONSE",FINISH_CANCEL:"FINISH_CANCEL",FINISH_OK:"FINISH_OK",FORCECONNECT:"FORCECONNECT",GET_PRINTERS_REQUEST:"GET_PRINTERS_REQUEST",GET_PRINTERS_RESPONSE:"GET_PRINTERS_RESPONSE",INCREMENT_PREAUTH_REQUEST:"INCREMENT_PREAUTH_REQUEST",INCREMENT_PREAUTH_RESPONSE:"INCREMENT_PREAUTH_RESPONSE",INVALID_STATE_TRANSITION:"INVALID_STATE_TRANSITION",KEY_PRESS:"KEY_PRESS",LAST_MSG_REQUEST:"LAST_MSG_REQUEST",LAST_MSG_RESPONSE:"LAST_MSG_RESPONSE",LOG_MESSAGE:"LOG_MESSAGE",OPEN_CASH_DRAWER:"OPEN_CASH_DRAWER",ORDER_ACTION_ADD_DISCOUNT:"ORDER_ACTION_ADD_DISCOUNT",ORDER_ACTION_ADD_LINE_ITEM:"ORDER_ACTION_ADD_LINE_ITEM",ORDER_ACTION_REMOVE_DISCOUNT:"ORDER_ACTION_REMOVE_DISCOUNT",ORDER_ACTION_REMOVE_LINE_ITEM:"ORDER_ACTION_REMOVE_LINE_ITEM",ORDER_ACTION_RESPONSE:"ORDER_ACTION_RESPONSE",PAIRING_CODE:"PAIRING_CODE",PAIRING_REQUEST:"PAIRING_REQUEST",PAIRING_RESPONSE:"PAIRING_RESPONSE",PARTIAL_AUTH:"PARTIAL_AUTH",PAYMENT_CONFIRMED:"PAYMENT_CONFIRMED",PAYMENT_REJECTED:"PAYMENT_REJECTED",PAYMENT_VOIDED:"PAYMENT_VOIDED",PRINT_CREDIT:"PRINT_CREDIT",PRINT_CREDIT_DECLINE:"PRINT_CREDIT_DECLINE",PRINT_IMAGE:"PRINT_IMAGE",PRINT_JOB_STATUS_REQUEST:"PRINT_JOB_STATUS_REQUEST",PRINT_JOB_STATUS_RESPONSE:"PRINT_JOB_STATUS_RESPONSE",PRINT_PAYMENT:"PRINT_PAYMENT",PRINT_PAYMENT_DECLINE:"PRINT_PAYMENT_DECLINE",PRINT_PAYMENT_MERCHANT_COPY:"PRINT_PAYMENT_MERCHANT_COPY",PRINT_TEXT:"PRINT_TEXT",REFUND_PRINT_PAYMENT:"REFUND_PRINT_PAYMENT",REFUND_REQUEST:"REFUND_REQUEST",REFUND_RESPONSE:"REFUND_RESPONSE",REMOTE_ERROR:"REMOTE_ERROR",RESET:"RESET",RESET_DEVICE_RESPONSE:"RESET_DEVICE_RESPONSE",RETRIEVE_CUSTOM_ACTIVITIES_REQUEST:"RETRIEVE_CUSTOM_ACTIVITIES_REQUEST",RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE:"RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE",RETRIEVE_DEVICE_STATUS_REQUEST:"RETRIEVE_DEVICE_STATUS_REQUEST",RETRIEVE_DEVICE_STATUS_RESPONSE:"RETRIEVE_DEVICE_STATUS_RESPONSE",RETRIEVE_PAYMENT_REQUEST:"RETRIEVE_PAYMENT_REQUEST",RETRIEVE_PAYMENT_RESPONSE:"RETRIEVE_PAYMENT_RESPONSE",RETRIEVE_PENDING_PAYMENTS:"RETRIEVE_PENDING_PAYMENTS",RETRIEVE_PENDING_PAYMENTS_RESPONSE:"RETRIEVE_PENDING_PAYMENTS_RESPONSE",SET_ORDER:"SET_ORDER",SHOW_LOYALTY_POINTS_CALCULATED:"SHOW_LOYALTY_POINTS_CALCULATED",SHOW_LOYALTY_POINTS_EARNED_SCREEN:"SHOW_LOYALTY_POINTS_EARNED_SCREEN",SHOW_LOYALTY_POINTS_RECEIPT_PRINTED:"SHOW_LOYALTY_POINTS_RECEIPT_PRINTED",SHOW_ORDER_SCREEN:"SHOW_ORDER_SCREEN",SHOW_PAYMENT_RECEIPT_OPTIONS:"SHOW_PAYMENT_RECEIPT_OPTIONS",SHOW_THANK_YOU_SCREEN:"SHOW_THANK_YOU_SCREEN",SHOW_WELCOME_SCREEN:"SHOW_WELCOME_SCREEN",SHUTDOWN:"SHUTDOWN",SIGNATURE_VERIFIED:"SIGNATURE_VERIFIED",START_VAS:"START_VAS",STOP_VAS:"STOP_VAS",TERMINAL_MESSAGE:"TERMINAL_MESSAGE",TIP_ADDED:"TIP_ADDED",TIP_ADJUST:"TIP_ADJUST",TIP_ADJUST_RESPONSE:"TIP_ADJUST_RESPONSE",TX_START:"TX_START",TX_START_RESPONSE:"TX_START_RESPONSE",TX_STATE:"TX_STATE",UI_STATE:"UI_STATE",VAS_CONFIG:"VAS_CONFIG",VAS_CONFIG_CHANGED:"VAS_CONFIG_CHANGED",VAS_PAYLOAD_MESSAGE:"VAS_PAYLOAD_MESSAGE",VAS_STATE:"VAS_STATE",VAULT_CARD:"VAULT_CARD",VAULT_CARD_RESPONSE:"VAULT_CARD_RESPONSE",VERIFY_SIGNATURE:"VERIFY_SIGNATURE",VOID_PAYMENT:"VOID_PAYMENT",VOID_PAYMENT_RESPONSE:"VOID_PAYMENT_RESPONSE",VOID_PAYMENT_REFUND:"VOID_PAYMENT_REFUND",VOID_PAYMENT_REFUND_RESPONSE:"VOID_PAYMENT_REFUND_RESPONSE",VOID_CREDIT:"VOID_CREDIT",VOID_CREDIT_RESPONSE:"VOID_CREDIT_RESPONSE",REGISTER_FOR_CUST_DATA:"REGISTER_FOR_CUST_DATA",CUSTOMER_PROVIDED_DATA_MESSAGE:"CUSTOMER_PROVIDED_DATA_MESSAGE",LOYALTY_CONFIG:"LOYALTY_CONFIG",SHOW_RECEIPT_OPTIONS:"SHOW_RECEIPT_OPTIONS",SHOW_RECEIPT_OPTIONS_RESPONSE:"SHOW_RECEIPT_OPTIONS_RESPONSE",REQUEST_SIGNATURE:"REQUEST_SIGNATURE",REQUEST_SIGNATURE_RESPONSE:"REQUEST_SIGNATURE_RESPONSE",BALANCE_INQUIRY:"BALANCE_INQUIRY",BALANCE_INQUIRY_RESPONSE:"BALANCE_INQUIRY_RESPONSE",REQUEST_TIP:"REQUEST_TIP",REQUEST_TIP_RESPONSE:"REQUEST_TIP_RESPONSE",CARD_DETAILS:"CARD_DETAILS",CARD_DETAILS_RESPONSE:"CARD_DETAILS_RESPONSE"}},92444:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.OPEN_CASH_DRAWER),this.reason=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},28333:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(28162),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_ADD_DISCOUNT),this.addDiscountAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setAddDiscountAction=function(t){this.addDiscountAction=t},r.prototype.getAddDiscountAction=function(){return this.addDiscountAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.addDiscountAction={},r._meta_.fields.addDiscountAction.type=s,t.exports=r},4861:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(32364),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_ADD_LINE_ITEM),this.addLineItemAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setAddLineItemAction=function(t){this.addLineItemAction=t},r.prototype.getAddLineItemAction=function(){return this.addLineItemAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.addLineItemAction={},r._meta_.fields.addLineItemAction.type=s,t.exports=r},3559:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(22873),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_REMOVE_DISCOUNT),this.removeDiscountAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRemoveDiscountAction=function(t){this.removeDiscountAction=t},r.prototype.getRemoveDiscountAction=function(){return this.removeDiscountAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.removeDiscountAction={},r._meta_.fields.removeDiscountAction.type=s,t.exports=r},21497:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6294),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_REMOVE_LINE_ITEM),this.removeLineItemAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRemoveLineItemAction=function(t){this.removeLineItemAction=t},r.prototype.getRemoveLineItemAction=function(){return this.removeLineItemAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.removeLineItemAction={},r._meta_.fields.removeLineItemAction.type=s,t.exports=r},91485:t=>{var e=function(){this._class_=e,this.accepted=void 0,this.id=void 0};e.prototype.setAccepted=function(t){this.accepted=t},e.prototype.getAccepted=function(){return this.accepted},e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.accepted={},e._meta_.fields.accepted.type=Boolean,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},79477:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(91485),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_RESPONSE),this.orderActionResponse=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setOrderActionResponse=function(t){this.orderActionResponse=t},r.prototype.getOrderActionResponse=function(){return this.orderActionResponse},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.orderActionResponse={},r._meta_.fields.orderActionResponse.type=s,t.exports=r},976:(t,e,i)=>{var n=i(58552),o=i(78368),s=i(30087),r=i(63485),a=i(89361),l=i(79494),d=i(2565),u=i(74066),p=function(){r.call(this),this._superClass_=r,this._class_=p,this.setMethod(n.SHOW_ORDER_SCREEN),this.order=void 0,this.lineItemsAddedOperation=void 0,this.lineItemsDeletedOperation=void 0,this.discountsAddedOperation=void 0,this.discountsDeletedOperation=void 0,this.orderDeletedOperation=void 0};p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.setOrder=function(t){this.order=t},p.prototype.getOrder=function(){return this.order},p.prototype.setLineItemsAddedOperation=function(t){this.lineItemsAddedOperation=t},p.prototype.getLineItemsAddedOperation=function(){return this.lineItemsAddedOperation},p.prototype.setLineItemsDeletedOperation=function(t){this.lineItemsDeletedOperation=t},p.prototype.getLineItemsDeletedOperation=function(){return this.lineItemsDeletedOperation},p.prototype.setDiscountsAddedOperation=function(t){this.discountsAddedOperation=t},p.prototype.getDiscountsAddedOperation=function(){return this.discountsAddedOperation},p.prototype.setDiscountsDeletedOperation=function(t){this.discountsDeletedOperation=t},p.prototype.getDiscountsDeletedOperation=function(){return this.discountsDeletedOperation},p.prototype.setOrderDeletedOperation=function(t){this.orderDeletedOperation=t},p.prototype.getOrderDeletedOperation=function(){return this.orderDeletedOperation},p._meta_={fields:{}},p._meta_._class_=p,p._meta_._superMeta_=r._meta_,p._meta_.fields.order={},p._meta_.fields.order.type=d,p._meta_.fields.lineItemsAddedOperation={},p._meta_.fields.lineItemsAddedOperation.type=a,p._meta_.fields.lineItemsDeletedOperation={},p._meta_.fields.lineItemsDeletedOperation.type=l,p._meta_.fields.discountsAddedOperation={},p._meta_.fields.discountsAddedOperation.type=o,p._meta_.fields.discountsDeletedOperation={},p._meta_.fields.discountsDeletedOperation.type=u,p._meta_.fields.orderDeletedOperation={},p._meta_.fields.orderDeletedOperation.type=s,t.exports=p},34410:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PAIRING_CODE),this.pairingCode=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPairingCode=function(t){this.pairingCode=t},s.prototype.getPairingCode=function(){return this.pairingCode},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.pairingCode={},s._meta_.fields.pairingCode.type=String,t.exports=s},25138:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PAIRING_REQUEST),this.name=void 0,this.serialNumber=void 0,this.applicationName=void 0,this.authenticationToken=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSerialNumber=function(t){this.serialNumber=t},s.prototype.getSerialNumber=function(){return this.serialNumber},s.prototype.setApplicationName=function(t){this.applicationName=t},s.prototype.getApplicationName=function(){return this.applicationName},s.prototype.setAuthenticationToken=function(t){this.authenticationToken=t},s.prototype.getAuthenticationToken=function(){return this.authenticationToken},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.serialNumber={},s._meta_.fields.serialNumber.type=String,s._meta_.fields.applicationName={},s._meta_.fields.applicationName.type=String,s._meta_.fields.authenticationToken={},s._meta_.fields.authenticationToken.type=String,t.exports=s},9352:(t,e,i)=>{var n=i(58552),o=i(25138),s=i(49032),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PAIRING_RESPONSE),this.pairingState=void 0,this.millis=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPairingState=function(t){this.pairingState=t},r.prototype.getPairingState=function(){return this.pairingState},r.prototype.setMillis=function(t){this.millis=t},r.prototype.getMillis=function(){return this.millis},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.pairingState={},r._meta_.fields.pairingState.type=s,r._meta_.fields.millis={},r._meta_.fields.millis.type=Number,t.exports=r},49032:t=>{t.exports={UNINITIALIZED:"UNINITIALIZED",PAIRED:"PAIRED",FAILED:"FAILED",INITIAL:"INITIAL"}},26960:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PARTIAL_AUTH),this.partialAuthAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPartialAuthAmount=function(t){this.partialAuthAmount=t},s.prototype.getPartialAuthAmount=function(){return this.partialAuthAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.partialAuthAmount={},s._meta_.fields.partialAuthAmount.type=Number,t.exports=s},23305:(t,e,i)=>{var n=i(98183),o=i(893),s=i(52448),r=i(12033),a=i(66824),l=i(15118),d=i(56135),u=i(17589),p=function(){this._class_=p,this.action="com.clover.remote.protocol.action.START_REMOTE_PROTOCOL_PAY",this.amount=void 0,this.tippableAmount=void 0,this.tipAmount=void 0,this.taxAmount=void 0,this.orderId=void 0,this.paymentId=void 0,this.employeeId=void 0,this.transactionType=void 0,this.taxableAmountRates=void 0,this.serviceChargeAmount=void 0,this.isDisableCashBack=void 0,this.isTesting=void 0,this.cardEntryMethods=void 0,this.voiceAuthCode=void 0,this.streetAddress=void 0,this.postalCode=void 0,this.isCardNotPresent=void 0,this.cardDataMessage=void 0,this.remotePrint=void 0,this.transactionNo=void 0,this.isForceSwipePinEntry=void 0,this.disableRestartTransactionWhenFailed=void 0,this.externalPaymentId=void 0,this.vaultedCard=void 0,this.allowOfflinePayment=void 0,this.approveOfflinePaymentWithoutPrompt=void 0,this.requiresRemoteConfirmation=void 0,this.applicationTracking=void 0,this.allowPartialAuth=!0,this.germanInfo=void 0,this.cashAdvanceCustomerIdentification=void 0,this.transactionSettings=void 0,this.externalReferenceId=void 0,this.passThroughValues=void 0,this.isPresentQrcOnly=void 0};p.prototype.setAction=function(t){this.action=t},p.prototype.getAction=function(){return this.action},p.prototype.setAmount=function(t){this.amount=t},p.prototype.getAmount=function(){return this.amount},p.prototype.setTippableAmount=function(t){this.tippableAmount=t},p.prototype.getTippableAmount=function(){return this.tippableAmount},p.prototype.setTipAmount=function(t){this.tipAmount=t},p.prototype.getTipAmount=function(){return this.tipAmount},p.prototype.setTaxAmount=function(t){this.taxAmount=t},p.prototype.getTaxAmount=function(){return this.taxAmount},p.prototype.setOrderId=function(t){this.orderId=t},p.prototype.getOrderId=function(){return this.orderId},p.prototype.setPaymentId=function(t){this.paymentId=t},p.prototype.getPaymentId=function(){return this.paymentId},p.prototype.setEmployeeId=function(t){this.employeeId=t},p.prototype.getEmployeeId=function(){return this.employeeId},p.prototype.setTransactionType=function(t){this.transactionType=t},p.prototype.getTransactionType=function(){return this.transactionType},p.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},p.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},p.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},p.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},p.prototype.setIsDisableCashBack=function(t){this.isDisableCashBack=t},p.prototype.getIsDisableCashBack=function(){return this.isDisableCashBack},p.prototype.setIsTesting=function(t){this.isTesting=t},p.prototype.getIsTesting=function(){return this.isTesting},p.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},p.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},p.prototype.setVoiceAuthCode=function(t){this.voiceAuthCode=t},p.prototype.getVoiceAuthCode=function(){return this.voiceAuthCode},p.prototype.setStreetAddress=function(t){this.streetAddress=t},p.prototype.getStreetAddress=function(){return this.streetAddress},p.prototype.setPostalCode=function(t){this.postalCode=t},p.prototype.getPostalCode=function(){return this.postalCode},p.prototype.setIsCardNotPresent=function(t){this.isCardNotPresent=t},p.prototype.getIsCardNotPresent=function(){return this.isCardNotPresent},p.prototype.setCardDataMessage=function(t){this.cardDataMessage=t},p.prototype.getCardDataMessage=function(){return this.cardDataMessage},p.prototype.setRemotePrint=function(t){this.remotePrint=t},p.prototype.getRemotePrint=function(){return this.remotePrint},p.prototype.setTransactionNo=function(t){this.transactionNo=t},p.prototype.getTransactionNo=function(){return this.transactionNo},p.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},p.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},p.prototype.setDisableRestartTransactionWhenFailed=function(t){this.disableRestartTransactionWhenFailed=t},p.prototype.getDisableRestartTransactionWhenFailed=function(){return this.disableRestartTransactionWhenFailed},p.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},p.prototype.getExternalPaymentId=function(){return this.externalPaymentId},p.prototype.setVaultedCard=function(t){this.vaultedCard=t},p.prototype.getVaultedCard=function(){return this.vaultedCard},p.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},p.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},p.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},p.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},p.prototype.setRequiresRemoteConfirmation=function(t){this.requiresRemoteConfirmation=t},p.prototype.getRequiresRemoteConfirmation=function(){return this.requiresRemoteConfirmation},p.prototype.setApplicationTracking=function(t){this.applicationTracking=t},p.prototype.getApplicationTracking=function(){return this.applicationTracking},p.prototype.setAllowPartialAuth=function(t){this.allowPartialAuth=t},p.prototype.getAllowPartialAuth=function(){return this.allowPartialAuth},p.prototype.setGermanInfo=function(t){this.germanInfo=t},p.prototype.getGermanInfo=function(){return this.germanInfo},p.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},p.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},p.prototype.setTransactionSettings=function(t){this.transactionSettings=t},p.prototype.getTransactionSettings=function(){return this.transactionSettings},p.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},p.prototype.getExternalReferenceId=function(){return this.externalReferenceId},p.prototype.setPassThroughValues=function(t){this.passThroughValues=t},p.prototype.getPassThroughValues=function(){return this.passThroughValues},p.prototype.setIsPresentQrcOnly=function(t){this.isPresentQrcOnly=t},p.prototype.getIsPresentQrcOnly=function(){return this.isPresentQrcOnly},p.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},p.prototype.toString=function(){return JSON.stringify(this)},p._meta_={fields:{}},p._meta_._class_=p,p._meta_.fields.action={},p._meta_.fields.action.type=String,p._meta_.fields.amount={},p._meta_.fields.amount.type=Number,p._meta_.fields.tippableAmount={},p._meta_.fields.tippableAmount.type=Number,p._meta_.fields.tipAmount={},p._meta_.fields.tipAmount.type=Number,p._meta_.fields.taxAmount={},p._meta_.fields.taxAmount.type=Number,p._meta_.fields.orderId={},p._meta_.fields.orderId.type=String,p._meta_.fields.paymentId={},p._meta_.fields.paymentId.type=String,p._meta_.fields.employeeId={},p._meta_.fields.employeeId.type=String,p._meta_.fields.transactionType={},p._meta_.fields.transactionType.type=n,p._meta_.fields.taxableAmountRates={},p._meta_.fields.taxableAmountRates.type=Array,p._meta_.fields.taxableAmountRates.elementType=s,p._meta_.fields.serviceChargeAmount={},p._meta_.fields.serviceChargeAmount.type=a,p._meta_.fields.isDisableCashBack={},p._meta_.fields.isDisableCashBack.type=Boolean,p._meta_.fields.isTesting={},p._meta_.fields.isTesting.type=Boolean,p._meta_.fields.cardEntryMethods={},p._meta_.fields.cardEntryMethods.type=Number,p._meta_.fields.voiceAuthCode={},p._meta_.fields.voiceAuthCode.type=String,p._meta_.fields.streetAddress={},p._meta_.fields.streetAddress.type=String,p._meta_.fields.postalCode={},p._meta_.fields.postalCode.type=String,p._meta_.fields.isCardNotPresent={},p._meta_.fields.isCardNotPresent.type=Boolean,p._meta_.fields.cardDataMessage={},p._meta_.fields.cardDataMessage.type=String,p._meta_.fields.remotePrint={},p._meta_.fields.remotePrint.type=Boolean,p._meta_.fields.transactionNo={},p._meta_.fields.transactionNo.type=String,p._meta_.fields.isForceSwipePinEntry={},p._meta_.fields.isForceSwipePinEntry.type=Boolean,p._meta_.fields.disableRestartTransactionWhenFailed={},p._meta_.fields.disableRestartTransactionWhenFailed.type=Boolean,p._meta_.fields.externalPaymentId={},p._meta_.fields.externalPaymentId.type=String,p._meta_.fields.vaultedCard={},p._meta_.fields.vaultedCard.type=l,p._meta_.fields.allowOfflinePayment={},p._meta_.fields.allowOfflinePayment.type=Boolean,p._meta_.fields.approveOfflinePaymentWithoutPrompt={},p._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,p._meta_.fields.requiresRemoteConfirmation={},p._meta_.fields.requiresRemoteConfirmation.type=Boolean,p._meta_.fields.applicationTracking={},p._meta_.fields.applicationTracking.type=r,p._meta_.fields.allowPartialAuth={},p._meta_.fields.allowPartialAuth.type=Boolean,p._meta_.fields.germanInfo={},p._meta_.fields.germanInfo.type=u,p._meta_.fields.cashAdvanceCustomerIdentification={},p._meta_.fields.cashAdvanceCustomerIdentification.type=o,p._meta_.fields.transactionSettings={},p._meta_.fields.transactionSettings.type=d,p._meta_.fields.externalReferenceId={},p._meta_.fields.externalReferenceId.type=String,p._meta_.fields.passThroughValues={},p._meta_.fields.passThroughValues.type=Object,p._meta_.fields.isPresentQrcOnly={},p._meta_.fields.isPresentQrcOnly.type=Boolean,t.exports=p},68096:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PAYMENT_CONFIRMED),this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},51118:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_PAYMENT_MERCHANT_COPY),this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},3385:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(14326),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.PRINT_PAYMENT),this.payment=void 0,this.order=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=s,a._meta_.fields.order={},a._meta_.fields.order.type=r,t.exports=a},33406:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.PAYMENT_REJECTED),this.payment=void 0,this.reason=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.reason={},a._meta_.fields.reason.type=o,t.exports=a},71382:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.PAYMENT_VOIDED),this.payment=void 0,this.voidReason=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setVoidReason=function(t){this.voidReason=t},a.prototype.getVoidReason=function(){return this.voidReason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.voidReason={},a._meta_.fields.voidReason.type=o,t.exports=a},27195:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PRINT_JOB_STATUS_REQUEST),this.externalPrintJobId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},s.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.externalPrintJobId={},s._meta_.fields.externalPrintJobId.type=String,t.exports=s},31174:(t,e,i)=>{var n=i(58552),o=i(15350),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_JOB_STATUS_RESPONSE),this.externalPrintJobId=void 0,this.status=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.status={},r._meta_.fields.status.type=o,t.exports=r},30741:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},40270:(t,e,i)=>{var n=i(30741),o=function(){this._class_=o,this.queryStatus=void 0};o.prototype.setQueryStatus=function(t){this.queryStatus=t},o.prototype.getQueryStatus=function(){return this.queryStatus},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.queryStatus={},o._meta_.fields.queryStatus.type=n,t.exports=o},71041:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(14326),a=i(37471),l=function(){o.call(this),this._superClass_=o,this._class_=l,this.setMethod(n.REFUND_PRINT_PAYMENT),this.payment=void 0,this.order=void 0,this.refund=void 0};l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setOrder=function(t){this.order=t},l.prototype.getOrder=function(){return this.order},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=o._meta_,l._meta_.fields.payment={},l._meta_.fields.payment.type=s,l._meta_.fields.order={},l._meta_.fields.order.type=r,l._meta_.fields.refund={},l._meta_.fields.refund.type=a,t.exports=l},24556:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REFUND_REQUEST),this.fullRefund=void 0,this.amount=void 0,this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFullRefund=function(t){this.fullRefund=t},s.prototype.getFullRefund=function(){return this.fullRefund},s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s.prototype.setExtras=function(t){this.extras=t},s.prototype.getExtras=function(){return this.extras},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.fullRefund={},s._meta_.fields.fullRefund.type=Boolean,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,s._meta_.fields.extras={},s._meta_.fields.extras.type=Object,t.exports=s},87567:(t,e,i)=>{var n=i(58552),o=i(42157),s=i(63485),r=i(59911),a=i(37471),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(n.REFUND_RESPONSE),this.orderId=void 0,this.paymentId=void 0,this.refund=void 0,this.reason=void 0,this.message=void 0,this.code=void 0};l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.setOrderId=function(t){this.orderId=t},l.prototype.getOrderId=function(){return this.orderId},l.prototype.setPaymentId=function(t){this.paymentId=t},l.prototype.getPaymentId=function(){return this.paymentId},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l.prototype.setCode=function(t){this.code=t},l.prototype.getCode=function(){return this.code},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=s._meta_,l._meta_.fields.orderId={},l._meta_.fields.orderId.type=String,l._meta_.fields.paymentId={},l._meta_.fields.paymentId.type=String,l._meta_.fields.refund={},l._meta_.fields.refund.type=a,l._meta_.fields.reason={},l._meta_.fields.reason.type=r,l._meta_.fields.message={},l._meta_.fields.message.type=String,l._meta_.fields.code={},l._meta_.fields.code.type=o,t.exports=l},13904:(t,e,i)=>{var n=i(58552),o=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.REGISTER_FOR_CUST_DATA),this.configurations=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfigurations=function(t){this.configurations=t},r.prototype.getConfigurations=function(){return this.configurations},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.configurations={},r._meta_.fields.configurations.type=Array,r._meta_.fields.configurations.elementType=o,t.exports=r},79441:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REMOTE_ERROR),this.errorDetail=void 0,this.errorMessage=void 0,this.errorCode=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setErrorDetail=function(t){this.errorDetail=t},s.prototype.getErrorDetail=function(){return this.errorDetail},s.prototype.setErrorMessage=function(t){this.errorMessage=t},s.prototype.getErrorMessage=function(){return this.errorMessage},s.prototype.setErrorCode=function(t){this.errorCode=t},s.prototype.getErrorCode=function(){return this.errorCode},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.errorDetail={},s._meta_.fields.errorDetail.type=String,s._meta_.fields.errorMessage={},s._meta_.fields.errorMessage.type=String,s._meta_.fields.errorCode={},s._meta_.fields.errorCode.type=Number,t.exports=s},71085:(t,e,i)=>{var n=i(58552),o=i(35552),s=function(){this._class_=s,this.id=void 0,this.type=void 0,this.packageName=void 0,this.method=void 0,this.payload=void 0,this.remoteSourceSDK=void 0,this.remoteApplicationID=void 0,this.version=void 0,this.fragmentIndex=void 0,this.lastFragment=void 0,this.attachmentEncoding=void 0,this.attachment=void 0,this.attachmentUri=void 0,this.remotePayCompatibilityVersion=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setType=function(t){this.type=t},s.prototype.getType=function(){return this.type},s.prototype.setPackageName=function(t){this.packageName=t},s.prototype.getPackageName=function(){return this.packageName},s.prototype.setMethod=function(t){this.method=t},s.prototype.getMethod=function(){return this.method},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setRemoteSourceSDK=function(t){this.remoteSourceSDK=t},s.prototype.getRemoteSourceSDK=function(){return this.remoteSourceSDK},s.prototype.setRemoteApplicationID=function(t){this.remoteApplicationID=t},s.prototype.getRemoteApplicationID=function(){return this.remoteApplicationID},s.prototype.setVersion=function(t){this.version=t},s.prototype.getVersion=function(){return this.version},s.prototype.setFragmentIndex=function(t){this.fragmentIndex=t},s.prototype.getFragmentIndex=function(){return this.fragmentIndex},s.prototype.setLastFragment=function(t){this.lastFragment=t},s.prototype.getLastFragment=function(){return this.lastFragment},s.prototype.setAttachmentEncoding=function(t){this.attachmentEncoding=t},s.prototype.getAttachmentEncoding=function(){return this.attachmentEncoding},s.prototype.setAttachment=function(t){this.attachment=t},s.prototype.getAttachment=function(){return this.attachment},s.prototype.setAttachmentUri=function(t){this.attachmentUri=t},s.prototype.getAttachmentUri=function(){return this.attachmentUri},s.prototype.setRemotePayCompatibilityVersion=function(t){this.remotePayCompatibilityVersion=t},s.prototype.getRemotePayCompatibilityVersion=function(){return this.remotePayCompatibilityVersion},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.type={},s._meta_.fields.type.type=o,s._meta_.fields.packageName={},s._meta_.fields.packageName.type=String,s._meta_.fields.method={},s._meta_.fields.method.type=n,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.remoteSourceSDK={},s._meta_.fields.remoteSourceSDK.type=String,s._meta_.fields.remoteApplicationID={},s._meta_.fields.remoteApplicationID.type=String,s._meta_.fields.version={},s._meta_.fields.version.type=Number,s._meta_.fields.fragmentIndex={},s._meta_.fields.fragmentIndex.type=Number,s._meta_.fields.lastFragment={},s._meta_.fields.lastFragment.type=Boolean,s._meta_.fields.attachmentEncoding={},s._meta_.fields.attachmentEncoding.type=String,s._meta_.fields.attachment={},s._meta_.fields.attachment.type=String,s._meta_.fields.attachmentUri={},s._meta_.fields.attachmentUri.type=String,s._meta_.fields.remotePayCompatibilityVersion={},s._meta_.fields.remotePayCompatibilityVersion.type=Number,t.exports=s},35552:t=>{t.exports={COMMAND:"COMMAND",QUERY:"QUERY",EVENT:"EVENT",PING:"PING",PONG:"PONG"}},22873:t=>{var e=function(){this._class_=e,this.discountId=void 0,this.lineItemId=void 0};e.prototype.setDiscountId=function(t){this.discountId=t},e.prototype.getDiscountId=function(){return this.discountId},e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.discountId={},e._meta_.fields.discountId.type=String,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,t.exports=e},6294:t=>{var e=function(){this._class_=e,this.lineItemId=void 0};e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,t.exports=e},56232:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(27033),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.REQUEST_TIP),this.tipSuggestions=void 0,this.tippableAmount=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=s,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,t.exports=r},25322:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.REQUEST_TIP_RESPONSE),this.amount=void 0,this.status=void 0,this.reason=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.status={},r._meta_.fields.status.type=o,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},8208:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(13382),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.RESET_DEVICE_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setState=function(t){this.state=t},a.prototype.getState=function(){return this.state},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.state={},a._meta_.fields.state.type=s,t.exports=a},36780:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RESET)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},39933:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},96643:(t,e,i)=>{var n=i(39933),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},34292:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_CUSTOM_ACTIVITIES_REQUEST),this.filters=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFilters=function(t){this.filters=t},s.prototype.getFilters=function(){return this.filters},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.filters={},s._meta_.fields.filters.type=Array,t.exports=s},79154:(t,e,i)=>{var n=i(58552),o=i(79601),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE),this.activities=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setActivities=function(t){this.activities=t},r.prototype.getActivities=function(){return this.activities},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.activities={},r._meta_.fields.activities.type=Array,r._meta_.fields.activities.elementType=o,t.exports=r},4997:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_DEVICE_STATUS_REQUEST),this.sendLastMessage=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},s.prototype.getSendLastMessage=function(){return this.sendLastMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.sendLastMessage={},s._meta_.fields.sendLastMessage.type=Boolean,t.exports=s},63331:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),d=function(){a.call(this),this._superClass_=a,this._class_=d,this.setMethod(n.RETRIEVE_DEVICE_STATUS_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};d.prototype=Object.create(a.prototype),d.prototype.constructor=d,d.prototype.setReason=function(t){this.reason=t},d.prototype.getReason=function(){return this.reason},d.prototype.setStatus=function(t){this.status=t},d.prototype.getStatus=function(){return this.status},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setSubstate=function(t){this.substate=t},d.prototype.getSubstate=function(){return this.substate},d.prototype.setData=function(t){this.data=t},d.prototype.getData=function(){return this.data},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=a._meta_,d._meta_.fields.reason={},d._meta_.fields.reason.type=String,d._meta_.fields.status={},d._meta_.fields.status.type=o,d._meta_.fields.state={},d._meta_.fields.state.type=r,d._meta_.fields.substate={},d._meta_.fields.substate.type=s,d._meta_.fields.data={},d._meta_.fields.data.type=l,t.exports=d},14471:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_PAYMENT_REQUEST),this.externalPaymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},s.prototype.getExternalPaymentId=function(){return this.externalPaymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.externalPaymentId={},s._meta_.fields.externalPaymentId.type=String,t.exports=s},33187:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(82794),a=i(30741),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(n.RETRIEVE_PAYMENT_RESPONSE),this.status=void 0,this.reason=void 0,this.externalPaymentId=void 0,this.queryStatus=void 0,this.message=void 0,this.payment=void 0};l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},l.prototype.getExternalPaymentId=function(){return this.externalPaymentId},l.prototype.setQueryStatus=function(t){this.queryStatus=t},l.prototype.getQueryStatus=function(){return this.queryStatus},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=s._meta_,l._meta_.fields.status={},l._meta_.fields.status.type=o,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.externalPaymentId={},l._meta_.fields.externalPaymentId.type=String,l._meta_.fields.queryStatus={},l._meta_.fields.queryStatus.type=a,l._meta_.fields.message={},l._meta_.fields.message.type=String,l._meta_.fields.payment={},l._meta_.fields.payment.type=r,t.exports=l},55304:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_PENDING_PAYMENTS)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},85876:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(4258),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.RETRIEVE_PENDING_PAYMENTS_RESPONSE),this.status=void 0,this.pendingPaymentEntries=void 0,this.reason=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setPendingPaymentEntries=function(t){this.pendingPaymentEntries=t},a.prototype.getPendingPaymentEntries=function(){return this.pendingPaymentEntries},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.pendingPaymentEntries={},a._meta_.fields.pendingPaymentEntries.type=Array,a._meta_.fields.pendingPaymentEntries.elementType=s,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,t.exports=a},30011:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_PAYMENT_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,t.exports=s},33861:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(37471),a=i(6639),l=function(){o.call(this),this._superClass_=o,this._class_=l,this.setMethod(n.SHOW_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.refundId=void 0,this.creditId=void 0,this.disableCloverPrinting=void 0,this.payment=void 0,this.credit=void 0,this.refund=void 0,this.isReprint=void 0};l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.setOrderId=function(t){this.orderId=t},l.prototype.getOrderId=function(){return this.orderId},l.prototype.setPaymentId=function(t){this.paymentId=t},l.prototype.getPaymentId=function(){return this.paymentId},l.prototype.setRefundId=function(t){this.refundId=t},l.prototype.getRefundId=function(){return this.refundId},l.prototype.setCreditId=function(t){this.creditId=t},l.prototype.getCreditId=function(){return this.creditId},l.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},l.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setCredit=function(t){this.credit=t},l.prototype.getCredit=function(){return this.credit},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l.prototype.setIsReprint=function(t){this.isReprint=t},l.prototype.getIsReprint=function(){return this.isReprint},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=o._meta_,l._meta_.fields.orderId={},l._meta_.fields.orderId.type=String,l._meta_.fields.paymentId={},l._meta_.fields.paymentId.type=String,l._meta_.fields.refundId={},l._meta_.fields.refundId.type=String,l._meta_.fields.creditId={},l._meta_.fields.creditId.type=String,l._meta_.fields.disableCloverPrinting={},l._meta_.fields.disableCloverPrinting.type=Boolean,l._meta_.fields.payment={},l._meta_.fields.payment.type=s,l._meta_.fields.credit={},l._meta_.fields.credit.type=a,l._meta_.fields.refund={},l._meta_.fields.refund.type=r,l._meta_.fields.isReprint={},l._meta_.fields.isReprint.type=Boolean,t.exports=l},14011:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.SHOW_RECEIPT_OPTIONS_RESPONSE),this.reason=void 0,this.status=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.status={},r._meta_.fields.status.type=o,t.exports=r},60159:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHUTDOWN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},33957:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REQUEST_SIGNATURE),this.acknowledgementMessage=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},s.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.acknowledgementMessage={},s._meta_.fields.acknowledgementMessage.type=String,t.exports=s},87252:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(42348),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.REQUEST_SIGNATURE_RESPONSE),this.status=void 0,this.reason=void 0,this.signature=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setSignature=function(t){this.signature=t},a.prototype.getSignature=function(){return this.signature},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.signature={},a._meta_.fields.signature.type=r,t.exports=a},20801:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.SIGNATURE_VERIFIED),this.payment=void 0,this.verified=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setVerified=function(t){this.verified=t},r.prototype.getVerified=function(){return this.verified},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.verified={},r._meta_.fields.verified.type=Boolean,t.exports=r},68741:(t,e,i)=>{var n=i(58552),o=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.START_VAS),this.config=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.config={},r._meta_.fields.config.type=o,t.exports=r},98080:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.STOP_VAS)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},62715:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TERMINAL_MESSAGE),this.text=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setText=function(t){this.text=t},s.prototype.getText=function(){return this.text},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.text={},s._meta_.fields.text.type=String,t.exports=s},82805:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_TEXT),this.textLines=void 0,this.externalPrintJobId=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTextLines=function(t){this.textLines=t},r.prototype.getTextLines=function(){return this.textLines},r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.textLines={},r._meta_.fields.textLines.type=Array,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},30791:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_THANK_YOU_SCREEN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},15828:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADDED),this.tipAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,t.exports=s},26974:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADJUST),this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},47935:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADJUST_RESPONSE),this.success=void 0,this.amount=void 0,this.orderId=void 0,this.message=void 0,this.reason=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSuccess=function(t){this.success=t},s.prototype.getSuccess=function(){return this.success},s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.success={},s._meta_.fields.success.type=Boolean,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.message={},s._meta_.fields.message.type=String,s._meta_.fields.reason={},s._meta_.fields.reason.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},98183:t=>{t.exports={PAYMENT:"PAYMENT",CREDIT:"CREDIT",AUTH:"AUTH",DATA:"DATA",BALANCE_INQUIRY:"BALANCE_INQUIRY",PAYMENT_REVERSAL:"PAYMENT_REVERSAL",PAYMENT_ADJUSTMENT:"PAYMENT_ADJUSTMENT",CREDIT_REVERSAL:"CREDIT_REVERSAL",REFUND_ADJUSTMENT:"REFUND_ADJUSTMENT",CASH_ADVANCE:"CASH_ADVANCE",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",VAS_DATA:"VAS_DATA",VERIFY_CARD:"VERIFY_CARD",TOKENIZE_CARD:"TOKENIZE_CARD"}},27169:(t,e,i)=>{var n=i(58552),o=i(23305),s=i(63485),r=i(14326),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.TX_START),this.suppressOnScreenTips=void 0,this.order=void 0,this.payIntent=void 0,this.requestInfo=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setSuppressOnScreenTips=function(t){this.suppressOnScreenTips=t},a.prototype.getSuppressOnScreenTips=function(){return this.suppressOnScreenTips},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a.prototype.setPayIntent=function(t){this.payIntent=t},a.prototype.getPayIntent=function(){return this.payIntent},a.prototype.setRequestInfo=function(t){this.requestInfo=t},a.prototype.getRequestInfo=function(){return this.requestInfo},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.suppressOnScreenTips={},a._meta_.fields.suppressOnScreenTips.type=Boolean,a._meta_.fields.order={},a._meta_.fields.order.type=r,a._meta_.fields.payIntent={},a._meta_.fields.payIntent.type=o,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},66048:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(36311),r=i(14326),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.TX_START_RESPONSE),this.success=void 0,this.order=void 0,this.externalPaymentId=void 0,this.message=void 0,this.reason=void 0,this.result=void 0,this.requestInfo=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},a.prototype.getExternalPaymentId=function(){return this.externalPaymentId},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setResult=function(t){this.result=t},a.prototype.getResult=function(){return this.result},a.prototype.setRequestInfo=function(t){this.requestInfo=t},a.prototype.getRequestInfo=function(){return this.requestInfo},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.order={},a._meta_.fields.order.type=r,a._meta_.fields.externalPaymentId={},a._meta_.fields.externalPaymentId.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.result={},a._meta_.fields.result.type=s,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},36311:t=>{t.exports={SUCCESS:"SUCCESS",ORDER_MODIFIED:"ORDER_MODIFIED",ORDER_LOAD:"ORDER_LOAD",DUPLICATE:"DUPLICATE",FAIL:"FAIL"}},42157:t=>{t.exports={START:"START",SUCCESS:"SUCCESS",FAIL:"FAIL"}},43506:(t,e,i)=>{var n=i(42157),o=function(){this._class_=o,this.txState=void 0};o.prototype.setTxState=function(t){this.txState=t},o.prototype.getTxState=function(){return this.txState},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.txState={},o._meta_.fields.txState.type=n,t.exports=o},30717:(t,e,i)=>{var n=i(58552),o=i(42157),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.TX_STATE),this.txState=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTxState=function(t){this.txState=t},r.prototype.getTxState=function(){return this.txState},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.txState={},r._meta_.fields.txState.type=o,t.exports=r},42105:t=>{var e=function(){this._class_=e,this.SALE="SALE",this.AUTH="AUTH",this.PREAUTH="PREAUTH",this.CREDIT="CREDIT",this.REFUND="REFUND",this.VOID_PAYMENT="VOID_PAYMENT"};e.prototype.getSALE=function(){return this.SALE},e.prototype.getAUTH=function(){return this.AUTH},e.prototype.getPREAUTH=function(){return this.PREAUTH},e.prototype.getCREDIT=function(){return this.CREDIT},e.prototype.getREFUND=function(){return this.REFUND},e.prototype.getVOIDPAYMENT=function(){return this.VOID_PAYMENT},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.SALE={},e._meta_.fields.SALE.type=String,e._meta_.fields.AUTH={},e._meta_.fields.AUTH.type=String,e._meta_.fields.PREAUTH={},e._meta_.fields.PREAUTH.type=String,e._meta_.fields.CREDIT={},e._meta_.fields.CREDIT.type=String,e._meta_.fields.REFUND={},e._meta_.fields.REFUND.type=String,e._meta_.fields.VOID_PAYMENT={},e._meta_.fields.VOID_PAYMENT.type=String,t.exports=e},36501:t=>{t.exports={ENTER:"ENTER",EXIT:"EXIT"}},3325:t=>{t.exports={ADD_SIGNATURE:"ADD_SIGNATURE",ADD_SIGNATURE_CANCEL_CONFIRM:"ADD_SIGNATURE_CANCEL_CONFIRM",ADD_TIP:"ADD_TIP",APPROVE_ELV_LIMIT_OVERRIDE:"APPROVE_ELV_LIMIT_OVERRIDE",APPROVED:"APPROVED",CANCELED:"CANCELED",CASHBACK_CONFIRM:"CASHBACK_CONFIRM",CASHBACK_SELECT:"CASHBACK_SELECT",CONFIGURING:"CONFIGURING",CONFIRM_AMOUNT:"CONFIRM_AMOUNT",CONFIRM_DUPLICATE_CHECK:"CONFIRM_DUPLICATE_CHECK",CONFIRM_PARTIAL_AUTH:"CONFIRM_PARTIAL_AUTH",CONTACTLESS_TAP_REQUIRED:"CONTACTLESS_TAP_REQUIRED",CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",CUSTOM_TIP_AMOUNT:"CUSTOM_TIP_AMOUNT",DCC_HOST_REQUEST:"DCC_HOST_REQUEST",DECLINED:"DECLINED",DISPLAY_MESSAGE:"DISPLAY_MESSAGE",DISPLAY_ORDER:"DISPLAY_ORDER",ENTER_INSTALLMENT_CODE:"ENTER_INSTALLMENT_CODE",ENTER_INSTALLMENTS:"ENTER_INSTALLMENTS",ENTER_PAN_LAST_FOUR:"ENTER_PAN_LAST_FOUR",ERROR_SCREEN:"ERROR_SCREEN",FAILED:"FAILED",FATAL:"FATAL",FISCAL_INVOICE_NUMBER:"FISCAL_INVOICE_NUMBER",FORCE_ACCEPTANCE:"FORCE_ACCEPTANCE",HANDLE_TENDER:"HANDLE_TENDER",INPUT_ERROR:"INPUT_ERROR",MANUAL_CARD_CVV:"MANUAL_CARD_CVV",MANUAL_CARD_CVV_UNREADABLE:"MANUAL_CARD_CVV_UNREADABLE",MANUAL_CARD_EXPIRATION:"MANUAL_CARD_EXPIRATION",MANUAL_CARD_NUMBER:"MANUAL_CARD_NUMBER",MANUAL_ENTRY_FALLBACK:"MANUAL_ENTRY_FALLBACK",OFFLINE_PAYMENT_CONFIRM:"OFFLINE_PAYMENT_CONFIRM",PACKET_EXCEPTION:"PACKET_EXCEPTION",PERSONAL_ID_ENTRY:"PERSONAL_ID_ENTRY",PERSONAL_ID_ENTRY_PAS:"PERSONAL_ID_ENTRY_PAS",PIN_BYPASS_CONFIRM:"PIN_BYPASS_CONFIRM",PIN_PAD:"PIN_PAD",PROCESSING:"PROCESSING",PROCESSING_CREDIT:"PROCESSING_CREDIT",PROCESSING_GO_ONLINE:"PROCESSING_GO_ONLINE",PROCESSING_SWIPE:"PROCESSING_SWIPE",RECEIPT_OPTIONS:"RECEIPT_OPTIONS",REMOVE_CARD:"REMOVE_CARD",RETURN_TO_MERCHANT:"RETURN_TO_MERCHANT",SELECT_ACCOUNT:"SELECT_ACCOUNT",SELECT_APPLICATION:"SELECT_APPLICATION",SELECT_DCC:"SELECT_DCC",SELECT_INSTALLMENT_PLAN:"SELECT_INSTALLMENT_PLAN",SELECT_LANGUAGE:"SELECT_LANGUAGE",SELECT_MULTI_MID:"SELECT_MULTI_MID",SELECT_TIP:"SELECT_TIP",SELECT_WITHDRAW_FROM_ACCOUNT:"SELECT_WITHDRAW_FROM_ACCOUNT",SENSORY_EXPERIENCE:"SENSORY_EXPERIENCE",SHOW_SEPA_MANDAT:"SHOW_SEPA_MANDAT",SIGNATURE_CUSTOMER_MODE:"SIGNATURE_CUSTOMER_MODE",SIGNATURE_ON_SCREEN_FALLBACK:"SIGNATURE_ON_SCREEN_FALLBACK",SIGNATURE_REJECT:"SIGNATURE_REJECT",START:"START",STARTING_CUSTOM_ACTIVITY:"STARTING_CUSTOM_ACTIVITY",START_QR_CODE_MODE:"START_QR_CODE_MODE",SWIPE_CVV_ENTRY:"SWIPE_CVV_ENTRY",THANKYOU_SCREEN:"THANKYOU_SCREEN",TIMED_OUT:"TIMED_OUT",TRY_AGAIN:"TRY_AGAIN",VERIFY_SIGNATURE_ON_PAPER:"VERIFY_SIGNATURE_ON_PAPER",VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID",VERIFY_SIGNATURE_ON_SCREEN:"VERIFY_SIGNATURE_ON_SCREEN",VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID",VERIFY_SURCHARGES:"VERIFY_SURCHARGES",VOICE_REFERRAL_RESULT:"VOICE_REFERRAL_RESULT",VOID_CONFIRM:"VOID_CONFIRM",VOIDED:"VOIDED",WELCOME_SCREEN:"WELCOME_SCREEN"}},2350:(t,e,i)=>{var n=i(58552),o=i(36501),s=i(10915),r=i(63485),a=i(3325),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.UI_STATE),this.uiText=void 0,this.uiDirection=void 0,this.inputOptions=void 0,this.uiState=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setUiText=function(t){this.uiText=t},l.prototype.getUiText=function(){return this.uiText},l.prototype.setUiDirection=function(t){this.uiDirection=t},l.prototype.getUiDirection=function(){return this.uiDirection},l.prototype.setInputOptions=function(t){this.inputOptions=t},l.prototype.getInputOptions=function(){return this.inputOptions},l.prototype.setUiState=function(t){this.uiState=t},l.prototype.getUiState=function(){return this.uiState},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.uiText={},l._meta_.fields.uiText.type=String,l._meta_.fields.uiDirection={},l._meta_.fields.uiDirection.type=o,l._meta_.fields.inputOptions={},l._meta_.fields.inputOptions.type=Array,l._meta_.fields.inputOptions.elementType=s,l._meta_.fields.uiState={},l._meta_.fields.uiState.type=a,t.exports=l},67864:(t,e,i)=>{var n=i(58552),o=i(47171),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VAS_CONFIG_CHANGED),this.proxyProvider=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setProxyProvider=function(t){this.proxyProvider=t},s.prototype.getProxyProvider=function(){return this.proxyProvider},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.proxyProvider={},s._meta_.fields.proxyProvider.type=String,t.exports=s},47171:(t,e,i)=>{var n=i(58552),o=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.VAS_CONFIG),this.config=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.config={},r._meta_.fields.config.type=o,t.exports=r},14932:(t,e,i)=>{var n=i(58552),o=i(75314),s=i(63485),r=i(61691),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VAS_PAYLOAD_MESSAGE),this.vasPayload=void 0,this.vasMode=void 0,this.extras=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setVasPayload=function(t){this.vasPayload=t},a.prototype.getVasPayload=function(){return this.vasPayload},a.prototype.setVasMode=function(t){this.vasMode=t},a.prototype.getVasMode=function(){return this.vasMode},a.prototype.setExtras=function(t){this.extras=t},a.prototype.getExtras=function(){return this.extras},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.vasPayload={},a._meta_.fields.vasPayload.type=r,a._meta_.fields.vasMode={},a._meta_.fields.vasMode.type=o,a._meta_.fields.extras={},a._meta_.fields.extras.type=Object,t.exports=a},36471:t=>{t.exports={START_REQUESTED:"START_REQUESTED",STARTED:"STARTED",TIMED_OUT:"TIMED_OUT",STOP_REQUESTED:"STOP_REQUESTED",STOPPED:"STOPPED",FAILED:"FAILED"}},6580:(t,e,i)=>{var n=i(36471),o=function(){this._class_=o,this.vasState=void 0};o.prototype.setVasState=function(t){this.vasState=t},o.prototype.getVasState=function(){return this.vasState},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.vasState={},o._meta_.fields.vasState.type=n,t.exports=o},55697:(t,e,i)=>{var n=i(58552),o=i(36471),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.VAS_STATE),this.oldState=void 0,this.newState=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setOldState=function(t){this.oldState=t},r.prototype.getOldState=function(){return this.oldState},r.prototype.setNewState=function(t){this.newState=t},r.prototype.getNewState=function(){return this.newState},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.oldState={},r._meta_.fields.oldState.type=o,r._meta_.fields.newState={},r._meta_.fields.newState.type=o,t.exports=r},51192:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VAULT_CARD),this.cardEntryMethods=void 0,this.tokenType=void 0,this.singleUse=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},s.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},s.prototype.setTokenType=function(t){this.tokenType=t},s.prototype.getTokenType=function(){return this.tokenType},s.prototype.setSingleUse=function(t){this.singleUse=t},s.prototype.getSingleUse=function(){return this.singleUse},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardEntryMethods={},s._meta_.fields.cardEntryMethods.type=Number,s._meta_.fields.tokenType={},s._meta_.fields.tokenType.type=String,s._meta_.fields.singleUse={},s._meta_.fields.singleUse.type=Boolean,t.exports=s},28681:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(15118),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VAULT_CARD_RESPONSE),this.reason=void 0,this.status=void 0,this.tokenType=void 0,this.card=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setTokenType=function(t){this.tokenType=t},a.prototype.getTokenType=function(){return this.tokenType},a.prototype.setCard=function(t){this.card=t},a.prototype.getCard=function(){return this.card},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.tokenType={},a._meta_.fields.tokenType.type=String,a._meta_.fields.card={},a._meta_.fields.card.type=r,t.exports=a},62517:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(42348),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.VERIFY_SIGNATURE),this.payment=void 0,this.signature=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setSignature=function(t){this.signature=t},a.prototype.getSignature=function(){return this.signature},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=s,a._meta_.fields.signature={},a._meta_.fields.signature.type=r,t.exports=a},1023:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VOID_CREDIT),this.orderId=void 0,this.creditId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setCreditId=function(t){this.creditId=t},s.prototype.getCreditId=function(){return this.creditId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.creditId={},s._meta_.fields.creditId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,t.exports=s},42388:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(6639),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_CREDIT_RESPONSE),this.credit=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.credit={},a._meta_.fields.credit.type=r,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,t.exports=a},84212:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_PAYMENT),this.payment=void 0,this.voidReason=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setVoidReason=function(t){this.voidReason=t},a.prototype.getVoidReason=function(){return this.voidReason},a.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},a.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},a.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},a.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},a.prototype.setExtras=function(t){this.extras=t},a.prototype.getExtras=function(){return this.extras},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.voidReason={},a._meta_.fields.voidReason.type=o,a._meta_.fields.disableCloverPrinting={},a._meta_.fields.disableCloverPrinting.type=Boolean,a._meta_.fields.disableReceiptSelection={},a._meta_.fields.disableReceiptSelection.type=Boolean,a._meta_.fields.extras={},a._meta_.fields.extras.type=Object,t.exports=a},69996:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VOID_PAYMENT_REFUND),this.orderId=void 0,this.refundId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setRefundId=function(t){this.refundId=t},s.prototype.getRefundId=function(){return this.refundId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s.prototype.setExtras=function(t){this.extras=t},s.prototype.getExtras=function(){return this.extras},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.refundId={},s._meta_.fields.refundId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,s._meta_.fields.extras={},s._meta_.fields.extras.type=Object,t.exports=s},68778:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(37471),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_PAYMENT_REFUND_RESPONSE),this.refund=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.refund={},a._meta_.fields.refund.type=r,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,t.exports=a},52089:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(39933),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.VOID_PAYMENT_RESPONSE),this.payment=void 0,this.voidReason=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setVoidReason=function(t){this.voidReason=t},l.prototype.getVoidReason=function(){return this.voidReason},l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setSuccess=function(t){this.success=t},l.prototype.getSuccess=function(){return this.success},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.payment={},l._meta_.fields.payment.type=a,l._meta_.fields.voidReason={},l._meta_.fields.voidReason.type=o,l._meta_.fields.status={},l._meta_.fields.status.type=s,l._meta_.fields.success={},l._meta_.fields.success.type=Boolean,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.message={},l._meta_.fields.message.type=String,t.exports=l},16095:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_WELCOME_SCREEN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},90226:(t,e,i)=>{function n(){}t.exports.remotemessage=n,n.AcknowledgementMessage=i(71410),n.ActivityMessageFromActivity=i(93974),n.ActivityMessageToActivity=i(76307),n.ActivityRequest=i(29195),n.ActivityResponseMessage=i(45126),n.AddDiscountAction=i(28162),n.AddLineItemAction=i(32364),n.BalanceInquiryRequestMessage=i(4295),n.BalanceInquiryResponseMessage=i(57885),n.BreakMessage=i(8763),n.CapturePreAuthMessage=i(22008),n.CapturePreAuthResponseMessage=i(25478),n.CardDataRequestMessage=i(17843),n.CardDataResponseMessage=i(71346),n.CashbackSelectedMessage=i(1838),n.CloseoutRequestMessage=i(91146),n.CloseoutResponseMessage=i(9139),n.CloverDeviceLogMessage=i(93761),n.ConfigurationChangeMessage=i(58429),n.ConfirmPaymentMessage=i(85919),n.CreditPrintMessage=i(50441),n.CustomerInfoMessage=i(24088),n.CustomerProvidedDataMessage=i(41936),n.DeclineCreditPrintMessage=i(38237),n.DeclinePaymentPrintMessage=i(86712),n.DiscoveryRequestMessage=i(46025),n.DiscoveryResponseMessage=i(44709),n.EmployeePermissionsRequest=i(29450),n.ErrorCode=i(59911),n.ErrorCodeEnum=i(6694),n.ExternalDeviceState=i(13382),n.ExternalDeviceStateData=i(6505),n.ExternalDeviceStateEnum=i(89279),n.ExternalDeviceSubState=i(74199),n.FinishCancelMessage=i(44132),n.FinishOkMessage=i(4847),n.ForceConnectMessage=i(87233),n.GetPrintersRequestMessage=i(34077),n.GetPrintersResponseMessage=i(63019),n.ImagePrintMessage=i(54294),n.IncrementPreAuthMessage=i(6556),n.IncrementPreAuthResponseMessage=i(13500),n.InputOption=i(10915),n.InvalidStateTransitionMessage=i(58394),n.KeyPress=i(52750),n.KeyPressEnum=i(66688),n.KeyPressMessage=i(94368),n.LastMessageRequestMessage=i(95169),n.LastMessageResponseMessage=i(63581),n.LogLevelEnum=i(42128),n.LogMessage=i(60536),n.LoyaltyPointsCalculatedMessage=i(64202),n.LoyaltyPointsEarnedMessage=i(92507),n.LoyaltyPointsReceiptPrintedMessage=i(92027),n.Message=i(63485),n.Method=i(58552),n.OpenCashDrawerMessage=i(92444),n.OrderActionAddDiscountMessage=i(28333),n.OrderActionAddLineItemMessage=i(4861),n.OrderActionRemoveDiscountMessage=i(3559),n.OrderActionRemoveLineItemMessage=i(21497),n.OrderActionResponse=i(91485),n.OrderActionResponseMessage=i(79477),n.OrderUpdateMessage=i(976),n.PairingCodeMessage=i(34410),n.PairingRequestMessage=i(25138),n.PairingResponseMessage=i(9352),n.PairingState=i(49032),n.PartialAuthMessage=i(26960),n.PayIntent=i(23305),n.PaymentConfirmedMessage=i(68096),n.PaymentPrintMerchantCopyMessage=i(51118),n.PaymentPrintMessage=i(3385),n.PaymentRejectedMessage=i(33406),n.PaymentVoidedMessage=i(71382),n.PrintJobStatusRequestMessage=i(27195),n.PrintJobStatusResponseMessage=i(31174),n.QueryStatus=i(30741),n.QueryStatusEnum=i(40270),n.RefundPaymentPrintMessage=i(71041),n.RefundRequestMessage=i(24556),n.RefundResponseMessage=i(87567),n.RegisterForCustomerProvidedDataMessage=i(13904),n.RemoteError=i(79441),n.RemoteMessage=i(71085),n.RemoteMessageType=i(35552),n.RemoveDiscountAction=i(22873),n.RemoveLineItemAction=i(6294),n.RequestTipRequestMessage=i(56232),n.RequestTipResponseMessage=i(25322),n.ResetDeviceResponseMessage=i(8208),n.ResetMessage=i(36780),n.ResultStatus=i(39933),n.ResultStatusEnum=i(96643),n.RetrieveCustomActivitiesRequestMessage=i(34292),n.RetrieveCustomActivitiesResponseMessage=i(79154),n.RetrieveDeviceStatusRequestMessage=i(4997),n.RetrieveDeviceStatusResponseMessage=i(63331),n.RetrievePaymentRequestMessage=i(14471),n.RetrievePaymentResponseMessage=i(33187),n.RetrievePendingPaymentsMessage=i(55304),n.RetrievePendingPaymentsResponseMessage=i(85876),n.ShowPaymentReceiptOptionsMessage=i(30011),n.ShowReceiptOptionsMessage=i(33861),n.ShowReceiptOptionsResponseMessage=i(14011),n.ShutDownMessage=i(60159),n.SignatureRequestMessage=i(33957),n.SignatureResponseMessage=i(87252),n.SignatureVerifiedMessage=i(20801),n.StartVasMessage=i(68741),n.StopVasMessage=i(98080),n.TerminalMessage=i(62715),n.TextPrintMessage=i(82805),n.ThankYouMessage=i(30791),n.TipAddedMessage=i(15828),n.TipAdjustMessage=i(26974),n.TipAdjustResponseMessage=i(47935),n.TransactionType=i(98183),n.TxStartRequestMessage=i(27169),n.TxStartResponseMessage=i(66048),n.TxStartResponseResult=i(36311),n.TxState=i(42157),n.TxStateEnum=i(43506),n.TxStateMessage=i(30717),n.TxTypeRequestInfo=i(42105),n.UiDirection=i(36501),n.UiState=i(3325),n.UiStateMessage=i(2350),n.VasConfigChangedMessage=i(67864),n.VasConfigMessage=i(47171),n.VasPayloadMessage=i(14932),n.VasState=i(36471),n.VasStateEnum=i(6580),n.VasStateMessage=i(55697),n.VaultCardMessage=i(51192),n.VaultCardResponseMessage=i(28681),n.VerifySignatureMessage=i(62517),n.VoidCreditMessage=i(1023),n.VoidCreditResponseMessage=i(42388),n.VoidPaymentMessage=i(84212),n.VoidPaymentRefundMessage=i(69996),n.VoidPaymentRefundResponseMessage=i(68778),n.VoidPaymentResponseMessage=i(52089),n.WelcomeMessage=i(16095),t.exports=n},80567:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.action=void 0,this.payload=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.action={},o._meta_.fields.action.type=String,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,t.exports=o},50382:(t,e,i)=>{var n=i(95790),o=i(39513),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.PAYMENT};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},46049:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},34774:t=>{var e=function(){this._class_=e,this.requestId=void 0,this.version=void 0};e.prototype.setRequestId=function(t){this.requestId=t},e.prototype.getRequestId=function(){return this.requestId},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestId={},e._meta_.fields.requestId.type=String,e._meta_.fields.version={},e._meta_.fields.version.type=Number,t.exports=e},77122:(t,e,i)=>{var n=i(76631),o=function(){this._class_=o,this.success=void 0,this.result=void 0,this.reason=void 0,this.message=void 0};o.prototype.setSuccess=function(t){this.success=t},o.prototype.getSuccess=function(){return this.success},o.prototype.setResult=function(t){this.result=t},o.prototype.getResult=function(){return this.result},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.setMessage=function(t){this.message=t},o.prototype.getMessage=function(){return this.message},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.success={},o._meta_.fields.success.type=Boolean,o._meta_.fields.result={},o._meta_.fields.result.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,o._meta_.fields.message={},o._meta_.fields.message.type=String,t.exports=o},86745:(t,e,i)=>{var n=i(34774),o=i(95790),s=i(15118),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.disableDuplicateChecking=void 0,this.cardNotPresent=void 0,this.disableRestartTransactionOnFail=void 0,this.amount=void 0,this.cardEntryMethods=void 0,this.presentQrcOnly=void 0,this.vaultedCard=void 0,this.externalId=void 0,this.type=void 0,this.autoAcceptPaymentConfirmations=void 0,this.extras=void 0,this.regionalExtras=void 0,this.externalReferenceId=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setDisablePrinting=function(t){this.disablePrinting=t},r.prototype.getDisablePrinting=function(){return this.disablePrinting},r.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},r.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},r.prototype.setDisableDuplicateChecking=function(t){this.disableDuplicateChecking=t},r.prototype.getDisableDuplicateChecking=function(){return this.disableDuplicateChecking},r.prototype.setCardNotPresent=function(t){this.cardNotPresent=t},r.prototype.getCardNotPresent=function(){return this.cardNotPresent},r.prototype.setDisableRestartTransactionOnFail=function(t){this.disableRestartTransactionOnFail=t},r.prototype.getDisableRestartTransactionOnFail=function(){return this.disableRestartTransactionOnFail},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},r.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},r.prototype.setPresentQrcOnly=function(t){this.presentQrcOnly=t},r.prototype.getPresentQrcOnly=function(){return this.presentQrcOnly},r.prototype.setVaultedCard=function(t){this.vaultedCard=t},r.prototype.getVaultedCard=function(){return this.vaultedCard},r.prototype.setExternalId=function(t){this.externalId=t},r.prototype.getExternalId=function(){return this.externalId},r.prototype.getType=function(){return this.type},r.prototype.setAutoAcceptPaymentConfirmations=function(t){this.autoAcceptPaymentConfirmations=t},r.prototype.getAutoAcceptPaymentConfirmations=function(){return this.autoAcceptPaymentConfirmations},r.prototype.setExtras=function(t){this.extras=t},r.prototype.getExtras=function(){return this.extras},r.prototype.setRegionalExtras=function(t){this.regionalExtras=t},r.prototype.getRegionalExtras=function(){return this.regionalExtras},r.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},r.prototype.getExternalReferenceId=function(){return this.externalReferenceId},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.disablePrinting={},r._meta_.fields.disablePrinting.type=Boolean,r._meta_.fields.disableReceiptSelection={},r._meta_.fields.disableReceiptSelection.type=Boolean,r._meta_.fields.disableDuplicateChecking={},r._meta_.fields.disableDuplicateChecking.type=Boolean,r._meta_.fields.cardNotPresent={},r._meta_.fields.cardNotPresent.type=Boolean,r._meta_.fields.disableRestartTransactionOnFail={},r._meta_.fields.disableRestartTransactionOnFail.type=Boolean,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardEntryMethods={},r._meta_.fields.cardEntryMethods.type=Number,r._meta_.fields.presentQrcOnly={},r._meta_.fields.presentQrcOnly.type=Boolean,r._meta_.fields.vaultedCard={},r._meta_.fields.vaultedCard.type=s,r._meta_.fields.externalId={},r._meta_.fields.externalId.type=String,r._meta_.fields.type={},r._meta_.fields.type.type=o,r._meta_.fields.autoAcceptPaymentConfirmations={},r._meta_.fields.autoAcceptPaymentConfirmations.type=Boolean,r._meta_.fields.extras={},r._meta_.fields.extras.type=Object,r._meta_.fields.regionalExtras={},r._meta_.fields.regionalExtras.type=Object,r._meta_.fields.externalReferenceId={},r._meta_.fields.externalReferenceId.type=String,t.exports=r},67293:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},52202:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},91991:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},42159:(t,e,i)=>{var n=i(77122),o=i(15118),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.card=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=o,t.exports=s},41692:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},3447:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,t.exports=o},92675:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.allowOpenTabs="false",this.batchId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},o.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},o.prototype.setBatchId=function(t){this.batchId=t},o.prototype.getBatchId=function(){return this.batchId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.allowOpenTabs={},o._meta_.fields.allowOpenTabs.type=Boolean,o._meta_.fields.batchId={},o._meta_.fields.batchId.type=String,t.exports=o},68001:(t,e,i)=>{var n=i(10360),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.batch=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setBatch=function(t){this.batch=t},s.prototype.getBatch=function(){return this.batch},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.batch={},s._meta_.fields.batch.type=n,t.exports=s},38982:(t,e,i)=>{var n=i(5063),o=i(95172),s=i(67314),r=function(){this._class_=r,this.message=void 0,this.code=void 0,this.cause=void 0,this.type=void 0};r.prototype.setMessage=function(t){this.message=t},r.prototype.getMessage=function(){return this.message},r.prototype.setCode=function(t){this.code=t},r.prototype.getCode=function(){return this.code},r.prototype.setCause=function(t){this.cause=t},r.prototype.getCause=function(){return this.cause},r.prototype.setType=function(t){this.type=t},r.prototype.getType=function(){return this.type},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.message={},r._meta_.fields.message.type=String,r._meta_.fields.code={},r._meta_.fields.code.type=n,r._meta_.fields.cause={},r._meta_.fields.cause.type=o,r._meta_.fields.type={},r._meta_.fields.type.type=s,t.exports=r},20764:(t,e,i)=>{var n=i(41985),o=i(11531),s=function(){this._class_=s,this.message=void 0,this.code=void 0,this.eventState=void 0,this.inputOptions=void 0};s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.setCode=function(t){this.code=t},s.prototype.getCode=function(){return this.code},s.prototype.setEventState=function(t){this.eventState=t},s.prototype.getEventState=function(){return this.eventState},s.prototype.setInputOptions=function(t){this.inputOptions=t},s.prototype.getInputOptions=function(){return this.inputOptions},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.message={},s._meta_.fields.message.type=String,s._meta_.fields.code={},s._meta_.fields.code.type=Number,s._meta_.fields.eventState={},s._meta_.fields.eventState.type=n,s._meta_.fields.inputOptions={},s._meta_.fields.inputOptions.type=Array,s._meta_.fields.inputOptions.elementType=o,t.exports=s},59755:(t,e,i)=>{var n=i(34774),o=i(52514),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.challenges=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setChallenges=function(t){this.challenges=t},r.prototype.getChallenges=function(){return this.challenges},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.challenges={},r._meta_.fields.challenges.type=Array,r._meta_.fields.challenges.elementType=o,t.exports=r},64991:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.action=void 0,this.payload=void 0,this.nonBlocking=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.setNonBlocking=function(t){this.nonBlocking=t},o.prototype.getNonBlocking=function(){return this.nonBlocking},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.action={},o._meta_.fields.action.type=String,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,o._meta_.fields.nonBlocking={},o._meta_.fields.nonBlocking.type=Boolean,t.exports=o},56053:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.payload=void 0,this.action=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,o._meta_.fields.action={},o._meta_.fields.action.type=String,t.exports=o},69662:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},84432:(t,e,i)=>{var n=i(71508),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.eventId=void 0,this.config=void 0,this.data=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setEventId=function(t){this.eventId=t},s.prototype.getEventId=function(){return this.eventId},s.prototype.setConfig=function(t){this.config=t},s.prototype.getConfig=function(){return this.config},s.prototype.setData=function(t){this.data=t},s.prototype.getData=function(){return this.data},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.eventId={},s._meta_.fields.eventId.type=String,s._meta_.fields.config={},s._meta_.fields.config.type=n,s._meta_.fields.data={},s._meta_.fields.data.type=String,t.exports=s},71508:t=>{var e=function(){this._class_=e,this.type=void 0,this.configuration=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setConfiguration=function(t){this.configuration=t},e.prototype.getConfiguration=function(){return this.configuration},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.configuration={},e._meta_.fields.configuration.type=Object,t.exports=e},5063:t=>{t.exports={AbortEndpoint:"AbortEndpoint",AccessDenied:"AccessDenied",CancelIoFailed:"CancelIoFailed",DeviceAllreadyLocked:"DeviceAllreadyLocked",DeviceIoControl:"DeviceIoControl",DeviceNotFound:"DeviceNotFound",EndpointAllreadyLocked:"EndpointAllreadyLocked",GetDeviceKeyValueFailed:"GetDeviceKeyValueFailed",GetOverlappedResult:"GetOverlappedResult",GetString:"GetString",InsufficientMemory:"InsufficientMemory",Interrupted:"Interrupted",InvalidConfig:"InvalidConfig",InvalidEndpoint:"InvalidEndpoint",InvalidParam:"InvalidParam",IoCancelled:"IoCancelled",IoControlMessage:"IoControlMessage",IoEndpointGlobalCancelRedo:"IoEndpointGlobalCancelRedo",IoSyncFailed:"IoSyncFailed",IoTimedOut:"IoTimedOut",MonoApiError:"MonoApiError",None:"None",NotConnected:"NotConnected",NotSupported:"NotSupported",Ok:"Ok",Overflow:"Overflow",PipeError:"PipeError",ReadFailed:"ReadFailed",ReceiveThreadTerminated:"ReceiveThreadTerminated",ResourceBusy:"ResourceBusy",SendNotificationFailure:"SendNotificationFailure",SetDeviceKeyValueFailed:"SetDeviceKeyValueFailed",Success:"Success",UnknownError:"UnknownError",UserAborted:"UserAborted",Win32Error:"Win32Error",WriteFailed:"WriteFailed"}},89406:(t,e,i)=>{var n=i(5063),o=i(41985),s=function(){this._class_=s,this.deviceErrorEventCode=void 0,this.deviceEventState=void 0};s.prototype.setDeviceErrorEventCode=function(t){this.deviceErrorEventCode=t},s.prototype.getDeviceErrorEventCode=function(){return this.deviceErrorEventCode},s.prototype.setDeviceEventState=function(t){this.deviceEventState=t},s.prototype.getDeviceEventState=function(){return this.deviceEventState},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.deviceErrorEventCode={},s._meta_.fields.deviceErrorEventCode.type=n,s._meta_.fields.deviceEventState={},s._meta_.fields.deviceEventState.type=o,t.exports=s},41985:t=>{t.exports={ADD_SIGNATURE:"ADD_SIGNATURE",ADD_SIGNATURE_CANCEL_CONFIRM:"ADD_SIGNATURE_CANCEL_CONFIRM",ADD_TIP:"ADD_TIP",APPROVE_ELV_LIMIT_OVERRIDE:"APPROVE_ELV_LIMIT_OVERRIDE",APPROVED:"APPROVED",CANCELED:"CANCELED",CASHBACK_CONFIRM:"CASHBACK_CONFIRM",CASHBACK_SELECT:"CASHBACK_SELECT",CONFIGURING:"CONFIGURING",CONFIRM_AMOUNT:"CONFIRM_AMOUNT",CONFIRM_DUPLICATE_CHECK:"CONFIRM_DUPLICATE_CHECK",CONFIRM_PARTIAL_AUTH:"CONFIRM_PARTIAL_AUTH",CONTACTLESS_TAP_REQUIRED:"CONTACTLESS_TAP_REQUIRED",CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",CUSTOM_TIP_AMOUNT:"CUSTOM_TIP_AMOUNT",DCC_HOST_REQUEST:"DCC_HOST_REQUEST",DECLINED:"DECLINED",ENTER_INSTALLMENT_CODE:"ENTER_INSTALLMENT_CODE",ENTER_INSTALLMENTS:"ENTER_INSTALLMENTS",ENTER_PAN_LAST_FOUR:"ENTER_PAN_LAST_FOUR",ERROR_SCREEN:"ERROR_SCREEN",FAILED:"FAILED",FATAL:"FATAL",FISCAL_INVOICE_NUMBER:"FISCAL_INVOICE_NUMBER",FORCE_ACCEPTANCE:"FORCE_ACCEPTANCE",HANDLE_TENDER:"HANDLE_TENDER",INPUT_ERROR:"INPUT_ERROR",MANUAL_CARD_CVV:"MANUAL_CARD_CVV",MANUAL_CARD_CVV_UNREADABLE:"MANUAL_CARD_CVV_UNREADABLE",MANUAL_CARD_EXPIRATION:"MANUAL_CARD_EXPIRATION",MANUAL_CARD_NUMBER:"MANUAL_CARD_NUMBER",MANUAL_ENTRY_FALLBACK:"MANUAL_ENTRY_FALLBACK",OFFLINE_PAYMENT_CONFIRM:"OFFLINE_PAYMENT_CONFIRM",PACKET_EXCEPTION:"PACKET_EXCEPTION",PERSONAL_ID_ENTRY:"PERSONAL_ID_ENTRY",PERSONAL_ID_ENTRY_PAS:"PERSONAL_ID_ENTRY_PAS",PIN_BYPASS_CONFIRM:"PIN_BYPASS_CONFIRM",PIN_PAD:"PIN_PAD",PROCESSING:"PROCESSING",PROCESSING_CREDIT:"PROCESSING_CREDIT",PROCESSING_GO_ONLINE:"PROCESSING_GO_ONLINE",PROCESSING_SWIPE:"PROCESSING_SWIPE",RECEIPT_OPTIONS:"RECEIPT_OPTIONS",REMOVE_CARD:"REMOVE_CARD",RETURN_TO_MERCHANT:"RETURN_TO_MERCHANT",SELECT_ACCOUNT:"SELECT_ACCOUNT",SELECT_APPLICATION:"SELECT_APPLICATION",SELECT_DCC:"SELECT_DCC",SELECT_INSTALLMENT_PLAN:"SELECT_INSTALLMENT_PLAN",SELECT_LANGUAGE:"SELECT_LANGUAGE",SELECT_MULTI_MID:"SELECT_MULTI_MID",SELECT_TIP:"SELECT_TIP",SELECT_WITHDRAW_FROM_ACCOUNT:"SELECT_WITHDRAW_FROM_ACCOUNT",SENSORY_EXPERIENCE:"SENSORY_EXPERIENCE",SHOW_SEPA_MANDAT:"SHOW_SEPA_MANDAT",SIGNATURE_CUSTOMER_MODE:"SIGNATURE_CUSTOMER_MODE",SIGNATURE_ON_SCREEN_FALLBACK:"SIGNATURE_ON_SCREEN_FALLBACK",SIGNATURE_REJECT:"SIGNATURE_REJECT",START:"START",STARTING_CUSTOM_ACTIVITY:"STARTING_CUSTOM_ACTIVITY",START_QR_CODE_MODE:"START_QR_CODE_MODE",SWIPE_CVV_ENTRY:"SWIPE_CVV_ENTRY",TIMED_OUT:"TIMED_OUT",TRY_AGAIN:"TRY_AGAIN",VERIFY_SIGNATURE_ON_PAPER:"VERIFY_SIGNATURE_ON_PAPER",VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID",VERIFY_SIGNATURE_ON_SCREEN:"VERIFY_SIGNATURE_ON_SCREEN",VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID",VERIFY_SURCHARGES:"VERIFY_SURCHARGES",VOICE_REFERRAL_RESULT:"VOICE_REFERRAL_RESULT",VOID_CONFIRM:"VOID_CONFIRM",VOIDED:"VOIDED"}},25756:t=>{var e=function(){this._class_=e,this.name=void 0,this.model=void 0,this.serial=void 0,this.supportsAcks=void 0,this.supportsVoidPaymentResponse=void 0};e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setModel=function(t){this.model=t},e.prototype.getModel=function(){return this.model},e.prototype.setSerial=function(t){this.serial=t},e.prototype.getSerial=function(){return this.serial},e.prototype.setSupportsAcks=function(t){this.supportsAcks=t},e.prototype.getSupportsAcks=function(){return this.supportsAcks},e.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},e.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.model={},e._meta_.fields.model.type=String,e._meta_.fields.serial={},e._meta_.fields.serial.type=String,e._meta_.fields.supportsAcks={},e._meta_.fields.supportsAcks.type=Boolean,e._meta_.fields.supportsVoidPaymentResponse={},e._meta_.fields.supportsVoidPaymentResponse.type=Boolean,t.exports=e},53463:t=>{var e=function(){this._class_=e,this.orderId=void 0,this.paymentId=void 0,this.refundId=void 0,this.creditId=void 0,this.disablePrinting=!1};e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setPaymentId=function(t){this.paymentId=t},e.prototype.getPaymentId=function(){return this.paymentId},e.prototype.setRefundId=function(t){this.refundId=t},e.prototype.getRefundId=function(){return this.refundId},e.prototype.setCreditId=function(t){this.creditId=t},e.prototype.getCreditId=function(){return this.creditId},e.prototype.setDisablePrinting=function(t){this.disablePrinting=t},e.prototype.getDisablePrinting=function(){return this.disablePrinting},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.paymentId={},e._meta_.fields.paymentId.type=String,e._meta_.fields.refundId={},e._meta_.fields.refundId.type=String,e._meta_.fields.creditId={},e._meta_.fields.creditId.type=String,e._meta_.fields.disablePrinting={},e._meta_.fields.disablePrinting.type=Boolean,t.exports=e},12145:(t,e,i)=>{var n=i(75710),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.resultStatus=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setResultStatus=function(t){this.resultStatus=t},s.prototype.getResultStatus=function(){return this.resultStatus},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.resultStatus={},s._meta_.fields.resultStatus.type=n,t.exports=s},67314:t=>{t.exports={COMMUNICATION:"COMMUNICATION",VALIDATION:"VALIDATION",EXCEPTION:"EXCEPTION"}},30057:t=>{t.exports={IDLE:"IDLE",BUSY:"BUSY",WAITING_FOR_POS:"WAITING_FOR_POS",WAITING_FOR_CUSTOMER:"WAITING_FOR_CUSTOMER",UNKNOWN:"UNKNOWN"}},76418:t=>{var e=function(){this._class_=e,this.externalPaymentId=void 0,this.customActivityId=void 0};e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setCustomActivityId=function(t){this.customActivityId=t},e.prototype.getCustomActivityId=function(){return this.customActivityId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.customActivityId={},e._meta_.fields.customActivityId.type=String,t.exports=e},85017:(t,e,i)=>{var n=i(30057),o=function(){this._class_=o,this.state=void 0};o.prototype.setState=function(t){this.state=t},o.prototype.getState=function(){return this.state},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.state={},o._meta_.fields.state.type=n,t.exports=o},77385:t=>{var e=function(){};e.prototype.acceptSignature=function(t){},e.prototype.acceptPayment=function(t){},e.prototype.rejectPayment=function(t,e){},e.prototype.auth=function(t){},e.prototype.preAuth=function(t){},e.prototype.capturePreAuth=function(t){},e.prototype.incrementPreAuth=function(t){},e.prototype.closeout=function(t){},e.prototype.displayReceiptOptions=function(t){},e.prototype.showDisplayOrder=function(t){},e.prototype.removeDisplayOrder=function(t){},e.prototype.discountAddedToDisplayOrder=function(t,e){},e.prototype.discountRemovedFromDisplayOrder=function(t,e){},e.prototype.lineItemAddedToDisplayOrder=function(t,e){},e.prototype.lineItemRemovedFromDisplayOrder=function(t,e){},e.prototype.dispose=function(){},e.prototype.invokeInputOption=function(t){},e.prototype.manualRefund=function(t){},e.prototype.refundPayment=function(t){},e.prototype.openCashDrawer=function(t){},e.prototype.print=function(t){},e.prototype.rejectSignature=function(t){},e.prototype.resetDevice=function(){},e.prototype.sale=function(t){},e.prototype.showMessage=function(t){},e.prototype.showThankYouScreen=function(){},e.prototype.showWelcomeScreen=function(){},e.prototype.tipAdjustAuth=function(t){},e.prototype.vaultCard=function(t){},e.prototype.voidPayment=function(t){},e.prototype.initializeConnection=function(){},e.prototype.retrievePendingPayments=function(){},e.prototype.readCardData=function(t){},e.prototype.sendMessageToActivity=function(t){},e.prototype.startCustomActivity=function(t){},e.prototype.retrieveDeviceStatus=function(t){return null},e.prototype.retrievePayment=function(t){},e.prototype.retrievePrinters=function(t){},e.prototype.retrievePrintJobStatus=function(t){},e.prototype.registerForCustomerProvidedData=function(t){},e.prototype.setCustomerInfo=function(t){},e.prototype.checkBalance=function(t){},t.exports=e},31806:t=>{var e=function(){};e.prototype.onDeviceDisconnected=function(){},e.prototype.onDeviceConnected=function(){},e.prototype.onDeviceReady=function(t){},e.prototype.onDeviceActivityStart=function(t){},e.prototype.onDeviceActivityEnd=function(t){},e.prototype.onDeviceError=function(t){},e.prototype.onAuthResponse=function(t){},e.prototype.onTipAdjustAuthResponse=function(t){},e.prototype.onCapturePreAuthResponse=function(t){},e.prototype.onIncrementPreAuthResponse=function(t){},e.prototype.onVerifySignatureRequest=function(t){},e.prototype.onConfirmPaymentRequest=function(t){},e.prototype.onCloseoutResponse=function(t){},e.prototype.onSaleResponse=function(t){},e.prototype.onManualRefundResponse=function(t){},e.prototype.onRefundPaymentResponse=function(t){},e.prototype.onTipAdded=function(t){},e.prototype.onVoidPaymentResponse=function(t){},e.prototype.onVoidPaymentRefundResponse=function(t){},e.prototype.onVaultCardResponse=function(t){},e.prototype.onPreAuthResponse=function(t){},e.prototype.onRetrievePendingPaymentsResponse=function(t){},e.prototype.onReadCardDataResponse=function(t){},e.prototype.onMessageFromActivity=function(t){},e.prototype.onCustomActivityResponse=function(t){},e.prototype.onRetrieveDeviceStatusResponse=function(t){},e.prototype.onInvalidStateTransitionResponse=function(t){},e.prototype.onResetDeviceResponse=function(t){},e.prototype.onRetrievePaymentResponse=function(t){},e.prototype.onRetrievePrintersResponse=function(t){},e.prototype.onPrintJobStatusResponse=function(t){},e.prototype.onPrintManualRefundReceipt=function(t){},e.prototype.onPrintManualRefundDeclineReceipt=function(t){},e.prototype.onPrintPaymentReceipt=function(t){},e.prototype.onPrintPaymentDeclineReceipt=function(t){},e.prototype.onPrintPaymentMerchantCopyReceipt=function(t){},e.prototype.onPrintRefundPaymentReceipt=function(t){},e.prototype.onCustomerProvidedData=function(t){},e.prototype.onDisplayReceiptOptionsResponse=function(t){},e.prototype.onRequestSignatureResponse=function(t){},e.prototype.onCheckBalanceResponse=function(t){},e.prototype.onRequestTipResponse=function(t){},t.exports=e},67865:t=>{var e=function(){this._class_=e,this.data=void 0,this.src=void 0,this.width=void 0,this.height=void 0};e.prototype.setData=function(t){this.data=t},e.prototype.getData=function(){return this.data},e.prototype.setSrc=function(t){this.src=t},e.prototype.getSrc=function(){return this.src},e.prototype.setWidth=function(t){this.width=t},e.prototype.getWidth=function(){return this.width},e.prototype.setHeight=function(t){this.height=t},e.prototype.getHeight=function(){return this.height},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.data={},e._meta_.fields.data.type=String,e._meta_.fields.src={},e._meta_.fields.src.type=String,e._meta_.fields.width={},e._meta_.fields.width.type=Number,e._meta_.fields.height={},e._meta_.fields.height.type=Number,t.exports=e},31650:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},4580:(t,e,i)=>{var n=i(93657),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.authorization=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAuthorization=function(t){this.authorization=t},s.prototype.getAuthorization=function(){return this.authorization},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.authorization={},s._meta_.fields.authorization.type=n,t.exports=s},11531:(t,e,i)=>{var n=i(38146),o=function(){this._class_=o,this.keyPress=void 0,this.description=void 0};o.prototype.setKeyPress=function(t){this.keyPress=t},o.prototype.getKeyPress=function(){return this.keyPress},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.keyPress={},o._meta_.fields.keyPress.type=n,o._meta_.fields.description={},o._meta_.fields.description.type=String,t.exports=o},33292:(t,e,i)=>{var n=i(30057),o=i(77122),s=i(76418),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.requestedTransition=void 0,this.state=void 0,this.data=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRequestedTransition=function(t){this.requestedTransition=t},r.prototype.getRequestedTransition=function(){return this.requestedTransition},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.requestedTransition={},r._meta_.fields.requestedTransition.type=String,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},38146:t=>{t.exports={NONE:"NONE",ENTER:"ENTER",ESC:"ESC",BACKSPACE:"BACKSPACE",TAB:"TAB",STAR:"STAR",BUTTON_1:"BUTTON_1",BUTTON_2:"BUTTON_2",BUTTON_3:"BUTTON_3",BUTTON_4:"BUTTON_4",BUTTON_5:"BUTTON_5",BUTTON_6:"BUTTON_6",BUTTON_7:"BUTTON_7",BUTTON_8:"BUTTON_8",DIGIT_1:"DIGIT_1",DIGIT_2:"DIGIT_2",DIGIT_3:"DIGIT_3",DIGIT_4:"DIGIT_4",DIGIT_5:"DIGIT_5",DIGIT_6:"DIGIT_6",DIGIT_7:"DIGIT_7",DIGIT_8:"DIGIT_8",DIGIT_9:"DIGIT_9",DIGIT_0:"DIGIT_0"}},38068:(t,e,i)=>{var n=i(38146),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},24950:(t,e,i)=>{var n=i(95790),o=i(86745),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.CREDIT};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},25924:(t,e,i)=>{var n=i(77122),o=i(6639),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.credit=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,t.exports=s},4682:(t,e,i)=>{var n=i(25756),o=function(){this._class_=o,this.merchantID=void 0,this.merchantMID=void 0,this.merchantName=void 0,this.supportsAuths=!0,this.supportsPreAuths=!0,this.supportsSales=!0,this.supportsVaultCards=!0,this.supportsManualRefunds=!0,this.supportsTipAdjust=!0,this.deviceInfo=void 0};o.prototype.setMerchantID=function(t){this.merchantID=t},o.prototype.getMerchantID=function(){return this.merchantID},o.prototype.setMerchantMID=function(t){this.merchantMID=t},o.prototype.getMerchantMID=function(){return this.merchantMID},o.prototype.setMerchantName=function(t){this.merchantName=t},o.prototype.getMerchantName=function(){return this.merchantName},o.prototype.setSupportsAuths=function(t){this.supportsAuths=t},o.prototype.getSupportsAuths=function(){return this.supportsAuths},o.prototype.setSupportsPreAuths=function(t){this.supportsPreAuths=t},o.prototype.getSupportsPreAuths=function(){return this.supportsPreAuths},o.prototype.setSupportsSales=function(t){this.supportsSales=t},o.prototype.getSupportsSales=function(){return this.supportsSales},o.prototype.setSupportsVaultCards=function(t){this.supportsVaultCards=t},o.prototype.getSupportsVaultCards=function(){return this.supportsVaultCards},o.prototype.setSupportsManualRefunds=function(t){this.supportsManualRefunds=t},o.prototype.getSupportsManualRefunds=function(){return this.supportsManualRefunds},o.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},o.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},o.prototype.setDeviceInfo=function(t){this.deviceInfo=t},o.prototype.getDeviceInfo=function(){return this.deviceInfo},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.merchantID={},o._meta_.fields.merchantID.type=String,o._meta_.fields.merchantMID={},o._meta_.fields.merchantMID.type=String,o._meta_.fields.merchantName={},o._meta_.fields.merchantName.type=String,o._meta_.fields.supportsAuths={},o._meta_.fields.supportsAuths.type=Boolean,o._meta_.fields.supportsPreAuths={},o._meta_.fields.supportsPreAuths.type=Boolean,o._meta_.fields.supportsSales={},o._meta_.fields.supportsSales.type=Boolean,o._meta_.fields.supportsVaultCards={},o._meta_.fields.supportsVaultCards.type=Boolean,o._meta_.fields.supportsManualRefunds={},o._meta_.fields.supportsManualRefunds.type=Boolean,o._meta_.fields.supportsTipAdjust={},o._meta_.fields.supportsTipAdjust.type=Boolean,o._meta_.fields.deviceInfo={},o._meta_.fields.deviceInfo.type=n,t.exports=o},42845:(t,e,i)=>{var n=i(80567),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},89378:(t,e,i)=>{var n=i(80567),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},62337:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.reason=void 0,this.deviceId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.setDeviceId=function(t){this.deviceId=t},o.prototype.getDeviceId=function(){return this.deviceId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,o._meta_.fields.deviceId={},o._meta_.fields.deviceId.type=String,t.exports=o},25008:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(42348),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,this.isSale=!1,this.isPreAuth=!1,this.isAuth=!1,this.signature=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setIsSale=function(t){this.isSale=t},r.prototype.getIsSale=function(){return this.isSale},r.prototype.setIsPreAuth=function(t){this.isPreAuth=t},r.prototype.getIsPreAuth=function(){return this.isPreAuth},r.prototype.setIsAuth=function(t){this.isAuth=t},r.prototype.getIsAuth=function(){return this.isAuth},r.prototype.setSignature=function(t){this.signature=t},r.prototype.getSignature=function(){return this.signature},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,r._meta_.fields.isSale={},r._meta_.fields.isSale.type=Boolean,r._meta_.fields.isPreAuth={},r._meta_.fields.isPreAuth.type=Boolean,r._meta_.fields.isAuth={},r._meta_.fields.isAuth.type=Boolean,r._meta_.fields.signature={},r._meta_.fields.signature.type=s,t.exports=r},95172:t=>{var e=function(){this._class_=e,this.message=void 0};e.prototype.setMessage=function(t){this.message=t},e.prototype.getMessage=function(){return this.message},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.message={},e._meta_.fields.message.type=String,t.exports=e},72076:(t,e,i)=>{var n=i(95790),o=i(86745),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.AUTH};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},80178:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},62979:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.printRequestId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPrintRequestId=function(t){this.printRequestId=t},o.prototype.getPrintRequestId=function(){return this.printRequestId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.printRequestId={},o._meta_.fields.printRequestId.type=String,t.exports=o},93435:(t,e,i)=>{var n=i(15350),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.status=void 0,this.printRequestId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setPrintRequestId=function(t){this.printRequestId=t},s.prototype.getPrintRequestId=function(){return this.printRequestId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,t.exports=s},83260:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.credit=void 0,this.reason=void 0};o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},22611:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.credit=void 0};o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,t.exports=o},30546:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.payment=void 0,this.reason=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},6483:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.payment=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,t.exports=o},31470:(t,e,i)=>{var n=i(82794),o=i(14326),s=function(){this._class_=s,this.payment=void 0,this.order=void 0};s.prototype.setPayment=function(t){this.payment=t},s.prototype.getPayment=function(){return this.payment},s.prototype.setOrder=function(t){this.order=t},s.prototype.getOrder=function(){return this.order},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.payment={},s._meta_.fields.payment.type=n,s._meta_.fields.order={},s._meta_.fields.order.type=o,t.exports=s},74840:(t,e,i)=>{var n=i(82794),o=i(14326),s=i(37471),r=function(){this._class_=r,this.payment=void 0,this.order=void 0,this.refund=void 0};r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setOrder=function(t){this.order=t},r.prototype.getOrder=function(){return this.order},r.prototype.setRefund=function(t){this.refund=t},r.prototype.getRefund=function(){return this.refund},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,r._meta_.fields.order={},r._meta_.fields.order.type=o,r._meta_.fields.refund={},r._meta_.fields.refund.type=s,t.exports=r},75344:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(14326),r=i(37471),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.payment=void 0,this.refund=void 0,this.order=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=n,a._meta_.fields.refund={},a._meta_.fields.refund.type=r,a._meta_.fields.order={},a._meta_.fields.order.type=s,t.exports=a},3627:(t,e,i)=>{var n=i(34774),o=i(67865),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.images=void 0,this.text=void 0,this.imageUrls=void 0,this.printRequestId=void 0,this.printDeviceId=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setImages=function(t){this.images=t},s.prototype.getImages=function(){return this.images},s.prototype.setText=function(t){this.text=t},s.prototype.getText=function(){return this.text},s.prototype.setImageUrls=function(t){this.imageUrls=t},s.prototype.getImageUrls=function(){return this.imageUrls},s.prototype.setPrintRequestId=function(t){this.printRequestId=t},s.prototype.getPrintRequestId=function(){return this.printRequestId},s.prototype.setPrintDeviceId=function(t){this.printDeviceId=t},s.prototype.getPrintDeviceId=function(){return this.printDeviceId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.images={},s._meta_.fields.images.type=Array,s._meta_.fields.images.elementType=o,s._meta_.fields.text={},s._meta_.fields.text.type=Array,s._meta_.fields.imageUrls={},s._meta_.fields.imageUrls.type=Array,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,s._meta_.fields.printDeviceId={},s._meta_.fields.printDeviceId.type=String,t.exports=s},74675:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},72721:(t,e,i)=>{var n=i(74675),o=function(){this._class_=o,this.queryStatus=void 0};o.prototype.setQueryStatus=function(t){this.queryStatus=t},o.prototype.getQueryStatus=function(){return this.queryStatus},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.queryStatus={},o._meta_.fields.queryStatus.type=n,t.exports=o},4814:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.isForceSwipePinEntry=void 0,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},o.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.isForceSwipePinEntry={},o._meta_.fields.isForceSwipePinEntry.type=Boolean,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},96031:(t,e,i)=>{var n=i(9728),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.cardData=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardData=function(t){this.cardData=t},s.prototype.getCardData=function(){return this.cardData},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardData={},s._meta_.fields.cardData.type=n,t.exports=s},10361:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.fullRefund=void 0,this.amount=void 0,this.orderId=void 0,this.paymentId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setFullRefund=function(t){this.fullRefund=t},o.prototype.getFullRefund=function(){return this.fullRefund},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.fullRefund={},o._meta_.fields.fullRefund.type=Boolean,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},76430:(t,e,i)=>{var n=i(77122),o=i(37471),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.orderId=void 0,this.paymentId=void 0,this.refund=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,t.exports=s},68400:(t,e,i)=>{var n=i(34774),o=i(71508),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.configurations=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setConfigurations=function(t){this.configurations=t},s.prototype.getConfigurations=function(){return this.configurations},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.configurations={},s._meta_.fields.configurations.type=Array,s._meta_.fields.configurations.elementType=o,t.exports=s},15227:(t,e,i)=>{var n=i(30057),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.state=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.state={},s._meta_.fields.state.type=n,t.exports=s},76631:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",UNSUPPORTED:"UNSUPPORTED",CANCEL:"CANCEL",DUPLICATE:"DUPLICATE",ERROR:"ERROR"}},69417:(t,e,i)=>{var n=i(76631),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},75710:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},98199:(t,e,i)=>{var n=i(75710),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},82523:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.sendLastMessage=!1};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},o.prototype.getSendLastMessage=function(){return this.sendLastMessage},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.sendLastMessage={},o._meta_.fields.sendLastMessage.type=Boolean,t.exports=o},71721:(t,e,i)=>{var n=i(30057),o=i(77122),s=i(76418),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.state=void 0,this.data=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},98284:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.externalPaymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},o.prototype.getExternalPaymentId=function(){return this.externalPaymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.externalPaymentId={},o._meta_.fields.externalPaymentId.type=String,t.exports=o},8405:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(74675),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.externalPaymentId=void 0,this.queryStatus=void 0,this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},r.prototype.getExternalPaymentId=function(){return this.externalPaymentId},r.prototype.setQueryStatus=function(t){this.queryStatus=t},r.prototype.getQueryStatus=function(){return this.queryStatus},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.externalPaymentId={},r._meta_.fields.externalPaymentId.type=String,r._meta_.fields.queryStatus={},r._meta_.fields.queryStatus.type=s,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,t.exports=r},31971:(t,e,i)=>{var n=i(4258),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.pendingPaymentEntries=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPendingPaymentEntries=function(t){this.pendingPaymentEntries=t},s.prototype.getPendingPaymentEntries=function(){return this.pendingPaymentEntries},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.pendingPaymentEntries={},s._meta_.fields.pendingPaymentEntries.type=Array,s._meta_.fields.pendingPaymentEntries.elementType=n,t.exports=s},84279:(t,e,i)=>{var n=i(34774),o=i(34454),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.category=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},10646:(t,e,i)=>{var n=i(43540),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.printers=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPrinters=function(t){this.printers=t},s.prototype.getPrinters=function(){return this.printers},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.printers={},s._meta_.fields.printers.type=Array,s._meta_.fields.printers.elementType=n,t.exports=s},72926:(t,e,i)=>{var n=i(95790),o=i(32628),s=i(39513),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.type=n.PAYMENT,this.tipAmount=void 0,this.tipMode=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTipAmount=function(t){this.tipAmount=t},r.prototype.getTipAmount=function(){return this.tipAmount},r.prototype.setTipMode=function(t){this.tipMode=t},r.prototype.getTipMode=function(){return this.tipMode},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.tipAmount={},r._meta_.fields.tipAmount.type=Number,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=o,t.exports=r},81519:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},58087:(t,e,i)=>{var n=i(34774),o=i(69662),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.customerInfo=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCustomerInfo=function(t){this.customerInfo=t},s.prototype.getCustomerInfo=function(){return this.customerInfo},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.customerInfo={},s._meta_.fields.customerInfo.type=o,t.exports=s},74598:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.acknowledgementMessage=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},o.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.acknowledgementMessage={},o._meta_.fields.acknowledgementMessage.type=String,t.exports=o},21412:(t,e,i)=>{var n=i(77122),o=i(42348),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.signature=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setSignature=function(t){this.signature=t},s.prototype.getSignature=function(){return this.signature},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.signature={},s._meta_.fields.signature.type=o,t.exports=s},98939:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},92486:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},18897:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},41899:(t,e,i)=>{var n=i(34774),o=i(27033),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.tipSuggestions=void 0,this.tippableAmount=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},s.prototype.getTipSuggestions=function(){return this.tipSuggestions},s.prototype.setTippableAmount=function(t){this.tippableAmount=t},s.prototype.getTippableAmount=function(){return this.tippableAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.tipSuggestions={},s._meta_.fields.tipSuggestions.type=Array,s._meta_.fields.tipSuggestions.elementType=o,s._meta_.fields.tippableAmount={},s._meta_.fields.tippableAmount.type=Number,t.exports=s},8022:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},39513:(t,e,i)=>{var n=i(57953),o=i(27033),s=i(86745),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.signatureThreshold=void 0,this.signatureEntryLocation=void 0,this.autoAcceptSignature=void 0,this.allowOfflinePayment=void 0,this.forceOfflinePayment=void 0,this.disableCashback=void 0,this.approveOfflinePaymentWithoutPrompt=void 0,this.taxAmount=void 0,this.tippableAmount=void 0,this.tipSuggestions=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setSignatureThreshold=function(t){this.signatureThreshold=t},r.prototype.getSignatureThreshold=function(){return this.signatureThreshold},r.prototype.setSignatureEntryLocation=function(t){this.signatureEntryLocation=t},r.prototype.getSignatureEntryLocation=function(){return this.signatureEntryLocation},r.prototype.setAutoAcceptSignature=function(t){this.autoAcceptSignature=t},r.prototype.getAutoAcceptSignature=function(){return this.autoAcceptSignature},r.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},r.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},r.prototype.setForceOfflinePayment=function(t){this.forceOfflinePayment=t},r.prototype.getForceOfflinePayment=function(){return this.forceOfflinePayment},r.prototype.setDisableCashback=function(t){this.disableCashback=t},r.prototype.getDisableCashback=function(){return this.disableCashback},r.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},r.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},r.prototype.setTaxAmount=function(t){this.taxAmount=t},r.prototype.getTaxAmount=function(){return this.taxAmount},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.signatureThreshold={},r._meta_.fields.signatureThreshold.type=Number,r._meta_.fields.signatureEntryLocation={},r._meta_.fields.signatureEntryLocation.type=n,r._meta_.fields.autoAcceptSignature={},r._meta_.fields.autoAcceptSignature.type=Boolean,r._meta_.fields.allowOfflinePayment={},r._meta_.fields.allowOfflinePayment.type=Boolean,r._meta_.fields.forceOfflinePayment={},r._meta_.fields.forceOfflinePayment.type=Boolean,r._meta_.fields.disableCashback={},r._meta_.fields.disableCashback.type=Boolean,r._meta_.fields.approveOfflinePaymentWithoutPrompt={},r._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,r._meta_.fields.taxAmount={},r._meta_.fields.taxAmount.type=Number,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=o,t.exports=r},95790:t=>{t.exports={PAYMENT:"PAYMENT",CREDIT:"CREDIT",AUTH:"AUTH",DATA:"DATA",BALANCE_INQUIRY:"BALANCE_INQUIRY",PAYMENT_REVERSAL:"PAYMENT_REVERSAL",PAYMENT_ADJUSTMENT:"PAYMENT_ADJUSTMENT",CREDIT_REVERSAL:"CREDIT_REVERSAL",REFUND_ADJUSTMENT:"REFUND_ADJUSTMENT",CASH_ADVANCE:"CASH_ADVANCE",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",VAS_DATA:"VAS_DATA",VERIFY_CARD:"VERIFY_CARD",TOKENIZE_CARD:"TOKENIZE_CARD"}},66921:(t,e,i)=>{var n=i(95790),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},4022:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},19916:(t,e,i)=>{var n=i(77122),o=i(15118),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.card=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=o,t.exports=s},40177:(t,e,i)=>{var n=i(34774),o=i(82794),s=i(42348),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.signature=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setSignature=function(t){this.signature=t},r.prototype.getSignature=function(){return this.signature},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.signature={},r._meta_.fields.signature.type=s,t.exports=r},5817:t=>{var e=function(){this._class_=e,this.requestId=void 0,this.orderId=void 0,this.creditId=void 0,this.extras=void 0};e.prototype.setRequestId=function(t){this.requestId=t},e.prototype.getRequestId=function(){return this.requestId},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setCreditId=function(t){this.creditId=t},e.prototype.getCreditId=function(){return this.creditId},e.prototype.setExtras=function(t){this.extras=t},e.prototype.getExtras=function(){return this.extras},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestId={},e._meta_.fields.requestId.type=String,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.creditId={},e._meta_.fields.creditId.type=String,e._meta_.fields.extras={},e._meta_.fields.extras.type=Object,t.exports=e},87929:(t,e,i)=>{var n=i(75710),o=i(6639),s=function(){this._class_=s,this.requestId=void 0,this.status=void 0,this.credit=void 0};s.prototype.setRequestId=function(t){this.requestId=t},s.prototype.getRequestId=function(){return this.requestId},s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.requestId={},s._meta_.fields.requestId.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,t.exports=s},99072:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.refundId=void 0,this.orderId=void 0,this.employeeId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setRefundId=function(t){this.refundId=t},o.prototype.getRefundId=function(){return this.refundId},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.refundId={},o._meta_.fields.refundId.type=String,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},16255:(t,e,i)=>{var n=i(76430),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.refundId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setRefundId=function(t){this.refundId=t},o.prototype.getRefundId=function(){return this.refundId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.refundId={},o._meta_.fields.refundId.type=String,t.exports=o},76745:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.orderId=void 0,this.paymentId=void 0,this.employeeId=void 0,this.voidReason=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setVoidReason=function(t){this.voidReason=t},o.prototype.getVoidReason=function(){return this.voidReason},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.voidReason={},o._meta_.fields.voidReason.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},9559:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},95626:(t,e,i)=>{function n(){}t.exports.remotepay=n,n.ActivityMessage=i(80567),n.AuthRequest=i(50382),n.AuthResponse=i(46049),n.BaseRequest=i(34774),n.BaseResponse=i(77122),n.BaseTransactionRequest=i(86745),n.CapturePreAuthRequest=i(67293),n.CapturePreAuthResponse=i(52202),n.CardInfoRequest=i(91991),n.CardInfoResponse=i(42159),n.CheckBalanceRequest=i(41692),n.CheckBalanceResponse=i(3447),n.CloseoutRequest=i(92675),n.CloseoutResponse=i(68001),n.CloverDeviceErrorEvent=i(38982),n.CloverDeviceEvent=i(20764),n.ConfirmPaymentRequest=i(59755),n.CustomActivityRequest=i(64991),n.CustomActivityResponse=i(56053),n.CustomerInfo=i(69662),n.CustomerProvidedDataEvent=i(84432),n.DataProviderConfig=i(71508),n.DeviceErrorEventCode=i(5063),n.DeviceEventEnum=i(89406),n.DeviceEventState=i(41985),n.DeviceInfo=i(25756),n.DisplayReceiptOptionsRequest=i(53463),n.DisplayReceiptOptionsResponse=i(12145),n.ErrorType=i(67314),n.ExternalDeviceState=i(30057),n.ExternalDeviceStateData=i(76418),n.ExternalDeviceStateEnum=i(85017),n.ICloverConnector=i(77385),n.ICloverConnectorListener=i(31806),n.Img=i(67865),n.IncrementPreAuthRequest=i(31650),n.IncrementPreAuthResponse=i(4580),n.InputOption=i(11531),n.InvalidStateTransitionResponse=i(33292),n.KeyPress=i(38146),n.KeyPressEnum=i(38068),n.ManualRefundRequest=i(24950),n.ManualRefundResponse=i(25924),n.MerchantInfo=i(4682),n.MessageFromActivity=i(42845),n.MessageToActivity=i(89378),n.OpenCashDrawerRequest=i(62337),n.PaymentResponse=i(25008),n.PlatformError=i(95172),n.PreAuthRequest=i(72076),n.PreAuthResponse=i(80178),n.PrintJobStatusRequest=i(62979),n.PrintJobStatusResponse=i(93435),n.PrintManualRefundDeclineReceiptMessage=i(83260),n.PrintManualRefundReceiptMessage=i(22611),n.PrintPaymentDeclineReceiptMessage=i(30546),n.PrintPaymentMerchantCopyReceiptMessage=i(6483),n.PrintPaymentReceiptMessage=i(31470),n.PrintRefundPaymentReceiptMessage=i(74840),n.PrintRefundPaymentReceiptResponse=i(75344),n.PrintRequest=i(3627),n.QueryStatus=i(74675),n.QueryStatusEnum=i(72721),n.ReadCardDataRequest=i(4814),n.ReadCardDataResponse=i(96031),n.RefundPaymentRequest=i(10361),n.RefundPaymentResponse=i(76430),n.RegisterForCustomerProvidedDataRequest=i(68400),n.ResetDeviceResponse=i(15227),n.ResponseCode=i(76631),n.ResponseCodeEnum=i(69417),n.ResultStatus=i(75710),n.ResultStatusEnum=i(98199),n.RetrieveDeviceStatusRequest=i(82523),n.RetrieveDeviceStatusResponse=i(71721),n.RetrievePaymentRequest=i(98284),n.RetrievePaymentResponse=i(8405),n.RetrievePendingPaymentsResponse=i(31971),n.RetrievePrintersRequest=i(84279),n.RetrievePrintersResponse=i(10646),n.SaleRequest=i(72926),n.SaleResponse=i(81519),n.SetCustomerInfoRequest=i(58087),n.SignatureRequest=i(74598),n.SignatureResponse=i(21412),n.TipAdded=i(98939),n.TipAdjustAuthRequest=i(92486),n.TipAdjustAuthResponse=i(18897),n.TipRequest=i(41899),n.TipResponse=i(8022),n.TransactionRequest=i(39513),n.TransactionType=i(95790),n.TransactionTypeEnum=i(66921),n.VaultCardRequest=i(4022),n.VaultCardResponse=i(19916),n.VerifySignatureRequest=i(40177),n.VoidCreditRequest=i(5817),n.VoidCreditResponse=i(87929),n.VoidPaymentRefundRequest=i(99072),n.VoidPaymentRefundResponse=i(16255),n.VoidPaymentRequest=i(76745),n.VoidPaymentResponse=i(9559),t.exports=n},95615:t=>{t.exports={ONEOFF:"ONEOFF",MULTIPAY:"MULTIPAY",RECURRING:"RECURRING"}}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";i.r(n),i.d(n,{Gap:()=>Pi,GapApiVersion:()=>C,GapHeader:()=>A,Method:()=>dt,Platform:()=>O,StatusCode:()=>ut,UserAgent:()=>N,default:()=>Mi});var t={};i.r(t),i.d(t,{GapError:()=>X,HttpInternalError:()=>st,HttpMaxRetriesError:()=>it,HttpRequestError:()=>et,HttpResponseError:()=>nt,HttpRetryableError:()=>ot,HttpThrottlingError:()=>rt,MissingDataContextError:()=>Z,RestResourceError:()=>at,UninitializedContextError:()=>tt});var e={};i.r(e),i.d(e,{BatchHistory:()=>ht,Business:()=>vt,Call:()=>gt,Category:()=>Tt,CheckIn:()=>Ct,CheckOut:()=>Ut,Combo:()=>Vt,Commission:()=>Pe,Customer:()=>Bt,GiftCard:()=>qt,Income:()=>Gt,KeyStorage:()=>Ht,Order:()=>se,Payroll:()=>de,Printer:()=>pe,Product:()=>Oe,Service:()=>ce,Setting:()=>Ae,Staff:()=>me,Ticket:()=>he,TimeKeeping:()=>ve,UnsubscribeContact:()=>ge,User:()=>Te});var o={};i.r(o),i.d(o,{CheckIn:()=>ke,Checkout:()=>$e,KeyStorage:()=>be});var s={};i.r(s),i.d(s,{Category:()=>ui,Customer:()=>Si,Notification:()=>gi,SMS:()=>_i,Service:()=>li,Settings:()=>ni,Staff:()=>hi,Ticket:()=>si});var r={};i.r(r),i.d(r,{Settings:()=>Ii});var a={};i.r(a),i.d(a,{Auth:()=>Ci});var l={};i.r(l),i.d(l,{Auth:()=>Ni});var d=i(17187);class u{}u.loggingEnabled=!1;class p extends d.EventEmitter{constructor(){super(),this.enabled=!1}static create(){let t=new p,e="error";return t.on("log",(function(){let i=[].slice.call(arguments),n=!!(i&&i.length>0)&&i[0]===e;(n||t.enabled||u.loggingEnabled)&&(console.log.apply(console,arguments),n&&console.trace())})),t.silly=t.emit.bind(t,"log","silly"),t.verbose=t.emit.bind(t,"log","verbose"),t.info=t.emit.bind(t,"log","info"),t.warn=t.emit.bind(t,"log","warn"),t.error=t.emit.bind(t,"log",e),t.debug=t.emit.bind(t,"log","debug"),t.enabled=!1,t}silly(...t){}verbose(...t){}info(...t){}warn(...t){}error(...t){}debug(...t){}}const _=(t,e)=>{if(t)for(let i in t)t.hasOwnProperty(i)&&e.setRequestHeader(i,t[i])};class c{constructor(t){this.logger=p.create(),this.xmlHttpImplClass=t}setXmlHttpCallback(t,e,i,n){t.onreadystatechange=function(){if(4==t.readyState)if(200==t.status)try{if(i){let e=null;t.responseText&&""!=t.responseText&&(e=JSON.parse(t.responseText)),i(e,t)}}catch(t){this.logger.error(e,t),i&&i({})}else if(n){let i=null;try{t.responseText&&""!=t.responseText&&(i=JSON.parse(t.responseText))}catch(t){}n({message:i&&i.details||i&&i.message||"status returned was not 200",endpoint:e,status:t.status})}}.bind(this)}doXmlHttp(t,e,i,n,o){const s=new this.xmlHttpImplClass;this.setXmlHttpCallback(s,e,i,n),s.open(t,e,!0),"undefined"!=typeof navigator&&navigator.userAgent.search("Firefox")&&s.setRequestHeader("Accept","*/*"),_(o,s),s.send()}doXmlHttpSendJson(t,e,i,n,o,s){const r=new this.xmlHttpImplClass;if(this.setXmlHttpCallback(r,i,n,o),r.open(t,i,!0),_(s,r),e){r.setRequestHeader("Content-Type","application/json;charset=UTF-8");var a=JSON.stringify(e);r.send(a)}else r.send()}postData(t,e,i,n,o){this.doXmlHttpSendJson("POST",n,t,e,i,o)}getData(t,e,i,n){this.doXmlHttp("GET",t,e,i,n)}options(t,e,i,n){this.doXmlHttp("OPTIONS",t,e,i,n)}putData(t,e,i,n){this.doXmlHttpSendJson("PUT",n,t,e,i)}deleteData(t,e,i){this.doXmlHttp("DELETE",t,e,i)}}var m,f=i(61256);class h{}h.KIOSK_CARD_ENTRY_METHODS=32768,h.CARD_ENTRY_METHOD_MAG_STRIPE=257|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_ICC_CONTACT=514|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_NFC_CONTACTLESS=1028|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_MANUAL=2056|h.KIOSK_CARD_ENTRY_METHODS,h.DEFAULT=h.CARD_ENTRY_METHOD_MAG_STRIPE|h.CARD_ENTRY_METHOD_ICC_CONTACT|h.CARD_ENTRY_METHOD_NFC_CONTACTLESS,h.ALL=h.CARD_ENTRY_METHOD_MAG_STRIPE|h.CARD_ENTRY_METHOD_ICC_CONTACT|h.CARD_ENTRY_METHOD_NFC_CONTACTLESS|h.CARD_ENTRY_METHOD_MANUAL;class y{constructor(){this.logger=p.create(),this.listeners=new Array}clear(){this.listeners.splice(0,this.listeners.length)}push(...t){return 1==t.length?this.listeners.push(t[0]):this.listeners.push(t)}indexOf(t,e){return this.listeners.indexOf(t,e)}splice(t,e,...i){return i&&i.length>0?this.listeners.splice(t,e,i):this.listeners.splice(t,e)}notifyOnTipAdded(t){this.logger.debug("Sending TipAdded notification to listeners");let e=new f.remotepay.TipAdded;e.setTipAmount(t),this.listeners.forEach((t=>{try{t.onTipAdded(e)}catch(t){this.logger.error(t)}}))}notifyOnRefundPaymentResponse(t){this.logger.debug("Sending RefundPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRefundPaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyCloseout(t){this.logger.debug("Sending Closeout notification to listeners"),this.listeners.forEach((e=>{try{e.onCloseoutResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceActivityStart(t){this.logger.debug("Sending DeviceActivityStart notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceActivityStart(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceActivityEnd(t){this.logger.debug("Sending DeviceActivityEnd notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceActivityEnd(t)}catch(t){this.logger.error(t)}}))}notifyOnSaleResponse(t){this.logger.debug("Sending SaleResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onSaleResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnAuthResponse(t){this.logger.debug("Sending AuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnManualRefundResponse(t){this.logger.debug("Sending ManualRefundResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onManualRefundResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVerifySignatureRequest(t){this.logger.debug("Sending VerifySignatureRequest notification to listeners"),this.listeners.forEach((e=>{try{e.onVerifySignatureRequest(t)}catch(t){this.logger.error(t)}}))}notifyOnVoidPaymentResponse(t){this.logger.debug("Sending VoidPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVoidPaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVoidPaymentRefundResponse(t){this.logger.debug("Sending VoidPaymentRefundResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVoidPaymentRefundResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnConnect(){this.logger.debug("Sending Connect notification to listeners"),this.listeners.forEach((t=>{try{t.onDeviceConnected()}catch(t){this.logger.error(t)}}))}notifyOnDisconnect(t){this.logger.debug("Sending Disconnect notification to listeners",t),this.listeners.forEach((t=>{try{t.onDeviceDisconnected()}catch(t){this.logger.error(t)}}))}notifyOnReady(t){this.logger.debug("Sending Ready notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceReady(t)}catch(t){this.logger.error(t)}}))}notifyOnTipAdjustAuthResponse(t){this.logger.debug("Sending TipAdjustAuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onTipAdjustAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVaultCardRespose(t){this.logger.debug("Sending VaultCardResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVaultCardResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnPreAuthResponse(t){this.logger.debug("Sending PreAuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onPreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnCapturePreAuth(t){this.logger.debug("Sending CapturePreAuth notification to listeners"),this.listeners.forEach((e=>{try{e.onCapturePreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnIncrementPreAuthResponse(t){this.logger.debug("Sending IncrementPreAuth notification to listeners"),this.listeners.forEach((e=>{try{e.onIncrementPreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceError(t){this.logger.debug("Sending DeviceError notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceError(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintRefundPaymentReceipt(t){this.logger.debug("Sending PrintRefundPaymentReceipt notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintRefundPaymentReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentMerchantCopyReceipt(t){this.logger.debug("Sending PrintPaymentMerchantCopyReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentMerchantCopyReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentDeclineReceipt(t){this.logger.debug("Sending PrintPaymentDeclineReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentDeclineReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentReceipt(t){this.logger.debug("Sending PrintPaymentReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintCreditReceipt(t){this.logger.debug("Sending PrintManualRefundReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintManualRefundReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintCreditDeclineReceipt(t){this.logger.debug("Sending PrintManualRefundDeclineReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintManualRefundDeclineReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnConfirmPaymentRequest(t){this.logger.debug("Sending ConfirmPaymentRequest notification to listeners"),this.listeners.forEach((e=>{try{e.onConfirmPaymentRequest(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePendingPaymentResponse(t){this.logger.debug("Sending RetrievePendingPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePendingPaymentsResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnReadCardDataResponse(t){this.logger.debug("Sending ReadCardDataResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onReadCardDataResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnActivityMessage(t){this.logger.debug("Sending MessageFromActivity notification to listeners"),this.listeners.forEach((e=>{try{e.onMessageFromActivity(t)}catch(t){this.logger.error(t)}}))}notifyOnActivityResponse(t){this.logger.debug("Sending ActivityResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onCustomActivityResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrieveDeviceStatusResponse(t){this.logger.debug("Sending RetrieveDeviceStatusResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrieveDeviceStatusResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnResetDeviceResponse(t){this.logger.debug("Sending ResetDeviceResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onResetDeviceResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePaymentResponse(t){this.logger.debug("Sending RetrievePaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePrintersResponse(t){this.logger.debug("Sending RetrievePrintersResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePrintersResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintJobStatusResponse(t){this.logger.debug("Sending PrintJobStatusResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintJobStatusResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnCustomerProvidedDataEvent(t){this.listeners.forEach((e=>{try{e.onCustomerProvidedData(t)}catch(t){this.logger.error(t)}}))}notifyOnDisplayReceiptOptionsResponse(t){this.listeners.forEach((e=>{try{e.onDisplayReceiptOptionsResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnInvalidStateTransitionResponse(t){this.listeners.forEach((e=>{try{e.onInvalidStateTransitionResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnSignatureCollected(t){this.listeners.forEach((t=>{}))}notifyOnCheckBalanceResponse(t){this.listeners.forEach((e=>{try{e.onCheckBalanceResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnTipResponse(t){this.listeners.forEach((t=>{}))}}!function(t){t.Builder=class{constructor(){this.isDisableCashBack=!1,this.isTesting=!1,this.isCardNotPresent=!1,this.remotePrint=!1,this.isForceSwipePinEntry=!1,this.disableRestartTransactionWhenFailed=!1,this.allowPartialAuth=!0}static buildTransactionSettingsFromPayIntent(t){let e=new f.payments.TransactionSettings;return e.setCloverShouldHandleReceipts(!t.getRemotePrint()),e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionWhenFailed()),e.setForcePinEntryOnSwipe(t.getIsForceSwipePinEntry()),e.setDisableCashBack(t.getIsDisableCashBack()),e.setAllowOfflinePayment(t.getAllowOfflinePayment()),e.setApproveOfflinePaymentWithoutPrompt(t.getApproveOfflinePaymentWithoutPrompt()),e.setCardEntryMethods(t.getCardEntryMethods()),e.setDisableDuplicateCheck(!1),e.setDisableReceiptSelection(!1),e.setSignatureEntryLocation(null),e.setTipMode(null),e.setTippableAmount(t.getTippableAmount()),e}payment(t){return this.amount=t.getAmount(),this.tipAmount=t.getTipAmount(),this.taxAmount=t.getTaxAmount(),this.employeeId=t.getEmployee().getId(),this.transactionNo=t.getCardTransaction()?t.getCardTransaction().getTransactionNo():null,this.transactionSettings=t.getTransactionSettings(),this}payIntent(e){return this.action=e.getAction(),this.amount=e.getAmount(),this.tippableAmount=e.getTippableAmount(),this.tipAmount=e.getTipAmount(),this.taxAmount=e.getTaxAmount(),this.orderId=e.getOrderId(),this.paymentId=e.getPaymentId(),this.employeeId=e.getEmployeeId(),this.transactionType=e.getTransactionType(),this.taxableAmountRates=e.getTaxableAmountRates(),this.serviceChargeAmount=e.getServiceChargeAmount(),this.isDisableCashBack=e.getIsDisableCashBack(),this.isTesting=e.getIsTesting(),this.cardEntryMethods=e.getCardEntryMethods(),this.voiceAuthCode=e.getVoiceAuthCode(),this.postalCode=e.getPostalCode(),this.streetAddress=e.getStreetAddress(),this.isCardNotPresent=e.getIsCardNotPresent(),this.cardDataMessage=e.getCardDataMessage(),this.remotePrint=e.getRemotePrint(),this.transactionNo=e.getTransactionNo(),this.isForceSwipePinEntry=e.getIsForceSwipePinEntry(),this.disableRestartTransactionWhenFailed=e.getDisableRestartTransactionWhenFailed(),this.externalPaymentId=e.getExternalPaymentId(),this.vaultedCard=e.getVaultedCard(),this.allowOfflinePayment=e.getAllowOfflinePayment(),this.approveOfflinePaymentWithoutPrompt=e.getApproveOfflinePaymentWithoutPrompt(),this.requiresRemoteConfirmation=e.getRequiresRemoteConfirmation(),this.applicationTracking=e.getApplicationTracking(),this.allowPartialAuth=e.getAllowPartialAuth(),this.germanInfo=e.getGermanInfo(),this.externalReferenceId=e.getExternalReferenceId(),this.passThroughValues=e.getPassThroughValues(),null!=e.getTransactionSettings()?this.transactionSettings=e.getTransactionSettings():this.transactionSettings=t.Builder.buildTransactionSettingsFromPayIntent(e),this.cashAdvanceCustomerIdentification=e.getCashAdvanceCustomerIdentification(),this}setAction(t){return this.action=t,this}setAmount(t){return this.amount=t,this}setTippableAmount(t){return this.tippableAmount=t,null!=this.transactionSettings&&this.transactionSettings.setTippableAmount(t),this}setTaxAmount(t){return this.taxAmount=t,this}setEmployeeId(t){return this.employeeId=t,this}setTipAmount(t){return this.tipAmount=t,this}setTransactionType(t){return this.transactionType=t,this}setCardEntryMethods(t){return this.cardEntryMethods=t,this}setCardDataMessage(t){return this.cardDataMessage=t,this}setTaxableAmountRates(t){return this.taxableAmountRates=t,this}setServiceChargeAmount(t){return this.serviceChargeAmount=t,this}setOrderId(t){return this.orderId=t,this}setPaymentId(t){return this.paymentId=t,this}setRemotePrint(t=!1){return this.remotePrint=t,null!=this.transactionSettings&&this.transactionSettings.setCloverShouldHandleReceipts(!t),this}setDisableCashback(t=!1){return this.isDisableCashBack=t,null!=this.transactionSettings&&this.transactionSettings.setDisableCashBack(t),this}setTransactionNo(t){return this.transactionNo=t,this}setForceSwipePinEntry(t=!1){return this.isForceSwipePinEntry=t,null!=this.transactionSettings&&this.transactionSettings.setForcePinEntryOnSwipe(t),this}setDisableRestartTransactionWhenFailed(t=!1){return this.disableRestartTransactionWhenFailed=t,null!=this.transactionSettings&&this.transactionSettings.setDisableRestartTransactionOnFailure(t),this}setExternalPaymentId(t){return this.externalPaymentId=t,this}setVaultedCard(t){return this.vaultedCard=t,this}setAllowOfflinePayment(t){return this.allowOfflinePayment=t,null!=this.transactionSettings&&this.transactionSettings.setAllowOfflinePayment(t),this}setAapproveOfflinePaymentWithoutPrompt(t){return this.approveOfflinePaymentWithoutPrompt=t,null!=this.transactionSettings&&this.transactionSettings.setApproveOfflinePaymentWithoutPrompt(t),this}setRequiresRemoteConfirmation(t){return this.requiresRemoteConfirmation=t,this}setApplicationTracking(t){return this.applicationTracking=t,this}setAllowPartialAuth(t=!1){return this.allowPartialAuth=t,this}setGermanInfo(t){return this.germanInfo=t,this}setCustomerIdentification(t){return this.cashAdvanceCustomerIdentification=t,this}setTransactionSettings(t){return this.transactionSettings=t,this}setCardNotPresent(t=!1){return this.isCardNotPresent=t,this}setPassThroughValues(t){return this.passThroughValues=t,this}setExternalReferenceId(t){return this.externalReferenceId=t,this}setIsPresentQrcOnly(t){return this.isPresentQrcOnly=t,this}build(){let t=new f.remotemessage.PayIntent;return t.setAction(this.action),t.setAmount(this.amount),t.setTippableAmount(this.tippableAmount),t.setTipAmount(this.tipAmount),t.setTaxAmount(this.taxAmount),t.setOrderId(this.orderId),t.setPaymentId(this.paymentId),t.setEmployeeId(this.employeeId),t.setTransactionType(this.transactionType),t.setTaxableAmountRates(this.taxableAmountRates),t.setServiceChargeAmount(this.serviceChargeAmount),t.setIsDisableCashBack(this.isDisableCashBack),t.setIsTesting(this.isTesting),t.setCardEntryMethods(this.cardEntryMethods),t.setVoiceAuthCode(this.voiceAuthCode),t.setPostalCode(this.postalCode),t.setStreetAddress(this.streetAddress),t.setIsCardNotPresent(this.isCardNotPresent),t.setCardDataMessage(this.cardDataMessage),t.setRemotePrint(this.remotePrint),t.setTransactionNo(this.transactionNo),t.setIsForceSwipePinEntry(this.isForceSwipePinEntry),t.setDisableRestartTransactionWhenFailed(this.disableRestartTransactionWhenFailed),t.setExternalPaymentId(this.externalPaymentId),t.setVaultedCard(this.vaultedCard),t.setAllowOfflinePayment(this.allowOfflinePayment),t.setApproveOfflinePaymentWithoutPrompt(this.approveOfflinePaymentWithoutPrompt),t.setRequiresRemoteConfirmation(this.requiresRemoteConfirmation),t.setApplicationTracking(this.applicationTracking),t.setAllowPartialAuth(this.allowPartialAuth),t.setGermanInfo(this.germanInfo),t.setCashAdvanceCustomerIdentification(this.cashAdvanceCustomerIdentification),t.setTransactionSettings(this.transactionSettings),t.setPassThroughValues(this.passThroughValues),t.setExternalReferenceId(this.externalReferenceId),t.setIsPresentQrcOnly(this.isPresentQrcOnly),t}}}(m||(m={}));class v{constructor(t){this.cardEntryMethods=h.DEFAULT,this.logger=p.create(),this.broadcaster=new y,this.isReady=!1,v.CANCEL_INPUT_OPTION=new f.remotemessage.InputOption,v.CANCEL_INPUT_OPTION.setKeyPress(f.remotemessage.KeyPress.ESC),v.CANCEL_INPUT_OPTION.setDescription("Cancel"),t&&(this.configuration=t)}initialize(t){this.configuration=t,this.deviceObserver=new v.InnerDeviceObserver(this),this.device=class{constructor(){}static get(t){const e=t.getCloverDeviceType();let i=null;try{i=new e(t)}catch(t){p.create().error(t)}return i}}.get(t),this.device&&this.device.subscribe(this.deviceObserver)}initializeConnection(){this.device||this.initialize(this.configuration)}addCloverConnectorListener(t){this.broadcaster.push(t)}removeCloverConnectorListener(t){const e=this.broadcaster.indexOf(t);-1!=e&&this.broadcaster.splice(e,1)}sale(t){if(this.device&&this.isReady)if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In sale: SaleRequest - Vault Card support is not enabled for the payment gateway. Original Request = ${t}`,v.TxTypeRequestInfo.SALE_REQUEST);else{null==t.getTipAmount()&&t.setTipAmount(0);try{this.setupSaleRequest(t)}catch(t){this.logger.debug("Error in sale",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.SALE_REQUEST)}}else this.deviceObserver.onFinishCancelSale(f.remotepay.ResponseCode.ERROR,"Device Connection Error","In sale: SaleRequest - The Clover device is not connected.")}setupPreauthRequest(t){this.setupBaseTransactionRequest(t,new f.payments.TransactionSettings,new m.Builder,v.TxTypeRequestInfo.PREAUTH_REQUEST)}setupAuthRequest(t){let e=new f.payments.TransactionSettings;e.setTipMode(f.payments.TipMode.ON_PAPER),this.setupTransactionRequest(t,e,new m.Builder,v.TxTypeRequestInfo.AUTH_REQUEST)}setupSaleRequest(t){let e=new f.payments.TransactionSettings;null!=t.getTipMode()&&e.setTipMode(t.getTipMode());let i=new m.Builder;null!=t.getTipAmount()&&i.setTipAmount(t.getTipAmount()),this.setupTransactionRequest(t,e,i,v.TxTypeRequestInfo.SALE_REQUEST)}setupTransactionRequest(t,e,i,n){null!=t.getSignatureEntryLocation()&&e.setSignatureEntryLocation(t.getSignatureEntryLocation()),null!=t.getSignatureThreshold()&&e.setSignatureThreshold(t.getSignatureThreshold()),null!=t.getAutoAcceptSignature()&&e.setAutoAcceptSignature(t.getAutoAcceptSignature()),null!=t.getDisableCashback()&&e.setDisableCashBack(t.getDisableCashback()),null!=t.getAllowOfflinePayment()&&e.setAllowOfflinePayment(t.getAllowOfflinePayment()),null!=t.getForceOfflinePayment()&&e.setForceOfflinePayment(t.getForceOfflinePayment()),null!=t.getApproveOfflinePaymentWithoutPrompt()&&e.setApproveOfflinePaymentWithoutPrompt(t.getApproveOfflinePaymentWithoutPrompt()),null!=t.getTaxAmount()&&i.setTaxAmount(t.getTaxAmount()),null!=t.getTippableAmount()&&e.setTippableAmount(t.getTippableAmount()),null!=t.getTipSuggestions()&&e.setTipSuggestions(t.getTipSuggestions()),this.setupBaseTransactionRequest(t,e,i,n)}setupBaseTransactionRequest(t,e,i,n){if(null!=this.device&&this.isReady){i.setTransactionType(t.getType()),i.setAmount(t.getAmount()),i.setVaultedCard(t.getVaultedCard()),i.setExternalPaymentId(null!=t.getExternalId()?t.getExternalId().trim():null),i.setRequiresRemoteConfirmation(!0),null!=t.getCardNotPresent()&&i.setCardNotPresent(t.getCardNotPresent()),e.setCardEntryMethods(null!=t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),null!=t.getDisablePrinting()&&e.setCloverShouldHandleReceipts(!t.getDisablePrinting()),null!=t.getDisableRestartTransactionOnFail()&&e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionOnFail()),null!=t.getDisableReceiptSelection()&&e.setDisableReceiptSelection(t.getDisableReceiptSelection()),null!=t.getDisableDuplicateChecking()&&e.setDisableDuplicateCheck(t.getDisableDuplicateChecking()),null!=t.getAutoAcceptPaymentConfirmations()&&e.setAutoAcceptPaymentConfirmations(t.getAutoAcceptPaymentConfirmations()),null!=t.getRegionalExtras()&&e.setRegionalExtras(t.getRegionalExtras()),null!=t.getExtras()&&i.setPassThroughValues(t.getExtras()),null!=t.getExternalReferenceId()&&i.setExternalReferenceId(t.getExternalReferenceId()),null!=t.getPresentQrcOnly()&&i.setIsPresentQrcOnly(t.getPresentQrcOnly()),i.setTransactionSettings(e);let o=i.build();this.device.doTxStart(o,null,n)}}notifyDeviceNotConnected(t){this.notifyDeviceError(f.remotepay.ErrorType.COMMUNICATION,f.remotepay.DeviceErrorEventCode.NotConnected,null,t+": Device is not connected.")}notifyInvalidData(t){this.notifyDeviceError(f.remotepay.ErrorType.VALIDATION,f.remotepay.DeviceErrorEventCode.InvalidParam,null,t)}notifyDeviceError(t,e,i,n){let o=new f.remotepay.CloverDeviceErrorEvent;o.setType(t),o.setCode(e),o.setCause(i),o.setMessage(n),this.broadcaster.notifyOnDeviceError(o)}acceptSignature(t){let e="In acceptSignature";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": VerifySignatureRequest cannot be null."):null==t.getPayment()||null==t.getPayment().getId()?this.notifyInvalidData(e+": VerifySignatureRequest. Payment must have an ID."):this.device.doSignatureVerified(t.getPayment(),!0):this.notifyDeviceNotConnected(e)}rejectSignature(t){let e="In rejectSignature";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": VerifySignatureRequest cannot be null."):null==t.getPayment()||null==t.getPayment().getId()?this.notifyInvalidData(e+": VerifySignatureRequest. Payment must have an ID."):this.device.doSignatureVerified(t.getPayment(),!1):this.notifyDeviceNotConnected(e)}acceptPayment(t){let e="In acceptPayment";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": Payment cannot be null."):null==t.getId()?this.notifyInvalidData(e+": Payment must have an ID."):this.device.doAcceptPayment(t):this.notifyDeviceNotConnected(e)}rejectPayment(t,e){let i="In rejectPayment";this.device&&this.isReady?null==t?this.notifyInvalidData(i+": Payment cannot be null."):null==t.getId()?this.notifyInvalidData(i+": Payment must have an ID."):null==e?this.notifyInvalidData(i+": Challenge cannot be null."):this.device.doRejectPayment(t,e):this.notifyDeviceNotConnected(i)}auth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsAuths())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In auth: AuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = ${t}`,v.TxTypeRequestInfo.AUTH_REQUEST);else try{this.setupAuthRequest(t)}catch(t){this.logger.debug("Error in auth",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.AUTH_REQUEST)}else this.deviceObserver.onFinishCancelAuth(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In auth: AuthRequest - Auths are not enabled for the payment gateway. Original Request = ${t}`);else this.deviceObserver.onFinishCancelAuth(f.remotepay.ResponseCode.ERROR,"Device connection Error","In auth: Auth Request - The Clover device is not connected.")}preAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+t,v.TxTypeRequestInfo.PREAUTH_REQUEST);else try{this.setupPreauthRequest(t)}catch(t){this.logger.debug("Error in preAuth",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.PREAUTH_REQUEST)}else this.deviceObserver.onFinishCancelPreAuth(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - PreAuths are not enabled for the payment gateway. Original Request = "+t);else this.deviceObserver.onFinishCancelPreAuth(f.remotepay.ResponseCode.ERROR,"Device connection Error","In preAuth: PreAuthRequest - The Clover device is not connected.")}capturePreAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doCaptureAuth(t.getPaymentId(),t.getAmount(),t.getTipAmount())}catch(t){let e=new f.remotepay.CapturePreAuthResponse;v.populateBaseResponse(e,!1,f.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Capture Auth requests."),this.broadcaster.notifyOnCapturePreAuth(e)}else this.deviceObserver.onCapturePreAuthError(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In capturePreAuth: PreAuth Captures are not enabled for the payment gateway. Original Request = ${t}`,t.getPaymentId());else this.deviceObserver.onCapturePreAuthError(f.remotepay.ResponseCode.ERROR,"Device connection Error","In capturePreAuth: CapturePreAuth - The Clover device is not connected.",t.getPaymentId())}incrementPreAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doIncrementPreAuth(t.getPaymentId(),t.getAmount())}catch(t){let e=new f.remotepay.IncrementPreAuthResponse;v.populateBaseResponse(e,!1,f.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Incremental Pre Auth requests."),this.broadcaster.notifyOnIncrementPreAuthResponse(e)}else this.deviceObserver.onIncrementPreAuthError(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In incrementPreAuth: Pre Auths are not enabled for the payment gateway. Original Request = ${t}`);else this.deviceObserver.onIncrementPreAuthError(f.remotepay.ResponseCode.ERROR,"Device connection Error","In incrementPreAuth: IncrementPreAuth - The Clover device is not connected.")}tipAdjustAuth(t){const e=new f.remotemessage.TipAdjustResponseMessage;this.device&&this.isReady?this.merchantInfo.getSupportsTipAdjust()?this.device.doTipAdjustAuth(t.getOrderId(),t.getPaymentId(),t.getTipAmount()):(e.setReason("Merchant Configuration Validation Error"),e.setMessage(`In tipAdjustAuth: TipAdjustAuthRequest - Tip Adjustments are not enabled for the payment gateway. Original Request = ${t}`),this.deviceObserver.onAuthTipAdjusted(e,f.remotepay.ResponseCode.UNSUPPORTED)):(e.setReason("Device connection Error"),e.setMessage("In tipAdjustAuth: TipAdjustAuthRequest - The Clover device is not connected."),this.deviceObserver.onAuthTipAdjusted(e,f.remotepay.ResponseCode.ERROR))}vaultCard(t){const e=new f.remotemessage.VaultCardResponseMessage;e.setCard(null),this.device&&this.isReady?this.merchantInfo.getSupportsVaultCards()?this.device.doVaultCard(t||this.getCardEntryMethods()):(e.setReason("Merchant Configuration Validation Error"),this.deviceObserver.onVaultCardResponse(e,f.remotepay.ResponseCode.UNSUPPORTED,"In vaultCard: VaultCard/Payment Tokens are not enabled for the payment gateway.")):(e.setReason("Device connection Error"),this.deviceObserver.onVaultCardResponse(e,f.remotepay.ResponseCode.ERROR,"In vaultCard: The Clover device is not connected."))}voidPayment(t){if(this.device&&this.isReady){let e=new f.payments.Payment;e.setId(t.getPaymentId()),e.setOrder(new f.base.Reference),e.getOrder().setId(t.getOrderId()),e.setEmployee(new f.base.Reference),e.getEmployee().setId(t.getEmployeeId());let i=f.order.VoidReason[t.getVoidReason()];this.device.doVoidPayment(e,i,t.getDisablePrinting(),t.getDisableReceiptSelection(),t.getExtras())}else this.deviceObserver.onPaymentVoided_responseCode(f.remotepay.ResponseCode.ERROR,"Device connection Error","In voidPayment: VoidPaymentRequest - The Clover device is not connected.")}refundPayment(t){this.device&&this.isReady?this.device.doPaymentRefundByRequest(t):this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.CANCEL,"Device Connection Error","In refundPayment: RefundPaymentRequest - The Clover device is not connected.",v.TxTypeRequestInfo.REFUND_REQUEST)}voidPaymentRefund(t){this.deviceObserver.onPaymentRefundVoided(null,f.remotepay.ResponseCode.ERROR,"Cannot do Void Payment Refund","This version of the SDK does not support voidPaymentRefunds")}manualRefund(t){let e=new f.payments.TransactionSettings;if(this.device&&this.isReady)if(this.merchantInfo.getSupportsManualRefunds())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+t,v.TxTypeRequestInfo.CREDIT_REQUEST);else{let i=new m.Builder;i.setAmount(-Math.abs(t.getAmount())).setTransactionType(f.remotepay.TransactionType.CREDIT).setVaultedCard(t.getVaultedCard()).setRequiresRemoteConfirmation(!0).setExternalPaymentId(t.getExternalId()),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),t.getDisablePrinting()&&e.setCloverShouldHandleReceipts(!t.getDisablePrinting()),t.getDisableRestartTransactionOnFail()&&e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionOnFail()),t.getDisableReceiptSelection()&&e.setDisableReceiptSelection(t.getDisableReceiptSelection()),null!=t.getExtras()&&i.setPassThroughValues(t.getExtras()),i.setTransactionSettings(e);let n=i.build();this.device.doTxStart(n,null,v.TxTypeRequestInfo.CREDIT_REQUEST)}else this.deviceObserver.onFinishCancelManualRefund(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Manual Refunds are not enabled for the payment gateway. Original Request = "+t);else this.deviceObserver.onFinishCancelManualRefund(f.remotepay.ResponseCode.ERROR,"Device connection Error","In manualRefund: ManualRefundRequest - The Clover device is not connected.")}retrievePendingPayments(){this.device&&this.isReady?this.device.doRetrievePendingPayments():this.deviceObserver.onPendingPaymentsResponse(!1,null,"Device connection Error","In retrievePendingPayments: The Clover device is not connected.")}readCardData(t){if(this.device&&this.isReady)if(null==t)this.deviceObserver.onReadCardDataResponse(f.remotepay.ResponseCode.FAIL,"Invalid Argument.","In readCardData: ReadCardDataRequest - The request that was passed in for processing is null.");else{let e=new m.Builder;e.setTransactionType(f.remotepay.TransactionType.DATA),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),e.setForceSwipePinEntry(t.getIsForceSwipePinEntry());let i=e.build();this.device.doReadCardData(i)}else this.deviceObserver.onReadCardDataResponse(f.remotepay.ResponseCode.ERROR,"Device connection Error","In readCardData: The Clover device is not connected.")}sendMessageToActivity(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In sendMessageToActivity: Invalid argument. Null is not allowed."):this.device.doSendMessageToActivity(t.getAction(),t.getPayload()):this.notifyDeviceNotConnected("In sendMessageToActivity")}retrievePayment(t){this.device&&this.isReady?this.device.doRetrievePayment(t.getExternalPaymentId()):this.notifyDeviceNotConnected("In retrievePayment")}registerForCustomerProvidedData(t){if(this.device&&this.isReady){let e=t.getConfigurations(),i=this.convertConfigurations(e);console.log(i),this.device.doRegisterForCustomerProvidedData(i)}else this.notifyDeviceNotConnected("In registerForCustomerProvidedData")}convertConfigurations(t){let e=new Array;return null!=t&&t.forEach((t=>e.push(this.convertConfiguration(t)))),e}convertConfiguration(t){let e=new f.loyalty.LoyaltyDataConfig;return e.setType(t.getType()),e.setConfiguration(t.getConfiguration()),e}setCustomerInfo(t){this.device&&this.isReady?this.device.doSetCustomerInfo(t.getCustomerInfo()):this.notifyDeviceNotConnected("In setCustomerInfo: The Clover device is not connected.")}retrievePrinters(t){this.device&&this.isReady?t?this.device.doRetrievePrinters(t.getCategory()):this.notifyInvalidData("In retrievePrinters: Invalid argument. Null is not allowed."):this.notifyDeviceNotConnected("In retrievePrinters")}retrievePrintJobStatus(t){this.device&&this.isReady?t&&t.getPrintRequestId()?this.device.doRetrievePrintJobStatus(t.getPrintRequestId()):this.notifyInvalidData("In retrievePrintJobStatus: Invalid argument. Null is not allowed."):this.notifyDeviceNotConnected("In retrievePrintJobStatus")}closeout(t){this.device&&this.isReady?this.device.doCloseout(t.getAllowOpenTabs(),t.getBatchId()):this.notifyDeviceNotConnected("In closeout")}print(t){if(this.device&&this.isReady)if(t){if(!this.validatePrintRequest(t))return;{const e=t.getImages(),i=t.getImageUrls();if(e){Array.isArray(e)&&e.length>1&&this.notifyInvalidData("In print: Invalid argument. Only one image can be printed at a time in the current API.");let i=Array.isArray(e)?e[0]:e;this.device.doPrintImageObject(i,t.getPrintRequestId(),t.getPrintDeviceId())}else if(t.getText())this.device.doPrintText(t.getText(),t.getPrintRequestId(),t.getPrintDeviceId());else if(i){Array.isArray(i)&&i.length>1&&this.notifyInvalidData("In print: Invalid argument. Only one imageUrl can be printed at a time in the current API.");let e=Array.isArray(i)?i[0]:i;this.device.doPrintImageUrl(e,t.getPrintRequestId(),t.getPrintDeviceId())}else this.notifyInvalidData("In print: Invalid argument. PrintRequest element was not formatted correctly.")}}else this.notifyInvalidData("In print: Invalid argument. Null is not allowed.");else this.notifyDeviceNotConnected("In print")}validatePrintRequest(t){return t.getImages()||t.getText()||t.getImageUrls()?!(t.getImages()&&t.getText()||t.getImages()&&t.getImageUrls()||t.getText()&&t.getImageUrls())||(this.notifyInvalidData("In validatePrintRequest: There are too may different kinds of items to print. Can only have one."),!1):(this.notifyInvalidData("In validatePrintRequest: There are no items to print."),!1)}showMessage(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showMessage: Invalid argument. Null is not allowed."):this.device.doTerminalMessage(t):this.notifyDeviceNotConnected("In showMessage")}sendDebugLog(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showMessage: Invalid argument. Null is not allowed."):this.device.doSendDebugLog(t):this.notifyDeviceNotConnected("In sendDebugLog")}showWelcomeScreen(){this.device&&this.isReady?this.device.doShowWelcomeScreen():this.notifyDeviceNotConnected("In showWelcomeScreen")}showThankYouScreen(){this.device&&this.isReady?this.device.doShowThankYouScreen():this.notifyDeviceNotConnected("In showThankYouScreen")}displayReceiptOptions(t){this.device&&this.isReady?this.device.doShowReceiptScreen(t.getOrderId(),t.getPaymentId(),t.getRefundId(),t.getCreditId(),t.getDisablePrinting()):this.notifyDeviceNotConnected("In displayReceiptOptions")}openCashDrawer(t){this.device&&this.isReady?t?"string"==typeof t?this.device.doOpenCashDrawer(t):this.device.doOpenCashDrawer(t.getReason(),t.getDeviceId()):this.notifyInvalidData("In openCashDrawer: Invalid argument. The request cannot be null."):this.notifyDeviceNotConnected("In openCashDrawer")}showDisplayOrder(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showDisplayOrder: Invalid argument. The order cannot be null."):this.device.doOrderUpdate(t,null):this.notifyDeviceNotConnected("In showDisplayOrder")}removeDisplayOrder(t){if(this.device&&this.isReady)if(null==t)this.notifyInvalidData("In removeDisplayOrder: Invalid argument. The order cannot be null.");else{let e=new f.order.operation.OrderDeletedOperation;e.setId(t.getId()),this.device.doOrderUpdate(t,e)}else this.notifyDeviceNotConnected("In removeDisplayOrder")}discountAddedToDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"discountAddedToDisplayOrder has not been implemented.")}discountRemovedFromDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"discountRemovedFromDisplayOrder has not been implemented.")}lineItemAddedToDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemAddedToDisplayOrder has not been implemented.")}lineItemRemovedFromDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemRemovedFromDisplayOrder has not been implemented.")}dispose(){this.broadcaster.clear(),this.device&&this.device.dispose()}invokeInputOption(t){this.device&&this.isReady?this.device.doKeyPress(t.getKeyPress()):this.notifyDeviceNotConnected("In invokeInputOption")}resetDevice(){this.device&&this.isReady?this.device.doResetDevice():this.notifyDeviceNotConnected("In resetDevice")}retrieveDeviceStatus(t){this.device&&this.isReady?this.device.doRetrieveDeviceStatus(t):this.notifyDeviceNotConnected("In retrieveDeviceStatus")}getCardEntryMethods(){return this.cardEntryMethods}startCustomActivity(t){this.device&&this.isReady?this.device.doStartActivity(t.getAction(),t.getPayload(),t.getNonBlocking()):this.notifyDeviceNotConnected("In startCustomActivity")}checkBalance(t){this.device&&this.isReady?this.device.doCheckBalance(t.getCardEntryMethods()):this.notifyDeviceNotConnected("In checkBalance")}requestSignature(t){this.device&&this.isReady?this.device.doCollectSignature(t.getAcknowledgementMessage()):this.notifyDeviceNotConnected("In requestSignature")}requestTip(t){this.device&&this.isReady?this.device.doRequestTip(t.getTippableAmount(),t.getTipSuggestions()):this.notifyDeviceNotConnected("In requestTip")}static populateBaseResponse(t,e,i,n,o){if(t.setSuccess(e),t.setResult(i),t.setReason(n||(i?i.toString():"No extended information provided.")),t.setMessage(o||"No extended information provided."),t.getPayment){const e=t.getPayment();e&&this.setResponseFlags(t,e)}}static populatePaymentResponse(t,e,i,n,o,s,r){v.populateBaseResponse(t,e,i,s,r),t.setPayment(n),t.setSignature(o),this.setResponseFlags(t,n)}static setResponseFlags(t,e){if(t&&e){const i=e.getCardTransaction();if(i){const n=i.getType();t.setIsSale&&t.setIsSale(f.payments.CardTransactionType.AUTH==n&&f.payments.Result.SUCCESS==e.getResult()),t.setIsAuth&&t.setIsAuth(f.payments.CardTransactionType.PREAUTH==n&&f.payments.Result.SUCCESS==e.getResult()),t.setIsPreAuth&&t.setIsPreAuth(f.payments.CardTransactionType.PREAUTH==n&&f.payments.Result.AUTH==e.getResult())}}}}v.MAX_PAYLOAD_SIZE=1e7,function(t){class e{}e.SALE_REQUEST="SALE",e.AUTH_REQUEST="AUTH",e.PREAUTH_REQUEST="PREAUTH",e.CREDIT_REQUEST="CREDIT",e.REFUND_REQUEST="REFUND",t.TxTypeRequestInfo=e,t.InnerDeviceObserver=class{constructor(t){this.logger=p.create(),this.cloverConnector=t}onTxState(t){}resultSuccessToResponseCode(t){return this.resultStatusToResponseCode(t?f.remotemessage.ResultStatus.SUCCESS:f.remotemessage.ResultStatus.FAIL)}resultStatusToResponseCode(t){return t==f.remotemessage.ResultStatus.SUCCESS?f.remotepay.ResponseCode.SUCCESS:t==f.remotemessage.ResultStatus.CANCEL?f.remotepay.ResponseCode.CANCEL:f.remotepay.ResponseCode.FAIL}onTxStartResponse(i){let n=i.getReason(),o=i.getResult();if(o==f.remotemessage.TxStartResponseResult.SUCCESS)return;const s=o==f.remotemessage.TxStartResponseResult.DUPLICATE,r=s?f.remotepay.ResponseCode.CANCEL:f.remotepay.ResponseCode.FAIL,a=s?"The provided transaction id of "+i.getExternalPaymentId()+" has already been processed and cannot be resubmitted.":null;let l=s?a:i.getMessage(),d=i.getRequestInfo();if(d==e.PREAUTH_REQUEST){const e=new f.remotepay.PreAuthResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(e)}else if(d==e.AUTH_REQUEST){const e=new f.remotepay.AuthResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnAuthResponse(e)}else if(d==e.SALE_REQUEST){const e=new f.remotepay.SaleResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnSaleResponse(e)}else if(d==e.CREDIT_REQUEST){const e=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(e)}else this.logger.error("Could not determine request type. requestInfo = "+d)}onUiState(t,e,i,n){let o=new f.remotepay.CloverDeviceEvent;o.setInputOptions(n),o.setEventState(f.remotepay.DeviceEventState[t.toString()]),o.setMessage(e),i==f.remotemessage.UiDirection.ENTER?this.cloverConnector.broadcaster.notifyOnDeviceActivityStart(o):i==f.remotemessage.UiDirection.EXIT&&(this.cloverConnector.broadcaster.notifyOnDeviceActivityEnd(o),t.toString()==f.remotepay.DeviceEventState.RECEIPT_OPTIONS.toString()&&this.cloverConnector.device.doShowWelcomeScreen())}onTipAdded(t){this.cloverConnector.broadcaster.notifyOnTipAdded(t)}onAuthTipAdjusted(e,i){const n=new f.remotepay.TipAdjustAuthResponse,o=e.getSuccess();i||(i=this.resultSuccessToResponseCode(o)),t.populateBaseResponse(n,o,i,e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setTipAmount(e.getAmount()),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(n)}onCashbackSelected(t){}onPartialAuth(t){}onFinishOkPayment(i,n,o){try{if(this.cloverConnector.device.doShowThankYouScreen(),o==e.PREAUTH_REQUEST){let e=new f.remotepay.PreAuthResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(e)}else if(o==e.AUTH_REQUEST){let e=new f.remotepay.AuthResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnAuthResponse(e)}else if(o==e.SALE_REQUEST){let e=new f.remotepay.SaleResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnSaleResponse(e)}else this.logger.error("Failed to pair this response: "+i)}finally{}}onFinishOkCredit(e){this.cloverConnector.device.doShowWelcomeScreen();let i=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(i,!0,f.remotepay.ResponseCode.SUCCESS),i.setCredit(e),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(i)}onFinishOkRefund(e){this.cloverConnector.device.doShowWelcomeScreen();let i=this.lastPRR;if(this.lastPRR=null,null!=e.getOrderRef()){let i=!0,n=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i)),n.setOrderId(e.getOrderRef().getId()),e.getPayment()&&n.setPaymentId(e.getPayment().getId()),n.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(n)}else if(i&&i.getRefund().getId()==e.getId())this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(i);else{let i=!0,n=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i)),e.getPayment()&&n.setPaymentId(e.getPayment().getId()),n.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(n)}}onFinishOk(t,e,i){t instanceof f.payments.Payment?this.onFinishOkPayment(t,e,i):t instanceof f.payments.Credit?this.onFinishOkCredit(t):this.onFinishOkRefund(t)}onFinishCancel_rmm(t,i,n,o){try{this.cloverConnector.device&&this.cloverConnector.device.doShowWelcomeScreen(),o==e.PREAUTH_REQUEST?this.onFinishCancelPreAuth(t,i,n):o==e.SALE_REQUEST?this.onFinishCancelSale(t,i,n):o==e.AUTH_REQUEST?this.onFinishCancelAuth(t,i,n):o==e.CREDIT_REQUEST?this.onFinishCancelManualRefund(t,i,n):o==e.REFUND_REQUEST?this.lastPRR?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR):this.onFinishCancelRefund(t,i,n):this.lastPRR?(this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR),this.lastPRR=null):o?this.logger.error("onFinishCancel called, but could not determine how to respond!",arguments):this.logger.error("onFinishCancel called, requestInfo was null, and could not determine the type of the message from the last request",arguments)}finally{}}onFinishCancel(t){this.onFinishCancel_rmm(f.remotepay.ResponseCode.CANCEL,null,null,t)}onFinishCancelPreAuth(e,i,n){let o=new f.remotepay.PreAuthResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The PreAuth Request was canceled."),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(o)}onFinishCancelSale(e,i,n){let o=new f.remotepay.SaleResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Sale Request was canceled."),this.cloverConnector.broadcaster.notifyOnSaleResponse(o)}onFinishCancelAuth(e,i,n){let o=new f.remotepay.AuthResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Auth Request was canceled."),this.cloverConnector.broadcaster.notifyOnAuthResponse(o)}onFinishCancelManualRefund(e,i,n){let o=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Manual Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(o)}onFinishCancelRefund(e,i,n){let o=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(o)}onVerifySignature(t,e){let i=new f.remotepay.VerifySignatureRequest;i.setSignature(e),i.setPayment(t),this.cloverConnector.broadcaster.notifyOnVerifySignatureRequest(i)}onConfirmPayment(t,e){let i=new f.remotepay.ConfirmPaymentRequest;i.setPayment(t),i.setChallenges(e),this.cloverConnector.broadcaster.notifyOnConfirmPaymentRequest(i)}onPaymentVoided(e){this.cloverConnector.showWelcomeScreen();let i=e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=this.resultStatusToResponseCode(e.getStatus()),o=new f.remotepay.VoidPaymentResponse;const s=e.getPayment();o.setPayment(s),o.setPaymentId(null!=s?s.getId():null),t.populateBaseResponse(o,i,n,e.getReason(),e.getMessage()),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(o)}onPaymentVoided_responseCode(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.VoidPaymentResponse;t.populateBaseResponse(s,o,e,i,n),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(s)}onPaymentRefundVoided(t,e,i,n){const o=new f.remotepay.VoidPaymentRefundResponse;o.setSuccess(e==f.remotepay.ResponseCode.SUCCESS),o.setReason(null!=i?i:e.toString()),o.setMessage(null!=n?n:"No extended information provided."),o.setRefund(t),this.cloverConnector.broadcaster.notifyOnVoidPaymentRefundResponse(o)}onKeyPressed(t){}onPaymentRefundResponse(e){let i=e.getCode()==f.remotemessage.TxState.SUCCESS,n=new f.remotepay.RefundPaymentResponse,o=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),o,e.getMessage()),n.setOrderId(e.getOrderId()),n.setPaymentId(e.getPaymentId()),n.setRefund(e.getRefund()),this.lastPRR=n}onPaymentRefundVoidResponse(e){let i=f.remotemessage.ResultStatus.SUCCESS==status,n=new f.remotepay.VoidPaymentRefundResponse,o=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),o,e.getMessage()),n.setRefundId(e.getRefund()?e.getRefund().getId():null),n.setReason(e.getReason())}onVaultCardResponse(e,i,n){let o=f.remotemessage.ResultStatus.SUCCESS==e.getStatus();this.cloverConnector.device.doShowWelcomeScreen();let s=new f.remotepay.VaultCardResponse;s.setCard(e.getCard()),t.populateBaseResponse(s,o,i||this.resultSuccessToResponseCode(o),e.getReason(),n),this.cloverConnector.broadcaster.notifyOnVaultCardRespose(s)}onCapturePreAuthError(e,i,n,o){const s=new f.remotepay.CapturePreAuthResponse;t.populateBaseResponse(s,!1,e,i,n),s.setPaymentId(o),s.setTipAmount(0),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(s)}onCapturePreAuth(e){let i=f.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new f.remotepay.CapturePreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setAmount(e.getAmount()),n.setTipAmount(e.getTipAmount()),this.cloverConnector.broadcaster.notifyOnCapturePreAuth(n)}onIncrementPreAuthError(e,i,n){const o=new f.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(o,!1,e,i,n),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(o)}onIncrementPreAuthResponse(e){let i=f.remotemessage.ResultStatus.SUCCESS==e.getStatus();const n=new f.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),null),n.setAuthorization(e.getAuthorization()),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(n)}onCloseoutResponse(e,i,n){let o=e==f.remotemessage.ResultStatus.SUCCESS,s=new f.remotepay.CloseoutResponse;t.populateBaseResponse(s,o,this.resultSuccessToResponseCode(o),i,null),s.setBatch(n),this.cloverConnector.broadcaster.notifyCloseout(s)}onDeviceDisconnected(t,e){this.logger.debug("Disconnected ",e),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnDisconnect(e)}onDeviceConnected(){this.logger.debug("Connected"),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnConnect()}onDeviceReady(t,e){this.logger.debug("Ready"),this.cloverConnector.isReady=e.getReady();let i=new f.remotepay.MerchantInfo;i.setMerchantID(e.getMerchantId()),i.setMerchantMID(e.getMerchantMId()),i.setMerchantName(e.getMerchantName());let n=new f.remotepay.DeviceInfo;i.setDeviceInfo(n),n.setName(e.getName()),n.setModel(e.getModel()),n.setSerial(e.getSerial()),n.setSupportsAcks(e.getSupportsAcknowledgement()),i.setSupportsPreAuths(e.getSupportsPreAuth()),i.setSupportsManualRefunds(e.getSupportsManualRefund()),i.setSupportsTipAdjust(e.getSupportsTipAdjust()),i.setSupportsAuths(e.getSupportsAuth()),i.setSupportsVaultCards(e.getSupportsVaultCard()),this.cloverConnector.merchantInfo=i,this.cloverConnector.device.setSupportsAck(e.getSupportsAcknowledgement()),this.cloverConnector.device.setSupportsVoidPaymentResponse(e.getSupportsVoidPaymentResponse()),e.getReady()?this.cloverConnector.broadcaster.notifyOnReady(i):this.cloverConnector.broadcaster.notifyOnConnect()}onDeviceError(t){this.cloverConnector.broadcaster.notifyOnDeviceError(t)}onPrintRefundPayment(t,e,i){let n=new f.remotepay.PrintRefundPaymentReceiptResponse;n.setPayment(t),n.setOrder(e),n.setRefund(i),this.cloverConnector.broadcaster.notifyOnPrintRefundPaymentReceipt(n)}onPrintMerchantReceipt(t){const e=new f.remotepay.PrintPaymentMerchantCopyReceiptMessage;e.setPayment(t),this.cloverConnector.broadcaster.notifyOnPrintPaymentMerchantCopyReceipt(e)}onPrintPaymentDecline(t,e){const i=new f.remotepay.PrintPaymentDeclineReceiptMessage;i.setPayment(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentDeclineReceipt(i)}onPrintPayment(t,e){const i=new f.remotepay.PrintPaymentReceiptMessage;i.setPayment(t),i.setOrder(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentReceipt(i)}onPrintCredit(t){const e=new f.remotepay.PrintManualRefundReceiptMessage;e.setCredit(t),this.cloverConnector.broadcaster.notifyOnPrintCreditReceipt(e)}onPrintCreditDecline(t,e){const i=new f.remotepay.PrintManualRefundDeclineReceiptMessage;i.setCredit(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintCreditDeclineReceipt(i)}onMessageAck(t){}onPendingPaymentsResponse(e,i,n,o){let s=e?f.remotepay.ResponseCode.SUCCESS:f.remotepay.ResponseCode.ERROR,r=new f.remotepay.RetrievePendingPaymentsResponse;t.populateBaseResponse(r,e,s,n,o),i?r.setPendingPaymentEntries(i):this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnRetrievePendingPaymentResponse(r)}onReadCardResponse(e,i,n){let o=e==f.remotemessage.ResultStatus.SUCCESS;if(o){let e=new f.remotepay.ReadCardDataResponse;t.populateBaseResponse(e,o,this.resultSuccessToResponseCode(o),i),e.setCardData(n),this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(e)}else e==f.remotemessage.ResultStatus.CANCEL?this.onReadCardDataResponse(f.remotepay.ResponseCode.CANCEL,i,""):this.onReadCardDataResponse(f.remotepay.ResponseCode.FAIL,i,"")}onMessageFromActivity(t,e){let i=new f.remotepay.MessageFromActivity;i.setAction(t),i.setPayload(e),this.cloverConnector.broadcaster.notifyOnActivityMessage(i)}onReadCardDataResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS;this.cloverConnector.device.doShowWelcomeScreen();let s=new f.remotepay.ReadCardDataResponse;t.populateBaseResponse(s,o,e,i,n),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(s)}onActivityResponse(e,i,n,o){let s=e==f.remotemessage.ResultStatus.SUCCESS,r=s?f.remotepay.ResponseCode.SUCCESS:f.remotepay.ResponseCode.CANCEL,a=new f.remotepay.CustomActivityResponse;t.populateBaseResponse(a,s,r,n),a.setPayload(i),a.setAction(o),this.cloverConnector.broadcaster.notifyOnActivityResponse(a)}onDeviceStatusResponse(e){let i=!e.getStatus()||e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=new f.remotepay.RetrieveDeviceStatusResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason()),n.setState(e.getState()),n.setData(e.getData()),this.cloverConnector.broadcaster.notifyOnRetrieveDeviceStatusResponse(n)}onInvalidStateTransitionResponse(e,i,n,o,s){let r=e==f.remotemessage.ResultStatus.SUCCESS,a=new f.remotepay.InvalidStateTransitionResponse;const l=this.resultStatusToResponseCode(e);t.populateBaseResponse(a,r,l,i),a.setRequestedTransition(n),a.setState(o),a.setData(s),this.cloverConnector.broadcaster.notifyOnInvalidStateTransitionResponse(a)}onResetDeviceResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.ResetDeviceResponse;t.populateBaseResponse(s,o,e,i),s.setState(n),this.cloverConnector.broadcaster.notifyOnResetDeviceResponse(s)}onRetrievePaymentResponse(e){let i=e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=new f.remotepay.RetrievePaymentResponse;const o=this.resultStatusToResponseCode(e.getStatus());t.populateBaseResponse(n,i,o,e.getReason(),e.getMessage()),n.setExternalPaymentId(e.getExternalPaymentId()),n.setQueryStatus(e.getQueryStatus()),n.setPayment(e.getPayment()),this.cloverConnector.broadcaster.notifyOnRetrievePaymentResponse(n)}onRetrievePrintersResponse(e,i){let n=e==f.remotepay.ResponseCode.SUCCESS,o=new f.remotepay.RetrievePrintersResponse;t.populateBaseResponse(o,n,e,null),o.setPrinters(i),this.cloverConnector.broadcaster.notifyOnRetrievePrintersResponse(o)}onPrintJobStatusResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.PrintJobStatusResponse;t.populateBaseResponse(s,o,e,n),s.setStatus(n),s.setPrintRequestId(i),this.cloverConnector.broadcaster.notifyOnPrintJobStatusResponse(s)}onCustomerProvidedDataMessage(t,e,i,n){let o=new f.remotepay.CustomerProvidedDataEvent;o.setResult(t),o.setSuccess(t===f.remotepay.ResponseCode.SUCCESS),o.setEventId(e);let s=new f.remotepay.DataProviderConfig;s.setType(i.getType()),s.setConfiguration(i.getConfiguration()),o.setConfig(s),o.setData(n),this.cloverConnector.broadcaster.notifyOnCustomerProvidedDataEvent(o)}onDisplayReceiptOptionsResponse(t,e){let i=new f.remotepay.DisplayReceiptOptionsResponse;const n=this.resultStatusToResponseCode(t);i.setReason(e),i.setResult(n),i.setSuccess(i.getResult()==f.remotepay.ResponseCode.SUCCESS),this.cloverConnector.broadcaster.notifyOnDisplayReceiptOptionsResponse(i)}onSignatureCollected(t){let e=new f.remotepay.SignatureResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS),e.setSignature(t.getSignature()),this.cloverConnector.broadcaster.notifyOnSignatureCollected(e)}onBalanceInquiryResponse(t){let e=new f.remotepay.CheckBalanceResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS);let n=t.getPayment();n&&e.setAmount(n.getAmount()),this.cloverConnector.broadcaster.notifyOnCheckBalanceResponse(e)}onRequestTipResponse(t){let e=new f.remotepay.TipResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS),e.setTipAmount(t.getAmount()),this.cloverConnector.broadcaster.notifyOnTipResponse(e)}}}(v||(v={}));class g{static getType(t){return null==g.methodToType&&g.initialize(),g.methodToType[t]}static initialize(){g.methodToType={},g.methodToType[f.remotemessage.Method.ACK]=f.remotemessage.AcknowledgementMessage,g.methodToType[f.remotemessage.Method.CLOSEOUT_RESPONSE]=f.remotemessage.CloseoutResponseMessage,g.methodToType[f.remotemessage.Method.CLOSEOUT_REQUEST]=f.remotemessage.CloseoutRequestMessage,g.methodToType[f.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE]=f.remotemessage.CapturePreAuthResponseMessage,g.methodToType[f.remotemessage.Method.CAPTURE_PREAUTH]=f.remotemessage.CapturePreAuthMessage,g.methodToType[f.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE]=f.remotemessage.IncrementPreAuthResponseMessage,g.methodToType[f.remotemessage.Method.INCREMENT_PREAUTH_REQUEST]=f.remotemessage.IncrementPreAuthMessage,g.methodToType[f.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE]=f.remotemessage.ConfirmPaymentMessage,g.methodToType[f.remotemessage.Method.LAST_MSG_REQUEST]=f.remotemessage.LastMessageRequestMessage,g.methodToType[f.remotemessage.Method.LAST_MSG_RESPONSE]=f.remotemessage.LastMessageResponseMessage,g.methodToType[f.remotemessage.Method.TIP_ADJUST]=f.remotemessage.TipAdjustMessage,g.methodToType[f.remotemessage.Method.TIP_ADJUST_RESPONSE]=f.remotemessage.TipAdjustResponseMessage,g.methodToType[f.remotemessage.Method.OPEN_CASH_DRAWER]=f.remotemessage.OpenCashDrawerMessage,g.methodToType[f.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS]=f.remotemessage.ShowPaymentReceiptOptionsMessage,g.methodToType[f.remotemessage.Method.REFUND_RESPONSE]=f.remotemessage.RefundResponseMessage,g.methodToType[f.remotemessage.Method.REFUND_REQUEST]=f.remotemessage.RefundRequestMessage,g.methodToType[f.remotemessage.Method.REFUND_PRINT_PAYMENT]=f.remotemessage.RefundPaymentPrintMessage,g.methodToType[f.remotemessage.Method.TX_START]=f.remotemessage.TxStartRequestMessage,g.methodToType[f.remotemessage.Method.TX_START_RESPONSE]=f.remotemessage.TxStartResponseMessage,g.methodToType[f.remotemessage.Method.KEY_PRESS]=f.remotemessage.KeyPressMessage,g.methodToType[f.remotemessage.Method.UI_STATE]=f.remotemessage.UiStateMessage,g.methodToType[f.remotemessage.Method.TX_STATE]=f.remotemessage.TxStateMessage,g.methodToType[f.remotemessage.Method.FINISH_OK]=f.remotemessage.FinishOkMessage,g.methodToType[f.remotemessage.Method.FINISH_CANCEL]=f.remotemessage.FinishCancelMessage,g.methodToType[f.remotemessage.Method.DISCOVERY_REQUEST]=f.remotemessage.DiscoveryRequestMessage,g.methodToType[f.remotemessage.Method.DISCOVERY_RESPONSE]=f.remotemessage.DiscoveryResponseMessage,g.methodToType[f.remotemessage.Method.TIP_ADDED]=f.remotemessage.TipAddedMessage,g.methodToType[f.remotemessage.Method.VERIFY_SIGNATURE]=f.remotemessage.VerifySignatureMessage,g.methodToType[f.remotemessage.Method.SIGNATURE_VERIFIED]=f.remotemessage.SignatureVerifiedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_CONFIRMED]=f.remotemessage.PaymentConfirmedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_REJECTED]=f.remotemessage.PaymentRejectedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_VOIDED]=f.remotemessage.PaymentVoidedMessage,g.methodToType[f.remotemessage.Method.PRINT_TEXT]=f.remotemessage.TextPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_IMAGE]=f.remotemessage.ImagePrintMessage,g.methodToType[f.remotemessage.Method.TERMINAL_MESSAGE]=f.remotemessage.TerminalMessage,g.methodToType[f.remotemessage.Method.SHOW_WELCOME_SCREEN]=f.remotemessage.WelcomeMessage,g.methodToType[f.remotemessage.Method.SHOW_THANK_YOU_SCREEN]=f.remotemessage.ThankYouMessage,g.methodToType[f.remotemessage.Method.SHOW_ORDER_SCREEN]=f.remotemessage.OrderUpdateMessage,g.methodToType[f.remotemessage.Method.BREAK]=f.remotemessage.BreakMessage,g.methodToType[f.remotemessage.Method.CASHBACK_SELECTED]=f.remotemessage.CashbackSelectedMessage,g.methodToType[f.remotemessage.Method.PARTIAL_AUTH]=f.remotemessage.PartialAuthMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT]=f.remotemessage.VoidPaymentMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT_RESPONSE]=f.remotemessage.VoidPaymentResponseMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE]=f.remotemessage.VoidPaymentRefundResponseMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT]=f.remotemessage.OrderActionAddDiscountMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT]=f.remotemessage.OrderActionRemoveDiscountMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM]=f.remotemessage.OrderActionAddLineItemMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM]=f.remotemessage.OrderActionRemoveLineItemMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_RESPONSE]=f.remotemessage.OrderActionResponseMessage,g.methodToType[f.remotemessage.Method.VAULT_CARD]=f.remotemessage.VaultCardMessage,g.methodToType[f.remotemessage.Method.VAULT_CARD_RESPONSE]=f.remotemessage.VaultCardResponseMessage,g.methodToType[f.remotemessage.Method.LOG_MESSAGE]=f.remotemessage.LogMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS]=f.remotemessage.RetrievePendingPaymentsMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE]=f.remotemessage.RetrievePendingPaymentsResponseMessage,g.methodToType[f.remotemessage.Method.CARD_DATA]=f.remotemessage.CardDataRequestMessage,g.methodToType[f.remotemessage.Method.CARD_DATA_RESPONSE]=f.remotemessage.CardDataResponseMessage,g.methodToType[f.remotemessage.Method.PAIRING_REQUEST]=f.remotemessage.PairingRequestMessage,g.methodToType[f.remotemessage.Method.PAIRING_RESPONSE]=f.remotemessage.PairingResponseMessage,g.methodToType[f.remotemessage.Method.PAIRING_CODE]=f.remotemessage.PairingCodeMessage,g.methodToType[f.remotemessage.Method.REMOTE_ERROR]=f.remotemessage.RemoteError,g.methodToType[f.remotemessage.Method.ACTIVITY_REQUEST]=f.remotemessage.ActivityRequest,g.methodToType[f.remotemessage.Method.ACTIVITY_RESPONSE]=f.remotemessage.ActivityResponseMessage,g.methodToType[f.remotemessage.Method.SHUTDOWN]=f.remotemessage.ShutDownMessage,g.methodToType[f.remotemessage.Method.RESET]=f.remotemessage.ResetMessage,g.methodToType[f.remotemessage.Method.FORCECONNECT]=f.remotemessage.ForceConnectMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_REQUEST]=f.remotemessage.RetrieveDeviceStatusRequestMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE]=f.remotemessage.RetrieveDeviceStatusResponseMessage,g.methodToType[f.remotemessage.Method.RESET_DEVICE_RESPONSE]=f.remotemessage.ResetDeviceResponseMessage,g.methodToType[f.remotemessage.Method.ACTIVITY_MESSAGE_TO_ACTIVITY]=f.remotemessage.ActivityMessageToActivity,g.methodToType[f.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY]=f.remotemessage.ActivityMessageFromActivity,g.methodToType[f.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE]=f.remotemessage.RetrievePaymentResponseMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST]=f.remotemessage.RetrievePaymentRequestMessage,g.methodToType[f.remotemessage.Method.GET_PRINTERS_REQUEST]=f.remotemessage.GetPrintersRequestMessage,g.methodToType[f.remotemessage.Method.GET_PRINTERS_RESPONSE]=f.remotemessage.GetPrintersResponseMessage,g.methodToType[f.remotemessage.Method.PRINT_JOB_STATUS_REQUEST]=f.remotemessage.PrintJobStatusRequestMessage,g.methodToType[f.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE]=f.remotemessage.PrintJobStatusResponseMessage,g.methodToType[f.remotemessage.Method.PRINT_CREDIT]=f.remotemessage.CreditPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_CREDIT_DECLINE]=f.remotemessage.DeclineCreditPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT]=f.remotemessage.PaymentPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT_DECLINE]=f.remotemessage.DeclinePaymentPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY]=f.remotemessage.PaymentPrintMerchantCopyMessage,g.methodToType[f.remotemessage.Method.REFUND_PRINT_PAYMENT]=f.remotemessage.RefundPaymentPrintMessage,g.methodToType[f.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE]=f.remotemessage.CustomerProvidedDataMessage,g.methodToType[f.remotemessage.Method.INVALID_STATE_TRANSITION]=f.remotemessage.InvalidStateTransitionMessage,g.methodToType[f.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE]=f.remotemessage.ShowReceiptOptionsResponseMessage,g.methodToType[f.remotemessage.Method.BALANCE_INQUIRY_RESPONSE]=f.remotemessage.BalanceInquiryResponseMessage,g.methodToType[f.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE]=f.remotemessage.SignatureResponseMessage,g.methodToType[f.remotemessage.Method.REQUEST_TIP_RESPONSE]=f.remotemessage.RequestTipResponseMessage}}g.methodToType=null;class T extends class{constructor(){this.log=p.create(),this.isPrimitive=function(t){var e=t.type;return e===String||e===Number||e===Boolean},this.isArray=function(t){return t.type===Array},this.isObject=function(t){return t.type===Object},this.getArrayType=function(t){if(this.isArray(t))return t.elementType},this.getValueType=function(t){return t.valueType},this.hasMetaInfo=function(t){return t&&t.getMetaInfo&&"function"==typeof t.getMetaInfo}}transfertoObject(t,e,i){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){this.log.warn(`Invalid JSON: Failed to parse JSON string: ${t}.`)}if(this.hasMetaInfo(t))return t;if(this.hasMetaInfo(e))for(var n in t)if(null===t[n]||void 0===t[n])e[n]=t[n];else{var o=e.getMetaInfo(n);if(o)if(this.isPrimitive(o))e[n]=t[n];else if(this.isArray(o)){var s=this.getArrayType(o),r=t[n];if(r.hasOwnProperty("elements")&&(r=r.elements),Array.isArray(r)){e[n]=[];for(var a=0;a<r.length;a++)e[n][a]=new s,(d=this.transfertoObject(r[a],e[n][a],i))&&(e[n][a]=d)}else this.log.warn("Passed json contains field "+n+" of type "+typeof r+". The field on the object is of type array. No assignment will be made",r,t),i&&(e["x_"+n]=r)}else if(this.isObject(o))e[n]={},(d=this.transfertoObject(t[n],e[n],!0))&&(e[n]=d);else{var l=o.type;if(l[t[n]])e[n]=l[t[n]];else{try{e[n]=new l}catch(e){this.log.error("fieldType is ",l,", key is ",n," for jsonobject ",t)}var d;(d=this.transfertoObject(t[n],e[n],i))&&(e[n]=d)}}else i&&(e[n]=JSON.parse(JSON.stringify(t)))}else if(i)return JSON.parse(JSON.stringify(t));return null}}{constructor(){super()}static getDefaultInstance(){return T.INSTANCE}parseMessageFromRemoteMessageObj(t,e=!1){const i=g.getType(t.getMethod());let n=null;if(i&&(n=new i,t.getPayload())){const i=JSON.parse(t.getPayload()),o=this.transfertoObject(i,n,e);if(o)return o}return n}parseToRemoteMessage(t){const e=new f.remotemessage.RemoteMessage;return this.transfertoObject(t,e,!1),e}}T.INSTANCE=new T;class S{}S.device_already_connected="Device is already connected to";class E{}E.CLOVER_CLOUD_SDK_VERSION="4.1.2",E.CLOVER_CLOUD_SDK="com.clover.cloverconnector.cloud";var I,R,C,A,N,O,P=f.remotemessage.VoidPaymentResponseMessage;class M extends class{constructor(t,e,i){this.supportsAck=!1,this.supportsVoidPaymentResponse=!1,this.packageName=t,this.transport=e,this.applicationId=i,this.deviceObservers=[],this.supportsAck=!1}subscribe(t){this.deviceObservers.push(t)}unsubscribe(t){var e=this.deviceObservers.indexOf(t);-1!==e&&this.deviceObservers.splice(e,1)}setSupportsAck(t){this.supportsAck=t}getSupportsAck(){return this.supportsAck}setSupportsVoidPaymentResponse(t){this.supportsVoidPaymentResponse=t}getSupportsVoidPaymentResponse(){return this.supportsVoidPaymentResponse}}{constructor(t){super(t.getMessagePackageName(),t.getCloverTransport(),t.getApplicationId()),this.logger=p.create(),this.messageParser=T.getDefaultInstance(),this._remoteMessageVersion=M.DEFAULT_REMOTE_MESSAGE_VERSION,this.msgIdToTask={},this.heartbeatTimer=null,this.heartbeatResponseTimer=null,this.reconnectTimer=null,this.reconnecting=!1,this.heartbeatIntervalInMillis=null,this.heartbeatDisconnectTimeoutInMillis=null,this.cloverDeviceConfiguration=t,this.imageUtil=t.getImageUtil(),this.maxMessageSizeInChars=Math.max(1e3,t.getMaxMessageCharacters()),this.transport.subscribe(this),this.transport.setObjectMessageSender(this),this.reconnectDelayInMillis=this.cloverDeviceConfiguration.getReconnectDelay?this.cloverDeviceConfiguration.getReconnectDelay():-1,this.heartbeatIntervalInMillis=this.cloverDeviceConfiguration.getHeartbeatInterval?this.cloverDeviceConfiguration.getHeartbeatInterval():-1,this.heartbeatDisconnectTimeoutInMillis=this.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout?this.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout():-1,this.forceConnect=this.cloverDeviceConfiguration.getForceConnect?this.cloverDeviceConfiguration.getForceConnect():-1}onDeviceConnected(t){this.onConnected(t)}onConnected(t){setTimeout((()=>this.initiateHeartbeat()),M.INITIAL_HEARTBEAT_DELAY),this.notifyObserversConnected(t)}onConnectionAttemptComplete(t){this.reconnecting=!1}onDeviceReady(t){this.onReady(t)}onReady(t){this.doDiscoveryRequest()}initiateHeartbeat(){if(-1===this.heartbeatIntervalInMillis)return void this.logger.info(`${(new Date).toISOString()} - Device heartbeat checks are disabled, the heartbeatInterval is set to -1.`);if(this.heartbeatTimer)return;const t=()=>{try{this.heartbeatResponseTimer?this.logger.info(`${(new Date).toISOString()} - A heartbeat request is already outstanding, this interval will be skipped.`):(this.logger.info(`${(new Date).toISOString()} - Executing device heartbeat check ...`),this.sendPingToDevice(),this.heartbeatResponseTimer=setTimeout((()=>{const t=`Disconnecting: We have not received a heartbeat response from the device in ${this.heartbeatDisconnectTimeoutInMillis} millis.`;this.logger.warn(`${(new Date).toISOString()} - ${t}`),this.onDisconnected(this.transport,t)}),this.heartbeatDisconnectTimeoutInMillis)),this.heartbeatTimer=setTimeout(t,this.heartbeatIntervalInMillis)}catch(t){this.logger.info(`${(new Date).toISOString()} - Error caught executing device heartbeat checks. Message: ${t.message}.`)}};t()}stopHeartbeat(){-1!==this.heartbeatIntervalInMillis&&(this.logger.info(`${(new Date).toISOString()} - Stopping device heartbeat checks.`),clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null,this.clearHeartbeartResponseTimer())}clearHeartbeartResponseTimer(){clearTimeout(this.heartbeatResponseTimer),this.heartbeatResponseTimer=null}initiateReconnect(){if(-1===this.reconnectDelayInMillis)return void this.logger.info(`${(new Date).toISOString()} - Device reconnection is disabled, the reconnectDelay is set to -1.`);if(!this.transport||this.transport.isShutdown())return;if(this.reconnectTimer)return;const t=()=>{try{this.transport&&!this.transport.isShutdown()&&(this.reconnecting?this.logger.debug(`${(new Date).toISOString()} - A reconnection attempt is already outstanding, this attempt will be skipped.`):(this.logger.info(`${(new Date).toISOString()} - Not connected to your Clover device. Attempting to reconnect now ...`),this.transport.initialize(),this.reconnecting=!0))}catch(t){this.logger.error(`${(new Date).toISOString()} - An exception was caught in the reconnect loop. Message: ${t.message}.`)}this.reconnectTimer=setTimeout(t,this.reconnectDelayInMillis)};t()}stopReconnect(){-1!==this.reconnectDelayInMillis&&(this.logger.info(`${(new Date).toISOString()} - Stopping reconnect loop.`),clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}onDeviceDisconnected(t,e){this.onDisconnected(t,e)}onDisconnected(t,e,i=!0){e&&-1!=e.indexOf(S.device_already_connected)||(this.stopHeartbeat(),this.reconnecting=!1,i&&this.initiateReconnect(),this.notifyObserversDisconnected(t,e))}onDeviceError(t){t.getCode()&&t.getCode()===f.remotepay.DeviceErrorEventCode.AccessDenied&&this.stopReconnect(),this.notifyObserversDeviceError(t)}getApplicationId(){return this.applicationId}handleRemoteMessagePING(){this.respondToDevicePing()}handleRemoteMessagePONG(){this.clearHeartbeartResponseTimer(),this.logger.debug("Received pong "+(new Date).toISOString())}get remoteMessageVersion(){return this._remoteMessageVersion}set remoteMessageVersion(t){t>this._remoteMessageVersion&&(this._remoteMessageVersion=t)}handleRemoteMessageCOMMAND(t){this.remoteMessageVersion="function"==typeof t.getVersion?t.getVersion():M.DEFAULT_REMOTE_MESSAGE_VERSION;let e=f.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{const i=this.messageParser.parseMessageFromRemoteMessageObj(t);switch(null==i&&this.logger.error("Error parsing message: "+JSON.stringify(t)),e){case f.remotemessage.Method.BREAK:break;case f.remotemessage.Method.CASHBACK_SELECTED:this.notifyObserversCashbackSelected(i);break;case f.remotemessage.Method.ACK:this.notifyObserverAck(i);break;case f.remotemessage.Method.DISCOVERY_RESPONSE:this.logger.debug("Got a Discovery Response"),this.notifyObserversReady(this.transport,i);break;case f.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE:this.notifyObserversConfirmPayment(i);break;case f.remotemessage.Method.FINISH_CANCEL:this.notifyObserversFinishCancel(i);break;case f.remotemessage.Method.FINISH_OK:this.notifyObserversFinishOk(i);break;case f.remotemessage.Method.KEY_PRESS:this.notifyObserversKeyPressed(i);break;case f.remotemessage.Method.ORDER_ACTION_RESPONSE:break;case f.remotemessage.Method.PARTIAL_AUTH:this.notifyObserversPartialAuth(i);break;case f.remotemessage.Method.VOID_PAYMENT_RESPONSE:this.notifyObserversPaymentVoided(i);break;case f.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE:this.notifyObserversPaymentRefundVoided(i);break;case f.remotemessage.Method.PAYMENT_VOIDED:break;case f.remotemessage.Method.TIP_ADDED:this.notifyObserversTipAdded(i);break;case f.remotemessage.Method.TX_START_RESPONSE:this.notifyObserverTxStart(i);break;case f.remotemessage.Method.TX_STATE:this.notifyObserversTxState(i);break;case f.remotemessage.Method.UI_STATE:this.notifyObserversUiState(i);break;case f.remotemessage.Method.VERIFY_SIGNATURE:this.notifyObserversVerifySignature(i);break;case f.remotemessage.Method.REFUND_RESPONSE:this.notifyObserversPaymentRefundResponse(i);break;case f.remotemessage.Method.REFUND_REQUEST:break;case f.remotemessage.Method.TIP_ADJUST_RESPONSE:this.notifyObserversTipAdjusted(i);break;case f.remotemessage.Method.VAULT_CARD_RESPONSE:this.notifyObserverVaultCardResponse(i);break;case f.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE:this.notifyObserversCapturePreAuth(i);break;case f.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE:this.notifyObserversIncrementPreAuth(i);break;case f.remotemessage.Method.CLOSEOUT_RESPONSE:this.notifyObserversCloseout(i);break;case f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE:this.notifyObserversPendingPaymentsResponse(i);break;case f.remotemessage.Method.CARD_DATA_RESPONSE:this.notifyObserversReadCardData(i);break;case f.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY:this.notifyObserverActivityMessage(i);break;case f.remotemessage.Method.DISCOVERY_REQUEST:case f.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT:case f.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM:case f.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM:case f.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT:case f.remotemessage.Method.PRINT_IMAGE:case f.remotemessage.Method.PRINT_TEXT:break;case f.remotemessage.Method.PRINT_CREDIT:this.notifyObserversPrintCredit(i);break;case f.remotemessage.Method.PRINT_CREDIT_DECLINE:this.notifyObserversPrintCreditDecline(i);break;case f.remotemessage.Method.PRINT_PAYMENT:this.notifyObserversPrintPayment(i);break;case f.remotemessage.Method.PRINT_PAYMENT_DECLINE:this.notifyObserversPrintPaymentDecline(i);break;case f.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY:this.notifyObserversPrintMerchantCopy(i);break;case f.remotemessage.Method.REFUND_PRINT_PAYMENT:this.notifyObserversPrintPaymentRefund(i);break;case f.remotemessage.Method.ACTIVITY_RESPONSE:this.notifyObserversActivityResponse(i);break;case f.remotemessage.Method.REMOTE_ERROR:this.notifyObserversRemoteError(i);break;case f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE:this.notifyObserversRetrieveDeviceStatusResponse(i);break;case f.remotemessage.Method.RESET_DEVICE_RESPONSE:this.notifyObserversResetDeviceResponse(i);break;case f.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE:this.notifyObserversRetrievePaymentResponse(i);break;case f.remotemessage.Method.GET_PRINTERS_RESPONSE:this.notifyObserversRetrievePrintersResponse(i);break;case f.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE:this.notifyObserversPrintJobStatusResponse(i);break;case f.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE:this.notifyObserversCustomerProvidedDataMessage(i);break;case f.remotemessage.Method.INVALID_STATE_TRANSITION:this.notifyObserversInvalidStateTransitionResponse(i);break;case f.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE:this.notifyObserverDisplayReceiptOptionsResponse(i);break;case f.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE:this.notifyObserverDisplayCollectedSignature(i);break;case f.remotemessage.Method.BALANCE_INQUIRY_RESPONSE:this.notifyObserverBalanceInquiryResponse(i);break;case f.remotemessage.Method.REQUEST_TIP_RESPONSE:this.notifyObserverTipResponse(i);break;case f.remotemessage.Method.SHOW_ORDER_SCREEN:case f.remotemessage.Method.SHOW_THANK_YOU_SCREEN:case f.remotemessage.Method.SHOW_WELCOME_SCREEN:case f.remotemessage.Method.SIGNATURE_VERIFIED:case f.remotemessage.Method.TERMINAL_MESSAGE:case f.remotemessage.Method.TX_START:case f.remotemessage.Method.VOID_PAYMENT:case f.remotemessage.Method.CAPTURE_PREAUTH:case f.remotemessage.Method.LAST_MSG_REQUEST:case f.remotemessage.Method.LAST_MSG_RESPONSE:case f.remotemessage.Method.TIP_ADJUST:case f.remotemessage.Method.OPEN_CASH_DRAWER:case f.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS:case f.remotemessage.Method.VAULT_CARD:case f.remotemessage.Method.CLOSEOUT_REQUEST:case f.remotemessage.Method.ACTIVITY_REQUEST:case f.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST:break;default:this.logger.error("COMMAND not supported with method: "+t.getMethod())}}}handleRemoteMessageQUERY(t){}handleRemoteMessageEVENT(t){}handleRemoteMessage(t){try{let e=t.getType();e==f.remotemessage.RemoteMessageType.PING?this.handleRemoteMessagePING():e==f.remotemessage.RemoteMessageType.PONG?this.handleRemoteMessagePONG():e==f.remotemessage.RemoteMessageType.COMMAND?this.handleRemoteMessageCOMMAND(t):e==f.remotemessage.RemoteMessageType.QUERY?this.handleRemoteMessageQUERY(t):e==f.remotemessage.RemoteMessageType.EVENT?this.handleRemoteMessageEVENT(t):this.logger.error(t.getType?t.getType():"Message type unavailable message: "+JSON.stringify(t))}catch(e){this.logger.error("Error processing message: "+t.getPayload(),e)}}onMessage(t){this.logger.debug(`DefaultCloverDevice, handling remote message receipt. Message: ${t}.`);try{if(-1===(e=t).indexOf("method")&&e.indexOf("forceConnect")>-1)return void this.logger.debug("onMessage: Received a legacy force connect message, dropping.");let i=this.messageParser.parseToRemoteMessage(t);this.handleRemoteMessage(i)}catch(t){this.logger.error(t)}var e}respondToDevicePing(){if(this.transport){let t=new f.remotemessage.RemoteMessage;t.setType(f.remotemessage.RemoteMessageType.PONG),t.setPackageName(this.packageName),t.setRemoteSourceSDK(M.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot respond to PING, the transport has been shutdown.")}sendPingToDevice(){if(this.transport){let t=new f.remotemessage.RemoteMessage;t.setType(f.remotemessage.RemoteMessageType.PING),t.setPackageName(this.packageName),t.setRemoteSourceSDK(M.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot send PING, the transport has been shutdown.")}notifyObserversConnected(t){this.deviceObservers.forEach((t=>{t.onDeviceConnected(this)}))}notifyObserversDisconnected(t,e){this.deviceObservers.forEach((t=>{t.onDeviceDisconnected(this,e)}))}notifyObserversDeviceError(t){this.deviceObservers.forEach((e=>{e.onDeviceError(t)}))}notifyObserversReady(t,e){e.getReady()&&(this.stopReconnect(),this.clearHeartbeartResponseTimer(),this.initiateHeartbeat()),this.deviceObservers.forEach((t=>{t.onDeviceReady(this,e)}))}notifyObserverAck(t){let e=this.msgIdToTask[t.getSourceMessageId()];e&&(delete this.msgIdToTask[t.getSourceMessageId()],e.call(null)),this.deviceObservers.forEach((e=>{e.onMessageAck(t.getSourceMessageId())}))}notifyObserverActivityMessage(t){this.deviceObservers.forEach((e=>{e.onMessageFromActivity(t.getAction(),t.getPayload())}))}notifyObserversActivityResponse(t){this.deviceObservers.forEach((e=>{let i=-1==t.getResultCode()?f.remotemessage.ResultStatus.SUCCESS:f.remotemessage.ResultStatus.CANCEL;e.onActivityResponse(i,t.getPayload(),t.getFailReason(),t.getAction())}))}notifyObserversReadCardData(t){this.deviceObservers.forEach((e=>{e.onReadCardResponse(t.getStatus(),t.getReason(),t.getCardData())}))}notifyObserversRetrieveDeviceStatusResponse(t){this.deviceObservers.forEach((e=>{e.onDeviceStatusResponse(t)}))}notifyObserversRetrievePaymentResponse(t){this.deviceObservers.forEach((e=>{e.onRetrievePaymentResponse(t)}))}notifyObserversRetrievePrintersResponse(t){this.deviceObservers.forEach((e=>{e.onRetrievePrintersResponse(f.remotepay.ResponseCode.SUCCESS,t.getPrinters())}))}notifyObserversPrintJobStatusResponse(t){this.deviceObservers.forEach((e=>{e.onPrintJobStatusResponse(f.remotepay.ResponseCode.SUCCESS,t.getExternalPrintJobId(),t.getStatus())}))}notifyObserversCustomerProvidedDataMessage(t){this.deviceObservers.forEach((e=>{e.onCustomerProvidedDataMessage(f.remotepay.ResponseCode.SUCCESS,t.getEventId(),t.getConfig(),t.getData())}))}notifyObserversPrintCredit(t){this.deviceObservers.forEach((e=>{e.onPrintCredit(t.getCredit())}))}notifyObserversPrintCreditDecline(t){this.deviceObservers.forEach((e=>{e.onPrintCreditDecline(t.getCredit(),t.getReason())}))}notifyObserversPrintPayment(t){this.deviceObservers.forEach((e=>{e.onPrintPayment(t.getPayment(),t.getOrder())}))}notifyObserversPrintPaymentDecline(t){this.deviceObservers.forEach((e=>{e.onPrintPaymentDecline(t.getPayment(),t.getReason())}))}notifyObserversPrintMerchantCopy(t){this.deviceObservers.forEach((e=>{e.onPrintMerchantReceipt(t.getPayment())}))}notifyObserversPrintPaymentRefund(t){this.deviceObservers.forEach((e=>{e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))}notifyObserversResetDeviceResponse(t){this.deviceObservers.forEach((e=>{e.onResetDeviceResponse(f.remotepay.ResponseCode.SUCCESS,t.getReason(),t.getState())}))}notifyObserversRemoteError(t){this.deviceObservers.forEach((e=>{let i=new f.remotepay.CloverDeviceErrorEvent;i.setCode(f.remotepay.DeviceErrorEventCode.UnknownError),i.setMessage(JSON.stringify(t)),i.setType(f.remotepay.ErrorType.EXCEPTION),e.onDeviceError(i)}))}notifyObserversPaymentRefundResponse(t){this.deviceObservers.forEach((e=>{e.onPaymentRefundResponse(t)}))}notifyObserversPrintMessage(t){this.deviceObservers.forEach((e=>{e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))}notifyObserversKeyPressed(t){this.deviceObservers.forEach((e=>{e.onKeyPressed(t.getKeyPress())}))}notifyObserversCashbackSelected(t){this.deviceObservers.forEach((e=>{e.onCashbackSelected(t.getCashbackAmount())}))}notifyObserversTipAdded(t){this.deviceObservers.forEach((e=>{e.onTipAdded(t.getTipAmount())}))}notifyObserverTxStart(t){this.deviceObservers.forEach((e=>{e.onTxStartResponse(t)}))}notifyObserversTipAdjusted(t){this.deviceObservers.forEach((e=>{e.onAuthTipAdjusted(t)}))}notifyObserversPartialAuth(t){this.deviceObservers.forEach((e=>{e.onPartialAuth(t.getPartialAuthAmount())}))}notifyObserversPaymentVoided(t){this.deviceObservers.forEach((e=>{e.onPaymentVoided(t)}))}notifyObserversPaymentRefundVoided(t){this.deviceObservers.forEach((e=>{e.onPaymentRefundVoidResponse(t)}))}notifyObserversVerifySignature(t){this.deviceObservers.forEach((e=>{e.onVerifySignature(t.getPayment(),t.getSignature())}))}notifyObserversConfirmPayment(t){this.deviceObservers.forEach((e=>{e.onConfirmPayment(t.getPayment(),t.getChallenges())}))}notifyObserverVaultCardResponse(t){this.deviceObservers.forEach((e=>{e.onVaultCardResponse(t)}))}notifyObserversUiState(t){this.deviceObservers.forEach((e=>{e.onUiState(t.getUiState(),t.getUiText(),t.getUiDirection(),t.getInputOptions())}))}notifyObserversCapturePreAuth(t){this.deviceObservers.forEach((e=>{e.onCapturePreAuth(t)}))}notifyObserversIncrementPreAuth(t){this.deviceObservers.forEach((e=>{e.onIncrementPreAuthResponse(t)}))}notifyObserversCloseout(t){this.deviceObservers.forEach((e=>{e.onCloseoutResponse(t.getStatus(),t.getReason(),t.getBatch())}))}notifyObserversPendingPaymentsResponse(t){this.deviceObservers.forEach((e=>{e.onPendingPaymentsResponse(t.getStatus()==f.remotemessage.ResultStatus.SUCCESS,t.getPendingPaymentEntries())}))}notifyObserversTxState(t){this.deviceObservers.forEach((e=>{e.onTxState(t.getTxState())}))}notifyObserversFinishCancel(t){this.deviceObservers.forEach((e=>{e.onFinishCancel(t.getRequestInfo())}))}notifyObserversFinishOk(t){this.deviceObservers.forEach((e=>{t.getPayment()?e.onFinishOk(t.getPayment(),t.getSignature(),t.getRequestInfo()):t.getCredit()?e.onFinishOk(t.getCredit()):t.getRefund()&&e.onFinishOk(t.getRefund())}))}notifyObserverDisplayCollectedSignature(t){this.deviceObservers.forEach((e=>{e.onSignatureCollected(t)}))}notifyObserverBalanceInquiryResponse(t){this.deviceObservers.forEach((e=>{e.onBalanceInquiryResponse(t)}))}notifyObserverTipResponse(t){this.deviceObservers.forEach((e=>{e.onRequestTipResponse(t)}))}notifyObserversInvalidStateTransitionResponse(t){this.deviceObservers.forEach((e=>{e.onInvalidStateTransitionResponse(f.remotemessage.ResultStatus.CANCEL,t.getReason(),t.getRequestedTransition(),t.getState(),t.getData())}))}notifyObserverDisplayReceiptOptionsResponse(t){this.deviceObservers.forEach((e=>{e.onDisplayReceiptOptionsResponse(t.getStatus(),t.getReason())}))}doShowPaymentReceiptScreen(t,e){const i=new f.remotemessage.ShowPaymentReceiptOptionsMessage;i.setOrderId(t),i.setPaymentId(e),i.setVersion(2),this.sendObjectMessage(i)}doShowReceiptScreen(t,e,i,n,o){const s=new f.remotemessage.ShowReceiptOptionsMessage;s.setOrderId(t),s.setPaymentId(e),s.setRefundId(i),s.setCreditId(n),s.setDisableCloverPrinting(o),this.sendObjectMessage(s)}doKeyPress(t){let e=new f.remotemessage.KeyPressMessage;e.setKeyPress(t),this.sendObjectMessage(e)}doShowThankYouScreen(){const t=new f.remotemessage.ThankYouMessage;this.sendObjectMessage(t)}doShowWelcomeScreen(){const t=new f.remotemessage.WelcomeMessage;this.sendObjectMessage(t)}doSignatureVerified(t,e){const i=new f.remotemessage.SignatureVerifiedMessage;i.setPayment(t),i.setVerified(e),this.sendObjectMessage(i)}doRetrievePendingPayments(){const t=new f.remotemessage.RetrievePendingPaymentsMessage;this.sendObjectMessage(t)}doTerminalMessage(t){const e=new f.remotemessage.TerminalMessage;e.setText(t),this.sendObjectMessage(e)}doSendDebugLog(t){const e=new f.remotemessage.CloverDeviceLogMessage;e.setMessage(t),this.sendObjectMessage(e)}doOpenCashDrawer(t,e){const i=new f.remotemessage.OpenCashDrawerMessage;if(i.setReason(t),e){let t=new f.printer.Printer;t.setId(e),i.setPrinter(t)}this.sendObjectMessage(i)}doCloseout(t,e){const i=new f.remotemessage.CloseoutRequestMessage;i.setAllowOpenTabs(t),i.setBatchId(e),this.sendObjectMessage(i)}doTxStart(t,e,i){const n=new f.remotemessage.TxStartRequestMessage;n.setPayIntent(t),n.setOrder(e),n.setRequestInfo(i),n.setVersion(2),this.sendObjectMessage(n)}doTipAdjustAuth(t,e,i){const n=new f.remotemessage.TipAdjustMessage;n.setOrderId(t),n.setPaymentId(e),n.setTipAmount(i),this.sendObjectMessage(n)}doReadCardData(t){const e=new f.remotemessage.CardDataRequestMessage;e.setPayIntent(t),this.sendObjectMessage(e)}doSendMessageToActivity(t,e){const i=new f.remotemessage.ActivityMessageToActivity;i.setAction(t),i.setPayload(e),this.sendObjectMessage(i)}doPrintText(t,e,i){const n=new f.remotemessage.TextPrintMessage;if(n.setTextLines(t),e&&n.setExternalPrintJobId(e),i){let t=new f.printer.Printer;t.setId(i),n.setPrinter(t)}this.sendObjectMessage(n)}doPrintImageObject(t,e,i){const n=new f.remotemessage.ImagePrintMessage;this.imageUtil.getBase64Image(t,(t=>{if(n.setPng(t),e&&n.setExternalPrintJobId(e),i){let t=new f.printer.Printer;t.setId(i),n.setPrinter(t)}if(this.isFragmentationSupported()){let t=n.getPng();n.setPng(null),this.sendObjectMessage(n,t,M.BASE64)}else this.sendObjectMessage(n)}))}doPrintImageUrl(t,e,i){this.imageUtil.loadImageFromURL(t,(t=>{this.doPrintImageObject(t,e,i)}),(t=>{let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.UnknownError),e.setMessage(t),e.setType(f.remotepay.ErrorType.EXCEPTION),this.notifyObserversDeviceError(e)}))}doStartActivity(t,e,i){const n=new f.remotemessage.ActivityRequest;n.setAction(t),n.setPayload(e),n.setNonBlocking(i),n.setForceLaunch(!1),this.sendObjectMessage(n)}doVoidPayment(t,e,i,n){const o=new f.remotemessage.VoidPaymentMessage;o.setPayment(t),o.setVoidReason(e),o.setDisableCloverPrinting(i),o.setDisableReceiptSelection(n),this.getSupportsVoidPaymentResponse()&&o.setVersion(3);const s=this.buildRemoteMessageToSend(o),r=s.getId();if(this.getSupportsVoidPaymentResponse())this.sendRemoteMessage(s);else{const i=new P;i.setPayment(t),i.setVoidReason(e),i.setStatus(f.remotemessage.ResultStatus.SUCCESS),this.getSupportsAck()?(this.addTaskForAck(r,(()=>{this.notifyObserversPaymentVoided(i)})),this.sendRemoteMessage(s)):(this.sendRemoteMessage(s),this.notifyObserversPaymentVoided(i))}}addTaskForAck(t,e){this.msgIdToTask[t]=e}doPaymentRefund(t,e,i,n,o,s){const r=new f.remotemessage.RefundRequestMessage;r.setOrderId(t),r.setPaymentId(e),r.setAmount(i),r.setFullRefund(n),r.setDisableCloverPrinting(o),r.setDisableReceiptSelection(s),r.setVersion(2),this.sendObjectMessage(r)}doVoidPaymentRefund(t,e,i,n){const o=new f.remotemessage.VoidPaymentRefundMessage;o.setOrderId(t),o.setRefundId(e),o.setDisableCloverPrinting(i),o.setDisableReceiptSelection(n),o.setVersion(2),this.sendObjectMessage(o)}doPaymentRefundByRequest(t){const e=new f.remotemessage.RefundRequestMessage;e.setOrderId(t.getOrderId()),e.setPaymentId(t.getPaymentId()),e.setAmount(t.getAmount()),e.setFullRefund(t.getFullRefund()),e.setDisableCloverPrinting(t.getDisablePrinting()),e.setDisableReceiptSelection(t.getDisableReceiptSelection()),e.setVersion(2),this.sendObjectMessage(e)}doVaultCard(t){const e=new f.remotemessage.VaultCardMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)}doCaptureAuth(t,e,i){const n=new f.remotemessage.CapturePreAuthMessage;n.setVersion(1),n.setPaymentId(t),n.setAmount(e),n.setTipAmount(i),this.sendObjectMessage(n)}doIncrementPreAuth(t,e){const i=new f.remotemessage.IncrementPreAuthMessage;i.setVersion(1),i.setPaymentId(t),i.setAmount(e),this.sendObjectMessage(i)}doAcceptPayment(t){const e=new f.remotemessage.PaymentConfirmedMessage;e.setPayment(t),this.sendObjectMessage(e)}doRejectPayment(t,e){const i=new f.remotemessage.PaymentRejectedMessage;i.setPayment(t),i.setReason(e.getReason()),this.sendObjectMessage(i)}doDiscoveryRequest(){const t=new f.remotemessage.DiscoveryRequestMessage;t.setSupportsOrderModification(!1),this.sendObjectMessage(t)}doOrderUpdate(t,e){const i=new f.remotemessage.OrderUpdateMessage;i.setOrder(t),e&&(e instanceof f.order.operation.DiscountsAddedOperation?i.setDiscountsAddedOperation(e):e instanceof f.order.operation.DiscountsDeletedOperation?i.setDiscountsDeletedOperation(e):e instanceof f.order.operation.LineItemsAddedOperation?i.setLineItemsAddedOperation(e):e instanceof f.order.operation.LineItemsDeletedOperation?i.setLineItemsDeletedOperation(e):e instanceof f.order.operation.OrderDeletedOperation&&i.setOrderDeletedOperation(e)),this.sendObjectMessage(i)}doResetDevice(){const t=new f.remotemessage.BreakMessage;this.sendObjectMessage(t)}doRetrieveDeviceStatus(t){const e=new f.remotemessage.RetrieveDeviceStatusRequestMessage;e.setSendLastMessage(t.getSendLastMessage()),this.sendObjectMessage(e)}doRetrievePayment(t){const e=new f.remotemessage.RetrievePaymentRequestMessage;e.setExternalPaymentId(t),this.sendObjectMessage(e)}doRetrievePrinters(t){const e=new f.remotemessage.GetPrintersRequestMessage;t&&e.setCategory(t),this.sendObjectMessage(e)}doRetrievePrintJobStatus(t){const e=new f.remotemessage.PrintJobStatusRequestMessage;e.setExternalPrintJobId(t),this.sendObjectMessage(e)}doRegisterForCustomerProvidedData(t){const e=new f.remotemessage.RegisterForCustomerProvidedDataMessage;e.setConfigurations(t),this.sendObjectMessage(e)}doSetCustomerInfo(t){const e=new f.remotemessage.CustomerInfoMessage;e.setCustomer(t),this.sendObjectMessage(e)}doCheckBalance(t){const e=new f.remotemessage.BalanceInquiryRequestMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)}doCollectSignature(t){const e=new f.remotemessage.SignatureRequestMessage;e.setAcknowledgementMessage(t),this.sendObjectMessage(e)}doRequestTip(t,e){const i=new f.remotemessage.RequestTipRequestMessage;i.setTipSuggestions(e),i.setTippableAmount(t),this.sendObjectMessage(i)}dispose(){this.deviceObservers.splice(0,this.deviceObservers.length),this.transport&&(this.transport.dispose(),this.transport=null),this.stopReconnect(),this.stopHeartbeat()}sendObjectMessage(t,e,i){return this.buildRemoteMessages(t,e,i)}buildBaseRemoteMessage(t){if(null==t)return this.logger.debug("Message is null"),null;if(null==t.getMethod())return this.logger.error("Invalid Message",new Error("Invalid Message: "+t.toString())),null;if(null==this.applicationId)throw this.logger.error("Invalid ApplicationID: "+this.applicationId),new Error("Invalid applicationId");const e=++M.id+"";t.setMessageId(e);const i=new f.remotemessage.RemoteMessage;return i.setId(e),i.setType(f.remotemessage.RemoteMessageType.COMMAND),i.setPackageName(this.packageName),i.setMethod(t.getMethod()),i.setVersion(this.remoteMessageVersion),i.setRemoteSourceSDK(M.REMOTE_SDK),i.setRemoteApplicationID(this.applicationId),i}addSuppressElementsWrapper(t){for(const e in t)if(t.hasOwnProperty(e)&&t[e]){const i=t?t.getMetaInfo(e):null;i&&i.type==Array&&(t[e].suppressElementsWrapper=!0)}return t}buildRemoteMessageToSend(t){const e=this.buildBaseRemoteMessage(t);return t=this.addSuppressElementsWrapper(t),e.setPayload(JSON.stringify(t,M.stringifyClover)),e}buildRemoteMessages(t,e,i){const n=this.buildBaseRemoteMessage(t);t=this.addSuppressElementsWrapper(t),i&&n.setAttachmentEncoding(i);let o=JSON.stringify(t,M.stringifyClover);if(this.isFragmentationSupported())if((o?o.length:0)>this.maxMessageSizeInChars||e){if(e&&e.length>v.MAX_PAYLOAD_SIZE)return this.logger.error("Error sending message - payload size is greater than the maximum allowed."),null;let t=0;for(;o.length>0;)n.setLastFragment(!1),o.length<=this.maxMessageSizeInChars?(n.setPayload(o),o="",n.setLastFragment(null==e)):(n.setPayload(o.substr(0,this.maxMessageSizeInChars)),o=o.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(t++),this.sendRemoteMessage(n);if(n.setPayload(null),e)if(i==M.BASE64)for(n.setAttachmentEncoding(M.BASE64_ATTACHMENT);e.length>0;)n.setLastFragment(!1),e.length<=this.maxMessageSizeInChars?(n.setAttachment(e),e="",n.setLastFragment(!0)):(n.setAttachment(e.substr(0,this.maxMessageSizeInChars)),e=e.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(t++),this.sendRemoteMessage(n);else this.logger.error("Attachment on message, but no encoding specified. No idea how to send it.")}else o.length>this.maxMessageSizeInChars&&this.logger.warn("The message payload is larger than the maxMessageSizeInChars but fragmentation is not supported by the apps installed on the device. This may result in a payload that is too large to handle and a silent failure."),n.setPayload(o),e&&n.setAttachment(e),this.sendRemoteMessage(n);else n.setPayload(o),this.sendRemoteMessage(n);return n.getId()}static stringifyClover(t,e){return Array.isArray(e)&&!e.hasOwnProperty("suppressElementsWrapper")&&"elements"!=t?{elements:e}:e}sendRemoteMessage(t){const e=JSON.stringify(t);this.transport?(this.logger.debug(`Sending: ${e}`),this.transport.sendMessage(e)):this.logger.error(`Cannot send message, transport is null: ${e}`)}isFragmentationSupported(){return this.remoteMessageVersion>1}}M.DEFAULT_REMOTE_MESSAGE_VERSION=1,M.REMOTE_SDK=E.CLOVER_CLOUD_SDK+":"+E.CLOVER_CLOUD_SDK_VERSION,M.BASE64="BASE64",M.BASE64_ATTACHMENT=M.BASE64+".ATTACHMENT",M.id=0,M.INITIAL_HEARTBEAT_DELAY=15e3;class D{constructor(t,e,i,n,o,s){this.logger=p.create(),this.maxCharInMessage=5e4,this.imageUtil=i,this.appId=t,this.webSocketImplClass=e,this.setHeartbeatInterval(n),this.setReconnectDelay(o),this.setHeartbeatDisconnectTimeout(s)}getApplicationId(){return this.appId}getHeartbeatDisconnectTimeout(){return Math.max(D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT,this.heartbeatDisconnectTimeout)}setHeartbeatDisconnectTimeout(t){this.heartbeatDisconnectTimeout=t||D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT}getHeartbeatInterval(){return-1===this.heartbeatInterval?this.heartbeatInterval:Math.max(D.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL,this.heartbeatInterval)}setHeartbeatInterval(t){this.heartbeatInterval=t||D.DEFAULT_HEARTBEAT_INTERVAL}getReconnectDelay(){return-1===this.reconnectDelay?this.reconnectDelay:Math.max(D.DEFAULT_RECONNECT_DELAY,this.reconnectDelay)}setReconnectDelay(t){this.reconnectDelay=t||D.DEFAULT_RECONNECT_DELAY}getCloverDeviceType(){return M}getName(){return"Clover WebSocket Connector"}getImageUtil(){return this.imageUtil}getMaxMessageCharacters(){return this.maxCharInMessage}}D.DEFAULT_RECONNECT_DELAY=3e3,D.DEFAULT_HEARTBEAT_INTERVAL=-1,D.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL=2500,D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT=3e3,function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSING=2]="CLOSING",t[t.CLOSED=3]="CLOSED"}(I||(I={}));class b{constructor(t,e,i){this.logger=p.create(),this.listener=e,this.endpoint=t,this.webSocketImplClass=i}getWebSocketState(){return this.socket?this.socket.getReadyState():null}getBufferedAmount(){return this.socket?this.socket.getBufferedAmount():0}connect(t){if(null!=this.socket)throw new Error("Socket already created. Must create a new CloverWebSocketClient");try{this.socket=this.webSocketImplClass(this.endpoint),this.socket.addListener(this),this.socket.connect(t)}catch(t){this.logger.error("connect, connectionError",t),this.listener.connectionError(this,t.message)}}close(t,e){this.socket.sendClose(t,e)}isConnecting(){return this.socket.getState()==I.CONNECTING}isOpen(){return this.socket.isOpen()}isClosing(){return this.socket.getState()==I.CLOSING}isClosed(){return this.socket.getState()==I.CLOSED}onTextMessage(t,e){this.listener.onMessage(this,e)}onConnected(t){this.listener.onOpen(this)}onConnectError(t,e){let i=`A websocket connection error has occurred. Details: ${e.message||"Not available"}`;this.logger.error(i),this.listener.connectionError(this,i)}onDisconnected(t){this.listener.onClose(this,1e3,"",!1)}onCloseFrame(t,e,i){this.listener.onClose(this,e,i,!0)}onError(t){this.logger.error("A websocket error has occurred.")}onPingFrame(t){this.socket.sendPong()}onSendError(t){this.listener.onSendError("")}onUnexpectedError(t){this.logger.error("An unexpected websocket error has occurred.")}send(t){this.socket.sendText(t)}clearListener(){this.socket.removeListener(this)}setNotifyClose(t){this.notifyClose=t}shouldNotifyClose(){return this.notifyClose}}class x extends class{constructor(){this.observers=[],this.ready=!1}notifyDeviceConnected(){this.notifyConnected()}notifyConnected(){this.observers.forEach((t=>{t.onConnected(this)}))}notifyDeviceReady(){this.notifyReady()}notifyReady(){this.ready=!0,this.observers.forEach((t=>{t.onReady(this)}))}notifyDeviceDisconnected(){this.notifyDisconnected()}notifyDisconnected(){this.ready=!1,this.observers.forEach((t=>{t.onDisconnected(this)}))}notifyConnectionAttemptComplete(){this.observers.forEach((t=>{t.onConnectionAttemptComplete(this)}))}onMessage(t){this.observers.forEach((e=>{e.onMessage(t)}))}subscribe(t){this.ready&&this.observers.forEach((t=>{t.onReady(this)})),this.observers.push(t)}unsubscribe(t){var e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)}clearListeners(){this.observers.splice(0,this.observers.length)}setObjectMessageSender(t){this.objectMessageSender=t}}{constructor(t,e){super(),this.logger=p.create(),this.reconnectDelay=3e3,this.messageQueue=new Array,this.status="Disconnected",this.shutdown=!1,this.reconnectDelay=Math.max(0,t),this.webSocketImplClass=e,this.messageParser=T.getDefaultInstance();const i=setInterval((()=>{this.shutdown?clearInterval(i):this.sendMessageThread()}),100)}reset(){try{this.cloverWebSocketClient.close(x.CloverWebSocketCloseCode.RESET_CLOSE_CODE.code,x.CloverWebSocketCloseCode.RESET_CLOSE_CODE.reason)}catch(t){this.logger.error("error resetting transport.",t)}}sendMessageThread(){if(this.messageQueue.length>0)if(null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.isOpen()){let t=this.messageQueue.shift();try{this.cloverWebSocketClient.getBufferedAmount()>0?this.messageQueue.unshift(t):this.cloverWebSocketClient.send(t)}catch(e){this.messageQueue.unshift(t)}}else this.logger.debug("Cannot send queued messages, the websocket client is null or closed.")}sendMessage(t){return this.shutdown?this.logger.debug("In process of shutting down, ignoring "+t):this.messageQueue.push(t),-1}clearWebsocket(){null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient=null}initializeWithUri(t,e){if(null!=this.cloverWebSocketClient){if(this.cloverWebSocketClient.isOpen()||this.cloverWebSocketClient.isConnecting())return;this.clearWebsocket()}this.cloverWebSocketClient=new b(t,this,this.webSocketImplClass),this.cloverWebSocketClient.connect(e),this.logger.info("Connection attempt complete."),this.notifyConnectionAttemptComplete()}dispose(){this.shutdown=!0,this.drainQueue(),this.notifyDisconnected(),this.cloverWebSocketClient&&this.cloverWebSocketClient.close(),this.clearWebsocket()}drainQueue(){for(;this.messageQueue.length>0;){if(null==this.cloverWebSocketClient||!this.cloverWebSocketClient.isOpen()){this.logger.debug("In process of shutting down, the websocket became disconnected. The messages unsent are "+this.messageQueue);break}{let t=this.messageQueue.shift();try{this.cloverWebSocketClient.send(t)}catch(t){this.logger.debug("In process of shutting down, an error occurred trying to drain the message queue. The messages unsent are "+this.messageQueue);break}}}}connectionError(t,e,i,n=!0){if(this.logger.debug("Connection error..."),this.cloverWebSocketClient==t)for(let t of this.observers){t.onDisconnected(this,e,n);let o=new f.remotepay.CloverDeviceErrorEvent;o.setType(f.remotepay.ErrorType.COMMUNICATION),o.setCode(i||f.remotepay.DeviceErrorEventCode.NotConnected),o.setCause(null),o.setMessage(e),t.onDeviceError(o)}}onNotResponding(t){if(this.logger.debug("Not Responding..."),this.cloverWebSocketClient==t)for(let t of this.observers)this.logger.debug("onNotResponding"),t.onDisconnected(this)}onPingResponding(t){if(this.logger.debug("Ping Responding"),this.cloverWebSocketClient==t)for(let t of this.observers)this.logger.debug("onPingResponding"),t.onReady(this)}onOpen(t){this.logger.debug("Open..."),this.cloverWebSocketClient==t&&this.notifyConnected()}onClose(t,e,i,n){if(this.logger.debug("onClose: "+i+", remote? "+n),this.cloverWebSocketClient==t){this.cloverWebSocketClient.isClosing()||(this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient.isClosed()||this.cloverWebSocketClient.close()),this.clearWebsocket();for(let t of this.observers)this.logger.debug("onClose"),t.onDisconnected(this)}}onMessage(t,e){"string"==typeof t?super.onMessage(t):this.onMessage_cwscl(t,e)}isShutdown(){return this.shutdown}getSafeMessageQueue(){return this.messageQueue.slice()}onMessage_cwscl(t,e){if(this.cloverWebSocketClient==t)for(let t of this.observers)t.onMessage(e)}onSendError(t){this.logger.error("WebSocketCloverTransport: An error occurred sending a message.")}}x.METHOD="method",x.PAYLOAD="payload",function(t){class e{constructor(t,e){this.code=t,this.reason=e}}e.RESET_CLOSE_CODE=new e(4e3,"Reset requested"),t.CloverWebSocketCloseCode=e}(x||(x={}));class L extends x{constructor(t,e,i,n,o,s){super(e,s),this.isPairing=!0,this.endpoint=t,this.posName=i,this.serialNumber=n,this.authToken=o,this.initialize()}initialize(){this.initializeWithUri(this.endpoint)}onOpen(t){this.cloverWebSocketClient==t&&(super.onOpen(t),this.sendPairRequest())}sendPairRequest(){this.isPairing=!0;let t=new f.remotemessage.PairingRequestMessage;t.setName(this.posName),t.setSerialNumber(this.serialNumber),t.setApplicationName(this.posName),t.setAuthenticationToken(this.authToken),this.objectMessageSender.sendObjectMessage(t)}onMessage_cwscl(t,e){if(this.cloverWebSocketClient==t)if(this.isPairing){let t=this.messageParser.parseToRemoteMessage(e);var i=this.messageParser.parseMessageFromRemoteMessageObj(t);if(i)if(f.remotemessage.Method.PAIRING_CODE==i.getMethod()){this.logger.debug("Got PAIRING_CODE");var n=i.getPairingCode();this.pairingDeviceConfiguration.onPairingCode(n)}else if(f.remotemessage.Method.PAIRING_RESPONSE==i.getMethod()){this.logger.debug("Got PAIRING_RESPONSE");var o=i;if(f.remotemessage.PairingState.PAIRED==o.getPairingState()||f.remotemessage.PairingState.INITIAL==o.getPairingState()){this.logger.debug("Got PAIRED pair response"),this.isPairing=!1,this.authToken=o.getAuthenticationToken();try{this.pairingDeviceConfiguration.onPairingSuccess(this.authToken)}catch(t){this.logger.debug("Error:"+t)}this.notifyReady()}else f.remotemessage.PairingState.FAILED==o.getPairingState()&&(this.logger.debug("Got FAILED pair response"),this.isPairing=!0,this.sendPairRequest())}else f.remotemessage.Method.ACK==i.getMethod()&&f.remotemessage.Method.UI_STATE==i.getMethod()||this.logger.debug("Unexpected method: '"+i.getMethod()+"' while in pairing mode.");else this.logger.warn("Unrecognized message",e)}else super.onMessage_cwscl(t,e)}setPairingDeviceConfiguration(t){this.pairingDeviceConfiguration=t}}class k{getBase64Image(t,e){const i=document.createElement("canvas");i.width=t.naturalWidth,i.height=t.naturalHeight,i.getContext("2d").drawImage(t,0,0),e(i.toDataURL("image/png").replace(/^data:image\/(png|jpg);base64,/,""))}loadImageFromURL(t,e,i){const n=new Image,o=()=>{e&&e(n),r()},s=()=>{i&&i(`An Image could not be loaded. Please check that the URL (${t}) is accessible.`),r()},r=()=>{n.removeEventListener("load",o),n.removeEventListener("error",s)};n.addEventListener("load",o),n.addEventListener("error",s),n.crossOrigin="Anonymous",n.src=t}}class U extends class{constructor(t){this.logger=p.create(),this.endpoint=t,this.listeners=new Array}connect(t){return this.webSocket=this.createWebSocket(this.endpoint,t),"function"!=typeof this.webSocket.addEventListener?this.logger.error("FATAL: The websocket implementation being used must have an 'addEventListener' function. Either use a supported websocket implementation (https://www.npmjs.com/package/ws) or override the connect method on CloverWebSocketInterface."):(this.webSocket.addEventListener("open",(t=>this.notifyOnOpen(t))),this.webSocket.addEventListener("message",(t=>this.notifyOnMessage(t))),this.webSocket.addEventListener("close",(t=>this.notifyOnClose(t))),this.webSocket.addEventListener("error",(t=>this.notifyOnError(t)))),this}notifyOnOpen(t){this.listeners.forEach((t=>{try{t.onConnected(this)}catch(t){this.logger.error(t)}}))}notifyOnMessage(t){this.listeners.forEach((e=>{try{e.onTextMessage(this,t.data)}catch(t){this.logger.error(t)}}))}notifyOnError(t){this.listeners.forEach((e=>{try{this.getReadyState()==I.CONNECTING?e.onConnectError(this,t):this.getReadyState()==I.CLOSING?e.onUnexpectedError(this,t):this.getReadyState()==I.CLOSED?e.onDisconnected(this,t):this.getReadyState()==I.OPEN&&e.onSendError(this,t)}catch(t){this.logger.error(t)}}))}notifyOnClose(t){this.listeners.forEach((e=>{try{e.onCloseFrame(this,t.code,t.reason)}catch(t){this.logger.error(t)}}))}sendClose(t,e){this.logger.debug("Close sent code ",t," reason ",e);try{this.webSocket.close(t||1e3,e||"NORMAL_CLOSURE")}catch(t){this.logger.error("error disposing of transport.",t)}return this}sendText(t){return this.webSocket.send(t),this}getState(){return this.getReadyState()}isOpen(){return this.getReadyState()==I.OPEN}addListener(t){this.listeners.push(t)}removeListener(t){var e=this.listeners.indexOf(t);return-1!==e&&(this.listeners.splice(e,1),!0)}getListeners(){return this.listeners.slice()}getUrl(){return this.webSocket.url}getReadyState(){return this.webSocket.readyState}getBufferedAmount(){return this.webSocket.hasOwnProperty("bufferedAmount")?this.webSocket.bufferedAmount:0}getProtocol(){return this.webSocket.protocol}}{constructor(t){super(t)}createWebSocket(t,e){return new WebSocket(t,e)}sendPong(){return this}sendPing(){return this}static createInstance(t){return new U(t)}}class w extends D{constructor(t,e,i,n,o,s,r,a,l,d,u,p){super(e,a,l,d,u),this.uri=null,this.uri=t,this.posName=i,this.serialNumber=n,this.authToken=o,this.webSocketImplClass=a,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}getMessagePackageName(){return"com.clover.remote_protocol_broadcast.app"}getName(){return"Clover Secure WebSocket Connector"}getCloverTransport(){let t=new L(this.uri,this.getReconnectDelay(),this.posName,this.serialNumber,this.authToken,this.webSocketImplClass);return t.setPairingDeviceConfiguration(this),t}setAuthToken(t){this.authToken=t}onPairingCode(t){this.onPairingCodeHandler(t)}onPairingSuccess(t){this.onPairingSuccessHandler(t)}}class V{constructor(t,e,i,n,o,s,r){this.uri=null,this.applicationId=t,this.uri=e,this.posName=i,this.serialNumber=n,this.authToken=o,this.imageUtil=new k,this.webSocketFactoryFunction=U.createInstance,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}getApplicationId(){return this.applicationId}getUri(){return this.uri}getSerialNumber(){return this.serialNumber}getAuthToken(){return this.authToken}getWebSocketFactoryFunction(){return this.webSocketFactoryFunction}setWebSocketFactoryFunction(t){return this.webSocketFactoryFunction=t,this}getImageUtil(){return this.imageUtil}setImageUtil(t){return this.imageUtil=t,this}getPosName(){return this.posName}setPosName(t){return this.posName=t,this}getHeartbeatInterval(){return this.heartbeatInterval}setHeartbeatInterval(t){return this.heartbeatInterval=t,this}getHeartbeatDisconnectTimeout(){return this.heartbeatDisconnectTimeout}setHeartbeatDisconnectTimeout(t){return this.heartbeatDisconnectTimeout=t,this}getReconnectDelay(){return this.reconnectDelay}setReconnectDelay(t){return this.reconnectDelay=t,this}build(){return new w(this.uri,this.applicationId,this.posName,this.serialNumber,this.authToken,this.onPairingCodeHandler,this.onPairingSuccessHandler,this.webSocketFactoryFunction,this.imageUtil,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)}}class F{static getOAuthURL(t,e,i,n){var o={};o[F.DOMAIN_KEY]=t,o[F.OAUTH_CLIENT_ID_KEY]=e;let s=F.DOMAIN_PATH+F.OAUTH_PATH+F.OAUTH_CLIENT_ID_SUFFIX;return i&&(o[F.OAUTH_MERCHANT_ID_KEY]=i,s+=F.OAUTH_MERCHANT_ID_SUFFIX),n&&(o[F.OAUTH_REDIRECT_URI_KEY]=encodeURIComponent(n),s+=F.OAUTH_REDIRECT_URI_SUFFIX),F.setVariables(s,o)}static getDeviceWebSocketEndpoint(t,e,i,n){const o={};o[F.WEBSOCKET_TOKEN_KEY]=t.token,o[F.DOMAIN_KEY]=t.host,o[F.WEBSOCKET_FRIENDLY_ID_KEY]=encodeURIComponent(e),o[F.WEBSOCKET_FORCE_CONNECT_KEY]=i;let s=F.DOMAIN_PATH+F.WEBSOCKET_PATH+F.WEBSOCKET_TOKEN_SUFFIX+F.WEBSOCKET_FRIENDLY_ID_SUFFIX+F.WEBSOCKET_FORCE_CONNECT_SUFFIX;return t.serverIdentifier&&(s+="&"+F.CLOUD_SERVER_IDENTIFIER_KEY+"="+t.serverIdentifier),F.setVariables(s,o)}static getMerchantEndpoint(t,e){var i={};i[F.MERCHANT_V3_KEY]=e,i[F.DOMAIN_KEY]=t;let n=F.DOMAIN_PATH+F.MERCHANT_V3_PATH;return F.setVariables(n,i)}static getDevicesEndpoint(t,e,i){var n={};n[F.MERCHANT_V3_KEY]=e,n[F.DOMAIN_KEY]=t;let o=F.DOMAIN_PATH+F.DEVICE_PATH;return F.setVariables(o,n)}static getAlertDeviceEndpoint(t,e){var i={};i[F.MERCHANT_V3_KEY]=e,i[F.DOMAIN_KEY]=t;let n=F.DOMAIN_PATH+F.REMOTE_PAY_PATH;return F.setVariables(n,i)}static parseQueryString(t){let e=t.indexOf("?");var i,n,o,s,r={};for(o=0,s=(i=(t=t.substring(e+1,t.length)).split("&")).length;o<s;o++)r[(n=i[o].split("="))[0]]=n[1];return r}static setVariables(t,e){for(var i in e)if(e.hasOwnProperty(i)){var n=new RegExp(this.escapeRegExp("{"+i+"}"),"g");i===F.DOMAIN_KEY&&(e[i]=F.appendTrailingSlashToDomain(e[i])),t=t.replace(n,e[i])}return t}static appendTrailingSlashToDomain(t){return t&&"/"!==t.charAt(t.length-1)?`${t}/`:t}static escapeRegExp(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}}F.ACCESS_TOKEN_KEY="axsTkn",F.ACCESS_TOKEN_SUFFIX="?access_token={"+F.ACCESS_TOKEN_KEY+"}",F.CLOUD_SERVER_IDENTIFIER_KEY="server",F.ACCOUNT_V3_KEY="acntId",F.ACCOUNT_V3_PATH="v3/accounts/{"+F.ACCOUNT_V3_KEY+"}",F.DEVELOPER_V3_KEY="dId",F.DEVELOPER_V3_PATH="v3/developers/{"+F.DEVELOPER_V3_KEY+"}",F.RESELLER_V3_KEY="rId",F.RESELLER_V3_PATH="v3/resellers/{"+F.RESELLER_V3_KEY+"}",F.MERCHANT_V2_KEY="mId",F.MERCHANT_V2_PATH="v2/merchant/{"+F.MERCHANT_V2_KEY+"}",F.MERCHANT_V3_KEY="mId",F.MERCHANT_V3_PATH="v3/merchants/{"+F.MERCHANT_V3_KEY+"}",F.APPS_V3_KEY="appId",F.APPS_V3_PATH="v3/apps/{"+F.APPS_V3_KEY+"}",F.ORDER_PATH=F.MERCHANT_V3_PATH+"/orders",F.ORDER_ID_KEY="appId",F.ORDER_ID_PATH=F.ORDER_PATH+"/{"+F.ORDER_ID_KEY+"}",F.LINE_ITEM_PATH=F.ORDER_ID_PATH+"/line_items",F.LINE_ITEM_ID_KEY="lniId",F.LINE_ITEM_ID_PATH=F.LINE_ITEM_PATH+"/{"+F.LINE_ITEM_ID_KEY+"}",F.DEVICE_PATH=F.MERCHANT_V3_PATH+"/devices",F.DEVICE_ID_KEY="devId",F.DEVICE_ID_PATH=F.DEVICE_PATH+"/{"+F.DEVICE_ID_KEY+"}",F.REMOTE_PAY_PATH=F.MERCHANT_V2_PATH+"/remote_pay",F.WEBSOCKET_PATH="support/remote_pay/cs",F.WEBSOCKET_TOKEN_KEY="wsTkn",F.WEBSOCKET_TOKEN_SUFFIX="?token={"+F.WEBSOCKET_TOKEN_KEY+"}",F.WEBSOCKET_FRIENDLY_ID_KEY="wsFriendlyId",F.WEBSOCKET_FRIENDLY_ID_SUFFIX="&friendlyId={"+F.WEBSOCKET_FRIENDLY_ID_KEY+"}",F.WEBSOCKET_FORCE_CONNECT_KEY="wsForceConnect",F.WEBSOCKET_FORCE_CONNECT_SUFFIX="&forceConnect={"+F.WEBSOCKET_FORCE_CONNECT_KEY+"}",F.OAUTH_PATH="oauth/authorize?response_type=token",F.OAUTH_CLIENT_ID_KEY="client_id",F.OAUTH_CLIENT_ID_SUFFIX="&client_id={"+F.OAUTH_CLIENT_ID_KEY+"}",F.OAUTH_MERCHANT_ID_KEY="merchant_id",F.OAUTH_MERCHANT_ID_SUFFIX="&merchant_id={"+F.OAUTH_MERCHANT_ID_KEY+"}",F.OAUTH_REDIRECT_URI_KEY="redirect_uri",F.OAUTH_REDIRECT_URI_SUFFIX="&redirect_uri={"+F.OAUTH_REDIRECT_URI_KEY+"}",F.DOMAIN_KEY="server_url",F.DOMAIN_PATH="{server_url}";class B{constructor(t,e){this.deviceId=t,this.isSilent=e}}class q extends x{constructor(t,e,i,n,o,s,r,a,l){super(t,e),this.cloverServer=i,this.merchantId=n,this.accessToken=o,this.deviceId=s,this.httpSupport=l,this.friendlyId=r,this.forceConnect=a,this.initialize()}initialize(){this.webSocketURL&&this.webSocketURL.length>0?this.doOptionsCallToAvoid401Error(this.webSocketURL):"undefined"!=typeof window&&window.MSInputMethodContext&&document.documentMode?this.httpSupport.getData(F.getMerchantEndpoint(this.cloverServer,this.merchantId),(t=>this.obtainWebSocketUrlAndSendPushAlert()),(t=>{this.logger.warn("IE 11 - Initial GET failed.",t)}),this.buildAuthorizationHeader(this.accessToken)):this.obtainWebSocketUrlAndSendPushAlert()}obtainWebSocketUrlAndSendPushAlert(){let t=F.getAlertDeviceEndpoint(this.cloverServer,this.merchantId),e=new B(this.deviceId.replace(/-/g,""),!0);this.httpSupport.postData(t,(t=>this.deviceNotificationSent(t)),(t=>{this.connectionError(this.cloverWebSocketClient,`Error connecting to your Clover device. Details: ${t.message}`,null,t&&404!==t.status)}),e,this.buildAuthorizationHeader(this.accessToken))}deviceNotificationSent(t){!t.hasOwnProperty("sent")||t.sent?(this.webSocketURL=F.getDeviceWebSocketEndpoint(t,this.friendlyId,this.forceConnect,this.merchantId),this.doOptionsCallToAvoid401Error(this.webSocketURL)):this.connectionError(this.cloverWebSocketClient,"The device is unreachable or an error has occurred sending the device a notification to start/connect to Cloud Pay Display.")}doOptionsCallToAvoid401Error(t){const e=t;let i;i=e.indexOf("wss")>-1?e.replace("wss","https"):e.replace("ws","http"),this.httpSupport.options(i,((e,i)=>this.afterOptionsCall(t,i)),((e,i)=>this.afterOptionsCall(t,i)),this.buildAuthorizationHeader(this.accessToken))}afterOptionsCall(t,e){let i="";if(e&&"function"==typeof e.getResponseHeader&&(i=e.getResponseHeader(q.X_CLOVER_CONNECTED_ID)),i&&!this.forceConnect){if(this.friendlyId!=i)return void this.connectionError(this.cloverWebSocketClient,`${S.device_already_connected} '${i}'.`,f.remotepay.DeviceErrorEventCode.AccessDenied);this.logger.warn("Already connected to friendlyId '"+i+".' This can happen if the SDK is internally trying to reconnect (in which case this is not a problem), if the same friendlyId is being used for multiple POS clients, or if you attempted to initialize a new Clover Connector without disposing of the previous Clover Connector."),this.cloverWebSocketClient&&this.cloverWebSocketClient.close()}this.cloverWebSocketClient&&this.cloverWebSocketClient.getWebSocketState()==I.OPEN?this.notifyConnectionAttemptComplete():super.initializeWithUri(t,this.accessToken)}buildAuthorizationHeader(t){return{Authorization:`Bearer ${t}`}}onOpen(t){this.cloverWebSocketClient==t&&(super.onOpen(t),this.notifyReady())}}q.X_CLOVER_CONNECTED_ID="X-CLOVER-CONNECTED-ID";class G extends M{constructor(t){super(t)}dispose(){let t=this.buildRemoteMessageToSend(new f.remotemessage.ShutDownMessage);this.sendRemoteMessage(t),super.dispose()}disposeWithoutMessage(){super.dispose()}handleRemoteMessageEVENT(t){let e=f.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{let i=this.messageParser.parseMessageFromRemoteMessageObj(t);e==f.remotemessage.Method.FORCECONNECT&&(this.logger.info("Connection was stolen! Will not attempt reconnect.",t),this.notifyObserversForceConnect(i),this.disposeWithoutMessage())}}notifyObserversForceConnect(t){this.deviceObservers.forEach((e=>{const i=JSON.stringify(t),n=new f.remotepay.CloverDeviceErrorEvent;n.setCode(f.remotepay.DeviceErrorEventCode.Interrupted),n.setMessage(i),n.setType(f.remotepay.ErrorType.COMMUNICATION),e.onDeviceError(n),e.onDeviceDisconnected(this,i)}))}handleRemoteMessage(t){try{t.getMethod()===f.remotemessage.Method.RESET||t.getMethod()===f.remotemessage.Method.SHUTDOWN?(this.logger.info("Reset requested! Will reconnect."),this.transport.reset()):super.handleRemoteMessage(t)}catch(e){this.logger.error("Error processing message: "+t.getPayload(),e)}}}class H extends D{constructor(t,e,i,n,o,s,r,a,l,d=!1,u,p,_){super(t,e,i,u,p,_),this.cloverServer=n,this.accessToken=o,this.httpSupport=s,this.merchantId=r,this.deviceId=a,this.friendlyId=l||"unknown",this.forceConnect=d}getMessagePackageName(){return"com.clover.remote.protocol.websocket"}getName(){return"Clover Cloud WebSocket Connector"}getCloverDeviceType(){return G}getCloverTransport(){return new q(this.getReconnectDelay(),this.webSocketImplClass,this.cloverServer,this.merchantId,this.accessToken,this.deviceId,this.friendlyId,this.forceConnect,this.httpSupport)}}class Y{constructor(){}createICloverConnector(t){return new v(t)}}class j{constructor(){}createICloverConnector(t){return new W(t)}}class W extends v{constructor(t){super(null),this.urlParamsInfo=null,this.httpSupport=new c(XMLHttpRequest),this.imageUtil=new k,this.legacyConfiguration=t}initializeConnection(){null==this.device&&this.initializeLegacyConnection(this.legacyConfiguration)}generateNewConfigurationAndInitialize(t){let e=new H(t.remoteApplicationId,U.createInstance,this.imageUtil,t.domain,t.oauthToken,this.httpSupport,t.merchantId,t.deviceId,t.friendlyId,t.forceConnect);null==this.device&&this.initialize(e)}initializeLegacyConnection(t){if(t.oauthToken)this.onceWeHaveTheAccessToken(t);else if(t.domain&&t.clientId)t.oauthToken=this.getAccessToken(t),this.onceWeHaveTheAccessToken(t);else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}}onceWeHaveTheAccessToken(t){t.merchantId=this.getMerchantId(t),t.deviceId?this.generateNewConfigurationAndInitialize(t):this.getDeviceId(t)}getDeviceId(t){if(t.deviceSerialId||t.deviceId)if(t.deviceId)this.generateNewConfigurationAndInitialize(t);else{let e=F.getDevicesEndpoint(t.domain,t.merchantId,t.oauthToken);this.httpSupport.getData(e,function(e){this.handleDeviceResult(W.buildMapOfSerialToDevice(e),t)}.bind(this),function(t){let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(f.remotepay.ErrorType.EXCEPTION),e.setMessage(JSON.stringify({"Error retreiving devices:":t},null,"\t")),this.broadcaster.notifyOnDeviceError(e)}.bind(this))}else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Neither 'deviceId' or 'deviceSerialId' passed, one must be set. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}}static buildMapOfSerialToDevice(t){let e=null,i={};var n;if(t.devices?e=t.devices:t.elements&&(e=t.elements),e)for(n=0;n<e.length;n++)i[e[n].serial]=e[n];return i}handleDeviceResult(t,e){let i=t[e.deviceSerialId];if(null==i){let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Cannot determine device to use. Device "+e.deviceSerialId+" not in set returned."),this.broadcaster.notifyOnDeviceError(t)}else"Clover_C100"==i.model&&this.logger.warn("Warning - Selected device model ("+t[e.deviceSerialId].model+") does not support pay display. Will attempt to send notification to device, but no response should be expected."),e.deviceId=i.id,this.generateNewConfigurationAndInitialize(e)}getMerchantId(t){if(!t.merchantId)if(this.urlParamsInfo)t.merchantId=this.urlParamsInfo[W.URL_MERCHANT_ID_KEY];else if(t.domain&&t.clientId){this.getAccessToken(t);let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(f.remotepay.ErrorType.EXCEPTION),e.setMessage("Neither 'merchantId' or '"+W.URL_MERCHANT_ID_KEY+"' specified. Cannot initialize."),this.broadcaster.notifyOnDeviceError(e)}else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}return t.merchantId}getAccessToken(t){this.parseWindowURL();var e=null;return this.urlParamsInfo&&(e=this.urlParamsInfo[W.accessTokenKey]),null==e&&W.redirect(t),e}static redirect(t){let e=window.location.href.replace(window.location.hash,""),i=F.getOAuthURL(t.domain,t.clientId,null,e);window.location.href=i}parseWindowURL(){this.urlParamsInfo||this.parseURL(window.location)}parseURL(t){this.urlParamsInfo={};let e=t.hash.split("&");this.parseStuff(e);var i=t.search.substr(1).split("&");this.parseStuff(i)}parseStuff(t){let e=0,i=null;for(;i=t[e++];){let t=i.split("=");this.urlParamsInfo[t[0]]=t[1],t[0]===W._accessTokenKey&&(this.urlParamsInfo[W.accessTokenKey]=t[1])}}}W._accessTokenKey="access_token",W.accessTokenKey="#"+W._accessTokenKey,W.URL_MERCHANT_ID_KEY="merchant_id";class K{static createICloverConnectorFactory(t){return t&&t[K.FACTORY_VERSION]?t[K.FACTORY_VERSION]==K.VERSION_12?new Y:void console.error("Factory version specified, but not found!",t):new j}}K.DEFAULT_VERSION="DEFAULT",K.VERSION_12="VERSION_12",K.FACTORY_VERSION="FACTORY_VERSION",function(t){t.ACTION_CLOVER_AUTH_RESPONSE="CLOVER_AUTH_RESPONSE",t.ACTION_CLOVER_ADJUST_RESPONSE="CLOVER_ADJUST_RESPONSE",t.ACTION_CLOVER_SALE_RESPONSE="CLOVER_SALE_RESPONSE",t.ACTION_CLOVER_VOID_RESPONSE="CLOVER_VOID_RESPONSE",t.ACTION_CLOVER_BATCH_CLOSE_RESPONSE="CLOVER_BATCH_CLOSE_RESPONSE",t.ACTION_CLOVER_RETURN_RESPONSE="CLOVER_RETURN_RESPONSE",t.ACTION_CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT="CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT",t.ACTION_CLOVER_RETRIEVE_PAYMENT_RESPONSE="CLOVER_RETRIEVE_PAYMENT_RESPONSE"}(R||(R={}));class J{constructor(){this.status=null,this.statusCode=null,this.statusMessage=null,this.refID=null,this.action=null,this.approveAmount=null,this.amountDue=null}static build(t){return new J}}J.STATUS_OK="OK",J.STATUS_FAIL="FAIL",J.STATUS_CODE_OK="OK",J.STATUS_CODE_FAIL="FAIL",J.STATUS_CODE_WARNING="WARNING",J.STATUS_CODE_TIMEOUT="TIMEOUT";class Q extends J{static build(t){let e=new J;switch(t.getSuccess()?(e.status=J.STATUS_OK,e.statusCode=J.STATUS_CODE_OK):(e.status=J.STATUS_FAIL,e.statusCode=J.STATUS_CODE_FAIL),e.statusMessage=t.getMessage(),e.data=t,!0){case t instanceof f.remotepay.SaleResponse:e.action=R.ACTION_CLOVER_SALE_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId(),e.approveAmount=t.getPayment().getAmount());break;case t instanceof f.remotepay.AuthResponse:e.action=R.ACTION_CLOVER_AUTH_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId(),e.approveAmount=t.getPayment().getAmount());break;case t instanceof f.remotepay.TipAdjustAuthResponse:e.action=R.ACTION_CLOVER_ADJUST_RESPONSE,e.refID=t.getPaymentId();break;case t instanceof f.remotepay.VoidPaymentResponse:e.action=R.ACTION_CLOVER_VOID_RESPONSE,t.getReason()==f.order.VoidReason.REJECT_PARTIAL_AUTH&&(e.action=R.ACTION_CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT),t.getPayment()&&(e.refID=t.getPayment().getId());break;case t instanceof f.remotepay.RefundPaymentResponse:e.action=R.ACTION_CLOVER_RETURN_RESPONSE,e.refID=t.getPaymentId();break;case t instanceof f.remotepay.CloseoutResponse:e.action=R.ACTION_CLOVER_BATCH_CLOSE_RESPONSE;break;case t instanceof f.remotepay.RetrievePaymentResponse:e.action=R.ACTION_CLOVER_RETRIEVE_PAYMENT_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId());case t instanceof f.remotepay.RetrievePendingPaymentsResponse:}return e}}class ${constructor({cloverConfig:t,onPairingCode:e,onPairingSuccess:i}){this.cloverConnector=null,this.pendingSaleRequest=null,this.isReady=!1,this.deviceError=null,this.deviceDisconnected=!0,this.saleResponse=null,this.authResponse=null,this.tipAdjustAuthResponse=null,this.voidPaymentResponse=null,this.refundPaymentResponse=null,this.closeoutResponse=null,this.retrievePaymentResponse=null,this.retrievePendingPaymentsResponse=null,this.retrieveDeviceStatusResponse=null,this.paymentResponse=null,this.cloverConfig=t,this.onPairingCode=e,this.onPairingSuccess=i}static createInstance(t){if(t)return new $(t);throw new Error("Missing 'options' parameters")}static getInstance(t){var e;if($.instance){if(t){if(1==t.createNew)return null===(e=$.instance.cloverConnector)||void 0===e||e.dispose(),$.instance=$.createInstance(t),$.instance;throw Error("Instance is already instantiate with `options`")}}else $.instance=$.createInstance(t);return $.instance}connect(){let t;this.cleanup(),t=this.getDeviceConfigurationForNetwork();let e={};e[K.FACTORY_VERSION]=K.VERSION_12;let i=K.createICloverConnectorFactory(e);this.cloverConnector=i.createICloverConnector(t),this.cloverConnector.addCloverConnectorListener(this.buildCloverConnectionListener()),this.cloverConnector.initializeConnection()}doSale(t){var e;this.saleResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.SaleRequest,this.pendingSaleRequest.setExternalId(t.refId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setAutoAcceptSignature(!0),this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(!0),this.pendingSaleRequest.setDisableDuplicateChecking(!0),this.pendingSaleRequest.setCardEntryMethods(h.ALL),console.log({message:"Sending sale",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.sale(this.pendingSaleRequest))}doAuth(t){var e;this.authResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.AuthRequest,this.pendingSaleRequest.setExternalId(t.refId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setAutoAcceptSignature(!0),this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(!0),this.pendingSaleRequest.setDisableDuplicateChecking(!0),this.pendingSaleRequest.setCardEntryMethods(h.ALL),console.log({message:"Sending auth",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.auth(this.pendingSaleRequest))}doTipAdjust(t){var e;this.tipAdjustAuthResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.TipAdjustAuthRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setTipAmount(t.amount),this.pendingSaleRequest.setPaymentId(t.paymentId),console.log({message:"Sending tip adjust",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} for $${this.pendingSaleRequest.getTipAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(this.pendingSaleRequest))}doVoid(t){var e;this.voidPaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.VoidPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setPaymentId(t.paymentId),this.pendingSaleRequest.setVoidReason(f.order.VoidReason.USER_CANCEL),console.log({message:"Sending void",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(this.pendingSaleRequest))}doRefund(t){var e;this.refundPaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.RefundPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setPaymentId(t.paymentId),console.log({message:"Sending refund",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.refundPayment(this.pendingSaleRequest))}doRetrievePayment(t){var e;this.retrievePaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.RetrievePaymentRequest,this.pendingSaleRequest.setExternalId(t.refId),console.log({message:"Sending retrieve",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(this.pendingSaleRequest))}doRetrievePendingPayment(){var t;this.retrievePendingPaymentsResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(console.log({message:"Sending retrieve pending payments"}),null===(t=this.cloverConnector)||void 0===t||t.retrievePendingPayments())}doCloseout(){var t;this.closeoutResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.CloseoutRequest,this.pendingSaleRequest.setAllowOpenTabs(!1),console.log({message:"Sending closeout",request:this.pendingSaleRequest}),console.log("Payment: closeout is in progress."),null===(t=this.cloverConnector)||void 0===t||t.closeout(this.pendingSaleRequest))}doPrint(t){var e;null===(e=this.cloverConnector)||void 0===e||e.print(t)}cleanup(){this.cloverConnector&&this.cloverConnector.dispose()}showMessage(t){var e;null===(e=this.cloverConnector)||void 0===e||e.showMessage(t)}checkDeviceStatus(){var t;this.retrieveDeviceStatusResponse=null;let e=new f.remotepay.RetrieveDeviceStatusRequest;null===(t=this.cloverConnector)||void 0===t||t.retrieveDeviceStatus(e)}showWelcomeScreen(){var t;null===(t=this.cloverConnector)||void 0===t||t.showWelcomeScreen()}showThankYouScreen(){var t;null===(t=this.cloverConnector)||void 0===t||t.showThankYouScreen()}buildCloverConnectionListener(){return Object.assign({},f.remotepay.ICloverConnectorListener.prototype,{onDeviceConnected:()=>{this.deviceDisconnected=!1},onSaleResponse:t=>{var e;console.log({message:"Payment response received",response:t});const i=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.saleResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()){const n=t.getPayment();if(n&&n.getAmount()<i){const t=new f.remotepay.VoidPaymentRequest;t.setPaymentId(n.getId()),t.setVoidReason(f.order.VoidReason.REJECT_PARTIAL_AUTH),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(t)}else console.log(`${n.getResult()}: Payment ${n.getExternalPaymentId()} for $${n.getAmount()/100} is complete.`,t.getResult()===f.remotepay.ResponseCode.SUCCESS),t.getIsSale()||console.log({error:"Response is not a sale!"})}else this.resetDevice()},onAuthResponse:t=>{var e,i;console.log({message:"Payment response received",response:t});const n=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.authResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()){const o=t.getPayment(),s=new f.remotepay.TipAdjustAuthRequest;if(s.setTipAmount(0),s.setOrderId(o.getOrder().getId()),s.setPaymentId(o.getId()),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(s),o&&o.getAmount()<n){const t=new f.remotepay.VoidPaymentRequest;t.setPaymentId(o.getId()),t.setVoidReason(f.order.VoidReason.REJECT_PARTIAL_AUTH),null===(i=this.cloverConnector)||void 0===i||i.voidPayment(t)}else console.log(`${o.getResult()}: Payment ${o.getExternalPaymentId()} for $${o.getAmount()/100} is complete.`,t.getResult()===f.remotepay.ResponseCode.SUCCESS),t.getIsAuth()||console.log({error:"Response is not a auth!"})}else this.resetDevice()},onTipAdjustAuthResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.tipAdjustAuthResponse=t,null==this.paymentResponse&&(this.paymentResponse=Q.build(t)),t.getSuccess()||this.resetDevice()},onVoidPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.voidPaymentResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onRefundPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.refundPaymentResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onCloseoutResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.closeoutResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onRetrievePaymentResponse:t=>{if(console.log({message:"onRetrievePaymentResponse",response:t}),this.pendingSaleRequest&&t.getExternalPaymentId()===this.pendingSaleRequest.getExternalId())if(t.getQueryStatus()===f.remotepay.QueryStatus.FOUND){const e=t.getPayment();console.log(`${e.getResult()}: Payment ${this.pendingSaleRequest.getExternalId()} is complete.`,e.getResult()===f.payments.Result.SUCCESS),this.pendingSaleRequest=null}else t.getQueryStatus()===f.remotepay.QueryStatus.IN_PROGRESS?console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress. If you would like to start a new payment, you may reset the device. However, doing so may void payment ${this.pendingSaleRequest.getExternalId()}. If you would like to reset the device anyway please <a onclick="forceResetDevice()" href="#">click here</a> to confirm.`):t.getQueryStatus()===f.remotepay.QueryStatus.NOT_FOUND&&console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} wasn't taken or was voided.`,!1)},onResetDeviceResponse:t=>{var e;if(console.log(t),this.pendingSaleRequest){const t=new f.remotepay.RetrievePaymentRequest;t.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(t)}},onConfirmPaymentRequest:t=>{var e;console.log({message:"Automatically accepting payment",request:t}),console.log("Automatically accepting payment",!0),null===(e=this.cloverConnector)||void 0===e||e.acceptPayment(t.getPayment())},onVerifySignatureRequest:t=>{var e;console.log({message:"Automatically accepting signature",request:t}),console.log("Automatically accepting signature",!0),null===(e=this.cloverConnector)||void 0===e||e.acceptSignature(t)},onDeviceReady:t=>{var e;if(console.log("The connection to your Clover Device has been established.",!0),this.pendingSaleRequest){const t=new f.remotepay.RetrieveDeviceStatusRequest;t.setSendLastMessage(!0),null===(e=this.cloverConnector)||void 0===e||e.retrieveDeviceStatus(t)}else console.log({message:"Device Ready to process requests!",merchantInfo:t}),this.isReady=!0,this.deviceError=null},onDeviceError:t=>{this.deviceError=t},onDeviceDisconnected:()=>{this.deviceDisconnected=!0},onRetrieveDeviceStatusResponse:t=>{this.retrieveDeviceStatusResponse=t}})}resetDevice(){var t;null===(t=this.cloverConnector)||void 0===t||t.resetDevice()}getDeviceConfigurationForNetwork(){return void 0===this.pairingCode&&(this.pairingCode=t=>{const e=`Please enter pairing code ${t} on the device`;console.log(` > ${e}`)}),void 0===this.onPairingSuccess&&(this.pairingCode=t=>{console.log(` > Got Pairing Auth Token: ${t}`)}),new V(this.cloverConfig.applicationId,this.cloverConfig.endpoint,this.cloverConfig.posName,this.cloverConfig.serialNumber,this.cloverConfig.authToken,this.onPairingCode,this.onPairingSuccess).build()}checkPaymentStatus(){var t,e;if(this.pendingSaleRequest){const i=new f.remotepay.RetrieveDeviceStatusRequest;i.setSendLastMessage(!0),null===(t=this.cloverConnector)||void 0===t||t.retrieveDeviceStatus(i),console.log("Payment is currently pending. Checking payment status ..."),console.log(this.pendingSaleRequest);const n=new f.remotepay.RetrievePaymentRequest;n.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(n)}else console.log("There is currently no pending payment.")}}function z(t,e,i,n){return new(i||(i=Promise))((function(o,s){function r(t){try{l(n.next(t))}catch(t){s(t)}}function a(t){try{l(n.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(r,a)}l((n=n.apply(t,e||[])).next())}))}!function(t){t.V1="1.0.0"}(C||(C={})),function(t){t.GClientId="G-ClientID"}(A||(A={})),function(t){t.IOS="IOS",t.ANDROID="ANDROID",t.CHROME="CHROME",t.SAFARI="SAFARI"}(N||(N={})),function(t){t.ANDROID="Android",t.IOS="iOS",t.WEB="Web",t.WINDOW="Window"}(O||(O={})),Object.create,Object.create;class X extends Error{constructor(...t){super(...t),Object.setPrototypeOf(this,new.target.prototype)}}class Z extends X{}class tt extends X{}class et extends X{}class it extends X{}class nt extends X{constructor({message:t,code:e,statusText:i,body:n,headers:o}){super(t),this.response={code:e,statusText:i,body:n,headers:o}}}class ot extends nt{}class st extends ot{}class rt extends ot{constructor(t){var{retryAfter:e}=t;super(function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]])}return i}(t,["retryAfter"])),this.response.retryAfter=e}}class at extends X{}const lt={API_KEY:"",API_SECRET_KEY:"",G_CLIENTID:"",USER_AGENT:"",API_VERSION:C.V1,initialize:function(t){const e=[];if(t.API_KEY.length||e.push("API_KEY"),t.API_SECRET_KEY.length||e.push("API_SECRET_KEY"),t.API_SECRET_KEY.length||e.push("G_CLIENTID"),e.length)throw new Z(`Cannot initialize GAP Library. Missing values for: ${e.join(", ")}`);this.API_KEY=t.API_KEY,this.API_SECRET_KEY=t.API_SECRET_KEY,this.G_CLIENTID=t.G_CLIENTID,this.API_VERSION=t.API_VERSION},throwIfUninitialized:function(){if(!this.API_KEY||0===this.API_KEY.length)throw new tt("Context has not been properly initialized. Please call the .initialize() method to setup your app context object.")}};var dt,ut,pt=i(9669),_t=i.n(pt);!function(t){t.Get="GET",t.Post="POST",t.Put="PUT",t.Patch="PATCH",t.Delete="DELETE",t.Head="HEAD",t.Options="OPTIONS",t.Connect="CONNECT"}(dt||(dt={})),function(t){t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.RequestEntityTooLarge=413]="RequestEntityTooLarge",t[t.RequestUriTooLong=414]="RequestUriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RequestedRangeNotSatisfiable=416]="RequestedRangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported"}(ut||(ut={}));class ct{constructor(t,e,i,n=C.V1){this.domain="",this.RETRY_WAIT_TIME=2e3,this.MAX_RETRY=3,this.API_VERSION=n,this.domain=t,this.axios=_t().create({headers:{"G-ClientID":e,Authorization:`Bearer ${i}`}})}get(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Get},t))}))}post(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Post},t))}))}put(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Put},t))}))}delete(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Delete},t))}))}request(t){return z(this,void 0,void 0,(function*(){if(lt.API_VERSION!==this.API_VERSION)throw new at(`Current Context.API_VERSION '${lt.API_VERSION}' does not match resource version ${this.API_VERSION}`);const e=t.tries||this.MAX_RETRY;if(e<=0)throw new et(`Number of tries must be >= 0, got ${e}`);let i;i=t.path.startsWith("http")||!this.domain?t.path:`${this.domain}${this.getRequestPath(t.path)}`;const n={url:i,params:t.query,method:t.method.toString(),data:t.data,headers:t.headers};function o(t){return z(this,void 0,void 0,(function*(){return new Promise((e=>setTimeout(e,t)))}))}let s=0;for(;s<e;)try{return yield this.doRequest(n)}catch(t){if(s++,t instanceof et){if(s<e){let e=this.RETRY_WAIT_TIME;t instanceof rt&&t.response.retryAfter&&(e=1e3*t.response.retryAfter),yield o(e);continue}if(e>1)throw new it(`Exceeded maximum retry count of ${e}. Last message: ${t.message}`)}throw t}throw new X("Unexpected flow, reached maximum HTTP tries but did not throw an error")}))}getRequestPath(t){return`/${t.replace(/^\//,"")}`}doRequest(t){var e,i,n;return z(this,void 0,void 0,(function*(){try{const o=yield this.axios(t);if("OK"!==(null===(e=o.data)||void 0===e?void 0:e.status)||"OK"!==(null===(n=null===(i=o.data)||void 0===i?void 0:i.result)||void 0===n?void 0:n.status)||!(null==o?void 0:o.status.toString().startsWith("2"))){const t=JSON.stringify(o.data.message||o.data.result.message,null,2),e=o.headers,i=o.status,n=o.statusText;switch(!0){case o.status===ut.TooManyRequests:{const s=o.headers["Retry-After"];throw new rt({message:`GAP is throttling requests ${t}`,code:i,statusText:n,body:o.data,headers:e,retryAfter:s?parseFloat(s):void 0})}case o.status>=ut.InternalServerError:throw new st({message:`GAP internal error ${t}`,code:i,statusText:n,body:o.data,headers:e});default:throw new nt({message:`Received an error response (${o.status}${o.statusText&&""+o.statusText}) from GAP ${t}`,code:i,statusText:n,body:o.data,headers:e})}}return o.data}catch(t){throw t instanceof X?t:new et(`Failed to make GAP HTTP request: ${t.message}`)}}))}}class mt{static setClient(t,e,i,n){this.client=new ct(t,e,i,n)}}const ft="v1/pos/setting/form/change-answer-status";class ht extends mt{static getBatchHistory(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/history/site/batch-history",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{date:null!==(e=null==t?void 0:t.date)&&void 0!==e?e:null,display_date:null!==(i=null==t?void 0:t.display_date)&&void 0!==i?i:null,display_date_time:null!==(n=null==t?void 0:t.display_date_time)&&void 0!==n?n:null,card_amount:null!==(o=null==t?void 0:t.card_amount)&&void 0!==o?o:null,external_cc_amount:null!==(s=null==t?void 0:t.external_cc_amount)&&void 0!==s?s:null,cash_amount:null!==(r=null==t?void 0:t.cash_amount)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,discount:null!==(_=null==t?void 0:t.discount)&&void 0!==_?_:null,tip:null!==(c=null==t?void 0:t.tip)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,income:null!==(f=null==t?void 0:t.income)&&void 0!==f?f:null,change:null!==(h=null==t?void 0:t.change)&&void 0!==h?h:null,cash_discount:null!==(y=null==t?void 0:t.cash_discount)&&void 0!==y?y:null,service_fee:null!==(v=null==t?void 0:t.service_fee)&&void 0!==v?v:null,deposit:null!==(g=null==t?void 0:t.deposit)&&void 0!==g?g:null,total:null!==(T=null==t?void 0:t.total)&&void 0!==T?T:null}}(t)))}))}static getBatchDetail(t){return z(this,void 0,void 0,(function*(){return function(t){return{batches:(null==t?void 0:t.batches)?null==t?void 0:t.batches.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,card_amount:null!==(r=null==t?void 0:t.card_amount)&&void 0!==r?r:null,cash_amount:null!==(a=null==t?void 0:t.cash_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,giftcard_amount:null!==(d=null==t?void 0:t.giftcard_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,discount:null!==(c=null==t?void 0:t.discount)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,created_at:null!==(f=null==t?void 0:t.created_at)&&void 0!==f?f:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,date:null!==(v=null==t?void 0:t.date)&&void 0!==v?v:null,total_income:null!==(g=null==t?void 0:t.total_income)&&void 0!==g?g:null,change:null!==(T=null==t?void 0:t.change)&&void 0!==T?T:null,ach_amount:null!==(S=null==t?void 0:t.ach_amount)&&void 0!==S?S:null,cash_discount:null!==(E=null==t?void 0:t.cash_discount)&&void 0!==E?E:null,service_fee:null!==(I=null==t?void 0:t.service_fee)&&void 0!==I?I:null,external_credit_card:null!==(R=null==t?void 0:t.external_credit_card)&&void 0!==R?R:null,deposit:null!==(C=null==t?void 0:t.deposit)&&void 0!==C?C:null,external_cc_amount:null!==(A=null==t?void 0:t.external_cc_amount)&&void 0!==A?A:null}}(t))):null,summary:function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{date:null!==(e=null==t?void 0:t.date)&&void 0!==e?e:null,display_date:null!==(i=null==t?void 0:t.display_date)&&void 0!==i?i:null,display_date_time:null!==(n=null==t?void 0:t.display_date_time)&&void 0!==n?n:null,card_amount:null!==(o=null==t?void 0:t.card_amount)&&void 0!==o?o:null,external_cc_amount:null!==(s=null==t?void 0:t.external_cc_amount)&&void 0!==s?s:null,cash_amount:null!==(r=null==t?void 0:t.cash_amount)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,discount:null!==(_=null==t?void 0:t.discount)&&void 0!==_?_:null,tip:null!==(c=null==t?void 0:t.tip)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,income:null!==(f=null==t?void 0:t.income)&&void 0!==f?f:null,change:null!==(h=null==t?void 0:t.change)&&void 0!==h?h:null,cash_discount:null!==(y=null==t?void 0:t.cash_discount)&&void 0!==y?y:null,service_fee:null!==(v=null==t?void 0:t.service_fee)&&void 0!==v?v:null,deposit:null!==(g=null==t?void 0:t.deposit)&&void 0!==g?g:null,total:null!==(T=null==t?void 0:t.total)&&void 0!==T?T:null}}(null==t?void 0:t.summary)}}((yield this.client.get({path:"/v1/pos/history/site/batch-detail",query:t})).result.data)}))}}function yt(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,phone:null!==(n=null==t?void 0:t.phone)&&void 0!==n?n:null,address:null!==(o=null==t?void 0:t.address)&&void 0!==o?o:null,city:null!==(s=null==t?void 0:t.city)&&void 0!==s?s:null,postal_code:null!==(r=null==t?void 0:t.postal_code)&&void 0!==r?r:null,state_code:null!==(a=null==t?void 0:t.state_code)&&void 0!==a?a:null,short_name:null!==(l=null==t?void 0:t.short_name)&&void 0!==l?l:null,logo_image:null!==(d=null==t?void 0:t.logo_image)&&void 0!==d?d:null,cover_image:null!==(u=null==t?void 0:t.cover_image)&&void 0!==u?u:null,business_code:null!==(p=null==t?void 0:t.business_code)&&void 0!==p?p:null,country_code:null!==(_=null==t?void 0:t.country_code)&&void 0!==_?_:null}}ht.API_VERSION=C.V1;class vt extends mt{static getBusinessInfo(t){return z(this,void 0,void 0,(function*(){return yt((yield this.client.get({path:"/v1/pos/business/site/get-info",query:t})).result.data)}))}static postBusinessUpdateInfo(t){return z(this,void 0,void 0,(function*(){return yt((yield this.client.post({path:"/v1/pos/business/form/update",data:t})).result.data)}))}}vt.API_VERSION=C.V1;class gt extends mt{static sendSms(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/call/form/send-sms",data:t}),null}))}}gt.API_VERSION=C.V1;class Tt extends mt{static getCategoryListItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/category/site/list-item",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_code:null!==(l=null==t?void 0:t.color_code)&&void 0!==l?l:null,color_code901:null!==(d=null==t?void 0:t.color_code901)&&void 0!==d?d:null,color_code902:null!==(u=null==t?void 0:t.color_code902)&&void 0!==u?u:null,color_code903:null!==(p=null==t?void 0:t.color_code903)&&void 0!==p?p:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,color_code901:null!==(s=null==t?void 0:t.color_code901)&&void 0!==s?s:null,color_code902:null!==(r=null==t?void 0:t.color_code902)&&void 0!==r?r:null,color_code903:null!==(a=null==t?void 0:t.color_code903)&&void 0!==a?a:null,duration:null!==(l=null==t?void 0:t.duration)&&void 0!==l?l:null}}(t))):null}}(t)))}))}}function St(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,data_after_charge:null!==(d=null==t?void 0:t.data_after_charge)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(p=null==t?void 0:t.giftcard_code)&&void 0!==p?p:null,is_updated:null!==(_=null==t?void 0:t.is_updated)&&void 0!==_?_:null}}function Et(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function It(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function Rt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:St(null==t?void 0:t.tip),tax:null!==(D=null==t?void 0:t.tax)&&void 0!==D?D:null,is_waiting:null!==(b=null==t?void 0:t.is_waiting)&&void 0!==b?b:null,is_recheck:null!==(x=null==t?void 0:t.is_recheck)&&void 0!==x?x:null,gift_card_price:null!==(L=null==t?void 0:t.gift_card_price)&&void 0!==L?L:null,pax_standalone_active:null!==(k=null==t?void 0:t.pax_standalone_active)&&void 0!==k?k:null,ach_payment_active:null!==(U=null==t?void 0:t.ach_payment_active)&&void 0!==U?U:null,ach_payment_data:null!==(w=null==t?void 0:t.ach_payment_data)&&void 0!==w?w:null,total_cash_discount:null!==(V=null==t?void 0:t.total_cash_discount)&&void 0!==V?V:null,is_tip_on_device:null!==(F=null==t?void 0:t.is_tip_on_device)&&void 0!==F?F:null,tip_by_credit_card:null!==(B=null==t?void 0:t.tip_by_credit_card)&&void 0!==B?B:null,service_fee:null!==(q=null==t?void 0:t.service_fee)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,qr_code:null!==(H=null==t?void 0:t.qr_code)&&void 0!==H?H:null,created_date:null!==(Y=null==t?void 0:t.created_date)&&void 0!==Y?Y:null,created_time:null!==(j=null==t?void 0:t.created_time)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:null!==(J=null==t?void 0:t.invoice)&&void 0!==J?J:null,customer_point:null!==(Q=null==t?void 0:t.customer_point)&&void 0!==Q?Q:null,order_discount:null!==($=null==t?void 0:t.order_discount)&&void 0!==$?$:null,checkin_services:null!==(z=null==t?void 0:t.checkin_services)&&void 0!==z?z:null,checkin_staffs:null!==(X=null==t?void 0:t.checkin_staffs)&&void 0!==X?X:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e,i;return{staff_name:null!==(e=null==t?void 0:t.staff_name)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,supply_share:null!==(o=null==t?void 0:t.supply_share)&&void 0!==o?o:null,base_service_price:null!==(s=null==t?void 0:t.base_service_price)&&void 0!==s?s:null,card_charge_value:null!==(r=null==t?void 0:t.card_charge_value)&&void 0!==r?r:null,discount_charge_value:null!==(a=null==t?void 0:t.discount_charge_value)&&void 0!==a?a:null,tip_paid:null!==(l=null==t?void 0:t.tip_paid)&&void 0!==l?l:null,tip_on_credit_card_share:null!==(d=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==d?d:null,commission:null!==(u=null==t?void 0:t.commission)&&void 0!==u?u:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null,additional_data:null!==(_=null==t?void 0:t.additional_data)&&void 0!==_?_:null,note:null!==(c=null==t?void 0:t.note)&&void 0!==c?c:null,id:null!==(m=null==t?void 0:t.id)&&void 0!==m?m:null,item_id:null!==(f=null==t?void 0:t.item_id)&&void 0!==f?f:null,type:null!==(h=null==t?void 0:t.type)&&void 0!==h?h:null}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}(t))):null,payment_payment_id:null!==(Z=null==t?void 0:t.payment_payment_id)&&void 0!==Z?Z:null,payment_order_id:null!==(tt=null==t?void 0:t.payment_order_id)&&void 0!==tt?tt:null,order_batch:Et(null==t?void 0:t.order_batch),visit_count:null!==(et=null==t?void 0:t.visit_count)&&void 0!==et?et:null,refund_amount:null!==(it=null==t?void 0:t.refund_amount)&&void 0!==it?it:null,last_four:null!==(nt=null==t?void 0:t.last_four)&&void 0!==nt?nt:null,card_type:null!==(ot=null==t?void 0:t.card_type)&&void 0!==ot?ot:null,entry_type:null!==(st=null==t?void 0:t.entry_type)&&void 0!==st?st:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>It(t))):null,amount_info:null!==(rt=null==t?void 0:t.amount_info)&&void 0!==rt?rt:null,customer_type:null!==(at=null==t?void 0:t.customer_type)&&void 0!==at?at:null,order_payment_method:(null==t?void 0:t.order_payment_method)?null==t?void 0:t.order_payment_method.map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null}}(t))):null,deposit:null!==(lt=null==t?void 0:t.deposit)&&void 0!==lt?lt:null,product_subtotal:null!==(dt=null==t?void 0:t.product_subtotal)&&void 0!==dt?dt:null,service_subtotal:null!==(ut=null==t?void 0:t.service_subtotal)&&void 0!==ut?ut:null,staff_code:null!==(pt=null==t?void 0:t.staff_code)&&void 0!==pt?pt:null,appointment_id:null!==(_t=null==t?void 0:t.appointment_id)&&void 0!==_t?_t:null,checkin_number:null!==(ct=null==t?void 0:t.checkin_number)&&void 0!==ct?ct:null,in_service:null!==(mt=null==t?void 0:t.in_service)&&void 0!==mt?mt:null}}Tt.API_VERSION=C.V1;class Ct extends mt{static postCheckInFormSubmit(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkin/form/submit",data:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J;return{total_before_discount:null!==(e=null==t?void 0:t.total_before_discount)&&void 0!==e?e:null,total_after_discount:null!==(i=null==t?void 0:t.total_after_discount)&&void 0!==i?i:null,tax:null!==(n=null==t?void 0:t.tax)&&void 0!==n?n:null,service_fee:null!==(o=null==t?void 0:t.service_fee)&&void 0!==o?o:null,total_cash_discount:null!==(s=null==t?void 0:t.total_cash_discount)&&void 0!==s?s:null,qr_code:null!==(r=null==t?void 0:t.qr_code)&&void 0!==r?r:null,customer_name:null!==(a=null==t?void 0:t.customer_name)&&void 0!==a?a:null,customer_id:null!==(l=null==t?void 0:t.customer_id)&&void 0!==l?l:null,customer_phone:null!==(d=null==t?void 0:t.customer_phone)&&void 0!==d?d:null,customer_email:null!==(u=null==t?void 0:t.customer_email)&&void 0!==u?u:null,customer_address:null!==(p=null==t?void 0:t.customer_address)&&void 0!==p?p:null,order_code:null!==(_=null==t?void 0:t.order_code)&&void 0!==_?_:null,order_status:null!==(c=null==t?void 0:t.order_status)&&void 0!==c?c:null,type:null!==(m=null==t?void 0:t.type)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,created_at:null!==(h=null==t?void 0:t.created_at)&&void 0!==h?h:null,updated_at:null!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,id:null!==(v=null==t?void 0:t.id)&&void 0!==v?v:null,created_date:null!==(g=null==t?void 0:t.created_date)&&void 0!==g?g:null,created_time:null!==(T=null==t?void 0:t.created_time)&&void 0!==T?T:null,pos_key:null!==(S=null==t?void 0:t.pos_key)&&void 0!==S?S:null,pos_status:null!==(E=null==t?void 0:t.pos_status)&&void 0!==E?E:null,invoice:null!==(I=null==t?void 0:t.invoice)&&void 0!==I?I:null,customer_point:null!==(R=null==t?void 0:t.customer_point)&&void 0!==R?R:null,order_discount:null!==(C=null==t?void 0:t.order_discount)&&void 0!==C?C:null,checkin_services:null!==(A=null==t?void 0:t.checkin_services)&&void 0!==A?A:null,checkin_staffs:null!==(N=null==t?void 0:t.checkin_staffs)&&void 0!==N?N:null,services:null!==(O=null==t?void 0:t.services)&&void 0!==O?O:null,staffs:null!==(P=null==t?void 0:t.staffs)&&void 0!==P?P:null,payment_payment_id:null!==(M=null==t?void 0:t.payment_payment_id)&&void 0!==M?M:null,payment_order_id:null!==(D=null==t?void 0:t.payment_order_id)&&void 0!==D?D:null,tip:null!==(b=null==t?void 0:t.tip)&&void 0!==b?b:null,order_batch:Et(null==t?void 0:t.order_batch),visit_count:null!==(x=null==t?void 0:t.visit_count)&&void 0!==x?x:null,refund_amount:null!==(L=null==t?void 0:t.refund_amount)&&void 0!==L?L:null,last_four:null!==(k=null==t?void 0:t.last_four)&&void 0!==k?k:null,gift_card_price:null!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,pax_standalone_active:null!==(w=null==t?void 0:t.pax_standalone_active)&&void 0!==w?w:null,card_type:null!==(V=null==t?void 0:t.card_type)&&void 0!==V?V:null,entry_type:null!==(F=null==t?void 0:t.entry_type)&&void 0!==F?F:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>It(t))):null,amount_info:null!==(B=null==t?void 0:t.amount_info)&&void 0!==B?B:null,tip_by_credit_card:null!==(q=null==t?void 0:t.tip_by_credit_card)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,customer_type:null!==(H=null==t?void 0:t.customer_type)&&void 0!==H?H:null,order_payment_method:null!==(Y=null==t?void 0:t.order_payment_method)&&void 0!==Y?Y:null,deposit:null!==(j=null==t?void 0:t.deposit)&&void 0!==j?j:null,product_subtotal:null!==(W=null==t?void 0:t.product_subtotal)&&void 0!==W?W:null,service_subtotal:null!==(K=null==t?void 0:t.service_subtotal)&&void 0!==K?K:null,staff_code:null!==(J=null==t?void 0:t.staff_code)&&void 0!==J?J:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInReport(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkin/site/report",query:t});return function(t){var e,i,n,o,s,r;return{all:null!==(e=null==t?void 0:t.all)&&void 0!==e?e:null,pending:null!==(i=null==t?void 0:t.pending)&&void 0!==i?i:null,processing:null!==(n=null==t?void 0:t.processing)&&void 0!==n?n:null,cancelled:null!==(o=null==t?void 0:t.cancelled)&&void 0!==o?o:null,done:null!==(s=null==t?void 0:t.done)&&void 0!==s?s:null,settlement_fail:null!==(r=null==t?void 0:t.settlement_fail)&&void 0!==r?r:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getLastCheckIn(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkin/site/check-update",query:t});return function(t){var e,i;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,updated_at:null!==(i=null==t?void 0:t.updated_at)&&void 0!==i?i:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/checkin/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>Rt(t)))}))}static getCheckInInfo(t){return z(this,void 0,void 0,(function*(){return Rt((yield this.client.get({path:"/v1/pos/checkin/site/info",query:t})).result.data)}))}static searchCheckIn(t){return z(this,void 0,void 0,(function*(){return function(t){return{customer:(null==t?void 0:t.customer)?null==t?void 0:t.customer.map((t=>function(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,full_name:null!==(i=null==t?void 0:t.full_name)&&void 0!==i?i:null,phone:null!==(n=null==t?void 0:t.phone)&&void 0!==n?n:null,visit_count:null!==(o=null==t?void 0:t.visit_count)&&void 0!==o?o:null,last_visited:null!==(s=null==t?void 0:t.last_visited)&&void 0!==s?s:null,customer_point:null!==(r=null==t?void 0:t.customer_point)&&void 0!==r?r:null,customer_type:null!==(a=null==t?void 0:t.customer_type)&&void 0!==a?a:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_name:null!==(i=null==t?void 0:t.customer_name)&&void 0!==i?i:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n:null,employee_name:null!==(o=null==t?void 0:t.employee_name)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,order_status:null!==(r=null==t?void 0:t.order_status)&&void 0!==r?r:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null}}(t))):null}}(t))):null}}((yield this.client.get({path:"v1/pos/checkin/site/global-search",query:t})).result.data)}))}}function At(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,point:null!==(i=null==t?void 0:t.point)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,is_active:null!==(r=null==t?void 0:t.is_active)&&void 0!==r?r:null,logic_type:null!==(a=null==t?void 0:t.logic_type)&&void 0!==a?a:null,logic_value:null!==(l=null==t?void 0:t.logic_value)&&void 0!==l?l:null}}function Nt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function Ot(t){var e,i,n,o,s,r,a,l,d,u,p;return{data:(null==t?void 0:t.data)?null==t?void 0:t.data.map((t=>function(t){var e,i,n,o,s;return{staff_id:null!==(e=null==t?void 0:t.staff_id)&&void 0!==e?e:null,staff_name:null!==(i=null==t?void 0:t.staff_name)&&void 0!==i?i:null,value_type:null!==(n=null==t?void 0:t.value_type)&&void 0!==n?n:null,value:null!==(o=null==t?void 0:t.value)&&void 0!==o?o:null,total:null!==(s=null==t?void 0:t.total)&&void 0!==s?s:null}}(t))):null,id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data_after_charge:null!==(l=null==t?void 0:t.data_after_charge)&&void 0!==l?l:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d:null,giftcard_code:null!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u:null,is_updated:null!==(p=null==t?void 0:t.is_updated)&&void 0!==p?p:null}}function Pt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,checkout_id:null!==(i=null==t?void 0:t.checkout_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,promotion_code:null!==(r=null==t?void 0:t.promotion_code)&&void 0!==r?r:null,redeem_id:null!==(a=null==t?void 0:t.redeem_id)&&void 0!==a?a:null,total_discount:null!==(l=null==t?void 0:t.total_discount)&&void 0!==l?l:null,has_tax:null!==(d=null==t?void 0:t.has_tax)&&void 0!==d?d:null,tax_price:null!==(u=null==t?void 0:t.tax_price)&&void 0!==u?u:null,total_before_discount:null!==(p=null==t?void 0:t.total_before_discount)&&void 0!==p?p:null,total_after_discount:null!==(_=null==t?void 0:t.total_after_discount)&&void 0!==_?_:null,total_after_tax:null!==(c=null==t?void 0:t.total_after_tax)&&void 0!==c?c:null,payment_method:null!==(m=null==t?void 0:t.payment_method)&&void 0!==m?m:null,employee_id:null!==(f=null==t?void 0:t.employee_id)&&void 0!==f?f:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,created_at:null!==(v=null==t?void 0:t.created_at)&&void 0!==v?v:null,updated_at:null!==(g=null==t?void 0:t.updated_at)&&void 0!==g?g:null,type:null!==(T=null==t?void 0:t.type)&&void 0!==T?T:null,invoice_details:(null==t?void 0:t.invoice_details)?null==t?void 0:t.invoice_details.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,invoice_id:null!==(i=null==t?void 0:t.invoice_id)&&void 0!==i?i:null,product_type:null!==(n=null==t?void 0:t.product_type)&&void 0!==n?n:null,product_id:null!==(o=null==t?void 0:t.product_id)&&void 0!==o?o:null,product_name:null!==(s=null==t?void 0:t.product_name)&&void 0!==s?s:null,description:null!==(r=null==t?void 0:t.description)&&void 0!==r?r:null,duration:null!==(a=null==t?void 0:t.duration)&&void 0!==a?a:null,product_price:null!==(l=null==t?void 0:t.product_price)&&void 0!==l?l:null,quantity:null!==(d=null==t?void 0:t.quantity)&&void 0!==d?d:null,promotion_code:null!==(u=null==t?void 0:t.promotion_code)&&void 0!==u?u:null,discount_price:null!==(p=null==t?void 0:t.discount_price)&&void 0!==p?p:null,has_tax:null!==(_=null==t?void 0:t.has_tax)&&void 0!==_?_:null,tax_price:null!==(c=null==t?void 0:t.tax_price)&&void 0!==c?c:null,total_after_tax:null!==(m=null==t?void 0:t.total_after_tax)&&void 0!==m?m:null,total_before_discount:null!==(f=null==t?void 0:t.total_before_discount)&&void 0!==f?f:null,total_after_discount:null!==(h=null==t?void 0:t.total_after_discount)&&void 0!==h?h:null,detail:null!==(y=null==t?void 0:t.detail)&&void 0!==y?y:null,payment_method:null!==(v=null==t?void 0:t.payment_method)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,status:null!==(S=null==t?void 0:t.status)&&void 0!==S?S:null,created_at:null!==(E=null==t?void 0:t.created_at)&&void 0!==E?E:null,updated_at:null!==(I=null==t?void 0:t.updated_at)&&void 0!==I?I:null}}(t))):null}}function Mt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,first_name:null!==(i=null==t?void 0:t.first_name)&&void 0!==i?i:null,last_name:null!==(n=null==t?void 0:t.last_name)&&void 0!==n?n:null,full_name:null!==(o=null==t?void 0:t.full_name)&&void 0!==o?o:null,phone:null!==(s=null==t?void 0:t.phone)&&void 0!==s?s:null,email:null!==(r=null==t?void 0:t.email)&&void 0!==r?r:null,address:null!==(a=null==t?void 0:t.address)&&void 0!==a?a:null,city:null!==(l=null==t?void 0:t.city)&&void 0!==l?l:null,state:null!==(d=null==t?void 0:t.state)&&void 0!==d?d:null,country:null!==(u=null==t?void 0:t.country)&&void 0!==u?u:null,gender:null!==(p=null==t?void 0:t.gender)&&void 0!==p?p:null,birthday:null!==(_=null==t?void 0:t.birthday)&&void 0!==_?_:null,create_at:null!==(c=null==t?void 0:t.create_at)&&void 0!==c?c:null,update_at:null!==(m=null==t?void 0:t.update_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,group_id:null!==(h=null==t?void 0:t.group_id)&&void 0!==h?h:null,note:null!==(y=null==t?void 0:t.note)&&void 0!==y?y:null,parent_id:null!==(v=null==t?void 0:t.parent_id)&&void 0!==v?v:null,rating:null!==(g=null==t?void 0:t.rating)&&void 0!==g?g:null,is_yelp:null!==(T=null==t?void 0:t.is_yelp)&&void 0!==T?T:null,reachable_email:null!==(S=null==t?void 0:t.reachable_email)&&void 0!==S?S:null,reachable_push:null!==(E=null==t?void 0:t.reachable_push)&&void 0!==E?E:null,reachable_sms:null!==(I=null==t?void 0:t.reachable_sms)&&void 0!==I?I:null,visit_count:null!==(R=null==t?void 0:t.visit_count)&&void 0!==R?R:null,last_visited:null!==(C=null==t?void 0:t.last_visited)&&void 0!==C?C:null,image_url:null!==(A=null==t?void 0:t.image_url)&&void 0!==A?A:null,address2:null!==(N=null==t?void 0:t.address2)&&void 0!==N?N:null,postal_code:null!==(O=null==t?void 0:t.postal_code)&&void 0!==O?O:null,is_send_sms:null!==(P=null==t?void 0:t.is_send_sms)&&void 0!==P?P:null,is_import:null!==(M=null==t?void 0:t.is_import)&&void 0!==M?M:null,is_checked_in:null!==(D=null==t?void 0:t.is_checked_in)&&void 0!==D?D:null,current_point:null!==(b=null==t?void 0:t.current_point)&&void 0!==b?b:null,lifetime_point:null!==(x=null==t?void 0:t.lifetime_point)&&void 0!==x?x:null,type:null!==(L=null==t?void 0:t.type)&&void 0!==L?L:null,last_review:null!==(k=null==t?void 0:t.last_review)&&void 0!==k?k:null,review_type:null!==(U=null==t?void 0:t.review_type)&&void 0!==U?U:null}}function Dt(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function bt(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_code:null!==(i=null==t?void 0:t.order_code)&&void 0!==i?i:null,created_date:null!==(n=null==t?void 0:t.created_date)&&void 0!==n?n:null,created_time:null!==(o=null==t?void 0:t.created_time)&&void 0!==o?o:null,total_after_discount:null!==(s=null==t?void 0:t.total_after_discount)&&void 0!==s?s:null,qr_code:null!==(r=null==t?void 0:t.qr_code)&&void 0!==r?r:null}}function xt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{appointment_id:null!==(e=null==t?void 0:t.appointment_id)&&void 0!==e?e:null,checkin_number:null!==(i=null==t?void 0:t.checkin_number)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,customer_id:null!==(s=null==t?void 0:t.customer_id)&&void 0!==s?s:null,customer_name:null!==(r=null==t?void 0:t.customer_name)&&void 0!==r?r:null,customer_phone:null!==(a=null==t?void 0:t.customer_phone)&&void 0!==a?a:null,customer_email:null!==(l=null==t?void 0:t.customer_email)&&void 0!==l?l:null,customer_address:null!==(d=null==t?void 0:t.customer_address)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,currency:null!==(p=null==t?void 0:t.currency)&&void 0!==p?p:null,start_time:null!==(_=null==t?void 0:t.start_time)&&void 0!==_?_:null,expected_end_time:null!==(c=null==t?void 0:t.expected_end_time)&&void 0!==c?c:null,end_time:null!==(m=null==t?void 0:t.end_time)&&void 0!==m?m:null,picked_up_time:null!==(f=null==t?void 0:t.picked_up_time)&&void 0!==f?f:null,promotion_code:null!==(h=null==t?void 0:t.promotion_code)&&void 0!==h?h:null,total_before_discount:null!==(y=null==t?void 0:t.total_before_discount)&&void 0!==y?y:null,total_after_discount:null!==(v=null==t?void 0:t.total_after_discount)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,type:null!==(S=null==t?void 0:t.type)&&void 0!==S?S:null,note:null!==(E=null==t?void 0:t.note)&&void 0!==E?E:null,owner_note:null!==(I=null==t?void 0:t.owner_note)&&void 0!==I?I:null,order_status:null!==(R=null==t?void 0:t.order_status)&&void 0!==R?R:null,status:null!==(C=null==t?void 0:t.status)&&void 0!==C?C:null,created_at:null!==(A=null==t?void 0:t.created_at)&&void 0!==A?A:null,updated_at:null!==(N=null==t?void 0:t.updated_at)&&void 0!==N?N:null,cancel_reason:null!==(O=null==t?void 0:t.cancel_reason)&&void 0!==O?O:null,delivered_time:null!==(P=null==t?void 0:t.delivered_time)&&void 0!==P?P:null,completed_time:null!==(M=null==t?void 0:t.completed_time)&&void 0!==M?M:null,order_code:null!==(D=null==t?void 0:t.order_code)&&void 0!==D?D:null,checkin_id:null!==(b=null==t?void 0:t.checkin_id)&&void 0!==b?b:null,total_change:null!==(x=null==t?void 0:t.total_change)&&void 0!==x?x:null,tip:Ot(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(k=null==t?void 0:t.is_waiting)&&void 0!==k?k:null,is_recheck:null!==(U=null==t?void 0:t.is_recheck)&&void 0!==U?U:null,gift_card_price:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,pax_standalone_active:null!==(V=null==t?void 0:t.pax_standalone_active)&&void 0!==V?V:null,ach_payment_active:null!==(F=null==t?void 0:t.ach_payment_active)&&void 0!==F?F:null,ach_payment_data:null!==(B=null==t?void 0:t.ach_payment_data)&&void 0!==B?B:null,total_cash_discount:null!==(q=null==t?void 0:t.total_cash_discount)&&void 0!==q?q:null,is_tip_on_device:null!==(G=null==t?void 0:t.is_tip_on_device)&&void 0!==G?G:null,tip_by_credit_card:null!==(H=null==t?void 0:t.tip_by_credit_card)&&void 0!==H?H:null,service_fee:null!==(Y=null==t?void 0:t.service_fee)&&void 0!==Y?Y:null,external_credit_card:null!==(j=null==t?void 0:t.external_credit_card)&&void 0!==j?j:null,qr_code:null!==(W=null==t?void 0:t.qr_code)&&void 0!==W?W:null,pos_key:null!==(K=null==t?void 0:t.pos_key)&&void 0!==K?K:null,pos_status:null!==(J=null==t?void 0:t.pos_status)&&void 0!==J?J:null,invoice:Pt(null==t?void 0:t.invoice),visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:Mt(null==t?void 0:t.customer),list_promotion:null!==(X=null==t?void 0:t.list_promotion)&&void 0!==X?X:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>At(t))):null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,discount_type:null!==(s=null==t?void 0:t.discount_type)&&void 0!==s?s:null,discount_value:null!==(r=null==t?void 0:t.discount_value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,total_value:null!==(u=null==t?void 0:t.total_value)&&void 0!==u?u:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}(t))):null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,item_variant:null!==(i=null==t?void 0:t.item_ariant)&&void 0!==i?i:null,item_modifier:null!==(n=null==t?void 0:t.item_modifier)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,order_id:null!==(s=null==t?void 0:t.order_id)&&void 0!==s?s:null,item_id:null!==(r=null==t?void 0:t.item_id)&&void 0!==r?r:null,quantity:null!==(a=null==t?void 0:t.quantity)&&void 0!==a?a:null,item_name:null!==(l=null==t?void 0:t.item_name)&&void 0!==l?l:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d:null,note:null!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(p=null==t?void 0:t.owner_note)&&void 0!==p?p:null,status:null!==(_=null==t?void 0:t.status)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,cancel_reason:null!==(f=null==t?void 0:t.cancel_reason)&&void 0!==f?f:null,item_type:null!==(h=null==t?void 0:t.item_type)&&void 0!==h?h:null,staff_id:null!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(v=null==t?void 0:t.staff_name)&&void 0!==v?v:null,combo_id:null!==(g=null==t?void 0:t.combo_id)&&void 0!==g?g:null,sub_total:null!==(T=null==t?void 0:t.sub_total)&&void 0!==T?T:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,quantity:null!==(r=null==t?void 0:t.quantity)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,staff_id:null!==(l=null==t?void 0:t.staff_id)&&void 0!==l?l:null,combo_name:null!==(d=null==t?void 0:t.combo_name)&&void 0!==d?d:null,combo_id:null!==(u=null==t?void 0:t.combo_id)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,gift_card_code:null!==(_=null==t?void 0:t.gift_card_code)&&void 0!==_?_:null}}(t))):null}}(t))):null,created_date:null!==(Z=null==t?void 0:t.created_date)&&void 0!==Z?Z:null,created_time:null!==(tt=null==t?void 0:t.created_time)&&void 0!==tt?tt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null}}(t))):null,refund_amount:null!==(et=null==t?void 0:t.refund_amount)&&void 0!==et?et:null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(nt=null==t?void 0:t.payment_order_id)&&void 0!==nt?nt:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e;return{staff_name:null!==(e=null==t?void 0:t.staff_name)&&void 0!==e?e:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,note:null!==(n=null==t?void 0:t.note)&&void 0!==n?n:null,price:null!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(s=null==t?void 0:t.supply_share)&&void 0!==s?s:null,base_service_price:null!==(r=null==t?void 0:t.base_service_price)&&void 0!==r?r:null,card_charge_value:null!==(a=null==t?void 0:t.card_charge_value)&&void 0!==a?a:null,discount_charge_value:null!==(l=null==t?void 0:t.discount_charge_value)&&void 0!==l?l:null,tip_paid:null!==(d=null==t?void 0:t.tip_paid)&&void 0!==d?d:null,tip_on_credit_card_share:null!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(p=null==t?void 0:t.commission)&&void 0!==p?p:null,cash_discount:null!==(_=null==t?void 0:t.cash_discount)&&void 0!==_?_:null,additional_data:null!==(c=null==t?void 0:t.additional_data)&&void 0!==c?c:null}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}(t))):null,order_batch:Nt(null==t?void 0:t.order_batch),last_four:null!==(ot=null==t?void 0:t.last_four)&&void 0!==ot?ot:null,customer_point:null!==(st=null==t?void 0:t.customer_point)&&void 0!==st?st:null,card_type:null!==(rt=null==t?void 0:t.card_type)&&void 0!==rt?rt:null,entry_type:null!==(at=null==t?void 0:t.entry_type)&&void 0!==at?at:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>Dt(t))):null,amount_info:null!==(lt=null==t?void 0:t.amount_info)&&void 0!==lt?lt:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt:null,tax_product:null!==(ut=null==t?void 0:t.tax_product)&&void 0!==ut?ut:null,tax_service:null!==(pt=null==t?void 0:t.tax_service)&&void 0!==pt?pt:null,deposit:null!==(_t=null==t?void 0:t.deposit)&&void 0!==_t?_t:null,product_subtotal:null!==(ct=null==t?void 0:t.product_subtotal)&&void 0!==ct?ct:null,service_subtotal:null!==(mt=null==t?void 0:t.service_subtotal)&&void 0!==mt?mt:null}}function Lt(t){var e,i,n,o;return{totalCount:null!==(e=null==t?void 0:t.totalCount)&&void 0!==e?e:null,pageCount:null!==(i=null==t?void 0:t.pageCount)&&void 0!==i?i:null,currentPage:null!==(n=null==t?void 0:t.currentPage)&&void 0!==n?n:null,perPage:null!==(o=null==t?void 0:t.perPage)&&void 0!==o?o:null}}function kt(t,e){var i,n,o,s;return{data:((null===(n=null===(i=null==t?void 0:t.result)||void 0===i?void 0:i.data)||void 0===n?void 0:n.items)||[]).map((t=>e(t))),_meta:Lt(null===(s=null===(o=null==t?void 0:t.result)||void 0===o?void 0:o.data)||void 0===s?void 0:s._meta)}}Ct.API_VERSION=C.V1;class Ut extends mt{static postUpdateInService(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/checkout/form/update-inservice",data:t});return function(t){var e,i,n;return Object.assign(Object.assign({},xt(t)),{checkin_number:null!==(e=null==t?void 0:t.checkin_number)&&void 0!==e?e:null,appointment_id:null!==(i=null==t?void 0:t.appointment_id)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null})}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getItemList(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/item/site/list",query:t})}))}static getCheckOutHistoryList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkout/history/list",query:t}),xt)}))}static getCheckOutInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/info",query:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutHistoryInfo(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkout/history/info",query:t}),bt)}))}static getCheckOutBatchCloseSummary(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/get-batch-close-summary",query:t});return function(t){var e,i;return{amount:null!==(e=null==t?void 0:t.amount)&&void 0!==e?e:null,count:null!==(i=null==t?void 0:t.count)&&void 0!==i?i:null,summary:function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,card_amount_count:null!==(i=null==t?void 0:t.card_amount_count)&&void 0!==i?i:null,cash_amount:null!==(n=null==t?void 0:t.cash_amount)&&void 0!==n?n:null,cash_amount_count:null!==(o=null==t?void 0:t.cash_amount_count)&&void 0!==o?o:null,check_amount:null!==(s=null==t?void 0:t.check_amount)&&void 0!==s?s:null,check_amount_count:null!==(r=null==t?void 0:t.check_amount_count)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,giftcard_amount_count:null!==(l=null==t?void 0:t.giftcard_amount_count)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,ach_amount_count:null!==(u=null==t?void 0:t.ach_amount_count)&&void 0!==u?u:null,external_cc_amount:null!==(p=null==t?void 0:t.external_cc_amount)&&void 0!==p?p:null,external_cc_amount_count:null!==(_=null==t?void 0:t.external_cc_amount_count)&&void 0!==_?_:null,subtotal:null!==(c=null==t?void 0:t.subtotal)&&void 0!==c?c:null,tax:null!==(m=null==t?void 0:t.tax)&&void 0!==m?m:null,tip:null!==(f=null==t?void 0:t.tip)&&void 0!==f?f:null,discount:null!==(h=null==t?void 0:t.discount)&&void 0!==h?h:null,redeem:null!==(y=null==t?void 0:t.redeem)&&void 0!==y?y:null,total_income:null!==(v=null==t?void 0:t.total_income)&&void 0!==v?v:null,change:null!==(g=null==t?void 0:t.change)&&void 0!==g?g:null,order_count:null!==(T=null==t?void 0:t.order_count)&&void 0!==T?T:null,cash_discount:null!==(S=null==t?void 0:t.cash_discount)&&void 0!==S?S:null,service_fee:null!==(E=null==t?void 0:t.service_fee)&&void 0!==E?E:null,total:null!==(I=null==t?void 0:t.total)&&void 0!==I?I:null}}(null==t?void 0:t.summary)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutAddItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/add",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutRemoveItem(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/remove",data:t})}))}static postCheckOutSubmitOrder(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t})}))}static postCheckOutUpdateStatus(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-status",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateOrderWithCreditCardPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/update-order-with-credit-card-payment",data:t})}))}static postCheckOutDoAuth(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/do-auth",data:t})}))}static postCheckOutVoidPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/void-payment",data:t})}))}static postCheckOutRefundPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/refund-payment",data:t})}))}static postCheckOutAdjustTipPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/adjust-tip",data:t})}))}static postCheckOutCloseOut(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/closeout",data:t})}))}static postCheckOutUpdateIsWaiting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-is-wait",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountPromotion(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/promotion",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountRedeem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/redeem",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateTipData(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/tip/update",data:t})}))}static postCheckOutItemAdjustPrice(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/adjust-price",data:t})}))}static postCheckOutUpdatePaymentData(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-payment-data",data:t});return function(t){var e,i,n,o,s,r,a;return{external_id:null!==(e=null==t?void 0:t.external_id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,payment_status:null!==(n=null==t?void 0:t.payment_status)&&void 0!==n?n:null,payment_data:null!==(o=null==t?void 0:t.payment_data)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,id:null!==(a=null==t?void 0:t.id)&&void 0!==a?a:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutItemAddCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/add-combo",data:t})}))}static getCheckoutResendRating(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/form/send-mercure",query:t});return function(t){return{sent_id:null==t?void 0:t.sent_id,topic:null==t?void 0:t.topic}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCustomerAchAvailable(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/check-customer",data:t})}))}static postAchResend(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/resend-transaction",data:t})}))}static postAchVoid(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/cancel-transaction",data:t})}))}static postUpdateOrderSuccessToSettled(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-success-to-settled",data:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null}}(t)))}))}static postCalculateTax(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/calculate-tax",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCalculatePayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/calculate-payment",data:t})}))}static postCheckOutDeleteByStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/delete-by-staff",data:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt,ft,ht,yt,vt,gt,Tt,St,Et;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:null!==(D=null==t?void 0:t.tip)&&void 0!==D?D:null,tax:null!==(b=null==t?void 0:t.tax)&&void 0!==b?b:null,is_waiting:null!==(x=null==t?void 0:t.is_waiting)&&void 0!==x?x:null,is_recheck:null!==(L=null==t?void 0:t.is_recheck)&&void 0!==L?L:null,gift_card_price:null!==(k=null==t?void 0:t.gift_card_price)&&void 0!==k?k:null,pax_standalone_active:null!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,ach_payment_active:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,ach_payment_data:null!==(V=null==t?void 0:t.gift_card_price)&&void 0!==V?V:null,total_cash_discount:null!==(F=null==t?void 0:t.total_cash_discount)&&void 0!==F?F:null,is_tip_on_device:null!==(B=null==t?void 0:t.is_tip_on_device)&&void 0!==B?B:null,tip_by_credit_card:null!==(q=null==t?void 0:t.tip_by_credit_card)&&void 0!==q?q:null,service_fee:null!==(G=null==t?void 0:t.service_fee)&&void 0!==G?G:null,external_credit_card:null!==(H=null==t?void 0:t.external_credit_card)&&void 0!==H?H:null,qr_code:null!==(Y=null==t?void 0:t.qr_code)&&void 0!==Y?Y:null,in_service:null!==(j=null==t?void 0:t.in_service)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:null!==(J=null==t?void 0:t.invoice)&&void 0!==J?J:null,visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:null!==(X=null==t?void 0:t.customer)&&void 0!==X?X:null,list_promotion:null!==(Z=null==t?void 0:t.list_promotion)&&void 0!==Z?Z:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>At(t))):null,order_discount:null!==(tt=null==t?void 0:t.order_discount)&&void 0!==tt?tt:null,order_items:null!==(et=null==t?void 0:t.order_items)&&void 0!==et?et:null,created_date:null!==(it=null==t?void 0:t.created_date)&&void 0!==it?it:null,created_time:null!==(nt=null==t?void 0:t.created_time)&&void 0!==nt?nt:null,payment:null!==(ot=null==t?void 0:t.payment)&&void 0!==ot?ot:null,refund_amount:null!==(st=null==t?void 0:t.refund_amount)&&void 0!==st?st:null,payment_payment_id:null!==(rt=null==t?void 0:t.payment_payment_id)&&void 0!==rt?rt:null,payment_order_id:null!==(at=null==t?void 0:t.payment_order_id)&&void 0!==at?at:null,services:null!==(lt=null==t?void 0:t.services)&&void 0!==lt?lt:null,staffs:null!==(dt=null==t?void 0:t.staffs)&&void 0!==dt?dt:null,order_batch:Nt(null==t?void 0:t.order_batch),last_four:null!==(ut=null==t?void 0:t.last_four)&&void 0!==ut?ut:null,customer_point:null!==(pt=null==t?void 0:t.customer_point)&&void 0!==pt?pt:null,card_type:null!==(_t=null==t?void 0:t.card_type)&&void 0!==_t?_t:null,entry_type:null!==(ct=null==t?void 0:t.entry_type)&&void 0!==ct?ct:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>Dt(t))):null,amount_info:null!==(mt=null==t?void 0:t.amount_info)&&void 0!==mt?mt:null,customer_type:null!==(ft=null==t?void 0:t.customer_type)&&void 0!==ft?ft:null,tax_product:null!==(ht=null==t?void 0:t.tax_product)&&void 0!==ht?ht:null,tax_service:null!==(yt=null==t?void 0:t.tax_service)&&void 0!==yt?yt:null,deposit:null!==(vt=null==t?void 0:t.deposit)&&void 0!==vt?vt:null,product_subtotal:null!==(gt=null==t?void 0:t.product_subtotal)&&void 0!==gt?gt:null,service_subtotal:null!==(Tt=null==t?void 0:t.service_subtotal)&&void 0!==Tt?Tt:null,checkin_number:null!==(St=null==t?void 0:t.checkin_number)&&void 0!==St?St:null,appointment_id:null!==(Et=null==t?void 0:t.appointment_id)&&void 0!==Et?Et:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-item",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-staff",data:t});return null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data}))}}function wt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;function T(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,type:null!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,category_id:null!==(l=null==t?void 0:t.category_id)&&void 0!==l?l:null,onwer_id:null!==(d=null==t?void 0:t.onwer_id)&&void 0!==d?d:null,price:null!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,point_bonus:null!==(_=null==t?void 0:t.point_bonus)&&void 0!==_?_:null,duration:null!==(c=null==t?void 0:t.duration)&&void 0!==c?c:null,buffer_time:null!==(m=null==t?void 0:t.buffer_time)&&void 0!==m?m:null,web_booking_visible:null!==(f=null==t?void 0:t.web_booking_visible)&&void 0!==f?f:null,supply_share:null!==(h=null==t?void 0:t.supply_share)&&void 0!==h?h:null,show_on_checkin:null!==(y=null==t?void 0:t.show_on_checkin)&&void 0!==y?y:null,show_on_booking:null!==(v=null==t?void 0:t.show_on_booking)&&void 0!==v?v:null,show_on_pos:null!==(g=null==t?void 0:t.show_on_pos)&&void 0!==g?g:null,image_base_url:null!==(T=null==t?void 0:t.image_base_url)&&void 0!==T?T:null,image_path:null!==(S=null==t?void 0:t.image_path)&&void 0!==S?S:null}}return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,image:null!==(o=null==t?void 0:t.image)&&void 0!==o?o:null,category_id:null!==(s=null==t?void 0:t.category_id)&&void 0!==s?s:null,note:null!==(r=null==t?void 0:t.note)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,visibility:null!==(l=null==t?void 0:t.visibility)&&void 0!==l?l:null,prepare_duration:null!==(d=null==t?void 0:t.prepare_duration)&&void 0!==d?d:null,nutritional_information:null!==(u=null==t?void 0:t.nutritional_information)&&void 0!==u?u:null,slug:null!==(p=null==t?void 0:t.slug)&&void 0!==p?p:null,modifier:null!==(_=null==t?void 0:t.modifier)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,sku:null!==(h=null==t?void 0:t.sku)&&void 0!==h?h:null,price:null!==(y=null==t?void 0:t.price)&&void 0!==y?y:null,duration:null!==(v=null==t?void 0:t.duration)&&void 0!==v?v:null,priority:null!==(g=null==t?void 0:t.priority)&&void 0!==g?g:null,combo_item:(null==t?void 0:t.combo_item)?null==t?void 0:t.combo_item.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,item_combo_id:null!==(i=null==t?void 0:t.item_combo_id)&&void 0!==i?i:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n:null,item_type:null!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,price:null!==(s=null==t?void 0:t.price)&&void 0!==s?s:null,priority:null!==(r=null==t?void 0:t.priority)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null,item_detail:T(null==t?void 0:t.item_detail)}}(t))):null}}Ut.API_VERSION=C.V1;class Vt extends mt{static getComboSiteInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/combo/site/info",query:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getComboSiteList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/combo/site/list",query:t}),wt)}))}static sortCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/product/form/sort",data:t}),null}))}static createCombo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/combo/form/create",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCombo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/combo/form/update",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/combo/form/update-status",data:t}),null}))}}function Ft(t){return{item_name:null==t?void 0:t.item_name,staff_name:null==t?void 0:t.staff_name}}Vt.API_VERSION=C.V1;class Bt extends mt{static getCustomerList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/customer/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i;return{customer_name:null!==(e=null==t?void 0:t.customer_name)&&void 0!==e?e:null,customer_phone:null!==(i=null==t?void 0:t.customer_phone)&&void 0!==i?i:null}}(t)))}))}static getCustomerDetail(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f;return{birthday:null!==(e=null==t?void 0:t.birthday)&&void 0!==e?e:null,checkin_count:null!==(i=null==t?void 0:t.checkin_count)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,groups:(null==t?void 0:t.groups)?t.groups.map((t=>function(t){var e;return{group_id:null!==(e=null==t?void 0:t.group_id)&&void 0!==e?e:null}}(t))):null,is_send_sms:null!==(o=null==t?void 0:t.is_send_sms)&&void 0!==o?o:null,last_visited:null!==(s=null==t?void 0:t.last_visited)&&void 0!==s?s:null,lifetime_point:null!==(r=null==t?void 0:t.lifetime_point)&&void 0!==r?r:null,note:null!==(a=null==t?void 0:t.note)&&void 0!==a?a:null,id:null!==(l=null==t?void 0:t.id)&&void 0!==l?l:null,phone:null!==(d=null==t?void 0:t.phone)&&void 0!==d?d:null,full_name:null!==(u=null==t?void 0:t.full_name)&&void 0!==u?u:null,email:null!==(p=null==t?void 0:t.email)&&void 0!==p?p:null,visit_count:null!==(_=null==t?void 0:t.visit_count)&&void 0!==_?_:null,point:null!==(c=null==t?void 0:t.point)&&void 0!==c?c:null,latest_reviews:null!==(m=null==t?void 0:t.latest_reviews)&&void 0!==m?m:null,type:null!==(f=null==t?void 0:t.type)&&void 0!==f?f:null}}((yield this.client.get({path:"/v1/pos/customer/site/detail",query:t})).result.data)}))}static getCustomerHistory(t){return z(this,void 0,void 0,(function*(){return function(t){return{checkin:(null==t?void 0:t.checkin)?null==t?void 0:t.checkin.map((t=>function(t){var e,i,n,o;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,point_bonus:null!==(o=null==t?void 0:t.point_bonus)&&void 0!==o?o:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,total_after_discount:null!==(n=null==t?void 0:t.total_after_discount)&&void 0!==n?n:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Ft(t))):null}}(t))):null,appointment:(null==t?void 0:t.appointment)?null==t?void 0:t.appointment.map((t=>function(t){var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,start_time:null!==(o=null==t?void 0:t.start_time)&&void 0!==o?o:null,end_time_expected:null!==(s=null==t?void 0:t.end_time_expected)&&void 0!==s?s:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e,i;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,employee_name:null!==(i=null==t?void 0:t.employee_name)&&void 0!==i?i:null}}(t))):null}}(t))):null}}((yield this.client.get({path:"/v1/pos/customer/site/history",query:t})).result.data)}))}static updateCustomer(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,total_after_discount:null!==(n=null==t?void 0:t.total_after_discount)&&void 0!==n?n:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Ft(t))):null}}((yield this.client.post({path:"/v1/pos/customer/form/update",data:t})).result.data)}))}}Bt.API_VERSION=C.V1;class qt extends mt{static getCheckGiftCard(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/giftcard/site/check-gift-card",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,code:null!==(i=null==t?void 0:t.code)&&void 0!==i?i:null,amount:null!==(n=null==t?void 0:t.amount)&&void 0!==n?n:null,balance:null!==(o=null==t?void 0:t.balance)&&void 0!==o?o:null,price:null!==(s=null==t?void 0:t.price)&&void 0!==s?s:null,data:null!==(r=null==t?void 0:t.data)&&void 0!==r?r:null,customer_id:null!==(a=null==t?void 0:t.customer_id)&&void 0!==a?a:null,customer_name:null!==(l=null==t?void 0:t.customer_name)&&void 0!==l?l:null,customer_phone:null!==(d=null==t?void 0:t.customer_phone)&&void 0!==d?d:null,type:null!==(u=null==t?void 0:t.type)&&void 0!==u?u:null,source:null!==(p=null==t?void 0:t.source)&&void 0!==p?p:null,staff_id:null!==(_=null==t?void 0:t.staff_id)&&void 0!==_?_:null,staff_name:null!==(c=null==t?void 0:t.staff_name)&&void 0!==c?c:null,status:null!==(m=null==t?void 0:t.status)&&void 0!==m?m:null,created_at:null!==(f=null==t?void 0:t.created_at)&&void 0!==f?f:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h:null,order_id:null!==(y=null==t?void 0:t.order_id)&&void 0!==y?y:null,last_used_order_id:null!==(v=null==t?void 0:t.last_used_order_id)&&void 0!==v?v:null,history:null!==(g=null==t?void 0:t.history)&&void 0!==g?g:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postResetGiftCard(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/reset-gift-card",data:t}),null}))}}qt.API_VERSION=C.V1;class Gt extends mt{static getIncomeHistory(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/history/site/income-history",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G;return{title:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:null,income:null!==(i=null==t?void 0:t.income)&&void 0!==i?i:null,summary:{date:null!==(o=null===(n=null==t?void 0:t.summary)||void 0===n?void 0:n.date)&&void 0!==o?o:null,display_date:null!==(r=null===(s=null==t?void 0:t.summary)||void 0===s?void 0:s.date)&&void 0!==r?r:null,display_date_time:null!==(l=null===(a=null==t?void 0:t.summary)||void 0===a?void 0:a.date)&&void 0!==l?l:null,card_amount:null!==(u=null===(d=null==t?void 0:t.summary)||void 0===d?void 0:d.card_amount)&&void 0!==u?u:null,external_cc_amount:null!==(_=null===(p=null==t?void 0:t.summary)||void 0===p?void 0:p.external_cc_amount)&&void 0!==_?_:null,cash_amount:null!==(m=null===(c=null==t?void 0:t.summary)||void 0===c?void 0:c.cash_amount)&&void 0!==m?m:null,giftcard_amount:null!==(h=null===(f=null==t?void 0:t.summary)||void 0===f?void 0:f.giftcard_amount)&&void 0!==h?h:null,check_amount:null!==(v=null===(y=null==t?void 0:t.summary)||void 0===y?void 0:y.check_amount)&&void 0!==v?v:null,ach_amount:null!==(T=null===(g=null==t?void 0:t.summary)||void 0===g?void 0:g.ach_amount)&&void 0!==T?T:null,subtotal:null!==(E=null===(S=null==t?void 0:t.summary)||void 0===S?void 0:S.subtotal)&&void 0!==E?E:null,tax:null!==(R=null===(I=null==t?void 0:t.summary)||void 0===I?void 0:I.tax)&&void 0!==R?R:null,discount:null!==(A=null===(C=null==t?void 0:t.summary)||void 0===C?void 0:C.discount)&&void 0!==A?A:null,tip:null!==(O=null===(N=null==t?void 0:t.summary)||void 0===N?void 0:N.tip)&&void 0!==O?O:null,redeem:null!==(M=null===(P=null==t?void 0:t.summary)||void 0===P?void 0:P.redeem)&&void 0!==M?M:null,income:null!==(b=null===(D=null==t?void 0:t.summary)||void 0===D?void 0:D.income)&&void 0!==b?b:null,change:null!==(L=null===(x=null==t?void 0:t.summary)||void 0===x?void 0:x.change)&&void 0!==L?L:null,cash_discount:null!==(U=null===(k=null==t?void 0:t.summary)||void 0===k?void 0:k.cash_discount)&&void 0!==U?U:null,service_fee:null!==(V=null===(w=null==t?void 0:t.summary)||void 0===w?void 0:w.service_fee)&&void 0!==V?V:null,deposit:null!==(B=null===(F=null==t?void 0:t.summary)||void 0===F?void 0:F.deposit)&&void 0!==B?B:null,total:null!==(G=null===(q=null==t?void 0:t.summary)||void 0===q?void 0:q.total)&&void 0!==G?G:null},batches:(null==t?void 0:t.batches)?null==t?void 0:t.batches.map((t=>function(t){var e,i,n,o;return{order_id:null!==(e=null==t?void 0:t.order_id)&&void 0!==e?e:null,customer_name:null!==(i=null==t?void 0:t.customer_name)&&void 0!==i?i:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,subtotal:null!==(o=null==t?void 0:t.subtotal)&&void 0!==o?o:null}}(t))):null}}(t)))}))}static getStaffDailyIncome(t){var e,i,n;return z(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/staff/site/list-income-v1",query:t});return"number"==typeof(null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)?null===(i=null==o?void 0:o.result)||void 0===i?void 0:i.data:((null===(n=null==o?void 0:o.result)||void 0===n?void 0:n.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,code:null!==(s=null==t?void 0:t.code)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,permission:(null==t?void 0:t.permission)?null==t?void 0:t.permission.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t))):null,setting_commission:null!==(a=null==t?void 0:t.setting_commission)&&void 0!==a?a:null,income:{commission:null!==(d=null===(l=null==t?void 0:t.income)||void 0===l?void 0:l.commission)&&void 0!==d?d:null,tip:null!==(p=null===(u=null==t?void 0:t.income)||void 0===u?void 0:u.tip)&&void 0!==p?p:null,working_hours:null!==(c=null===(_=null==t?void 0:t.income)||void 0===_?void 0:_.working_hours)&&void 0!==c?c:null,final_salary:null!==(f=null===(m=null==t?void 0:t.income)||void 0===m?void 0:m.final_salary)&&void 0!==f?f:null,income:null!==(y=null===(h=null==t?void 0:t.income)||void 0===h?void 0:h.income)&&void 0!==y?y:null,tip_credit_charge:null!==(g=null===(v=null==t?void 0:t.income)||void 0===v?void 0:v.tip_credit_charge)&&void 0!==g?g:null,card_charge:null!==(S=null===(T=null==t?void 0:t.income)||void 0===T?void 0:T.card_charge)&&void 0!==S?S:null,cash_bonus:null!==(I=null===(E=null==t?void 0:t.income)||void 0===E?void 0:E.cash_bonus)&&void 0!==I?I:null,supply_share:null!==(C=null===(R=null==t?void 0:t.income)||void 0===R?void 0:R.supply_share)&&void 0!==C?C:null,final_commission:null!==(N=null===(A=null==t?void 0:t.income)||void 0===A?void 0:A.final_commission)&&void 0!==N?N:null,cash_income:null!==(P=null===(O=null==t?void 0:t.income)||void 0===O?void 0:O.cash_income)&&void 0!==P?P:null,check_income:null!==(D=null===(M=null==t?void 0:t.income)||void 0===M?void 0:M.check_income)&&void 0!==D?D:null,wage_per_hours:null!==(x=null===(b=null==t?void 0:t.income)||void 0===b?void 0:b.wage_per_hours)&&void 0!==x?x:null},daily_service:null!==(L=null==t?void 0:t.daily_service)&&void 0!==L?L:null}}(t)))}))}}Gt.API_VERSION=C.V1;class Ht extends mt{static getPosKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/user/site/get-key-storage",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J;return{in_service_feature:null!==(e=null==t?void 0:t.in_service_feature)&&void 0!==e?e:null,ach_payment_active:null!==(i=null==t?void 0:t.ach_payment_active)&&void 0!==i?i:null,pax_standalone_active:null!==(n=null==t?void 0:t.pax_standalone_active)&&void 0!==n?n:null,staff_receipt_active:null!==(o=null==t?void 0:t.staff_receipt_active)&&void 0!==o?o:null,owner_receipt_active:null!==(s=null==t?void 0:t.owner_receipt_active)&&void 0!==s?s:null,customer_receipt_active:null!==(r=null==t?void 0:t.customer_receipt_active)&&void 0!==r?r:null,turn_passcode_active:null!==(a=null==t?void 0:t.turn_passcode_active)&&void 0!==a?a:null,turn_passcode:null!==(l=null==t?void 0:t.turn_passcode)&&void 0!==l?l:null,is_tip_on_device:null!==(d=null==t?void 0:t.is_tip_on_device)&&void 0!==d?d:null,is_print_on_clover:null!==(u=null==t?void 0:t.is_print_on_clover)&&void 0!==u?u:null,order_ticket_counter:null!==(p=null==t?void 0:t.order_ticket_counter)&&void 0!==p?p:null,appointment_calendar_active:null!==(_=null==t?void 0:t.appointment_calendar_active)&&void 0!==_?_:null,window_appointment_calendar_active:null!==(c=null==t?void 0:t.window_appointment_calendar_active)&&void 0!==c?c:null,mqtt:{id:null!==(f=null===(m=null==t?void 0:t.mqtt)||void 0===m?void 0:m.id)&&void 0!==f?f:null,username:null!==(y=null===(h=null==t?void 0:t.mqtt)||void 0===h?void 0:h.username)&&void 0!==y?y:null,password:null!==(g=null===(v=null==t?void 0:t.mqtt)||void 0===v?void 0:v.password)&&void 0!==g?g:null,config:{call_feature:null!==(E=null===(S=null===(T=null==t?void 0:t.mqtt)||void 0===T?void 0:T.config)||void 0===S?void 0:S.call_feature)&&void 0!==E?E:null}},order_page_staff_first:null!==(I=null==t?void 0:t.order_page_staff_first)&&void 0!==I?I:null,tax_calculating_mode:null!==(R=null==t?void 0:t.tax_calculating_mode)&&void 0!==R?R:null,cash_discount_active:{status:null!==(A=null===(C=null==t?void 0:t.cash_discount_active)||void 0===C?void 0:C.status)&&void 0!==A?A:null,value:null!==(O=null===(N=null==t?void 0:t.cash_discount_active)||void 0===N?void 0:N.value)&&void 0!==O?O:null,type:null!==(M=null===(P=null==t?void 0:t.cash_discount_active)||void 0===P?void 0:P.type)&&void 0!==M?M:null},tax_product:null!==(D=null==t?void 0:t.tax_product)&&void 0!==D?D:null,tax_service:null!==(b=null==t?void 0:t.tax_service)&&void 0!==b?b:null,service_fee:{id:null!==(L=null===(x=null==t?void 0:t.service_fee)||void 0===x?void 0:x.id)&&void 0!==L?L:null,fee:null!==(U=null===(k=null==t?void 0:t.service_fee)||void 0===k?void 0:k.fee)&&void 0!==U?U:null,status:null!==(V=null===(w=null==t?void 0:t.service_fee)||void 0===w?void 0:w.status)&&void 0!==V?V:null,created_at:null!==(B=null===(F=null==t?void 0:t.service_fee)||void 0===F?void 0:F.created_at)&&void 0!==B?B:null,updated_at:null!==(G=null===(q=null==t?void 0:t.service_fee)||void 0===q?void 0:q.updated_at)&&void 0!==G?G:null,state:null!==(Y=null===(H=null==t?void 0:t.service_fee)||void 0===H?void 0:H.state)&&void 0!==Y?Y:null},window_active:null!==(j=null==t?void 0:t.window_active)&&void 0!==j?j:null,qrCode:null!==(W=null==t?void 0:t.qrCode)&&void 0!==W?W:null,flex_checkin:null!==(K=null==t?void 0:t.flex_checkin)&&void 0!==K?K:null,pos_lite_version:null!==(J=null==t?void 0:t.pos_lite_version)&&void 0!==J?J:0}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ht.API_VERSION=C.V1;var Yt=i(35823),jt=i.n(Yt);const Wt=()=>({AU:"DD-MM-YYYY",US:"MM-DD-YYYY",DEFAULT:"DD-MM-YYYY"}[localStorage.getItem("country_code")||"DEFAULT"]);var Kt=i(27484),Jt=i.n(Kt);function Qt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,first_name:null!==(i=null==t?void 0:t.first_name)&&void 0!==i?i:null,last_name:null!==(n=null==t?void 0:t.last_name)&&void 0!==n?n:null,full_name:null!==(o=null==t?void 0:t.full_name)&&void 0!==o?o:null,phone:null!==(s=null==t?void 0:t.phone)&&void 0!==s?s:null,email:null!==(r=null==t?void 0:t.email)&&void 0!==r?r:null,address:null!==(a=null==t?void 0:t.address)&&void 0!==a?a:null,city:null!==(l=null==t?void 0:t.city)&&void 0!==l?l:null,state:null!==(d=null==t?void 0:t.state)&&void 0!==d?d:null,country:null!==(u=null==t?void 0:t.country)&&void 0!==u?u:null,gender:null!==(p=null==t?void 0:t.gender)&&void 0!==p?p:null,birthday:null!==(_=null==t?void 0:t.birthday)&&void 0!==_?_:null,create_at:null!==(c=null==t?void 0:t.create_at)&&void 0!==c?c:null,update_at:null!==(m=null==t?void 0:t.update_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,group_id:null!==(h=null==t?void 0:t.group_id)&&void 0!==h?h:null,note:null!==(y=null==t?void 0:t.note)&&void 0!==y?y:null,parent_id:null!==(v=null==t?void 0:t.parent_id)&&void 0!==v?v:null,rating:null!==(g=null==t?void 0:t.rating)&&void 0!==g?g:null,is_yelp:null!==(T=null==t?void 0:t.is_yelp)&&void 0!==T?T:null,reachable_email:null!==(S=null==t?void 0:t.reachable_email)&&void 0!==S?S:null,reachable_push:null!==(E=null==t?void 0:t.reachable_push)&&void 0!==E?E:null,reachable_sms:null!==(I=null==t?void 0:t.reachable_sms)&&void 0!==I?I:null,visit_count:null!==(R=null==t?void 0:t.visit_count)&&void 0!==R?R:null,last_visited:null!==(C=null==t?void 0:t.last_visited)&&void 0!==C?C:null,image_url:null!==(A=null==t?void 0:t.image_url)&&void 0!==A?A:null,address2:null!==(N=null==t?void 0:t.address2)&&void 0!==N?N:null,postal_code:null!==(O=null==t?void 0:t.postal_code)&&void 0!==O?O:null,is_send_sms:null!==(P=null==t?void 0:t.is_send_sms)&&void 0!==P?P:null,is_import:null!==(M=null==t?void 0:t.is_import)&&void 0!==M?M:null,is_checked_in:null!==(D=null==t?void 0:t.is_checked_in)&&void 0!==D?D:null,current_point:null!==(b=null==t?void 0:t.current_point)&&void 0!==b?b:null,lifetime_point:null!==(x=null==t?void 0:t.lifetime_point)&&void 0!==x?x:null,type:null!==(L=null==t?void 0:t.type)&&void 0!==L?L:null,last_review:null!==(k=null==t?void 0:t.last_review)&&void 0!==k?k:null,review_type:null!==(U=null==t?void 0:t.review_type)&&void 0!==U?U:null}}function $t(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,discount_type:null!==(s=null==t?void 0:t.discount_type)&&void 0!==s?s:null,discount_value:null!==(r=null==t?void 0:t.discount_value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,total_value:null!==(u=null==t?void 0:t.total_value)&&void 0!==u?u:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}function zt(t){return{staff_name:null==t?void 0:t.staff_name,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,supply_share:null!==(o=null==t?void 0:t.supply_share)&&void 0!==o?o:null,base_service_price:null!==(s=null==t?void 0:t.base_service_price)&&void 0!==s?s:null,card_charge_value:null!==(r=null==t?void 0:t.card_charge_value)&&void 0!==r?r:null,discount_charge_value:null!==(a=null==t?void 0:t.discount_charge_value)&&void 0!==a?a:null,tip_paid:null!==(l=null==t?void 0:t.tip_paid)&&void 0!==l?l:null,tip_on_credit_card_share:null!==(d=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==d?d:null,commission:null!==(u=null==t?void 0:t.commission)&&void 0!==u?u:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null}}(t))):null}}function Xt(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}function Zt(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,data_after_charge:null!==(d=null==t?void 0:t.data_after_charge)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(p=null==t?void 0:t.giftcard_code)&&void 0!==p?p:null,is_updated:null!==(_=null==t?void 0:t.is_updated)&&void 0!==_?_:null}}function te(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,checkout_id:null!==(i=null==t?void 0:t.checkout_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,promotion_code:null!==(r=null==t?void 0:t.promotion_code)&&void 0!==r?r:null,redeem_id:null!==(a=null==t?void 0:t.redeem_id)&&void 0!==a?a:null,total_discount:null!==(l=null==t?void 0:t.total_discount)&&void 0!==l?l:null,has_tax:null!==(d=null==t?void 0:t.has_tax)&&void 0!==d?d:null,tax_price:null!==(u=null==t?void 0:t.tax_price)&&void 0!==u?u:null,total_before_discount:null!==(p=null==t?void 0:t.total_before_discount)&&void 0!==p?p:null,total_after_discount:null!==(_=null==t?void 0:t.total_after_discount)&&void 0!==_?_:null,total_after_tax:null!==(c=null==t?void 0:t.total_after_tax)&&void 0!==c?c:null,payment_method:null!==(m=null==t?void 0:t.payment_method)&&void 0!==m?m:null,employee_id:null!==(f=null==t?void 0:t.employee_id)&&void 0!==f?f:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,created_at:null!==(v=null==t?void 0:t.created_at)&&void 0!==v?v:null,updated_at:null!==(g=null==t?void 0:t.updated_at)&&void 0!==g?g:null,type:null!==(T=null==t?void 0:t.type)&&void 0!==T?T:null}}function ee(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function ie(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function ne(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:Zt(null==t?void 0:t.tip),tax:null!==(D=null==t?void 0:t.tax)&&void 0!==D?D:null,is_waiting:null!==(b=null==t?void 0:t.is_waiting)&&void 0!==b?b:null,is_recheck:null!==(x=null==t?void 0:t.is_recheck)&&void 0!==x?x:null,gift_card_price:null!==(L=null==t?void 0:t.gift_card_price)&&void 0!==L?L:null,pax_standalone_active:null!==(k=null==t?void 0:t.pax_standalone_active)&&void 0!==k?k:null,ach_payment_active:null!==(U=null==t?void 0:t.ach_payment_active)&&void 0!==U?U:null,ach_payment_data:null!==(w=null==t?void 0:t.ach_payment_data)&&void 0!==w?w:null,total_cash_discount:null!==(V=null==t?void 0:t.total_cash_discount)&&void 0!==V?V:null,is_tip_on_device:null!==(F=null==t?void 0:t.is_tip_on_device)&&void 0!==F?F:null,tip_by_credit_card:null!==(B=null==t?void 0:t.tip_by_credit_card)&&void 0!==B?B:null,service_fee:null!==(q=null==t?void 0:t.service_fee)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,qr_code:null!==(H=null==t?void 0:t.qr_code)&&void 0!==H?H:null,created_date:null!==(Y=null==t?void 0:t.created_date)&&void 0!==Y?Y:null,created_time:null!==(j=null==t?void 0:t.created_time)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:te(null==t?void 0:t.invoice),customer_point:null!==(J=null==t?void 0:t.customer_point)&&void 0!==J?J:null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>$t(t))):null,checkin_services:null!==(Q=null==t?void 0:t.checkin_services)&&void 0!==Q?Q:null,checkin_staffs:null!==($=null==t?void 0:t.checkin_staffs)&&void 0!==$?$:null,services:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>zt(t))):null,staffs:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>Xt(t))):null,payment_payment_id:null!==(z=null==t?void 0:t.payment_payment_id)&&void 0!==z?z:null,payment_order_id:null!==(X=null==t?void 0:t.payment_order_id)&&void 0!==X?X:null,order_batch:ie(null==t?void 0:t.order_batch),visit_count:null!==(Z=null==t?void 0:t.visit_count)&&void 0!==Z?Z:null,refund_amount:null!==(tt=null==t?void 0:t.refund_amount)&&void 0!==tt?tt:null,last_four:null!==(et=null==t?void 0:t.last_four)&&void 0!==et?et:null,card_type:null!==(it=null==t?void 0:t.card_type)&&void 0!==it?it:null,entry_type:null!==(nt=null==t?void 0:t.entry_type)&&void 0!==nt?nt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ee(t))):null,amount_info:null!==(ot=null==t?void 0:t.amount_info)&&void 0!==ot?ot:null,customer_type:null!==(st=null==t?void 0:t.customer_type)&&void 0!==st?st:null,order_payment_method:(null==t?void 0:t.order_payment_method)?null==t?void 0:t.order_payment_method.map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null}}(t))):null,deposit:null!==(rt=null==t?void 0:t.deposit)&&void 0!==rt?rt:null,product_subtotal:null!==(at=null==t?void 0:t.product_subtotal)&&void 0!==at?at:null,service_subtotal:null!==(lt=null==t?void 0:t.service_subtotal)&&void 0!==lt?lt:null,staff_code:null!==(dt=null==t?void 0:t.staff_code)&&void 0!==dt?dt:null}}function oe(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{appointment_id:null!==(e=null==t?void 0:t.appointment_id)&&void 0!==e?e:null,checkin_number:null!==(i=null==t?void 0:t.checkin_number)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,customer_id:null!==(s=null==t?void 0:t.customer_id)&&void 0!==s?s:null,customer_name:null!==(r=null==t?void 0:t.customer_name)&&void 0!==r?r:null,customer_phone:null!==(a=null==t?void 0:t.customer_phone)&&void 0!==a?a:null,customer_email:null!==(l=null==t?void 0:t.customer_email)&&void 0!==l?l:null,customer_address:null!==(d=null==t?void 0:t.customer_address)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,currency:null!==(p=null==t?void 0:t.currency)&&void 0!==p?p:null,start_time:null!==(_=null==t?void 0:t.start_time)&&void 0!==_?_:null,expected_end_time:null!==(c=null==t?void 0:t.expected_end_time)&&void 0!==c?c:null,end_time:null!==(m=null==t?void 0:t.end_time)&&void 0!==m?m:null,picked_up_time:null!==(f=null==t?void 0:t.picked_up_time)&&void 0!==f?f:null,promotion_code:null!==(h=null==t?void 0:t.promotion_code)&&void 0!==h?h:null,total_before_discount:null!==(y=null==t?void 0:t.total_before_discount)&&void 0!==y?y:null,total_after_discount:null!==(v=null==t?void 0:t.total_after_discount)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,type:null!==(S=null==t?void 0:t.type)&&void 0!==S?S:null,note:null!==(E=null==t?void 0:t.note)&&void 0!==E?E:null,owner_note:null!==(I=null==t?void 0:t.owner_note)&&void 0!==I?I:null,order_status:null!==(R=null==t?void 0:t.order_status)&&void 0!==R?R:null,status:null!==(C=null==t?void 0:t.status)&&void 0!==C?C:null,created_at:null!==(A=null==t?void 0:t.created_at)&&void 0!==A?A:null,updated_at:null!==(N=null==t?void 0:t.updated_at)&&void 0!==N?N:null,cancel_reason:null!==(O=null==t?void 0:t.cancel_reason)&&void 0!==O?O:null,delivered_time:null!==(P=null==t?void 0:t.delivered_time)&&void 0!==P?P:null,completed_time:null!==(M=null==t?void 0:t.completed_time)&&void 0!==M?M:null,order_code:null!==(D=null==t?void 0:t.order_code)&&void 0!==D?D:null,checkin_id:null!==(b=null==t?void 0:t.checkin_id)&&void 0!==b?b:null,total_change:null!==(x=null==t?void 0:t.total_change)&&void 0!==x?x:null,tip:Zt(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(k=null==t?void 0:t.is_waiting)&&void 0!==k?k:null,is_recheck:null!==(U=null==t?void 0:t.is_recheck)&&void 0!==U?U:null,gift_card_price:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,pax_standalone_active:null!==(V=null==t?void 0:t.pax_standalone_active)&&void 0!==V?V:null,ach_payment_active:null!==(F=null==t?void 0:t.ach_payment_active)&&void 0!==F?F:null,ach_payment_data:null!==(B=null==t?void 0:t.ach_payment_data)&&void 0!==B?B:null,total_cash_discount:null!==(q=null==t?void 0:t.total_cash_discount)&&void 0!==q?q:null,is_tip_on_device:null!==(G=null==t?void 0:t.is_tip_on_device)&&void 0!==G?G:null,tip_by_credit_card:null!==(H=null==t?void 0:t.tip_by_credit_card)&&void 0!==H?H:null,service_fee:null!==(Y=null==t?void 0:t.service_fee)&&void 0!==Y?Y:null,external_credit_card:null!==(j=null==t?void 0:t.external_credit_card)&&void 0!==j?j:null,qr_code:null!==(W=null==t?void 0:t.qr_code)&&void 0!==W?W:null,pos_key:null!==(K=null==t?void 0:t.pos_key)&&void 0!==K?K:null,pos_status:null!==(J=null==t?void 0:t.pos_status)&&void 0!==J?J:null,invoice:te(null==t?void 0:t.invoice),visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:Qt(null==t?void 0:t.customer),list_promotion:null!==(X=null==t?void 0:t.list_promotion)&&void 0!==X?X:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,point:null!==(i=null==t?void 0:t.point)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,is_active:null!==(r=null==t?void 0:t.is_active)&&void 0!==r?r:null,logic_type:null!==(a=null==t?void 0:t.logic_type)&&void 0!==a?a:null,logic_value:null!==(l=null==t?void 0:t.logic_value)&&void 0!==l?l:null}}(t))):null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>$t(t))):null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,item_variant:null!==(i=null==t?void 0:t.item_ariant)&&void 0!==i?i:null,item_modifier:null!==(n=null==t?void 0:t.item_modifier)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,order_id:null!==(s=null==t?void 0:t.order_id)&&void 0!==s?s:null,item_id:null!==(r=null==t?void 0:t.item_id)&&void 0!==r?r:null,quantity:null!==(a=null==t?void 0:t.quantity)&&void 0!==a?a:null,item_name:null!==(l=null==t?void 0:t.item_name)&&void 0!==l?l:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d:null,note:null!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(p=null==t?void 0:t.owner_note)&&void 0!==p?p:null,status:null!==(_=null==t?void 0:t.status)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,cancel_reason:null!==(f=null==t?void 0:t.cancel_reason)&&void 0!==f?f:null,item_type:null!==(h=null==t?void 0:t.item_type)&&void 0!==h?h:null,staff_id:null!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(v=null==t?void 0:t.staff_name)&&void 0!==v?v:null,combo_id:null!==(g=null==t?void 0:t.combo_id)&&void 0!==g?g:null,sub_total:null!==(T=null==t?void 0:t.sub_total)&&void 0!==T?T:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,quantity:null!==(r=null==t?void 0:t.quantity)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,staff_id:null!==(l=null==t?void 0:t.staff_id)&&void 0!==l?l:null,combo_name:null!==(d=null==t?void 0:t.combo_name)&&void 0!==d?d:null,combo_id:null!==(u=null==t?void 0:t.combo_id)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,gift_card_code:null!==(_=null==t?void 0:t.gift_card_code)&&void 0!==_?_:null}}(t))):null}}(t))):null,created_date:null!==(Z=null==t?void 0:t.created_date)&&void 0!==Z?Z:null,created_time:null!==(tt=null==t?void 0:t.created_time)&&void 0!==tt?tt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null}}(t))):null,refund_amount:null!==(et=null==t?void 0:t.refund_amount)&&void 0!==et?et:null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(nt=null==t?void 0:t.payment_order_id)&&void 0!==nt?nt:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>zt(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>Xt(t))):null,order_batch:ie(null==t?void 0:t.order_batch),last_four:null!==(ot=null==t?void 0:t.last_four)&&void 0!==ot?ot:null,customer_point:null!==(st=null==t?void 0:t.customer_point)&&void 0!==st?st:null,card_type:null!==(rt=null==t?void 0:t.card_type)&&void 0!==rt?rt:null,entry_type:null!==(at=null==t?void 0:t.entry_type)&&void 0!==at?at:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ee(t))):null,amount_info:null!==(lt=null==t?void 0:t.amount_info)&&void 0!==lt?lt:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt:null,tax_product:null!==(ut=null==t?void 0:t.tax_product)&&void 0!==ut?ut:null,tax_service:null!==(pt=null==t?void 0:t.tax_service)&&void 0!==pt?pt:null,deposit:null!==(_t=null==t?void 0:t.deposit)&&void 0!==_t?_t:null,product_subtotal:null!==(ct=null==t?void 0:t.product_subtotal)&&void 0!==ct?ct:null,service_subtotal:null!==(mt=null==t?void 0:t.service_subtotal)&&void 0!==mt?mt:null}}class se extends mt{static getOrderCheckInList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkin/site/dash-board-list",query:t}),ne)}))}static getReportCheckIn(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n,o,s,r;return{all:null!==(e=null==t?void 0:t.all)&&void 0!==e?e:null,pending:null!==(i=null==t?void 0:t.pending)&&void 0!==i?i:null,processing:null!==(n=null==t?void 0:t.processing)&&void 0!==n?n:null,cancelled:null!==(o=null==t?void 0:t.cancelled)&&void 0!==o?o:null,done:null!==(s=null==t?void 0:t.done)&&void 0!==s?s:null,settlement_fail:null!==(r=null==t?void 0:t.settlement_fail)&&void 0!==r?r:null}}((yield this.client.get({path:"/v1/pos/checkin/site/dash-board-report",query:t})).result.data)}))}static updateOrderStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-staff",data:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n:null,quantity:null!==(o=null==t?void 0:t.quantity)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,item_variant:null!==(r=null==t?void 0:t.item_variant)&&void 0!==r?r:null,item_modifier:null!==(a=null==t?void 0:t.item_modifier)&&void 0!==a?a:null,price:null!==(l=null==t?void 0:t.price)&&void 0!==l?l:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d:null,owner_note:null!==(u=null==t?void 0:t.owner_note)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null,created_at:null!==(_=null==t?void 0:t.created_at)&&void 0!==_?_:null,updated_at:null!==(c=null==t?void 0:t.updated_at)&&void 0!==c?c:null,cancel_reason:null!==(m=null==t?void 0:t.cancel_reason)&&void 0!==m?m:null,item_type:null!==(f=null==t?void 0:t.item_type)&&void 0!==f?f:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h:null,staff_name:null!==(y=null==t?void 0:t.staff_name)&&void 0!==y?y:null,combo_id:null!==(v=null==t?void 0:t.combo_id)&&void 0!==v?v:null}}(t)))}))}static removeOrder(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/order/remove-order",data:t}),null}))}static exportOrder(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/checkin/site/export",query:t});let i=Wt();return jt()(e,`export-orders-${Jt()().format(i)}.xls`),null}))}static submitCheckout(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/submit",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static submitPayment(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePaymentData(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-payment-data",data:t});return function(t){var e,i,n,o,s,r,a;return{external_id:null!==(e=null==t?void 0:t.external_id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,payment_status:null!==(n=null==t?void 0:t.payment_status)&&void 0!==n?n:null,payment_data:null!==(o=null==t?void 0:t.payment_data)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,id:null!==(a=null==t?void 0:t.id)&&void 0!==a?a:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static addNote(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/order/add-note",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function re(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.gift_card_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}function ae(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,income:null!==(s=null==t?void 0:t.income)&&void 0!==s?s:null,commission:null!==(r=null==t?void 0:t.commission)&&void 0!==r?r:null,cash_income:null!==(a=null==t?void 0:t.cash_income)&&void 0!==a?a:null,check_income:null!==(l=null==t?void 0:t.check_income)&&void 0!==l?l:null,card_charge:null!==(d=null==t?void 0:t.card_charge)&&void 0!==d?d:null,supply_share:null!==(u=null==t?void 0:t.supply_share)&&void 0!==u?u:null,salary:null!==(p=null==t?void 0:t.salary)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,total_commission:null!==(c=null==t?void 0:t.total_commission)&&void 0!==c?c:null,working_hour:null!==(m=null==t?void 0:t.working_hour)&&void 0!==m?m:null,wage_per_hours:null!==(f=null==t?void 0:t.wage_per_hours)&&void 0!==f?f:null,list_detail:(null==t?void 0:t.list_detail)?null==t?void 0:t.list_detail.map((t=>function(t){return{date:null==t?void 0:t.date,final_commission:null==t?void 0:t.final_commission}}(t))):null}}function le(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,owner_percent:null!==(i=null==t?void 0:t.owner_percent)&&void 0!==i?i:null,staff_percent:null!==(n=null==t?void 0:t.staff_percent)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null}}se.API_VERSION=C.V1;class de extends mt{static getPayrollList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/payroll/site/list-payroll",query:t});return function(t){var e,i;return{begin_time:null!==(e=null==t?void 0:t.begin_time)&&void 0!==e?e:null,end_time:null!==(i=null==t?void 0:t.end_time)&&void 0!==i?i:null,employee_list:t.employee_list?t.employee_list.map((t=>function(t){var e,i,n,o,s;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,setting_commission:null!==(s=null==t?void 0:t.setting_commission)&&void 0!==s?s:null,payroll_list:t.payroll_list?t.payroll_list.map((t=>function(t){var e,i,n,o,s,r;return{payroll_id:null!==(e=null==t?void 0:t.payroll_id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,duration:null!==(o=null==t?void 0:t.duration)&&void 0!==o?o:null,final_commission:null!==(s=null==t?void 0:t.final_commission)&&void 0!==s?s:null,id:null!==(r=null==t?void 0:t.id)&&void 0!==r?r:null}}(t))):null}}(t))):null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static approvePayroll(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/payroll/form/approve-payroll",data:t}),null}))}static getCashDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/cashdiscount/setting/get",query:t});return le(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCashDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/cashdiscount/setting/change",data:t});return le(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getIncomeDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/staff/income-detail",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et;return{employee:{user_id:null!==(i=null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(o=null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.name)&&void 0!==o?o:null,code:null!==(r=null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.code)&&void 0!==r?r:null,created_at:null!==(l=null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.created_at)&&void 0!==l?l:null,updated_at:null!==(u=null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.updated_at)&&void 0!==u?u:null,color_code:null!==(_=null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.color_code)&&void 0!==_?_:null,image_url:null!==(m=null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.image_url)&&void 0!==m?m:null,delete_image_url:null!==(h=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.employee)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,commission_type:null!==(T=null===(g=null==t?void 0:t.employee)||void 0===g?void 0:g.commission_type)&&void 0!==T?T:null,turn_priority:null!==(E=null===(S=null==t?void 0:t.employee)||void 0===S?void 0:S.turn_priority)&&void 0!==E?E:null,last_turn_priority:null!==(R=null===(I=null==t?void 0:t.employee)||void 0===I?void 0:I.last_turn_priority)&&void 0!==R?R:null,phone:null!==(A=null===(C=null==t?void 0:t.employee)||void 0===C?void 0:C.phone)&&void 0!==A?A:null,address:null!==(O=null===(N=null==t?void 0:t.employee)||void 0===N?void 0:N.address)&&void 0!==O?O:null,nickname:null!==(M=null===(P=null==t?void 0:t.employee)||void 0===P?void 0:P.nickname)&&void 0!==M?M:null,priority_calendar:null!==(b=null===(D=null==t?void 0:t.employee)||void 0===D?void 0:D.priority_calendar)&&void 0!==b?b:null,staff_commission:null!==(L=null===(x=null==t?void 0:t.employee)||void 0===x?void 0:x.staff_commission)&&void 0!==L?L:null,approved_commission:null!==(U=null===(k=null==t?void 0:t.employee)||void 0===k?void 0:k.approved_commission)&&void 0!==U?U:null},order:null!==(w=null==t?void 0:t.order)&&void 0!==w?w:null,total:{income:null!==(F=null===(V=null==t?void 0:t.total)||void 0===V?void 0:V.income)&&void 0!==F?F:null,commission:null!==(q=null===(B=null==t?void 0:t.total)||void 0===B?void 0:B.commission)&&void 0!==q?q:null,salary:null!==(H=null===(G=null==t?void 0:t.total)||void 0===G?void 0:G.salary)&&void 0!==H?H:null,card_charge:null!==(j=null===(Y=null==t?void 0:t.total)||void 0===Y?void 0:Y.card_charge)&&void 0!==j?j:null,supply_share:null!==(K=null===(W=null==t?void 0:t.total)||void 0===W?void 0:W.supply_share)&&void 0!==K?K:null,tip_after_charge:null!==(Q=null===(J=null==t?void 0:t.total)||void 0===J?void 0:J.tip_after_charge)&&void 0!==Q?Q:null,cash_income:null!==(z=null===($=null==t?void 0:t.total)||void 0===$?void 0:$.cash_income)&&void 0!==z?z:null,check_income:null!==(Z=null===(X=null==t?void 0:t.total)||void 0===X?void 0:X.check_income)&&void 0!==Z?Z:null,total:null!==(et=null===(tt=null==t?void 0:t.total)||void 0===tt?void 0:tt.total)&&void 0!==et?et:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getApprovePayroll(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/approve-period",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o;return{payroll_id:null!==(e=null==t?void 0:t.payroll_id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,total_income:null!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,income:null!==(s=null==t?void 0:t.income)&&void 0!==s?s:null,commission:null!==(r=null==t?void 0:t.commission)&&void 0!==r?r:null,cash_income:null!==(a=null==t?void 0:t.cash_income)&&void 0!==a?a:null,check_income:null!==(l=null==t?void 0:t.check_income)&&void 0!==l?l:null,card_charge:null!==(d=null==t?void 0:t.card_charge)&&void 0!==d?d:null,supply_share:null!==(u=null==t?void 0:t.supply_share)&&void 0!==u?u:null,salary:null!==(p=null==t?void 0:t.salary)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,total_commission:null!==(c=null==t?void 0:t.total_commission)&&void 0!==c?c:null,working_hour:null!==(m=null==t?void 0:t.working_hour)&&void 0!==m?m:null,wage_per_hours:null!==(f=null==t?void 0:t.wage_per_hours)&&void 0!==f?f:null,list_detail:null!==(h=null==t?void 0:t.list_detail)&&void 0!==h?h:null}}(t))):null}}(t)))}))}static exportPayroll(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"v1/pos/payroll/site/export-payroll",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportApprovePayroll(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/site/export-approve-payroll",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportIncomeDetail(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/staff/export-income-detail",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static getSalaryChart(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/salary-chart",query:t});return function(t){return{employee_list:(null==t?void 0:t.employee_list)?function(t){return Object.keys(t).reduce(((e,i)=>{const{user_id:n=null,name:o=null,total_salary:s=null}=null==t?void 0:t[i];return e[i]={user_id:n,name:o,total_salary:s},e}),{})}(null==t?void 0:t.employee_list):null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getAppListPayroll(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/app-list-payroll",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o;return{payroll_id:null!==(e=null==t?void 0:t.payroll)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,total_income:null!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>ae(t))):null}}(t)))}))}static getPayrollDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/get-payroll-detail",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>ae(t)))}))}static getSiteIncomeDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/income-detail",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt;return{employee:{user_id:null!==(i=null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(o=null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.name)&&void 0!==o?o:null,code:null!==(r=null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.code)&&void 0!==r?r:null,created_at:null!==(l=null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.created_at)&&void 0!==l?l:null,updated_at:null!==(u=null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.updated_at)&&void 0!==u?u:null,color_code:null!==(_=null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.color_code)&&void 0!==_?_:null,image_url:null!==(m=null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.image_url)&&void 0!==m?m:null,delete_image_url:null!==(h=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.employee)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,commission_type:null!==(T=null===(g=null==t?void 0:t.employee)||void 0===g?void 0:g.commission_type)&&void 0!==T?T:null,turn_priority:null!==(E=null===(S=null==t?void 0:t.employee)||void 0===S?void 0:S.turn_priority)&&void 0!==E?E:null,last_turn_priority:null!==(R=null===(I=null==t?void 0:t.employee)||void 0===I?void 0:I.last_turn_priority)&&void 0!==R?R:null,phone:null!==(A=null===(C=null==t?void 0:t.employee)||void 0===C?void 0:C.phone)&&void 0!==A?A:null,address:null!==(O=null===(N=null==t?void 0:t.employee)||void 0===N?void 0:N.address)&&void 0!==O?O:null,nickname:null!==(M=null===(P=null==t?void 0:t.employee)||void 0===P?void 0:P.nickname)&&void 0!==M?M:null,priority_calendar:null!==(b=null===(D=null==t?void 0:t.employee)||void 0===D?void 0:D.priority_calendar)&&void 0!==b?b:null,staff_commission:re(null===(x=null==t?void 0:t.employee)||void 0===x?void 0:x.staff_commission),approved_commission:null!==(k=null===(L=null==t?void 0:t.employee)||void 0===L?void 0:L.approved_commission)&&void 0!==k?k:null},details:null==t?void 0:t.details.map((t=>({date:null==t?void 0:t.date,total_income:null==t?void 0:t.total_income,total_commission:null==t?void 0:t.total_commission,total_tip:null==t?void 0:t.total_tip,payroll_daily_details:((null==t?void 0:t.payroll_daily_details)||[]).map((t=>({orderId:null==t?void 0:t.orderId,time_of_day:null==t?void 0:t.time_of_day,commission:null==t?void 0:t.commission,income:null==t?void 0:t.income,tip:null==t?void 0:t.tip})))}))),total:{income:null!==(w=null===(U=null==t?void 0:t.total)||void 0===U?void 0:U.income)&&void 0!==w?w:null,commission:null!==(F=null===(V=null==t?void 0:t.total)||void 0===V?void 0:V.commission)&&void 0!==F?F:null,salary:null!==(q=null===(B=null==t?void 0:t.total)||void 0===B?void 0:B.salary)&&void 0!==q?q:null,card_charge:null!==(H=null===(G=null==t?void 0:t.total)||void 0===G?void 0:G.card_charge)&&void 0!==H?H:null,supply_share:null!==(j=null===(Y=null==t?void 0:t.total)||void 0===Y?void 0:Y.supply_share)&&void 0!==j?j:null,tip_before_charge:null!==(K=null===(W=null==t?void 0:t.total)||void 0===W?void 0:W.tip_before_charge)&&void 0!==K?K:null,tip_charge:null!==(Q=null===(J=null==t?void 0:t.total)||void 0===J?void 0:J.tip_charge)&&void 0!==Q?Q:null,tip_after_charge:null!==(z=null===($=null==t?void 0:t.total)||void 0===$?void 0:$.tip_after_charge)&&void 0!==z?z:null,cash_income:null!==(Z=null===(X=null==t?void 0:t.total)||void 0===X?void 0:X.cash_income)&&void 0!==Z?Z:null,check_income:null!==(et=null===(tt=null==t?void 0:t.total)||void 0===tt?void 0:tt.check_income)&&void 0!==et?et:null,total:null!==(nt=null===(it=null==t?void 0:t.total)||void 0===it?void 0:it.total)&&void 0!==nt?nt:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function ue(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,printer_name:null!==(n=null==t?void 0:t.printer_name)&&void 0!==n?n:null,printer_id:null!==(o=null==t?void 0:t.printer_id)&&void 0!==o?o:null,ip_address:null!==(s=null==t?void 0:t.ip_address)&&void 0!==s?s:null,printer_mac_address:null!==(r=null==t?void 0:t.printer_mac_address)&&void 0!==r?r:null,is_bluetooth:null!==(a=null==t?void 0:t.is_bluetooth)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}de.API_VERSION=C.V1;class pe extends mt{static getPrinterList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/printer/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>ue(t)))}))}static getPrinterDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/printer/site/detail",query:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static createPrinterInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/create",data:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePrinterInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/update",data:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}pe.API_VERSION=C.V1;const _e=t=>{const e=new FormData;for(const[i,n]of Object.entries(t))Array.isArray(n)?e.append(i,JSON.stringify(n)):e.append(i,n);return e};class ce extends mt{static getServiceList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/service/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null}}(t)))}))}static uploadFile(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return((yield this.client.post({path:"/v1/pos/service/form/upload",data:e}))||[]).map((t=>function(t){var e,i,n,o,s,r,a;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,type:null!==(i=null==t?void 0:t.type)&&void 0!==i?i:null,size:null!==(n=null==t?void 0:t.size)&&void 0!==n?n:null,base_url:null!==(o=null==t?void 0:t.base_url)&&void 0!==o?o:null,path:null!==(s=null==t?void 0:t.path)&&void 0!==s?s:null,url:null!==(r=null==t?void 0:t.url)&&void 0!==r?r:null,delete_url:null!==(a=null==t?void 0:t.delete_url)&&void 0!==a?a:null}}(t)))}))}}ce.API_VERSION=C.V1;class me extends mt{static getStaffList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,code:null!==(s=null==t?void 0:t.code)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,permission:(null==t?void 0:t.permission)?null==t?void 0:t.permission.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t))):null}}(t)))}))}static getStaffListByCheckout(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list-by-checkout",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,sub_total:null!==(s=null==t?void 0:t.sub_total)&&void 0!==s?s:null}}(t)))}))}static getStaffTurnChart(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/turn-chart",query:t});return function(t){var e;return{staff:(t.staff||[]).map((e=>{var i,n,o,s,r,a,l,d,u,p,_,c;return{user_id:null!==(i=null==e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(n=null==e?void 0:e.name)&&void 0!==n?n:null,image_url:null!==(o=null==e?void 0:e.image_url)&&void 0!==o?o:null,color_code:null!==(s=null==e?void 0:e.color_code)&&void 0!==s?s:null,code:null!==(r=null==e?void 0:e.code)&&void 0!==r?r:null,status:null!==(a=null==e?void 0:e.status)&&void 0!==a?a:null,permission:(t.permission||[]).map((t=>{var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}})),total_order_complete:null!==(l=null==e?void 0:e.total_order_complete)&&void 0!==l?l:null,total_order_in_progress:null!==(d=null==e?void 0:e.total_order_in_progress)&&void 0!==d?d:null,total_order_price_complete:null!==(u=null==e?void 0:e.total_order_price_complete)&&void 0!==u?u:null,total_order_price_in_progress:null!==(p=null==e?void 0:e.total_order_price_in_progress)&&void 0!==p?p:null,turn_count:null!==(_=null==e?void 0:e.turn_count)&&void 0!==_?_:null,checkin:null!==(c=null==e?void 0:e.checkin)&&void 0!==c?c:null}})),turn_value:null!==(e=null==t?void 0:t.turn_value)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function fe(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,subject:null!==(i=null==t?void 0:t.subject)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,type:null!==(s=null==t?void 0:t.type)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,name:null!==(d=null==t?void 0:t.name)&&void 0!==d?d:null}}me.API_VERSION=C.V1;class he extends mt{static getPosTicketTemplate(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/ticket/site/template",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>fe(t)))}))}static getPosTicketInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/info",query:t});return function(t){var e;return{items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>fe(t))):null,template_text:null!==(e=null==t?void 0:t.template_text)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getPosTicketList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/get-list-ticket",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>fe(t)))}))}static getPosTicketListBlockName(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/list-block-name",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i;return{subject:null!==(e=null==t?void 0:t.subject)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null}}(t)))}))}static createPosTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/create",data:t});return fe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deletePosTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/ticket/form/delete",query:t}),null}))}static updatePosTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/update",query:t,data:t});return fe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static movePosSubject(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/subject-move",data:t}),null}))}static setPosDefaultTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/site/set-default-ticket-template",data:t}),null}))}static sortPosPriority(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/sort-priority",data:t}),null}))}}function ye(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,staff_name:null!==(n=null==t?void 0:t.staff_name)&&void 0!==n?n:null,time_in:null!==(o=null==t?void 0:t.time_in)&&void 0!==o?o:null,time_out:null!==(s=null==t?void 0:t.time_out)&&void 0!==s?s:null,note:null!==(r=null==t?void 0:t.note)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null}}he.API_VERSION=C.V1;class ve extends mt{static getTimeKeepingList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/timekeeping/site/list",query:t}),ye)}))}static addTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/create",data:t}),null}))}static updateTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/edit-time",data:t}),null}))}static removeTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/delete-time",data:t}),null}))}static getTimeKeepingListStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/timekeeping/site/list-staff",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,time_checked:null!==(n=null==t?void 0:t.time_checked)&&void 0!==n?n:null,is_checked_in:null!==(o=null==t?void 0:t.is_checked_in)&&void 0!==o?o:null,image_url:null!==(s=null==t?void 0:t.image_url)&&void 0!==s?s:null,color_code:null!==(r=null==t?void 0:t.color_code)&&void 0!==r?r:null}}(t)))}))}static postTimeKeepingCheckIn(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/add-checkin-time",data:t}),null}))}static postTimeKeepingCheckOut(t){return z(this,void 0,void 0,(function*(){return this.client.post({path:"/v1/pos/timekeeping/form/add-checkout-time",data:t}),null}))}}ve.API_VERSION=C.V1;class ge extends mt{}ge.API_VERSION=C.V1;class Te extends mt{static postLogin(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/user/form/login",data:t})}))}}function Se(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,period:null!==(n=null==t?void 0:t.period)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,custom_days:null!==(a=null==t?void 0:t.custom_days)&&void 0!==a?a:null}}function Ee(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,owner_percentage:null!==(i=null==t?void 0:t.owner_percentage)&&void 0!==i?i:null,staff_percentage:null!==(n=null==t?void 0:t.staff_percentage)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null}}function Ie(t){return null!=t?t:null}function Re(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,system:null!==(i=null==t?void 0:t.system)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,content:null!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null}}function Ce(t){return Re(t)}Te.API_VERSION=C.V1;class Ae extends mt{static getPayrollSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/payroll-setting",query:t});return Se(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePayrollSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-payroll",data:t});return Se(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/discount-setting",query:t});return Ee(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-discount",data:t});return Ee(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTaxSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/tax-setting",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,type:null!==(i=null==t?void 0:t.type)&&void 0!==i?i:null,code:null!==(n=null==t?void 0:t.code)&&void 0!==n?n:null,title:null!==(o=null==t?void 0:t.title)&&void 0!==o?o:null,description:null!==(s=null==t?void 0:t.description)&&void 0!==s?s:null,value:null!==(r=null==t?void 0:t.value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null}}(t)))}))}static updateTaxSetting(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"v1/pos/setting/form/update-tax",data:t}),null}))}static getTurnValue(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-turn-value",query:t});return Ie(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTurnValue(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-turn-value",data:t});return Ie(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTip(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-tip",query:t});return function(t){var e,i;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,status:null!==(i=null==t?void 0:t.status)&&void 0!==i?i:null,tip_items:((null==t?void 0:t.tip_items)||[]).map((t=>{var e,i,n;return{title:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:null,active:null!==(i=null==t?void 0:t.active)&&void 0!==i?i:null,value:null!==(n=null==t?void 0:t.value)&&void 0!==n?n:null}}))}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTip(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-tip",data:t});return function(t){return null!=t?t:null}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/list-answer",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,answer:((null==t?void 0:t.answer)||[]).map((t=>Re(t)))}}(t)))}))}static createAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/create-answer",data:t});return function(t){return{type:null==t?void 0:t.type,content:null==t?void 0:t.content,system:null==t?void 0:t.system,id:null==t?void 0:t.id}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-answer",data:t});return function(t){return Re(t)}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static changeAnswerStatus(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:ft,data:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:ft,query:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:ft,data:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Ne(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,category_name:null!==(o=null==t?void 0:t.category_name)&&void 0!==o?o:null,color_code:null!==(s=null==t?void 0:t.color_code)&&void 0!==s?s:null,description:null!==(r=null==t?void 0:t.description)&&void 0!==r?r:null,image:null!==(a=null==t?void 0:t.image)&&void 0!==a?a:null,price:null!==(l=null==t?void 0:t.price)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}Ae.API_VERSION=C.V1;class Oe extends mt{static sortPostListProduct(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/pos/product/form/sort",data:e}),null}))}static getPosListProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/product/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>Ne(t)))}))}static createPosProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/pos/product/form/create",data:i});return Ne(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static updatePosProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/pos/product/form/update",data:i});return Ne(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deletePosProduct(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/product/form/delete",query:t}),null}))}}Oe.API_VERSION=C.V1;class Pe extends mt{static getListCommissionByStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/commission/site/list-by-staff",query:t});return function(t){function e(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.gift_card_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}return{commission:e(t.commission),salary_commission:e(t.salary_commission),salary:e(t.salary)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Pe.API_VERSION=C.V1;const Me={[C.V1]:e};function De(t){var e,i,n,o,s;return{key:null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null,value:null!==(i=null==t?void 0:t.value)&&void 0!==i?i:null,comment:null!==(n=null==t?void 0:t.comment)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}class be extends mt{static getKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/key-storage/get",query:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListKeyStorage(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/settings/key-storage/list",query:t}),De)}))}static addKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/add",data:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/update",data:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateListKeyStorage(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/update-list",data:t}),null}))}static deleteKeyStorage(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/delete",data:t}),null}))}}function xe(t){var e;return{multiple_type:null!==(e=null==t?void 0:t.multiple_type)&&void 0!==e?e:null}}function Le(t){var e,i,n,o,s,r,a,l;return{page_email:null!==(e=null==t?void 0:t.page_email)&&void 0!==e?e:null,page_birthday:null!==(i=null==t?void 0:t.page_birthday)&&void 0!==i?i:null,ask_email:null!==(n=null==t?void 0:t.ask_email)&&void 0!==n?n:null,ask_birthday:null!==(o=null==t?void 0:t.ask_birthday)&&void 0!==o?o:null,show_point:null!==(s=null==t?void 0:t.show_point)&&void 0!==s?s:null,page_membership:null!==(r=null==t?void 0:t.page_membership)&&void 0!==r?r:null,show_policy:null!==(a=null==t?void 0:t.show_policy)&&void 0!==a?a:null,printer_active:null!==(l=null==t?void 0:t.printer_active)&&void 0!==l?l:null,phone:xe(null==t?void 0:t.phone)}}be.API_VERSION=C.V1;class ke extends mt{static getCheckInConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/check-in/get-config",query:t});return function(t){var e,i,n,o;return{host_package:null!==(e=null==t?void 0:t.host_package)&&void 0!==e?e:null,service_feature:null!==(i=null==t?void 0:t.service_feature)&&void 0!==i?i:null,staff_feature:null!==(n=null==t?void 0:t.staff_feature)&&void 0!==n?n:null,product_feature:null!==(o=null==t?void 0:t.product_feature)&&void 0!==o?o:null,check_in:Le(null==t?void 0:t.check_in)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Ue(t){return{username:null==t?void 0:t.username,access_token:null==t?void 0:t.access_token,email:null==t?void 0:t.email,logged_at:null==t?void 0:t.logged_at}}function we(t){var e,i,n,o,s,r,a,l;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,address:null!==(i=null==t?void 0:t.address)&&void 0!==i?i:null,city:null!==(n=null==t?void 0:t.city)&&void 0!==n?n:null,postal_code:null!==(o=null==t?void 0:t.postal_code)&&void 0!==o?o:null,state_code:null!==(s=null==t?void 0:t.state_code)&&void 0!==s?s:null,short_name:null!==(r=null==t?void 0:t.short_name)&&void 0!==r?r:null,phone:null!==(a=null==t?void 0:t.phone)&&void 0!==a?a:null,description:null!==(l=null==t?void 0:t.description)&&void 0!==l?l:null}}function Ve(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M;return{package_limit:null!==(e=null==t?void 0:t.package_limit)&&void 0!==e?e:null,host_package:null!==(i=null==t?void 0:t.host_package)&&void 0!==i?i:null,staff_code_active:null!==(n=null==t?void 0:t.staff_code_active)&&void 0!==n?n:null,checkout_feature:null!==(o=null==t?void 0:t.checkout_feature)&&void 0!==o?o:null,service_feature:null!==(s=null==t?void 0:t.service_feature)&&void 0!==s?s:null,staff_feature:null!==(r=null==t?void 0:t.staff_feature)&&void 0!==r?r:null,product_feature:null!==(a=null==t?void 0:t.product_feature)&&void 0!==a?a:null,appointment_feature:null!==(l=null==t?void 0:t.appointment_feature)&&void 0!==l?l:null,pos_feature:null!==(d=null==t?void 0:t.pos_feature)&&void 0!==d?d:null,gocheckin_feature:null!==(u=null==t?void 0:t.gocheckin_feature)&&void 0!==u?u:null,order_feature:null!==(p=null==t?void 0:t.order_feature)&&void 0!==p?p:null,service_type_active:null!==(_=null==t?void 0:t.service_type_active)&&void 0!==_?_:null,staff_limit:null!==(c=null==t?void 0:t.staff_limit)&&void 0!==c?c:null,service_distinction:null!==(m=null==t?void 0:t.service_distinction)&&void 0!==m?m:null,calendar_split_time:null!==(f=null==t?void 0:t.calendar_split_time)&&void 0!==f?f:null,passcode:null!==(h=null==t?void 0:t.passcode)&&void 0!==h?h:null,passcode_active:null!==(y=null==t?void 0:t.passcode_active)&&void 0!==y?y:null,country_code:null!==(v=null==t?void 0:t.country_code)&&void 0!==v?v:null,email_attach:null!==(g=null==t?void 0:t.email_attach)&&void 0!==g?g:null,passcode_pos_active:null!==(T=null==t?void 0:t.passcode_pos_active)&&void 0!==T?T:null,show_send_sms_to_waiting_customer:null!==(S=null==t?void 0:t.show_send_sms_to_waiting_customer)&&void 0!==S?S:null,web_admin_passcode_active:null!==(E=null==t?void 0:t.web_admin_passcode_active)&&void 0!==E?E:null,hide_customer_number_on_calendar:null!==(I=null==t?void 0:t.hide_customer_number_on_calendar)&&void 0!==I?I:null,hide_customer_statistic:null!==(R=null==t?void 0:t.hide_customer_statistic)&&void 0!==R?R:null,default_business_work_hour:null!==(C=null==t?void 0:t.default_business_work_hour)&&void 0!==C?C:null,squareup_feature:Fe(null==t?void 0:t.squareup_feature),check_in:Be(null==t?void 0:t.check_in),check_out:He(null==t?void 0:t.check_out),devices:Ye(null==t?void 0:t.devices),language:null!==(A=null==t?void 0:t.language)&&void 0!==A?A:null,mqtt:Je(null==t?void 0:t.mqtt),new_color:null!==(N=null==t?void 0:t.new_color)&&void 0!==N?N:null,qrCode:null!==(O=null==t?void 0:t.qrCode)&&void 0!==O?O:null,flex_checkin:null!==(P=null==t?void 0:t.flex_checkin)&&void 0!==P?P:null,pos_lite_version:null!==(M=null==t?void 0:t.pos_lite_version)&&void 0!==M?M:0}}function Fe(t){var e,i;return{active:null!==(e=null==t?void 0:t.active)&&void 0!==e?e:null,app_id:null!==(i=null==t?void 0:t.app_id)&&void 0!==i?i:null}}function Be(t){return{page_email:null==t?void 0:t.page_email,page_birthday:null==t?void 0:t.page_birthday,ask_email:null==t?void 0:t.ask_email,ask_birthday:null==t?void 0:t.ask_birthday,page_address:null==t?void 0:t.page_address,show_point:null==t?void 0:t.show_point,page_membership:null==t?void 0:t.page_membership,show_policy:null==t?void 0:t.show_policy,printer_active:null==t?void 0:t.printer_active,app_version:qe(null==t?void 0:t.app_version),signature_active:null==t?void 0:t.signature_active}}function qe(t){return{version:null==t?void 0:t.version,content:Ge(null==t?void 0:t.content)}}function Ge(t){var e,i,n;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,title:null!==(i=null==t?void 0:t.title)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,button:((null==t?void 0:t.button)||[]).map((t=>function(t){return{type:null==t?void 0:t.type,name:null==t?void 0:t.name,url:null==t?void 0:t.url}}(t)))}}function He(t){return{mode_status:null==t?void 0:t.mode_status}}function Ye(t){return{printer:je(null==t?void 0:t.printer)}}function je(t){return{selected_id:null==t?void 0:t.selected_id,options:We(null==t?void 0:t.options),lists:((null==t?void 0:t.lists)||[]).map((t=>function(t){var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,mode:null!==(o=null==t?void 0:t.mode)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,data:Ke(null==t?void 0:t.data)}}(t)))}}function We(t){var e,i;return{"font-size":null!==(e=t["font-size"])&&void 0!==e?e:null,transfer_speed:null!==(i=null==t?void 0:t.transfer_speed)&&void 0!==i?i:null}}function Ke(t){var e,i,n,o,s;return{ip:null!==(e=null==t?void 0:t.ip)&&void 0!==e?e:null,port:null!==(i=null==t?void 0:t.port)&&void 0!==i?i:null,peripheralId:null!==(n=null==t?void 0:t.peripheralId)&&void 0!==n?n:null,characteristicUUID:null!==(o=null==t?void 0:t.characteristicUUID)&&void 0!==o?o:null,serviceUUID:null!==(s=null==t?void 0:t.serviceUUID)&&void 0!==s?s:null}}function Je(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,username:null!==(i=null==t?void 0:t.username)&&void 0!==i?i:null,password:null!==(n=null==t?void 0:t.password)&&void 0!==n?n:null,config:Qe(null==t?void 0:t.config)}}function Qe(t){var e;return{call_feature:null!==(e=null==t?void 0:t.call_feature)&&void 0!==e?e:null}}ke.API_VERSION=C.V1;class $e extends mt{static getCheckoutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/checkout/get-config",query:t});return function(t){return{info:Ue(null==t?void 0:t.info),business:we(null==t?void 0:t.business),settings:Ve(null==t?void 0:t.settings)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}$e.API_VERSION=C.V1;const ze={[C.V1]:o};function Xe(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,fee:null!==(i=null==t?void 0:t.fee)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,state:null!==(r=null==t?void 0:t.state)&&void 0!==r?r:null}}function Ze(t){var e;return{is_visible:null!==(e=null==t?void 0:t.is_visible)&&void 0!==e?e:null}}function ti(t){var e,i;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,point_bonus:null!==(i=null==t?void 0:t.point_bonus)&&void 0!==i?i:null}}function ei(t){var e,i,n,o,s,r;return{"config.services.active":null!==(e=t["config.services.active"])&&void 0!==e?e:null,"config.staffs.active":null!==(i=t["config.staffs.active"])&&void 0!==i?i:null,"config.checkin.ask_email.active":null!==(n=t["config.checkin.ask_email.active"])&&void 0!==n?n:null,"config.checkin.ask_birthday.active":null!==(o=t["config.checkin.ask_birthday.active"])&&void 0!==o?o:null,"config.review.notification":null!==(s=t["config.review.notification"])&&void 0!==s?s:null,"config.checkin.printer.active":null!==(r=t["config.checkin.printer.active"])&&void 0!==r?r:null}}function ii(t){var e,i,n,o,s,r,a,l,d,u,p;return{business_id:null!==(e=null==t?void 0:t.business_id)&&void 0!==e?e:null,working_day:null!==(i=null==t?void 0:t.working_day)&&void 0!==i?i:null,mo:null!==(n=null==t?void 0:t.mo)&&void 0!==n?n:null,tu:null!==(o=null==t?void 0:t.tu)&&void 0!==o?o:null,we:null!==(s=null==t?void 0:t.we)&&void 0!==s?s:null,th:null!==(r=null==t?void 0:t.th)&&void 0!==r?r:null,fr:null!==(a=null==t?void 0:t.fr)&&void 0!==a?a:null,sa:null!==(l=null==t?void 0:t.sa)&&void 0!==l?l:null,su:null!==(d=null==t?void 0:t.su)&&void 0!==d?d:null,is_active:null!==(u=null==t?void 0:t.is_active)&&void 0!==u?u:null,type:null!==(p=null==t?void 0:t.type)&&void 0!==p?p:null}}class ni extends mt{static getServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-service-fee",query:t});return Xe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-service-fee",data:t});return Xe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getStoreRatingDisplay(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/store-rating-display",query:t});return Ze(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStoreRatingDisplay(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-store-rating-display",data:t});return Ze(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-checkout-config",query:t});return ti(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCheckOutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-checkout-config",data:t});return ti(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getPolicies(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-policies",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,slug:null!==(i=null==t?void 0:t.slug)&&void 0!==i?i:null,title:null!==(n=null==t?void 0:t.title)&&void 0!==n?n:null,body:null!==(o=null==t?void 0:t.body)&&void 0!==o?o:null,view:null!==(s=null==t?void 0:t.view)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,thumbnail_base_url:null!==(a=null==t?void 0:t.thumbnail_base_url)&&void 0!==a?a:null,thumbnail_path:null!==(l=null==t?void 0:t.thumbnail_path)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,created_by:null!==(u=null==t?void 0:t.created_by)&&void 0!==u?u:null,updated_by:null!==(p=null==t?void 0:t.updated_by)&&void 0!==p?p:null,published_at:null!==(_=null==t?void 0:t.published_at)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,images:null!==(f=null==t?void 0:t.images)&&void 0!==f?f:null,is_show:null!==(h=null==t?void 0:t.is_show)&&void 0!==h?h:null,category:{id:null!==(v=null===(y=null==t?void 0:t.category)||void 0===y?void 0:y.id)&&void 0!==v?v:null,slug:null!==(T=null===(g=null==t?void 0:t.category)||void 0===g?void 0:g.slug)&&void 0!==T?T:null,title:null!==(E=null===(S=null==t?void 0:t.category)||void 0===S?void 0:S.title)&&void 0!==E?E:null,body:null!==(R=null===(I=null==t?void 0:t.category)||void 0===I?void 0:I.body)&&void 0!==R?R:null,parent_id:null!==(A=null===(C=null==t?void 0:t.category)||void 0===C?void 0:C.parent_id)&&void 0!==A?A:null,status:null!==(O=null===(N=null==t?void 0:t.category)||void 0===N?void 0:N.status)&&void 0!==O?O:null,created_at:null!==(M=null===(P=null==t?void 0:t.category)||void 0===P?void 0:P.created_at)&&void 0!==M?M:null,updated_at:null!==(b=null===(D=null==t?void 0:t.category)||void 0===D?void 0:D.updated_at)&&void 0!==b?b:null,type:null!==(L=null===(x=null==t?void 0:t.category)||void 0===x?void 0:x.id)&&void 0!==L?L:null},article_attachments:null!==(k=null==t?void 0:t.article_attachments)&&void 0!==k?k:null}}(t)))}))}static updatePolicies(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/settings/form/update-policies",data:e}),null}))}static getGeneralConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-general-config",query:t});return ei(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateGeneralConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-general-config",data:t});return ei(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getBusinessWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/business-work-hour/get",query:t});return ii(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateBusinessWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/business-work-hour/update",data:t});return ii(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function oi(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,subject:null!==(i=null==t?void 0:t.subject)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,type:null!==(s=null==t?void 0:t.type)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,name:null!==(d=null==t?void 0:t.name)&&void 0!==d?d:null}}ni.API_VERSION=C.V1;class si extends mt{static getCheckInTicketTemplate(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/ticket/site/template",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>oi(t)))}))}static getCheckInTicketInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/info",query:t});return function(t){var e;return{items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>oi(t))):null,template_text:null!==(e=null==t?void 0:t.template_text)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInTicketList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/get-list-ticket",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>oi(t)))}))}static getCheckInTicketListBlockName(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/list-block-name",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i;return{subject:null!==(e=null==t?void 0:t.subject)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null}}(t)))}))}static createCheckInTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/ticket/form/create",data:t});return oi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteCheckInTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/ticket/form/delete",query:t}),null}))}static updateCheckInTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/ticket/form/update",query:t,data:t});return oi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static moveCheckInSubject(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/form/subject-move",data:t}),null}))}static setCheckInDefaultTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/site/set-default-ticket-template",data:t}),null}))}static sortCheckInPriority(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/form/sort-priority",data:t}),null}))}}function ri(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null,supply_share:null!==(m=null==t?void 0:t.supply_share)&&void 0!==m?m:null,show_on_checkin:null!==(f=null==t?void 0:t.show_on_checkin)&&void 0!==f?f:null,show_on_booking:null!==(h=null==t?void 0:t.show_on_booking)&&void 0!==h?h:null,show_on_pos:null!==(y=null==t?void 0:t.show_on_pos)&&void 0!==y?y:null,image_base_url:null!==(v=null==t?void 0:t.image_base_url)&&void 0!==v?v:null,image_path:null!==(g=null==t?void 0:t.image_path)&&void 0!==g?g:null}}function ai(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,description:null!==(o=null==t?void 0:t.description)&&void 0!==o?o:null,parent_id:null!==(s=null==t?void 0:t.parent_id)&&void 0!==s?s:null,owner_id:null!==(r=null==t?void 0:t.owner_id)&&void 0!==r?r:null,created_by:null!==(a=null==t?void 0:t.created_by)&&void 0!==a?a:null,created_at:null!==(l=null==t?void 0:t.created_at)&&void 0!==l?l:null,group_id:null!==(d=null==t?void 0:t.group_id)&&void 0!==d?d:null,status:null!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,type:null!==(p=null==t?void 0:t.type)&&void 0!==p?p:null,updated_at:null!==(_=null==t?void 0:t.updated_at)&&void 0!==_?_:null,image_base_url:null!==(c=null==t?void 0:t.image_base_url)&&void 0!==c?c:null,image_path:null!==(m=null==t?void 0:t.image_path)&&void 0!==m?m:null,services:((null==t?void 0:t.services)||[]).map((t=>{var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null,supply_share:null!==(m=null==t?void 0:t.supply_share)&&void 0!==m?m:null,show_on_checkin:null!==(f=null==t?void 0:t.show_on_checkin)&&void 0!==f?f:null,show_on_booking:null!==(h=null==t?void 0:t.show_on_booking)&&void 0!==h?h:null,show_on_pos:null!==(y=null==t?void 0:t.show_on_pos)&&void 0!==y?y:null,image_base_url:null!==(v=null==t?void 0:t.image_base_url)&&void 0!==v?v:null,image_path:null!==(g=null==t?void 0:t.image_path)&&void 0!==g?g:null}})),color_detail:{id:null!==(h=null===(f=null==t?void 0:t.color_detail)||void 0===f?void 0:f.id)&&void 0!==h?h:null,type:null!==(v=null===(y=null==t?void 0:t.color_detail)||void 0===y?void 0:y.type)&&void 0!==v?v:null,item_id:null!==(T=null===(g=null==t?void 0:t.color_detail)||void 0===g?void 0:g.item_id)&&void 0!==T?T:null,color_code:null!==(E=null===(S=null==t?void 0:t.color_detail)||void 0===S?void 0:S.color_code)&&void 0!==E?E:null,priority:null!==(R=null===(I=null==t?void 0:t.color_detail)||void 0===I?void 0:I.priority)&&void 0!==R?R:null,created_at:null!==(A=null===(C=null==t?void 0:t.color_detail)||void 0===C?void 0:C.created_at)&&void 0!==A?A:null,updated_at:null!==(O=null===(N=null==t?void 0:t.color_detail)||void 0===N?void 0:N.updated_at)&&void 0!==O?O:null,status:null!==(M=null===(P=null==t?void 0:t.color_detail)||void 0===P?void 0:P.status)&&void 0!==M?M:null}}}si.API_VERSION=C.V1;class li extends mt{static getCheckInListByCategory(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/service/site/list-by-category",query:t}),ai)}))}static sortCheckInService(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/service/form/sort",data:e}),null}))}static getCheckInListService(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/service/site/list",query:t});return((null===(i=null===(e=n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>ri(t)))}))}static updateCheckInService(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t.data),n=yield this.client.post({path:"/v1/gocheckin/service/form/update",query:t,data:i});return ri(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deleteCheckInService(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/service/form/delete",query:t}),null}))}static createCheckInService(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/service/form/create",data:i});return ri(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function di(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_detail:{type:null!==(d=null===(l=null==t?void 0:t.color_detail)||void 0===l?void 0:l.type)&&void 0!==d?d:null,id:null!==(p=null===(u=null==t?void 0:t.color_detail)||void 0===u?void 0:u.id)&&void 0!==p?p:null,item_id:null!==(c=null===(_=null==t?void 0:t.color_detail)||void 0===_?void 0:_.item_id)&&void 0!==c?c:null,color_code:null!==(f=null===(m=null==t?void 0:t.color_detail)||void 0===m?void 0:m.color_code)&&void 0!==f?f:null,priority:null!==(y=null===(h=null==t?void 0:t.color_detail)||void 0===h?void 0:h.priority)&&void 0!==y?y:null,created_at:null!==(g=null===(v=null==t?void 0:t.color_detail)||void 0===v?void 0:v.created_at)&&void 0!==g?g:null,updated_at:null!==(S=null===(T=null==t?void 0:t.color_detail)||void 0===T?void 0:T.updated_at)&&void 0!==S?S:null,status:null!==(I=null===(E=null==t?void 0:t.color_detail)||void 0===E?void 0:E.status)&&void 0!==I?I:null}}}li.API_VERSION=C.V1;class ui extends mt{static sortCheckInCategory(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/category/form/sort-category",data:e}),null}))}static getCheckInListCategory(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/category/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_detail:{type:null!==(d=null===(l=null==t?void 0:t.color_detail)||void 0===l?void 0:l.type)&&void 0!==d?d:null,id:null!==(p=null===(u=null==t?void 0:t.color_detail)||void 0===u?void 0:u.id)&&void 0!==p?p:null,item_id:null!==(c=null===(_=null==t?void 0:t.color_detail)||void 0===_?void 0:_.item_id)&&void 0!==c?c:null,color_code:null!==(f=null===(m=null==t?void 0:t.color_detail)||void 0===m?void 0:m.color_code)&&void 0!==f?f:null,priority:null!==(y=null===(h=null==t?void 0:t.color_detail)||void 0===h?void 0:h.priority)&&void 0!==y?y:null,created_at:null!==(g=null===(v=null==t?void 0:t.color_detail)||void 0===v?void 0:v.created_at)&&void 0!==g?g:null,updated_at:null!==(S=null===(T=null==t?void 0:t.color_detail)||void 0===T?void 0:T.updated_at)&&void 0!==S?S:null,status:null!==(I=null===(E=null==t?void 0:t.color_detail)||void 0===E?void 0:E.status)&&void 0!==I?I:null},description:null!==(R=null==t?void 0:t.description)&&void 0!==R?R:null,parent_id:null!==(C=null==t?void 0:t.parent_id)&&void 0!==C?C:null,owner_id:null!==(A=null==t?void 0:t.owner_id)&&void 0!==A?A:null,created_by:null!==(N=null==t?void 0:t.created_by)&&void 0!==N?N:null}}(t)))}))}static updateCheckInCategory(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t.data),n=yield this.client.post({path:"/v1/gocheckin/category/form/update",query:{id:t.id},data:i});return di(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deleteCheckInCategory(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/category/form/delete",query:t}),null}))}static createCheckInCategory(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/category/form/create",data:i});return di(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function pi(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,package_price:null!==(i=null==t?void 0:t.package_price)&&void 0!==i?i:null,package_sms:null!==(n=null==t?void 0:t.package_sms)&&void 0!==n?n:null,package_code:null!==(o=null==t?void 0:t.package_code)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}ui.API_VERSION=C.V1;class _i extends mt{static getSMSRemain(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/sms/site/get-sms-remain",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v;return{remain_balance:{price:null!==(i=null===(e=null==t?void 0:t.remain_balance)||void 0===e?void 0:e.price)&&void 0!==i?i:null,sms:null!==(o=null===(n=null==t?void 0:t.remain_balance)||void 0===n?void 0:n.sms)&&void 0!==o?o:null},sms_count:{send:{price:null!==(a=null===(r=null===(s=null==t?void 0:t.sms_count)||void 0===s?void 0:s.send)||void 0===r?void 0:r.price)&&void 0!==a?a:null,sms:null!==(u=null===(d=null===(l=null==t?void 0:t.sms_count)||void 0===l?void 0:l.send)||void 0===d?void 0:d.sms)&&void 0!==u?u:null},received:{price:null!==(c=null===(_=null===(p=null==t?void 0:t.sms_count)||void 0===p?void 0:p.received)||void 0===_?void 0:_.price)&&void 0!==c?c:null,sms:null!==(h=null===(f=null===(m=null==t?void 0:t.sms_count)||void 0===m?void 0:m.received)||void 0===f?void 0:f.sms)&&void 0!==h?h:null},total:null!==(v=null===(y=null==t?void 0:t.sms_count)||void 0===y?void 0:y.total)&&void 0!==v?v:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getSMSHistory(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/sms/site/history",query:t}),pi)}))}}function ci(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,code:null!==(n=null==t?void 0:t.code)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,color_code:null!==(r=null==t?void 0:t.color_code)&&void 0!==r?r:null,image_url:null!==(a=null==t?void 0:t.image_url)&&void 0!==a?a:null,delete_image_url:null!==(l=null==t?void 0:t.delete_image_url)&&void 0!==l?l:null,priority:null!==(d=null==t?void 0:t.priority)&&void 0!==d?d:null,commission_type:null!==(u=null==t?void 0:t.commission_type)&&void 0!==u?u:null,turn_priority:null!==(p=null==t?void 0:t.turn_priority)&&void 0!==p?p:null,last_turn_priority:null!==(_=null==t?void 0:t.last_turn_priority)&&void 0!==_?_:null,phone:null!==(c=null==t?void 0:t.phone)&&void 0!==c?c:null,address:null!==(m=null==t?void 0:t.address)&&void 0!==m?m:null,nickname:null!==(f=null==t?void 0:t.nickname)&&void 0!==f?f:null,priority_calendar:null!==(h=null==t?void 0:t.priority_calendar)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,booking_active:null!==(v=null==t?void 0:t.booking_active)&&void 0!==v?v:null,email:null!==(g=null==t?void 0:t.email)&&void 0!==g?g:null,commission:{id:null!==(S=null===(T=null==t?void 0:t.commission)||void 0===T?void 0:T.id)&&void 0!==S?S:null,staff_id:null!==(I=null===(E=null==t?void 0:t.commission)||void 0===E?void 0:E.staff_id)&&void 0!==I?I:null,type:null!==(C=null===(R=null==t?void 0:t.commission)||void 0===R?void 0:R.type)&&void 0!==C?C:null,rate:null!==(N=null===(A=null==t?void 0:t.commission)||void 0===A?void 0:A.rate)&&void 0!==N?N:null,created_at:null!==(P=null===(O=null==t?void 0:t.commission)||void 0===O?void 0:O.created_at)&&void 0!==P?P:null,updated_at:null!==(D=null===(M=null==t?void 0:t.commission)||void 0===M?void 0:M.updated_at)&&void 0!==D?D:null,status:null!==(x=null===(b=null==t?void 0:t.commission)||void 0===b?void 0:b.status)&&void 0!==x?x:null,salary_by_period:null!==(k=null===(L=null==t?void 0:t.commission)||void 0===L?void 0:L.salary_by_period)&&void 0!==k?k:null,service_rate:null!==(w=null===(U=null==t?void 0:t.commission)||void 0===U?void 0:U.service_rate)&&void 0!==w?w:null,product_rate:null!==(F=null===(V=null==t?void 0:t.commission)||void 0===V?void 0:V.product_rate)&&void 0!==F?F:null,gift_card_rate:null!==(q=null===(B=null==t?void 0:t.commission)||void 0===B?void 0:B.gift_card_rate)&&void 0!==q?q:null,cash_check_percentage:null!==(H=null===(G=null==t?void 0:t.commission)||void 0===G?void 0:G.cash_check_percentage)&&void 0!==H?H:null,card_charge:null!==(j=null===(Y=null==t?void 0:t.commission)||void 0===Y?void 0:Y.card_charge)&&void 0!==j?j:null,cash_bonus:null!==(K=null===(W=null==t?void 0:t.commission)||void 0===W?void 0:W.cash_bonus)&&void 0!==K?K:null,is_tip_to_check:null!==(Q=null===(J=null==t?void 0:t.commission)||void 0===J?void 0:J.is_tip_to_check)&&void 0!==Q?Q:null,tip_to_check_percentage:null!==(z=null===($=null==t?void 0:t.commission)||void 0===$?void 0:$.tip_to_check_percentage)&&void 0!==z?z:null,count_day_off_state:null!==(Z=null===(X=null==t?void 0:t.commission)||void 0===X?void 0:X.count_day_off_state)&&void 0!==Z?Z:null,count_day_off_value:null!==(et=null===(tt=null==t?void 0:t.commission)||void 0===tt?void 0:tt.count_day_off_value)&&void 0!==et?et:null,day_can_not_off:null!==(nt=null===(it=null==t?void 0:t.commission)||void 0===it?void 0:it.day_can_not_off)&&void 0!==nt?nt:null,salary_type:null!==(st=null===(ot=null==t?void 0:t.commission)||void 0===ot?void 0:ot.salary_type)&&void 0!==st?st:null,salary_per_hour:null!==(at=null===(rt=null==t?void 0:t.commission)||void 0===rt?void 0:rt.salary_per_hour)&&void 0!==at?at:null},permission:((null==t?void 0:t.permission)||[]).map((t=>{var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}))}}function mi(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{employee:{user_id:null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id,name:null===(i=null==t?void 0:t.employee)||void 0===i?void 0:i.user_id,code:null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.user_id,image_url:null===(o=null==t?void 0:t.employee)||void 0===o?void 0:o.user_id,delete_image_url:null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.user_id,phone:null===(r=null==t?void 0:t.employee)||void 0===r?void 0:r.user_id,address:null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.user_id,nickname:null===(l=null==t?void 0:t.employee)||void 0===l?void 0:l.user_id,status:null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.user_id,color_code:null===(u=null==t?void 0:t.employee)||void 0===u?void 0:u.user_id,booking_active:null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.user_id,email:null===(_=null==t?void 0:t.employee)||void 0===_?void 0:_.user_id,commission:null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.user_id,permission:null===(m=null==t?void 0:t.employee)||void 0===m?void 0:m.permission.map((t=>{var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}))},employeeWorkDay:{working_day:null!==(h=null===(f=null==t?void 0:t.employeeWorkDay)||void 0===f?void 0:f.working_day)&&void 0!==h?h:null,mo:null!==(v=null===(y=null==t?void 0:t.employeeWorkDay)||void 0===y?void 0:y.mo)&&void 0!==v?v:null,tu:null!==(T=null===(g=null==t?void 0:t.employeeWorkDay)||void 0===g?void 0:g.tu)&&void 0!==T?T:null,we:null!==(E=null===(S=null==t?void 0:t.employeeWorkDay)||void 0===S?void 0:S.we)&&void 0!==E?E:null,th:null!==(R=null===(I=null==t?void 0:t.employeeWorkDay)||void 0===I?void 0:I.th)&&void 0!==R?R:null,fr:null!==(A=null===(C=null==t?void 0:t.employeeWorkDay)||void 0===C?void 0:C.fr)&&void 0!==A?A:null,sa:null!==(O=null===(N=null==t?void 0:t.employeeWorkDay)||void 0===N?void 0:N.sa)&&void 0!==O?O:null,su:null!==(M=null===(P=null==t?void 0:t.employeeWorkDay)||void 0===P?void 0:P.su)&&void 0!==M?M:null,is_active:null!==(b=null===(D=null==t?void 0:t.employeeWorkDay)||void 0===D?void 0:D.is_active)&&void 0!==b?b:null,employee_id:null!==(L=null===(x=null==t?void 0:t.employeeWorkDay)||void 0===x?void 0:x.employee_id)&&void 0!==L?L:null,id:null!==(U=null===(k=null==t?void 0:t.employeeWorkDay)||void 0===k?void 0:k.id)&&void 0!==U?U:null}}}function fi(t){var e,i,n,o,s,r,a,l,d,u,p;return{working_day:null!==(e=null==t?void 0:t.working_day)&&void 0!==e?e:null,mo:null!==(i=null==t?void 0:t.mo)&&void 0!==i?i:null,tu:null!==(n=null==t?void 0:t.tu)&&void 0!==n?n:null,we:null!==(o=null==t?void 0:t.we)&&void 0!==o?o:null,th:null!==(s=null==t?void 0:t.th)&&void 0!==s?s:null,fr:null!==(r=null==t?void 0:t.fr)&&void 0!==r?r:null,sa:null!==(a=null==t?void 0:t.sa)&&void 0!==a?a:null,su:null!==(l=null==t?void 0:t.su)&&void 0!==l?l:null,is_active:null!==(d=null==t?void 0:t.is_active)&&void 0!==d?d:null,id:null!==(u=null==t?void 0:t.id)&&void 0!==u?u:null,employee_id:null!==(p=null==t?void 0:t.employee_id)&&void 0!==p?p:null}}_i.API_VERSION=C.V1;class hi extends mt{static getListStaff(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/staff/site/list",query:t}),ci)}))}static createStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/create",data:t});return mi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/update",data:t});return mi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteStaff(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/staff/form/delete",query:t}),null}))}static sortStaff(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/staff/form/sort",data:t}),null}))}static getStaffWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/staff/work-hour/info",query:t});return fi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStaffWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/staff/work-hour/update",query:{id:t.id},data:i});return fi(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static getListServiceByStaff(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/staff/employee-service/list-service-by-staff",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,employee_id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,service_id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null,is_active:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,service:{id:null!==(r=null===(s=null==t?void 0:t.service)||void 0===s?void 0:s.id)&&void 0!==r?r:null,name:null!==(l=null===(a=null==t?void 0:t.service)||void 0===a?void 0:a.name)&&void 0!==l?l:null,create_at:null!==(u=null===(d=null==t?void 0:t.service)||void 0===d?void 0:d.create_at)&&void 0!==u?u:null,type:null!==(_=null===(p=null==t?void 0:t.service)||void 0===p?void 0:p.type)&&void 0!==_?_:null,status:null!==(m=null===(c=null==t?void 0:t.service)||void 0===c?void 0:c.status)&&void 0!==m?m:null,group_id:null!==(h=null===(f=null==t?void 0:t.service)||void 0===f?void 0:f.group_id)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.service)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,category_id:null!==(T=null===(g=null==t?void 0:t.service)||void 0===g?void 0:g.category_id)&&void 0!==T?T:null,onwer_id:null!==(E=null===(S=null==t?void 0:t.service)||void 0===S?void 0:S.onwer_id)&&void 0!==E?E:null,price:null!==(R=null===(I=null==t?void 0:t.service)||void 0===I?void 0:I.price)&&void 0!==R?R:null,note:null!==(A=null===(C=null==t?void 0:t.service)||void 0===C?void 0:C.note)&&void 0!==A?A:null,point_bonus:null!==(O=null===(N=null==t?void 0:t.service)||void 0===N?void 0:N.point_bonus)&&void 0!==O?O:null,duration:null!==(M=null===(P=null==t?void 0:t.service)||void 0===P?void 0:P.duration)&&void 0!==M?M:null,buffer_time:null!==(b=null===(D=null==t?void 0:t.service)||void 0===D?void 0:D.buffer_time)&&void 0!==b?b:null,web_booking_visible:null!==(L=null===(x=null==t?void 0:t.service)||void 0===x?void 0:x.web_booking_visible)&&void 0!==L?L:null,supply_share:null!==(U=null===(k=null==t?void 0:t.service)||void 0===k?void 0:k.supply_share)&&void 0!==U?U:null,show_on_checkin:null!==(V=null===(w=null==t?void 0:t.service)||void 0===w?void 0:w.show_on_checkin)&&void 0!==V?V:null,show_on_booking:null!==(B=null===(F=null==t?void 0:t.service)||void 0===F?void 0:F.show_on_booking)&&void 0!==B?B:null,show_on_pos:null!==(G=null===(q=null==t?void 0:t.service)||void 0===q?void 0:q.show_on_pos)&&void 0!==G?G:null,image_base_url:null!==(Y=null===(H=null==t?void 0:t.service)||void 0===H?void 0:H.image_base_url)&&void 0!==Y?Y:null,image_path:null!==(W=null===(j=null==t?void 0:t.service)||void 0===j?void 0:j.image_path)&&void 0!==W?W:null}}}(t)))}))}static addListServiceByStaff(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/staff/employee-service/add-list-services",data:e}),null}))}static deleteListServiceByStaff(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/staff/employee-service/remove-list-services",data:e}),null}))}static getListPermission(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/staff/site/list-permission",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t)))}))}static saveCommission(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/staff/form/save-commission",data:i});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.product_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static updateStaffCommission(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/update-staff-commission",data:t});return ci(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateRoleAppointment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/staff/form/update-role-appointment",data:t}),null}))}}function yi(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,appointment_id:null!==(i=null==t?void 0:t.appointment_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,type:null!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,content:null!==(s=null==t?void 0:t.content)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,staff_name:null!==(a=null==t?void 0:t.staff_name)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,is_read:null!==(d=null==t?void 0:t.is_read)&&void 0!==d?d:null}}function vi(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,user_id:null!==(i=null==t?void 0:t.user_id)&&void 0!==i?i:null,category:null!==(n=null==t?void 0:t.category)&&void 0!==n?n:null,title:null!==(o=null==t?void 0:t.title)&&void 0!==o?o:null,description:null!==(s=null==t?void 0:t.description)&&void 0!==s?s:null,url:null!==(r=null==t?void 0:t.url)&&void 0!==r?r:null,app:null!==(a=null==t?void 0:t.app)&&void 0!==a?a:null,is_read:null!==(l=null==t?void 0:t.is_read)&&void 0!==l?l:null,data:null!==(d=null==t?void 0:t.data)&&void 0!==d?d:null,is_sent:null!==(u=null==t?void 0:t.is_sent)&&void 0!==u?u:null,start_date:null!==(p=null==t?void 0:t.start_date)&&void 0!==p?p:null,end_date:null!==(_=null==t?void 0:t.end_date)&&void 0!==_?_:null,message_id:null!==(c=null==t?void 0:t.message_id)&&void 0!==c?c:null,created_at:null!==(m=null==t?void 0:t.created_at)&&void 0!==m?m:null,updated_at:null!==(f=null==t?void 0:t.updated_at)&&void 0!==f?f:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h:null}}hi.API_VERSION=C.V1;class gi extends mt{static getNotifyAppointment(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/notification/site/list-appointment",query:t}),yi)}))}static getNotifySystem(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/notification/site/list",query:t}),vi)}))}static maskAsRead(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/notification/form/mark-is-read",data:i});return function(t){var e;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function Ti(t){var e,i,n,o;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null}}gi.API_VERSION=C.V1;class Si extends mt{static getInfoGroup(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/group/site/list",query:t}),Ti)}))}static updateListGroup(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/customer/form/update-list-group",data:i});return((null===(e=null==n?void 0:n.results)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n;return{customer_id:null!==(e=null==t?void 0:t.customer_id)&&void 0!==e?e:null,group_id:null!==(i=null==t?void 0:t.group_id)&&void 0!==i?i:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null}}(t)))}))}}Si.API_VERSION=C.V1;const Ei={[C.V1]:s};class Ii extends mt{static getSMSContent(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/appointment/settings/site/get-sms-content",query:t});return function(t){var e,i,n,o,s;return{"config.appointment.content_sms.customer.canceled":null!==(e=t["config.appointment.content_sms.customer.canceled"])&&void 0!==e?e:null,"config.appointment.content_sms.customer.confirmed":null!==(i=t["config.appointment.content_sms.customer.confirmed"])&&void 0!==i?i:null,"config.appointment.content_sms.customer.scheduled":null!==(n=t["config.appointment.content_sms.customer.scheduled"])&&void 0!==n?n:null,"config.appointment.remind_content":null!==(o=t["config.appointment.remind_content"])&&void 0!==o?o:null,"config.gocheckin.sms_for_waiting_customer_content":null!==(s=t["config.gocheckin.sms_for_waiting_customer_content"])&&void 0!==s?s:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateSMSContent(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/appointment/settings/form/update-sms-content",data:t});return function(t){var e,i,n,o,s;return{key:null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null,value:null!==(i=null==t?void 0:t.value)&&void 0!==i?i:null,comment:null!==(n=null==t?void 0:t.comment)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ii.API_VERSION=C.V1;const Ri={[C.V1]:r};class Ci extends mt{static getUserInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/user/site/info",query:t});return function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,username:null!==(i=null==t?void 0:t.username)&&void 0!==i?i:null,email:null!==(n=null==t?void 0:t.email)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,logged_at:null!==(a=null==t?void 0:t.logged_at)&&void 0!==a?a:null,first_sign_in:null!==(l=null==t?void 0:t.first_sign_in)&&void 0!==l?l:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ci.API_VERSION=C.V1;const Ai={[C.V1]:a};class Ni extends mt{static login(t){var e;return z(this,void 0,void 0,(function*(){const i=new FormData;i.append("username",t.username),i.append("password",t.password);const n=yield this.client.post({path:t.domain+"/v1/user/form/login",data:i,headers:{"G-ClientID":t.g_client_id}});return function(t){var e,i,n,o,s,r,a,l,d;return{access_token:null!==(e=null==t?void 0:t.access_token)&&void 0!==e?e:null,user_info:{username:null!==(n=null===(i=null==t?void 0:t.user_info)||void 0===i?void 0:i.username)&&void 0!==n?n:null,email:null!==(s=null===(o=null==t?void 0:t.user_info)||void 0===o?void 0:o.email)&&void 0!==s?s:null,logged_at:null!==(a=null===(r=null==t?void 0:t.user_info)||void 0===r?void 0:r.logged_at)&&void 0!==a?a:null,first_sign_in:null!==(d=null===(l=null==t?void 0:t.user_info)||void 0===l?void 0:l.first_sign_in)&&void 0!==d?d:null}}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static forgotPassword(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/user/form/forgot-password",data:e}),null}))}static getDnsInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"https://dns.fast-boy.net/site/get-info",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,external_id:null!==(i=null==t?void 0:t.external_id)&&void 0!==i?i:null,client_id:null!==(n=null==t?void 0:t.client_id)&&void 0!==n?n:null,name:null!==(o=null==t?void 0:t.name)&&void 0!==o?o:null,domain:null!==(s=null==t?void 0:t.domain)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,api_version:null!==(d=null==t?void 0:t.api_version)&&void 0!==d?d:null,category:null!==(u=null==t?void 0:t.category)&&void 0!==u?u:null,booking_version:null!==(p=null==t?void 0:t.booking_version)&&void 0!==p?p:null,business_detail:null!==(_=null==t?void 0:t.business_detail)&&void 0!==_?_:null,app_version:{id:null!==(m=null===(c=null==t?void 0:t.app_version)||void 0===c?void 0:c.id)&&void 0!==m?m:null,type:null!==(h=null===(f=null==t?void 0:t.app_version)||void 0===f?void 0:f.type)&&void 0!==h?h:null,auto_assign:null!==(v=null===(y=null==t?void 0:t.app_version)||void 0===y?void 0:y.auto_assign)&&void 0!==v?v:null,version:null!==(T=null===(g=null==t?void 0:t.app_version)||void 0===g?void 0:g.version)&&void 0!==T?T:null,data:null!==(E=null===(S=null==t?void 0:t.app_version)||void 0===S?void 0:S.data)&&void 0!==E?E:null,created_at:null!==(R=null===(I=null==t?void 0:t.app_version)||void 0===I?void 0:I.created_at)&&void 0!==R?R:null,updated_at:null!==(A=null===(C=null==t?void 0:t.app_version)||void 0===C?void 0:C.updated_at)&&void 0!==A?A:null,status:null!==(O=null===(N=null==t?void 0:t.app_version)||void 0===N?void 0:N.status)&&void 0!==O?O:null},app_mercure:{id:null!==(M=null===(P=null==t?void 0:t.app_mercure)||void 0===P?void 0:P.id)&&void 0!==M?M:null,type:null!==(b=null===(D=null==t?void 0:t.app_mercure)||void 0===D?void 0:D.type)&&void 0!==b?b:null,auto_assign:null!==(L=null===(x=null==t?void 0:t.app_mercure)||void 0===x?void 0:x.auto_assign)&&void 0!==L?L:null,version:null!==(U=null===(k=null==t?void 0:t.app_mercure)||void 0===k?void 0:k.version)&&void 0!==U?U:null,data:null!==(V=null===(w=null==t?void 0:t.app_mercure)||void 0===w?void 0:w.data)&&void 0!==V?V:null,created_at:null!==(B=null===(F=null==t?void 0:t.app_mercure)||void 0===F?void 0:F.created_at)&&void 0!==B?B:null,updated_at:null!==(G=null===(q=null==t?void 0:t.app_mercure)||void 0===q?void 0:q.updated_at)&&void 0!==G?G:null,status:null!==(Y=null===(H=null==t?void 0:t.app_mercure)||void 0===H?void 0:H.status)&&void 0!==Y?Y:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ni.API_VERSION=C.V1;const Oi={[C.V1]:l},Pi={Context:lt,PosClientApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Me[t])throw new Error("Can't not find API of this version!");return Me[t]})(n);this.batch_history=o.BatchHistory,this.business=o.Business,this.call=o.Call,this.category=o.Category,this.check_in=o.CheckIn,this.check_out=o.CheckOut,this.combo=o.Combo,this.customer=o.Customer,this.gift_card=o.GiftCard,this.income=o.Income,this.key_storage=o.KeyStorage,this.order=o.Order,this.payroll=o.Payroll,this.printer=o.Printer,this.service=o.Service,this.staff=o.Staff,this.ticket=o.Ticket,this.time_keeping=o.TimeKeeping,this.unsubscribe_contact=o.UnsubscribeContact,this.user=o.User,this.setting=o.Setting,this.product=o.Product,this.commission=o.Commission}},SettingsApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!ze[t])throw new Error("Can't not find API of this version!");return ze[t]})(n);this.keyStorage=o.KeyStorage,this.checkIn=o.CheckIn,this.checkout=o.Checkout}},GoCheckInApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ei[t])throw new Error("Can't not find API of this version!");return Ei[t]})(n);this.settings=o.Settings,this.ticket=o.Ticket,this.service=o.Service,this.category=o.Category,this.sms=o.SMS,this.staff=o.Staff,this.notification=o.Notification,this.customer=o.Customer}},AppointmentApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ri[t])throw new Error("Can't not find API of this version!");return Ri[t]})(n);this.settings=o.Settings}},UserApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ai[t])throw new Error("Can't not find API of this version!");return Ai[t]})(n);this.auth=o.Auth}},BaseApi:class{constructor(t){mt.setClient("https://gci2020.fast-boy.net","","",t);const e=(t=>{if(!Oi[t])throw new Error("Can't not find API of this version!");return Oi[t]})(t);this.auth=e.Auth}},Errors:t,Clover:$,Payment:null};window.Gap=Pi;const Mi=Pi})(),n})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GapSdk=e():t.GapSdk=e()}(self,(()=>(()=>{var t={9669:(t,e,i)=>{t.exports=i(51609)},55448:(t,e,i)=>{"use strict";var n=i(64867),o=i(36026),s=i(4372),r=i(15327),a=i(94097),l=i(84109),d=i(67985),u=i(77874),p=i(82648),_=i(60644),c=i(90205);t.exports=function(t){return new Promise((function(e,i){var m,f=t.data,h=t.headers,y=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(m),t.signal&&t.signal.removeEventListener("abort",m)}n.isFormData(f)&&n.isStandardBrowserEnv()&&delete h["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var T=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(T+":"+S)}var E=a(t.baseURL,t.url);function I(){if(g){var n="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,s={data:y&&"text"!==y&&"json"!==y?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:t,request:g};o((function(t){e(t),v()}),(function(t){i(t),v()}),s),g=null}}if(g.open(t.method.toUpperCase(),r(E,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=I:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(I)},g.onabort=function(){g&&(i(new p("Request aborted",p.ECONNABORTED,t,g)),g=null)},g.onerror=function(){i(new p("Network Error",p.ERR_NETWORK,t,g,g)),g=null},g.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||u;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(new p(e,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,t,g)),g=null},n.isStandardBrowserEnv()){var R=(t.withCredentials||d(E))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;R&&(h[t.xsrfHeaderName]=R)}"setRequestHeader"in g&&n.forEach(h,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete h[e]:g.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),y&&"json"!==y&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(m=function(t){g&&(i(!t||t&&t.type?new _:t),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(m),t.signal&&(t.signal.aborted?m():t.signal.addEventListener("abort",m))),f||(f=null);var C=c(E);C&&-1===["http","https","file"].indexOf(C)?i(new p("Unsupported protocol "+C+":",p.ERR_BAD_REQUEST,t)):g.send(f)}))}},51609:(t,e,i)=>{"use strict";var n=i(64867),o=i(91849),s=i(30321),r=i(47185),a=function t(e){var i=new s(e),a=o(s.prototype.request,i);return n.extend(a,s.prototype,i),n.extend(a,i),a.create=function(i){return t(r(e,i))},a}(i(45546));a.Axios=s,a.CanceledError=i(60644),a.CancelToken=i(14972),a.isCancel=i(26502),a.VERSION=i(97288).version,a.toFormData=i(47675),a.AxiosError=i(82648),a.Cancel=a.CanceledError,a.all=function(t){return Promise.all(t)},a.spread=i(8713),a.isAxiosError=i(16268),t.exports=a,t.exports.default=a},14972:(t,e,i)=>{"use strict";var n=i(60644);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var i=this;this.promise.then((function(t){if(i._listeners){var e,n=i._listeners.length;for(e=0;e<n;e++)i._listeners[e](t);i._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){i.subscribe(t),e=t})).then(t);return n.cancel=function(){i.unsubscribe(e)},n},t((function(t){i.reason||(i.reason=new n(t),e(i.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},60644:(t,e,i)=>{"use strict";var n=i(82648);function o(t){n.call(this,null==t?"canceled":t,n.ERR_CANCELED),this.name="CanceledError"}i(64867).inherits(o,n,{__CANCEL__:!0}),t.exports=o},26502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:(t,e,i)=>{"use strict";var n=i(64867),o=i(15327),s=i(80782),r=i(13572),a=i(47185),l=i(94097),d=i(54875),u=d.validators;function p(t){this.defaults=t,this.interceptors={request:new s,response:new s}}p.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var i=e.transitional;void 0!==i&&d.assertOptions(i,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var p=[r,void 0];for(Array.prototype.unshift.apply(p,n),p=p.concat(l),s=Promise.resolve(e);p.length;)s=s.then(p.shift(),p.shift());return s}for(var _=e;n.length;){var c=n.shift(),m=n.shift();try{_=c(_)}catch(t){m(t);break}}try{s=r(_)}catch(t){return Promise.reject(t)}for(;l.length;)s=s.then(l.shift(),l.shift());return s},p.prototype.getUri=function(t){t=a(this.defaults,t);var e=l(t.baseURL,t.url);return o(e,t.params,t.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(t){p.prototype[t]=function(e,i){return this.request(a(i||{},{method:t,url:e,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){function e(e){return function(i,n,o){return this.request(a(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}p.prototype[t]=e(),p.prototype[t+"Form"]=e(!0)})),t.exports=p},82648:(t,e,i)=>{"use strict";var n=i(64867);function o(t,e,i,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var s=o.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){r[t]={value:t}})),Object.defineProperties(o,r),Object.defineProperty(s,"isAxiosError",{value:!0}),o.from=function(t,e,i,r,a,l){var d=Object.create(s);return n.toFlatObject(t,d,(function(t){return t!==Error.prototype})),o.call(d,t.message,e,i,r,a),d.name=t.name,l&&Object.assign(d,l),d},t.exports=o},80782:(t,e,i)=>{"use strict";var n=i(64867);function o(){this.handlers=[]}o.prototype.use=function(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},94097:(t,e,i)=>{"use strict";var n=i(91793),o=i(7303);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},13572:(t,e,i)=>{"use strict";var n=i(64867),o=i(18527),s=i(26502),r=i(45546),a=i(60644);function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a}t.exports=function(t){return l(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||r.adapter)(t).then((function(e){return l(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},47185:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){e=e||{};var i={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function s(i){return n.isUndefined(e[i])?n.isUndefined(t[i])?void 0:o(void 0,t[i]):o(t[i],e[i])}function r(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function a(i){return n.isUndefined(e[i])?n.isUndefined(t[i])?void 0:o(void 0,t[i]):o(void 0,e[i])}function l(i){return i in e?o(t[i],e[i]):i in t?o(void 0,t[i]):void 0}var d={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=d[t]||s,o=e(t);n.isUndefined(o)&&e!==l||(i[t]=o)})),i}},36026:(t,e,i)=>{"use strict";var n=i(82648);t.exports=function(t,e,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?e(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}},18527:(t,e,i)=>{"use strict";var n=i(64867),o=i(45546);t.exports=function(t,e,i){var s=this||o;return n.forEach(i,(function(i){t=i.call(s,t,e)})),t}},45546:(t,e,i)=>{"use strict";var n=i(64867),o=i(16016),s=i(82648),r=i(77874),a=i(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function d(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,p={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=i(55448)),u),transformRequest:[function(t,e){if(o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t))return t;if(n.isArrayBufferView(t))return t.buffer;if(n.isURLSearchParams(t))return d(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=n.isObject(t),r=e&&e["Content-Type"];if((i=n.isFileList(t))||s&&"multipart/form-data"===r){var l=this.env&&this.env.FormData;return a(i?{"files[]":t}:t,l&&new l)}return s||"application/json"===r?(d(e,"application/json"),function(t,e,i){if(n.isString(t))try{return(0,JSON.parse)(t),n.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||p.transitional,i=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,r=!i&&"json"===this.responseType;if(r||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw s.from(t,s.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:i(91623)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){p.headers[t]=n.merge(l)})),t.exports=p},77874:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:t=>{t.exports={version:"0.27.2"}},91849:t=>{"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},15327:(t,e,i)=>{"use strict";var n=i(64867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var r=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),r.push(o(e)+"="+o(t))})))})),s=r.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,i)=>{"use strict";var n=i(64867);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,i,o,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(s)&&a.push("domain="+s),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},16268:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},67985:(t,e,i)=>{"use strict";var n=i(64867);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(e){var i=n.isString(e)?o(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},16016:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}},91623:t=>{t.exports=null},84109:(t,e,i)=>{"use strict";var n=i(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,s,r={};return t?(n.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=n.trim(t.substr(0,s)).toLowerCase(),i=n.trim(t.substr(s+1)),e){if(r[e]&&o.indexOf(e)>=0)return;r[e]="set-cookie"===e?(r[e]?r[e]:[]).concat([i]):r[e]?r[e]+", "+i:i}})),r):r}},90205:t=>{"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},47675:(t,e,i)=>{"use strict";var n=i(64867);t.exports=function(t,e){e=e||new FormData;var i=[];function o(t){return null===t?"":n.isDate(t)?t.toISOString():n.isArrayBuffer(t)||n.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(s,r){if(n.isPlainObject(s)||n.isArray(s)){if(-1!==i.indexOf(s))throw Error("Circular reference detected in "+r);i.push(s),n.forEach(s,(function(i,s){if(!n.isUndefined(i)){var a,l=r?r+"."+s:s;if(i&&!r&&"object"==typeof i)if(n.endsWith(s,"{}"))i=JSON.stringify(i);else if(n.endsWith(s,"[]")&&(a=n.toArray(i)))return void a.forEach((function(t){!n.isUndefined(t)&&e.append(l,o(t))}));t(i,l)}})),i.pop()}else e.append(r,o(s))}(t),e}},54875:(t,e,i)=>{"use strict";var n=i(97288).version,o=i(82648),s={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){s[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}}));var r={};s.transitional=function(t,e,i){function s(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,n,a){if(!1===t)throw new o(s(n," has been removed"+(e?" in "+e:"")),o.ERR_DEPRECATED);return e&&!r[n]&&(r[n]=!0,console.warn(s(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,n,a)}},t.exports={assertOptions:function(t,e,i){if("object"!=typeof t)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),s=n.length;s-- >0;){var r=n[s],a=e[r];if(a){var l=t[r],d=void 0===l||a(l,r,t);if(!0!==d)throw new o("option "+r+" must be "+d,o.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new o("Unknown option "+r,o.ERR_BAD_OPTION)}},validators:s}},64867:(t,e,i)=>{"use strict";var n,o=i(91849),s=Object.prototype.toString,r=(n=Object.create(null),function(t){var e=s.call(t);return n[e]||(n[e]=e.slice(8,-1).toLowerCase())});function a(t){return t=t.toLowerCase(),function(e){return r(e)===t}}function l(t){return Array.isArray(t)}function d(t){return void 0===t}var u=a("ArrayBuffer");function p(t){return null!==t&&"object"==typeof t}function _(t){if("object"!==r(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var c=a("Date"),m=a("File"),f=a("Blob"),h=a("FileList");function y(t){return"[object Function]"===s.call(t)}var v=a("URLSearchParams");function g(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),l(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var T,S=(T="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return T&&t instanceof T});t.exports={isArray:l,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!d(t)&&null!==t.constructor&&!d(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||s.call(t)===e||y(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:p,isPlainObject:_,isUndefined:d,isDate:c,isFile:m,isBlob:f,isFunction:y,isStream:function(t){return p(t)&&y(t.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:g,merge:function t(){var e={};function i(i,n){_(e[n])&&_(i)?e[n]=t(e[n],i):_(i)?e[n]=t({},i):l(i)?e[n]=i.slice():e[n]=i}for(var n=0,o=arguments.length;n<o;n++)g(arguments[n],i);return e},extend:function(t,e,i){return g(e,(function(e,n){t[n]=i&&"function"==typeof e?o(e,i):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,i,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,i&&Object.assign(t.prototype,i)},toFlatObject:function(t,e,i){var n,o,s,r={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)r[s=n[o]]||(e[s]=t[s],r[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:r,kindOfTest:a,endsWith:function(t,e,i){t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=e.length;var n=t.indexOf(e,i);return-1!==n&&n===i},toArray:function(t){if(!t)return null;var e=t.length;if(d(e))return null;for(var i=new Array(e);e-- >0;)i[e]=t[e];return i},isTypedArray:S,isFileList:h}},27484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",n="second",o="minute",s="hour",r="day",a="week",l="month",d="quarter",u="year",p="date",_="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},y={s:h,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),o=i%60;return(e<=0?"+":"-")+h(n,2,"0")+":"+h(o,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var n=12*(i.year()-e.year())+(i.month()-e.month()),o=e.clone().add(n,l),s=i-o<0,r=e.clone().add(n+(s?-1:1),l);return+(-(n+(i-o)/(s?o-r:r-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:u,w:a,d:r,D:p,h:s,m:o,s:n,ms:i,Q:d}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",g={};g[v]=f;var T=function(t){return t instanceof R},S=function t(e,i,n){var o;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();g[s]&&(o=s),i&&(g[s]=i,o=s);var r=e.split("-");if(!o&&r.length>1)return t(r[0])}else{var a=e.name;g[a]=e,o=a}return!n&&o&&(v=o),o||!n&&v},E=function(t,e){if(T(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new R(i)},I=y;I.l=S,I.i=T,I.w=function(t,e){return E(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var R=function(){function f(t){this.$L=S(t.locale,null,!0),this.parse(t)}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(I.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(c);if(n){var o=n[2]-1||0,s=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return I},h.isValid=function(){return!(this.$d.toString()===_)},h.isSame=function(t,e){var i=E(t);return this.startOf(e)<=i&&i<=this.endOf(e)},h.isAfter=function(t,e){return E(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<E(t)},h.$g=function(t,e,i){return I.u(t)?this[e]:this.set(i,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,e){var i=this,d=!!I.u(e)||e,_=I.p(t),c=function(t,e){var n=I.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return d?n:n.endOf(r)},m=function(t,e){return I.w(i.toDate()[t].apply(i.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},f=this.$W,h=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(_){case u:return d?c(1,0):c(31,11);case l:return d?c(1,h):c(0,h+1);case a:var g=this.$locale().weekStart||0,T=(f<g?f+7:f)-g;return c(d?y-T:y+(6-T),h);case r:case p:return m(v+"Hours",0);case s:return m(v+"Minutes",1);case o:return m(v+"Seconds",2);case n:return m(v+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(t,e){var a,d=I.p(t),_="set"+(this.$u?"UTC":""),c=(a={},a[r]=_+"Date",a[p]=_+"Date",a[l]=_+"Month",a[u]=_+"FullYear",a[s]=_+"Hours",a[o]=_+"Minutes",a[n]=_+"Seconds",a[i]=_+"Milliseconds",a)[d],m=d===r?this.$D+(e-this.$W):e;if(d===l||d===u){var f=this.clone().set(p,1);f.$d[c](m),f.init(),this.$d=f.set(p,Math.min(this.$D,f.daysInMonth())).$d}else c&&this.$d[c](m);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[I.p(t)]()},h.add=function(i,d){var p,_=this;i=Number(i);var c=I.p(d),m=function(t){var e=E(_);return I.w(e.date(e.date()+Math.round(t*i)),_)};if(c===l)return this.set(l,this.$M+i);if(c===u)return this.set(u,this.$y+i);if(c===r)return m(1);if(c===a)return m(7);var f=(p={},p[o]=t,p[s]=e,p[n]=1e3,p)[c]||1,h=this.$d.getTime()+i*f;return I.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||_;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=I.z(this),s=this.$H,r=this.$m,a=this.$M,l=i.weekdays,d=i.months,u=function(t,i,o,s){return t&&(t[i]||t(e,n))||o[i].slice(0,s)},p=function(t){return I.s(s%12||12,t,"0")},c=i.meridiem||function(t,e,i){var n=t<12?"AM":"PM";return i?n.toLowerCase():n},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:I.s(a+1,2,"0"),MMM:u(i.monthsShort,a,d,3),MMMM:u(d,a),D:this.$D,DD:I.s(this.$D,2,"0"),d:String(this.$W),dd:u(i.weekdaysMin,this.$W,l,2),ddd:u(i.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(s),HH:I.s(s,2,"0"),h:p(1),hh:p(2),a:c(s,r,!0),A:c(s,r,!1),m:String(r),mm:I.s(r,2,"0"),s:String(this.$s),ss:I.s(this.$s,2,"0"),SSS:I.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(t,e){return e||f[t]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(i,p,_){var c,m=I.p(p),f=E(i),h=(f.utcOffset()-this.utcOffset())*t,y=this-f,v=I.m(this,f);return v=(c={},c[u]=v/12,c[l]=v,c[d]=v/3,c[a]=(y-h)/6048e5,c[r]=(y-h)/864e5,c[s]=y/e,c[o]=y/t,c[n]=y/1e3,c)[m]||y,_?v:I.a(v)},h.daysInMonth=function(){return this.endOf(l).$D},h.$locale=function(){return g[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),n=S(t,e,!0);return n&&(i.$L=n),i},h.clone=function(){return I.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),C=R.prototype;return E.prototype=C,[["$ms",i],["$s",n],["$m",o],["$H",s],["$W",r],["$M",l],["$y",u],["$D",p]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),E.extend=function(t,e){return t.$i||(t(e,R,E),t.$i=!0),E},E.locale=S,E.isDayjs=T,E.unix=function(t){return E(1e3*t)},E.en=g[v],E.Ls=g,E.p={},E}()},17187:t=>{"use strict";var e,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(t,e,i){return Function.prototype.apply.call(t,e,i)};e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(i,n){function o(i){t.removeListener(e,s),n(i)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",o),i([].slice.call(arguments))}f(t,e,s,{once:!0}),"error"!==e&&function(t,e,i){"function"==typeof t.on&&f(t,"error",e,{once:!0})}(t,o)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var r=10;function a(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function d(t,e,i,n){var o,s,r,d;if(a(i),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,i.listener?i.listener:i),s=t._events),r=s[e]),void 0===r)r=s[e]=i,++t._eventsCount;else if("function"==typeof r?r=s[e]=n?[i,r]:[r,i]:n?r.unshift(i):r.push(i),(o=l(t))>0&&r.length>o&&!r.warned){r.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=r.length,d=u,console&&console.warn&&console.warn(d)}return t}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,i){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},o=u.bind(n);return o.listener=i,n.wrapFn=o,o}function _(t,e,i){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?i?[o.listener||o]:[o]:i?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(o):m(o,o.length)}function c(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function m(t,e){for(var i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i}function f(t,e,i,n){if("function"==typeof t.on)n.once?t.once(e,i):t.on(e,i);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(s){n.once&&t.removeEventListener(e,o),i(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");r=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var o="error"===t,s=this._events;if(void 0!==s)o=o&&void 0===s.error;else if(!o)return!1;if(o){var r;if(e.length>0&&(r=e[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var l=s[t];if(void 0===l)return!1;if("function"==typeof l)n(l,this,e);else{var d=l.length,u=m(l,d);for(i=0;i<d;++i)n(u[i],this,e)}return!0},s.prototype.addListener=function(t,e){return d(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return d(this,t,e,!0)},s.prototype.once=function(t,e){return a(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return a(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var i,n,o,s,r;if(a(e),void 0===(n=this._events))return this;if(void 0===(i=n[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(o=-1,s=i.length-1;s>=0;s--)if(i[s]===e||i[s].listener===e){r=i[s].listener,o=s;break}if(o<0)return this;0===o?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,o),1===i.length&&(n[t]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",t,r||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0===arguments.length){var o,s=Object.keys(i);for(n=0;n<s.length;++n)"removeListener"!==(o=s[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=i[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return _(this,t,!0)},s.prototype.rawListeners=function(t){return _(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):c.call(t,e)},s.prototype.listenerCount=c,s.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},35823:t=>{t.exports=function(t,e,i,n){var o=new Blob(void 0!==n?[n,t]:[t],{type:i||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(o,e);else{var s=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(o):window.webkitURL.createObjectURL(o),r=document.createElement("a");r.style.display="none",r.href=s,r.setAttribute("download",e),void 0===r.download&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),setTimeout((function(){document.body.removeChild(r),window.URL.revokeObjectURL(s)}),200)}}},12033:t=>{var e=function(){this._class_=e,this.developerAppId=void 0,this.applicationName=void 0,this.applicationID=void 0,this.applicationVersion=void 0,this.sourceSDK=void 0,this.sourceSDKVersion=void 0};e.prototype.setDeveloperAppId=function(t){this.developerAppId=t},e.prototype.getDeveloperAppId=function(){return this.developerAppId},e.prototype.setApplicationName=function(t){this.applicationName=t},e.prototype.getApplicationName=function(){return this.applicationName},e.prototype.setApplicationID=function(t){this.applicationID=t},e.prototype.getApplicationID=function(){return this.applicationID},e.prototype.setApplicationVersion=function(t){this.applicationVersion=t},e.prototype.getApplicationVersion=function(){return this.applicationVersion},e.prototype.setSourceSDK=function(t){this.sourceSDK=t},e.prototype.getSourceSDK=function(){return this.sourceSDK},e.prototype.setSourceSDKVersion=function(t){this.sourceSDKVersion=t},e.prototype.getSourceSDKVersion=function(){return this.sourceSDKVersion},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.developerAppId={},e._meta_.fields.developerAppId.type=String,e._meta_.fields.applicationName={},e._meta_.fields.applicationName.type=String,e._meta_.fields.applicationID={},e._meta_.fields.applicationID.type=String,e._meta_.fields.applicationVersion={},e._meta_.fields.applicationVersion.type=String,e._meta_.fields.sourceSDK={},e._meta_.fields.sourceSDK.type=String,e._meta_.fields.sourceSDKVersion={},e._meta_.fields.sourceSDKVersion.type=String,t.exports=e},64280:(t,e,i)=>{function n(){}t.exports.apps=n,n.AppTracking=i(12033),t.exports=n},81565:t=>{var e=function(){this._class_=e,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.city=void 0,this.country=void 0,this.phoneNumber=void 0,this.state=void 0,this.zip=void 0};e.prototype.setAddress1=function(t){this.address1=t},e.prototype.getAddress1=function(){return this.address1},e.prototype.setAddress2=function(t){this.address2=t},e.prototype.getAddress2=function(){return this.address2},e.prototype.setAddress3=function(t){this.address3=t},e.prototype.getAddress3=function(){return this.address3},e.prototype.setCity=function(t){this.city=t},e.prototype.getCity=function(){return this.city},e.prototype.setCountry=function(t){this.country=t},e.prototype.getCountry=function(){return this.country},e.prototype.setPhoneNumber=function(t){this.phoneNumber=t},e.prototype.getPhoneNumber=function(){return this.phoneNumber},e.prototype.setState=function(t){this.state=t},e.prototype.getState=function(){return this.state},e.prototype.setZip=function(t){this.zip=t},e.prototype.getZip=function(){return this.zip},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.address1={},e._meta_.fields.address1.type=String,e._meta_.fields.address2={},e._meta_.fields.address2.type=String,e._meta_.fields.address3={},e._meta_.fields.address3.type=String,e._meta_.fields.city={},e._meta_.fields.city.type=String,e._meta_.fields.country={},e._meta_.fields.country.type=String,e._meta_.fields.phoneNumber={},e._meta_.fields.phoneNumber.type=String,e._meta_.fields.state={},e._meta_.fields.state.type=String,e._meta_.fields.zip={},e._meta_.fields.zip.type=String,t.exports=e},38455:t=>{t.exports={ALL:"ALL",MARKET:"MARKET",SEARCH:"SEARCH",INSTALL:"INSTALL"}},73767:t=>{t.exports={NEW:"NEW",PENDING:"PENDING",APPROVED_PENDING_SIGNING:"APPROVED_PENDING_SIGNING",APPROVED:"APPROVED",DENIED:"DENIED",PUBLISHED:"PUBLISHED"}},5192:t=>{t.exports={FULL_SERVICE_RESTAURANT:"FULL_SERVICE_RESTAURANT",QUICK_SERVICE_RESTAURANT:"QUICK_SERVICE_RESTAURANT",COFFEE_SHOP:"COFFEE_SHOP",BAKERY:"BAKERY",BAR:"BAR",FOOD_TRUCK:"FOOD_TRUCK",FROZEN_YOGURT:"FROZEN_YOGURT",PIZZA:"PIZZA",DELI:"DELI",OTHER_RESTAURANT:"OTHER_RESTAURANT",BOUTIQUE:"BOUTIQUE",CONVENIENCE_STORE:"CONVENIENCE_STORE",GROCERY:"GROCERY",LIQUOR_STORE:"LIQUOR_STORE",VAPE_SHOP:"VAPE_SHOP",JEWELRY:"JEWELRY",FLORIST:"FLORIST",OTHER_RETAIL:"OTHER_RETAIL",FITNESS:"FITNESS",SPA:"SPA",HAIR_SALON:"HAIR_SALON",HOME_AND_REPAIR:"HOME_AND_REPAIR",PROFESSIONAL_SERVICES:"PROFESSIONAL_SERVICES",CATERING:"CATERING",OTHER_SERVICE:"OTHER_SERVICE"}},9728:t=>{var e=function(){this._class_=e,this.track1=void 0,this.track2=void 0,this.track3=void 0,this.encrypted=void 0,this.maskedTrack1=void 0,this.maskedTrack2=void 0,this.maskedTrack3=void 0,this.pan=void 0,this.cardholderName=void 0,this.firstName=void 0,this.lastName=void 0,this.exp=void 0,this.last4=void 0,this.first6=void 0};e.prototype.setTrack1=function(t){this.track1=t},e.prototype.getTrack1=function(){return this.track1},e.prototype.setTrack2=function(t){this.track2=t},e.prototype.getTrack2=function(){return this.track2},e.prototype.setTrack3=function(t){this.track3=t},e.prototype.getTrack3=function(){return this.track3},e.prototype.setEncrypted=function(t){this.encrypted=t},e.prototype.getEncrypted=function(){return this.encrypted},e.prototype.setMaskedTrack1=function(t){this.maskedTrack1=t},e.prototype.getMaskedTrack1=function(){return this.maskedTrack1},e.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},e.prototype.getMaskedTrack2=function(){return this.maskedTrack2},e.prototype.setMaskedTrack3=function(t){this.maskedTrack3=t},e.prototype.getMaskedTrack3=function(){return this.maskedTrack3},e.prototype.setPan=function(t){this.pan=t},e.prototype.getPan=function(){return this.pan},e.prototype.setCardholderName=function(t){this.cardholderName=t},e.prototype.getCardholderName=function(){return this.cardholderName},e.prototype.setFirstName=function(t){this.firstName=t},e.prototype.getFirstName=function(){return this.firstName},e.prototype.setLastName=function(t){this.lastName=t},e.prototype.getLastName=function(){return this.lastName},e.prototype.setExp=function(t){this.exp=t},e.prototype.getExp=function(){return this.exp},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.track1={},e._meta_.fields.track1.type=String,e._meta_.fields.track2={},e._meta_.fields.track2.type=String,e._meta_.fields.track3={},e._meta_.fields.track3.type=String,e._meta_.fields.encrypted={},e._meta_.fields.encrypted.type=Boolean,e._meta_.fields.maskedTrack1={},e._meta_.fields.maskedTrack1.type=String,e._meta_.fields.maskedTrack2={},e._meta_.fields.maskedTrack2.type=String,e._meta_.fields.maskedTrack3={},e._meta_.fields.maskedTrack3.type=String,e._meta_.fields.pan={},e._meta_.fields.pan.type=String,e._meta_.fields.cardholderName={},e._meta_.fields.cardholderName.type=String,e._meta_.fields.firstName={},e._meta_.fields.firstName.type=String,e._meta_.fields.lastName={},e._meta_.fields.lastName.type=String,e._meta_.fields.exp={},e._meta_.fields.exp.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,t.exports=e},52514:(t,e,i)=>{var n=i(3306),o=i(96351),s=function(){this._class_=s,this.type=void 0,this.reason=void 0,this.message=void 0};s.prototype.setType=function(t){this.type=t},s.prototype.getType=function(){return this.type},s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.type={},s._meta_.fields.type.type=o,s._meta_.fields.reason={},s._meta_.fields.reason.type=n,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},96351:t=>{t.exports={DUPLICATE_CHALLENGE:"DUPLICATE_CHALLENGE",OFFLINE_CHALLENGE:"OFFLINE_CHALLENGE"}},40994:(t,e,i)=>{var n=i(96351),o=function(){this._class_=o,this.challengeType=void 0};o.prototype.setChallengeType=function(t){this.challengeType=t},o.prototype.getChallengeType=function(){return this.challengeType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.challengeType={},o._meta_.fields.challengeType.type=n,t.exports=o},41208:t=>{var e=function(){this._class_=e,this.countryCode=void 0,this.displayName=void 0,this.localDisplayName=void 0,this.defaultCurrency=void 0,this.defaultTimezone=void 0,this.stateProvinceRequired=void 0,this.zipPostalRequired=void 0,this.countyRequired=void 0,this.defaultLocale=void 0,this.appMarketBillingEnabled=void 0};e.prototype.setCountryCode=function(t){this.countryCode=t},e.prototype.getCountryCode=function(){return this.countryCode},e.prototype.setDisplayName=function(t){this.displayName=t},e.prototype.getDisplayName=function(){return this.displayName},e.prototype.setLocalDisplayName=function(t){this.localDisplayName=t},e.prototype.getLocalDisplayName=function(){return this.localDisplayName},e.prototype.setDefaultCurrency=function(t){this.defaultCurrency=t},e.prototype.getDefaultCurrency=function(){return this.defaultCurrency},e.prototype.setDefaultTimezone=function(t){this.defaultTimezone=t},e.prototype.getDefaultTimezone=function(){return this.defaultTimezone},e.prototype.setStateProvinceRequired=function(t){this.stateProvinceRequired=t},e.prototype.getStateProvinceRequired=function(){return this.stateProvinceRequired},e.prototype.setZipPostalRequired=function(t){this.zipPostalRequired=t},e.prototype.getZipPostalRequired=function(){return this.zipPostalRequired},e.prototype.setCountyRequired=function(t){this.countyRequired=t},e.prototype.getCountyRequired=function(){return this.countyRequired},e.prototype.setDefaultLocale=function(t){this.defaultLocale=t},e.prototype.getDefaultLocale=function(){return this.defaultLocale},e.prototype.setAppMarketBillingEnabled=function(t){this.appMarketBillingEnabled=t},e.prototype.getAppMarketBillingEnabled=function(){return this.appMarketBillingEnabled},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.countryCode={},e._meta_.fields.countryCode.type=String,e._meta_.fields.displayName={},e._meta_.fields.displayName.type=String,e._meta_.fields.localDisplayName={},e._meta_.fields.localDisplayName.type=String,e._meta_.fields.defaultCurrency={},e._meta_.fields.defaultCurrency.type=String,e._meta_.fields.defaultTimezone={},e._meta_.fields.defaultTimezone.type=String,e._meta_.fields.stateProvinceRequired={},e._meta_.fields.stateProvinceRequired.type=Boolean,e._meta_.fields.zipPostalRequired={},e._meta_.fields.zipPostalRequired.type=Boolean,e._meta_.fields.countyRequired={},e._meta_.fields.countyRequired.type=Boolean,e._meta_.fields.defaultLocale={},e._meta_.fields.defaultLocale.type=String,e._meta_.fields.appMarketBillingEnabled={},e._meta_.fields.appMarketBillingEnabled.type=Boolean,t.exports=e},4258:t=>{var e=function(){this._class_=e,this.amount=void 0,this.paymentId=void 0,this.externalPaymentId=void 0,this.tipAmount=void 0};e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setPaymentId=function(t){this.paymentId=t},e.prototype.getPaymentId=function(){return this.paymentId},e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setTipAmount=function(t){this.tipAmount=t},e.prototype.getTipAmount=function(){return this.tipAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,e._meta_.fields.paymentId={},e._meta_.fields.paymentId.type=String,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.tipAmount={},e._meta_.fields.tipAmount.type=Number,t.exports=e},7378:t=>{var e=function(){this._class_=e,this.x=void 0,this.y=void 0};e.prototype.setX=function(t){this.x=t},e.prototype.getX=function(){return this.x},e.prototype.setY=function(t){this.y=t},e.prototype.getY=function(){return this.y},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.x={},e._meta_.fields.x.type=Number,e._meta_.fields.y={},e._meta_.fields.y.type=Number,t.exports=e},44549:(t,e,i)=>{var n=i(7378),o=function(){this._class_=o,this.points=void 0};o.prototype.setPoints=function(t){this.points=t},o.prototype.getPoints=function(){return this.points},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.points={},o._meta_.fields.points.type=Array,o._meta_.fields.points.elementType=n,t.exports=o},4448:t=>{var e=function(){this._class_=e,this.id=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},37479:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.enabled=void 0,this.percentage=void 0,this.percentageDecimal=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setPercentageDecimal=function(t){this.percentageDecimal=t},e.prototype.getPercentageDecimal=function(){return this.percentageDecimal},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.percentageDecimal={},e._meta_.fields.percentageDecimal.type=Number,t.exports=e},42348:(t,e,i)=>{var n=i(44549),o=function(){this._class_=o,this.strokes=void 0,this.width=void 0,this.height=void 0};o.prototype.setStrokes=function(t){this.strokes=t},o.prototype.getStrokes=function(){return this.strokes},o.prototype.setWidth=function(t){this.width=t},o.prototype.getWidth=function(){return this.width},o.prototype.setHeight=function(t){this.height=t},o.prototype.getHeight=function(){return this.height},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.strokes={},o._meta_.fields.strokes.type=Array,o._meta_.fields.strokes.elementType=n,o._meta_.fields.width={},o._meta_.fields.width.type=Number,o._meta_.fields.height={},o._meta_.fields.height.type=Number,t.exports=o},50775:t=>{var e=function(){this._class_=e,this.id=void 0,this.editable=void 0,this.labelKey=void 0,this.label=void 0,this.opensCashDrawer=void 0,this.supportsTipping=void 0,this.enabled=void 0,this.visible=void 0,this.instructions=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setEditable=function(t){this.editable=t},e.prototype.getEditable=function(){return this.editable},e.prototype.setLabelKey=function(t){this.labelKey=t},e.prototype.getLabelKey=function(){return this.labelKey},e.prototype.setLabel=function(t){this.label=t},e.prototype.getLabel=function(){return this.label},e.prototype.setOpensCashDrawer=function(t){this.opensCashDrawer=t},e.prototype.getOpensCashDrawer=function(){return this.opensCashDrawer},e.prototype.setSupportsTipping=function(t){this.supportsTipping=t},e.prototype.getSupportsTipping=function(){return this.supportsTipping},e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setVisible=function(t){this.visible=t},e.prototype.getVisible=function(){return this.visible},e.prototype.setInstructions=function(t){this.instructions=t},e.prototype.getInstructions=function(){return this.instructions},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.editable={},e._meta_.fields.editable.type=Boolean,e._meta_.fields.labelKey={},e._meta_.fields.labelKey.type=String,e._meta_.fields.label={},e._meta_.fields.label.type=String,e._meta_.fields.opensCashDrawer={},e._meta_.fields.opensCashDrawer.type=Boolean,e._meta_.fields.supportsTipping={},e._meta_.fields.supportsTipping.type=Boolean,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.visible={},e._meta_.fields.visible.type=Boolean,e._meta_.fields.instructions={},e._meta_.fields.instructions.type=String,t.exports=e},87773:(t,e,i)=>{function n(){}t.exports.base=n,n.Address=i(81565),n.AppExclusionType=i(38455),n.ApprovalStatus=i(73767),n.BusinessTypeCode=i(5192),n.CardData=i(9728),n.Challenge=i(52514),n.ChallengeType=i(96351),n.ChallengeTypeEnum=i(40994),n.CountryInfo=i(41208),n.PendingPaymentEntry=i(4258),n.Point=i(7378),n.Points=i(44549),n.Reference=i(4448),n.ServiceCharge=i(37479),n.Signature=i(42348),n.Tender=i(50775),t.exports=n},79601:t=>{var e=function(){this._class_=e,this.action=void 0,this.categories=void 0};e.prototype.setAction=function(t){this.action=t},e.prototype.getAction=function(){return this.action},e.prototype.setCategories=function(t){this.categories=t},e.prototype.getCategories=function(){return this.categories},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.action={},e._meta_.fields.action.type=String,e._meta_.fields.categories={},e._meta_.fields.categories.type=Array,t.exports=e},68667:t=>{var e=function(){this._class_=e,this.id=void 0,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.city=void 0,this.country=void 0,this.state=void 0,this.zip=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setAddress1=function(t){this.address1=t},e.prototype.getAddress1=function(){return this.address1},e.prototype.setAddress2=function(t){this.address2=t},e.prototype.getAddress2=function(){return this.address2},e.prototype.setAddress3=function(t){this.address3=t},e.prototype.getAddress3=function(){return this.address3},e.prototype.setCity=function(t){this.city=t},e.prototype.getCity=function(){return this.city},e.prototype.setCountry=function(t){this.country=t},e.prototype.getCountry=function(){return this.country},e.prototype.setState=function(t){this.state=t},e.prototype.getState=function(){return this.state},e.prototype.setZip=function(t){this.zip=t},e.prototype.getZip=function(){return this.zip},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.address1={},e._meta_.fields.address1.type=String,e._meta_.fields.address2={},e._meta_.fields.address2.type=String,e._meta_.fields.address3={},e._meta_.fields.address3.type=String,e._meta_.fields.city={},e._meta_.fields.city.type=String,e._meta_.fields.country={},e._meta_.fields.country.type=String,e._meta_.fields.state={},e._meta_.fields.state.type=String,e._meta_.fields.zip={},e._meta_.fields.zip.type=String,t.exports=e},57534:t=>{var e=function(){this._class_=e,this.id=void 0,this.first6=void 0,this.last4=void 0,this.firstName=void 0,this.lastName=void 0,this.expirationDate=void 0,this.cardType=void 0,this.token=void 0,this.modifiedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setFirstName=function(t){this.firstName=t},e.prototype.getFirstName=function(){return this.firstName},e.prototype.setLastName=function(t){this.lastName=t},e.prototype.getLastName=function(){return this.lastName},e.prototype.setExpirationDate=function(t){this.expirationDate=t},e.prototype.getExpirationDate=function(){return this.expirationDate},e.prototype.setCardType=function(t){this.cardType=t},e.prototype.getCardType=function(){return this.cardType},e.prototype.setToken=function(t){this.token=t},e.prototype.getToken=function(){return this.token},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.firstName={},e._meta_.fields.firstName.type=String,e._meta_.fields.lastName={},e._meta_.fields.lastName.type=String,e._meta_.fields.expirationDate={},e._meta_.fields.expirationDate.type=String,e._meta_.fields.cardType={},e._meta_.fields.cardType.type=String,e._meta_.fields.token={},e._meta_.fields.token.type=String,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},39998:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.order=void 0,this.customer=void 0,this.card=void 0,this.emailAddress=void 0};o.prototype.setOrder=function(t){this.order=t},o.prototype.getOrder=function(){return this.order},o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setCard=function(t){this.card=t},o.prototype.getCard=function(){return this.card},o.prototype.setEmailAddress=function(t){this.emailAddress=t},o.prototype.getEmailAddress=function(){return this.emailAddress},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.order={},o._meta_.fields.order.type=n,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.card={},o._meta_.fields.card.type=n,o._meta_.fields.emailAddress={},o._meta_.fields.emailAddress.type=String,t.exports=o},26866:(t,e,i)=>{var n=i(71764),o=i(22634),s=i(82368),r=i(4448),a=i(68667),l=i(57534),d=function(){this._class_=d,this.id=void 0,this.merchant=void 0,this.firstName=void 0,this.lastName=void 0,this.marketingAllowed=void 0,this.customerSince=void 0,this.orders=void 0,this.addresses=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0,this.cards=void 0,this.metadata=void 0};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setMerchant=function(t){this.merchant=t},d.prototype.getMerchant=function(){return this.merchant},d.prototype.setFirstName=function(t){this.firstName=t},d.prototype.getFirstName=function(){return this.firstName},d.prototype.setLastName=function(t){this.lastName=t},d.prototype.getLastName=function(){return this.lastName},d.prototype.setMarketingAllowed=function(t){this.marketingAllowed=t},d.prototype.getMarketingAllowed=function(){return this.marketingAllowed},d.prototype.setCustomerSince=function(t){this.customerSince=t},d.prototype.getCustomerSince=function(){return this.customerSince},d.prototype.setOrders=function(t){this.orders=t},d.prototype.getOrders=function(){return this.orders},d.prototype.setAddresses=function(t){this.addresses=t},d.prototype.getAddresses=function(){return this.addresses},d.prototype.setEmailAddresses=function(t){this.emailAddresses=t},d.prototype.getEmailAddresses=function(){return this.emailAddresses},d.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},d.prototype.getPhoneNumbers=function(){return this.phoneNumbers},d.prototype.setCards=function(t){this.cards=t},d.prototype.getCards=function(){return this.cards},d.prototype.setMetadata=function(t){this.metadata=t},d.prototype.getMetadata=function(){return this.metadata},d.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},d.prototype.toString=function(){return JSON.stringify(this)},d._meta_={fields:{}},d._meta_._class_=d,d._meta_.fields.id={},d._meta_.fields.id.type=String,d._meta_.fields.merchant={},d._meta_.fields.merchant.type=r,d._meta_.fields.firstName={},d._meta_.fields.firstName.type=String,d._meta_.fields.lastName={},d._meta_.fields.lastName.type=String,d._meta_.fields.marketingAllowed={},d._meta_.fields.marketingAllowed.type=Boolean,d._meta_.fields.customerSince={},d._meta_.fields.customerSince.type=Number,d._meta_.fields.orders={},d._meta_.fields.orders.type=Array,d._meta_.fields.orders.elementType=r,d._meta_.fields.addresses={},d._meta_.fields.addresses.type=Array,d._meta_.fields.addresses.elementType=a,d._meta_.fields.emailAddresses={},d._meta_.fields.emailAddresses.type=Array,d._meta_.fields.emailAddresses.elementType=n,d._meta_.fields.phoneNumbers={},d._meta_.fields.phoneNumbers.type=Array,d._meta_.fields.phoneNumbers.elementType=o,d._meta_.fields.cards={},d._meta_.fields.cards.type=Array,d._meta_.fields.cards.elementType=l,d._meta_.fields.metadata={},d._meta_.fields.metadata.type=s,t.exports=d},31160:(t,e,i)=>{var n=i(26866),o=i(4448),s=function(){this._class_=s,this.paymentRef=void 0,this.tokenRequestRef=void 0,this.customer=void 0};s.prototype.setPaymentRef=function(t){this.paymentRef=t},s.prototype.getPaymentRef=function(){return this.paymentRef},s.prototype.setTokenRequestRef=function(t){this.tokenRequestRef=t},s.prototype.getTokenRequestRef=function(){return this.tokenRequestRef},s.prototype.setCustomer=function(t){this.customer=t},s.prototype.getCustomer=function(){return this.customer},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.paymentRef={},s._meta_.fields.paymentRef.type=o,s._meta_.fields.tokenRequestRef={},s._meta_.fields.tokenRequestRef.type=o,s._meta_.fields.customer={},s._meta_.fields.customer.type=n,t.exports=s},84265:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},82368:t=>{var e=function(){this._class_=e,this.businessName=void 0,this.note=void 0,this.dobYear=void 0,this.dobMonth=void 0,this.dobDay=void 0,this.modifiedTime=void 0};e.prototype.setBusinessName=function(t){this.businessName=t},e.prototype.getBusinessName=function(){return this.businessName},e.prototype.setNote=function(t){this.note=t},e.prototype.getNote=function(){return this.note},e.prototype.setDobYear=function(t){this.dobYear=t},e.prototype.getDobYear=function(){return this.dobYear},e.prototype.setDobMonth=function(t){this.dobMonth=t},e.prototype.getDobMonth=function(){return this.dobMonth},e.prototype.setDobDay=function(t){this.dobDay=t},e.prototype.getDobDay=function(){return this.dobDay},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.businessName={},e._meta_.fields.businessName.type=String,e._meta_.fields.note={},e._meta_.fields.note.type=String,e._meta_.fields.dobYear={},e._meta_.fields.dobYear.type=Number,e._meta_.fields.dobMonth={},e._meta_.fields.dobMonth.type=Number,e._meta_.fields.dobDay={},e._meta_.fields.dobDay.type=Number,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},71764:t=>{var e=function(){this._class_=e,this.id=void 0,this.emailAddress=void 0,this.verifiedTime=void 0,this.primaryEmail=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setEmailAddress=function(t){this.emailAddress=t},e.prototype.getEmailAddress=function(){return this.emailAddress},e.prototype.setVerifiedTime=function(t){this.verifiedTime=t},e.prototype.getVerifiedTime=function(){return this.verifiedTime},e.prototype.setPrimaryEmail=function(t){this.primaryEmail=t},e.prototype.getPrimaryEmail=function(){return this.primaryEmail},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.emailAddress={},e._meta_.fields.emailAddress.type=String,e._meta_.fields.verifiedTime={},e._meta_.fields.verifiedTime.type=Number,e._meta_.fields.primaryEmail={},e._meta_.fields.primaryEmail.type=Boolean,t.exports=e},40615:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.type=void 0,this.number=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.payment=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.setNumber=function(t){this.number=t},o.prototype.getNumber=function(){return this.number},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=String,o._meta_.fields.number={},o._meta_.fields.number.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,t.exports=o},22634:t=>{var e=function(){this._class_=e,this.id=void 0,this.phoneNumber=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setPhoneNumber=function(t){this.phoneNumber=t},e.prototype.getPhoneNumber=function(){return this.phoneNumber},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.phoneNumber={},e._meta_.fields.phoneNumber.type=String,t.exports=e},39698:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},6623:t=>{t.exports={MULTIPAY:"MULTIPAY",FINANCIAL:"FINANCIAL",CTOKEN:"CTOKEN"}},92700:(t,e,i)=>{function n(){}t.exports.customers=n,n.Address=i(68667),n.Card=i(57534),n.Confirmation=i(39998),n.Customer=i(26866),n.CustomerAssociationRequest=i(31160),n.CustomerInfo=i(84265),n.CustomerMetadata=i(82368),n.EmailAddress=i(71764),n.IdentityDocument=i(40615),n.PhoneNumber=i(22634),n.RemoteCustomer=i(39698),n.TokenType=i(6623),t.exports=n},20857:t=>{var e=function(){this._class_=e,this.cpuId=void 0,this.version=void 0,this.buildType=void 0};e.prototype.setCpuId=function(t){this.cpuId=t},e.prototype.getCpuId=function(){return this.cpuId},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.setBuildType=function(t){this.buildType=t},e.prototype.getBuildType=function(){return this.buildType},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.cpuId={},e._meta_.fields.cpuId.type=String,e._meta_.fields.version={},e._meta_.fields.version.type=Number,e._meta_.fields.buildType={},e._meta_.fields.buildType.type=String,t.exports=e},1752:t=>{var e=function(){this._class_=e,this.id=void 0,this.bundleIndicator=void 0,this.createdTime=void 0,this.deletedTime=void 0,this.associatedTime=void 0,this.disassociatedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},e.prototype.getBundleIndicator=function(){return this.bundleIndicator},e.prototype.setCreatedTime=function(t){this.createdTime=t},e.prototype.getCreatedTime=function(){return this.createdTime},e.prototype.setDeletedTime=function(t){this.deletedTime=t},e.prototype.getDeletedTime=function(){return this.deletedTime},e.prototype.setAssociatedTime=function(t){this.associatedTime=t},e.prototype.getAssociatedTime=function(){return this.associatedTime},e.prototype.setDisassociatedTime=function(t){this.disassociatedTime=t},e.prototype.getDisassociatedTime=function(){return this.disassociatedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.bundleIndicator={},e._meta_.fields.bundleIndicator.type=String,e._meta_.fields.createdTime={},e._meta_.fields.createdTime.type=Number,e._meta_.fields.deletedTime={},e._meta_.fields.deletedTime.type=Number,e._meta_.fields.associatedTime={},e._meta_.fields.associatedTime.type=Number,e._meta_.fields.disassociatedTime={},e._meta_.fields.disassociatedTime.type=Number,t.exports=e},70511:t=>{t.exports={ENG:"ENG",USER:"USER",USERDEBUG:"USERDEBUG"}},76021:t=>{var e=function(){this._class_=e,this.equipmentCode=void 0,this.equipmentCodeDesc=void 0,this.quantity=void 0,this.version=void 0};e.prototype.setEquipmentCode=function(t){this.equipmentCode=t},e.prototype.getEquipmentCode=function(){return this.equipmentCode},e.prototype.setEquipmentCodeDesc=function(t){this.equipmentCodeDesc=t},e.prototype.getEquipmentCodeDesc=function(){return this.equipmentCodeDesc},e.prototype.setQuantity=function(t){this.quantity=t},e.prototype.getQuantity=function(){return this.quantity},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.equipmentCode={},e._meta_.fields.equipmentCode.type=String,e._meta_.fields.equipmentCodeDesc={},e._meta_.fields.equipmentCodeDesc.type=String,e._meta_.fields.quantity={},e._meta_.fields.quantity.type=Number,e._meta_.fields.version={},e._meta_.fields.version.type=Number,t.exports=e},12972:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.model=void 0,this.merchant=void 0,this.orderPrefix=void 0,this.terminalId=void 0,this.terminalPrefix=void 0,this.serial=void 0,this.imei=void 0,this.imsi=void 0,this.simIccid=void 0,this.deviceCertificate=void 0,this.pedCertificate=void 0,this.deviceTypeName=void 0,this.productName=void 0,this.pinDisabled=!1,this.offlinePayments=!1,this.offlinePaymentsAll=!1,this.offlinePaymentsLimit=void 0,this.offlinePaymentsPromptThreshold=void 0,this.offlinePaymentsTotalPaymentsLimit=void 0,this.offlinePaymentsLimitDefault=void 0,this.offlinePaymentsPromptThresholdDefault=void 0,this.offlinePaymentsTotalPaymentsLimitDefault=void 0,this.offlinePaymentsMaxLimit=void 0,this.offlinePaymentsMaxTotalPaymentsLimit=void 0,this.showOfflinePayments=void 0,this.maxOfflineDays=void 0,this.allowStoreAndForward=void 0,this.secureReports=void 0,this.bundleIndicator=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setModel=function(t){this.model=t},o.prototype.getModel=function(){return this.model},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.setOrderPrefix=function(t){this.orderPrefix=t},o.prototype.getOrderPrefix=function(){return this.orderPrefix},o.prototype.setTerminalId=function(t){this.terminalId=t},o.prototype.getTerminalId=function(){return this.terminalId},o.prototype.setTerminalPrefix=function(t){this.terminalPrefix=t},o.prototype.getTerminalPrefix=function(){return this.terminalPrefix},o.prototype.setSerial=function(t){this.serial=t},o.prototype.getSerial=function(){return this.serial},o.prototype.setImei=function(t){this.imei=t},o.prototype.getImei=function(){return this.imei},o.prototype.setImsi=function(t){this.imsi=t},o.prototype.getImsi=function(){return this.imsi},o.prototype.setSimIccid=function(t){this.simIccid=t},o.prototype.getSimIccid=function(){return this.simIccid},o.prototype.setDeviceCertificate=function(t){this.deviceCertificate=t},o.prototype.getDeviceCertificate=function(){return this.deviceCertificate},o.prototype.setPedCertificate=function(t){this.pedCertificate=t},o.prototype.getPedCertificate=function(){return this.pedCertificate},o.prototype.setDeviceTypeName=function(t){this.deviceTypeName=t},o.prototype.getDeviceTypeName=function(){return this.deviceTypeName},o.prototype.setProductName=function(t){this.productName=t},o.prototype.getProductName=function(){return this.productName},o.prototype.setPinDisabled=function(t){this.pinDisabled=t},o.prototype.getPinDisabled=function(){return this.pinDisabled},o.prototype.setOfflinePayments=function(t){this.offlinePayments=t},o.prototype.getOfflinePayments=function(){return this.offlinePayments},o.prototype.setOfflinePaymentsAll=function(t){this.offlinePaymentsAll=t},o.prototype.getOfflinePaymentsAll=function(){return this.offlinePaymentsAll},o.prototype.setOfflinePaymentsLimit=function(t){this.offlinePaymentsLimit=t},o.prototype.getOfflinePaymentsLimit=function(){return this.offlinePaymentsLimit},o.prototype.setOfflinePaymentsPromptThreshold=function(t){this.offlinePaymentsPromptThreshold=t},o.prototype.getOfflinePaymentsPromptThreshold=function(){return this.offlinePaymentsPromptThreshold},o.prototype.setOfflinePaymentsTotalPaymentsLimit=function(t){this.offlinePaymentsTotalPaymentsLimit=t},o.prototype.getOfflinePaymentsTotalPaymentsLimit=function(){return this.offlinePaymentsTotalPaymentsLimit},o.prototype.setOfflinePaymentsLimitDefault=function(t){this.offlinePaymentsLimitDefault=t},o.prototype.getOfflinePaymentsLimitDefault=function(){return this.offlinePaymentsLimitDefault},o.prototype.setOfflinePaymentsPromptThresholdDefault=function(t){this.offlinePaymentsPromptThresholdDefault=t},o.prototype.getOfflinePaymentsPromptThresholdDefault=function(){return this.offlinePaymentsPromptThresholdDefault},o.prototype.setOfflinePaymentsTotalPaymentsLimitDefault=function(t){this.offlinePaymentsTotalPaymentsLimitDefault=t},o.prototype.getOfflinePaymentsTotalPaymentsLimitDefault=function(){return this.offlinePaymentsTotalPaymentsLimitDefault},o.prototype.setOfflinePaymentsMaxLimit=function(t){this.offlinePaymentsMaxLimit=t},o.prototype.getOfflinePaymentsMaxLimit=function(){return this.offlinePaymentsMaxLimit},o.prototype.setOfflinePaymentsMaxTotalPaymentsLimit=function(t){this.offlinePaymentsMaxTotalPaymentsLimit=t},o.prototype.getOfflinePaymentsMaxTotalPaymentsLimit=function(){return this.offlinePaymentsMaxTotalPaymentsLimit},o.prototype.setShowOfflinePayments=function(t){this.showOfflinePayments=t},o.prototype.getShowOfflinePayments=function(){return this.showOfflinePayments},o.prototype.setMaxOfflineDays=function(t){this.maxOfflineDays=t},o.prototype.getMaxOfflineDays=function(){return this.maxOfflineDays},o.prototype.setAllowStoreAndForward=function(t){this.allowStoreAndForward=t},o.prototype.getAllowStoreAndForward=function(){return this.allowStoreAndForward},o.prototype.setSecureReports=function(t){this.secureReports=t},o.prototype.getSecureReports=function(){return this.secureReports},o.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},o.prototype.getBundleIndicator=function(){return this.bundleIndicator},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.model={},o._meta_.fields.model.type=String,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,o._meta_.fields.orderPrefix={},o._meta_.fields.orderPrefix.type=String,o._meta_.fields.terminalId={},o._meta_.fields.terminalId.type=String,o._meta_.fields.terminalPrefix={},o._meta_.fields.terminalPrefix.type=Number,o._meta_.fields.serial={},o._meta_.fields.serial.type=String,o._meta_.fields.imei={},o._meta_.fields.imei.type=String,o._meta_.fields.imsi={},o._meta_.fields.imsi.type=String,o._meta_.fields.simIccid={},o._meta_.fields.simIccid.type=String,o._meta_.fields.deviceCertificate={},o._meta_.fields.deviceCertificate.type=String,o._meta_.fields.pedCertificate={},o._meta_.fields.pedCertificate.type=String,o._meta_.fields.deviceTypeName={},o._meta_.fields.deviceTypeName.type=String,o._meta_.fields.productName={},o._meta_.fields.productName.type=String,o._meta_.fields.pinDisabled={},o._meta_.fields.pinDisabled.type=Boolean,o._meta_.fields.offlinePayments={},o._meta_.fields.offlinePayments.type=Boolean,o._meta_.fields.offlinePaymentsAll={},o._meta_.fields.offlinePaymentsAll.type=Boolean,o._meta_.fields.offlinePaymentsLimit={},o._meta_.fields.offlinePaymentsLimit.type=Number,o._meta_.fields.offlinePaymentsPromptThreshold={},o._meta_.fields.offlinePaymentsPromptThreshold.type=Number,o._meta_.fields.offlinePaymentsTotalPaymentsLimit={},o._meta_.fields.offlinePaymentsTotalPaymentsLimit.type=Number,o._meta_.fields.offlinePaymentsLimitDefault={},o._meta_.fields.offlinePaymentsLimitDefault.type=Number,o._meta_.fields.offlinePaymentsPromptThresholdDefault={},o._meta_.fields.offlinePaymentsPromptThresholdDefault.type=Number,o._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault={},o._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault.type=Number,o._meta_.fields.offlinePaymentsMaxLimit={},o._meta_.fields.offlinePaymentsMaxLimit.type=Number,o._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit={},o._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit.type=Number,o._meta_.fields.showOfflinePayments={},o._meta_.fields.showOfflinePayments.type=Boolean,o._meta_.fields.maxOfflineDays={},o._meta_.fields.maxOfflineDays.type=Number,o._meta_.fields.allowStoreAndForward={},o._meta_.fields.allowStoreAndForward.type=Boolean,o._meta_.fields.secureReports={},o._meta_.fields.secureReports.type=Array,o._meta_.fields.secureReports.elementType=n,o._meta_.fields.bundleIndicator={},o._meta_.fields.bundleIndicator.type=String,t.exports=o},10522:(t,e,i)=>{var n=i(12157),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.model=void 0,this.serial=void 0,this.associatedDevice=void 0,this.pedCertificate=void 0,this.buildType=void 0,this.deviceType=void 0,this.versionCode=void 0,this.currentRom=void 0,this.secureReports=void 0,this.createdTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setModel=function(t){this.model=t},s.prototype.getModel=function(){return this.model},s.prototype.setSerial=function(t){this.serial=t},s.prototype.getSerial=function(){return this.serial},s.prototype.setAssociatedDevice=function(t){this.associatedDevice=t},s.prototype.getAssociatedDevice=function(){return this.associatedDevice},s.prototype.setPedCertificate=function(t){this.pedCertificate=t},s.prototype.getPedCertificate=function(){return this.pedCertificate},s.prototype.setBuildType=function(t){this.buildType=t},s.prototype.getBuildType=function(){return this.buildType},s.prototype.setDeviceType=function(t){this.deviceType=t},s.prototype.getDeviceType=function(){return this.deviceType},s.prototype.setVersionCode=function(t){this.versionCode=t},s.prototype.getVersionCode=function(){return this.versionCode},s.prototype.setCurrentRom=function(t){this.currentRom=t},s.prototype.getCurrentRom=function(){return this.currentRom},s.prototype.setSecureReports=function(t){this.secureReports=t},s.prototype.getSecureReports=function(){return this.secureReports},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.model={},s._meta_.fields.model.type=String,s._meta_.fields.serial={},s._meta_.fields.serial.type=String,s._meta_.fields.associatedDevice={},s._meta_.fields.associatedDevice.type=o,s._meta_.fields.pedCertificate={},s._meta_.fields.pedCertificate.type=String,s._meta_.fields.buildType={},s._meta_.fields.buildType.type=n,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=o,s._meta_.fields.versionCode={},s._meta_.fields.versionCode.type=Number,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=o,s._meta_.fields.secureReports={},s._meta_.fields.secureReports.type=Array,s._meta_.fields.secureReports.elementType=o,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},12157:t=>{t.exports={ENG:"ENG",USER:"USER",USERDEBUG:"USERDEBUG"}},84646:(t,e,i)=>{var n=i(76021),o=function(){this._class_=o,this.id=void 0,this.bundleIndicator=void 0,this.description=void 0,this.bundleItems=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},o.prototype.getBundleIndicator=function(){return this.bundleIndicator},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setBundleItems=function(t){this.bundleItems=t},o.prototype.getBundleItems=function(){return this.bundleItems},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.bundleIndicator={},o._meta_.fields.bundleIndicator.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.bundleItems={},o._meta_.fields.bundleItems.type=Array,o._meta_.fields.bundleItems.elementType=n,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},20927:t=>{t.exports={REGISTERED:"REGISTERED",PROVISIONED:"PROVISIONED",ACTIVATED:"ACTIVATED",REACTIVATED:"REACTIVATED",DEACTIVATED:"DEACTIVATED",DISASSOCIATED:"DISASSOCIATED",POS_MODE:"POS_MODE",CFD_MODE:"CFD_MODE"}},61668:(t,e,i)=>{var n=i(71132),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.deviceRef=void 0,this.state=void 0,this.lastActivationCode=void 0,this.activationCode=void 0,this.emailSent=void 0,this.hasShipment=void 0,this.shipment=void 0,this.serialNumber=void 0,this.chip_uid=void 0,this.imei=void 0,this.merchant=void 0,this.deviceType=void 0,this.provisionedTime=void 0,this.activatedTime=void 0,this.activationCodeCreatedTime=void 0,this.terminalId=void 0,this.reseller=void 0,this.currentRom=void 0,this.currentSecureBoardRom=void 0,this.bundleIndicator=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.deviceWarrantyRef=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setDeviceRef=function(t){this.deviceRef=t},s.prototype.getDeviceRef=function(){return this.deviceRef},s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s.prototype.setLastActivationCode=function(t){this.lastActivationCode=t},s.prototype.getLastActivationCode=function(){return this.lastActivationCode},s.prototype.setActivationCode=function(t){this.activationCode=t},s.prototype.getActivationCode=function(){return this.activationCode},s.prototype.setEmailSent=function(t){this.emailSent=t},s.prototype.getEmailSent=function(){return this.emailSent},s.prototype.setHasShipment=function(t){this.hasShipment=t},s.prototype.getHasShipment=function(){return this.hasShipment},s.prototype.setShipment=function(t){this.shipment=t},s.prototype.getShipment=function(){return this.shipment},s.prototype.setSerialNumber=function(t){this.serialNumber=t},s.prototype.getSerialNumber=function(){return this.serialNumber},s.prototype.setChipUid=function(t){this.chip_uid=t},s.prototype.getChipUid=function(){return this.chip_uid},s.prototype.setImei=function(t){this.imei=t},s.prototype.getImei=function(){return this.imei},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.setDeviceType=function(t){this.deviceType=t},s.prototype.getDeviceType=function(){return this.deviceType},s.prototype.setProvisionedTime=function(t){this.provisionedTime=t},s.prototype.getProvisionedTime=function(){return this.provisionedTime},s.prototype.setActivatedTime=function(t){this.activatedTime=t},s.prototype.getActivatedTime=function(){return this.activatedTime},s.prototype.setActivationCodeCreatedTime=function(t){this.activationCodeCreatedTime=t},s.prototype.getActivationCodeCreatedTime=function(){return this.activationCodeCreatedTime},s.prototype.setTerminalId=function(t){this.terminalId=t},s.prototype.getTerminalId=function(){return this.terminalId},s.prototype.setReseller=function(t){this.reseller=t},s.prototype.getReseller=function(){return this.reseller},s.prototype.setCurrentRom=function(t){this.currentRom=t},s.prototype.getCurrentRom=function(){return this.currentRom},s.prototype.setCurrentSecureBoardRom=function(t){this.currentSecureBoardRom=t},s.prototype.getCurrentSecureBoardRom=function(){return this.currentSecureBoardRom},s.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},s.prototype.getBundleIndicator=function(){return this.bundleIndicator},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setDeviceWarrantyRef=function(t){this.deviceWarrantyRef=t},s.prototype.getDeviceWarrantyRef=function(){return this.deviceWarrantyRef},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.deviceRef={},s._meta_.fields.deviceRef.type=o,s._meta_.fields.state={},s._meta_.fields.state.type=n,s._meta_.fields.lastActivationCode={},s._meta_.fields.lastActivationCode.type=String,s._meta_.fields.activationCode={},s._meta_.fields.activationCode.type=String,s._meta_.fields.emailSent={},s._meta_.fields.emailSent.type=Boolean,s._meta_.fields.hasShipment={},s._meta_.fields.hasShipment.type=Boolean,s._meta_.fields.shipment={},s._meta_.fields.shipment.type=o,s._meta_.fields.serialNumber={},s._meta_.fields.serialNumber.type=String,s._meta_.fields.chip_uid={},s._meta_.fields.chip_uid.type=String,s._meta_.fields.imei={},s._meta_.fields.imei.type=String,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=String,s._meta_.fields.provisionedTime={},s._meta_.fields.provisionedTime.type=Number,s._meta_.fields.activatedTime={},s._meta_.fields.activatedTime.type=Number,s._meta_.fields.activationCodeCreatedTime={},s._meta_.fields.activationCodeCreatedTime.type=Number,s._meta_.fields.terminalId={},s._meta_.fields.terminalId.type=String,s._meta_.fields.reseller={},s._meta_.fields.reseller.type=o,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=o,s._meta_.fields.currentSecureBoardRom={},s._meta_.fields.currentSecureBoardRom.type=o,s._meta_.fields.bundleIndicator={},s._meta_.fields.bundleIndicator.type=String,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.deviceWarrantyRef={},s._meta_.fields.deviceWarrantyRef.type=o,t.exports=s},4784:t=>{var e=function(){this._class_=e,this.serialNumber=void 0,this.associatedId=void 0};e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setAssociatedId=function(t){this.associatedId=t},e.prototype.getAssociatedId=function(){return this.associatedId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.associatedId={},e._meta_.fields.associatedId.type=String,t.exports=e},71132:t=>{t.exports={NOT_ASSOCIATED:"NOT_ASSOCIATED",DISASSOCIATED:"DISASSOCIATED",ASSOCIATED:"ASSOCIATED"}},16982:t=>{var e=function(){this._class_=e,this.id=void 0,this.chipUid=void 0,this.imei=void 0,this.provisionInfo=void 0,this.lastActivationCode=void 0,this.activationCode=void 0,this.emailSent=void 0,this.serialNumber=void 0,this.merchantId=void 0,this.provisionedTime=void 0,this.activatedTime=void 0,this.resellerId=void 0,this.deletedTime=void 0,this.modifiedTime=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setChipUid=function(t){this.chipUid=t},e.prototype.getChipUid=function(){return this.chipUid},e.prototype.setImei=function(t){this.imei=t},e.prototype.getImei=function(){return this.imei},e.prototype.setProvisionInfo=function(t){this.provisionInfo=t},e.prototype.getProvisionInfo=function(){return this.provisionInfo},e.prototype.setLastActivationCode=function(t){this.lastActivationCode=t},e.prototype.getLastActivationCode=function(){return this.lastActivationCode},e.prototype.setActivationCode=function(t){this.activationCode=t},e.prototype.getActivationCode=function(){return this.activationCode},e.prototype.setEmailSent=function(t){this.emailSent=t},e.prototype.getEmailSent=function(){return this.emailSent},e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setMerchantId=function(t){this.merchantId=t},e.prototype.getMerchantId=function(){return this.merchantId},e.prototype.setProvisionedTime=function(t){this.provisionedTime=t},e.prototype.getProvisionedTime=function(){return this.provisionedTime},e.prototype.setActivatedTime=function(t){this.activatedTime=t},e.prototype.getActivatedTime=function(){return this.activatedTime},e.prototype.setResellerId=function(t){this.resellerId=t},e.prototype.getResellerId=function(){return this.resellerId},e.prototype.setDeletedTime=function(t){this.deletedTime=t},e.prototype.getDeletedTime=function(){return this.deletedTime},e.prototype.setModifiedTime=function(t){this.modifiedTime=t},e.prototype.getModifiedTime=function(){return this.modifiedTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.chipUid={},e._meta_.fields.chipUid.type=String,e._meta_.fields.imei={},e._meta_.fields.imei.type=String,e._meta_.fields.provisionInfo={},e._meta_.fields.provisionInfo.type=String,e._meta_.fields.lastActivationCode={},e._meta_.fields.lastActivationCode.type=String,e._meta_.fields.activationCode={},e._meta_.fields.activationCode.type=String,e._meta_.fields.emailSent={},e._meta_.fields.emailSent.type=Boolean,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.merchantId={},e._meta_.fields.merchantId.type=Number,e._meta_.fields.provisionedTime={},e._meta_.fields.provisionedTime.type=Number,e._meta_.fields.activatedTime={},e._meta_.fields.activatedTime.type=Number,e._meta_.fields.resellerId={},e._meta_.fields.resellerId.type=Number,e._meta_.fields.deletedTime={},e._meta_.fields.deletedTime.type=Number,e._meta_.fields.modifiedTime={},e._meta_.fields.modifiedTime.type=Number,t.exports=e},46015:t=>{var e=function(){this._class_=e,this.requestUuids=void 0};e.prototype.setRequestUuids=function(t){this.requestUuids=t},e.prototype.getRequestUuids=function(){return this.requestUuids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestUuids={},e._meta_.fields.requestUuids.type=Array,t.exports=e},78032:t=>{var e=function(){this._class_=e,this.id=void 0,this.serialNumber=void 0,this.standardWarrantyStartDay=void 0,this.standardWarrantyEndDay=void 0,this.standardWarrantyStartDate=void 0,this.standardWarrantyEndDate=void 0,this.extendedWarrantyStatus=void 0,this.extendedWarrantyStartDay=void 0,this.extendedWarrantyEndDay=void 0,this.extendedWarrantyStartDate=void 0,this.extendedWarrantyEndDate=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setSerialNumber=function(t){this.serialNumber=t},e.prototype.getSerialNumber=function(){return this.serialNumber},e.prototype.setStandardWarrantyStartDay=function(t){this.standardWarrantyStartDay=t},e.prototype.getStandardWarrantyStartDay=function(){return this.standardWarrantyStartDay},e.prototype.setStandardWarrantyEndDay=function(t){this.standardWarrantyEndDay=t},e.prototype.getStandardWarrantyEndDay=function(){return this.standardWarrantyEndDay},e.prototype.setStandardWarrantyStartDate=function(t){this.standardWarrantyStartDate=t},e.prototype.getStandardWarrantyStartDate=function(){return this.standardWarrantyStartDate},e.prototype.setStandardWarrantyEndDate=function(t){this.standardWarrantyEndDate=t},e.prototype.getStandardWarrantyEndDate=function(){return this.standardWarrantyEndDate},e.prototype.setExtendedWarrantyStatus=function(t){this.extendedWarrantyStatus=t},e.prototype.getExtendedWarrantyStatus=function(){return this.extendedWarrantyStatus},e.prototype.setExtendedWarrantyStartDay=function(t){this.extendedWarrantyStartDay=t},e.prototype.getExtendedWarrantyStartDay=function(){return this.extendedWarrantyStartDay},e.prototype.setExtendedWarrantyEndDay=function(t){this.extendedWarrantyEndDay=t},e.prototype.getExtendedWarrantyEndDay=function(){return this.extendedWarrantyEndDay},e.prototype.setExtendedWarrantyStartDate=function(t){this.extendedWarrantyStartDate=t},e.prototype.getExtendedWarrantyStartDate=function(){return this.extendedWarrantyStartDate},e.prototype.setExtendedWarrantyEndDate=function(t){this.extendedWarrantyEndDate=t},e.prototype.getExtendedWarrantyEndDate=function(){return this.extendedWarrantyEndDate},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.serialNumber={},e._meta_.fields.serialNumber.type=String,e._meta_.fields.standardWarrantyStartDay={},e._meta_.fields.standardWarrantyStartDay.type=String,e._meta_.fields.standardWarrantyEndDay={},e._meta_.fields.standardWarrantyEndDay.type=String,e._meta_.fields.standardWarrantyStartDate={},e._meta_.fields.standardWarrantyStartDate.type=Number,e._meta_.fields.standardWarrantyEndDate={},e._meta_.fields.standardWarrantyEndDate.type=Number,e._meta_.fields.extendedWarrantyStatus={},e._meta_.fields.extendedWarrantyStatus.type=String,e._meta_.fields.extendedWarrantyStartDay={},e._meta_.fields.extendedWarrantyStartDay.type=String,e._meta_.fields.extendedWarrantyEndDay={},e._meta_.fields.extendedWarrantyEndDay.type=String,e._meta_.fields.extendedWarrantyStartDate={},e._meta_.fields.extendedWarrantyStartDate.type=Number,e._meta_.fields.extendedWarrantyEndDate={},e._meta_.fields.extendedWarrantyEndDate.type=Number,t.exports=e},39431:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.serial=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setSerial=function(t){this.serial=t},e.prototype.getSerial=function(){return this.serial},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.serial={},e._meta_.fields.serial.type=String,t.exports=e},68452:(t,e,i)=>{var n=i(47005),o=function(){this._class_=o,this.id=void 0,this.createdAt=void 0,this.version=void 0,this.versionName=void 0,this.description=void 0,this.buildType=void 0,this.isCritical=void 0,this.published=void 0,this.enabled=void 0,this.associationTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setCreatedAt=function(t){this.createdAt=t},o.prototype.getCreatedAt=function(){return this.createdAt},o.prototype.setVersion=function(t){this.version=t},o.prototype.getVersion=function(){return this.version},o.prototype.setVersionName=function(t){this.versionName=t},o.prototype.getVersionName=function(){return this.versionName},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setBuildType=function(t){this.buildType=t},o.prototype.getBuildType=function(){return this.buildType},o.prototype.setIsCritical=function(t){this.isCritical=t},o.prototype.getIsCritical=function(){return this.isCritical},o.prototype.setPublished=function(t){this.published=t},o.prototype.getPublished=function(){return this.published},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setAssociationTime=function(t){this.associationTime=t},o.prototype.getAssociationTime=function(){return this.associationTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.createdAt={},o._meta_.fields.createdAt.type=Number,o._meta_.fields.version={},o._meta_.fields.version.type=Number,o._meta_.fields.versionName={},o._meta_.fields.versionName.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.buildType={},o._meta_.fields.buildType.type=n,o._meta_.fields.isCritical={},o._meta_.fields.isCritical.type=Boolean,o._meta_.fields.published={},o._meta_.fields.published.type=Boolean,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.associationTime={},o._meta_.fields.associationTime.type=Number,t.exports=o},47005:t=>{t.exports={ENG:"ENG",USER:"USER"}},32340:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.type=void 0,this.serialNumber=void 0,this.createdTime=void 0,this.merchant=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.setSerialNumber=function(t){this.serialNumber=t},o.prototype.getSerialNumber=function(){return this.serialNumber},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=String,o._meta_.fields.serialNumber={},o._meta_.fields.serialNumber.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,t.exports=o},3427:t=>{var e=function(){this._class_=e,this.merchantId=void 0,this.provisionedSerialNumber=void 0,this.equipmentNumber=void 0,this.equipmentCode=void 0,this.bundleId=void 0,this.effectiveTime=void 0};e.prototype.setMerchantId=function(t){this.merchantId=t},e.prototype.getMerchantId=function(){return this.merchantId},e.prototype.setProvisionedSerialNumber=function(t){this.provisionedSerialNumber=t},e.prototype.getProvisionedSerialNumber=function(){return this.provisionedSerialNumber},e.prototype.setEquipmentNumber=function(t){this.equipmentNumber=t},e.prototype.getEquipmentNumber=function(){return this.equipmentNumber},e.prototype.setEquipmentCode=function(t){this.equipmentCode=t},e.prototype.getEquipmentCode=function(){return this.equipmentCode},e.prototype.setBundleId=function(t){this.bundleId=t},e.prototype.getBundleId=function(){return this.bundleId},e.prototype.setEffectiveTime=function(t){this.effectiveTime=t},e.prototype.getEffectiveTime=function(){return this.effectiveTime},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.merchantId={},e._meta_.fields.merchantId.type=String,e._meta_.fields.provisionedSerialNumber={},e._meta_.fields.provisionedSerialNumber.type=String,e._meta_.fields.equipmentNumber={},e._meta_.fields.equipmentNumber.type=String,e._meta_.fields.equipmentCode={},e._meta_.fields.equipmentCode.type=String,e._meta_.fields.bundleId={},e._meta_.fields.bundleId.type=String,e._meta_.fields.effectiveTime={},e._meta_.fields.effectiveTime.type=Number,t.exports=e},4822:(t,e,i)=>{function n(){}t.exports.device=n,n.AccessoryRomMetadataUpdateRequest=i(20857),n.AssociatedDeviceBundle=i(1752),n.BuildType=i(70511),n.BundleItem=i(76021),n.Device=i(12972),n.DeviceAccessory=i(10522),n.DeviceAccessoryBuildType=i(12157),n.DeviceBundle=i(84646),n.DeviceEventType=i(20927),n.DeviceProvision=i(61668),n.DeviceProvisionAssoc=i(4784),n.DeviceProvisionState=i(71132),n.DeviceProvisionStatus=i(16982),n.DeviceRequests=i(46015),n.DeviceWarranty=i(78032),n.LimitedDevice=i(39431),n.Rom=i(68452),n.RomBuildType=i(47005),n.SwapRequestEvent=i(32340),n.UpdatedDeviceBundle=i(3427),t.exports=n},2444:t=>{t.exports={ecom:"ecom",moto:"moto",recurring:"recurring"}},54931:t=>{t.exports={OWNER:"OWNER",ADMIN:"ADMIN",MANAGER:"MANAGER",EMPLOYEE:"EMPLOYEE"}},91033:(t,e,i)=>{var n=i(54931),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.nickname=void 0,this.customId=void 0,this.email=void 0,this.inviteSent=void 0,this.claimedTime=void 0,this.deletedTime=void 0,this.pin=void 0,this.unhashedPin=void 0,this.role=void 0,this.roles=void 0,this.isOwner=void 0,this.shifts=void 0,this.payments=void 0,this.orders=void 0,this.employeeCards=void 0,this.merchant=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setNickname=function(t){this.nickname=t},s.prototype.getNickname=function(){return this.nickname},s.prototype.setCustomId=function(t){this.customId=t},s.prototype.getCustomId=function(){return this.customId},s.prototype.setEmail=function(t){this.email=t},s.prototype.getEmail=function(){return this.email},s.prototype.setInviteSent=function(t){this.inviteSent=t},s.prototype.getInviteSent=function(){return this.inviteSent},s.prototype.setClaimedTime=function(t){this.claimedTime=t},s.prototype.getClaimedTime=function(){return this.claimedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setPin=function(t){this.pin=t},s.prototype.getPin=function(){return this.pin},s.prototype.setUnhashedPin=function(t){this.unhashedPin=t},s.prototype.getUnhashedPin=function(){return this.unhashedPin},s.prototype.setRole=function(t){this.role=t},s.prototype.getRole=function(){return this.role},s.prototype.setRoles=function(t){this.roles=t},s.prototype.getRoles=function(){return this.roles},s.prototype.setIsOwner=function(t){this.isOwner=t},s.prototype.getIsOwner=function(){return this.isOwner},s.prototype.setShifts=function(t){this.shifts=t},s.prototype.getShifts=function(){return this.shifts},s.prototype.setPayments=function(t){this.payments=t},s.prototype.getPayments=function(){return this.payments},s.prototype.setOrders=function(t){this.orders=t},s.prototype.getOrders=function(){return this.orders},s.prototype.setEmployeeCards=function(t){this.employeeCards=t},s.prototype.getEmployeeCards=function(){return this.employeeCards},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.nickname={},s._meta_.fields.nickname.type=String,s._meta_.fields.customId={},s._meta_.fields.customId.type=String,s._meta_.fields.email={},s._meta_.fields.email.type=String,s._meta_.fields.inviteSent={},s._meta_.fields.inviteSent.type=Boolean,s._meta_.fields.claimedTime={},s._meta_.fields.claimedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.pin={},s._meta_.fields.pin.type=String,s._meta_.fields.unhashedPin={},s._meta_.fields.unhashedPin.type=String,s._meta_.fields.role={},s._meta_.fields.role.type=n,s._meta_.fields.roles={},s._meta_.fields.roles.type=Array,s._meta_.fields.roles.elementType=o,s._meta_.fields.isOwner={},s._meta_.fields.isOwner.type=Boolean,s._meta_.fields.shifts={},s._meta_.fields.shifts.type=Array,s._meta_.fields.shifts.elementType=o,s._meta_.fields.payments={},s._meta_.fields.payments.type=Array,s._meta_.fields.payments.elementType=o,s._meta_.fields.orders={},s._meta_.fields.orders.type=Array,s._meta_.fields.orders.elementType=o,s._meta_.fields.employeeCards={},s._meta_.fields.employeeCards.type=Array,s._meta_.fields.employeeCards.elementType=o,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,t.exports=s},78945:(t,e,i)=>{var n=i(54863),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.merchant=void 0,this.employee=void 0,this.updater=void 0,this.number=void 0,this.status=void 0,this.createdTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setMerchant=function(t){this.merchant=t},s.prototype.getMerchant=function(){return this.merchant},s.prototype.setEmployee=function(t){this.employee=t},s.prototype.getEmployee=function(){return this.employee},s.prototype.setUpdater=function(t){this.updater=t},s.prototype.getUpdater=function(){return this.updater},s.prototype.setNumber=function(t){this.number=t},s.prototype.getNumber=function(){return this.number},s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=o,s._meta_.fields.employee={},s._meta_.fields.employee.type=o,s._meta_.fields.updater={},s._meta_.fields.updater.type=o,s._meta_.fields.number={},s._meta_.fields.number.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},54863:t=>{t.exports={ACTIVE:"ACTIVE",DISABLED:"DISABLED"}},52370:t=>{t.exports={MERCHANT_R:"MERCHANT_R",MERCHANT_W:"MERCHANT_W",PAYMENTS_R:"PAYMENTS_R",PAYMENTS_W:"PAYMENTS_W",ORDERS_R:"ORDERS_R",ORDERS_W:"ORDERS_W",PROCESS_CARDS:"PROCESS_CARDS"}},57598:t=>{t.exports={ORDERS_R:"ORDERS_R",ORDERS_W:"ORDERS_W",INVENTORY_R:"INVENTORY_R",INVENTORY_W:"INVENTORY_W",PAYMENTS_R:"PAYMENTS_R",PAYMENTS_W:"PAYMENTS_W",CUSTOMERS_R:"CUSTOMERS_R",CUSTOMERS_W:"CUSTOMERS_W",EMPLOYEES_R:"EMPLOYEES_R",EMPLOYEES_W:"EMPLOYEES_W",MERCHANT_R:"MERCHANT_R",MERCHANT_W:"MERCHANT_W"}},12899:(t,e,i)=>{var n=i(52370),o=i(4448),s=i(36967),r=function(){this._class_=r,this.id=void 0,this.name=void 0,this.label=void 0,this.app=void 0,this.employeeDefault=void 0,this.managerDefault=void 0,this.permissions=void 0,this.employeePermissions=void 0,this.module=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setName=function(t){this.name=t},r.prototype.getName=function(){return this.name},r.prototype.setLabel=function(t){this.label=t},r.prototype.getLabel=function(){return this.label},r.prototype.setApp=function(t){this.app=t},r.prototype.getApp=function(){return this.app},r.prototype.setEmployeeDefault=function(t){this.employeeDefault=t},r.prototype.getEmployeeDefault=function(){return this.employeeDefault},r.prototype.setManagerDefault=function(t){this.managerDefault=t},r.prototype.getManagerDefault=function(){return this.managerDefault},r.prototype.setPermissions=function(t){this.permissions=t},r.prototype.getPermissions=function(){return this.permissions},r.prototype.setEmployeePermissions=function(t){this.employeePermissions=t},r.prototype.getEmployeePermissions=function(){return this.employeePermissions},r.prototype.setModule=function(t){this.module=t},r.prototype.getModule=function(){return this.module},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.name={},r._meta_.fields.name.type=String,r._meta_.fields.label={},r._meta_.fields.label.type=String,r._meta_.fields.app={},r._meta_.fields.app.type=o,r._meta_.fields.employeeDefault={},r._meta_.fields.employeeDefault.type=Boolean,r._meta_.fields.managerDefault={},r._meta_.fields.managerDefault.type=Boolean,r._meta_.fields.permissions={},r._meta_.fields.permissions.type=s,r._meta_.fields.employeePermissions={},r._meta_.fields.employeePermissions.type=Array,r._meta_.fields.employeePermissions.elementType=n,r._meta_.fields.module={},r._meta_.fields.module.type=o,t.exports=r},85039:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.role=void 0,this.permissionSet=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setRole=function(t){this.role=t},o.prototype.getRole=function(){return this.role},o.prototype.setPermissionSet=function(t){this.permissionSet=t},o.prototype.getPermissionSet=function(){return this.permissionSet},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.role={},o._meta_.fields.role.type=n,o._meta_.fields.permissionSet={},o._meta_.fields.permissionSet.type=n,t.exports=o},36967:(t,e,i)=>{var n=i(57598),o=function(){this._class_=o,this.id=void 0,this.bits=void 0,this.readablePermissions=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setBits=function(t){this.bits=t},o.prototype.getBits=function(){return this.bits},o.prototype.setReadablePermissions=function(t){this.readablePermissions=t},o.prototype.getReadablePermissions=function(){return this.readablePermissions},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.bits={},o._meta_.fields.bits.type=Number,o._meta_.fields.readablePermissions={},o._meta_.fields.readablePermissions.type=Array,o._meta_.fields.readablePermissions.elementType=n,t.exports=o},11306:(t,e,i)=>{var n=i(54931),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.systemRole=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setSystemRole=function(t){this.systemRole=t},o.prototype.getSystemRole=function(){return this.systemRole},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.systemRole={},o._meta_.fields.systemRole.type=n,t.exports=o},66932:(t,e,i)=>{var n=i(91033),o=function(){this._class_=o,this.id=void 0,this.employee=void 0,this.cashTipsCollected=void 0,this.serverBanking=void 0,this.inTime=void 0,this.overrideInTime=void 0,this.overrideInEmployee=void 0,this.outTime=void 0,this.overrideOutTime=void 0,this.overrideOutEmployee=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setEmployee=function(t){this.employee=t},o.prototype.getEmployee=function(){return this.employee},o.prototype.setCashTipsCollected=function(t){this.cashTipsCollected=t},o.prototype.getCashTipsCollected=function(){return this.cashTipsCollected},o.prototype.setServerBanking=function(t){this.serverBanking=t},o.prototype.getServerBanking=function(){return this.serverBanking},o.prototype.setInTime=function(t){this.inTime=t},o.prototype.getInTime=function(){return this.inTime},o.prototype.setOverrideInTime=function(t){this.overrideInTime=t},o.prototype.getOverrideInTime=function(){return this.overrideInTime},o.prototype.setOverrideInEmployee=function(t){this.overrideInEmployee=t},o.prototype.getOverrideInEmployee=function(){return this.overrideInEmployee},o.prototype.setOutTime=function(t){this.outTime=t},o.prototype.getOutTime=function(){return this.outTime},o.prototype.setOverrideOutTime=function(t){this.overrideOutTime=t},o.prototype.getOverrideOutTime=function(){return this.overrideOutTime},o.prototype.setOverrideOutEmployee=function(t){this.overrideOutEmployee=t},o.prototype.getOverrideOutEmployee=function(){return this.overrideOutEmployee},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.employee={},o._meta_.fields.employee.type=n,o._meta_.fields.cashTipsCollected={},o._meta_.fields.cashTipsCollected.type=Number,o._meta_.fields.serverBanking={},o._meta_.fields.serverBanking.type=Boolean,o._meta_.fields.inTime={},o._meta_.fields.inTime.type=Number,o._meta_.fields.overrideInTime={},o._meta_.fields.overrideInTime.type=Number,o._meta_.fields.overrideInEmployee={},o._meta_.fields.overrideInEmployee.type=n,o._meta_.fields.outTime={},o._meta_.fields.outTime.type=Number,o._meta_.fields.overrideOutTime={},o._meta_.fields.overrideOutTime.type=Number,o._meta_.fields.overrideOutEmployee={},o._meta_.fields.overrideOutEmployee.type=n,t.exports=o},22731:(t,e,i)=>{function n(){}t.exports.employees=n,n.AccountRole=i(54931),n.Employee=i(91033),n.EmployeeCard=i(78945),n.EmployeeCardStatus=i(54863),n.EmployeePermission=i(52370),n.Permission=i(57598),n.PermissionSet=i(12899),n.PermissionSetRole=i(85039),n.Permissions=i(36967),n.Role=i(11306),n.Shift=i(66932),t.exports=n},82274:t=>{var e=function(){this._class_=e,this.start=void 0,this.end=void 0};e.prototype.setStart=function(t){this.start=t},e.prototype.getStart=function(){return this.start},e.prototype.setEnd=function(t){this.end=t},e.prototype.getEnd=function(){return this.end},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.start={},e._meta_.fields.start.type=Number,e._meta_.fields.end={},e._meta_.fields.end.type=Number,t.exports=e},20886:(t,e,i)=>{var n=i(82274),o=i(27653),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.reference=void 0,this.sunday=void 0,this.monday=void 0,this.tuesday=void 0,this.wednesday=void 0,this.thursday=void 0,this.friday=void 0,this.saturday=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setReference=function(t){this.reference=t},s.prototype.getReference=function(){return this.reference},s.prototype.setSunday=function(t){this.sunday=t},s.prototype.getSunday=function(){return this.sunday},s.prototype.setMonday=function(t){this.monday=t},s.prototype.getMonday=function(){return this.monday},s.prototype.setTuesday=function(t){this.tuesday=t},s.prototype.getTuesday=function(){return this.tuesday},s.prototype.setWednesday=function(t){this.wednesday=t},s.prototype.getWednesday=function(){return this.wednesday},s.prototype.setThursday=function(t){this.thursday=t},s.prototype.getThursday=function(){return this.thursday},s.prototype.setFriday=function(t){this.friday=t},s.prototype.getFriday=function(){return this.friday},s.prototype.setSaturday=function(t){this.saturday=t},s.prototype.getSaturday=function(){return this.saturday},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.reference={},s._meta_.fields.reference.type=o,s._meta_.fields.sunday={},s._meta_.fields.sunday.type=Array,s._meta_.fields.sunday.elementType=n,s._meta_.fields.monday={},s._meta_.fields.monday.type=Array,s._meta_.fields.monday.elementType=n,s._meta_.fields.tuesday={},s._meta_.fields.tuesday.type=Array,s._meta_.fields.tuesday.elementType=n,s._meta_.fields.wednesday={},s._meta_.fields.wednesday.type=Array,s._meta_.fields.wednesday.elementType=n,s._meta_.fields.thursday={},s._meta_.fields.thursday.type=Array,s._meta_.fields.thursday.elementType=n,s._meta_.fields.friday={},s._meta_.fields.friday.type=Array,s._meta_.fields.friday.elementType=n,s._meta_.fields.saturday={},s._meta_.fields.saturday.type=Array,s._meta_.fields.saturday.elementType=n,t.exports=s},27653:(t,e,i)=>{var n=i(76263),o=function(){this._class_=o,this.id=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},76263:t=>{t.exports={ORDER_TYPE:"ORDER_TYPE",ITEM_GROUP:"ITEM_GROUP",SOFTWARE_UPDATE_EXCLUSION:"SOFTWARE_UPDATE_EXCLUSION",ONLINE_ORDER_SERVICE:"ONLINE_ORDER_SERVICE"}},81894:(t,e,i)=>{function n(){}t.exports.hours=n,n.HourRange=i(82274),n.HoursSet=i(20886),n.Reference=i(27653),n.ReferenceType=i(76263),t.exports=n},61256:(t,e,i)=>{function n(){}t.exports.sdk=n,n.apps=i(64280),n.base=i(87773),n.customers=i(92700),n.device=i(4822),n.employees=i(22731),n.hours=i(81894),n.inventory=i(19820),n.order=i(40402),n.pay=i(57637),n.payments=i(72397),n.printer=i(54492),n.remotemessage=i(90226),n.remotepay=i(95626),n.merchant=i(15222),n.loyalty=i(81990),t.exports=n},2937:(t,e,i)=>{var n=i(4448),o=i(35787),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.itemGroup=void 0,this.options=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setItemGroup=function(t){this.itemGroup=t},s.prototype.getItemGroup=function(){return this.itemGroup},s.prototype.setOptions=function(t){this.options=t},s.prototype.getOptions=function(){return this.options},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.itemGroup={},s._meta_.fields.itemGroup.type=n,s._meta_.fields.options={},s._meta_.fields.options.type=Array,s._meta_.fields.options.elementType=o,t.exports=s},74155:(t,e,i)=>{var n=i(84700),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.sortOrder=void 0,this.items=void 0,this.deleted=void 0,this.modifiedTime=void 0,this.canonical=void 0,this.menuSection=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSortOrder=function(t){this.sortOrder=t},s.prototype.getSortOrder=function(){return this.sortOrder},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setDeleted=function(t){this.deleted=t},s.prototype.getDeleted=function(){return this.deleted},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setCanonical=function(t){this.canonical=t},s.prototype.getCanonical=function(){return this.canonical},s.prototype.setMenuSection=function(t){this.menuSection=t},s.prototype.getMenuSection=function(){return this.menuSection},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.sortOrder={},s._meta_.fields.sortOrder.type=Number,s._meta_.fields.items={},s._meta_.fields.items.type=Array,s._meta_.fields.items.elementType=o,s._meta_.fields.deleted={},s._meta_.fields.deleted.type=Boolean,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.canonical={},s._meta_.fields.canonical.type=o,s._meta_.fields.menuSection={},s._meta_.fields.menuSection.type=n,t.exports=s},58563:(t,e,i)=>{var n=i(69728),o=i(74155),s=function(){this._class_=s,this.item=void 0,this.category=void 0};s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.item={},s._meta_.fields.item.type=n,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},70855:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.primary=void 0,this.secondary=void 0,this.payload=void 0};o.prototype.setPrimary=function(t){this.primary=t},o.prototype.getPrimary=function(){return this.primary},o.prototype.setSecondary=function(t){this.secondary=t},o.prototype.getSecondary=function(){return this.secondary},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.primary={},o._meta_.fields.primary.type=n,o._meta_.fields.secondary={},o._meta_.fields.secondary.type=n,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,t.exports=o},68119:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.merchantRef=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPercentage=function(t){this.percentage=t},o.prototype.getPercentage=function(){return this.percentage},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.percentage={},o._meta_.fields.percentage.type=Number,t.exports=o},71848:(t,e,i)=>{var n=i(69728),o=function(){this._class_=o,this.items=void 0};o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},69728:(t,e,i)=>{var n=i(2514),o=i(73004),s=i(11273),r=i(62703),a=i(33983),l=i(74155),d=i(4448),u=i(43156),p=i(35787),_=function(){this._class_=_,this.id=void 0,this.hidden=!1,this.itemGroup=void 0,this.options=void 0,this.name=void 0,this.alternateName=void 0,this.code=void 0,this.sku=void 0,this.price=void 0,this.priceType=void 0,this.defaultTaxRates=!0,this.unitName=void 0,this.cost=void 0,this.isRevenue=!1,this.stockCount=void 0,this.taxRates=void 0,this.modifierGroups=void 0,this.categories=void 0,this.tags=void 0,this.canonical=void 0,this.itemStock=void 0,this.menuItem=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.priceWithoutVat=void 0};_.prototype.setId=function(t){this.id=t},_.prototype.getId=function(){return this.id},_.prototype.setHidden=function(t){this.hidden=t},_.prototype.getHidden=function(){return this.hidden},_.prototype.setItemGroup=function(t){this.itemGroup=t},_.prototype.getItemGroup=function(){return this.itemGroup},_.prototype.setOptions=function(t){this.options=t},_.prototype.getOptions=function(){return this.options},_.prototype.setName=function(t){this.name=t},_.prototype.getName=function(){return this.name},_.prototype.setAlternateName=function(t){this.alternateName=t},_.prototype.getAlternateName=function(){return this.alternateName},_.prototype.setCode=function(t){this.code=t},_.prototype.getCode=function(){return this.code},_.prototype.setSku=function(t){this.sku=t},_.prototype.getSku=function(){return this.sku},_.prototype.setPrice=function(t){this.price=t},_.prototype.getPrice=function(){return this.price},_.prototype.setPriceType=function(t){this.priceType=t},_.prototype.getPriceType=function(){return this.priceType},_.prototype.setDefaultTaxRates=function(t){this.defaultTaxRates=t},_.prototype.getDefaultTaxRates=function(){return this.defaultTaxRates},_.prototype.setUnitName=function(t){this.unitName=t},_.prototype.getUnitName=function(){return this.unitName},_.prototype.setCost=function(t){this.cost=t},_.prototype.getCost=function(){return this.cost},_.prototype.setIsRevenue=function(t){this.isRevenue=t},_.prototype.getIsRevenue=function(){return this.isRevenue},_.prototype.setStockCount=function(t){this.stockCount=t},_.prototype.getStockCount=function(){return this.stockCount},_.prototype.setTaxRates=function(t){this.taxRates=t},_.prototype.getTaxRates=function(){return this.taxRates},_.prototype.setModifierGroups=function(t){this.modifierGroups=t},_.prototype.getModifierGroups=function(){return this.modifierGroups},_.prototype.setCategories=function(t){this.categories=t},_.prototype.getCategories=function(){return this.categories},_.prototype.setTags=function(t){this.tags=t},_.prototype.getTags=function(){return this.tags},_.prototype.setCanonical=function(t){this.canonical=t},_.prototype.getCanonical=function(){return this.canonical},_.prototype.setItemStock=function(t){this.itemStock=t},_.prototype.getItemStock=function(){return this.itemStock},_.prototype.setMenuItem=function(t){this.menuItem=t},_.prototype.getMenuItem=function(){return this.menuItem},_.prototype.setModifiedTime=function(t){this.modifiedTime=t},_.prototype.getModifiedTime=function(){return this.modifiedTime},_.prototype.setDeletedTime=function(t){this.deletedTime=t},_.prototype.getDeletedTime=function(){return this.deletedTime},_.prototype.setPriceWithoutVat=function(t){this.priceWithoutVat=t},_.prototype.getPriceWithoutVat=function(){return this.priceWithoutVat},_.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},_.prototype.toString=function(){return JSON.stringify(this)},_._meta_={fields:{}},_._meta_._class_=_,_._meta_.fields.id={},_._meta_.fields.id.type=String,_._meta_.fields.hidden={},_._meta_.fields.hidden.type=Boolean,_._meta_.fields.itemGroup={},_._meta_.fields.itemGroup.type=d,_._meta_.fields.options={},_._meta_.fields.options.type=Array,_._meta_.fields.options.elementType=p,_._meta_.fields.name={},_._meta_.fields.name.type=String,_._meta_.fields.alternateName={},_._meta_.fields.alternateName.type=String,_._meta_.fields.code={},_._meta_.fields.code.type=String,_._meta_.fields.sku={},_._meta_.fields.sku.type=String,_._meta_.fields.price={},_._meta_.fields.price.type=Number,_._meta_.fields.priceType={},_._meta_.fields.priceType.type=a,_._meta_.fields.defaultTaxRates={},_._meta_.fields.defaultTaxRates.type=Boolean,_._meta_.fields.unitName={},_._meta_.fields.unitName.type=String,_._meta_.fields.cost={},_._meta_.fields.cost.type=Number,_._meta_.fields.isRevenue={},_._meta_.fields.isRevenue.type=Boolean,_._meta_.fields.stockCount={},_._meta_.fields.stockCount.type=Number,_._meta_.fields.taxRates={},_._meta_.fields.taxRates.type=Array,_._meta_.fields.taxRates.elementType=o,_._meta_.fields.modifierGroups={},_._meta_.fields.modifierGroups.type=Array,_._meta_.fields.modifierGroups.elementType=r,_._meta_.fields.categories={},_._meta_.fields.categories.type=Array,_._meta_.fields.categories.elementType=l,_._meta_.fields.tags={},_._meta_.fields.tags.type=Array,_._meta_.fields.tags.elementType=u,_._meta_.fields.canonical={},_._meta_.fields.canonical.type=d,_._meta_.fields.itemStock={},_._meta_.fields.itemStock.type=n,_._meta_.fields.menuItem={},_._meta_.fields.menuItem.type=s,_._meta_.fields.modifiedTime={},_._meta_.fields.modifiedTime.type=Number,_._meta_.fields.deletedTime={},_._meta_.fields.deletedTime.type=Number,_._meta_.fields.priceWithoutVat={},_._meta_.fields.priceWithoutVat.type=Number,t.exports=_},72002:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.items=void 0,this.attributes=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.setAttributes=function(t){this.attributes=t},o.prototype.getAttributes=function(){return this.attributes},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,o._meta_.fields.attributes={},o._meta_.fields.attributes.type=Array,o._meta_.fields.attributes.elementType=n,t.exports=o},78777:(t,e,i)=>{var n=i(62703),o=i(69728),s=function(){this._class_=s,this.item=void 0,this.modifierGroup=void 0};s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.setModifierGroup=function(t){this.modifierGroup=t},s.prototype.getModifierGroup=function(){return this.modifierGroup},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.item={},s._meta_.fields.item.type=o,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=n,t.exports=s},2514:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.item=void 0,this.stockCount=void 0,this.quantity=void 0,this.modifiedTime=void 0};o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.setStockCount=function(t){this.stockCount=t},o.prototype.getStockCount=function(){return this.stockCount},o.prototype.setQuantity=function(t){this.quantity=t},o.prototype.getQuantity=function(){return this.quantity},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.item={},o._meta_.fields.item.type=n,o._meta_.fields.stockCount={},o._meta_.fields.stockCount.type=Number,o._meta_.fields.quantity={},o._meta_.fields.quantity.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,t.exports=o},43051:t=>{var e=function(){this._class_=e,this.enabled=void 0,this.uuids=void 0};e.prototype.setEnabled=function(t){this.enabled=t},e.prototype.getEnabled=function(){return this.enabled},e.prototype.setUuids=function(t){this.uuids=t},e.prototype.getUuids=function(){return this.uuids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.enabled={},e._meta_.fields.enabled.type=Boolean,e._meta_.fields.uuids={},e._meta_.fields.uuids.type=Array,t.exports=e},11273:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.item=void 0,this.merchantRef=void 0,this.price=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setPrice=function(t){this.price=t},o.prototype.getPrice=function(){return this.price},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.item={},o._meta_.fields.item.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.price={},o._meta_.fields.price.type=Number,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},48575:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.modifier=void 0,this.merchantRef=void 0,this.price=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setModifier=function(t){this.modifier=t},o.prototype.getModifier=function(){return this.modifier},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setPrice=function(t){this.price=t},o.prototype.getPrice=function(){return this.price},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.modifier={},o._meta_.fields.modifier.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.price={},o._meta_.fields.price.type=Number,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},73592:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.modifierGroup=void 0,this.merchantRef=void 0,this.name=void 0,this.description=void 0,this.minRequired=void 0,this.maxAllowed=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setModifierGroup=function(t){this.modifierGroup=t},o.prototype.getModifierGroup=function(){return this.modifierGroup},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.setMinRequired=function(t){this.minRequired=t},o.prototype.getMinRequired=function(){return this.minRequired},o.prototype.setMaxAllowed=function(t){this.maxAllowed=t},o.prototype.getMaxAllowed=function(){return this.maxAllowed},o.prototype.setImageFilename=function(t){this.imageFilename=t},o.prototype.getImageFilename=function(){return this.imageFilename},o.prototype.setEnabled=function(t){this.enabled=t},o.prototype.getEnabled=function(){return this.enabled},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.setDeletedTime=function(t){this.deletedTime=t},o.prototype.getDeletedTime=function(){return this.deletedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.modifierGroup={},o._meta_.fields.modifierGroup.type=n,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.description={},o._meta_.fields.description.type=String,o._meta_.fields.minRequired={},o._meta_.fields.minRequired.type=Number,o._meta_.fields.maxAllowed={},o._meta_.fields.maxAllowed.type=Number,o._meta_.fields.imageFilename={},o._meta_.fields.imageFilename.type=String,o._meta_.fields.enabled={},o._meta_.fields.enabled.type=Boolean,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,o._meta_.fields.deletedTime={},o._meta_.fields.deletedTime.type=Number,t.exports=o},84700:(t,e,i)=>{var n=i(11273),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.category=void 0,this.merchantRef=void 0,this.items=void 0,this.itemList=void 0,this.name=void 0,this.description=void 0,this.imageFilename=void 0,this.enabled=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.setMerchantRef=function(t){this.merchantRef=t},s.prototype.getMerchantRef=function(){return this.merchantRef},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setItemList=function(t){this.itemList=t},s.prototype.getItemList=function(){return this.itemList},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setDescription=function(t){this.description=t},s.prototype.getDescription=function(){return this.description},s.prototype.setImageFilename=function(t){this.imageFilename=t},s.prototype.getImageFilename=function(){return this.imageFilename},s.prototype.setEnabled=function(t){this.enabled=t},s.prototype.getEnabled=function(){return this.enabled},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.category={},s._meta_.fields.category.type=o,s._meta_.fields.merchantRef={},s._meta_.fields.merchantRef.type=o,s._meta_.fields.items={},s._meta_.fields.items.type=String,s._meta_.fields.itemList={},s._meta_.fields.itemList.type=Array,s._meta_.fields.itemList.elementType=n,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.description={},s._meta_.fields.description.type=String,s._meta_.fields.imageFilename={},s._meta_.fields.imageFilename.type=String,s._meta_.fields.enabled={},s._meta_.fields.enabled.type=Boolean,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,t.exports=s},55683:(t,e,i)=>{var n=i(48575),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.price=0,this.modifierGroup=void 0,this.menuModifier=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setAlternateName=function(t){this.alternateName=t},s.prototype.getAlternateName=function(){return this.alternateName},s.prototype.setPrice=function(t){this.price=t},s.prototype.getPrice=function(){return this.price},s.prototype.setModifierGroup=function(t){this.modifierGroup=t},s.prototype.getModifierGroup=function(){return this.modifierGroup},s.prototype.setMenuModifier=function(t){this.menuModifier=t},s.prototype.getMenuModifier=function(){return this.menuModifier},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.alternateName={},s._meta_.fields.alternateName.type=String,s._meta_.fields.price={},s._meta_.fields.price.type=Number,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=o,s._meta_.fields.menuModifier={},s._meta_.fields.menuModifier.type=n,t.exports=s},62703:(t,e,i)=>{var n=i(73592),o=i(4448),s=i(55683),r=function(){this._class_=r,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.minRequired=void 0,this.maxAllowed=void 0,this.showByDefault=!0,this.modifiers=void 0,this.modifierIds=void 0,this.items=void 0,this.menuModifierGroup=void 0,this.sortOrder=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setName=function(t){this.name=t},r.prototype.getName=function(){return this.name},r.prototype.setAlternateName=function(t){this.alternateName=t},r.prototype.getAlternateName=function(){return this.alternateName},r.prototype.setMinRequired=function(t){this.minRequired=t},r.prototype.getMinRequired=function(){return this.minRequired},r.prototype.setMaxAllowed=function(t){this.maxAllowed=t},r.prototype.getMaxAllowed=function(){return this.maxAllowed},r.prototype.setShowByDefault=function(t){this.showByDefault=t},r.prototype.getShowByDefault=function(){return this.showByDefault},r.prototype.setModifiers=function(t){this.modifiers=t},r.prototype.getModifiers=function(){return this.modifiers},r.prototype.setModifierIds=function(t){this.modifierIds=t},r.prototype.getModifierIds=function(){return this.modifierIds},r.prototype.setItems=function(t){this.items=t},r.prototype.getItems=function(){return this.items},r.prototype.setMenuModifierGroup=function(t){this.menuModifierGroup=t},r.prototype.getMenuModifierGroup=function(){return this.menuModifierGroup},r.prototype.setSortOrder=function(t){this.sortOrder=t},r.prototype.getSortOrder=function(){return this.sortOrder},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.name={},r._meta_.fields.name.type=String,r._meta_.fields.alternateName={},r._meta_.fields.alternateName.type=String,r._meta_.fields.minRequired={},r._meta_.fields.minRequired.type=Number,r._meta_.fields.maxAllowed={},r._meta_.fields.maxAllowed.type=Number,r._meta_.fields.showByDefault={},r._meta_.fields.showByDefault.type=Boolean,r._meta_.fields.modifiers={},r._meta_.fields.modifiers.type=Array,r._meta_.fields.modifiers.elementType=s,r._meta_.fields.modifierIds={},r._meta_.fields.modifierIds.type=String,r._meta_.fields.items={},r._meta_.fields.items.type=Array,r._meta_.fields.items.elementType=o,r._meta_.fields.menuModifierGroup={},r._meta_.fields.menuModifierGroup.type=n,r._meta_.fields.sortOrder={},r._meta_.fields.sortOrder.type=Number,t.exports=r},61445:(t,e,i)=>{var n=i(62703),o=function(){this._class_=o,this.modifierGroups=void 0};o.prototype.setModifierGroups=function(t){this.modifierGroups=t},o.prototype.getModifierGroups=function(){return this.modifierGroups},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.modifierGroups={},o._meta_.fields.modifierGroups.type=Array,o._meta_.fields.modifierGroups.elementType=n,t.exports=o},35787:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.attribute=void 0,this.items=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAttribute=function(t){this.attribute=t},o.prototype.getAttribute=function(){return this.attribute},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.attribute={},o._meta_.fields.attribute.type=n,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},34456:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.option=void 0,this.item=void 0};o.prototype.setOption=function(t){this.option=t},o.prototype.getOption=function(){return this.option},o.prototype.setItem=function(t){this.item=t},o.prototype.getItem=function(){return this.item},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.option={},o._meta_.fields.option.type=n,o._meta_.fields.item={},o._meta_.fields.item.type=n,t.exports=o},33983:t=>{t.exports={FIXED:"FIXED",VARIABLE:"VARIABLE",PER_UNIT:"PER_UNIT"}},95263:t=>{var e=function(){this._class_=e,this.ids=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,t.exports=e},43156:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name="",this.showInReporting=!1,this.items=void 0,this.printers=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setShowInReporting=function(t){this.showInReporting=t},o.prototype.getShowInReporting=function(){return this.showInReporting},o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.setPrinters=function(t){this.printers=t},o.prototype.getPrinters=function(){return this.printers},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.showInReporting={},o._meta_.fields.showInReporting.type=Boolean,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,o._meta_.fields.printers={},o._meta_.fields.printers.type=Array,o._meta_.fields.printers.elementType=n,t.exports=o},7248:(t,e,i)=>{var n=i(69728),o=i(43156),s=function(){this._class_=s,this.tag=void 0,this.item=void 0};s.prototype.setTag=function(t){this.tag=t},s.prototype.getTag=function(){return this.tag},s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.tag={},s._meta_.fields.tag.type=o,s._meta_.fields.item={},s._meta_.fields.item.type=n,t.exports=s},73519:(t,e,i)=>{var n=i(43540),o=i(43156),s=function(){this._class_=s,this.tag=void 0,this.printer=void 0};s.prototype.setTag=function(t){this.tag=t},s.prototype.getTag=function(){return this.tag},s.prototype.setPrinter=function(t){this.printer=t},s.prototype.getPrinter=function(){return this.printer},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.tag={},s._meta_.fields.tag.type=o,s._meta_.fields.printer={},s._meta_.fields.printer.type=n,t.exports=s},73004:(t,e,i)=>{var n=i(46554),o=i(4448),s=function(){this._class_=s,this.id=void 0,this.name=void 0,this.taxType=void 0,this.rate=void 0,this.isDefault=void 0,this.items=void 0,this.taxAmount=void 0,this.deletedTime=void 0,this.modifiedTime=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setTaxType=function(t){this.taxType=t},s.prototype.getTaxType=function(){return this.taxType},s.prototype.setRate=function(t){this.rate=t},s.prototype.getRate=function(){return this.rate},s.prototype.setIsDefault=function(t){this.isDefault=t},s.prototype.getIsDefault=function(){return this.isDefault},s.prototype.setItems=function(t){this.items=t},s.prototype.getItems=function(){return this.items},s.prototype.setTaxAmount=function(t){this.taxAmount=t},s.prototype.getTaxAmount=function(){return this.taxAmount},s.prototype.setDeletedTime=function(t){this.deletedTime=t},s.prototype.getDeletedTime=function(){return this.deletedTime},s.prototype.setModifiedTime=function(t){this.modifiedTime=t},s.prototype.getModifiedTime=function(){return this.modifiedTime},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.taxType={},s._meta_.fields.taxType.type=n,s._meta_.fields.rate={},s._meta_.fields.rate.type=Number,s._meta_.fields.isDefault={},s._meta_.fields.isDefault.type=Boolean,s._meta_.fields.items={},s._meta_.fields.items.type=Array,s._meta_.fields.items.elementType=o,s._meta_.fields.taxAmount={},s._meta_.fields.taxAmount.type=Number,s._meta_.fields.deletedTime={},s._meta_.fields.deletedTime.type=Number,s._meta_.fields.modifiedTime={},s._meta_.fields.modifiedTime.type=Number,t.exports=s},97946:(t,e,i)=>{var n=i(73004),o=i(69728),s=function(){this._class_=s,this.taxRate=void 0,this.item=void 0};s.prototype.setTaxRate=function(t){this.taxRate=t},s.prototype.getTaxRate=function(){return this.taxRate},s.prototype.setItem=function(t){this.item=t},s.prototype.getItem=function(){return this.item},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.taxRate={},s._meta_.fields.taxRate.type=n,s._meta_.fields.item={},s._meta_.fields.item.type=o,t.exports=s},46554:t=>{t.exports={VAT_TAXABLE:"VAT_TAXABLE",VAT_NON_TAXABLE:"VAT_NON_TAXABLE",VAT_EXEMPT:"VAT_EXEMPT",INTERNAL_TAX:"INTERNAL_TAX"}},19820:(t,e,i)=>{function n(){}t.exports.inventory=n,n.Attribute=i(2937),n.Category=i(74155),n.CategoryItem=i(58563),n.DataAssociation=i(70855),n.Discount=i(68119),n.InventoryItems=i(71848),n.Item=i(69728),n.ItemGroup=i(72002),n.ItemModifierGroup=i(78777),n.ItemStock=i(2514),n.MenuBulkUpdate=i(43051),n.MenuItem=i(11273),n.MenuModifier=i(48575),n.MenuModifierGroup=i(73592),n.MenuSection=i(84700),n.Modifier=i(55683),n.ModifierGroup=i(62703),n.ModifierGroupArray=i(61445),n.Option=i(35787),n.OptionItem=i(34456),n.PriceType=i(33983),n.SortOrder=i(95263),n.Tag=i(43156),n.TagItem=i(7248),n.TagPrinter=i(73519),n.TaxRate=i(73004),n.TaxRateItem=i(97946),n.TaxType=i(46554),t.exports=n},48485:(t,e,i)=>{var n=i(53090),o=function(){this._class_=o,this.responseType=void 0};o.prototype.setResponseType=function(t){this.responseType=t},o.prototype.getResponseType=function(){return this.responseType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.responseType={},o._meta_.fields.responseType.type=n,t.exports=o},53090:t=>{t.exports={ACCEPTED:"ACCEPTED",PENDING:"PENDING"}},77166:t=>{var e=function(){this._class_=e,this.type=void 0,this.configuration=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setConfiguration=function(t){this.configuration=t},e.prototype.getConfiguration=function(){return this.configuration},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.configuration={},e._meta_.fields.configuration.type=Object,t.exports=e},81990:(t,e,i)=>{function n(){}t.exports.loyalty=n,n.CustomerProvidedDataResponse=i(48485),n.CustomerProvidedDataResponseType=i(53090),n.LoyaltyDataConfig=i(77166),t.exports=n},27033:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.percentage=void 0,this.amount=void 0,this.isEnabled=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setIsEnabled=function(t){this.isEnabled=t},e.prototype.getIsEnabled=function(){return this.isEnabled},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,e._meta_.fields.isEnabled={},e._meta_.fields.isEnabled.type=Boolean,t.exports=e},15222:(t,e,i)=>{function n(){}t.exports.merchant=n,n.TipSuggestion=i(27033),t.exports=n},55623:(t,e,i)=>{var n=i(15358),o=i(5428),s=i(43252),r=i(4448),a=i(4780),l=function(){this._class_=l,this.id=void 0,this.merchantRef=void 0,this.onlineOrderId=void 0,this.receiptId=void 0,this.provider=void 0,this.providerId=void 0,this.orderState=void 0,this.onlineOrderCustomer=void 0,this.deliverTime=void 0,this.scheduledPickupTime=void 0,this.reason=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};l.prototype.setId=function(t){this.id=t},l.prototype.getId=function(){return this.id},l.prototype.setMerchantRef=function(t){this.merchantRef=t},l.prototype.getMerchantRef=function(){return this.merchantRef},l.prototype.setOnlineOrderId=function(t){this.onlineOrderId=t},l.prototype.getOnlineOrderId=function(){return this.onlineOrderId},l.prototype.setReceiptId=function(t){this.receiptId=t},l.prototype.getReceiptId=function(){return this.receiptId},l.prototype.setProvider=function(t){this.provider=t},l.prototype.getProvider=function(){return this.provider},l.prototype.setProviderId=function(t){this.providerId=t},l.prototype.getProviderId=function(){return this.providerId},l.prototype.setOrderState=function(t){this.orderState=t},l.prototype.getOrderState=function(){return this.orderState},l.prototype.setOnlineOrderCustomer=function(t){this.onlineOrderCustomer=t},l.prototype.getOnlineOrderCustomer=function(){return this.onlineOrderCustomer},l.prototype.setDeliverTime=function(t){this.deliverTime=t},l.prototype.getDeliverTime=function(){return this.deliverTime},l.prototype.setScheduledPickupTime=function(t){this.scheduledPickupTime=t},l.prototype.getScheduledPickupTime=function(){return this.scheduledPickupTime},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setCreatedTime=function(t){this.createdTime=t},l.prototype.getCreatedTime=function(){return this.createdTime},l.prototype.setModifiedTime=function(t){this.modifiedTime=t},l.prototype.getModifiedTime=function(){return this.modifiedTime},l.prototype.setDeletedTime=function(t){this.deletedTime=t},l.prototype.getDeletedTime=function(){return this.deletedTime},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.id={},l._meta_.fields.id.type=String,l._meta_.fields.merchantRef={},l._meta_.fields.merchantRef.type=r,l._meta_.fields.onlineOrderId={},l._meta_.fields.onlineOrderId.type=String,l._meta_.fields.receiptId={},l._meta_.fields.receiptId.type=String,l._meta_.fields.provider={},l._meta_.fields.provider.type=r,l._meta_.fields.providerId={},l._meta_.fields.providerId.type=n,l._meta_.fields.orderState={},l._meta_.fields.orderState.type=a,l._meta_.fields.onlineOrderCustomer={},l._meta_.fields.onlineOrderCustomer.type=o,l._meta_.fields.deliverTime={},l._meta_.fields.deliverTime.type=Number,l._meta_.fields.scheduledPickupTime={},l._meta_.fields.scheduledPickupTime.type=Number,l._meta_.fields.reason={},l._meta_.fields.reason.type=s,l._meta_.fields.createdTime={},l._meta_.fields.createdTime.type=Number,l._meta_.fields.modifiedTime={},l._meta_.fields.modifiedTime.type=Number,l._meta_.fields.deletedTime={},l._meta_.fields.deletedTime.type=Number,t.exports=l},5428:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.merchantRef=void 0,this.customerEmailAddress=void 0,this.customerDisplayName=void 0,this.customerFirstName=void 0,this.customerLastName=void 0,this.customerPhoneNumber=void 0,this.createdTime=void 0,this.modifiedTime=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMerchantRef=function(t){this.merchantRef=t},o.prototype.getMerchantRef=function(){return this.merchantRef},o.prototype.setCustomerEmailAddress=function(t){this.customerEmailAddress=t},o.prototype.getCustomerEmailAddress=function(){return this.customerEmailAddress},o.prototype.setCustomerDisplayName=function(t){this.customerDisplayName=t},o.prototype.getCustomerDisplayName=function(){return this.customerDisplayName},o.prototype.setCustomerFirstName=function(t){this.customerFirstName=t},o.prototype.getCustomerFirstName=function(){return this.customerFirstName},o.prototype.setCustomerLastName=function(t){this.customerLastName=t},o.prototype.getCustomerLastName=function(){return this.customerLastName},o.prototype.setCustomerPhoneNumber=function(t){this.customerPhoneNumber=t},o.prototype.getCustomerPhoneNumber=function(){return this.customerPhoneNumber},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setModifiedTime=function(t){this.modifiedTime=t},o.prototype.getModifiedTime=function(){return this.modifiedTime},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.merchantRef={},o._meta_.fields.merchantRef.type=n,o._meta_.fields.customerEmailAddress={},o._meta_.fields.customerEmailAddress.type=String,o._meta_.fields.customerDisplayName={},o._meta_.fields.customerDisplayName.type=String,o._meta_.fields.customerFirstName={},o._meta_.fields.customerFirstName.type=String,o._meta_.fields.customerLastName={},o._meta_.fields.customerLastName.type=String,o._meta_.fields.customerPhoneNumber={},o._meta_.fields.customerPhoneNumber.type=String,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.modifiedTime={},o._meta_.fields.modifiedTime.type=Number,t.exports=o},4780:t=>{t.exports={CREATED:"CREATED",CONFIRMED:"CONFIRMED",REJECTED:"REJECTED",CANCELLED:"CANCELLED",IN_PREPARATION:"IN_PREPARATION",READY_FOR_PICKUP:"READY_FOR_PICKUP",IN_TRANSIT:"IN_TRANSIT",FULFILLED:"FULFILLED"}},15358:t=>{t.exports={GOOGLE:"GOOGLE"}},43252:t=>{t.exports={MENU_ITEM_UNAVAILABLE:"MENU_ITEM_UNAVAILABLE",RESTAURANT_CLOSED:"RESTAURANT_CLOSED"}},70541:t=>{t.exports={DELETED_LINE_ITEM:"DELETED_LINE_ITEM",MOVED_TABLE:"MOVED_TABLE",LEFT_TABLE:"LEFT_TABLE"}},85653:(t,e,i)=>{var n=i(9222),o=function(){this._class_=o,this.items=void 0};o.prototype.setItems=function(t){this.items=t},o.prototype.getItems=function(){return this.items},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.items={},o._meta_.fields.items.type=Array,o._meta_.fields.items.elementType=n,t.exports=o},91961:t=>{t.exports={NAME:"NAME",TABLE:"TABLE",NAME_TABLE:"NAME_TABLE"}},4248:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.discount=void 0,this.approver=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.setApprover=function(t){this.approver=t},o.prototype.getApprover=function(){return this.approver},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPercentage=function(t){this.percentage=t},o.prototype.getPercentage=function(){return this.percentage},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,o._meta_.fields.approver={},o._meta_.fields.approver.type=n,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.percentage={},o._meta_.fields.percentage.type=Number,t.exports=o},16572:t=>{var e=function(){this._class_=e,this.id=void 0,this.lineItemId=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=String,t.exports=e},6062:(t,e,i)=>{var n=i(16572),o=i(82922),s=function(){this._class_=s,this.id=void 0,this.orderId=void 0,this.name=void 0,this.alternateName=void 0,this.price=void 0,this.unitPrice=void 0,this.quantity=void 0,this.unitQuantity=void 0,this.note=void 0,this.printed="false",this.binName=void 0,this.userData=void 0,this.discounts=void 0,this.discountAmount=void 0,this.exchanged="false",this.exchangedAmount=void 0,this.modifications=void 0,this.refunded="false",this.refundedAmount=void 0,this.percent=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setAlternateName=function(t){this.alternateName=t},s.prototype.getAlternateName=function(){return this.alternateName},s.prototype.setPrice=function(t){this.price=t},s.prototype.getPrice=function(){return this.price},s.prototype.setUnitPrice=function(t){this.unitPrice=t},s.prototype.getUnitPrice=function(){return this.unitPrice},s.prototype.setQuantity=function(t){this.quantity=t},s.prototype.getQuantity=function(){return this.quantity},s.prototype.setUnitQuantity=function(t){this.unitQuantity=t},s.prototype.getUnitQuantity=function(){return this.unitQuantity},s.prototype.setNote=function(t){this.note=t},s.prototype.getNote=function(){return this.note},s.prototype.setPrinted=function(t){this.printed=t},s.prototype.getPrinted=function(){return this.printed},s.prototype.setBinName=function(t){this.binName=t},s.prototype.getBinName=function(){return this.binName},s.prototype.setUserData=function(t){this.userData=t},s.prototype.getUserData=function(){return this.userData},s.prototype.setDiscounts=function(t){this.discounts=t},s.prototype.getDiscounts=function(){return this.discounts},s.prototype.setDiscountAmount=function(t){this.discountAmount=t},s.prototype.getDiscountAmount=function(){return this.discountAmount},s.prototype.setExchanged=function(t){this.exchanged=t},s.prototype.getExchanged=function(){return this.exchanged},s.prototype.setExchangedAmount=function(t){this.exchangedAmount=t},s.prototype.getExchangedAmount=function(){return this.exchangedAmount},s.prototype.setModifications=function(t){this.modifications=t},s.prototype.getModifications=function(){return this.modifications},s.prototype.setRefunded=function(t){this.refunded=t},s.prototype.getRefunded=function(){return this.refunded},s.prototype.setRefundedAmount=function(t){this.refundedAmount=t},s.prototype.getRefundedAmount=function(){return this.refundedAmount},s.prototype.setPercent=function(t){this.percent=t},s.prototype.getPercent=function(){return this.percent},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.alternateName={},s._meta_.fields.alternateName.type=String,s._meta_.fields.price={},s._meta_.fields.price.type=String,s._meta_.fields.unitPrice={},s._meta_.fields.unitPrice.type=String,s._meta_.fields.quantity={},s._meta_.fields.quantity.type=String,s._meta_.fields.unitQuantity={},s._meta_.fields.unitQuantity.type=String,s._meta_.fields.note={},s._meta_.fields.note.type=String,s._meta_.fields.printed={},s._meta_.fields.printed.type=Boolean,s._meta_.fields.binName={},s._meta_.fields.binName.type=String,s._meta_.fields.userData={},s._meta_.fields.userData.type=String,s._meta_.fields.discounts={},s._meta_.fields.discounts.type=Array,s._meta_.fields.discounts.elementType=n,s._meta_.fields.discountAmount={},s._meta_.fields.discountAmount.type=String,s._meta_.fields.exchanged={},s._meta_.fields.exchanged.type=Boolean,s._meta_.fields.exchangedAmount={},s._meta_.fields.exchangedAmount.type=String,s._meta_.fields.modifications={},s._meta_.fields.modifications.type=Array,s._meta_.fields.modifications.elementType=o,s._meta_.fields.refunded={},s._meta_.fields.refunded.type=Boolean,s._meta_.fields.refundedAmount={},s._meta_.fields.refundedAmount.type=String,s._meta_.fields.percent={},s._meta_.fields.percent.type=String,t.exports=s},82922:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,t.exports=e},2565:(t,e,i)=>{var n=i(6190),o=i(16572),s=i(6062),r=function(){this._class_=r,this.id=void 0,this.currency=void 0,this.employee=void 0,this.subtotal=void 0,this.tax=void 0,this.total=void 0,this.title=void 0,this.note=void 0,this.isVat=void 0,this.serviceChargeName=void 0,this.serviceChargeAmount=void 0,this.discounts=void 0,this.lineItems=void 0,this.amountRemaining=void 0,this.payments=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setCurrency=function(t){this.currency=t},r.prototype.getCurrency=function(){return this.currency},r.prototype.setEmployee=function(t){this.employee=t},r.prototype.getEmployee=function(){return this.employee},r.prototype.setSubtotal=function(t){this.subtotal=t},r.prototype.getSubtotal=function(){return this.subtotal},r.prototype.setTax=function(t){this.tax=t},r.prototype.getTax=function(){return this.tax},r.prototype.setTotal=function(t){this.total=t},r.prototype.getTotal=function(){return this.total},r.prototype.setTitle=function(t){this.title=t},r.prototype.getTitle=function(){return this.title},r.prototype.setNote=function(t){this.note=t},r.prototype.getNote=function(){return this.note},r.prototype.setIsVat=function(t){this.isVat=t},r.prototype.getIsVat=function(){return this.isVat},r.prototype.setServiceChargeName=function(t){this.serviceChargeName=t},r.prototype.getServiceChargeName=function(){return this.serviceChargeName},r.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},r.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},r.prototype.setDiscounts=function(t){this.discounts=t},r.prototype.getDiscounts=function(){return this.discounts},r.prototype.setLineItems=function(t){this.lineItems=t},r.prototype.getLineItems=function(){return this.lineItems},r.prototype.setAmountRemaining=function(t){this.amountRemaining=t},r.prototype.getAmountRemaining=function(){return this.amountRemaining},r.prototype.setPayments=function(t){this.payments=t},r.prototype.getPayments=function(){return this.payments},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.currency={},r._meta_.fields.currency.type=String,r._meta_.fields.employee={},r._meta_.fields.employee.type=String,r._meta_.fields.subtotal={},r._meta_.fields.subtotal.type=String,r._meta_.fields.tax={},r._meta_.fields.tax.type=String,r._meta_.fields.total={},r._meta_.fields.total.type=String,r._meta_.fields.title={},r._meta_.fields.title.type=String,r._meta_.fields.note={},r._meta_.fields.note.type=String,r._meta_.fields.isVat={},r._meta_.fields.isVat.type=Boolean,r._meta_.fields.serviceChargeName={},r._meta_.fields.serviceChargeName.type=String,r._meta_.fields.serviceChargeAmount={},r._meta_.fields.serviceChargeAmount.type=String,r._meta_.fields.discounts={},r._meta_.fields.discounts.type=Array,r._meta_.fields.discounts.elementType=o,r._meta_.fields.lineItems={},r._meta_.fields.lineItems.type=Array,r._meta_.fields.lineItems.elementType=s,r._meta_.fields.amountRemaining={},r._meta_.fields.amountRemaining.type=String,r._meta_.fields.payments={},r._meta_.fields.payments.type=Array,r._meta_.fields.payments.elementType=n,t.exports=r},6190:t=>{var e=function(){this._class_=e,this.id=void 0,this.label=void 0,this.amount=void 0,this.tipAmount=void 0,this.taxAmount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLabel=function(t){this.label=t},e.prototype.getLabel=function(){return this.label},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.setTipAmount=function(t){this.tipAmount=t},e.prototype.getTipAmount=function(){return this.tipAmount},e.prototype.setTaxAmount=function(t){this.taxAmount=t},e.prototype.getTaxAmount=function(){return this.taxAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.label={},e._meta_.fields.label.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=String,e._meta_.fields.tipAmount={},e._meta_.fields.tipAmount.type=String,e._meta_.fields.taxAmount={},e._meta_.fields.taxAmount.type=Number,t.exports=e},49346:t=>{var e=function(){this._class_=e,this.id=void 0,this.orderId=void 0,this.delay=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setDelay=function(t){this.delay=t},e.prototype.getDelay=function(){return this.delay},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.delay={},e._meta_.fields.delay.type=Number,t.exports=e},46335:t=>{t.exports={ALL:"ALL",BUSINESS:"BUSINESS",CUSTOM:"CUSTOM"}},9222:(t,e,i)=>{var n=i(62362),o=i(73004),s=i(62886),r=i(4248),a=i(4448),l=i(37471),d=function(){this._class_=d,this.id=void 0,this.item=void 0,this.name=void 0,this.alternateName=void 0,this.price=void 0,this.priceWithModifiers=void 0,this.priceWithModifiersAndItemAndOrderDiscounts=void 0,this.unitQty=void 0,this.unitName=void 0,this.itemCode=void 0,this.note=void 0,this.printed=!1,this.exchangedLineItem=void 0,this.binName=void 0,this.userData=void 0,this.createdTime=void 0,this.orderClientCreatedTime=void 0,this.discounts=void 0,this.orderLevelDiscounts=void 0,this.discountAmount=void 0,this.orderLevelDiscountAmount=void 0,this.exchanged=!1,this.modifications=void 0,this.refunded=!1,this.refund=void 0,this.isRevenue=!1,this.taxRates=void 0,this.payments=void 0,this.revenueAmount=void 0,this.quantitySold=void 0,this.printGroup=void 0};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setItem=function(t){this.item=t},d.prototype.getItem=function(){return this.item},d.prototype.setName=function(t){this.name=t},d.prototype.getName=function(){return this.name},d.prototype.setAlternateName=function(t){this.alternateName=t},d.prototype.getAlternateName=function(){return this.alternateName},d.prototype.setPrice=function(t){this.price=t},d.prototype.getPrice=function(){return this.price},d.prototype.setPriceWithModifiers=function(t){this.priceWithModifiers=t},d.prototype.getPriceWithModifiers=function(){return this.priceWithModifiers},d.prototype.setPriceWithModifiersAndItemAndOrderDiscounts=function(t){this.priceWithModifiersAndItemAndOrderDiscounts=t},d.prototype.getPriceWithModifiersAndItemAndOrderDiscounts=function(){return this.priceWithModifiersAndItemAndOrderDiscounts},d.prototype.setUnitQty=function(t){this.unitQty=t},d.prototype.getUnitQty=function(){return this.unitQty},d.prototype.setUnitName=function(t){this.unitName=t},d.prototype.getUnitName=function(){return this.unitName},d.prototype.setItemCode=function(t){this.itemCode=t},d.prototype.getItemCode=function(){return this.itemCode},d.prototype.setNote=function(t){this.note=t},d.prototype.getNote=function(){return this.note},d.prototype.setPrinted=function(t){this.printed=t},d.prototype.getPrinted=function(){return this.printed},d.prototype.setExchangedLineItem=function(t){this.exchangedLineItem=t},d.prototype.getExchangedLineItem=function(){return this.exchangedLineItem},d.prototype.setBinName=function(t){this.binName=t},d.prototype.getBinName=function(){return this.binName},d.prototype.setUserData=function(t){this.userData=t},d.prototype.getUserData=function(){return this.userData},d.prototype.setCreatedTime=function(t){this.createdTime=t},d.prototype.getCreatedTime=function(){return this.createdTime},d.prototype.setOrderClientCreatedTime=function(t){this.orderClientCreatedTime=t},d.prototype.getOrderClientCreatedTime=function(){return this.orderClientCreatedTime},d.prototype.setDiscounts=function(t){this.discounts=t},d.prototype.getDiscounts=function(){return this.discounts},d.prototype.setOrderLevelDiscounts=function(t){this.orderLevelDiscounts=t},d.prototype.getOrderLevelDiscounts=function(){return this.orderLevelDiscounts},d.prototype.setDiscountAmount=function(t){this.discountAmount=t},d.prototype.getDiscountAmount=function(){return this.discountAmount},d.prototype.setOrderLevelDiscountAmount=function(t){this.orderLevelDiscountAmount=t},d.prototype.getOrderLevelDiscountAmount=function(){return this.orderLevelDiscountAmount},d.prototype.setExchanged=function(t){this.exchanged=t},d.prototype.getExchanged=function(){return this.exchanged},d.prototype.setModifications=function(t){this.modifications=t},d.prototype.getModifications=function(){return this.modifications},d.prototype.setRefunded=function(t){this.refunded=t},d.prototype.getRefunded=function(){return this.refunded},d.prototype.setRefund=function(t){this.refund=t},d.prototype.getRefund=function(){return this.refund},d.prototype.setIsRevenue=function(t){this.isRevenue=t},d.prototype.getIsRevenue=function(){return this.isRevenue},d.prototype.setTaxRates=function(t){this.taxRates=t},d.prototype.getTaxRates=function(){return this.taxRates},d.prototype.setPayments=function(t){this.payments=t},d.prototype.getPayments=function(){return this.payments},d.prototype.setRevenueAmount=function(t){this.revenueAmount=t},d.prototype.getRevenueAmount=function(){return this.revenueAmount},d.prototype.setQuantitySold=function(t){this.quantitySold=t},d.prototype.getQuantitySold=function(){return this.quantitySold},d.prototype.setPrintGroup=function(t){this.printGroup=t},d.prototype.getPrintGroup=function(){return this.printGroup},d.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},d.prototype.toString=function(){return JSON.stringify(this)},d._meta_={fields:{}},d._meta_._class_=d,d._meta_.fields.id={},d._meta_.fields.id.type=String,d._meta_.fields.item={},d._meta_.fields.item.type=a,d._meta_.fields.name={},d._meta_.fields.name.type=String,d._meta_.fields.alternateName={},d._meta_.fields.alternateName.type=String,d._meta_.fields.price={},d._meta_.fields.price.type=Number,d._meta_.fields.priceWithModifiers={},d._meta_.fields.priceWithModifiers.type=Number,d._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts={},d._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts.type=Number,d._meta_.fields.unitQty={},d._meta_.fields.unitQty.type=Number,d._meta_.fields.unitName={},d._meta_.fields.unitName.type=String,d._meta_.fields.itemCode={},d._meta_.fields.itemCode.type=String,d._meta_.fields.note={},d._meta_.fields.note.type=String,d._meta_.fields.printed={},d._meta_.fields.printed.type=Boolean,d._meta_.fields.exchangedLineItem={},d._meta_.fields.exchangedLineItem.type=a,d._meta_.fields.binName={},d._meta_.fields.binName.type=String,d._meta_.fields.userData={},d._meta_.fields.userData.type=String,d._meta_.fields.createdTime={},d._meta_.fields.createdTime.type=Number,d._meta_.fields.orderClientCreatedTime={},d._meta_.fields.orderClientCreatedTime.type=Number,d._meta_.fields.discounts={},d._meta_.fields.discounts.type=Array,d._meta_.fields.discounts.elementType=r,d._meta_.fields.orderLevelDiscounts={},d._meta_.fields.orderLevelDiscounts.type=Array,d._meta_.fields.orderLevelDiscounts.elementType=r,d._meta_.fields.discountAmount={},d._meta_.fields.discountAmount.type=Number,d._meta_.fields.orderLevelDiscountAmount={},d._meta_.fields.orderLevelDiscountAmount.type=Number,d._meta_.fields.exchanged={},d._meta_.fields.exchanged.type=Boolean,d._meta_.fields.modifications={},d._meta_.fields.modifications.type=Array,d._meta_.fields.modifications.elementType=n,d._meta_.fields.refunded={},d._meta_.fields.refunded.type=Boolean,d._meta_.fields.refund={},d._meta_.fields.refund.type=l,d._meta_.fields.isRevenue={},d._meta_.fields.isRevenue.type=Boolean,d._meta_.fields.taxRates={},d._meta_.fields.taxRates.type=Array,d._meta_.fields.taxRates.elementType=o,d._meta_.fields.payments={},d._meta_.fields.payments.type=Array,d._meta_.fields.payments.elementType=s,d._meta_.fields.revenueAmount={},d._meta_.fields.revenueAmount.type=Number,d._meta_.fields.quantitySold={},d._meta_.fields.quantitySold.type=Number,d._meta_.fields.printGroup={},d._meta_.fields.printGroup.type=a,t.exports=d},16018:(t,e,i)=>{var n=i(73004),o=function(){this._class_=o,this.rates=void 0};o.prototype.setRates=function(t){this.rates=t},o.prototype.getRates=function(){return this.rates},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.rates={},o._meta_.fields.rates.type=Object,o._meta_.fields.rates.valueType=n,t.exports=o},62362:(t,e,i)=>{var n=i(55683),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.amount=void 0,this.modifier=void 0,this.quantitySold=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setAlternateName=function(t){this.alternateName=t},o.prototype.getAlternateName=function(){return this.alternateName},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setModifier=function(t){this.modifier=t},o.prototype.getModifier=function(){return this.modifier},o.prototype.setQuantitySold=function(t){this.quantitySold=t},o.prototype.getQuantitySold=function(){return this.quantitySold},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.alternateName={},o._meta_.fields.alternateName.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.modifier={},o._meta_.fields.modifier.type=n,o._meta_.fields.quantitySold={},o._meta_.fields.quantitySold.type=Number,t.exports=o},14326:(t,e,i)=>{var n=i(93657),o=i(4248),s=i(55623),r=i(51669),a=i(37479),l=i(37471),d=i(6639),u=i(26866),p=i(44155),_=i(16765),c=i(9222),m=i(85471),f=i(82794),h=i(4448),y=function(){this._class_=y,this.id=void 0,this.currency=void 0,this.customerId=void 0,this.customerUuid=void 0,this.orderTypeId=void 0,this.customers=void 0,this.employee=void 0,this.total=void 0,this.externalReferenceId=void 0,this.unpaidBalance=void 0,this.paymentState=void 0,this.title=void 0,this.note=void 0,this.orderType=void 0,this.taxRemoved=!1,this.isVat=void 0,this.state=void 0,this.manualTransaction=void 0,this.groupLineItems=void 0,this.testMode=void 0,this.payType=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.modifiedTime=void 0,this.deletedTimestamp=void 0,this.serviceCharge=void 0,this.discounts=void 0,this.lineItems=void 0,this.payments=void 0,this.refunds=void 0,this.credits=void 0,this.voids=void 0,this.preAuths=void 0,this.device=void 0,this.authorizations=void 0,this.merchant=void 0,this.onlineOrder=void 0,this.printGroups=void 0};y.prototype.setId=function(t){this.id=t},y.prototype.getId=function(){return this.id},y.prototype.setCurrency=function(t){this.currency=t},y.prototype.getCurrency=function(){return this.currency},y.prototype.setCustomerId=function(t){this.customerId=t},y.prototype.getCustomerId=function(){return this.customerId},y.prototype.setCustomerUuid=function(t){this.customerUuid=t},y.prototype.getCustomerUuid=function(){return this.customerUuid},y.prototype.setOrderTypeId=function(t){this.orderTypeId=t},y.prototype.getOrderTypeId=function(){return this.orderTypeId},y.prototype.setCustomers=function(t){this.customers=t},y.prototype.getCustomers=function(){return this.customers},y.prototype.setEmployee=function(t){this.employee=t},y.prototype.getEmployee=function(){return this.employee},y.prototype.setTotal=function(t){this.total=t},y.prototype.getTotal=function(){return this.total},y.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},y.prototype.getExternalReferenceId=function(){return this.externalReferenceId},y.prototype.setUnpaidBalance=function(t){this.unpaidBalance=t},y.prototype.getUnpaidBalance=function(){return this.unpaidBalance},y.prototype.setPaymentState=function(t){this.paymentState=t},y.prototype.getPaymentState=function(){return this.paymentState},y.prototype.setTitle=function(t){this.title=t},y.prototype.getTitle=function(){return this.title},y.prototype.setNote=function(t){this.note=t},y.prototype.getNote=function(){return this.note},y.prototype.setOrderType=function(t){this.orderType=t},y.prototype.getOrderType=function(){return this.orderType},y.prototype.setTaxRemoved=function(t){this.taxRemoved=t},y.prototype.getTaxRemoved=function(){return this.taxRemoved},y.prototype.setIsVat=function(t){this.isVat=t},y.prototype.getIsVat=function(){return this.isVat},y.prototype.setState=function(t){this.state=t},y.prototype.getState=function(){return this.state},y.prototype.setManualTransaction=function(t){this.manualTransaction=t},y.prototype.getManualTransaction=function(){return this.manualTransaction},y.prototype.setGroupLineItems=function(t){this.groupLineItems=t},y.prototype.getGroupLineItems=function(){return this.groupLineItems},y.prototype.setTestMode=function(t){this.testMode=t},y.prototype.getTestMode=function(){return this.testMode},y.prototype.setPayType=function(t){this.payType=t},y.prototype.getPayType=function(){return this.payType},y.prototype.setCreatedTime=function(t){this.createdTime=t},y.prototype.getCreatedTime=function(){return this.createdTime},y.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},y.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},y.prototype.setModifiedTime=function(t){this.modifiedTime=t},y.prototype.getModifiedTime=function(){return this.modifiedTime},y.prototype.setDeletedTimestamp=function(t){this.deletedTimestamp=t},y.prototype.getDeletedTimestamp=function(){return this.deletedTimestamp},y.prototype.setServiceCharge=function(t){this.serviceCharge=t},y.prototype.getServiceCharge=function(){return this.serviceCharge},y.prototype.setDiscounts=function(t){this.discounts=t},y.prototype.getDiscounts=function(){return this.discounts},y.prototype.setLineItems=function(t){this.lineItems=t},y.prototype.getLineItems=function(){return this.lineItems},y.prototype.setPayments=function(t){this.payments=t},y.prototype.getPayments=function(){return this.payments},y.prototype.setRefunds=function(t){this.refunds=t},y.prototype.getRefunds=function(){return this.refunds},y.prototype.setCredits=function(t){this.credits=t},y.prototype.getCredits=function(){return this.credits},y.prototype.setVoids=function(t){this.voids=t},y.prototype.getVoids=function(){return this.voids},y.prototype.setPreAuths=function(t){this.preAuths=t},y.prototype.getPreAuths=function(){return this.preAuths},y.prototype.setDevice=function(t){this.device=t},y.prototype.getDevice=function(){return this.device},y.prototype.setAuthorizations=function(t){this.authorizations=t},y.prototype.getAuthorizations=function(){return this.authorizations},y.prototype.setMerchant=function(t){this.merchant=t},y.prototype.getMerchant=function(){return this.merchant},y.prototype.setOnlineOrder=function(t){this.onlineOrder=t},y.prototype.getOnlineOrder=function(){return this.onlineOrder},y.prototype.setPrintGroups=function(t){this.printGroups=t},y.prototype.getPrintGroups=function(){return this.printGroups},y.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},y.prototype.toString=function(){return JSON.stringify(this)},y._meta_={fields:{}},y._meta_._class_=y,y._meta_.fields.id={},y._meta_.fields.id.type=String,y._meta_.fields.currency={},y._meta_.fields.currency.type=String,y._meta_.fields.customerId={},y._meta_.fields.customerId.type=Number,y._meta_.fields.customerUuid={},y._meta_.fields.customerUuid.type=String,y._meta_.fields.orderTypeId={},y._meta_.fields.orderTypeId.type=Number,y._meta_.fields.customers={},y._meta_.fields.customers.type=Array,y._meta_.fields.customers.elementType=u,y._meta_.fields.employee={},y._meta_.fields.employee.type=h,y._meta_.fields.total={},y._meta_.fields.total.type=Number,y._meta_.fields.externalReferenceId={},y._meta_.fields.externalReferenceId.type=String,y._meta_.fields.unpaidBalance={},y._meta_.fields.unpaidBalance.type=Number,y._meta_.fields.paymentState={},y._meta_.fields.paymentState.type=r,y._meta_.fields.title={},y._meta_.fields.title.type=String,y._meta_.fields.note={},y._meta_.fields.note.type=String,y._meta_.fields.orderType={},y._meta_.fields.orderType.type=m,y._meta_.fields.taxRemoved={},y._meta_.fields.taxRemoved.type=Boolean,y._meta_.fields.isVat={},y._meta_.fields.isVat.type=Boolean,y._meta_.fields.state={},y._meta_.fields.state.type=String,y._meta_.fields.manualTransaction={},y._meta_.fields.manualTransaction.type=Boolean,y._meta_.fields.groupLineItems={},y._meta_.fields.groupLineItems.type=Boolean,y._meta_.fields.testMode={},y._meta_.fields.testMode.type=Boolean,y._meta_.fields.payType={},y._meta_.fields.payType.type=_,y._meta_.fields.createdTime={},y._meta_.fields.createdTime.type=Number,y._meta_.fields.clientCreatedTime={},y._meta_.fields.clientCreatedTime.type=Number,y._meta_.fields.modifiedTime={},y._meta_.fields.modifiedTime.type=Number,y._meta_.fields.deletedTimestamp={},y._meta_.fields.deletedTimestamp.type=Number,y._meta_.fields.serviceCharge={},y._meta_.fields.serviceCharge.type=a,y._meta_.fields.discounts={},y._meta_.fields.discounts.type=Array,y._meta_.fields.discounts.elementType=o,y._meta_.fields.lineItems={},y._meta_.fields.lineItems.type=Array,y._meta_.fields.lineItems.elementType=c,y._meta_.fields.payments={},y._meta_.fields.payments.type=Array,y._meta_.fields.payments.elementType=f,y._meta_.fields.refunds={},y._meta_.fields.refunds.type=Array,y._meta_.fields.refunds.elementType=l,y._meta_.fields.credits={},y._meta_.fields.credits.type=Array,y._meta_.fields.credits.elementType=d,y._meta_.fields.voids={},y._meta_.fields.voids.type=Array,y._meta_.fields.voids.elementType=f,y._meta_.fields.preAuths={},y._meta_.fields.preAuths.type=Array,y._meta_.fields.preAuths.elementType=f,y._meta_.fields.device={},y._meta_.fields.device.type=h,y._meta_.fields.authorizations={},y._meta_.fields.authorizations.type=Array,y._meta_.fields.authorizations.elementType=n,y._meta_.fields.merchant={},y._meta_.fields.merchant.type=h,y._meta_.fields.onlineOrder={},y._meta_.fields.onlineOrder.type=s,y._meta_.fields.printGroups={},y._meta_.fields.printGroups.type=Array,y._meta_.fields.printGroups.elementType=p,t.exports=y},59656:t=>{var e=function(){this._class_=e,this.id=void 0,this.hasCredit=!1,this.hasCreditCardTransaction=!1,this.hasCustomer=!1,this.hasCustomerEmailAddress=!1,this.hasCustomerAddress=!1,this.hasCustomerPhone=!1,this.hasDiscount=!1,this.hasLineItemDiscount=!1,this.hasServiceCharge=!1,this.hasRefund=!1,this.hasVoid=!1};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setHasCredit=function(t){this.hasCredit=t},e.prototype.getHasCredit=function(){return this.hasCredit},e.prototype.setHasCreditCardTransaction=function(t){this.hasCreditCardTransaction=t},e.prototype.getHasCreditCardTransaction=function(){return this.hasCreditCardTransaction},e.prototype.setHasCustomer=function(t){this.hasCustomer=t},e.prototype.getHasCustomer=function(){return this.hasCustomer},e.prototype.setHasCustomerEmailAddress=function(t){this.hasCustomerEmailAddress=t},e.prototype.getHasCustomerEmailAddress=function(){return this.hasCustomerEmailAddress},e.prototype.setHasCustomerAddress=function(t){this.hasCustomerAddress=t},e.prototype.getHasCustomerAddress=function(){return this.hasCustomerAddress},e.prototype.setHasCustomerPhone=function(t){this.hasCustomerPhone=t},e.prototype.getHasCustomerPhone=function(){return this.hasCustomerPhone},e.prototype.setHasDiscount=function(t){this.hasDiscount=t},e.prototype.getHasDiscount=function(){return this.hasDiscount},e.prototype.setHasLineItemDiscount=function(t){this.hasLineItemDiscount=t},e.prototype.getHasLineItemDiscount=function(){return this.hasLineItemDiscount},e.prototype.setHasServiceCharge=function(t){this.hasServiceCharge=t},e.prototype.getHasServiceCharge=function(){return this.hasServiceCharge},e.prototype.setHasRefund=function(t){this.hasRefund=t},e.prototype.getHasRefund=function(){return this.hasRefund},e.prototype.setHasVoid=function(t){this.hasVoid=t},e.prototype.getHasVoid=function(){return this.hasVoid},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.hasCredit={},e._meta_.fields.hasCredit.type=Boolean,e._meta_.fields.hasCreditCardTransaction={},e._meta_.fields.hasCreditCardTransaction.type=Boolean,e._meta_.fields.hasCustomer={},e._meta_.fields.hasCustomer.type=Boolean,e._meta_.fields.hasCustomerEmailAddress={},e._meta_.fields.hasCustomerEmailAddress.type=Boolean,e._meta_.fields.hasCustomerAddress={},e._meta_.fields.hasCustomerAddress.type=Boolean,e._meta_.fields.hasCustomerPhone={},e._meta_.fields.hasCustomerPhone.type=Boolean,e._meta_.fields.hasDiscount={},e._meta_.fields.hasDiscount.type=Boolean,e._meta_.fields.hasLineItemDiscount={},e._meta_.fields.hasLineItemDiscount.type=Boolean,e._meta_.fields.hasServiceCharge={},e._meta_.fields.hasServiceCharge.type=Boolean,e._meta_.fields.hasRefund={},e._meta_.fields.hasRefund.type=Boolean,e._meta_.fields.hasVoid={},e._meta_.fields.hasVoid.type=Boolean,t.exports=e},61147:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,t.exports=e},85471:(t,e,i)=>{var n=i(46335),o=i(20886),s=i(4448),r=i(91961),a=function(){this._class_=a,this.id=void 0,this.labelKey=void 0,this.label=void 0,this.taxable=!1,this.isDefault=!1,this.filterCategories=!1,this.isHidden=!1,this.fee=void 0,this.minOrderAmount=void 0,this.maxOrderAmount=void 0,this.maxRadius=void 0,this.avgOrderTime=void 0,this.hoursAvailable=void 0,this.customerIdMethod=void 0,this.isDeleted=!1,this.systemOrderTypeId=void 0,this.systemOrderTypeDatabaseId=void 0,this.hours=void 0,this.categories=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setLabelKey=function(t){this.labelKey=t},a.prototype.getLabelKey=function(){return this.labelKey},a.prototype.setLabel=function(t){this.label=t},a.prototype.getLabel=function(){return this.label},a.prototype.setTaxable=function(t){this.taxable=t},a.prototype.getTaxable=function(){return this.taxable},a.prototype.setIsDefault=function(t){this.isDefault=t},a.prototype.getIsDefault=function(){return this.isDefault},a.prototype.setFilterCategories=function(t){this.filterCategories=t},a.prototype.getFilterCategories=function(){return this.filterCategories},a.prototype.setIsHidden=function(t){this.isHidden=t},a.prototype.getIsHidden=function(){return this.isHidden},a.prototype.setFee=function(t){this.fee=t},a.prototype.getFee=function(){return this.fee},a.prototype.setMinOrderAmount=function(t){this.minOrderAmount=t},a.prototype.getMinOrderAmount=function(){return this.minOrderAmount},a.prototype.setMaxOrderAmount=function(t){this.maxOrderAmount=t},a.prototype.getMaxOrderAmount=function(){return this.maxOrderAmount},a.prototype.setMaxRadius=function(t){this.maxRadius=t},a.prototype.getMaxRadius=function(){return this.maxRadius},a.prototype.setAvgOrderTime=function(t){this.avgOrderTime=t},a.prototype.getAvgOrderTime=function(){return this.avgOrderTime},a.prototype.setHoursAvailable=function(t){this.hoursAvailable=t},a.prototype.getHoursAvailable=function(){return this.hoursAvailable},a.prototype.setCustomerIdMethod=function(t){this.customerIdMethod=t},a.prototype.getCustomerIdMethod=function(){return this.customerIdMethod},a.prototype.setIsDeleted=function(t){this.isDeleted=t},a.prototype.getIsDeleted=function(){return this.isDeleted},a.prototype.setSystemOrderTypeId=function(t){this.systemOrderTypeId=t},a.prototype.getSystemOrderTypeId=function(){return this.systemOrderTypeId},a.prototype.setSystemOrderTypeDatabaseId=function(t){this.systemOrderTypeDatabaseId=t},a.prototype.getSystemOrderTypeDatabaseId=function(){return this.systemOrderTypeDatabaseId},a.prototype.setHours=function(t){this.hours=t},a.prototype.getHours=function(){return this.hours},a.prototype.setCategories=function(t){this.categories=t},a.prototype.getCategories=function(){return this.categories},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.labelKey={},a._meta_.fields.labelKey.type=String,a._meta_.fields.label={},a._meta_.fields.label.type=String,a._meta_.fields.taxable={},a._meta_.fields.taxable.type=Boolean,a._meta_.fields.isDefault={},a._meta_.fields.isDefault.type=Boolean,a._meta_.fields.filterCategories={},a._meta_.fields.filterCategories.type=Boolean,a._meta_.fields.isHidden={},a._meta_.fields.isHidden.type=Boolean,a._meta_.fields.fee={},a._meta_.fields.fee.type=Number,a._meta_.fields.minOrderAmount={},a._meta_.fields.minOrderAmount.type=Number,a._meta_.fields.maxOrderAmount={},a._meta_.fields.maxOrderAmount.type=Number,a._meta_.fields.maxRadius={},a._meta_.fields.maxRadius.type=Number,a._meta_.fields.avgOrderTime={},a._meta_.fields.avgOrderTime.type=Number,a._meta_.fields.hoursAvailable={},a._meta_.fields.hoursAvailable.type=n,a._meta_.fields.customerIdMethod={},a._meta_.fields.customerIdMethod.type=r,a._meta_.fields.isDeleted={},a._meta_.fields.isDeleted.type=Boolean,a._meta_.fields.systemOrderTypeId={},a._meta_.fields.systemOrderTypeId.type=String,a._meta_.fields.systemOrderTypeDatabaseId={},a._meta_.fields.systemOrderTypeDatabaseId.type=Number,a._meta_.fields.hours={},a._meta_.fields.hours.type=o,a._meta_.fields.categories={},a._meta_.fields.categories.type=Array,a._meta_.fields.categories.elementType=s,t.exports=a},90195:(t,e,i)=>{var n=i(85471),o=i(74155),s=function(){this._class_=s,this.orderType=void 0,this.category=void 0};s.prototype.setOrderType=function(t){this.orderType=t},s.prototype.getOrderType=function(){return this.orderType},s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.orderType={},s._meta_.fields.orderType.type=n,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},38338:t=>{var e=function(){this._class_=e,this.disableCustomerUpdate=void 0};e.prototype.setDisableCustomerUpdate=function(t){this.disableCustomerUpdate=t},e.prototype.getDisableCustomerUpdate=function(){return this.disableCustomerUpdate},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.disableCustomerUpdate={},e._meta_.fields.disableCustomerUpdate.type=Boolean,t.exports=e},16765:t=>{t.exports={SPLIT_GUEST:"SPLIT_GUEST",SPLIT_ITEM:"SPLIT_ITEM",SPLIT_CUSTOM:"SPLIT_CUSTOM",FULL:"FULL"}},51669:t=>{t.exports={OPEN:"OPEN",PAID:"PAID",REFUNDED:"REFUNDED",CREDITED:"CREDITED",PARTIALLY_PAID:"PARTIALLY_PAID",PARTIALLY_REFUNDED:"PARTIALLY_REFUNDED"}},44155:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.sortOrder=void 0,this.fired=!1};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setSortOrder=function(t){this.sortOrder=t},e.prototype.getSortOrder=function(){return this.sortOrder},e.prototype.setFired=function(t){this.fired=t},e.prototype.getFired=function(){return this.fired},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.sortOrder={},e._meta_.fields.sortOrder.type=Number,e._meta_.fields.fired={},e._meta_.fields.fired.type=Boolean,t.exports=e},41671:(t,e,i)=>{var n=i(92842),o=i(4448),s=i(34454),r=function(){this._class_=r,this.id=void 0,this.merchantRef=void 0,this.orderRef=void 0,this.deviceRef=void 0,this.category=void 0,this.state=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setMerchantRef=function(t){this.merchantRef=t},r.prototype.getMerchantRef=function(){return this.merchantRef},r.prototype.setOrderRef=function(t){this.orderRef=t},r.prototype.getOrderRef=function(){return this.orderRef},r.prototype.setDeviceRef=function(t){this.deviceRef=t},r.prototype.getDeviceRef=function(){return this.deviceRef},r.prototype.setCategory=function(t){this.category=t},r.prototype.getCategory=function(){return this.category},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setModifiedTime=function(t){this.modifiedTime=t},r.prototype.getModifiedTime=function(){return this.modifiedTime},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.merchantRef={},r._meta_.fields.merchantRef.type=o,r._meta_.fields.orderRef={},r._meta_.fields.orderRef.type=o,r._meta_.fields.deviceRef={},r._meta_.fields.deviceRef.type=o,r._meta_.fields.category={},r._meta_.fields.category.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.modifiedTime={},r._meta_.fields.modifiedTime.type=Number,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,t.exports=r},92842:t=>{t.exports={CREATED:"CREATED",FAILED:"FAILED",DONE:"DONE"}},76699:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setRefund=function(t){this.refund=t},o.prototype.getRefund=function(){return this.refund},o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setEmailAddresses=function(t){this.emailAddresses=t},o.prototype.getEmailAddresses=function(){return this.emailAddresses},o.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},o.prototype.getPhoneNumbers=function(){return this.phoneNumbers},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.refund={},o._meta_.fields.refund.type=n,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.emailAddresses={},o._meta_.fields.emailAddresses.type=Array,o._meta_.fields.phoneNumbers={},o._meta_.fields.phoneNumbers.type=Array,t.exports=o},95955:t=>{var e=function(){this._class_=e,this.id=void 0,this.labelKey=void 0,this.isQsr=void 0,this.isFsr=void 0,this.isRetail=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setLabelKey=function(t){this.labelKey=t},e.prototype.getLabelKey=function(){return this.labelKey},e.prototype.setIsQsr=function(t){this.isQsr=t},e.prototype.getIsQsr=function(){return this.isQsr},e.prototype.setIsFsr=function(t){this.isFsr=t},e.prototype.getIsFsr=function(){return this.isFsr},e.prototype.setIsRetail=function(t){this.isRetail=t},e.prototype.getIsRetail=function(){return this.isRetail},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.labelKey={},e._meta_.fields.labelKey.type=String,e._meta_.fields.isQsr={},e._meta_.fields.isQsr.type=Boolean,e._meta_.fields.isFsr={},e._meta_.fields.isFsr.type=Boolean,e._meta_.fields.isRetail={},e._meta_.fields.isRetail.type=Boolean,t.exports=e},3306:t=>{t.exports={USER_CANCEL:"USER_CANCEL",TRANSPORT_ERROR:"TRANSPORT_ERROR",REJECT_SIGNATURE:"REJECT_SIGNATURE",REJECT_PARTIAL_AUTH:"REJECT_PARTIAL_AUTH",NOT_APPROVED:"NOT_APPROVED",FAILED:"FAILED",AUTH_CLOSED_NEW_CARD:"AUTH_CLOSED_NEW_CARD",DEVELOPER_PAY_PARTIAL_AUTH:"DEVELOPER_PAY_PARTIAL_AUTH",REJECT_DUPLICATE:"REJECT_DUPLICATE",REJECT_OFFLINE:"REJECT_OFFLINE",GIFTCARD_LOAD_FAILED:"GIFTCARD_LOAD_FAILED",USER_GIFTCARD_LOAD_CANCEL:"USER_GIFTCARD_LOAD_CANCEL",DEVELOPER_PAY_TIP_ADJUST_FAILED:"DEVELOPER_PAY_TIP_ADJUST_FAILED",USER_CUSTOMER_CANCEL:"USER_CUSTOMER_CANCEL",FRAUD:"FRAUD"}},71250:(t,e,i)=>{var n=i(70541),o=i(9222),s=i(4448),r=function(){this._class_=r,this.lineItem=void 0,this.merchant=void 0,this.reason=void 0,this.removedBy=void 0,this.createdBy=void 0,this.deletedTime=void 0,this.environment=void 0,this.clientEventType=void 0};r.prototype.setLineItem=function(t){this.lineItem=t},r.prototype.getLineItem=function(){return this.lineItem},r.prototype.setMerchant=function(t){this.merchant=t},r.prototype.getMerchant=function(){return this.merchant},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setRemovedBy=function(t){this.removedBy=t},r.prototype.getRemovedBy=function(){return this.removedBy},r.prototype.setCreatedBy=function(t){this.createdBy=t},r.prototype.getCreatedBy=function(){return this.createdBy},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.setEnvironment=function(t){this.environment=t},r.prototype.getEnvironment=function(){return this.environment},r.prototype.setClientEventType=function(t){this.clientEventType=t},r.prototype.getClientEventType=function(){return this.clientEventType},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.lineItem={},r._meta_.fields.lineItem.type=o,r._meta_.fields.merchant={},r._meta_.fields.merchant.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.removedBy={},r._meta_.fields.removedBy.type=s,r._meta_.fields.createdBy={},r._meta_.fields.createdBy.type=s,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,r._meta_.fields.environment={},r._meta_.fields.environment.type=String,r._meta_.fields.clientEventType={},r._meta_.fields.clientEventType.type=n,t.exports=r},40402:(t,e,i)=>{function n(){}t.exports.order=n,n.operation={},n.ClientEventType=i(70541),n.CreateLineItemsRequest=i(85653),n.CustomerIdMethod=i(91961),n.Discount=i(4248),n.DisplayDiscount=i(16572),n.DisplayLineItem=i(6062),n.DisplayModification=i(82922),n.DisplayOrder=i(2565),n.DisplayPayment=i(6190),n.FireOrder=i(49346),n.HoursAvailable=i(46335),n.LineItem=i(9222),n.LineItemTaxRates=i(16018),n.Modification=i(62362),n.Order=i(14326),n.OrderExpansion=i(59656),n.OrderTaxRate=i(61147),n.OrderType=i(85471),n.OrderTypeCategory=i(90195),n.OverrideInfo=i(38338),n.PayType=i(16765),n.PaymentState=i(51669),n.PrintGroup=i(44155),n.PrintOrder=i(41671),n.PrintState=i(92842),n.SendReceiptRequest=i(76699),n.SystemOrderType=i(95955),n.VoidReason=i(3306),n.VoidedLineItem=i(71250),n.operation.DiscountsAddedOperation=i(78368),n.operation.DiscountsDeletedOperation=i(74066),n.operation.LineItemsAddedOperation=i(89361),n.operation.LineItemsDeletedOperation=i(79494),n.operation.OrderDeletedOperation=i(30087),t.exports=n},78368:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},74066:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},89361:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},79494:t=>{var e=function(){this._class_=e,this.ids=void 0,this.orderId=void 0};e.prototype.setIds=function(t){this.ids=t},e.prototype.getIds=function(){return this.ids},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.ids={},e._meta_.fields.ids.type=Array,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,t.exports=e},30087:t=>{var e=function(){this._class_=e,this.id=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},80321:t=>{t.exports={CREDIT:"CREDIT",DEBIT:"DEBIT",PREPAID:"PREPAID",PINLESS_DEBIT:"PINLESS_DEBIT",SIGNATURE_DEBIT:"SIGNATURE_DEBIT",EBT:"EBT",SNAP:"SNAP"}},89656:t=>{t.exports={TERMINAL_BUSY:"TERMINAL_BUSY",TERMINAL_UNAVAILABLE:"TERMINAL_UNAVAILABLE",TERMINAL_GENERAL:"TERMINAL_GENERAL"}},27416:t=>{t.exports={APPROVED_ONLINE:"APPROVED_ONLINE",DECLINED_ONLINE:"DECLINED_ONLINE",UNABLE_TO_GO_ONLINE:"UNABLE_TO_GO_ONLINE",REFERRAL_ONLINE:"REFERRAL_ONLINE",REFERRAL_OFFLINE:"REFERRAL_OFFLINE"}},27138:(t,e,i)=>{var n=i(4212),o=i(40271),s=i(56614),r=i(80321),a=function(){this._class_=a,this.track1=void 0,this.track2=void 0,this.track3=void 0,this.encrypted=void 0,this.maskedTrack1=void 0,this.maskedTrack2=void 0,this.maskedTrack3=void 0,this.uniqueToken=void 0,this.pan=void 0,this.firstName=void 0,this.lastName=void 0,this.countryCode=void 0,this.exp=void 0,this.streetAddress=void 0,this.zip=void 0,this.cvv=void 0,this.last4=void 0,this.first4=void 0,this.dukptSerial=void 0,this.swipeStatus=void 0,this.fingerprint=void 0,this.deviceSerial=void 0,this.manualEntered=void 0,this.async=void 0,this.isFallback=void 0,this.isAuth=void 0,this.isPrepaid=void 0,this.cardFunction=void 0,this.qrCode=void 0,this.cardType=void 0,this.entryType=void 0,this.transactionNo=void 0,this.cardholderName=void 0,this.plainCardData=void 0,this.transactionData=void 0};a.prototype.setTrack1=function(t){this.track1=t},a.prototype.getTrack1=function(){return this.track1},a.prototype.setTrack2=function(t){this.track2=t},a.prototype.getTrack2=function(){return this.track2},a.prototype.setTrack3=function(t){this.track3=t},a.prototype.getTrack3=function(){return this.track3},a.prototype.setEncrypted=function(t){this.encrypted=t},a.prototype.getEncrypted=function(){return this.encrypted},a.prototype.setMaskedTrack1=function(t){this.maskedTrack1=t},a.prototype.getMaskedTrack1=function(){return this.maskedTrack1},a.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},a.prototype.getMaskedTrack2=function(){return this.maskedTrack2},a.prototype.setMaskedTrack3=function(t){this.maskedTrack3=t},a.prototype.getMaskedTrack3=function(){return this.maskedTrack3},a.prototype.setUniqueToken=function(t){this.uniqueToken=t},a.prototype.getUniqueToken=function(){return this.uniqueToken},a.prototype.setPan=function(t){this.pan=t},a.prototype.getPan=function(){return this.pan},a.prototype.setFirstName=function(t){this.firstName=t},a.prototype.getFirstName=function(){return this.firstName},a.prototype.setLastName=function(t){this.lastName=t},a.prototype.getLastName=function(){return this.lastName},a.prototype.setCountryCode=function(t){this.countryCode=t},a.prototype.getCountryCode=function(){return this.countryCode},a.prototype.setExp=function(t){this.exp=t},a.prototype.getExp=function(){return this.exp},a.prototype.setStreetAddress=function(t){this.streetAddress=t},a.prototype.getStreetAddress=function(){return this.streetAddress},a.prototype.setZip=function(t){this.zip=t},a.prototype.getZip=function(){return this.zip},a.prototype.setCvv=function(t){this.cvv=t},a.prototype.getCvv=function(){return this.cvv},a.prototype.setLast4=function(t){this.last4=t},a.prototype.getLast4=function(){return this.last4},a.prototype.setFirst4=function(t){this.first4=t},a.prototype.getFirst4=function(){return this.first4},a.prototype.setDukptSerial=function(t){this.dukptSerial=t},a.prototype.getDukptSerial=function(){return this.dukptSerial},a.prototype.setSwipeStatus=function(t){this.swipeStatus=t},a.prototype.getSwipeStatus=function(){return this.swipeStatus},a.prototype.setFingerprint=function(t){this.fingerprint=t},a.prototype.getFingerprint=function(){return this.fingerprint},a.prototype.setDeviceSerial=function(t){this.deviceSerial=t},a.prototype.getDeviceSerial=function(){return this.deviceSerial},a.prototype.setManualEntered=function(t){this.manualEntered=t},a.prototype.getManualEntered=function(){return this.manualEntered},a.prototype.setAsync=function(t){this.async=t},a.prototype.getAsync=function(){return this.async},a.prototype.setIsFallback=function(t){this.isFallback=t},a.prototype.getIsFallback=function(){return this.isFallback},a.prototype.setIsAuth=function(t){this.isAuth=t},a.prototype.getIsAuth=function(){return this.isAuth},a.prototype.setIsPrepaid=function(t){this.isPrepaid=t},a.prototype.getIsPrepaid=function(){return this.isPrepaid},a.prototype.setCardFunction=function(t){this.cardFunction=t},a.prototype.getCardFunction=function(){return this.cardFunction},a.prototype.setQrCode=function(t){this.qrCode=t},a.prototype.getQrCode=function(){return this.qrCode},a.prototype.setCardType=function(t){this.cardType=t},a.prototype.getCardType=function(){return this.cardType},a.prototype.setEntryType=function(t){this.entryType=t},a.prototype.getEntryType=function(){return this.entryType},a.prototype.setTransactionNo=function(t){this.transactionNo=t},a.prototype.getTransactionNo=function(){return this.transactionNo},a.prototype.setCardholderName=function(t){this.cardholderName=t},a.prototype.getCardholderName=function(){return this.cardholderName},a.prototype.setPlainCardData=function(t){this.plainCardData=t},a.prototype.getPlainCardData=function(){return this.plainCardData},a.prototype.setTransactionData=function(t){this.transactionData=t},a.prototype.getTransactionData=function(){return this.transactionData},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.track1={},a._meta_.fields.track1.type=String,a._meta_.fields.track2={},a._meta_.fields.track2.type=String,a._meta_.fields.track3={},a._meta_.fields.track3.type=String,a._meta_.fields.encrypted={},a._meta_.fields.encrypted.type=Boolean,a._meta_.fields.maskedTrack1={},a._meta_.fields.maskedTrack1.type=String,a._meta_.fields.maskedTrack2={},a._meta_.fields.maskedTrack2.type=String,a._meta_.fields.maskedTrack3={},a._meta_.fields.maskedTrack3.type=String,a._meta_.fields.uniqueToken={},a._meta_.fields.uniqueToken.type=String,a._meta_.fields.pan={},a._meta_.fields.pan.type=String,a._meta_.fields.firstName={},a._meta_.fields.firstName.type=String,a._meta_.fields.lastName={},a._meta_.fields.lastName.type=String,a._meta_.fields.countryCode={},a._meta_.fields.countryCode.type=String,a._meta_.fields.exp={},a._meta_.fields.exp.type=String,a._meta_.fields.streetAddress={},a._meta_.fields.streetAddress.type=String,a._meta_.fields.zip={},a._meta_.fields.zip.type=String,a._meta_.fields.cvv={},a._meta_.fields.cvv.type=String,a._meta_.fields.last4={},a._meta_.fields.last4.type=String,a._meta_.fields.first4={},a._meta_.fields.first4.type=String,a._meta_.fields.dukptSerial={},a._meta_.fields.dukptSerial.type=String,a._meta_.fields.swipeStatus={},a._meta_.fields.swipeStatus.type=String,a._meta_.fields.fingerprint={},a._meta_.fields.fingerprint.type=String,a._meta_.fields.deviceSerial={},a._meta_.fields.deviceSerial.type=String,a._meta_.fields.manualEntered={},a._meta_.fields.manualEntered.type=Boolean,a._meta_.fields.async={},a._meta_.fields.async.type=Boolean,a._meta_.fields.isFallback={},a._meta_.fields.isFallback.type=Boolean,a._meta_.fields.isAuth={},a._meta_.fields.isAuth.type=Boolean,a._meta_.fields.isPrepaid={},a._meta_.fields.isPrepaid.type=Boolean,a._meta_.fields.cardFunction={},a._meta_.fields.cardFunction.type=r,a._meta_.fields.qrCode={},a._meta_.fields.qrCode.type=Boolean,a._meta_.fields.cardType={},a._meta_.fields.cardType.type=n,a._meta_.fields.entryType={},a._meta_.fields.entryType.type=s,a._meta_.fields.transactionNo={},a._meta_.fields.transactionNo.type=String,a._meta_.fields.cardholderName={},a._meta_.fields.cardholderName.type=String,a._meta_.fields.plainCardData={},a._meta_.fields.plainCardData.type=String,a._meta_.fields.transactionData={},a._meta_.fields.transactionData.type=o,t.exports=a},52849:t=>{t.exports={INTERNATIONAL_INTERCHANGE_OK:"INTERNATIONAL_INTERCHANGE_OK",INTERNATIONAL_INTERCHANGE_USE_IC_CHIP_WHERE_FEASIBLE:"INTERNATIONAL_INTERCHANGE_USE_IC_CHIP_WHERE_FEASIBLE",NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT:"NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT",NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT_USE_IC_CHIP_WHERE_FEASIBLE:"NATIONAL_INTERCHANGE_ONLY_EXCEPT_UNDER_BILATERAL_AGREEMENT_USE_IC_CHIP_WHERE_FEASIBLE",NO_INTERCHANGE_EXCEPT_UNDER_BILATERAL_AGREEMENT:"NO_INTERCHANGE_EXCEPT_UNDER_BILATERAL_AGREEMENT",TEST:"TEST",UNDEFINED:"UNDEFINED"}},88581:t=>{t.exports={NORMAL:"NORMAL",CONTACT_ISSUER_VIA_ONLINE_MEANS:"CONTACT_ISSUER_VIA_ONLINE_MEANS",CONTACT_ISSUER_VIA_ONLINE_MEANS_EXCEPT_UNDER_BILATERAL_AGREEMENT:"CONTACT_ISSUER_VIA_ONLINE_MEANS_EXCEPT_UNDER_BILATERAL_AGREEMENT",UNDEFINED:"UNDEFINED"}},9496:t=>{t.exports={NO_RESTRICTIONS_PIN_REQUIRED:"NO_RESTRICTIONS_PIN_REQUIRED",NO_RESTRICTIONS:"NO_RESTRICTIONS",GOODS_AND_SERVICES_ONLY_NO_CASH:"GOODS_AND_SERVICES_ONLY_NO_CASH",ATM_ONLY_PIN_REQUIRED:"ATM_ONLY_PIN_REQUIRED",CASH_ONLY:"CASH_ONLY",GOODS_AND_SERVICES_ONLY_NO_CASH_PIN_REQUIRED:"GOODS_AND_SERVICES_ONLY_NO_CASH_PIN_REQUIRED",NO_RESTRICTIONS_USE_PIN_WHERE_FEASIBLE:"NO_RESTRICTIONS_USE_PIN_WHERE_FEASIBLE",GOODS_AND_SERVICES_ONLY_NO_CASH_USE_PIN_WHERE_FEASIBLE:"GOODS_AND_SERVICES_ONLY_NO_CASH_USE_PIN_WHERE_FEASIBLE",UNDEFINED:"UNDEFINED"}},40271:(t,e,i)=>{var n=i(43634),o=i(89656),s=i(10413),r=i(27416),a=i(52849),l=i(88581),d=i(9496),u=function(){this._class_=u,this.txResult=void 0,this.txError=void 0,this.amount=void 0,this.tipAmount=void 0,this.cashBackAmount=void 0,this.errorCode=void 0,this.errorText=void 0,this.transactionDate=void 0,this.transactionTime=void 0,this.msrContainer=void 0,this.msrMaskedTrack1=void 0,this.msrMaskedTrack2=void 0,this.maskedManualPan=void 0,this.sredContainer=void 0,this.sred=void 0,this.ksn=void 0,this.transArmorContainer=void 0,this.transArmorKey=void 0,this.transArmorKeyId=void 0,this.transArmorEncryptedTrack1=void 0,this.transArmorEncryptedTrack2=void 0,this.transArmorEncryptedEmvTag57=void 0,this.transArmorEncryptedEmvTag5A=void 0,this.transArmorEncryptedManualKeyedData=void 0,this.iccContainer=void 0,this.iccApplicationInterchangeProfile=void 0,this.iccMaskedEmv57=void 0,this.iccMaskedEmv5A=void 0,this.iccApplicationPanSequenceNumber=void 0,this.iccApplicationExpirationDate=void 0,this.iccApplicationEffectiveDate=void 0,this.iccAmountAuthorized=void 0,this.iccAmountOther=void 0,this.iccTransactionCurrencyCode=void 0,this.iccTransactionCurrencyExponent=void 0,this.iccApplicationUsageControl=void 0,this.iccIssuerActionCodeDefault=void 0,this.iccIssuerActionCodeDenial=void 0,this.iccIssuerActionCodeOnline=void 0,this.iccApplicationLabel=void 0,this.iccApplicationCryptogram=void 0,this.iccApplicationIdentifierCard=void 0,this.iccApplicationIdentifierTerminal=void 0,this.iccApplicationTransactionCounter=void 0,this.iccApplicationVersionNumber=void 0,this.iccCryptogramInformationData=void 0,this.iccCvmResults=void 0,this.iccInterfaceDeviceSerialNumber=void 0,this.iccIssuerApplicationData=void 0,this.iccPosEntryModeCode=void 0,this.iccTerminalCapabilities=void 0,this.iccTerminalCountryCode=void 0,this.iccTerminalType=void 0,this.iccTvr=void 0,this.iccTransactionDate=void 0,this.iccTsi=void 0,this.iccTransactionType=void 0,this.iccUnpredictableNumber=void 0,this.iccTransactionTime=void 0,this.iccAdditionalTerminalCapabilities=void 0,this.iccTransactionCategoryCode=void 0,this.iccIssuerApplicationPreferredName=void 0,this.iccCardholderName=void 0,this.iccIssuerCodeTableIndex=void 0,this.iccIssuerScripts=void 0,this.iccIssuerScriptResults=void 0,this.debugTrack2EquivalentData=void 0,this.debugApplicationPan=void 0,this.debugAmountAuthorizedBinary=void 0,this.debugAmountOtherBinary=void 0,this.debugTransactionStatusInformation=void 0,this.debugPlainTrack1=void 0,this.debugPlainTrack2=void 0,this.schemePunATC=void 0,this.schemeThirdPartyData=void 0,this.schemeMerchantCustomData=void 0,this.schemeTerminalEntryCapability=void 0,this.pinBlockContainer=void 0,this.pinBlock=void 0,this.pinBlockKsn=void 0,this.mac=void 0,this.macKsn=void 0,this.gwContainer=void 0,this.gwIssuerAuthenticationData=void 0,this.gwIssuerScriptTemplate1=void 0,this.gwIssuerScriptTemplate2=void 0,this.gwIssuerAuthorizationResponseCode=void 0,this.gwMessageControlField=void 0,this.gwTxResult=void 0,this.cvmResult=void 0,this.serviceCode1=void 0,this.serviceCode2=void 0,this.serviceCode3=void 0,this.offlineApprovalAuthCode=void 0,this.availableOfflineSpendingAmount=void 0};u.prototype.setTxResult=function(t){this.txResult=t},u.prototype.getTxResult=function(){return this.txResult},u.prototype.setTxError=function(t){this.txError=t},u.prototype.getTxError=function(){return this.txError},u.prototype.setAmount=function(t){this.amount=t},u.prototype.getAmount=function(){return this.amount},u.prototype.setTipAmount=function(t){this.tipAmount=t},u.prototype.getTipAmount=function(){return this.tipAmount},u.prototype.setCashBackAmount=function(t){this.cashBackAmount=t},u.prototype.getCashBackAmount=function(){return this.cashBackAmount},u.prototype.setErrorCode=function(t){this.errorCode=t},u.prototype.getErrorCode=function(){return this.errorCode},u.prototype.setErrorText=function(t){this.errorText=t},u.prototype.getErrorText=function(){return this.errorText},u.prototype.setTransactionDate=function(t){this.transactionDate=t},u.prototype.getTransactionDate=function(){return this.transactionDate},u.prototype.setTransactionTime=function(t){this.transactionTime=t},u.prototype.getTransactionTime=function(){return this.transactionTime},u.prototype.setMsrContainer=function(t){this.msrContainer=t},u.prototype.getMsrContainer=function(){return this.msrContainer},u.prototype.setMsrMaskedTrack1=function(t){this.msrMaskedTrack1=t},u.prototype.getMsrMaskedTrack1=function(){return this.msrMaskedTrack1},u.prototype.setMsrMaskedTrack2=function(t){this.msrMaskedTrack2=t},u.prototype.getMsrMaskedTrack2=function(){return this.msrMaskedTrack2},u.prototype.setMaskedManualPan=function(t){this.maskedManualPan=t},u.prototype.getMaskedManualPan=function(){return this.maskedManualPan},u.prototype.setSredContainer=function(t){this.sredContainer=t},u.prototype.getSredContainer=function(){return this.sredContainer},u.prototype.setSred=function(t){this.sred=t},u.prototype.getSred=function(){return this.sred},u.prototype.setKsn=function(t){this.ksn=t},u.prototype.getKsn=function(){return this.ksn},u.prototype.setTransArmorContainer=function(t){this.transArmorContainer=t},u.prototype.getTransArmorContainer=function(){return this.transArmorContainer},u.prototype.setTransArmorKey=function(t){this.transArmorKey=t},u.prototype.getTransArmorKey=function(){return this.transArmorKey},u.prototype.setTransArmorKeyId=function(t){this.transArmorKeyId=t},u.prototype.getTransArmorKeyId=function(){return this.transArmorKeyId},u.prototype.setTransArmorEncryptedTrack1=function(t){this.transArmorEncryptedTrack1=t},u.prototype.getTransArmorEncryptedTrack1=function(){return this.transArmorEncryptedTrack1},u.prototype.setTransArmorEncryptedTrack2=function(t){this.transArmorEncryptedTrack2=t},u.prototype.getTransArmorEncryptedTrack2=function(){return this.transArmorEncryptedTrack2},u.prototype.setTransArmorEncryptedEmvTag57=function(t){this.transArmorEncryptedEmvTag57=t},u.prototype.getTransArmorEncryptedEmvTag57=function(){return this.transArmorEncryptedEmvTag57},u.prototype.setTransArmorEncryptedEmvTag5A=function(t){this.transArmorEncryptedEmvTag5A=t},u.prototype.getTransArmorEncryptedEmvTag5A=function(){return this.transArmorEncryptedEmvTag5A},u.prototype.setTransArmorEncryptedManualKeyedData=function(t){this.transArmorEncryptedManualKeyedData=t},u.prototype.getTransArmorEncryptedManualKeyedData=function(){return this.transArmorEncryptedManualKeyedData},u.prototype.setIccContainer=function(t){this.iccContainer=t},u.prototype.getIccContainer=function(){return this.iccContainer},u.prototype.setIccApplicationInterchangeProfile=function(t){this.iccApplicationInterchangeProfile=t},u.prototype.getIccApplicationInterchangeProfile=function(){return this.iccApplicationInterchangeProfile},u.prototype.setIccMaskedEmv57=function(t){this.iccMaskedEmv57=t},u.prototype.getIccMaskedEmv57=function(){return this.iccMaskedEmv57},u.prototype.setIccMaskedEmv5A=function(t){this.iccMaskedEmv5A=t},u.prototype.getIccMaskedEmv5A=function(){return this.iccMaskedEmv5A},u.prototype.setIccApplicationPanSequenceNumber=function(t){this.iccApplicationPanSequenceNumber=t},u.prototype.getIccApplicationPanSequenceNumber=function(){return this.iccApplicationPanSequenceNumber},u.prototype.setIccApplicationExpirationDate=function(t){this.iccApplicationExpirationDate=t},u.prototype.getIccApplicationExpirationDate=function(){return this.iccApplicationExpirationDate},u.prototype.setIccApplicationEffectiveDate=function(t){this.iccApplicationEffectiveDate=t},u.prototype.getIccApplicationEffectiveDate=function(){return this.iccApplicationEffectiveDate},u.prototype.setIccAmountAuthorized=function(t){this.iccAmountAuthorized=t},u.prototype.getIccAmountAuthorized=function(){return this.iccAmountAuthorized},u.prototype.setIccAmountOther=function(t){this.iccAmountOther=t},u.prototype.getIccAmountOther=function(){return this.iccAmountOther},u.prototype.setIccTransactionCurrencyCode=function(t){this.iccTransactionCurrencyCode=t},u.prototype.getIccTransactionCurrencyCode=function(){return this.iccTransactionCurrencyCode},u.prototype.setIccTransactionCurrencyExponent=function(t){this.iccTransactionCurrencyExponent=t},u.prototype.getIccTransactionCurrencyExponent=function(){return this.iccTransactionCurrencyExponent},u.prototype.setIccApplicationUsageControl=function(t){this.iccApplicationUsageControl=t},u.prototype.getIccApplicationUsageControl=function(){return this.iccApplicationUsageControl},u.prototype.setIccIssuerActionCodeDefault=function(t){this.iccIssuerActionCodeDefault=t},u.prototype.getIccIssuerActionCodeDefault=function(){return this.iccIssuerActionCodeDefault},u.prototype.setIccIssuerActionCodeDenial=function(t){this.iccIssuerActionCodeDenial=t},u.prototype.getIccIssuerActionCodeDenial=function(){return this.iccIssuerActionCodeDenial},u.prototype.setIccIssuerActionCodeOnline=function(t){this.iccIssuerActionCodeOnline=t},u.prototype.getIccIssuerActionCodeOnline=function(){return this.iccIssuerActionCodeOnline},u.prototype.setIccApplicationLabel=function(t){this.iccApplicationLabel=t},u.prototype.getIccApplicationLabel=function(){return this.iccApplicationLabel},u.prototype.setIccApplicationCryptogram=function(t){this.iccApplicationCryptogram=t},u.prototype.getIccApplicationCryptogram=function(){return this.iccApplicationCryptogram},u.prototype.setIccApplicationIdentifierCard=function(t){this.iccApplicationIdentifierCard=t},u.prototype.getIccApplicationIdentifierCard=function(){return this.iccApplicationIdentifierCard},u.prototype.setIccApplicationIdentifierTerminal=function(t){this.iccApplicationIdentifierTerminal=t},u.prototype.getIccApplicationIdentifierTerminal=function(){return this.iccApplicationIdentifierTerminal},u.prototype.setIccApplicationTransactionCounter=function(t){this.iccApplicationTransactionCounter=t},u.prototype.getIccApplicationTransactionCounter=function(){return this.iccApplicationTransactionCounter},u.prototype.setIccApplicationVersionNumber=function(t){this.iccApplicationVersionNumber=t},u.prototype.getIccApplicationVersionNumber=function(){return this.iccApplicationVersionNumber},u.prototype.setIccCryptogramInformationData=function(t){this.iccCryptogramInformationData=t},u.prototype.getIccCryptogramInformationData=function(){return this.iccCryptogramInformationData},u.prototype.setIccCvmResults=function(t){this.iccCvmResults=t},u.prototype.getIccCvmResults=function(){return this.iccCvmResults},u.prototype.setIccInterfaceDeviceSerialNumber=function(t){this.iccInterfaceDeviceSerialNumber=t},u.prototype.getIccInterfaceDeviceSerialNumber=function(){return this.iccInterfaceDeviceSerialNumber},u.prototype.setIccIssuerApplicationData=function(t){this.iccIssuerApplicationData=t},u.prototype.getIccIssuerApplicationData=function(){return this.iccIssuerApplicationData},u.prototype.setIccPosEntryModeCode=function(t){this.iccPosEntryModeCode=t},u.prototype.getIccPosEntryModeCode=function(){return this.iccPosEntryModeCode},u.prototype.setIccTerminalCapabilities=function(t){this.iccTerminalCapabilities=t},u.prototype.getIccTerminalCapabilities=function(){return this.iccTerminalCapabilities},u.prototype.setIccTerminalCountryCode=function(t){this.iccTerminalCountryCode=t},u.prototype.getIccTerminalCountryCode=function(){return this.iccTerminalCountryCode},u.prototype.setIccTerminalType=function(t){this.iccTerminalType=t},u.prototype.getIccTerminalType=function(){return this.iccTerminalType},u.prototype.setIccTvr=function(t){this.iccTvr=t},u.prototype.getIccTvr=function(){return this.iccTvr},u.prototype.setIccTransactionDate=function(t){this.iccTransactionDate=t},u.prototype.getIccTransactionDate=function(){return this.iccTransactionDate},u.prototype.setIccTsi=function(t){this.iccTsi=t},u.prototype.getIccTsi=function(){return this.iccTsi},u.prototype.setIccTransactionType=function(t){this.iccTransactionType=t},u.prototype.getIccTransactionType=function(){return this.iccTransactionType},u.prototype.setIccUnpredictableNumber=function(t){this.iccUnpredictableNumber=t},u.prototype.getIccUnpredictableNumber=function(){return this.iccUnpredictableNumber},u.prototype.setIccTransactionTime=function(t){this.iccTransactionTime=t},u.prototype.getIccTransactionTime=function(){return this.iccTransactionTime},u.prototype.setIccAdditionalTerminalCapabilities=function(t){this.iccAdditionalTerminalCapabilities=t},u.prototype.getIccAdditionalTerminalCapabilities=function(){return this.iccAdditionalTerminalCapabilities},u.prototype.setIccTransactionCategoryCode=function(t){this.iccTransactionCategoryCode=t},u.prototype.getIccTransactionCategoryCode=function(){return this.iccTransactionCategoryCode},u.prototype.setIccIssuerApplicationPreferredName=function(t){this.iccIssuerApplicationPreferredName=t},u.prototype.getIccIssuerApplicationPreferredName=function(){return this.iccIssuerApplicationPreferredName},u.prototype.setIccCardholderName=function(t){this.iccCardholderName=t},u.prototype.getIccCardholderName=function(){return this.iccCardholderName},u.prototype.setIccIssuerCodeTableIndex=function(t){this.iccIssuerCodeTableIndex=t},u.prototype.getIccIssuerCodeTableIndex=function(){return this.iccIssuerCodeTableIndex},u.prototype.setIccIssuerScripts=function(t){this.iccIssuerScripts=t},u.prototype.getIccIssuerScripts=function(){return this.iccIssuerScripts},u.prototype.setIccIssuerScriptResults=function(t){this.iccIssuerScriptResults=t},u.prototype.getIccIssuerScriptResults=function(){return this.iccIssuerScriptResults},u.prototype.setDebugTrack2EquivalentData=function(t){this.debugTrack2EquivalentData=t},u.prototype.getDebugTrack2EquivalentData=function(){return this.debugTrack2EquivalentData},u.prototype.setDebugApplicationPan=function(t){this.debugApplicationPan=t},u.prototype.getDebugApplicationPan=function(){return this.debugApplicationPan},u.prototype.setDebugAmountAuthorizedBinary=function(t){this.debugAmountAuthorizedBinary=t},u.prototype.getDebugAmountAuthorizedBinary=function(){return this.debugAmountAuthorizedBinary},u.prototype.setDebugAmountOtherBinary=function(t){this.debugAmountOtherBinary=t},u.prototype.getDebugAmountOtherBinary=function(){return this.debugAmountOtherBinary},u.prototype.setDebugTransactionStatusInformation=function(t){this.debugTransactionStatusInformation=t},u.prototype.getDebugTransactionStatusInformation=function(){return this.debugTransactionStatusInformation},u.prototype.setDebugPlainTrack1=function(t){this.debugPlainTrack1=t},u.prototype.getDebugPlainTrack1=function(){return this.debugPlainTrack1},u.prototype.setDebugPlainTrack2=function(t){this.debugPlainTrack2=t},u.prototype.getDebugPlainTrack2=function(){return this.debugPlainTrack2},u.prototype.setSchemePunATC=function(t){this.schemePunATC=t},u.prototype.getSchemePunATC=function(){return this.schemePunATC},u.prototype.setSchemeThirdPartyData=function(t){this.schemeThirdPartyData=t},u.prototype.getSchemeThirdPartyData=function(){return this.schemeThirdPartyData},u.prototype.setSchemeMerchantCustomData=function(t){this.schemeMerchantCustomData=t},u.prototype.getSchemeMerchantCustomData=function(){return this.schemeMerchantCustomData},u.prototype.setSchemeTerminalEntryCapability=function(t){this.schemeTerminalEntryCapability=t},u.prototype.getSchemeTerminalEntryCapability=function(){return this.schemeTerminalEntryCapability},u.prototype.setPinBlockContainer=function(t){this.pinBlockContainer=t},u.prototype.getPinBlockContainer=function(){return this.pinBlockContainer},u.prototype.setPinBlock=function(t){this.pinBlock=t},u.prototype.getPinBlock=function(){return this.pinBlock},u.prototype.setPinBlockKsn=function(t){this.pinBlockKsn=t},u.prototype.getPinBlockKsn=function(){return this.pinBlockKsn},u.prototype.setMac=function(t){this.mac=t},u.prototype.getMac=function(){return this.mac},u.prototype.setMacKsn=function(t){this.macKsn=t},u.prototype.getMacKsn=function(){return this.macKsn},u.prototype.setGwContainer=function(t){this.gwContainer=t},u.prototype.getGwContainer=function(){return this.gwContainer},u.prototype.setGwIssuerAuthenticationData=function(t){this.gwIssuerAuthenticationData=t},u.prototype.getGwIssuerAuthenticationData=function(){return this.gwIssuerAuthenticationData},u.prototype.setGwIssuerScriptTemplate1=function(t){this.gwIssuerScriptTemplate1=t},u.prototype.getGwIssuerScriptTemplate1=function(){return this.gwIssuerScriptTemplate1},u.prototype.setGwIssuerScriptTemplate2=function(t){this.gwIssuerScriptTemplate2=t},u.prototype.getGwIssuerScriptTemplate2=function(){return this.gwIssuerScriptTemplate2},u.prototype.setGwIssuerAuthorizationResponseCode=function(t){this.gwIssuerAuthorizationResponseCode=t},u.prototype.getGwIssuerAuthorizationResponseCode=function(){return this.gwIssuerAuthorizationResponseCode},u.prototype.setGwMessageControlField=function(t){this.gwMessageControlField=t},u.prototype.getGwMessageControlField=function(){return this.gwMessageControlField},u.prototype.setGwTxResult=function(t){this.gwTxResult=t},u.prototype.getGwTxResult=function(){return this.gwTxResult},u.prototype.setCvmResult=function(t){this.cvmResult=t},u.prototype.getCvmResult=function(){return this.cvmResult},u.prototype.setServiceCode1=function(t){this.serviceCode1=t},u.prototype.getServiceCode1=function(){return this.serviceCode1},u.prototype.setServiceCode2=function(t){this.serviceCode2=t},u.prototype.getServiceCode2=function(){return this.serviceCode2},u.prototype.setServiceCode3=function(t){this.serviceCode3=t},u.prototype.getServiceCode3=function(){return this.serviceCode3},u.prototype.setOfflineApprovalAuthCode=function(t){this.offlineApprovalAuthCode=t},u.prototype.getOfflineApprovalAuthCode=function(){return this.offlineApprovalAuthCode},u.prototype.setAvailableOfflineSpendingAmount=function(t){this.availableOfflineSpendingAmount=t},u.prototype.getAvailableOfflineSpendingAmount=function(){return this.availableOfflineSpendingAmount},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.txResult={},u._meta_.fields.txResult.type=s,u._meta_.fields.txError={},u._meta_.fields.txError.type=o,u._meta_.fields.amount={},u._meta_.fields.amount.type=Number,u._meta_.fields.tipAmount={},u._meta_.fields.tipAmount.type=Number,u._meta_.fields.cashBackAmount={},u._meta_.fields.cashBackAmount.type=Number,u._meta_.fields.errorCode={},u._meta_.fields.errorCode.type=String,u._meta_.fields.errorText={},u._meta_.fields.errorText.type=String,u._meta_.fields.transactionDate={},u._meta_.fields.transactionDate.type=String,u._meta_.fields.transactionTime={},u._meta_.fields.transactionTime.type=String,u._meta_.fields.msrContainer={},u._meta_.fields.msrContainer.type=String,u._meta_.fields.msrMaskedTrack1={},u._meta_.fields.msrMaskedTrack1.type=String,u._meta_.fields.msrMaskedTrack2={},u._meta_.fields.msrMaskedTrack2.type=String,u._meta_.fields.maskedManualPan={},u._meta_.fields.maskedManualPan.type=String,u._meta_.fields.sredContainer={},u._meta_.fields.sredContainer.type=String,u._meta_.fields.sred={},u._meta_.fields.sred.type=String,u._meta_.fields.ksn={},u._meta_.fields.ksn.type=String,u._meta_.fields.transArmorContainer={},u._meta_.fields.transArmorContainer.type=String,u._meta_.fields.transArmorKey={},u._meta_.fields.transArmorKey.type=String,u._meta_.fields.transArmorKeyId={},u._meta_.fields.transArmorKeyId.type=String,u._meta_.fields.transArmorEncryptedTrack1={},u._meta_.fields.transArmorEncryptedTrack1.type=String,u._meta_.fields.transArmorEncryptedTrack2={},u._meta_.fields.transArmorEncryptedTrack2.type=String,u._meta_.fields.transArmorEncryptedEmvTag57={},u._meta_.fields.transArmorEncryptedEmvTag57.type=String,u._meta_.fields.transArmorEncryptedEmvTag5A={},u._meta_.fields.transArmorEncryptedEmvTag5A.type=String,u._meta_.fields.transArmorEncryptedManualKeyedData={},u._meta_.fields.transArmorEncryptedManualKeyedData.type=String,u._meta_.fields.iccContainer={},u._meta_.fields.iccContainer.type=String,u._meta_.fields.iccApplicationInterchangeProfile={},u._meta_.fields.iccApplicationInterchangeProfile.type=String,u._meta_.fields.iccMaskedEmv57={},u._meta_.fields.iccMaskedEmv57.type=String,u._meta_.fields.iccMaskedEmv5A={},u._meta_.fields.iccMaskedEmv5A.type=String,u._meta_.fields.iccApplicationPanSequenceNumber={},u._meta_.fields.iccApplicationPanSequenceNumber.type=String,u._meta_.fields.iccApplicationExpirationDate={},u._meta_.fields.iccApplicationExpirationDate.type=String,u._meta_.fields.iccApplicationEffectiveDate={},u._meta_.fields.iccApplicationEffectiveDate.type=String,u._meta_.fields.iccAmountAuthorized={},u._meta_.fields.iccAmountAuthorized.type=String,u._meta_.fields.iccAmountOther={},u._meta_.fields.iccAmountOther.type=String,u._meta_.fields.iccTransactionCurrencyCode={},u._meta_.fields.iccTransactionCurrencyCode.type=String,u._meta_.fields.iccTransactionCurrencyExponent={},u._meta_.fields.iccTransactionCurrencyExponent.type=String,u._meta_.fields.iccApplicationUsageControl={},u._meta_.fields.iccApplicationUsageControl.type=String,u._meta_.fields.iccIssuerActionCodeDefault={},u._meta_.fields.iccIssuerActionCodeDefault.type=String,u._meta_.fields.iccIssuerActionCodeDenial={},u._meta_.fields.iccIssuerActionCodeDenial.type=String,u._meta_.fields.iccIssuerActionCodeOnline={},u._meta_.fields.iccIssuerActionCodeOnline.type=String,u._meta_.fields.iccApplicationLabel={},u._meta_.fields.iccApplicationLabel.type=String,u._meta_.fields.iccApplicationCryptogram={},u._meta_.fields.iccApplicationCryptogram.type=String,u._meta_.fields.iccApplicationIdentifierCard={},u._meta_.fields.iccApplicationIdentifierCard.type=String,u._meta_.fields.iccApplicationIdentifierTerminal={},u._meta_.fields.iccApplicationIdentifierTerminal.type=String,u._meta_.fields.iccApplicationTransactionCounter={},u._meta_.fields.iccApplicationTransactionCounter.type=String,u._meta_.fields.iccApplicationVersionNumber={},u._meta_.fields.iccApplicationVersionNumber.type=String,u._meta_.fields.iccCryptogramInformationData={},u._meta_.fields.iccCryptogramInformationData.type=String,u._meta_.fields.iccCvmResults={},u._meta_.fields.iccCvmResults.type=String,u._meta_.fields.iccInterfaceDeviceSerialNumber={},u._meta_.fields.iccInterfaceDeviceSerialNumber.type=String,u._meta_.fields.iccIssuerApplicationData={},u._meta_.fields.iccIssuerApplicationData.type=String,u._meta_.fields.iccPosEntryModeCode={},u._meta_.fields.iccPosEntryModeCode.type=String,u._meta_.fields.iccTerminalCapabilities={},u._meta_.fields.iccTerminalCapabilities.type=String,u._meta_.fields.iccTerminalCountryCode={},u._meta_.fields.iccTerminalCountryCode.type=String,u._meta_.fields.iccTerminalType={},u._meta_.fields.iccTerminalType.type=String,u._meta_.fields.iccTvr={},u._meta_.fields.iccTvr.type=String,u._meta_.fields.iccTransactionDate={},u._meta_.fields.iccTransactionDate.type=String,u._meta_.fields.iccTsi={},u._meta_.fields.iccTsi.type=String,u._meta_.fields.iccTransactionType={},u._meta_.fields.iccTransactionType.type=String,u._meta_.fields.iccUnpredictableNumber={},u._meta_.fields.iccUnpredictableNumber.type=String,u._meta_.fields.iccTransactionTime={},u._meta_.fields.iccTransactionTime.type=String,u._meta_.fields.iccAdditionalTerminalCapabilities={},u._meta_.fields.iccAdditionalTerminalCapabilities.type=String,u._meta_.fields.iccTransactionCategoryCode={},u._meta_.fields.iccTransactionCategoryCode.type=String,u._meta_.fields.iccIssuerApplicationPreferredName={},u._meta_.fields.iccIssuerApplicationPreferredName.type=String,u._meta_.fields.iccCardholderName={},u._meta_.fields.iccCardholderName.type=String,u._meta_.fields.iccIssuerCodeTableIndex={},u._meta_.fields.iccIssuerCodeTableIndex.type=String,u._meta_.fields.iccIssuerScripts={},u._meta_.fields.iccIssuerScripts.type=String,u._meta_.fields.iccIssuerScriptResults={},u._meta_.fields.iccIssuerScriptResults.type=String,u._meta_.fields.debugTrack2EquivalentData={},u._meta_.fields.debugTrack2EquivalentData.type=String,u._meta_.fields.debugApplicationPan={},u._meta_.fields.debugApplicationPan.type=String,u._meta_.fields.debugAmountAuthorizedBinary={},u._meta_.fields.debugAmountAuthorizedBinary.type=String,u._meta_.fields.debugAmountOtherBinary={},u._meta_.fields.debugAmountOtherBinary.type=String,u._meta_.fields.debugTransactionStatusInformation={},u._meta_.fields.debugTransactionStatusInformation.type=String,u._meta_.fields.debugPlainTrack1={},u._meta_.fields.debugPlainTrack1.type=String,u._meta_.fields.debugPlainTrack2={},u._meta_.fields.debugPlainTrack2.type=String,u._meta_.fields.schemePunATC={},u._meta_.fields.schemePunATC.type=String,u._meta_.fields.schemeThirdPartyData={},u._meta_.fields.schemeThirdPartyData.type=String,u._meta_.fields.schemeMerchantCustomData={},u._meta_.fields.schemeMerchantCustomData.type=String,u._meta_.fields.schemeTerminalEntryCapability={},u._meta_.fields.schemeTerminalEntryCapability.type=String,u._meta_.fields.pinBlockContainer={},u._meta_.fields.pinBlockContainer.type=String,u._meta_.fields.pinBlock={},u._meta_.fields.pinBlock.type=String,u._meta_.fields.pinBlockKsn={},u._meta_.fields.pinBlockKsn.type=String,u._meta_.fields.mac={},u._meta_.fields.mac.type=String,u._meta_.fields.macKsn={},u._meta_.fields.macKsn.type=String,u._meta_.fields.gwContainer={},u._meta_.fields.gwContainer.type=String,u._meta_.fields.gwIssuerAuthenticationData={},u._meta_.fields.gwIssuerAuthenticationData.type=String,u._meta_.fields.gwIssuerScriptTemplate1={},u._meta_.fields.gwIssuerScriptTemplate1.type=String,u._meta_.fields.gwIssuerScriptTemplate2={},u._meta_.fields.gwIssuerScriptTemplate2.type=String,u._meta_.fields.gwIssuerAuthorizationResponseCode={},u._meta_.fields.gwIssuerAuthorizationResponseCode.type=String,u._meta_.fields.gwMessageControlField={},u._meta_.fields.gwMessageControlField.type=String,u._meta_.fields.gwTxResult={},u._meta_.fields.gwTxResult.type=r,u._meta_.fields.cvmResult={},u._meta_.fields.cvmResult.type=n,u._meta_.fields.serviceCode1={},u._meta_.fields.serviceCode1.type=a,u._meta_.fields.serviceCode2={},u._meta_.fields.serviceCode2.type=l,u._meta_.fields.serviceCode3={},u._meta_.fields.serviceCode3.type=d,u._meta_.fields.offlineApprovalAuthCode={},u._meta_.fields.offlineApprovalAuthCode.type=String,u._meta_.fields.availableOfflineSpendingAmount={},u._meta_.fields.availableOfflineSpendingAmount.type=Number,t.exports=u},10413:t=>{t.exports={ERROR:"ERROR",MSR:"MSR",EMV_OFFLINE_APPROVED:"EMV_OFFLINE_APPROVED",EMV_OFFLINE_DECLINED:"EMV_OFFLINE_DECLINED",EMV_GO_ONLINE:"EMV_GO_ONLINE",EMV_APPROVED_ONLINE:"EMV_APPROVED_ONLINE",EMV_DECLINED_ONLINE:"EMV_DECLINED_ONLINE",RFID_OFFLINE_APPROVED:"RFID_OFFLINE_APPROVED",RFID_OFFLINE_DECLINED:"RFID_OFFLINE_DECLINED",RFID_GO_ONLINE:"RFID_GO_ONLINE",RFID_TERMINATED:"RFID_TERMINATED",RFID_MSR:"RFID_MSR",MANUAL:"MANUAL"}},57637:(t,e,i)=>{function n(){}t.exports.pay=n,n.CardFunction=i(80321),n.ErrorCode=i(89656),n.GwTxResult=i(27416),n.PaymentRequestCardDetails=i(27138),n.ServiceCode1=i(52849),n.ServiceCode2=i(88581),n.ServiceCode3=i(9496),n.TransactionData=i(40271),n.TxResult=i(10413),t.exports=n},80373:t=>{t.exports={SUCCESS:"SUCCESS",ZIP_CODE_MATCH:"ZIP_CODE_MATCH",ZIP_CODE_MATCH_ADDRESS_NOT_CHECKED:"ZIP_CODE_MATCH_ADDRESS_NOT_CHECKED",ADDRESS_MATCH:"ADDRESS_MATCH",ADDRESS_MATCH_ZIP_NOT_CHECKED:"ADDRESS_MATCH_ZIP_NOT_CHECKED",NEITHER_MATCH:"NEITHER_MATCH",SERVICE_FAILURE:"SERVICE_FAILURE",SERVICE_UNAVAILABLE:"SERVICE_UNAVAILABLE",NOT_CHECKED:"NOT_CHECKED",ZIP_CODE_NOT_MATCHED_ADDRESS_NOT_CHECKED:"ZIP_CODE_NOT_MATCHED_ADDRESS_NOT_CHECKED",ADDRESS_NOT_MATCHED_ZIP_CODE_NOT_CHECKED:"ADDRESS_NOT_MATCHED_ZIP_CODE_NOT_CHECKED"}},18593:t=>{t.exports={CREDIT:"CREDIT",DEBIT:"DEBIT",CHECKING:"CHECKING",SAVINGS:"SAVINGS"}},48067:(t,e,i)=>{var n=i(32488),o=function(){this._class_=o,this.id=void 0,this.amount=void 0,this.rate=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setRate=function(t){this.rate=t},o.prototype.getRate=function(){return this.rate},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.rate={},o._meta_.fields.rate.type=Number,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},32488:t=>{t.exports={INTERAC:"INTERAC",CREDIT_SURCHARGE:"CREDIT_SURCHARGE",CONVENIENCE_FEE:"CONVENIENCE_FEE",INTERAC_V2:"INTERAC_V2"}},93657:(t,e,i)=>{var n=i(4212),o=i(82794),s=i(88960),r=function(){this._class_=r,this.id=void 0,this.payment=void 0,this.tabName=void 0,this.amount=void 0,this.cardType=void 0,this.last4=void 0,this.authcode=void 0,this.token=void 0,this.type=void 0,this.note=void 0,this.externalReferenceId=void 0,this.closingPayment=void 0,this.createdTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setTabName=function(t){this.tabName=t},r.prototype.getTabName=function(){return this.tabName},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardType=function(t){this.cardType=t},r.prototype.getCardType=function(){return this.cardType},r.prototype.setLast4=function(t){this.last4=t},r.prototype.getLast4=function(){return this.last4},r.prototype.setAuthcode=function(t){this.authcode=t},r.prototype.getAuthcode=function(){return this.authcode},r.prototype.setToken=function(t){this.token=t},r.prototype.getToken=function(){return this.token},r.prototype.setType=function(t){this.type=t},r.prototype.getType=function(){return this.type},r.prototype.setNote=function(t){this.note=t},r.prototype.getNote=function(){return this.note},r.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},r.prototype.getExternalReferenceId=function(){return this.externalReferenceId},r.prototype.setClosingPayment=function(t){this.closingPayment=t},r.prototype.getClosingPayment=function(){return this.closingPayment},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.tabName={},r._meta_.fields.tabName.type=String,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardType={},r._meta_.fields.cardType.type=n,r._meta_.fields.last4={},r._meta_.fields.last4.type=String,r._meta_.fields.authcode={},r._meta_.fields.authcode.type=String,r._meta_.fields.token={},r._meta_.fields.token.type=String,r._meta_.fields.type={},r._meta_.fields.type.type=s,r._meta_.fields.note={},r._meta_.fields.note.type=String,r._meta_.fields.externalReferenceId={},r._meta_.fields.externalReferenceId.type=String,r._meta_.fields.closingPayment={},r._meta_.fields.closingPayment.type=o,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,t.exports=r},10360:(t,e,i)=>{var n=i(34160),o=i(23549),s=i(25093),r=i(33513),a=function(){this._class_=a,this.id=void 0,this.txCount=0,this.totalBatchAmount=0,this.devices=void 0,this.state=r.OPEN,this.batchType=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.closeoutTimeDifference=void 0,this.batchDetails=void 0,this.batchTransactions=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setTxCount=function(t){this.txCount=t},a.prototype.getTxCount=function(){return this.txCount},a.prototype.setTotalBatchAmount=function(t){this.totalBatchAmount=t},a.prototype.getTotalBatchAmount=function(){return this.totalBatchAmount},a.prototype.setDevices=function(t){this.devices=t},a.prototype.getDevices=function(){return this.devices},a.prototype.setState=function(t){this.state=t},a.prototype.getState=function(){return this.state},a.prototype.setBatchType=function(t){this.batchType=t},a.prototype.getBatchType=function(){return this.batchType},a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setModifiedTime=function(t){this.modifiedTime=t},a.prototype.getModifiedTime=function(){return this.modifiedTime},a.prototype.setCloseoutTimeDifference=function(t){this.closeoutTimeDifference=t},a.prototype.getCloseoutTimeDifference=function(){return this.closeoutTimeDifference},a.prototype.setBatchDetails=function(t){this.batchDetails=t},a.prototype.getBatchDetails=function(){return this.batchDetails},a.prototype.setBatchTransactions=function(t){this.batchTransactions=t},a.prototype.getBatchTransactions=function(){return this.batchTransactions},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.txCount={},a._meta_.fields.txCount.type=Number,a._meta_.fields.totalBatchAmount={},a._meta_.fields.totalBatchAmount.type=Number,a._meta_.fields.devices={},a._meta_.fields.devices.type=String,a._meta_.fields.state={},a._meta_.fields.state.type=r,a._meta_.fields.batchType={},a._meta_.fields.batchType.type=n,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.modifiedTime={},a._meta_.fields.modifiedTime.type=Number,a._meta_.fields.closeoutTimeDifference={},a._meta_.fields.closeoutTimeDifference.type=Number,a._meta_.fields.batchDetails={},a._meta_.fields.batchDetails.type=s,a._meta_.fields.batchTransactions={},a._meta_.fields.batchTransactions.type=o,t.exports=a},19964:(t,e,i)=>{var n=i(4212),o=function(){this._class_=o,this.cardType=void 0,this.cardTypeLabel=void 0,this.installments=void 0,this.count=void 0,this.total=void 0};o.prototype.setCardType=function(t){this.cardType=t},o.prototype.getCardType=function(){return this.cardType},o.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},o.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},o.prototype.setInstallments=function(t){this.installments=t},o.prototype.getInstallments=function(){return this.installments},o.prototype.setCount=function(t){this.count=t},o.prototype.getCount=function(){return this.count},o.prototype.setTotal=function(t){this.total=t},o.prototype.getTotal=function(){return this.total},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.cardType={},o._meta_.fields.cardType.type=n,o._meta_.fields.cardTypeLabel={},o._meta_.fields.cardTypeLabel.type=String,o._meta_.fields.installments={},o._meta_.fields.installments.type=Number,o._meta_.fields.count={},o._meta_.fields.count.type=Number,o._meta_.fields.total={},o._meta_.fields.total.type=Number,t.exports=o},25093:(t,e,i)=>{var n=i(19964),o=i(24754),s=i(42802),r=i(12299),a=i(33066),l=function(){this._class_=l,this.terminalId=void 0,this.batchTotals=void 0,this.serverTotals=void 0,this.cardTotals=void 0,this.deviceTotals=void 0,this.endpointTotals=void 0,this.openTips=void 0,this.openTabs=void 0};l.prototype.setTerminalId=function(t){this.terminalId=t},l.prototype.getTerminalId=function(){return this.terminalId},l.prototype.setBatchTotals=function(t){this.batchTotals=t},l.prototype.getBatchTotals=function(){return this.batchTotals},l.prototype.setServerTotals=function(t){this.serverTotals=t},l.prototype.getServerTotals=function(){return this.serverTotals},l.prototype.setCardTotals=function(t){this.cardTotals=t},l.prototype.getCardTotals=function(){return this.cardTotals},l.prototype.setDeviceTotals=function(t){this.deviceTotals=t},l.prototype.getDeviceTotals=function(){return this.deviceTotals},l.prototype.setEndpointTotals=function(t){this.endpointTotals=t},l.prototype.getEndpointTotals=function(){return this.endpointTotals},l.prototype.setOpenTips=function(t){this.openTips=t},l.prototype.getOpenTips=function(){return this.openTips},l.prototype.setOpenTabs=function(t){this.openTabs=t},l.prototype.getOpenTabs=function(){return this.openTabs},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.terminalId={},l._meta_.fields.terminalId.type=String,l._meta_.fields.batchTotals={},l._meta_.fields.batchTotals.type=s,l._meta_.fields.serverTotals={},l._meta_.fields.serverTotals.type=Array,l._meta_.fields.serverTotals.elementType=a,l._meta_.fields.cardTotals={},l._meta_.fields.cardTotals.type=Array,l._meta_.fields.cardTotals.elementType=n,l._meta_.fields.deviceTotals={},l._meta_.fields.deviceTotals.type=Array,l._meta_.fields.deviceTotals.elementType=o,l._meta_.fields.endpointTotals={},l._meta_.fields.endpointTotals.type=Array,l._meta_.fields.endpointTotals.elementType=r,l._meta_.fields.openTips={},l._meta_.fields.openTips.type=Number,l._meta_.fields.openTabs={},l._meta_.fields.openTabs.type=Number,t.exports=l},65339:t=>{var e=function(){this._class_=e,this.devices=void 0};e.prototype.setDevices=function(t){this.devices=t},e.prototype.getDevices=function(){return this.devices},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.devices={},e._meta_.fields.devices.type=Array,t.exports=e},33513:t=>{t.exports={OPEN:"OPEN",QUEUED_FOR_PROCESSING:"QUEUED_FOR_PROCESSING",PROCESSING:"PROCESSING",CLOSED:"CLOSED",FAILED:"FAILED"}},42802:(t,e,i)=>{var n=i(14415),o=function(){this._class_=o,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0};o.prototype.setSales=function(t){this.sales=t},o.prototype.getSales=function(){return this.sales},o.prototype.setRefunds=function(t){this.refunds=t},o.prototype.getRefunds=function(){return this.refunds},o.prototype.setNet=function(t){this.net=t},o.prototype.getNet=function(){return this.net},o.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},o.prototype.getGiftCardLoads=function(){return this.giftCardLoads},o.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},o.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},o.prototype.setTax=function(t){this.tax=t},o.prototype.getTax=function(){return this.tax},o.prototype.setTips=function(t){this.tips=t},o.prototype.getTips=function(){return this.tips},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.sales={},o._meta_.fields.sales.type=n,o._meta_.fields.refunds={},o._meta_.fields.refunds.type=n,o._meta_.fields.net={},o._meta_.fields.net.type=n,o._meta_.fields.giftCardLoads={},o._meta_.fields.giftCardLoads.type=n,o._meta_.fields.giftCardCashOuts={},o._meta_.fields.giftCardCashOuts.type=n,o._meta_.fields.tax={},o._meta_.fields.tax.type=n,o._meta_.fields.tips={},o._meta_.fields.tips.type=n,t.exports=o},14415:t=>{var e=function(){this._class_=e,this.count=void 0,this.total=void 0};e.prototype.setCount=function(t){this.count=t},e.prototype.getCount=function(){return this.count},e.prototype.setTotal=function(t){this.total=t},e.prototype.getTotal=function(){return this.total},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.count={},e._meta_.fields.count.type=Number,e._meta_.fields.total={},e._meta_.fields.total.type=Number,t.exports=e},23549:t=>{var e=function(){this._class_=e,this.paymentIds=void 0,this.refundIds=void 0,this.creditIds=void 0};e.prototype.setPaymentIds=function(t){this.paymentIds=t},e.prototype.getPaymentIds=function(){return this.paymentIds},e.prototype.setRefundIds=function(t){this.refundIds=t},e.prototype.getRefundIds=function(){return this.refundIds},e.prototype.setCreditIds=function(t){this.creditIds=t},e.prototype.getCreditIds=function(){return this.creditIds},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.paymentIds={},e._meta_.fields.paymentIds.type=Array,e._meta_.fields.refundIds={},e._meta_.fields.refundIds.type=Array,e._meta_.fields.creditIds={},e._meta_.fields.creditIds.type=Array,t.exports=e},34160:t=>{t.exports={MANUAL_CLOSE:"MANUAL_CLOSE",AUTO_CLOSE:"AUTO_CLOSE"}},74215:t=>{t.exports={SUCCESS:"SUCCESS",FAILURE:"FAILURE",NOT_PROCESSED:"NOT_PROCESSED",NOT_PRESENT:"NOT_PRESENT"}},56614:t=>{t.exports={SWIPED:"SWIPED",KEYED:"KEYED",VOICE:"VOICE",VAULTED:"VAULTED",OFFLINE_SWIPED:"OFFLINE_SWIPED",OFFLINE_KEYED:"OFFLINE_KEYED",EMV_CONTACT:"EMV_CONTACT",EMV_CONTACTLESS:"EMV_CONTACTLESS",MSD_CONTACTLESS:"MSD_CONTACTLESS",PINPAD_MANUAL_ENTRY:"PINPAD_MANUAL_ENTRY",QR_CODE:"QR_CODE",SCANNED:"SCANNED"}},113:(t,e,i)=>{var n=i(4212),o=i(688),s=i(56614),r=i(15118),a=i(79682),l=i(45318),d=i(80373),u=function(){this._class_=u,this.cardType=void 0,this.entryType=void 0,this.first6=void 0,this.last4=void 0,this.type=void 0,this.authCode=void 0,this.referenceId=void 0,this.transactionNo=void 0,this.state=void 0,this.extra=void 0,this.begBalance=void 0,this.endBalance=void 0,this.avsResult=void 0,this.cardholderName=void 0,this.token=void 0,this.vaultedCard=void 0,this.gatewayTxState=void 0,this.currency=void 0,this.captured=void 0};u.prototype.setCardType=function(t){this.cardType=t},u.prototype.getCardType=function(){return this.cardType},u.prototype.setEntryType=function(t){this.entryType=t},u.prototype.getEntryType=function(){return this.entryType},u.prototype.setFirst6=function(t){this.first6=t},u.prototype.getFirst6=function(){return this.first6},u.prototype.setLast4=function(t){this.last4=t},u.prototype.getLast4=function(){return this.last4},u.prototype.setType=function(t){this.type=t},u.prototype.getType=function(){return this.type},u.prototype.setAuthCode=function(t){this.authCode=t},u.prototype.getAuthCode=function(){return this.authCode},u.prototype.setReferenceId=function(t){this.referenceId=t},u.prototype.getReferenceId=function(){return this.referenceId},u.prototype.setTransactionNo=function(t){this.transactionNo=t},u.prototype.getTransactionNo=function(){return this.transactionNo},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setExtra=function(t){this.extra=t},u.prototype.getExtra=function(){return this.extra},u.prototype.setBegBalance=function(t){this.begBalance=t},u.prototype.getBegBalance=function(){return this.begBalance},u.prototype.setEndBalance=function(t){this.endBalance=t},u.prototype.getEndBalance=function(){return this.endBalance},u.prototype.setAvsResult=function(t){this.avsResult=t},u.prototype.getAvsResult=function(){return this.avsResult},u.prototype.setCardholderName=function(t){this.cardholderName=t},u.prototype.getCardholderName=function(){return this.cardholderName},u.prototype.setToken=function(t){this.token=t},u.prototype.getToken=function(){return this.token},u.prototype.setVaultedCard=function(t){this.vaultedCard=t},u.prototype.getVaultedCard=function(){return this.vaultedCard},u.prototype.setGatewayTxState=function(t){this.gatewayTxState=t},u.prototype.getGatewayTxState=function(){return this.gatewayTxState},u.prototype.setCurrency=function(t){this.currency=t},u.prototype.getCurrency=function(){return this.currency},u.prototype.setCaptured=function(t){this.captured=t},u.prototype.getCaptured=function(){return this.captured},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.cardType={},u._meta_.fields.cardType.type=n,u._meta_.fields.entryType={},u._meta_.fields.entryType.type=s,u._meta_.fields.first6={},u._meta_.fields.first6.type=String,u._meta_.fields.last4={},u._meta_.fields.last4.type=String,u._meta_.fields.type={},u._meta_.fields.type.type=a,u._meta_.fields.authCode={},u._meta_.fields.authCode.type=String,u._meta_.fields.referenceId={},u._meta_.fields.referenceId.type=String,u._meta_.fields.transactionNo={},u._meta_.fields.transactionNo.type=String,u._meta_.fields.state={},u._meta_.fields.state.type=o,u._meta_.fields.extra={},u._meta_.fields.extra.type=Object,u._meta_.fields.begBalance={},u._meta_.fields.begBalance.type=Number,u._meta_.fields.endBalance={},u._meta_.fields.endBalance.type=Number,u._meta_.fields.avsResult={},u._meta_.fields.avsResult.type=d,u._meta_.fields.cardholderName={},u._meta_.fields.cardholderName.type=String,u._meta_.fields.token={},u._meta_.fields.token.type=String,u._meta_.fields.vaultedCard={},u._meta_.fields.vaultedCard.type=r,u._meta_.fields.gatewayTxState={},u._meta_.fields.gatewayTxState.type=l,u._meta_.fields.currency={},u._meta_.fields.currency.type=String,u._meta_.fields.captured={},u._meta_.fields.captured.type=Boolean,t.exports=u},688:t=>{t.exports={PENDING:"PENDING",CLOSED:"CLOSED"}},79682:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",CASH_ADVANCE:"CASH_ADVANCE",VOID_CREDIT:"VOID_CREDIT",REFUND_CREDIT:"REFUND_CREDIT",INTERNET_ACTIVATE:"INTERNET_ACTIVATE",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},4212:t=>{t.exports={VISA:"VISA",MC:"MC",AMEX:"AMEX",DISCOVER:"DISCOVER",DINERS_CLUB:"DINERS_CLUB",JCB:"JCB",MAESTRO:"MAESTRO",SOLO:"SOLO",LASER:"LASER",CHINA_UNION_PAY:"CHINA_UNION_PAY",CARTE_BLANCHE:"CARTE_BLANCHE",UNKNOWN:"UNKNOWN",GIFT_CARD:"GIFT_CARD",EBT:"EBT",GIROCARD:"GIROCARD",INTERAC:"INTERAC",OTHER:"OTHER"}},78317:(t,e,i)=>{var n=i(37912),o=i(57925),s=function(){this._class_=s,this.paymentNetwork=void 0,this.paymentType=void 0,this.paymentData=void 0};s.prototype.setPaymentNetwork=function(t){this.paymentNetwork=t},s.prototype.getPaymentNetwork=function(){return this.paymentNetwork},s.prototype.setPaymentType=function(t){this.paymentType=t},s.prototype.getPaymentType=function(){return this.paymentType},s.prototype.setPaymentData=function(t){this.paymentData=t},s.prototype.getPaymentData=function(){return this.paymentData},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.paymentNetwork={},s._meta_.fields.paymentNetwork.type=o,s._meta_.fields.paymentType={},s._meta_.fields.paymentType.type=n,s._meta_.fields.paymentData={},s._meta_.fields.paymentData.type=String,t.exports=s},37912:t=>{t.exports={QR_CODE:"QR_CODE",BARCODE:"BARCODE"}},57925:t=>{t.exports={ALIPAY:"ALIPAY",WECHAT:"WECHAT"}},893:(t,e,i)=>{var n=i(20275),o=function(){this._class_=o,this.idType=void 0,this.serialNumber=void 0,this.maskedSerialNumber=void 0,this.encryptedSerialNumber=void 0,this.expirationDate=void 0,this.issuingState=void 0,this.issuingCountry=void 0,this.customerName=void 0,this.addressStreet1=void 0,this.addressStreet2=void 0,this.addressCity=void 0,this.addressState=void 0,this.addressZipCode=void 0,this.addressCountry=void 0};o.prototype.setIdType=function(t){this.idType=t},o.prototype.getIdType=function(){return this.idType},o.prototype.setSerialNumber=function(t){this.serialNumber=t},o.prototype.getSerialNumber=function(){return this.serialNumber},o.prototype.setMaskedSerialNumber=function(t){this.maskedSerialNumber=t},o.prototype.getMaskedSerialNumber=function(){return this.maskedSerialNumber},o.prototype.setEncryptedSerialNumber=function(t){this.encryptedSerialNumber=t},o.prototype.getEncryptedSerialNumber=function(){return this.encryptedSerialNumber},o.prototype.setExpirationDate=function(t){this.expirationDate=t},o.prototype.getExpirationDate=function(){return this.expirationDate},o.prototype.setIssuingState=function(t){this.issuingState=t},o.prototype.getIssuingState=function(){return this.issuingState},o.prototype.setIssuingCountry=function(t){this.issuingCountry=t},o.prototype.getIssuingCountry=function(){return this.issuingCountry},o.prototype.setCustomerName=function(t){this.customerName=t},o.prototype.getCustomerName=function(){return this.customerName},o.prototype.setAddressStreet1=function(t){this.addressStreet1=t},o.prototype.getAddressStreet1=function(){return this.addressStreet1},o.prototype.setAddressStreet2=function(t){this.addressStreet2=t},o.prototype.getAddressStreet2=function(){return this.addressStreet2},o.prototype.setAddressCity=function(t){this.addressCity=t},o.prototype.getAddressCity=function(){return this.addressCity},o.prototype.setAddressState=function(t){this.addressState=t},o.prototype.getAddressState=function(){return this.addressState},o.prototype.setAddressZipCode=function(t){this.addressZipCode=t},o.prototype.getAddressZipCode=function(){return this.addressZipCode},o.prototype.setAddressCountry=function(t){this.addressCountry=t},o.prototype.getAddressCountry=function(){return this.addressCountry},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.idType={},o._meta_.fields.idType.type=n,o._meta_.fields.serialNumber={},o._meta_.fields.serialNumber.type=String,o._meta_.fields.maskedSerialNumber={},o._meta_.fields.maskedSerialNumber.type=String,o._meta_.fields.encryptedSerialNumber={},o._meta_.fields.encryptedSerialNumber.type=String,o._meta_.fields.expirationDate={},o._meta_.fields.expirationDate.type=String,o._meta_.fields.issuingState={},o._meta_.fields.issuingState.type=String,o._meta_.fields.issuingCountry={},o._meta_.fields.issuingCountry.type=String,o._meta_.fields.customerName={},o._meta_.fields.customerName.type=String,o._meta_.fields.addressStreet1={},o._meta_.fields.addressStreet1.type=String,o._meta_.fields.addressStreet2={},o._meta_.fields.addressStreet2.type=String,o._meta_.fields.addressCity={},o._meta_.fields.addressCity.type=String,o._meta_.fields.addressState={},o._meta_.fields.addressState.type=String,o._meta_.fields.addressZipCode={},o._meta_.fields.addressZipCode.type=String,o._meta_.fields.addressCountry={},o._meta_.fields.addressCountry.type=String,t.exports=o},11654:(t,e,i)=>{var n=i(893),o=function(){this._class_=o,this.cashAdvanceSerialNum=void 0,this.cashAdvanceCustomerIdentification=void 0};o.prototype.setCashAdvanceSerialNum=function(t){this.cashAdvanceSerialNum=t},o.prototype.getCashAdvanceSerialNum=function(){return this.cashAdvanceSerialNum},o.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},o.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.cashAdvanceSerialNum={},o._meta_.fields.cashAdvanceSerialNum.type=String,o._meta_.fields.cashAdvanceCustomerIdentification={},o._meta_.fields.cashAdvanceCustomerIdentification.type=n,t.exports=o},6639:(t,e,i)=>{var n=i(26866),o=i(113),s=i(27022),r=i(51029),a=i(52448),l=i(12033),d=i(50234),u=i(82986),p=i(4448),_=i(50775),c=i(56135),m=i(17589),f=function(){this._class_=f,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.tender=void 0,this.employee=void 0,this.customers=void 0,this.amount=void 0,this.taxAmount=void 0,this.taxRates=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.cardTransaction=void 0,this.voided=void 0,this.voidReason=void 0,this.dccInfo=void 0,this.transactionSettings=void 0,this.creditRefunds=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.result=void 0,this.transactionInfo=void 0,this.merchant=void 0,this.externalReferenceId=void 0};f.prototype.setId=function(t){this.id=t},f.prototype.getId=function(){return this.id},f.prototype.setOrderRef=function(t){this.orderRef=t},f.prototype.getOrderRef=function(){return this.orderRef},f.prototype.setDevice=function(t){this.device=t},f.prototype.getDevice=function(){return this.device},f.prototype.setTender=function(t){this.tender=t},f.prototype.getTender=function(){return this.tender},f.prototype.setEmployee=function(t){this.employee=t},f.prototype.getEmployee=function(){return this.employee},f.prototype.setCustomers=function(t){this.customers=t},f.prototype.getCustomers=function(){return this.customers},f.prototype.setAmount=function(t){this.amount=t},f.prototype.getAmount=function(){return this.amount},f.prototype.setTaxAmount=function(t){this.taxAmount=t},f.prototype.getTaxAmount=function(){return this.taxAmount},f.prototype.setTaxRates=function(t){this.taxRates=t},f.prototype.getTaxRates=function(){return this.taxRates},f.prototype.setCreatedTime=function(t){this.createdTime=t},f.prototype.getCreatedTime=function(){return this.createdTime},f.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},f.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},f.prototype.setCardTransaction=function(t){this.cardTransaction=t},f.prototype.getCardTransaction=function(){return this.cardTransaction},f.prototype.setVoided=function(t){this.voided=t},f.prototype.getVoided=function(){return this.voided},f.prototype.setVoidReason=function(t){this.voidReason=t},f.prototype.getVoidReason=function(){return this.voidReason},f.prototype.setDccInfo=function(t){this.dccInfo=t},f.prototype.getDccInfo=function(){return this.dccInfo},f.prototype.setTransactionSettings=function(t){this.transactionSettings=t},f.prototype.getTransactionSettings=function(){return this.transactionSettings},f.prototype.setCreditRefunds=function(t){this.creditRefunds=t},f.prototype.getCreditRefunds=function(){return this.creditRefunds},f.prototype.setGermanInfo=function(t){this.germanInfo=t},f.prototype.getGermanInfo=function(){return this.germanInfo},f.prototype.setAppTracking=function(t){this.appTracking=t},f.prototype.getAppTracking=function(){return this.appTracking},f.prototype.setResult=function(t){this.result=t},f.prototype.getResult=function(){return this.result},f.prototype.setTransactionInfo=function(t){this.transactionInfo=t},f.prototype.getTransactionInfo=function(){return this.transactionInfo},f.prototype.setMerchant=function(t){this.merchant=t},f.prototype.getMerchant=function(){return this.merchant},f.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},f.prototype.getExternalReferenceId=function(){return this.externalReferenceId},f.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},f.prototype.toString=function(){return JSON.stringify(this)},f._meta_={fields:{}},f._meta_._class_=f,f._meta_.fields.id={},f._meta_.fields.id.type=String,f._meta_.fields.orderRef={},f._meta_.fields.orderRef.type=p,f._meta_.fields.device={},f._meta_.fields.device.type=p,f._meta_.fields.tender={},f._meta_.fields.tender.type=_,f._meta_.fields.employee={},f._meta_.fields.employee.type=p,f._meta_.fields.customers={},f._meta_.fields.customers.type=n,f._meta_.fields.amount={},f._meta_.fields.amount.type=Number,f._meta_.fields.taxAmount={},f._meta_.fields.taxAmount.type=Number,f._meta_.fields.taxRates={},f._meta_.fields.taxRates.type=Array,f._meta_.fields.taxRates.elementType=a,f._meta_.fields.createdTime={},f._meta_.fields.createdTime.type=Number,f._meta_.fields.clientCreatedTime={},f._meta_.fields.clientCreatedTime.type=Number,f._meta_.fields.cardTransaction={},f._meta_.fields.cardTransaction.type=o,f._meta_.fields.voided={},f._meta_.fields.voided.type=Boolean,f._meta_.fields.voidReason={},f._meta_.fields.voidReason.type=String,f._meta_.fields.dccInfo={},f._meta_.fields.dccInfo.type=u,f._meta_.fields.transactionSettings={},f._meta_.fields.transactionSettings.type=c,f._meta_.fields.creditRefunds={},f._meta_.fields.creditRefunds.type=Array,f._meta_.fields.creditRefunds.elementType=s,f._meta_.fields.germanInfo={},f._meta_.fields.germanInfo.type=m,f._meta_.fields.appTracking={},f._meta_.fields.appTracking.type=l,f._meta_.fields.result={},f._meta_.fields.result.type=r,f._meta_.fields.transactionInfo={},f._meta_.fields.transactionInfo.type=d,f._meta_.fields.merchant={},f._meta_.fields.merchant.type=p,f._meta_.fields.externalReferenceId={},f._meta_.fields.externalReferenceId.type=String,t.exports=f},27022:(t,e,i)=>{var n=i(12033),o=i(50234),s=i(4448),r=i(17589),a=function(){this._class_=a,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.credit=void 0,this.employee=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.transactionInfo=void 0};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setOrderRef=function(t){this.orderRef=t},a.prototype.getOrderRef=function(){return this.orderRef},a.prototype.setDevice=function(t){this.device=t},a.prototype.getDevice=function(){return this.device},a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},a.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setEmployee=function(t){this.employee=t},a.prototype.getEmployee=function(){return this.employee},a.prototype.setGermanInfo=function(t){this.germanInfo=t},a.prototype.getGermanInfo=function(){return this.germanInfo},a.prototype.setAppTracking=function(t){this.appTracking=t},a.prototype.getAppTracking=function(){return this.appTracking},a.prototype.setTransactionInfo=function(t){this.transactionInfo=t},a.prototype.getTransactionInfo=function(){return this.transactionInfo},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.orderRef={},a._meta_.fields.orderRef.type=s,a._meta_.fields.device={},a._meta_.fields.device.type=s,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.clientCreatedTime={},a._meta_.fields.clientCreatedTime.type=Number,a._meta_.fields.credit={},a._meta_.fields.credit.type=s,a._meta_.fields.employee={},a._meta_.fields.employee.type=s,a._meta_.fields.germanInfo={},a._meta_.fields.germanInfo.type=r,a._meta_.fields.appTracking={},a._meta_.fields.appTracking.type=n,a._meta_.fields.transactionInfo={},a._meta_.fields.transactionInfo.type=o,t.exports=a},38822:(t,e,i)=>{var n=i(27022),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.creditRefund=void 0,this.clientData=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setCreditRefund=function(t){this.creditRefund=t},o.prototype.getCreditRefund=function(){return this.creditRefund},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.creditRefund={},o._meta_.fields.creditRefund.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,t.exports=o},23102:(t,e,i)=>{var n=i(27138),o=i(6639),s=function(){this._class_=s,this.orderId=void 0,this.credit=void 0,this.paymentCard=void 0};s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s.prototype.setPaymentCard=function(t){this.paymentCard=t},s.prototype.getPaymentCard=function(){return this.paymentCard},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,s._meta_.fields.paymentCard={},s._meta_.fields.paymentCard.type=n,t.exports=s},31575:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.credit=void 0,this.clientData=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,t.exports=o},14264:t=>{t.exports={USD:"USD",GBP:"GBP",EUR:"EUR"}},43634:t=>{t.exports={NO_CVM_REQUIRED:"NO_CVM_REQUIRED",SIGNATURE:"SIGNATURE",SIGNATURE_VERIFIED:"SIGNATURE_VERIFIED",SIGNATURE_ON_PAPER:"SIGNATURE_ON_PAPER",SIGNATURE_REJECTED:"SIGNATURE_REJECTED",PIN:"PIN",ONLINE_PIN:"ONLINE_PIN",SIGNATURE_AND_PIN:"SIGNATURE_AND_PIN",CVM_FAILED:"CVM_FAILED",DEVICE:"DEVICE"}},82986:t=>{var e=function(){this._class_=e,this.inquiryRateId=void 0,this.dccApplied=void 0,this.foreignCurrencyCode=void 0,this.foreignAmount=void 0,this.exchangeRate=void 0,this.marginRatePercentage=void 0,this.exchangeRateSourceName=void 0,this.exchangeRateSourceTimeStamp=void 0};e.prototype.setInquiryRateId=function(t){this.inquiryRateId=t},e.prototype.getInquiryRateId=function(){return this.inquiryRateId},e.prototype.setDccApplied=function(t){this.dccApplied=t},e.prototype.getDccApplied=function(){return this.dccApplied},e.prototype.setForeignCurrencyCode=function(t){this.foreignCurrencyCode=t},e.prototype.getForeignCurrencyCode=function(){return this.foreignCurrencyCode},e.prototype.setForeignAmount=function(t){this.foreignAmount=t},e.prototype.getForeignAmount=function(){return this.foreignAmount},e.prototype.setExchangeRate=function(t){this.exchangeRate=t},e.prototype.getExchangeRate=function(){return this.exchangeRate},e.prototype.setMarginRatePercentage=function(t){this.marginRatePercentage=t},e.prototype.getMarginRatePercentage=function(){return this.marginRatePercentage},e.prototype.setExchangeRateSourceName=function(t){this.exchangeRateSourceName=t},e.prototype.getExchangeRateSourceName=function(){return this.exchangeRateSourceName},e.prototype.setExchangeRateSourceTimeStamp=function(t){this.exchangeRateSourceTimeStamp=t},e.prototype.getExchangeRateSourceTimeStamp=function(){return this.exchangeRateSourceTimeStamp},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.inquiryRateId={},e._meta_.fields.inquiryRateId.type=Number,e._meta_.fields.dccApplied={},e._meta_.fields.dccApplied.type=Boolean,e._meta_.fields.foreignCurrencyCode={},e._meta_.fields.foreignCurrencyCode.type=String,e._meta_.fields.foreignAmount={},e._meta_.fields.foreignAmount.type=Number,e._meta_.fields.exchangeRate={},e._meta_.fields.exchangeRate.type=Number,e._meta_.fields.marginRatePercentage={},e._meta_.fields.marginRatePercentage.type=String,e._meta_.fields.exchangeRateSourceName={},e._meta_.fields.exchangeRateSourceName.type=String,e._meta_.fields.exchangeRateSourceTimeStamp={},e._meta_.fields.exchangeRateSourceTimeStamp.type=String,t.exports=e},57953:t=>{t.exports={ON_SCREEN:"ON_SCREEN",ON_PAPER:"ON_PAPER",NONE:"NONE"}},24754:(t,e,i)=>{var n=i(19964),o=i(14415),s=function(){this._class_=s,this.deviceId=void 0,this.deviceSerial=void 0,this.deviceName=void 0,this.terminalId=void 0,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0,this.cardTotals=void 0};s.prototype.setDeviceId=function(t){this.deviceId=t},s.prototype.getDeviceId=function(){return this.deviceId},s.prototype.setDeviceSerial=function(t){this.deviceSerial=t},s.prototype.getDeviceSerial=function(){return this.deviceSerial},s.prototype.setDeviceName=function(t){this.deviceName=t},s.prototype.getDeviceName=function(){return this.deviceName},s.prototype.setTerminalId=function(t){this.terminalId=t},s.prototype.getTerminalId=function(){return this.terminalId},s.prototype.setSales=function(t){this.sales=t},s.prototype.getSales=function(){return this.sales},s.prototype.setRefunds=function(t){this.refunds=t},s.prototype.getRefunds=function(){return this.refunds},s.prototype.setNet=function(t){this.net=t},s.prototype.getNet=function(){return this.net},s.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},s.prototype.getGiftCardLoads=function(){return this.giftCardLoads},s.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},s.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},s.prototype.setTax=function(t){this.tax=t},s.prototype.getTax=function(){return this.tax},s.prototype.setTips=function(t){this.tips=t},s.prototype.getTips=function(){return this.tips},s.prototype.setCardTotals=function(t){this.cardTotals=t},s.prototype.getCardTotals=function(){return this.cardTotals},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.deviceId={},s._meta_.fields.deviceId.type=Number,s._meta_.fields.deviceSerial={},s._meta_.fields.deviceSerial.type=String,s._meta_.fields.deviceName={},s._meta_.fields.deviceName.type=String,s._meta_.fields.terminalId={},s._meta_.fields.terminalId.type=String,s._meta_.fields.sales={},s._meta_.fields.sales.type=o,s._meta_.fields.refunds={},s._meta_.fields.refunds.type=o,s._meta_.fields.net={},s._meta_.fields.net.type=o,s._meta_.fields.giftCardLoads={},s._meta_.fields.giftCardLoads.type=o,s._meta_.fields.giftCardCashOuts={},s._meta_.fields.giftCardCashOuts.type=o,s._meta_.fields.tax={},s._meta_.fields.tax.type=o,s._meta_.fields.tips={},s._meta_.fields.tips.type=o,s._meta_.fields.cardTotals={},s._meta_.fields.cardTotals.type=Array,s._meta_.fields.cardTotals.elementType=n,t.exports=s},78648:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.discount=void 0,this.merchant=void 0,this.approvedBy=void 0,this.order=void 0,this.lineItem=void 0,this.createdTime=void 0,this.environment=void 0};o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.setMerchant=function(t){this.merchant=t},o.prototype.getMerchant=function(){return this.merchant},o.prototype.setApprovedBy=function(t){this.approvedBy=t},o.prototype.getApprovedBy=function(){return this.approvedBy},o.prototype.setOrder=function(t){this.order=t},o.prototype.getOrder=function(){return this.order},o.prototype.setLineItem=function(t){this.lineItem=t},o.prototype.getLineItem=function(){return this.lineItem},o.prototype.setCreatedTime=function(t){this.createdTime=t},o.prototype.getCreatedTime=function(){return this.createdTime},o.prototype.setEnvironment=function(t){this.environment=t},o.prototype.getEnvironment=function(){return this.environment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,o._meta_.fields.merchant={},o._meta_.fields.merchant.type=n,o._meta_.fields.approvedBy={},o._meta_.fields.approvedBy.type=n,o._meta_.fields.order={},o._meta_.fields.order.type=n,o._meta_.fields.lineItem={},o._meta_.fields.lineItem.type=n,o._meta_.fields.createdTime={},o._meta_.fields.createdTime.type=Number,o._meta_.fields.environment={},o._meta_.fields.environment.type=String,t.exports=o},21570:(t,e,i)=>{var n=i(2444),o=i(95615),s=function(){this._class_=s,this.eCommTransaction=void 0,this.credentialOnFile=void 0,this.tokenType=void 0,this.ecommIndicator=void 0};s.prototype.setECommTransaction=function(t){this.eCommTransaction=t},s.prototype.getECommTransaction=function(){return this.eCommTransaction},s.prototype.setCredentialOnFile=function(t){this.credentialOnFile=t},s.prototype.getCredentialOnFile=function(){return this.credentialOnFile},s.prototype.setTokenType=function(t){this.tokenType=t},s.prototype.getTokenType=function(){return this.tokenType},s.prototype.setEcommIndicator=function(t){this.ecommIndicator=t},s.prototype.getEcommIndicator=function(){return this.ecommIndicator},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.eCommTransaction={},s._meta_.fields.eCommTransaction.type=Boolean,s._meta_.fields.credentialOnFile={},s._meta_.fields.credentialOnFile.type=Boolean,s._meta_.fields.tokenType={},s._meta_.fields.tokenType.type=o,s._meta_.fields.ecommIndicator={},s._meta_.fields.ecommIndicator.type=n,t.exports=s},12299:(t,e,i)=>{var n=i(19964),o=function(){this._class_=o,this.success=void 0,this.endpointName=void 0,this.batchNumber=void 0,this.terminalId=void 0,this.count=void 0,this.total=void 0,this.cardTotals=void 0};o.prototype.setSuccess=function(t){this.success=t},o.prototype.getSuccess=function(){return this.success},o.prototype.setEndpointName=function(t){this.endpointName=t},o.prototype.getEndpointName=function(){return this.endpointName},o.prototype.setBatchNumber=function(t){this.batchNumber=t},o.prototype.getBatchNumber=function(){return this.batchNumber},o.prototype.setTerminalId=function(t){this.terminalId=t},o.prototype.getTerminalId=function(){return this.terminalId},o.prototype.setCount=function(t){this.count=t},o.prototype.getCount=function(){return this.count},o.prototype.setTotal=function(t){this.total=t},o.prototype.getTotal=function(){return this.total},o.prototype.setCardTotals=function(t){this.cardTotals=t},o.prototype.getCardTotals=function(){return this.cardTotals},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.success={},o._meta_.fields.success.type=Boolean,o._meta_.fields.endpointName={},o._meta_.fields.endpointName.type=String,o._meta_.fields.batchNumber={},o._meta_.fields.batchNumber.type=String,o._meta_.fields.terminalId={},o._meta_.fields.terminalId.type=String,o._meta_.fields.count={},o._meta_.fields.count.type=Number,o._meta_.fields.total={},o._meta_.fields.total.type=Number,o._meta_.fields.cardTotals={},o._meta_.fields.cardTotals.type=Array,o._meta_.fields.cardTotals.elementType=n,t.exports=o},76497:(t,e,i)=>{var n=i(34160),o=i(33513),s=function(){this._class_=s,this.merchantName=void 0,this.mid=void 0,this.cid=void 0,this.batchId=void 0,this.txCount=void 0,this.state=void 0,this.batchType=void 0,this.createdTime=void 0,this.retries=void 0};s.prototype.setMerchantName=function(t){this.merchantName=t},s.prototype.getMerchantName=function(){return this.merchantName},s.prototype.setMid=function(t){this.mid=t},s.prototype.getMid=function(){return this.mid},s.prototype.setCid=function(t){this.cid=t},s.prototype.getCid=function(){return this.cid},s.prototype.setBatchId=function(t){this.batchId=t},s.prototype.getBatchId=function(){return this.batchId},s.prototype.setTxCount=function(t){this.txCount=t},s.prototype.getTxCount=function(){return this.txCount},s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s.prototype.setBatchType=function(t){this.batchType=t},s.prototype.getBatchType=function(){return this.batchType},s.prototype.setCreatedTime=function(t){this.createdTime=t},s.prototype.getCreatedTime=function(){return this.createdTime},s.prototype.setRetries=function(t){this.retries=t},s.prototype.getRetries=function(){return this.retries},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.merchantName={},s._meta_.fields.merchantName.type=String,s._meta_.fields.mid={},s._meta_.fields.mid.type=String,s._meta_.fields.cid={},s._meta_.fields.cid.type=String,s._meta_.fields.batchId={},s._meta_.fields.batchId.type=String,s._meta_.fields.txCount={},s._meta_.fields.txCount.type=Number,s._meta_.fields.state={},s._meta_.fields.state.type=o,s._meta_.fields.batchType={},s._meta_.fields.batchType.type=n,s._meta_.fields.createdTime={},s._meta_.fields.createdTime.type=Number,s._meta_.fields.retries={},s._meta_.fields.retries.type=Number,t.exports=s},6783:t=>{t.exports={VOID:"VOID",PROMPT:"PROMPT",IGNORE:"IGNORE",DECLINE:"DECLINE"}},80403:t=>{t.exports={AVS:"AVS",CVV:"CVV"}},4302:(t,e,i)=>{var n=i(6783),o=function(){this._class_=o,this.action=void 0,this.ruleTriggered=void 0,this.reason=void 0};o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setRuleTriggered=function(t){this.ruleTriggered=t},o.prototype.getRuleTriggered=function(){return this.ruleTriggered},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.action={},o._meta_.fields.action.type=n,o._meta_.fields.ruleTriggered={},o._meta_.fields.ruleTriggered.type=String,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},45318:t=>{t.exports={INITIATED:"INITIATED",INITIATED_ON_AUTH:"INITIATED_ON_AUTH",ACKNOWLEDGED:"ACKNOWLEDGED",CONNECT_FAILED:"CONNECT_FAILED",TIMEOUT:"TIMEOUT",FAILED:"FAILED",REVERSE_INITIATED:"REVERSE_INITIATED",REVERSE_INITIATED_ON_AUTH:"REVERSE_INITIATED_ON_AUTH",REVERSED:"REVERSED",REVERSAL_FAILED:"REVERSAL_FAILED",EXTERNAL:"EXTERNAL"}},13911:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",CASH_ADVANCE:"CASH_ADVANCE",INTERNET_ACTIVATE:"INTERNET_ACTIVATE",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},21029:(t,e,i)=>{var n=i(14264),o=i(4212),s=i(56614),r=i(45318),a=i(13911),l=function(){this._class_=l,this.merchantGatewayId=void 0,this.clientId=void 0,this.amount=void 0,this.adjustAmount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.refundTaxAmount=void 0,this.currency=void 0,this.state=void 0,this.retries=void 0,this.type=void 0,this.entryType=void 0,this.responseCode=void 0,this.responseMessage=void 0,this.first4=void 0,this.last4=void 0,this.cardType=void 0,this.refnum=void 0,this.token=void 0,this.authcode=void 0,this.employeeId=void 0,this.extra=void 0,this.captured=void 0,this.swiperSerial=void 0,this.ksnPrefix=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.refundId=void 0,this.paymentRefundId=void 0,this.extraGatewayInfo=void 0,this.refundDeviceId=void 0,this.paymentDeviceId=void 0,this.paymentUuid=void 0,this.refundUuid=void 0,this.creditUuid=void 0};l.prototype.setMerchantGatewayId=function(t){this.merchantGatewayId=t},l.prototype.getMerchantGatewayId=function(){return this.merchantGatewayId},l.prototype.setClientId=function(t){this.clientId=t},l.prototype.getClientId=function(){return this.clientId},l.prototype.setAmount=function(t){this.amount=t},l.prototype.getAmount=function(){return this.amount},l.prototype.setAdjustAmount=function(t){this.adjustAmount=t},l.prototype.getAdjustAmount=function(){return this.adjustAmount},l.prototype.setTaxAmount=function(t){this.taxAmount=t},l.prototype.getTaxAmount=function(){return this.taxAmount},l.prototype.setTipAmount=function(t){this.tipAmount=t},l.prototype.getTipAmount=function(){return this.tipAmount},l.prototype.setRefundTaxAmount=function(t){this.refundTaxAmount=t},l.prototype.getRefundTaxAmount=function(){return this.refundTaxAmount},l.prototype.setCurrency=function(t){this.currency=t},l.prototype.getCurrency=function(){return this.currency},l.prototype.setState=function(t){this.state=t},l.prototype.getState=function(){return this.state},l.prototype.setRetries=function(t){this.retries=t},l.prototype.getRetries=function(){return this.retries},l.prototype.setType=function(t){this.type=t},l.prototype.getType=function(){return this.type},l.prototype.setEntryType=function(t){this.entryType=t},l.prototype.getEntryType=function(){return this.entryType},l.prototype.setResponseCode=function(t){this.responseCode=t},l.prototype.getResponseCode=function(){return this.responseCode},l.prototype.setResponseMessage=function(t){this.responseMessage=t},l.prototype.getResponseMessage=function(){return this.responseMessage},l.prototype.setFirst4=function(t){this.first4=t},l.prototype.getFirst4=function(){return this.first4},l.prototype.setLast4=function(t){this.last4=t},l.prototype.getLast4=function(){return this.last4},l.prototype.setCardType=function(t){this.cardType=t},l.prototype.getCardType=function(){return this.cardType},l.prototype.setRefnum=function(t){this.refnum=t},l.prototype.getRefnum=function(){return this.refnum},l.prototype.setToken=function(t){this.token=t},l.prototype.getToken=function(){return this.token},l.prototype.setAuthcode=function(t){this.authcode=t},l.prototype.getAuthcode=function(){return this.authcode},l.prototype.setEmployeeId=function(t){this.employeeId=t},l.prototype.getEmployeeId=function(){return this.employeeId},l.prototype.setExtra=function(t){this.extra=t},l.prototype.getExtra=function(){return this.extra},l.prototype.setCaptured=function(t){this.captured=t},l.prototype.getCaptured=function(){return this.captured},l.prototype.setSwiperSerial=function(t){this.swiperSerial=t},l.prototype.getSwiperSerial=function(){return this.swiperSerial},l.prototype.setKsnPrefix=function(t){this.ksnPrefix=t},l.prototype.getKsnPrefix=function(){return this.ksnPrefix},l.prototype.setCreatedTime=function(t){this.createdTime=t},l.prototype.getCreatedTime=function(){return this.createdTime},l.prototype.setModifiedTime=function(t){this.modifiedTime=t},l.prototype.getModifiedTime=function(){return this.modifiedTime},l.prototype.setRefundId=function(t){this.refundId=t},l.prototype.getRefundId=function(){return this.refundId},l.prototype.setPaymentRefundId=function(t){this.paymentRefundId=t},l.prototype.getPaymentRefundId=function(){return this.paymentRefundId},l.prototype.setExtraGatewayInfo=function(t){this.extraGatewayInfo=t},l.prototype.getExtraGatewayInfo=function(){return this.extraGatewayInfo},l.prototype.setRefundDeviceId=function(t){this.refundDeviceId=t},l.prototype.getRefundDeviceId=function(){return this.refundDeviceId},l.prototype.setPaymentDeviceId=function(t){this.paymentDeviceId=t},l.prototype.getPaymentDeviceId=function(){return this.paymentDeviceId},l.prototype.setPaymentUuid=function(t){this.paymentUuid=t},l.prototype.getPaymentUuid=function(){return this.paymentUuid},l.prototype.setRefundUuid=function(t){this.refundUuid=t},l.prototype.getRefundUuid=function(){return this.refundUuid},l.prototype.setCreditUuid=function(t){this.creditUuid=t},l.prototype.getCreditUuid=function(){return this.creditUuid},l.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},l.prototype.toString=function(){return JSON.stringify(this)},l._meta_={fields:{}},l._meta_._class_=l,l._meta_.fields.merchantGatewayId={},l._meta_.fields.merchantGatewayId.type=Number,l._meta_.fields.clientId={},l._meta_.fields.clientId.type=String,l._meta_.fields.amount={},l._meta_.fields.amount.type=Number,l._meta_.fields.adjustAmount={},l._meta_.fields.adjustAmount.type=Number,l._meta_.fields.taxAmount={},l._meta_.fields.taxAmount.type=Number,l._meta_.fields.tipAmount={},l._meta_.fields.tipAmount.type=Number,l._meta_.fields.refundTaxAmount={},l._meta_.fields.refundTaxAmount.type=Number,l._meta_.fields.currency={},l._meta_.fields.currency.type=n,l._meta_.fields.state={},l._meta_.fields.state.type=r,l._meta_.fields.retries={},l._meta_.fields.retries.type=Number,l._meta_.fields.type={},l._meta_.fields.type.type=a,l._meta_.fields.entryType={},l._meta_.fields.entryType.type=s,l._meta_.fields.responseCode={},l._meta_.fields.responseCode.type=String,l._meta_.fields.responseMessage={},l._meta_.fields.responseMessage.type=String,l._meta_.fields.first4={},l._meta_.fields.first4.type=String,l._meta_.fields.last4={},l._meta_.fields.last4.type=String,l._meta_.fields.cardType={},l._meta_.fields.cardType.type=o,l._meta_.fields.refnum={},l._meta_.fields.refnum.type=String,l._meta_.fields.token={},l._meta_.fields.token.type=String,l._meta_.fields.authcode={},l._meta_.fields.authcode.type=String,l._meta_.fields.employeeId={},l._meta_.fields.employeeId.type=String,l._meta_.fields.extra={},l._meta_.fields.extra.type=String,l._meta_.fields.captured={},l._meta_.fields.captured.type=Boolean,l._meta_.fields.swiperSerial={},l._meta_.fields.swiperSerial.type=String,l._meta_.fields.ksnPrefix={},l._meta_.fields.ksnPrefix.type=String,l._meta_.fields.createdTime={},l._meta_.fields.createdTime.type=Number,l._meta_.fields.modifiedTime={},l._meta_.fields.modifiedTime.type=Number,l._meta_.fields.refundId={},l._meta_.fields.refundId.type=Number,l._meta_.fields.paymentRefundId={},l._meta_.fields.paymentRefundId.type=Number,l._meta_.fields.extraGatewayInfo={},l._meta_.fields.extraGatewayInfo.type=Object,l._meta_.fields.refundDeviceId={},l._meta_.fields.refundDeviceId.type=Number,l._meta_.fields.paymentDeviceId={},l._meta_.fields.paymentDeviceId.type=Number,l._meta_.fields.paymentUuid={},l._meta_.fields.paymentUuid.type=String,l._meta_.fields.refundUuid={},l._meta_.fields.refundUuid.type=String,l._meta_.fields.creditUuid={},l._meta_.fields.creditUuid.type=String,t.exports=l},17589:t=>{var e=function(){this._class_=e,this.cardTrack2=void 0,this.cardSequenceNumber=void 0,this.transactionCaseGermany=void 0,this.transactionTypeGermany=void 0,this.terminalID=void 0,this.traceNumber=void 0,this.oldTraceNumber=void 0,this.receiptNumber=void 0,this.transactionAID=void 0,this.transactionMSApp=void 0,this.transactionScriptResults=void 0,this.receiptType=void 0,this.customerTransactionDOLValues=void 0,this.merchantTransactionDOLValues=void 0,this.merchantJournalDOL=void 0,this.merchantJournalDOLValues=void 0,this.configMerchantId=void 0,this.configProductLabel=void 0,this.hostResponseAidParBMP53=void 0,this.hostResponsePrintDataBM60=void 0,this.sepaElvReceiptFormat=void 0,this.sepaElvExtAppLabel=void 0,this.sepaElvPreNotification=void 0,this.sepaElvMandate=void 0,this.sepaElvCreditorId=void 0,this.sepaElvMandateId=void 0,this.sepaElvIban=void 0};e.prototype.setCardTrack2=function(t){this.cardTrack2=t},e.prototype.getCardTrack2=function(){return this.cardTrack2},e.prototype.setCardSequenceNumber=function(t){this.cardSequenceNumber=t},e.prototype.getCardSequenceNumber=function(){return this.cardSequenceNumber},e.prototype.setTransactionCaseGermany=function(t){this.transactionCaseGermany=t},e.prototype.getTransactionCaseGermany=function(){return this.transactionCaseGermany},e.prototype.setTransactionTypeGermany=function(t){this.transactionTypeGermany=t},e.prototype.getTransactionTypeGermany=function(){return this.transactionTypeGermany},e.prototype.setTerminalID=function(t){this.terminalID=t},e.prototype.getTerminalID=function(){return this.terminalID},e.prototype.setTraceNumber=function(t){this.traceNumber=t},e.prototype.getTraceNumber=function(){return this.traceNumber},e.prototype.setOldTraceNumber=function(t){this.oldTraceNumber=t},e.prototype.getOldTraceNumber=function(){return this.oldTraceNumber},e.prototype.setReceiptNumber=function(t){this.receiptNumber=t},e.prototype.getReceiptNumber=function(){return this.receiptNumber},e.prototype.setTransactionAID=function(t){this.transactionAID=t},e.prototype.getTransactionAID=function(){return this.transactionAID},e.prototype.setTransactionMSApp=function(t){this.transactionMSApp=t},e.prototype.getTransactionMSApp=function(){return this.transactionMSApp},e.prototype.setTransactionScriptResults=function(t){this.transactionScriptResults=t},e.prototype.getTransactionScriptResults=function(){return this.transactionScriptResults},e.prototype.setReceiptType=function(t){this.receiptType=t},e.prototype.getReceiptType=function(){return this.receiptType},e.prototype.setCustomerTransactionDOLValues=function(t){this.customerTransactionDOLValues=t},e.prototype.getCustomerTransactionDOLValues=function(){return this.customerTransactionDOLValues},e.prototype.setMerchantTransactionDOLValues=function(t){this.merchantTransactionDOLValues=t},e.prototype.getMerchantTransactionDOLValues=function(){return this.merchantTransactionDOLValues},e.prototype.setMerchantJournalDOL=function(t){this.merchantJournalDOL=t},e.prototype.getMerchantJournalDOL=function(){return this.merchantJournalDOL},e.prototype.setMerchantJournalDOLValues=function(t){this.merchantJournalDOLValues=t},e.prototype.getMerchantJournalDOLValues=function(){return this.merchantJournalDOLValues},e.prototype.setConfigMerchantId=function(t){this.configMerchantId=t},e.prototype.getConfigMerchantId=function(){return this.configMerchantId},e.prototype.setConfigProductLabel=function(t){this.configProductLabel=t},e.prototype.getConfigProductLabel=function(){return this.configProductLabel},e.prototype.setHostResponseAidParBMP53=function(t){this.hostResponseAidParBMP53=t},e.prototype.getHostResponseAidParBMP53=function(){return this.hostResponseAidParBMP53},e.prototype.setHostResponsePrintDataBM60=function(t){this.hostResponsePrintDataBM60=t},e.prototype.getHostResponsePrintDataBM60=function(){return this.hostResponsePrintDataBM60},e.prototype.setSepaElvReceiptFormat=function(t){this.sepaElvReceiptFormat=t},e.prototype.getSepaElvReceiptFormat=function(){return this.sepaElvReceiptFormat},e.prototype.setSepaElvExtAppLabel=function(t){this.sepaElvExtAppLabel=t},e.prototype.getSepaElvExtAppLabel=function(){return this.sepaElvExtAppLabel},e.prototype.setSepaElvPreNotification=function(t){this.sepaElvPreNotification=t},e.prototype.getSepaElvPreNotification=function(){return this.sepaElvPreNotification},e.prototype.setSepaElvMandate=function(t){this.sepaElvMandate=t},e.prototype.getSepaElvMandate=function(){return this.sepaElvMandate},e.prototype.setSepaElvCreditorId=function(t){this.sepaElvCreditorId=t},e.prototype.getSepaElvCreditorId=function(){return this.sepaElvCreditorId},e.prototype.setSepaElvMandateId=function(t){this.sepaElvMandateId=t},e.prototype.getSepaElvMandateId=function(){return this.sepaElvMandateId},e.prototype.setSepaElvIban=function(t){this.sepaElvIban=t},e.prototype.getSepaElvIban=function(){return this.sepaElvIban},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.cardTrack2={},e._meta_.fields.cardTrack2.type=String,e._meta_.fields.cardSequenceNumber={},e._meta_.fields.cardSequenceNumber.type=String,e._meta_.fields.transactionCaseGermany={},e._meta_.fields.transactionCaseGermany.type=String,e._meta_.fields.transactionTypeGermany={},e._meta_.fields.transactionTypeGermany.type=String,e._meta_.fields.terminalID={},e._meta_.fields.terminalID.type=String,e._meta_.fields.traceNumber={},e._meta_.fields.traceNumber.type=String,e._meta_.fields.oldTraceNumber={},e._meta_.fields.oldTraceNumber.type=String,e._meta_.fields.receiptNumber={},e._meta_.fields.receiptNumber.type=String,e._meta_.fields.transactionAID={},e._meta_.fields.transactionAID.type=String,e._meta_.fields.transactionMSApp={},e._meta_.fields.transactionMSApp.type=String,e._meta_.fields.transactionScriptResults={},e._meta_.fields.transactionScriptResults.type=String,e._meta_.fields.receiptType={},e._meta_.fields.receiptType.type=String,e._meta_.fields.customerTransactionDOLValues={},e._meta_.fields.customerTransactionDOLValues.type=String,e._meta_.fields.merchantTransactionDOLValues={},e._meta_.fields.merchantTransactionDOLValues.type=String,e._meta_.fields.merchantJournalDOL={},e._meta_.fields.merchantJournalDOL.type=String,e._meta_.fields.merchantJournalDOLValues={},e._meta_.fields.merchantJournalDOLValues.type=String,e._meta_.fields.configMerchantId={},e._meta_.fields.configMerchantId.type=String,e._meta_.fields.configProductLabel={},e._meta_.fields.configProductLabel.type=String,e._meta_.fields.hostResponseAidParBMP53={},e._meta_.fields.hostResponseAidParBMP53.type=String,e._meta_.fields.hostResponsePrintDataBM60={},e._meta_.fields.hostResponsePrintDataBM60.type=String,e._meta_.fields.sepaElvReceiptFormat={},e._meta_.fields.sepaElvReceiptFormat.type=String,e._meta_.fields.sepaElvExtAppLabel={},e._meta_.fields.sepaElvExtAppLabel.type=String,e._meta_.fields.sepaElvPreNotification={},e._meta_.fields.sepaElvPreNotification.type=String,e._meta_.fields.sepaElvMandate={},e._meta_.fields.sepaElvMandate.type=String,e._meta_.fields.sepaElvCreditorId={},e._meta_.fields.sepaElvCreditorId.type=String,e._meta_.fields.sepaElvMandateId={},e._meta_.fields.sepaElvMandateId.type=String,e._meta_.fields.sepaElvIban={},e._meta_.fields.sepaElvIban.type=String,t.exports=e},26175:t=>{var e=function(){this._class_=e,this.track2=void 0,this.cardNumber=void 0,this.isManuallyEntered=!1,this.deviceSerial=void 0,this.virtual=!1,this.promoCode=void 0};e.prototype.setTrack2=function(t){this.track2=t},e.prototype.getTrack2=function(){return this.track2},e.prototype.setCardNumber=function(t){this.cardNumber=t},e.prototype.getCardNumber=function(){return this.cardNumber},e.prototype.setIsManuallyEntered=function(t){this.isManuallyEntered=t},e.prototype.getIsManuallyEntered=function(){return this.isManuallyEntered},e.prototype.setDeviceSerial=function(t){this.deviceSerial=t},e.prototype.getDeviceSerial=function(){return this.deviceSerial},e.prototype.setVirtual=function(t){this.virtual=t},e.prototype.getVirtual=function(){return this.virtual},e.prototype.setPromoCode=function(t){this.promoCode=t},e.prototype.getPromoCode=function(){return this.promoCode},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.track2={},e._meta_.fields.track2.type=String,e._meta_.fields.cardNumber={},e._meta_.fields.cardNumber.type=String,e._meta_.fields.isManuallyEntered={},e._meta_.fields.isManuallyEntered.type=Boolean,e._meta_.fields.deviceSerial={},e._meta_.fields.deviceSerial.type=String,e._meta_.fields.virtual={},e._meta_.fields.virtual.type=Boolean,e._meta_.fields.promoCode={},e._meta_.fields.promoCode.type=String,t.exports=e},91038:(t,e,i)=>{var n=i(59042),o=i(82794),s=i(82447),r=function(){this._class_=r,this.txType=void 0,this.state=n.INVALID,this.requestAmount=void 0,this.payment=void 0,this.responseMessage=void 0,this.requestSuccessful=!1,this.accountNumber=void 0,this.scv=void 0,this.giftCardTxUuid=void 0,this.transactionId=void 0,this.referenceUuid=void 0,this.authCode=void 0,this.begBal=void 0,this.endBal=void 0,this.holdBal=void 0,this.syncPaymentObject=void 0};r.prototype.setTxType=function(t){this.txType=t},r.prototype.getTxType=function(){return this.txType},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setRequestAmount=function(t){this.requestAmount=t},r.prototype.getRequestAmount=function(){return this.requestAmount},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setResponseMessage=function(t){this.responseMessage=t},r.prototype.getResponseMessage=function(){return this.responseMessage},r.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},r.prototype.getRequestSuccessful=function(){return this.requestSuccessful},r.prototype.setAccountNumber=function(t){this.accountNumber=t},r.prototype.getAccountNumber=function(){return this.accountNumber},r.prototype.setScv=function(t){this.scv=t},r.prototype.getScv=function(){return this.scv},r.prototype.setGiftCardTxUuid=function(t){this.giftCardTxUuid=t},r.prototype.getGiftCardTxUuid=function(){return this.giftCardTxUuid},r.prototype.setTransactionId=function(t){this.transactionId=t},r.prototype.getTransactionId=function(){return this.transactionId},r.prototype.setReferenceUuid=function(t){this.referenceUuid=t},r.prototype.getReferenceUuid=function(){return this.referenceUuid},r.prototype.setAuthCode=function(t){this.authCode=t},r.prototype.getAuthCode=function(){return this.authCode},r.prototype.setBegBal=function(t){this.begBal=t},r.prototype.getBegBal=function(){return this.begBal},r.prototype.setEndBal=function(t){this.endBal=t},r.prototype.getEndBal=function(){return this.endBal},r.prototype.setHoldBal=function(t){this.holdBal=t},r.prototype.getHoldBal=function(){return this.holdBal},r.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},r.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.txType={},r._meta_.fields.txType.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.requestAmount={},r._meta_.fields.requestAmount.type=Number,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.responseMessage={},r._meta_.fields.responseMessage.type=String,r._meta_.fields.requestSuccessful={},r._meta_.fields.requestSuccessful.type=Boolean,r._meta_.fields.accountNumber={},r._meta_.fields.accountNumber.type=String,r._meta_.fields.scv={},r._meta_.fields.scv.type=String,r._meta_.fields.giftCardTxUuid={},r._meta_.fields.giftCardTxUuid.type=String,r._meta_.fields.transactionId={},r._meta_.fields.transactionId.type=String,r._meta_.fields.referenceUuid={},r._meta_.fields.referenceUuid.type=String,r._meta_.fields.authCode={},r._meta_.fields.authCode.type=String,r._meta_.fields.begBal={},r._meta_.fields.begBal.type=Number,r._meta_.fields.endBal={},r._meta_.fields.endBal.type=Number,r._meta_.fields.holdBal={},r._meta_.fields.holdBal.type=Number,r._meta_.fields.syncPaymentObject={},r._meta_.fields.syncPaymentObject.type=Boolean,t.exports=r},59042:t=>{t.exports={INVALID:"INVALID",ACTIVATED:"ACTIVATED",INACTIVE:"INACTIVE"}},84725:(t,e,i)=>{var n=i(62886),o=i(52448),s=i(66824),r=i(26175),a=function(){this._class_=a,this.id=void 0,this.amount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.orderId=void 0,this.card=void 0,this.paymentIds=void 0,this.ignorePayment=!1,this.serviceChargeAmount=void 0,this.taxableAmountRates=void 0,this.lineItems=void 0,this.employeeId=void 0,this.suppressPayment="false"};a.prototype.setId=function(t){this.id=t},a.prototype.getId=function(){return this.id},a.prototype.setAmount=function(t){this.amount=t},a.prototype.getAmount=function(){return this.amount},a.prototype.setTaxAmount=function(t){this.taxAmount=t},a.prototype.getTaxAmount=function(){return this.taxAmount},a.prototype.setTipAmount=function(t){this.tipAmount=t},a.prototype.getTipAmount=function(){return this.tipAmount},a.prototype.setOrderId=function(t){this.orderId=t},a.prototype.getOrderId=function(){return this.orderId},a.prototype.setCard=function(t){this.card=t},a.prototype.getCard=function(){return this.card},a.prototype.setPaymentIds=function(t){this.paymentIds=t},a.prototype.getPaymentIds=function(){return this.paymentIds},a.prototype.setIgnorePayment=function(t){this.ignorePayment=t},a.prototype.getIgnorePayment=function(){return this.ignorePayment},a.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},a.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},a.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},a.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},a.prototype.setLineItems=function(t){this.lineItems=t},a.prototype.getLineItems=function(){return this.lineItems},a.prototype.setEmployeeId=function(t){this.employeeId=t},a.prototype.getEmployeeId=function(){return this.employeeId},a.prototype.setSuppressPayment=function(t){this.suppressPayment=t},a.prototype.getSuppressPayment=function(){return this.suppressPayment},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.id={},a._meta_.fields.id.type=String,a._meta_.fields.amount={},a._meta_.fields.amount.type=Number,a._meta_.fields.taxAmount={},a._meta_.fields.taxAmount.type=Number,a._meta_.fields.tipAmount={},a._meta_.fields.tipAmount.type=Number,a._meta_.fields.orderId={},a._meta_.fields.orderId.type=String,a._meta_.fields.card={},a._meta_.fields.card.type=r,a._meta_.fields.paymentIds={},a._meta_.fields.paymentIds.type=Array,a._meta_.fields.ignorePayment={},a._meta_.fields.ignorePayment.type=Boolean,a._meta_.fields.serviceChargeAmount={},a._meta_.fields.serviceChargeAmount.type=s,a._meta_.fields.taxableAmountRates={},a._meta_.fields.taxableAmountRates.type=Array,a._meta_.fields.taxableAmountRates.elementType=o,a._meta_.fields.lineItems={},a._meta_.fields.lineItems.type=Array,a._meta_.fields.lineItems.elementType=n,a._meta_.fields.employeeId={},a._meta_.fields.employeeId.type=String,a._meta_.fields.suppressPayment={},a._meta_.fields.suppressPayment.type=Boolean,t.exports=a},20275:t=>{t.exports={DRIVERS_LICENSE:"DRIVERS_LICENSE",PASSPORT:"PASSPORT"}},79035:(t,e,i)=>{var n=i(113),o=i(51029),s=i(4448),r=function(){this._class_=r,this.id=void 0,this.merchantId=void 0,this.paymentId=void 0,this.gatewayTxId=void 0,this.amount=void 0,this.cardTransaction=void 0,this.result=void 0,this.createdTime=void 0,this.employee=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setMerchantId=function(t){this.merchantId=t},r.prototype.getMerchantId=function(){return this.merchantId},r.prototype.setPaymentId=function(t){this.paymentId=t},r.prototype.getPaymentId=function(){return this.paymentId},r.prototype.setGatewayTxId=function(t){this.gatewayTxId=t},r.prototype.getGatewayTxId=function(){return this.gatewayTxId},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardTransaction=function(t){this.cardTransaction=t},r.prototype.getCardTransaction=function(){return this.cardTransaction},r.prototype.setResult=function(t){this.result=t},r.prototype.getResult=function(){return this.result},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setEmployee=function(t){this.employee=t},r.prototype.getEmployee=function(){return this.employee},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=Number,r._meta_.fields.paymentId={},r._meta_.fields.paymentId.type=Number,r._meta_.fields.gatewayTxId={},r._meta_.fields.gatewayTxId.type=Number,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardTransaction={},r._meta_.fields.cardTransaction.type=n,r._meta_.fields.result={},r._meta_.fields.result.type=o,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.employee={},r._meta_.fields.employee.type=s,t.exports=r},62886:t=>{var e=function(){this._class_=e,this.id=void 0,this.percentage=void 0,this.binName=void 0,this.refunded=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setPercentage=function(t){this.percentage=t},e.prototype.getPercentage=function(){return this.percentage},e.prototype.setBinName=function(t){this.binName=t},e.prototype.getBinName=function(){return this.binName},e.prototype.setRefunded=function(t){this.refunded=t},e.prototype.getRefunded=function(){return this.refunded},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.percentage={},e._meta_.fields.percentage.type=Number,e._meta_.fields.binName={},e._meta_.fields.binName.type=String,e._meta_.fields.refunded={},e._meta_.fields.refunded.type=Boolean,t.exports=e},82794:(t,e,i)=>{var n=i(51029),o=i(48067),s=i(66824),r=i(96207),a=i(82986),l=i(11654),d=i(37471),u=i(17589),p=i(113),_=i(62886),c=i(3306),m=i(79035),f=i(12033),h=i(50234),y=i(4448),v=i(50775),g=i(56135),T=i(99485),S=function(){this._class_=S,this.id=void 0,this.order=void 0,this.device=void 0,this.tender=void 0,this.amount=void 0,this.tipAmount=void 0,this.taxAmount=void 0,this.cashbackAmount=void 0,this.cashTendered=void 0,this.externalPaymentId=void 0,this.employee=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.modifiedTime=void 0,this.offline=!1,this.result=void 0,this.cardTransaction=void 0,this.serviceCharge=void 0,this.attributes=void 0,this.additionalCharges=void 0,this.taxRates=void 0,this.refunds=void 0,this.note=void 0,this.lineItemPayments=void 0,this.authorization=void 0,this.voidPaymentRef=void 0,this.voidReason=void 0,this.dccInfo=void 0,this.transactionSettings=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.cashAdvanceExtra=void 0,this.transactionInfo=void 0,this.signatureDisclaimer=void 0,this.externalReferenceId=void 0,this.merchant=void 0,this.increments=void 0};S.prototype.setId=function(t){this.id=t},S.prototype.getId=function(){return this.id},S.prototype.setOrder=function(t){this.order=t},S.prototype.getOrder=function(){return this.order},S.prototype.setDevice=function(t){this.device=t},S.prototype.getDevice=function(){return this.device},S.prototype.setTender=function(t){this.tender=t},S.prototype.getTender=function(){return this.tender},S.prototype.setAmount=function(t){this.amount=t},S.prototype.getAmount=function(){return this.amount},S.prototype.setTipAmount=function(t){this.tipAmount=t},S.prototype.getTipAmount=function(){return this.tipAmount},S.prototype.setTaxAmount=function(t){this.taxAmount=t},S.prototype.getTaxAmount=function(){return this.taxAmount},S.prototype.setCashbackAmount=function(t){this.cashbackAmount=t},S.prototype.getCashbackAmount=function(){return this.cashbackAmount},S.prototype.setCashTendered=function(t){this.cashTendered=t},S.prototype.getCashTendered=function(){return this.cashTendered},S.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},S.prototype.getExternalPaymentId=function(){return this.externalPaymentId},S.prototype.setEmployee=function(t){this.employee=t},S.prototype.getEmployee=function(){return this.employee},S.prototype.setCreatedTime=function(t){this.createdTime=t},S.prototype.getCreatedTime=function(){return this.createdTime},S.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},S.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},S.prototype.setModifiedTime=function(t){this.modifiedTime=t},S.prototype.getModifiedTime=function(){return this.modifiedTime},S.prototype.setOffline=function(t){this.offline=t},S.prototype.getOffline=function(){return this.offline},S.prototype.setResult=function(t){this.result=t},S.prototype.getResult=function(){return this.result},S.prototype.setCardTransaction=function(t){this.cardTransaction=t},S.prototype.getCardTransaction=function(){return this.cardTransaction},S.prototype.setServiceCharge=function(t){this.serviceCharge=t},S.prototype.getServiceCharge=function(){return this.serviceCharge},S.prototype.setAttributes=function(t){this.attributes=t},S.prototype.getAttributes=function(){return this.attributes},S.prototype.setAdditionalCharges=function(t){this.additionalCharges=t},S.prototype.getAdditionalCharges=function(){return this.additionalCharges},S.prototype.setTaxRates=function(t){this.taxRates=t},S.prototype.getTaxRates=function(){return this.taxRates},S.prototype.setRefunds=function(t){this.refunds=t},S.prototype.getRefunds=function(){return this.refunds},S.prototype.setNote=function(t){this.note=t},S.prototype.getNote=function(){return this.note},S.prototype.setLineItemPayments=function(t){this.lineItemPayments=t},S.prototype.getLineItemPayments=function(){return this.lineItemPayments},S.prototype.setAuthorization=function(t){this.authorization=t},S.prototype.getAuthorization=function(){return this.authorization},S.prototype.setVoidPaymentRef=function(t){this.voidPaymentRef=t},S.prototype.getVoidPaymentRef=function(){return this.voidPaymentRef},S.prototype.setVoidReason=function(t){this.voidReason=t},S.prototype.getVoidReason=function(){return this.voidReason},S.prototype.setDccInfo=function(t){this.dccInfo=t},S.prototype.getDccInfo=function(){return this.dccInfo},S.prototype.setTransactionSettings=function(t){this.transactionSettings=t},S.prototype.getTransactionSettings=function(){return this.transactionSettings},S.prototype.setGermanInfo=function(t){this.germanInfo=t},S.prototype.getGermanInfo=function(){return this.germanInfo},S.prototype.setAppTracking=function(t){this.appTracking=t},S.prototype.getAppTracking=function(){return this.appTracking},S.prototype.setCashAdvanceExtra=function(t){this.cashAdvanceExtra=t},S.prototype.getCashAdvanceExtra=function(){return this.cashAdvanceExtra},S.prototype.setTransactionInfo=function(t){this.transactionInfo=t},S.prototype.getTransactionInfo=function(){return this.transactionInfo},S.prototype.setSignatureDisclaimer=function(t){this.signatureDisclaimer=t},S.prototype.getSignatureDisclaimer=function(){return this.signatureDisclaimer},S.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},S.prototype.getExternalReferenceId=function(){return this.externalReferenceId},S.prototype.setMerchant=function(t){this.merchant=t},S.prototype.getMerchant=function(){return this.merchant},S.prototype.setIncrements=function(t){this.increments=t},S.prototype.getIncrements=function(){return this.increments},S.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},S.prototype.toString=function(){return JSON.stringify(this)},S._meta_={fields:{}},S._meta_._class_=S,S._meta_.fields.id={},S._meta_.fields.id.type=String,S._meta_.fields.order={},S._meta_.fields.order.type=y,S._meta_.fields.device={},S._meta_.fields.device.type=y,S._meta_.fields.tender={},S._meta_.fields.tender.type=v,S._meta_.fields.amount={},S._meta_.fields.amount.type=Number,S._meta_.fields.tipAmount={},S._meta_.fields.tipAmount.type=Number,S._meta_.fields.taxAmount={},S._meta_.fields.taxAmount.type=Number,S._meta_.fields.cashbackAmount={},S._meta_.fields.cashbackAmount.type=Number,S._meta_.fields.cashTendered={},S._meta_.fields.cashTendered.type=Number,S._meta_.fields.externalPaymentId={},S._meta_.fields.externalPaymentId.type=String,S._meta_.fields.employee={},S._meta_.fields.employee.type=y,S._meta_.fields.createdTime={},S._meta_.fields.createdTime.type=Number,S._meta_.fields.clientCreatedTime={},S._meta_.fields.clientCreatedTime.type=Number,S._meta_.fields.modifiedTime={},S._meta_.fields.modifiedTime.type=Number,S._meta_.fields.offline={},S._meta_.fields.offline.type=Boolean,S._meta_.fields.result={},S._meta_.fields.result.type=n,S._meta_.fields.cardTransaction={},S._meta_.fields.cardTransaction.type=p,S._meta_.fields.serviceCharge={},S._meta_.fields.serviceCharge.type=s,S._meta_.fields.attributes={},S._meta_.fields.attributes.type=Object,S._meta_.fields.additionalCharges={},S._meta_.fields.additionalCharges.type=Array,S._meta_.fields.additionalCharges.elementType=o,S._meta_.fields.taxRates={},S._meta_.fields.taxRates.type=Array,S._meta_.fields.taxRates.elementType=r,S._meta_.fields.refunds={},S._meta_.fields.refunds.type=Array,S._meta_.fields.refunds.elementType=d,S._meta_.fields.note={},S._meta_.fields.note.type=String,S._meta_.fields.lineItemPayments={},S._meta_.fields.lineItemPayments.type=Array,S._meta_.fields.lineItemPayments.elementType=_,S._meta_.fields.authorization={},S._meta_.fields.authorization.type=y,S._meta_.fields.voidPaymentRef={},S._meta_.fields.voidPaymentRef.type=y,S._meta_.fields.voidReason={},S._meta_.fields.voidReason.type=c,S._meta_.fields.dccInfo={},S._meta_.fields.dccInfo.type=a,S._meta_.fields.transactionSettings={},S._meta_.fields.transactionSettings.type=g,S._meta_.fields.germanInfo={},S._meta_.fields.germanInfo.type=u,S._meta_.fields.appTracking={},S._meta_.fields.appTracking.type=f,S._meta_.fields.cashAdvanceExtra={},S._meta_.fields.cashAdvanceExtra.type=l,S._meta_.fields.transactionInfo={},S._meta_.fields.transactionInfo.type=h,S._meta_.fields.signatureDisclaimer={},S._meta_.fields.signatureDisclaimer.type=T,S._meta_.fields.externalReferenceId={},S._meta_.fields.externalReferenceId.type=String,S._meta_.fields.merchant={},S._meta_.fields.merchant.type=y,S._meta_.fields.increments={},S._meta_.fields.increments.type=Array,S._meta_.fields.increments.elementType=m,t.exports=S},4391:t=>{var e=function(){this._class_=e,this.type=void 0,this.value=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setValue=function(t){this.value=t},e.prototype.getValue=function(){return this.value},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.value={},e._meta_.fields.value.type=String,t.exports=e},90792:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.payment=void 0,this.clientData=void 0,this.syncPaymentObject=void 0};o.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},o.prototype.getRequestSuccessful=function(){return this.requestSuccessful},o.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},o.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setClientData=function(t){this.clientData=t},o.prototype.getClientData=function(){return this.clientData},o.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},o.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.requestSuccessful={},o._meta_.fields.requestSuccessful.type=Boolean,o._meta_.fields.responseErrorMessage={},o._meta_.fields.responseErrorMessage.type=String,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.clientData={},o._meta_.fields.clientData.type=Object,o._meta_.fields.syncPaymentObject={},o._meta_.fields.syncPaymentObject.type=Boolean,t.exports=o},5134:(t,e,i)=>{var n=i(4212),o=i(6783),s=i(80403),r=function(){this._class_=r,this.id=void 0,this.cardType=void 0,this.responseCode=void 0,this.responseCodeType=void 0,this.action=void 0,this.settingName=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0};r.prototype.setId=function(t){this.id=t},r.prototype.getId=function(){return this.id},r.prototype.setCardType=function(t){this.cardType=t},r.prototype.getCardType=function(){return this.cardType},r.prototype.setResponseCode=function(t){this.responseCode=t},r.prototype.getResponseCode=function(){return this.responseCode},r.prototype.setResponseCodeType=function(t){this.responseCodeType=t},r.prototype.getResponseCodeType=function(){return this.responseCodeType},r.prototype.setAction=function(t){this.action=t},r.prototype.getAction=function(){return this.action},r.prototype.setSettingName=function(t){this.settingName=t},r.prototype.getSettingName=function(){return this.settingName},r.prototype.setCreatedTime=function(t){this.createdTime=t},r.prototype.getCreatedTime=function(){return this.createdTime},r.prototype.setModifiedTime=function(t){this.modifiedTime=t},r.prototype.getModifiedTime=function(){return this.modifiedTime},r.prototype.setDeletedTime=function(t){this.deletedTime=t},r.prototype.getDeletedTime=function(){return this.deletedTime},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.id={},r._meta_.fields.id.type=String,r._meta_.fields.cardType={},r._meta_.fields.cardType.type=n,r._meta_.fields.responseCode={},r._meta_.fields.responseCode.type=String,r._meta_.fields.responseCodeType={},r._meta_.fields.responseCodeType.type=s,r._meta_.fields.action={},r._meta_.fields.action.type=o,r._meta_.fields.settingName={},r._meta_.fields.settingName.type=String,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,r._meta_.fields.modifiedTime={},r._meta_.fields.modifiedTime.type=Number,r._meta_.fields.deletedTime={},r._meta_.fields.deletedTime.type=Number,t.exports=r},96207:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.rate=void 0,this.isDefault=void 0,this.taxableAmount=void 0,this.isVat=void 0,this.taxAmount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setRate=function(t){this.rate=t},e.prototype.getRate=function(){return this.rate},e.prototype.setIsDefault=function(t){this.isDefault=t},e.prototype.getIsDefault=function(){return this.isDefault},e.prototype.setTaxableAmount=function(t){this.taxableAmount=t},e.prototype.getTaxableAmount=function(){return this.taxableAmount},e.prototype.setIsVat=function(t){this.isVat=t},e.prototype.getIsVat=function(){return this.isVat},e.prototype.setTaxAmount=function(t){this.taxAmount=t},e.prototype.getTaxAmount=function(){return this.taxAmount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.rate={},e._meta_.fields.rate.type=Number,e._meta_.fields.isDefault={},e._meta_.fields.isDefault.type=Boolean,e._meta_.fields.taxableAmount={},e._meta_.fields.taxableAmount.type=Number,e._meta_.fields.isVat={},e._meta_.fields.isVat.type=Boolean,e._meta_.fields.taxAmount={},e._meta_.fields.taxAmount.type=Number,t.exports=e},65582:t=>{var e=function(){this._class_=e,this.message=void 0,this.showOnMerchantReceipt=void 0,this.showOnCustomerReceipt=void 0,this.showOnDisplay=void 0};e.prototype.setMessage=function(t){this.message=t},e.prototype.getMessage=function(){return this.message},e.prototype.setShowOnMerchantReceipt=function(t){this.showOnMerchantReceipt=t},e.prototype.getShowOnMerchantReceipt=function(){return this.showOnMerchantReceipt},e.prototype.setShowOnCustomerReceipt=function(t){this.showOnCustomerReceipt=t},e.prototype.getShowOnCustomerReceipt=function(){return this.showOnCustomerReceipt},e.prototype.setShowOnDisplay=function(t){this.showOnDisplay=t},e.prototype.getShowOnDisplay=function(){return this.showOnDisplay},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.message={},e._meta_.fields.message.type=String,e._meta_.fields.showOnMerchantReceipt={},e._meta_.fields.showOnMerchantReceipt.type=Boolean,e._meta_.fields.showOnCustomerReceipt={},e._meta_.fields.showOnCustomerReceipt.type=Boolean,e._meta_.fields.showOnDisplay={},e._meta_.fields.showOnDisplay.type=Boolean,t.exports=e},37471:(t,e,i)=>{var n=i(113),o=i(48067),s=i(52448),r=i(12033),a=i(66824),l=i(50234),d=i(4448),u=i(50775),p=i(17589),_=function(){this._class_=_,this.id=void 0,this.orderRef=void 0,this.device=void 0,this.amount=void 0,this.taxAmount=void 0,this.tipAmount=void 0,this.createdTime=void 0,this.clientCreatedTime=void 0,this.payment=void 0,this.employee=void 0,this.lineItems=void 0,this.overrideMerchantTender=void 0,this.taxableAmountRates=void 0,this.serviceChargeAmount=void 0,this.additionalCharges=void 0,this.germanInfo=void 0,this.appTracking=void 0,this.voided=void 0,this.voidReason=void 0,this.cardTransaction=void 0,this.transactionInfo=void 0,this.merchant=void 0,this.externalReferenceId=void 0};_.prototype.setId=function(t){this.id=t},_.prototype.getId=function(){return this.id},_.prototype.setOrderRef=function(t){this.orderRef=t},_.prototype.getOrderRef=function(){return this.orderRef},_.prototype.setDevice=function(t){this.device=t},_.prototype.getDevice=function(){return this.device},_.prototype.setAmount=function(t){this.amount=t},_.prototype.getAmount=function(){return this.amount},_.prototype.setTaxAmount=function(t){this.taxAmount=t},_.prototype.getTaxAmount=function(){return this.taxAmount},_.prototype.setTipAmount=function(t){this.tipAmount=t},_.prototype.getTipAmount=function(){return this.tipAmount},_.prototype.setCreatedTime=function(t){this.createdTime=t},_.prototype.getCreatedTime=function(){return this.createdTime},_.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},_.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},_.prototype.setPayment=function(t){this.payment=t},_.prototype.getPayment=function(){return this.payment},_.prototype.setEmployee=function(t){this.employee=t},_.prototype.getEmployee=function(){return this.employee},_.prototype.setLineItems=function(t){this.lineItems=t},_.prototype.getLineItems=function(){return this.lineItems},_.prototype.setOverrideMerchantTender=function(t){this.overrideMerchantTender=t},_.prototype.getOverrideMerchantTender=function(){return this.overrideMerchantTender},_.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},_.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},_.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},_.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},_.prototype.setAdditionalCharges=function(t){this.additionalCharges=t},_.prototype.getAdditionalCharges=function(){return this.additionalCharges},_.prototype.setGermanInfo=function(t){this.germanInfo=t},_.prototype.getGermanInfo=function(){return this.germanInfo},_.prototype.setAppTracking=function(t){this.appTracking=t},_.prototype.getAppTracking=function(){return this.appTracking},_.prototype.setVoided=function(t){this.voided=t},_.prototype.getVoided=function(){return this.voided},_.prototype.setVoidReason=function(t){this.voidReason=t},_.prototype.getVoidReason=function(){return this.voidReason},_.prototype.setCardTransaction=function(t){this.cardTransaction=t},_.prototype.getCardTransaction=function(){return this.cardTransaction},_.prototype.setTransactionInfo=function(t){this.transactionInfo=t},_.prototype.getTransactionInfo=function(){return this.transactionInfo},_.prototype.setMerchant=function(t){this.merchant=t},_.prototype.getMerchant=function(){return this.merchant},_.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},_.prototype.getExternalReferenceId=function(){return this.externalReferenceId},_.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},_.prototype.toString=function(){return JSON.stringify(this)},_._meta_={fields:{}},_._meta_._class_=_,_._meta_.fields.id={},_._meta_.fields.id.type=String,_._meta_.fields.orderRef={},_._meta_.fields.orderRef.type=d,_._meta_.fields.device={},_._meta_.fields.device.type=d,_._meta_.fields.amount={},_._meta_.fields.amount.type=Number,_._meta_.fields.taxAmount={},_._meta_.fields.taxAmount.type=Number,_._meta_.fields.tipAmount={},_._meta_.fields.tipAmount.type=Number,_._meta_.fields.createdTime={},_._meta_.fields.createdTime.type=Number,_._meta_.fields.clientCreatedTime={},_._meta_.fields.clientCreatedTime.type=Number,_._meta_.fields.payment={},_._meta_.fields.payment.type=d,_._meta_.fields.employee={},_._meta_.fields.employee.type=d,_._meta_.fields.lineItems={},_._meta_.fields.lineItems.type=Array,_._meta_.fields.lineItems.elementType=d,_._meta_.fields.overrideMerchantTender={},_._meta_.fields.overrideMerchantTender.type=u,_._meta_.fields.taxableAmountRates={},_._meta_.fields.taxableAmountRates.type=Array,_._meta_.fields.taxableAmountRates.elementType=s,_._meta_.fields.serviceChargeAmount={},_._meta_.fields.serviceChargeAmount.type=a,_._meta_.fields.additionalCharges={},_._meta_.fields.additionalCharges.type=Array,_._meta_.fields.additionalCharges.elementType=o,_._meta_.fields.germanInfo={},_._meta_.fields.germanInfo.type=p,_._meta_.fields.appTracking={},_._meta_.fields.appTracking.type=r,_._meta_.fields.voided={},_._meta_.fields.voided.type=Boolean,_._meta_.fields.voidReason={},_._meta_.fields.voidReason.type=String,_._meta_.fields.cardTransaction={},_._meta_.fields.cardTransaction.type=n,_._meta_.fields.transactionInfo={},_._meta_.fields.transactionInfo.type=l,_._meta_.fields.merchant={},_._meta_.fields.merchant.type=d,_._meta_.fields.externalReferenceId={},_._meta_.fields.externalReferenceId.type=String,t.exports=_},40716:(t,e,i)=>{var n=i(27138),o=i(37471),s=function(){this._class_=s,this.refund=void 0,this.card=void 0,this.isAdjustment=void 0};s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s.prototype.setIsAdjustment=function(t){this.isAdjustment=t},s.prototype.getIsAdjustment=function(){return this.isAdjustment},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,s._meta_.fields.card={},s._meta_.fields.card.type=n,s._meta_.fields.isAdjustment={},s._meta_.fields.isAdjustment.type=Boolean,t.exports=s},46797:(t,e,i)=>{var n=i(82794),o=i(37471),s=function(){this._class_=s,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.refund=void 0,this.payment=void 0,this.extra=void 0};s.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},s.prototype.getRequestSuccessful=function(){return this.requestSuccessful},s.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},s.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s.prototype.setPayment=function(t){this.payment=t},s.prototype.getPayment=function(){return this.payment},s.prototype.setExtra=function(t){this.extra=t},s.prototype.getExtra=function(){return this.extra},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.requestSuccessful={},s._meta_.fields.requestSuccessful.type=Boolean,s._meta_.fields.responseErrorMessage={},s._meta_.fields.responseErrorMessage.type=String,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,s._meta_.fields.payment={},s._meta_.fields.payment.type=n,s._meta_.fields.extra={},s._meta_.fields.extra.type=Object,t.exports=s},49734:t=>{var e=function(){this._class_=e,this.FISCAL_INVOICE_NUMBER_KEY="com.clover.regionalextras.ar.FISCAL_INVOICE_NUMBER_KEY",this.INSTALLMENT_NUMBER_KEY="com.clover.regionalextras.ar.INSTALLMENT_NUMBER_KEY",this.INSTALLMENT_PLAN_KEY="com.clover.regionalextras.ar.INSTALLMENT_PLAN_KEY",this.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE="com.clover.regionalextras.ar.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE",this.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE="com.clover.regionalextras.ar.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE",this.INSTALLMENT_NUMBER_DEFAULT_VALUE="1"};e.prototype.getFISCALINVOICENUMBERKEY=function(){return this.FISCAL_INVOICE_NUMBER_KEY},e.prototype.getINSTALLMENTNUMBERKEY=function(){return this.INSTALLMENT_NUMBER_KEY},e.prototype.getINSTALLMENTPLANKEY=function(){return this.INSTALLMENT_PLAN_KEY},e.prototype.getSKIPFISCALINVOICENUMBERSCREENVALUE=function(){return this.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE},e.prototype.getCONFIRMFISCALINVOICENUMBERPROVIDEDVALUE=function(){return this.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE},e.prototype.getINSTALLMENTNUMBERDEFAULTVALUE=function(){return this.INSTALLMENT_NUMBER_DEFAULT_VALUE},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.FISCAL_INVOICE_NUMBER_KEY={},e._meta_.fields.FISCAL_INVOICE_NUMBER_KEY.type=String,e._meta_.fields.INSTALLMENT_NUMBER_KEY={},e._meta_.fields.INSTALLMENT_NUMBER_KEY.type=String,e._meta_.fields.INSTALLMENT_PLAN_KEY={},e._meta_.fields.INSTALLMENT_PLAN_KEY.type=String,e._meta_.fields.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE={},e._meta_.fields.SKIP_FISCAL_INVOICE_NUMBER_SCREEN_VALUE.type=String,e._meta_.fields.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE={},e._meta_.fields.CONFIRM_FISCAL_INVOICE_NUMBER_PROVIDED_VALUE.type=String,e._meta_.fields.INSTALLMENT_NUMBER_DEFAULT_VALUE={},e._meta_.fields.INSTALLMENT_NUMBER_DEFAULT_VALUE.type=String,t.exports=e},51029:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",INITIATED:"INITIATED",VOIDED:"VOIDED",VOIDING:"VOIDING",VOID_FAILED:"VOID_FAILED",AUTH:"AUTH",AUTH_COMPLETED:"AUTH_COMPLETED",DISCOUNT:"DISCOUNT"}},4468:t=>{t.exports={CHIP_DECLINE:"CHIP_DECLINE",CARDHOLDER_CANCELLATION:"CARDHOLDER_CANCELLATION",COMMUNICATION_ERROR:"COMMUNICATION_ERROR",OTHER_REASON:"OTHER_REASON"}},66976:t=>{t.exports={NONE:"NONE",PAYMENT:"PAYMENT",REFUND:"REFUND",CANCELLATION:"CANCELLATION",PRE_AUTH:"PRE_AUTH",UPDATE_PRE_AUTH:"UPDATE_PRE_AUTH",PAYMENT_COMPLETION:"PAYMENT_COMPLETION",CASH_ADVANCE:"CASH_ADVANCE",DEFERRED_PAYMENT:"DEFERRED_PAYMENT",DEFERRED_PAYMENT_COMPLETION:"DEFERRED_PAYMENT_COMPLETION",VOICE_AUTHORISATION:"VOICE_AUTHORISATION",CARDHOLDER_DETECTION:"CARDHOLDER_DETECTION",TOKEN_REQUEST:"TOKEN_REQUEST",VERIFICATION:"VERIFICATION"}},33066:(t,e,i)=>{var n=i(14415),o=function(){this._class_=o,this.employeeId=void 0,this.employeeName=void 0,this.sales=void 0,this.refunds=void 0,this.net=void 0,this.giftCardLoads=void 0,this.giftCardCashOuts=void 0,this.tax=void 0,this.tips=void 0};o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setEmployeeName=function(t){this.employeeName=t},o.prototype.getEmployeeName=function(){return this.employeeName},o.prototype.setSales=function(t){this.sales=t},o.prototype.getSales=function(){return this.sales},o.prototype.setRefunds=function(t){this.refunds=t},o.prototype.getRefunds=function(){return this.refunds},o.prototype.setNet=function(t){this.net=t},o.prototype.getNet=function(){return this.net},o.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},o.prototype.getGiftCardLoads=function(){return this.giftCardLoads},o.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},o.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},o.prototype.setTax=function(t){this.tax=t},o.prototype.getTax=function(){return this.tax},o.prototype.setTips=function(t){this.tips=t},o.prototype.getTips=function(){return this.tips},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.employeeName={},o._meta_.fields.employeeName.type=String,o._meta_.fields.sales={},o._meta_.fields.sales.type=n,o._meta_.fields.refunds={},o._meta_.fields.refunds.type=n,o._meta_.fields.net={},o._meta_.fields.net.type=n,o._meta_.fields.giftCardLoads={},o._meta_.fields.giftCardLoads.type=n,o._meta_.fields.giftCardCashOuts={},o._meta_.fields.giftCardCashOuts.type=n,o._meta_.fields.tax={},o._meta_.fields.tax.type=n,o._meta_.fields.tips={},o._meta_.fields.tips.type=n,t.exports=o},66824:t=>{var e=function(){this._class_=e,this.id=void 0,this.name=void 0,this.amount=void 0};e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setAmount=function(t){this.amount=t},e.prototype.getAmount=function(){return this.amount},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.id={},e._meta_.fields.id.type=String,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.amount={},e._meta_.fields.amount.type=Number,t.exports=e},51743:(t,e,i)=>{var n=i(37471),o=function(){this._class_=o,this.refund=void 0};o.prototype.setRefund=function(t){this.refund=t},o.prototype.getRefund=function(){return this.refund},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.refund={},o._meta_.fields.refund.type=n,t.exports=o},40188:(t,e,i)=>{var n=i(15118),o=function(){this._class_=o,this.amount=void 0,this.orderId=void 0,this.sourcePaymentId=void 0,this.vaultedCard=void 0};o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setSourcePaymentId=function(t){this.sourcePaymentId=t},o.prototype.getSourcePaymentId=function(){return this.sourcePaymentId},o.prototype.setVaultedCard=function(t){this.vaultedCard=t},o.prototype.getVaultedCard=function(){return this.vaultedCard},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.sourcePaymentId={},o._meta_.fields.sourcePaymentId.type=String,o._meta_.fields.vaultedCard={},o._meta_.fields.vaultedCard.type=n,t.exports=o},99485:t=>{var e=function(){this._class_=e,this.disclaimerText=void 0,this.disclaimerValues=void 0};e.prototype.setDisclaimerText=function(t){this.disclaimerText=t},e.prototype.getDisclaimerText=function(){return this.disclaimerText},e.prototype.setDisclaimerValues=function(t){this.disclaimerValues=t},e.prototype.getDisclaimerValues=function(){return this.disclaimerValues},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.disclaimerText={},e._meta_.fields.disclaimerText.type=String,e._meta_.fields.disclaimerValues={},e._meta_.fields.disclaimerValues.type=Object,t.exports=e},52448:(t,e,i)=>{var n=i(4448),o=function(){this._class_=o,this.id=void 0,this.name=void 0,this.taxableAmount=void 0,this.rate=void 0,this.isVat=void 0,this.taxAmount=void 0,this.transactionRef=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setTaxableAmount=function(t){this.taxableAmount=t},o.prototype.getTaxableAmount=function(){return this.taxableAmount},o.prototype.setRate=function(t){this.rate=t},o.prototype.getRate=function(){return this.rate},o.prototype.setIsVat=function(t){this.isVat=t},o.prototype.getIsVat=function(){return this.isVat},o.prototype.setTaxAmount=function(t){this.taxAmount=t},o.prototype.getTaxAmount=function(){return this.taxAmount},o.prototype.setTransactionRef=function(t){this.transactionRef=t},o.prototype.getTransactionRef=function(){return this.transactionRef},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.taxableAmount={},o._meta_.fields.taxableAmount.type=Number,o._meta_.fields.rate={},o._meta_.fields.rate.type=Number,o._meta_.fields.isVat={},o._meta_.fields.isVat.type=Boolean,o._meta_.fields.taxAmount={},o._meta_.fields.taxAmount.type=Number,o._meta_.fields.transactionRef={},o._meta_.fields.transactionRef.type=n,t.exports=o},32628:t=>{t.exports={TIP_PROVIDED:"TIP_PROVIDED",ON_SCREEN_BEFORE_PAYMENT:"ON_SCREEN_BEFORE_PAYMENT",ON_SCREEN_AFTER_PAYMENT:"ON_SCREEN_AFTER_PAYMENT",ON_PAPER:"ON_PAPER",NO_TIP:"NO_TIP"}},95426:(t,e,i)=>{var n=i(26866),o=i(73865),s=i(113),r=i(51029),a=i(50234),l=i(4448),d=i(50775),u=function(){this._class_=u,this.id=void 0,this.type=void 0,this.employee=void 0,this.device=void 0,this.merchant=void 0,this.tender=void 0,this.customer=void 0,this.externalReferenceId=void 0,this.cardTransaction=void 0,this.note=void 0,this.result=void 0,this.createdTime=void 0,this.modifiedTime=void 0,this.deletedTime=void 0,this.transactionInfo=void 0};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setType=function(t){this.type=t},u.prototype.getType=function(){return this.type},u.prototype.setEmployee=function(t){this.employee=t},u.prototype.getEmployee=function(){return this.employee},u.prototype.setDevice=function(t){this.device=t},u.prototype.getDevice=function(){return this.device},u.prototype.setMerchant=function(t){this.merchant=t},u.prototype.getMerchant=function(){return this.merchant},u.prototype.setTender=function(t){this.tender=t},u.prototype.getTender=function(){return this.tender},u.prototype.setCustomer=function(t){this.customer=t},u.prototype.getCustomer=function(){return this.customer},u.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},u.prototype.getExternalReferenceId=function(){return this.externalReferenceId},u.prototype.setCardTransaction=function(t){this.cardTransaction=t},u.prototype.getCardTransaction=function(){return this.cardTransaction},u.prototype.setNote=function(t){this.note=t},u.prototype.getNote=function(){return this.note},u.prototype.setResult=function(t){this.result=t},u.prototype.getResult=function(){return this.result},u.prototype.setCreatedTime=function(t){this.createdTime=t},u.prototype.getCreatedTime=function(){return this.createdTime},u.prototype.setModifiedTime=function(t){this.modifiedTime=t},u.prototype.getModifiedTime=function(){return this.modifiedTime},u.prototype.setDeletedTime=function(t){this.deletedTime=t},u.prototype.getDeletedTime=function(){return this.deletedTime},u.prototype.setTransactionInfo=function(t){this.transactionInfo=t},u.prototype.getTransactionInfo=function(){return this.transactionInfo},u.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},u.prototype.toString=function(){return JSON.stringify(this)},u._meta_={fields:{}},u._meta_._class_=u,u._meta_.fields.id={},u._meta_.fields.id.type=String,u._meta_.fields.type={},u._meta_.fields.type.type=o,u._meta_.fields.employee={},u._meta_.fields.employee.type=l,u._meta_.fields.device={},u._meta_.fields.device.type=l,u._meta_.fields.merchant={},u._meta_.fields.merchant.type=l,u._meta_.fields.tender={},u._meta_.fields.tender.type=d,u._meta_.fields.customer={},u._meta_.fields.customer.type=n,u._meta_.fields.externalReferenceId={},u._meta_.fields.externalReferenceId.type=String,u._meta_.fields.cardTransaction={},u._meta_.fields.cardTransaction.type=s,u._meta_.fields.note={},u._meta_.fields.note.type=String,u._meta_.fields.result={},u._meta_.fields.result.type=r,u._meta_.fields.createdTime={},u._meta_.fields.createdTime.type=Number,u._meta_.fields.modifiedTime={},u._meta_.fields.modifiedTime.type=Number,u._meta_.fields.deletedTime={},u._meta_.fields.deletedTime.type=Number,u._meta_.fields.transactionInfo={},u._meta_.fields.transactionInfo.type=a,t.exports=u},73865:t=>{t.exports={VERIFICATION:"VERIFICATION",TOKEN_REQUEST:"TOKEN_REQUEST"}},98957:(t,e,i)=>{var n=i(27022),o=i(82794),s=i(37471),r=i(6639),a=function(){this._class_=a,this.createdTime=void 0,this.clientCreatedTime=void 0,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.creditRefund=void 0};a.prototype.setCreatedTime=function(t){this.createdTime=t},a.prototype.getCreatedTime=function(){return this.createdTime},a.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},a.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setCreditRefund=function(t){this.creditRefund=t},a.prototype.getCreditRefund=function(){return this.creditRefund},a.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},a.prototype.toString=function(){return JSON.stringify(this)},a._meta_={fields:{}},a._meta_._class_=a,a._meta_.fields.createdTime={},a._meta_.fields.createdTime.type=Number,a._meta_.fields.clientCreatedTime={},a._meta_.fields.clientCreatedTime.type=Number,a._meta_.fields.payment={},a._meta_.fields.payment.type=o,a._meta_.fields.refund={},a._meta_.fields.refund.type=s,a._meta_.fields.credit={},a._meta_.fields.credit.type=r,a._meta_.fields.creditRefund={},a._meta_.fields.creditRefund.type=n,t.exports=a},50234:(t,e,i)=>{var n=i(66976),o=i(65582),s=i(43762),r=i(21570),a=i(4212),l=i(56614),d=i(4468),u=i(57311),p=i(18593),_=i(40615),c=function(){this._class_=c,this.languageIndicator=void 0,this.transactionLocale=void 0,this.accountSelection=void 0,this.fiscalInvoiceNumber=void 0,this.installmentsQuantity=void 0,this.installmentsPlanCode=void 0,this.installmentsPlanId=void 0,this.installmentsPlanDesc=void 0,this.cardTypeLabel=void 0,this.cardSymbol=void 0,this.stan=void 0,this.identityDocument=void 0,this.batchNumber=void 0,this.receiptNumber=void 0,this.reversalStanRefNum=void 0,this.reversalStan=void 0,this.reversalMac=void 0,this.reversalMacKsn=void 0,this.terminalIdentification=void 0,this.merchantIdentifier=void 0,this.merchantNameLocation=void 0,this.maskedTrack2=void 0,this.receiptExtraData=void 0,this.selectedService=void 0,this.transactionResult=void 0,this.transactionTags=void 0,this.txFormat=void 0,this.panMask=void 0,this.transactionSequenceCounter=void 0,this.applicationPanSequenceNumber=void 0,this.reversalReason=void 0,this.isTokenBasedTx=!1,this.origTransactionSequenceCounter=void 0,this.transactionSequenceCounterUpdate=void 0,this.emergencyFlag=!1,this.entryType=void 0,this.promotionalMessage=void 0,this.eCommTransactionInfo=void 0,this.clientCardType=void 0};c.prototype.setLanguageIndicator=function(t){this.languageIndicator=t},c.prototype.getLanguageIndicator=function(){return this.languageIndicator},c.prototype.setTransactionLocale=function(t){this.transactionLocale=t},c.prototype.getTransactionLocale=function(){return this.transactionLocale},c.prototype.setAccountSelection=function(t){this.accountSelection=t},c.prototype.getAccountSelection=function(){return this.accountSelection},c.prototype.setFiscalInvoiceNumber=function(t){this.fiscalInvoiceNumber=t},c.prototype.getFiscalInvoiceNumber=function(){return this.fiscalInvoiceNumber},c.prototype.setInstallmentsQuantity=function(t){this.installmentsQuantity=t},c.prototype.getInstallmentsQuantity=function(){return this.installmentsQuantity},c.prototype.setInstallmentsPlanCode=function(t){this.installmentsPlanCode=t},c.prototype.getInstallmentsPlanCode=function(){return this.installmentsPlanCode},c.prototype.setInstallmentsPlanId=function(t){this.installmentsPlanId=t},c.prototype.getInstallmentsPlanId=function(){return this.installmentsPlanId},c.prototype.setInstallmentsPlanDesc=function(t){this.installmentsPlanDesc=t},c.prototype.getInstallmentsPlanDesc=function(){return this.installmentsPlanDesc},c.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},c.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},c.prototype.setCardSymbol=function(t){this.cardSymbol=t},c.prototype.getCardSymbol=function(){return this.cardSymbol},c.prototype.setStan=function(t){this.stan=t},c.prototype.getStan=function(){return this.stan},c.prototype.setIdentityDocument=function(t){this.identityDocument=t},c.prototype.getIdentityDocument=function(){return this.identityDocument},c.prototype.setBatchNumber=function(t){this.batchNumber=t},c.prototype.getBatchNumber=function(){return this.batchNumber},c.prototype.setReceiptNumber=function(t){this.receiptNumber=t},c.prototype.getReceiptNumber=function(){return this.receiptNumber},c.prototype.setReversalStanRefNum=function(t){this.reversalStanRefNum=t},c.prototype.getReversalStanRefNum=function(){return this.reversalStanRefNum},c.prototype.setReversalStan=function(t){this.reversalStan=t},c.prototype.getReversalStan=function(){return this.reversalStan},c.prototype.setReversalMac=function(t){this.reversalMac=t},c.prototype.getReversalMac=function(){return this.reversalMac},c.prototype.setReversalMacKsn=function(t){this.reversalMacKsn=t},c.prototype.getReversalMacKsn=function(){return this.reversalMacKsn},c.prototype.setTerminalIdentification=function(t){this.terminalIdentification=t},c.prototype.getTerminalIdentification=function(){return this.terminalIdentification},c.prototype.setMerchantIdentifier=function(t){this.merchantIdentifier=t},c.prototype.getMerchantIdentifier=function(){return this.merchantIdentifier},c.prototype.setMerchantNameLocation=function(t){this.merchantNameLocation=t},c.prototype.getMerchantNameLocation=function(){return this.merchantNameLocation},c.prototype.setMaskedTrack2=function(t){this.maskedTrack2=t},c.prototype.getMaskedTrack2=function(){return this.maskedTrack2},c.prototype.setReceiptExtraData=function(t){this.receiptExtraData=t},c.prototype.getReceiptExtraData=function(){return this.receiptExtraData},c.prototype.setSelectedService=function(t){this.selectedService=t},c.prototype.getSelectedService=function(){return this.selectedService},c.prototype.setTransactionResult=function(t){this.transactionResult=t},c.prototype.getTransactionResult=function(){return this.transactionResult},c.prototype.setTransactionTags=function(t){this.transactionTags=t},c.prototype.getTransactionTags=function(){return this.transactionTags},c.prototype.setTxFormat=function(t){this.txFormat=t},c.prototype.getTxFormat=function(){return this.txFormat},c.prototype.setPanMask=function(t){this.panMask=t},c.prototype.getPanMask=function(){return this.panMask},c.prototype.setTransactionSequenceCounter=function(t){this.transactionSequenceCounter=t},c.prototype.getTransactionSequenceCounter=function(){return this.transactionSequenceCounter},c.prototype.setApplicationPanSequenceNumber=function(t){this.applicationPanSequenceNumber=t},c.prototype.getApplicationPanSequenceNumber=function(){return this.applicationPanSequenceNumber},c.prototype.setReversalReason=function(t){this.reversalReason=t},c.prototype.getReversalReason=function(){return this.reversalReason},c.prototype.setIsTokenBasedTx=function(t){this.isTokenBasedTx=t},c.prototype.getIsTokenBasedTx=function(){return this.isTokenBasedTx},c.prototype.setOrigTransactionSequenceCounter=function(t){this.origTransactionSequenceCounter=t},c.prototype.getOrigTransactionSequenceCounter=function(){return this.origTransactionSequenceCounter},c.prototype.setTransactionSequenceCounterUpdate=function(t){this.transactionSequenceCounterUpdate=t},c.prototype.getTransactionSequenceCounterUpdate=function(){return this.transactionSequenceCounterUpdate},c.prototype.setEmergencyFlag=function(t){this.emergencyFlag=t},c.prototype.getEmergencyFlag=function(){return this.emergencyFlag},c.prototype.setEntryType=function(t){this.entryType=t},c.prototype.getEntryType=function(){return this.entryType},c.prototype.setPromotionalMessage=function(t){this.promotionalMessage=t},c.prototype.getPromotionalMessage=function(){return this.promotionalMessage},c.prototype.setECommTransactionInfo=function(t){this.eCommTransactionInfo=t},c.prototype.getECommTransactionInfo=function(){return this.eCommTransactionInfo},c.prototype.setClientCardType=function(t){this.clientCardType=t},c.prototype.getClientCardType=function(){return this.clientCardType},c.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},c.prototype.toString=function(){return JSON.stringify(this)},c._meta_={fields:{}},c._meta_._class_=c,c._meta_.fields.languageIndicator={},c._meta_.fields.languageIndicator.type=String,c._meta_.fields.transactionLocale={},c._meta_.fields.transactionLocale.type=String,c._meta_.fields.accountSelection={},c._meta_.fields.accountSelection.type=p,c._meta_.fields.fiscalInvoiceNumber={},c._meta_.fields.fiscalInvoiceNumber.type=String,c._meta_.fields.installmentsQuantity={},c._meta_.fields.installmentsQuantity.type=Number,c._meta_.fields.installmentsPlanCode={},c._meta_.fields.installmentsPlanCode.type=String,c._meta_.fields.installmentsPlanId={},c._meta_.fields.installmentsPlanId.type=String,c._meta_.fields.installmentsPlanDesc={},c._meta_.fields.installmentsPlanDesc.type=String,c._meta_.fields.cardTypeLabel={},c._meta_.fields.cardTypeLabel.type=String,c._meta_.fields.cardSymbol={},c._meta_.fields.cardSymbol.type=String,c._meta_.fields.stan={},c._meta_.fields.stan.type=Number,c._meta_.fields.identityDocument={},c._meta_.fields.identityDocument.type=_,c._meta_.fields.batchNumber={},c._meta_.fields.batchNumber.type=String,c._meta_.fields.receiptNumber={},c._meta_.fields.receiptNumber.type=String,c._meta_.fields.reversalStanRefNum={},c._meta_.fields.reversalStanRefNum.type=String,c._meta_.fields.reversalStan={},c._meta_.fields.reversalStan.type=Number,c._meta_.fields.reversalMac={},c._meta_.fields.reversalMac.type=String,c._meta_.fields.reversalMacKsn={},c._meta_.fields.reversalMacKsn.type=String,c._meta_.fields.terminalIdentification={},c._meta_.fields.terminalIdentification.type=String,c._meta_.fields.merchantIdentifier={},c._meta_.fields.merchantIdentifier.type=String,c._meta_.fields.merchantNameLocation={},c._meta_.fields.merchantNameLocation.type=String,c._meta_.fields.maskedTrack2={},c._meta_.fields.maskedTrack2.type=String,c._meta_.fields.receiptExtraData={},c._meta_.fields.receiptExtraData.type=String,c._meta_.fields.selectedService={},c._meta_.fields.selectedService.type=n,c._meta_.fields.transactionResult={},c._meta_.fields.transactionResult.type=u,c._meta_.fields.transactionTags={},c._meta_.fields.transactionTags.type=String,c._meta_.fields.txFormat={},c._meta_.fields.txFormat.type=s,c._meta_.fields.panMask={},c._meta_.fields.panMask.type=String,c._meta_.fields.transactionSequenceCounter={},c._meta_.fields.transactionSequenceCounter.type=String,c._meta_.fields.applicationPanSequenceNumber={},c._meta_.fields.applicationPanSequenceNumber.type=String,c._meta_.fields.reversalReason={},c._meta_.fields.reversalReason.type=d,c._meta_.fields.isTokenBasedTx={},c._meta_.fields.isTokenBasedTx.type=Boolean,c._meta_.fields.origTransactionSequenceCounter={},c._meta_.fields.origTransactionSequenceCounter.type=String,c._meta_.fields.transactionSequenceCounterUpdate={},c._meta_.fields.transactionSequenceCounterUpdate.type=String,c._meta_.fields.emergencyFlag={},c._meta_.fields.emergencyFlag.type=Boolean,c._meta_.fields.entryType={},c._meta_.fields.entryType.type=l,c._meta_.fields.promotionalMessage={},c._meta_.fields.promotionalMessage.type=o,c._meta_.fields.eCommTransactionInfo={},c._meta_.fields.eCommTransactionInfo.type=r,c._meta_.fields.clientCardType={},c._meta_.fields.clientCardType.type=a,t.exports=c},57311:t=>{t.exports={APPROVED:"APPROVED",DECLINED:"DECLINED",ABORTED:"ABORTED",VOICE_AUTHORISATION:"VOICE_AUTHORISATION",PAYMENT_PART_ONLY:"PAYMENT_PART_ONLY",PARTIALLY_APPROVED:"PARTIALLY_APPROVED",NONE:"NONE"}},56135:(t,e,i)=>{var n=i(32628),o=i(57953),s=i(27033),r=function(){this._class_=r,this.cardEntryMethods=void 0,this.disableCashBack=!1,this.cloverShouldHandleReceipts=!0,this.forcePinEntryOnSwipe=!1,this.disableRestartTransactionOnFailure=!1,this.allowOfflinePayment=!1,this.approveOfflinePaymentWithoutPrompt=!1,this.forceOfflinePayment=!1,this.signatureThreshold=void 0,this.signatureEntryLocation=void 0,this.tipMode=void 0,this.tippableAmount=void 0,this.disableReceiptSelection=!1,this.disableDuplicateCheck=!1,this.autoAcceptPaymentConfirmations=!1,this.autoAcceptSignature=!1,this.returnResultOnTransactionComplete=!1,this.tipSuggestions=void 0,this.regionalExtras=void 0};r.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},r.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},r.prototype.setDisableCashBack=function(t){this.disableCashBack=t},r.prototype.getDisableCashBack=function(){return this.disableCashBack},r.prototype.setCloverShouldHandleReceipts=function(t){this.cloverShouldHandleReceipts=t},r.prototype.getCloverShouldHandleReceipts=function(){return this.cloverShouldHandleReceipts},r.prototype.setForcePinEntryOnSwipe=function(t){this.forcePinEntryOnSwipe=t},r.prototype.getForcePinEntryOnSwipe=function(){return this.forcePinEntryOnSwipe},r.prototype.setDisableRestartTransactionOnFailure=function(t){this.disableRestartTransactionOnFailure=t},r.prototype.getDisableRestartTransactionOnFailure=function(){return this.disableRestartTransactionOnFailure},r.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},r.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},r.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},r.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},r.prototype.setForceOfflinePayment=function(t){this.forceOfflinePayment=t},r.prototype.getForceOfflinePayment=function(){return this.forceOfflinePayment},r.prototype.setSignatureThreshold=function(t){this.signatureThreshold=t},r.prototype.getSignatureThreshold=function(){return this.signatureThreshold},r.prototype.setSignatureEntryLocation=function(t){this.signatureEntryLocation=t},r.prototype.getSignatureEntryLocation=function(){return this.signatureEntryLocation},r.prototype.setTipMode=function(t){this.tipMode=t},r.prototype.getTipMode=function(){return this.tipMode},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},r.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},r.prototype.setDisableDuplicateCheck=function(t){this.disableDuplicateCheck=t},r.prototype.getDisableDuplicateCheck=function(){return this.disableDuplicateCheck},r.prototype.setAutoAcceptPaymentConfirmations=function(t){this.autoAcceptPaymentConfirmations=t},r.prototype.getAutoAcceptPaymentConfirmations=function(){return this.autoAcceptPaymentConfirmations},r.prototype.setAutoAcceptSignature=function(t){this.autoAcceptSignature=t},r.prototype.getAutoAcceptSignature=function(){return this.autoAcceptSignature},r.prototype.setReturnResultOnTransactionComplete=function(t){this.returnResultOnTransactionComplete=t},r.prototype.getReturnResultOnTransactionComplete=function(){return this.returnResultOnTransactionComplete},r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r.prototype.setRegionalExtras=function(t){this.regionalExtras=t},r.prototype.getRegionalExtras=function(){return this.regionalExtras},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.cardEntryMethods={},r._meta_.fields.cardEntryMethods.type=Number,r._meta_.fields.disableCashBack={},r._meta_.fields.disableCashBack.type=Boolean,r._meta_.fields.cloverShouldHandleReceipts={},r._meta_.fields.cloverShouldHandleReceipts.type=Boolean,r._meta_.fields.forcePinEntryOnSwipe={},r._meta_.fields.forcePinEntryOnSwipe.type=Boolean,r._meta_.fields.disableRestartTransactionOnFailure={},r._meta_.fields.disableRestartTransactionOnFailure.type=Boolean,r._meta_.fields.allowOfflinePayment={},r._meta_.fields.allowOfflinePayment.type=Boolean,r._meta_.fields.approveOfflinePaymentWithoutPrompt={},r._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,r._meta_.fields.forceOfflinePayment={},r._meta_.fields.forceOfflinePayment.type=Boolean,r._meta_.fields.signatureThreshold={},r._meta_.fields.signatureThreshold.type=Number,r._meta_.fields.signatureEntryLocation={},r._meta_.fields.signatureEntryLocation.type=o,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=n,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,r._meta_.fields.disableReceiptSelection={},r._meta_.fields.disableReceiptSelection.type=Boolean,r._meta_.fields.disableDuplicateCheck={},r._meta_.fields.disableDuplicateCheck.type=Boolean,r._meta_.fields.autoAcceptPaymentConfirmations={},r._meta_.fields.autoAcceptPaymentConfirmations.type=Boolean,r._meta_.fields.autoAcceptSignature={},r._meta_.fields.autoAcceptSignature.type=Boolean,r._meta_.fields.returnResultOnTransactionComplete={},r._meta_.fields.returnResultOnTransactionComplete.type=Boolean,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=s,r._meta_.fields.regionalExtras={},r._meta_.fields.regionalExtras.type=Object,t.exports=r},43762:t=>{t.exports={DEFAULT:"DEFAULT",NEXO:"NEXO"}},82447:t=>{t.exports={AUTH:"AUTH",PREAUTH:"PREAUTH",PREAUTHCAPTURE:"PREAUTHCAPTURE",ADJUST:"ADJUST",VOID:"VOID",VOIDRETURN:"VOIDRETURN",RETURN:"RETURN",REFUND:"REFUND",NAKEDREFUND:"NAKEDREFUND",GETBALANCE:"GETBALANCE",BATCHCLOSE:"BATCHCLOSE",ACTIVATE:"ACTIVATE",BALANCE_LOCK:"BALANCE_LOCK",LOAD:"LOAD",CASHOUT:"CASHOUT",CASHOUT_ACTIVE_STATUS:"CASHOUT_ACTIVE_STATUS",REDEMPTION:"REDEMPTION",REDEMPTION_UNLOCK:"REDEMPTION_UNLOCK",RELOAD:"RELOAD",INTERNET_ACTIVATE:"INTERNET_ACTIVATE"}},88960:t=>{t.exports={TAB:"TAB",AUTH:"AUTH"}},53266:(t,e,i)=>{var n=i(90622),o=function(){this._class_=o,this.vasProviders=void 0};o.prototype.setVasProviders=function(t){this.vasProviders=t},o.prototype.getVasProviders=function(){return this.vasProviders},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.vasProviders={},o._meta_.fields.vasProviders.type=Array,o._meta_.fields.vasProviders.elementType=n,t.exports=o},64213:(t,e,i)=>{var n=i(7641),o=function(){this._class_=o,this.dataType=void 0};o.prototype.setDataType=function(t){this.dataType=t},o.prototype.getDataType=function(){return this.dataType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.dataType={},o._meta_.fields.dataType.type=n,t.exports=o},7641:t=>{t.exports={ALL:"ALL",LOYALTY:"LOYALTY",OFFER:"OFFER",GIFT_CARD:"GIFT_CARD",PRIVATE_LABEL_CARD:"PRIVATE_LABEL_CARD",CUSTOMER:"CUSTOMER",VAS_DATA:"VAS_DATA"}},75314:t=>{t.exports={PAY_ONLY:"PAY_ONLY",VAS_ONLY:"VAS_ONLY",VAS_OR_PAYMENT:"VAS_OR_PAYMENT",VAS_AND_PAYMENT:"VAS_AND_PAYMENT"}},61691:(t,e,i)=>{var n=i(7497),o=function(){this._class_=o,this.payloadElements=void 0};o.prototype.setPayloadElements=function(t){this.payloadElements=t},o.prototype.getPayloadElements=function(){return this.payloadElements},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payloadElements={},o._meta_.fields.payloadElements.type=Array,o._meta_.fields.payloadElements.elementType=n,t.exports=o},7497:(t,e,i)=>{var n=i(3360),o=i(40492),s=i(64213),r=function(){this._class_=r,this.dataType=void 0,this.responseFormat=void 0,this.vasData=void 0,this.protocolId=void 0,this.merchantId=void 0};r.prototype.setDataType=function(t){this.dataType=t},r.prototype.getDataType=function(){return this.dataType},r.prototype.setResponseFormat=function(t){this.responseFormat=t},r.prototype.getResponseFormat=function(){return this.responseFormat},r.prototype.setVasData=function(t){this.vasData=t},r.prototype.getVasData=function(){return this.vasData},r.prototype.setProtocolId=function(t){this.protocolId=t},r.prototype.getProtocolId=function(){return this.protocolId},r.prototype.setMerchantId=function(t){this.merchantId=t},r.prototype.getMerchantId=function(){return this.merchantId},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.dataType={},r._meta_.fields.dataType.type=s,r._meta_.fields.responseFormat={},r._meta_.fields.responseFormat.type=n,r._meta_.fields.vasData={},r._meta_.fields.vasData.type=String,r._meta_.fields.protocolId={},r._meta_.fields.protocolId.type=o,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=String,t.exports=r},35269:(t,e,i)=>{var n=i(38913),o=function(){this._class_=o,this.responseType=void 0};o.prototype.setResponseType=function(t){this.responseType=t},o.prototype.getResponseType=function(){return this.responseType},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.responseType={},o._meta_.fields.responseType.type=n,t.exports=o},38913:t=>{t.exports={ACCEPTED:"ACCEPTED",PENDING:"PENDING"}},40492:t=>{t.exports={ST:"ST",PK:"PK"}},45265:t=>{t.exports={PUSH_NONE:"PUSH_NONE",PUSH_ONLY:"PUSH_ONLY",PUSH_AND_GET:"PUSH_AND_GET"}},3360:t=>{t.exports={NDEF:"NDEF",STRING:"STRING",ENCRYPTED:"ENCRYPTED"}},90622:(t,e,i)=>{var n=i(40492),o=i(64213),s=function(){this._class_=s,this.providerPackage=void 0,this.protocolId=void 0,this.supportedServices=void 0,this.protocolConfig=void 0,this.pushUrl=void 0,this.pushTitle=void 0};s.prototype.setProviderPackage=function(t){this.providerPackage=t},s.prototype.getProviderPackage=function(){return this.providerPackage},s.prototype.setProtocolId=function(t){this.protocolId=t},s.prototype.getProtocolId=function(){return this.protocolId},s.prototype.setSupportedServices=function(t){this.supportedServices=t},s.prototype.getSupportedServices=function(){return this.supportedServices},s.prototype.setProtocolConfig=function(t){this.protocolConfig=t},s.prototype.getProtocolConfig=function(){return this.protocolConfig},s.prototype.setPushUrl=function(t){this.pushUrl=t},s.prototype.getPushUrl=function(){return this.pushUrl},s.prototype.setPushTitle=function(t){this.pushTitle=t},s.prototype.getPushTitle=function(){return this.pushTitle},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.providerPackage={},s._meta_.fields.providerPackage.type=String,s._meta_.fields.protocolId={},s._meta_.fields.protocolId.type=n,s._meta_.fields.supportedServices={},s._meta_.fields.supportedServices.type=Array,s._meta_.fields.supportedServices.elementType=o,s._meta_.fields.protocolConfig={},s._meta_.fields.protocolConfig.type=Object,s._meta_.fields.pushUrl={},s._meta_.fields.pushUrl.type=String,s._meta_.fields.pushTitle={},s._meta_.fields.pushTitle.type=String,t.exports=s},74965:(t,e,i)=>{var n=i(45265),o=i(75314),s=i(64213),r=function(){this._class_=r,this.vasMode=void 0,this.serviceTypes=void 0,this.extras=void 0,this.pushMode=void 0};r.prototype.setVasMode=function(t){this.vasMode=t},r.prototype.getVasMode=function(){return this.vasMode},r.prototype.setServiceTypes=function(t){this.serviceTypes=t},r.prototype.getServiceTypes=function(){return this.serviceTypes},r.prototype.setExtras=function(t){this.extras=t},r.prototype.getExtras=function(){return this.extras},r.prototype.setPushMode=function(t){this.pushMode=t},r.prototype.getPushMode=function(){return this.pushMode},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.vasMode={},r._meta_.fields.vasMode.type=o,r._meta_.fields.serviceTypes={},r._meta_.fields.serviceTypes.type=Array,r._meta_.fields.serviceTypes.elementType=s,r._meta_.fields.extras={},r._meta_.fields.extras.type=Object,r._meta_.fields.pushMode={},r._meta_.fields.pushMode.type=n,t.exports=r},15118:t=>{var e=function(){this._class_=e,this.first6=void 0,this.last4=void 0,this.cardholderName=void 0,this.expirationDate=void 0,this.token=void 0};e.prototype.setFirst6=function(t){this.first6=t},e.prototype.getFirst6=function(){return this.first6},e.prototype.setLast4=function(t){this.last4=t},e.prototype.getLast4=function(){return this.last4},e.prototype.setCardholderName=function(t){this.cardholderName=t},e.prototype.getCardholderName=function(){return this.cardholderName},e.prototype.setExpirationDate=function(t){this.expirationDate=t},e.prototype.getExpirationDate=function(){return this.expirationDate},e.prototype.setToken=function(t){this.token=t},e.prototype.getToken=function(){return this.token},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.first6={},e._meta_.fields.first6.type=String,e._meta_.fields.last4={},e._meta_.fields.last4.type=String,e._meta_.fields.cardholderName={},e._meta_.fields.cardholderName.type=String,e._meta_.fields.expirationDate={},e._meta_.fields.expirationDate.type=String,e._meta_.fields.token={},e._meta_.fields.token.type=String,t.exports=e},72397:(t,e,i)=>{function n(){}t.exports.payments=n,n.AVSResult=i(80373),n.AccountType=i(18593),n.AdditionalChargeAmount=i(48067),n.AdditionalChargeType=i(32488),n.Authorization=i(93657),n.Batch=i(10360),n.BatchCardTotal=i(19964),n.BatchDetail=i(25093),n.BatchRequest=i(65339),n.BatchState=i(33513),n.BatchTotalStats=i(42802),n.BatchTotalType=i(14415),n.BatchTransactions=i(23549),n.BatchType=i(34160),n.CVVResult=i(74215),n.CardEntryType=i(56614),n.CardTransaction=i(113),n.CardTransactionState=i(688),n.CardTransactionType=i(79682),n.CardType=i(4212),n.CardlessPaymentData=i(78317),n.CardlessPaymentDataType=i(37912),n.CardlessPaymentNetwork=i(57925),n.CashAdvanceCustomerIdentification=i(893),n.CashAdvanceExtra=i(11654),n.Credit=i(6639),n.CreditRefund=i(27022),n.CreditRefundResponse=i(38822),n.CreditRequest=i(23102),n.CreditResponse=i(31575),n.Currency=i(14264),n.CvmResult=i(43634),n.DCCInfo=i(82986),n.DataEntryLocation=i(57953),n.DeviceTotalStats=i(24754),n.DiscountApprover=i(78648),n.ECommTransactionInfo=i(21570),n.EndpointTotalStats=i(12299),n.FailedBatchSettlement=i(76497),n.FraudResponseAction=i(6783),n.FraudResponseCodeType=i(80403),n.FraudResponseReason=i(4302),n.GatewayTxState=i(45318),n.GatewayTxType=i(13911),n.GatewayTxs=i(21029),n.GermanInfo=i(17589),n.GiftCard=i(26175),n.GiftCardResponse=i(91038),n.GiftCardState=i(59042),n.GiftCardTransaction=i(84725),n.IdType=i(20275),n.IncrementalAuthorization=i(79035),n.LineItemPayment=i(62886),n.Payment=i(82794),n.PaymentAttribute=i(4391),n.PaymentResponse=i(90792),n.PaymentResponseFraudSetting=i(5134),n.PaymentTaxRate=i(96207),n.PromotionalMessage=i(65582),n.Refund=i(37471),n.RefundRequest=i(40716),n.RefundResponse=i(46797),n.RegionalExtras=i(49734),n.Result=i(51029),n.ReversalReason=i(4468),n.SelectedService=i(66976),n.ServerTotalStats=i(33066),n.ServiceChargeAmount=i(66824),n.ServiceFeeRefundRequest=i(51743),n.ServiceFeeRequest=i(40188),n.SignatureDisclaimer=i(99485),n.TaxableAmountRate=i(52448),n.TipMode=i(32628),n.TokenRequest=i(95426),n.TokenRequestType=i(73865),n.Transaction=i(98957),n.TransactionInfo=i(50234),n.TransactionResult=i(57311),n.TransactionSettings=i(56135),n.TxFormat=i(43762),n.TxType=i(82447),n.Type=i(88960),n.VasConfig=i(53266),n.VasDataType=i(64213),n.VasDataTypeType=i(7641),n.VasMode=i(75314),n.VasPayload=i(61691),n.VasPayloadElement=i(7497),n.VasPayloadResponse=i(35269),n.VasPayloadResponseType=i(38913),n.VasProtocol=i(40492),n.VasPushMode=i(45265),n.VasResponseFormat=i(3360),n.VasServiceProvider=i(90622),n.VasSettings=i(74965),n.VaultedCard=i(15118),t.exports=n},34454:t=>{t.exports={ORDER:"ORDER",RECEIPT:"RECEIPT",FISCAL:"FISCAL",LABEL:"LABEL"}},15350:t=>{t.exports={IN_QUEUE:"IN_QUEUE",PRINTING:"PRINTING",DONE:"DONE",ERROR:"ERROR",UNKNOWN:"UNKNOWN",NOT_FOUND:"NOT_FOUND"}},43540:(t,e,i)=>{var n=i(78353),o=function(){this._class_=o,this.id=void 0,this.mac=void 0,this.model=void 0,this.name=void 0,this.ipAddress=void 0,this.type=void 0};o.prototype.setId=function(t){this.id=t},o.prototype.getId=function(){return this.id},o.prototype.setMac=function(t){this.mac=t},o.prototype.getMac=function(){return this.mac},o.prototype.setModel=function(t){this.model=t},o.prototype.getModel=function(){return this.model},o.prototype.setName=function(t){this.name=t},o.prototype.getName=function(){return this.name},o.prototype.setIpAddress=function(t){this.ipAddress=t},o.prototype.getIpAddress=function(){return this.ipAddress},o.prototype.setType=function(t){this.type=t},o.prototype.getType=function(){return this.type},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.id={},o._meta_.fields.id.type=String,o._meta_.fields.mac={},o._meta_.fields.mac.type=String,o._meta_.fields.model={},o._meta_.fields.model.type=String,o._meta_.fields.name={},o._meta_.fields.name.type=String,o._meta_.fields.ipAddress={},o._meta_.fields.ipAddress.type=String,o._meta_.fields.type={},o._meta_.fields.type.type=n,t.exports=o},78353:t=>{t.exports={NETWORK:"NETWORK",MY_LOCAL:"MY_LOCAL"}},54492:(t,e,i)=>{function n(){}t.exports.printer=n,n.PrintCategory=i(34454),n.PrintJobStatus=i(15350),n.Printer=i(43540),n.PrinterType=i(78353),t.exports=n},71410:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACK),this.sourceMethod=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSourceMethod=function(t){this.sourceMethod=t},s.prototype.getSourceMethod=function(){return this.sourceMethod},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.sourceMethod={},s._meta_.fields.sourceMethod.type=n,t.exports=s},93974:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_MESSAGE_FROM_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,t.exports=s},76307:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_MESSAGE_TO_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,t.exports=s},29195:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_REQUEST),this.action=void 0,this.payload=void 0,this.nonBlocking=void 0,this.forceLaunch=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setNonBlocking=function(t){this.nonBlocking=t},s.prototype.getNonBlocking=function(){return this.nonBlocking},s.prototype.setForceLaunch=function(t){this.forceLaunch=t},s.prototype.getForceLaunch=function(){return this.forceLaunch},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.action={},s._meta_.fields.action.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.nonBlocking={},s._meta_.fields.nonBlocking.type=Boolean,s._meta_.fields.forceLaunch={},s._meta_.fields.forceLaunch.type=Boolean,t.exports=s},45126:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.ACTIVITY_RESPONSE),this.resultCode=void 0,this.failReason=void 0,this.payload=void 0,this.action=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setResultCode=function(t){this.resultCode=t},s.prototype.getResultCode=function(){return this.resultCode},s.prototype.setFailReason=function(t){this.failReason=t},s.prototype.getFailReason=function(){return this.failReason},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setAction=function(t){this.action=t},s.prototype.getAction=function(){return this.action},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.resultCode={},s._meta_.fields.resultCode.type=Number,s._meta_.fields.failReason={},s._meta_.fields.failReason.type=String,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.action={},s._meta_.fields.action.type=String,t.exports=s},28162:(t,e,i)=>{var n=i(16572),o=function(){this._class_=o,this.discount=void 0};o.prototype.setDiscount=function(t){this.discount=t},o.prototype.getDiscount=function(){return this.discount},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.discount={},o._meta_.fields.discount.type=n,t.exports=o},32364:(t,e,i)=>{var n=i(6062),o=function(){this._class_=o,this.lineItem=void 0,this.taxable=void 0};o.prototype.setLineItem=function(t){this.lineItem=t},o.prototype.getLineItem=function(){return this.lineItem},o.prototype.setTaxable=function(t){this.taxable=t},o.prototype.getTaxable=function(){return this.taxable},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.lineItem={},o._meta_.fields.lineItem.type=n,o._meta_.fields.taxable={},o._meta_.fields.taxable.type=Boolean,t.exports=o},4295:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.BALANCE_INQUIRY),this.cardEntryMethods=void 0,this.cardDataMessage=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},s.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},s.prototype.setCardDataMessage=function(t){this.cardDataMessage=t},s.prototype.getCardDataMessage=function(){return this.cardDataMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardEntryMethods={},s._meta_.fields.cardEntryMethods.type=Number,s._meta_.fields.cardDataMessage={},s._meta_.fields.cardDataMessage.type=String,t.exports=s},57885:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(27138),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.BALANCE_INQUIRY_RESPONSE),this.status=void 0,this.reason=void 0,this.payment=void 0,this.cardDetails=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setCardDetails=function(t){this.cardDetails=t},l.prototype.getCardDetails=function(){return this.cardDetails},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.status={},l._meta_.fields.status.type=o,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.payment={},l._meta_.fields.payment.type=a,l._meta_.fields.cardDetails={},l._meta_.fields.cardDetails.type=s,t.exports=l},8763:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.BREAK)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},22008:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CAPTURE_PREAUTH),this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},25478:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CAPTURE_PREAUTH_RESPONSE),this.status=void 0,this.reason=void 0,this.message=void 0,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setMessage=function(t){this.message=t},r.prototype.getMessage=function(){return this.message},r.prototype.setPaymentId=function(t){this.paymentId=t},r.prototype.getPaymentId=function(){return this.paymentId},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setTipAmount=function(t){this.tipAmount=t},r.prototype.getTipAmount=function(){return this.tipAmount},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.status={},r._meta_.fields.status.type=o,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.message={},r._meta_.fields.message.type=String,r._meta_.fields.paymentId={},r._meta_.fields.paymentId.type=String,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.tipAmount={},r._meta_.fields.tipAmount.type=Number,t.exports=r},17843:(t,e,i)=>{var n=i(58552),o=i(23305),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CARD_DATA),this.payIntent=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPayIntent=function(t){this.payIntent=t},r.prototype.getPayIntent=function(){return this.payIntent},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.payIntent={},r._meta_.fields.payIntent.type=o,t.exports=r},71346:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(9728),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.CARD_DATA_RESPONSE),this.reason=void 0,this.status=void 0,this.cardData=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setCardData=function(t){this.cardData=t},a.prototype.getCardData=function(){return this.cardData},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.cardData={},a._meta_.fields.cardData.type=r,t.exports=a},1838:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CASHBACK_SELECTED),this.cashbackAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCashbackAmount=function(t){this.cashbackAmount=t},s.prototype.getCashbackAmount=function(){return this.cashbackAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cashbackAmount={},s._meta_.fields.cashbackAmount.type=Number,t.exports=s},91146:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CLOSEOUT_REQUEST),this.allowOpenTabs=void 0,this.batchId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},s.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},s.prototype.setBatchId=function(t){this.batchId=t},s.prototype.getBatchId=function(){return this.batchId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.allowOpenTabs={},s._meta_.fields.allowOpenTabs.type=Boolean,s._meta_.fields.batchId={},s._meta_.fields.batchId.type=String,t.exports=s},9139:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(10360),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.CLOSEOUT_RESPONSE),this.reason=void 0,this.status=void 0,this.batch=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setBatch=function(t){this.batch=t},a.prototype.getBatch=function(){return this.batch},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.batch={},a._meta_.fields.batch.type=s,t.exports=a},93761:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CLOVER_DEVICE_LOG_REQUEST),this.message=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},58429:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.CONFIGURATION_CHANGE),this.configurationType=void 0,this.configuration=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setConfigurationType=function(t){this.configurationType=t},s.prototype.getConfigurationType=function(){return this.configurationType},s.prototype.setConfiguration=function(t){this.configuration=t},s.prototype.getConfiguration=function(){return this.configuration},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.configurationType={},s._meta_.fields.configurationType.type=String,s._meta_.fields.configuration={},s._meta_.fields.configuration.type=String,t.exports=s},85919:(t,e,i)=>{var n=i(58552),o=i(52514),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.CONFIRM_PAYMENT_MESSAGE),this.payment=void 0,this.challenges=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setChallenges=function(t){this.challenges=t},a.prototype.getChallenges=function(){return this.challenges},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.challenges={},a._meta_.fields.challenges.type=Array,a._meta_.fields.challenges.elementType=o,t.exports=a},50441:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6639),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_CREDIT),this.credit=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCredit=function(t){this.credit=t},r.prototype.getCredit=function(){return this.credit},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,t.exports=r},24088:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(84265),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.CUSTOMER_INFO_MESSAGE),this.customer=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCustomer=function(t){this.customer=t},r.prototype.getCustomer=function(){return this.customer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.customer={},r._meta_.fields.customer.type=s,t.exports=r},41936:(t,e,i)=>{var n=i(58552),o=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.CUSTOMER_PROVIDED_DATA_MESSAGE),this.eventId=void 0,this.config=void 0,this.data=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setEventId=function(t){this.eventId=t},r.prototype.getEventId=function(){return this.eventId},r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.eventId={},r._meta_.fields.eventId.type=String,r._meta_.fields.config={},r._meta_.fields.config.type=o,r._meta_.fields.data={},r._meta_.fields.data.type=String,t.exports=r},38237:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6639),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_CREDIT_DECLINE),this.credit=void 0,this.reason=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCredit=function(t){this.credit=t},r.prototype.getCredit=function(){return this.credit},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},86712:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_PAYMENT_DECLINE),this.payment=void 0,this.reason=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},46025:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.DISCOVERY_REQUEST),this.supportsOrderModification=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSupportsOrderModification=function(t){this.supportsOrderModification=t},s.prototype.getSupportsOrderModification=function(){return this.supportsOrderModification},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.supportsOrderModification={},s._meta_.fields.supportsOrderModification.type=Boolean,t.exports=s},44709:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.DISCOVERY_RESPONSE),this.merchantId=void 0,this.merchantName=void 0,this.merchantMId=void 0,this.name=void 0,this.serial=void 0,this.model=void 0,this.ready="false",this.supportsTipAdjust="false",this.supportsManualRefund="false",this.supportsMultiPayToken="false",this.supportsAcknowledgement="false",this.supportsPreAuth="false",this.supportsAuth="false",this.supportsVaultCard="false",this.supportsVoidPaymentResponse="false"};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setMerchantId=function(t){this.merchantId=t},s.prototype.getMerchantId=function(){return this.merchantId},s.prototype.setMerchantName=function(t){this.merchantName=t},s.prototype.getMerchantName=function(){return this.merchantName},s.prototype.setMerchantMId=function(t){this.merchantMId=t},s.prototype.getMerchantMId=function(){return this.merchantMId},s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSerial=function(t){this.serial=t},s.prototype.getSerial=function(){return this.serial},s.prototype.setModel=function(t){this.model=t},s.prototype.getModel=function(){return this.model},s.prototype.setReady=function(t){this.ready=t},s.prototype.getReady=function(){return this.ready},s.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},s.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},s.prototype.setSupportsManualRefund=function(t){this.supportsManualRefund=t},s.prototype.getSupportsManualRefund=function(){return this.supportsManualRefund},s.prototype.setSupportsMultiPayToken=function(t){this.supportsMultiPayToken=t},s.prototype.getSupportsMultiPayToken=function(){return this.supportsMultiPayToken},s.prototype.setSupportsAcknowledgement=function(t){this.supportsAcknowledgement=t},s.prototype.getSupportsAcknowledgement=function(){return this.supportsAcknowledgement},s.prototype.setSupportsPreAuth=function(t){this.supportsPreAuth=t},s.prototype.getSupportsPreAuth=function(){return this.supportsPreAuth},s.prototype.setSupportsAuth=function(t){this.supportsAuth=t},s.prototype.getSupportsAuth=function(){return this.supportsAuth},s.prototype.setSupportsVaultCard=function(t){this.supportsVaultCard=t},s.prototype.getSupportsVaultCard=function(){return this.supportsVaultCard},s.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},s.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.merchantId={},s._meta_.fields.merchantId.type=String,s._meta_.fields.merchantName={},s._meta_.fields.merchantName.type=String,s._meta_.fields.merchantMId={},s._meta_.fields.merchantMId.type=String,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.serial={},s._meta_.fields.serial.type=String,s._meta_.fields.model={},s._meta_.fields.model.type=String,s._meta_.fields.ready={},s._meta_.fields.ready.type=Boolean,s._meta_.fields.supportsTipAdjust={},s._meta_.fields.supportsTipAdjust.type=Boolean,s._meta_.fields.supportsManualRefund={},s._meta_.fields.supportsManualRefund.type=Boolean,s._meta_.fields.supportsMultiPayToken={},s._meta_.fields.supportsMultiPayToken.type=Boolean,s._meta_.fields.supportsAcknowledgement={},s._meta_.fields.supportsAcknowledgement.type=Boolean,s._meta_.fields.supportsPreAuth={},s._meta_.fields.supportsPreAuth.type=Boolean,s._meta_.fields.supportsAuth={},s._meta_.fields.supportsAuth.type=Boolean,s._meta_.fields.supportsVaultCard={},s._meta_.fields.supportsVaultCard.type=Boolean,s._meta_.fields.supportsVoidPaymentResponse={},s._meta_.fields.supportsVoidPaymentResponse.type=Boolean,t.exports=s},29450:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.EMPLOYEE_PERMISSIONS_REQUEST),this.reason=void 0,this.permissions=void 0,this.appPackage=void 0,this.showCancelButton=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setPermissions=function(t){this.permissions=t},s.prototype.getPermissions=function(){return this.permissions},s.prototype.setAppPackage=function(t){this.appPackage=t},s.prototype.getAppPackage=function(){return this.appPackage},s.prototype.setShowCancelButton=function(t){this.showCancelButton=t},s.prototype.getShowCancelButton=function(){return this.showCancelButton},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.reason={},s._meta_.fields.reason.type=String,s._meta_.fields.permissions={},s._meta_.fields.permissions.type=String,s._meta_.fields.appPackage={},s._meta_.fields.appPackage.type=String,s._meta_.fields.showCancelButton={},s._meta_.fields.showCancelButton.type=Boolean,t.exports=s},59911:t=>{t.exports={ORDER_NOT_FOUND:"ORDER_NOT_FOUND",PAYMENT_NOT_FOUND:"PAYMENT_NOT_FOUND",FAIL:"FAIL"}},6694:(t,e,i)=>{var n=i(59911),o=function(){this._class_=o,this.errorCode=void 0};o.prototype.setErrorCode=function(t){this.errorCode=t},o.prototype.getErrorCode=function(){return this.errorCode},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.errorCode={},o._meta_.fields.errorCode.type=n,t.exports=o},13382:t=>{t.exports={IDLE:"IDLE",BUSY:"BUSY",WAITING_FOR_POS:"WAITING_FOR_POS",WAITING_FOR_CUSTOMER:"WAITING_FOR_CUSTOMER",UNKNOWN:"UNKNOWN"}},6505:t=>{var e=function(){this._class_=e,this.externalPaymentId=void 0,this.customActivityId=void 0};e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setCustomActivityId=function(t){this.customActivityId=t},e.prototype.getCustomActivityId=function(){return this.customActivityId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.customActivityId={},e._meta_.fields.customActivityId.type=String,t.exports=e},89279:(t,e,i)=>{var n=i(13382),o=function(){this._class_=o,this.state=void 0};o.prototype.setState=function(t){this.state=t},o.prototype.getState=function(){return this.state},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.state={},o._meta_.fields.state.type=n,t.exports=o},74199:t=>{t.exports={CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",STARTING_PAYMENT_FLOW:"STARTING_PAYMENT_FLOW",PROCESSING_PAYMENT:"PROCESSING_PAYMENT",PROCESSING_CARD_DATA:"PROCESSING_CARD_DATA",PROCESSING_CREDIT:"PROCESSING_CREDIT",VERIFY_SIGNATURE:"VERIFY_SIGNATURE",TIP_SCREEN:"TIP_SCREEN",RECEIPT_SCREEN:"RECEIPT_SCREEN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",UNKNOWN:"UNKNOWN"}},44132:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.FINISH_CANCEL),this.requestInfo=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setRequestInfo=function(t){this.requestInfo=t},s.prototype.getRequestInfo=function(){return this.requestInfo},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.requestInfo={},s._meta_.fields.requestInfo.type=String,t.exports=s},4847:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(42348),a=i(37471),l=i(6639),d=function(){o.call(this),this._superClass_=o,this._class_=d,this.setMethod(n.FINISH_OK),this.credit=void 0,this.payment=void 0,this.refund=void 0,this.signature=void 0,this.requestInfo=void 0};d.prototype=Object.create(o.prototype),d.prototype.constructor=d,d.prototype.setCredit=function(t){this.credit=t},d.prototype.getCredit=function(){return this.credit},d.prototype.setPayment=function(t){this.payment=t},d.prototype.getPayment=function(){return this.payment},d.prototype.setRefund=function(t){this.refund=t},d.prototype.getRefund=function(){return this.refund},d.prototype.setSignature=function(t){this.signature=t},d.prototype.getSignature=function(){return this.signature},d.prototype.setRequestInfo=function(t){this.requestInfo=t},d.prototype.getRequestInfo=function(){return this.requestInfo},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=o._meta_,d._meta_.fields.credit={},d._meta_.fields.credit.type=l,d._meta_.fields.payment={},d._meta_.fields.payment.type=s,d._meta_.fields.refund={},d._meta_.fields.refund.type=a,d._meta_.fields.signature={},d._meta_.fields.signature.type=r,d._meta_.fields.requestInfo={},d._meta_.fields.requestInfo.type=String,t.exports=d},87233:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.FORCECONNECT),this.friendlyId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFriendlyId=function(t){this.friendlyId=t},s.prototype.getFriendlyId=function(){return this.friendlyId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.friendlyId={},s._meta_.fields.friendlyId.type=String,t.exports=s},34077:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(34454),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.GET_PRINTERS_REQUEST),this.category=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setCategory=function(t){this.category=t},r.prototype.getCategory=function(){return this.category},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.category={},r._meta_.fields.category.type=s,t.exports=r},63019:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.GET_PRINTERS_RESPONSE),this.printers=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPrinters=function(t){this.printers=t},r.prototype.getPrinters=function(){return this.printers},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.printers={},r._meta_.fields.printers.type=Array,r._meta_.fields.printers.elementType=o,t.exports=r},54294:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_IMAGE),this.png=void 0,this.urlString=void 0,this.externalPrintJobId=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setPng=function(t){this.png=t},r.prototype.getPng=function(){return this.png},r.prototype.setUrlString=function(t){this.urlString=t},r.prototype.getUrlString=function(){return this.urlString},r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.png={},r._meta_.fields.png.type=Object,r._meta_.fields.urlString={},r._meta_.fields.urlString.type=String,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},6556:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.INCREMENT_PREAUTH_REQUEST),this.amount=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},13500:(t,e,i)=>{var n=i(58552),o=i(93657),s=i(39933),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.INCREMENT_PREAUTH_RESPONSE),this.status=void 0,this.reason=void 0,this.authorization=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setAuthorization=function(t){this.authorization=t},a.prototype.getAuthorization=function(){return this.authorization},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=s,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.authorization={},a._meta_.fields.authorization.type=o,t.exports=a},10915:(t,e,i)=>{var n=i(52750),o=function(){this._class_=o,this.keyPress=void 0,this.description=void 0};o.prototype.setKeyPress=function(t){this.keyPress=t},o.prototype.getKeyPress=function(){return this.keyPress},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.keyPress={},o._meta_.fields.keyPress.type=n,o._meta_.fields.description={},o._meta_.fields.description.type=String,t.exports=o},58394:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),d=function(){a.call(this),this._superClass_=a,this._class_=d,this.setMethod(n.INVALID_STATE_TRANSITION),this.result=void 0,this.reason=void 0,this.requestedTransition=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};d.prototype=Object.create(a.prototype),d.prototype.constructor=d,d.prototype.setResult=function(t){this.result=t},d.prototype.getResult=function(){return this.result},d.prototype.setReason=function(t){this.reason=t},d.prototype.getReason=function(){return this.reason},d.prototype.setRequestedTransition=function(t){this.requestedTransition=t},d.prototype.getRequestedTransition=function(){return this.requestedTransition},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setSubstate=function(t){this.substate=t},d.prototype.getSubstate=function(){return this.substate},d.prototype.setData=function(t){this.data=t},d.prototype.getData=function(){return this.data},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=a._meta_,d._meta_.fields.result={},d._meta_.fields.result.type=o,d._meta_.fields.reason={},d._meta_.fields.reason.type=String,d._meta_.fields.requestedTransition={},d._meta_.fields.requestedTransition.type=String,d._meta_.fields.state={},d._meta_.fields.state.type=r,d._meta_.fields.substate={},d._meta_.fields.substate.type=s,d._meta_.fields.data={},d._meta_.fields.data.type=l,t.exports=d},52750:t=>{t.exports={NONE:"NONE",ENTER:"ENTER",ESC:"ESC",BACKSPACE:"BACKSPACE",TAB:"TAB",STAR:"STAR",BUTTON_1:"BUTTON_1",BUTTON_2:"BUTTON_2",BUTTON_3:"BUTTON_3",BUTTON_4:"BUTTON_4",BUTTON_5:"BUTTON_5",BUTTON_6:"BUTTON_6",BUTTON_7:"BUTTON_7",BUTTON_8:"BUTTON_8",DIGIT_1:"DIGIT_1",DIGIT_2:"DIGIT_2",DIGIT_3:"DIGIT_3",DIGIT_4:"DIGIT_4",DIGIT_5:"DIGIT_5",DIGIT_6:"DIGIT_6",DIGIT_7:"DIGIT_7",DIGIT_8:"DIGIT_8",DIGIT_9:"DIGIT_9",DIGIT_0:"DIGIT_0"}},66688:(t,e,i)=>{var n=i(52750),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},94368:(t,e,i)=>{var n=i(58552),o=i(52750),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.KEY_PRESS),this.keyPress=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setKeyPress=function(t){this.keyPress=t},r.prototype.getKeyPress=function(){return this.keyPress},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.keyPress={},r._meta_.fields.keyPress.type=o,t.exports=r},95169:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.LAST_MSG_REQUEST)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},63581:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.LAST_MSG_RESPONSE),this.request=void 0,this.response=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setRequest=function(t){this.request=t},s.prototype.getRequest=function(){return this.request},s.prototype.setResponse=function(t){this.response=t},s.prototype.getResponse=function(){return this.response},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.request={},s._meta_.fields.request.type=o,s._meta_.fields.response={},s._meta_.fields.response.type=o,t.exports=s},42128:t=>{t.exports={VERBOSE:"VERBOSE",DEBUG:"DEBUG",INFO:"INFO",WARN:"WARN",ERROR:"ERROR"}},60536:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(42128),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.LOG_MESSAGE),this.logLevel=void 0,this.messages=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setLogLevel=function(t){this.logLevel=t},r.prototype.getLogLevel=function(){return this.logLevel},r.prototype.setMessages=function(t){this.messages=t},r.prototype.getMessages=function(){return this.messages},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.logLevel={},r._meta_.fields.logLevel.type=s,r._meta_.fields.messages={},r._meta_.fields.messages.type=Object,t.exports=r},64202:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_CALCULATED),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setLoyaltyUuid=function(t){this.loyaltyUuid=t},s.prototype.getLoyaltyUuid=function(){return this.loyaltyUuid},s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.loyaltyUuid={},s._meta_.fields.loyaltyUuid.type=String,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},92507:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_EARNED_SCREEN),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setLoyaltyUuid=function(t){this.loyaltyUuid=t},s.prototype.getLoyaltyUuid=function(){return this.loyaltyUuid},s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.loyaltyUuid={},s._meta_.fields.loyaltyUuid.type=String,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},92027:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_LOYALTY_POINTS_RECEIPT_PRINTED),this.points=void 0,this.orderId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPoints=function(t){this.points=t},s.prototype.getPoints=function(){return this.points},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.points={},s._meta_.fields.points.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,t.exports=s},63485:(t,e,i)=>{var n=i(58552),o=function(){this._class_=o,this.method=void 0,this.messageId=void 0,this.sourceMessageId=void 0,this.version=0};o.prototype.setMethod=function(t){this.method=t},o.prototype.getMethod=function(){return this.method},o.prototype.setMessageId=function(t){this.messageId=t},o.prototype.getMessageId=function(){return this.messageId},o.prototype.setSourceMessageId=function(t){this.sourceMessageId=t},o.prototype.getSourceMessageId=function(){return this.sourceMessageId},o.prototype.setVersion=function(t){this.version=t},o.prototype.getVersion=function(){return this.version},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.method={},o._meta_.fields.method.type=n,o._meta_.fields.messageId={},o._meta_.fields.messageId.type=String,o._meta_.fields.sourceMessageId={},o._meta_.fields.sourceMessageId.type=String,o._meta_.fields.version={},o._meta_.fields.version.type=Number,t.exports=o},58552:t=>{t.exports={ACK:"ACK",ACTIVITY_MESSAGE_FROM_ACTIVITY:"ACTIVITY_MESSAGE_FROM_ACTIVITY",ACTIVITY_MESSAGE_TO_ACTIVITY:"ACTIVITY_MESSAGE_TO_ACTIVITY",ACTIVITY_REQUEST:"ACTIVITY_REQUEST",EMPLOYEE_PERMISSIONS_REQUEST:"EMPLOYEE_PERMISSIONS_REQUEST",ACTIVITY_RESPONSE:"ACTIVITY_RESPONSE",BREAK:"BREAK",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",CAPTURE_PREAUTH_RESPONSE:"CAPTURE_PREAUTH_RESPONSE",CARD_DATA:"CARD_DATA",CARD_DATA_RESPONSE:"CARD_DATA_RESPONSE",CASHBACK_SELECTED:"CASHBACK_SELECTED",CLEAR_SESSION:"CLEAR_SESSION",CLOSEOUT_REQUEST:"CLOSEOUT_REQUEST",CLOSEOUT_RESPONSE:"CLOSEOUT_RESPONSE",CLOVER_DEVICE_LOG_REQUEST:"CLOVER_DEVICE_LOG_REQUEST",CONFIGURATION_CHANGE:"CONFIGURATION_CHANGE",CONFIRM_PAYMENT_MESSAGE:"CONFIRM_PAYMENT_MESSAGE",CUSTOMER_INFO_MESSAGE:"CUSTOMER_INFO_MESSAGE",DISCOVERY_REQUEST:"DISCOVERY_REQUEST",DISCOVERY_RESPONSE:"DISCOVERY_RESPONSE",FINISH_CANCEL:"FINISH_CANCEL",FINISH_OK:"FINISH_OK",FORCECONNECT:"FORCECONNECT",GET_PRINTERS_REQUEST:"GET_PRINTERS_REQUEST",GET_PRINTERS_RESPONSE:"GET_PRINTERS_RESPONSE",INCREMENT_PREAUTH_REQUEST:"INCREMENT_PREAUTH_REQUEST",INCREMENT_PREAUTH_RESPONSE:"INCREMENT_PREAUTH_RESPONSE",INVALID_STATE_TRANSITION:"INVALID_STATE_TRANSITION",KEY_PRESS:"KEY_PRESS",LAST_MSG_REQUEST:"LAST_MSG_REQUEST",LAST_MSG_RESPONSE:"LAST_MSG_RESPONSE",LOG_MESSAGE:"LOG_MESSAGE",OPEN_CASH_DRAWER:"OPEN_CASH_DRAWER",ORDER_ACTION_ADD_DISCOUNT:"ORDER_ACTION_ADD_DISCOUNT",ORDER_ACTION_ADD_LINE_ITEM:"ORDER_ACTION_ADD_LINE_ITEM",ORDER_ACTION_REMOVE_DISCOUNT:"ORDER_ACTION_REMOVE_DISCOUNT",ORDER_ACTION_REMOVE_LINE_ITEM:"ORDER_ACTION_REMOVE_LINE_ITEM",ORDER_ACTION_RESPONSE:"ORDER_ACTION_RESPONSE",PAIRING_CODE:"PAIRING_CODE",PAIRING_REQUEST:"PAIRING_REQUEST",PAIRING_RESPONSE:"PAIRING_RESPONSE",PARTIAL_AUTH:"PARTIAL_AUTH",PAYMENT_CONFIRMED:"PAYMENT_CONFIRMED",PAYMENT_REJECTED:"PAYMENT_REJECTED",PAYMENT_VOIDED:"PAYMENT_VOIDED",PRINT_CREDIT:"PRINT_CREDIT",PRINT_CREDIT_DECLINE:"PRINT_CREDIT_DECLINE",PRINT_IMAGE:"PRINT_IMAGE",PRINT_JOB_STATUS_REQUEST:"PRINT_JOB_STATUS_REQUEST",PRINT_JOB_STATUS_RESPONSE:"PRINT_JOB_STATUS_RESPONSE",PRINT_PAYMENT:"PRINT_PAYMENT",PRINT_PAYMENT_DECLINE:"PRINT_PAYMENT_DECLINE",PRINT_PAYMENT_MERCHANT_COPY:"PRINT_PAYMENT_MERCHANT_COPY",PRINT_TEXT:"PRINT_TEXT",REFUND_PRINT_PAYMENT:"REFUND_PRINT_PAYMENT",REFUND_REQUEST:"REFUND_REQUEST",REFUND_RESPONSE:"REFUND_RESPONSE",REMOTE_ERROR:"REMOTE_ERROR",RESET:"RESET",RESET_DEVICE_RESPONSE:"RESET_DEVICE_RESPONSE",RETRIEVE_CUSTOM_ACTIVITIES_REQUEST:"RETRIEVE_CUSTOM_ACTIVITIES_REQUEST",RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE:"RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE",RETRIEVE_DEVICE_STATUS_REQUEST:"RETRIEVE_DEVICE_STATUS_REQUEST",RETRIEVE_DEVICE_STATUS_RESPONSE:"RETRIEVE_DEVICE_STATUS_RESPONSE",RETRIEVE_PAYMENT_REQUEST:"RETRIEVE_PAYMENT_REQUEST",RETRIEVE_PAYMENT_RESPONSE:"RETRIEVE_PAYMENT_RESPONSE",RETRIEVE_PENDING_PAYMENTS:"RETRIEVE_PENDING_PAYMENTS",RETRIEVE_PENDING_PAYMENTS_RESPONSE:"RETRIEVE_PENDING_PAYMENTS_RESPONSE",SET_ORDER:"SET_ORDER",SHOW_LOYALTY_POINTS_CALCULATED:"SHOW_LOYALTY_POINTS_CALCULATED",SHOW_LOYALTY_POINTS_EARNED_SCREEN:"SHOW_LOYALTY_POINTS_EARNED_SCREEN",SHOW_LOYALTY_POINTS_RECEIPT_PRINTED:"SHOW_LOYALTY_POINTS_RECEIPT_PRINTED",SHOW_ORDER_SCREEN:"SHOW_ORDER_SCREEN",SHOW_PAYMENT_RECEIPT_OPTIONS:"SHOW_PAYMENT_RECEIPT_OPTIONS",SHOW_THANK_YOU_SCREEN:"SHOW_THANK_YOU_SCREEN",SHOW_WELCOME_SCREEN:"SHOW_WELCOME_SCREEN",SHUTDOWN:"SHUTDOWN",SIGNATURE_VERIFIED:"SIGNATURE_VERIFIED",START_VAS:"START_VAS",STOP_VAS:"STOP_VAS",TERMINAL_MESSAGE:"TERMINAL_MESSAGE",TIP_ADDED:"TIP_ADDED",TIP_ADJUST:"TIP_ADJUST",TIP_ADJUST_RESPONSE:"TIP_ADJUST_RESPONSE",TX_START:"TX_START",TX_START_RESPONSE:"TX_START_RESPONSE",TX_STATE:"TX_STATE",UI_STATE:"UI_STATE",VAS_CONFIG:"VAS_CONFIG",VAS_CONFIG_CHANGED:"VAS_CONFIG_CHANGED",VAS_PAYLOAD_MESSAGE:"VAS_PAYLOAD_MESSAGE",VAS_STATE:"VAS_STATE",VAULT_CARD:"VAULT_CARD",VAULT_CARD_RESPONSE:"VAULT_CARD_RESPONSE",VERIFY_SIGNATURE:"VERIFY_SIGNATURE",VOID_PAYMENT:"VOID_PAYMENT",VOID_PAYMENT_RESPONSE:"VOID_PAYMENT_RESPONSE",VOID_PAYMENT_REFUND:"VOID_PAYMENT_REFUND",VOID_PAYMENT_REFUND_RESPONSE:"VOID_PAYMENT_REFUND_RESPONSE",VOID_CREDIT:"VOID_CREDIT",VOID_CREDIT_RESPONSE:"VOID_CREDIT_RESPONSE",REGISTER_FOR_CUST_DATA:"REGISTER_FOR_CUST_DATA",CUSTOMER_PROVIDED_DATA_MESSAGE:"CUSTOMER_PROVIDED_DATA_MESSAGE",LOYALTY_CONFIG:"LOYALTY_CONFIG",SHOW_RECEIPT_OPTIONS:"SHOW_RECEIPT_OPTIONS",SHOW_RECEIPT_OPTIONS_RESPONSE:"SHOW_RECEIPT_OPTIONS_RESPONSE",REQUEST_SIGNATURE:"REQUEST_SIGNATURE",REQUEST_SIGNATURE_RESPONSE:"REQUEST_SIGNATURE_RESPONSE",BALANCE_INQUIRY:"BALANCE_INQUIRY",BALANCE_INQUIRY_RESPONSE:"BALANCE_INQUIRY_RESPONSE",REQUEST_TIP:"REQUEST_TIP",REQUEST_TIP_RESPONSE:"REQUEST_TIP_RESPONSE",CARD_DETAILS:"CARD_DETAILS",CARD_DETAILS_RESPONSE:"CARD_DETAILS_RESPONSE"}},92444:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.OPEN_CASH_DRAWER),this.reason=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},28333:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(28162),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_ADD_DISCOUNT),this.addDiscountAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setAddDiscountAction=function(t){this.addDiscountAction=t},r.prototype.getAddDiscountAction=function(){return this.addDiscountAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.addDiscountAction={},r._meta_.fields.addDiscountAction.type=s,t.exports=r},4861:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(32364),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_ADD_LINE_ITEM),this.addLineItemAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setAddLineItemAction=function(t){this.addLineItemAction=t},r.prototype.getAddLineItemAction=function(){return this.addLineItemAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.addLineItemAction={},r._meta_.fields.addLineItemAction.type=s,t.exports=r},3559:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(22873),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_REMOVE_DISCOUNT),this.removeDiscountAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRemoveDiscountAction=function(t){this.removeDiscountAction=t},r.prototype.getRemoveDiscountAction=function(){return this.removeDiscountAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.removeDiscountAction={},r._meta_.fields.removeDiscountAction.type=s,t.exports=r},21497:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(6294),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_REMOVE_LINE_ITEM),this.removeLineItemAction=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRemoveLineItemAction=function(t){this.removeLineItemAction=t},r.prototype.getRemoveLineItemAction=function(){return this.removeLineItemAction},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.removeLineItemAction={},r._meta_.fields.removeLineItemAction.type=s,t.exports=r},91485:t=>{var e=function(){this._class_=e,this.accepted=void 0,this.id=void 0};e.prototype.setAccepted=function(t){this.accepted=t},e.prototype.getAccepted=function(){return this.accepted},e.prototype.setId=function(t){this.id=t},e.prototype.getId=function(){return this.id},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.accepted={},e._meta_.fields.accepted.type=Boolean,e._meta_.fields.id={},e._meta_.fields.id.type=String,t.exports=e},79477:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(91485),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.ORDER_ACTION_RESPONSE),this.orderActionResponse=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setOrderActionResponse=function(t){this.orderActionResponse=t},r.prototype.getOrderActionResponse=function(){return this.orderActionResponse},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.orderActionResponse={},r._meta_.fields.orderActionResponse.type=s,t.exports=r},976:(t,e,i)=>{var n=i(58552),o=i(78368),s=i(30087),r=i(63485),a=i(89361),l=i(79494),d=i(2565),u=i(74066),p=function(){r.call(this),this._superClass_=r,this._class_=p,this.setMethod(n.SHOW_ORDER_SCREEN),this.order=void 0,this.lineItemsAddedOperation=void 0,this.lineItemsDeletedOperation=void 0,this.discountsAddedOperation=void 0,this.discountsDeletedOperation=void 0,this.orderDeletedOperation=void 0};p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.setOrder=function(t){this.order=t},p.prototype.getOrder=function(){return this.order},p.prototype.setLineItemsAddedOperation=function(t){this.lineItemsAddedOperation=t},p.prototype.getLineItemsAddedOperation=function(){return this.lineItemsAddedOperation},p.prototype.setLineItemsDeletedOperation=function(t){this.lineItemsDeletedOperation=t},p.prototype.getLineItemsDeletedOperation=function(){return this.lineItemsDeletedOperation},p.prototype.setDiscountsAddedOperation=function(t){this.discountsAddedOperation=t},p.prototype.getDiscountsAddedOperation=function(){return this.discountsAddedOperation},p.prototype.setDiscountsDeletedOperation=function(t){this.discountsDeletedOperation=t},p.prototype.getDiscountsDeletedOperation=function(){return this.discountsDeletedOperation},p.prototype.setOrderDeletedOperation=function(t){this.orderDeletedOperation=t},p.prototype.getOrderDeletedOperation=function(){return this.orderDeletedOperation},p._meta_={fields:{}},p._meta_._class_=p,p._meta_._superMeta_=r._meta_,p._meta_.fields.order={},p._meta_.fields.order.type=d,p._meta_.fields.lineItemsAddedOperation={},p._meta_.fields.lineItemsAddedOperation.type=a,p._meta_.fields.lineItemsDeletedOperation={},p._meta_.fields.lineItemsDeletedOperation.type=l,p._meta_.fields.discountsAddedOperation={},p._meta_.fields.discountsAddedOperation.type=o,p._meta_.fields.discountsDeletedOperation={},p._meta_.fields.discountsDeletedOperation.type=u,p._meta_.fields.orderDeletedOperation={},p._meta_.fields.orderDeletedOperation.type=s,t.exports=p},34410:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PAIRING_CODE),this.pairingCode=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPairingCode=function(t){this.pairingCode=t},s.prototype.getPairingCode=function(){return this.pairingCode},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.pairingCode={},s._meta_.fields.pairingCode.type=String,t.exports=s},25138:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PAIRING_REQUEST),this.name=void 0,this.serialNumber=void 0,this.applicationName=void 0,this.authenticationToken=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setName=function(t){this.name=t},s.prototype.getName=function(){return this.name},s.prototype.setSerialNumber=function(t){this.serialNumber=t},s.prototype.getSerialNumber=function(){return this.serialNumber},s.prototype.setApplicationName=function(t){this.applicationName=t},s.prototype.getApplicationName=function(){return this.applicationName},s.prototype.setAuthenticationToken=function(t){this.authenticationToken=t},s.prototype.getAuthenticationToken=function(){return this.authenticationToken},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.name={},s._meta_.fields.name.type=String,s._meta_.fields.serialNumber={},s._meta_.fields.serialNumber.type=String,s._meta_.fields.applicationName={},s._meta_.fields.applicationName.type=String,s._meta_.fields.authenticationToken={},s._meta_.fields.authenticationToken.type=String,t.exports=s},9352:(t,e,i)=>{var n=i(58552),o=i(25138),s=i(49032),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PAIRING_RESPONSE),this.pairingState=void 0,this.millis=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPairingState=function(t){this.pairingState=t},r.prototype.getPairingState=function(){return this.pairingState},r.prototype.setMillis=function(t){this.millis=t},r.prototype.getMillis=function(){return this.millis},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.pairingState={},r._meta_.fields.pairingState.type=s,r._meta_.fields.millis={},r._meta_.fields.millis.type=Number,t.exports=r},49032:t=>{t.exports={UNINITIALIZED:"UNINITIALIZED",PAIRED:"PAIRED",FAILED:"FAILED",INITIAL:"INITIAL"}},26960:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PARTIAL_AUTH),this.partialAuthAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPartialAuthAmount=function(t){this.partialAuthAmount=t},s.prototype.getPartialAuthAmount=function(){return this.partialAuthAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.partialAuthAmount={},s._meta_.fields.partialAuthAmount.type=Number,t.exports=s},23305:(t,e,i)=>{var n=i(98183),o=i(893),s=i(52448),r=i(12033),a=i(66824),l=i(15118),d=i(56135),u=i(17589),p=function(){this._class_=p,this.action="com.clover.remote.protocol.action.START_REMOTE_PROTOCOL_PAY",this.amount=void 0,this.tippableAmount=void 0,this.tipAmount=void 0,this.taxAmount=void 0,this.orderId=void 0,this.paymentId=void 0,this.employeeId=void 0,this.transactionType=void 0,this.taxableAmountRates=void 0,this.serviceChargeAmount=void 0,this.isDisableCashBack=void 0,this.isTesting=void 0,this.cardEntryMethods=void 0,this.voiceAuthCode=void 0,this.streetAddress=void 0,this.postalCode=void 0,this.isCardNotPresent=void 0,this.cardDataMessage=void 0,this.remotePrint=void 0,this.transactionNo=void 0,this.isForceSwipePinEntry=void 0,this.disableRestartTransactionWhenFailed=void 0,this.externalPaymentId=void 0,this.vaultedCard=void 0,this.allowOfflinePayment=void 0,this.approveOfflinePaymentWithoutPrompt=void 0,this.requiresRemoteConfirmation=void 0,this.applicationTracking=void 0,this.allowPartialAuth=!0,this.germanInfo=void 0,this.cashAdvanceCustomerIdentification=void 0,this.transactionSettings=void 0,this.externalReferenceId=void 0,this.passThroughValues=void 0,this.isPresentQrcOnly=void 0};p.prototype.setAction=function(t){this.action=t},p.prototype.getAction=function(){return this.action},p.prototype.setAmount=function(t){this.amount=t},p.prototype.getAmount=function(){return this.amount},p.prototype.setTippableAmount=function(t){this.tippableAmount=t},p.prototype.getTippableAmount=function(){return this.tippableAmount},p.prototype.setTipAmount=function(t){this.tipAmount=t},p.prototype.getTipAmount=function(){return this.tipAmount},p.prototype.setTaxAmount=function(t){this.taxAmount=t},p.prototype.getTaxAmount=function(){return this.taxAmount},p.prototype.setOrderId=function(t){this.orderId=t},p.prototype.getOrderId=function(){return this.orderId},p.prototype.setPaymentId=function(t){this.paymentId=t},p.prototype.getPaymentId=function(){return this.paymentId},p.prototype.setEmployeeId=function(t){this.employeeId=t},p.prototype.getEmployeeId=function(){return this.employeeId},p.prototype.setTransactionType=function(t){this.transactionType=t},p.prototype.getTransactionType=function(){return this.transactionType},p.prototype.setTaxableAmountRates=function(t){this.taxableAmountRates=t},p.prototype.getTaxableAmountRates=function(){return this.taxableAmountRates},p.prototype.setServiceChargeAmount=function(t){this.serviceChargeAmount=t},p.prototype.getServiceChargeAmount=function(){return this.serviceChargeAmount},p.prototype.setIsDisableCashBack=function(t){this.isDisableCashBack=t},p.prototype.getIsDisableCashBack=function(){return this.isDisableCashBack},p.prototype.setIsTesting=function(t){this.isTesting=t},p.prototype.getIsTesting=function(){return this.isTesting},p.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},p.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},p.prototype.setVoiceAuthCode=function(t){this.voiceAuthCode=t},p.prototype.getVoiceAuthCode=function(){return this.voiceAuthCode},p.prototype.setStreetAddress=function(t){this.streetAddress=t},p.prototype.getStreetAddress=function(){return this.streetAddress},p.prototype.setPostalCode=function(t){this.postalCode=t},p.prototype.getPostalCode=function(){return this.postalCode},p.prototype.setIsCardNotPresent=function(t){this.isCardNotPresent=t},p.prototype.getIsCardNotPresent=function(){return this.isCardNotPresent},p.prototype.setCardDataMessage=function(t){this.cardDataMessage=t},p.prototype.getCardDataMessage=function(){return this.cardDataMessage},p.prototype.setRemotePrint=function(t){this.remotePrint=t},p.prototype.getRemotePrint=function(){return this.remotePrint},p.prototype.setTransactionNo=function(t){this.transactionNo=t},p.prototype.getTransactionNo=function(){return this.transactionNo},p.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},p.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},p.prototype.setDisableRestartTransactionWhenFailed=function(t){this.disableRestartTransactionWhenFailed=t},p.prototype.getDisableRestartTransactionWhenFailed=function(){return this.disableRestartTransactionWhenFailed},p.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},p.prototype.getExternalPaymentId=function(){return this.externalPaymentId},p.prototype.setVaultedCard=function(t){this.vaultedCard=t},p.prototype.getVaultedCard=function(){return this.vaultedCard},p.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},p.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},p.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},p.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},p.prototype.setRequiresRemoteConfirmation=function(t){this.requiresRemoteConfirmation=t},p.prototype.getRequiresRemoteConfirmation=function(){return this.requiresRemoteConfirmation},p.prototype.setApplicationTracking=function(t){this.applicationTracking=t},p.prototype.getApplicationTracking=function(){return this.applicationTracking},p.prototype.setAllowPartialAuth=function(t){this.allowPartialAuth=t},p.prototype.getAllowPartialAuth=function(){return this.allowPartialAuth},p.prototype.setGermanInfo=function(t){this.germanInfo=t},p.prototype.getGermanInfo=function(){return this.germanInfo},p.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},p.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},p.prototype.setTransactionSettings=function(t){this.transactionSettings=t},p.prototype.getTransactionSettings=function(){return this.transactionSettings},p.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},p.prototype.getExternalReferenceId=function(){return this.externalReferenceId},p.prototype.setPassThroughValues=function(t){this.passThroughValues=t},p.prototype.getPassThroughValues=function(){return this.passThroughValues},p.prototype.setIsPresentQrcOnly=function(t){this.isPresentQrcOnly=t},p.prototype.getIsPresentQrcOnly=function(){return this.isPresentQrcOnly},p.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},p.prototype.toString=function(){return JSON.stringify(this)},p._meta_={fields:{}},p._meta_._class_=p,p._meta_.fields.action={},p._meta_.fields.action.type=String,p._meta_.fields.amount={},p._meta_.fields.amount.type=Number,p._meta_.fields.tippableAmount={},p._meta_.fields.tippableAmount.type=Number,p._meta_.fields.tipAmount={},p._meta_.fields.tipAmount.type=Number,p._meta_.fields.taxAmount={},p._meta_.fields.taxAmount.type=Number,p._meta_.fields.orderId={},p._meta_.fields.orderId.type=String,p._meta_.fields.paymentId={},p._meta_.fields.paymentId.type=String,p._meta_.fields.employeeId={},p._meta_.fields.employeeId.type=String,p._meta_.fields.transactionType={},p._meta_.fields.transactionType.type=n,p._meta_.fields.taxableAmountRates={},p._meta_.fields.taxableAmountRates.type=Array,p._meta_.fields.taxableAmountRates.elementType=s,p._meta_.fields.serviceChargeAmount={},p._meta_.fields.serviceChargeAmount.type=a,p._meta_.fields.isDisableCashBack={},p._meta_.fields.isDisableCashBack.type=Boolean,p._meta_.fields.isTesting={},p._meta_.fields.isTesting.type=Boolean,p._meta_.fields.cardEntryMethods={},p._meta_.fields.cardEntryMethods.type=Number,p._meta_.fields.voiceAuthCode={},p._meta_.fields.voiceAuthCode.type=String,p._meta_.fields.streetAddress={},p._meta_.fields.streetAddress.type=String,p._meta_.fields.postalCode={},p._meta_.fields.postalCode.type=String,p._meta_.fields.isCardNotPresent={},p._meta_.fields.isCardNotPresent.type=Boolean,p._meta_.fields.cardDataMessage={},p._meta_.fields.cardDataMessage.type=String,p._meta_.fields.remotePrint={},p._meta_.fields.remotePrint.type=Boolean,p._meta_.fields.transactionNo={},p._meta_.fields.transactionNo.type=String,p._meta_.fields.isForceSwipePinEntry={},p._meta_.fields.isForceSwipePinEntry.type=Boolean,p._meta_.fields.disableRestartTransactionWhenFailed={},p._meta_.fields.disableRestartTransactionWhenFailed.type=Boolean,p._meta_.fields.externalPaymentId={},p._meta_.fields.externalPaymentId.type=String,p._meta_.fields.vaultedCard={},p._meta_.fields.vaultedCard.type=l,p._meta_.fields.allowOfflinePayment={},p._meta_.fields.allowOfflinePayment.type=Boolean,p._meta_.fields.approveOfflinePaymentWithoutPrompt={},p._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,p._meta_.fields.requiresRemoteConfirmation={},p._meta_.fields.requiresRemoteConfirmation.type=Boolean,p._meta_.fields.applicationTracking={},p._meta_.fields.applicationTracking.type=r,p._meta_.fields.allowPartialAuth={},p._meta_.fields.allowPartialAuth.type=Boolean,p._meta_.fields.germanInfo={},p._meta_.fields.germanInfo.type=u,p._meta_.fields.cashAdvanceCustomerIdentification={},p._meta_.fields.cashAdvanceCustomerIdentification.type=o,p._meta_.fields.transactionSettings={},p._meta_.fields.transactionSettings.type=d,p._meta_.fields.externalReferenceId={},p._meta_.fields.externalReferenceId.type=String,p._meta_.fields.passThroughValues={},p._meta_.fields.passThroughValues.type=Object,p._meta_.fields.isPresentQrcOnly={},p._meta_.fields.isPresentQrcOnly.type=Boolean,t.exports=p},68096:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PAYMENT_CONFIRMED),this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},51118:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.PRINT_PAYMENT_MERCHANT_COPY),this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},3385:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(14326),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.PRINT_PAYMENT),this.payment=void 0,this.order=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=s,a._meta_.fields.order={},a._meta_.fields.order.type=r,t.exports=a},33406:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.PAYMENT_REJECTED),this.payment=void 0,this.reason=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.reason={},a._meta_.fields.reason.type=o,t.exports=a},71382:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.PAYMENT_VOIDED),this.payment=void 0,this.voidReason=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setVoidReason=function(t){this.voidReason=t},a.prototype.getVoidReason=function(){return this.voidReason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.voidReason={},a._meta_.fields.voidReason.type=o,t.exports=a},27195:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.PRINT_JOB_STATUS_REQUEST),this.externalPrintJobId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},s.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.externalPrintJobId={},s._meta_.fields.externalPrintJobId.type=String,t.exports=s},31174:(t,e,i)=>{var n=i(58552),o=i(15350),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_JOB_STATUS_RESPONSE),this.externalPrintJobId=void 0,this.status=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.status={},r._meta_.fields.status.type=o,t.exports=r},30741:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},40270:(t,e,i)=>{var n=i(30741),o=function(){this._class_=o,this.queryStatus=void 0};o.prototype.setQueryStatus=function(t){this.queryStatus=t},o.prototype.getQueryStatus=function(){return this.queryStatus},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.queryStatus={},o._meta_.fields.queryStatus.type=n,t.exports=o},71041:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(14326),a=i(37471),l=function(){o.call(this),this._superClass_=o,this._class_=l,this.setMethod(n.REFUND_PRINT_PAYMENT),this.payment=void 0,this.order=void 0,this.refund=void 0};l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setOrder=function(t){this.order=t},l.prototype.getOrder=function(){return this.order},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=o._meta_,l._meta_.fields.payment={},l._meta_.fields.payment.type=s,l._meta_.fields.order={},l._meta_.fields.order.type=r,l._meta_.fields.refund={},l._meta_.fields.refund.type=a,t.exports=l},24556:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REFUND_REQUEST),this.fullRefund=void 0,this.amount=void 0,this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFullRefund=function(t){this.fullRefund=t},s.prototype.getFullRefund=function(){return this.fullRefund},s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s.prototype.setExtras=function(t){this.extras=t},s.prototype.getExtras=function(){return this.extras},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.fullRefund={},s._meta_.fields.fullRefund.type=Boolean,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,s._meta_.fields.extras={},s._meta_.fields.extras.type=Object,t.exports=s},87567:(t,e,i)=>{var n=i(58552),o=i(42157),s=i(63485),r=i(59911),a=i(37471),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(n.REFUND_RESPONSE),this.orderId=void 0,this.paymentId=void 0,this.refund=void 0,this.reason=void 0,this.message=void 0,this.code=void 0};l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.setOrderId=function(t){this.orderId=t},l.prototype.getOrderId=function(){return this.orderId},l.prototype.setPaymentId=function(t){this.paymentId=t},l.prototype.getPaymentId=function(){return this.paymentId},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l.prototype.setCode=function(t){this.code=t},l.prototype.getCode=function(){return this.code},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=s._meta_,l._meta_.fields.orderId={},l._meta_.fields.orderId.type=String,l._meta_.fields.paymentId={},l._meta_.fields.paymentId.type=String,l._meta_.fields.refund={},l._meta_.fields.refund.type=a,l._meta_.fields.reason={},l._meta_.fields.reason.type=r,l._meta_.fields.message={},l._meta_.fields.message.type=String,l._meta_.fields.code={},l._meta_.fields.code.type=o,t.exports=l},13904:(t,e,i)=>{var n=i(58552),o=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.REGISTER_FOR_CUST_DATA),this.configurations=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfigurations=function(t){this.configurations=t},r.prototype.getConfigurations=function(){return this.configurations},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.configurations={},r._meta_.fields.configurations.type=Array,r._meta_.fields.configurations.elementType=o,t.exports=r},79441:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REMOTE_ERROR),this.errorDetail=void 0,this.errorMessage=void 0,this.errorCode=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setErrorDetail=function(t){this.errorDetail=t},s.prototype.getErrorDetail=function(){return this.errorDetail},s.prototype.setErrorMessage=function(t){this.errorMessage=t},s.prototype.getErrorMessage=function(){return this.errorMessage},s.prototype.setErrorCode=function(t){this.errorCode=t},s.prototype.getErrorCode=function(){return this.errorCode},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.errorDetail={},s._meta_.fields.errorDetail.type=String,s._meta_.fields.errorMessage={},s._meta_.fields.errorMessage.type=String,s._meta_.fields.errorCode={},s._meta_.fields.errorCode.type=Number,t.exports=s},71085:(t,e,i)=>{var n=i(58552),o=i(35552),s=function(){this._class_=s,this.id=void 0,this.type=void 0,this.packageName=void 0,this.method=void 0,this.payload=void 0,this.remoteSourceSDK=void 0,this.remoteApplicationID=void 0,this.version=void 0,this.fragmentIndex=void 0,this.lastFragment=void 0,this.attachmentEncoding=void 0,this.attachment=void 0,this.attachmentUri=void 0,this.remotePayCompatibilityVersion=void 0};s.prototype.setId=function(t){this.id=t},s.prototype.getId=function(){return this.id},s.prototype.setType=function(t){this.type=t},s.prototype.getType=function(){return this.type},s.prototype.setPackageName=function(t){this.packageName=t},s.prototype.getPackageName=function(){return this.packageName},s.prototype.setMethod=function(t){this.method=t},s.prototype.getMethod=function(){return this.method},s.prototype.setPayload=function(t){this.payload=t},s.prototype.getPayload=function(){return this.payload},s.prototype.setRemoteSourceSDK=function(t){this.remoteSourceSDK=t},s.prototype.getRemoteSourceSDK=function(){return this.remoteSourceSDK},s.prototype.setRemoteApplicationID=function(t){this.remoteApplicationID=t},s.prototype.getRemoteApplicationID=function(){return this.remoteApplicationID},s.prototype.setVersion=function(t){this.version=t},s.prototype.getVersion=function(){return this.version},s.prototype.setFragmentIndex=function(t){this.fragmentIndex=t},s.prototype.getFragmentIndex=function(){return this.fragmentIndex},s.prototype.setLastFragment=function(t){this.lastFragment=t},s.prototype.getLastFragment=function(){return this.lastFragment},s.prototype.setAttachmentEncoding=function(t){this.attachmentEncoding=t},s.prototype.getAttachmentEncoding=function(){return this.attachmentEncoding},s.prototype.setAttachment=function(t){this.attachment=t},s.prototype.getAttachment=function(){return this.attachment},s.prototype.setAttachmentUri=function(t){this.attachmentUri=t},s.prototype.getAttachmentUri=function(){return this.attachmentUri},s.prototype.setRemotePayCompatibilityVersion=function(t){this.remotePayCompatibilityVersion=t},s.prototype.getRemotePayCompatibilityVersion=function(){return this.remotePayCompatibilityVersion},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.id={},s._meta_.fields.id.type=String,s._meta_.fields.type={},s._meta_.fields.type.type=o,s._meta_.fields.packageName={},s._meta_.fields.packageName.type=String,s._meta_.fields.method={},s._meta_.fields.method.type=n,s._meta_.fields.payload={},s._meta_.fields.payload.type=String,s._meta_.fields.remoteSourceSDK={},s._meta_.fields.remoteSourceSDK.type=String,s._meta_.fields.remoteApplicationID={},s._meta_.fields.remoteApplicationID.type=String,s._meta_.fields.version={},s._meta_.fields.version.type=Number,s._meta_.fields.fragmentIndex={},s._meta_.fields.fragmentIndex.type=Number,s._meta_.fields.lastFragment={},s._meta_.fields.lastFragment.type=Boolean,s._meta_.fields.attachmentEncoding={},s._meta_.fields.attachmentEncoding.type=String,s._meta_.fields.attachment={},s._meta_.fields.attachment.type=String,s._meta_.fields.attachmentUri={},s._meta_.fields.attachmentUri.type=String,s._meta_.fields.remotePayCompatibilityVersion={},s._meta_.fields.remotePayCompatibilityVersion.type=Number,t.exports=s},35552:t=>{t.exports={COMMAND:"COMMAND",QUERY:"QUERY",EVENT:"EVENT",PING:"PING",PONG:"PONG"}},22873:t=>{var e=function(){this._class_=e,this.discountId=void 0,this.lineItemId=void 0};e.prototype.setDiscountId=function(t){this.discountId=t},e.prototype.getDiscountId=function(){return this.discountId},e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.discountId={},e._meta_.fields.discountId.type=String,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,t.exports=e},6294:t=>{var e=function(){this._class_=e,this.lineItemId=void 0};e.prototype.setLineItemId=function(t){this.lineItemId=t},e.prototype.getLineItemId=function(){return this.lineItemId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.lineItemId={},e._meta_.fields.lineItemId.type=String,t.exports=e},56232:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(27033),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.REQUEST_TIP),this.tipSuggestions=void 0,this.tippableAmount=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=s,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,t.exports=r},25322:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.REQUEST_TIP_RESPONSE),this.amount=void 0,this.status=void 0,this.reason=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.status={},r._meta_.fields.status.type=o,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},8208:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(13382),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.RESET_DEVICE_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setState=function(t){this.state=t},a.prototype.getState=function(){return this.state},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.state={},a._meta_.fields.state.type=s,t.exports=a},36780:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RESET)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},39933:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},96643:(t,e,i)=>{var n=i(39933),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},34292:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_CUSTOM_ACTIVITIES_REQUEST),this.filters=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setFilters=function(t){this.filters=t},s.prototype.getFilters=function(){return this.filters},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.filters={},s._meta_.fields.filters.type=Array,t.exports=s},79154:(t,e,i)=>{var n=i(58552),o=i(79601),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.RETRIEVE_CUSTOM_ACTIVITIES_RESPONSE),this.activities=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setActivities=function(t){this.activities=t},r.prototype.getActivities=function(){return this.activities},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.activities={},r._meta_.fields.activities.type=Array,r._meta_.fields.activities.elementType=o,t.exports=r},4997:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_DEVICE_STATUS_REQUEST),this.sendLastMessage=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},s.prototype.getSendLastMessage=function(){return this.sendLastMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.sendLastMessage={},s._meta_.fields.sendLastMessage.type=Boolean,t.exports=s},63331:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),d=function(){a.call(this),this._superClass_=a,this._class_=d,this.setMethod(n.RETRIEVE_DEVICE_STATUS_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};d.prototype=Object.create(a.prototype),d.prototype.constructor=d,d.prototype.setReason=function(t){this.reason=t},d.prototype.getReason=function(){return this.reason},d.prototype.setStatus=function(t){this.status=t},d.prototype.getStatus=function(){return this.status},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setSubstate=function(t){this.substate=t},d.prototype.getSubstate=function(){return this.substate},d.prototype.setData=function(t){this.data=t},d.prototype.getData=function(){return this.data},d._meta_={fields:{}},d._meta_._class_=d,d._meta_._superMeta_=a._meta_,d._meta_.fields.reason={},d._meta_.fields.reason.type=String,d._meta_.fields.status={},d._meta_.fields.status.type=o,d._meta_.fields.state={},d._meta_.fields.state.type=r,d._meta_.fields.substate={},d._meta_.fields.substate.type=s,d._meta_.fields.data={},d._meta_.fields.data.type=l,t.exports=d},14471:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_PAYMENT_REQUEST),this.externalPaymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},s.prototype.getExternalPaymentId=function(){return this.externalPaymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.externalPaymentId={},s._meta_.fields.externalPaymentId.type=String,t.exports=s},33187:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(82794),a=i(30741),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(n.RETRIEVE_PAYMENT_RESPONSE),this.status=void 0,this.reason=void 0,this.externalPaymentId=void 0,this.queryStatus=void 0,this.message=void 0,this.payment=void 0};l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},l.prototype.getExternalPaymentId=function(){return this.externalPaymentId},l.prototype.setQueryStatus=function(t){this.queryStatus=t},l.prototype.getQueryStatus=function(){return this.queryStatus},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=s._meta_,l._meta_.fields.status={},l._meta_.fields.status.type=o,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.externalPaymentId={},l._meta_.fields.externalPaymentId.type=String,l._meta_.fields.queryStatus={},l._meta_.fields.queryStatus.type=a,l._meta_.fields.message={},l._meta_.fields.message.type=String,l._meta_.fields.payment={},l._meta_.fields.payment.type=r,t.exports=l},55304:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.RETRIEVE_PENDING_PAYMENTS)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},85876:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(4258),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(n.RETRIEVE_PENDING_PAYMENTS_RESPONSE),this.status=void 0,this.pendingPaymentEntries=void 0,this.reason=void 0};a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setPendingPaymentEntries=function(t){this.pendingPaymentEntries=t},a.prototype.getPendingPaymentEntries=function(){return this.pendingPaymentEntries},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=r._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.pendingPaymentEntries={},a._meta_.fields.pendingPaymentEntries.type=Array,a._meta_.fields.pendingPaymentEntries.elementType=s,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,t.exports=a},30011:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_PAYMENT_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,t.exports=s},33861:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(37471),a=i(6639),l=function(){o.call(this),this._superClass_=o,this._class_=l,this.setMethod(n.SHOW_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.refundId=void 0,this.creditId=void 0,this.disableCloverPrinting=void 0,this.payment=void 0,this.credit=void 0,this.refund=void 0,this.isReprint=void 0};l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.setOrderId=function(t){this.orderId=t},l.prototype.getOrderId=function(){return this.orderId},l.prototype.setPaymentId=function(t){this.paymentId=t},l.prototype.getPaymentId=function(){return this.paymentId},l.prototype.setRefundId=function(t){this.refundId=t},l.prototype.getRefundId=function(){return this.refundId},l.prototype.setCreditId=function(t){this.creditId=t},l.prototype.getCreditId=function(){return this.creditId},l.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},l.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setCredit=function(t){this.credit=t},l.prototype.getCredit=function(){return this.credit},l.prototype.setRefund=function(t){this.refund=t},l.prototype.getRefund=function(){return this.refund},l.prototype.setIsReprint=function(t){this.isReprint=t},l.prototype.getIsReprint=function(){return this.isReprint},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=o._meta_,l._meta_.fields.orderId={},l._meta_.fields.orderId.type=String,l._meta_.fields.paymentId={},l._meta_.fields.paymentId.type=String,l._meta_.fields.refundId={},l._meta_.fields.refundId.type=String,l._meta_.fields.creditId={},l._meta_.fields.creditId.type=String,l._meta_.fields.disableCloverPrinting={},l._meta_.fields.disableCloverPrinting.type=Boolean,l._meta_.fields.payment={},l._meta_.fields.payment.type=s,l._meta_.fields.credit={},l._meta_.fields.credit.type=a,l._meta_.fields.refund={},l._meta_.fields.refund.type=r,l._meta_.fields.isReprint={},l._meta_.fields.isReprint.type=Boolean,t.exports=l},14011:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.SHOW_RECEIPT_OPTIONS_RESPONSE),this.reason=void 0,this.status=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},r.prototype.setStatus=function(t){this.status=t},r.prototype.getStatus=function(){return this.status},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,r._meta_.fields.status={},r._meta_.fields.status.type=o,t.exports=r},60159:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHUTDOWN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},33957:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.REQUEST_SIGNATURE),this.acknowledgementMessage=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},s.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.acknowledgementMessage={},s._meta_.fields.acknowledgementMessage.type=String,t.exports=s},87252:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(42348),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.REQUEST_SIGNATURE_RESPONSE),this.status=void 0,this.reason=void 0,this.signature=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setSignature=function(t){this.signature=t},a.prototype.getSignature=function(){return this.signature},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.signature={},a._meta_.fields.signature.type=r,t.exports=a},20801:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.setMethod(n.SIGNATURE_VERIFIED),this.payment=void 0,this.verified=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setVerified=function(t){this.verified=t},r.prototype.getVerified=function(){return this.verified},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.verified={},r._meta_.fields.verified.type=Boolean,t.exports=r},68741:(t,e,i)=>{var n=i(58552),o=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.START_VAS),this.config=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.config={},r._meta_.fields.config.type=o,t.exports=r},98080:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.STOP_VAS)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},62715:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TERMINAL_MESSAGE),this.text=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setText=function(t){this.text=t},s.prototype.getText=function(){return this.text},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.text={},s._meta_.fields.text.type=String,t.exports=s},82805:(t,e,i)=>{var n=i(58552),o=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.PRINT_TEXT),this.textLines=void 0,this.externalPrintJobId=void 0,this.printer=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTextLines=function(t){this.textLines=t},r.prototype.getTextLines=function(){return this.textLines},r.prototype.setExternalPrintJobId=function(t){this.externalPrintJobId=t},r.prototype.getExternalPrintJobId=function(){return this.externalPrintJobId},r.prototype.setPrinter=function(t){this.printer=t},r.prototype.getPrinter=function(){return this.printer},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.textLines={},r._meta_.fields.textLines.type=Array,r._meta_.fields.externalPrintJobId={},r._meta_.fields.externalPrintJobId.type=String,r._meta_.fields.printer={},r._meta_.fields.printer.type=o,t.exports=r},30791:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_THANK_YOU_SCREEN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},15828:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADDED),this.tipAmount=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,t.exports=s},26974:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADJUST),this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setTipAmount=function(t){this.tipAmount=t},s.prototype.getTipAmount=function(){return this.tipAmount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},47935:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.TIP_ADJUST_RESPONSE),this.success=void 0,this.amount=void 0,this.orderId=void 0,this.message=void 0,this.reason=void 0,this.paymentId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setSuccess=function(t){this.success=t},s.prototype.getSuccess=function(){return this.success},s.prototype.setAmount=function(t){this.amount=t},s.prototype.getAmount=function(){return this.amount},s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.setReason=function(t){this.reason=t},s.prototype.getReason=function(){return this.reason},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.success={},s._meta_.fields.success.type=Boolean,s._meta_.fields.amount={},s._meta_.fields.amount.type=Number,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.message={},s._meta_.fields.message.type=String,s._meta_.fields.reason={},s._meta_.fields.reason.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,t.exports=s},98183:t=>{t.exports={PAYMENT:"PAYMENT",CREDIT:"CREDIT",AUTH:"AUTH",DATA:"DATA",BALANCE_INQUIRY:"BALANCE_INQUIRY",PAYMENT_REVERSAL:"PAYMENT_REVERSAL",PAYMENT_ADJUSTMENT:"PAYMENT_ADJUSTMENT",CREDIT_REVERSAL:"CREDIT_REVERSAL",REFUND_ADJUSTMENT:"REFUND_ADJUSTMENT",CASH_ADVANCE:"CASH_ADVANCE",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",VAS_DATA:"VAS_DATA",VERIFY_CARD:"VERIFY_CARD",TOKENIZE_CARD:"TOKENIZE_CARD"}},27169:(t,e,i)=>{var n=i(58552),o=i(23305),s=i(63485),r=i(14326),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.TX_START),this.suppressOnScreenTips=void 0,this.order=void 0,this.payIntent=void 0,this.requestInfo=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setSuppressOnScreenTips=function(t){this.suppressOnScreenTips=t},a.prototype.getSuppressOnScreenTips=function(){return this.suppressOnScreenTips},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a.prototype.setPayIntent=function(t){this.payIntent=t},a.prototype.getPayIntent=function(){return this.payIntent},a.prototype.setRequestInfo=function(t){this.requestInfo=t},a.prototype.getRequestInfo=function(){return this.requestInfo},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.suppressOnScreenTips={},a._meta_.fields.suppressOnScreenTips.type=Boolean,a._meta_.fields.order={},a._meta_.fields.order.type=r,a._meta_.fields.payIntent={},a._meta_.fields.payIntent.type=o,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},66048:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(36311),r=i(14326),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.TX_START_RESPONSE),this.success=void 0,this.order=void 0,this.externalPaymentId=void 0,this.message=void 0,this.reason=void 0,this.result=void 0,this.requestInfo=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},a.prototype.getExternalPaymentId=function(){return this.externalPaymentId},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setResult=function(t){this.result=t},a.prototype.getResult=function(){return this.result},a.prototype.setRequestInfo=function(t){this.requestInfo=t},a.prototype.getRequestInfo=function(){return this.requestInfo},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.order={},a._meta_.fields.order.type=r,a._meta_.fields.externalPaymentId={},a._meta_.fields.externalPaymentId.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.result={},a._meta_.fields.result.type=s,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},36311:t=>{t.exports={SUCCESS:"SUCCESS",ORDER_MODIFIED:"ORDER_MODIFIED",ORDER_LOAD:"ORDER_LOAD",DUPLICATE:"DUPLICATE",FAIL:"FAIL"}},42157:t=>{t.exports={START:"START",SUCCESS:"SUCCESS",FAIL:"FAIL"}},43506:(t,e,i)=>{var n=i(42157),o=function(){this._class_=o,this.txState=void 0};o.prototype.setTxState=function(t){this.txState=t},o.prototype.getTxState=function(){return this.txState},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.txState={},o._meta_.fields.txState.type=n,t.exports=o},30717:(t,e,i)=>{var n=i(58552),o=i(42157),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.TX_STATE),this.txState=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTxState=function(t){this.txState=t},r.prototype.getTxState=function(){return this.txState},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.txState={},r._meta_.fields.txState.type=o,t.exports=r},42105:t=>{var e=function(){this._class_=e,this.SALE="SALE",this.AUTH="AUTH",this.PREAUTH="PREAUTH",this.CREDIT="CREDIT",this.REFUND="REFUND",this.VOID_PAYMENT="VOID_PAYMENT"};e.prototype.getSALE=function(){return this.SALE},e.prototype.getAUTH=function(){return this.AUTH},e.prototype.getPREAUTH=function(){return this.PREAUTH},e.prototype.getCREDIT=function(){return this.CREDIT},e.prototype.getREFUND=function(){return this.REFUND},e.prototype.getVOIDPAYMENT=function(){return this.VOID_PAYMENT},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.SALE={},e._meta_.fields.SALE.type=String,e._meta_.fields.AUTH={},e._meta_.fields.AUTH.type=String,e._meta_.fields.PREAUTH={},e._meta_.fields.PREAUTH.type=String,e._meta_.fields.CREDIT={},e._meta_.fields.CREDIT.type=String,e._meta_.fields.REFUND={},e._meta_.fields.REFUND.type=String,e._meta_.fields.VOID_PAYMENT={},e._meta_.fields.VOID_PAYMENT.type=String,t.exports=e},36501:t=>{t.exports={ENTER:"ENTER",EXIT:"EXIT"}},3325:t=>{t.exports={ADD_SIGNATURE:"ADD_SIGNATURE",ADD_SIGNATURE_CANCEL_CONFIRM:"ADD_SIGNATURE_CANCEL_CONFIRM",ADD_TIP:"ADD_TIP",APPROVE_ELV_LIMIT_OVERRIDE:"APPROVE_ELV_LIMIT_OVERRIDE",APPROVED:"APPROVED",CANCELED:"CANCELED",CASHBACK_CONFIRM:"CASHBACK_CONFIRM",CASHBACK_SELECT:"CASHBACK_SELECT",CONFIGURING:"CONFIGURING",CONFIRM_AMOUNT:"CONFIRM_AMOUNT",CONFIRM_DUPLICATE_CHECK:"CONFIRM_DUPLICATE_CHECK",CONFIRM_PARTIAL_AUTH:"CONFIRM_PARTIAL_AUTH",CONTACTLESS_TAP_REQUIRED:"CONTACTLESS_TAP_REQUIRED",CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",CUSTOM_TIP_AMOUNT:"CUSTOM_TIP_AMOUNT",DCC_HOST_REQUEST:"DCC_HOST_REQUEST",DECLINED:"DECLINED",DISPLAY_MESSAGE:"DISPLAY_MESSAGE",DISPLAY_ORDER:"DISPLAY_ORDER",ENTER_INSTALLMENT_CODE:"ENTER_INSTALLMENT_CODE",ENTER_INSTALLMENTS:"ENTER_INSTALLMENTS",ENTER_PAN_LAST_FOUR:"ENTER_PAN_LAST_FOUR",ERROR_SCREEN:"ERROR_SCREEN",FAILED:"FAILED",FATAL:"FATAL",FISCAL_INVOICE_NUMBER:"FISCAL_INVOICE_NUMBER",FORCE_ACCEPTANCE:"FORCE_ACCEPTANCE",HANDLE_TENDER:"HANDLE_TENDER",INPUT_ERROR:"INPUT_ERROR",MANUAL_CARD_CVV:"MANUAL_CARD_CVV",MANUAL_CARD_CVV_UNREADABLE:"MANUAL_CARD_CVV_UNREADABLE",MANUAL_CARD_EXPIRATION:"MANUAL_CARD_EXPIRATION",MANUAL_CARD_NUMBER:"MANUAL_CARD_NUMBER",MANUAL_ENTRY_FALLBACK:"MANUAL_ENTRY_FALLBACK",OFFLINE_PAYMENT_CONFIRM:"OFFLINE_PAYMENT_CONFIRM",PACKET_EXCEPTION:"PACKET_EXCEPTION",PERSONAL_ID_ENTRY:"PERSONAL_ID_ENTRY",PERSONAL_ID_ENTRY_PAS:"PERSONAL_ID_ENTRY_PAS",PIN_BYPASS_CONFIRM:"PIN_BYPASS_CONFIRM",PIN_PAD:"PIN_PAD",PROCESSING:"PROCESSING",PROCESSING_CREDIT:"PROCESSING_CREDIT",PROCESSING_GO_ONLINE:"PROCESSING_GO_ONLINE",PROCESSING_SWIPE:"PROCESSING_SWIPE",RECEIPT_OPTIONS:"RECEIPT_OPTIONS",REMOVE_CARD:"REMOVE_CARD",RETURN_TO_MERCHANT:"RETURN_TO_MERCHANT",SELECT_ACCOUNT:"SELECT_ACCOUNT",SELECT_APPLICATION:"SELECT_APPLICATION",SELECT_DCC:"SELECT_DCC",SELECT_INSTALLMENT_PLAN:"SELECT_INSTALLMENT_PLAN",SELECT_LANGUAGE:"SELECT_LANGUAGE",SELECT_MULTI_MID:"SELECT_MULTI_MID",SELECT_TIP:"SELECT_TIP",SELECT_WITHDRAW_FROM_ACCOUNT:"SELECT_WITHDRAW_FROM_ACCOUNT",SENSORY_EXPERIENCE:"SENSORY_EXPERIENCE",SHOW_SEPA_MANDAT:"SHOW_SEPA_MANDAT",SIGNATURE_CUSTOMER_MODE:"SIGNATURE_CUSTOMER_MODE",SIGNATURE_ON_SCREEN_FALLBACK:"SIGNATURE_ON_SCREEN_FALLBACK",SIGNATURE_REJECT:"SIGNATURE_REJECT",START:"START",STARTING_CUSTOM_ACTIVITY:"STARTING_CUSTOM_ACTIVITY",START_QR_CODE_MODE:"START_QR_CODE_MODE",SWIPE_CVV_ENTRY:"SWIPE_CVV_ENTRY",THANKYOU_SCREEN:"THANKYOU_SCREEN",TIMED_OUT:"TIMED_OUT",TRY_AGAIN:"TRY_AGAIN",VERIFY_SIGNATURE_ON_PAPER:"VERIFY_SIGNATURE_ON_PAPER",VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID",VERIFY_SIGNATURE_ON_SCREEN:"VERIFY_SIGNATURE_ON_SCREEN",VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID",VERIFY_SURCHARGES:"VERIFY_SURCHARGES",VOICE_REFERRAL_RESULT:"VOICE_REFERRAL_RESULT",VOID_CONFIRM:"VOID_CONFIRM",VOIDED:"VOIDED",WELCOME_SCREEN:"WELCOME_SCREEN"}},2350:(t,e,i)=>{var n=i(58552),o=i(36501),s=i(10915),r=i(63485),a=i(3325),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.UI_STATE),this.uiText=void 0,this.uiDirection=void 0,this.inputOptions=void 0,this.uiState=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setUiText=function(t){this.uiText=t},l.prototype.getUiText=function(){return this.uiText},l.prototype.setUiDirection=function(t){this.uiDirection=t},l.prototype.getUiDirection=function(){return this.uiDirection},l.prototype.setInputOptions=function(t){this.inputOptions=t},l.prototype.getInputOptions=function(){return this.inputOptions},l.prototype.setUiState=function(t){this.uiState=t},l.prototype.getUiState=function(){return this.uiState},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.uiText={},l._meta_.fields.uiText.type=String,l._meta_.fields.uiDirection={},l._meta_.fields.uiDirection.type=o,l._meta_.fields.inputOptions={},l._meta_.fields.inputOptions.type=Array,l._meta_.fields.inputOptions.elementType=s,l._meta_.fields.uiState={},l._meta_.fields.uiState.type=a,t.exports=l},67864:(t,e,i)=>{var n=i(58552),o=i(47171),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VAS_CONFIG_CHANGED),this.proxyProvider=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setProxyProvider=function(t){this.proxyProvider=t},s.prototype.getProxyProvider=function(){return this.proxyProvider},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.proxyProvider={},s._meta_.fields.proxyProvider.type=String,t.exports=s},47171:(t,e,i)=>{var n=i(58552),o=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.VAS_CONFIG),this.config=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setConfig=function(t){this.config=t},r.prototype.getConfig=function(){return this.config},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.config={},r._meta_.fields.config.type=o,t.exports=r},14932:(t,e,i)=>{var n=i(58552),o=i(75314),s=i(63485),r=i(61691),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VAS_PAYLOAD_MESSAGE),this.vasPayload=void 0,this.vasMode=void 0,this.extras=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setVasPayload=function(t){this.vasPayload=t},a.prototype.getVasPayload=function(){return this.vasPayload},a.prototype.setVasMode=function(t){this.vasMode=t},a.prototype.getVasMode=function(){return this.vasMode},a.prototype.setExtras=function(t){this.extras=t},a.prototype.getExtras=function(){return this.extras},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.vasPayload={},a._meta_.fields.vasPayload.type=r,a._meta_.fields.vasMode={},a._meta_.fields.vasMode.type=o,a._meta_.fields.extras={},a._meta_.fields.extras.type=Object,t.exports=a},36471:t=>{t.exports={START_REQUESTED:"START_REQUESTED",STARTED:"STARTED",TIMED_OUT:"TIMED_OUT",STOP_REQUESTED:"STOP_REQUESTED",STOPPED:"STOPPED",FAILED:"FAILED"}},6580:(t,e,i)=>{var n=i(36471),o=function(){this._class_=o,this.vasState=void 0};o.prototype.setVasState=function(t){this.vasState=t},o.prototype.getVasState=function(){return this.vasState},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.vasState={},o._meta_.fields.vasState.type=n,t.exports=o},55697:(t,e,i)=>{var n=i(58552),o=i(36471),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(n.VAS_STATE),this.oldState=void 0,this.newState=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setOldState=function(t){this.oldState=t},r.prototype.getOldState=function(){return this.oldState},r.prototype.setNewState=function(t){this.newState=t},r.prototype.getNewState=function(){return this.newState},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.oldState={},r._meta_.fields.oldState.type=o,r._meta_.fields.newState={},r._meta_.fields.newState.type=o,t.exports=r},51192:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VAULT_CARD),this.cardEntryMethods=void 0,this.tokenType=void 0,this.singleUse=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},s.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},s.prototype.setTokenType=function(t){this.tokenType=t},s.prototype.getTokenType=function(){return this.tokenType},s.prototype.setSingleUse=function(t){this.singleUse=t},s.prototype.getSingleUse=function(){return this.singleUse},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardEntryMethods={},s._meta_.fields.cardEntryMethods.type=Number,s._meta_.fields.tokenType={},s._meta_.fields.tokenType.type=String,s._meta_.fields.singleUse={},s._meta_.fields.singleUse.type=Boolean,t.exports=s},28681:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(15118),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VAULT_CARD_RESPONSE),this.reason=void 0,this.status=void 0,this.tokenType=void 0,this.card=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setTokenType=function(t){this.tokenType=t},a.prototype.getTokenType=function(){return this.tokenType},a.prototype.setCard=function(t){this.card=t},a.prototype.getCard=function(){return this.card},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.tokenType={},a._meta_.fields.tokenType.type=String,a._meta_.fields.card={},a._meta_.fields.card.type=r,t.exports=a},62517:(t,e,i)=>{var n=i(58552),o=i(63485),s=i(82794),r=i(42348),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.setMethod(n.VERIFY_SIGNATURE),this.payment=void 0,this.signature=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setSignature=function(t){this.signature=t},a.prototype.getSignature=function(){return this.signature},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=s,a._meta_.fields.signature={},a._meta_.fields.signature.type=r,t.exports=a},1023:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VOID_CREDIT),this.orderId=void 0,this.creditId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setCreditId=function(t){this.creditId=t},s.prototype.getCreditId=function(){return this.creditId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.creditId={},s._meta_.fields.creditId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,t.exports=s},42388:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(6639),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_CREDIT_RESPONSE),this.credit=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setCredit=function(t){this.credit=t},a.prototype.getCredit=function(){return this.credit},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.credit={},a._meta_.fields.credit.type=r,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,t.exports=a},84212:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_PAYMENT),this.payment=void 0,this.voidReason=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setVoidReason=function(t){this.voidReason=t},a.prototype.getVoidReason=function(){return this.voidReason},a.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},a.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},a.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},a.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},a.prototype.setExtras=function(t){this.extras=t},a.prototype.getExtras=function(){return this.extras},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=r,a._meta_.fields.voidReason={},a._meta_.fields.voidReason.type=o,a._meta_.fields.disableCloverPrinting={},a._meta_.fields.disableCloverPrinting.type=Boolean,a._meta_.fields.disableReceiptSelection={},a._meta_.fields.disableReceiptSelection.type=Boolean,a._meta_.fields.extras={},a._meta_.fields.extras.type=Object,t.exports=a},69996:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.VOID_PAYMENT_REFUND),this.orderId=void 0,this.refundId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1,this.extras=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setRefundId=function(t){this.refundId=t},s.prototype.getRefundId=function(){return this.refundId},s.prototype.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},s.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},s.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},s.prototype.setExtras=function(t){this.extras=t},s.prototype.getExtras=function(){return this.extras},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.refundId={},s._meta_.fields.refundId.type=String,s._meta_.fields.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,s._meta_.fields.disableReceiptSelection={},s._meta_.fields.disableReceiptSelection.type=Boolean,s._meta_.fields.extras={},s._meta_.fields.extras.type=Object,t.exports=s},68778:(t,e,i)=>{var n=i(58552),o=i(39933),s=i(63485),r=i(37471),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(n.VOID_PAYMENT_REFUND_RESPONSE),this.refund=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setStatus=function(t){this.status=t},a.prototype.getStatus=function(){return this.status},a.prototype.setSuccess=function(t){this.success=t},a.prototype.getSuccess=function(){return this.success},a.prototype.setReason=function(t){this.reason=t},a.prototype.getReason=function(){return this.reason},a.prototype.setMessage=function(t){this.message=t},a.prototype.getMessage=function(){return this.message},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=s._meta_,a._meta_.fields.refund={},a._meta_.fields.refund.type=r,a._meta_.fields.status={},a._meta_.fields.status.type=o,a._meta_.fields.success={},a._meta_.fields.success.type=Boolean,a._meta_.fields.reason={},a._meta_.fields.reason.type=String,a._meta_.fields.message={},a._meta_.fields.message.type=String,t.exports=a},52089:(t,e,i)=>{var n=i(58552),o=i(3306),s=i(39933),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(n.VOID_PAYMENT_RESPONSE),this.payment=void 0,this.voidReason=void 0,this.status=void 0,this.success=!1,this.reason=void 0,this.message=void 0};l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.setPayment=function(t){this.payment=t},l.prototype.getPayment=function(){return this.payment},l.prototype.setVoidReason=function(t){this.voidReason=t},l.prototype.getVoidReason=function(){return this.voidReason},l.prototype.setStatus=function(t){this.status=t},l.prototype.getStatus=function(){return this.status},l.prototype.setSuccess=function(t){this.success=t},l.prototype.getSuccess=function(){return this.success},l.prototype.setReason=function(t){this.reason=t},l.prototype.getReason=function(){return this.reason},l.prototype.setMessage=function(t){this.message=t},l.prototype.getMessage=function(){return this.message},l._meta_={fields:{}},l._meta_._class_=l,l._meta_._superMeta_=r._meta_,l._meta_.fields.payment={},l._meta_.fields.payment.type=a,l._meta_.fields.voidReason={},l._meta_.fields.voidReason.type=o,l._meta_.fields.status={},l._meta_.fields.status.type=s,l._meta_.fields.success={},l._meta_.fields.success.type=Boolean,l._meta_.fields.reason={},l._meta_.fields.reason.type=String,l._meta_.fields.message={},l._meta_.fields.message.type=String,t.exports=l},16095:(t,e,i)=>{var n=i(58552),o=i(63485),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.setMethod(n.SHOW_WELCOME_SCREEN)};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},90226:(t,e,i)=>{function n(){}t.exports.remotemessage=n,n.AcknowledgementMessage=i(71410),n.ActivityMessageFromActivity=i(93974),n.ActivityMessageToActivity=i(76307),n.ActivityRequest=i(29195),n.ActivityResponseMessage=i(45126),n.AddDiscountAction=i(28162),n.AddLineItemAction=i(32364),n.BalanceInquiryRequestMessage=i(4295),n.BalanceInquiryResponseMessage=i(57885),n.BreakMessage=i(8763),n.CapturePreAuthMessage=i(22008),n.CapturePreAuthResponseMessage=i(25478),n.CardDataRequestMessage=i(17843),n.CardDataResponseMessage=i(71346),n.CashbackSelectedMessage=i(1838),n.CloseoutRequestMessage=i(91146),n.CloseoutResponseMessage=i(9139),n.CloverDeviceLogMessage=i(93761),n.ConfigurationChangeMessage=i(58429),n.ConfirmPaymentMessage=i(85919),n.CreditPrintMessage=i(50441),n.CustomerInfoMessage=i(24088),n.CustomerProvidedDataMessage=i(41936),n.DeclineCreditPrintMessage=i(38237),n.DeclinePaymentPrintMessage=i(86712),n.DiscoveryRequestMessage=i(46025),n.DiscoveryResponseMessage=i(44709),n.EmployeePermissionsRequest=i(29450),n.ErrorCode=i(59911),n.ErrorCodeEnum=i(6694),n.ExternalDeviceState=i(13382),n.ExternalDeviceStateData=i(6505),n.ExternalDeviceStateEnum=i(89279),n.ExternalDeviceSubState=i(74199),n.FinishCancelMessage=i(44132),n.FinishOkMessage=i(4847),n.ForceConnectMessage=i(87233),n.GetPrintersRequestMessage=i(34077),n.GetPrintersResponseMessage=i(63019),n.ImagePrintMessage=i(54294),n.IncrementPreAuthMessage=i(6556),n.IncrementPreAuthResponseMessage=i(13500),n.InputOption=i(10915),n.InvalidStateTransitionMessage=i(58394),n.KeyPress=i(52750),n.KeyPressEnum=i(66688),n.KeyPressMessage=i(94368),n.LastMessageRequestMessage=i(95169),n.LastMessageResponseMessage=i(63581),n.LogLevelEnum=i(42128),n.LogMessage=i(60536),n.LoyaltyPointsCalculatedMessage=i(64202),n.LoyaltyPointsEarnedMessage=i(92507),n.LoyaltyPointsReceiptPrintedMessage=i(92027),n.Message=i(63485),n.Method=i(58552),n.OpenCashDrawerMessage=i(92444),n.OrderActionAddDiscountMessage=i(28333),n.OrderActionAddLineItemMessage=i(4861),n.OrderActionRemoveDiscountMessage=i(3559),n.OrderActionRemoveLineItemMessage=i(21497),n.OrderActionResponse=i(91485),n.OrderActionResponseMessage=i(79477),n.OrderUpdateMessage=i(976),n.PairingCodeMessage=i(34410),n.PairingRequestMessage=i(25138),n.PairingResponseMessage=i(9352),n.PairingState=i(49032),n.PartialAuthMessage=i(26960),n.PayIntent=i(23305),n.PaymentConfirmedMessage=i(68096),n.PaymentPrintMerchantCopyMessage=i(51118),n.PaymentPrintMessage=i(3385),n.PaymentRejectedMessage=i(33406),n.PaymentVoidedMessage=i(71382),n.PrintJobStatusRequestMessage=i(27195),n.PrintJobStatusResponseMessage=i(31174),n.QueryStatus=i(30741),n.QueryStatusEnum=i(40270),n.RefundPaymentPrintMessage=i(71041),n.RefundRequestMessage=i(24556),n.RefundResponseMessage=i(87567),n.RegisterForCustomerProvidedDataMessage=i(13904),n.RemoteError=i(79441),n.RemoteMessage=i(71085),n.RemoteMessageType=i(35552),n.RemoveDiscountAction=i(22873),n.RemoveLineItemAction=i(6294),n.RequestTipRequestMessage=i(56232),n.RequestTipResponseMessage=i(25322),n.ResetDeviceResponseMessage=i(8208),n.ResetMessage=i(36780),n.ResultStatus=i(39933),n.ResultStatusEnum=i(96643),n.RetrieveCustomActivitiesRequestMessage=i(34292),n.RetrieveCustomActivitiesResponseMessage=i(79154),n.RetrieveDeviceStatusRequestMessage=i(4997),n.RetrieveDeviceStatusResponseMessage=i(63331),n.RetrievePaymentRequestMessage=i(14471),n.RetrievePaymentResponseMessage=i(33187),n.RetrievePendingPaymentsMessage=i(55304),n.RetrievePendingPaymentsResponseMessage=i(85876),n.ShowPaymentReceiptOptionsMessage=i(30011),n.ShowReceiptOptionsMessage=i(33861),n.ShowReceiptOptionsResponseMessage=i(14011),n.ShutDownMessage=i(60159),n.SignatureRequestMessage=i(33957),n.SignatureResponseMessage=i(87252),n.SignatureVerifiedMessage=i(20801),n.StartVasMessage=i(68741),n.StopVasMessage=i(98080),n.TerminalMessage=i(62715),n.TextPrintMessage=i(82805),n.ThankYouMessage=i(30791),n.TipAddedMessage=i(15828),n.TipAdjustMessage=i(26974),n.TipAdjustResponseMessage=i(47935),n.TransactionType=i(98183),n.TxStartRequestMessage=i(27169),n.TxStartResponseMessage=i(66048),n.TxStartResponseResult=i(36311),n.TxState=i(42157),n.TxStateEnum=i(43506),n.TxStateMessage=i(30717),n.TxTypeRequestInfo=i(42105),n.UiDirection=i(36501),n.UiState=i(3325),n.UiStateMessage=i(2350),n.VasConfigChangedMessage=i(67864),n.VasConfigMessage=i(47171),n.VasPayloadMessage=i(14932),n.VasState=i(36471),n.VasStateEnum=i(6580),n.VasStateMessage=i(55697),n.VaultCardMessage=i(51192),n.VaultCardResponseMessage=i(28681),n.VerifySignatureMessage=i(62517),n.VoidCreditMessage=i(1023),n.VoidCreditResponseMessage=i(42388),n.VoidPaymentMessage=i(84212),n.VoidPaymentRefundMessage=i(69996),n.VoidPaymentRefundResponseMessage=i(68778),n.VoidPaymentResponseMessage=i(52089),n.WelcomeMessage=i(16095),t.exports=n},80567:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.action=void 0,this.payload=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.action={},o._meta_.fields.action.type=String,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,t.exports=o},50382:(t,e,i)=>{var n=i(95790),o=i(39513),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.PAYMENT};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},46049:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},34774:t=>{var e=function(){this._class_=e,this.requestId=void 0,this.version=void 0};e.prototype.setRequestId=function(t){this.requestId=t},e.prototype.getRequestId=function(){return this.requestId},e.prototype.setVersion=function(t){this.version=t},e.prototype.getVersion=function(){return this.version},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestId={},e._meta_.fields.requestId.type=String,e._meta_.fields.version={},e._meta_.fields.version.type=Number,t.exports=e},77122:(t,e,i)=>{var n=i(76631),o=function(){this._class_=o,this.success=void 0,this.result=void 0,this.reason=void 0,this.message=void 0};o.prototype.setSuccess=function(t){this.success=t},o.prototype.getSuccess=function(){return this.success},o.prototype.setResult=function(t){this.result=t},o.prototype.getResult=function(){return this.result},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.setMessage=function(t){this.message=t},o.prototype.getMessage=function(){return this.message},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.success={},o._meta_.fields.success.type=Boolean,o._meta_.fields.result={},o._meta_.fields.result.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,o._meta_.fields.message={},o._meta_.fields.message.type=String,t.exports=o},86745:(t,e,i)=>{var n=i(34774),o=i(95790),s=i(15118),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.disableDuplicateChecking=void 0,this.cardNotPresent=void 0,this.disableRestartTransactionOnFail=void 0,this.amount=void 0,this.cardEntryMethods=void 0,this.presentQrcOnly=void 0,this.vaultedCard=void 0,this.externalId=void 0,this.type=void 0,this.autoAcceptPaymentConfirmations=void 0,this.extras=void 0,this.regionalExtras=void 0,this.externalReferenceId=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setDisablePrinting=function(t){this.disablePrinting=t},r.prototype.getDisablePrinting=function(){return this.disablePrinting},r.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},r.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},r.prototype.setDisableDuplicateChecking=function(t){this.disableDuplicateChecking=t},r.prototype.getDisableDuplicateChecking=function(){return this.disableDuplicateChecking},r.prototype.setCardNotPresent=function(t){this.cardNotPresent=t},r.prototype.getCardNotPresent=function(){return this.cardNotPresent},r.prototype.setDisableRestartTransactionOnFail=function(t){this.disableRestartTransactionOnFail=t},r.prototype.getDisableRestartTransactionOnFail=function(){return this.disableRestartTransactionOnFail},r.prototype.setAmount=function(t){this.amount=t},r.prototype.getAmount=function(){return this.amount},r.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},r.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},r.prototype.setPresentQrcOnly=function(t){this.presentQrcOnly=t},r.prototype.getPresentQrcOnly=function(){return this.presentQrcOnly},r.prototype.setVaultedCard=function(t){this.vaultedCard=t},r.prototype.getVaultedCard=function(){return this.vaultedCard},r.prototype.setExternalId=function(t){this.externalId=t},r.prototype.getExternalId=function(){return this.externalId},r.prototype.getType=function(){return this.type},r.prototype.setAutoAcceptPaymentConfirmations=function(t){this.autoAcceptPaymentConfirmations=t},r.prototype.getAutoAcceptPaymentConfirmations=function(){return this.autoAcceptPaymentConfirmations},r.prototype.setExtras=function(t){this.extras=t},r.prototype.getExtras=function(){return this.extras},r.prototype.setRegionalExtras=function(t){this.regionalExtras=t},r.prototype.getRegionalExtras=function(){return this.regionalExtras},r.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},r.prototype.getExternalReferenceId=function(){return this.externalReferenceId},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.disablePrinting={},r._meta_.fields.disablePrinting.type=Boolean,r._meta_.fields.disableReceiptSelection={},r._meta_.fields.disableReceiptSelection.type=Boolean,r._meta_.fields.disableDuplicateChecking={},r._meta_.fields.disableDuplicateChecking.type=Boolean,r._meta_.fields.cardNotPresent={},r._meta_.fields.cardNotPresent.type=Boolean,r._meta_.fields.disableRestartTransactionOnFail={},r._meta_.fields.disableRestartTransactionOnFail.type=Boolean,r._meta_.fields.amount={},r._meta_.fields.amount.type=Number,r._meta_.fields.cardEntryMethods={},r._meta_.fields.cardEntryMethods.type=Number,r._meta_.fields.presentQrcOnly={},r._meta_.fields.presentQrcOnly.type=Boolean,r._meta_.fields.vaultedCard={},r._meta_.fields.vaultedCard.type=s,r._meta_.fields.externalId={},r._meta_.fields.externalId.type=String,r._meta_.fields.type={},r._meta_.fields.type.type=o,r._meta_.fields.autoAcceptPaymentConfirmations={},r._meta_.fields.autoAcceptPaymentConfirmations.type=Boolean,r._meta_.fields.extras={},r._meta_.fields.extras.type=Object,r._meta_.fields.regionalExtras={},r._meta_.fields.regionalExtras.type=Object,r._meta_.fields.externalReferenceId={},r._meta_.fields.externalReferenceId.type=String,t.exports=r},67293:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},52202:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},91991:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},42159:(t,e,i)=>{var n=i(77122),o=i(15118),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.card=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=o,t.exports=s},41692:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},3447:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,t.exports=o},92675:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.allowOpenTabs="false",this.batchId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},o.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},o.prototype.setBatchId=function(t){this.batchId=t},o.prototype.getBatchId=function(){return this.batchId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.allowOpenTabs={},o._meta_.fields.allowOpenTabs.type=Boolean,o._meta_.fields.batchId={},o._meta_.fields.batchId.type=String,t.exports=o},68001:(t,e,i)=>{var n=i(10360),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.batch=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setBatch=function(t){this.batch=t},s.prototype.getBatch=function(){return this.batch},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.batch={},s._meta_.fields.batch.type=n,t.exports=s},38982:(t,e,i)=>{var n=i(5063),o=i(95172),s=i(67314),r=function(){this._class_=r,this.message=void 0,this.code=void 0,this.cause=void 0,this.type=void 0};r.prototype.setMessage=function(t){this.message=t},r.prototype.getMessage=function(){return this.message},r.prototype.setCode=function(t){this.code=t},r.prototype.getCode=function(){return this.code},r.prototype.setCause=function(t){this.cause=t},r.prototype.getCause=function(){return this.cause},r.prototype.setType=function(t){this.type=t},r.prototype.getType=function(){return this.type},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.message={},r._meta_.fields.message.type=String,r._meta_.fields.code={},r._meta_.fields.code.type=n,r._meta_.fields.cause={},r._meta_.fields.cause.type=o,r._meta_.fields.type={},r._meta_.fields.type.type=s,t.exports=r},20764:(t,e,i)=>{var n=i(41985),o=i(11531),s=function(){this._class_=s,this.message=void 0,this.code=void 0,this.eventState=void 0,this.inputOptions=void 0};s.prototype.setMessage=function(t){this.message=t},s.prototype.getMessage=function(){return this.message},s.prototype.setCode=function(t){this.code=t},s.prototype.getCode=function(){return this.code},s.prototype.setEventState=function(t){this.eventState=t},s.prototype.getEventState=function(){return this.eventState},s.prototype.setInputOptions=function(t){this.inputOptions=t},s.prototype.getInputOptions=function(){return this.inputOptions},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.message={},s._meta_.fields.message.type=String,s._meta_.fields.code={},s._meta_.fields.code.type=Number,s._meta_.fields.eventState={},s._meta_.fields.eventState.type=n,s._meta_.fields.inputOptions={},s._meta_.fields.inputOptions.type=Array,s._meta_.fields.inputOptions.elementType=o,t.exports=s},59755:(t,e,i)=>{var n=i(34774),o=i(52514),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.challenges=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setChallenges=function(t){this.challenges=t},r.prototype.getChallenges=function(){return this.challenges},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,r._meta_.fields.challenges={},r._meta_.fields.challenges.type=Array,r._meta_.fields.challenges.elementType=o,t.exports=r},64991:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.action=void 0,this.payload=void 0,this.nonBlocking=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.setNonBlocking=function(t){this.nonBlocking=t},o.prototype.getNonBlocking=function(){return this.nonBlocking},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.action={},o._meta_.fields.action.type=String,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,o._meta_.fields.nonBlocking={},o._meta_.fields.nonBlocking.type=Boolean,t.exports=o},56053:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.payload=void 0,this.action=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPayload=function(t){this.payload=t},o.prototype.getPayload=function(){return this.payload},o.prototype.setAction=function(t){this.action=t},o.prototype.getAction=function(){return this.action},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.payload={},o._meta_.fields.payload.type=String,o._meta_.fields.action={},o._meta_.fields.action.type=String,t.exports=o},69662:(t,e,i)=>{var n=i(26866),o=function(){this._class_=o,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};o.prototype.setCustomer=function(t){this.customer=t},o.prototype.getCustomer=function(){return this.customer},o.prototype.setDisplayString=function(t){this.displayString=t},o.prototype.getDisplayString=function(){return this.displayString},o.prototype.setExternalId=function(t){this.externalId=t},o.prototype.getExternalId=function(){return this.externalId},o.prototype.setExternalSystemName=function(t){this.externalSystemName=t},o.prototype.getExternalSystemName=function(){return this.externalSystemName},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.customer={},o._meta_.fields.customer.type=n,o._meta_.fields.displayString={},o._meta_.fields.displayString.type=String,o._meta_.fields.externalId={},o._meta_.fields.externalId.type=String,o._meta_.fields.externalSystemName={},o._meta_.fields.externalSystemName.type=String,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},84432:(t,e,i)=>{var n=i(71508),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.eventId=void 0,this.config=void 0,this.data=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setEventId=function(t){this.eventId=t},s.prototype.getEventId=function(){return this.eventId},s.prototype.setConfig=function(t){this.config=t},s.prototype.getConfig=function(){return this.config},s.prototype.setData=function(t){this.data=t},s.prototype.getData=function(){return this.data},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.eventId={},s._meta_.fields.eventId.type=String,s._meta_.fields.config={},s._meta_.fields.config.type=n,s._meta_.fields.data={},s._meta_.fields.data.type=String,t.exports=s},71508:t=>{var e=function(){this._class_=e,this.type=void 0,this.configuration=void 0};e.prototype.setType=function(t){this.type=t},e.prototype.getType=function(){return this.type},e.prototype.setConfiguration=function(t){this.configuration=t},e.prototype.getConfiguration=function(){return this.configuration},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.type={},e._meta_.fields.type.type=String,e._meta_.fields.configuration={},e._meta_.fields.configuration.type=Object,t.exports=e},5063:t=>{t.exports={AbortEndpoint:"AbortEndpoint",AccessDenied:"AccessDenied",CancelIoFailed:"CancelIoFailed",DeviceAllreadyLocked:"DeviceAllreadyLocked",DeviceIoControl:"DeviceIoControl",DeviceNotFound:"DeviceNotFound",EndpointAllreadyLocked:"EndpointAllreadyLocked",GetDeviceKeyValueFailed:"GetDeviceKeyValueFailed",GetOverlappedResult:"GetOverlappedResult",GetString:"GetString",InsufficientMemory:"InsufficientMemory",Interrupted:"Interrupted",InvalidConfig:"InvalidConfig",InvalidEndpoint:"InvalidEndpoint",InvalidParam:"InvalidParam",IoCancelled:"IoCancelled",IoControlMessage:"IoControlMessage",IoEndpointGlobalCancelRedo:"IoEndpointGlobalCancelRedo",IoSyncFailed:"IoSyncFailed",IoTimedOut:"IoTimedOut",MonoApiError:"MonoApiError",None:"None",NotConnected:"NotConnected",NotSupported:"NotSupported",Ok:"Ok",Overflow:"Overflow",PipeError:"PipeError",ReadFailed:"ReadFailed",ReceiveThreadTerminated:"ReceiveThreadTerminated",ResourceBusy:"ResourceBusy",SendNotificationFailure:"SendNotificationFailure",SetDeviceKeyValueFailed:"SetDeviceKeyValueFailed",Success:"Success",UnknownError:"UnknownError",UserAborted:"UserAborted",Win32Error:"Win32Error",WriteFailed:"WriteFailed"}},89406:(t,e,i)=>{var n=i(5063),o=i(41985),s=function(){this._class_=s,this.deviceErrorEventCode=void 0,this.deviceEventState=void 0};s.prototype.setDeviceErrorEventCode=function(t){this.deviceErrorEventCode=t},s.prototype.getDeviceErrorEventCode=function(){return this.deviceErrorEventCode},s.prototype.setDeviceEventState=function(t){this.deviceEventState=t},s.prototype.getDeviceEventState=function(){return this.deviceEventState},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.deviceErrorEventCode={},s._meta_.fields.deviceErrorEventCode.type=n,s._meta_.fields.deviceEventState={},s._meta_.fields.deviceEventState.type=o,t.exports=s},41985:t=>{t.exports={ADD_SIGNATURE:"ADD_SIGNATURE",ADD_SIGNATURE_CANCEL_CONFIRM:"ADD_SIGNATURE_CANCEL_CONFIRM",ADD_TIP:"ADD_TIP",APPROVE_ELV_LIMIT_OVERRIDE:"APPROVE_ELV_LIMIT_OVERRIDE",APPROVED:"APPROVED",CANCELED:"CANCELED",CASHBACK_CONFIRM:"CASHBACK_CONFIRM",CASHBACK_SELECT:"CASHBACK_SELECT",CONFIGURING:"CONFIGURING",CONFIRM_AMOUNT:"CONFIRM_AMOUNT",CONFIRM_DUPLICATE_CHECK:"CONFIRM_DUPLICATE_CHECK",CONFIRM_PARTIAL_AUTH:"CONFIRM_PARTIAL_AUTH",CONTACTLESS_TAP_REQUIRED:"CONTACTLESS_TAP_REQUIRED",CUSTOM_ACTIVITY:"CUSTOM_ACTIVITY",CUSTOM_TIP_AMOUNT:"CUSTOM_TIP_AMOUNT",DCC_HOST_REQUEST:"DCC_HOST_REQUEST",DECLINED:"DECLINED",ENTER_INSTALLMENT_CODE:"ENTER_INSTALLMENT_CODE",ENTER_INSTALLMENTS:"ENTER_INSTALLMENTS",ENTER_PAN_LAST_FOUR:"ENTER_PAN_LAST_FOUR",ERROR_SCREEN:"ERROR_SCREEN",FAILED:"FAILED",FATAL:"FATAL",FISCAL_INVOICE_NUMBER:"FISCAL_INVOICE_NUMBER",FORCE_ACCEPTANCE:"FORCE_ACCEPTANCE",HANDLE_TENDER:"HANDLE_TENDER",INPUT_ERROR:"INPUT_ERROR",MANUAL_CARD_CVV:"MANUAL_CARD_CVV",MANUAL_CARD_CVV_UNREADABLE:"MANUAL_CARD_CVV_UNREADABLE",MANUAL_CARD_EXPIRATION:"MANUAL_CARD_EXPIRATION",MANUAL_CARD_NUMBER:"MANUAL_CARD_NUMBER",MANUAL_ENTRY_FALLBACK:"MANUAL_ENTRY_FALLBACK",OFFLINE_PAYMENT_CONFIRM:"OFFLINE_PAYMENT_CONFIRM",PACKET_EXCEPTION:"PACKET_EXCEPTION",PERSONAL_ID_ENTRY:"PERSONAL_ID_ENTRY",PERSONAL_ID_ENTRY_PAS:"PERSONAL_ID_ENTRY_PAS",PIN_BYPASS_CONFIRM:"PIN_BYPASS_CONFIRM",PIN_PAD:"PIN_PAD",PROCESSING:"PROCESSING",PROCESSING_CREDIT:"PROCESSING_CREDIT",PROCESSING_GO_ONLINE:"PROCESSING_GO_ONLINE",PROCESSING_SWIPE:"PROCESSING_SWIPE",RECEIPT_OPTIONS:"RECEIPT_OPTIONS",REMOVE_CARD:"REMOVE_CARD",RETURN_TO_MERCHANT:"RETURN_TO_MERCHANT",SELECT_ACCOUNT:"SELECT_ACCOUNT",SELECT_APPLICATION:"SELECT_APPLICATION",SELECT_DCC:"SELECT_DCC",SELECT_INSTALLMENT_PLAN:"SELECT_INSTALLMENT_PLAN",SELECT_LANGUAGE:"SELECT_LANGUAGE",SELECT_MULTI_MID:"SELECT_MULTI_MID",SELECT_TIP:"SELECT_TIP",SELECT_WITHDRAW_FROM_ACCOUNT:"SELECT_WITHDRAW_FROM_ACCOUNT",SENSORY_EXPERIENCE:"SENSORY_EXPERIENCE",SHOW_SEPA_MANDAT:"SHOW_SEPA_MANDAT",SIGNATURE_CUSTOMER_MODE:"SIGNATURE_CUSTOMER_MODE",SIGNATURE_ON_SCREEN_FALLBACK:"SIGNATURE_ON_SCREEN_FALLBACK",SIGNATURE_REJECT:"SIGNATURE_REJECT",START:"START",STARTING_CUSTOM_ACTIVITY:"STARTING_CUSTOM_ACTIVITY",START_QR_CODE_MODE:"START_QR_CODE_MODE",SWIPE_CVV_ENTRY:"SWIPE_CVV_ENTRY",TIMED_OUT:"TIMED_OUT",TRY_AGAIN:"TRY_AGAIN",VERIFY_SIGNATURE_ON_PAPER:"VERIFY_SIGNATURE_ON_PAPER",VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_PAPER_CONFIRM_VOID",VERIFY_SIGNATURE_ON_SCREEN:"VERIFY_SIGNATURE_ON_SCREEN",VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID:"VERIFY_SIGNATURE_ON_SCREEN_CONFIRM_VOID",VERIFY_SURCHARGES:"VERIFY_SURCHARGES",VOICE_REFERRAL_RESULT:"VOICE_REFERRAL_RESULT",VOID_CONFIRM:"VOID_CONFIRM",VOIDED:"VOIDED"}},25756:t=>{var e=function(){this._class_=e,this.name=void 0,this.model=void 0,this.serial=void 0,this.supportsAcks=void 0,this.supportsVoidPaymentResponse=void 0};e.prototype.setName=function(t){this.name=t},e.prototype.getName=function(){return this.name},e.prototype.setModel=function(t){this.model=t},e.prototype.getModel=function(){return this.model},e.prototype.setSerial=function(t){this.serial=t},e.prototype.getSerial=function(){return this.serial},e.prototype.setSupportsAcks=function(t){this.supportsAcks=t},e.prototype.getSupportsAcks=function(){return this.supportsAcks},e.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},e.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.name={},e._meta_.fields.name.type=String,e._meta_.fields.model={},e._meta_.fields.model.type=String,e._meta_.fields.serial={},e._meta_.fields.serial.type=String,e._meta_.fields.supportsAcks={},e._meta_.fields.supportsAcks.type=Boolean,e._meta_.fields.supportsVoidPaymentResponse={},e._meta_.fields.supportsVoidPaymentResponse.type=Boolean,t.exports=e},53463:t=>{var e=function(){this._class_=e,this.orderId=void 0,this.paymentId=void 0,this.refundId=void 0,this.creditId=void 0,this.disablePrinting=!1};e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setPaymentId=function(t){this.paymentId=t},e.prototype.getPaymentId=function(){return this.paymentId},e.prototype.setRefundId=function(t){this.refundId=t},e.prototype.getRefundId=function(){return this.refundId},e.prototype.setCreditId=function(t){this.creditId=t},e.prototype.getCreditId=function(){return this.creditId},e.prototype.setDisablePrinting=function(t){this.disablePrinting=t},e.prototype.getDisablePrinting=function(){return this.disablePrinting},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.paymentId={},e._meta_.fields.paymentId.type=String,e._meta_.fields.refundId={},e._meta_.fields.refundId.type=String,e._meta_.fields.creditId={},e._meta_.fields.creditId.type=String,e._meta_.fields.disablePrinting={},e._meta_.fields.disablePrinting.type=Boolean,t.exports=e},12145:(t,e,i)=>{var n=i(75710),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.resultStatus=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setResultStatus=function(t){this.resultStatus=t},s.prototype.getResultStatus=function(){return this.resultStatus},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.resultStatus={},s._meta_.fields.resultStatus.type=n,t.exports=s},67314:t=>{t.exports={COMMUNICATION:"COMMUNICATION",VALIDATION:"VALIDATION",EXCEPTION:"EXCEPTION"}},30057:t=>{t.exports={IDLE:"IDLE",BUSY:"BUSY",WAITING_FOR_POS:"WAITING_FOR_POS",WAITING_FOR_CUSTOMER:"WAITING_FOR_CUSTOMER",UNKNOWN:"UNKNOWN"}},76418:t=>{var e=function(){this._class_=e,this.externalPaymentId=void 0,this.customActivityId=void 0};e.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},e.prototype.getExternalPaymentId=function(){return this.externalPaymentId},e.prototype.setCustomActivityId=function(t){this.customActivityId=t},e.prototype.getCustomActivityId=function(){return this.customActivityId},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.externalPaymentId={},e._meta_.fields.externalPaymentId.type=String,e._meta_.fields.customActivityId={},e._meta_.fields.customActivityId.type=String,t.exports=e},85017:(t,e,i)=>{var n=i(30057),o=function(){this._class_=o,this.state=void 0};o.prototype.setState=function(t){this.state=t},o.prototype.getState=function(){return this.state},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.state={},o._meta_.fields.state.type=n,t.exports=o},77385:t=>{var e=function(){};e.prototype.acceptSignature=function(t){},e.prototype.acceptPayment=function(t){},e.prototype.rejectPayment=function(t,e){},e.prototype.auth=function(t){},e.prototype.preAuth=function(t){},e.prototype.capturePreAuth=function(t){},e.prototype.incrementPreAuth=function(t){},e.prototype.closeout=function(t){},e.prototype.displayReceiptOptions=function(t){},e.prototype.showDisplayOrder=function(t){},e.prototype.removeDisplayOrder=function(t){},e.prototype.discountAddedToDisplayOrder=function(t,e){},e.prototype.discountRemovedFromDisplayOrder=function(t,e){},e.prototype.lineItemAddedToDisplayOrder=function(t,e){},e.prototype.lineItemRemovedFromDisplayOrder=function(t,e){},e.prototype.dispose=function(){},e.prototype.invokeInputOption=function(t){},e.prototype.manualRefund=function(t){},e.prototype.refundPayment=function(t){},e.prototype.openCashDrawer=function(t){},e.prototype.print=function(t){},e.prototype.rejectSignature=function(t){},e.prototype.resetDevice=function(){},e.prototype.sale=function(t){},e.prototype.showMessage=function(t){},e.prototype.showThankYouScreen=function(){},e.prototype.showWelcomeScreen=function(){},e.prototype.tipAdjustAuth=function(t){},e.prototype.vaultCard=function(t){},e.prototype.voidPayment=function(t){},e.prototype.initializeConnection=function(){},e.prototype.retrievePendingPayments=function(){},e.prototype.readCardData=function(t){},e.prototype.sendMessageToActivity=function(t){},e.prototype.startCustomActivity=function(t){},e.prototype.retrieveDeviceStatus=function(t){return null},e.prototype.retrievePayment=function(t){},e.prototype.retrievePrinters=function(t){},e.prototype.retrievePrintJobStatus=function(t){},e.prototype.registerForCustomerProvidedData=function(t){},e.prototype.setCustomerInfo=function(t){},e.prototype.checkBalance=function(t){},t.exports=e},31806:t=>{var e=function(){};e.prototype.onDeviceDisconnected=function(){},e.prototype.onDeviceConnected=function(){},e.prototype.onDeviceReady=function(t){},e.prototype.onDeviceActivityStart=function(t){},e.prototype.onDeviceActivityEnd=function(t){},e.prototype.onDeviceError=function(t){},e.prototype.onAuthResponse=function(t){},e.prototype.onTipAdjustAuthResponse=function(t){},e.prototype.onCapturePreAuthResponse=function(t){},e.prototype.onIncrementPreAuthResponse=function(t){},e.prototype.onVerifySignatureRequest=function(t){},e.prototype.onConfirmPaymentRequest=function(t){},e.prototype.onCloseoutResponse=function(t){},e.prototype.onSaleResponse=function(t){},e.prototype.onManualRefundResponse=function(t){},e.prototype.onRefundPaymentResponse=function(t){},e.prototype.onTipAdded=function(t){},e.prototype.onVoidPaymentResponse=function(t){},e.prototype.onVoidPaymentRefundResponse=function(t){},e.prototype.onVaultCardResponse=function(t){},e.prototype.onPreAuthResponse=function(t){},e.prototype.onRetrievePendingPaymentsResponse=function(t){},e.prototype.onReadCardDataResponse=function(t){},e.prototype.onMessageFromActivity=function(t){},e.prototype.onCustomActivityResponse=function(t){},e.prototype.onRetrieveDeviceStatusResponse=function(t){},e.prototype.onInvalidStateTransitionResponse=function(t){},e.prototype.onResetDeviceResponse=function(t){},e.prototype.onRetrievePaymentResponse=function(t){},e.prototype.onRetrievePrintersResponse=function(t){},e.prototype.onPrintJobStatusResponse=function(t){},e.prototype.onPrintManualRefundReceipt=function(t){},e.prototype.onPrintManualRefundDeclineReceipt=function(t){},e.prototype.onPrintPaymentReceipt=function(t){},e.prototype.onPrintPaymentDeclineReceipt=function(t){},e.prototype.onPrintPaymentMerchantCopyReceipt=function(t){},e.prototype.onPrintRefundPaymentReceipt=function(t){},e.prototype.onCustomerProvidedData=function(t){},e.prototype.onDisplayReceiptOptionsResponse=function(t){},e.prototype.onRequestSignatureResponse=function(t){},e.prototype.onCheckBalanceResponse=function(t){},e.prototype.onRequestTipResponse=function(t){},t.exports=e},67865:t=>{var e=function(){this._class_=e,this.data=void 0,this.src=void 0,this.width=void 0,this.height=void 0};e.prototype.setData=function(t){this.data=t},e.prototype.getData=function(){return this.data},e.prototype.setSrc=function(t){this.src=t},e.prototype.getSrc=function(){return this.src},e.prototype.setWidth=function(t){this.width=t},e.prototype.getWidth=function(){return this.width},e.prototype.setHeight=function(t){this.height=t},e.prototype.getHeight=function(){return this.height},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.data={},e._meta_.fields.data.type=String,e._meta_.fields.src={},e._meta_.fields.src.type=String,e._meta_.fields.width={},e._meta_.fields.width.type=Number,e._meta_.fields.height={},e._meta_.fields.height.type=Number,t.exports=e},31650:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.amount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},4580:(t,e,i)=>{var n=i(93657),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.authorization=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setAuthorization=function(t){this.authorization=t},s.prototype.getAuthorization=function(){return this.authorization},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.authorization={},s._meta_.fields.authorization.type=n,t.exports=s},11531:(t,e,i)=>{var n=i(38146),o=function(){this._class_=o,this.keyPress=void 0,this.description=void 0};o.prototype.setKeyPress=function(t){this.keyPress=t},o.prototype.getKeyPress=function(){return this.keyPress},o.prototype.setDescription=function(t){this.description=t},o.prototype.getDescription=function(){return this.description},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.keyPress={},o._meta_.fields.keyPress.type=n,o._meta_.fields.description={},o._meta_.fields.description.type=String,t.exports=o},33292:(t,e,i)=>{var n=i(30057),o=i(77122),s=i(76418),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.requestedTransition=void 0,this.state=void 0,this.data=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setRequestedTransition=function(t){this.requestedTransition=t},r.prototype.getRequestedTransition=function(){return this.requestedTransition},r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.requestedTransition={},r._meta_.fields.requestedTransition.type=String,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},38146:t=>{t.exports={NONE:"NONE",ENTER:"ENTER",ESC:"ESC",BACKSPACE:"BACKSPACE",TAB:"TAB",STAR:"STAR",BUTTON_1:"BUTTON_1",BUTTON_2:"BUTTON_2",BUTTON_3:"BUTTON_3",BUTTON_4:"BUTTON_4",BUTTON_5:"BUTTON_5",BUTTON_6:"BUTTON_6",BUTTON_7:"BUTTON_7",BUTTON_8:"BUTTON_8",DIGIT_1:"DIGIT_1",DIGIT_2:"DIGIT_2",DIGIT_3:"DIGIT_3",DIGIT_4:"DIGIT_4",DIGIT_5:"DIGIT_5",DIGIT_6:"DIGIT_6",DIGIT_7:"DIGIT_7",DIGIT_8:"DIGIT_8",DIGIT_9:"DIGIT_9",DIGIT_0:"DIGIT_0"}},38068:(t,e,i)=>{var n=i(38146),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},24950:(t,e,i)=>{var n=i(95790),o=i(86745),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.CREDIT};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},25924:(t,e,i)=>{var n=i(77122),o=i(6639),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.credit=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,t.exports=s},4682:(t,e,i)=>{var n=i(25756),o=function(){this._class_=o,this.merchantID=void 0,this.merchantMID=void 0,this.merchantName=void 0,this.supportsAuths=!0,this.supportsPreAuths=!0,this.supportsSales=!0,this.supportsVaultCards=!0,this.supportsManualRefunds=!0,this.supportsTipAdjust=!0,this.deviceInfo=void 0};o.prototype.setMerchantID=function(t){this.merchantID=t},o.prototype.getMerchantID=function(){return this.merchantID},o.prototype.setMerchantMID=function(t){this.merchantMID=t},o.prototype.getMerchantMID=function(){return this.merchantMID},o.prototype.setMerchantName=function(t){this.merchantName=t},o.prototype.getMerchantName=function(){return this.merchantName},o.prototype.setSupportsAuths=function(t){this.supportsAuths=t},o.prototype.getSupportsAuths=function(){return this.supportsAuths},o.prototype.setSupportsPreAuths=function(t){this.supportsPreAuths=t},o.prototype.getSupportsPreAuths=function(){return this.supportsPreAuths},o.prototype.setSupportsSales=function(t){this.supportsSales=t},o.prototype.getSupportsSales=function(){return this.supportsSales},o.prototype.setSupportsVaultCards=function(t){this.supportsVaultCards=t},o.prototype.getSupportsVaultCards=function(){return this.supportsVaultCards},o.prototype.setSupportsManualRefunds=function(t){this.supportsManualRefunds=t},o.prototype.getSupportsManualRefunds=function(){return this.supportsManualRefunds},o.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},o.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},o.prototype.setDeviceInfo=function(t){this.deviceInfo=t},o.prototype.getDeviceInfo=function(){return this.deviceInfo},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.merchantID={},o._meta_.fields.merchantID.type=String,o._meta_.fields.merchantMID={},o._meta_.fields.merchantMID.type=String,o._meta_.fields.merchantName={},o._meta_.fields.merchantName.type=String,o._meta_.fields.supportsAuths={},o._meta_.fields.supportsAuths.type=Boolean,o._meta_.fields.supportsPreAuths={},o._meta_.fields.supportsPreAuths.type=Boolean,o._meta_.fields.supportsSales={},o._meta_.fields.supportsSales.type=Boolean,o._meta_.fields.supportsVaultCards={},o._meta_.fields.supportsVaultCards.type=Boolean,o._meta_.fields.supportsManualRefunds={},o._meta_.fields.supportsManualRefunds.type=Boolean,o._meta_.fields.supportsTipAdjust={},o._meta_.fields.supportsTipAdjust.type=Boolean,o._meta_.fields.deviceInfo={},o._meta_.fields.deviceInfo.type=n,t.exports=o},42845:(t,e,i)=>{var n=i(80567),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},89378:(t,e,i)=>{var n=i(80567),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},62337:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.reason=void 0,this.deviceId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.setDeviceId=function(t){this.deviceId=t},o.prototype.getDeviceId=function(){return this.deviceId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,o._meta_.fields.deviceId={},o._meta_.fields.deviceId.type=String,t.exports=o},25008:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(42348),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,this.isSale=!1,this.isPreAuth=!1,this.isAuth=!1,this.signature=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setIsSale=function(t){this.isSale=t},r.prototype.getIsSale=function(){return this.isSale},r.prototype.setIsPreAuth=function(t){this.isPreAuth=t},r.prototype.getIsPreAuth=function(){return this.isPreAuth},r.prototype.setIsAuth=function(t){this.isAuth=t},r.prototype.getIsAuth=function(){return this.isAuth},r.prototype.setSignature=function(t){this.signature=t},r.prototype.getSignature=function(){return this.signature},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,r._meta_.fields.isSale={},r._meta_.fields.isSale.type=Boolean,r._meta_.fields.isPreAuth={},r._meta_.fields.isPreAuth.type=Boolean,r._meta_.fields.isAuth={},r._meta_.fields.isAuth.type=Boolean,r._meta_.fields.signature={},r._meta_.fields.signature.type=s,t.exports=r},95172:t=>{var e=function(){this._class_=e,this.message=void 0};e.prototype.setMessage=function(t){this.message=t},e.prototype.getMessage=function(){return this.message},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.message={},e._meta_.fields.message.type=String,t.exports=e},72076:(t,e,i)=>{var n=i(95790),o=i(86745),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.type=n.AUTH};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,t.exports=s},80178:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},62979:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.printRequestId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPrintRequestId=function(t){this.printRequestId=t},o.prototype.getPrintRequestId=function(){return this.printRequestId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.printRequestId={},o._meta_.fields.printRequestId.type=String,t.exports=o},93435:(t,e,i)=>{var n=i(15350),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.status=void 0,this.printRequestId=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setPrintRequestId=function(t){this.printRequestId=t},s.prototype.getPrintRequestId=function(){return this.printRequestId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,t.exports=s},83260:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.credit=void 0,this.reason=void 0};o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},22611:(t,e,i)=>{var n=i(6639),o=function(){this._class_=o,this.credit=void 0};o.prototype.setCredit=function(t){this.credit=t},o.prototype.getCredit=function(){return this.credit},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.credit={},o._meta_.fields.credit.type=n,t.exports=o},30546:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.payment=void 0,this.reason=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.setReason=function(t){this.reason=t},o.prototype.getReason=function(){return this.reason},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,o._meta_.fields.reason={},o._meta_.fields.reason.type=String,t.exports=o},6483:(t,e,i)=>{var n=i(82794),o=function(){this._class_=o,this.payment=void 0};o.prototype.setPayment=function(t){this.payment=t},o.prototype.getPayment=function(){return this.payment},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.payment={},o._meta_.fields.payment.type=n,t.exports=o},31470:(t,e,i)=>{var n=i(82794),o=i(14326),s=function(){this._class_=s,this.payment=void 0,this.order=void 0};s.prototype.setPayment=function(t){this.payment=t},s.prototype.getPayment=function(){return this.payment},s.prototype.setOrder=function(t){this.order=t},s.prototype.getOrder=function(){return this.order},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.payment={},s._meta_.fields.payment.type=n,s._meta_.fields.order={},s._meta_.fields.order.type=o,t.exports=s},74840:(t,e,i)=>{var n=i(82794),o=i(14326),s=i(37471),r=function(){this._class_=r,this.payment=void 0,this.order=void 0,this.refund=void 0};r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setOrder=function(t){this.order=t},r.prototype.getOrder=function(){return this.order},r.prototype.setRefund=function(t){this.refund=t},r.prototype.getRefund=function(){return this.refund},r.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},r.prototype.toString=function(){return JSON.stringify(this)},r._meta_={fields:{}},r._meta_._class_=r,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,r._meta_.fields.order={},r._meta_.fields.order.type=o,r._meta_.fields.refund={},r._meta_.fields.refund.type=s,t.exports=r},75344:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(14326),r=i(37471),a=function(){o.call(this),this._superClass_=o,this._class_=a,this.payment=void 0,this.refund=void 0,this.order=void 0};a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.setPayment=function(t){this.payment=t},a.prototype.getPayment=function(){return this.payment},a.prototype.setRefund=function(t){this.refund=t},a.prototype.getRefund=function(){return this.refund},a.prototype.setOrder=function(t){this.order=t},a.prototype.getOrder=function(){return this.order},a._meta_={fields:{}},a._meta_._class_=a,a._meta_._superMeta_=o._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=n,a._meta_.fields.refund={},a._meta_.fields.refund.type=r,a._meta_.fields.order={},a._meta_.fields.order.type=s,t.exports=a},3627:(t,e,i)=>{var n=i(34774),o=i(67865),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.images=void 0,this.text=void 0,this.imageUrls=void 0,this.printRequestId=void 0,this.printDeviceId=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setImages=function(t){this.images=t},s.prototype.getImages=function(){return this.images},s.prototype.setText=function(t){this.text=t},s.prototype.getText=function(){return this.text},s.prototype.setImageUrls=function(t){this.imageUrls=t},s.prototype.getImageUrls=function(){return this.imageUrls},s.prototype.setPrintRequestId=function(t){this.printRequestId=t},s.prototype.getPrintRequestId=function(){return this.printRequestId},s.prototype.setPrintDeviceId=function(t){this.printDeviceId=t},s.prototype.getPrintDeviceId=function(){return this.printDeviceId},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.images={},s._meta_.fields.images.type=Array,s._meta_.fields.images.elementType=o,s._meta_.fields.text={},s._meta_.fields.text.type=Array,s._meta_.fields.imageUrls={},s._meta_.fields.imageUrls.type=Array,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,s._meta_.fields.printDeviceId={},s._meta_.fields.printDeviceId.type=String,t.exports=s},74675:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},72721:(t,e,i)=>{var n=i(74675),o=function(){this._class_=o,this.queryStatus=void 0};o.prototype.setQueryStatus=function(t){this.queryStatus=t},o.prototype.getQueryStatus=function(){return this.queryStatus},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.queryStatus={},o._meta_.fields.queryStatus.type=n,t.exports=o},4814:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.isForceSwipePinEntry=void 0,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},o.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.isForceSwipePinEntry={},o._meta_.fields.isForceSwipePinEntry.type=Boolean,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},96031:(t,e,i)=>{var n=i(9728),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.cardData=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setCardData=function(t){this.cardData=t},s.prototype.getCardData=function(){return this.cardData},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.cardData={},s._meta_.fields.cardData.type=n,t.exports=s},10361:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.fullRefund=void 0,this.amount=void 0,this.orderId=void 0,this.paymentId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setFullRefund=function(t){this.fullRefund=t},o.prototype.getFullRefund=function(){return this.fullRefund},o.prototype.setAmount=function(t){this.amount=t},o.prototype.getAmount=function(){return this.amount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.fullRefund={},o._meta_.fields.fullRefund.type=Boolean,o._meta_.fields.amount={},o._meta_.fields.amount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},76430:(t,e,i)=>{var n=i(77122),o=i(37471),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.orderId=void 0,this.paymentId=void 0,this.refund=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setOrderId=function(t){this.orderId=t},s.prototype.getOrderId=function(){return this.orderId},s.prototype.setPaymentId=function(t){this.paymentId=t},s.prototype.getPaymentId=function(){return this.paymentId},s.prototype.setRefund=function(t){this.refund=t},s.prototype.getRefund=function(){return this.refund},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.orderId={},s._meta_.fields.orderId.type=String,s._meta_.fields.paymentId={},s._meta_.fields.paymentId.type=String,s._meta_.fields.refund={},s._meta_.fields.refund.type=o,t.exports=s},68400:(t,e,i)=>{var n=i(34774),o=i(71508),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.configurations=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setConfigurations=function(t){this.configurations=t},s.prototype.getConfigurations=function(){return this.configurations},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.configurations={},s._meta_.fields.configurations.type=Array,s._meta_.fields.configurations.elementType=o,t.exports=s},15227:(t,e,i)=>{var n=i(30057),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.state=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setState=function(t){this.state=t},s.prototype.getState=function(){return this.state},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.state={},s._meta_.fields.state.type=n,t.exports=s},76631:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",UNSUPPORTED:"UNSUPPORTED",CANCEL:"CANCEL",DUPLICATE:"DUPLICATE",ERROR:"ERROR"}},69417:(t,e,i)=>{var n=i(76631),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},75710:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},98199:(t,e,i)=>{var n=i(75710),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},82523:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.sendLastMessage=!1};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},o.prototype.getSendLastMessage=function(){return this.sendLastMessage},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.sendLastMessage={},o._meta_.fields.sendLastMessage.type=Boolean,t.exports=o},71721:(t,e,i)=>{var n=i(30057),o=i(77122),s=i(76418),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.state=void 0,this.data=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setState=function(t){this.state=t},r.prototype.getState=function(){return this.state},r.prototype.setData=function(t){this.data=t},r.prototype.getData=function(){return this.data},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.state={},r._meta_.fields.state.type=n,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},98284:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.externalPaymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},o.prototype.getExternalPaymentId=function(){return this.externalPaymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.externalPaymentId={},o._meta_.fields.externalPaymentId.type=String,t.exports=o},8405:(t,e,i)=>{var n=i(82794),o=i(77122),s=i(74675),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.externalPaymentId=void 0,this.queryStatus=void 0,this.payment=void 0};r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},r.prototype.getExternalPaymentId=function(){return this.externalPaymentId},r.prototype.setQueryStatus=function(t){this.queryStatus=t},r.prototype.getQueryStatus=function(){return this.queryStatus},r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=o._meta_,r._meta_.fields.externalPaymentId={},r._meta_.fields.externalPaymentId.type=String,r._meta_.fields.queryStatus={},r._meta_.fields.queryStatus.type=s,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,t.exports=r},31971:(t,e,i)=>{var n=i(4258),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.pendingPaymentEntries=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPendingPaymentEntries=function(t){this.pendingPaymentEntries=t},s.prototype.getPendingPaymentEntries=function(){return this.pendingPaymentEntries},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.pendingPaymentEntries={},s._meta_.fields.pendingPaymentEntries.type=Array,s._meta_.fields.pendingPaymentEntries.elementType=n,t.exports=s},84279:(t,e,i)=>{var n=i(34774),o=i(34454),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.category=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCategory=function(t){this.category=t},s.prototype.getCategory=function(){return this.category},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.category={},s._meta_.fields.category.type=o,t.exports=s},10646:(t,e,i)=>{var n=i(43540),o=i(77122),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.printers=void 0};s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.setPrinters=function(t){this.printers=t},s.prototype.getPrinters=function(){return this.printers},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=o._meta_,s._meta_.fields.printers={},s._meta_.fields.printers.type=Array,s._meta_.fields.printers.elementType=n,t.exports=s},72926:(t,e,i)=>{var n=i(95790),o=i(32628),s=i(39513),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.type=n.PAYMENT,this.tipAmount=void 0,this.tipMode=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setTipAmount=function(t){this.tipAmount=t},r.prototype.getTipAmount=function(){return this.tipAmount},r.prototype.setTipMode=function(t){this.tipMode=t},r.prototype.getTipMode=function(){return this.tipMode},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.tipAmount={},r._meta_.fields.tipAmount.type=Number,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=o,t.exports=r},81519:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,t.exports=o},58087:(t,e,i)=>{var n=i(34774),o=i(69662),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.customerInfo=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCustomerInfo=function(t){this.customerInfo=t},s.prototype.getCustomerInfo=function(){return this.customerInfo},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.customerInfo={},s._meta_.fields.customerInfo.type=o,t.exports=s},74598:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.acknowledgementMessage=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},o.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.acknowledgementMessage={},o._meta_.fields.acknowledgementMessage.type=String,t.exports=o},21412:(t,e,i)=>{var n=i(77122),o=i(42348),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.signature=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setSignature=function(t){this.signature=t},s.prototype.getSignature=function(){return this.signature},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.signature={},s._meta_.fields.signature.type=o,t.exports=s},98939:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},92486:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},18897:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},41899:(t,e,i)=>{var n=i(34774),o=i(27033),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.tipSuggestions=void 0,this.tippableAmount=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},s.prototype.getTipSuggestions=function(){return this.tipSuggestions},s.prototype.setTippableAmount=function(t){this.tippableAmount=t},s.prototype.getTippableAmount=function(){return this.tippableAmount},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.tipSuggestions={},s._meta_.fields.tipSuggestions.type=Array,s._meta_.fields.tipSuggestions.elementType=o,s._meta_.fields.tippableAmount={},s._meta_.fields.tippableAmount.type=Number,t.exports=s},8022:(t,e,i)=>{var n=i(77122),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.tipAmount=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setTipAmount=function(t){this.tipAmount=t},o.prototype.getTipAmount=function(){return this.tipAmount},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.tipAmount={},o._meta_.fields.tipAmount.type=Number,t.exports=o},39513:(t,e,i)=>{var n=i(57953),o=i(27033),s=i(86745),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.signatureThreshold=void 0,this.signatureEntryLocation=void 0,this.autoAcceptSignature=void 0,this.allowOfflinePayment=void 0,this.forceOfflinePayment=void 0,this.disableCashback=void 0,this.approveOfflinePaymentWithoutPrompt=void 0,this.taxAmount=void 0,this.tippableAmount=void 0,this.tipSuggestions=void 0};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.setSignatureThreshold=function(t){this.signatureThreshold=t},r.prototype.getSignatureThreshold=function(){return this.signatureThreshold},r.prototype.setSignatureEntryLocation=function(t){this.signatureEntryLocation=t},r.prototype.getSignatureEntryLocation=function(){return this.signatureEntryLocation},r.prototype.setAutoAcceptSignature=function(t){this.autoAcceptSignature=t},r.prototype.getAutoAcceptSignature=function(){return this.autoAcceptSignature},r.prototype.setAllowOfflinePayment=function(t){this.allowOfflinePayment=t},r.prototype.getAllowOfflinePayment=function(){return this.allowOfflinePayment},r.prototype.setForceOfflinePayment=function(t){this.forceOfflinePayment=t},r.prototype.getForceOfflinePayment=function(){return this.forceOfflinePayment},r.prototype.setDisableCashback=function(t){this.disableCashback=t},r.prototype.getDisableCashback=function(){return this.disableCashback},r.prototype.setApproveOfflinePaymentWithoutPrompt=function(t){this.approveOfflinePaymentWithoutPrompt=t},r.prototype.getApproveOfflinePaymentWithoutPrompt=function(){return this.approveOfflinePaymentWithoutPrompt},r.prototype.setTaxAmount=function(t){this.taxAmount=t},r.prototype.getTaxAmount=function(){return this.taxAmount},r.prototype.setTippableAmount=function(t){this.tippableAmount=t},r.prototype.getTippableAmount=function(){return this.tippableAmount},r.prototype.setTipSuggestions=function(t){this.tipSuggestions=t},r.prototype.getTipSuggestions=function(){return this.tipSuggestions},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=s._meta_,r._meta_.fields.signatureThreshold={},r._meta_.fields.signatureThreshold.type=Number,r._meta_.fields.signatureEntryLocation={},r._meta_.fields.signatureEntryLocation.type=n,r._meta_.fields.autoAcceptSignature={},r._meta_.fields.autoAcceptSignature.type=Boolean,r._meta_.fields.allowOfflinePayment={},r._meta_.fields.allowOfflinePayment.type=Boolean,r._meta_.fields.forceOfflinePayment={},r._meta_.fields.forceOfflinePayment.type=Boolean,r._meta_.fields.disableCashback={},r._meta_.fields.disableCashback.type=Boolean,r._meta_.fields.approveOfflinePaymentWithoutPrompt={},r._meta_.fields.approveOfflinePaymentWithoutPrompt.type=Boolean,r._meta_.fields.taxAmount={},r._meta_.fields.taxAmount.type=Number,r._meta_.fields.tippableAmount={},r._meta_.fields.tippableAmount.type=Number,r._meta_.fields.tipSuggestions={},r._meta_.fields.tipSuggestions.type=Array,r._meta_.fields.tipSuggestions.elementType=o,t.exports=r},95790:t=>{t.exports={PAYMENT:"PAYMENT",CREDIT:"CREDIT",AUTH:"AUTH",DATA:"DATA",BALANCE_INQUIRY:"BALANCE_INQUIRY",PAYMENT_REVERSAL:"PAYMENT_REVERSAL",PAYMENT_ADJUSTMENT:"PAYMENT_ADJUSTMENT",CREDIT_REVERSAL:"CREDIT_REVERSAL",REFUND_ADJUSTMENT:"REFUND_ADJUSTMENT",CASH_ADVANCE:"CASH_ADVANCE",CAPTURE_PREAUTH:"CAPTURE_PREAUTH",VAS_DATA:"VAS_DATA",VERIFY_CARD:"VERIFY_CARD",TOKENIZE_CARD:"TOKENIZE_CARD"}},66921:(t,e,i)=>{var n=i(95790),o=function(){this._class_=o,this.status=void 0};o.prototype.setStatus=function(t){this.status=t},o.prototype.getStatus=function(){return this.status},o.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},o.prototype.toString=function(){return JSON.stringify(this)},o._meta_={fields:{}},o._meta_._class_=o,o._meta_.fields.status={},o._meta_.fields.status.type=n,t.exports=o},4022:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.cardEntryMethods=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},o.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.cardEntryMethods={},o._meta_.fields.cardEntryMethods.type=Number,t.exports=o},19916:(t,e,i)=>{var n=i(77122),o=i(15118),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.card=void 0};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.setCard=function(t){this.card=t},s.prototype.getCard=function(){return this.card},s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=o,t.exports=s},40177:(t,e,i)=>{var n=i(34774),o=i(82794),s=i(42348),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.signature=void 0};r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.setPayment=function(t){this.payment=t},r.prototype.getPayment=function(){return this.payment},r.prototype.setSignature=function(t){this.signature=t},r.prototype.getSignature=function(){return this.signature},r._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,r._meta_.fields.signature={},r._meta_.fields.signature.type=s,t.exports=r},5817:t=>{var e=function(){this._class_=e,this.requestId=void 0,this.orderId=void 0,this.creditId=void 0,this.extras=void 0};e.prototype.setRequestId=function(t){this.requestId=t},e.prototype.getRequestId=function(){return this.requestId},e.prototype.setOrderId=function(t){this.orderId=t},e.prototype.getOrderId=function(){return this.orderId},e.prototype.setCreditId=function(t){this.creditId=t},e.prototype.getCreditId=function(){return this.creditId},e.prototype.setExtras=function(t){this.extras=t},e.prototype.getExtras=function(){return this.extras},e.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},e.prototype.toString=function(){return JSON.stringify(this)},e._meta_={fields:{}},e._meta_._class_=e,e._meta_.fields.requestId={},e._meta_.fields.requestId.type=String,e._meta_.fields.orderId={},e._meta_.fields.orderId.type=String,e._meta_.fields.creditId={},e._meta_.fields.creditId.type=String,e._meta_.fields.extras={},e._meta_.fields.extras.type=Object,t.exports=e},87929:(t,e,i)=>{var n=i(75710),o=i(6639),s=function(){this._class_=s,this.requestId=void 0,this.status=void 0,this.credit=void 0};s.prototype.setRequestId=function(t){this.requestId=t},s.prototype.getRequestId=function(){return this.requestId},s.prototype.setStatus=function(t){this.status=t},s.prototype.getStatus=function(){return this.status},s.prototype.setCredit=function(t){this.credit=t},s.prototype.getCredit=function(){return this.credit},s.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},s.prototype.toString=function(){return JSON.stringify(this)},s._meta_={fields:{}},s._meta_._class_=s,s._meta_.fields.requestId={},s._meta_.fields.requestId.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=n,s._meta_.fields.credit={},s._meta_.fields.credit.type=o,t.exports=s},99072:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.refundId=void 0,this.orderId=void 0,this.employeeId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setRefundId=function(t){this.refundId=t},o.prototype.getRefundId=function(){return this.refundId},o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.refundId={},o._meta_.fields.refundId.type=String,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},16255:(t,e,i)=>{var n=i(76430),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.refundId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setRefundId=function(t){this.refundId=t},o.prototype.getRefundId=function(){return this.refundId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.refundId={},o._meta_.fields.refundId.type=String,t.exports=o},76745:(t,e,i)=>{var n=i(34774),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.orderId=void 0,this.paymentId=void 0,this.employeeId=void 0,this.voidReason=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setOrderId=function(t){this.orderId=t},o.prototype.getOrderId=function(){return this.orderId},o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o.prototype.setEmployeeId=function(t){this.employeeId=t},o.prototype.getEmployeeId=function(){return this.employeeId},o.prototype.setVoidReason=function(t){this.voidReason=t},o.prototype.getVoidReason=function(){return this.voidReason},o.prototype.setDisablePrinting=function(t){this.disablePrinting=t},o.prototype.getDisablePrinting=function(){return this.disablePrinting},o.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},o.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},o.prototype.setExtras=function(t){this.extras=t},o.prototype.getExtras=function(){return this.extras},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.orderId={},o._meta_.fields.orderId.type=String,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,o._meta_.fields.employeeId={},o._meta_.fields.employeeId.type=String,o._meta_.fields.voidReason={},o._meta_.fields.voidReason.type=String,o._meta_.fields.disablePrinting={},o._meta_.fields.disablePrinting.type=Boolean,o._meta_.fields.disableReceiptSelection={},o._meta_.fields.disableReceiptSelection.type=Boolean,o._meta_.fields.extras={},o._meta_.fields.extras.type=Object,t.exports=o},9559:(t,e,i)=>{var n=i(25008),o=function(){n.call(this),this._superClass_=n,this._class_=o,this.paymentId=void 0};o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.setPaymentId=function(t){this.paymentId=t},o.prototype.getPaymentId=function(){return this.paymentId},o._meta_={fields:{}},o._meta_._class_=o,o._meta_._superMeta_=n._meta_,o._meta_.fields.paymentId={},o._meta_.fields.paymentId.type=String,t.exports=o},95626:(t,e,i)=>{function n(){}t.exports.remotepay=n,n.ActivityMessage=i(80567),n.AuthRequest=i(50382),n.AuthResponse=i(46049),n.BaseRequest=i(34774),n.BaseResponse=i(77122),n.BaseTransactionRequest=i(86745),n.CapturePreAuthRequest=i(67293),n.CapturePreAuthResponse=i(52202),n.CardInfoRequest=i(91991),n.CardInfoResponse=i(42159),n.CheckBalanceRequest=i(41692),n.CheckBalanceResponse=i(3447),n.CloseoutRequest=i(92675),n.CloseoutResponse=i(68001),n.CloverDeviceErrorEvent=i(38982),n.CloverDeviceEvent=i(20764),n.ConfirmPaymentRequest=i(59755),n.CustomActivityRequest=i(64991),n.CustomActivityResponse=i(56053),n.CustomerInfo=i(69662),n.CustomerProvidedDataEvent=i(84432),n.DataProviderConfig=i(71508),n.DeviceErrorEventCode=i(5063),n.DeviceEventEnum=i(89406),n.DeviceEventState=i(41985),n.DeviceInfo=i(25756),n.DisplayReceiptOptionsRequest=i(53463),n.DisplayReceiptOptionsResponse=i(12145),n.ErrorType=i(67314),n.ExternalDeviceState=i(30057),n.ExternalDeviceStateData=i(76418),n.ExternalDeviceStateEnum=i(85017),n.ICloverConnector=i(77385),n.ICloverConnectorListener=i(31806),n.Img=i(67865),n.IncrementPreAuthRequest=i(31650),n.IncrementPreAuthResponse=i(4580),n.InputOption=i(11531),n.InvalidStateTransitionResponse=i(33292),n.KeyPress=i(38146),n.KeyPressEnum=i(38068),n.ManualRefundRequest=i(24950),n.ManualRefundResponse=i(25924),n.MerchantInfo=i(4682),n.MessageFromActivity=i(42845),n.MessageToActivity=i(89378),n.OpenCashDrawerRequest=i(62337),n.PaymentResponse=i(25008),n.PlatformError=i(95172),n.PreAuthRequest=i(72076),n.PreAuthResponse=i(80178),n.PrintJobStatusRequest=i(62979),n.PrintJobStatusResponse=i(93435),n.PrintManualRefundDeclineReceiptMessage=i(83260),n.PrintManualRefundReceiptMessage=i(22611),n.PrintPaymentDeclineReceiptMessage=i(30546),n.PrintPaymentMerchantCopyReceiptMessage=i(6483),n.PrintPaymentReceiptMessage=i(31470),n.PrintRefundPaymentReceiptMessage=i(74840),n.PrintRefundPaymentReceiptResponse=i(75344),n.PrintRequest=i(3627),n.QueryStatus=i(74675),n.QueryStatusEnum=i(72721),n.ReadCardDataRequest=i(4814),n.ReadCardDataResponse=i(96031),n.RefundPaymentRequest=i(10361),n.RefundPaymentResponse=i(76430),n.RegisterForCustomerProvidedDataRequest=i(68400),n.ResetDeviceResponse=i(15227),n.ResponseCode=i(76631),n.ResponseCodeEnum=i(69417),n.ResultStatus=i(75710),n.ResultStatusEnum=i(98199),n.RetrieveDeviceStatusRequest=i(82523),n.RetrieveDeviceStatusResponse=i(71721),n.RetrievePaymentRequest=i(98284),n.RetrievePaymentResponse=i(8405),n.RetrievePendingPaymentsResponse=i(31971),n.RetrievePrintersRequest=i(84279),n.RetrievePrintersResponse=i(10646),n.SaleRequest=i(72926),n.SaleResponse=i(81519),n.SetCustomerInfoRequest=i(58087),n.SignatureRequest=i(74598),n.SignatureResponse=i(21412),n.TipAdded=i(98939),n.TipAdjustAuthRequest=i(92486),n.TipAdjustAuthResponse=i(18897),n.TipRequest=i(41899),n.TipResponse=i(8022),n.TransactionRequest=i(39513),n.TransactionType=i(95790),n.TransactionTypeEnum=i(66921),n.VaultCardRequest=i(4022),n.VaultCardResponse=i(19916),n.VerifySignatureRequest=i(40177),n.VoidCreditRequest=i(5817),n.VoidCreditResponse=i(87929),n.VoidPaymentRefundRequest=i(99072),n.VoidPaymentRefundResponse=i(16255),n.VoidPaymentRequest=i(76745),n.VoidPaymentResponse=i(9559),t.exports=n},95615:t=>{t.exports={ONEOFF:"ONEOFF",MULTIPAY:"MULTIPAY",RECURRING:"RECURRING"}}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";i.r(n),i.d(n,{Gap:()=>Pi,GapApiVersion:()=>C,GapHeader:()=>A,Method:()=>dt,Platform:()=>O,StatusCode:()=>ut,UserAgent:()=>N,default:()=>Mi});var t={};i.r(t),i.d(t,{GapError:()=>X,HttpInternalError:()=>st,HttpMaxRetriesError:()=>it,HttpRequestError:()=>et,HttpResponseError:()=>nt,HttpRetryableError:()=>ot,HttpThrottlingError:()=>rt,MissingDataContextError:()=>Z,RestResourceError:()=>at,UninitializedContextError:()=>tt});var e={};i.r(e),i.d(e,{BatchHistory:()=>ht,Business:()=>vt,Call:()=>gt,Category:()=>Tt,CheckIn:()=>Ct,CheckOut:()=>Ut,Combo:()=>Vt,Commission:()=>Pe,Customer:()=>Bt,GiftCard:()=>qt,Income:()=>Gt,KeyStorage:()=>Ht,Order:()=>se,Payroll:()=>de,Printer:()=>pe,Product:()=>Oe,Service:()=>ce,Setting:()=>Ae,Staff:()=>me,Ticket:()=>he,TimeKeeping:()=>ve,UnsubscribeContact:()=>ge,User:()=>Te});var o={};i.r(o),i.d(o,{CheckIn:()=>ke,Checkout:()=>$e,KeyStorage:()=>be});var s={};i.r(s),i.d(s,{Category:()=>ui,Customer:()=>Si,Notification:()=>gi,SMS:()=>_i,Service:()=>li,Settings:()=>ni,Staff:()=>hi,Ticket:()=>si});var r={};i.r(r),i.d(r,{Settings:()=>Ii});var a={};i.r(a),i.d(a,{Auth:()=>Ci});var l={};i.r(l),i.d(l,{Auth:()=>Ni});var d=i(17187);class u{}u.loggingEnabled=!1;class p extends d.EventEmitter{constructor(){super(),this.enabled=!1}static create(){let t=new p,e="error";return t.on("log",(function(){let i=[].slice.call(arguments),n=!!(i&&i.length>0)&&i[0]===e;(n||t.enabled||u.loggingEnabled)&&(console.log.apply(console,arguments),n&&console.trace())})),t.silly=t.emit.bind(t,"log","silly"),t.verbose=t.emit.bind(t,"log","verbose"),t.info=t.emit.bind(t,"log","info"),t.warn=t.emit.bind(t,"log","warn"),t.error=t.emit.bind(t,"log",e),t.debug=t.emit.bind(t,"log","debug"),t.enabled=!1,t}silly(...t){}verbose(...t){}info(...t){}warn(...t){}error(...t){}debug(...t){}}const _=(t,e)=>{if(t)for(let i in t)t.hasOwnProperty(i)&&e.setRequestHeader(i,t[i])};class c{constructor(t){this.logger=p.create(),this.xmlHttpImplClass=t}setXmlHttpCallback(t,e,i,n){t.onreadystatechange=function(){if(4==t.readyState)if(200==t.status)try{if(i){let e=null;t.responseText&&""!=t.responseText&&(e=JSON.parse(t.responseText)),i(e,t)}}catch(t){this.logger.error(e,t),i&&i({})}else if(n){let i=null;try{t.responseText&&""!=t.responseText&&(i=JSON.parse(t.responseText))}catch(t){}n({message:i&&i.details||i&&i.message||"status returned was not 200",endpoint:e,status:t.status})}}.bind(this)}doXmlHttp(t,e,i,n,o){const s=new this.xmlHttpImplClass;this.setXmlHttpCallback(s,e,i,n),s.open(t,e,!0),"undefined"!=typeof navigator&&navigator.userAgent.search("Firefox")&&s.setRequestHeader("Accept","*/*"),_(o,s),s.send()}doXmlHttpSendJson(t,e,i,n,o,s){const r=new this.xmlHttpImplClass;if(this.setXmlHttpCallback(r,i,n,o),r.open(t,i,!0),_(s,r),e){r.setRequestHeader("Content-Type","application/json;charset=UTF-8");var a=JSON.stringify(e);r.send(a)}else r.send()}postData(t,e,i,n,o){this.doXmlHttpSendJson("POST",n,t,e,i,o)}getData(t,e,i,n){this.doXmlHttp("GET",t,e,i,n)}options(t,e,i,n){this.doXmlHttp("OPTIONS",t,e,i,n)}putData(t,e,i,n){this.doXmlHttpSendJson("PUT",n,t,e,i)}deleteData(t,e,i){this.doXmlHttp("DELETE",t,e,i)}}var m,f=i(61256);class h{}h.KIOSK_CARD_ENTRY_METHODS=32768,h.CARD_ENTRY_METHOD_MAG_STRIPE=257|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_ICC_CONTACT=514|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_NFC_CONTACTLESS=1028|h.KIOSK_CARD_ENTRY_METHODS,h.CARD_ENTRY_METHOD_MANUAL=2056|h.KIOSK_CARD_ENTRY_METHODS,h.DEFAULT=h.CARD_ENTRY_METHOD_MAG_STRIPE|h.CARD_ENTRY_METHOD_ICC_CONTACT|h.CARD_ENTRY_METHOD_NFC_CONTACTLESS,h.ALL=h.CARD_ENTRY_METHOD_MAG_STRIPE|h.CARD_ENTRY_METHOD_ICC_CONTACT|h.CARD_ENTRY_METHOD_NFC_CONTACTLESS|h.CARD_ENTRY_METHOD_MANUAL;class y{constructor(){this.logger=p.create(),this.listeners=new Array}clear(){this.listeners.splice(0,this.listeners.length)}push(...t){return 1==t.length?this.listeners.push(t[0]):this.listeners.push(t)}indexOf(t,e){return this.listeners.indexOf(t,e)}splice(t,e,...i){return i&&i.length>0?this.listeners.splice(t,e,i):this.listeners.splice(t,e)}notifyOnTipAdded(t){this.logger.debug("Sending TipAdded notification to listeners");let e=new f.remotepay.TipAdded;e.setTipAmount(t),this.listeners.forEach((t=>{try{t.onTipAdded(e)}catch(t){this.logger.error(t)}}))}notifyOnRefundPaymentResponse(t){this.logger.debug("Sending RefundPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRefundPaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyCloseout(t){this.logger.debug("Sending Closeout notification to listeners"),this.listeners.forEach((e=>{try{e.onCloseoutResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceActivityStart(t){this.logger.debug("Sending DeviceActivityStart notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceActivityStart(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceActivityEnd(t){this.logger.debug("Sending DeviceActivityEnd notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceActivityEnd(t)}catch(t){this.logger.error(t)}}))}notifyOnSaleResponse(t){this.logger.debug("Sending SaleResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onSaleResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnAuthResponse(t){this.logger.debug("Sending AuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnManualRefundResponse(t){this.logger.debug("Sending ManualRefundResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onManualRefundResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVerifySignatureRequest(t){this.logger.debug("Sending VerifySignatureRequest notification to listeners"),this.listeners.forEach((e=>{try{e.onVerifySignatureRequest(t)}catch(t){this.logger.error(t)}}))}notifyOnVoidPaymentResponse(t){this.logger.debug("Sending VoidPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVoidPaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVoidPaymentRefundResponse(t){this.logger.debug("Sending VoidPaymentRefundResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVoidPaymentRefundResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnConnect(){this.logger.debug("Sending Connect notification to listeners"),this.listeners.forEach((t=>{try{t.onDeviceConnected()}catch(t){this.logger.error(t)}}))}notifyOnDisconnect(t){this.logger.debug("Sending Disconnect notification to listeners",t),this.listeners.forEach((t=>{try{t.onDeviceDisconnected()}catch(t){this.logger.error(t)}}))}notifyOnReady(t){this.logger.debug("Sending Ready notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceReady(t)}catch(t){this.logger.error(t)}}))}notifyOnTipAdjustAuthResponse(t){this.logger.debug("Sending TipAdjustAuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onTipAdjustAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnVaultCardRespose(t){this.logger.debug("Sending VaultCardResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onVaultCardResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnPreAuthResponse(t){this.logger.debug("Sending PreAuthResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onPreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnCapturePreAuth(t){this.logger.debug("Sending CapturePreAuth notification to listeners"),this.listeners.forEach((e=>{try{e.onCapturePreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnIncrementPreAuthResponse(t){this.logger.debug("Sending IncrementPreAuth notification to listeners"),this.listeners.forEach((e=>{try{e.onIncrementPreAuthResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnDeviceError(t){this.logger.debug("Sending DeviceError notification to listeners"),this.listeners.forEach((e=>{try{e.onDeviceError(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintRefundPaymentReceipt(t){this.logger.debug("Sending PrintRefundPaymentReceipt notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintRefundPaymentReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentMerchantCopyReceipt(t){this.logger.debug("Sending PrintPaymentMerchantCopyReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentMerchantCopyReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentDeclineReceipt(t){this.logger.debug("Sending PrintPaymentDeclineReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentDeclineReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintPaymentReceipt(t){this.logger.debug("Sending PrintPaymentReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintPaymentReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintCreditReceipt(t){this.logger.debug("Sending PrintManualRefundReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintManualRefundReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintCreditDeclineReceipt(t){this.logger.debug("Sending PrintManualRefundDeclineReceiptMessage notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintManualRefundDeclineReceipt(t)}catch(t){this.logger.error(t)}}))}notifyOnConfirmPaymentRequest(t){this.logger.debug("Sending ConfirmPaymentRequest notification to listeners"),this.listeners.forEach((e=>{try{e.onConfirmPaymentRequest(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePendingPaymentResponse(t){this.logger.debug("Sending RetrievePendingPaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePendingPaymentsResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnReadCardDataResponse(t){this.logger.debug("Sending ReadCardDataResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onReadCardDataResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnActivityMessage(t){this.logger.debug("Sending MessageFromActivity notification to listeners"),this.listeners.forEach((e=>{try{e.onMessageFromActivity(t)}catch(t){this.logger.error(t)}}))}notifyOnActivityResponse(t){this.logger.debug("Sending ActivityResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onCustomActivityResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrieveDeviceStatusResponse(t){this.logger.debug("Sending RetrieveDeviceStatusResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrieveDeviceStatusResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnResetDeviceResponse(t){this.logger.debug("Sending ResetDeviceResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onResetDeviceResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePaymentResponse(t){this.logger.debug("Sending RetrievePaymentResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePaymentResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnRetrievePrintersResponse(t){this.logger.debug("Sending RetrievePrintersResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onRetrievePrintersResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnPrintJobStatusResponse(t){this.logger.debug("Sending PrintJobStatusResponse notification to listeners"),this.listeners.forEach((e=>{try{e.onPrintJobStatusResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnCustomerProvidedDataEvent(t){this.listeners.forEach((e=>{try{e.onCustomerProvidedData(t)}catch(t){this.logger.error(t)}}))}notifyOnDisplayReceiptOptionsResponse(t){this.listeners.forEach((e=>{try{e.onDisplayReceiptOptionsResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnInvalidStateTransitionResponse(t){this.listeners.forEach((e=>{try{e.onInvalidStateTransitionResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnSignatureCollected(t){this.listeners.forEach((t=>{}))}notifyOnCheckBalanceResponse(t){this.listeners.forEach((e=>{try{e.onCheckBalanceResponse(t)}catch(t){this.logger.error(t)}}))}notifyOnTipResponse(t){this.listeners.forEach((t=>{}))}}!function(t){t.Builder=class{constructor(){this.isDisableCashBack=!1,this.isTesting=!1,this.isCardNotPresent=!1,this.remotePrint=!1,this.isForceSwipePinEntry=!1,this.disableRestartTransactionWhenFailed=!1,this.allowPartialAuth=!0}static buildTransactionSettingsFromPayIntent(t){let e=new f.payments.TransactionSettings;return e.setCloverShouldHandleReceipts(!t.getRemotePrint()),e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionWhenFailed()),e.setForcePinEntryOnSwipe(t.getIsForceSwipePinEntry()),e.setDisableCashBack(t.getIsDisableCashBack()),e.setAllowOfflinePayment(t.getAllowOfflinePayment()),e.setApproveOfflinePaymentWithoutPrompt(t.getApproveOfflinePaymentWithoutPrompt()),e.setCardEntryMethods(t.getCardEntryMethods()),e.setDisableDuplicateCheck(!1),e.setDisableReceiptSelection(!1),e.setSignatureEntryLocation(null),e.setTipMode(null),e.setTippableAmount(t.getTippableAmount()),e}payment(t){return this.amount=t.getAmount(),this.tipAmount=t.getTipAmount(),this.taxAmount=t.getTaxAmount(),this.employeeId=t.getEmployee().getId(),this.transactionNo=t.getCardTransaction()?t.getCardTransaction().getTransactionNo():null,this.transactionSettings=t.getTransactionSettings(),this}payIntent(e){return this.action=e.getAction(),this.amount=e.getAmount(),this.tippableAmount=e.getTippableAmount(),this.tipAmount=e.getTipAmount(),this.taxAmount=e.getTaxAmount(),this.orderId=e.getOrderId(),this.paymentId=e.getPaymentId(),this.employeeId=e.getEmployeeId(),this.transactionType=e.getTransactionType(),this.taxableAmountRates=e.getTaxableAmountRates(),this.serviceChargeAmount=e.getServiceChargeAmount(),this.isDisableCashBack=e.getIsDisableCashBack(),this.isTesting=e.getIsTesting(),this.cardEntryMethods=e.getCardEntryMethods(),this.voiceAuthCode=e.getVoiceAuthCode(),this.postalCode=e.getPostalCode(),this.streetAddress=e.getStreetAddress(),this.isCardNotPresent=e.getIsCardNotPresent(),this.cardDataMessage=e.getCardDataMessage(),this.remotePrint=e.getRemotePrint(),this.transactionNo=e.getTransactionNo(),this.isForceSwipePinEntry=e.getIsForceSwipePinEntry(),this.disableRestartTransactionWhenFailed=e.getDisableRestartTransactionWhenFailed(),this.externalPaymentId=e.getExternalPaymentId(),this.vaultedCard=e.getVaultedCard(),this.allowOfflinePayment=e.getAllowOfflinePayment(),this.approveOfflinePaymentWithoutPrompt=e.getApproveOfflinePaymentWithoutPrompt(),this.requiresRemoteConfirmation=e.getRequiresRemoteConfirmation(),this.applicationTracking=e.getApplicationTracking(),this.allowPartialAuth=e.getAllowPartialAuth(),this.germanInfo=e.getGermanInfo(),this.externalReferenceId=e.getExternalReferenceId(),this.passThroughValues=e.getPassThroughValues(),null!=e.getTransactionSettings()?this.transactionSettings=e.getTransactionSettings():this.transactionSettings=t.Builder.buildTransactionSettingsFromPayIntent(e),this.cashAdvanceCustomerIdentification=e.getCashAdvanceCustomerIdentification(),this}setAction(t){return this.action=t,this}setAmount(t){return this.amount=t,this}setTippableAmount(t){return this.tippableAmount=t,null!=this.transactionSettings&&this.transactionSettings.setTippableAmount(t),this}setTaxAmount(t){return this.taxAmount=t,this}setEmployeeId(t){return this.employeeId=t,this}setTipAmount(t){return this.tipAmount=t,this}setTransactionType(t){return this.transactionType=t,this}setCardEntryMethods(t){return this.cardEntryMethods=t,this}setCardDataMessage(t){return this.cardDataMessage=t,this}setTaxableAmountRates(t){return this.taxableAmountRates=t,this}setServiceChargeAmount(t){return this.serviceChargeAmount=t,this}setOrderId(t){return this.orderId=t,this}setPaymentId(t){return this.paymentId=t,this}setRemotePrint(t=!1){return this.remotePrint=t,null!=this.transactionSettings&&this.transactionSettings.setCloverShouldHandleReceipts(!t),this}setDisableCashback(t=!1){return this.isDisableCashBack=t,null!=this.transactionSettings&&this.transactionSettings.setDisableCashBack(t),this}setTransactionNo(t){return this.transactionNo=t,this}setForceSwipePinEntry(t=!1){return this.isForceSwipePinEntry=t,null!=this.transactionSettings&&this.transactionSettings.setForcePinEntryOnSwipe(t),this}setDisableRestartTransactionWhenFailed(t=!1){return this.disableRestartTransactionWhenFailed=t,null!=this.transactionSettings&&this.transactionSettings.setDisableRestartTransactionOnFailure(t),this}setExternalPaymentId(t){return this.externalPaymentId=t,this}setVaultedCard(t){return this.vaultedCard=t,this}setAllowOfflinePayment(t){return this.allowOfflinePayment=t,null!=this.transactionSettings&&this.transactionSettings.setAllowOfflinePayment(t),this}setAapproveOfflinePaymentWithoutPrompt(t){return this.approveOfflinePaymentWithoutPrompt=t,null!=this.transactionSettings&&this.transactionSettings.setApproveOfflinePaymentWithoutPrompt(t),this}setRequiresRemoteConfirmation(t){return this.requiresRemoteConfirmation=t,this}setApplicationTracking(t){return this.applicationTracking=t,this}setAllowPartialAuth(t=!1){return this.allowPartialAuth=t,this}setGermanInfo(t){return this.germanInfo=t,this}setCustomerIdentification(t){return this.cashAdvanceCustomerIdentification=t,this}setTransactionSettings(t){return this.transactionSettings=t,this}setCardNotPresent(t=!1){return this.isCardNotPresent=t,this}setPassThroughValues(t){return this.passThroughValues=t,this}setExternalReferenceId(t){return this.externalReferenceId=t,this}setIsPresentQrcOnly(t){return this.isPresentQrcOnly=t,this}build(){let t=new f.remotemessage.PayIntent;return t.setAction(this.action),t.setAmount(this.amount),t.setTippableAmount(this.tippableAmount),t.setTipAmount(this.tipAmount),t.setTaxAmount(this.taxAmount),t.setOrderId(this.orderId),t.setPaymentId(this.paymentId),t.setEmployeeId(this.employeeId),t.setTransactionType(this.transactionType),t.setTaxableAmountRates(this.taxableAmountRates),t.setServiceChargeAmount(this.serviceChargeAmount),t.setIsDisableCashBack(this.isDisableCashBack),t.setIsTesting(this.isTesting),t.setCardEntryMethods(this.cardEntryMethods),t.setVoiceAuthCode(this.voiceAuthCode),t.setPostalCode(this.postalCode),t.setStreetAddress(this.streetAddress),t.setIsCardNotPresent(this.isCardNotPresent),t.setCardDataMessage(this.cardDataMessage),t.setRemotePrint(this.remotePrint),t.setTransactionNo(this.transactionNo),t.setIsForceSwipePinEntry(this.isForceSwipePinEntry),t.setDisableRestartTransactionWhenFailed(this.disableRestartTransactionWhenFailed),t.setExternalPaymentId(this.externalPaymentId),t.setVaultedCard(this.vaultedCard),t.setAllowOfflinePayment(this.allowOfflinePayment),t.setApproveOfflinePaymentWithoutPrompt(this.approveOfflinePaymentWithoutPrompt),t.setRequiresRemoteConfirmation(this.requiresRemoteConfirmation),t.setApplicationTracking(this.applicationTracking),t.setAllowPartialAuth(this.allowPartialAuth),t.setGermanInfo(this.germanInfo),t.setCashAdvanceCustomerIdentification(this.cashAdvanceCustomerIdentification),t.setTransactionSettings(this.transactionSettings),t.setPassThroughValues(this.passThroughValues),t.setExternalReferenceId(this.externalReferenceId),t.setIsPresentQrcOnly(this.isPresentQrcOnly),t}}}(m||(m={}));class v{constructor(t){this.cardEntryMethods=h.DEFAULT,this.logger=p.create(),this.broadcaster=new y,this.isReady=!1,v.CANCEL_INPUT_OPTION=new f.remotemessage.InputOption,v.CANCEL_INPUT_OPTION.setKeyPress(f.remotemessage.KeyPress.ESC),v.CANCEL_INPUT_OPTION.setDescription("Cancel"),t&&(this.configuration=t)}initialize(t){this.configuration=t,this.deviceObserver=new v.InnerDeviceObserver(this),this.device=class{constructor(){}static get(t){const e=t.getCloverDeviceType();let i=null;try{i=new e(t)}catch(t){p.create().error(t)}return i}}.get(t),this.device&&this.device.subscribe(this.deviceObserver)}initializeConnection(){this.device||this.initialize(this.configuration)}addCloverConnectorListener(t){this.broadcaster.push(t)}removeCloverConnectorListener(t){const e=this.broadcaster.indexOf(t);-1!=e&&this.broadcaster.splice(e,1)}sale(t){if(this.device&&this.isReady)if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In sale: SaleRequest - Vault Card support is not enabled for the payment gateway. Original Request = ${t}`,v.TxTypeRequestInfo.SALE_REQUEST);else{null==t.getTipAmount()&&t.setTipAmount(0);try{this.setupSaleRequest(t)}catch(t){this.logger.debug("Error in sale",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.SALE_REQUEST)}}else this.deviceObserver.onFinishCancelSale(f.remotepay.ResponseCode.ERROR,"Device Connection Error","In sale: SaleRequest - The Clover device is not connected.")}setupPreauthRequest(t){this.setupBaseTransactionRequest(t,new f.payments.TransactionSettings,new m.Builder,v.TxTypeRequestInfo.PREAUTH_REQUEST)}setupAuthRequest(t){let e=new f.payments.TransactionSettings;e.setTipMode(f.payments.TipMode.ON_PAPER),this.setupTransactionRequest(t,e,new m.Builder,v.TxTypeRequestInfo.AUTH_REQUEST)}setupSaleRequest(t){let e=new f.payments.TransactionSettings;null!=t.getTipMode()&&e.setTipMode(t.getTipMode());let i=new m.Builder;null!=t.getTipAmount()&&i.setTipAmount(t.getTipAmount()),this.setupTransactionRequest(t,e,i,v.TxTypeRequestInfo.SALE_REQUEST)}setupTransactionRequest(t,e,i,n){null!=t.getSignatureEntryLocation()&&e.setSignatureEntryLocation(t.getSignatureEntryLocation()),null!=t.getSignatureThreshold()&&e.setSignatureThreshold(t.getSignatureThreshold()),null!=t.getAutoAcceptSignature()&&e.setAutoAcceptSignature(t.getAutoAcceptSignature()),null!=t.getDisableCashback()&&e.setDisableCashBack(t.getDisableCashback()),null!=t.getAllowOfflinePayment()&&e.setAllowOfflinePayment(t.getAllowOfflinePayment()),null!=t.getForceOfflinePayment()&&e.setForceOfflinePayment(t.getForceOfflinePayment()),null!=t.getApproveOfflinePaymentWithoutPrompt()&&e.setApproveOfflinePaymentWithoutPrompt(t.getApproveOfflinePaymentWithoutPrompt()),null!=t.getTaxAmount()&&i.setTaxAmount(t.getTaxAmount()),null!=t.getTippableAmount()&&e.setTippableAmount(t.getTippableAmount()),null!=t.getTipSuggestions()&&e.setTipSuggestions(t.getTipSuggestions()),this.setupBaseTransactionRequest(t,e,i,n)}setupBaseTransactionRequest(t,e,i,n){if(null!=this.device&&this.isReady){i.setTransactionType(t.getType()),i.setAmount(t.getAmount()),i.setVaultedCard(t.getVaultedCard()),i.setExternalPaymentId(null!=t.getExternalId()?t.getExternalId().trim():null),i.setRequiresRemoteConfirmation(!0),null!=t.getCardNotPresent()&&i.setCardNotPresent(t.getCardNotPresent()),e.setCardEntryMethods(null!=t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),null!=t.getDisablePrinting()&&e.setCloverShouldHandleReceipts(!t.getDisablePrinting()),null!=t.getDisableRestartTransactionOnFail()&&e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionOnFail()),null!=t.getDisableReceiptSelection()&&e.setDisableReceiptSelection(t.getDisableReceiptSelection()),null!=t.getDisableDuplicateChecking()&&e.setDisableDuplicateCheck(t.getDisableDuplicateChecking()),null!=t.getAutoAcceptPaymentConfirmations()&&e.setAutoAcceptPaymentConfirmations(t.getAutoAcceptPaymentConfirmations()),null!=t.getRegionalExtras()&&e.setRegionalExtras(t.getRegionalExtras()),null!=t.getExtras()&&i.setPassThroughValues(t.getExtras()),null!=t.getExternalReferenceId()&&i.setExternalReferenceId(t.getExternalReferenceId()),null!=t.getPresentQrcOnly()&&i.setIsPresentQrcOnly(t.getPresentQrcOnly()),i.setTransactionSettings(e);let o=i.build();this.device.doTxStart(o,null,n)}}notifyDeviceNotConnected(t){this.notifyDeviceError(f.remotepay.ErrorType.COMMUNICATION,f.remotepay.DeviceErrorEventCode.NotConnected,null,t+": Device is not connected.")}notifyInvalidData(t){this.notifyDeviceError(f.remotepay.ErrorType.VALIDATION,f.remotepay.DeviceErrorEventCode.InvalidParam,null,t)}notifyDeviceError(t,e,i,n){let o=new f.remotepay.CloverDeviceErrorEvent;o.setType(t),o.setCode(e),o.setCause(i),o.setMessage(n),this.broadcaster.notifyOnDeviceError(o)}acceptSignature(t){let e="In acceptSignature";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": VerifySignatureRequest cannot be null."):null==t.getPayment()||null==t.getPayment().getId()?this.notifyInvalidData(e+": VerifySignatureRequest. Payment must have an ID."):this.device.doSignatureVerified(t.getPayment(),!0):this.notifyDeviceNotConnected(e)}rejectSignature(t){let e="In rejectSignature";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": VerifySignatureRequest cannot be null."):null==t.getPayment()||null==t.getPayment().getId()?this.notifyInvalidData(e+": VerifySignatureRequest. Payment must have an ID."):this.device.doSignatureVerified(t.getPayment(),!1):this.notifyDeviceNotConnected(e)}acceptPayment(t){let e="In acceptPayment";this.device&&this.isReady?null==t?this.notifyInvalidData(e+": Payment cannot be null."):null==t.getId()?this.notifyInvalidData(e+": Payment must have an ID."):this.device.doAcceptPayment(t):this.notifyDeviceNotConnected(e)}rejectPayment(t,e){let i="In rejectPayment";this.device&&this.isReady?null==t?this.notifyInvalidData(i+": Payment cannot be null."):null==t.getId()?this.notifyInvalidData(i+": Payment must have an ID."):null==e?this.notifyInvalidData(i+": Challenge cannot be null."):this.device.doRejectPayment(t,e):this.notifyDeviceNotConnected(i)}auth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsAuths())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In auth: AuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = ${t}`,v.TxTypeRequestInfo.AUTH_REQUEST);else try{this.setupAuthRequest(t)}catch(t){this.logger.debug("Error in auth",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.AUTH_REQUEST)}else this.deviceObserver.onFinishCancelAuth(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In auth: AuthRequest - Auths are not enabled for the payment gateway. Original Request = ${t}`);else this.deviceObserver.onFinishCancelAuth(f.remotepay.ResponseCode.ERROR,"Device connection Error","In auth: Auth Request - The Clover device is not connected.")}preAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+t,v.TxTypeRequestInfo.PREAUTH_REQUEST);else try{this.setupPreauthRequest(t)}catch(t){this.logger.debug("Error in preAuth",t),this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.ERROR,t,null,v.TxTypeRequestInfo.PREAUTH_REQUEST)}else this.deviceObserver.onFinishCancelPreAuth(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - PreAuths are not enabled for the payment gateway. Original Request = "+t);else this.deviceObserver.onFinishCancelPreAuth(f.remotepay.ResponseCode.ERROR,"Device connection Error","In preAuth: PreAuthRequest - The Clover device is not connected.")}capturePreAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doCaptureAuth(t.getPaymentId(),t.getAmount(),t.getTipAmount())}catch(t){let e=new f.remotepay.CapturePreAuthResponse;v.populateBaseResponse(e,!1,f.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Capture Auth requests."),this.broadcaster.notifyOnCapturePreAuth(e)}else this.deviceObserver.onCapturePreAuthError(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In capturePreAuth: PreAuth Captures are not enabled for the payment gateway. Original Request = ${t}`,t.getPaymentId());else this.deviceObserver.onCapturePreAuthError(f.remotepay.ResponseCode.ERROR,"Device connection Error","In capturePreAuth: CapturePreAuth - The Clover device is not connected.",t.getPaymentId())}incrementPreAuth(t){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doIncrementPreAuth(t.getPaymentId(),t.getAmount())}catch(t){let e=new f.remotepay.IncrementPreAuthResponse;v.populateBaseResponse(e,!1,f.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Incremental Pre Auth requests."),this.broadcaster.notifyOnIncrementPreAuthResponse(e)}else this.deviceObserver.onIncrementPreAuthError(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error",`In incrementPreAuth: Pre Auths are not enabled for the payment gateway. Original Request = ${t}`);else this.deviceObserver.onIncrementPreAuthError(f.remotepay.ResponseCode.ERROR,"Device connection Error","In incrementPreAuth: IncrementPreAuth - The Clover device is not connected.")}tipAdjustAuth(t){const e=new f.remotemessage.TipAdjustResponseMessage;this.device&&this.isReady?this.merchantInfo.getSupportsTipAdjust()?this.device.doTipAdjustAuth(t.getOrderId(),t.getPaymentId(),t.getTipAmount()):(e.setReason("Merchant Configuration Validation Error"),e.setMessage(`In tipAdjustAuth: TipAdjustAuthRequest - Tip Adjustments are not enabled for the payment gateway. Original Request = ${t}`),this.deviceObserver.onAuthTipAdjusted(e,f.remotepay.ResponseCode.UNSUPPORTED)):(e.setReason("Device connection Error"),e.setMessage("In tipAdjustAuth: TipAdjustAuthRequest - The Clover device is not connected."),this.deviceObserver.onAuthTipAdjusted(e,f.remotepay.ResponseCode.ERROR))}vaultCard(t){const e=new f.remotemessage.VaultCardResponseMessage;e.setCard(null),this.device&&this.isReady?this.merchantInfo.getSupportsVaultCards()?this.device.doVaultCard(t||this.getCardEntryMethods()):(e.setReason("Merchant Configuration Validation Error"),this.deviceObserver.onVaultCardResponse(e,f.remotepay.ResponseCode.UNSUPPORTED,"In vaultCard: VaultCard/Payment Tokens are not enabled for the payment gateway.")):(e.setReason("Device connection Error"),this.deviceObserver.onVaultCardResponse(e,f.remotepay.ResponseCode.ERROR,"In vaultCard: The Clover device is not connected."))}voidPayment(t){if(this.device&&this.isReady){let e=new f.payments.Payment;e.setId(t.getPaymentId()),e.setOrder(new f.base.Reference),e.getOrder().setId(t.getOrderId()),e.setEmployee(new f.base.Reference),e.getEmployee().setId(t.getEmployeeId());let i=f.order.VoidReason[t.getVoidReason()];this.device.doVoidPayment(e,i,t.getDisablePrinting(),t.getDisableReceiptSelection(),t.getExtras())}else this.deviceObserver.onPaymentVoided_responseCode(f.remotepay.ResponseCode.ERROR,"Device connection Error","In voidPayment: VoidPaymentRequest - The Clover device is not connected.")}refundPayment(t){this.device&&this.isReady?this.device.doPaymentRefundByRequest(t):this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.CANCEL,"Device Connection Error","In refundPayment: RefundPaymentRequest - The Clover device is not connected.",v.TxTypeRequestInfo.REFUND_REQUEST)}voidPaymentRefund(t){this.deviceObserver.onPaymentRefundVoided(null,f.remotepay.ResponseCode.ERROR,"Cannot do Void Payment Refund","This version of the SDK does not support voidPaymentRefunds")}manualRefund(t){let e=new f.payments.TransactionSettings;if(this.device&&this.isReady)if(this.merchantInfo.getSupportsManualRefunds())if(t.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+t,v.TxTypeRequestInfo.CREDIT_REQUEST);else{let i=new m.Builder;i.setAmount(-Math.abs(t.getAmount())).setTransactionType(f.remotepay.TransactionType.CREDIT).setVaultedCard(t.getVaultedCard()).setRequiresRemoteConfirmation(!0).setExternalPaymentId(t.getExternalId()),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),t.getDisablePrinting()&&e.setCloverShouldHandleReceipts(!t.getDisablePrinting()),t.getDisableRestartTransactionOnFail()&&e.setDisableRestartTransactionOnFailure(t.getDisableRestartTransactionOnFail()),t.getDisableReceiptSelection()&&e.setDisableReceiptSelection(t.getDisableReceiptSelection()),null!=t.getExtras()&&i.setPassThroughValues(t.getExtras()),i.setTransactionSettings(e);let n=i.build();this.device.doTxStart(n,null,v.TxTypeRequestInfo.CREDIT_REQUEST)}else this.deviceObserver.onFinishCancelManualRefund(f.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Manual Refunds are not enabled for the payment gateway. Original Request = "+t);else this.deviceObserver.onFinishCancelManualRefund(f.remotepay.ResponseCode.ERROR,"Device connection Error","In manualRefund: ManualRefundRequest - The Clover device is not connected.")}retrievePendingPayments(){this.device&&this.isReady?this.device.doRetrievePendingPayments():this.deviceObserver.onPendingPaymentsResponse(!1,null,"Device connection Error","In retrievePendingPayments: The Clover device is not connected.")}readCardData(t){if(this.device&&this.isReady)if(null==t)this.deviceObserver.onReadCardDataResponse(f.remotepay.ResponseCode.FAIL,"Invalid Argument.","In readCardData: ReadCardDataRequest - The request that was passed in for processing is null.");else{let e=new m.Builder;e.setTransactionType(f.remotepay.TransactionType.DATA),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),e.setForceSwipePinEntry(t.getIsForceSwipePinEntry());let i=e.build();this.device.doReadCardData(i)}else this.deviceObserver.onReadCardDataResponse(f.remotepay.ResponseCode.ERROR,"Device connection Error","In readCardData: The Clover device is not connected.")}sendMessageToActivity(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In sendMessageToActivity: Invalid argument. Null is not allowed."):this.device.doSendMessageToActivity(t.getAction(),t.getPayload()):this.notifyDeviceNotConnected("In sendMessageToActivity")}retrievePayment(t){this.device&&this.isReady?this.device.doRetrievePayment(t.getExternalPaymentId()):this.notifyDeviceNotConnected("In retrievePayment")}registerForCustomerProvidedData(t){if(this.device&&this.isReady){let e=t.getConfigurations(),i=this.convertConfigurations(e);console.log(i),this.device.doRegisterForCustomerProvidedData(i)}else this.notifyDeviceNotConnected("In registerForCustomerProvidedData")}convertConfigurations(t){let e=new Array;return null!=t&&t.forEach((t=>e.push(this.convertConfiguration(t)))),e}convertConfiguration(t){let e=new f.loyalty.LoyaltyDataConfig;return e.setType(t.getType()),e.setConfiguration(t.getConfiguration()),e}setCustomerInfo(t){this.device&&this.isReady?this.device.doSetCustomerInfo(t.getCustomerInfo()):this.notifyDeviceNotConnected("In setCustomerInfo: The Clover device is not connected.")}retrievePrinters(t){this.device&&this.isReady?t?this.device.doRetrievePrinters(t.getCategory()):this.notifyInvalidData("In retrievePrinters: Invalid argument. Null is not allowed."):this.notifyDeviceNotConnected("In retrievePrinters")}retrievePrintJobStatus(t){this.device&&this.isReady?t&&t.getPrintRequestId()?this.device.doRetrievePrintJobStatus(t.getPrintRequestId()):this.notifyInvalidData("In retrievePrintJobStatus: Invalid argument. Null is not allowed."):this.notifyDeviceNotConnected("In retrievePrintJobStatus")}closeout(t){this.device&&this.isReady?this.device.doCloseout(t.getAllowOpenTabs(),t.getBatchId()):this.notifyDeviceNotConnected("In closeout")}print(t){if(this.device&&this.isReady)if(t){if(!this.validatePrintRequest(t))return;{const e=t.getImages(),i=t.getImageUrls();if(e){Array.isArray(e)&&e.length>1&&this.notifyInvalidData("In print: Invalid argument. Only one image can be printed at a time in the current API.");let i=Array.isArray(e)?e[0]:e;this.device.doPrintImageObject(i,t.getPrintRequestId(),t.getPrintDeviceId())}else if(t.getText())this.device.doPrintText(t.getText(),t.getPrintRequestId(),t.getPrintDeviceId());else if(i){Array.isArray(i)&&i.length>1&&this.notifyInvalidData("In print: Invalid argument. Only one imageUrl can be printed at a time in the current API.");let e=Array.isArray(i)?i[0]:i;this.device.doPrintImageUrl(e,t.getPrintRequestId(),t.getPrintDeviceId())}else this.notifyInvalidData("In print: Invalid argument. PrintRequest element was not formatted correctly.")}}else this.notifyInvalidData("In print: Invalid argument. Null is not allowed.");else this.notifyDeviceNotConnected("In print")}validatePrintRequest(t){return t.getImages()||t.getText()||t.getImageUrls()?!(t.getImages()&&t.getText()||t.getImages()&&t.getImageUrls()||t.getText()&&t.getImageUrls())||(this.notifyInvalidData("In validatePrintRequest: There are too may different kinds of items to print. Can only have one."),!1):(this.notifyInvalidData("In validatePrintRequest: There are no items to print."),!1)}showMessage(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showMessage: Invalid argument. Null is not allowed."):this.device.doTerminalMessage(t):this.notifyDeviceNotConnected("In showMessage")}sendDebugLog(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showMessage: Invalid argument. Null is not allowed."):this.device.doSendDebugLog(t):this.notifyDeviceNotConnected("In sendDebugLog")}showWelcomeScreen(){this.device&&this.isReady?this.device.doShowWelcomeScreen():this.notifyDeviceNotConnected("In showWelcomeScreen")}showThankYouScreen(){this.device&&this.isReady?this.device.doShowThankYouScreen():this.notifyDeviceNotConnected("In showThankYouScreen")}displayReceiptOptions(t){this.device&&this.isReady?this.device.doShowReceiptScreen(t.getOrderId(),t.getPaymentId(),t.getRefundId(),t.getCreditId(),t.getDisablePrinting()):this.notifyDeviceNotConnected("In displayReceiptOptions")}openCashDrawer(t){this.device&&this.isReady?t?"string"==typeof t?this.device.doOpenCashDrawer(t):this.device.doOpenCashDrawer(t.getReason(),t.getDeviceId()):this.notifyInvalidData("In openCashDrawer: Invalid argument. The request cannot be null."):this.notifyDeviceNotConnected("In openCashDrawer")}showDisplayOrder(t){this.device&&this.isReady?null==t?this.notifyInvalidData("In showDisplayOrder: Invalid argument. The order cannot be null."):this.device.doOrderUpdate(t,null):this.notifyDeviceNotConnected("In showDisplayOrder")}removeDisplayOrder(t){if(this.device&&this.isReady)if(null==t)this.notifyInvalidData("In removeDisplayOrder: Invalid argument. The order cannot be null.");else{let e=new f.order.operation.OrderDeletedOperation;e.setId(t.getId()),this.device.doOrderUpdate(t,e)}else this.notifyDeviceNotConnected("In removeDisplayOrder")}discountAddedToDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"discountAddedToDisplayOrder has not been implemented.")}discountRemovedFromDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"discountRemovedFromDisplayOrder has not been implemented.")}lineItemAddedToDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemAddedToDisplayOrder has not been implemented.")}lineItemRemovedFromDisplayOrder(t,e){this.notifyDeviceError(f.remotepay.ErrorType.EXCEPTION,f.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemRemovedFromDisplayOrder has not been implemented.")}dispose(){this.broadcaster.clear(),this.device&&this.device.dispose()}invokeInputOption(t){this.device&&this.isReady?this.device.doKeyPress(t.getKeyPress()):this.notifyDeviceNotConnected("In invokeInputOption")}resetDevice(){this.device&&this.isReady?this.device.doResetDevice():this.notifyDeviceNotConnected("In resetDevice")}retrieveDeviceStatus(t){this.device&&this.isReady?this.device.doRetrieveDeviceStatus(t):this.notifyDeviceNotConnected("In retrieveDeviceStatus")}getCardEntryMethods(){return this.cardEntryMethods}startCustomActivity(t){this.device&&this.isReady?this.device.doStartActivity(t.getAction(),t.getPayload(),t.getNonBlocking()):this.notifyDeviceNotConnected("In startCustomActivity")}checkBalance(t){this.device&&this.isReady?this.device.doCheckBalance(t.getCardEntryMethods()):this.notifyDeviceNotConnected("In checkBalance")}requestSignature(t){this.device&&this.isReady?this.device.doCollectSignature(t.getAcknowledgementMessage()):this.notifyDeviceNotConnected("In requestSignature")}requestTip(t){this.device&&this.isReady?this.device.doRequestTip(t.getTippableAmount(),t.getTipSuggestions()):this.notifyDeviceNotConnected("In requestTip")}static populateBaseResponse(t,e,i,n,o){if(t.setSuccess(e),t.setResult(i),t.setReason(n||(i?i.toString():"No extended information provided.")),t.setMessage(o||"No extended information provided."),t.getPayment){const e=t.getPayment();e&&this.setResponseFlags(t,e)}}static populatePaymentResponse(t,e,i,n,o,s,r){v.populateBaseResponse(t,e,i,s,r),t.setPayment(n),t.setSignature(o),this.setResponseFlags(t,n)}static setResponseFlags(t,e){if(t&&e){const i=e.getCardTransaction();if(i){const n=i.getType();t.setIsSale&&t.setIsSale(f.payments.CardTransactionType.AUTH==n&&f.payments.Result.SUCCESS==e.getResult()),t.setIsAuth&&t.setIsAuth(f.payments.CardTransactionType.PREAUTH==n&&f.payments.Result.SUCCESS==e.getResult()),t.setIsPreAuth&&t.setIsPreAuth(f.payments.CardTransactionType.PREAUTH==n&&f.payments.Result.AUTH==e.getResult())}}}}v.MAX_PAYLOAD_SIZE=1e7,function(t){class e{}e.SALE_REQUEST="SALE",e.AUTH_REQUEST="AUTH",e.PREAUTH_REQUEST="PREAUTH",e.CREDIT_REQUEST="CREDIT",e.REFUND_REQUEST="REFUND",t.TxTypeRequestInfo=e,t.InnerDeviceObserver=class{constructor(t){this.logger=p.create(),this.cloverConnector=t}onTxState(t){}resultSuccessToResponseCode(t){return this.resultStatusToResponseCode(t?f.remotemessage.ResultStatus.SUCCESS:f.remotemessage.ResultStatus.FAIL)}resultStatusToResponseCode(t){return t==f.remotemessage.ResultStatus.SUCCESS?f.remotepay.ResponseCode.SUCCESS:t==f.remotemessage.ResultStatus.CANCEL?f.remotepay.ResponseCode.CANCEL:f.remotepay.ResponseCode.FAIL}onTxStartResponse(i){let n=i.getReason(),o=i.getResult();if(o==f.remotemessage.TxStartResponseResult.SUCCESS)return;const s=o==f.remotemessage.TxStartResponseResult.DUPLICATE,r=s?f.remotepay.ResponseCode.CANCEL:f.remotepay.ResponseCode.FAIL,a=s?"The provided transaction id of "+i.getExternalPaymentId()+" has already been processed and cannot be resubmitted.":null;let l=s?a:i.getMessage(),d=i.getRequestInfo();if(d==e.PREAUTH_REQUEST){const e=new f.remotepay.PreAuthResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(e)}else if(d==e.AUTH_REQUEST){const e=new f.remotepay.AuthResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnAuthResponse(e)}else if(d==e.SALE_REQUEST){const e=new f.remotepay.SaleResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnSaleResponse(e)}else if(d==e.CREDIT_REQUEST){const e=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(e,!1,r,n,l),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(e)}else this.logger.error("Could not determine request type. requestInfo = "+d)}onUiState(t,e,i,n){let o=new f.remotepay.CloverDeviceEvent;o.setInputOptions(n),o.setEventState(f.remotepay.DeviceEventState[t.toString()]),o.setMessage(e),i==f.remotemessage.UiDirection.ENTER?this.cloverConnector.broadcaster.notifyOnDeviceActivityStart(o):i==f.remotemessage.UiDirection.EXIT&&(this.cloverConnector.broadcaster.notifyOnDeviceActivityEnd(o),t.toString()==f.remotepay.DeviceEventState.RECEIPT_OPTIONS.toString()&&this.cloverConnector.device.doShowWelcomeScreen())}onTipAdded(t){this.cloverConnector.broadcaster.notifyOnTipAdded(t)}onAuthTipAdjusted(e,i){const n=new f.remotepay.TipAdjustAuthResponse,o=e.getSuccess();i||(i=this.resultSuccessToResponseCode(o)),t.populateBaseResponse(n,o,i,e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setTipAmount(e.getAmount()),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(n)}onCashbackSelected(t){}onPartialAuth(t){}onFinishOkPayment(i,n,o){try{if(this.cloverConnector.device.doShowThankYouScreen(),o==e.PREAUTH_REQUEST){let e=new f.remotepay.PreAuthResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(e)}else if(o==e.AUTH_REQUEST){let e=new f.remotepay.AuthResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnAuthResponse(e)}else if(o==e.SALE_REQUEST){let e=new f.remotepay.SaleResponse;t.populatePaymentResponse(e,!0,f.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnSaleResponse(e)}else this.logger.error("Failed to pair this response: "+i)}finally{}}onFinishOkCredit(e){this.cloverConnector.device.doShowWelcomeScreen();let i=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(i,!0,f.remotepay.ResponseCode.SUCCESS),i.setCredit(e),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(i)}onFinishOkRefund(e){this.cloverConnector.device.doShowWelcomeScreen();let i=this.lastPRR;if(this.lastPRR=null,null!=e.getOrderRef()){let i=!0,n=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i)),n.setOrderId(e.getOrderRef().getId()),e.getPayment()&&n.setPaymentId(e.getPayment().getId()),n.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(n)}else if(i&&i.getRefund().getId()==e.getId())this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(i);else{let i=!0,n=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i)),e.getPayment()&&n.setPaymentId(e.getPayment().getId()),n.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(n)}}onFinishOk(t,e,i){t instanceof f.payments.Payment?this.onFinishOkPayment(t,e,i):t instanceof f.payments.Credit?this.onFinishOkCredit(t):this.onFinishOkRefund(t)}onFinishCancel_rmm(t,i,n,o){try{this.cloverConnector.device&&this.cloverConnector.device.doShowWelcomeScreen(),o==e.PREAUTH_REQUEST?this.onFinishCancelPreAuth(t,i,n):o==e.SALE_REQUEST?this.onFinishCancelSale(t,i,n):o==e.AUTH_REQUEST?this.onFinishCancelAuth(t,i,n):o==e.CREDIT_REQUEST?this.onFinishCancelManualRefund(t,i,n):o==e.REFUND_REQUEST?this.lastPRR?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR):this.onFinishCancelRefund(t,i,n):this.lastPRR?(this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR),this.lastPRR=null):o?this.logger.error("onFinishCancel called, but could not determine how to respond!",arguments):this.logger.error("onFinishCancel called, requestInfo was null, and could not determine the type of the message from the last request",arguments)}finally{}}onFinishCancel(t){this.onFinishCancel_rmm(f.remotepay.ResponseCode.CANCEL,null,null,t)}onFinishCancelPreAuth(e,i,n){let o=new f.remotepay.PreAuthResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The PreAuth Request was canceled."),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(o)}onFinishCancelSale(e,i,n){let o=new f.remotepay.SaleResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Sale Request was canceled."),this.cloverConnector.broadcaster.notifyOnSaleResponse(o)}onFinishCancelAuth(e,i,n){let o=new f.remotepay.AuthResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Auth Request was canceled."),this.cloverConnector.broadcaster.notifyOnAuthResponse(o)}onFinishCancelManualRefund(e,i,n){let o=new f.remotepay.ManualRefundResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Manual Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(o)}onFinishCancelRefund(e,i,n){let o=new f.remotepay.RefundPaymentResponse;t.populateBaseResponse(o,!1,e,i||"Request Canceled",n||"The Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(o)}onVerifySignature(t,e){let i=new f.remotepay.VerifySignatureRequest;i.setSignature(e),i.setPayment(t),this.cloverConnector.broadcaster.notifyOnVerifySignatureRequest(i)}onConfirmPayment(t,e){let i=new f.remotepay.ConfirmPaymentRequest;i.setPayment(t),i.setChallenges(e),this.cloverConnector.broadcaster.notifyOnConfirmPaymentRequest(i)}onPaymentVoided(e){this.cloverConnector.showWelcomeScreen();let i=e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=this.resultStatusToResponseCode(e.getStatus()),o=new f.remotepay.VoidPaymentResponse;const s=e.getPayment();o.setPayment(s),o.setPaymentId(null!=s?s.getId():null),t.populateBaseResponse(o,i,n,e.getReason(),e.getMessage()),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(o)}onPaymentVoided_responseCode(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.VoidPaymentResponse;t.populateBaseResponse(s,o,e,i,n),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(s)}onPaymentRefundVoided(t,e,i,n){const o=new f.remotepay.VoidPaymentRefundResponse;o.setSuccess(e==f.remotepay.ResponseCode.SUCCESS),o.setReason(null!=i?i:e.toString()),o.setMessage(null!=n?n:"No extended information provided."),o.setRefund(t),this.cloverConnector.broadcaster.notifyOnVoidPaymentRefundResponse(o)}onKeyPressed(t){}onPaymentRefundResponse(e){let i=e.getCode()==f.remotemessage.TxState.SUCCESS,n=new f.remotepay.RefundPaymentResponse,o=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),o,e.getMessage()),n.setOrderId(e.getOrderId()),n.setPaymentId(e.getPaymentId()),n.setRefund(e.getRefund()),this.lastPRR=n}onPaymentRefundVoidResponse(e){let i=f.remotemessage.ResultStatus.SUCCESS==status,n=new f.remotepay.VoidPaymentRefundResponse,o=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),o,e.getMessage()),n.setRefundId(e.getRefund()?e.getRefund().getId():null),n.setReason(e.getReason())}onVaultCardResponse(e,i,n){let o=f.remotemessage.ResultStatus.SUCCESS==e.getStatus();this.cloverConnector.device.doShowWelcomeScreen();let s=new f.remotepay.VaultCardResponse;s.setCard(e.getCard()),t.populateBaseResponse(s,o,i||this.resultSuccessToResponseCode(o),e.getReason(),n),this.cloverConnector.broadcaster.notifyOnVaultCardRespose(s)}onCapturePreAuthError(e,i,n,o){const s=new f.remotepay.CapturePreAuthResponse;t.populateBaseResponse(s,!1,e,i,n),s.setPaymentId(o),s.setTipAmount(0),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(s)}onCapturePreAuth(e){let i=f.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new f.remotepay.CapturePreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setAmount(e.getAmount()),n.setTipAmount(e.getTipAmount()),this.cloverConnector.broadcaster.notifyOnCapturePreAuth(n)}onIncrementPreAuthError(e,i,n){const o=new f.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(o,!1,e,i,n),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(o)}onIncrementPreAuthResponse(e){let i=f.remotemessage.ResultStatus.SUCCESS==e.getStatus();const n=new f.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),null),n.setAuthorization(e.getAuthorization()),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(n)}onCloseoutResponse(e,i,n){let o=e==f.remotemessage.ResultStatus.SUCCESS,s=new f.remotepay.CloseoutResponse;t.populateBaseResponse(s,o,this.resultSuccessToResponseCode(o),i,null),s.setBatch(n),this.cloverConnector.broadcaster.notifyCloseout(s)}onDeviceDisconnected(t,e){this.logger.debug("Disconnected ",e),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnDisconnect(e)}onDeviceConnected(){this.logger.debug("Connected"),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnConnect()}onDeviceReady(t,e){this.logger.debug("Ready"),this.cloverConnector.isReady=e.getReady();let i=new f.remotepay.MerchantInfo;i.setMerchantID(e.getMerchantId()),i.setMerchantMID(e.getMerchantMId()),i.setMerchantName(e.getMerchantName());let n=new f.remotepay.DeviceInfo;i.setDeviceInfo(n),n.setName(e.getName()),n.setModel(e.getModel()),n.setSerial(e.getSerial()),n.setSupportsAcks(e.getSupportsAcknowledgement()),i.setSupportsPreAuths(e.getSupportsPreAuth()),i.setSupportsManualRefunds(e.getSupportsManualRefund()),i.setSupportsTipAdjust(e.getSupportsTipAdjust()),i.setSupportsAuths(e.getSupportsAuth()),i.setSupportsVaultCards(e.getSupportsVaultCard()),this.cloverConnector.merchantInfo=i,this.cloverConnector.device.setSupportsAck(e.getSupportsAcknowledgement()),this.cloverConnector.device.setSupportsVoidPaymentResponse(e.getSupportsVoidPaymentResponse()),e.getReady()?this.cloverConnector.broadcaster.notifyOnReady(i):this.cloverConnector.broadcaster.notifyOnConnect()}onDeviceError(t){this.cloverConnector.broadcaster.notifyOnDeviceError(t)}onPrintRefundPayment(t,e,i){let n=new f.remotepay.PrintRefundPaymentReceiptResponse;n.setPayment(t),n.setOrder(e),n.setRefund(i),this.cloverConnector.broadcaster.notifyOnPrintRefundPaymentReceipt(n)}onPrintMerchantReceipt(t){const e=new f.remotepay.PrintPaymentMerchantCopyReceiptMessage;e.setPayment(t),this.cloverConnector.broadcaster.notifyOnPrintPaymentMerchantCopyReceipt(e)}onPrintPaymentDecline(t,e){const i=new f.remotepay.PrintPaymentDeclineReceiptMessage;i.setPayment(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentDeclineReceipt(i)}onPrintPayment(t,e){const i=new f.remotepay.PrintPaymentReceiptMessage;i.setPayment(t),i.setOrder(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentReceipt(i)}onPrintCredit(t){const e=new f.remotepay.PrintManualRefundReceiptMessage;e.setCredit(t),this.cloverConnector.broadcaster.notifyOnPrintCreditReceipt(e)}onPrintCreditDecline(t,e){const i=new f.remotepay.PrintManualRefundDeclineReceiptMessage;i.setCredit(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintCreditDeclineReceipt(i)}onMessageAck(t){}onPendingPaymentsResponse(e,i,n,o){let s=e?f.remotepay.ResponseCode.SUCCESS:f.remotepay.ResponseCode.ERROR,r=new f.remotepay.RetrievePendingPaymentsResponse;t.populateBaseResponse(r,e,s,n,o),i?r.setPendingPaymentEntries(i):this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnRetrievePendingPaymentResponse(r)}onReadCardResponse(e,i,n){let o=e==f.remotemessage.ResultStatus.SUCCESS;if(o){let e=new f.remotepay.ReadCardDataResponse;t.populateBaseResponse(e,o,this.resultSuccessToResponseCode(o),i),e.setCardData(n),this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(e)}else e==f.remotemessage.ResultStatus.CANCEL?this.onReadCardDataResponse(f.remotepay.ResponseCode.CANCEL,i,""):this.onReadCardDataResponse(f.remotepay.ResponseCode.FAIL,i,"")}onMessageFromActivity(t,e){let i=new f.remotepay.MessageFromActivity;i.setAction(t),i.setPayload(e),this.cloverConnector.broadcaster.notifyOnActivityMessage(i)}onReadCardDataResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS;this.cloverConnector.device.doShowWelcomeScreen();let s=new f.remotepay.ReadCardDataResponse;t.populateBaseResponse(s,o,e,i,n),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(s)}onActivityResponse(e,i,n,o){let s=e==f.remotemessage.ResultStatus.SUCCESS,r=s?f.remotepay.ResponseCode.SUCCESS:f.remotepay.ResponseCode.CANCEL,a=new f.remotepay.CustomActivityResponse;t.populateBaseResponse(a,s,r,n),a.setPayload(i),a.setAction(o),this.cloverConnector.broadcaster.notifyOnActivityResponse(a)}onDeviceStatusResponse(e){let i=!e.getStatus()||e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=new f.remotepay.RetrieveDeviceStatusResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason()),n.setState(e.getState()),n.setData(e.getData()),this.cloverConnector.broadcaster.notifyOnRetrieveDeviceStatusResponse(n)}onInvalidStateTransitionResponse(e,i,n,o,s){let r=e==f.remotemessage.ResultStatus.SUCCESS,a=new f.remotepay.InvalidStateTransitionResponse;const l=this.resultStatusToResponseCode(e);t.populateBaseResponse(a,r,l,i),a.setRequestedTransition(n),a.setState(o),a.setData(s),this.cloverConnector.broadcaster.notifyOnInvalidStateTransitionResponse(a)}onResetDeviceResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.ResetDeviceResponse;t.populateBaseResponse(s,o,e,i),s.setState(n),this.cloverConnector.broadcaster.notifyOnResetDeviceResponse(s)}onRetrievePaymentResponse(e){let i=e.getStatus()==f.remotemessage.ResultStatus.SUCCESS,n=new f.remotepay.RetrievePaymentResponse;const o=this.resultStatusToResponseCode(e.getStatus());t.populateBaseResponse(n,i,o,e.getReason(),e.getMessage()),n.setExternalPaymentId(e.getExternalPaymentId()),n.setQueryStatus(e.getQueryStatus()),n.setPayment(e.getPayment()),this.cloverConnector.broadcaster.notifyOnRetrievePaymentResponse(n)}onRetrievePrintersResponse(e,i){let n=e==f.remotepay.ResponseCode.SUCCESS,o=new f.remotepay.RetrievePrintersResponse;t.populateBaseResponse(o,n,e,null),o.setPrinters(i),this.cloverConnector.broadcaster.notifyOnRetrievePrintersResponse(o)}onPrintJobStatusResponse(e,i,n){let o=e==f.remotepay.ResponseCode.SUCCESS,s=new f.remotepay.PrintJobStatusResponse;t.populateBaseResponse(s,o,e,n),s.setStatus(n),s.setPrintRequestId(i),this.cloverConnector.broadcaster.notifyOnPrintJobStatusResponse(s)}onCustomerProvidedDataMessage(t,e,i,n){let o=new f.remotepay.CustomerProvidedDataEvent;o.setResult(t),o.setSuccess(t===f.remotepay.ResponseCode.SUCCESS),o.setEventId(e);let s=new f.remotepay.DataProviderConfig;s.setType(i.getType()),s.setConfiguration(i.getConfiguration()),o.setConfig(s),o.setData(n),this.cloverConnector.broadcaster.notifyOnCustomerProvidedDataEvent(o)}onDisplayReceiptOptionsResponse(t,e){let i=new f.remotepay.DisplayReceiptOptionsResponse;const n=this.resultStatusToResponseCode(t);i.setReason(e),i.setResult(n),i.setSuccess(i.getResult()==f.remotepay.ResponseCode.SUCCESS),this.cloverConnector.broadcaster.notifyOnDisplayReceiptOptionsResponse(i)}onSignatureCollected(t){let e=new f.remotepay.SignatureResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS),e.setSignature(t.getSignature()),this.cloverConnector.broadcaster.notifyOnSignatureCollected(e)}onBalanceInquiryResponse(t){let e=new f.remotepay.CheckBalanceResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS);let n=t.getPayment();n&&e.setAmount(n.getAmount()),this.cloverConnector.broadcaster.notifyOnCheckBalanceResponse(e)}onRequestTipResponse(t){let e=new f.remotepay.TipResponse;const i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==f.remotepay.ResponseCode.SUCCESS),e.setTipAmount(t.getAmount()),this.cloverConnector.broadcaster.notifyOnTipResponse(e)}}}(v||(v={}));class g{static getType(t){return null==g.methodToType&&g.initialize(),g.methodToType[t]}static initialize(){g.methodToType={},g.methodToType[f.remotemessage.Method.ACK]=f.remotemessage.AcknowledgementMessage,g.methodToType[f.remotemessage.Method.CLOSEOUT_RESPONSE]=f.remotemessage.CloseoutResponseMessage,g.methodToType[f.remotemessage.Method.CLOSEOUT_REQUEST]=f.remotemessage.CloseoutRequestMessage,g.methodToType[f.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE]=f.remotemessage.CapturePreAuthResponseMessage,g.methodToType[f.remotemessage.Method.CAPTURE_PREAUTH]=f.remotemessage.CapturePreAuthMessage,g.methodToType[f.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE]=f.remotemessage.IncrementPreAuthResponseMessage,g.methodToType[f.remotemessage.Method.INCREMENT_PREAUTH_REQUEST]=f.remotemessage.IncrementPreAuthMessage,g.methodToType[f.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE]=f.remotemessage.ConfirmPaymentMessage,g.methodToType[f.remotemessage.Method.LAST_MSG_REQUEST]=f.remotemessage.LastMessageRequestMessage,g.methodToType[f.remotemessage.Method.LAST_MSG_RESPONSE]=f.remotemessage.LastMessageResponseMessage,g.methodToType[f.remotemessage.Method.TIP_ADJUST]=f.remotemessage.TipAdjustMessage,g.methodToType[f.remotemessage.Method.TIP_ADJUST_RESPONSE]=f.remotemessage.TipAdjustResponseMessage,g.methodToType[f.remotemessage.Method.OPEN_CASH_DRAWER]=f.remotemessage.OpenCashDrawerMessage,g.methodToType[f.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS]=f.remotemessage.ShowPaymentReceiptOptionsMessage,g.methodToType[f.remotemessage.Method.REFUND_RESPONSE]=f.remotemessage.RefundResponseMessage,g.methodToType[f.remotemessage.Method.REFUND_REQUEST]=f.remotemessage.RefundRequestMessage,g.methodToType[f.remotemessage.Method.REFUND_PRINT_PAYMENT]=f.remotemessage.RefundPaymentPrintMessage,g.methodToType[f.remotemessage.Method.TX_START]=f.remotemessage.TxStartRequestMessage,g.methodToType[f.remotemessage.Method.TX_START_RESPONSE]=f.remotemessage.TxStartResponseMessage,g.methodToType[f.remotemessage.Method.KEY_PRESS]=f.remotemessage.KeyPressMessage,g.methodToType[f.remotemessage.Method.UI_STATE]=f.remotemessage.UiStateMessage,g.methodToType[f.remotemessage.Method.TX_STATE]=f.remotemessage.TxStateMessage,g.methodToType[f.remotemessage.Method.FINISH_OK]=f.remotemessage.FinishOkMessage,g.methodToType[f.remotemessage.Method.FINISH_CANCEL]=f.remotemessage.FinishCancelMessage,g.methodToType[f.remotemessage.Method.DISCOVERY_REQUEST]=f.remotemessage.DiscoveryRequestMessage,g.methodToType[f.remotemessage.Method.DISCOVERY_RESPONSE]=f.remotemessage.DiscoveryResponseMessage,g.methodToType[f.remotemessage.Method.TIP_ADDED]=f.remotemessage.TipAddedMessage,g.methodToType[f.remotemessage.Method.VERIFY_SIGNATURE]=f.remotemessage.VerifySignatureMessage,g.methodToType[f.remotemessage.Method.SIGNATURE_VERIFIED]=f.remotemessage.SignatureVerifiedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_CONFIRMED]=f.remotemessage.PaymentConfirmedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_REJECTED]=f.remotemessage.PaymentRejectedMessage,g.methodToType[f.remotemessage.Method.PAYMENT_VOIDED]=f.remotemessage.PaymentVoidedMessage,g.methodToType[f.remotemessage.Method.PRINT_TEXT]=f.remotemessage.TextPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_IMAGE]=f.remotemessage.ImagePrintMessage,g.methodToType[f.remotemessage.Method.TERMINAL_MESSAGE]=f.remotemessage.TerminalMessage,g.methodToType[f.remotemessage.Method.SHOW_WELCOME_SCREEN]=f.remotemessage.WelcomeMessage,g.methodToType[f.remotemessage.Method.SHOW_THANK_YOU_SCREEN]=f.remotemessage.ThankYouMessage,g.methodToType[f.remotemessage.Method.SHOW_ORDER_SCREEN]=f.remotemessage.OrderUpdateMessage,g.methodToType[f.remotemessage.Method.BREAK]=f.remotemessage.BreakMessage,g.methodToType[f.remotemessage.Method.CASHBACK_SELECTED]=f.remotemessage.CashbackSelectedMessage,g.methodToType[f.remotemessage.Method.PARTIAL_AUTH]=f.remotemessage.PartialAuthMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT]=f.remotemessage.VoidPaymentMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT_RESPONSE]=f.remotemessage.VoidPaymentResponseMessage,g.methodToType[f.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE]=f.remotemessage.VoidPaymentRefundResponseMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT]=f.remotemessage.OrderActionAddDiscountMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT]=f.remotemessage.OrderActionRemoveDiscountMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM]=f.remotemessage.OrderActionAddLineItemMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM]=f.remotemessage.OrderActionRemoveLineItemMessage,g.methodToType[f.remotemessage.Method.ORDER_ACTION_RESPONSE]=f.remotemessage.OrderActionResponseMessage,g.methodToType[f.remotemessage.Method.VAULT_CARD]=f.remotemessage.VaultCardMessage,g.methodToType[f.remotemessage.Method.VAULT_CARD_RESPONSE]=f.remotemessage.VaultCardResponseMessage,g.methodToType[f.remotemessage.Method.LOG_MESSAGE]=f.remotemessage.LogMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS]=f.remotemessage.RetrievePendingPaymentsMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE]=f.remotemessage.RetrievePendingPaymentsResponseMessage,g.methodToType[f.remotemessage.Method.CARD_DATA]=f.remotemessage.CardDataRequestMessage,g.methodToType[f.remotemessage.Method.CARD_DATA_RESPONSE]=f.remotemessage.CardDataResponseMessage,g.methodToType[f.remotemessage.Method.PAIRING_REQUEST]=f.remotemessage.PairingRequestMessage,g.methodToType[f.remotemessage.Method.PAIRING_RESPONSE]=f.remotemessage.PairingResponseMessage,g.methodToType[f.remotemessage.Method.PAIRING_CODE]=f.remotemessage.PairingCodeMessage,g.methodToType[f.remotemessage.Method.REMOTE_ERROR]=f.remotemessage.RemoteError,g.methodToType[f.remotemessage.Method.ACTIVITY_REQUEST]=f.remotemessage.ActivityRequest,g.methodToType[f.remotemessage.Method.ACTIVITY_RESPONSE]=f.remotemessage.ActivityResponseMessage,g.methodToType[f.remotemessage.Method.SHUTDOWN]=f.remotemessage.ShutDownMessage,g.methodToType[f.remotemessage.Method.RESET]=f.remotemessage.ResetMessage,g.methodToType[f.remotemessage.Method.FORCECONNECT]=f.remotemessage.ForceConnectMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_REQUEST]=f.remotemessage.RetrieveDeviceStatusRequestMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE]=f.remotemessage.RetrieveDeviceStatusResponseMessage,g.methodToType[f.remotemessage.Method.RESET_DEVICE_RESPONSE]=f.remotemessage.ResetDeviceResponseMessage,g.methodToType[f.remotemessage.Method.ACTIVITY_MESSAGE_TO_ACTIVITY]=f.remotemessage.ActivityMessageToActivity,g.methodToType[f.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY]=f.remotemessage.ActivityMessageFromActivity,g.methodToType[f.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE]=f.remotemessage.RetrievePaymentResponseMessage,g.methodToType[f.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST]=f.remotemessage.RetrievePaymentRequestMessage,g.methodToType[f.remotemessage.Method.GET_PRINTERS_REQUEST]=f.remotemessage.GetPrintersRequestMessage,g.methodToType[f.remotemessage.Method.GET_PRINTERS_RESPONSE]=f.remotemessage.GetPrintersResponseMessage,g.methodToType[f.remotemessage.Method.PRINT_JOB_STATUS_REQUEST]=f.remotemessage.PrintJobStatusRequestMessage,g.methodToType[f.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE]=f.remotemessage.PrintJobStatusResponseMessage,g.methodToType[f.remotemessage.Method.PRINT_CREDIT]=f.remotemessage.CreditPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_CREDIT_DECLINE]=f.remotemessage.DeclineCreditPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT]=f.remotemessage.PaymentPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT_DECLINE]=f.remotemessage.DeclinePaymentPrintMessage,g.methodToType[f.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY]=f.remotemessage.PaymentPrintMerchantCopyMessage,g.methodToType[f.remotemessage.Method.REFUND_PRINT_PAYMENT]=f.remotemessage.RefundPaymentPrintMessage,g.methodToType[f.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE]=f.remotemessage.CustomerProvidedDataMessage,g.methodToType[f.remotemessage.Method.INVALID_STATE_TRANSITION]=f.remotemessage.InvalidStateTransitionMessage,g.methodToType[f.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE]=f.remotemessage.ShowReceiptOptionsResponseMessage,g.methodToType[f.remotemessage.Method.BALANCE_INQUIRY_RESPONSE]=f.remotemessage.BalanceInquiryResponseMessage,g.methodToType[f.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE]=f.remotemessage.SignatureResponseMessage,g.methodToType[f.remotemessage.Method.REQUEST_TIP_RESPONSE]=f.remotemessage.RequestTipResponseMessage}}g.methodToType=null;class T extends class{constructor(){this.log=p.create(),this.isPrimitive=function(t){var e=t.type;return e===String||e===Number||e===Boolean},this.isArray=function(t){return t.type===Array},this.isObject=function(t){return t.type===Object},this.getArrayType=function(t){if(this.isArray(t))return t.elementType},this.getValueType=function(t){return t.valueType},this.hasMetaInfo=function(t){return t&&t.getMetaInfo&&"function"==typeof t.getMetaInfo}}transfertoObject(t,e,i){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){this.log.warn(`Invalid JSON: Failed to parse JSON string: ${t}.`)}if(this.hasMetaInfo(t))return t;if(this.hasMetaInfo(e))for(var n in t)if(null===t[n]||void 0===t[n])e[n]=t[n];else{var o=e.getMetaInfo(n);if(o)if(this.isPrimitive(o))e[n]=t[n];else if(this.isArray(o)){var s=this.getArrayType(o),r=t[n];if(r.hasOwnProperty("elements")&&(r=r.elements),Array.isArray(r)){e[n]=[];for(var a=0;a<r.length;a++)e[n][a]=new s,(d=this.transfertoObject(r[a],e[n][a],i))&&(e[n][a]=d)}else this.log.warn("Passed json contains field "+n+" of type "+typeof r+". The field on the object is of type array. No assignment will be made",r,t),i&&(e["x_"+n]=r)}else if(this.isObject(o))e[n]={},(d=this.transfertoObject(t[n],e[n],!0))&&(e[n]=d);else{var l=o.type;if(l[t[n]])e[n]=l[t[n]];else{try{e[n]=new l}catch(e){this.log.error("fieldType is ",l,", key is ",n," for jsonobject ",t)}var d;(d=this.transfertoObject(t[n],e[n],i))&&(e[n]=d)}}else i&&(e[n]=JSON.parse(JSON.stringify(t)))}else if(i)return JSON.parse(JSON.stringify(t));return null}}{constructor(){super()}static getDefaultInstance(){return T.INSTANCE}parseMessageFromRemoteMessageObj(t,e=!1){const i=g.getType(t.getMethod());let n=null;if(i&&(n=new i,t.getPayload())){const i=JSON.parse(t.getPayload()),o=this.transfertoObject(i,n,e);if(o)return o}return n}parseToRemoteMessage(t){const e=new f.remotemessage.RemoteMessage;return this.transfertoObject(t,e,!1),e}}T.INSTANCE=new T;class S{}S.device_already_connected="Device is already connected to";class E{}E.CLOVER_CLOUD_SDK_VERSION="4.1.2",E.CLOVER_CLOUD_SDK="com.clover.cloverconnector.cloud";var I,R,C,A,N,O,P=f.remotemessage.VoidPaymentResponseMessage;class M extends class{constructor(t,e,i){this.supportsAck=!1,this.supportsVoidPaymentResponse=!1,this.packageName=t,this.transport=e,this.applicationId=i,this.deviceObservers=[],this.supportsAck=!1}subscribe(t){this.deviceObservers.push(t)}unsubscribe(t){var e=this.deviceObservers.indexOf(t);-1!==e&&this.deviceObservers.splice(e,1)}setSupportsAck(t){this.supportsAck=t}getSupportsAck(){return this.supportsAck}setSupportsVoidPaymentResponse(t){this.supportsVoidPaymentResponse=t}getSupportsVoidPaymentResponse(){return this.supportsVoidPaymentResponse}}{constructor(t){super(t.getMessagePackageName(),t.getCloverTransport(),t.getApplicationId()),this.logger=p.create(),this.messageParser=T.getDefaultInstance(),this._remoteMessageVersion=M.DEFAULT_REMOTE_MESSAGE_VERSION,this.msgIdToTask={},this.heartbeatTimer=null,this.heartbeatResponseTimer=null,this.reconnectTimer=null,this.reconnecting=!1,this.heartbeatIntervalInMillis=null,this.heartbeatDisconnectTimeoutInMillis=null,this.cloverDeviceConfiguration=t,this.imageUtil=t.getImageUtil(),this.maxMessageSizeInChars=Math.max(1e3,t.getMaxMessageCharacters()),this.transport.subscribe(this),this.transport.setObjectMessageSender(this),this.reconnectDelayInMillis=this.cloverDeviceConfiguration.getReconnectDelay?this.cloverDeviceConfiguration.getReconnectDelay():-1,this.heartbeatIntervalInMillis=this.cloverDeviceConfiguration.getHeartbeatInterval?this.cloverDeviceConfiguration.getHeartbeatInterval():-1,this.heartbeatDisconnectTimeoutInMillis=this.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout?this.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout():-1,this.forceConnect=this.cloverDeviceConfiguration.getForceConnect?this.cloverDeviceConfiguration.getForceConnect():-1}onDeviceConnected(t){this.onConnected(t)}onConnected(t){setTimeout((()=>this.initiateHeartbeat()),M.INITIAL_HEARTBEAT_DELAY),this.notifyObserversConnected(t)}onConnectionAttemptComplete(t){this.reconnecting=!1}onDeviceReady(t){this.onReady(t)}onReady(t){this.doDiscoveryRequest()}initiateHeartbeat(){if(-1===this.heartbeatIntervalInMillis)return void this.logger.info(`${(new Date).toISOString()} - Device heartbeat checks are disabled, the heartbeatInterval is set to -1.`);if(this.heartbeatTimer)return;const t=()=>{try{this.heartbeatResponseTimer?this.logger.info(`${(new Date).toISOString()} - A heartbeat request is already outstanding, this interval will be skipped.`):(this.logger.info(`${(new Date).toISOString()} - Executing device heartbeat check ...`),this.sendPingToDevice(),this.heartbeatResponseTimer=setTimeout((()=>{const t=`Disconnecting: We have not received a heartbeat response from the device in ${this.heartbeatDisconnectTimeoutInMillis} millis.`;this.logger.warn(`${(new Date).toISOString()} - ${t}`),this.onDisconnected(this.transport,t)}),this.heartbeatDisconnectTimeoutInMillis)),this.heartbeatTimer=setTimeout(t,this.heartbeatIntervalInMillis)}catch(t){this.logger.info(`${(new Date).toISOString()} - Error caught executing device heartbeat checks. Message: ${t.message}.`)}};t()}stopHeartbeat(){-1!==this.heartbeatIntervalInMillis&&(this.logger.info(`${(new Date).toISOString()} - Stopping device heartbeat checks.`),clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null,this.clearHeartbeartResponseTimer())}clearHeartbeartResponseTimer(){clearTimeout(this.heartbeatResponseTimer),this.heartbeatResponseTimer=null}initiateReconnect(){if(-1===this.reconnectDelayInMillis)return void this.logger.info(`${(new Date).toISOString()} - Device reconnection is disabled, the reconnectDelay is set to -1.`);if(!this.transport||this.transport.isShutdown())return;if(this.reconnectTimer)return;const t=()=>{try{this.transport&&!this.transport.isShutdown()&&(this.reconnecting?this.logger.debug(`${(new Date).toISOString()} - A reconnection attempt is already outstanding, this attempt will be skipped.`):(this.logger.info(`${(new Date).toISOString()} - Not connected to your Clover device. Attempting to reconnect now ...`),this.transport.initialize(),this.reconnecting=!0))}catch(t){this.logger.error(`${(new Date).toISOString()} - An exception was caught in the reconnect loop. Message: ${t.message}.`)}this.reconnectTimer=setTimeout(t,this.reconnectDelayInMillis)};t()}stopReconnect(){-1!==this.reconnectDelayInMillis&&(this.logger.info(`${(new Date).toISOString()} - Stopping reconnect loop.`),clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}onDeviceDisconnected(t,e){this.onDisconnected(t,e)}onDisconnected(t,e,i=!0){e&&-1!=e.indexOf(S.device_already_connected)||(this.stopHeartbeat(),this.reconnecting=!1,i&&this.initiateReconnect(),this.notifyObserversDisconnected(t,e))}onDeviceError(t){t.getCode()&&t.getCode()===f.remotepay.DeviceErrorEventCode.AccessDenied&&this.stopReconnect(),this.notifyObserversDeviceError(t)}getApplicationId(){return this.applicationId}handleRemoteMessagePING(){this.respondToDevicePing()}handleRemoteMessagePONG(){this.clearHeartbeartResponseTimer(),this.logger.debug("Received pong "+(new Date).toISOString())}get remoteMessageVersion(){return this._remoteMessageVersion}set remoteMessageVersion(t){t>this._remoteMessageVersion&&(this._remoteMessageVersion=t)}handleRemoteMessageCOMMAND(t){this.remoteMessageVersion="function"==typeof t.getVersion?t.getVersion():M.DEFAULT_REMOTE_MESSAGE_VERSION;let e=f.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{const i=this.messageParser.parseMessageFromRemoteMessageObj(t);switch(null==i&&this.logger.error("Error parsing message: "+JSON.stringify(t)),e){case f.remotemessage.Method.BREAK:break;case f.remotemessage.Method.CASHBACK_SELECTED:this.notifyObserversCashbackSelected(i);break;case f.remotemessage.Method.ACK:this.notifyObserverAck(i);break;case f.remotemessage.Method.DISCOVERY_RESPONSE:this.logger.debug("Got a Discovery Response"),this.notifyObserversReady(this.transport,i);break;case f.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE:this.notifyObserversConfirmPayment(i);break;case f.remotemessage.Method.FINISH_CANCEL:this.notifyObserversFinishCancel(i);break;case f.remotemessage.Method.FINISH_OK:this.notifyObserversFinishOk(i);break;case f.remotemessage.Method.KEY_PRESS:this.notifyObserversKeyPressed(i);break;case f.remotemessage.Method.ORDER_ACTION_RESPONSE:break;case f.remotemessage.Method.PARTIAL_AUTH:this.notifyObserversPartialAuth(i);break;case f.remotemessage.Method.VOID_PAYMENT_RESPONSE:this.notifyObserversPaymentVoided(i);break;case f.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE:this.notifyObserversPaymentRefundVoided(i);break;case f.remotemessage.Method.PAYMENT_VOIDED:break;case f.remotemessage.Method.TIP_ADDED:this.notifyObserversTipAdded(i);break;case f.remotemessage.Method.TX_START_RESPONSE:this.notifyObserverTxStart(i);break;case f.remotemessage.Method.TX_STATE:this.notifyObserversTxState(i);break;case f.remotemessage.Method.UI_STATE:this.notifyObserversUiState(i);break;case f.remotemessage.Method.VERIFY_SIGNATURE:this.notifyObserversVerifySignature(i);break;case f.remotemessage.Method.REFUND_RESPONSE:this.notifyObserversPaymentRefundResponse(i);break;case f.remotemessage.Method.REFUND_REQUEST:break;case f.remotemessage.Method.TIP_ADJUST_RESPONSE:this.notifyObserversTipAdjusted(i);break;case f.remotemessage.Method.VAULT_CARD_RESPONSE:this.notifyObserverVaultCardResponse(i);break;case f.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE:this.notifyObserversCapturePreAuth(i);break;case f.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE:this.notifyObserversIncrementPreAuth(i);break;case f.remotemessage.Method.CLOSEOUT_RESPONSE:this.notifyObserversCloseout(i);break;case f.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE:this.notifyObserversPendingPaymentsResponse(i);break;case f.remotemessage.Method.CARD_DATA_RESPONSE:this.notifyObserversReadCardData(i);break;case f.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY:this.notifyObserverActivityMessage(i);break;case f.remotemessage.Method.DISCOVERY_REQUEST:case f.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT:case f.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM:case f.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM:case f.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT:case f.remotemessage.Method.PRINT_IMAGE:case f.remotemessage.Method.PRINT_TEXT:break;case f.remotemessage.Method.PRINT_CREDIT:this.notifyObserversPrintCredit(i);break;case f.remotemessage.Method.PRINT_CREDIT_DECLINE:this.notifyObserversPrintCreditDecline(i);break;case f.remotemessage.Method.PRINT_PAYMENT:this.notifyObserversPrintPayment(i);break;case f.remotemessage.Method.PRINT_PAYMENT_DECLINE:this.notifyObserversPrintPaymentDecline(i);break;case f.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY:this.notifyObserversPrintMerchantCopy(i);break;case f.remotemessage.Method.REFUND_PRINT_PAYMENT:this.notifyObserversPrintPaymentRefund(i);break;case f.remotemessage.Method.ACTIVITY_RESPONSE:this.notifyObserversActivityResponse(i);break;case f.remotemessage.Method.REMOTE_ERROR:this.notifyObserversRemoteError(i);break;case f.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE:this.notifyObserversRetrieveDeviceStatusResponse(i);break;case f.remotemessage.Method.RESET_DEVICE_RESPONSE:this.notifyObserversResetDeviceResponse(i);break;case f.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE:this.notifyObserversRetrievePaymentResponse(i);break;case f.remotemessage.Method.GET_PRINTERS_RESPONSE:this.notifyObserversRetrievePrintersResponse(i);break;case f.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE:this.notifyObserversPrintJobStatusResponse(i);break;case f.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE:this.notifyObserversCustomerProvidedDataMessage(i);break;case f.remotemessage.Method.INVALID_STATE_TRANSITION:this.notifyObserversInvalidStateTransitionResponse(i);break;case f.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE:this.notifyObserverDisplayReceiptOptionsResponse(i);break;case f.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE:this.notifyObserverDisplayCollectedSignature(i);break;case f.remotemessage.Method.BALANCE_INQUIRY_RESPONSE:this.notifyObserverBalanceInquiryResponse(i);break;case f.remotemessage.Method.REQUEST_TIP_RESPONSE:this.notifyObserverTipResponse(i);break;case f.remotemessage.Method.SHOW_ORDER_SCREEN:case f.remotemessage.Method.SHOW_THANK_YOU_SCREEN:case f.remotemessage.Method.SHOW_WELCOME_SCREEN:case f.remotemessage.Method.SIGNATURE_VERIFIED:case f.remotemessage.Method.TERMINAL_MESSAGE:case f.remotemessage.Method.TX_START:case f.remotemessage.Method.VOID_PAYMENT:case f.remotemessage.Method.CAPTURE_PREAUTH:case f.remotemessage.Method.LAST_MSG_REQUEST:case f.remotemessage.Method.LAST_MSG_RESPONSE:case f.remotemessage.Method.TIP_ADJUST:case f.remotemessage.Method.OPEN_CASH_DRAWER:case f.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS:case f.remotemessage.Method.VAULT_CARD:case f.remotemessage.Method.CLOSEOUT_REQUEST:case f.remotemessage.Method.ACTIVITY_REQUEST:case f.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST:break;default:this.logger.error("COMMAND not supported with method: "+t.getMethod())}}}handleRemoteMessageQUERY(t){}handleRemoteMessageEVENT(t){}handleRemoteMessage(t){try{let e=t.getType();e==f.remotemessage.RemoteMessageType.PING?this.handleRemoteMessagePING():e==f.remotemessage.RemoteMessageType.PONG?this.handleRemoteMessagePONG():e==f.remotemessage.RemoteMessageType.COMMAND?this.handleRemoteMessageCOMMAND(t):e==f.remotemessage.RemoteMessageType.QUERY?this.handleRemoteMessageQUERY(t):e==f.remotemessage.RemoteMessageType.EVENT?this.handleRemoteMessageEVENT(t):this.logger.error(t.getType?t.getType():"Message type unavailable message: "+JSON.stringify(t))}catch(e){this.logger.error("Error processing message: "+t.getPayload(),e)}}onMessage(t){this.logger.debug(`DefaultCloverDevice, handling remote message receipt. Message: ${t}.`);try{if(-1===(e=t).indexOf("method")&&e.indexOf("forceConnect")>-1)return void this.logger.debug("onMessage: Received a legacy force connect message, dropping.");let i=this.messageParser.parseToRemoteMessage(t);this.handleRemoteMessage(i)}catch(t){this.logger.error(t)}var e}respondToDevicePing(){if(this.transport){let t=new f.remotemessage.RemoteMessage;t.setType(f.remotemessage.RemoteMessageType.PONG),t.setPackageName(this.packageName),t.setRemoteSourceSDK(M.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot respond to PING, the transport has been shutdown.")}sendPingToDevice(){if(this.transport){let t=new f.remotemessage.RemoteMessage;t.setType(f.remotemessage.RemoteMessageType.PING),t.setPackageName(this.packageName),t.setRemoteSourceSDK(M.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot send PING, the transport has been shutdown.")}notifyObserversConnected(t){this.deviceObservers.forEach((t=>{t.onDeviceConnected(this)}))}notifyObserversDisconnected(t,e){this.deviceObservers.forEach((t=>{t.onDeviceDisconnected(this,e)}))}notifyObserversDeviceError(t){this.deviceObservers.forEach((e=>{e.onDeviceError(t)}))}notifyObserversReady(t,e){e.getReady()&&(this.stopReconnect(),this.clearHeartbeartResponseTimer(),this.initiateHeartbeat()),this.deviceObservers.forEach((t=>{t.onDeviceReady(this,e)}))}notifyObserverAck(t){let e=this.msgIdToTask[t.getSourceMessageId()];e&&(delete this.msgIdToTask[t.getSourceMessageId()],e.call(null)),this.deviceObservers.forEach((e=>{e.onMessageAck(t.getSourceMessageId())}))}notifyObserverActivityMessage(t){this.deviceObservers.forEach((e=>{e.onMessageFromActivity(t.getAction(),t.getPayload())}))}notifyObserversActivityResponse(t){this.deviceObservers.forEach((e=>{let i=-1==t.getResultCode()?f.remotemessage.ResultStatus.SUCCESS:f.remotemessage.ResultStatus.CANCEL;e.onActivityResponse(i,t.getPayload(),t.getFailReason(),t.getAction())}))}notifyObserversReadCardData(t){this.deviceObservers.forEach((e=>{e.onReadCardResponse(t.getStatus(),t.getReason(),t.getCardData())}))}notifyObserversRetrieveDeviceStatusResponse(t){this.deviceObservers.forEach((e=>{e.onDeviceStatusResponse(t)}))}notifyObserversRetrievePaymentResponse(t){this.deviceObservers.forEach((e=>{e.onRetrievePaymentResponse(t)}))}notifyObserversRetrievePrintersResponse(t){this.deviceObservers.forEach((e=>{e.onRetrievePrintersResponse(f.remotepay.ResponseCode.SUCCESS,t.getPrinters())}))}notifyObserversPrintJobStatusResponse(t){this.deviceObservers.forEach((e=>{e.onPrintJobStatusResponse(f.remotepay.ResponseCode.SUCCESS,t.getExternalPrintJobId(),t.getStatus())}))}notifyObserversCustomerProvidedDataMessage(t){this.deviceObservers.forEach((e=>{e.onCustomerProvidedDataMessage(f.remotepay.ResponseCode.SUCCESS,t.getEventId(),t.getConfig(),t.getData())}))}notifyObserversPrintCredit(t){this.deviceObservers.forEach((e=>{e.onPrintCredit(t.getCredit())}))}notifyObserversPrintCreditDecline(t){this.deviceObservers.forEach((e=>{e.onPrintCreditDecline(t.getCredit(),t.getReason())}))}notifyObserversPrintPayment(t){this.deviceObservers.forEach((e=>{e.onPrintPayment(t.getPayment(),t.getOrder())}))}notifyObserversPrintPaymentDecline(t){this.deviceObservers.forEach((e=>{e.onPrintPaymentDecline(t.getPayment(),t.getReason())}))}notifyObserversPrintMerchantCopy(t){this.deviceObservers.forEach((e=>{e.onPrintMerchantReceipt(t.getPayment())}))}notifyObserversPrintPaymentRefund(t){this.deviceObservers.forEach((e=>{e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))}notifyObserversResetDeviceResponse(t){this.deviceObservers.forEach((e=>{e.onResetDeviceResponse(f.remotepay.ResponseCode.SUCCESS,t.getReason(),t.getState())}))}notifyObserversRemoteError(t){this.deviceObservers.forEach((e=>{let i=new f.remotepay.CloverDeviceErrorEvent;i.setCode(f.remotepay.DeviceErrorEventCode.UnknownError),i.setMessage(JSON.stringify(t)),i.setType(f.remotepay.ErrorType.EXCEPTION),e.onDeviceError(i)}))}notifyObserversPaymentRefundResponse(t){this.deviceObservers.forEach((e=>{e.onPaymentRefundResponse(t)}))}notifyObserversPrintMessage(t){this.deviceObservers.forEach((e=>{e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))}notifyObserversKeyPressed(t){this.deviceObservers.forEach((e=>{e.onKeyPressed(t.getKeyPress())}))}notifyObserversCashbackSelected(t){this.deviceObservers.forEach((e=>{e.onCashbackSelected(t.getCashbackAmount())}))}notifyObserversTipAdded(t){this.deviceObservers.forEach((e=>{e.onTipAdded(t.getTipAmount())}))}notifyObserverTxStart(t){this.deviceObservers.forEach((e=>{e.onTxStartResponse(t)}))}notifyObserversTipAdjusted(t){this.deviceObservers.forEach((e=>{e.onAuthTipAdjusted(t)}))}notifyObserversPartialAuth(t){this.deviceObservers.forEach((e=>{e.onPartialAuth(t.getPartialAuthAmount())}))}notifyObserversPaymentVoided(t){this.deviceObservers.forEach((e=>{e.onPaymentVoided(t)}))}notifyObserversPaymentRefundVoided(t){this.deviceObservers.forEach((e=>{e.onPaymentRefundVoidResponse(t)}))}notifyObserversVerifySignature(t){this.deviceObservers.forEach((e=>{e.onVerifySignature(t.getPayment(),t.getSignature())}))}notifyObserversConfirmPayment(t){this.deviceObservers.forEach((e=>{e.onConfirmPayment(t.getPayment(),t.getChallenges())}))}notifyObserverVaultCardResponse(t){this.deviceObservers.forEach((e=>{e.onVaultCardResponse(t)}))}notifyObserversUiState(t){this.deviceObservers.forEach((e=>{e.onUiState(t.getUiState(),t.getUiText(),t.getUiDirection(),t.getInputOptions())}))}notifyObserversCapturePreAuth(t){this.deviceObservers.forEach((e=>{e.onCapturePreAuth(t)}))}notifyObserversIncrementPreAuth(t){this.deviceObservers.forEach((e=>{e.onIncrementPreAuthResponse(t)}))}notifyObserversCloseout(t){this.deviceObservers.forEach((e=>{e.onCloseoutResponse(t.getStatus(),t.getReason(),t.getBatch())}))}notifyObserversPendingPaymentsResponse(t){this.deviceObservers.forEach((e=>{e.onPendingPaymentsResponse(t.getStatus()==f.remotemessage.ResultStatus.SUCCESS,t.getPendingPaymentEntries())}))}notifyObserversTxState(t){this.deviceObservers.forEach((e=>{e.onTxState(t.getTxState())}))}notifyObserversFinishCancel(t){this.deviceObservers.forEach((e=>{e.onFinishCancel(t.getRequestInfo())}))}notifyObserversFinishOk(t){this.deviceObservers.forEach((e=>{t.getPayment()?e.onFinishOk(t.getPayment(),t.getSignature(),t.getRequestInfo()):t.getCredit()?e.onFinishOk(t.getCredit()):t.getRefund()&&e.onFinishOk(t.getRefund())}))}notifyObserverDisplayCollectedSignature(t){this.deviceObservers.forEach((e=>{e.onSignatureCollected(t)}))}notifyObserverBalanceInquiryResponse(t){this.deviceObservers.forEach((e=>{e.onBalanceInquiryResponse(t)}))}notifyObserverTipResponse(t){this.deviceObservers.forEach((e=>{e.onRequestTipResponse(t)}))}notifyObserversInvalidStateTransitionResponse(t){this.deviceObservers.forEach((e=>{e.onInvalidStateTransitionResponse(f.remotemessage.ResultStatus.CANCEL,t.getReason(),t.getRequestedTransition(),t.getState(),t.getData())}))}notifyObserverDisplayReceiptOptionsResponse(t){this.deviceObservers.forEach((e=>{e.onDisplayReceiptOptionsResponse(t.getStatus(),t.getReason())}))}doShowPaymentReceiptScreen(t,e){const i=new f.remotemessage.ShowPaymentReceiptOptionsMessage;i.setOrderId(t),i.setPaymentId(e),i.setVersion(2),this.sendObjectMessage(i)}doShowReceiptScreen(t,e,i,n,o){const s=new f.remotemessage.ShowReceiptOptionsMessage;s.setOrderId(t),s.setPaymentId(e),s.setRefundId(i),s.setCreditId(n),s.setDisableCloverPrinting(o),this.sendObjectMessage(s)}doKeyPress(t){let e=new f.remotemessage.KeyPressMessage;e.setKeyPress(t),this.sendObjectMessage(e)}doShowThankYouScreen(){const t=new f.remotemessage.ThankYouMessage;this.sendObjectMessage(t)}doShowWelcomeScreen(){const t=new f.remotemessage.WelcomeMessage;this.sendObjectMessage(t)}doSignatureVerified(t,e){const i=new f.remotemessage.SignatureVerifiedMessage;i.setPayment(t),i.setVerified(e),this.sendObjectMessage(i)}doRetrievePendingPayments(){const t=new f.remotemessage.RetrievePendingPaymentsMessage;this.sendObjectMessage(t)}doTerminalMessage(t){const e=new f.remotemessage.TerminalMessage;e.setText(t),this.sendObjectMessage(e)}doSendDebugLog(t){const e=new f.remotemessage.CloverDeviceLogMessage;e.setMessage(t),this.sendObjectMessage(e)}doOpenCashDrawer(t,e){const i=new f.remotemessage.OpenCashDrawerMessage;if(i.setReason(t),e){let t=new f.printer.Printer;t.setId(e),i.setPrinter(t)}this.sendObjectMessage(i)}doCloseout(t,e){const i=new f.remotemessage.CloseoutRequestMessage;i.setAllowOpenTabs(t),i.setBatchId(e),this.sendObjectMessage(i)}doTxStart(t,e,i){const n=new f.remotemessage.TxStartRequestMessage;n.setPayIntent(t),n.setOrder(e),n.setRequestInfo(i),n.setVersion(2),this.sendObjectMessage(n)}doTipAdjustAuth(t,e,i){const n=new f.remotemessage.TipAdjustMessage;n.setOrderId(t),n.setPaymentId(e),n.setTipAmount(i),this.sendObjectMessage(n)}doReadCardData(t){const e=new f.remotemessage.CardDataRequestMessage;e.setPayIntent(t),this.sendObjectMessage(e)}doSendMessageToActivity(t,e){const i=new f.remotemessage.ActivityMessageToActivity;i.setAction(t),i.setPayload(e),this.sendObjectMessage(i)}doPrintText(t,e,i){const n=new f.remotemessage.TextPrintMessage;if(n.setTextLines(t),e&&n.setExternalPrintJobId(e),i){let t=new f.printer.Printer;t.setId(i),n.setPrinter(t)}this.sendObjectMessage(n)}doPrintImageObject(t,e,i){const n=new f.remotemessage.ImagePrintMessage;this.imageUtil.getBase64Image(t,(t=>{if(n.setPng(t),e&&n.setExternalPrintJobId(e),i){let t=new f.printer.Printer;t.setId(i),n.setPrinter(t)}if(this.isFragmentationSupported()){let t=n.getPng();n.setPng(null),this.sendObjectMessage(n,t,M.BASE64)}else this.sendObjectMessage(n)}))}doPrintImageUrl(t,e,i){this.imageUtil.loadImageFromURL(t,(t=>{this.doPrintImageObject(t,e,i)}),(t=>{let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.UnknownError),e.setMessage(t),e.setType(f.remotepay.ErrorType.EXCEPTION),this.notifyObserversDeviceError(e)}))}doStartActivity(t,e,i){const n=new f.remotemessage.ActivityRequest;n.setAction(t),n.setPayload(e),n.setNonBlocking(i),n.setForceLaunch(!1),this.sendObjectMessage(n)}doVoidPayment(t,e,i,n){const o=new f.remotemessage.VoidPaymentMessage;o.setPayment(t),o.setVoidReason(e),o.setDisableCloverPrinting(i),o.setDisableReceiptSelection(n),this.getSupportsVoidPaymentResponse()&&o.setVersion(3);const s=this.buildRemoteMessageToSend(o),r=s.getId();if(this.getSupportsVoidPaymentResponse())this.sendRemoteMessage(s);else{const i=new P;i.setPayment(t),i.setVoidReason(e),i.setStatus(f.remotemessage.ResultStatus.SUCCESS),this.getSupportsAck()?(this.addTaskForAck(r,(()=>{this.notifyObserversPaymentVoided(i)})),this.sendRemoteMessage(s)):(this.sendRemoteMessage(s),this.notifyObserversPaymentVoided(i))}}addTaskForAck(t,e){this.msgIdToTask[t]=e}doPaymentRefund(t,e,i,n,o,s){const r=new f.remotemessage.RefundRequestMessage;r.setOrderId(t),r.setPaymentId(e),r.setAmount(i),r.setFullRefund(n),r.setDisableCloverPrinting(o),r.setDisableReceiptSelection(s),r.setVersion(2),this.sendObjectMessage(r)}doVoidPaymentRefund(t,e,i,n){const o=new f.remotemessage.VoidPaymentRefundMessage;o.setOrderId(t),o.setRefundId(e),o.setDisableCloverPrinting(i),o.setDisableReceiptSelection(n),o.setVersion(2),this.sendObjectMessage(o)}doPaymentRefundByRequest(t){const e=new f.remotemessage.RefundRequestMessage;e.setOrderId(t.getOrderId()),e.setPaymentId(t.getPaymentId()),e.setAmount(t.getAmount()),e.setFullRefund(t.getFullRefund()),e.setDisableCloverPrinting(t.getDisablePrinting()),e.setDisableReceiptSelection(t.getDisableReceiptSelection()),e.setVersion(2),this.sendObjectMessage(e)}doVaultCard(t){const e=new f.remotemessage.VaultCardMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)}doCaptureAuth(t,e,i){const n=new f.remotemessage.CapturePreAuthMessage;n.setVersion(1),n.setPaymentId(t),n.setAmount(e),n.setTipAmount(i),this.sendObjectMessage(n)}doIncrementPreAuth(t,e){const i=new f.remotemessage.IncrementPreAuthMessage;i.setVersion(1),i.setPaymentId(t),i.setAmount(e),this.sendObjectMessage(i)}doAcceptPayment(t){const e=new f.remotemessage.PaymentConfirmedMessage;e.setPayment(t),this.sendObjectMessage(e)}doRejectPayment(t,e){const i=new f.remotemessage.PaymentRejectedMessage;i.setPayment(t),i.setReason(e.getReason()),this.sendObjectMessage(i)}doDiscoveryRequest(){const t=new f.remotemessage.DiscoveryRequestMessage;t.setSupportsOrderModification(!1),this.sendObjectMessage(t)}doOrderUpdate(t,e){const i=new f.remotemessage.OrderUpdateMessage;i.setOrder(t),e&&(e instanceof f.order.operation.DiscountsAddedOperation?i.setDiscountsAddedOperation(e):e instanceof f.order.operation.DiscountsDeletedOperation?i.setDiscountsDeletedOperation(e):e instanceof f.order.operation.LineItemsAddedOperation?i.setLineItemsAddedOperation(e):e instanceof f.order.operation.LineItemsDeletedOperation?i.setLineItemsDeletedOperation(e):e instanceof f.order.operation.OrderDeletedOperation&&i.setOrderDeletedOperation(e)),this.sendObjectMessage(i)}doResetDevice(){const t=new f.remotemessage.BreakMessage;this.sendObjectMessage(t)}doRetrieveDeviceStatus(t){const e=new f.remotemessage.RetrieveDeviceStatusRequestMessage;e.setSendLastMessage(t.getSendLastMessage()),this.sendObjectMessage(e)}doRetrievePayment(t){const e=new f.remotemessage.RetrievePaymentRequestMessage;e.setExternalPaymentId(t),this.sendObjectMessage(e)}doRetrievePrinters(t){const e=new f.remotemessage.GetPrintersRequestMessage;t&&e.setCategory(t),this.sendObjectMessage(e)}doRetrievePrintJobStatus(t){const e=new f.remotemessage.PrintJobStatusRequestMessage;e.setExternalPrintJobId(t),this.sendObjectMessage(e)}doRegisterForCustomerProvidedData(t){const e=new f.remotemessage.RegisterForCustomerProvidedDataMessage;e.setConfigurations(t),this.sendObjectMessage(e)}doSetCustomerInfo(t){const e=new f.remotemessage.CustomerInfoMessage;e.setCustomer(t),this.sendObjectMessage(e)}doCheckBalance(t){const e=new f.remotemessage.BalanceInquiryRequestMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)}doCollectSignature(t){const e=new f.remotemessage.SignatureRequestMessage;e.setAcknowledgementMessage(t),this.sendObjectMessage(e)}doRequestTip(t,e){const i=new f.remotemessage.RequestTipRequestMessage;i.setTipSuggestions(e),i.setTippableAmount(t),this.sendObjectMessage(i)}dispose(){this.deviceObservers.splice(0,this.deviceObservers.length),this.transport&&(this.transport.dispose(),this.transport=null),this.stopReconnect(),this.stopHeartbeat()}sendObjectMessage(t,e,i){return this.buildRemoteMessages(t,e,i)}buildBaseRemoteMessage(t){if(null==t)return this.logger.debug("Message is null"),null;if(null==t.getMethod())return this.logger.error("Invalid Message",new Error("Invalid Message: "+t.toString())),null;if(null==this.applicationId)throw this.logger.error("Invalid ApplicationID: "+this.applicationId),new Error("Invalid applicationId");const e=++M.id+"";t.setMessageId(e);const i=new f.remotemessage.RemoteMessage;return i.setId(e),i.setType(f.remotemessage.RemoteMessageType.COMMAND),i.setPackageName(this.packageName),i.setMethod(t.getMethod()),i.setVersion(this.remoteMessageVersion),i.setRemoteSourceSDK(M.REMOTE_SDK),i.setRemoteApplicationID(this.applicationId),i}addSuppressElementsWrapper(t){for(const e in t)if(t.hasOwnProperty(e)&&t[e]){const i=t?t.getMetaInfo(e):null;i&&i.type==Array&&(t[e].suppressElementsWrapper=!0)}return t}buildRemoteMessageToSend(t){const e=this.buildBaseRemoteMessage(t);return t=this.addSuppressElementsWrapper(t),e.setPayload(JSON.stringify(t,M.stringifyClover)),e}buildRemoteMessages(t,e,i){const n=this.buildBaseRemoteMessage(t);t=this.addSuppressElementsWrapper(t),i&&n.setAttachmentEncoding(i);let o=JSON.stringify(t,M.stringifyClover);if(this.isFragmentationSupported())if((o?o.length:0)>this.maxMessageSizeInChars||e){if(e&&e.length>v.MAX_PAYLOAD_SIZE)return this.logger.error("Error sending message - payload size is greater than the maximum allowed."),null;let t=0;for(;o.length>0;)n.setLastFragment(!1),o.length<=this.maxMessageSizeInChars?(n.setPayload(o),o="",n.setLastFragment(null==e)):(n.setPayload(o.substr(0,this.maxMessageSizeInChars)),o=o.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(t++),this.sendRemoteMessage(n);if(n.setPayload(null),e)if(i==M.BASE64)for(n.setAttachmentEncoding(M.BASE64_ATTACHMENT);e.length>0;)n.setLastFragment(!1),e.length<=this.maxMessageSizeInChars?(n.setAttachment(e),e="",n.setLastFragment(!0)):(n.setAttachment(e.substr(0,this.maxMessageSizeInChars)),e=e.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(t++),this.sendRemoteMessage(n);else this.logger.error("Attachment on message, but no encoding specified. No idea how to send it.")}else o.length>this.maxMessageSizeInChars&&this.logger.warn("The message payload is larger than the maxMessageSizeInChars but fragmentation is not supported by the apps installed on the device. This may result in a payload that is too large to handle and a silent failure."),n.setPayload(o),e&&n.setAttachment(e),this.sendRemoteMessage(n);else n.setPayload(o),this.sendRemoteMessage(n);return n.getId()}static stringifyClover(t,e){return Array.isArray(e)&&!e.hasOwnProperty("suppressElementsWrapper")&&"elements"!=t?{elements:e}:e}sendRemoteMessage(t){const e=JSON.stringify(t);this.transport?(this.logger.debug(`Sending: ${e}`),this.transport.sendMessage(e)):this.logger.error(`Cannot send message, transport is null: ${e}`)}isFragmentationSupported(){return this.remoteMessageVersion>1}}M.DEFAULT_REMOTE_MESSAGE_VERSION=1,M.REMOTE_SDK=E.CLOVER_CLOUD_SDK+":"+E.CLOVER_CLOUD_SDK_VERSION,M.BASE64="BASE64",M.BASE64_ATTACHMENT=M.BASE64+".ATTACHMENT",M.id=0,M.INITIAL_HEARTBEAT_DELAY=15e3;class D{constructor(t,e,i,n,o,s){this.logger=p.create(),this.maxCharInMessage=5e4,this.imageUtil=i,this.appId=t,this.webSocketImplClass=e,this.setHeartbeatInterval(n),this.setReconnectDelay(o),this.setHeartbeatDisconnectTimeout(s)}getApplicationId(){return this.appId}getHeartbeatDisconnectTimeout(){return Math.max(D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT,this.heartbeatDisconnectTimeout)}setHeartbeatDisconnectTimeout(t){this.heartbeatDisconnectTimeout=t||D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT}getHeartbeatInterval(){return-1===this.heartbeatInterval?this.heartbeatInterval:Math.max(D.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL,this.heartbeatInterval)}setHeartbeatInterval(t){this.heartbeatInterval=t||D.DEFAULT_HEARTBEAT_INTERVAL}getReconnectDelay(){return-1===this.reconnectDelay?this.reconnectDelay:Math.max(D.DEFAULT_RECONNECT_DELAY,this.reconnectDelay)}setReconnectDelay(t){this.reconnectDelay=t||D.DEFAULT_RECONNECT_DELAY}getCloverDeviceType(){return M}getName(){return"Clover WebSocket Connector"}getImageUtil(){return this.imageUtil}getMaxMessageCharacters(){return this.maxCharInMessage}}D.DEFAULT_RECONNECT_DELAY=3e3,D.DEFAULT_HEARTBEAT_INTERVAL=-1,D.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL=2500,D.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT=3e3,function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSING=2]="CLOSING",t[t.CLOSED=3]="CLOSED"}(I||(I={}));class b{constructor(t,e,i){this.logger=p.create(),this.listener=e,this.endpoint=t,this.webSocketImplClass=i}getWebSocketState(){return this.socket?this.socket.getReadyState():null}getBufferedAmount(){return this.socket?this.socket.getBufferedAmount():0}connect(t){if(null!=this.socket)throw new Error("Socket already created. Must create a new CloverWebSocketClient");try{this.socket=this.webSocketImplClass(this.endpoint),this.socket.addListener(this),this.socket.connect(t)}catch(t){this.logger.error("connect, connectionError",t),this.listener.connectionError(this,t.message)}}close(t,e){this.socket.sendClose(t,e)}isConnecting(){return this.socket.getState()==I.CONNECTING}isOpen(){return this.socket.isOpen()}isClosing(){return this.socket.getState()==I.CLOSING}isClosed(){return this.socket.getState()==I.CLOSED}onTextMessage(t,e){this.listener.onMessage(this,e)}onConnected(t){this.listener.onOpen(this)}onConnectError(t,e){let i=`A websocket connection error has occurred. Details: ${e.message||"Not available"}`;this.logger.error(i),this.listener.connectionError(this,i)}onDisconnected(t){this.listener.onClose(this,1e3,"",!1)}onCloseFrame(t,e,i){this.listener.onClose(this,e,i,!0)}onError(t){this.logger.error("A websocket error has occurred.")}onPingFrame(t){this.socket.sendPong()}onSendError(t){this.listener.onSendError("")}onUnexpectedError(t){this.logger.error("An unexpected websocket error has occurred.")}send(t){this.socket.sendText(t)}clearListener(){this.socket.removeListener(this)}setNotifyClose(t){this.notifyClose=t}shouldNotifyClose(){return this.notifyClose}}class x extends class{constructor(){this.observers=[],this.ready=!1}notifyDeviceConnected(){this.notifyConnected()}notifyConnected(){this.observers.forEach((t=>{t.onConnected(this)}))}notifyDeviceReady(){this.notifyReady()}notifyReady(){this.ready=!0,this.observers.forEach((t=>{t.onReady(this)}))}notifyDeviceDisconnected(){this.notifyDisconnected()}notifyDisconnected(){this.ready=!1,this.observers.forEach((t=>{t.onDisconnected(this)}))}notifyConnectionAttemptComplete(){this.observers.forEach((t=>{t.onConnectionAttemptComplete(this)}))}onMessage(t){this.observers.forEach((e=>{e.onMessage(t)}))}subscribe(t){this.ready&&this.observers.forEach((t=>{t.onReady(this)})),this.observers.push(t)}unsubscribe(t){var e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)}clearListeners(){this.observers.splice(0,this.observers.length)}setObjectMessageSender(t){this.objectMessageSender=t}}{constructor(t,e){super(),this.logger=p.create(),this.reconnectDelay=3e3,this.messageQueue=new Array,this.status="Disconnected",this.shutdown=!1,this.reconnectDelay=Math.max(0,t),this.webSocketImplClass=e,this.messageParser=T.getDefaultInstance();const i=setInterval((()=>{this.shutdown?clearInterval(i):this.sendMessageThread()}),100)}reset(){try{this.cloverWebSocketClient.close(x.CloverWebSocketCloseCode.RESET_CLOSE_CODE.code,x.CloverWebSocketCloseCode.RESET_CLOSE_CODE.reason)}catch(t){this.logger.error("error resetting transport.",t)}}sendMessageThread(){if(this.messageQueue.length>0)if(null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.isOpen()){let t=this.messageQueue.shift();try{this.cloverWebSocketClient.getBufferedAmount()>0?this.messageQueue.unshift(t):this.cloverWebSocketClient.send(t)}catch(e){this.messageQueue.unshift(t)}}else this.logger.debug("Cannot send queued messages, the websocket client is null or closed.")}sendMessage(t){return this.shutdown?this.logger.debug("In process of shutting down, ignoring "+t):this.messageQueue.push(t),-1}clearWebsocket(){null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient=null}initializeWithUri(t,e){if(null!=this.cloverWebSocketClient){if(this.cloverWebSocketClient.isOpen()||this.cloverWebSocketClient.isConnecting())return;this.clearWebsocket()}this.cloverWebSocketClient=new b(t,this,this.webSocketImplClass),this.cloverWebSocketClient.connect(e),this.logger.info("Connection attempt complete."),this.notifyConnectionAttemptComplete()}dispose(){this.shutdown=!0,this.drainQueue(),this.notifyDisconnected(),this.cloverWebSocketClient&&this.cloverWebSocketClient.close(),this.clearWebsocket()}drainQueue(){for(;this.messageQueue.length>0;){if(null==this.cloverWebSocketClient||!this.cloverWebSocketClient.isOpen()){this.logger.debug("In process of shutting down, the websocket became disconnected. The messages unsent are "+this.messageQueue);break}{let t=this.messageQueue.shift();try{this.cloverWebSocketClient.send(t)}catch(t){this.logger.debug("In process of shutting down, an error occurred trying to drain the message queue. The messages unsent are "+this.messageQueue);break}}}}connectionError(t,e,i,n=!0){if(this.logger.debug("Connection error..."),this.cloverWebSocketClient==t)for(let t of this.observers){t.onDisconnected(this,e,n);let o=new f.remotepay.CloverDeviceErrorEvent;o.setType(f.remotepay.ErrorType.COMMUNICATION),o.setCode(i||f.remotepay.DeviceErrorEventCode.NotConnected),o.setCause(null),o.setMessage(e),t.onDeviceError(o)}}onNotResponding(t){if(this.logger.debug("Not Responding..."),this.cloverWebSocketClient==t)for(let t of this.observers)this.logger.debug("onNotResponding"),t.onDisconnected(this)}onPingResponding(t){if(this.logger.debug("Ping Responding"),this.cloverWebSocketClient==t)for(let t of this.observers)this.logger.debug("onPingResponding"),t.onReady(this)}onOpen(t){this.logger.debug("Open..."),this.cloverWebSocketClient==t&&this.notifyConnected()}onClose(t,e,i,n){if(this.logger.debug("onClose: "+i+", remote? "+n),this.cloverWebSocketClient==t){this.cloverWebSocketClient.isClosing()||(this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient.isClosed()||this.cloverWebSocketClient.close()),this.clearWebsocket();for(let t of this.observers)this.logger.debug("onClose"),t.onDisconnected(this)}}onMessage(t,e){"string"==typeof t?super.onMessage(t):this.onMessage_cwscl(t,e)}isShutdown(){return this.shutdown}getSafeMessageQueue(){return this.messageQueue.slice()}onMessage_cwscl(t,e){if(this.cloverWebSocketClient==t)for(let t of this.observers)t.onMessage(e)}onSendError(t){this.logger.error("WebSocketCloverTransport: An error occurred sending a message.")}}x.METHOD="method",x.PAYLOAD="payload",function(t){class e{constructor(t,e){this.code=t,this.reason=e}}e.RESET_CLOSE_CODE=new e(4e3,"Reset requested"),t.CloverWebSocketCloseCode=e}(x||(x={}));class L extends x{constructor(t,e,i,n,o,s){super(e,s),this.isPairing=!0,this.endpoint=t,this.posName=i,this.serialNumber=n,this.authToken=o,this.initialize()}initialize(){this.initializeWithUri(this.endpoint)}onOpen(t){this.cloverWebSocketClient==t&&(super.onOpen(t),this.sendPairRequest())}sendPairRequest(){this.isPairing=!0;let t=new f.remotemessage.PairingRequestMessage;t.setName(this.posName),t.setSerialNumber(this.serialNumber),t.setApplicationName(this.posName),t.setAuthenticationToken(this.authToken),this.objectMessageSender.sendObjectMessage(t)}onMessage_cwscl(t,e){if(this.cloverWebSocketClient==t)if(this.isPairing){let t=this.messageParser.parseToRemoteMessage(e);var i=this.messageParser.parseMessageFromRemoteMessageObj(t);if(i)if(f.remotemessage.Method.PAIRING_CODE==i.getMethod()){this.logger.debug("Got PAIRING_CODE");var n=i.getPairingCode();this.pairingDeviceConfiguration.onPairingCode(n)}else if(f.remotemessage.Method.PAIRING_RESPONSE==i.getMethod()){this.logger.debug("Got PAIRING_RESPONSE");var o=i;if(f.remotemessage.PairingState.PAIRED==o.getPairingState()||f.remotemessage.PairingState.INITIAL==o.getPairingState()){this.logger.debug("Got PAIRED pair response"),this.isPairing=!1,this.authToken=o.getAuthenticationToken();try{this.pairingDeviceConfiguration.onPairingSuccess(this.authToken)}catch(t){this.logger.debug("Error:"+t)}this.notifyReady()}else f.remotemessage.PairingState.FAILED==o.getPairingState()&&(this.logger.debug("Got FAILED pair response"),this.isPairing=!0,this.sendPairRequest())}else f.remotemessage.Method.ACK==i.getMethod()&&f.remotemessage.Method.UI_STATE==i.getMethod()||this.logger.debug("Unexpected method: '"+i.getMethod()+"' while in pairing mode.");else this.logger.warn("Unrecognized message",e)}else super.onMessage_cwscl(t,e)}setPairingDeviceConfiguration(t){this.pairingDeviceConfiguration=t}}class k{getBase64Image(t,e){const i=document.createElement("canvas");i.width=t.naturalWidth,i.height=t.naturalHeight,i.getContext("2d").drawImage(t,0,0),e(i.toDataURL("image/png").replace(/^data:image\/(png|jpg);base64,/,""))}loadImageFromURL(t,e,i){const n=new Image,o=()=>{e&&e(n),r()},s=()=>{i&&i(`An Image could not be loaded. Please check that the URL (${t}) is accessible.`),r()},r=()=>{n.removeEventListener("load",o),n.removeEventListener("error",s)};n.addEventListener("load",o),n.addEventListener("error",s),n.crossOrigin="Anonymous",n.src=t}}class U extends class{constructor(t){this.logger=p.create(),this.endpoint=t,this.listeners=new Array}connect(t){return this.webSocket=this.createWebSocket(this.endpoint,t),"function"!=typeof this.webSocket.addEventListener?this.logger.error("FATAL: The websocket implementation being used must have an 'addEventListener' function. Either use a supported websocket implementation (https://www.npmjs.com/package/ws) or override the connect method on CloverWebSocketInterface."):(this.webSocket.addEventListener("open",(t=>this.notifyOnOpen(t))),this.webSocket.addEventListener("message",(t=>this.notifyOnMessage(t))),this.webSocket.addEventListener("close",(t=>this.notifyOnClose(t))),this.webSocket.addEventListener("error",(t=>this.notifyOnError(t)))),this}notifyOnOpen(t){this.listeners.forEach((t=>{try{t.onConnected(this)}catch(t){this.logger.error(t)}}))}notifyOnMessage(t){this.listeners.forEach((e=>{try{e.onTextMessage(this,t.data)}catch(t){this.logger.error(t)}}))}notifyOnError(t){this.listeners.forEach((e=>{try{this.getReadyState()==I.CONNECTING?e.onConnectError(this,t):this.getReadyState()==I.CLOSING?e.onUnexpectedError(this,t):this.getReadyState()==I.CLOSED?e.onDisconnected(this,t):this.getReadyState()==I.OPEN&&e.onSendError(this,t)}catch(t){this.logger.error(t)}}))}notifyOnClose(t){this.listeners.forEach((e=>{try{e.onCloseFrame(this,t.code,t.reason)}catch(t){this.logger.error(t)}}))}sendClose(t,e){this.logger.debug("Close sent code ",t," reason ",e);try{this.webSocket.close(t||1e3,e||"NORMAL_CLOSURE")}catch(t){this.logger.error("error disposing of transport.",t)}return this}sendText(t){return this.webSocket.send(t),this}getState(){return this.getReadyState()}isOpen(){return this.getReadyState()==I.OPEN}addListener(t){this.listeners.push(t)}removeListener(t){var e=this.listeners.indexOf(t);return-1!==e&&(this.listeners.splice(e,1),!0)}getListeners(){return this.listeners.slice()}getUrl(){return this.webSocket.url}getReadyState(){return this.webSocket.readyState}getBufferedAmount(){return this.webSocket.hasOwnProperty("bufferedAmount")?this.webSocket.bufferedAmount:0}getProtocol(){return this.webSocket.protocol}}{constructor(t){super(t)}createWebSocket(t,e){return new WebSocket(t,e)}sendPong(){return this}sendPing(){return this}static createInstance(t){return new U(t)}}class w extends D{constructor(t,e,i,n,o,s,r,a,l,d,u,p){super(e,a,l,d,u),this.uri=null,this.uri=t,this.posName=i,this.serialNumber=n,this.authToken=o,this.webSocketImplClass=a,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}getMessagePackageName(){return"com.clover.remote_protocol_broadcast.app"}getName(){return"Clover Secure WebSocket Connector"}getCloverTransport(){let t=new L(this.uri,this.getReconnectDelay(),this.posName,this.serialNumber,this.authToken,this.webSocketImplClass);return t.setPairingDeviceConfiguration(this),t}setAuthToken(t){this.authToken=t}onPairingCode(t){this.onPairingCodeHandler(t)}onPairingSuccess(t){this.onPairingSuccessHandler(t)}}class V{constructor(t,e,i,n,o,s,r){this.uri=null,this.applicationId=t,this.uri=e,this.posName=i,this.serialNumber=n,this.authToken=o,this.imageUtil=new k,this.webSocketFactoryFunction=U.createInstance,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}getApplicationId(){return this.applicationId}getUri(){return this.uri}getSerialNumber(){return this.serialNumber}getAuthToken(){return this.authToken}getWebSocketFactoryFunction(){return this.webSocketFactoryFunction}setWebSocketFactoryFunction(t){return this.webSocketFactoryFunction=t,this}getImageUtil(){return this.imageUtil}setImageUtil(t){return this.imageUtil=t,this}getPosName(){return this.posName}setPosName(t){return this.posName=t,this}getHeartbeatInterval(){return this.heartbeatInterval}setHeartbeatInterval(t){return this.heartbeatInterval=t,this}getHeartbeatDisconnectTimeout(){return this.heartbeatDisconnectTimeout}setHeartbeatDisconnectTimeout(t){return this.heartbeatDisconnectTimeout=t,this}getReconnectDelay(){return this.reconnectDelay}setReconnectDelay(t){return this.reconnectDelay=t,this}build(){return new w(this.uri,this.applicationId,this.posName,this.serialNumber,this.authToken,this.onPairingCodeHandler,this.onPairingSuccessHandler,this.webSocketFactoryFunction,this.imageUtil,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)}}class F{static getOAuthURL(t,e,i,n){var o={};o[F.DOMAIN_KEY]=t,o[F.OAUTH_CLIENT_ID_KEY]=e;let s=F.DOMAIN_PATH+F.OAUTH_PATH+F.OAUTH_CLIENT_ID_SUFFIX;return i&&(o[F.OAUTH_MERCHANT_ID_KEY]=i,s+=F.OAUTH_MERCHANT_ID_SUFFIX),n&&(o[F.OAUTH_REDIRECT_URI_KEY]=encodeURIComponent(n),s+=F.OAUTH_REDIRECT_URI_SUFFIX),F.setVariables(s,o)}static getDeviceWebSocketEndpoint(t,e,i,n){const o={};o[F.WEBSOCKET_TOKEN_KEY]=t.token,o[F.DOMAIN_KEY]=t.host,o[F.WEBSOCKET_FRIENDLY_ID_KEY]=encodeURIComponent(e),o[F.WEBSOCKET_FORCE_CONNECT_KEY]=i;let s=F.DOMAIN_PATH+F.WEBSOCKET_PATH+F.WEBSOCKET_TOKEN_SUFFIX+F.WEBSOCKET_FRIENDLY_ID_SUFFIX+F.WEBSOCKET_FORCE_CONNECT_SUFFIX;return t.serverIdentifier&&(s+="&"+F.CLOUD_SERVER_IDENTIFIER_KEY+"="+t.serverIdentifier),F.setVariables(s,o)}static getMerchantEndpoint(t,e){var i={};i[F.MERCHANT_V3_KEY]=e,i[F.DOMAIN_KEY]=t;let n=F.DOMAIN_PATH+F.MERCHANT_V3_PATH;return F.setVariables(n,i)}static getDevicesEndpoint(t,e,i){var n={};n[F.MERCHANT_V3_KEY]=e,n[F.DOMAIN_KEY]=t;let o=F.DOMAIN_PATH+F.DEVICE_PATH;return F.setVariables(o,n)}static getAlertDeviceEndpoint(t,e){var i={};i[F.MERCHANT_V3_KEY]=e,i[F.DOMAIN_KEY]=t;let n=F.DOMAIN_PATH+F.REMOTE_PAY_PATH;return F.setVariables(n,i)}static parseQueryString(t){let e=t.indexOf("?");var i,n,o,s,r={};for(o=0,s=(i=(t=t.substring(e+1,t.length)).split("&")).length;o<s;o++)r[(n=i[o].split("="))[0]]=n[1];return r}static setVariables(t,e){for(var i in e)if(e.hasOwnProperty(i)){var n=new RegExp(this.escapeRegExp("{"+i+"}"),"g");i===F.DOMAIN_KEY&&(e[i]=F.appendTrailingSlashToDomain(e[i])),t=t.replace(n,e[i])}return t}static appendTrailingSlashToDomain(t){return t&&"/"!==t.charAt(t.length-1)?`${t}/`:t}static escapeRegExp(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}}F.ACCESS_TOKEN_KEY="axsTkn",F.ACCESS_TOKEN_SUFFIX="?access_token={"+F.ACCESS_TOKEN_KEY+"}",F.CLOUD_SERVER_IDENTIFIER_KEY="server",F.ACCOUNT_V3_KEY="acntId",F.ACCOUNT_V3_PATH="v3/accounts/{"+F.ACCOUNT_V3_KEY+"}",F.DEVELOPER_V3_KEY="dId",F.DEVELOPER_V3_PATH="v3/developers/{"+F.DEVELOPER_V3_KEY+"}",F.RESELLER_V3_KEY="rId",F.RESELLER_V3_PATH="v3/resellers/{"+F.RESELLER_V3_KEY+"}",F.MERCHANT_V2_KEY="mId",F.MERCHANT_V2_PATH="v2/merchant/{"+F.MERCHANT_V2_KEY+"}",F.MERCHANT_V3_KEY="mId",F.MERCHANT_V3_PATH="v3/merchants/{"+F.MERCHANT_V3_KEY+"}",F.APPS_V3_KEY="appId",F.APPS_V3_PATH="v3/apps/{"+F.APPS_V3_KEY+"}",F.ORDER_PATH=F.MERCHANT_V3_PATH+"/orders",F.ORDER_ID_KEY="appId",F.ORDER_ID_PATH=F.ORDER_PATH+"/{"+F.ORDER_ID_KEY+"}",F.LINE_ITEM_PATH=F.ORDER_ID_PATH+"/line_items",F.LINE_ITEM_ID_KEY="lniId",F.LINE_ITEM_ID_PATH=F.LINE_ITEM_PATH+"/{"+F.LINE_ITEM_ID_KEY+"}",F.DEVICE_PATH=F.MERCHANT_V3_PATH+"/devices",F.DEVICE_ID_KEY="devId",F.DEVICE_ID_PATH=F.DEVICE_PATH+"/{"+F.DEVICE_ID_KEY+"}",F.REMOTE_PAY_PATH=F.MERCHANT_V2_PATH+"/remote_pay",F.WEBSOCKET_PATH="support/remote_pay/cs",F.WEBSOCKET_TOKEN_KEY="wsTkn",F.WEBSOCKET_TOKEN_SUFFIX="?token={"+F.WEBSOCKET_TOKEN_KEY+"}",F.WEBSOCKET_FRIENDLY_ID_KEY="wsFriendlyId",F.WEBSOCKET_FRIENDLY_ID_SUFFIX="&friendlyId={"+F.WEBSOCKET_FRIENDLY_ID_KEY+"}",F.WEBSOCKET_FORCE_CONNECT_KEY="wsForceConnect",F.WEBSOCKET_FORCE_CONNECT_SUFFIX="&forceConnect={"+F.WEBSOCKET_FORCE_CONNECT_KEY+"}",F.OAUTH_PATH="oauth/authorize?response_type=token",F.OAUTH_CLIENT_ID_KEY="client_id",F.OAUTH_CLIENT_ID_SUFFIX="&client_id={"+F.OAUTH_CLIENT_ID_KEY+"}",F.OAUTH_MERCHANT_ID_KEY="merchant_id",F.OAUTH_MERCHANT_ID_SUFFIX="&merchant_id={"+F.OAUTH_MERCHANT_ID_KEY+"}",F.OAUTH_REDIRECT_URI_KEY="redirect_uri",F.OAUTH_REDIRECT_URI_SUFFIX="&redirect_uri={"+F.OAUTH_REDIRECT_URI_KEY+"}",F.DOMAIN_KEY="server_url",F.DOMAIN_PATH="{server_url}";class B{constructor(t,e){this.deviceId=t,this.isSilent=e}}class q extends x{constructor(t,e,i,n,o,s,r,a,l){super(t,e),this.cloverServer=i,this.merchantId=n,this.accessToken=o,this.deviceId=s,this.httpSupport=l,this.friendlyId=r,this.forceConnect=a,this.initialize()}initialize(){this.webSocketURL&&this.webSocketURL.length>0?this.doOptionsCallToAvoid401Error(this.webSocketURL):"undefined"!=typeof window&&window.MSInputMethodContext&&document.documentMode?this.httpSupport.getData(F.getMerchantEndpoint(this.cloverServer,this.merchantId),(t=>this.obtainWebSocketUrlAndSendPushAlert()),(t=>{this.logger.warn("IE 11 - Initial GET failed.",t)}),this.buildAuthorizationHeader(this.accessToken)):this.obtainWebSocketUrlAndSendPushAlert()}obtainWebSocketUrlAndSendPushAlert(){let t=F.getAlertDeviceEndpoint(this.cloverServer,this.merchantId),e=new B(this.deviceId.replace(/-/g,""),!0);this.httpSupport.postData(t,(t=>this.deviceNotificationSent(t)),(t=>{this.connectionError(this.cloverWebSocketClient,`Error connecting to your Clover device. Details: ${t.message}`,null,t&&404!==t.status)}),e,this.buildAuthorizationHeader(this.accessToken))}deviceNotificationSent(t){!t.hasOwnProperty("sent")||t.sent?(this.webSocketURL=F.getDeviceWebSocketEndpoint(t,this.friendlyId,this.forceConnect,this.merchantId),this.doOptionsCallToAvoid401Error(this.webSocketURL)):this.connectionError(this.cloverWebSocketClient,"The device is unreachable or an error has occurred sending the device a notification to start/connect to Cloud Pay Display.")}doOptionsCallToAvoid401Error(t){const e=t;let i;i=e.indexOf("wss")>-1?e.replace("wss","https"):e.replace("ws","http"),this.httpSupport.options(i,((e,i)=>this.afterOptionsCall(t,i)),((e,i)=>this.afterOptionsCall(t,i)),this.buildAuthorizationHeader(this.accessToken))}afterOptionsCall(t,e){let i="";if(e&&"function"==typeof e.getResponseHeader&&(i=e.getResponseHeader(q.X_CLOVER_CONNECTED_ID)),i&&!this.forceConnect){if(this.friendlyId!=i)return void this.connectionError(this.cloverWebSocketClient,`${S.device_already_connected} '${i}'.`,f.remotepay.DeviceErrorEventCode.AccessDenied);this.logger.warn("Already connected to friendlyId '"+i+".' This can happen if the SDK is internally trying to reconnect (in which case this is not a problem), if the same friendlyId is being used for multiple POS clients, or if you attempted to initialize a new Clover Connector without disposing of the previous Clover Connector."),this.cloverWebSocketClient&&this.cloverWebSocketClient.close()}this.cloverWebSocketClient&&this.cloverWebSocketClient.getWebSocketState()==I.OPEN?this.notifyConnectionAttemptComplete():super.initializeWithUri(t,this.accessToken)}buildAuthorizationHeader(t){return{Authorization:`Bearer ${t}`}}onOpen(t){this.cloverWebSocketClient==t&&(super.onOpen(t),this.notifyReady())}}q.X_CLOVER_CONNECTED_ID="X-CLOVER-CONNECTED-ID";class G extends M{constructor(t){super(t)}dispose(){let t=this.buildRemoteMessageToSend(new f.remotemessage.ShutDownMessage);this.sendRemoteMessage(t),super.dispose()}disposeWithoutMessage(){super.dispose()}handleRemoteMessageEVENT(t){let e=f.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{let i=this.messageParser.parseMessageFromRemoteMessageObj(t);e==f.remotemessage.Method.FORCECONNECT&&(this.logger.info("Connection was stolen! Will not attempt reconnect.",t),this.notifyObserversForceConnect(i),this.disposeWithoutMessage())}}notifyObserversForceConnect(t){this.deviceObservers.forEach((e=>{const i=JSON.stringify(t),n=new f.remotepay.CloverDeviceErrorEvent;n.setCode(f.remotepay.DeviceErrorEventCode.Interrupted),n.setMessage(i),n.setType(f.remotepay.ErrorType.COMMUNICATION),e.onDeviceError(n),e.onDeviceDisconnected(this,i)}))}handleRemoteMessage(t){try{t.getMethod()===f.remotemessage.Method.RESET||t.getMethod()===f.remotemessage.Method.SHUTDOWN?(this.logger.info("Reset requested! Will reconnect."),this.transport.reset()):super.handleRemoteMessage(t)}catch(e){this.logger.error("Error processing message: "+t.getPayload(),e)}}}class H extends D{constructor(t,e,i,n,o,s,r,a,l,d=!1,u,p,_){super(t,e,i,u,p,_),this.cloverServer=n,this.accessToken=o,this.httpSupport=s,this.merchantId=r,this.deviceId=a,this.friendlyId=l||"unknown",this.forceConnect=d}getMessagePackageName(){return"com.clover.remote.protocol.websocket"}getName(){return"Clover Cloud WebSocket Connector"}getCloverDeviceType(){return G}getCloverTransport(){return new q(this.getReconnectDelay(),this.webSocketImplClass,this.cloverServer,this.merchantId,this.accessToken,this.deviceId,this.friendlyId,this.forceConnect,this.httpSupport)}}class Y{constructor(){}createICloverConnector(t){return new v(t)}}class j{constructor(){}createICloverConnector(t){return new W(t)}}class W extends v{constructor(t){super(null),this.urlParamsInfo=null,this.httpSupport=new c(XMLHttpRequest),this.imageUtil=new k,this.legacyConfiguration=t}initializeConnection(){null==this.device&&this.initializeLegacyConnection(this.legacyConfiguration)}generateNewConfigurationAndInitialize(t){let e=new H(t.remoteApplicationId,U.createInstance,this.imageUtil,t.domain,t.oauthToken,this.httpSupport,t.merchantId,t.deviceId,t.friendlyId,t.forceConnect);null==this.device&&this.initialize(e)}initializeLegacyConnection(t){if(t.oauthToken)this.onceWeHaveTheAccessToken(t);else if(t.domain&&t.clientId)t.oauthToken=this.getAccessToken(t),this.onceWeHaveTheAccessToken(t);else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}}onceWeHaveTheAccessToken(t){t.merchantId=this.getMerchantId(t),t.deviceId?this.generateNewConfigurationAndInitialize(t):this.getDeviceId(t)}getDeviceId(t){if(t.deviceSerialId||t.deviceId)if(t.deviceId)this.generateNewConfigurationAndInitialize(t);else{let e=F.getDevicesEndpoint(t.domain,t.merchantId,t.oauthToken);this.httpSupport.getData(e,function(e){this.handleDeviceResult(W.buildMapOfSerialToDevice(e),t)}.bind(this),function(t){let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(f.remotepay.ErrorType.EXCEPTION),e.setMessage(JSON.stringify({"Error retreiving devices:":t},null,"\t")),this.broadcaster.notifyOnDeviceError(e)}.bind(this))}else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Neither 'deviceId' or 'deviceSerialId' passed, one must be set. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}}static buildMapOfSerialToDevice(t){let e=null,i={};var n;if(t.devices?e=t.devices:t.elements&&(e=t.elements),e)for(n=0;n<e.length;n++)i[e[n].serial]=e[n];return i}handleDeviceResult(t,e){let i=t[e.deviceSerialId];if(null==i){let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Cannot determine device to use. Device "+e.deviceSerialId+" not in set returned."),this.broadcaster.notifyOnDeviceError(t)}else"Clover_C100"==i.model&&this.logger.warn("Warning - Selected device model ("+t[e.deviceSerialId].model+") does not support pay display. Will attempt to send notification to device, but no response should be expected."),e.deviceId=i.id,this.generateNewConfigurationAndInitialize(e)}getMerchantId(t){if(!t.merchantId)if(this.urlParamsInfo)t.merchantId=this.urlParamsInfo[W.URL_MERCHANT_ID_KEY];else if(t.domain&&t.clientId){this.getAccessToken(t);let e=new f.remotepay.CloverDeviceErrorEvent;e.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(f.remotepay.ErrorType.EXCEPTION),e.setMessage("Neither 'merchantId' or '"+W.URL_MERCHANT_ID_KEY+"' specified. Cannot initialize."),this.broadcaster.notifyOnDeviceError(e)}else{let t=new f.remotepay.CloverDeviceErrorEvent;t.setCode(f.remotepay.DeviceErrorEventCode.InvalidConfig),t.setType(f.remotepay.ErrorType.EXCEPTION),t.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(t)}return t.merchantId}getAccessToken(t){this.parseWindowURL();var e=null;return this.urlParamsInfo&&(e=this.urlParamsInfo[W.accessTokenKey]),null==e&&W.redirect(t),e}static redirect(t){let e=window.location.href.replace(window.location.hash,""),i=F.getOAuthURL(t.domain,t.clientId,null,e);window.location.href=i}parseWindowURL(){this.urlParamsInfo||this.parseURL(window.location)}parseURL(t){this.urlParamsInfo={};let e=t.hash.split("&");this.parseStuff(e);var i=t.search.substr(1).split("&");this.parseStuff(i)}parseStuff(t){let e=0,i=null;for(;i=t[e++];){let t=i.split("=");this.urlParamsInfo[t[0]]=t[1],t[0]===W._accessTokenKey&&(this.urlParamsInfo[W.accessTokenKey]=t[1])}}}W._accessTokenKey="access_token",W.accessTokenKey="#"+W._accessTokenKey,W.URL_MERCHANT_ID_KEY="merchant_id";class K{static createICloverConnectorFactory(t){return t&&t[K.FACTORY_VERSION]?t[K.FACTORY_VERSION]==K.VERSION_12?new Y:void console.error("Factory version specified, but not found!",t):new j}}K.DEFAULT_VERSION="DEFAULT",K.VERSION_12="VERSION_12",K.FACTORY_VERSION="FACTORY_VERSION",function(t){t.ACTION_CLOVER_AUTH_RESPONSE="CLOVER_AUTH_RESPONSE",t.ACTION_CLOVER_ADJUST_RESPONSE="CLOVER_ADJUST_RESPONSE",t.ACTION_CLOVER_SALE_RESPONSE="CLOVER_SALE_RESPONSE",t.ACTION_CLOVER_VOID_RESPONSE="CLOVER_VOID_RESPONSE",t.ACTION_CLOVER_BATCH_CLOSE_RESPONSE="CLOVER_BATCH_CLOSE_RESPONSE",t.ACTION_CLOVER_RETURN_RESPONSE="CLOVER_RETURN_RESPONSE",t.ACTION_CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT="CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT",t.ACTION_CLOVER_RETRIEVE_PAYMENT_RESPONSE="CLOVER_RETRIEVE_PAYMENT_RESPONSE"}(R||(R={}));class J{constructor(){this.status=null,this.statusCode=null,this.statusMessage=null,this.refID=null,this.action=null,this.approveAmount=null,this.amountDue=null}static build(t){return new J}}J.STATUS_OK="OK",J.STATUS_FAIL="FAIL",J.STATUS_CODE_OK="OK",J.STATUS_CODE_FAIL="FAIL",J.STATUS_CODE_WARNING="WARNING",J.STATUS_CODE_TIMEOUT="TIMEOUT";class Q extends J{static build(t){let e=new J;switch(t.getSuccess()?(e.status=J.STATUS_OK,e.statusCode=J.STATUS_CODE_OK):(e.status=J.STATUS_FAIL,e.statusCode=J.STATUS_CODE_FAIL),e.statusMessage=t.getMessage(),e.data=t,!0){case t instanceof f.remotepay.SaleResponse:e.action=R.ACTION_CLOVER_SALE_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId(),e.approveAmount=t.getPayment().getAmount());break;case t instanceof f.remotepay.AuthResponse:e.action=R.ACTION_CLOVER_AUTH_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId(),e.approveAmount=t.getPayment().getAmount());break;case t instanceof f.remotepay.TipAdjustAuthResponse:e.action=R.ACTION_CLOVER_ADJUST_RESPONSE,e.refID=t.getPaymentId();break;case t instanceof f.remotepay.VoidPaymentResponse:e.action=R.ACTION_CLOVER_VOID_RESPONSE,t.getReason()==f.order.VoidReason.REJECT_PARTIAL_AUTH&&(e.action=R.ACTION_CLOVER_CANCEL_TRANSACTION_WITH_DUE_AMOUNT),t.getPayment()&&(e.refID=t.getPayment().getId());break;case t instanceof f.remotepay.RefundPaymentResponse:e.action=R.ACTION_CLOVER_RETURN_RESPONSE,e.refID=t.getPaymentId();break;case t instanceof f.remotepay.CloseoutResponse:e.action=R.ACTION_CLOVER_BATCH_CLOSE_RESPONSE;break;case t instanceof f.remotepay.RetrievePaymentResponse:e.action=R.ACTION_CLOVER_RETRIEVE_PAYMENT_RESPONSE,t.getPayment()&&(e.refID=t.getPayment().getId());case t instanceof f.remotepay.RetrievePendingPaymentsResponse:}return e}}class ${constructor({cloverConfig:t,onPairingCode:e,onPairingSuccess:i}){this.cloverConnector=null,this.pendingSaleRequest=null,this.isReady=!1,this.deviceError=null,this.deviceDisconnected=!0,this.saleResponse=null,this.authResponse=null,this.tipAdjustAuthResponse=null,this.voidPaymentResponse=null,this.refundPaymentResponse=null,this.closeoutResponse=null,this.retrievePaymentResponse=null,this.retrievePendingPaymentsResponse=null,this.retrieveDeviceStatusResponse=null,this.paymentResponse=null,this.cloverConfig=t,this.onPairingCode=e,this.onPairingSuccess=i}static createInstance(t){if(t)return new $(t);throw new Error("Missing 'options' parameters")}static getInstance(t){var e;if($.instance){if(t){if(1==t.createNew)return null===(e=$.instance.cloverConnector)||void 0===e||e.dispose(),$.instance=$.createInstance(t),$.instance;throw Error("Instance is already instantiate with `options`")}}else $.instance=$.createInstance(t);return $.instance}connect(){let t;this.cleanup(),t=this.getDeviceConfigurationForNetwork();let e={};e[K.FACTORY_VERSION]=K.VERSION_12;let i=K.createICloverConnectorFactory(e);this.cloverConnector=i.createICloverConnector(t),this.cloverConnector.addCloverConnectorListener(this.buildCloverConnectionListener()),this.cloverConnector.initializeConnection()}doSale(t){var e;this.saleResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.SaleRequest,this.pendingSaleRequest.setExternalId(t.refId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setAutoAcceptSignature(!0),this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(!0),this.pendingSaleRequest.setDisableDuplicateChecking(!0),this.pendingSaleRequest.setCardEntryMethods(h.ALL),console.log({message:"Sending sale",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.sale(this.pendingSaleRequest))}doAuth(t){var e;this.authResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.AuthRequest,this.pendingSaleRequest.setExternalId(t.refId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setAutoAcceptSignature(!0),this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(!0),this.pendingSaleRequest.setDisableDuplicateChecking(!0),this.pendingSaleRequest.setCardEntryMethods(h.ALL),console.log({message:"Sending auth",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.auth(this.pendingSaleRequest))}doTipAdjust(t){var e;this.tipAdjustAuthResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.TipAdjustAuthRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setTipAmount(t.amount),this.pendingSaleRequest.setPaymentId(t.paymentId),console.log({message:"Sending tip adjust",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} for $${this.pendingSaleRequest.getTipAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(this.pendingSaleRequest))}doVoid(t){var e;this.voidPaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.VoidPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setPaymentId(t.paymentId),this.pendingSaleRequest.setVoidReason(f.order.VoidReason.USER_CANCEL),console.log({message:"Sending void",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(this.pendingSaleRequest))}doRefund(t){var e;this.refundPaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.RefundPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setAmount(t.amount),this.pendingSaleRequest.setPaymentId(t.paymentId),console.log({message:"Sending refund",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.refundPayment(this.pendingSaleRequest))}doRetrievePayment(t){var e;this.retrievePaymentResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.RetrievePaymentRequest,this.pendingSaleRequest.setExternalId(t.refId),console.log({message:"Sending retrieve",request:this.pendingSaleRequest}),console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} is in progress.`),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(this.pendingSaleRequest))}doRetrievePendingPayment(){var t;this.retrievePendingPaymentsResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(console.log({message:"Sending retrieve pending payments"}),null===(t=this.cloverConnector)||void 0===t||t.retrievePendingPayments())}doCloseout(){var t;this.closeoutResponse=null,this.paymentResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new f.remotepay.CloseoutRequest,this.pendingSaleRequest.setAllowOpenTabs(!1),console.log({message:"Sending closeout",request:this.pendingSaleRequest}),console.log("Payment: closeout is in progress."),null===(t=this.cloverConnector)||void 0===t||t.closeout(this.pendingSaleRequest))}doPrint(t){var e;null===(e=this.cloverConnector)||void 0===e||e.print(t)}cleanup(){this.cloverConnector&&this.cloverConnector.dispose()}showMessage(t){var e;null===(e=this.cloverConnector)||void 0===e||e.showMessage(t)}checkDeviceStatus(){var t;this.retrieveDeviceStatusResponse=null;let e=new f.remotepay.RetrieveDeviceStatusRequest;null===(t=this.cloverConnector)||void 0===t||t.retrieveDeviceStatus(e)}showWelcomeScreen(){var t;null===(t=this.cloverConnector)||void 0===t||t.showWelcomeScreen()}showThankYouScreen(){var t;null===(t=this.cloverConnector)||void 0===t||t.showThankYouScreen()}buildCloverConnectionListener(){return Object.assign({},f.remotepay.ICloverConnectorListener.prototype,{onDeviceConnected:()=>{this.deviceDisconnected=!1},onSaleResponse:t=>{var e;console.log({message:"Payment response received",response:t});const i=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.saleResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()){const n=t.getPayment();if(n&&n.getAmount()<i){const t=new f.remotepay.VoidPaymentRequest;t.setPaymentId(n.getId()),t.setVoidReason(f.order.VoidReason.REJECT_PARTIAL_AUTH),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(t)}else console.log(`${n.getResult()}: Payment ${n.getExternalPaymentId()} for $${n.getAmount()/100} is complete.`,t.getResult()===f.remotepay.ResponseCode.SUCCESS),t.getIsSale()||console.log({error:"Response is not a sale!"})}else this.resetDevice()},onAuthResponse:t=>{var e,i;console.log({message:"Payment response received",response:t});const n=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.authResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()){const o=t.getPayment(),s=new f.remotepay.TipAdjustAuthRequest;if(s.setTipAmount(0),s.setOrderId(o.getOrder().getId()),s.setPaymentId(o.getId()),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(s),o&&o.getAmount()<n){const t=new f.remotepay.VoidPaymentRequest;t.setPaymentId(o.getId()),t.setVoidReason(f.order.VoidReason.REJECT_PARTIAL_AUTH),null===(i=this.cloverConnector)||void 0===i||i.voidPayment(t)}else console.log(`${o.getResult()}: Payment ${o.getExternalPaymentId()} for $${o.getAmount()/100} is complete.`,t.getResult()===f.remotepay.ResponseCode.SUCCESS),t.getIsAuth()||console.log({error:"Response is not a auth!"})}else this.resetDevice()},onTipAdjustAuthResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.tipAdjustAuthResponse=t,null==this.paymentResponse&&(this.paymentResponse=Q.build(t)),t.getSuccess()||this.resetDevice()},onVoidPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.voidPaymentResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onRefundPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.refundPaymentResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onCloseoutResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.closeoutResponse=t,this.paymentResponse=Q.build(t),t.getSuccess()||this.resetDevice()},onRetrievePaymentResponse:t=>{if(console.log({message:"onRetrievePaymentResponse",response:t}),this.pendingSaleRequest&&t.getExternalPaymentId()===this.pendingSaleRequest.getExternalId())if(t.getQueryStatus()===f.remotepay.QueryStatus.FOUND){const e=t.getPayment();console.log(`${e.getResult()}: Payment ${this.pendingSaleRequest.getExternalId()} is complete.`,e.getResult()===f.payments.Result.SUCCESS),this.pendingSaleRequest=null}else t.getQueryStatus()===f.remotepay.QueryStatus.IN_PROGRESS?console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} for $${this.pendingSaleRequest.getAmount()/100} is in progress. If you would like to start a new payment, you may reset the device. However, doing so may void payment ${this.pendingSaleRequest.getExternalId()}. If you would like to reset the device anyway please <a onclick="forceResetDevice()" href="#">click here</a> to confirm.`):t.getQueryStatus()===f.remotepay.QueryStatus.NOT_FOUND&&console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} wasn't taken or was voided.`,!1)},onResetDeviceResponse:t=>{var e;if(console.log(t),this.pendingSaleRequest){const t=new f.remotepay.RetrievePaymentRequest;t.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(t)}},onConfirmPaymentRequest:t=>{var e;console.log({message:"Automatically accepting payment",request:t}),console.log("Automatically accepting payment",!0),null===(e=this.cloverConnector)||void 0===e||e.acceptPayment(t.getPayment())},onVerifySignatureRequest:t=>{var e;console.log({message:"Automatically accepting signature",request:t}),console.log("Automatically accepting signature",!0),null===(e=this.cloverConnector)||void 0===e||e.acceptSignature(t)},onDeviceReady:t=>{var e;if(console.log("The connection to your Clover Device has been established.",!0),this.pendingSaleRequest){const t=new f.remotepay.RetrieveDeviceStatusRequest;t.setSendLastMessage(!0),null===(e=this.cloverConnector)||void 0===e||e.retrieveDeviceStatus(t)}else console.log({message:"Device Ready to process requests!",merchantInfo:t}),this.isReady=!0,this.deviceError=null},onDeviceError:t=>{this.deviceError=t},onDeviceDisconnected:()=>{this.deviceDisconnected=!0},onRetrieveDeviceStatusResponse:t=>{this.retrieveDeviceStatusResponse=t}})}resetDevice(){var t;null===(t=this.cloverConnector)||void 0===t||t.resetDevice()}getDeviceConfigurationForNetwork(){return void 0===this.pairingCode&&(this.pairingCode=t=>{const e=`Please enter pairing code ${t} on the device`;console.log(` > ${e}`)}),void 0===this.onPairingSuccess&&(this.pairingCode=t=>{console.log(` > Got Pairing Auth Token: ${t}`)}),new V(this.cloverConfig.applicationId,this.cloverConfig.endpoint,this.cloverConfig.posName,this.cloverConfig.serialNumber,this.cloverConfig.authToken,this.onPairingCode,this.onPairingSuccess).build()}checkPaymentStatus(){var t,e;if(this.pendingSaleRequest){const i=new f.remotepay.RetrieveDeviceStatusRequest;i.setSendLastMessage(!0),null===(t=this.cloverConnector)||void 0===t||t.retrieveDeviceStatus(i),console.log("Payment is currently pending. Checking payment status ..."),console.log(this.pendingSaleRequest);const n=new f.remotepay.RetrievePaymentRequest;n.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(n)}else console.log("There is currently no pending payment.")}}function z(t,e,i,n){return new(i||(i=Promise))((function(o,s){function r(t){try{l(n.next(t))}catch(t){s(t)}}function a(t){try{l(n.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(r,a)}l((n=n.apply(t,e||[])).next())}))}!function(t){t.V1="1.0.0"}(C||(C={})),function(t){t.GClientId="G-ClientID"}(A||(A={})),function(t){t.IOS="IOS",t.ANDROID="ANDROID",t.CHROME="CHROME",t.SAFARI="SAFARI"}(N||(N={})),function(t){t.ANDROID="Android",t.IOS="iOS",t.WEB="Web",t.WINDOW="Window"}(O||(O={})),Object.create,Object.create;class X extends Error{constructor(...t){super(...t),Object.setPrototypeOf(this,new.target.prototype)}}class Z extends X{}class tt extends X{}class et extends X{}class it extends X{}class nt extends X{constructor({message:t,code:e,statusText:i,body:n,headers:o}){super(t),this.response={code:e,statusText:i,body:n,headers:o}}}class ot extends nt{}class st extends ot{}class rt extends ot{constructor(t){var{retryAfter:e}=t;super(function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]])}return i}(t,["retryAfter"])),this.response.retryAfter=e}}class at extends X{}const lt={API_KEY:"",API_SECRET_KEY:"",G_CLIENTID:"",USER_AGENT:"",API_VERSION:C.V1,initialize:function(t){const e=[];if(t.API_KEY.length||e.push("API_KEY"),t.API_SECRET_KEY.length||e.push("API_SECRET_KEY"),t.API_SECRET_KEY.length||e.push("G_CLIENTID"),e.length)throw new Z(`Cannot initialize GAP Library. Missing values for: ${e.join(", ")}`);this.API_KEY=t.API_KEY,this.API_SECRET_KEY=t.API_SECRET_KEY,this.G_CLIENTID=t.G_CLIENTID,this.API_VERSION=t.API_VERSION},throwIfUninitialized:function(){if(!this.API_KEY||0===this.API_KEY.length)throw new tt("Context has not been properly initialized. Please call the .initialize() method to setup your app context object.")}};var dt,ut,pt=i(9669),_t=i.n(pt);!function(t){t.Get="GET",t.Post="POST",t.Put="PUT",t.Patch="PATCH",t.Delete="DELETE",t.Head="HEAD",t.Options="OPTIONS",t.Connect="CONNECT"}(dt||(dt={})),function(t){t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.RequestEntityTooLarge=413]="RequestEntityTooLarge",t[t.RequestUriTooLong=414]="RequestUriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RequestedRangeNotSatisfiable=416]="RequestedRangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported"}(ut||(ut={}));class ct{constructor(t,e,i,n=C.V1){this.domain="",this.RETRY_WAIT_TIME=2e3,this.MAX_RETRY=3,this.API_VERSION=n,this.domain=t,this.axios=_t().create({headers:{"G-ClientID":e,Authorization:`Bearer ${i}`}})}get(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Get},t))}))}post(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Post},t))}))}put(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Put},t))}))}delete(t){return z(this,void 0,void 0,(function*(){return this.request(Object.assign({method:dt.Delete},t))}))}request(t){return z(this,void 0,void 0,(function*(){if(lt.API_VERSION!==this.API_VERSION)throw new at(`Current Context.API_VERSION '${lt.API_VERSION}' does not match resource version ${this.API_VERSION}`);const e=t.tries||this.MAX_RETRY;if(e<=0)throw new et(`Number of tries must be >= 0, got ${e}`);let i;i=t.path.startsWith("http")||!this.domain?t.path:`${this.domain}${this.getRequestPath(t.path)}`;const n={url:i,params:t.query,method:t.method.toString(),data:t.data,headers:t.headers};function o(t){return z(this,void 0,void 0,(function*(){return new Promise((e=>setTimeout(e,t)))}))}let s=0;for(;s<e;)try{return yield this.doRequest(n)}catch(t){if(s++,t instanceof et){if(s<e){let e=this.RETRY_WAIT_TIME;t instanceof rt&&t.response.retryAfter&&(e=1e3*t.response.retryAfter),yield o(e);continue}if(e>1)throw new it(`Exceeded maximum retry count of ${e}. Last message: ${t.message}`)}throw t}throw new X("Unexpected flow, reached maximum HTTP tries but did not throw an error")}))}getRequestPath(t){return`/${t.replace(/^\//,"")}`}doRequest(t){var e,i,n;return z(this,void 0,void 0,(function*(){try{const o=yield this.axios(t);if("OK"!==(null===(e=o.data)||void 0===e?void 0:e.status)||"OK"!==(null===(n=null===(i=o.data)||void 0===i?void 0:i.result)||void 0===n?void 0:n.status)||!(null==o?void 0:o.status.toString().startsWith("2"))){const t=JSON.stringify(o.data.message||o.data.result.message,null,2),e=o.headers,i=o.status,n=o.statusText;switch(!0){case o.status===ut.TooManyRequests:{const s=o.headers["Retry-After"];throw new rt({message:`GAP is throttling requests ${t}`,code:i,statusText:n,body:o.data,headers:e,retryAfter:s?parseFloat(s):void 0})}case o.status>=ut.InternalServerError:throw new st({message:`GAP internal error ${t}`,code:i,statusText:n,body:o.data,headers:e});default:throw new nt({message:`Received an error response (${o.status}${o.statusText&&""+o.statusText}) from GAP ${t}`,code:i,statusText:n,body:o.data,headers:e})}}return o.data}catch(t){throw t instanceof X?t:new et(`Failed to make GAP HTTP request: ${t.message}`)}}))}}class mt{static setClient(t,e,i,n){this.client=new ct(t,e,i,n)}}const ft="v1/pos/setting/form/change-answer-status";class ht extends mt{static getBatchHistory(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/history/site/batch-history",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{date:null!==(e=null==t?void 0:t.date)&&void 0!==e?e:null,display_date:null!==(i=null==t?void 0:t.display_date)&&void 0!==i?i:null,display_date_time:null!==(n=null==t?void 0:t.display_date_time)&&void 0!==n?n:null,card_amount:null!==(o=null==t?void 0:t.card_amount)&&void 0!==o?o:null,external_cc_amount:null!==(s=null==t?void 0:t.external_cc_amount)&&void 0!==s?s:null,cash_amount:null!==(r=null==t?void 0:t.cash_amount)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,discount:null!==(_=null==t?void 0:t.discount)&&void 0!==_?_:null,tip:null!==(c=null==t?void 0:t.tip)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,income:null!==(f=null==t?void 0:t.income)&&void 0!==f?f:null,change:null!==(h=null==t?void 0:t.change)&&void 0!==h?h:null,cash_discount:null!==(y=null==t?void 0:t.cash_discount)&&void 0!==y?y:null,service_fee:null!==(v=null==t?void 0:t.service_fee)&&void 0!==v?v:null,deposit:null!==(g=null==t?void 0:t.deposit)&&void 0!==g?g:null,total:null!==(T=null==t?void 0:t.total)&&void 0!==T?T:null}}(t)))}))}static getBatchDetail(t){return z(this,void 0,void 0,(function*(){return function(t){return{batches:(null==t?void 0:t.batches)?null==t?void 0:t.batches.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,card_amount:null!==(r=null==t?void 0:t.card_amount)&&void 0!==r?r:null,cash_amount:null!==(a=null==t?void 0:t.cash_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,giftcard_amount:null!==(d=null==t?void 0:t.giftcard_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,discount:null!==(c=null==t?void 0:t.discount)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,created_at:null!==(f=null==t?void 0:t.created_at)&&void 0!==f?f:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,date:null!==(v=null==t?void 0:t.date)&&void 0!==v?v:null,total_income:null!==(g=null==t?void 0:t.total_income)&&void 0!==g?g:null,change:null!==(T=null==t?void 0:t.change)&&void 0!==T?T:null,ach_amount:null!==(S=null==t?void 0:t.ach_amount)&&void 0!==S?S:null,cash_discount:null!==(E=null==t?void 0:t.cash_discount)&&void 0!==E?E:null,service_fee:null!==(I=null==t?void 0:t.service_fee)&&void 0!==I?I:null,external_credit_card:null!==(R=null==t?void 0:t.external_credit_card)&&void 0!==R?R:null,deposit:null!==(C=null==t?void 0:t.deposit)&&void 0!==C?C:null,external_cc_amount:null!==(A=null==t?void 0:t.external_cc_amount)&&void 0!==A?A:null}}(t))):null,summary:function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{date:null!==(e=null==t?void 0:t.date)&&void 0!==e?e:null,display_date:null!==(i=null==t?void 0:t.display_date)&&void 0!==i?i:null,display_date_time:null!==(n=null==t?void 0:t.display_date_time)&&void 0!==n?n:null,card_amount:null!==(o=null==t?void 0:t.card_amount)&&void 0!==o?o:null,external_cc_amount:null!==(s=null==t?void 0:t.external_cc_amount)&&void 0!==s?s:null,cash_amount:null!==(r=null==t?void 0:t.cash_amount)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,check_amount:null!==(l=null==t?void 0:t.check_amount)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,subtotal:null!==(u=null==t?void 0:t.subtotal)&&void 0!==u?u:null,tax:null!==(p=null==t?void 0:t.tax)&&void 0!==p?p:null,discount:null!==(_=null==t?void 0:t.discount)&&void 0!==_?_:null,tip:null!==(c=null==t?void 0:t.tip)&&void 0!==c?c:null,redeem:null!==(m=null==t?void 0:t.redeem)&&void 0!==m?m:null,income:null!==(f=null==t?void 0:t.income)&&void 0!==f?f:null,change:null!==(h=null==t?void 0:t.change)&&void 0!==h?h:null,cash_discount:null!==(y=null==t?void 0:t.cash_discount)&&void 0!==y?y:null,service_fee:null!==(v=null==t?void 0:t.service_fee)&&void 0!==v?v:null,deposit:null!==(g=null==t?void 0:t.deposit)&&void 0!==g?g:null,total:null!==(T=null==t?void 0:t.total)&&void 0!==T?T:null}}(null==t?void 0:t.summary)}}((yield this.client.get({path:"/v1/pos/history/site/batch-detail",query:t})).result.data)}))}}function yt(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,phone:null!==(n=null==t?void 0:t.phone)&&void 0!==n?n:null,address:null!==(o=null==t?void 0:t.address)&&void 0!==o?o:null,city:null!==(s=null==t?void 0:t.city)&&void 0!==s?s:null,postal_code:null!==(r=null==t?void 0:t.postal_code)&&void 0!==r?r:null,state_code:null!==(a=null==t?void 0:t.state_code)&&void 0!==a?a:null,short_name:null!==(l=null==t?void 0:t.short_name)&&void 0!==l?l:null,logo_image:null!==(d=null==t?void 0:t.logo_image)&&void 0!==d?d:null,cover_image:null!==(u=null==t?void 0:t.cover_image)&&void 0!==u?u:null,business_code:null!==(p=null==t?void 0:t.business_code)&&void 0!==p?p:null,country_code:null!==(_=null==t?void 0:t.country_code)&&void 0!==_?_:null}}ht.API_VERSION=C.V1;class vt extends mt{static getBusinessInfo(t){return z(this,void 0,void 0,(function*(){return yt((yield this.client.get({path:"/v1/pos/business/site/get-info",query:t})).result.data)}))}static postBusinessUpdateInfo(t){return z(this,void 0,void 0,(function*(){return yt((yield this.client.post({path:"/v1/pos/business/form/update",data:t})).result.data)}))}}vt.API_VERSION=C.V1;class gt extends mt{static sendSms(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/call/form/send-sms",data:t}),null}))}}gt.API_VERSION=C.V1;class Tt extends mt{static getCategoryListItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/category/site/list-item",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_code:null!==(l=null==t?void 0:t.color_code)&&void 0!==l?l:null,color_code901:null!==(d=null==t?void 0:t.color_code901)&&void 0!==d?d:null,color_code902:null!==(u=null==t?void 0:t.color_code902)&&void 0!==u?u:null,color_code903:null!==(p=null==t?void 0:t.color_code903)&&void 0!==p?p:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,color_code901:null!==(s=null==t?void 0:t.color_code901)&&void 0!==s?s:null,color_code902:null!==(r=null==t?void 0:t.color_code902)&&void 0!==r?r:null,color_code903:null!==(a=null==t?void 0:t.color_code903)&&void 0!==a?a:null,duration:null!==(l=null==t?void 0:t.duration)&&void 0!==l?l:null}}(t))):null}}(t)))}))}}function St(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,data_after_charge:null!==(d=null==t?void 0:t.data_after_charge)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(p=null==t?void 0:t.giftcard_code)&&void 0!==p?p:null,is_updated:null!==(_=null==t?void 0:t.is_updated)&&void 0!==_?_:null}}function Et(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function It(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function Rt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:St(null==t?void 0:t.tip),tax:null!==(D=null==t?void 0:t.tax)&&void 0!==D?D:null,is_waiting:null!==(b=null==t?void 0:t.is_waiting)&&void 0!==b?b:null,is_recheck:null!==(x=null==t?void 0:t.is_recheck)&&void 0!==x?x:null,gift_card_price:null!==(L=null==t?void 0:t.gift_card_price)&&void 0!==L?L:null,pax_standalone_active:null!==(k=null==t?void 0:t.pax_standalone_active)&&void 0!==k?k:null,ach_payment_active:null!==(U=null==t?void 0:t.ach_payment_active)&&void 0!==U?U:null,ach_payment_data:null!==(w=null==t?void 0:t.ach_payment_data)&&void 0!==w?w:null,total_cash_discount:null!==(V=null==t?void 0:t.total_cash_discount)&&void 0!==V?V:null,is_tip_on_device:null!==(F=null==t?void 0:t.is_tip_on_device)&&void 0!==F?F:null,tip_by_credit_card:null!==(B=null==t?void 0:t.tip_by_credit_card)&&void 0!==B?B:null,service_fee:null!==(q=null==t?void 0:t.service_fee)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,qr_code:null!==(H=null==t?void 0:t.qr_code)&&void 0!==H?H:null,created_date:null!==(Y=null==t?void 0:t.created_date)&&void 0!==Y?Y:null,created_time:null!==(j=null==t?void 0:t.created_time)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:null!==(J=null==t?void 0:t.invoice)&&void 0!==J?J:null,customer_point:null!==(Q=null==t?void 0:t.customer_point)&&void 0!==Q?Q:null,order_discount:null!==($=null==t?void 0:t.order_discount)&&void 0!==$?$:null,checkin_services:null!==(z=null==t?void 0:t.checkin_services)&&void 0!==z?z:null,checkin_staffs:null!==(X=null==t?void 0:t.checkin_staffs)&&void 0!==X?X:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e,i;return{staff_name:null!==(e=null==t?void 0:t.staff_name)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,supply_share:null!==(o=null==t?void 0:t.supply_share)&&void 0!==o?o:null,base_service_price:null!==(s=null==t?void 0:t.base_service_price)&&void 0!==s?s:null,card_charge_value:null!==(r=null==t?void 0:t.card_charge_value)&&void 0!==r?r:null,discount_charge_value:null!==(a=null==t?void 0:t.discount_charge_value)&&void 0!==a?a:null,tip_paid:null!==(l=null==t?void 0:t.tip_paid)&&void 0!==l?l:null,tip_on_credit_card_share:null!==(d=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==d?d:null,commission:null!==(u=null==t?void 0:t.commission)&&void 0!==u?u:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null,additional_data:null!==(_=null==t?void 0:t.additional_data)&&void 0!==_?_:null,note:null!==(c=null==t?void 0:t.note)&&void 0!==c?c:null,id:null!==(m=null==t?void 0:t.id)&&void 0!==m?m:null,item_id:null!==(f=null==t?void 0:t.item_id)&&void 0!==f?f:null,type:null!==(h=null==t?void 0:t.type)&&void 0!==h?h:null}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}(t))):null,payment_payment_id:null!==(Z=null==t?void 0:t.payment_payment_id)&&void 0!==Z?Z:null,payment_order_id:null!==(tt=null==t?void 0:t.payment_order_id)&&void 0!==tt?tt:null,order_batch:Et(null==t?void 0:t.order_batch),visit_count:null!==(et=null==t?void 0:t.visit_count)&&void 0!==et?et:null,refund_amount:null!==(it=null==t?void 0:t.refund_amount)&&void 0!==it?it:null,last_four:null!==(nt=null==t?void 0:t.last_four)&&void 0!==nt?nt:null,card_type:null!==(ot=null==t?void 0:t.card_type)&&void 0!==ot?ot:null,entry_type:null!==(st=null==t?void 0:t.entry_type)&&void 0!==st?st:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>It(t))):null,amount_info:null!==(rt=null==t?void 0:t.amount_info)&&void 0!==rt?rt:null,customer_type:null!==(at=null==t?void 0:t.customer_type)&&void 0!==at?at:null,order_payment_method:(null==t?void 0:t.order_payment_method)?null==t?void 0:t.order_payment_method.map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null}}(t))):null,deposit:null!==(lt=null==t?void 0:t.deposit)&&void 0!==lt?lt:null,product_subtotal:null!==(dt=null==t?void 0:t.product_subtotal)&&void 0!==dt?dt:null,service_subtotal:null!==(ut=null==t?void 0:t.service_subtotal)&&void 0!==ut?ut:null,staff_code:null!==(pt=null==t?void 0:t.staff_code)&&void 0!==pt?pt:null,appointment_id:null!==(_t=null==t?void 0:t.appointment_id)&&void 0!==_t?_t:null,checkin_number:null!==(ct=null==t?void 0:t.checkin_number)&&void 0!==ct?ct:null,in_service:null!==(mt=null==t?void 0:t.in_service)&&void 0!==mt?mt:null}}Tt.API_VERSION=C.V1;class Ct extends mt{static postCheckInFormSubmit(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkin/form/submit",data:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J;return{total_before_discount:null!==(e=null==t?void 0:t.total_before_discount)&&void 0!==e?e:null,total_after_discount:null!==(i=null==t?void 0:t.total_after_discount)&&void 0!==i?i:null,tax:null!==(n=null==t?void 0:t.tax)&&void 0!==n?n:null,service_fee:null!==(o=null==t?void 0:t.service_fee)&&void 0!==o?o:null,total_cash_discount:null!==(s=null==t?void 0:t.total_cash_discount)&&void 0!==s?s:null,qr_code:null!==(r=null==t?void 0:t.qr_code)&&void 0!==r?r:null,customer_name:null!==(a=null==t?void 0:t.customer_name)&&void 0!==a?a:null,customer_id:null!==(l=null==t?void 0:t.customer_id)&&void 0!==l?l:null,customer_phone:null!==(d=null==t?void 0:t.customer_phone)&&void 0!==d?d:null,customer_email:null!==(u=null==t?void 0:t.customer_email)&&void 0!==u?u:null,customer_address:null!==(p=null==t?void 0:t.customer_address)&&void 0!==p?p:null,order_code:null!==(_=null==t?void 0:t.order_code)&&void 0!==_?_:null,order_status:null!==(c=null==t?void 0:t.order_status)&&void 0!==c?c:null,type:null!==(m=null==t?void 0:t.type)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,created_at:null!==(h=null==t?void 0:t.created_at)&&void 0!==h?h:null,updated_at:null!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,id:null!==(v=null==t?void 0:t.id)&&void 0!==v?v:null,created_date:null!==(g=null==t?void 0:t.created_date)&&void 0!==g?g:null,created_time:null!==(T=null==t?void 0:t.created_time)&&void 0!==T?T:null,pos_key:null!==(S=null==t?void 0:t.pos_key)&&void 0!==S?S:null,pos_status:null!==(E=null==t?void 0:t.pos_status)&&void 0!==E?E:null,invoice:null!==(I=null==t?void 0:t.invoice)&&void 0!==I?I:null,customer_point:null!==(R=null==t?void 0:t.customer_point)&&void 0!==R?R:null,order_discount:null!==(C=null==t?void 0:t.order_discount)&&void 0!==C?C:null,checkin_services:null!==(A=null==t?void 0:t.checkin_services)&&void 0!==A?A:null,checkin_staffs:null!==(N=null==t?void 0:t.checkin_staffs)&&void 0!==N?N:null,services:null!==(O=null==t?void 0:t.services)&&void 0!==O?O:null,staffs:null!==(P=null==t?void 0:t.staffs)&&void 0!==P?P:null,payment_payment_id:null!==(M=null==t?void 0:t.payment_payment_id)&&void 0!==M?M:null,payment_order_id:null!==(D=null==t?void 0:t.payment_order_id)&&void 0!==D?D:null,tip:null!==(b=null==t?void 0:t.tip)&&void 0!==b?b:null,order_batch:Et(null==t?void 0:t.order_batch),visit_count:null!==(x=null==t?void 0:t.visit_count)&&void 0!==x?x:null,refund_amount:null!==(L=null==t?void 0:t.refund_amount)&&void 0!==L?L:null,last_four:null!==(k=null==t?void 0:t.last_four)&&void 0!==k?k:null,gift_card_price:null!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,pax_standalone_active:null!==(w=null==t?void 0:t.pax_standalone_active)&&void 0!==w?w:null,card_type:null!==(V=null==t?void 0:t.card_type)&&void 0!==V?V:null,entry_type:null!==(F=null==t?void 0:t.entry_type)&&void 0!==F?F:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>It(t))):null,amount_info:null!==(B=null==t?void 0:t.amount_info)&&void 0!==B?B:null,tip_by_credit_card:null!==(q=null==t?void 0:t.tip_by_credit_card)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,customer_type:null!==(H=null==t?void 0:t.customer_type)&&void 0!==H?H:null,order_payment_method:null!==(Y=null==t?void 0:t.order_payment_method)&&void 0!==Y?Y:null,deposit:null!==(j=null==t?void 0:t.deposit)&&void 0!==j?j:null,product_subtotal:null!==(W=null==t?void 0:t.product_subtotal)&&void 0!==W?W:null,service_subtotal:null!==(K=null==t?void 0:t.service_subtotal)&&void 0!==K?K:null,staff_code:null!==(J=null==t?void 0:t.staff_code)&&void 0!==J?J:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInReport(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkin/site/report",query:t});return function(t){var e,i,n,o,s,r;return{all:null!==(e=null==t?void 0:t.all)&&void 0!==e?e:null,pending:null!==(i=null==t?void 0:t.pending)&&void 0!==i?i:null,processing:null!==(n=null==t?void 0:t.processing)&&void 0!==n?n:null,cancelled:null!==(o=null==t?void 0:t.cancelled)&&void 0!==o?o:null,done:null!==(s=null==t?void 0:t.done)&&void 0!==s?s:null,settlement_fail:null!==(r=null==t?void 0:t.settlement_fail)&&void 0!==r?r:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getLastCheckIn(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkin/site/check-update",query:t});return function(t){var e,i;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,updated_at:null!==(i=null==t?void 0:t.updated_at)&&void 0!==i?i:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/checkin/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>Rt(t)))}))}static getCheckInInfo(t){return z(this,void 0,void 0,(function*(){return Rt((yield this.client.get({path:"/v1/pos/checkin/site/info",query:t})).result.data)}))}static searchCheckIn(t){return z(this,void 0,void 0,(function*(){return function(t){return{customer:(null==t?void 0:t.customer)?null==t?void 0:t.customer.map((t=>function(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,full_name:null!==(i=null==t?void 0:t.full_name)&&void 0!==i?i:null,phone:null!==(n=null==t?void 0:t.phone)&&void 0!==n?n:null,visit_count:null!==(o=null==t?void 0:t.visit_count)&&void 0!==o?o:null,last_visited:null!==(s=null==t?void 0:t.last_visited)&&void 0!==s?s:null,customer_point:null!==(r=null==t?void 0:t.customer_point)&&void 0!==r?r:null,customer_type:null!==(a=null==t?void 0:t.customer_type)&&void 0!==a?a:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_name:null!==(i=null==t?void 0:t.customer_name)&&void 0!==i?i:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n:null,employee_name:null!==(o=null==t?void 0:t.employee_name)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,order_status:null!==(r=null==t?void 0:t.order_status)&&void 0!==r?r:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null}}(t))):null}}(t))):null}}((yield this.client.get({path:"v1/pos/checkin/site/global-search",query:t})).result.data)}))}}function At(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,point:null!==(i=null==t?void 0:t.point)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,is_active:null!==(r=null==t?void 0:t.is_active)&&void 0!==r?r:null,logic_type:null!==(a=null==t?void 0:t.logic_type)&&void 0!==a?a:null,logic_value:null!==(l=null==t?void 0:t.logic_value)&&void 0!==l?l:null}}function Nt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function Ot(t){var e,i,n,o,s,r,a,l,d,u,p;return{data:(null==t?void 0:t.data)?null==t?void 0:t.data.map((t=>function(t){var e,i,n,o,s;return{staff_id:null!==(e=null==t?void 0:t.staff_id)&&void 0!==e?e:null,staff_name:null!==(i=null==t?void 0:t.staff_name)&&void 0!==i?i:null,value_type:null!==(n=null==t?void 0:t.value_type)&&void 0!==n?n:null,value:null!==(o=null==t?void 0:t.value)&&void 0!==o?o:null,total:null!==(s=null==t?void 0:t.total)&&void 0!==s?s:null}}(t))):null,id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data_after_charge:null!==(l=null==t?void 0:t.data_after_charge)&&void 0!==l?l:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d:null,giftcard_code:null!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u:null,is_updated:null!==(p=null==t?void 0:t.is_updated)&&void 0!==p?p:null}}function Pt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,checkout_id:null!==(i=null==t?void 0:t.checkout_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,promotion_code:null!==(r=null==t?void 0:t.promotion_code)&&void 0!==r?r:null,redeem_id:null!==(a=null==t?void 0:t.redeem_id)&&void 0!==a?a:null,total_discount:null!==(l=null==t?void 0:t.total_discount)&&void 0!==l?l:null,has_tax:null!==(d=null==t?void 0:t.has_tax)&&void 0!==d?d:null,tax_price:null!==(u=null==t?void 0:t.tax_price)&&void 0!==u?u:null,total_before_discount:null!==(p=null==t?void 0:t.total_before_discount)&&void 0!==p?p:null,total_after_discount:null!==(_=null==t?void 0:t.total_after_discount)&&void 0!==_?_:null,total_after_tax:null!==(c=null==t?void 0:t.total_after_tax)&&void 0!==c?c:null,payment_method:null!==(m=null==t?void 0:t.payment_method)&&void 0!==m?m:null,employee_id:null!==(f=null==t?void 0:t.employee_id)&&void 0!==f?f:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,created_at:null!==(v=null==t?void 0:t.created_at)&&void 0!==v?v:null,updated_at:null!==(g=null==t?void 0:t.updated_at)&&void 0!==g?g:null,type:null!==(T=null==t?void 0:t.type)&&void 0!==T?T:null,invoice_details:(null==t?void 0:t.invoice_details)?null==t?void 0:t.invoice_details.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,invoice_id:null!==(i=null==t?void 0:t.invoice_id)&&void 0!==i?i:null,product_type:null!==(n=null==t?void 0:t.product_type)&&void 0!==n?n:null,product_id:null!==(o=null==t?void 0:t.product_id)&&void 0!==o?o:null,product_name:null!==(s=null==t?void 0:t.product_name)&&void 0!==s?s:null,description:null!==(r=null==t?void 0:t.description)&&void 0!==r?r:null,duration:null!==(a=null==t?void 0:t.duration)&&void 0!==a?a:null,product_price:null!==(l=null==t?void 0:t.product_price)&&void 0!==l?l:null,quantity:null!==(d=null==t?void 0:t.quantity)&&void 0!==d?d:null,promotion_code:null!==(u=null==t?void 0:t.promotion_code)&&void 0!==u?u:null,discount_price:null!==(p=null==t?void 0:t.discount_price)&&void 0!==p?p:null,has_tax:null!==(_=null==t?void 0:t.has_tax)&&void 0!==_?_:null,tax_price:null!==(c=null==t?void 0:t.tax_price)&&void 0!==c?c:null,total_after_tax:null!==(m=null==t?void 0:t.total_after_tax)&&void 0!==m?m:null,total_before_discount:null!==(f=null==t?void 0:t.total_before_discount)&&void 0!==f?f:null,total_after_discount:null!==(h=null==t?void 0:t.total_after_discount)&&void 0!==h?h:null,detail:null!==(y=null==t?void 0:t.detail)&&void 0!==y?y:null,payment_method:null!==(v=null==t?void 0:t.payment_method)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,status:null!==(S=null==t?void 0:t.status)&&void 0!==S?S:null,created_at:null!==(E=null==t?void 0:t.created_at)&&void 0!==E?E:null,updated_at:null!==(I=null==t?void 0:t.updated_at)&&void 0!==I?I:null}}(t))):null}}function Mt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,first_name:null!==(i=null==t?void 0:t.first_name)&&void 0!==i?i:null,last_name:null!==(n=null==t?void 0:t.last_name)&&void 0!==n?n:null,full_name:null!==(o=null==t?void 0:t.full_name)&&void 0!==o?o:null,phone:null!==(s=null==t?void 0:t.phone)&&void 0!==s?s:null,email:null!==(r=null==t?void 0:t.email)&&void 0!==r?r:null,address:null!==(a=null==t?void 0:t.address)&&void 0!==a?a:null,city:null!==(l=null==t?void 0:t.city)&&void 0!==l?l:null,state:null!==(d=null==t?void 0:t.state)&&void 0!==d?d:null,country:null!==(u=null==t?void 0:t.country)&&void 0!==u?u:null,gender:null!==(p=null==t?void 0:t.gender)&&void 0!==p?p:null,birthday:null!==(_=null==t?void 0:t.birthday)&&void 0!==_?_:null,create_at:null!==(c=null==t?void 0:t.create_at)&&void 0!==c?c:null,update_at:null!==(m=null==t?void 0:t.update_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,group_id:null!==(h=null==t?void 0:t.group_id)&&void 0!==h?h:null,note:null!==(y=null==t?void 0:t.note)&&void 0!==y?y:null,parent_id:null!==(v=null==t?void 0:t.parent_id)&&void 0!==v?v:null,rating:null!==(g=null==t?void 0:t.rating)&&void 0!==g?g:null,is_yelp:null!==(T=null==t?void 0:t.is_yelp)&&void 0!==T?T:null,reachable_email:null!==(S=null==t?void 0:t.reachable_email)&&void 0!==S?S:null,reachable_push:null!==(E=null==t?void 0:t.reachable_push)&&void 0!==E?E:null,reachable_sms:null!==(I=null==t?void 0:t.reachable_sms)&&void 0!==I?I:null,visit_count:null!==(R=null==t?void 0:t.visit_count)&&void 0!==R?R:null,last_visited:null!==(C=null==t?void 0:t.last_visited)&&void 0!==C?C:null,image_url:null!==(A=null==t?void 0:t.image_url)&&void 0!==A?A:null,address2:null!==(N=null==t?void 0:t.address2)&&void 0!==N?N:null,postal_code:null!==(O=null==t?void 0:t.postal_code)&&void 0!==O?O:null,is_send_sms:null!==(P=null==t?void 0:t.is_send_sms)&&void 0!==P?P:null,is_import:null!==(M=null==t?void 0:t.is_import)&&void 0!==M?M:null,is_checked_in:null!==(D=null==t?void 0:t.is_checked_in)&&void 0!==D?D:null,current_point:null!==(b=null==t?void 0:t.current_point)&&void 0!==b?b:null,lifetime_point:null!==(x=null==t?void 0:t.lifetime_point)&&void 0!==x?x:null,type:null!==(L=null==t?void 0:t.type)&&void 0!==L?L:null,last_review:null!==(k=null==t?void 0:t.last_review)&&void 0!==k?k:null,review_type:null!==(U=null==t?void 0:t.review_type)&&void 0!==U?U:null}}function Dt(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function bt(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_code:null!==(i=null==t?void 0:t.order_code)&&void 0!==i?i:null,created_date:null!==(n=null==t?void 0:t.created_date)&&void 0!==n?n:null,created_time:null!==(o=null==t?void 0:t.created_time)&&void 0!==o?o:null,total_after_discount:null!==(s=null==t?void 0:t.total_after_discount)&&void 0!==s?s:null,qr_code:null!==(r=null==t?void 0:t.qr_code)&&void 0!==r?r:null}}function xt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{appointment_id:null!==(e=null==t?void 0:t.appointment_id)&&void 0!==e?e:null,checkin_number:null!==(i=null==t?void 0:t.checkin_number)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,customer_id:null!==(s=null==t?void 0:t.customer_id)&&void 0!==s?s:null,customer_name:null!==(r=null==t?void 0:t.customer_name)&&void 0!==r?r:null,customer_phone:null!==(a=null==t?void 0:t.customer_phone)&&void 0!==a?a:null,customer_email:null!==(l=null==t?void 0:t.customer_email)&&void 0!==l?l:null,customer_address:null!==(d=null==t?void 0:t.customer_address)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,currency:null!==(p=null==t?void 0:t.currency)&&void 0!==p?p:null,start_time:null!==(_=null==t?void 0:t.start_time)&&void 0!==_?_:null,expected_end_time:null!==(c=null==t?void 0:t.expected_end_time)&&void 0!==c?c:null,end_time:null!==(m=null==t?void 0:t.end_time)&&void 0!==m?m:null,picked_up_time:null!==(f=null==t?void 0:t.picked_up_time)&&void 0!==f?f:null,promotion_code:null!==(h=null==t?void 0:t.promotion_code)&&void 0!==h?h:null,total_before_discount:null!==(y=null==t?void 0:t.total_before_discount)&&void 0!==y?y:null,total_after_discount:null!==(v=null==t?void 0:t.total_after_discount)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,type:null!==(S=null==t?void 0:t.type)&&void 0!==S?S:null,note:null!==(E=null==t?void 0:t.note)&&void 0!==E?E:null,owner_note:null!==(I=null==t?void 0:t.owner_note)&&void 0!==I?I:null,order_status:null!==(R=null==t?void 0:t.order_status)&&void 0!==R?R:null,status:null!==(C=null==t?void 0:t.status)&&void 0!==C?C:null,created_at:null!==(A=null==t?void 0:t.created_at)&&void 0!==A?A:null,updated_at:null!==(N=null==t?void 0:t.updated_at)&&void 0!==N?N:null,cancel_reason:null!==(O=null==t?void 0:t.cancel_reason)&&void 0!==O?O:null,delivered_time:null!==(P=null==t?void 0:t.delivered_time)&&void 0!==P?P:null,completed_time:null!==(M=null==t?void 0:t.completed_time)&&void 0!==M?M:null,order_code:null!==(D=null==t?void 0:t.order_code)&&void 0!==D?D:null,checkin_id:null!==(b=null==t?void 0:t.checkin_id)&&void 0!==b?b:null,total_change:null!==(x=null==t?void 0:t.total_change)&&void 0!==x?x:null,tip:Ot(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(k=null==t?void 0:t.is_waiting)&&void 0!==k?k:null,is_recheck:null!==(U=null==t?void 0:t.is_recheck)&&void 0!==U?U:null,gift_card_price:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,pax_standalone_active:null!==(V=null==t?void 0:t.pax_standalone_active)&&void 0!==V?V:null,ach_payment_active:null!==(F=null==t?void 0:t.ach_payment_active)&&void 0!==F?F:null,ach_payment_data:null!==(B=null==t?void 0:t.ach_payment_data)&&void 0!==B?B:null,total_cash_discount:null!==(q=null==t?void 0:t.total_cash_discount)&&void 0!==q?q:null,is_tip_on_device:null!==(G=null==t?void 0:t.is_tip_on_device)&&void 0!==G?G:null,tip_by_credit_card:null!==(H=null==t?void 0:t.tip_by_credit_card)&&void 0!==H?H:null,service_fee:null!==(Y=null==t?void 0:t.service_fee)&&void 0!==Y?Y:null,external_credit_card:null!==(j=null==t?void 0:t.external_credit_card)&&void 0!==j?j:null,qr_code:null!==(W=null==t?void 0:t.qr_code)&&void 0!==W?W:null,pos_key:null!==(K=null==t?void 0:t.pos_key)&&void 0!==K?K:null,pos_status:null!==(J=null==t?void 0:t.pos_status)&&void 0!==J?J:null,invoice:Pt(null==t?void 0:t.invoice),visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:Mt(null==t?void 0:t.customer),list_promotion:null!==(X=null==t?void 0:t.list_promotion)&&void 0!==X?X:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>At(t))):null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,discount_type:null!==(s=null==t?void 0:t.discount_type)&&void 0!==s?s:null,discount_value:null!==(r=null==t?void 0:t.discount_value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,total_value:null!==(u=null==t?void 0:t.total_value)&&void 0!==u?u:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}(t))):null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,item_variant:null!==(i=null==t?void 0:t.item_ariant)&&void 0!==i?i:null,item_modifier:null!==(n=null==t?void 0:t.item_modifier)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,order_id:null!==(s=null==t?void 0:t.order_id)&&void 0!==s?s:null,item_id:null!==(r=null==t?void 0:t.item_id)&&void 0!==r?r:null,quantity:null!==(a=null==t?void 0:t.quantity)&&void 0!==a?a:null,item_name:null!==(l=null==t?void 0:t.item_name)&&void 0!==l?l:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d:null,note:null!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(p=null==t?void 0:t.owner_note)&&void 0!==p?p:null,status:null!==(_=null==t?void 0:t.status)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,cancel_reason:null!==(f=null==t?void 0:t.cancel_reason)&&void 0!==f?f:null,item_type:null!==(h=null==t?void 0:t.item_type)&&void 0!==h?h:null,staff_id:null!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(v=null==t?void 0:t.staff_name)&&void 0!==v?v:null,combo_id:null!==(g=null==t?void 0:t.combo_id)&&void 0!==g?g:null,sub_total:null!==(T=null==t?void 0:t.sub_total)&&void 0!==T?T:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,quantity:null!==(r=null==t?void 0:t.quantity)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,staff_id:null!==(l=null==t?void 0:t.staff_id)&&void 0!==l?l:null,combo_name:null!==(d=null==t?void 0:t.combo_name)&&void 0!==d?d:null,combo_id:null!==(u=null==t?void 0:t.combo_id)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,gift_card_code:null!==(_=null==t?void 0:t.gift_card_code)&&void 0!==_?_:null}}(t))):null}}(t))):null,created_date:null!==(Z=null==t?void 0:t.created_date)&&void 0!==Z?Z:null,created_time:null!==(tt=null==t?void 0:t.created_time)&&void 0!==tt?tt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null}}(t))):null,refund_amount:null!==(et=null==t?void 0:t.refund_amount)&&void 0!==et?et:null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(nt=null==t?void 0:t.payment_order_id)&&void 0!==nt?nt:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e;return{staff_name:null!==(e=null==t?void 0:t.staff_name)&&void 0!==e?e:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,note:null!==(n=null==t?void 0:t.note)&&void 0!==n?n:null,price:null!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(s=null==t?void 0:t.supply_share)&&void 0!==s?s:null,base_service_price:null!==(r=null==t?void 0:t.base_service_price)&&void 0!==r?r:null,card_charge_value:null!==(a=null==t?void 0:t.card_charge_value)&&void 0!==a?a:null,discount_charge_value:null!==(l=null==t?void 0:t.discount_charge_value)&&void 0!==l?l:null,tip_paid:null!==(d=null==t?void 0:t.tip_paid)&&void 0!==d?d:null,tip_on_credit_card_share:null!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(p=null==t?void 0:t.commission)&&void 0!==p?p:null,cash_discount:null!==(_=null==t?void 0:t.cash_discount)&&void 0!==_?_:null,additional_data:null!==(c=null==t?void 0:t.additional_data)&&void 0!==c?c:null}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}(t))):null,order_batch:Nt(null==t?void 0:t.order_batch),last_four:null!==(ot=null==t?void 0:t.last_four)&&void 0!==ot?ot:null,customer_point:null!==(st=null==t?void 0:t.customer_point)&&void 0!==st?st:null,card_type:null!==(rt=null==t?void 0:t.card_type)&&void 0!==rt?rt:null,entry_type:null!==(at=null==t?void 0:t.entry_type)&&void 0!==at?at:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>Dt(t))):null,amount_info:null!==(lt=null==t?void 0:t.amount_info)&&void 0!==lt?lt:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt:null,tax_product:null!==(ut=null==t?void 0:t.tax_product)&&void 0!==ut?ut:null,tax_service:null!==(pt=null==t?void 0:t.tax_service)&&void 0!==pt?pt:null,deposit:null!==(_t=null==t?void 0:t.deposit)&&void 0!==_t?_t:null,product_subtotal:null!==(ct=null==t?void 0:t.product_subtotal)&&void 0!==ct?ct:null,service_subtotal:null!==(mt=null==t?void 0:t.service_subtotal)&&void 0!==mt?mt:null}}function Lt(t){var e,i,n,o;return{totalCount:null!==(e=null==t?void 0:t.totalCount)&&void 0!==e?e:null,pageCount:null!==(i=null==t?void 0:t.pageCount)&&void 0!==i?i:null,currentPage:null!==(n=null==t?void 0:t.currentPage)&&void 0!==n?n:null,perPage:null!==(o=null==t?void 0:t.perPage)&&void 0!==o?o:null}}function kt(t,e){var i,n,o,s;return{data:((null===(n=null===(i=null==t?void 0:t.result)||void 0===i?void 0:i.data)||void 0===n?void 0:n.items)||[]).map((t=>e(t))),_meta:Lt(null===(s=null===(o=null==t?void 0:t.result)||void 0===o?void 0:o.data)||void 0===s?void 0:s._meta)}}Ct.API_VERSION=C.V1;class Ut extends mt{static postUpdateInService(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/checkout/form/update-inservice",data:t});return function(t){var e,i,n;return Object.assign(Object.assign({},xt(t)),{checkin_number:null!==(e=null==t?void 0:t.checkin_number)&&void 0!==e?e:null,appointment_id:null!==(i=null==t?void 0:t.appointment_id)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null})}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getItemList(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/item/site/list",query:t})}))}static getCheckOutHistoryList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkout/history/list",query:t}),xt)}))}static getCheckOutInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/info",query:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutHistoryInfo(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkout/history/info",query:t}),bt)}))}static getCheckOutBatchCloseSummary(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/get-batch-close-summary",query:t});return function(t){var e,i;return{amount:null!==(e=null==t?void 0:t.amount)&&void 0!==e?e:null,count:null!==(i=null==t?void 0:t.count)&&void 0!==i?i:null,summary:function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,card_amount_count:null!==(i=null==t?void 0:t.card_amount_count)&&void 0!==i?i:null,cash_amount:null!==(n=null==t?void 0:t.cash_amount)&&void 0!==n?n:null,cash_amount_count:null!==(o=null==t?void 0:t.cash_amount_count)&&void 0!==o?o:null,check_amount:null!==(s=null==t?void 0:t.check_amount)&&void 0!==s?s:null,check_amount_count:null!==(r=null==t?void 0:t.check_amount_count)&&void 0!==r?r:null,giftcard_amount:null!==(a=null==t?void 0:t.giftcard_amount)&&void 0!==a?a:null,giftcard_amount_count:null!==(l=null==t?void 0:t.giftcard_amount_count)&&void 0!==l?l:null,ach_amount:null!==(d=null==t?void 0:t.ach_amount)&&void 0!==d?d:null,ach_amount_count:null!==(u=null==t?void 0:t.ach_amount_count)&&void 0!==u?u:null,external_cc_amount:null!==(p=null==t?void 0:t.external_cc_amount)&&void 0!==p?p:null,external_cc_amount_count:null!==(_=null==t?void 0:t.external_cc_amount_count)&&void 0!==_?_:null,subtotal:null!==(c=null==t?void 0:t.subtotal)&&void 0!==c?c:null,tax:null!==(m=null==t?void 0:t.tax)&&void 0!==m?m:null,tip:null!==(f=null==t?void 0:t.tip)&&void 0!==f?f:null,discount:null!==(h=null==t?void 0:t.discount)&&void 0!==h?h:null,redeem:null!==(y=null==t?void 0:t.redeem)&&void 0!==y?y:null,total_income:null!==(v=null==t?void 0:t.total_income)&&void 0!==v?v:null,change:null!==(g=null==t?void 0:t.change)&&void 0!==g?g:null,order_count:null!==(T=null==t?void 0:t.order_count)&&void 0!==T?T:null,cash_discount:null!==(S=null==t?void 0:t.cash_discount)&&void 0!==S?S:null,service_fee:null!==(E=null==t?void 0:t.service_fee)&&void 0!==E?E:null,total:null!==(I=null==t?void 0:t.total)&&void 0!==I?I:null}}(null==t?void 0:t.summary)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutAddItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/add",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutRemoveItem(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/remove",data:t})}))}static postCheckOutSubmitOrder(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t})}))}static postCheckOutUpdateStatus(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-status",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateOrderWithCreditCardPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/update-order-with-credit-card-payment",data:t})}))}static postCheckOutDoAuth(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/do-auth",data:t})}))}static postCheckOutVoidPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/void-payment",data:t})}))}static postCheckOutRefundPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/refund-payment",data:t})}))}static postCheckOutAdjustTipPayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/adjust-tip",data:t})}))}static postCheckOutCloseOut(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/closeout",data:t})}))}static postCheckOutUpdateIsWaiting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-is-wait",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountPromotion(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/promotion",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountRedeem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/redeem",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateTipData(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/tip/update",data:t})}))}static postCheckOutItemAdjustPrice(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/adjust-price",data:t})}))}static postCheckOutUpdatePaymentData(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-payment-data",data:t});return function(t){var e,i,n,o,s,r,a;return{external_id:null!==(e=null==t?void 0:t.external_id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,payment_status:null!==(n=null==t?void 0:t.payment_status)&&void 0!==n?n:null,payment_data:null!==(o=null==t?void 0:t.payment_data)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,id:null!==(a=null==t?void 0:t.id)&&void 0!==a?a:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutItemAddCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/add-combo",data:t})}))}static getCheckoutResendRating(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/form/send-mercure",query:t});return function(t){return{sent_id:null==t?void 0:t.sent_id,topic:null==t?void 0:t.topic}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCustomerAchAvailable(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/check-customer",data:t})}))}static postAchResend(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/resend-transaction",data:t})}))}static postAchVoid(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/cancel-transaction",data:t})}))}static postUpdateOrderSuccessToSettled(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-success-to-settled",data:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null}}(t)))}))}static postCalculateTax(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/calculate-tax",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCalculatePayment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/calculate-payment",data:t})}))}static postCheckOutDeleteByStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/delete-by-staff",data:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt,ft,ht,yt,vt,gt,Tt,St,Et;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:null!==(D=null==t?void 0:t.tip)&&void 0!==D?D:null,tax:null!==(b=null==t?void 0:t.tax)&&void 0!==b?b:null,is_waiting:null!==(x=null==t?void 0:t.is_waiting)&&void 0!==x?x:null,is_recheck:null!==(L=null==t?void 0:t.is_recheck)&&void 0!==L?L:null,gift_card_price:null!==(k=null==t?void 0:t.gift_card_price)&&void 0!==k?k:null,pax_standalone_active:null!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,ach_payment_active:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,ach_payment_data:null!==(V=null==t?void 0:t.gift_card_price)&&void 0!==V?V:null,total_cash_discount:null!==(F=null==t?void 0:t.total_cash_discount)&&void 0!==F?F:null,is_tip_on_device:null!==(B=null==t?void 0:t.is_tip_on_device)&&void 0!==B?B:null,tip_by_credit_card:null!==(q=null==t?void 0:t.tip_by_credit_card)&&void 0!==q?q:null,service_fee:null!==(G=null==t?void 0:t.service_fee)&&void 0!==G?G:null,external_credit_card:null!==(H=null==t?void 0:t.external_credit_card)&&void 0!==H?H:null,qr_code:null!==(Y=null==t?void 0:t.qr_code)&&void 0!==Y?Y:null,in_service:null!==(j=null==t?void 0:t.in_service)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:null!==(J=null==t?void 0:t.invoice)&&void 0!==J?J:null,visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:null!==(X=null==t?void 0:t.customer)&&void 0!==X?X:null,list_promotion:null!==(Z=null==t?void 0:t.list_promotion)&&void 0!==Z?Z:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>At(t))):null,order_discount:null!==(tt=null==t?void 0:t.order_discount)&&void 0!==tt?tt:null,order_items:null!==(et=null==t?void 0:t.order_items)&&void 0!==et?et:null,created_date:null!==(it=null==t?void 0:t.created_date)&&void 0!==it?it:null,created_time:null!==(nt=null==t?void 0:t.created_time)&&void 0!==nt?nt:null,payment:null!==(ot=null==t?void 0:t.payment)&&void 0!==ot?ot:null,refund_amount:null!==(st=null==t?void 0:t.refund_amount)&&void 0!==st?st:null,payment_payment_id:null!==(rt=null==t?void 0:t.payment_payment_id)&&void 0!==rt?rt:null,payment_order_id:null!==(at=null==t?void 0:t.payment_order_id)&&void 0!==at?at:null,services:null!==(lt=null==t?void 0:t.services)&&void 0!==lt?lt:null,staffs:null!==(dt=null==t?void 0:t.staffs)&&void 0!==dt?dt:null,order_batch:Nt(null==t?void 0:t.order_batch),last_four:null!==(ut=null==t?void 0:t.last_four)&&void 0!==ut?ut:null,customer_point:null!==(pt=null==t?void 0:t.customer_point)&&void 0!==pt?pt:null,card_type:null!==(_t=null==t?void 0:t.card_type)&&void 0!==_t?_t:null,entry_type:null!==(ct=null==t?void 0:t.entry_type)&&void 0!==ct?ct:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>Dt(t))):null,amount_info:null!==(mt=null==t?void 0:t.amount_info)&&void 0!==mt?mt:null,customer_type:null!==(ft=null==t?void 0:t.customer_type)&&void 0!==ft?ft:null,tax_product:null!==(ht=null==t?void 0:t.tax_product)&&void 0!==ht?ht:null,tax_service:null!==(yt=null==t?void 0:t.tax_service)&&void 0!==yt?yt:null,deposit:null!==(vt=null==t?void 0:t.deposit)&&void 0!==vt?vt:null,product_subtotal:null!==(gt=null==t?void 0:t.product_subtotal)&&void 0!==gt?gt:null,service_subtotal:null!==(Tt=null==t?void 0:t.service_subtotal)&&void 0!==Tt?Tt:null,checkin_number:null!==(St=null==t?void 0:t.checkin_number)&&void 0!==St?St:null,appointment_id:null!==(Et=null==t?void 0:t.appointment_id)&&void 0!==Et?Et:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateItem(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-item",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-staff",data:t});return null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data}))}static postCheckOutInvoiceSend(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/invoice/send",data:t});return function(t){var e;return{order_id:null!==(e=null==t?void 0:t.order_id)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function wt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;function T(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,type:null!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,category_id:null!==(l=null==t?void 0:t.category_id)&&void 0!==l?l:null,onwer_id:null!==(d=null==t?void 0:t.onwer_id)&&void 0!==d?d:null,price:null!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,point_bonus:null!==(_=null==t?void 0:t.point_bonus)&&void 0!==_?_:null,duration:null!==(c=null==t?void 0:t.duration)&&void 0!==c?c:null,buffer_time:null!==(m=null==t?void 0:t.buffer_time)&&void 0!==m?m:null,web_booking_visible:null!==(f=null==t?void 0:t.web_booking_visible)&&void 0!==f?f:null,supply_share:null!==(h=null==t?void 0:t.supply_share)&&void 0!==h?h:null,show_on_checkin:null!==(y=null==t?void 0:t.show_on_checkin)&&void 0!==y?y:null,show_on_booking:null!==(v=null==t?void 0:t.show_on_booking)&&void 0!==v?v:null,show_on_pos:null!==(g=null==t?void 0:t.show_on_pos)&&void 0!==g?g:null,image_base_url:null!==(T=null==t?void 0:t.image_base_url)&&void 0!==T?T:null,image_path:null!==(S=null==t?void 0:t.image_path)&&void 0!==S?S:null}}return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,image:null!==(o=null==t?void 0:t.image)&&void 0!==o?o:null,category_id:null!==(s=null==t?void 0:t.category_id)&&void 0!==s?s:null,note:null!==(r=null==t?void 0:t.note)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,visibility:null!==(l=null==t?void 0:t.visibility)&&void 0!==l?l:null,prepare_duration:null!==(d=null==t?void 0:t.prepare_duration)&&void 0!==d?d:null,nutritional_information:null!==(u=null==t?void 0:t.nutritional_information)&&void 0!==u?u:null,slug:null!==(p=null==t?void 0:t.slug)&&void 0!==p?p:null,modifier:null!==(_=null==t?void 0:t.modifier)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,sku:null!==(h=null==t?void 0:t.sku)&&void 0!==h?h:null,price:null!==(y=null==t?void 0:t.price)&&void 0!==y?y:null,duration:null!==(v=null==t?void 0:t.duration)&&void 0!==v?v:null,priority:null!==(g=null==t?void 0:t.priority)&&void 0!==g?g:null,combo_item:(null==t?void 0:t.combo_item)?null==t?void 0:t.combo_item.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,item_combo_id:null!==(i=null==t?void 0:t.item_combo_id)&&void 0!==i?i:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n:null,item_type:null!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,price:null!==(s=null==t?void 0:t.price)&&void 0!==s?s:null,priority:null!==(r=null==t?void 0:t.priority)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null,item_detail:T(null==t?void 0:t.item_detail)}}(t))):null}}Ut.API_VERSION=C.V1;class Vt extends mt{static getComboSiteInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/combo/site/info",query:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getComboSiteList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/combo/site/list",query:t}),wt)}))}static sortCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/product/form/sort",data:t}),null}))}static createCombo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/combo/form/create",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCombo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/combo/form/update",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteCombo(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/combo/form/update-status",data:t}),null}))}}function Ft(t){return{item_name:null==t?void 0:t.item_name,staff_name:null==t?void 0:t.staff_name}}Vt.API_VERSION=C.V1;class Bt extends mt{static getCustomerList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/customer/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i;return{customer_name:null!==(e=null==t?void 0:t.customer_name)&&void 0!==e?e:null,customer_phone:null!==(i=null==t?void 0:t.customer_phone)&&void 0!==i?i:null}}(t)))}))}static getCustomerDetail(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f;return{birthday:null!==(e=null==t?void 0:t.birthday)&&void 0!==e?e:null,checkin_count:null!==(i=null==t?void 0:t.checkin_count)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,groups:(null==t?void 0:t.groups)?t.groups.map((t=>function(t){var e;return{group_id:null!==(e=null==t?void 0:t.group_id)&&void 0!==e?e:null}}(t))):null,is_send_sms:null!==(o=null==t?void 0:t.is_send_sms)&&void 0!==o?o:null,last_visited:null!==(s=null==t?void 0:t.last_visited)&&void 0!==s?s:null,lifetime_point:null!==(r=null==t?void 0:t.lifetime_point)&&void 0!==r?r:null,note:null!==(a=null==t?void 0:t.note)&&void 0!==a?a:null,id:null!==(l=null==t?void 0:t.id)&&void 0!==l?l:null,phone:null!==(d=null==t?void 0:t.phone)&&void 0!==d?d:null,full_name:null!==(u=null==t?void 0:t.full_name)&&void 0!==u?u:null,email:null!==(p=null==t?void 0:t.email)&&void 0!==p?p:null,visit_count:null!==(_=null==t?void 0:t.visit_count)&&void 0!==_?_:null,point:null!==(c=null==t?void 0:t.point)&&void 0!==c?c:null,latest_reviews:null!==(m=null==t?void 0:t.latest_reviews)&&void 0!==m?m:null,type:null!==(f=null==t?void 0:t.type)&&void 0!==f?f:null}}((yield this.client.get({path:"/v1/pos/customer/site/detail",query:t})).result.data)}))}static getCustomerHistory(t){return z(this,void 0,void 0,(function*(){return function(t){return{checkin:(null==t?void 0:t.checkin)?null==t?void 0:t.checkin.map((t=>function(t){var e,i,n,o;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,point_bonus:null!==(o=null==t?void 0:t.point_bonus)&&void 0!==o?o:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,total_after_discount:null!==(n=null==t?void 0:t.total_after_discount)&&void 0!==n?n:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Ft(t))):null}}(t))):null,appointment:(null==t?void 0:t.appointment)?null==t?void 0:t.appointment.map((t=>function(t){var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,start_time:null!==(o=null==t?void 0:t.start_time)&&void 0!==o?o:null,end_time_expected:null!==(s=null==t?void 0:t.end_time_expected)&&void 0!==s?s:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>function(t){var e,i;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,employee_name:null!==(i=null==t?void 0:t.employee_name)&&void 0!==i?i:null}}(t))):null}}(t))):null}}((yield this.client.get({path:"/v1/pos/customer/site/history",query:t})).result.data)}))}static updateCustomer(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,created_at:null!==(i=null==t?void 0:t.created_at)&&void 0!==i?i:null,total_after_discount:null!==(n=null==t?void 0:t.total_after_discount)&&void 0!==n?n:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Ft(t))):null}}((yield this.client.post({path:"/v1/pos/customer/form/update",data:t})).result.data)}))}}Bt.API_VERSION=C.V1;class qt extends mt{static getCheckGiftCard(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/giftcard/site/check-gift-card",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,code:null!==(i=null==t?void 0:t.code)&&void 0!==i?i:null,amount:null!==(n=null==t?void 0:t.amount)&&void 0!==n?n:null,balance:null!==(o=null==t?void 0:t.balance)&&void 0!==o?o:null,price:null!==(s=null==t?void 0:t.price)&&void 0!==s?s:null,data:null!==(r=null==t?void 0:t.data)&&void 0!==r?r:null,customer_id:null!==(a=null==t?void 0:t.customer_id)&&void 0!==a?a:null,customer_name:null!==(l=null==t?void 0:t.customer_name)&&void 0!==l?l:null,customer_phone:null!==(d=null==t?void 0:t.customer_phone)&&void 0!==d?d:null,type:null!==(u=null==t?void 0:t.type)&&void 0!==u?u:null,source:null!==(p=null==t?void 0:t.source)&&void 0!==p?p:null,staff_id:null!==(_=null==t?void 0:t.staff_id)&&void 0!==_?_:null,staff_name:null!==(c=null==t?void 0:t.staff_name)&&void 0!==c?c:null,status:null!==(m=null==t?void 0:t.status)&&void 0!==m?m:null,created_at:null!==(f=null==t?void 0:t.created_at)&&void 0!==f?f:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h:null,order_id:null!==(y=null==t?void 0:t.order_id)&&void 0!==y?y:null,last_used_order_id:null!==(v=null==t?void 0:t.last_used_order_id)&&void 0!==v?v:null,history:null!==(g=null==t?void 0:t.history)&&void 0!==g?g:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postResetGiftCard(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/reset-gift-card",data:t}),null}))}}qt.API_VERSION=C.V1;class Gt extends mt{static getIncomeHistory(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/history/site/income-history",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G;return{title:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:null,income:null!==(i=null==t?void 0:t.income)&&void 0!==i?i:null,summary:{date:null!==(o=null===(n=null==t?void 0:t.summary)||void 0===n?void 0:n.date)&&void 0!==o?o:null,display_date:null!==(r=null===(s=null==t?void 0:t.summary)||void 0===s?void 0:s.date)&&void 0!==r?r:null,display_date_time:null!==(l=null===(a=null==t?void 0:t.summary)||void 0===a?void 0:a.date)&&void 0!==l?l:null,card_amount:null!==(u=null===(d=null==t?void 0:t.summary)||void 0===d?void 0:d.card_amount)&&void 0!==u?u:null,external_cc_amount:null!==(_=null===(p=null==t?void 0:t.summary)||void 0===p?void 0:p.external_cc_amount)&&void 0!==_?_:null,cash_amount:null!==(m=null===(c=null==t?void 0:t.summary)||void 0===c?void 0:c.cash_amount)&&void 0!==m?m:null,giftcard_amount:null!==(h=null===(f=null==t?void 0:t.summary)||void 0===f?void 0:f.giftcard_amount)&&void 0!==h?h:null,check_amount:null!==(v=null===(y=null==t?void 0:t.summary)||void 0===y?void 0:y.check_amount)&&void 0!==v?v:null,ach_amount:null!==(T=null===(g=null==t?void 0:t.summary)||void 0===g?void 0:g.ach_amount)&&void 0!==T?T:null,subtotal:null!==(E=null===(S=null==t?void 0:t.summary)||void 0===S?void 0:S.subtotal)&&void 0!==E?E:null,tax:null!==(R=null===(I=null==t?void 0:t.summary)||void 0===I?void 0:I.tax)&&void 0!==R?R:null,discount:null!==(A=null===(C=null==t?void 0:t.summary)||void 0===C?void 0:C.discount)&&void 0!==A?A:null,tip:null!==(O=null===(N=null==t?void 0:t.summary)||void 0===N?void 0:N.tip)&&void 0!==O?O:null,redeem:null!==(M=null===(P=null==t?void 0:t.summary)||void 0===P?void 0:P.redeem)&&void 0!==M?M:null,income:null!==(b=null===(D=null==t?void 0:t.summary)||void 0===D?void 0:D.income)&&void 0!==b?b:null,change:null!==(L=null===(x=null==t?void 0:t.summary)||void 0===x?void 0:x.change)&&void 0!==L?L:null,cash_discount:null!==(U=null===(k=null==t?void 0:t.summary)||void 0===k?void 0:k.cash_discount)&&void 0!==U?U:null,service_fee:null!==(V=null===(w=null==t?void 0:t.summary)||void 0===w?void 0:w.service_fee)&&void 0!==V?V:null,deposit:null!==(B=null===(F=null==t?void 0:t.summary)||void 0===F?void 0:F.deposit)&&void 0!==B?B:null,total:null!==(G=null===(q=null==t?void 0:t.summary)||void 0===q?void 0:q.total)&&void 0!==G?G:null},batches:(null==t?void 0:t.batches)?null==t?void 0:t.batches.map((t=>function(t){var e,i,n,o;return{order_id:null!==(e=null==t?void 0:t.order_id)&&void 0!==e?e:null,customer_name:null!==(i=null==t?void 0:t.customer_name)&&void 0!==i?i:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,subtotal:null!==(o=null==t?void 0:t.subtotal)&&void 0!==o?o:null}}(t))):null}}(t)))}))}static getStaffDailyIncome(t){var e,i,n;return z(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/staff/site/list-income-v1",query:t});return"number"==typeof(null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)?null===(i=null==o?void 0:o.result)||void 0===i?void 0:i.data:((null===(n=null==o?void 0:o.result)||void 0===n?void 0:n.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,code:null!==(s=null==t?void 0:t.code)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,permission:(null==t?void 0:t.permission)?null==t?void 0:t.permission.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t))):null,setting_commission:null!==(a=null==t?void 0:t.setting_commission)&&void 0!==a?a:null,income:{commission:null!==(d=null===(l=null==t?void 0:t.income)||void 0===l?void 0:l.commission)&&void 0!==d?d:null,tip:null!==(p=null===(u=null==t?void 0:t.income)||void 0===u?void 0:u.tip)&&void 0!==p?p:null,working_hours:null!==(c=null===(_=null==t?void 0:t.income)||void 0===_?void 0:_.working_hours)&&void 0!==c?c:null,final_salary:null!==(f=null===(m=null==t?void 0:t.income)||void 0===m?void 0:m.final_salary)&&void 0!==f?f:null,income:null!==(y=null===(h=null==t?void 0:t.income)||void 0===h?void 0:h.income)&&void 0!==y?y:null,tip_credit_charge:null!==(g=null===(v=null==t?void 0:t.income)||void 0===v?void 0:v.tip_credit_charge)&&void 0!==g?g:null,card_charge:null!==(S=null===(T=null==t?void 0:t.income)||void 0===T?void 0:T.card_charge)&&void 0!==S?S:null,cash_bonus:null!==(I=null===(E=null==t?void 0:t.income)||void 0===E?void 0:E.cash_bonus)&&void 0!==I?I:null,supply_share:null!==(C=null===(R=null==t?void 0:t.income)||void 0===R?void 0:R.supply_share)&&void 0!==C?C:null,final_commission:null!==(N=null===(A=null==t?void 0:t.income)||void 0===A?void 0:A.final_commission)&&void 0!==N?N:null,cash_income:null!==(P=null===(O=null==t?void 0:t.income)||void 0===O?void 0:O.cash_income)&&void 0!==P?P:null,check_income:null!==(D=null===(M=null==t?void 0:t.income)||void 0===M?void 0:M.check_income)&&void 0!==D?D:null,wage_per_hours:null!==(x=null===(b=null==t?void 0:t.income)||void 0===b?void 0:b.wage_per_hours)&&void 0!==x?x:null},daily_service:null!==(L=null==t?void 0:t.daily_service)&&void 0!==L?L:null}}(t)))}))}}Gt.API_VERSION=C.V1;class Ht extends mt{static getPosKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/user/site/get-key-storage",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J;return{in_service_feature:null!==(e=null==t?void 0:t.in_service_feature)&&void 0!==e?e:null,ach_payment_active:null!==(i=null==t?void 0:t.ach_payment_active)&&void 0!==i?i:null,pax_standalone_active:null!==(n=null==t?void 0:t.pax_standalone_active)&&void 0!==n?n:null,staff_receipt_active:null!==(o=null==t?void 0:t.staff_receipt_active)&&void 0!==o?o:null,owner_receipt_active:null!==(s=null==t?void 0:t.owner_receipt_active)&&void 0!==s?s:null,customer_receipt_active:null!==(r=null==t?void 0:t.customer_receipt_active)&&void 0!==r?r:null,turn_passcode_active:null!==(a=null==t?void 0:t.turn_passcode_active)&&void 0!==a?a:null,turn_passcode:null!==(l=null==t?void 0:t.turn_passcode)&&void 0!==l?l:null,is_tip_on_device:null!==(d=null==t?void 0:t.is_tip_on_device)&&void 0!==d?d:null,is_print_on_clover:null!==(u=null==t?void 0:t.is_print_on_clover)&&void 0!==u?u:null,order_ticket_counter:null!==(p=null==t?void 0:t.order_ticket_counter)&&void 0!==p?p:null,appointment_calendar_active:null!==(_=null==t?void 0:t.appointment_calendar_active)&&void 0!==_?_:null,window_appointment_calendar_active:null!==(c=null==t?void 0:t.window_appointment_calendar_active)&&void 0!==c?c:null,mqtt:{id:null!==(f=null===(m=null==t?void 0:t.mqtt)||void 0===m?void 0:m.id)&&void 0!==f?f:null,username:null!==(y=null===(h=null==t?void 0:t.mqtt)||void 0===h?void 0:h.username)&&void 0!==y?y:null,password:null!==(g=null===(v=null==t?void 0:t.mqtt)||void 0===v?void 0:v.password)&&void 0!==g?g:null,config:{call_feature:null!==(E=null===(S=null===(T=null==t?void 0:t.mqtt)||void 0===T?void 0:T.config)||void 0===S?void 0:S.call_feature)&&void 0!==E?E:null}},order_page_staff_first:null!==(I=null==t?void 0:t.order_page_staff_first)&&void 0!==I?I:null,tax_calculating_mode:null!==(R=null==t?void 0:t.tax_calculating_mode)&&void 0!==R?R:null,cash_discount_active:{status:null!==(A=null===(C=null==t?void 0:t.cash_discount_active)||void 0===C?void 0:C.status)&&void 0!==A?A:null,value:null!==(O=null===(N=null==t?void 0:t.cash_discount_active)||void 0===N?void 0:N.value)&&void 0!==O?O:null,type:null!==(M=null===(P=null==t?void 0:t.cash_discount_active)||void 0===P?void 0:P.type)&&void 0!==M?M:null},tax_product:null!==(D=null==t?void 0:t.tax_product)&&void 0!==D?D:null,tax_service:null!==(b=null==t?void 0:t.tax_service)&&void 0!==b?b:null,service_fee:{id:null!==(L=null===(x=null==t?void 0:t.service_fee)||void 0===x?void 0:x.id)&&void 0!==L?L:null,fee:null!==(U=null===(k=null==t?void 0:t.service_fee)||void 0===k?void 0:k.fee)&&void 0!==U?U:null,status:null!==(V=null===(w=null==t?void 0:t.service_fee)||void 0===w?void 0:w.status)&&void 0!==V?V:null,created_at:null!==(B=null===(F=null==t?void 0:t.service_fee)||void 0===F?void 0:F.created_at)&&void 0!==B?B:null,updated_at:null!==(G=null===(q=null==t?void 0:t.service_fee)||void 0===q?void 0:q.updated_at)&&void 0!==G?G:null,state:null!==(Y=null===(H=null==t?void 0:t.service_fee)||void 0===H?void 0:H.state)&&void 0!==Y?Y:null},window_active:null!==(j=null==t?void 0:t.window_active)&&void 0!==j?j:null,qrCode:null!==(W=null==t?void 0:t.qrCode)&&void 0!==W?W:null,flex_checkin:null!==(K=null==t?void 0:t.flex_checkin)&&void 0!==K?K:null,pos_lite_version:null!==(J=null==t?void 0:t.pos_lite_version)&&void 0!==J?J:0}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ht.API_VERSION=C.V1;var Yt=i(35823),jt=i.n(Yt);const Wt=()=>({AU:"DD-MM-YYYY",US:"MM-DD-YYYY",DEFAULT:"DD-MM-YYYY"}[localStorage.getItem("country_code")||"DEFAULT"]);var Kt=i(27484),Jt=i.n(Kt);function Qt(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,first_name:null!==(i=null==t?void 0:t.first_name)&&void 0!==i?i:null,last_name:null!==(n=null==t?void 0:t.last_name)&&void 0!==n?n:null,full_name:null!==(o=null==t?void 0:t.full_name)&&void 0!==o?o:null,phone:null!==(s=null==t?void 0:t.phone)&&void 0!==s?s:null,email:null!==(r=null==t?void 0:t.email)&&void 0!==r?r:null,address:null!==(a=null==t?void 0:t.address)&&void 0!==a?a:null,city:null!==(l=null==t?void 0:t.city)&&void 0!==l?l:null,state:null!==(d=null==t?void 0:t.state)&&void 0!==d?d:null,country:null!==(u=null==t?void 0:t.country)&&void 0!==u?u:null,gender:null!==(p=null==t?void 0:t.gender)&&void 0!==p?p:null,birthday:null!==(_=null==t?void 0:t.birthday)&&void 0!==_?_:null,create_at:null!==(c=null==t?void 0:t.create_at)&&void 0!==c?c:null,update_at:null!==(m=null==t?void 0:t.update_at)&&void 0!==m?m:null,status:null!==(f=null==t?void 0:t.status)&&void 0!==f?f:null,group_id:null!==(h=null==t?void 0:t.group_id)&&void 0!==h?h:null,note:null!==(y=null==t?void 0:t.note)&&void 0!==y?y:null,parent_id:null!==(v=null==t?void 0:t.parent_id)&&void 0!==v?v:null,rating:null!==(g=null==t?void 0:t.rating)&&void 0!==g?g:null,is_yelp:null!==(T=null==t?void 0:t.is_yelp)&&void 0!==T?T:null,reachable_email:null!==(S=null==t?void 0:t.reachable_email)&&void 0!==S?S:null,reachable_push:null!==(E=null==t?void 0:t.reachable_push)&&void 0!==E?E:null,reachable_sms:null!==(I=null==t?void 0:t.reachable_sms)&&void 0!==I?I:null,visit_count:null!==(R=null==t?void 0:t.visit_count)&&void 0!==R?R:null,last_visited:null!==(C=null==t?void 0:t.last_visited)&&void 0!==C?C:null,image_url:null!==(A=null==t?void 0:t.image_url)&&void 0!==A?A:null,address2:null!==(N=null==t?void 0:t.address2)&&void 0!==N?N:null,postal_code:null!==(O=null==t?void 0:t.postal_code)&&void 0!==O?O:null,is_send_sms:null!==(P=null==t?void 0:t.is_send_sms)&&void 0!==P?P:null,is_import:null!==(M=null==t?void 0:t.is_import)&&void 0!==M?M:null,is_checked_in:null!==(D=null==t?void 0:t.is_checked_in)&&void 0!==D?D:null,current_point:null!==(b=null==t?void 0:t.current_point)&&void 0!==b?b:null,lifetime_point:null!==(x=null==t?void 0:t.lifetime_point)&&void 0!==x?x:null,type:null!==(L=null==t?void 0:t.type)&&void 0!==L?L:null,last_review:null!==(k=null==t?void 0:t.last_review)&&void 0!==k?k:null,review_type:null!==(U=null==t?void 0:t.review_type)&&void 0!==U?U:null}}function $t(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,discount_type:null!==(s=null==t?void 0:t.discount_type)&&void 0!==s?s:null,discount_value:null!==(r=null==t?void 0:t.discount_value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,total_value:null!==(u=null==t?void 0:t.total_value)&&void 0!==u?u:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}function zt(t){return{staff_name:null==t?void 0:t.staff_name,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p;return{item_name:null!==(e=null==t?void 0:t.item_name)&&void 0!==e?e:null,quantity:null!==(i=null==t?void 0:t.quantity)&&void 0!==i?i:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n:null,supply_share:null!==(o=null==t?void 0:t.supply_share)&&void 0!==o?o:null,base_service_price:null!==(s=null==t?void 0:t.base_service_price)&&void 0!==s?s:null,card_charge_value:null!==(r=null==t?void 0:t.card_charge_value)&&void 0!==r?r:null,discount_charge_value:null!==(a=null==t?void 0:t.discount_charge_value)&&void 0!==a?a:null,tip_paid:null!==(l=null==t?void 0:t.tip_paid)&&void 0!==l?l:null,tip_on_credit_card_share:null!==(d=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==d?d:null,commission:null!==(u=null==t?void 0:t.commission)&&void 0!==u?u:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null}}(t))):null}}function Xt(t){var e,i,n;return{employee_name:null!==(e=null==t?void 0:t.employee_name)&&void 0!==e?e:null,employee_image:null!==(i=null==t?void 0:t.employee_image)&&void 0!==i?i:null,employee_color:null!==(n=null==t?void 0:t.employee_color)&&void 0!==n?n:null}}function Zt(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,tip_type:null!==(r=null==t?void 0:t.tip_type)&&void 0!==r?r:null,total_tip:null!==(a=null==t?void 0:t.total_tip)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,data_after_charge:null!==(d=null==t?void 0:t.data_after_charge)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(p=null==t?void 0:t.giftcard_code)&&void 0!==p?p:null,is_updated:null!==(_=null==t?void 0:t.is_updated)&&void 0!==_?_:null}}function te(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,checkout_id:null!==(i=null==t?void 0:t.checkout_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,customer_name:null!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(s=null==t?void 0:t.customer_phone)&&void 0!==s?s:null,promotion_code:null!==(r=null==t?void 0:t.promotion_code)&&void 0!==r?r:null,redeem_id:null!==(a=null==t?void 0:t.redeem_id)&&void 0!==a?a:null,total_discount:null!==(l=null==t?void 0:t.total_discount)&&void 0!==l?l:null,has_tax:null!==(d=null==t?void 0:t.has_tax)&&void 0!==d?d:null,tax_price:null!==(u=null==t?void 0:t.tax_price)&&void 0!==u?u:null,total_before_discount:null!==(p=null==t?void 0:t.total_before_discount)&&void 0!==p?p:null,total_after_discount:null!==(_=null==t?void 0:t.total_after_discount)&&void 0!==_?_:null,total_after_tax:null!==(c=null==t?void 0:t.total_after_tax)&&void 0!==c?c:null,payment_method:null!==(m=null==t?void 0:t.payment_method)&&void 0!==m?m:null,employee_id:null!==(f=null==t?void 0:t.employee_id)&&void 0!==f?f:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,created_at:null!==(v=null==t?void 0:t.created_at)&&void 0!==v?v:null,updated_at:null!==(g=null==t?void 0:t.updated_at)&&void 0!==g?g:null,type:null!==(T=null==t?void 0:t.type)&&void 0!==T?T:null}}function ee(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,order_id:null!==(n=null==t?void 0:t.order_id)&&void 0!==n?n:null,external_id:null!==(o=null==t?void 0:t.external_id)&&void 0!==o?o:null,data:null!==(s=null==t?void 0:t.data)&&void 0!==s?s:null,amount:null!==(r=null==t?void 0:t.amount)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function ie(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m;return{card_amount:null!==(e=null==t?void 0:t.card_amount)&&void 0!==e?e:null,cash_amount:null!==(i=null==t?void 0:t.cash_amount)&&void 0!==i?i:null,check_amount:null!==(n=null==t?void 0:t.check_amount)&&void 0!==n?n:null,giftcard_amount:null!==(o=null==t?void 0:t.giftcard_amount)&&void 0!==o?o:null,ach_amount:null!==(s=null==t?void 0:t.ach_amount)&&void 0!==s?s:null,external_cc_amount:null!==(r=null==t?void 0:t.external_cc_amount)&&void 0!==r?r:null,subtotal:null!==(a=null==t?void 0:t.subtotal)&&void 0!==a?a:null,tax:null!==(l=null==t?void 0:t.tax)&&void 0!==l?l:null,tip:null!==(d=null==t?void 0:t.tip)&&void 0!==d?d:null,discount:null!==(u=null==t?void 0:t.discount)&&void 0!==u?u:null,redeem:null!==(p=null==t?void 0:t.redeem)&&void 0!==p?p:null,total_income:null!==(_=null==t?void 0:t.total_income)&&void 0!==_?_:null,cash_discount:null!==(c=null==t?void 0:t.cash_discount)&&void 0!==c?c:null,change:null!==(m=null==t?void 0:t.change)&&void 0!==m?m:null}}function ne(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,customer_id:null!==(i=null==t?void 0:t.customer_id)&&void 0!==i?i:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n:null,customer_phone:null!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,customer_email:null!==(s=null==t?void 0:t.customer_email)&&void 0!==s?s:null,customer_address:null!==(r=null==t?void 0:t.customer_address)&&void 0!==r?r:null,payment_method:null!==(a=null==t?void 0:t.payment_method)&&void 0!==a?a:null,currency:null!==(l=null==t?void 0:t.currency)&&void 0!==l?l:null,start_time:null!==(d=null==t?void 0:t.start_time)&&void 0!==d?d:null,expected_end_time:null!==(u=null==t?void 0:t.expected_end_time)&&void 0!==u?u:null,end_time:null!==(p=null==t?void 0:t.end_time)&&void 0!==p?p:null,picked_up_time:null!==(_=null==t?void 0:t.picked_up_time)&&void 0!==_?_:null,promotion_code:null!==(c=null==t?void 0:t.promotion_code)&&void 0!==c?c:null,total_before_discount:null!==(m=null==t?void 0:t.total_before_discount)&&void 0!==m?m:null,total_after_discount:null!==(f=null==t?void 0:t.total_after_discount)&&void 0!==f?f:null,employee_id:null!==(h=null==t?void 0:t.employee_id)&&void 0!==h?h:null,employee_name:null!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,type:null!==(v=null==t?void 0:t.type)&&void 0!==v?v:null,note:null!==(g=null==t?void 0:t.note)&&void 0!==g?g:null,owner_note:null!==(T=null==t?void 0:t.owner_note)&&void 0!==T?T:null,order_status:null!==(S=null==t?void 0:t.order_status)&&void 0!==S?S:null,status:null!==(E=null==t?void 0:t.status)&&void 0!==E?E:null,created_at:null!==(I=null==t?void 0:t.created_at)&&void 0!==I?I:null,updated_at:null!==(R=null==t?void 0:t.updated_at)&&void 0!==R?R:null,cancel_reason:null!==(C=null==t?void 0:t.cancel_reason)&&void 0!==C?C:null,delivered_time:null!==(A=null==t?void 0:t.delivered_time)&&void 0!==A?A:null,completed_time:null!==(N=null==t?void 0:t.completed_time)&&void 0!==N?N:null,order_code:null!==(O=null==t?void 0:t.order_code)&&void 0!==O?O:null,checkin_id:null!==(P=null==t?void 0:t.checkin_id)&&void 0!==P?P:null,total_change:null!==(M=null==t?void 0:t.total_change)&&void 0!==M?M:null,tip:Zt(null==t?void 0:t.tip),tax:null!==(D=null==t?void 0:t.tax)&&void 0!==D?D:null,is_waiting:null!==(b=null==t?void 0:t.is_waiting)&&void 0!==b?b:null,is_recheck:null!==(x=null==t?void 0:t.is_recheck)&&void 0!==x?x:null,gift_card_price:null!==(L=null==t?void 0:t.gift_card_price)&&void 0!==L?L:null,pax_standalone_active:null!==(k=null==t?void 0:t.pax_standalone_active)&&void 0!==k?k:null,ach_payment_active:null!==(U=null==t?void 0:t.ach_payment_active)&&void 0!==U?U:null,ach_payment_data:null!==(w=null==t?void 0:t.ach_payment_data)&&void 0!==w?w:null,total_cash_discount:null!==(V=null==t?void 0:t.total_cash_discount)&&void 0!==V?V:null,is_tip_on_device:null!==(F=null==t?void 0:t.is_tip_on_device)&&void 0!==F?F:null,tip_by_credit_card:null!==(B=null==t?void 0:t.tip_by_credit_card)&&void 0!==B?B:null,service_fee:null!==(q=null==t?void 0:t.service_fee)&&void 0!==q?q:null,external_credit_card:null!==(G=null==t?void 0:t.external_credit_card)&&void 0!==G?G:null,qr_code:null!==(H=null==t?void 0:t.qr_code)&&void 0!==H?H:null,created_date:null!==(Y=null==t?void 0:t.created_date)&&void 0!==Y?Y:null,created_time:null!==(j=null==t?void 0:t.created_time)&&void 0!==j?j:null,pos_key:null!==(W=null==t?void 0:t.pos_key)&&void 0!==W?W:null,pos_status:null!==(K=null==t?void 0:t.pos_status)&&void 0!==K?K:null,invoice:te(null==t?void 0:t.invoice),customer_point:null!==(J=null==t?void 0:t.customer_point)&&void 0!==J?J:null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>$t(t))):null,checkin_services:null!==(Q=null==t?void 0:t.checkin_services)&&void 0!==Q?Q:null,checkin_staffs:null!==($=null==t?void 0:t.checkin_staffs)&&void 0!==$?$:null,services:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>zt(t))):null,staffs:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>Xt(t))):null,payment_payment_id:null!==(z=null==t?void 0:t.payment_payment_id)&&void 0!==z?z:null,payment_order_id:null!==(X=null==t?void 0:t.payment_order_id)&&void 0!==X?X:null,order_batch:ie(null==t?void 0:t.order_batch),visit_count:null!==(Z=null==t?void 0:t.visit_count)&&void 0!==Z?Z:null,refund_amount:null!==(tt=null==t?void 0:t.refund_amount)&&void 0!==tt?tt:null,last_four:null!==(et=null==t?void 0:t.last_four)&&void 0!==et?et:null,card_type:null!==(it=null==t?void 0:t.card_type)&&void 0!==it?it:null,entry_type:null!==(nt=null==t?void 0:t.entry_type)&&void 0!==nt?nt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ee(t))):null,amount_info:null!==(ot=null==t?void 0:t.amount_info)&&void 0!==ot?ot:null,customer_type:null!==(st=null==t?void 0:t.customer_type)&&void 0!==st?st:null,order_payment_method:(null==t?void 0:t.order_payment_method)?null==t?void 0:t.order_payment_method.map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null}}(t))):null,deposit:null!==(rt=null==t?void 0:t.deposit)&&void 0!==rt?rt:null,product_subtotal:null!==(at=null==t?void 0:t.product_subtotal)&&void 0!==at?at:null,service_subtotal:null!==(lt=null==t?void 0:t.service_subtotal)&&void 0!==lt?lt:null,staff_code:null!==(dt=null==t?void 0:t.staff_code)&&void 0!==dt?dt:null}}function oe(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at,lt,dt,ut,pt,_t,ct,mt;return{appointment_id:null!==(e=null==t?void 0:t.appointment_id)&&void 0!==e?e:null,checkin_number:null!==(i=null==t?void 0:t.checkin_number)&&void 0!==i?i:null,in_service:null!==(n=null==t?void 0:t.in_service)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,customer_id:null!==(s=null==t?void 0:t.customer_id)&&void 0!==s?s:null,customer_name:null!==(r=null==t?void 0:t.customer_name)&&void 0!==r?r:null,customer_phone:null!==(a=null==t?void 0:t.customer_phone)&&void 0!==a?a:null,customer_email:null!==(l=null==t?void 0:t.customer_email)&&void 0!==l?l:null,customer_address:null!==(d=null==t?void 0:t.customer_address)&&void 0!==d?d:null,payment_method:null!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,currency:null!==(p=null==t?void 0:t.currency)&&void 0!==p?p:null,start_time:null!==(_=null==t?void 0:t.start_time)&&void 0!==_?_:null,expected_end_time:null!==(c=null==t?void 0:t.expected_end_time)&&void 0!==c?c:null,end_time:null!==(m=null==t?void 0:t.end_time)&&void 0!==m?m:null,picked_up_time:null!==(f=null==t?void 0:t.picked_up_time)&&void 0!==f?f:null,promotion_code:null!==(h=null==t?void 0:t.promotion_code)&&void 0!==h?h:null,total_before_discount:null!==(y=null==t?void 0:t.total_before_discount)&&void 0!==y?y:null,total_after_discount:null!==(v=null==t?void 0:t.total_after_discount)&&void 0!==v?v:null,employee_id:null!==(g=null==t?void 0:t.employee_id)&&void 0!==g?g:null,employee_name:null!==(T=null==t?void 0:t.employee_name)&&void 0!==T?T:null,type:null!==(S=null==t?void 0:t.type)&&void 0!==S?S:null,note:null!==(E=null==t?void 0:t.note)&&void 0!==E?E:null,owner_note:null!==(I=null==t?void 0:t.owner_note)&&void 0!==I?I:null,order_status:null!==(R=null==t?void 0:t.order_status)&&void 0!==R?R:null,status:null!==(C=null==t?void 0:t.status)&&void 0!==C?C:null,created_at:null!==(A=null==t?void 0:t.created_at)&&void 0!==A?A:null,updated_at:null!==(N=null==t?void 0:t.updated_at)&&void 0!==N?N:null,cancel_reason:null!==(O=null==t?void 0:t.cancel_reason)&&void 0!==O?O:null,delivered_time:null!==(P=null==t?void 0:t.delivered_time)&&void 0!==P?P:null,completed_time:null!==(M=null==t?void 0:t.completed_time)&&void 0!==M?M:null,order_code:null!==(D=null==t?void 0:t.order_code)&&void 0!==D?D:null,checkin_id:null!==(b=null==t?void 0:t.checkin_id)&&void 0!==b?b:null,total_change:null!==(x=null==t?void 0:t.total_change)&&void 0!==x?x:null,tip:Zt(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(k=null==t?void 0:t.is_waiting)&&void 0!==k?k:null,is_recheck:null!==(U=null==t?void 0:t.is_recheck)&&void 0!==U?U:null,gift_card_price:null!==(w=null==t?void 0:t.gift_card_price)&&void 0!==w?w:null,pax_standalone_active:null!==(V=null==t?void 0:t.pax_standalone_active)&&void 0!==V?V:null,ach_payment_active:null!==(F=null==t?void 0:t.ach_payment_active)&&void 0!==F?F:null,ach_payment_data:null!==(B=null==t?void 0:t.ach_payment_data)&&void 0!==B?B:null,total_cash_discount:null!==(q=null==t?void 0:t.total_cash_discount)&&void 0!==q?q:null,is_tip_on_device:null!==(G=null==t?void 0:t.is_tip_on_device)&&void 0!==G?G:null,tip_by_credit_card:null!==(H=null==t?void 0:t.tip_by_credit_card)&&void 0!==H?H:null,service_fee:null!==(Y=null==t?void 0:t.service_fee)&&void 0!==Y?Y:null,external_credit_card:null!==(j=null==t?void 0:t.external_credit_card)&&void 0!==j?j:null,qr_code:null!==(W=null==t?void 0:t.qr_code)&&void 0!==W?W:null,pos_key:null!==(K=null==t?void 0:t.pos_key)&&void 0!==K?K:null,pos_status:null!==(J=null==t?void 0:t.pos_status)&&void 0!==J?J:null,invoice:te(null==t?void 0:t.invoice),visit_count:null!==(Q=null==t?void 0:t.visit_count)&&void 0!==Q?Q:null,current_point:null!==($=null==t?void 0:t.current_point)&&void 0!==$?$:null,last_visited:null!==(z=null==t?void 0:t.last_visited)&&void 0!==z?z:null,customer:Qt(null==t?void 0:t.customer),list_promotion:null!==(X=null==t?void 0:t.list_promotion)&&void 0!==X?X:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,point:null!==(i=null==t?void 0:t.point)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,is_active:null!==(r=null==t?void 0:t.is_active)&&void 0!==r?r:null,logic_type:null!==(a=null==t?void 0:t.logic_type)&&void 0!==a?a:null,logic_value:null!==(l=null==t?void 0:t.logic_value)&&void 0!==l?l:null}}(t))):null,order_discount:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>$t(t))):null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,item_variant:null!==(i=null==t?void 0:t.item_ariant)&&void 0!==i?i:null,item_modifier:null!==(n=null==t?void 0:t.item_modifier)&&void 0!==n?n:null,id:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,order_id:null!==(s=null==t?void 0:t.order_id)&&void 0!==s?s:null,item_id:null!==(r=null==t?void 0:t.item_id)&&void 0!==r?r:null,quantity:null!==(a=null==t?void 0:t.quantity)&&void 0!==a?a:null,item_name:null!==(l=null==t?void 0:t.item_name)&&void 0!==l?l:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d:null,note:null!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(p=null==t?void 0:t.owner_note)&&void 0!==p?p:null,status:null!==(_=null==t?void 0:t.status)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,cancel_reason:null!==(f=null==t?void 0:t.cancel_reason)&&void 0!==f?f:null,item_type:null!==(h=null==t?void 0:t.item_type)&&void 0!==h?h:null,staff_id:null!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(v=null==t?void 0:t.staff_name)&&void 0!==v?v:null,combo_id:null!==(g=null==t?void 0:t.combo_id)&&void 0!==g?g:null,sub_total:null!==(T=null==t?void 0:t.sub_total)&&void 0!==T?T:null,items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_;return{additional_data:null!==(e=null==t?void 0:t.additional_data)&&void 0!==e?e:null,id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n:null,item_id:null!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,quantity:null!==(r=null==t?void 0:t.quantity)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,staff_id:null!==(l=null==t?void 0:t.staff_id)&&void 0!==l?l:null,combo_name:null!==(d=null==t?void 0:t.combo_name)&&void 0!==d?d:null,combo_id:null!==(u=null==t?void 0:t.combo_id)&&void 0!==u?u:null,note:null!==(p=null==t?void 0:t.note)&&void 0!==p?p:null,gift_card_code:null!==(_=null==t?void 0:t.gift_card_code)&&void 0!==_?_:null}}(t))):null}}(t))):null,created_date:null!==(Z=null==t?void 0:t.created_date)&&void 0!==Z?Z:null,created_time:null!==(tt=null==t?void 0:t.created_time)&&void 0!==tt?tt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,payment_method_type:null!==(n=null==t?void 0:t.payment_method_type)&&void 0!==n?n:null,payment_method_name:null!==(o=null==t?void 0:t.payment_method_name)&&void 0!==o?o:null,total_paid:null!==(s=null==t?void 0:t.total_paid)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null}}(t))):null,refund_amount:null!==(et=null==t?void 0:t.refund_amount)&&void 0!==et?et:null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(nt=null==t?void 0:t.payment_order_id)&&void 0!==nt?nt:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>zt(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>Xt(t))):null,order_batch:ie(null==t?void 0:t.order_batch),last_four:null!==(ot=null==t?void 0:t.last_four)&&void 0!==ot?ot:null,customer_point:null!==(st=null==t?void 0:t.customer_point)&&void 0!==st?st:null,card_type:null!==(rt=null==t?void 0:t.card_type)&&void 0!==rt?rt:null,entry_type:null!==(at=null==t?void 0:t.entry_type)&&void 0!==at?at:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ee(t))):null,amount_info:null!==(lt=null==t?void 0:t.amount_info)&&void 0!==lt?lt:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt:null,tax_product:null!==(ut=null==t?void 0:t.tax_product)&&void 0!==ut?ut:null,tax_service:null!==(pt=null==t?void 0:t.tax_service)&&void 0!==pt?pt:null,deposit:null!==(_t=null==t?void 0:t.deposit)&&void 0!==_t?_t:null,product_subtotal:null!==(ct=null==t?void 0:t.product_subtotal)&&void 0!==ct?ct:null,service_subtotal:null!==(mt=null==t?void 0:t.service_subtotal)&&void 0!==mt?mt:null}}class se extends mt{static getOrderCheckInList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/checkin/site/dash-board-list",query:t}),ne)}))}static getReportCheckIn(t){return z(this,void 0,void 0,(function*(){return function(t){var e,i,n,o,s,r;return{all:null!==(e=null==t?void 0:t.all)&&void 0!==e?e:null,pending:null!==(i=null==t?void 0:t.pending)&&void 0!==i?i:null,processing:null!==(n=null==t?void 0:t.processing)&&void 0!==n?n:null,cancelled:null!==(o=null==t?void 0:t.cancelled)&&void 0!==o?o:null,done:null!==(s=null==t?void 0:t.done)&&void 0!==s?s:null,settlement_fail:null!==(r=null==t?void 0:t.settlement_fail)&&void 0!==r?r:null}}((yield this.client.get({path:"/v1/pos/checkin/site/dash-board-report",query:t})).result.data)}))}static updateOrderStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-staff",data:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,order_id:null!==(i=null==t?void 0:t.order_id)&&void 0!==i?i:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n:null,quantity:null!==(o=null==t?void 0:t.quantity)&&void 0!==o?o:null,item_name:null!==(s=null==t?void 0:t.item_name)&&void 0!==s?s:null,item_variant:null!==(r=null==t?void 0:t.item_variant)&&void 0!==r?r:null,item_modifier:null!==(a=null==t?void 0:t.item_modifier)&&void 0!==a?a:null,price:null!==(l=null==t?void 0:t.price)&&void 0!==l?l:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d:null,owner_note:null!==(u=null==t?void 0:t.owner_note)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null,created_at:null!==(_=null==t?void 0:t.created_at)&&void 0!==_?_:null,updated_at:null!==(c=null==t?void 0:t.updated_at)&&void 0!==c?c:null,cancel_reason:null!==(m=null==t?void 0:t.cancel_reason)&&void 0!==m?m:null,item_type:null!==(f=null==t?void 0:t.item_type)&&void 0!==f?f:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h:null,staff_name:null!==(y=null==t?void 0:t.staff_name)&&void 0!==y?y:null,combo_id:null!==(v=null==t?void 0:t.combo_id)&&void 0!==v?v:null}}(t)))}))}static removeOrder(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/order/remove-order",data:t}),null}))}static exportOrder(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/checkin/site/export",query:t});let i=Wt();return jt()(e,`export-orders-${Jt()().format(i)}.xls`),null}))}static submitCheckout(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/submit",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static submitPayment(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePaymentData(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-payment-data",data:t});return function(t){var e,i,n,o,s,r,a;return{external_id:null!==(e=null==t?void 0:t.external_id)&&void 0!==e?e:null,payment_id:null!==(i=null==t?void 0:t.payment_id)&&void 0!==i?i:null,payment_status:null!==(n=null==t?void 0:t.payment_status)&&void 0!==n?n:null,payment_data:null!==(o=null==t?void 0:t.payment_data)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,id:null!==(a=null==t?void 0:t.id)&&void 0!==a?a:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static addNote(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/order/add-note",data:t});return oe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function re(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.gift_card_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}function ae(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,income:null!==(s=null==t?void 0:t.income)&&void 0!==s?s:null,commission:null!==(r=null==t?void 0:t.commission)&&void 0!==r?r:null,cash_income:null!==(a=null==t?void 0:t.cash_income)&&void 0!==a?a:null,check_income:null!==(l=null==t?void 0:t.check_income)&&void 0!==l?l:null,card_charge:null!==(d=null==t?void 0:t.card_charge)&&void 0!==d?d:null,supply_share:null!==(u=null==t?void 0:t.supply_share)&&void 0!==u?u:null,salary:null!==(p=null==t?void 0:t.salary)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,total_commission:null!==(c=null==t?void 0:t.total_commission)&&void 0!==c?c:null,working_hour:null!==(m=null==t?void 0:t.working_hour)&&void 0!==m?m:null,wage_per_hours:null!==(f=null==t?void 0:t.wage_per_hours)&&void 0!==f?f:null,list_detail:(null==t?void 0:t.list_detail)?null==t?void 0:t.list_detail.map((t=>function(t){return{date:null==t?void 0:t.date,final_commission:null==t?void 0:t.final_commission}}(t))):null}}function le(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,owner_percent:null!==(i=null==t?void 0:t.owner_percent)&&void 0!==i?i:null,staff_percent:null!==(n=null==t?void 0:t.staff_percent)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null}}se.API_VERSION=C.V1;class de extends mt{static getPayrollList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/payroll/site/list-payroll",query:t});return function(t){var e,i;return{begin_time:null!==(e=null==t?void 0:t.begin_time)&&void 0!==e?e:null,end_time:null!==(i=null==t?void 0:t.end_time)&&void 0!==i?i:null,employee_list:t.employee_list?t.employee_list.map((t=>function(t){var e,i,n,o,s;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,setting_commission:null!==(s=null==t?void 0:t.setting_commission)&&void 0!==s?s:null,payroll_list:t.payroll_list?t.payroll_list.map((t=>function(t){var e,i,n,o,s,r;return{payroll_id:null!==(e=null==t?void 0:t.payroll_id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,duration:null!==(o=null==t?void 0:t.duration)&&void 0!==o?o:null,final_commission:null!==(s=null==t?void 0:t.final_commission)&&void 0!==s?s:null,id:null!==(r=null==t?void 0:t.id)&&void 0!==r?r:null}}(t))):null}}(t))):null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static approvePayroll(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/payroll/form/approve-payroll",data:t}),null}))}static getCashDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/cashdiscount/setting/get",query:t});return le(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCashDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/cashdiscount/setting/change",data:t});return le(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getIncomeDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/staff/income-detail",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et;return{employee:{user_id:null!==(i=null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(o=null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.name)&&void 0!==o?o:null,code:null!==(r=null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.code)&&void 0!==r?r:null,created_at:null!==(l=null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.created_at)&&void 0!==l?l:null,updated_at:null!==(u=null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.updated_at)&&void 0!==u?u:null,color_code:null!==(_=null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.color_code)&&void 0!==_?_:null,image_url:null!==(m=null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.image_url)&&void 0!==m?m:null,delete_image_url:null!==(h=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.employee)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,commission_type:null!==(T=null===(g=null==t?void 0:t.employee)||void 0===g?void 0:g.commission_type)&&void 0!==T?T:null,turn_priority:null!==(E=null===(S=null==t?void 0:t.employee)||void 0===S?void 0:S.turn_priority)&&void 0!==E?E:null,last_turn_priority:null!==(R=null===(I=null==t?void 0:t.employee)||void 0===I?void 0:I.last_turn_priority)&&void 0!==R?R:null,phone:null!==(A=null===(C=null==t?void 0:t.employee)||void 0===C?void 0:C.phone)&&void 0!==A?A:null,address:null!==(O=null===(N=null==t?void 0:t.employee)||void 0===N?void 0:N.address)&&void 0!==O?O:null,nickname:null!==(M=null===(P=null==t?void 0:t.employee)||void 0===P?void 0:P.nickname)&&void 0!==M?M:null,priority_calendar:null!==(b=null===(D=null==t?void 0:t.employee)||void 0===D?void 0:D.priority_calendar)&&void 0!==b?b:null,staff_commission:null!==(L=null===(x=null==t?void 0:t.employee)||void 0===x?void 0:x.staff_commission)&&void 0!==L?L:null,approved_commission:null!==(U=null===(k=null==t?void 0:t.employee)||void 0===k?void 0:k.approved_commission)&&void 0!==U?U:null},order:null!==(w=null==t?void 0:t.order)&&void 0!==w?w:null,total:{income:null!==(F=null===(V=null==t?void 0:t.total)||void 0===V?void 0:V.income)&&void 0!==F?F:null,commission:null!==(q=null===(B=null==t?void 0:t.total)||void 0===B?void 0:B.commission)&&void 0!==q?q:null,salary:null!==(H=null===(G=null==t?void 0:t.total)||void 0===G?void 0:G.salary)&&void 0!==H?H:null,card_charge:null!==(j=null===(Y=null==t?void 0:t.total)||void 0===Y?void 0:Y.card_charge)&&void 0!==j?j:null,supply_share:null!==(K=null===(W=null==t?void 0:t.total)||void 0===W?void 0:W.supply_share)&&void 0!==K?K:null,tip_after_charge:null!==(Q=null===(J=null==t?void 0:t.total)||void 0===J?void 0:J.tip_after_charge)&&void 0!==Q?Q:null,cash_income:null!==(z=null===($=null==t?void 0:t.total)||void 0===$?void 0:$.cash_income)&&void 0!==z?z:null,check_income:null!==(Z=null===(X=null==t?void 0:t.total)||void 0===X?void 0:X.check_income)&&void 0!==Z?Z:null,total:null!==(et=null===(tt=null==t?void 0:t.total)||void 0===tt?void 0:tt.total)&&void 0!==et?et:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getApprovePayroll(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/approve-period",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o;return{payroll_id:null!==(e=null==t?void 0:t.payroll_id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,total_income:null!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,income:null!==(s=null==t?void 0:t.income)&&void 0!==s?s:null,commission:null!==(r=null==t?void 0:t.commission)&&void 0!==r?r:null,cash_income:null!==(a=null==t?void 0:t.cash_income)&&void 0!==a?a:null,check_income:null!==(l=null==t?void 0:t.check_income)&&void 0!==l?l:null,card_charge:null!==(d=null==t?void 0:t.card_charge)&&void 0!==d?d:null,supply_share:null!==(u=null==t?void 0:t.supply_share)&&void 0!==u?u:null,salary:null!==(p=null==t?void 0:t.salary)&&void 0!==p?p:null,tip:null!==(_=null==t?void 0:t.tip)&&void 0!==_?_:null,total_commission:null!==(c=null==t?void 0:t.total_commission)&&void 0!==c?c:null,working_hour:null!==(m=null==t?void 0:t.working_hour)&&void 0!==m?m:null,wage_per_hours:null!==(f=null==t?void 0:t.wage_per_hours)&&void 0!==f?f:null,list_detail:null!==(h=null==t?void 0:t.list_detail)&&void 0!==h?h:null}}(t))):null}}(t)))}))}static exportPayroll(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"v1/pos/payroll/site/export-payroll",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportApprovePayroll(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/site/export-approve-payroll",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportIncomeDetail(t){return z(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/staff/export-income-detail",query:t}),i=Wt();return jt()(e.data,`${Jt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static getSalaryChart(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/salary-chart",query:t});return function(t){return{employee_list:(null==t?void 0:t.employee_list)?function(t){return Object.keys(t).reduce(((e,i)=>{const{user_id:n=null,name:o=null,total_salary:s=null}=null==t?void 0:t[i];return e[i]={user_id:n,name:o,total_salary:s},e}),{})}(null==t?void 0:t.employee_list):null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getAppListPayroll(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/app-list-payroll",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o;return{payroll_id:null!==(e=null==t?void 0:t.payroll)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,end_date:null!==(n=null==t?void 0:t.end_date)&&void 0!==n?n:null,total_income:null!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>ae(t))):null}}(t)))}))}static getPayrollDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/get-payroll-detail",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>ae(t)))}))}static getSiteIncomeDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/payroll/site/income-detail",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt;return{employee:{user_id:null!==(i=null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(o=null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.name)&&void 0!==o?o:null,code:null!==(r=null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.code)&&void 0!==r?r:null,created_at:null!==(l=null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.created_at)&&void 0!==l?l:null,updated_at:null!==(u=null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.updated_at)&&void 0!==u?u:null,color_code:null!==(_=null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.color_code)&&void 0!==_?_:null,image_url:null!==(m=null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.image_url)&&void 0!==m?m:null,delete_image_url:null!==(h=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.employee)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,commission_type:null!==(T=null===(g=null==t?void 0:t.employee)||void 0===g?void 0:g.commission_type)&&void 0!==T?T:null,turn_priority:null!==(E=null===(S=null==t?void 0:t.employee)||void 0===S?void 0:S.turn_priority)&&void 0!==E?E:null,last_turn_priority:null!==(R=null===(I=null==t?void 0:t.employee)||void 0===I?void 0:I.last_turn_priority)&&void 0!==R?R:null,phone:null!==(A=null===(C=null==t?void 0:t.employee)||void 0===C?void 0:C.phone)&&void 0!==A?A:null,address:null!==(O=null===(N=null==t?void 0:t.employee)||void 0===N?void 0:N.address)&&void 0!==O?O:null,nickname:null!==(M=null===(P=null==t?void 0:t.employee)||void 0===P?void 0:P.nickname)&&void 0!==M?M:null,priority_calendar:null!==(b=null===(D=null==t?void 0:t.employee)||void 0===D?void 0:D.priority_calendar)&&void 0!==b?b:null,staff_commission:re(null===(x=null==t?void 0:t.employee)||void 0===x?void 0:x.staff_commission),approved_commission:null!==(k=null===(L=null==t?void 0:t.employee)||void 0===L?void 0:L.approved_commission)&&void 0!==k?k:null},details:null==t?void 0:t.details.map((t=>({date:null==t?void 0:t.date,total_income:null==t?void 0:t.total_income,total_commission:null==t?void 0:t.total_commission,total_tip:null==t?void 0:t.total_tip,payroll_daily_details:((null==t?void 0:t.payroll_daily_details)||[]).map((t=>({orderId:null==t?void 0:t.orderId,time_of_day:null==t?void 0:t.time_of_day,commission:null==t?void 0:t.commission,income:null==t?void 0:t.income,tip:null==t?void 0:t.tip})))}))),total:{income:null!==(w=null===(U=null==t?void 0:t.total)||void 0===U?void 0:U.income)&&void 0!==w?w:null,commission:null!==(F=null===(V=null==t?void 0:t.total)||void 0===V?void 0:V.commission)&&void 0!==F?F:null,salary:null!==(q=null===(B=null==t?void 0:t.total)||void 0===B?void 0:B.salary)&&void 0!==q?q:null,card_charge:null!==(H=null===(G=null==t?void 0:t.total)||void 0===G?void 0:G.card_charge)&&void 0!==H?H:null,supply_share:null!==(j=null===(Y=null==t?void 0:t.total)||void 0===Y?void 0:Y.supply_share)&&void 0!==j?j:null,tip_before_charge:null!==(K=null===(W=null==t?void 0:t.total)||void 0===W?void 0:W.tip_before_charge)&&void 0!==K?K:null,tip_charge:null!==(Q=null===(J=null==t?void 0:t.total)||void 0===J?void 0:J.tip_charge)&&void 0!==Q?Q:null,tip_after_charge:null!==(z=null===($=null==t?void 0:t.total)||void 0===$?void 0:$.tip_after_charge)&&void 0!==z?z:null,cash_income:null!==(Z=null===(X=null==t?void 0:t.total)||void 0===X?void 0:X.cash_income)&&void 0!==Z?Z:null,check_income:null!==(et=null===(tt=null==t?void 0:t.total)||void 0===tt?void 0:tt.check_income)&&void 0!==et?et:null,total:null!==(nt=null===(it=null==t?void 0:t.total)||void 0===it?void 0:it.total)&&void 0!==nt?nt:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function ue(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,printer_name:null!==(n=null==t?void 0:t.printer_name)&&void 0!==n?n:null,printer_id:null!==(o=null==t?void 0:t.printer_id)&&void 0!==o?o:null,ip_address:null!==(s=null==t?void 0:t.ip_address)&&void 0!==s?s:null,printer_mac_address:null!==(r=null==t?void 0:t.printer_mac_address)&&void 0!==r?r:null,is_bluetooth:null!==(a=null==t?void 0:t.is_bluetooth)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}de.API_VERSION=C.V1;class pe extends mt{static getPrinterList(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/printer/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>ue(t)))}))}static getPrinterDetail(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/printer/site/detail",query:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static createPrinterInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/create",data:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePrinterInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/update",data:t});return ue(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}pe.API_VERSION=C.V1;const _e=t=>{const e=new FormData;for(const[i,n]of Object.entries(t))Array.isArray(n)?e.append(i,JSON.stringify(n)):e.append(i,n);return e};class ce extends mt{static getServiceList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/service/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null}}(t)))}))}static uploadFile(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return((yield this.client.post({path:"/v1/pos/service/form/upload",data:e}))||[]).map((t=>function(t){var e,i,n,o,s,r,a;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,type:null!==(i=null==t?void 0:t.type)&&void 0!==i?i:null,size:null!==(n=null==t?void 0:t.size)&&void 0!==n?n:null,base_url:null!==(o=null==t?void 0:t.base_url)&&void 0!==o?o:null,path:null!==(s=null==t?void 0:t.path)&&void 0!==s?s:null,url:null!==(r=null==t?void 0:t.url)&&void 0!==r?r:null,delete_url:null!==(a=null==t?void 0:t.delete_url)&&void 0!==a?a:null}}(t)))}))}}ce.API_VERSION=C.V1;class me extends mt{static getStaffList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,code:null!==(s=null==t?void 0:t.code)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,permission:(null==t?void 0:t.permission)?null==t?void 0:t.permission.map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t))):null}}(t)))}))}static getStaffListByCheckout(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list-by-checkout",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,image_url:null!==(n=null==t?void 0:t.image_url)&&void 0!==n?n:null,color_code:null!==(o=null==t?void 0:t.color_code)&&void 0!==o?o:null,sub_total:null!==(s=null==t?void 0:t.sub_total)&&void 0!==s?s:null}}(t)))}))}static getStaffTurnChart(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/turn-chart",query:t});return function(t){var e;return{staff:(t.staff||[]).map((e=>{var i,n,o,s,r,a,l,d,u,p,_,c;return{user_id:null!==(i=null==e?void 0:e.user_id)&&void 0!==i?i:null,name:null!==(n=null==e?void 0:e.name)&&void 0!==n?n:null,image_url:null!==(o=null==e?void 0:e.image_url)&&void 0!==o?o:null,color_code:null!==(s=null==e?void 0:e.color_code)&&void 0!==s?s:null,code:null!==(r=null==e?void 0:e.code)&&void 0!==r?r:null,status:null!==(a=null==e?void 0:e.status)&&void 0!==a?a:null,permission:(t.permission||[]).map((t=>{var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}})),total_order_complete:null!==(l=null==e?void 0:e.total_order_complete)&&void 0!==l?l:null,total_order_in_progress:null!==(d=null==e?void 0:e.total_order_in_progress)&&void 0!==d?d:null,total_order_price_complete:null!==(u=null==e?void 0:e.total_order_price_complete)&&void 0!==u?u:null,total_order_price_in_progress:null!==(p=null==e?void 0:e.total_order_price_in_progress)&&void 0!==p?p:null,turn_count:null!==(_=null==e?void 0:e.turn_count)&&void 0!==_?_:null,checkin:null!==(c=null==e?void 0:e.checkin)&&void 0!==c?c:null}})),turn_value:null!==(e=null==t?void 0:t.turn_value)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function fe(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,subject:null!==(i=null==t?void 0:t.subject)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,type:null!==(s=null==t?void 0:t.type)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,name:null!==(d=null==t?void 0:t.name)&&void 0!==d?d:null}}me.API_VERSION=C.V1;class he extends mt{static getPosTicketTemplate(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/pos/ticket/site/template",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>fe(t)))}))}static getPosTicketInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/info",query:t});return function(t){var e;return{items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>fe(t))):null,template_text:null!==(e=null==t?void 0:t.template_text)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getPosTicketList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/get-list-ticket",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>fe(t)))}))}static getPosTicketListBlockName(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/ticket/site/list-block-name",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i;return{subject:null!==(e=null==t?void 0:t.subject)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null}}(t)))}))}static createPosTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/create",data:t});return fe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deletePosTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/ticket/form/delete",query:t}),null}))}static updatePosTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/update",query:t,data:t});return fe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static movePosSubject(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/subject-move",data:t}),null}))}static setPosDefaultTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/site/set-default-ticket-template",data:t}),null}))}static sortPosPriority(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/sort-priority",data:t}),null}))}}function ye(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,staff_name:null!==(n=null==t?void 0:t.staff_name)&&void 0!==n?n:null,time_in:null!==(o=null==t?void 0:t.time_in)&&void 0!==o?o:null,time_out:null!==(s=null==t?void 0:t.time_out)&&void 0!==s?s:null,note:null!==(r=null==t?void 0:t.note)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null}}he.API_VERSION=C.V1;class ve extends mt{static getTimeKeepingList(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/pos/timekeeping/site/list",query:t}),ye)}))}static addTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/create",data:t}),null}))}static updateTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/edit-time",data:t}),null}))}static removeTimeKeeping(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/delete-time",data:t}),null}))}static getTimeKeepingListStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/timekeeping/site/list-staff",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,time_checked:null!==(n=null==t?void 0:t.time_checked)&&void 0!==n?n:null,is_checked_in:null!==(o=null==t?void 0:t.is_checked_in)&&void 0!==o?o:null,image_url:null!==(s=null==t?void 0:t.image_url)&&void 0!==s?s:null,color_code:null!==(r=null==t?void 0:t.color_code)&&void 0!==r?r:null}}(t)))}))}static postTimeKeepingCheckIn(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/add-checkin-time",data:t}),null}))}static postTimeKeepingCheckOut(t){return z(this,void 0,void 0,(function*(){return this.client.post({path:"/v1/pos/timekeeping/form/add-checkout-time",data:t}),null}))}}ve.API_VERSION=C.V1;class ge extends mt{}ge.API_VERSION=C.V1;class Te extends mt{static postLogin(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/user/form/login",data:t})}))}}function Se(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,start_date:null!==(i=null==t?void 0:t.start_date)&&void 0!==i?i:null,period:null!==(n=null==t?void 0:t.period)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,custom_days:null!==(a=null==t?void 0:t.custom_days)&&void 0!==a?a:null}}function Ee(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,owner_percentage:null!==(i=null==t?void 0:t.owner_percentage)&&void 0!==i?i:null,staff_percentage:null!==(n=null==t?void 0:t.staff_percentage)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null}}function Ie(t){return null!=t?t:null}function Re(t){var e,i,n,o,s,r,a;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,system:null!==(i=null==t?void 0:t.system)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,content:null!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null}}function Ce(t){return Re(t)}Te.API_VERSION=C.V1;class Ae extends mt{static getPayrollSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/payroll-setting",query:t});return Se(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePayrollSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-payroll",data:t});return Se(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/discount-setting",query:t});return Ee(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateDiscountSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-discount",data:t});return Ee(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTaxSetting(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/tax-setting",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,type:null!==(i=null==t?void 0:t.type)&&void 0!==i?i:null,code:null!==(n=null==t?void 0:t.code)&&void 0!==n?n:null,title:null!==(o=null==t?void 0:t.title)&&void 0!==o?o:null,description:null!==(s=null==t?void 0:t.description)&&void 0!==s?s:null,value:null!==(r=null==t?void 0:t.value)&&void 0!==r?r:null,created_at:null!==(a=null==t?void 0:t.created_at)&&void 0!==a?a:null,updated_at:null!==(l=null==t?void 0:t.updated_at)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null}}(t)))}))}static updateTaxSetting(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"v1/pos/setting/form/update-tax",data:t}),null}))}static getTurnValue(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-turn-value",query:t});return Ie(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTurnValue(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-turn-value",data:t});return Ie(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTip(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-tip",query:t});return function(t){var e,i;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,status:null!==(i=null==t?void 0:t.status)&&void 0!==i?i:null,tip_items:((null==t?void 0:t.tip_items)||[]).map((t=>{var e,i,n;return{title:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:null,active:null!==(i=null==t?void 0:t.active)&&void 0!==i?i:null,value:null!==(n=null==t?void 0:t.value)&&void 0!==n?n:null}}))}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTip(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-tip",data:t});return function(t){return null!=t?t:null}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/list-answer",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,answer:((null==t?void 0:t.answer)||[]).map((t=>Re(t)))}}(t)))}))}static createAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/create-answer",data:t});return function(t){return{type:null==t?void 0:t.type,content:null==t?void 0:t.content,system:null==t?void 0:t.system,id:null==t?void 0:t.id}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateAnswer(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-answer",data:t});return function(t){return Re(t)}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static changeAnswerStatus(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:ft,data:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:ft,query:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:ft,data:t});return Ce(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Ne(t){var e,i,n,o,s,r,a,l,d,u,p;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,category_name:null!==(o=null==t?void 0:t.category_name)&&void 0!==o?o:null,color_code:null!==(s=null==t?void 0:t.color_code)&&void 0!==s?s:null,description:null!==(r=null==t?void 0:t.description)&&void 0!==r?r:null,image:null!==(a=null==t?void 0:t.image)&&void 0!==a?a:null,price:null!==(l=null==t?void 0:t.price)&&void 0!==l?l:null,created_at:null!==(d=null==t?void 0:t.created_at)&&void 0!==d?d:null,updated_at:null!==(u=null==t?void 0:t.updated_at)&&void 0!==u?u:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}Ae.API_VERSION=C.V1;class Oe extends mt{static sortPostListProduct(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/pos/product/form/sort",data:e}),null}))}static getPosListProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/product/site/list",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>Ne(t)))}))}static createPosProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/pos/product/form/create",data:i});return Ne(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static updatePosProduct(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/pos/product/form/update",data:i});return Ne(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deletePosProduct(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/product/form/delete",query:t}),null}))}}Oe.API_VERSION=C.V1;class Pe extends mt{static getListCommissionByStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/commission/site/list-by-staff",query:t});return function(t){function e(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.gift_card_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}return{commission:e(t.commission),salary_commission:e(t.salary_commission),salary:e(t.salary)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Pe.API_VERSION=C.V1;const Me={[C.V1]:e};function De(t){var e,i,n,o,s;return{key:null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null,value:null!==(i=null==t?void 0:t.value)&&void 0!==i?i:null,comment:null!==(n=null==t?void 0:t.comment)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}class be extends mt{static getKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/key-storage/get",query:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListKeyStorage(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/settings/key-storage/list",query:t}),De)}))}static addKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/add",data:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateKeyStorage(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/update",data:t});return De(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateListKeyStorage(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/update-list",data:t}),null}))}static deleteKeyStorage(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/delete",data:t}),null}))}}function xe(t){var e;return{multiple_type:null!==(e=null==t?void 0:t.multiple_type)&&void 0!==e?e:null}}function Le(t){var e,i,n,o,s,r,a,l;return{page_email:null!==(e=null==t?void 0:t.page_email)&&void 0!==e?e:null,page_birthday:null!==(i=null==t?void 0:t.page_birthday)&&void 0!==i?i:null,ask_email:null!==(n=null==t?void 0:t.ask_email)&&void 0!==n?n:null,ask_birthday:null!==(o=null==t?void 0:t.ask_birthday)&&void 0!==o?o:null,show_point:null!==(s=null==t?void 0:t.show_point)&&void 0!==s?s:null,page_membership:null!==(r=null==t?void 0:t.page_membership)&&void 0!==r?r:null,show_policy:null!==(a=null==t?void 0:t.show_policy)&&void 0!==a?a:null,printer_active:null!==(l=null==t?void 0:t.printer_active)&&void 0!==l?l:null,phone:xe(null==t?void 0:t.phone)}}be.API_VERSION=C.V1;class ke extends mt{static getCheckInConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/check-in/get-config",query:t});return function(t){var e,i,n,o;return{host_package:null!==(e=null==t?void 0:t.host_package)&&void 0!==e?e:null,service_feature:null!==(i=null==t?void 0:t.service_feature)&&void 0!==i?i:null,staff_feature:null!==(n=null==t?void 0:t.staff_feature)&&void 0!==n?n:null,product_feature:null!==(o=null==t?void 0:t.product_feature)&&void 0!==o?o:null,check_in:Le(null==t?void 0:t.check_in)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Ue(t){return{username:null==t?void 0:t.username,access_token:null==t?void 0:t.access_token,email:null==t?void 0:t.email,logged_at:null==t?void 0:t.logged_at}}function we(t){var e,i,n,o,s,r,a,l;return{name:null!==(e=null==t?void 0:t.name)&&void 0!==e?e:null,address:null!==(i=null==t?void 0:t.address)&&void 0!==i?i:null,city:null!==(n=null==t?void 0:t.city)&&void 0!==n?n:null,postal_code:null!==(o=null==t?void 0:t.postal_code)&&void 0!==o?o:null,state_code:null!==(s=null==t?void 0:t.state_code)&&void 0!==s?s:null,short_name:null!==(r=null==t?void 0:t.short_name)&&void 0!==r?r:null,phone:null!==(a=null==t?void 0:t.phone)&&void 0!==a?a:null,description:null!==(l=null==t?void 0:t.description)&&void 0!==l?l:null}}function Ve(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M;return{package_limit:null!==(e=null==t?void 0:t.package_limit)&&void 0!==e?e:null,host_package:null!==(i=null==t?void 0:t.host_package)&&void 0!==i?i:null,staff_code_active:null!==(n=null==t?void 0:t.staff_code_active)&&void 0!==n?n:null,checkout_feature:null!==(o=null==t?void 0:t.checkout_feature)&&void 0!==o?o:null,service_feature:null!==(s=null==t?void 0:t.service_feature)&&void 0!==s?s:null,staff_feature:null!==(r=null==t?void 0:t.staff_feature)&&void 0!==r?r:null,product_feature:null!==(a=null==t?void 0:t.product_feature)&&void 0!==a?a:null,appointment_feature:null!==(l=null==t?void 0:t.appointment_feature)&&void 0!==l?l:null,pos_feature:null!==(d=null==t?void 0:t.pos_feature)&&void 0!==d?d:null,gocheckin_feature:null!==(u=null==t?void 0:t.gocheckin_feature)&&void 0!==u?u:null,order_feature:null!==(p=null==t?void 0:t.order_feature)&&void 0!==p?p:null,service_type_active:null!==(_=null==t?void 0:t.service_type_active)&&void 0!==_?_:null,staff_limit:null!==(c=null==t?void 0:t.staff_limit)&&void 0!==c?c:null,service_distinction:null!==(m=null==t?void 0:t.service_distinction)&&void 0!==m?m:null,calendar_split_time:null!==(f=null==t?void 0:t.calendar_split_time)&&void 0!==f?f:null,passcode:null!==(h=null==t?void 0:t.passcode)&&void 0!==h?h:null,passcode_active:null!==(y=null==t?void 0:t.passcode_active)&&void 0!==y?y:null,country_code:null!==(v=null==t?void 0:t.country_code)&&void 0!==v?v:null,email_attach:null!==(g=null==t?void 0:t.email_attach)&&void 0!==g?g:null,passcode_pos_active:null!==(T=null==t?void 0:t.passcode_pos_active)&&void 0!==T?T:null,show_send_sms_to_waiting_customer:null!==(S=null==t?void 0:t.show_send_sms_to_waiting_customer)&&void 0!==S?S:null,web_admin_passcode_active:null!==(E=null==t?void 0:t.web_admin_passcode_active)&&void 0!==E?E:null,hide_customer_number_on_calendar:null!==(I=null==t?void 0:t.hide_customer_number_on_calendar)&&void 0!==I?I:null,hide_customer_statistic:null!==(R=null==t?void 0:t.hide_customer_statistic)&&void 0!==R?R:null,default_business_work_hour:null!==(C=null==t?void 0:t.default_business_work_hour)&&void 0!==C?C:null,squareup_feature:Fe(null==t?void 0:t.squareup_feature),check_in:Be(null==t?void 0:t.check_in),check_out:He(null==t?void 0:t.check_out),devices:Ye(null==t?void 0:t.devices),language:null!==(A=null==t?void 0:t.language)&&void 0!==A?A:null,mqtt:Je(null==t?void 0:t.mqtt),new_color:null!==(N=null==t?void 0:t.new_color)&&void 0!==N?N:null,qrCode:null!==(O=null==t?void 0:t.qrCode)&&void 0!==O?O:null,flex_checkin:null!==(P=null==t?void 0:t.flex_checkin)&&void 0!==P?P:null,pos_lite_version:null!==(M=null==t?void 0:t.pos_lite_version)&&void 0!==M?M:0}}function Fe(t){var e,i;return{active:null!==(e=null==t?void 0:t.active)&&void 0!==e?e:null,app_id:null!==(i=null==t?void 0:t.app_id)&&void 0!==i?i:null}}function Be(t){return{page_email:null==t?void 0:t.page_email,page_birthday:null==t?void 0:t.page_birthday,ask_email:null==t?void 0:t.ask_email,ask_birthday:null==t?void 0:t.ask_birthday,page_address:null==t?void 0:t.page_address,show_point:null==t?void 0:t.show_point,page_membership:null==t?void 0:t.page_membership,show_policy:null==t?void 0:t.show_policy,printer_active:null==t?void 0:t.printer_active,app_version:qe(null==t?void 0:t.app_version),signature_active:null==t?void 0:t.signature_active}}function qe(t){return{version:null==t?void 0:t.version,content:Ge(null==t?void 0:t.content)}}function Ge(t){var e,i,n;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,title:null!==(i=null==t?void 0:t.title)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,button:((null==t?void 0:t.button)||[]).map((t=>function(t){return{type:null==t?void 0:t.type,name:null==t?void 0:t.name,url:null==t?void 0:t.url}}(t)))}}function He(t){return{mode_status:null==t?void 0:t.mode_status}}function Ye(t){return{printer:je(null==t?void 0:t.printer)}}function je(t){return{selected_id:null==t?void 0:t.selected_id,options:We(null==t?void 0:t.options),lists:((null==t?void 0:t.lists)||[]).map((t=>function(t){var e,i,n,o,s;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,mode:null!==(o=null==t?void 0:t.mode)&&void 0!==o?o:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,data:Ke(null==t?void 0:t.data)}}(t)))}}function We(t){var e,i;return{"font-size":null!==(e=t["font-size"])&&void 0!==e?e:null,transfer_speed:null!==(i=null==t?void 0:t.transfer_speed)&&void 0!==i?i:null}}function Ke(t){var e,i,n,o,s;return{ip:null!==(e=null==t?void 0:t.ip)&&void 0!==e?e:null,port:null!==(i=null==t?void 0:t.port)&&void 0!==i?i:null,peripheralId:null!==(n=null==t?void 0:t.peripheralId)&&void 0!==n?n:null,characteristicUUID:null!==(o=null==t?void 0:t.characteristicUUID)&&void 0!==o?o:null,serviceUUID:null!==(s=null==t?void 0:t.serviceUUID)&&void 0!==s?s:null}}function Je(t){var e,i,n;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,username:null!==(i=null==t?void 0:t.username)&&void 0!==i?i:null,password:null!==(n=null==t?void 0:t.password)&&void 0!==n?n:null,config:Qe(null==t?void 0:t.config)}}function Qe(t){var e;return{call_feature:null!==(e=null==t?void 0:t.call_feature)&&void 0!==e?e:null}}ke.API_VERSION=C.V1;class $e extends mt{static getCheckoutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/checkout/get-config",query:t});return function(t){return{info:Ue(null==t?void 0:t.info),business:we(null==t?void 0:t.business),settings:Ve(null==t?void 0:t.settings)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}$e.API_VERSION=C.V1;const ze={[C.V1]:o};function Xe(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,fee:null!==(i=null==t?void 0:t.fee)&&void 0!==i?i:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,state:null!==(r=null==t?void 0:t.state)&&void 0!==r?r:null}}function Ze(t){var e;return{is_visible:null!==(e=null==t?void 0:t.is_visible)&&void 0!==e?e:null}}function ti(t){var e,i;return{type:null!==(e=null==t?void 0:t.type)&&void 0!==e?e:null,point_bonus:null!==(i=null==t?void 0:t.point_bonus)&&void 0!==i?i:null}}function ei(t){var e,i,n,o,s,r;return{"config.services.active":null!==(e=t["config.services.active"])&&void 0!==e?e:null,"config.staffs.active":null!==(i=t["config.staffs.active"])&&void 0!==i?i:null,"config.checkin.ask_email.active":null!==(n=t["config.checkin.ask_email.active"])&&void 0!==n?n:null,"config.checkin.ask_birthday.active":null!==(o=t["config.checkin.ask_birthday.active"])&&void 0!==o?o:null,"config.review.notification":null!==(s=t["config.review.notification"])&&void 0!==s?s:null,"config.checkin.printer.active":null!==(r=t["config.checkin.printer.active"])&&void 0!==r?r:null}}function ii(t){var e,i,n,o,s,r,a,l,d,u,p;return{business_id:null!==(e=null==t?void 0:t.business_id)&&void 0!==e?e:null,working_day:null!==(i=null==t?void 0:t.working_day)&&void 0!==i?i:null,mo:null!==(n=null==t?void 0:t.mo)&&void 0!==n?n:null,tu:null!==(o=null==t?void 0:t.tu)&&void 0!==o?o:null,we:null!==(s=null==t?void 0:t.we)&&void 0!==s?s:null,th:null!==(r=null==t?void 0:t.th)&&void 0!==r?r:null,fr:null!==(a=null==t?void 0:t.fr)&&void 0!==a?a:null,sa:null!==(l=null==t?void 0:t.sa)&&void 0!==l?l:null,su:null!==(d=null==t?void 0:t.su)&&void 0!==d?d:null,is_active:null!==(u=null==t?void 0:t.is_active)&&void 0!==u?u:null,type:null!==(p=null==t?void 0:t.type)&&void 0!==p?p:null}}class ni extends mt{static getServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-service-fee",query:t});return Xe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-service-fee",data:t});return Xe(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getStoreRatingDisplay(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/store-rating-display",query:t});return Ze(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStoreRatingDisplay(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-store-rating-display",data:t});return Ze(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-checkout-config",query:t});return ti(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCheckOutConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-checkout-config",data:t});return ti(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getPolicies(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-policies",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,slug:null!==(i=null==t?void 0:t.slug)&&void 0!==i?i:null,title:null!==(n=null==t?void 0:t.title)&&void 0!==n?n:null,body:null!==(o=null==t?void 0:t.body)&&void 0!==o?o:null,view:null!==(s=null==t?void 0:t.view)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,thumbnail_base_url:null!==(a=null==t?void 0:t.thumbnail_base_url)&&void 0!==a?a:null,thumbnail_path:null!==(l=null==t?void 0:t.thumbnail_path)&&void 0!==l?l:null,status:null!==(d=null==t?void 0:t.status)&&void 0!==d?d:null,created_by:null!==(u=null==t?void 0:t.created_by)&&void 0!==u?u:null,updated_by:null!==(p=null==t?void 0:t.updated_by)&&void 0!==p?p:null,published_at:null!==(_=null==t?void 0:t.published_at)&&void 0!==_?_:null,created_at:null!==(c=null==t?void 0:t.created_at)&&void 0!==c?c:null,updated_at:null!==(m=null==t?void 0:t.updated_at)&&void 0!==m?m:null,images:null!==(f=null==t?void 0:t.images)&&void 0!==f?f:null,is_show:null!==(h=null==t?void 0:t.is_show)&&void 0!==h?h:null,category:{id:null!==(v=null===(y=null==t?void 0:t.category)||void 0===y?void 0:y.id)&&void 0!==v?v:null,slug:null!==(T=null===(g=null==t?void 0:t.category)||void 0===g?void 0:g.slug)&&void 0!==T?T:null,title:null!==(E=null===(S=null==t?void 0:t.category)||void 0===S?void 0:S.title)&&void 0!==E?E:null,body:null!==(R=null===(I=null==t?void 0:t.category)||void 0===I?void 0:I.body)&&void 0!==R?R:null,parent_id:null!==(A=null===(C=null==t?void 0:t.category)||void 0===C?void 0:C.parent_id)&&void 0!==A?A:null,status:null!==(O=null===(N=null==t?void 0:t.category)||void 0===N?void 0:N.status)&&void 0!==O?O:null,created_at:null!==(M=null===(P=null==t?void 0:t.category)||void 0===P?void 0:P.created_at)&&void 0!==M?M:null,updated_at:null!==(b=null===(D=null==t?void 0:t.category)||void 0===D?void 0:D.updated_at)&&void 0!==b?b:null,type:null!==(L=null===(x=null==t?void 0:t.category)||void 0===x?void 0:x.id)&&void 0!==L?L:null},article_attachments:null!==(k=null==t?void 0:t.article_attachments)&&void 0!==k?k:null}}(t)))}))}static updatePolicies(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/settings/form/update-policies",data:e}),null}))}static getGeneralConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-general-config",query:t});return ei(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateGeneralConfig(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-general-config",data:t});return ei(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getBusinessWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/business-work-hour/get",query:t});return ii(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateBusinessWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/business-work-hour/update",data:t});return ii(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function oi(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,subject:null!==(i=null==t?void 0:t.subject)&&void 0!==i?i:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,type:null!==(s=null==t?void 0:t.type)&&void 0!==s?s:null,group_id:null!==(r=null==t?void 0:t.group_id)&&void 0!==r?r:null,priority:null!==(a=null==t?void 0:t.priority)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,name:null!==(d=null==t?void 0:t.name)&&void 0!==d?d:null}}ni.API_VERSION=C.V1;class si extends mt{static getCheckInTicketTemplate(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/ticket/site/template",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>oi(t)))}))}static getCheckInTicketInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/info",query:t});return function(t){var e;return{items:(null==t?void 0:t.items)?null==t?void 0:t.items.map((t=>oi(t))):null,template_text:null!==(e=null==t?void 0:t.template_text)&&void 0!==e?e:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInTicketList(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/get-list-ticket",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>oi(t)))}))}static getCheckInTicketListBlockName(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/ticket/site/list-block-name",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i;return{subject:null!==(e=null==t?void 0:t.subject)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null}}(t)))}))}static createCheckInTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/ticket/form/create",data:t});return oi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteCheckInTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/ticket/form/delete",query:t}),null}))}static updateCheckInTicketTemplate(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/ticket/form/update",query:t,data:t});return oi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static moveCheckInSubject(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/form/subject-move",data:t}),null}))}static setCheckInDefaultTicketTemplate(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/site/set-default-ticket-template",data:t}),null}))}static sortCheckInPriority(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/ticket/form/sort-priority",data:t}),null}))}}function ri(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null,supply_share:null!==(m=null==t?void 0:t.supply_share)&&void 0!==m?m:null,show_on_checkin:null!==(f=null==t?void 0:t.show_on_checkin)&&void 0!==f?f:null,show_on_booking:null!==(h=null==t?void 0:t.show_on_booking)&&void 0!==h?h:null,show_on_pos:null!==(y=null==t?void 0:t.show_on_pos)&&void 0!==y?y:null,image_base_url:null!==(v=null==t?void 0:t.image_base_url)&&void 0!==v?v:null,image_path:null!==(g=null==t?void 0:t.image_path)&&void 0!==g?g:null}}function ai(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,description:null!==(o=null==t?void 0:t.description)&&void 0!==o?o:null,parent_id:null!==(s=null==t?void 0:t.parent_id)&&void 0!==s?s:null,owner_id:null!==(r=null==t?void 0:t.owner_id)&&void 0!==r?r:null,created_by:null!==(a=null==t?void 0:t.created_by)&&void 0!==a?a:null,created_at:null!==(l=null==t?void 0:t.created_at)&&void 0!==l?l:null,group_id:null!==(d=null==t?void 0:t.group_id)&&void 0!==d?d:null,status:null!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,type:null!==(p=null==t?void 0:t.type)&&void 0!==p?p:null,updated_at:null!==(_=null==t?void 0:t.updated_at)&&void 0!==_?_:null,image_base_url:null!==(c=null==t?void 0:t.image_base_url)&&void 0!==c?c:null,image_path:null!==(m=null==t?void 0:t.image_path)&&void 0!==m?m:null,services:((null==t?void 0:t.services)||[]).map((t=>{var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,create_at:null!==(n=null==t?void 0:t.create_at)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,priority:null!==(s=null==t?void 0:t.priority)&&void 0!==s?s:null,category_id:null!==(r=null==t?void 0:t.category_id)&&void 0!==r?r:null,price:null!==(a=null==t?void 0:t.price)&&void 0!==a?a:null,note:null!==(l=null==t?void 0:t.note)&&void 0!==l?l:null,point_bonus:null!==(d=null==t?void 0:t.point_bonus)&&void 0!==d?d:null,duration:null!==(u=null==t?void 0:t.duration)&&void 0!==u?u:null,buffer_time:null!==(p=null==t?void 0:t.buffer_time)&&void 0!==p?p:null,web_booking_visible:null!==(_=null==t?void 0:t.web_booking_visible)&&void 0!==_?_:null,group_id:null!==(c=null==t?void 0:t.group_id)&&void 0!==c?c:null,supply_share:null!==(m=null==t?void 0:t.supply_share)&&void 0!==m?m:null,show_on_checkin:null!==(f=null==t?void 0:t.show_on_checkin)&&void 0!==f?f:null,show_on_booking:null!==(h=null==t?void 0:t.show_on_booking)&&void 0!==h?h:null,show_on_pos:null!==(y=null==t?void 0:t.show_on_pos)&&void 0!==y?y:null,image_base_url:null!==(v=null==t?void 0:t.image_base_url)&&void 0!==v?v:null,image_path:null!==(g=null==t?void 0:t.image_path)&&void 0!==g?g:null}})),color_detail:{id:null!==(h=null===(f=null==t?void 0:t.color_detail)||void 0===f?void 0:f.id)&&void 0!==h?h:null,type:null!==(v=null===(y=null==t?void 0:t.color_detail)||void 0===y?void 0:y.type)&&void 0!==v?v:null,item_id:null!==(T=null===(g=null==t?void 0:t.color_detail)||void 0===g?void 0:g.item_id)&&void 0!==T?T:null,color_code:null!==(E=null===(S=null==t?void 0:t.color_detail)||void 0===S?void 0:S.color_code)&&void 0!==E?E:null,priority:null!==(R=null===(I=null==t?void 0:t.color_detail)||void 0===I?void 0:I.priority)&&void 0!==R?R:null,created_at:null!==(A=null===(C=null==t?void 0:t.color_detail)||void 0===C?void 0:C.created_at)&&void 0!==A?A:null,updated_at:null!==(O=null===(N=null==t?void 0:t.color_detail)||void 0===N?void 0:N.updated_at)&&void 0!==O?O:null,status:null!==(M=null===(P=null==t?void 0:t.color_detail)||void 0===P?void 0:P.status)&&void 0!==M?M:null}}}si.API_VERSION=C.V1;class li extends mt{static getCheckInListByCategory(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/service/site/list-by-category",query:t}),ai)}))}static sortCheckInService(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/service/form/sort",data:e}),null}))}static getCheckInListService(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/service/site/list",query:t});return((null===(i=null===(e=n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>ri(t)))}))}static updateCheckInService(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t.data),n=yield this.client.post({path:"/v1/gocheckin/service/form/update",query:t,data:i});return ri(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deleteCheckInService(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/service/form/delete",query:t}),null}))}static createCheckInService(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/service/form/create",data:i});return ri(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function di(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_detail:{type:null!==(d=null===(l=null==t?void 0:t.color_detail)||void 0===l?void 0:l.type)&&void 0!==d?d:null,id:null!==(p=null===(u=null==t?void 0:t.color_detail)||void 0===u?void 0:u.id)&&void 0!==p?p:null,item_id:null!==(c=null===(_=null==t?void 0:t.color_detail)||void 0===_?void 0:_.item_id)&&void 0!==c?c:null,color_code:null!==(f=null===(m=null==t?void 0:t.color_detail)||void 0===m?void 0:m.color_code)&&void 0!==f?f:null,priority:null!==(y=null===(h=null==t?void 0:t.color_detail)||void 0===h?void 0:h.priority)&&void 0!==y?y:null,created_at:null!==(g=null===(v=null==t?void 0:t.color_detail)||void 0===v?void 0:v.created_at)&&void 0!==g?g:null,updated_at:null!==(S=null===(T=null==t?void 0:t.color_detail)||void 0===T?void 0:T.updated_at)&&void 0!==S?S:null,status:null!==(I=null===(E=null==t?void 0:t.color_detail)||void 0===E?void 0:E.status)&&void 0!==I?I:null}}}li.API_VERSION=C.V1;class ui extends mt{static sortCheckInCategory(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/category/form/sort-category",data:e}),null}))}static getCheckInListCategory(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/category/site/list",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,priority:null!==(n=null==t?void 0:t.priority)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,group_id:null!==(s=null==t?void 0:t.group_id)&&void 0!==s?s:null,status:null!==(r=null==t?void 0:t.status)&&void 0!==r?r:null,type:null!==(a=null==t?void 0:t.type)&&void 0!==a?a:null,color_detail:{type:null!==(d=null===(l=null==t?void 0:t.color_detail)||void 0===l?void 0:l.type)&&void 0!==d?d:null,id:null!==(p=null===(u=null==t?void 0:t.color_detail)||void 0===u?void 0:u.id)&&void 0!==p?p:null,item_id:null!==(c=null===(_=null==t?void 0:t.color_detail)||void 0===_?void 0:_.item_id)&&void 0!==c?c:null,color_code:null!==(f=null===(m=null==t?void 0:t.color_detail)||void 0===m?void 0:m.color_code)&&void 0!==f?f:null,priority:null!==(y=null===(h=null==t?void 0:t.color_detail)||void 0===h?void 0:h.priority)&&void 0!==y?y:null,created_at:null!==(g=null===(v=null==t?void 0:t.color_detail)||void 0===v?void 0:v.created_at)&&void 0!==g?g:null,updated_at:null!==(S=null===(T=null==t?void 0:t.color_detail)||void 0===T?void 0:T.updated_at)&&void 0!==S?S:null,status:null!==(I=null===(E=null==t?void 0:t.color_detail)||void 0===E?void 0:E.status)&&void 0!==I?I:null},description:null!==(R=null==t?void 0:t.description)&&void 0!==R?R:null,parent_id:null!==(C=null==t?void 0:t.parent_id)&&void 0!==C?C:null,owner_id:null!==(A=null==t?void 0:t.owner_id)&&void 0!==A?A:null,created_by:null!==(N=null==t?void 0:t.created_by)&&void 0!==N?N:null}}(t)))}))}static updateCheckInCategory(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t.data),n=yield this.client.post({path:"/v1/gocheckin/category/form/update",query:{id:t.id},data:i});return di(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static deleteCheckInCategory(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/category/form/delete",query:t}),null}))}static createCheckInCategory(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/category/form/create",data:i});return di(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function pi(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,package_price:null!==(i=null==t?void 0:t.package_price)&&void 0!==i?i:null,package_sms:null!==(n=null==t?void 0:t.package_sms)&&void 0!==n?n:null,package_code:null!==(o=null==t?void 0:t.package_code)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}ui.API_VERSION=C.V1;class _i extends mt{static getSMSRemain(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/sms/site/get-sms-remain",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v;return{remain_balance:{price:null!==(i=null===(e=null==t?void 0:t.remain_balance)||void 0===e?void 0:e.price)&&void 0!==i?i:null,sms:null!==(o=null===(n=null==t?void 0:t.remain_balance)||void 0===n?void 0:n.sms)&&void 0!==o?o:null},sms_count:{send:{price:null!==(a=null===(r=null===(s=null==t?void 0:t.sms_count)||void 0===s?void 0:s.send)||void 0===r?void 0:r.price)&&void 0!==a?a:null,sms:null!==(u=null===(d=null===(l=null==t?void 0:t.sms_count)||void 0===l?void 0:l.send)||void 0===d?void 0:d.sms)&&void 0!==u?u:null},received:{price:null!==(c=null===(_=null===(p=null==t?void 0:t.sms_count)||void 0===p?void 0:p.received)||void 0===_?void 0:_.price)&&void 0!==c?c:null,sms:null!==(h=null===(f=null===(m=null==t?void 0:t.sms_count)||void 0===m?void 0:m.received)||void 0===f?void 0:f.sms)&&void 0!==h?h:null},total:null!==(v=null===(y=null==t?void 0:t.sms_count)||void 0===y?void 0:y.total)&&void 0!==v?v:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getSMSHistory(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/sms/site/history",query:t}),pi)}))}}function ci(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W,K,J,Q,$,z,X,Z,tt,et,it,nt,ot,st,rt,at;return{user_id:null!==(e=null==t?void 0:t.user_id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,code:null!==(n=null==t?void 0:t.code)&&void 0!==n?n:null,created_at:null!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(s=null==t?void 0:t.updated_at)&&void 0!==s?s:null,color_code:null!==(r=null==t?void 0:t.color_code)&&void 0!==r?r:null,image_url:null!==(a=null==t?void 0:t.image_url)&&void 0!==a?a:null,delete_image_url:null!==(l=null==t?void 0:t.delete_image_url)&&void 0!==l?l:null,priority:null!==(d=null==t?void 0:t.priority)&&void 0!==d?d:null,commission_type:null!==(u=null==t?void 0:t.commission_type)&&void 0!==u?u:null,turn_priority:null!==(p=null==t?void 0:t.turn_priority)&&void 0!==p?p:null,last_turn_priority:null!==(_=null==t?void 0:t.last_turn_priority)&&void 0!==_?_:null,phone:null!==(c=null==t?void 0:t.phone)&&void 0!==c?c:null,address:null!==(m=null==t?void 0:t.address)&&void 0!==m?m:null,nickname:null!==(f=null==t?void 0:t.nickname)&&void 0!==f?f:null,priority_calendar:null!==(h=null==t?void 0:t.priority_calendar)&&void 0!==h?h:null,status:null!==(y=null==t?void 0:t.status)&&void 0!==y?y:null,booking_active:null!==(v=null==t?void 0:t.booking_active)&&void 0!==v?v:null,email:null!==(g=null==t?void 0:t.email)&&void 0!==g?g:null,commission:{id:null!==(S=null===(T=null==t?void 0:t.commission)||void 0===T?void 0:T.id)&&void 0!==S?S:null,staff_id:null!==(I=null===(E=null==t?void 0:t.commission)||void 0===E?void 0:E.staff_id)&&void 0!==I?I:null,type:null!==(C=null===(R=null==t?void 0:t.commission)||void 0===R?void 0:R.type)&&void 0!==C?C:null,rate:null!==(N=null===(A=null==t?void 0:t.commission)||void 0===A?void 0:A.rate)&&void 0!==N?N:null,created_at:null!==(P=null===(O=null==t?void 0:t.commission)||void 0===O?void 0:O.created_at)&&void 0!==P?P:null,updated_at:null!==(D=null===(M=null==t?void 0:t.commission)||void 0===M?void 0:M.updated_at)&&void 0!==D?D:null,status:null!==(x=null===(b=null==t?void 0:t.commission)||void 0===b?void 0:b.status)&&void 0!==x?x:null,salary_by_period:null!==(k=null===(L=null==t?void 0:t.commission)||void 0===L?void 0:L.salary_by_period)&&void 0!==k?k:null,service_rate:null!==(w=null===(U=null==t?void 0:t.commission)||void 0===U?void 0:U.service_rate)&&void 0!==w?w:null,product_rate:null!==(F=null===(V=null==t?void 0:t.commission)||void 0===V?void 0:V.product_rate)&&void 0!==F?F:null,gift_card_rate:null!==(q=null===(B=null==t?void 0:t.commission)||void 0===B?void 0:B.gift_card_rate)&&void 0!==q?q:null,cash_check_percentage:null!==(H=null===(G=null==t?void 0:t.commission)||void 0===G?void 0:G.cash_check_percentage)&&void 0!==H?H:null,card_charge:null!==(j=null===(Y=null==t?void 0:t.commission)||void 0===Y?void 0:Y.card_charge)&&void 0!==j?j:null,cash_bonus:null!==(K=null===(W=null==t?void 0:t.commission)||void 0===W?void 0:W.cash_bonus)&&void 0!==K?K:null,is_tip_to_check:null!==(Q=null===(J=null==t?void 0:t.commission)||void 0===J?void 0:J.is_tip_to_check)&&void 0!==Q?Q:null,tip_to_check_percentage:null!==(z=null===($=null==t?void 0:t.commission)||void 0===$?void 0:$.tip_to_check_percentage)&&void 0!==z?z:null,count_day_off_state:null!==(Z=null===(X=null==t?void 0:t.commission)||void 0===X?void 0:X.count_day_off_state)&&void 0!==Z?Z:null,count_day_off_value:null!==(et=null===(tt=null==t?void 0:t.commission)||void 0===tt?void 0:tt.count_day_off_value)&&void 0!==et?et:null,day_can_not_off:null!==(nt=null===(it=null==t?void 0:t.commission)||void 0===it?void 0:it.day_can_not_off)&&void 0!==nt?nt:null,salary_type:null!==(st=null===(ot=null==t?void 0:t.commission)||void 0===ot?void 0:ot.salary_type)&&void 0!==st?st:null,salary_per_hour:null!==(at=null===(rt=null==t?void 0:t.commission)||void 0===rt?void 0:rt.salary_per_hour)&&void 0!==at?at:null},permission:((null==t?void 0:t.permission)||[]).map((t=>{var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}))}}function mi(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U;return{employee:{user_id:null===(e=null==t?void 0:t.employee)||void 0===e?void 0:e.user_id,name:null===(i=null==t?void 0:t.employee)||void 0===i?void 0:i.user_id,code:null===(n=null==t?void 0:t.employee)||void 0===n?void 0:n.user_id,image_url:null===(o=null==t?void 0:t.employee)||void 0===o?void 0:o.user_id,delete_image_url:null===(s=null==t?void 0:t.employee)||void 0===s?void 0:s.user_id,phone:null===(r=null==t?void 0:t.employee)||void 0===r?void 0:r.user_id,address:null===(a=null==t?void 0:t.employee)||void 0===a?void 0:a.user_id,nickname:null===(l=null==t?void 0:t.employee)||void 0===l?void 0:l.user_id,status:null===(d=null==t?void 0:t.employee)||void 0===d?void 0:d.user_id,color_code:null===(u=null==t?void 0:t.employee)||void 0===u?void 0:u.user_id,booking_active:null===(p=null==t?void 0:t.employee)||void 0===p?void 0:p.user_id,email:null===(_=null==t?void 0:t.employee)||void 0===_?void 0:_.user_id,commission:null===(c=null==t?void 0:t.employee)||void 0===c?void 0:c.user_id,permission:null===(m=null==t?void 0:t.employee)||void 0===m?void 0:m.permission.map((t=>{var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}))},employeeWorkDay:{working_day:null!==(h=null===(f=null==t?void 0:t.employeeWorkDay)||void 0===f?void 0:f.working_day)&&void 0!==h?h:null,mo:null!==(v=null===(y=null==t?void 0:t.employeeWorkDay)||void 0===y?void 0:y.mo)&&void 0!==v?v:null,tu:null!==(T=null===(g=null==t?void 0:t.employeeWorkDay)||void 0===g?void 0:g.tu)&&void 0!==T?T:null,we:null!==(E=null===(S=null==t?void 0:t.employeeWorkDay)||void 0===S?void 0:S.we)&&void 0!==E?E:null,th:null!==(R=null===(I=null==t?void 0:t.employeeWorkDay)||void 0===I?void 0:I.th)&&void 0!==R?R:null,fr:null!==(A=null===(C=null==t?void 0:t.employeeWorkDay)||void 0===C?void 0:C.fr)&&void 0!==A?A:null,sa:null!==(O=null===(N=null==t?void 0:t.employeeWorkDay)||void 0===N?void 0:N.sa)&&void 0!==O?O:null,su:null!==(M=null===(P=null==t?void 0:t.employeeWorkDay)||void 0===P?void 0:P.su)&&void 0!==M?M:null,is_active:null!==(b=null===(D=null==t?void 0:t.employeeWorkDay)||void 0===D?void 0:D.is_active)&&void 0!==b?b:null,employee_id:null!==(L=null===(x=null==t?void 0:t.employeeWorkDay)||void 0===x?void 0:x.employee_id)&&void 0!==L?L:null,id:null!==(U=null===(k=null==t?void 0:t.employeeWorkDay)||void 0===k?void 0:k.id)&&void 0!==U?U:null}}}function fi(t){var e,i,n,o,s,r,a,l,d,u,p;return{working_day:null!==(e=null==t?void 0:t.working_day)&&void 0!==e?e:null,mo:null!==(i=null==t?void 0:t.mo)&&void 0!==i?i:null,tu:null!==(n=null==t?void 0:t.tu)&&void 0!==n?n:null,we:null!==(o=null==t?void 0:t.we)&&void 0!==o?o:null,th:null!==(s=null==t?void 0:t.th)&&void 0!==s?s:null,fr:null!==(r=null==t?void 0:t.fr)&&void 0!==r?r:null,sa:null!==(a=null==t?void 0:t.sa)&&void 0!==a?a:null,su:null!==(l=null==t?void 0:t.su)&&void 0!==l?l:null,is_active:null!==(d=null==t?void 0:t.is_active)&&void 0!==d?d:null,id:null!==(u=null==t?void 0:t.id)&&void 0!==u?u:null,employee_id:null!==(p=null==t?void 0:t.employee_id)&&void 0!==p?p:null}}_i.API_VERSION=C.V1;class hi extends mt{static getListStaff(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/staff/site/list",query:t}),ci)}))}static createStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/create",data:t});return mi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStaff(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/update",data:t});return mi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deleteStaff(t){return z(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/gocheckin/staff/form/delete",query:t}),null}))}static sortStaff(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/staff/form/sort",data:t}),null}))}static getStaffWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/staff/work-hour/info",query:t});return fi(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateStaffWorkHour(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/staff/work-hour/update",query:{id:t.id},data:i});return fi(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static getListServiceByStaff(t){var e,i;return z(this,void 0,void 0,(function*(){const n=yield this.client.get({path:"/v1/gocheckin/staff/employee-service/list-service-by-staff",query:t});return((null===(i=null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y,j,W;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,employee_id:null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null,service_id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null,is_active:null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,service:{id:null!==(r=null===(s=null==t?void 0:t.service)||void 0===s?void 0:s.id)&&void 0!==r?r:null,name:null!==(l=null===(a=null==t?void 0:t.service)||void 0===a?void 0:a.name)&&void 0!==l?l:null,create_at:null!==(u=null===(d=null==t?void 0:t.service)||void 0===d?void 0:d.create_at)&&void 0!==u?u:null,type:null!==(_=null===(p=null==t?void 0:t.service)||void 0===p?void 0:p.type)&&void 0!==_?_:null,status:null!==(m=null===(c=null==t?void 0:t.service)||void 0===c?void 0:c.status)&&void 0!==m?m:null,group_id:null!==(h=null===(f=null==t?void 0:t.service)||void 0===f?void 0:f.group_id)&&void 0!==h?h:null,priority:null!==(v=null===(y=null==t?void 0:t.service)||void 0===y?void 0:y.priority)&&void 0!==v?v:null,category_id:null!==(T=null===(g=null==t?void 0:t.service)||void 0===g?void 0:g.category_id)&&void 0!==T?T:null,onwer_id:null!==(E=null===(S=null==t?void 0:t.service)||void 0===S?void 0:S.onwer_id)&&void 0!==E?E:null,price:null!==(R=null===(I=null==t?void 0:t.service)||void 0===I?void 0:I.price)&&void 0!==R?R:null,note:null!==(A=null===(C=null==t?void 0:t.service)||void 0===C?void 0:C.note)&&void 0!==A?A:null,point_bonus:null!==(O=null===(N=null==t?void 0:t.service)||void 0===N?void 0:N.point_bonus)&&void 0!==O?O:null,duration:null!==(M=null===(P=null==t?void 0:t.service)||void 0===P?void 0:P.duration)&&void 0!==M?M:null,buffer_time:null!==(b=null===(D=null==t?void 0:t.service)||void 0===D?void 0:D.buffer_time)&&void 0!==b?b:null,web_booking_visible:null!==(L=null===(x=null==t?void 0:t.service)||void 0===x?void 0:x.web_booking_visible)&&void 0!==L?L:null,supply_share:null!==(U=null===(k=null==t?void 0:t.service)||void 0===k?void 0:k.supply_share)&&void 0!==U?U:null,show_on_checkin:null!==(V=null===(w=null==t?void 0:t.service)||void 0===w?void 0:w.show_on_checkin)&&void 0!==V?V:null,show_on_booking:null!==(B=null===(F=null==t?void 0:t.service)||void 0===F?void 0:F.show_on_booking)&&void 0!==B?B:null,show_on_pos:null!==(G=null===(q=null==t?void 0:t.service)||void 0===q?void 0:q.show_on_pos)&&void 0!==G?G:null,image_base_url:null!==(Y=null===(H=null==t?void 0:t.service)||void 0===H?void 0:H.image_base_url)&&void 0!==Y?Y:null,image_path:null!==(W=null===(j=null==t?void 0:t.service)||void 0===j?void 0:j.image_path)&&void 0!==W?W:null}}}(t)))}))}static addListServiceByStaff(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/staff/employee-service/add-list-services",data:e}),null}))}static deleteListServiceByStaff(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/gocheckin/staff/employee-service/remove-list-services",data:e}),null}))}static getListPermission(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/staff/site/list-permission",query:t});return((null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n,o,s,r;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null}}(t)))}))}static saveCommission(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/staff/form/save-commission",data:i});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,staff_id:null!==(i=null==t?void 0:t.staff_id)&&void 0!==i?i:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:null,rate:null!==(o=null==t?void 0:t.rate)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,status:null!==(a=null==t?void 0:t.status)&&void 0!==a?a:null,salary_by_period:null!==(l=null==t?void 0:t.salary_by_period)&&void 0!==l?l:null,service_rate:null!==(d=null==t?void 0:t.service_rate)&&void 0!==d?d:null,product_rate:null!==(u=null==t?void 0:t.product_rate)&&void 0!==u?u:null,gift_card_rate:null!==(p=null==t?void 0:t.product_rate)&&void 0!==p?p:null,cash_check_percentage:null!==(_=null==t?void 0:t.cash_check_percentage)&&void 0!==_?_:null,card_charge:null!==(c=null==t?void 0:t.card_charge)&&void 0!==c?c:null,cash_bonus:null!==(m=null==t?void 0:t.cash_bonus)&&void 0!==m?m:null,is_tip_to_check:null!==(f=null==t?void 0:t.is_tip_to_check)&&void 0!==f?f:null,tip_to_check_percentage:null!==(h=null==t?void 0:t.tip_to_check_percentage)&&void 0!==h?h:null,count_day_off_state:null!==(y=null==t?void 0:t.count_day_off_state)&&void 0!==y?y:null,count_day_off_value:null!==(v=null==t?void 0:t.count_day_off_value)&&void 0!==v?v:null,day_can_not_off:null!==(g=null==t?void 0:t.day_can_not_off)&&void 0!==g?g:null,salary_type:null!==(T=null==t?void 0:t.salary_type)&&void 0!==T?T:null,salary_per_hour:null!==(S=null==t?void 0:t.salary_per_hour)&&void 0!==S?S:null}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static updateStaffCommission(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/staff/form/update-staff-commission",data:t});return ci(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateRoleAppointment(t){return z(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/gocheckin/staff/form/update-role-appointment",data:t}),null}))}}function yi(t){var e,i,n,o,s,r,a,l,d;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,appointment_id:null!==(i=null==t?void 0:t.appointment_id)&&void 0!==i?i:null,customer_id:null!==(n=null==t?void 0:t.customer_id)&&void 0!==n?n:null,type:null!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,content:null!==(s=null==t?void 0:t.content)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,staff_name:null!==(a=null==t?void 0:t.staff_name)&&void 0!==a?a:null,data:null!==(l=null==t?void 0:t.data)&&void 0!==l?l:null,is_read:null!==(d=null==t?void 0:t.is_read)&&void 0!==d?d:null}}function vi(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,user_id:null!==(i=null==t?void 0:t.user_id)&&void 0!==i?i:null,category:null!==(n=null==t?void 0:t.category)&&void 0!==n?n:null,title:null!==(o=null==t?void 0:t.title)&&void 0!==o?o:null,description:null!==(s=null==t?void 0:t.description)&&void 0!==s?s:null,url:null!==(r=null==t?void 0:t.url)&&void 0!==r?r:null,app:null!==(a=null==t?void 0:t.app)&&void 0!==a?a:null,is_read:null!==(l=null==t?void 0:t.is_read)&&void 0!==l?l:null,data:null!==(d=null==t?void 0:t.data)&&void 0!==d?d:null,is_sent:null!==(u=null==t?void 0:t.is_sent)&&void 0!==u?u:null,start_date:null!==(p=null==t?void 0:t.start_date)&&void 0!==p?p:null,end_date:null!==(_=null==t?void 0:t.end_date)&&void 0!==_?_:null,message_id:null!==(c=null==t?void 0:t.message_id)&&void 0!==c?c:null,created_at:null!==(m=null==t?void 0:t.created_at)&&void 0!==m?m:null,updated_at:null!==(f=null==t?void 0:t.updated_at)&&void 0!==f?f:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h:null}}hi.API_VERSION=C.V1;class gi extends mt{static getNotifyAppointment(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/notification/site/list-appointment",query:t}),yi)}))}static getNotifySystem(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/notification/site/list",query:t}),vi)}))}static maskAsRead(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/notification/form/mark-is-read",data:i});return function(t){var e;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}}function Ti(t){var e,i,n,o;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,name:null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,description:null!==(n=null==t?void 0:t.description)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null}}gi.API_VERSION=C.V1;class Si extends mt{static getInfoGroup(t){return z(this,void 0,void 0,(function*(){return kt(yield this.client.get({path:"/v1/gocheckin/group/site/list",query:t}),Ti)}))}static updateListGroup(t){var e;return z(this,void 0,void 0,(function*(){const i=_e(t),n=yield this.client.post({path:"/v1/gocheckin/customer/form/update-list-group",data:i});return((null===(e=null==n?void 0:n.results)||void 0===e?void 0:e.data)||[]).map((t=>function(t){var e,i,n;return{customer_id:null!==(e=null==t?void 0:t.customer_id)&&void 0!==e?e:null,group_id:null!==(i=null==t?void 0:t.group_id)&&void 0!==i?i:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null}}(t)))}))}}Si.API_VERSION=C.V1;const Ei={[C.V1]:s};class Ii extends mt{static getSMSContent(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/appointment/settings/site/get-sms-content",query:t});return function(t){var e,i,n,o,s;return{"config.appointment.content_sms.customer.canceled":null!==(e=t["config.appointment.content_sms.customer.canceled"])&&void 0!==e?e:null,"config.appointment.content_sms.customer.confirmed":null!==(i=t["config.appointment.content_sms.customer.confirmed"])&&void 0!==i?i:null,"config.appointment.content_sms.customer.scheduled":null!==(n=t["config.appointment.content_sms.customer.scheduled"])&&void 0!==n?n:null,"config.appointment.remind_content":null!==(o=t["config.appointment.remind_content"])&&void 0!==o?o:null,"config.gocheckin.sms_for_waiting_customer_content":null!==(s=t["config.gocheckin.sms_for_waiting_customer_content"])&&void 0!==s?s:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateSMSContent(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/appointment/settings/form/update-sms-content",data:t});return function(t){var e,i,n,o,s;return{key:null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null,value:null!==(i=null==t?void 0:t.value)&&void 0!==i?i:null,comment:null!==(n=null==t?void 0:t.comment)&&void 0!==n?n:null,updated_at:null!==(o=null==t?void 0:t.updated_at)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ii.API_VERSION=C.V1;const Ri={[C.V1]:r};class Ci extends mt{static getUserInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/user/site/info",query:t});return function(t){var e,i,n,o,s,r,a,l;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,username:null!==(i=null==t?void 0:t.username)&&void 0!==i?i:null,email:null!==(n=null==t?void 0:t.email)&&void 0!==n?n:null,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null,updated_at:null!==(r=null==t?void 0:t.updated_at)&&void 0!==r?r:null,logged_at:null!==(a=null==t?void 0:t.logged_at)&&void 0!==a?a:null,first_sign_in:null!==(l=null==t?void 0:t.first_sign_in)&&void 0!==l?l:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ci.API_VERSION=C.V1;const Ai={[C.V1]:a};class Ni extends mt{static login(t){var e;return z(this,void 0,void 0,(function*(){const i=new FormData;i.append("username",t.username),i.append("password",t.password);const n=yield this.client.post({path:t.domain+"/v1/user/form/login",data:i,headers:{"G-ClientID":t.g_client_id}});return function(t){var e,i,n,o,s,r,a,l,d;return{access_token:null!==(e=null==t?void 0:t.access_token)&&void 0!==e?e:null,user_info:{username:null!==(n=null===(i=null==t?void 0:t.user_info)||void 0===i?void 0:i.username)&&void 0!==n?n:null,email:null!==(s=null===(o=null==t?void 0:t.user_info)||void 0===o?void 0:o.email)&&void 0!==s?s:null,logged_at:null!==(a=null===(r=null==t?void 0:t.user_info)||void 0===r?void 0:r.logged_at)&&void 0!==a?a:null,first_sign_in:null!==(d=null===(l=null==t?void 0:t.user_info)||void 0===l?void 0:l.first_sign_in)&&void 0!==d?d:null}}}(null===(e=null==n?void 0:n.result)||void 0===e?void 0:e.data)}))}static forgotPassword(t){return z(this,void 0,void 0,(function*(){const e=_e(t);return yield this.client.post({path:"/v1/user/form/forgot-password",data:e}),null}))}static getDnsInfo(t){var e;return z(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"https://dns.fast-boy.net/site/get-info",query:t});return function(t){var e,i,n,o,s,r,a,l,d,u,p,_,c,m,f,h,y,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,k,U,w,V,F,B,q,G,H,Y;return{id:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,external_id:null!==(i=null==t?void 0:t.external_id)&&void 0!==i?i:null,client_id:null!==(n=null==t?void 0:t.client_id)&&void 0!==n?n:null,name:null!==(o=null==t?void 0:t.name)&&void 0!==o?o:null,domain:null!==(s=null==t?void 0:t.domain)&&void 0!==s?s:null,created_at:null!==(r=null==t?void 0:t.created_at)&&void 0!==r?r:null,updated_at:null!==(a=null==t?void 0:t.updated_at)&&void 0!==a?a:null,status:null!==(l=null==t?void 0:t.status)&&void 0!==l?l:null,api_version:null!==(d=null==t?void 0:t.api_version)&&void 0!==d?d:null,category:null!==(u=null==t?void 0:t.category)&&void 0!==u?u:null,booking_version:null!==(p=null==t?void 0:t.booking_version)&&void 0!==p?p:null,business_detail:null!==(_=null==t?void 0:t.business_detail)&&void 0!==_?_:null,app_version:{id:null!==(m=null===(c=null==t?void 0:t.app_version)||void 0===c?void 0:c.id)&&void 0!==m?m:null,type:null!==(h=null===(f=null==t?void 0:t.app_version)||void 0===f?void 0:f.type)&&void 0!==h?h:null,auto_assign:null!==(v=null===(y=null==t?void 0:t.app_version)||void 0===y?void 0:y.auto_assign)&&void 0!==v?v:null,version:null!==(T=null===(g=null==t?void 0:t.app_version)||void 0===g?void 0:g.version)&&void 0!==T?T:null,data:null!==(E=null===(S=null==t?void 0:t.app_version)||void 0===S?void 0:S.data)&&void 0!==E?E:null,created_at:null!==(R=null===(I=null==t?void 0:t.app_version)||void 0===I?void 0:I.created_at)&&void 0!==R?R:null,updated_at:null!==(A=null===(C=null==t?void 0:t.app_version)||void 0===C?void 0:C.updated_at)&&void 0!==A?A:null,status:null!==(O=null===(N=null==t?void 0:t.app_version)||void 0===N?void 0:N.status)&&void 0!==O?O:null},app_mercure:{id:null!==(M=null===(P=null==t?void 0:t.app_mercure)||void 0===P?void 0:P.id)&&void 0!==M?M:null,type:null!==(b=null===(D=null==t?void 0:t.app_mercure)||void 0===D?void 0:D.type)&&void 0!==b?b:null,auto_assign:null!==(L=null===(x=null==t?void 0:t.app_mercure)||void 0===x?void 0:x.auto_assign)&&void 0!==L?L:null,version:null!==(U=null===(k=null==t?void 0:t.app_mercure)||void 0===k?void 0:k.version)&&void 0!==U?U:null,data:null!==(V=null===(w=null==t?void 0:t.app_mercure)||void 0===w?void 0:w.data)&&void 0!==V?V:null,created_at:null!==(B=null===(F=null==t?void 0:t.app_mercure)||void 0===F?void 0:F.created_at)&&void 0!==B?B:null,updated_at:null!==(G=null===(q=null==t?void 0:t.app_mercure)||void 0===q?void 0:q.updated_at)&&void 0!==G?G:null,status:null!==(Y=null===(H=null==t?void 0:t.app_mercure)||void 0===H?void 0:H.status)&&void 0!==Y?Y:null}}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ni.API_VERSION=C.V1;const Oi={[C.V1]:l},Pi={Context:lt,PosClientApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Me[t])throw new Error("Can't not find API of this version!");return Me[t]})(n);this.batch_history=o.BatchHistory,this.business=o.Business,this.call=o.Call,this.category=o.Category,this.check_in=o.CheckIn,this.check_out=o.CheckOut,this.combo=o.Combo,this.customer=o.Customer,this.gift_card=o.GiftCard,this.income=o.Income,this.key_storage=o.KeyStorage,this.order=o.Order,this.payroll=o.Payroll,this.printer=o.Printer,this.service=o.Service,this.staff=o.Staff,this.ticket=o.Ticket,this.time_keeping=o.TimeKeeping,this.unsubscribe_contact=o.UnsubscribeContact,this.user=o.User,this.setting=o.Setting,this.product=o.Product,this.commission=o.Commission}},SettingsApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!ze[t])throw new Error("Can't not find API of this version!");return ze[t]})(n);this.keyStorage=o.KeyStorage,this.checkIn=o.CheckIn,this.checkout=o.Checkout}},GoCheckInApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ei[t])throw new Error("Can't not find API of this version!");return Ei[t]})(n);this.settings=o.Settings,this.ticket=o.Ticket,this.service=o.Service,this.category=o.Category,this.sms=o.SMS,this.staff=o.Staff,this.notification=o.Notification,this.customer=o.Customer}},AppointmentApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ri[t])throw new Error("Can't not find API of this version!");return Ri[t]})(n);this.settings=o.Settings}},UserApi:class{constructor(t,e,i,n){mt.setClient(t,e,i,n);const o=(t=>{if(!Ai[t])throw new Error("Can't not find API of this version!");return Ai[t]})(n);this.auth=o.Auth}},BaseApi:class{constructor(t){mt.setClient("https://gci2020.fast-boy.net","","",t);const e=(t=>{if(!Oi[t])throw new Error("Can't not find API of this version!");return Oi[t]})(t);this.auth=e.Auth}},Errors:t,Clover:$,Payment:null};window.Gap=Pi;const Mi=Pi})(),n})()));