gap-nodejs-sdk 1.0.49 → 1.0.52
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 +1 -1
- package/dist/go_check_in_api/1.0.0/api/index.d.ts +2 -0
- package/dist/go_check_in_api/1.0.0/api/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/api/index.js +1 -0
- package/dist/go_check_in_api/1.0.0/api/settings.d.ts +11 -0
- package/dist/go_check_in_api/1.0.0/api/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/api/settings.js +28 -0
- package/dist/go_check_in_api/1.0.0/endpoints/index.d.ts +2 -0
- package/dist/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/endpoints/index.js +1 -0
- package/dist/go_check_in_api/1.0.0/endpoints/settings.d.ts +6 -0
- package/dist/go_check_in_api/1.0.0/endpoints/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/endpoints/settings.js +4 -0
- package/dist/go_check_in_api/1.0.0/interfaces/index.d.ts +1 -0
- package/dist/go_check_in_api/1.0.0/interfaces/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/interfaces/index.js +0 -0
- package/dist/go_check_in_api/1.0.0/interfaces/settings.d.ts +3 -0
- package/dist/go_check_in_api/1.0.0/interfaces/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/interfaces/settings.js +2 -0
- package/dist/go_check_in_api/1.0.0/models/index.d.ts +2 -0
- package/dist/go_check_in_api/1.0.0/models/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/models/index.js +1 -0
- package/dist/go_check_in_api/1.0.0/models/settings.d.ts +3 -0
- package/dist/go_check_in_api/1.0.0/models/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/models/settings.js +10 -0
- package/dist/go_check_in_api/1.0.0/types/request/index.d.ts +2 -0
- package/dist/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/types/request/index.js +1 -0
- package/dist/go_check_in_api/1.0.0/types/request/settings.d.ts +6 -0
- package/dist/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/types/request/settings.js +1 -0
- package/dist/go_check_in_api/1.0.0/types/response/index.d.ts +2 -0
- package/dist/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/types/response/index.js +1 -0
- package/dist/go_check_in_api/1.0.0/types/response/settings.d.ts +12 -0
- package/dist/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -0
- package/dist/go_check_in_api/1.0.0/types/response/settings.js +1 -0
- package/dist/go_check_in_api/api.d.ts +5 -0
- package/dist/go_check_in_api/api.d.ts.map +1 -0
- package/dist/go_check_in_api/api.js +12 -0
- package/dist/go_check_in_api/enums/index.d.ts +1 -0
- package/dist/go_check_in_api/enums/index.d.ts.map +1 -0
- package/dist/go_check_in_api/enums/index.js +0 -0
- package/dist/go_check_in_api/index.d.ts +6 -0
- package/dist/go_check_in_api/index.d.ts.map +1 -0
- package/dist/go_check_in_api/index.js +9 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/pos_client_api/1.0.0/api/setting.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/setting.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/setting.js +20 -0
- package/dist/pos_client_api/1.0.0/endpoints/check_in.js +1 -1
- package/dist/pos_client_api/{PosClientApi.d.ts → index.d.ts} +1 -1
- package/dist/pos_client_api/index.d.ts.map +1 -0
- package/dist/pos_client_api/{PosClientApi.js → index.js} +0 -0
- package/dist/settings_api/{SettingsApi.d.ts → index.d.ts} +1 -1
- package/dist/settings_api/index.d.ts.map +1 -0
- package/dist/settings_api/{SettingsApi.js → index.js} +0 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/package.json +1 -1
- package/dist/pos_client_api/PosClientApi.d.ts.map +0 -1
- package/dist/settings_api/SettingsApi.d.ts.map +0 -1
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 o=i(64867),n=i(36026),s=i(4372),r=i(15327),a=i(94097),l=i(84109),u=i(67985),d=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,y=t.headers,h=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(m),t.signal&&t.signal.removeEventListener("abort",m)}o.isFormData(f)&&o.isStandardBrowserEnv()&&delete y["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var T=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";y.Authorization="Basic "+btoa(T+":"+S)}var E=a(t.baseURL,t.url);function I(){if(g){var o="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,s={data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:o,config:t,request:g};n((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",o=t.transitional||d;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(new p(e,o.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,t,g)),g=null},o.isStandardBrowserEnv()){var R=(t.withCredentials||u(E))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;R&&(y[t.xsrfHeaderName]=R)}"setRequestHeader"in g&&o.forEach(y,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete y[e]:g.setRequestHeader(e,t)})),o.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),h&&"json"!==h&&(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 o=i(64867),n=i(91849),s=i(30321),r=i(47185),a=function t(e){var i=new s(e),a=n(s.prototype.request,i);return o.extend(a,s.prototype,i),o.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 o=i(60644);function n(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,o=i._listeners.length;for(e=0;e<o;e++)i._listeners[e](t);i._listeners=null}})),this.promise.then=function(t){var e,o=new Promise((function(t){i.subscribe(t),e=t})).then(t);return o.cancel=function(){i.unsubscribe(e)},o},t((function(t){i.reason||(i.reason=new o(t),e(i.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},n.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},n.source=function(){var t;return{token:new n((function(e){t=e})),cancel:t}},t.exports=n},60644:(t,e,i)=>{"use strict";var o=i(82648);function n(t){o.call(this,null==t?"canceled":t,o.ERR_CANCELED),this.name="CanceledError"}i(64867).inherits(n,o,{__CANCEL__:!0}),t.exports=n},26502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:(t,e,i)=>{"use strict";var o=i(64867),n=i(15327),s=i(80782),r=i(13572),a=i(47185),l=i(94097),u=i(54875),d=u.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&&u.assertOptions(i,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var o=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!n){var p=[r,void 0];for(Array.prototype.unshift.apply(p,o),p=p.concat(l),s=Promise.resolve(e);p.length;)s=s.then(p.shift(),p.shift());return s}for(var _=e;o.length;){var c=o.shift(),m=o.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 n(e,t.params,t.paramsSerializer)},o.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}))}})),o.forEach(["post","put","patch"],(function(t){function e(e){return function(i,o,n){return this.request(a(n||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}p.prototype[t]=e(),p.prototype[t+"Form"]=e(!0)})),t.exports=p},82648:(t,e,i)=>{"use strict";var o=i(64867);function n(t,e,i,o,n){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),o&&(this.request=o),n&&(this.response=n)}o.inherits(n,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=n.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(n,r),Object.defineProperty(s,"isAxiosError",{value:!0}),n.from=function(t,e,i,r,a,l){var u=Object.create(s);return o.toFlatObject(t,u,(function(t){return t!==Error.prototype})),n.call(u,t.message,e,i,r,a),u.name=t.name,l&&Object.assign(u,l),u},t.exports=n},80782:(t,e,i)=>{"use strict";var o=i(64867);function n(){this.handlers=[]}n.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},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=n},94097:(t,e,i)=>{"use strict";var o=i(91793),n=i(7303);t.exports=function(t,e){return t&&!o(e)?n(t,e):e}},13572:(t,e,i)=>{"use strict";var o=i(64867),n=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=n.call(t,t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.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=n.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=n.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},47185:(t,e,i)=>{"use strict";var o=i(64867);t.exports=function(t,e){e=e||{};var i={};function n(t,e){return o.isPlainObject(t)&&o.isPlainObject(e)?o.merge(t,e):o.isPlainObject(e)?o.merge({},e):o.isArray(e)?e.slice():e}function s(i){return o.isUndefined(e[i])?o.isUndefined(t[i])?void 0:n(void 0,t[i]):n(t[i],e[i])}function r(t){if(!o.isUndefined(e[t]))return n(void 0,e[t])}function a(i){return o.isUndefined(e[i])?o.isUndefined(t[i])?void 0:n(void 0,t[i]):n(void 0,e[i])}function l(i){return i in e?n(t[i],e[i]):i in t?n(void 0,t[i]):void 0}var u={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 o.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||s,n=e(t);o.isUndefined(n)&&e!==l||(i[t]=n)})),i}},36026:(t,e,i)=>{"use strict";var o=i(82648);t.exports=function(t,e,i){var n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(new o("Request failed with status code "+i.status,[o.ERR_BAD_REQUEST,o.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}},18527:(t,e,i)=>{"use strict";var o=i(64867),n=i(45546);t.exports=function(t,e,i){var s=this||n;return o.forEach(i,(function(i){t=i.call(s,t,e)})),t}},45546:(t,e,i)=>{"use strict";var o=i(64867),n=i(16016),s=i(82648),r=i(77874),a=i(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var d,p={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=i(55448)),d),transformRequest:[function(t,e){if(n(e,"Accept"),n(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t))return t;if(o.isArrayBufferView(t))return t.buffer;if(o.isURLSearchParams(t))return u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=o.isObject(t),r=e&&e["Content-Type"];if((i=o.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?(u(e,"application/json"),function(t,e,i){if(o.isString(t))try{return(0,JSON.parse)(t),o.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,n=e&&e.forcedJSONParsing,r=!i&&"json"===this.responseType;if(r||n&&o.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, */*"}}};o.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){p.headers[t]=o.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),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(e,i)}}},15327:(t,e,i)=>{"use strict";var o=i(64867);function n(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(o.isURLSearchParams(e))s=e.toString();else{var r=[];o.forEach(e,(function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),r.push(n(e)+"="+n(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 o=i(64867);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,i,n,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),o.isString(n)&&a.push("path="+n),o.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 o=i(64867);t.exports=function(t){return o.isObject(t)&&!0===t.isAxiosError}},67985:(t,e,i)=>{"use strict";var o=i(64867);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function n(t){var o=t;return e&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{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=n(window.location.href),function(e){var i=o.isString(e)?n(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},16016:(t,e,i)=>{"use strict";var o=i(64867);t.exports=function(t,e){o.forEach(t,(function(i,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[o])}))}},91623:t=>{t.exports=null},84109:(t,e,i)=>{"use strict";var o=i(64867),n=["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?(o.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=o.trim(t.substr(0,s)).toLowerCase(),i=o.trim(t.substr(s+1)),e){if(r[e]&&n.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 o=i(64867);t.exports=function(t,e){e=e||new FormData;var i=[];function n(t){return null===t?"":o.isDate(t)?t.toISOString():o.isArrayBuffer(t)||o.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(s,r){if(o.isPlainObject(s)||o.isArray(s)){if(-1!==i.indexOf(s))throw Error("Circular reference detected in "+r);i.push(s),o.forEach(s,(function(i,s){if(!o.isUndefined(i)){var a,l=r?r+"."+s:s;if(i&&!r&&"object"==typeof i)if(o.endsWith(s,"{}"))i=JSON.stringify(i);else if(o.endsWith(s,"[]")&&(a=o.toArray(i)))return void a.forEach((function(t){!o.isUndefined(t)&&e.append(l,n(t))}));t(i,l)}})),i.pop()}else e.append(r,n(s))}(t),e}},54875:(t,e,i)=>{"use strict";var o=i(97288).version,n=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"+o+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,o,a){if(!1===t)throw new n(s(o," has been removed"+(e?" in "+e:"")),n.ERR_DEPRECATED);return e&&!r[o]&&(r[o]=!0,console.warn(s(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,o,a)}},t.exports={assertOptions:function(t,e,i){if("object"!=typeof t)throw new n("options must be an object",n.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(t),s=o.length;s-- >0;){var r=o[s],a=e[r];if(a){var l=t[r],u=void 0===l||a(l,r,t);if(!0!==u)throw new n("option "+r+" must be "+u,n.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new n("Unknown option "+r,n.ERR_BAD_OPTION)}},validators:s}},64867:(t,e,i)=>{"use strict";var o,n=i(91849),s=Object.prototype.toString,r=(o=Object.create(null),function(t){var e=s.call(t);return o[e]||(o[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 u(t){return void 0===t}var d=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"),y=a("FileList");function h(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,o=t.length;i<o;i++)e.call(null,t[i],i,t);else for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(null,t[n],n,t)}var T,S=(T="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return T&&t instanceof T});t.exports={isArray:l,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(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||h(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:p,isPlainObject:_,isUndefined:u,isDate:c,isFile:m,isBlob:f,isFunction:h,isStream:function(t){return p(t)&&h(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,o){_(e[o])&&_(i)?e[o]=t(e[o],i):_(i)?e[o]=t({},i):l(i)?e[o]=i.slice():e[o]=i}for(var o=0,n=arguments.length;o<n;o++)g(arguments[o],i);return e},extend:function(t,e,i){return g(e,(function(e,o){t[o]=i&&"function"==typeof e?n(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,o){t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,i&&Object.assign(t.prototype,i)},toFlatObject:function(t,e,i){var o,n,s,r={};e=e||{};do{for(n=(o=Object.getOwnPropertyNames(t)).length;n-- >0;)r[s=o[n]]||(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 o=t.indexOf(e,i);return-1!==o&&o===i},toArray:function(t){if(!t)return null;var e=t.length;if(u(e))return null;for(var i=new Array(e);e-- >0;)i[e]=t[e];return i},isTypedArray:S,isFileList:y}},27484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",o="second",n="minute",s="hour",r="day",a="week",l="month",u="quarter",d="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("_")},y=function(t,e,i){var o=String(t);return!o||o.length>=e?t:""+Array(e+1-o.length).join(i)+t},h={s:y,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),o=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+y(o,2,"0")+":"+y(n,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var o=12*(i.year()-e.year())+(i.month()-e.month()),n=e.clone().add(o,l),s=i-n<0,r=e.clone().add(o+(s?-1:1),l);return+(-(o+(i-n)/(s?n-r:r-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:d,w:a,d:r,D:p,h:s,m:n,s:o,ms:i,Q:u}[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,o){var n;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();g[s]&&(n=s),i&&(g[s]=i,n=s);var r=e.split("-");if(!n&&r.length>1)return t(r[0])}else{var a=e.name;g[a]=e,n=a}return!o&&n&&(v=n),n||!o&&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=h;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 y=f.prototype;return y.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 o=e.match(c);if(o){var n=o[2]-1||0,s=(o[7]||"0").substring(0,3);return i?new Date(Date.UTC(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,s)):new Date(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},y.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()},y.$utils=function(){return I},y.isValid=function(){return!(this.$d.toString()===_)},y.isSame=function(t,e){var i=E(t);return this.startOf(e)<=i&&i<=this.endOf(e)},y.isAfter=function(t,e){return E(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<E(t)},y.$g=function(t,e,i){return I.u(t)?this[e]:this.set(i,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var i=this,u=!!I.u(e)||e,_=I.p(t),c=function(t,e){var o=I.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return u?o:o.endOf(r)},m=function(t,e){return I.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},f=this.$W,y=this.$M,h=this.$D,v="set"+(this.$u?"UTC":"");switch(_){case d:return u?c(1,0):c(31,11);case l:return u?c(1,y):c(0,y+1);case a:var g=this.$locale().weekStart||0,T=(f<g?f+7:f)-g;return c(u?h-T:h+(6-T),y);case r:case p:return m(v+"Hours",0);case s:return m(v+"Minutes",1);case n:return m(v+"Seconds",2);case o:return m(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var a,u=I.p(t),_="set"+(this.$u?"UTC":""),c=(a={},a[r]=_+"Date",a[p]=_+"Date",a[l]=_+"Month",a[d]=_+"FullYear",a[s]=_+"Hours",a[n]=_+"Minutes",a[o]=_+"Seconds",a[i]=_+"Milliseconds",a)[u],m=u===r?this.$D+(e-this.$W):e;if(u===l||u===d){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},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[I.p(t)]()},y.add=function(i,u){var p,_=this;i=Number(i);var c=I.p(u),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===d)return this.set(d,this.$y+i);if(c===r)return m(1);if(c===a)return m(7);var f=(p={},p[n]=t,p[s]=e,p[o]=1e3,p)[c]||1,y=this.$d.getTime()+i*f;return I.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||_;var o=t||"YYYY-MM-DDTHH:mm:ssZ",n=I.z(this),s=this.$H,r=this.$m,a=this.$M,l=i.weekdays,u=i.months,d=function(t,i,n,s){return t&&(t[i]||t(e,o))||n[i].slice(0,s)},p=function(t){return I.s(s%12||12,t,"0")},c=i.meridiem||function(t,e,i){var o=t<12?"AM":"PM";return i?o.toLowerCase():o},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:I.s(a+1,2,"0"),MMM:d(i.monthsShort,a,u,3),MMMM:d(u,a),D:this.$D,DD:I.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,l,2),ddd:d(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:n};return o.replace(m,(function(t,e){return e||f[t]||n.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(i,p,_){var c,m=I.p(p),f=E(i),y=(f.utcOffset()-this.utcOffset())*t,h=this-f,v=I.m(this,f);return v=(c={},c[d]=v/12,c[l]=v,c[u]=v/3,c[a]=(h-y)/6048e5,c[r]=(h-y)/864e5,c[s]=h/e,c[n]=h/t,c[o]=h/1e3,c)[m]||h,_?v:I.a(v)},y.daysInMonth=function(){return this.endOf(l).$D},y.$locale=function(){return g[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),o=S(t,e,!0);return o&&(i.$L=o),i},y.clone=function(){return I.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},f}(),C=R.prototype;return E.prototype=C,[["$ms",i],["$s",o],["$m",n],["$H",s],["$W",r],["$M",l],["$y",d],["$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,o=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 n=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,o){function n(i){t.removeListener(e,s),o(i)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",n),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,n)}))},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 u(t,e,i,o){var n,s,r,u;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]=o?[i,r]:[r,i]:o?r.unshift(i):r.push(i),(n=l(t))>0&&r.length>n&&!r.warned){r.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=t,d.type=e,d.count=r.length,u=d,console&&console.warn&&console.warn(u)}return t}function d(){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 o={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},n=d.bind(o);return n.listener=i,o.wrapFn=n,n}function _(t,e,i){var o=t._events;if(void 0===o)return[];var n=o[e];return void 0===n?[]:"function"==typeof n?i?[n.listener||n]:[n]: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}(n):m(n,n.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),o=0;o<e;++o)i[o]=t[o];return i}function f(t,e,i,o){if("function"==typeof t.on)o.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 n(s){o.once&&t.removeEventListener(e,n),i(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||n(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||n(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 n="error"===t,s=this._events;if(void 0!==s)n=n&&void 0===s.error;else if(!n)return!1;if(n){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)o(l,this,e);else{var u=l.length,d=m(l,u);for(i=0;i<u;++i)o(d[i],this,e)}return!0},s.prototype.addListener=function(t,e){return u(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return u(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,o,n,s,r;if(a(e),void 0===(o=this._events))return this;if(void 0===(i=o[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(n=-1,s=i.length-1;s>=0;s--)if(i[s]===e||i[s].listener===e){r=i[s].listener,n=s;break}if(n<0)return this;0===n?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,n),1===i.length&&(o[t]=i[0]),void 0!==o.removeListener&&this.emit("removeListener",t,r||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,i,o;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 n,s=Object.keys(i);for(o=0;o<s.length;++o)"removeListener"!==(n=s[o])&&this.removeAllListeners(n);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(o=e.length-1;o>=0;o--)this.removeListener(t,e[o]);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,o){var n=new Blob(void 0!==o?[o,t]:[t],{type:i||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(n,e);else{var s=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(n):window.webkitURL.createObjectURL(n),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 o(){}t.exports.apps=o,o.AppTracking=i(12033),t.exports=o},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 o=i(3306),n=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=n,s._meta_.fields.reason={},s._meta_.fields.reason.type=o,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 o=i(96351),n=function(){this._class_=n,this.challengeType=void 0};n.prototype.setChallengeType=function(t){this.challengeType=t},n.prototype.getChallengeType=function(){return this.challengeType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.challengeType={},n._meta_.fields.challengeType.type=o,t.exports=n},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 o=i(7378),n=function(){this._class_=n,this.points=void 0};n.prototype.setPoints=function(t){this.points=t},n.prototype.getPoints=function(){return this.points},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.points={},n._meta_.fields.points.type=Array,n._meta_.fields.points.elementType=o,t.exports=n},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 o=i(44549),n=function(){this._class_=n,this.strokes=void 0,this.width=void 0,this.height=void 0};n.prototype.setStrokes=function(t){this.strokes=t},n.prototype.getStrokes=function(){return this.strokes},n.prototype.setWidth=function(t){this.width=t},n.prototype.getWidth=function(){return this.width},n.prototype.setHeight=function(t){this.height=t},n.prototype.getHeight=function(){return this.height},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.strokes={},n._meta_.fields.strokes.type=Array,n._meta_.fields.strokes.elementType=o,n._meta_.fields.width={},n._meta_.fields.width.type=Number,n._meta_.fields.height={},n._meta_.fields.height.type=Number,t.exports=n},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 o(){}t.exports.base=o,o.Address=i(81565),o.AppExclusionType=i(38455),o.ApprovalStatus=i(73767),o.BusinessTypeCode=i(5192),o.CardData=i(9728),o.Challenge=i(52514),o.ChallengeType=i(96351),o.ChallengeTypeEnum=i(40994),o.CountryInfo=i(41208),o.PendingPaymentEntry=i(4258),o.Point=i(7378),o.Points=i(44549),o.Reference=i(4448),o.ServiceCharge=i(37479),o.Signature=i(42348),o.Tender=i(50775),t.exports=o},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 o=i(4448),n=function(){this._class_=n,this.order=void 0,this.customer=void 0,this.card=void 0,this.emailAddress=void 0};n.prototype.setOrder=function(t){this.order=t},n.prototype.getOrder=function(){return this.order},n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setCard=function(t){this.card=t},n.prototype.getCard=function(){return this.card},n.prototype.setEmailAddress=function(t){this.emailAddress=t},n.prototype.getEmailAddress=function(){return this.emailAddress},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.order={},n._meta_.fields.order.type=o,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.card={},n._meta_.fields.card.type=o,n._meta_.fields.emailAddress={},n._meta_.fields.emailAddress.type=String,t.exports=n},26866:(t,e,i)=>{var o=i(71764),n=i(22634),s=i(82368),r=i(4448),a=i(68667),l=i(57534),u=function(){this._class_=u,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};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setMerchant=function(t){this.merchant=t},u.prototype.getMerchant=function(){return this.merchant},u.prototype.setFirstName=function(t){this.firstName=t},u.prototype.getFirstName=function(){return this.firstName},u.prototype.setLastName=function(t){this.lastName=t},u.prototype.getLastName=function(){return this.lastName},u.prototype.setMarketingAllowed=function(t){this.marketingAllowed=t},u.prototype.getMarketingAllowed=function(){return this.marketingAllowed},u.prototype.setCustomerSince=function(t){this.customerSince=t},u.prototype.getCustomerSince=function(){return this.customerSince},u.prototype.setOrders=function(t){this.orders=t},u.prototype.getOrders=function(){return this.orders},u.prototype.setAddresses=function(t){this.addresses=t},u.prototype.getAddresses=function(){return this.addresses},u.prototype.setEmailAddresses=function(t){this.emailAddresses=t},u.prototype.getEmailAddresses=function(){return this.emailAddresses},u.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},u.prototype.getPhoneNumbers=function(){return this.phoneNumbers},u.prototype.setCards=function(t){this.cards=t},u.prototype.getCards=function(){return this.cards},u.prototype.setMetadata=function(t){this.metadata=t},u.prototype.getMetadata=function(){return this.metadata},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.merchant={},u._meta_.fields.merchant.type=r,u._meta_.fields.firstName={},u._meta_.fields.firstName.type=String,u._meta_.fields.lastName={},u._meta_.fields.lastName.type=String,u._meta_.fields.marketingAllowed={},u._meta_.fields.marketingAllowed.type=Boolean,u._meta_.fields.customerSince={},u._meta_.fields.customerSince.type=Number,u._meta_.fields.orders={},u._meta_.fields.orders.type=Array,u._meta_.fields.orders.elementType=r,u._meta_.fields.addresses={},u._meta_.fields.addresses.type=Array,u._meta_.fields.addresses.elementType=a,u._meta_.fields.emailAddresses={},u._meta_.fields.emailAddresses.type=Array,u._meta_.fields.emailAddresses.elementType=o,u._meta_.fields.phoneNumbers={},u._meta_.fields.phoneNumbers.type=Array,u._meta_.fields.phoneNumbers.elementType=n,u._meta_.fields.cards={},u._meta_.fields.cards.type=Array,u._meta_.fields.cards.elementType=l,u._meta_.fields.metadata={},u._meta_.fields.metadata.type=s,t.exports=u},31160:(t,e,i)=>{var o=i(26866),n=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=n,s._meta_.fields.tokenRequestRef={},s._meta_.fields.tokenRequestRef.type=n,s._meta_.fields.customer={},s._meta_.fields.customer.type=o,t.exports=s},84265:(t,e,i)=>{var o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.setNumber=function(t){this.number=t},n.prototype.getNumber=function(){return this.number},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=String,n._meta_.fields.number={},n._meta_.fields.number.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,t.exports=n},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 o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},6623:t=>{t.exports={MULTIPAY:"MULTIPAY",FINANCIAL:"FINANCIAL",CTOKEN:"CTOKEN"}},92700:(t,e,i)=>{function o(){}t.exports.customers=o,o.Address=i(68667),o.Card=i(57534),o.Confirmation=i(39998),o.Customer=i(26866),o.CustomerAssociationRequest=i(31160),o.CustomerInfo=i(84265),o.CustomerMetadata=i(82368),o.EmailAddress=i(71764),o.IdentityDocument=i(40615),o.PhoneNumber=i(22634),o.RemoteCustomer=i(39698),o.TokenType=i(6623),t.exports=o},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setModel=function(t){this.model=t},n.prototype.getModel=function(){return this.model},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.setOrderPrefix=function(t){this.orderPrefix=t},n.prototype.getOrderPrefix=function(){return this.orderPrefix},n.prototype.setTerminalId=function(t){this.terminalId=t},n.prototype.getTerminalId=function(){return this.terminalId},n.prototype.setTerminalPrefix=function(t){this.terminalPrefix=t},n.prototype.getTerminalPrefix=function(){return this.terminalPrefix},n.prototype.setSerial=function(t){this.serial=t},n.prototype.getSerial=function(){return this.serial},n.prototype.setImei=function(t){this.imei=t},n.prototype.getImei=function(){return this.imei},n.prototype.setImsi=function(t){this.imsi=t},n.prototype.getImsi=function(){return this.imsi},n.prototype.setSimIccid=function(t){this.simIccid=t},n.prototype.getSimIccid=function(){return this.simIccid},n.prototype.setDeviceCertificate=function(t){this.deviceCertificate=t},n.prototype.getDeviceCertificate=function(){return this.deviceCertificate},n.prototype.setPedCertificate=function(t){this.pedCertificate=t},n.prototype.getPedCertificate=function(){return this.pedCertificate},n.prototype.setDeviceTypeName=function(t){this.deviceTypeName=t},n.prototype.getDeviceTypeName=function(){return this.deviceTypeName},n.prototype.setProductName=function(t){this.productName=t},n.prototype.getProductName=function(){return this.productName},n.prototype.setPinDisabled=function(t){this.pinDisabled=t},n.prototype.getPinDisabled=function(){return this.pinDisabled},n.prototype.setOfflinePayments=function(t){this.offlinePayments=t},n.prototype.getOfflinePayments=function(){return this.offlinePayments},n.prototype.setOfflinePaymentsAll=function(t){this.offlinePaymentsAll=t},n.prototype.getOfflinePaymentsAll=function(){return this.offlinePaymentsAll},n.prototype.setOfflinePaymentsLimit=function(t){this.offlinePaymentsLimit=t},n.prototype.getOfflinePaymentsLimit=function(){return this.offlinePaymentsLimit},n.prototype.setOfflinePaymentsPromptThreshold=function(t){this.offlinePaymentsPromptThreshold=t},n.prototype.getOfflinePaymentsPromptThreshold=function(){return this.offlinePaymentsPromptThreshold},n.prototype.setOfflinePaymentsTotalPaymentsLimit=function(t){this.offlinePaymentsTotalPaymentsLimit=t},n.prototype.getOfflinePaymentsTotalPaymentsLimit=function(){return this.offlinePaymentsTotalPaymentsLimit},n.prototype.setOfflinePaymentsLimitDefault=function(t){this.offlinePaymentsLimitDefault=t},n.prototype.getOfflinePaymentsLimitDefault=function(){return this.offlinePaymentsLimitDefault},n.prototype.setOfflinePaymentsPromptThresholdDefault=function(t){this.offlinePaymentsPromptThresholdDefault=t},n.prototype.getOfflinePaymentsPromptThresholdDefault=function(){return this.offlinePaymentsPromptThresholdDefault},n.prototype.setOfflinePaymentsTotalPaymentsLimitDefault=function(t){this.offlinePaymentsTotalPaymentsLimitDefault=t},n.prototype.getOfflinePaymentsTotalPaymentsLimitDefault=function(){return this.offlinePaymentsTotalPaymentsLimitDefault},n.prototype.setOfflinePaymentsMaxLimit=function(t){this.offlinePaymentsMaxLimit=t},n.prototype.getOfflinePaymentsMaxLimit=function(){return this.offlinePaymentsMaxLimit},n.prototype.setOfflinePaymentsMaxTotalPaymentsLimit=function(t){this.offlinePaymentsMaxTotalPaymentsLimit=t},n.prototype.getOfflinePaymentsMaxTotalPaymentsLimit=function(){return this.offlinePaymentsMaxTotalPaymentsLimit},n.prototype.setShowOfflinePayments=function(t){this.showOfflinePayments=t},n.prototype.getShowOfflinePayments=function(){return this.showOfflinePayments},n.prototype.setMaxOfflineDays=function(t){this.maxOfflineDays=t},n.prototype.getMaxOfflineDays=function(){return this.maxOfflineDays},n.prototype.setAllowStoreAndForward=function(t){this.allowStoreAndForward=t},n.prototype.getAllowStoreAndForward=function(){return this.allowStoreAndForward},n.prototype.setSecureReports=function(t){this.secureReports=t},n.prototype.getSecureReports=function(){return this.secureReports},n.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},n.prototype.getBundleIndicator=function(){return this.bundleIndicator},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.model={},n._meta_.fields.model.type=String,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,n._meta_.fields.orderPrefix={},n._meta_.fields.orderPrefix.type=String,n._meta_.fields.terminalId={},n._meta_.fields.terminalId.type=String,n._meta_.fields.terminalPrefix={},n._meta_.fields.terminalPrefix.type=Number,n._meta_.fields.serial={},n._meta_.fields.serial.type=String,n._meta_.fields.imei={},n._meta_.fields.imei.type=String,n._meta_.fields.imsi={},n._meta_.fields.imsi.type=String,n._meta_.fields.simIccid={},n._meta_.fields.simIccid.type=String,n._meta_.fields.deviceCertificate={},n._meta_.fields.deviceCertificate.type=String,n._meta_.fields.pedCertificate={},n._meta_.fields.pedCertificate.type=String,n._meta_.fields.deviceTypeName={},n._meta_.fields.deviceTypeName.type=String,n._meta_.fields.productName={},n._meta_.fields.productName.type=String,n._meta_.fields.pinDisabled={},n._meta_.fields.pinDisabled.type=Boolean,n._meta_.fields.offlinePayments={},n._meta_.fields.offlinePayments.type=Boolean,n._meta_.fields.offlinePaymentsAll={},n._meta_.fields.offlinePaymentsAll.type=Boolean,n._meta_.fields.offlinePaymentsLimit={},n._meta_.fields.offlinePaymentsLimit.type=Number,n._meta_.fields.offlinePaymentsPromptThreshold={},n._meta_.fields.offlinePaymentsPromptThreshold.type=Number,n._meta_.fields.offlinePaymentsTotalPaymentsLimit={},n._meta_.fields.offlinePaymentsTotalPaymentsLimit.type=Number,n._meta_.fields.offlinePaymentsLimitDefault={},n._meta_.fields.offlinePaymentsLimitDefault.type=Number,n._meta_.fields.offlinePaymentsPromptThresholdDefault={},n._meta_.fields.offlinePaymentsPromptThresholdDefault.type=Number,n._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault={},n._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault.type=Number,n._meta_.fields.offlinePaymentsMaxLimit={},n._meta_.fields.offlinePaymentsMaxLimit.type=Number,n._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit={},n._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit.type=Number,n._meta_.fields.showOfflinePayments={},n._meta_.fields.showOfflinePayments.type=Boolean,n._meta_.fields.maxOfflineDays={},n._meta_.fields.maxOfflineDays.type=Number,n._meta_.fields.allowStoreAndForward={},n._meta_.fields.allowStoreAndForward.type=Boolean,n._meta_.fields.secureReports={},n._meta_.fields.secureReports.type=Array,n._meta_.fields.secureReports.elementType=o,n._meta_.fields.bundleIndicator={},n._meta_.fields.bundleIndicator.type=String,t.exports=n},10522:(t,e,i)=>{var o=i(12157),n=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=n,s._meta_.fields.pedCertificate={},s._meta_.fields.pedCertificate.type=String,s._meta_.fields.buildType={},s._meta_.fields.buildType.type=o,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=n,s._meta_.fields.versionCode={},s._meta_.fields.versionCode.type=Number,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=n,s._meta_.fields.secureReports={},s._meta_.fields.secureReports.type=Array,s._meta_.fields.secureReports.elementType=n,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 o=i(76021),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},n.prototype.getBundleIndicator=function(){return this.bundleIndicator},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setBundleItems=function(t){this.bundleItems=t},n.prototype.getBundleItems=function(){return this.bundleItems},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.bundleIndicator={},n._meta_.fields.bundleIndicator.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.bundleItems={},n._meta_.fields.bundleItems.type=Array,n._meta_.fields.bundleItems.elementType=o,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},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 o=i(71132),n=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=n,s._meta_.fields.state={},s._meta_.fields.state.type=o,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=n,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=n,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=n,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=n,s._meta_.fields.currentSecureBoardRom={},s._meta_.fields.currentSecureBoardRom.type=n,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=n,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 o=i(47005),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setCreatedAt=function(t){this.createdAt=t},n.prototype.getCreatedAt=function(){return this.createdAt},n.prototype.setVersion=function(t){this.version=t},n.prototype.getVersion=function(){return this.version},n.prototype.setVersionName=function(t){this.versionName=t},n.prototype.getVersionName=function(){return this.versionName},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setBuildType=function(t){this.buildType=t},n.prototype.getBuildType=function(){return this.buildType},n.prototype.setIsCritical=function(t){this.isCritical=t},n.prototype.getIsCritical=function(){return this.isCritical},n.prototype.setPublished=function(t){this.published=t},n.prototype.getPublished=function(){return this.published},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setAssociationTime=function(t){this.associationTime=t},n.prototype.getAssociationTime=function(){return this.associationTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.createdAt={},n._meta_.fields.createdAt.type=Number,n._meta_.fields.version={},n._meta_.fields.version.type=Number,n._meta_.fields.versionName={},n._meta_.fields.versionName.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.buildType={},n._meta_.fields.buildType.type=o,n._meta_.fields.isCritical={},n._meta_.fields.isCritical.type=Boolean,n._meta_.fields.published={},n._meta_.fields.published.type=Boolean,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.associationTime={},n._meta_.fields.associationTime.type=Number,t.exports=n},47005:t=>{t.exports={ENG:"ENG",USER:"USER"}},32340:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.type=void 0,this.serialNumber=void 0,this.createdTime=void 0,this.merchant=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.setSerialNumber=function(t){this.serialNumber=t},n.prototype.getSerialNumber=function(){return this.serialNumber},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=String,n._meta_.fields.serialNumber={},n._meta_.fields.serialNumber.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,t.exports=n},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 o(){}t.exports.device=o,o.AccessoryRomMetadataUpdateRequest=i(20857),o.AssociatedDeviceBundle=i(1752),o.BuildType=i(70511),o.BundleItem=i(76021),o.Device=i(12972),o.DeviceAccessory=i(10522),o.DeviceAccessoryBuildType=i(12157),o.DeviceBundle=i(84646),o.DeviceEventType=i(20927),o.DeviceProvision=i(61668),o.DeviceProvisionAssoc=i(4784),o.DeviceProvisionState=i(71132),o.DeviceProvisionStatus=i(16982),o.DeviceRequests=i(46015),o.DeviceWarranty=i(78032),o.LimitedDevice=i(39431),o.Rom=i(68452),o.RomBuildType=i(47005),o.SwapRequestEvent=i(32340),o.UpdatedDeviceBundle=i(3427),t.exports=o},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 o=i(54931),n=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=o,s._meta_.fields.roles={},s._meta_.fields.roles.type=Array,s._meta_.fields.roles.elementType=n,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=n,s._meta_.fields.payments={},s._meta_.fields.payments.type=Array,s._meta_.fields.payments.elementType=n,s._meta_.fields.orders={},s._meta_.fields.orders.type=Array,s._meta_.fields.orders.elementType=n,s._meta_.fields.employeeCards={},s._meta_.fields.employeeCards.type=Array,s._meta_.fields.employeeCards.elementType=n,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=n,t.exports=s},78945:(t,e,i)=>{var o=i(54863),n=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=n,s._meta_.fields.employee={},s._meta_.fields.employee.type=n,s._meta_.fields.updater={},s._meta_.fields.updater.type=n,s._meta_.fields.number={},s._meta_.fields.number.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=o,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 o=i(52370),n=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=n,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=o,r._meta_.fields.module={},r._meta_.fields.module.type=n,t.exports=r},85039:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.role=void 0,this.permissionSet=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setRole=function(t){this.role=t},n.prototype.getRole=function(){return this.role},n.prototype.setPermissionSet=function(t){this.permissionSet=t},n.prototype.getPermissionSet=function(){return this.permissionSet},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.role={},n._meta_.fields.role.type=o,n._meta_.fields.permissionSet={},n._meta_.fields.permissionSet.type=o,t.exports=n},36967:(t,e,i)=>{var o=i(57598),n=function(){this._class_=n,this.id=void 0,this.bits=void 0,this.readablePermissions=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setBits=function(t){this.bits=t},n.prototype.getBits=function(){return this.bits},n.prototype.setReadablePermissions=function(t){this.readablePermissions=t},n.prototype.getReadablePermissions=function(){return this.readablePermissions},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.bits={},n._meta_.fields.bits.type=Number,n._meta_.fields.readablePermissions={},n._meta_.fields.readablePermissions.type=Array,n._meta_.fields.readablePermissions.elementType=o,t.exports=n},11306:(t,e,i)=>{var o=i(54931),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.systemRole=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setSystemRole=function(t){this.systemRole=t},n.prototype.getSystemRole=function(){return this.systemRole},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.systemRole={},n._meta_.fields.systemRole.type=o,t.exports=n},66932:(t,e,i)=>{var o=i(91033),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setEmployee=function(t){this.employee=t},n.prototype.getEmployee=function(){return this.employee},n.prototype.setCashTipsCollected=function(t){this.cashTipsCollected=t},n.prototype.getCashTipsCollected=function(){return this.cashTipsCollected},n.prototype.setServerBanking=function(t){this.serverBanking=t},n.prototype.getServerBanking=function(){return this.serverBanking},n.prototype.setInTime=function(t){this.inTime=t},n.prototype.getInTime=function(){return this.inTime},n.prototype.setOverrideInTime=function(t){this.overrideInTime=t},n.prototype.getOverrideInTime=function(){return this.overrideInTime},n.prototype.setOverrideInEmployee=function(t){this.overrideInEmployee=t},n.prototype.getOverrideInEmployee=function(){return this.overrideInEmployee},n.prototype.setOutTime=function(t){this.outTime=t},n.prototype.getOutTime=function(){return this.outTime},n.prototype.setOverrideOutTime=function(t){this.overrideOutTime=t},n.prototype.getOverrideOutTime=function(){return this.overrideOutTime},n.prototype.setOverrideOutEmployee=function(t){this.overrideOutEmployee=t},n.prototype.getOverrideOutEmployee=function(){return this.overrideOutEmployee},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.employee={},n._meta_.fields.employee.type=o,n._meta_.fields.cashTipsCollected={},n._meta_.fields.cashTipsCollected.type=Number,n._meta_.fields.serverBanking={},n._meta_.fields.serverBanking.type=Boolean,n._meta_.fields.inTime={},n._meta_.fields.inTime.type=Number,n._meta_.fields.overrideInTime={},n._meta_.fields.overrideInTime.type=Number,n._meta_.fields.overrideInEmployee={},n._meta_.fields.overrideInEmployee.type=o,n._meta_.fields.outTime={},n._meta_.fields.outTime.type=Number,n._meta_.fields.overrideOutTime={},n._meta_.fields.overrideOutTime.type=Number,n._meta_.fields.overrideOutEmployee={},n._meta_.fields.overrideOutEmployee.type=o,t.exports=n},22731:(t,e,i)=>{function o(){}t.exports.employees=o,o.AccountRole=i(54931),o.Employee=i(91033),o.EmployeeCard=i(78945),o.EmployeeCardStatus=i(54863),o.EmployeePermission=i(52370),o.Permission=i(57598),o.PermissionSet=i(12899),o.PermissionSetRole=i(85039),o.Permissions=i(36967),o.Role=i(11306),o.Shift=i(66932),t.exports=o},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 o=i(82274),n=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=n,s._meta_.fields.sunday={},s._meta_.fields.sunday.type=Array,s._meta_.fields.sunday.elementType=o,s._meta_.fields.monday={},s._meta_.fields.monday.type=Array,s._meta_.fields.monday.elementType=o,s._meta_.fields.tuesday={},s._meta_.fields.tuesday.type=Array,s._meta_.fields.tuesday.elementType=o,s._meta_.fields.wednesday={},s._meta_.fields.wednesday.type=Array,s._meta_.fields.wednesday.elementType=o,s._meta_.fields.thursday={},s._meta_.fields.thursday.type=Array,s._meta_.fields.thursday.elementType=o,s._meta_.fields.friday={},s._meta_.fields.friday.type=Array,s._meta_.fields.friday.elementType=o,s._meta_.fields.saturday={},s._meta_.fields.saturday.type=Array,s._meta_.fields.saturday.elementType=o,t.exports=s},27653:(t,e,i)=>{var o=i(76263),n=function(){this._class_=n,this.id=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},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 o(){}t.exports.hours=o,o.HourRange=i(82274),o.HoursSet=i(20886),o.Reference=i(27653),o.ReferenceType=i(76263),t.exports=o},61256:(t,e,i)=>{function o(){}t.exports.sdk=o,o.apps=i(64280),o.base=i(87773),o.customers=i(92700),o.device=i(4822),o.employees=i(22731),o.hours=i(81894),o.inventory=i(19820),o.order=i(40402),o.pay=i(57637),o.payments=i(72397),o.printer=i(54492),o.remotemessage=i(90226),o.remotepay=i(95626),o.merchant=i(15222),o.loyalty=i(81990),t.exports=o},2937:(t,e,i)=>{var o=i(4448),n=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=o,s._meta_.fields.options={},s._meta_.fields.options.type=Array,s._meta_.fields.options.elementType=n,t.exports=s},74155:(t,e,i)=>{var o=i(84700),n=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=n,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=n,s._meta_.fields.menuSection={},s._meta_.fields.menuSection.type=o,t.exports=s},58563:(t,e,i)=>{var o=i(69728),n=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=o,s._meta_.fields.category={},s._meta_.fields.category.type=n,t.exports=s},70855:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.primary=void 0,this.secondary=void 0,this.payload=void 0};n.prototype.setPrimary=function(t){this.primary=t},n.prototype.getPrimary=function(){return this.primary},n.prototype.setSecondary=function(t){this.secondary=t},n.prototype.getSecondary=function(){return this.secondary},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.primary={},n._meta_.fields.primary.type=o,n._meta_.fields.secondary={},n._meta_.fields.secondary.type=o,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,t.exports=n},68119:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.merchantRef=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPercentage=function(t){this.percentage=t},n.prototype.getPercentage=function(){return this.percentage},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.percentage={},n._meta_.fields.percentage.type=Number,t.exports=n},71848:(t,e,i)=>{var o=i(69728),n=function(){this._class_=n,this.items=void 0};n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},69728:(t,e,i)=>{var o=i(2514),n=i(73004),s=i(11273),r=i(62703),a=i(33983),l=i(74155),u=i(4448),d=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=u,_._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=n,_._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=d,_._meta_.fields.canonical={},_._meta_.fields.canonical.type=u,_._meta_.fields.itemStock={},_._meta_.fields.itemStock.type=o,_._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 o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.items=void 0,this.attributes=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.setAttributes=function(t){this.attributes=t},n.prototype.getAttributes=function(){return this.attributes},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,n._meta_.fields.attributes={},n._meta_.fields.attributes.type=Array,n._meta_.fields.attributes.elementType=o,t.exports=n},78777:(t,e,i)=>{var o=i(62703),n=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=n,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=o,t.exports=s},2514:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.item=void 0,this.stockCount=void 0,this.quantity=void 0,this.modifiedTime=void 0};n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.setStockCount=function(t){this.stockCount=t},n.prototype.getStockCount=function(){return this.stockCount},n.prototype.setQuantity=function(t){this.quantity=t},n.prototype.getQuantity=function(){return this.quantity},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.item={},n._meta_.fields.item.type=o,n._meta_.fields.stockCount={},n._meta_.fields.stockCount.type=Number,n._meta_.fields.quantity={},n._meta_.fields.quantity.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setPrice=function(t){this.price=t},n.prototype.getPrice=function(){return this.price},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.item={},n._meta_.fields.item.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.price={},n._meta_.fields.price.type=Number,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},48575:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setModifier=function(t){this.modifier=t},n.prototype.getModifier=function(){return this.modifier},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setPrice=function(t){this.price=t},n.prototype.getPrice=function(){return this.price},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.modifier={},n._meta_.fields.modifier.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.price={},n._meta_.fields.price.type=Number,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},73592:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setModifierGroup=function(t){this.modifierGroup=t},n.prototype.getModifierGroup=function(){return this.modifierGroup},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setMinRequired=function(t){this.minRequired=t},n.prototype.getMinRequired=function(){return this.minRequired},n.prototype.setMaxAllowed=function(t){this.maxAllowed=t},n.prototype.getMaxAllowed=function(){return this.maxAllowed},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.modifierGroup={},n._meta_.fields.modifierGroup.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.minRequired={},n._meta_.fields.minRequired.type=Number,n._meta_.fields.maxAllowed={},n._meta_.fields.maxAllowed.type=Number,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},84700:(t,e,i)=>{var o=i(11273),n=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=n,s._meta_.fields.merchantRef={},s._meta_.fields.merchantRef.type=n,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=o,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 o=i(48575),n=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=n,s._meta_.fields.menuModifier={},s._meta_.fields.menuModifier.type=o,t.exports=s},62703:(t,e,i)=>{var o=i(73592),n=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=n,r._meta_.fields.menuModifierGroup={},r._meta_.fields.menuModifierGroup.type=o,r._meta_.fields.sortOrder={},r._meta_.fields.sortOrder.type=Number,t.exports=r},61445:(t,e,i)=>{var o=i(62703),n=function(){this._class_=n,this.modifierGroups=void 0};n.prototype.setModifierGroups=function(t){this.modifierGroups=t},n.prototype.getModifierGroups=function(){return this.modifierGroups},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.modifierGroups={},n._meta_.fields.modifierGroups.type=Array,n._meta_.fields.modifierGroups.elementType=o,t.exports=n},35787:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.attribute=void 0,this.items=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAttribute=function(t){this.attribute=t},n.prototype.getAttribute=function(){return this.attribute},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.attribute={},n._meta_.fields.attribute.type=o,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},34456:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.option=void 0,this.item=void 0};n.prototype.setOption=function(t){this.option=t},n.prototype.getOption=function(){return this.option},n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.option={},n._meta_.fields.option.type=o,n._meta_.fields.item={},n._meta_.fields.item.type=o,t.exports=n},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 o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name="",this.showInReporting=!1,this.items=void 0,this.printers=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setShowInReporting=function(t){this.showInReporting=t},n.prototype.getShowInReporting=function(){return this.showInReporting},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.setPrinters=function(t){this.printers=t},n.prototype.getPrinters=function(){return this.printers},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.showInReporting={},n._meta_.fields.showInReporting.type=Boolean,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,n._meta_.fields.printers={},n._meta_.fields.printers.type=Array,n._meta_.fields.printers.elementType=o,t.exports=n},7248:(t,e,i)=>{var o=i(69728),n=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=n,s._meta_.fields.item={},s._meta_.fields.item.type=o,t.exports=s},73519:(t,e,i)=>{var o=i(43540),n=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=n,s._meta_.fields.printer={},s._meta_.fields.printer.type=o,t.exports=s},73004:(t,e,i)=>{var o=i(46554),n=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=o,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=n,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 o=i(73004),n=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=o,s._meta_.fields.item={},s._meta_.fields.item.type=n,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 o(){}t.exports.inventory=o,o.Attribute=i(2937),o.Category=i(74155),o.CategoryItem=i(58563),o.DataAssociation=i(70855),o.Discount=i(68119),o.InventoryItems=i(71848),o.Item=i(69728),o.ItemGroup=i(72002),o.ItemModifierGroup=i(78777),o.ItemStock=i(2514),o.MenuBulkUpdate=i(43051),o.MenuItem=i(11273),o.MenuModifier=i(48575),o.MenuModifierGroup=i(73592),o.MenuSection=i(84700),o.Modifier=i(55683),o.ModifierGroup=i(62703),o.ModifierGroupArray=i(61445),o.Option=i(35787),o.OptionItem=i(34456),o.PriceType=i(33983),o.SortOrder=i(95263),o.Tag=i(43156),o.TagItem=i(7248),o.TagPrinter=i(73519),o.TaxRate=i(73004),o.TaxRateItem=i(97946),o.TaxType=i(46554),t.exports=o},48485:(t,e,i)=>{var o=i(53090),n=function(){this._class_=n,this.responseType=void 0};n.prototype.setResponseType=function(t){this.responseType=t},n.prototype.getResponseType=function(){return this.responseType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.responseType={},n._meta_.fields.responseType.type=o,t.exports=n},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 o(){}t.exports.loyalty=o,o.CustomerProvidedDataResponse=i(48485),o.CustomerProvidedDataResponseType=i(53090),o.LoyaltyDataConfig=i(77166),t.exports=o},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 o(){}t.exports.merchant=o,o.TipSuggestion=i(27033),t.exports=o},55623:(t,e,i)=>{var o=i(15358),n=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=o,l._meta_.fields.orderState={},l._meta_.fields.orderState.type=a,l._meta_.fields.onlineOrderCustomer={},l._meta_.fields.onlineOrderCustomer.type=n,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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setCustomerEmailAddress=function(t){this.customerEmailAddress=t},n.prototype.getCustomerEmailAddress=function(){return this.customerEmailAddress},n.prototype.setCustomerDisplayName=function(t){this.customerDisplayName=t},n.prototype.getCustomerDisplayName=function(){return this.customerDisplayName},n.prototype.setCustomerFirstName=function(t){this.customerFirstName=t},n.prototype.getCustomerFirstName=function(){return this.customerFirstName},n.prototype.setCustomerLastName=function(t){this.customerLastName=t},n.prototype.getCustomerLastName=function(){return this.customerLastName},n.prototype.setCustomerPhoneNumber=function(t){this.customerPhoneNumber=t},n.prototype.getCustomerPhoneNumber=function(){return this.customerPhoneNumber},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.customerEmailAddress={},n._meta_.fields.customerEmailAddress.type=String,n._meta_.fields.customerDisplayName={},n._meta_.fields.customerDisplayName.type=String,n._meta_.fields.customerFirstName={},n._meta_.fields.customerFirstName.type=String,n._meta_.fields.customerLastName={},n._meta_.fields.customerLastName.type=String,n._meta_.fields.customerPhoneNumber={},n._meta_.fields.customerPhoneNumber.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,t.exports=n},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 o=i(9222),n=function(){this._class_=n,this.items=void 0};n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},91961:t=>{t.exports={NAME:"NAME",TABLE:"TABLE",NAME_TABLE:"NAME_TABLE"}},4248:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.discount=void 0,this.approver=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.setApprover=function(t){this.approver=t},n.prototype.getApprover=function(){return this.approver},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPercentage=function(t){this.percentage=t},n.prototype.getPercentage=function(){return this.percentage},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,n._meta_.fields.approver={},n._meta_.fields.approver.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.percentage={},n._meta_.fields.percentage.type=Number,t.exports=n},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 o=i(16572),n=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=o,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=n,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 o=i(6190),n=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=n,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=o,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 o=i(62362),n=i(73004),s=i(62886),r=i(4248),a=i(4448),l=i(37471),u=function(){this._class_=u,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};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setItem=function(t){this.item=t},u.prototype.getItem=function(){return this.item},u.prototype.setName=function(t){this.name=t},u.prototype.getName=function(){return this.name},u.prototype.setAlternateName=function(t){this.alternateName=t},u.prototype.getAlternateName=function(){return this.alternateName},u.prototype.setPrice=function(t){this.price=t},u.prototype.getPrice=function(){return this.price},u.prototype.setPriceWithModifiers=function(t){this.priceWithModifiers=t},u.prototype.getPriceWithModifiers=function(){return this.priceWithModifiers},u.prototype.setPriceWithModifiersAndItemAndOrderDiscounts=function(t){this.priceWithModifiersAndItemAndOrderDiscounts=t},u.prototype.getPriceWithModifiersAndItemAndOrderDiscounts=function(){return this.priceWithModifiersAndItemAndOrderDiscounts},u.prototype.setUnitQty=function(t){this.unitQty=t},u.prototype.getUnitQty=function(){return this.unitQty},u.prototype.setUnitName=function(t){this.unitName=t},u.prototype.getUnitName=function(){return this.unitName},u.prototype.setItemCode=function(t){this.itemCode=t},u.prototype.getItemCode=function(){return this.itemCode},u.prototype.setNote=function(t){this.note=t},u.prototype.getNote=function(){return this.note},u.prototype.setPrinted=function(t){this.printed=t},u.prototype.getPrinted=function(){return this.printed},u.prototype.setExchangedLineItem=function(t){this.exchangedLineItem=t},u.prototype.getExchangedLineItem=function(){return this.exchangedLineItem},u.prototype.setBinName=function(t){this.binName=t},u.prototype.getBinName=function(){return this.binName},u.prototype.setUserData=function(t){this.userData=t},u.prototype.getUserData=function(){return this.userData},u.prototype.setCreatedTime=function(t){this.createdTime=t},u.prototype.getCreatedTime=function(){return this.createdTime},u.prototype.setOrderClientCreatedTime=function(t){this.orderClientCreatedTime=t},u.prototype.getOrderClientCreatedTime=function(){return this.orderClientCreatedTime},u.prototype.setDiscounts=function(t){this.discounts=t},u.prototype.getDiscounts=function(){return this.discounts},u.prototype.setOrderLevelDiscounts=function(t){this.orderLevelDiscounts=t},u.prototype.getOrderLevelDiscounts=function(){return this.orderLevelDiscounts},u.prototype.setDiscountAmount=function(t){this.discountAmount=t},u.prototype.getDiscountAmount=function(){return this.discountAmount},u.prototype.setOrderLevelDiscountAmount=function(t){this.orderLevelDiscountAmount=t},u.prototype.getOrderLevelDiscountAmount=function(){return this.orderLevelDiscountAmount},u.prototype.setExchanged=function(t){this.exchanged=t},u.prototype.getExchanged=function(){return this.exchanged},u.prototype.setModifications=function(t){this.modifications=t},u.prototype.getModifications=function(){return this.modifications},u.prototype.setRefunded=function(t){this.refunded=t},u.prototype.getRefunded=function(){return this.refunded},u.prototype.setRefund=function(t){this.refund=t},u.prototype.getRefund=function(){return this.refund},u.prototype.setIsRevenue=function(t){this.isRevenue=t},u.prototype.getIsRevenue=function(){return this.isRevenue},u.prototype.setTaxRates=function(t){this.taxRates=t},u.prototype.getTaxRates=function(){return this.taxRates},u.prototype.setPayments=function(t){this.payments=t},u.prototype.getPayments=function(){return this.payments},u.prototype.setRevenueAmount=function(t){this.revenueAmount=t},u.prototype.getRevenueAmount=function(){return this.revenueAmount},u.prototype.setQuantitySold=function(t){this.quantitySold=t},u.prototype.getQuantitySold=function(){return this.quantitySold},u.prototype.setPrintGroup=function(t){this.printGroup=t},u.prototype.getPrintGroup=function(){return this.printGroup},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.item={},u._meta_.fields.item.type=a,u._meta_.fields.name={},u._meta_.fields.name.type=String,u._meta_.fields.alternateName={},u._meta_.fields.alternateName.type=String,u._meta_.fields.price={},u._meta_.fields.price.type=Number,u._meta_.fields.priceWithModifiers={},u._meta_.fields.priceWithModifiers.type=Number,u._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts={},u._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts.type=Number,u._meta_.fields.unitQty={},u._meta_.fields.unitQty.type=Number,u._meta_.fields.unitName={},u._meta_.fields.unitName.type=String,u._meta_.fields.itemCode={},u._meta_.fields.itemCode.type=String,u._meta_.fields.note={},u._meta_.fields.note.type=String,u._meta_.fields.printed={},u._meta_.fields.printed.type=Boolean,u._meta_.fields.exchangedLineItem={},u._meta_.fields.exchangedLineItem.type=a,u._meta_.fields.binName={},u._meta_.fields.binName.type=String,u._meta_.fields.userData={},u._meta_.fields.userData.type=String,u._meta_.fields.createdTime={},u._meta_.fields.createdTime.type=Number,u._meta_.fields.orderClientCreatedTime={},u._meta_.fields.orderClientCreatedTime.type=Number,u._meta_.fields.discounts={},u._meta_.fields.discounts.type=Array,u._meta_.fields.discounts.elementType=r,u._meta_.fields.orderLevelDiscounts={},u._meta_.fields.orderLevelDiscounts.type=Array,u._meta_.fields.orderLevelDiscounts.elementType=r,u._meta_.fields.discountAmount={},u._meta_.fields.discountAmount.type=Number,u._meta_.fields.orderLevelDiscountAmount={},u._meta_.fields.orderLevelDiscountAmount.type=Number,u._meta_.fields.exchanged={},u._meta_.fields.exchanged.type=Boolean,u._meta_.fields.modifications={},u._meta_.fields.modifications.type=Array,u._meta_.fields.modifications.elementType=o,u._meta_.fields.refunded={},u._meta_.fields.refunded.type=Boolean,u._meta_.fields.refund={},u._meta_.fields.refund.type=l,u._meta_.fields.isRevenue={},u._meta_.fields.isRevenue.type=Boolean,u._meta_.fields.taxRates={},u._meta_.fields.taxRates.type=Array,u._meta_.fields.taxRates.elementType=n,u._meta_.fields.payments={},u._meta_.fields.payments.type=Array,u._meta_.fields.payments.elementType=s,u._meta_.fields.revenueAmount={},u._meta_.fields.revenueAmount.type=Number,u._meta_.fields.quantitySold={},u._meta_.fields.quantitySold.type=Number,u._meta_.fields.printGroup={},u._meta_.fields.printGroup.type=a,t.exports=u},16018:(t,e,i)=>{var o=i(73004),n=function(){this._class_=n,this.rates=void 0};n.prototype.setRates=function(t){this.rates=t},n.prototype.getRates=function(){return this.rates},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.rates={},n._meta_.fields.rates.type=Object,n._meta_.fields.rates.valueType=o,t.exports=n},62362:(t,e,i)=>{var o=i(55683),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.amount=void 0,this.modifier=void 0,this.quantitySold=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAlternateName=function(t){this.alternateName=t},n.prototype.getAlternateName=function(){return this.alternateName},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setModifier=function(t){this.modifier=t},n.prototype.getModifier=function(){return this.modifier},n.prototype.setQuantitySold=function(t){this.quantitySold=t},n.prototype.getQuantitySold=function(){return this.quantitySold},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.alternateName={},n._meta_.fields.alternateName.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.modifier={},n._meta_.fields.modifier.type=o,n._meta_.fields.quantitySold={},n._meta_.fields.quantitySold.type=Number,t.exports=n},14326:(t,e,i)=>{var o=i(93657),n=i(4248),s=i(55623),r=i(51669),a=i(37479),l=i(37471),u=i(6639),d=i(26866),p=i(44155),_=i(16765),c=i(9222),m=i(85471),f=i(82794),y=i(4448),h=function(){this._class_=h,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};h.prototype.setId=function(t){this.id=t},h.prototype.getId=function(){return this.id},h.prototype.setCurrency=function(t){this.currency=t},h.prototype.getCurrency=function(){return this.currency},h.prototype.setCustomerId=function(t){this.customerId=t},h.prototype.getCustomerId=function(){return this.customerId},h.prototype.setCustomerUuid=function(t){this.customerUuid=t},h.prototype.getCustomerUuid=function(){return this.customerUuid},h.prototype.setOrderTypeId=function(t){this.orderTypeId=t},h.prototype.getOrderTypeId=function(){return this.orderTypeId},h.prototype.setCustomers=function(t){this.customers=t},h.prototype.getCustomers=function(){return this.customers},h.prototype.setEmployee=function(t){this.employee=t},h.prototype.getEmployee=function(){return this.employee},h.prototype.setTotal=function(t){this.total=t},h.prototype.getTotal=function(){return this.total},h.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},h.prototype.getExternalReferenceId=function(){return this.externalReferenceId},h.prototype.setUnpaidBalance=function(t){this.unpaidBalance=t},h.prototype.getUnpaidBalance=function(){return this.unpaidBalance},h.prototype.setPaymentState=function(t){this.paymentState=t},h.prototype.getPaymentState=function(){return this.paymentState},h.prototype.setTitle=function(t){this.title=t},h.prototype.getTitle=function(){return this.title},h.prototype.setNote=function(t){this.note=t},h.prototype.getNote=function(){return this.note},h.prototype.setOrderType=function(t){this.orderType=t},h.prototype.getOrderType=function(){return this.orderType},h.prototype.setTaxRemoved=function(t){this.taxRemoved=t},h.prototype.getTaxRemoved=function(){return this.taxRemoved},h.prototype.setIsVat=function(t){this.isVat=t},h.prototype.getIsVat=function(){return this.isVat},h.prototype.setState=function(t){this.state=t},h.prototype.getState=function(){return this.state},h.prototype.setManualTransaction=function(t){this.manualTransaction=t},h.prototype.getManualTransaction=function(){return this.manualTransaction},h.prototype.setGroupLineItems=function(t){this.groupLineItems=t},h.prototype.getGroupLineItems=function(){return this.groupLineItems},h.prototype.setTestMode=function(t){this.testMode=t},h.prototype.getTestMode=function(){return this.testMode},h.prototype.setPayType=function(t){this.payType=t},h.prototype.getPayType=function(){return this.payType},h.prototype.setCreatedTime=function(t){this.createdTime=t},h.prototype.getCreatedTime=function(){return this.createdTime},h.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},h.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},h.prototype.setModifiedTime=function(t){this.modifiedTime=t},h.prototype.getModifiedTime=function(){return this.modifiedTime},h.prototype.setDeletedTimestamp=function(t){this.deletedTimestamp=t},h.prototype.getDeletedTimestamp=function(){return this.deletedTimestamp},h.prototype.setServiceCharge=function(t){this.serviceCharge=t},h.prototype.getServiceCharge=function(){return this.serviceCharge},h.prototype.setDiscounts=function(t){this.discounts=t},h.prototype.getDiscounts=function(){return this.discounts},h.prototype.setLineItems=function(t){this.lineItems=t},h.prototype.getLineItems=function(){return this.lineItems},h.prototype.setPayments=function(t){this.payments=t},h.prototype.getPayments=function(){return this.payments},h.prototype.setRefunds=function(t){this.refunds=t},h.prototype.getRefunds=function(){return this.refunds},h.prototype.setCredits=function(t){this.credits=t},h.prototype.getCredits=function(){return this.credits},h.prototype.setVoids=function(t){this.voids=t},h.prototype.getVoids=function(){return this.voids},h.prototype.setPreAuths=function(t){this.preAuths=t},h.prototype.getPreAuths=function(){return this.preAuths},h.prototype.setDevice=function(t){this.device=t},h.prototype.getDevice=function(){return this.device},h.prototype.setAuthorizations=function(t){this.authorizations=t},h.prototype.getAuthorizations=function(){return this.authorizations},h.prototype.setMerchant=function(t){this.merchant=t},h.prototype.getMerchant=function(){return this.merchant},h.prototype.setOnlineOrder=function(t){this.onlineOrder=t},h.prototype.getOnlineOrder=function(){return this.onlineOrder},h.prototype.setPrintGroups=function(t){this.printGroups=t},h.prototype.getPrintGroups=function(){return this.printGroups},h.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},h.prototype.toString=function(){return JSON.stringify(this)},h._meta_={fields:{}},h._meta_._class_=h,h._meta_.fields.id={},h._meta_.fields.id.type=String,h._meta_.fields.currency={},h._meta_.fields.currency.type=String,h._meta_.fields.customerId={},h._meta_.fields.customerId.type=Number,h._meta_.fields.customerUuid={},h._meta_.fields.customerUuid.type=String,h._meta_.fields.orderTypeId={},h._meta_.fields.orderTypeId.type=Number,h._meta_.fields.customers={},h._meta_.fields.customers.type=Array,h._meta_.fields.customers.elementType=d,h._meta_.fields.employee={},h._meta_.fields.employee.type=y,h._meta_.fields.total={},h._meta_.fields.total.type=Number,h._meta_.fields.externalReferenceId={},h._meta_.fields.externalReferenceId.type=String,h._meta_.fields.unpaidBalance={},h._meta_.fields.unpaidBalance.type=Number,h._meta_.fields.paymentState={},h._meta_.fields.paymentState.type=r,h._meta_.fields.title={},h._meta_.fields.title.type=String,h._meta_.fields.note={},h._meta_.fields.note.type=String,h._meta_.fields.orderType={},h._meta_.fields.orderType.type=m,h._meta_.fields.taxRemoved={},h._meta_.fields.taxRemoved.type=Boolean,h._meta_.fields.isVat={},h._meta_.fields.isVat.type=Boolean,h._meta_.fields.state={},h._meta_.fields.state.type=String,h._meta_.fields.manualTransaction={},h._meta_.fields.manualTransaction.type=Boolean,h._meta_.fields.groupLineItems={},h._meta_.fields.groupLineItems.type=Boolean,h._meta_.fields.testMode={},h._meta_.fields.testMode.type=Boolean,h._meta_.fields.payType={},h._meta_.fields.payType.type=_,h._meta_.fields.createdTime={},h._meta_.fields.createdTime.type=Number,h._meta_.fields.clientCreatedTime={},h._meta_.fields.clientCreatedTime.type=Number,h._meta_.fields.modifiedTime={},h._meta_.fields.modifiedTime.type=Number,h._meta_.fields.deletedTimestamp={},h._meta_.fields.deletedTimestamp.type=Number,h._meta_.fields.serviceCharge={},h._meta_.fields.serviceCharge.type=a,h._meta_.fields.discounts={},h._meta_.fields.discounts.type=Array,h._meta_.fields.discounts.elementType=n,h._meta_.fields.lineItems={},h._meta_.fields.lineItems.type=Array,h._meta_.fields.lineItems.elementType=c,h._meta_.fields.payments={},h._meta_.fields.payments.type=Array,h._meta_.fields.payments.elementType=f,h._meta_.fields.refunds={},h._meta_.fields.refunds.type=Array,h._meta_.fields.refunds.elementType=l,h._meta_.fields.credits={},h._meta_.fields.credits.type=Array,h._meta_.fields.credits.elementType=u,h._meta_.fields.voids={},h._meta_.fields.voids.type=Array,h._meta_.fields.voids.elementType=f,h._meta_.fields.preAuths={},h._meta_.fields.preAuths.type=Array,h._meta_.fields.preAuths.elementType=f,h._meta_.fields.device={},h._meta_.fields.device.type=y,h._meta_.fields.authorizations={},h._meta_.fields.authorizations.type=Array,h._meta_.fields.authorizations.elementType=o,h._meta_.fields.merchant={},h._meta_.fields.merchant.type=y,h._meta_.fields.onlineOrder={},h._meta_.fields.onlineOrder.type=s,h._meta_.fields.printGroups={},h._meta_.fields.printGroups.type=Array,h._meta_.fields.printGroups.elementType=p,t.exports=h},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 o=i(46335),n=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=o,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=n,a._meta_.fields.categories={},a._meta_.fields.categories.type=Array,a._meta_.fields.categories.elementType=s,t.exports=a},90195:(t,e,i)=>{var o=i(85471),n=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=o,s._meta_.fields.category={},s._meta_.fields.category.type=n,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 o=i(92842),n=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=n,r._meta_.fields.orderRef={},r._meta_.fields.orderRef.type=n,r._meta_.fields.deviceRef={},r._meta_.fields.deviceRef.type=n,r._meta_.fields.category={},r._meta_.fields.category.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=o,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 o=i(4448),n=function(){this._class_=n,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setRefund=function(t){this.refund=t},n.prototype.getRefund=function(){return this.refund},n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setEmailAddresses=function(t){this.emailAddresses=t},n.prototype.getEmailAddresses=function(){return this.emailAddresses},n.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},n.prototype.getPhoneNumbers=function(){return this.phoneNumbers},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.refund={},n._meta_.fields.refund.type=o,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.emailAddresses={},n._meta_.fields.emailAddresses.type=Array,n._meta_.fields.phoneNumbers={},n._meta_.fields.phoneNumbers.type=Array,t.exports=n},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 o=i(70541),n=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=n,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=o,t.exports=r},40402:(t,e,i)=>{function o(){}t.exports.order=o,o.operation={},o.ClientEventType=i(70541),o.CreateLineItemsRequest=i(85653),o.CustomerIdMethod=i(91961),o.Discount=i(4248),o.DisplayDiscount=i(16572),o.DisplayLineItem=i(6062),o.DisplayModification=i(82922),o.DisplayOrder=i(2565),o.DisplayPayment=i(6190),o.FireOrder=i(49346),o.HoursAvailable=i(46335),o.LineItem=i(9222),o.LineItemTaxRates=i(16018),o.Modification=i(62362),o.Order=i(14326),o.OrderExpansion=i(59656),o.OrderTaxRate=i(61147),o.OrderType=i(85471),o.OrderTypeCategory=i(90195),o.OverrideInfo=i(38338),o.PayType=i(16765),o.PaymentState=i(51669),o.PrintGroup=i(44155),o.PrintOrder=i(41671),o.PrintState=i(92842),o.SendReceiptRequest=i(76699),o.SystemOrderType=i(95955),o.VoidReason=i(3306),o.VoidedLineItem=i(71250),o.operation.DiscountsAddedOperation=i(78368),o.operation.DiscountsDeletedOperation=i(74066),o.operation.LineItemsAddedOperation=i(89361),o.operation.LineItemsDeletedOperation=i(79494),o.operation.OrderDeletedOperation=i(30087),t.exports=o},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 o=i(4212),n=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=o,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=n,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 o=i(43634),n=i(89656),s=i(10413),r=i(27416),a=i(52849),l=i(88581),u=i(9496),d=function(){this._class_=d,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};d.prototype.setTxResult=function(t){this.txResult=t},d.prototype.getTxResult=function(){return this.txResult},d.prototype.setTxError=function(t){this.txError=t},d.prototype.getTxError=function(){return this.txError},d.prototype.setAmount=function(t){this.amount=t},d.prototype.getAmount=function(){return this.amount},d.prototype.setTipAmount=function(t){this.tipAmount=t},d.prototype.getTipAmount=function(){return this.tipAmount},d.prototype.setCashBackAmount=function(t){this.cashBackAmount=t},d.prototype.getCashBackAmount=function(){return this.cashBackAmount},d.prototype.setErrorCode=function(t){this.errorCode=t},d.prototype.getErrorCode=function(){return this.errorCode},d.prototype.setErrorText=function(t){this.errorText=t},d.prototype.getErrorText=function(){return this.errorText},d.prototype.setTransactionDate=function(t){this.transactionDate=t},d.prototype.getTransactionDate=function(){return this.transactionDate},d.prototype.setTransactionTime=function(t){this.transactionTime=t},d.prototype.getTransactionTime=function(){return this.transactionTime},d.prototype.setMsrContainer=function(t){this.msrContainer=t},d.prototype.getMsrContainer=function(){return this.msrContainer},d.prototype.setMsrMaskedTrack1=function(t){this.msrMaskedTrack1=t},d.prototype.getMsrMaskedTrack1=function(){return this.msrMaskedTrack1},d.prototype.setMsrMaskedTrack2=function(t){this.msrMaskedTrack2=t},d.prototype.getMsrMaskedTrack2=function(){return this.msrMaskedTrack2},d.prototype.setMaskedManualPan=function(t){this.maskedManualPan=t},d.prototype.getMaskedManualPan=function(){return this.maskedManualPan},d.prototype.setSredContainer=function(t){this.sredContainer=t},d.prototype.getSredContainer=function(){return this.sredContainer},d.prototype.setSred=function(t){this.sred=t},d.prototype.getSred=function(){return this.sred},d.prototype.setKsn=function(t){this.ksn=t},d.prototype.getKsn=function(){return this.ksn},d.prototype.setTransArmorContainer=function(t){this.transArmorContainer=t},d.prototype.getTransArmorContainer=function(){return this.transArmorContainer},d.prototype.setTransArmorKey=function(t){this.transArmorKey=t},d.prototype.getTransArmorKey=function(){return this.transArmorKey},d.prototype.setTransArmorKeyId=function(t){this.transArmorKeyId=t},d.prototype.getTransArmorKeyId=function(){return this.transArmorKeyId},d.prototype.setTransArmorEncryptedTrack1=function(t){this.transArmorEncryptedTrack1=t},d.prototype.getTransArmorEncryptedTrack1=function(){return this.transArmorEncryptedTrack1},d.prototype.setTransArmorEncryptedTrack2=function(t){this.transArmorEncryptedTrack2=t},d.prototype.getTransArmorEncryptedTrack2=function(){return this.transArmorEncryptedTrack2},d.prototype.setTransArmorEncryptedEmvTag57=function(t){this.transArmorEncryptedEmvTag57=t},d.prototype.getTransArmorEncryptedEmvTag57=function(){return this.transArmorEncryptedEmvTag57},d.prototype.setTransArmorEncryptedEmvTag5A=function(t){this.transArmorEncryptedEmvTag5A=t},d.prototype.getTransArmorEncryptedEmvTag5A=function(){return this.transArmorEncryptedEmvTag5A},d.prototype.setTransArmorEncryptedManualKeyedData=function(t){this.transArmorEncryptedManualKeyedData=t},d.prototype.getTransArmorEncryptedManualKeyedData=function(){return this.transArmorEncryptedManualKeyedData},d.prototype.setIccContainer=function(t){this.iccContainer=t},d.prototype.getIccContainer=function(){return this.iccContainer},d.prototype.setIccApplicationInterchangeProfile=function(t){this.iccApplicationInterchangeProfile=t},d.prototype.getIccApplicationInterchangeProfile=function(){return this.iccApplicationInterchangeProfile},d.prototype.setIccMaskedEmv57=function(t){this.iccMaskedEmv57=t},d.prototype.getIccMaskedEmv57=function(){return this.iccMaskedEmv57},d.prototype.setIccMaskedEmv5A=function(t){this.iccMaskedEmv5A=t},d.prototype.getIccMaskedEmv5A=function(){return this.iccMaskedEmv5A},d.prototype.setIccApplicationPanSequenceNumber=function(t){this.iccApplicationPanSequenceNumber=t},d.prototype.getIccApplicationPanSequenceNumber=function(){return this.iccApplicationPanSequenceNumber},d.prototype.setIccApplicationExpirationDate=function(t){this.iccApplicationExpirationDate=t},d.prototype.getIccApplicationExpirationDate=function(){return this.iccApplicationExpirationDate},d.prototype.setIccApplicationEffectiveDate=function(t){this.iccApplicationEffectiveDate=t},d.prototype.getIccApplicationEffectiveDate=function(){return this.iccApplicationEffectiveDate},d.prototype.setIccAmountAuthorized=function(t){this.iccAmountAuthorized=t},d.prototype.getIccAmountAuthorized=function(){return this.iccAmountAuthorized},d.prototype.setIccAmountOther=function(t){this.iccAmountOther=t},d.prototype.getIccAmountOther=function(){return this.iccAmountOther},d.prototype.setIccTransactionCurrencyCode=function(t){this.iccTransactionCurrencyCode=t},d.prototype.getIccTransactionCurrencyCode=function(){return this.iccTransactionCurrencyCode},d.prototype.setIccTransactionCurrencyExponent=function(t){this.iccTransactionCurrencyExponent=t},d.prototype.getIccTransactionCurrencyExponent=function(){return this.iccTransactionCurrencyExponent},d.prototype.setIccApplicationUsageControl=function(t){this.iccApplicationUsageControl=t},d.prototype.getIccApplicationUsageControl=function(){return this.iccApplicationUsageControl},d.prototype.setIccIssuerActionCodeDefault=function(t){this.iccIssuerActionCodeDefault=t},d.prototype.getIccIssuerActionCodeDefault=function(){return this.iccIssuerActionCodeDefault},d.prototype.setIccIssuerActionCodeDenial=function(t){this.iccIssuerActionCodeDenial=t},d.prototype.getIccIssuerActionCodeDenial=function(){return this.iccIssuerActionCodeDenial},d.prototype.setIccIssuerActionCodeOnline=function(t){this.iccIssuerActionCodeOnline=t},d.prototype.getIccIssuerActionCodeOnline=function(){return this.iccIssuerActionCodeOnline},d.prototype.setIccApplicationLabel=function(t){this.iccApplicationLabel=t},d.prototype.getIccApplicationLabel=function(){return this.iccApplicationLabel},d.prototype.setIccApplicationCryptogram=function(t){this.iccApplicationCryptogram=t},d.prototype.getIccApplicationCryptogram=function(){return this.iccApplicationCryptogram},d.prototype.setIccApplicationIdentifierCard=function(t){this.iccApplicationIdentifierCard=t},d.prototype.getIccApplicationIdentifierCard=function(){return this.iccApplicationIdentifierCard},d.prototype.setIccApplicationIdentifierTerminal=function(t){this.iccApplicationIdentifierTerminal=t},d.prototype.getIccApplicationIdentifierTerminal=function(){return this.iccApplicationIdentifierTerminal},d.prototype.setIccApplicationTransactionCounter=function(t){this.iccApplicationTransactionCounter=t},d.prototype.getIccApplicationTransactionCounter=function(){return this.iccApplicationTransactionCounter},d.prototype.setIccApplicationVersionNumber=function(t){this.iccApplicationVersionNumber=t},d.prototype.getIccApplicationVersionNumber=function(){return this.iccApplicationVersionNumber},d.prototype.setIccCryptogramInformationData=function(t){this.iccCryptogramInformationData=t},d.prototype.getIccCryptogramInformationData=function(){return this.iccCryptogramInformationData},d.prototype.setIccCvmResults=function(t){this.iccCvmResults=t},d.prototype.getIccCvmResults=function(){return this.iccCvmResults},d.prototype.setIccInterfaceDeviceSerialNumber=function(t){this.iccInterfaceDeviceSerialNumber=t},d.prototype.getIccInterfaceDeviceSerialNumber=function(){return this.iccInterfaceDeviceSerialNumber},d.prototype.setIccIssuerApplicationData=function(t){this.iccIssuerApplicationData=t},d.prototype.getIccIssuerApplicationData=function(){return this.iccIssuerApplicationData},d.prototype.setIccPosEntryModeCode=function(t){this.iccPosEntryModeCode=t},d.prototype.getIccPosEntryModeCode=function(){return this.iccPosEntryModeCode},d.prototype.setIccTerminalCapabilities=function(t){this.iccTerminalCapabilities=t},d.prototype.getIccTerminalCapabilities=function(){return this.iccTerminalCapabilities},d.prototype.setIccTerminalCountryCode=function(t){this.iccTerminalCountryCode=t},d.prototype.getIccTerminalCountryCode=function(){return this.iccTerminalCountryCode},d.prototype.setIccTerminalType=function(t){this.iccTerminalType=t},d.prototype.getIccTerminalType=function(){return this.iccTerminalType},d.prototype.setIccTvr=function(t){this.iccTvr=t},d.prototype.getIccTvr=function(){return this.iccTvr},d.prototype.setIccTransactionDate=function(t){this.iccTransactionDate=t},d.prototype.getIccTransactionDate=function(){return this.iccTransactionDate},d.prototype.setIccTsi=function(t){this.iccTsi=t},d.prototype.getIccTsi=function(){return this.iccTsi},d.prototype.setIccTransactionType=function(t){this.iccTransactionType=t},d.prototype.getIccTransactionType=function(){return this.iccTransactionType},d.prototype.setIccUnpredictableNumber=function(t){this.iccUnpredictableNumber=t},d.prototype.getIccUnpredictableNumber=function(){return this.iccUnpredictableNumber},d.prototype.setIccTransactionTime=function(t){this.iccTransactionTime=t},d.prototype.getIccTransactionTime=function(){return this.iccTransactionTime},d.prototype.setIccAdditionalTerminalCapabilities=function(t){this.iccAdditionalTerminalCapabilities=t},d.prototype.getIccAdditionalTerminalCapabilities=function(){return this.iccAdditionalTerminalCapabilities},d.prototype.setIccTransactionCategoryCode=function(t){this.iccTransactionCategoryCode=t},d.prototype.getIccTransactionCategoryCode=function(){return this.iccTransactionCategoryCode},d.prototype.setIccIssuerApplicationPreferredName=function(t){this.iccIssuerApplicationPreferredName=t},d.prototype.getIccIssuerApplicationPreferredName=function(){return this.iccIssuerApplicationPreferredName},d.prototype.setIccCardholderName=function(t){this.iccCardholderName=t},d.prototype.getIccCardholderName=function(){return this.iccCardholderName},d.prototype.setIccIssuerCodeTableIndex=function(t){this.iccIssuerCodeTableIndex=t},d.prototype.getIccIssuerCodeTableIndex=function(){return this.iccIssuerCodeTableIndex},d.prototype.setIccIssuerScripts=function(t){this.iccIssuerScripts=t},d.prototype.getIccIssuerScripts=function(){return this.iccIssuerScripts},d.prototype.setIccIssuerScriptResults=function(t){this.iccIssuerScriptResults=t},d.prototype.getIccIssuerScriptResults=function(){return this.iccIssuerScriptResults},d.prototype.setDebugTrack2EquivalentData=function(t){this.debugTrack2EquivalentData=t},d.prototype.getDebugTrack2EquivalentData=function(){return this.debugTrack2EquivalentData},d.prototype.setDebugApplicationPan=function(t){this.debugApplicationPan=t},d.prototype.getDebugApplicationPan=function(){return this.debugApplicationPan},d.prototype.setDebugAmountAuthorizedBinary=function(t){this.debugAmountAuthorizedBinary=t},d.prototype.getDebugAmountAuthorizedBinary=function(){return this.debugAmountAuthorizedBinary},d.prototype.setDebugAmountOtherBinary=function(t){this.debugAmountOtherBinary=t},d.prototype.getDebugAmountOtherBinary=function(){return this.debugAmountOtherBinary},d.prototype.setDebugTransactionStatusInformation=function(t){this.debugTransactionStatusInformation=t},d.prototype.getDebugTransactionStatusInformation=function(){return this.debugTransactionStatusInformation},d.prototype.setDebugPlainTrack1=function(t){this.debugPlainTrack1=t},d.prototype.getDebugPlainTrack1=function(){return this.debugPlainTrack1},d.prototype.setDebugPlainTrack2=function(t){this.debugPlainTrack2=t},d.prototype.getDebugPlainTrack2=function(){return this.debugPlainTrack2},d.prototype.setSchemePunATC=function(t){this.schemePunATC=t},d.prototype.getSchemePunATC=function(){return this.schemePunATC},d.prototype.setSchemeThirdPartyData=function(t){this.schemeThirdPartyData=t},d.prototype.getSchemeThirdPartyData=function(){return this.schemeThirdPartyData},d.prototype.setSchemeMerchantCustomData=function(t){this.schemeMerchantCustomData=t},d.prototype.getSchemeMerchantCustomData=function(){return this.schemeMerchantCustomData},d.prototype.setSchemeTerminalEntryCapability=function(t){this.schemeTerminalEntryCapability=t},d.prototype.getSchemeTerminalEntryCapability=function(){return this.schemeTerminalEntryCapability},d.prototype.setPinBlockContainer=function(t){this.pinBlockContainer=t},d.prototype.getPinBlockContainer=function(){return this.pinBlockContainer},d.prototype.setPinBlock=function(t){this.pinBlock=t},d.prototype.getPinBlock=function(){return this.pinBlock},d.prototype.setPinBlockKsn=function(t){this.pinBlockKsn=t},d.prototype.getPinBlockKsn=function(){return this.pinBlockKsn},d.prototype.setMac=function(t){this.mac=t},d.prototype.getMac=function(){return this.mac},d.prototype.setMacKsn=function(t){this.macKsn=t},d.prototype.getMacKsn=function(){return this.macKsn},d.prototype.setGwContainer=function(t){this.gwContainer=t},d.prototype.getGwContainer=function(){return this.gwContainer},d.prototype.setGwIssuerAuthenticationData=function(t){this.gwIssuerAuthenticationData=t},d.prototype.getGwIssuerAuthenticationData=function(){return this.gwIssuerAuthenticationData},d.prototype.setGwIssuerScriptTemplate1=function(t){this.gwIssuerScriptTemplate1=t},d.prototype.getGwIssuerScriptTemplate1=function(){return this.gwIssuerScriptTemplate1},d.prototype.setGwIssuerScriptTemplate2=function(t){this.gwIssuerScriptTemplate2=t},d.prototype.getGwIssuerScriptTemplate2=function(){return this.gwIssuerScriptTemplate2},d.prototype.setGwIssuerAuthorizationResponseCode=function(t){this.gwIssuerAuthorizationResponseCode=t},d.prototype.getGwIssuerAuthorizationResponseCode=function(){return this.gwIssuerAuthorizationResponseCode},d.prototype.setGwMessageControlField=function(t){this.gwMessageControlField=t},d.prototype.getGwMessageControlField=function(){return this.gwMessageControlField},d.prototype.setGwTxResult=function(t){this.gwTxResult=t},d.prototype.getGwTxResult=function(){return this.gwTxResult},d.prototype.setCvmResult=function(t){this.cvmResult=t},d.prototype.getCvmResult=function(){return this.cvmResult},d.prototype.setServiceCode1=function(t){this.serviceCode1=t},d.prototype.getServiceCode1=function(){return this.serviceCode1},d.prototype.setServiceCode2=function(t){this.serviceCode2=t},d.prototype.getServiceCode2=function(){return this.serviceCode2},d.prototype.setServiceCode3=function(t){this.serviceCode3=t},d.prototype.getServiceCode3=function(){return this.serviceCode3},d.prototype.setOfflineApprovalAuthCode=function(t){this.offlineApprovalAuthCode=t},d.prototype.getOfflineApprovalAuthCode=function(){return this.offlineApprovalAuthCode},d.prototype.setAvailableOfflineSpendingAmount=function(t){this.availableOfflineSpendingAmount=t},d.prototype.getAvailableOfflineSpendingAmount=function(){return this.availableOfflineSpendingAmount},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.txResult={},d._meta_.fields.txResult.type=s,d._meta_.fields.txError={},d._meta_.fields.txError.type=n,d._meta_.fields.amount={},d._meta_.fields.amount.type=Number,d._meta_.fields.tipAmount={},d._meta_.fields.tipAmount.type=Number,d._meta_.fields.cashBackAmount={},d._meta_.fields.cashBackAmount.type=Number,d._meta_.fields.errorCode={},d._meta_.fields.errorCode.type=String,d._meta_.fields.errorText={},d._meta_.fields.errorText.type=String,d._meta_.fields.transactionDate={},d._meta_.fields.transactionDate.type=String,d._meta_.fields.transactionTime={},d._meta_.fields.transactionTime.type=String,d._meta_.fields.msrContainer={},d._meta_.fields.msrContainer.type=String,d._meta_.fields.msrMaskedTrack1={},d._meta_.fields.msrMaskedTrack1.type=String,d._meta_.fields.msrMaskedTrack2={},d._meta_.fields.msrMaskedTrack2.type=String,d._meta_.fields.maskedManualPan={},d._meta_.fields.maskedManualPan.type=String,d._meta_.fields.sredContainer={},d._meta_.fields.sredContainer.type=String,d._meta_.fields.sred={},d._meta_.fields.sred.type=String,d._meta_.fields.ksn={},d._meta_.fields.ksn.type=String,d._meta_.fields.transArmorContainer={},d._meta_.fields.transArmorContainer.type=String,d._meta_.fields.transArmorKey={},d._meta_.fields.transArmorKey.type=String,d._meta_.fields.transArmorKeyId={},d._meta_.fields.transArmorKeyId.type=String,d._meta_.fields.transArmorEncryptedTrack1={},d._meta_.fields.transArmorEncryptedTrack1.type=String,d._meta_.fields.transArmorEncryptedTrack2={},d._meta_.fields.transArmorEncryptedTrack2.type=String,d._meta_.fields.transArmorEncryptedEmvTag57={},d._meta_.fields.transArmorEncryptedEmvTag57.type=String,d._meta_.fields.transArmorEncryptedEmvTag5A={},d._meta_.fields.transArmorEncryptedEmvTag5A.type=String,d._meta_.fields.transArmorEncryptedManualKeyedData={},d._meta_.fields.transArmorEncryptedManualKeyedData.type=String,d._meta_.fields.iccContainer={},d._meta_.fields.iccContainer.type=String,d._meta_.fields.iccApplicationInterchangeProfile={},d._meta_.fields.iccApplicationInterchangeProfile.type=String,d._meta_.fields.iccMaskedEmv57={},d._meta_.fields.iccMaskedEmv57.type=String,d._meta_.fields.iccMaskedEmv5A={},d._meta_.fields.iccMaskedEmv5A.type=String,d._meta_.fields.iccApplicationPanSequenceNumber={},d._meta_.fields.iccApplicationPanSequenceNumber.type=String,d._meta_.fields.iccApplicationExpirationDate={},d._meta_.fields.iccApplicationExpirationDate.type=String,d._meta_.fields.iccApplicationEffectiveDate={},d._meta_.fields.iccApplicationEffectiveDate.type=String,d._meta_.fields.iccAmountAuthorized={},d._meta_.fields.iccAmountAuthorized.type=String,d._meta_.fields.iccAmountOther={},d._meta_.fields.iccAmountOther.type=String,d._meta_.fields.iccTransactionCurrencyCode={},d._meta_.fields.iccTransactionCurrencyCode.type=String,d._meta_.fields.iccTransactionCurrencyExponent={},d._meta_.fields.iccTransactionCurrencyExponent.type=String,d._meta_.fields.iccApplicationUsageControl={},d._meta_.fields.iccApplicationUsageControl.type=String,d._meta_.fields.iccIssuerActionCodeDefault={},d._meta_.fields.iccIssuerActionCodeDefault.type=String,d._meta_.fields.iccIssuerActionCodeDenial={},d._meta_.fields.iccIssuerActionCodeDenial.type=String,d._meta_.fields.iccIssuerActionCodeOnline={},d._meta_.fields.iccIssuerActionCodeOnline.type=String,d._meta_.fields.iccApplicationLabel={},d._meta_.fields.iccApplicationLabel.type=String,d._meta_.fields.iccApplicationCryptogram={},d._meta_.fields.iccApplicationCryptogram.type=String,d._meta_.fields.iccApplicationIdentifierCard={},d._meta_.fields.iccApplicationIdentifierCard.type=String,d._meta_.fields.iccApplicationIdentifierTerminal={},d._meta_.fields.iccApplicationIdentifierTerminal.type=String,d._meta_.fields.iccApplicationTransactionCounter={},d._meta_.fields.iccApplicationTransactionCounter.type=String,d._meta_.fields.iccApplicationVersionNumber={},d._meta_.fields.iccApplicationVersionNumber.type=String,d._meta_.fields.iccCryptogramInformationData={},d._meta_.fields.iccCryptogramInformationData.type=String,d._meta_.fields.iccCvmResults={},d._meta_.fields.iccCvmResults.type=String,d._meta_.fields.iccInterfaceDeviceSerialNumber={},d._meta_.fields.iccInterfaceDeviceSerialNumber.type=String,d._meta_.fields.iccIssuerApplicationData={},d._meta_.fields.iccIssuerApplicationData.type=String,d._meta_.fields.iccPosEntryModeCode={},d._meta_.fields.iccPosEntryModeCode.type=String,d._meta_.fields.iccTerminalCapabilities={},d._meta_.fields.iccTerminalCapabilities.type=String,d._meta_.fields.iccTerminalCountryCode={},d._meta_.fields.iccTerminalCountryCode.type=String,d._meta_.fields.iccTerminalType={},d._meta_.fields.iccTerminalType.type=String,d._meta_.fields.iccTvr={},d._meta_.fields.iccTvr.type=String,d._meta_.fields.iccTransactionDate={},d._meta_.fields.iccTransactionDate.type=String,d._meta_.fields.iccTsi={},d._meta_.fields.iccTsi.type=String,d._meta_.fields.iccTransactionType={},d._meta_.fields.iccTransactionType.type=String,d._meta_.fields.iccUnpredictableNumber={},d._meta_.fields.iccUnpredictableNumber.type=String,d._meta_.fields.iccTransactionTime={},d._meta_.fields.iccTransactionTime.type=String,d._meta_.fields.iccAdditionalTerminalCapabilities={},d._meta_.fields.iccAdditionalTerminalCapabilities.type=String,d._meta_.fields.iccTransactionCategoryCode={},d._meta_.fields.iccTransactionCategoryCode.type=String,d._meta_.fields.iccIssuerApplicationPreferredName={},d._meta_.fields.iccIssuerApplicationPreferredName.type=String,d._meta_.fields.iccCardholderName={},d._meta_.fields.iccCardholderName.type=String,d._meta_.fields.iccIssuerCodeTableIndex={},d._meta_.fields.iccIssuerCodeTableIndex.type=String,d._meta_.fields.iccIssuerScripts={},d._meta_.fields.iccIssuerScripts.type=String,d._meta_.fields.iccIssuerScriptResults={},d._meta_.fields.iccIssuerScriptResults.type=String,d._meta_.fields.debugTrack2EquivalentData={},d._meta_.fields.debugTrack2EquivalentData.type=String,d._meta_.fields.debugApplicationPan={},d._meta_.fields.debugApplicationPan.type=String,d._meta_.fields.debugAmountAuthorizedBinary={},d._meta_.fields.debugAmountAuthorizedBinary.type=String,d._meta_.fields.debugAmountOtherBinary={},d._meta_.fields.debugAmountOtherBinary.type=String,d._meta_.fields.debugTransactionStatusInformation={},d._meta_.fields.debugTransactionStatusInformation.type=String,d._meta_.fields.debugPlainTrack1={},d._meta_.fields.debugPlainTrack1.type=String,d._meta_.fields.debugPlainTrack2={},d._meta_.fields.debugPlainTrack2.type=String,d._meta_.fields.schemePunATC={},d._meta_.fields.schemePunATC.type=String,d._meta_.fields.schemeThirdPartyData={},d._meta_.fields.schemeThirdPartyData.type=String,d._meta_.fields.schemeMerchantCustomData={},d._meta_.fields.schemeMerchantCustomData.type=String,d._meta_.fields.schemeTerminalEntryCapability={},d._meta_.fields.schemeTerminalEntryCapability.type=String,d._meta_.fields.pinBlockContainer={},d._meta_.fields.pinBlockContainer.type=String,d._meta_.fields.pinBlock={},d._meta_.fields.pinBlock.type=String,d._meta_.fields.pinBlockKsn={},d._meta_.fields.pinBlockKsn.type=String,d._meta_.fields.mac={},d._meta_.fields.mac.type=String,d._meta_.fields.macKsn={},d._meta_.fields.macKsn.type=String,d._meta_.fields.gwContainer={},d._meta_.fields.gwContainer.type=String,d._meta_.fields.gwIssuerAuthenticationData={},d._meta_.fields.gwIssuerAuthenticationData.type=String,d._meta_.fields.gwIssuerScriptTemplate1={},d._meta_.fields.gwIssuerScriptTemplate1.type=String,d._meta_.fields.gwIssuerScriptTemplate2={},d._meta_.fields.gwIssuerScriptTemplate2.type=String,d._meta_.fields.gwIssuerAuthorizationResponseCode={},d._meta_.fields.gwIssuerAuthorizationResponseCode.type=String,d._meta_.fields.gwMessageControlField={},d._meta_.fields.gwMessageControlField.type=String,d._meta_.fields.gwTxResult={},d._meta_.fields.gwTxResult.type=r,d._meta_.fields.cvmResult={},d._meta_.fields.cvmResult.type=o,d._meta_.fields.serviceCode1={},d._meta_.fields.serviceCode1.type=a,d._meta_.fields.serviceCode2={},d._meta_.fields.serviceCode2.type=l,d._meta_.fields.serviceCode3={},d._meta_.fields.serviceCode3.type=u,d._meta_.fields.offlineApprovalAuthCode={},d._meta_.fields.offlineApprovalAuthCode.type=String,d._meta_.fields.availableOfflineSpendingAmount={},d._meta_.fields.availableOfflineSpendingAmount.type=Number,t.exports=d},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 o(){}t.exports.pay=o,o.CardFunction=i(80321),o.ErrorCode=i(89656),o.GwTxResult=i(27416),o.PaymentRequestCardDetails=i(27138),o.ServiceCode1=i(52849),o.ServiceCode2=i(88581),o.ServiceCode3=i(9496),o.TransactionData=i(40271),o.TxResult=i(10413),t.exports=o},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 o=i(32488),n=function(){this._class_=n,this.id=void 0,this.amount=void 0,this.rate=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setRate=function(t){this.rate=t},n.prototype.getRate=function(){return this.rate},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.rate={},n._meta_.fields.rate.type=Number,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},32488:t=>{t.exports={INTERAC:"INTERAC",CREDIT_SURCHARGE:"CREDIT_SURCHARGE",CONVENIENCE_FEE:"CONVENIENCE_FEE",INTERAC_V2:"INTERAC_V2"}},93657:(t,e,i)=>{var o=i(4212),n=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=n,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=o,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=n,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,t.exports=r},10360:(t,e,i)=>{var o=i(34160),n=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=o,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=n,t.exports=a},19964:(t,e,i)=>{var o=i(4212),n=function(){this._class_=n,this.cardType=void 0,this.cardTypeLabel=void 0,this.installments=void 0,this.count=void 0,this.total=void 0};n.prototype.setCardType=function(t){this.cardType=t},n.prototype.getCardType=function(){return this.cardType},n.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},n.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},n.prototype.setInstallments=function(t){this.installments=t},n.prototype.getInstallments=function(){return this.installments},n.prototype.setCount=function(t){this.count=t},n.prototype.getCount=function(){return this.count},n.prototype.setTotal=function(t){this.total=t},n.prototype.getTotal=function(){return this.total},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.cardType={},n._meta_.fields.cardType.type=o,n._meta_.fields.cardTypeLabel={},n._meta_.fields.cardTypeLabel.type=String,n._meta_.fields.installments={},n._meta_.fields.installments.type=Number,n._meta_.fields.count={},n._meta_.fields.count.type=Number,n._meta_.fields.total={},n._meta_.fields.total.type=Number,t.exports=n},25093:(t,e,i)=>{var o=i(19964),n=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=o,l._meta_.fields.deviceTotals={},l._meta_.fields.deviceTotals.type=Array,l._meta_.fields.deviceTotals.elementType=n,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 o=i(14415),n=function(){this._class_=n,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};n.prototype.setSales=function(t){this.sales=t},n.prototype.getSales=function(){return this.sales},n.prototype.setRefunds=function(t){this.refunds=t},n.prototype.getRefunds=function(){return this.refunds},n.prototype.setNet=function(t){this.net=t},n.prototype.getNet=function(){return this.net},n.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},n.prototype.getGiftCardLoads=function(){return this.giftCardLoads},n.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},n.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},n.prototype.setTax=function(t){this.tax=t},n.prototype.getTax=function(){return this.tax},n.prototype.setTips=function(t){this.tips=t},n.prototype.getTips=function(){return this.tips},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.sales={},n._meta_.fields.sales.type=o,n._meta_.fields.refunds={},n._meta_.fields.refunds.type=o,n._meta_.fields.net={},n._meta_.fields.net.type=o,n._meta_.fields.giftCardLoads={},n._meta_.fields.giftCardLoads.type=o,n._meta_.fields.giftCardCashOuts={},n._meta_.fields.giftCardCashOuts.type=o,n._meta_.fields.tax={},n._meta_.fields.tax.type=o,n._meta_.fields.tips={},n._meta_.fields.tips.type=o,t.exports=n},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 o=i(4212),n=i(688),s=i(56614),r=i(15118),a=i(79682),l=i(45318),u=i(80373),d=function(){this._class_=d,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};d.prototype.setCardType=function(t){this.cardType=t},d.prototype.getCardType=function(){return this.cardType},d.prototype.setEntryType=function(t){this.entryType=t},d.prototype.getEntryType=function(){return this.entryType},d.prototype.setFirst6=function(t){this.first6=t},d.prototype.getFirst6=function(){return this.first6},d.prototype.setLast4=function(t){this.last4=t},d.prototype.getLast4=function(){return this.last4},d.prototype.setType=function(t){this.type=t},d.prototype.getType=function(){return this.type},d.prototype.setAuthCode=function(t){this.authCode=t},d.prototype.getAuthCode=function(){return this.authCode},d.prototype.setReferenceId=function(t){this.referenceId=t},d.prototype.getReferenceId=function(){return this.referenceId},d.prototype.setTransactionNo=function(t){this.transactionNo=t},d.prototype.getTransactionNo=function(){return this.transactionNo},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setExtra=function(t){this.extra=t},d.prototype.getExtra=function(){return this.extra},d.prototype.setBegBalance=function(t){this.begBalance=t},d.prototype.getBegBalance=function(){return this.begBalance},d.prototype.setEndBalance=function(t){this.endBalance=t},d.prototype.getEndBalance=function(){return this.endBalance},d.prototype.setAvsResult=function(t){this.avsResult=t},d.prototype.getAvsResult=function(){return this.avsResult},d.prototype.setCardholderName=function(t){this.cardholderName=t},d.prototype.getCardholderName=function(){return this.cardholderName},d.prototype.setToken=function(t){this.token=t},d.prototype.getToken=function(){return this.token},d.prototype.setVaultedCard=function(t){this.vaultedCard=t},d.prototype.getVaultedCard=function(){return this.vaultedCard},d.prototype.setGatewayTxState=function(t){this.gatewayTxState=t},d.prototype.getGatewayTxState=function(){return this.gatewayTxState},d.prototype.setCurrency=function(t){this.currency=t},d.prototype.getCurrency=function(){return this.currency},d.prototype.setCaptured=function(t){this.captured=t},d.prototype.getCaptured=function(){return this.captured},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.cardType={},d._meta_.fields.cardType.type=o,d._meta_.fields.entryType={},d._meta_.fields.entryType.type=s,d._meta_.fields.first6={},d._meta_.fields.first6.type=String,d._meta_.fields.last4={},d._meta_.fields.last4.type=String,d._meta_.fields.type={},d._meta_.fields.type.type=a,d._meta_.fields.authCode={},d._meta_.fields.authCode.type=String,d._meta_.fields.referenceId={},d._meta_.fields.referenceId.type=String,d._meta_.fields.transactionNo={},d._meta_.fields.transactionNo.type=String,d._meta_.fields.state={},d._meta_.fields.state.type=n,d._meta_.fields.extra={},d._meta_.fields.extra.type=Object,d._meta_.fields.begBalance={},d._meta_.fields.begBalance.type=Number,d._meta_.fields.endBalance={},d._meta_.fields.endBalance.type=Number,d._meta_.fields.avsResult={},d._meta_.fields.avsResult.type=u,d._meta_.fields.cardholderName={},d._meta_.fields.cardholderName.type=String,d._meta_.fields.token={},d._meta_.fields.token.type=String,d._meta_.fields.vaultedCard={},d._meta_.fields.vaultedCard.type=r,d._meta_.fields.gatewayTxState={},d._meta_.fields.gatewayTxState.type=l,d._meta_.fields.currency={},d._meta_.fields.currency.type=String,d._meta_.fields.captured={},d._meta_.fields.captured.type=Boolean,t.exports=d},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 o=i(37912),n=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=n,s._meta_.fields.paymentType={},s._meta_.fields.paymentType.type=o,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 o=i(20275),n=function(){this._class_=n,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};n.prototype.setIdType=function(t){this.idType=t},n.prototype.getIdType=function(){return this.idType},n.prototype.setSerialNumber=function(t){this.serialNumber=t},n.prototype.getSerialNumber=function(){return this.serialNumber},n.prototype.setMaskedSerialNumber=function(t){this.maskedSerialNumber=t},n.prototype.getMaskedSerialNumber=function(){return this.maskedSerialNumber},n.prototype.setEncryptedSerialNumber=function(t){this.encryptedSerialNumber=t},n.prototype.getEncryptedSerialNumber=function(){return this.encryptedSerialNumber},n.prototype.setExpirationDate=function(t){this.expirationDate=t},n.prototype.getExpirationDate=function(){return this.expirationDate},n.prototype.setIssuingState=function(t){this.issuingState=t},n.prototype.getIssuingState=function(){return this.issuingState},n.prototype.setIssuingCountry=function(t){this.issuingCountry=t},n.prototype.getIssuingCountry=function(){return this.issuingCountry},n.prototype.setCustomerName=function(t){this.customerName=t},n.prototype.getCustomerName=function(){return this.customerName},n.prototype.setAddressStreet1=function(t){this.addressStreet1=t},n.prototype.getAddressStreet1=function(){return this.addressStreet1},n.prototype.setAddressStreet2=function(t){this.addressStreet2=t},n.prototype.getAddressStreet2=function(){return this.addressStreet2},n.prototype.setAddressCity=function(t){this.addressCity=t},n.prototype.getAddressCity=function(){return this.addressCity},n.prototype.setAddressState=function(t){this.addressState=t},n.prototype.getAddressState=function(){return this.addressState},n.prototype.setAddressZipCode=function(t){this.addressZipCode=t},n.prototype.getAddressZipCode=function(){return this.addressZipCode},n.prototype.setAddressCountry=function(t){this.addressCountry=t},n.prototype.getAddressCountry=function(){return this.addressCountry},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.idType={},n._meta_.fields.idType.type=o,n._meta_.fields.serialNumber={},n._meta_.fields.serialNumber.type=String,n._meta_.fields.maskedSerialNumber={},n._meta_.fields.maskedSerialNumber.type=String,n._meta_.fields.encryptedSerialNumber={},n._meta_.fields.encryptedSerialNumber.type=String,n._meta_.fields.expirationDate={},n._meta_.fields.expirationDate.type=String,n._meta_.fields.issuingState={},n._meta_.fields.issuingState.type=String,n._meta_.fields.issuingCountry={},n._meta_.fields.issuingCountry.type=String,n._meta_.fields.customerName={},n._meta_.fields.customerName.type=String,n._meta_.fields.addressStreet1={},n._meta_.fields.addressStreet1.type=String,n._meta_.fields.addressStreet2={},n._meta_.fields.addressStreet2.type=String,n._meta_.fields.addressCity={},n._meta_.fields.addressCity.type=String,n._meta_.fields.addressState={},n._meta_.fields.addressState.type=String,n._meta_.fields.addressZipCode={},n._meta_.fields.addressZipCode.type=String,n._meta_.fields.addressCountry={},n._meta_.fields.addressCountry.type=String,t.exports=n},11654:(t,e,i)=>{var o=i(893),n=function(){this._class_=n,this.cashAdvanceSerialNum=void 0,this.cashAdvanceCustomerIdentification=void 0};n.prototype.setCashAdvanceSerialNum=function(t){this.cashAdvanceSerialNum=t},n.prototype.getCashAdvanceSerialNum=function(){return this.cashAdvanceSerialNum},n.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},n.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.cashAdvanceSerialNum={},n._meta_.fields.cashAdvanceSerialNum.type=String,n._meta_.fields.cashAdvanceCustomerIdentification={},n._meta_.fields.cashAdvanceCustomerIdentification.type=o,t.exports=n},6639:(t,e,i)=>{var o=i(26866),n=i(113),s=i(27022),r=i(51029),a=i(52448),l=i(12033),u=i(50234),d=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=o,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=n,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=d,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=u,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 o=i(12033),n=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=o,a._meta_.fields.transactionInfo={},a._meta_.fields.transactionInfo.type=n,t.exports=a},38822:(t,e,i)=>{var o=i(27022),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.creditRefund=void 0,this.clientData=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setCreditRefund=function(t){this.creditRefund=t},n.prototype.getCreditRefund=function(){return this.creditRefund},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.creditRefund={},n._meta_.fields.creditRefund.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,t.exports=n},23102:(t,e,i)=>{var o=i(27138),n=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=n,s._meta_.fields.paymentCard={},s._meta_.fields.paymentCard.type=o,t.exports=s},31575:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.credit=void 0,this.clientData=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,t.exports=n},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 o=i(19964),n=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=n,s._meta_.fields.refunds={},s._meta_.fields.refunds.type=n,s._meta_.fields.net={},s._meta_.fields.net.type=n,s._meta_.fields.giftCardLoads={},s._meta_.fields.giftCardLoads.type=n,s._meta_.fields.giftCardCashOuts={},s._meta_.fields.giftCardCashOuts.type=n,s._meta_.fields.tax={},s._meta_.fields.tax.type=n,s._meta_.fields.tips={},s._meta_.fields.tips.type=n,s._meta_.fields.cardTotals={},s._meta_.fields.cardTotals.type=Array,s._meta_.fields.cardTotals.elementType=o,t.exports=s},78648:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.setApprovedBy=function(t){this.approvedBy=t},n.prototype.getApprovedBy=function(){return this.approvedBy},n.prototype.setOrder=function(t){this.order=t},n.prototype.getOrder=function(){return this.order},n.prototype.setLineItem=function(t){this.lineItem=t},n.prototype.getLineItem=function(){return this.lineItem},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setEnvironment=function(t){this.environment=t},n.prototype.getEnvironment=function(){return this.environment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,n._meta_.fields.approvedBy={},n._meta_.fields.approvedBy.type=o,n._meta_.fields.order={},n._meta_.fields.order.type=o,n._meta_.fields.lineItem={},n._meta_.fields.lineItem.type=o,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.environment={},n._meta_.fields.environment.type=String,t.exports=n},21570:(t,e,i)=>{var o=i(2444),n=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=n,s._meta_.fields.ecommIndicator={},s._meta_.fields.ecommIndicator.type=o,t.exports=s},12299:(t,e,i)=>{var o=i(19964),n=function(){this._class_=n,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};n.prototype.setSuccess=function(t){this.success=t},n.prototype.getSuccess=function(){return this.success},n.prototype.setEndpointName=function(t){this.endpointName=t},n.prototype.getEndpointName=function(){return this.endpointName},n.prototype.setBatchNumber=function(t){this.batchNumber=t},n.prototype.getBatchNumber=function(){return this.batchNumber},n.prototype.setTerminalId=function(t){this.terminalId=t},n.prototype.getTerminalId=function(){return this.terminalId},n.prototype.setCount=function(t){this.count=t},n.prototype.getCount=function(){return this.count},n.prototype.setTotal=function(t){this.total=t},n.prototype.getTotal=function(){return this.total},n.prototype.setCardTotals=function(t){this.cardTotals=t},n.prototype.getCardTotals=function(){return this.cardTotals},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.success={},n._meta_.fields.success.type=Boolean,n._meta_.fields.endpointName={},n._meta_.fields.endpointName.type=String,n._meta_.fields.batchNumber={},n._meta_.fields.batchNumber.type=String,n._meta_.fields.terminalId={},n._meta_.fields.terminalId.type=String,n._meta_.fields.count={},n._meta_.fields.count.type=Number,n._meta_.fields.total={},n._meta_.fields.total.type=Number,n._meta_.fields.cardTotals={},n._meta_.fields.cardTotals.type=Array,n._meta_.fields.cardTotals.elementType=o,t.exports=n},76497:(t,e,i)=>{var o=i(34160),n=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=n,s._meta_.fields.batchType={},s._meta_.fields.batchType.type=o,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 o=i(6783),n=function(){this._class_=n,this.action=void 0,this.ruleTriggered=void 0,this.reason=void 0};n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setRuleTriggered=function(t){this.ruleTriggered=t},n.prototype.getRuleTriggered=function(){return this.ruleTriggered},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.action={},n._meta_.fields.action.type=o,n._meta_.fields.ruleTriggered={},n._meta_.fields.ruleTriggered.type=String,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},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 o=i(14264),n=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=o,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=n,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 o=i(59042),n=i(82794),s=i(82447),r=function(){this._class_=r,this.txType=void 0,this.state=o.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=o,r._meta_.fields.requestAmount={},r._meta_.fields.requestAmount.type=Number,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,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 o=i(62886),n=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=n,a._meta_.fields.lineItems={},a._meta_.fields.lineItems.type=Array,a._meta_.fields.lineItems.elementType=o,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 o=i(113),n=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=o,r._meta_.fields.result={},r._meta_.fields.result.type=n,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 o=i(51029),n=i(48067),s=i(66824),r=i(96207),a=i(82986),l=i(11654),u=i(37471),d=i(17589),p=i(113),_=i(62886),c=i(3306),m=i(79035),f=i(12033),y=i(50234),h=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=h,S._meta_.fields.device={},S._meta_.fields.device.type=h,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=h,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=o,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=n,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=u,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=h,S._meta_.fields.voidPaymentRef={},S._meta_.fields.voidPaymentRef.type=h,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=d,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=y,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=h,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 o=i(82794),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.payment=void 0,this.clientData=void 0,this.syncPaymentObject=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},n.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,n._meta_.fields.syncPaymentObject={},n._meta_.fields.syncPaymentObject.type=Boolean,t.exports=n},5134:(t,e,i)=>{var o=i(4212),n=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=o,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=n,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 o=i(113),n=i(48067),s=i(52448),r=i(12033),a=i(66824),l=i(50234),u=i(4448),d=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=u,_._meta_.fields.device={},_._meta_.fields.device.type=u,_._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=u,_._meta_.fields.employee={},_._meta_.fields.employee.type=u,_._meta_.fields.lineItems={},_._meta_.fields.lineItems.type=Array,_._meta_.fields.lineItems.elementType=u,_._meta_.fields.overrideMerchantTender={},_._meta_.fields.overrideMerchantTender.type=d,_._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=n,_._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=o,_._meta_.fields.transactionInfo={},_._meta_.fields.transactionInfo.type=l,_._meta_.fields.merchant={},_._meta_.fields.merchant.type=u,_._meta_.fields.externalReferenceId={},_._meta_.fields.externalReferenceId.type=String,t.exports=_},40716:(t,e,i)=>{var o=i(27138),n=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=n,s._meta_.fields.card={},s._meta_.fields.card.type=o,s._meta_.fields.isAdjustment={},s._meta_.fields.isAdjustment.type=Boolean,t.exports=s},46797:(t,e,i)=>{var o=i(82794),n=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=n,s._meta_.fields.payment={},s._meta_.fields.payment.type=o,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 o=i(14415),n=function(){this._class_=n,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};n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setEmployeeName=function(t){this.employeeName=t},n.prototype.getEmployeeName=function(){return this.employeeName},n.prototype.setSales=function(t){this.sales=t},n.prototype.getSales=function(){return this.sales},n.prototype.setRefunds=function(t){this.refunds=t},n.prototype.getRefunds=function(){return this.refunds},n.prototype.setNet=function(t){this.net=t},n.prototype.getNet=function(){return this.net},n.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},n.prototype.getGiftCardLoads=function(){return this.giftCardLoads},n.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},n.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},n.prototype.setTax=function(t){this.tax=t},n.prototype.getTax=function(){return this.tax},n.prototype.setTips=function(t){this.tips=t},n.prototype.getTips=function(){return this.tips},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.employeeName={},n._meta_.fields.employeeName.type=String,n._meta_.fields.sales={},n._meta_.fields.sales.type=o,n._meta_.fields.refunds={},n._meta_.fields.refunds.type=o,n._meta_.fields.net={},n._meta_.fields.net.type=o,n._meta_.fields.giftCardLoads={},n._meta_.fields.giftCardLoads.type=o,n._meta_.fields.giftCardCashOuts={},n._meta_.fields.giftCardCashOuts.type=o,n._meta_.fields.tax={},n._meta_.fields.tax.type=o,n._meta_.fields.tips={},n._meta_.fields.tips.type=o,t.exports=n},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 o=i(37471),n=function(){this._class_=n,this.refund=void 0};n.prototype.setRefund=function(t){this.refund=t},n.prototype.getRefund=function(){return this.refund},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.refund={},n._meta_.fields.refund.type=o,t.exports=n},40188:(t,e,i)=>{var o=i(15118),n=function(){this._class_=n,this.amount=void 0,this.orderId=void 0,this.sourcePaymentId=void 0,this.vaultedCard=void 0};n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setSourcePaymentId=function(t){this.sourcePaymentId=t},n.prototype.getSourcePaymentId=function(){return this.sourcePaymentId},n.prototype.setVaultedCard=function(t){this.vaultedCard=t},n.prototype.getVaultedCard=function(){return this.vaultedCard},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.sourcePaymentId={},n._meta_.fields.sourcePaymentId.type=String,n._meta_.fields.vaultedCard={},n._meta_.fields.vaultedCard.type=o,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setTaxableAmount=function(t){this.taxableAmount=t},n.prototype.getTaxableAmount=function(){return this.taxableAmount},n.prototype.setRate=function(t){this.rate=t},n.prototype.getRate=function(){return this.rate},n.prototype.setIsVat=function(t){this.isVat=t},n.prototype.getIsVat=function(){return this.isVat},n.prototype.setTaxAmount=function(t){this.taxAmount=t},n.prototype.getTaxAmount=function(){return this.taxAmount},n.prototype.setTransactionRef=function(t){this.transactionRef=t},n.prototype.getTransactionRef=function(){return this.transactionRef},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.taxableAmount={},n._meta_.fields.taxableAmount.type=Number,n._meta_.fields.rate={},n._meta_.fields.rate.type=Number,n._meta_.fields.isVat={},n._meta_.fields.isVat.type=Boolean,n._meta_.fields.taxAmount={},n._meta_.fields.taxAmount.type=Number,n._meta_.fields.transactionRef={},n._meta_.fields.transactionRef.type=o,t.exports=n},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 o=i(26866),n=i(73865),s=i(113),r=i(51029),a=i(50234),l=i(4448),u=i(50775),d=function(){this._class_=d,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};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setType=function(t){this.type=t},d.prototype.getType=function(){return this.type},d.prototype.setEmployee=function(t){this.employee=t},d.prototype.getEmployee=function(){return this.employee},d.prototype.setDevice=function(t){this.device=t},d.prototype.getDevice=function(){return this.device},d.prototype.setMerchant=function(t){this.merchant=t},d.prototype.getMerchant=function(){return this.merchant},d.prototype.setTender=function(t){this.tender=t},d.prototype.getTender=function(){return this.tender},d.prototype.setCustomer=function(t){this.customer=t},d.prototype.getCustomer=function(){return this.customer},d.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},d.prototype.getExternalReferenceId=function(){return this.externalReferenceId},d.prototype.setCardTransaction=function(t){this.cardTransaction=t},d.prototype.getCardTransaction=function(){return this.cardTransaction},d.prototype.setNote=function(t){this.note=t},d.prototype.getNote=function(){return this.note},d.prototype.setResult=function(t){this.result=t},d.prototype.getResult=function(){return this.result},d.prototype.setCreatedTime=function(t){this.createdTime=t},d.prototype.getCreatedTime=function(){return this.createdTime},d.prototype.setModifiedTime=function(t){this.modifiedTime=t},d.prototype.getModifiedTime=function(){return this.modifiedTime},d.prototype.setDeletedTime=function(t){this.deletedTime=t},d.prototype.getDeletedTime=function(){return this.deletedTime},d.prototype.setTransactionInfo=function(t){this.transactionInfo=t},d.prototype.getTransactionInfo=function(){return this.transactionInfo},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.type={},d._meta_.fields.type.type=n,d._meta_.fields.employee={},d._meta_.fields.employee.type=l,d._meta_.fields.device={},d._meta_.fields.device.type=l,d._meta_.fields.merchant={},d._meta_.fields.merchant.type=l,d._meta_.fields.tender={},d._meta_.fields.tender.type=u,d._meta_.fields.customer={},d._meta_.fields.customer.type=o,d._meta_.fields.externalReferenceId={},d._meta_.fields.externalReferenceId.type=String,d._meta_.fields.cardTransaction={},d._meta_.fields.cardTransaction.type=s,d._meta_.fields.note={},d._meta_.fields.note.type=String,d._meta_.fields.result={},d._meta_.fields.result.type=r,d._meta_.fields.createdTime={},d._meta_.fields.createdTime.type=Number,d._meta_.fields.modifiedTime={},d._meta_.fields.modifiedTime.type=Number,d._meta_.fields.deletedTime={},d._meta_.fields.deletedTime.type=Number,d._meta_.fields.transactionInfo={},d._meta_.fields.transactionInfo.type=a,t.exports=d},73865:t=>{t.exports={VERIFICATION:"VERIFICATION",TOKEN_REQUEST:"TOKEN_REQUEST"}},98957:(t,e,i)=>{var o=i(27022),n=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=n,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=o,t.exports=a},50234:(t,e,i)=>{var o=i(66976),n=i(65582),s=i(43762),r=i(21570),a=i(4212),l=i(56614),u=i(4468),d=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=o,c._meta_.fields.transactionResult={},c._meta_.fields.transactionResult.type=d,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=u,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=n,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 o=i(32628),n=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=n,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=o,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 o=i(90622),n=function(){this._class_=n,this.vasProviders=void 0};n.prototype.setVasProviders=function(t){this.vasProviders=t},n.prototype.getVasProviders=function(){return this.vasProviders},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.vasProviders={},n._meta_.fields.vasProviders.type=Array,n._meta_.fields.vasProviders.elementType=o,t.exports=n},64213:(t,e,i)=>{var o=i(7641),n=function(){this._class_=n,this.dataType=void 0};n.prototype.setDataType=function(t){this.dataType=t},n.prototype.getDataType=function(){return this.dataType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.dataType={},n._meta_.fields.dataType.type=o,t.exports=n},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 o=i(7497),n=function(){this._class_=n,this.payloadElements=void 0};n.prototype.setPayloadElements=function(t){this.payloadElements=t},n.prototype.getPayloadElements=function(){return this.payloadElements},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payloadElements={},n._meta_.fields.payloadElements.type=Array,n._meta_.fields.payloadElements.elementType=o,t.exports=n},7497:(t,e,i)=>{var o=i(3360),n=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=o,r._meta_.fields.vasData={},r._meta_.fields.vasData.type=String,r._meta_.fields.protocolId={},r._meta_.fields.protocolId.type=n,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=String,t.exports=r},35269:(t,e,i)=>{var o=i(38913),n=function(){this._class_=n,this.responseType=void 0};n.prototype.setResponseType=function(t){this.responseType=t},n.prototype.getResponseType=function(){return this.responseType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.responseType={},n._meta_.fields.responseType.type=o,t.exports=n},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 o=i(40492),n=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=o,s._meta_.fields.supportedServices={},s._meta_.fields.supportedServices.type=Array,s._meta_.fields.supportedServices.elementType=n,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 o=i(45265),n=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=n,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=o,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 o(){}t.exports.payments=o,o.AVSResult=i(80373),o.AccountType=i(18593),o.AdditionalChargeAmount=i(48067),o.AdditionalChargeType=i(32488),o.Authorization=i(93657),o.Batch=i(10360),o.BatchCardTotal=i(19964),o.BatchDetail=i(25093),o.BatchRequest=i(65339),o.BatchState=i(33513),o.BatchTotalStats=i(42802),o.BatchTotalType=i(14415),o.BatchTransactions=i(23549),o.BatchType=i(34160),o.CVVResult=i(74215),o.CardEntryType=i(56614),o.CardTransaction=i(113),o.CardTransactionState=i(688),o.CardTransactionType=i(79682),o.CardType=i(4212),o.CardlessPaymentData=i(78317),o.CardlessPaymentDataType=i(37912),o.CardlessPaymentNetwork=i(57925),o.CashAdvanceCustomerIdentification=i(893),o.CashAdvanceExtra=i(11654),o.Credit=i(6639),o.CreditRefund=i(27022),o.CreditRefundResponse=i(38822),o.CreditRequest=i(23102),o.CreditResponse=i(31575),o.Currency=i(14264),o.CvmResult=i(43634),o.DCCInfo=i(82986),o.DataEntryLocation=i(57953),o.DeviceTotalStats=i(24754),o.DiscountApprover=i(78648),o.ECommTransactionInfo=i(21570),o.EndpointTotalStats=i(12299),o.FailedBatchSettlement=i(76497),o.FraudResponseAction=i(6783),o.FraudResponseCodeType=i(80403),o.FraudResponseReason=i(4302),o.GatewayTxState=i(45318),o.GatewayTxType=i(13911),o.GatewayTxs=i(21029),o.GermanInfo=i(17589),o.GiftCard=i(26175),o.GiftCardResponse=i(91038),o.GiftCardState=i(59042),o.GiftCardTransaction=i(84725),o.IdType=i(20275),o.IncrementalAuthorization=i(79035),o.LineItemPayment=i(62886),o.Payment=i(82794),o.PaymentAttribute=i(4391),o.PaymentResponse=i(90792),o.PaymentResponseFraudSetting=i(5134),o.PaymentTaxRate=i(96207),o.PromotionalMessage=i(65582),o.Refund=i(37471),o.RefundRequest=i(40716),o.RefundResponse=i(46797),o.RegionalExtras=i(49734),o.Result=i(51029),o.ReversalReason=i(4468),o.SelectedService=i(66976),o.ServerTotalStats=i(33066),o.ServiceChargeAmount=i(66824),o.ServiceFeeRefundRequest=i(51743),o.ServiceFeeRequest=i(40188),o.SignatureDisclaimer=i(99485),o.TaxableAmountRate=i(52448),o.TipMode=i(32628),o.TokenRequest=i(95426),o.TokenRequestType=i(73865),o.Transaction=i(98957),o.TransactionInfo=i(50234),o.TransactionResult=i(57311),o.TransactionSettings=i(56135),o.TxFormat=i(43762),o.TxType=i(82447),o.Type=i(88960),o.VasConfig=i(53266),o.VasDataType=i(64213),o.VasDataTypeType=i(7641),o.VasMode=i(75314),o.VasPayload=i(61691),o.VasPayloadElement=i(7497),o.VasPayloadResponse=i(35269),o.VasPayloadResponseType=i(38913),o.VasProtocol=i(40492),o.VasPushMode=i(45265),o.VasResponseFormat=i(3360),o.VasServiceProvider=i(90622),o.VasSettings=i(74965),o.VaultedCard=i(15118),t.exports=o},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 o=i(78353),n=function(){this._class_=n,this.id=void 0,this.mac=void 0,this.model=void 0,this.name=void 0,this.ipAddress=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMac=function(t){this.mac=t},n.prototype.getMac=function(){return this.mac},n.prototype.setModel=function(t){this.model=t},n.prototype.getModel=function(){return this.model},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setIpAddress=function(t){this.ipAddress=t},n.prototype.getIpAddress=function(){return this.ipAddress},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.mac={},n._meta_.fields.mac.type=String,n._meta_.fields.model={},n._meta_.fields.model.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.ipAddress={},n._meta_.fields.ipAddress.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},78353:t=>{t.exports={NETWORK:"NETWORK",MY_LOCAL:"MY_LOCAL"}},54492:(t,e,i)=>{function o(){}t.exports.printer=o,o.PrintCategory=i(34454),o.PrintJobStatus=i(15350),o.Printer=i(43540),o.PrinterType=i(78353),t.exports=o},71410:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACK),this.sourceMethod=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.sourceMethod={},s._meta_.fields.sourceMethod.type=o,t.exports=s},93974:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_MESSAGE_FROM_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_MESSAGE_TO_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_REQUEST),this.action=void 0,this.payload=void 0,this.nonBlocking=void 0,this.forceLaunch=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_RESPONSE),this.resultCode=void 0,this.failReason=void 0,this.payload=void 0,this.action=void 0};s.prototype=Object.create(n.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_=n._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 o=i(16572),n=function(){this._class_=n,this.discount=void 0};n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,t.exports=n},32364:(t,e,i)=>{var o=i(6062),n=function(){this._class_=n,this.lineItem=void 0,this.taxable=void 0};n.prototype.setLineItem=function(t){this.lineItem=t},n.prototype.getLineItem=function(){return this.lineItem},n.prototype.setTaxable=function(t){this.taxable=t},n.prototype.getTaxable=function(){return this.taxable},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.lineItem={},n._meta_.fields.lineItem.type=o,n._meta_.fields.taxable={},n._meta_.fields.taxable.type=Boolean,t.exports=n},4295:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.BALANCE_INQUIRY),this.cardEntryMethods=void 0,this.cardDataMessage=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(27138),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.BREAK)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},22008:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CAPTURE_PREAUTH),this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,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 o=i(58552),n=i(23305),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},71346:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(9728),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.cardData={},a._meta_.fields.cardData.type=r,t.exports=a},1838:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CASHBACK_SELECTED),this.cashbackAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.cashbackAmount={},s._meta_.fields.cashbackAmount.type=Number,t.exports=s},91146:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CLOSEOUT_REQUEST),this.allowOpenTabs=void 0,this.batchId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(10360),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.batch={},a._meta_.fields.batch.type=s,t.exports=a},93761:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CLOVER_DEVICE_LOG_REQUEST),this.message=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},58429:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CONFIGURATION_CHANGE),this.configurationType=void 0,this.configuration=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(52514),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},50441:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6639),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_CREDIT),this.credit=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,t.exports=r},24088:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(84265),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.CUSTOMER_INFO_MESSAGE),this.customer=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.customer={},r._meta_.fields.customer.type=s,t.exports=r},41936:(t,e,i)=>{var o=i(58552),n=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.data={},r._meta_.fields.data.type=String,t.exports=r},38237:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6639),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_CREDIT_DECLINE),this.credit=void 0,this.reason=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_PAYMENT_DECLINE),this.payment=void 0,this.reason=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.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},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.reason={},r._meta_.fields.reason.type=String,t.exports=r},46025:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.DISCOVERY_REQUEST),this.supportsOrderModification=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.supportsOrderModification={},s._meta_.fields.supportsOrderModification.type=Boolean,t.exports=s},44709:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.EMPLOYEE_PERMISSIONS_REQUEST),this.reason=void 0,this.permissions=void 0,this.appPackage=void 0,this.showCancelButton=void 0};s.prototype=Object.create(n.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_=n._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 o=i(59911),n=function(){this._class_=n,this.errorCode=void 0};n.prototype.setErrorCode=function(t){this.errorCode=t},n.prototype.getErrorCode=function(){return this.errorCode},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.errorCode={},n._meta_.fields.errorCode.type=o,t.exports=n},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 o=i(13382),n=function(){this._class_=n,this.state=void 0};n.prototype.setState=function(t){this.state=t},n.prototype.getState=function(){return this.state},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.state={},n._meta_.fields.state.type=o,t.exports=n},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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.FINISH_CANCEL),this.requestInfo=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.requestInfo={},s._meta_.fields.requestInfo.type=String,t.exports=s},4847:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(42348),a=i(37471),l=i(6639),u=function(){n.call(this),this._superClass_=n,this._class_=u,this.setMethod(o.FINISH_OK),this.credit=void 0,this.payment=void 0,this.refund=void 0,this.signature=void 0,this.requestInfo=void 0};u.prototype=Object.create(n.prototype),u.prototype.constructor=u,u.prototype.setCredit=function(t){this.credit=t},u.prototype.getCredit=function(){return this.credit},u.prototype.setPayment=function(t){this.payment=t},u.prototype.getPayment=function(){return this.payment},u.prototype.setRefund=function(t){this.refund=t},u.prototype.getRefund=function(){return this.refund},u.prototype.setSignature=function(t){this.signature=t},u.prototype.getSignature=function(){return this.signature},u.prototype.setRequestInfo=function(t){this.requestInfo=t},u.prototype.getRequestInfo=function(){return this.requestInfo},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=n._meta_,u._meta_.fields.credit={},u._meta_.fields.credit.type=l,u._meta_.fields.payment={},u._meta_.fields.payment.type=s,u._meta_.fields.refund={},u._meta_.fields.refund.type=a,u._meta_.fields.signature={},u._meta_.fields.signature.type=r,u._meta_.fields.requestInfo={},u._meta_.fields.requestInfo.type=String,t.exports=u},87233:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.FORCECONNECT),this.friendlyId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.friendlyId={},s._meta_.fields.friendlyId.type=String,t.exports=s},34077:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(34454),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.GET_PRINTERS_REQUEST),this.category=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.category={},r._meta_.fields.category.type=s,t.exports=r},63019:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},54294:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},6556:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.INCREMENT_PREAUTH_REQUEST),this.amount=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(93657),s=i(39933),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,t.exports=a},10915:(t,e,i)=>{var o=i(52750),n=function(){this._class_=n,this.keyPress=void 0,this.description=void 0};n.prototype.setKeyPress=function(t){this.keyPress=t},n.prototype.getKeyPress=function(){return this.keyPress},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.keyPress={},n._meta_.fields.keyPress.type=o,n._meta_.fields.description={},n._meta_.fields.description.type=String,t.exports=n},58394:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),u=function(){a.call(this),this._superClass_=a,this._class_=u,this.setMethod(o.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};u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.setResult=function(t){this.result=t},u.prototype.getResult=function(){return this.result},u.prototype.setReason=function(t){this.reason=t},u.prototype.getReason=function(){return this.reason},u.prototype.setRequestedTransition=function(t){this.requestedTransition=t},u.prototype.getRequestedTransition=function(){return this.requestedTransition},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setSubstate=function(t){this.substate=t},u.prototype.getSubstate=function(){return this.substate},u.prototype.setData=function(t){this.data=t},u.prototype.getData=function(){return this.data},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=a._meta_,u._meta_.fields.result={},u._meta_.fields.result.type=n,u._meta_.fields.reason={},u._meta_.fields.reason.type=String,u._meta_.fields.requestedTransition={},u._meta_.fields.requestedTransition.type=String,u._meta_.fields.state={},u._meta_.fields.state.type=r,u._meta_.fields.substate={},u._meta_.fields.substate.type=s,u._meta_.fields.data={},u._meta_.fields.data.type=l,t.exports=u},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 o=i(52750),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},94368:(t,e,i)=>{var o=i(58552),n=i(52750),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},95169:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.LAST_MSG_REQUEST)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},63581:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.LAST_MSG_RESPONSE),this.request=void 0,this.response=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.request={},s._meta_.fields.request.type=n,s._meta_.fields.response={},s._meta_.fields.response.type=n,t.exports=s},42128:t=>{t.exports={VERBOSE:"VERBOSE",DEBUG:"DEBUG",INFO:"INFO",WARN:"WARN",ERROR:"ERROR"}},60536:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(42128),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.LOG_MESSAGE),this.logLevel=void 0,this.messages=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_CALCULATED),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_EARNED_SCREEN),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_RECEIPT_PRINTED),this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=function(){this._class_=n,this.method=void 0,this.messageId=void 0,this.sourceMessageId=void 0,this.version=0};n.prototype.setMethod=function(t){this.method=t},n.prototype.getMethod=function(){return this.method},n.prototype.setMessageId=function(t){this.messageId=t},n.prototype.getMessageId=function(){return this.messageId},n.prototype.setSourceMessageId=function(t){this.sourceMessageId=t},n.prototype.getSourceMessageId=function(){return this.sourceMessageId},n.prototype.setVersion=function(t){this.version=t},n.prototype.getVersion=function(){return this.version},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.method={},n._meta_.fields.method.type=o,n._meta_.fields.messageId={},n._meta_.fields.messageId.type=String,n._meta_.fields.sourceMessageId={},n._meta_.fields.sourceMessageId.type=String,n._meta_.fields.version={},n._meta_.fields.version.type=Number,t.exports=n},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 o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},28333:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(28162),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_ADD_DISCOUNT),this.addDiscountAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.addDiscountAction={},r._meta_.fields.addDiscountAction.type=s,t.exports=r},4861:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(32364),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_ADD_LINE_ITEM),this.addLineItemAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.addLineItemAction={},r._meta_.fields.addLineItemAction.type=s,t.exports=r},3559:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(22873),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_REMOVE_DISCOUNT),this.removeDiscountAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.removeDiscountAction={},r._meta_.fields.removeDiscountAction.type=s,t.exports=r},21497:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6294),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_REMOVE_LINE_ITEM),this.removeLineItemAction=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=i(91485),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_RESPONSE),this.orderActionResponse=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.orderActionResponse={},r._meta_.fields.orderActionResponse.type=s,t.exports=r},976:(t,e,i)=>{var o=i(58552),n=i(78368),s=i(30087),r=i(63485),a=i(89361),l=i(79494),u=i(2565),d=i(74066),p=function(){r.call(this),this._superClass_=r,this._class_=p,this.setMethod(o.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=u,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=n,p._meta_.fields.discountsDeletedOperation={},p._meta_.fields.discountsDeletedOperation.type=d,p._meta_.fields.orderDeletedOperation={},p._meta_.fields.orderDeletedOperation.type=s,t.exports=p},34410:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PAIRING_CODE),this.pairingCode=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.pairingCode={},s._meta_.fields.pairingCode.type=String,t.exports=s},25138:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PAIRING_REQUEST),this.name=void 0,this.serialNumber=void 0,this.applicationName=void 0,this.authenticationToken=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(25138),s=i(49032),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PAIRING_RESPONSE),this.pairingState=void 0,this.millis=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PARTIAL_AUTH),this.partialAuthAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.partialAuthAmount={},s._meta_.fields.partialAuthAmount.type=Number,t.exports=s},23305:(t,e,i)=>{var o=i(98183),n=i(893),s=i(52448),r=i(12033),a=i(66824),l=i(15118),u=i(56135),d=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=o,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=d,p._meta_.fields.cashAdvanceCustomerIdentification={},p._meta_.fields.cashAdvanceCustomerIdentification.type=n,p._meta_.fields.transactionSettings={},p._meta_.fields.transactionSettings.type=u,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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PAYMENT_CONFIRMED),this.payment=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._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},51118:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_PAYMENT_MERCHANT_COPY),this.payment=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._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},3385:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(14326),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.PRINT_PAYMENT),this.payment=void 0,this.order=void 0};a.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},71382:(t,e,i)=>{var o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},27195:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PRINT_JOB_STATUS_REQUEST),this.externalPrintJobId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.externalPrintJobId={},s._meta_.fields.externalPrintJobId.type=String,t.exports=s},31174:(t,e,i)=>{var o=i(58552),n=i(15350),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},30741:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},40270:(t,e,i)=>{var o=i(30741),n=function(){this._class_=n,this.queryStatus=void 0};n.prototype.setQueryStatus=function(t){this.queryStatus=t},n.prototype.getQueryStatus=function(){return this.queryStatus},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.queryStatus={},n._meta_.fields.queryStatus.type=o,t.exports=n},71041:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(14326),a=i(37471),l=function(){n.call(this),this._superClass_=n,this._class_=l,this.setMethod(o.REFUND_PRINT_PAYMENT),this.payment=void 0,this.order=void 0,this.refund=void 0};l.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(42157),s=i(63485),r=i(59911),a=i(37471),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(o.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=n,t.exports=l},13904:(t,e,i)=>{var o=i(58552),n=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},79441:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.REMOTE_ERROR),this.errorDetail=void 0,this.errorMessage=void 0,this.errorCode=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=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=n,s._meta_.fields.packageName={},s._meta_.fields.packageName.type=String,s._meta_.fields.method={},s._meta_.fields.method.type=o,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 o=i(58552),n=i(63485),s=i(27033),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.REQUEST_TIP),this.tipSuggestions=void 0,this.tippableAmount=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},8208:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(13382),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.state={},a._meta_.fields.state.type=s,t.exports=a},36780:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RESET)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},39933:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},96643:(t,e,i)=>{var o=i(39933),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},34292:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_CUSTOM_ACTIVITIES_REQUEST),this.filters=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.filters={},s._meta_.fields.filters.type=Array,t.exports=s},79154:(t,e,i)=>{var o=i(58552),n=i(79601),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},4997:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_DEVICE_STATUS_REQUEST),this.sendLastMessage=!1};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.sendLastMessage={},s._meta_.fields.sendLastMessage.type=Boolean,t.exports=s},63331:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),u=function(){a.call(this),this._superClass_=a,this._class_=u,this.setMethod(o.RETRIEVE_DEVICE_STATUS_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.setReason=function(t){this.reason=t},u.prototype.getReason=function(){return this.reason},u.prototype.setStatus=function(t){this.status=t},u.prototype.getStatus=function(){return this.status},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setSubstate=function(t){this.substate=t},u.prototype.getSubstate=function(){return this.substate},u.prototype.setData=function(t){this.data=t},u.prototype.getData=function(){return this.data},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=a._meta_,u._meta_.fields.reason={},u._meta_.fields.reason.type=String,u._meta_.fields.status={},u._meta_.fields.status.type=n,u._meta_.fields.state={},u._meta_.fields.state.type=r,u._meta_.fields.substate={},u._meta_.fields.substate.type=s,u._meta_.fields.data={},u._meta_.fields.data.type=l,t.exports=u},14471:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_PAYMENT_REQUEST),this.externalPaymentId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.externalPaymentId={},s._meta_.fields.externalPaymentId.type=String,t.exports=s},33187:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(82794),a=i(30741),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_PENDING_PAYMENTS)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},85876:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(4258),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_PAYMENT_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1};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.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},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.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,t.exports=s},33861:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(37471),a=i(6639),l=function(){n.call(this),this._superClass_=n,this._class_=l,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},60159:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHUTDOWN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},33957:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.REQUEST_SIGNATURE),this.acknowledgementMessage=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.acknowledgementMessage={},s._meta_.fields.acknowledgementMessage.type=String,t.exports=s},87252:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(42348),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.SIGNATURE_VERIFIED),this.payment=void 0,this.verified=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.setVerified=function(t){this.verified=t},r.prototype.getVerified=function(){return this.verified},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.verified={},r._meta_.fields.verified.type=Boolean,t.exports=r},68741:(t,e,i)=>{var o=i(58552),n=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},98080:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.STOP_VAS)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},62715:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TERMINAL_MESSAGE),this.text=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.text={},s._meta_.fields.text.type=String,t.exports=s},82805:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},30791:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_THANK_YOU_SCREEN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},15828:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TIP_ADDED),this.tipAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,t.exports=s},26974:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TIP_ADJUST),this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(23305),s=i(63485),r=i(14326),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},66048:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(36311),r=i(14326),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.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(n.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_=n._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 o=i(42157),n=function(){this._class_=n,this.txState=void 0};n.prototype.setTxState=function(t){this.txState=t},n.prototype.getTxState=function(){return this.txState},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.txState={},n._meta_.fields.txState.type=o,t.exports=n},30717:(t,e,i)=>{var o=i(58552),n=i(42157),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,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 o=i(58552),n=i(36501),s=i(10915),r=i(63485),a=i(3325),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(47171),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VAS_CONFIG_CHANGED),this.proxyProvider=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.proxyProvider={},s._meta_.fields.proxyProvider.type=String,t.exports=s},47171:(t,e,i)=>{var o=i(58552),n=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},14932:(t,e,i)=>{var o=i(58552),n=i(75314),s=i(63485),r=i(61691),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(36471),n=function(){this._class_=n,this.vasState=void 0};n.prototype.setVasState=function(t){this.vasState=t},n.prototype.getVasState=function(){return this.vasState},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.vasState={},n._meta_.fields.vasState.type=o,t.exports=n},55697:(t,e,i)=>{var o=i(58552),n=i(36471),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.newState={},r._meta_.fields.newState.type=n,t.exports=r},51192:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VAULT_CARD),this.cardEntryMethods=void 0,this.tokenType=void 0,this.singleUse=!1};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(15118),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=i(82794),r=i(42348),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.VERIFY_SIGNATURE),this.payment=void 0,this.signature=void 0};a.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VOID_CREDIT),this.orderId=void 0,this.creditId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1};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.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(6639),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(37471),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(3306),s=i(39933),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_WELCOME_SCREEN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},90226:(t,e,i)=>{function o(){}t.exports.remotemessage=o,o.AcknowledgementMessage=i(71410),o.ActivityMessageFromActivity=i(93974),o.ActivityMessageToActivity=i(76307),o.ActivityRequest=i(29195),o.ActivityResponseMessage=i(45126),o.AddDiscountAction=i(28162),o.AddLineItemAction=i(32364),o.BalanceInquiryRequestMessage=i(4295),o.BalanceInquiryResponseMessage=i(57885),o.BreakMessage=i(8763),o.CapturePreAuthMessage=i(22008),o.CapturePreAuthResponseMessage=i(25478),o.CardDataRequestMessage=i(17843),o.CardDataResponseMessage=i(71346),o.CashbackSelectedMessage=i(1838),o.CloseoutRequestMessage=i(91146),o.CloseoutResponseMessage=i(9139),o.CloverDeviceLogMessage=i(93761),o.ConfigurationChangeMessage=i(58429),o.ConfirmPaymentMessage=i(85919),o.CreditPrintMessage=i(50441),o.CustomerInfoMessage=i(24088),o.CustomerProvidedDataMessage=i(41936),o.DeclineCreditPrintMessage=i(38237),o.DeclinePaymentPrintMessage=i(86712),o.DiscoveryRequestMessage=i(46025),o.DiscoveryResponseMessage=i(44709),o.EmployeePermissionsRequest=i(29450),o.ErrorCode=i(59911),o.ErrorCodeEnum=i(6694),o.ExternalDeviceState=i(13382),o.ExternalDeviceStateData=i(6505),o.ExternalDeviceStateEnum=i(89279),o.ExternalDeviceSubState=i(74199),o.FinishCancelMessage=i(44132),o.FinishOkMessage=i(4847),o.ForceConnectMessage=i(87233),o.GetPrintersRequestMessage=i(34077),o.GetPrintersResponseMessage=i(63019),o.ImagePrintMessage=i(54294),o.IncrementPreAuthMessage=i(6556),o.IncrementPreAuthResponseMessage=i(13500),o.InputOption=i(10915),o.InvalidStateTransitionMessage=i(58394),o.KeyPress=i(52750),o.KeyPressEnum=i(66688),o.KeyPressMessage=i(94368),o.LastMessageRequestMessage=i(95169),o.LastMessageResponseMessage=i(63581),o.LogLevelEnum=i(42128),o.LogMessage=i(60536),o.LoyaltyPointsCalculatedMessage=i(64202),o.LoyaltyPointsEarnedMessage=i(92507),o.LoyaltyPointsReceiptPrintedMessage=i(92027),o.Message=i(63485),o.Method=i(58552),o.OpenCashDrawerMessage=i(92444),o.OrderActionAddDiscountMessage=i(28333),o.OrderActionAddLineItemMessage=i(4861),o.OrderActionRemoveDiscountMessage=i(3559),o.OrderActionRemoveLineItemMessage=i(21497),o.OrderActionResponse=i(91485),o.OrderActionResponseMessage=i(79477),o.OrderUpdateMessage=i(976),o.PairingCodeMessage=i(34410),o.PairingRequestMessage=i(25138),o.PairingResponseMessage=i(9352),o.PairingState=i(49032),o.PartialAuthMessage=i(26960),o.PayIntent=i(23305),o.PaymentConfirmedMessage=i(68096),o.PaymentPrintMerchantCopyMessage=i(51118),o.PaymentPrintMessage=i(3385),o.PaymentRejectedMessage=i(33406),o.PaymentVoidedMessage=i(71382),o.PrintJobStatusRequestMessage=i(27195),o.PrintJobStatusResponseMessage=i(31174),o.QueryStatus=i(30741),o.QueryStatusEnum=i(40270),o.RefundPaymentPrintMessage=i(71041),o.RefundRequestMessage=i(24556),o.RefundResponseMessage=i(87567),o.RegisterForCustomerProvidedDataMessage=i(13904),o.RemoteError=i(79441),o.RemoteMessage=i(71085),o.RemoteMessageType=i(35552),o.RemoveDiscountAction=i(22873),o.RemoveLineItemAction=i(6294),o.RequestTipRequestMessage=i(56232),o.RequestTipResponseMessage=i(25322),o.ResetDeviceResponseMessage=i(8208),o.ResetMessage=i(36780),o.ResultStatus=i(39933),o.ResultStatusEnum=i(96643),o.RetrieveCustomActivitiesRequestMessage=i(34292),o.RetrieveCustomActivitiesResponseMessage=i(79154),o.RetrieveDeviceStatusRequestMessage=i(4997),o.RetrieveDeviceStatusResponseMessage=i(63331),o.RetrievePaymentRequestMessage=i(14471),o.RetrievePaymentResponseMessage=i(33187),o.RetrievePendingPaymentsMessage=i(55304),o.RetrievePendingPaymentsResponseMessage=i(85876),o.ShowPaymentReceiptOptionsMessage=i(30011),o.ShowReceiptOptionsMessage=i(33861),o.ShowReceiptOptionsResponseMessage=i(14011),o.ShutDownMessage=i(60159),o.SignatureRequestMessage=i(33957),o.SignatureResponseMessage=i(87252),o.SignatureVerifiedMessage=i(20801),o.StartVasMessage=i(68741),o.StopVasMessage=i(98080),o.TerminalMessage=i(62715),o.TextPrintMessage=i(82805),o.ThankYouMessage=i(30791),o.TipAddedMessage=i(15828),o.TipAdjustMessage=i(26974),o.TipAdjustResponseMessage=i(47935),o.TransactionType=i(98183),o.TxStartRequestMessage=i(27169),o.TxStartResponseMessage=i(66048),o.TxStartResponseResult=i(36311),o.TxState=i(42157),o.TxStateEnum=i(43506),o.TxStateMessage=i(30717),o.TxTypeRequestInfo=i(42105),o.UiDirection=i(36501),o.UiState=i(3325),o.UiStateMessage=i(2350),o.VasConfigChangedMessage=i(67864),o.VasConfigMessage=i(47171),o.VasPayloadMessage=i(14932),o.VasState=i(36471),o.VasStateEnum=i(6580),o.VasStateMessage=i(55697),o.VaultCardMessage=i(51192),o.VaultCardResponseMessage=i(28681),o.VerifySignatureMessage=i(62517),o.VoidCreditMessage=i(1023),o.VoidCreditResponseMessage=i(42388),o.VoidPaymentMessage=i(84212),o.VoidPaymentRefundMessage=i(69996),o.VoidPaymentRefundResponseMessage=i(68778),o.VoidPaymentResponseMessage=i(52089),o.WelcomeMessage=i(16095),t.exports=o},80567:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.action=void 0,this.payload=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.action={},n._meta_.fields.action.type=String,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,t.exports=n},50382:(t,e,i)=>{var o=i(95790),n=i(39513),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.PAYMENT};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},46049:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},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 o=i(76631),n=function(){this._class_=n,this.success=void 0,this.result=void 0,this.reason=void 0,this.message=void 0};n.prototype.setSuccess=function(t){this.success=t},n.prototype.getSuccess=function(){return this.success},n.prototype.setResult=function(t){this.result=t},n.prototype.getResult=function(){return this.result},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.setMessage=function(t){this.message=t},n.prototype.getMessage=function(){return this.message},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.success={},n._meta_.fields.success.type=Boolean,n._meta_.fields.result={},n._meta_.fields.result.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,n._meta_.fields.message={},n._meta_.fields.message.type=String,t.exports=n},86745:(t,e,i)=>{var o=i(34774),n=i(95790),s=i(15118),r=function(){o.call(this),this._superClass_=o,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(o.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_=o._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=n,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 o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},52202:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},91991:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},42159:(t,e,i)=>{var o=i(77122),n=i(15118),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.card=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=n,t.exports=s},41692:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},3447:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,t.exports=n},92675:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.allowOpenTabs="false",this.batchId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},n.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},n.prototype.setBatchId=function(t){this.batchId=t},n.prototype.getBatchId=function(){return this.batchId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.allowOpenTabs={},n._meta_.fields.allowOpenTabs.type=Boolean,n._meta_.fields.batchId={},n._meta_.fields.batchId.type=String,t.exports=n},68001:(t,e,i)=>{var o=i(10360),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.batch=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.batch={},s._meta_.fields.batch.type=o,t.exports=s},38982:(t,e,i)=>{var o=i(5063),n=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=o,r._meta_.fields.cause={},r._meta_.fields.cause.type=n,r._meta_.fields.type={},r._meta_.fields.type.type=s,t.exports=r},20764:(t,e,i)=>{var o=i(41985),n=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=o,s._meta_.fields.inputOptions={},s._meta_.fields.inputOptions.type=Array,s._meta_.fields.inputOptions.elementType=n,t.exports=s},59755:(t,e,i)=>{var o=i(34774),n=i(52514),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,this.challenges=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.setChallenges=function(t){this.challenges=t},r.prototype.getChallenges=function(){return this.challenges},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.challenges={},r._meta_.fields.challenges.type=Array,r._meta_.fields.challenges.elementType=n,t.exports=r},64991:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.action=void 0,this.payload=void 0,this.nonBlocking=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.setNonBlocking=function(t){this.nonBlocking=t},n.prototype.getNonBlocking=function(){return this.nonBlocking},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.action={},n._meta_.fields.action.type=String,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,n._meta_.fields.nonBlocking={},n._meta_.fields.nonBlocking.type=Boolean,t.exports=n},56053:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.payload=void 0,this.action=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,n._meta_.fields.action={},n._meta_.fields.action.type=String,t.exports=n},69662:(t,e,i)=>{var o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},84432:(t,e,i)=>{var o=i(71508),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.eventId=void 0,this.config=void 0,this.data=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.eventId={},s._meta_.fields.eventId.type=String,s._meta_.fields.config={},s._meta_.fields.config.type=o,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 o=i(5063),n=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=o,s._meta_.fields.deviceEventState={},s._meta_.fields.deviceEventState.type=n,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 o=i(75710),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.resultStatus=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.resultStatus={},s._meta_.fields.resultStatus.type=o,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 o=i(30057),n=function(){this._class_=n,this.state=void 0};n.prototype.setState=function(t){this.state=t},n.prototype.getState=function(){return this.state},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.state={},n._meta_.fields.state.type=o,t.exports=n},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 o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},4580:(t,e,i)=>{var o=i(93657),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.authorization=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.authorization={},s._meta_.fields.authorization.type=o,t.exports=s},11531:(t,e,i)=>{var o=i(38146),n=function(){this._class_=n,this.keyPress=void 0,this.description=void 0};n.prototype.setKeyPress=function(t){this.keyPress=t},n.prototype.getKeyPress=function(){return this.keyPress},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.keyPress={},n._meta_.fields.keyPress.type=o,n._meta_.fields.description={},n._meta_.fields.description.type=String,t.exports=n},33292:(t,e,i)=>{var o=i(30057),n=i(77122),s=i(76418),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.requestedTransition=void 0,this.state=void 0,this.data=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.requestedTransition={},r._meta_.fields.requestedTransition.type=String,r._meta_.fields.state={},r._meta_.fields.state.type=o,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 o=i(38146),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},24950:(t,e,i)=>{var o=i(95790),n=i(86745),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.CREDIT};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},25924:(t,e,i)=>{var o=i(77122),n=i(6639),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.credit=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.credit={},s._meta_.fields.credit.type=n,t.exports=s},4682:(t,e,i)=>{var o=i(25756),n=function(){this._class_=n,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};n.prototype.setMerchantID=function(t){this.merchantID=t},n.prototype.getMerchantID=function(){return this.merchantID},n.prototype.setMerchantMID=function(t){this.merchantMID=t},n.prototype.getMerchantMID=function(){return this.merchantMID},n.prototype.setMerchantName=function(t){this.merchantName=t},n.prototype.getMerchantName=function(){return this.merchantName},n.prototype.setSupportsAuths=function(t){this.supportsAuths=t},n.prototype.getSupportsAuths=function(){return this.supportsAuths},n.prototype.setSupportsPreAuths=function(t){this.supportsPreAuths=t},n.prototype.getSupportsPreAuths=function(){return this.supportsPreAuths},n.prototype.setSupportsSales=function(t){this.supportsSales=t},n.prototype.getSupportsSales=function(){return this.supportsSales},n.prototype.setSupportsVaultCards=function(t){this.supportsVaultCards=t},n.prototype.getSupportsVaultCards=function(){return this.supportsVaultCards},n.prototype.setSupportsManualRefunds=function(t){this.supportsManualRefunds=t},n.prototype.getSupportsManualRefunds=function(){return this.supportsManualRefunds},n.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},n.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},n.prototype.setDeviceInfo=function(t){this.deviceInfo=t},n.prototype.getDeviceInfo=function(){return this.deviceInfo},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.merchantID={},n._meta_.fields.merchantID.type=String,n._meta_.fields.merchantMID={},n._meta_.fields.merchantMID.type=String,n._meta_.fields.merchantName={},n._meta_.fields.merchantName.type=String,n._meta_.fields.supportsAuths={},n._meta_.fields.supportsAuths.type=Boolean,n._meta_.fields.supportsPreAuths={},n._meta_.fields.supportsPreAuths.type=Boolean,n._meta_.fields.supportsSales={},n._meta_.fields.supportsSales.type=Boolean,n._meta_.fields.supportsVaultCards={},n._meta_.fields.supportsVaultCards.type=Boolean,n._meta_.fields.supportsManualRefunds={},n._meta_.fields.supportsManualRefunds.type=Boolean,n._meta_.fields.supportsTipAdjust={},n._meta_.fields.supportsTipAdjust.type=Boolean,n._meta_.fields.deviceInfo={},n._meta_.fields.deviceInfo.type=o,t.exports=n},42845:(t,e,i)=>{var o=i(80567),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},89378:(t,e,i)=>{var o=i(80567),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},62337:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.reason=void 0,this.deviceId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.setDeviceId=function(t){this.deviceId=t},n.prototype.getDeviceId=function(){return this.deviceId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,n._meta_.fields.deviceId={},n._meta_.fields.deviceId.type=String,t.exports=n},25008:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(42348),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.isSale=!1,this.isPreAuth=!1,this.isAuth=!1,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.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_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,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 o=i(95790),n=i(86745),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.AUTH};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},80178:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},62979:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.printRequestId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPrintRequestId=function(t){this.printRequestId=t},n.prototype.getPrintRequestId=function(){return this.printRequestId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.printRequestId={},n._meta_.fields.printRequestId.type=String,t.exports=n},93435:(t,e,i)=>{var o=i(15350),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.status=void 0,this.printRequestId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.status={},s._meta_.fields.status.type=o,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,t.exports=s},83260:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.credit=void 0,this.reason=void 0};n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},22611:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.credit=void 0};n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,t.exports=n},30546:(t,e,i)=>{var o=i(82794),n=function(){this._class_=n,this.payment=void 0,this.reason=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},6483:(t,e,i)=>{var o=i(82794),n=function(){this._class_=n,this.payment=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,t.exports=n},31470:(t,e,i)=>{var o=i(82794),n=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=o,s._meta_.fields.order={},s._meta_.fields.order.type=n,t.exports=s},74840:(t,e,i)=>{var o=i(82794),n=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=o,r._meta_.fields.order={},r._meta_.fields.order.type=n,r._meta_.fields.refund={},r._meta_.fields.refund.type=s,t.exports=r},75344:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(14326),r=i(37471),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.payment=void 0,this.refund=void 0,this.order=void 0};a.prototype=Object.create(n.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_=n._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=o,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 o=i(34774),n=i(67865),s=function(){o.call(this),this._superClass_=o,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(o.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_=o._meta_,s._meta_.fields.images={},s._meta_.fields.images.type=Array,s._meta_.fields.images.elementType=n,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 o=i(74675),n=function(){this._class_=n,this.queryStatus=void 0};n.prototype.setQueryStatus=function(t){this.queryStatus=t},n.prototype.getQueryStatus=function(){return this.queryStatus},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.queryStatus={},n._meta_.fields.queryStatus.type=o,t.exports=n},4814:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.isForceSwipePinEntry=void 0,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},n.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.isForceSwipePinEntry={},n._meta_.fields.isForceSwipePinEntry.type=Boolean,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},96031:(t,e,i)=>{var o=i(9728),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.cardData=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.cardData={},s._meta_.fields.cardData.type=o,t.exports=s},10361:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,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};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setFullRefund=function(t){this.fullRefund=t},n.prototype.getFullRefund=function(){return this.fullRefund},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.fullRefund={},n._meta_.fields.fullRefund.type=Boolean,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},76430:(t,e,i)=>{var o=i(77122),n=i(37471),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.orderId=void 0,this.paymentId=void 0,this.refund=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.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_=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.refund={},s._meta_.fields.refund.type=n,t.exports=s},68400:(t,e,i)=>{var o=i(34774),n=i(71508),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.configurations=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.configurations={},s._meta_.fields.configurations.type=Array,s._meta_.fields.configurations.elementType=n,t.exports=s},15227:(t,e,i)=>{var o=i(30057),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.state=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.state={},s._meta_.fields.state.type=o,t.exports=s},76631:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",UNSUPPORTED:"UNSUPPORTED",CANCEL:"CANCEL",DUPLICATE:"DUPLICATE",ERROR:"ERROR"}},69417:(t,e,i)=>{var o=i(76631),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},75710:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},98199:(t,e,i)=>{var o=i(75710),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},82523:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.sendLastMessage=!1};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},n.prototype.getSendLastMessage=function(){return this.sendLastMessage},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.sendLastMessage={},n._meta_.fields.sendLastMessage.type=Boolean,t.exports=n},71721:(t,e,i)=>{var o=i(30057),n=i(77122),s=i(76418),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.state=void 0,this.data=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.state={},r._meta_.fields.state.type=o,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},98284:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.externalPaymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},n.prototype.getExternalPaymentId=function(){return this.externalPaymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.externalPaymentId={},n._meta_.fields.externalPaymentId.type=String,t.exports=n},8405:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(74675),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.externalPaymentId=void 0,this.queryStatus=void 0,this.payment=void 0};r.prototype=Object.create(n.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_=n._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=o,t.exports=r},31971:(t,e,i)=>{var o=i(4258),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.pendingPaymentEntries=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.pendingPaymentEntries={},s._meta_.fields.pendingPaymentEntries.type=Array,s._meta_.fields.pendingPaymentEntries.elementType=o,t.exports=s},84279:(t,e,i)=>{var o=i(34774),n=i(34454),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.category=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.category={},s._meta_.fields.category.type=n,t.exports=s},10646:(t,e,i)=>{var o=i(43540),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.printers=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.printers={},s._meta_.fields.printers.type=Array,s._meta_.fields.printers.elementType=o,t.exports=s},72926:(t,e,i)=>{var o=i(95790),n=i(32628),s=i(39513),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.type=o.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=n,t.exports=r},81519:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},58087:(t,e,i)=>{var o=i(34774),n=i(69662),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.customerInfo=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.customerInfo={},s._meta_.fields.customerInfo.type=n,t.exports=s},74598:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.acknowledgementMessage=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},n.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.acknowledgementMessage={},n._meta_.fields.acknowledgementMessage.type=String,t.exports=n},21412:(t,e,i)=>{var o=i(77122),n=i(42348),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.signature=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.signature={},s._meta_.fields.signature.type=n,t.exports=s},98939:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},92486:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},18897:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},41899:(t,e,i)=>{var o=i(34774),n=i(27033),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.tipSuggestions=void 0,this.tippableAmount=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.tipSuggestions={},s._meta_.fields.tipSuggestions.type=Array,s._meta_.fields.tipSuggestions.elementType=n,s._meta_.fields.tippableAmount={},s._meta_.fields.tippableAmount.type=Number,t.exports=s},8022:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},39513:(t,e,i)=>{var o=i(57953),n=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=o,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=n,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 o=i(95790),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},4022:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},19916:(t,e,i)=>{var o=i(77122),n=i(15118),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.card=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=n,t.exports=s},40177:(t,e,i)=>{var o=i(34774),n=i(82794),s=i(42348),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,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.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.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 o=i(75710),n=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=o,s._meta_.fields.credit={},s._meta_.fields.credit.type=n,t.exports=s},99072:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.refundId=void 0,this.orderId=void 0,this.employeeId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setRefundId=function(t){this.refundId=t},n.prototype.getRefundId=function(){return this.refundId},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.refundId={},n._meta_.fields.refundId.type=String,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},16255:(t,e,i)=>{var o=i(76430),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.refundId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setRefundId=function(t){this.refundId=t},n.prototype.getRefundId=function(){return this.refundId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.refundId={},n._meta_.fields.refundId.type=String,t.exports=n},76745:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,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};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setVoidReason=function(t){this.voidReason=t},n.prototype.getVoidReason=function(){return this.voidReason},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.voidReason={},n._meta_.fields.voidReason.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},9559:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},95626:(t,e,i)=>{function o(){}t.exports.remotepay=o,o.ActivityMessage=i(80567),o.AuthRequest=i(50382),o.AuthResponse=i(46049),o.BaseRequest=i(34774),o.BaseResponse=i(77122),o.BaseTransactionRequest=i(86745),o.CapturePreAuthRequest=i(67293),o.CapturePreAuthResponse=i(52202),o.CardInfoRequest=i(91991),o.CardInfoResponse=i(42159),o.CheckBalanceRequest=i(41692),o.CheckBalanceResponse=i(3447),o.CloseoutRequest=i(92675),o.CloseoutResponse=i(68001),o.CloverDeviceErrorEvent=i(38982),o.CloverDeviceEvent=i(20764),o.ConfirmPaymentRequest=i(59755),o.CustomActivityRequest=i(64991),o.CustomActivityResponse=i(56053),o.CustomerInfo=i(69662),o.CustomerProvidedDataEvent=i(84432),o.DataProviderConfig=i(71508),o.DeviceErrorEventCode=i(5063),o.DeviceEventEnum=i(89406),o.DeviceEventState=i(41985),o.DeviceInfo=i(25756),o.DisplayReceiptOptionsRequest=i(53463),o.DisplayReceiptOptionsResponse=i(12145),o.ErrorType=i(67314),o.ExternalDeviceState=i(30057),o.ExternalDeviceStateData=i(76418),o.ExternalDeviceStateEnum=i(85017),o.ICloverConnector=i(77385),o.ICloverConnectorListener=i(31806),o.Img=i(67865),o.IncrementPreAuthRequest=i(31650),o.IncrementPreAuthResponse=i(4580),o.InputOption=i(11531),o.InvalidStateTransitionResponse=i(33292),o.KeyPress=i(38146),o.KeyPressEnum=i(38068),o.ManualRefundRequest=i(24950),o.ManualRefundResponse=i(25924),o.MerchantInfo=i(4682),o.MessageFromActivity=i(42845),o.MessageToActivity=i(89378),o.OpenCashDrawerRequest=i(62337),o.PaymentResponse=i(25008),o.PlatformError=i(95172),o.PreAuthRequest=i(72076),o.PreAuthResponse=i(80178),o.PrintJobStatusRequest=i(62979),o.PrintJobStatusResponse=i(93435),o.PrintManualRefundDeclineReceiptMessage=i(83260),o.PrintManualRefundReceiptMessage=i(22611),o.PrintPaymentDeclineReceiptMessage=i(30546),o.PrintPaymentMerchantCopyReceiptMessage=i(6483),o.PrintPaymentReceiptMessage=i(31470),o.PrintRefundPaymentReceiptMessage=i(74840),o.PrintRefundPaymentReceiptResponse=i(75344),o.PrintRequest=i(3627),o.QueryStatus=i(74675),o.QueryStatusEnum=i(72721),o.ReadCardDataRequest=i(4814),o.ReadCardDataResponse=i(96031),o.RefundPaymentRequest=i(10361),o.RefundPaymentResponse=i(76430),o.RegisterForCustomerProvidedDataRequest=i(68400),o.ResetDeviceResponse=i(15227),o.ResponseCode=i(76631),o.ResponseCodeEnum=i(69417),o.ResultStatus=i(75710),o.ResultStatusEnum=i(98199),o.RetrieveDeviceStatusRequest=i(82523),o.RetrieveDeviceStatusResponse=i(71721),o.RetrievePaymentRequest=i(98284),o.RetrievePaymentResponse=i(8405),o.RetrievePendingPaymentsResponse=i(31971),o.RetrievePrintersRequest=i(84279),o.RetrievePrintersResponse=i(10646),o.SaleRequest=i(72926),o.SaleResponse=i(81519),o.SetCustomerInfoRequest=i(58087),o.SignatureRequest=i(74598),o.SignatureResponse=i(21412),o.TipAdded=i(98939),o.TipAdjustAuthRequest=i(92486),o.TipAdjustAuthResponse=i(18897),o.TipRequest=i(41899),o.TipResponse=i(8022),o.TransactionRequest=i(39513),o.TransactionType=i(95790),o.TransactionTypeEnum=i(66921),o.VaultCardRequest=i(4022),o.VaultCardResponse=i(19916),o.VerifySignatureRequest=i(40177),o.VoidCreditRequest=i(5817),o.VoidCreditResponse=i(87929),o.VoidPaymentRefundRequest=i(99072),o.VoidPaymentRefundResponse=i(16255),o.VoidPaymentRequest=i(76745),o.VoidPaymentResponse=i(9559),t.exports=o},95615:t=>{t.exports={ONEOFF:"ONEOFF",MULTIPAY:"MULTIPAY",RECURRING:"RECURRING"}},3738:t=>{function e(){}e.ID_LENGTH=13,e.BASE_32_DIGITS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","J","K","M","N","P","Q","R","S","T","V","W","X","Y","Z"],e.getNewId=function(){for(var t="",i=0;i<e.ID_LENGTH;i++)t+=e.BASE_32_DIGITS[Math.floor(Math.random()*e.BASE_32_DIGITS.length)];return t},e.isValidBase32Id=function(t){if(null==t||t.length!=e.ID_LENGTH)return!1;for(var i=0;i<t.length;i++)if(-1==e.BASE_32_DIGITS.indexOf(t.charAt(i)))return!1;return!0},e.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.exports=e},17411:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Version=void 0;var i=function(){function t(){}return t.CLOVER_CLOUD_SDK_VERSION="4.1.2",t.CLOVER_CLOUD_SDK="com.clover.cloverconnector.cloud",t}();e.Version=i},37365:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSONToCustomObject=void 0;var o=i(79161),n=function(){function t(){this.log=o.Logger.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}}return t.prototype.transfertoObject=function(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 o in t)if(null===t[o]||void 0===t[o])e[o]=t[o];else{var n=e.getMetaInfo(o);if(n)if(this.isPrimitive(n))e[o]=t[o];else if(this.isArray(n)){var s=this.getArrayType(n),r=t[o];if(r.hasOwnProperty("elements")&&(r=r.elements),Array.isArray(r)){e[o]=[];for(var a=0;a<r.length;a++)e[o][a]=new s,(u=this.transfertoObject(r[a],e[o][a],i))&&(e[o][a]=u)}else this.log.warn("Passed json contains field "+o+" of type "+typeof r+". The field on the object is of type array. No assignment will be made",r,t),i&&(e["x_"+o]=r)}else if(this.isObject(n))e[o]={},(u=this.transfertoObject(t[o],e[o],!0))&&(e[o]=u);else{var l=n.type;if(l[t[o]])e[o]=l[t[o]];else{try{e[o]=new l}catch(e){this.log.error("fieldType is ",l,", key is ",o," for jsonobject ",t)}var u;(u=this.transfertoObject(t[o],e[o],i))&&(e[o]=u)}}else i&&(e[o]=JSON.parse(JSON.stringify(t)))}else if(i)return JSON.parse(JSON.stringify(t));return null},t}();e.JSONToCustomObject=n},14406:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MethodToMessage=void 0;var o=i(61256),n=function(){function t(){}return t.getType=function(e){return null==t.methodToType&&t.initialize(),t.methodToType[e]},t.initialize=function(){t.methodToType={},t.methodToType[o.remotemessage.Method.ACK]=o.remotemessage.AcknowledgementMessage,t.methodToType[o.remotemessage.Method.CLOSEOUT_RESPONSE]=o.remotemessage.CloseoutResponseMessage,t.methodToType[o.remotemessage.Method.CLOSEOUT_REQUEST]=o.remotemessage.CloseoutRequestMessage,t.methodToType[o.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE]=o.remotemessage.CapturePreAuthResponseMessage,t.methodToType[o.remotemessage.Method.CAPTURE_PREAUTH]=o.remotemessage.CapturePreAuthMessage,t.methodToType[o.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE]=o.remotemessage.IncrementPreAuthResponseMessage,t.methodToType[o.remotemessage.Method.INCREMENT_PREAUTH_REQUEST]=o.remotemessage.IncrementPreAuthMessage,t.methodToType[o.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE]=o.remotemessage.ConfirmPaymentMessage,t.methodToType[o.remotemessage.Method.LAST_MSG_REQUEST]=o.remotemessage.LastMessageRequestMessage,t.methodToType[o.remotemessage.Method.LAST_MSG_RESPONSE]=o.remotemessage.LastMessageResponseMessage,t.methodToType[o.remotemessage.Method.TIP_ADJUST]=o.remotemessage.TipAdjustMessage,t.methodToType[o.remotemessage.Method.TIP_ADJUST_RESPONSE]=o.remotemessage.TipAdjustResponseMessage,t.methodToType[o.remotemessage.Method.OPEN_CASH_DRAWER]=o.remotemessage.OpenCashDrawerMessage,t.methodToType[o.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS]=o.remotemessage.ShowPaymentReceiptOptionsMessage,t.methodToType[o.remotemessage.Method.REFUND_RESPONSE]=o.remotemessage.RefundResponseMessage,t.methodToType[o.remotemessage.Method.REFUND_REQUEST]=o.remotemessage.RefundRequestMessage,t.methodToType[o.remotemessage.Method.REFUND_PRINT_PAYMENT]=o.remotemessage.RefundPaymentPrintMessage,t.methodToType[o.remotemessage.Method.TX_START]=o.remotemessage.TxStartRequestMessage,t.methodToType[o.remotemessage.Method.TX_START_RESPONSE]=o.remotemessage.TxStartResponseMessage,t.methodToType[o.remotemessage.Method.KEY_PRESS]=o.remotemessage.KeyPressMessage,t.methodToType[o.remotemessage.Method.UI_STATE]=o.remotemessage.UiStateMessage,t.methodToType[o.remotemessage.Method.TX_STATE]=o.remotemessage.TxStateMessage,t.methodToType[o.remotemessage.Method.FINISH_OK]=o.remotemessage.FinishOkMessage,t.methodToType[o.remotemessage.Method.FINISH_CANCEL]=o.remotemessage.FinishCancelMessage,t.methodToType[o.remotemessage.Method.DISCOVERY_REQUEST]=o.remotemessage.DiscoveryRequestMessage,t.methodToType[o.remotemessage.Method.DISCOVERY_RESPONSE]=o.remotemessage.DiscoveryResponseMessage,t.methodToType[o.remotemessage.Method.TIP_ADDED]=o.remotemessage.TipAddedMessage,t.methodToType[o.remotemessage.Method.VERIFY_SIGNATURE]=o.remotemessage.VerifySignatureMessage,t.methodToType[o.remotemessage.Method.SIGNATURE_VERIFIED]=o.remotemessage.SignatureVerifiedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_CONFIRMED]=o.remotemessage.PaymentConfirmedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_REJECTED]=o.remotemessage.PaymentRejectedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_VOIDED]=o.remotemessage.PaymentVoidedMessage,t.methodToType[o.remotemessage.Method.PRINT_TEXT]=o.remotemessage.TextPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_IMAGE]=o.remotemessage.ImagePrintMessage,t.methodToType[o.remotemessage.Method.TERMINAL_MESSAGE]=o.remotemessage.TerminalMessage,t.methodToType[o.remotemessage.Method.SHOW_WELCOME_SCREEN]=o.remotemessage.WelcomeMessage,t.methodToType[o.remotemessage.Method.SHOW_THANK_YOU_SCREEN]=o.remotemessage.ThankYouMessage,t.methodToType[o.remotemessage.Method.SHOW_ORDER_SCREEN]=o.remotemessage.OrderUpdateMessage,t.methodToType[o.remotemessage.Method.BREAK]=o.remotemessage.BreakMessage,t.methodToType[o.remotemessage.Method.CASHBACK_SELECTED]=o.remotemessage.CashbackSelectedMessage,t.methodToType[o.remotemessage.Method.PARTIAL_AUTH]=o.remotemessage.PartialAuthMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT]=o.remotemessage.VoidPaymentMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT_RESPONSE]=o.remotemessage.VoidPaymentResponseMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE]=o.remotemessage.VoidPaymentRefundResponseMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT]=o.remotemessage.OrderActionAddDiscountMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT]=o.remotemessage.OrderActionRemoveDiscountMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM]=o.remotemessage.OrderActionAddLineItemMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM]=o.remotemessage.OrderActionRemoveLineItemMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_RESPONSE]=o.remotemessage.OrderActionResponseMessage,t.methodToType[o.remotemessage.Method.VAULT_CARD]=o.remotemessage.VaultCardMessage,t.methodToType[o.remotemessage.Method.VAULT_CARD_RESPONSE]=o.remotemessage.VaultCardResponseMessage,t.methodToType[o.remotemessage.Method.LOG_MESSAGE]=o.remotemessage.LogMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS]=o.remotemessage.RetrievePendingPaymentsMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE]=o.remotemessage.RetrievePendingPaymentsResponseMessage,t.methodToType[o.remotemessage.Method.CARD_DATA]=o.remotemessage.CardDataRequestMessage,t.methodToType[o.remotemessage.Method.CARD_DATA_RESPONSE]=o.remotemessage.CardDataResponseMessage,t.methodToType[o.remotemessage.Method.PAIRING_REQUEST]=o.remotemessage.PairingRequestMessage,t.methodToType[o.remotemessage.Method.PAIRING_RESPONSE]=o.remotemessage.PairingResponseMessage,t.methodToType[o.remotemessage.Method.PAIRING_CODE]=o.remotemessage.PairingCodeMessage,t.methodToType[o.remotemessage.Method.REMOTE_ERROR]=o.remotemessage.RemoteError,t.methodToType[o.remotemessage.Method.ACTIVITY_REQUEST]=o.remotemessage.ActivityRequest,t.methodToType[o.remotemessage.Method.ACTIVITY_RESPONSE]=o.remotemessage.ActivityResponseMessage,t.methodToType[o.remotemessage.Method.SHUTDOWN]=o.remotemessage.ShutDownMessage,t.methodToType[o.remotemessage.Method.RESET]=o.remotemessage.ResetMessage,t.methodToType[o.remotemessage.Method.FORCECONNECT]=o.remotemessage.ForceConnectMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_DEVICE_STATUS_REQUEST]=o.remotemessage.RetrieveDeviceStatusRequestMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE]=o.remotemessage.RetrieveDeviceStatusResponseMessage,t.methodToType[o.remotemessage.Method.RESET_DEVICE_RESPONSE]=o.remotemessage.ResetDeviceResponseMessage,t.methodToType[o.remotemessage.Method.ACTIVITY_MESSAGE_TO_ACTIVITY]=o.remotemessage.ActivityMessageToActivity,t.methodToType[o.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY]=o.remotemessage.ActivityMessageFromActivity,t.methodToType[o.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE]=o.remotemessage.RetrievePaymentResponseMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST]=o.remotemessage.RetrievePaymentRequestMessage,t.methodToType[o.remotemessage.Method.GET_PRINTERS_REQUEST]=o.remotemessage.GetPrintersRequestMessage,t.methodToType[o.remotemessage.Method.GET_PRINTERS_RESPONSE]=o.remotemessage.GetPrintersResponseMessage,t.methodToType[o.remotemessage.Method.PRINT_JOB_STATUS_REQUEST]=o.remotemessage.PrintJobStatusRequestMessage,t.methodToType[o.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE]=o.remotemessage.PrintJobStatusResponseMessage,t.methodToType[o.remotemessage.Method.PRINT_CREDIT]=o.remotemessage.CreditPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_CREDIT_DECLINE]=o.remotemessage.DeclineCreditPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT]=o.remotemessage.PaymentPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT_DECLINE]=o.remotemessage.DeclinePaymentPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY]=o.remotemessage.PaymentPrintMerchantCopyMessage,t.methodToType[o.remotemessage.Method.REFUND_PRINT_PAYMENT]=o.remotemessage.RefundPaymentPrintMessage,t.methodToType[o.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE]=o.remotemessage.CustomerProvidedDataMessage,t.methodToType[o.remotemessage.Method.INVALID_STATE_TRANSITION]=o.remotemessage.InvalidStateTransitionMessage,t.methodToType[o.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE]=o.remotemessage.ShowReceiptOptionsResponseMessage,t.methodToType[o.remotemessage.Method.BALANCE_INQUIRY_RESPONSE]=o.remotemessage.BalanceInquiryResponseMessage,t.methodToType[o.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE]=o.remotemessage.SignatureResponseMessage,t.methodToType[o.remotemessage.Method.REQUEST_TIP_RESPONSE]=o.remotemessage.RequestTipResponseMessage},t.methodToType=null,t}();e.MethodToMessage=n},65245:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.RemoteMessageParser=void 0;var s=i(61256),r=i(14406),a=function(t){function e(){return t.call(this)||this}return n(e,t),e.getDefaultInstance=function(){return e.INSTANCE},e.prototype.parseMessageFromRemoteMessageObj=function(t,e){void 0===e&&(e=!1);var i=r.MethodToMessage.getType(t.getMethod()),o=null;if(i&&(o=new i,t.getPayload())){var n=JSON.parse(t.getPayload()),s=this.transfertoObject(n,o,e);if(s)return s}return o},e.prototype.parseToRemoteMessage=function(t){var e=new s.remotemessage.RemoteMessage;return this.transfertoObject(t,e,!1),e},e.INSTANCE=new e,e}(i(37365).JSONToCustomObject);e.RemoteMessageParser=a},36528:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CardEntryMethods=void 0;var i=function(){function t(){}return t.KIOSK_CARD_ENTRY_METHODS=32768,t.CARD_ENTRY_METHOD_MAG_STRIPE=257|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_ICC_CONTACT=514|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_NFC_CONTACTLESS=1028|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_MANUAL=2056|t.KIOSK_CARD_ENTRY_METHODS,t.DEFAULT=t.CARD_ENTRY_METHOD_MAG_STRIPE|t.CARD_ENTRY_METHOD_ICC_CONTACT|t.CARD_ENTRY_METHOD_NFC_CONTACTLESS,t.ALL=t.CARD_ENTRY_METHOD_MAG_STRIPE|t.CARD_ENTRY_METHOD_ICC_CONTACT|t.CARD_ENTRY_METHOD_NFC_CONTACTLESS|t.CARD_ENTRY_METHOD_MANUAL,t}();e.CardEntryMethods=i},47849:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnector=void 0;var o=i(61256),n=i(36528),s=i(24722),r=i(18885),a=i(79161),l=i(32822),u=function(){function t(e){this.cardEntryMethods=n.CardEntryMethods.DEFAULT,this.logger=a.Logger.create(),this.broadcaster=new s.CloverConnectorBroadcaster,this.isReady=!1,t.CANCEL_INPUT_OPTION=new o.remotemessage.InputOption,t.CANCEL_INPUT_OPTION.setKeyPress(o.remotemessage.KeyPress.ESC),t.CANCEL_INPUT_OPTION.setDescription("Cancel"),e&&(this.configuration=e)}return t.prototype.initialize=function(e){this.configuration=e,this.deviceObserver=new t.InnerDeviceObserver(this),this.device=r.CloverDeviceFactory.get(e),this.device&&this.device.subscribe(this.deviceObserver)},t.prototype.initializeConnection=function(){this.device||this.initialize(this.configuration)},t.prototype.addCloverConnectorListener=function(t){this.broadcaster.push(t)},t.prototype.removeCloverConnectorListener=function(t){var e=this.broadcaster.indexOf(t);-1!=e&&this.broadcaster.splice(e,1)},t.prototype.sale=function(e){if(this.device&&this.isReady)if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In sale: SaleRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.SALE_REQUEST);else{null==e.getTipAmount()&&e.setTipAmount(0);try{this.setupSaleRequest(e)}catch(e){this.logger.debug("Error in sale",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.SALE_REQUEST)}}else this.deviceObserver.onFinishCancelSale(o.remotepay.ResponseCode.ERROR,"Device Connection Error","In sale: SaleRequest - The Clover device is not connected.")},t.prototype.setupPreauthRequest=function(e){this.setupBaseTransactionRequest(e,new o.payments.TransactionSettings,new l.PayIntent.Builder,t.TxTypeRequestInfo.PREAUTH_REQUEST)},t.prototype.setupAuthRequest=function(e){var i=new o.payments.TransactionSettings;i.setTipMode(o.payments.TipMode.ON_PAPER),this.setupTransactionRequest(e,i,new l.PayIntent.Builder,t.TxTypeRequestInfo.AUTH_REQUEST)},t.prototype.setupSaleRequest=function(e){var i=new o.payments.TransactionSettings;null!=e.getTipMode()&&i.setTipMode(e.getTipMode());var n=new l.PayIntent.Builder;null!=e.getTipAmount()&&n.setTipAmount(e.getTipAmount()),this.setupTransactionRequest(e,i,n,t.TxTypeRequestInfo.SALE_REQUEST)},t.prototype.setupTransactionRequest=function(t,e,i,o){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,o)},t.prototype.setupBaseTransactionRequest=function(t,e,i,o){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);var n=i.build();this.device.doTxStart(n,null,o)}},t.prototype.notifyDeviceNotConnected=function(t){this.notifyDeviceError(o.remotepay.ErrorType.COMMUNICATION,o.remotepay.DeviceErrorEventCode.NotConnected,null,t+": Device is not connected.")},t.prototype.notifyInvalidData=function(t){this.notifyDeviceError(o.remotepay.ErrorType.VALIDATION,o.remotepay.DeviceErrorEventCode.InvalidParam,null,t)},t.prototype.notifyDeviceError=function(t,e,i,n){var s=new o.remotepay.CloverDeviceErrorEvent;s.setType(t),s.setCode(e),s.setCause(i),s.setMessage(n),this.broadcaster.notifyOnDeviceError(s)},t.prototype.acceptSignature=function(t){var 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)},t.prototype.rejectSignature=function(t){var 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)},t.prototype.acceptPayment=function(t){var 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)},t.prototype.rejectPayment=function(t,e){var 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)},t.prototype.auth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsAuths())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In auth: AuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.AUTH_REQUEST);else try{this.setupAuthRequest(e)}catch(e){this.logger.debug("Error in auth",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.AUTH_REQUEST)}else this.deviceObserver.onFinishCancelAuth(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In auth: AuthRequest - Auths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelAuth(o.remotepay.ResponseCode.ERROR,"Device connection Error","In auth: Auth Request - The Clover device is not connected.")},t.prototype.preAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.PREAUTH_REQUEST);else try{this.setupPreauthRequest(e)}catch(e){this.logger.debug("Error in preAuth",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.PREAUTH_REQUEST)}else this.deviceObserver.onFinishCancelPreAuth(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - PreAuths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelPreAuth(o.remotepay.ResponseCode.ERROR,"Device connection Error","In preAuth: PreAuthRequest - The Clover device is not connected.")},t.prototype.capturePreAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doCaptureAuth(e.getPaymentId(),e.getAmount(),e.getTipAmount())}catch(e){var i=new o.remotepay.CapturePreAuthResponse;t.populateBaseResponse(i,!1,o.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Capture Auth requests."),this.broadcaster.notifyOnCapturePreAuth(i)}else this.deviceObserver.onCapturePreAuthError(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In capturePreAuth: PreAuth Captures are not enabled for the payment gateway. Original Request = "+e,e.getPaymentId());else this.deviceObserver.onCapturePreAuthError(o.remotepay.ResponseCode.ERROR,"Device connection Error","In capturePreAuth: CapturePreAuth - The Clover device is not connected.",e.getPaymentId())},t.prototype.incrementPreAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doIncrementPreAuth(e.getPaymentId(),e.getAmount())}catch(e){var i=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(i,!1,o.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Incremental Pre Auth requests."),this.broadcaster.notifyOnIncrementPreAuthResponse(i)}else this.deviceObserver.onIncrementPreAuthError(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In incrementPreAuth: Pre Auths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onIncrementPreAuthError(o.remotepay.ResponseCode.ERROR,"Device connection Error","In incrementPreAuth: IncrementPreAuth - The Clover device is not connected.")},t.prototype.tipAdjustAuth=function(t){var e=new o.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,o.remotepay.ResponseCode.UNSUPPORTED)):(e.setReason("Device connection Error"),e.setMessage("In tipAdjustAuth: TipAdjustAuthRequest - The Clover device is not connected."),this.deviceObserver.onAuthTipAdjusted(e,o.remotepay.ResponseCode.ERROR))},t.prototype.vaultCard=function(t){var e=new o.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,o.remotepay.ResponseCode.UNSUPPORTED,"In vaultCard: VaultCard/Payment Tokens are not enabled for the payment gateway.")):(e.setReason("Device connection Error"),this.deviceObserver.onVaultCardResponse(e,o.remotepay.ResponseCode.ERROR,"In vaultCard: The Clover device is not connected."))},t.prototype.voidPayment=function(t){if(this.device&&this.isReady){var e=new o.payments.Payment;e.setId(t.getPaymentId()),e.setOrder(new o.base.Reference),e.getOrder().setId(t.getOrderId()),e.setEmployee(new o.base.Reference),e.getEmployee().setId(t.getEmployeeId());var i=o.order.VoidReason[t.getVoidReason()];this.device.doVoidPayment(e,i,t.getDisablePrinting(),t.getDisableReceiptSelection(),t.getExtras())}else this.deviceObserver.onPaymentVoided_responseCode(o.remotepay.ResponseCode.ERROR,"Device connection Error","In voidPayment: VoidPaymentRequest - The Clover device is not connected.")},t.prototype.refundPayment=function(e){this.device&&this.isReady?this.device.doPaymentRefundByRequest(e):this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.CANCEL,"Device Connection Error","In refundPayment: RefundPaymentRequest - The Clover device is not connected.",t.TxTypeRequestInfo.REFUND_REQUEST)},t.prototype.voidPaymentRefund=function(t){this.deviceObserver.onPaymentRefundVoided(null,o.remotepay.ResponseCode.ERROR,"Cannot do Void Payment Refund","This version of the SDK does not support voidPaymentRefunds")},t.prototype.manualRefund=function(e){var i=new o.payments.TransactionSettings;if(this.device&&this.isReady)if(this.merchantInfo.getSupportsManualRefunds())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.CREDIT_REQUEST);else{var n=new l.PayIntent.Builder;n.setAmount(-Math.abs(e.getAmount())).setTransactionType(o.remotepay.TransactionType.CREDIT).setVaultedCard(e.getVaultedCard()).setRequiresRemoteConfirmation(!0).setExternalPaymentId(e.getExternalId()),i.setCardEntryMethods(e.getCardEntryMethods()?e.getCardEntryMethods():this.cardEntryMethods),e.getDisablePrinting()&&i.setCloverShouldHandleReceipts(!e.getDisablePrinting()),e.getDisableRestartTransactionOnFail()&&i.setDisableRestartTransactionOnFailure(e.getDisableRestartTransactionOnFail()),e.getDisableReceiptSelection()&&i.setDisableReceiptSelection(e.getDisableReceiptSelection()),null!=e.getExtras()&&n.setPassThroughValues(e.getExtras()),n.setTransactionSettings(i);var s=n.build();this.device.doTxStart(s,null,t.TxTypeRequestInfo.CREDIT_REQUEST)}else this.deviceObserver.onFinishCancelManualRefund(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Manual Refunds are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelManualRefund(o.remotepay.ResponseCode.ERROR,"Device connection Error","In manualRefund: ManualRefundRequest - The Clover device is not connected.")},t.prototype.retrievePendingPayments=function(){this.device&&this.isReady?this.device.doRetrievePendingPayments():this.deviceObserver.onPendingPaymentsResponse(!1,null,"Device connection Error","In retrievePendingPayments: The Clover device is not connected.")},t.prototype.readCardData=function(t){if(this.device&&this.isReady)if(null==t)this.deviceObserver.onReadCardDataResponse(o.remotepay.ResponseCode.FAIL,"Invalid Argument.","In readCardData: ReadCardDataRequest - The request that was passed in for processing is null.");else{var e=new l.PayIntent.Builder;e.setTransactionType(o.remotepay.TransactionType.DATA),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),e.setForceSwipePinEntry(t.getIsForceSwipePinEntry());var i=e.build();this.device.doReadCardData(i)}else this.deviceObserver.onReadCardDataResponse(o.remotepay.ResponseCode.ERROR,"Device connection Error","In readCardData: The Clover device is not connected.")},t.prototype.sendMessageToActivity=function(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")},t.prototype.retrievePayment=function(t){this.device&&this.isReady?this.device.doRetrievePayment(t.getExternalPaymentId()):this.notifyDeviceNotConnected("In retrievePayment")},t.prototype.registerForCustomerProvidedData=function(t){if(this.device&&this.isReady){var e=t.getConfigurations(),i=this.convertConfigurations(e);console.log(i),this.device.doRegisterForCustomerProvidedData(i)}else this.notifyDeviceNotConnected("In registerForCustomerProvidedData")},t.prototype.convertConfigurations=function(t){var e=this,i=new Array;return null!=t&&t.forEach((function(t){return i.push(e.convertConfiguration(t))})),i},t.prototype.convertConfiguration=function(t){var e=new o.loyalty.LoyaltyDataConfig;return e.setType(t.getType()),e.setConfiguration(t.getConfiguration()),e},t.prototype.setCustomerInfo=function(t){this.device&&this.isReady?this.device.doSetCustomerInfo(t.getCustomerInfo()):this.notifyDeviceNotConnected("In setCustomerInfo: The Clover device is not connected.")},t.prototype.retrievePrinters=function(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")},t.prototype.retrievePrintJobStatus=function(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")},t.prototype.closeout=function(t){this.device&&this.isReady?this.device.doCloseout(t.getAllowOpenTabs(),t.getBatchId()):this.notifyDeviceNotConnected("In closeout")},t.prototype.print=function(t){if(this.device&&this.isReady)if(t){if(!this.validatePrintRequest(t))return;var 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.");var o=Array.isArray(e)?e[0]:e;this.device.doPrintImageObject(o,t.getPrintRequestId(),t.getPrintDeviceId())}else t.getText()?this.device.doPrintText(t.getText(),t.getPrintRequestId(),t.getPrintDeviceId()):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."),o=Array.isArray(i)?i[0]:i,this.device.doPrintImageUrl(o,t.getPrintRequestId(),t.getPrintDeviceId())):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")},t.prototype.validatePrintRequest=function(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)},t.prototype.showMessage=function(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")},t.prototype.sendDebugLog=function(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")},t.prototype.showWelcomeScreen=function(){this.device&&this.isReady?this.device.doShowWelcomeScreen():this.notifyDeviceNotConnected("In showWelcomeScreen")},t.prototype.showThankYouScreen=function(){this.device&&this.isReady?this.device.doShowThankYouScreen():this.notifyDeviceNotConnected("In showThankYouScreen")},t.prototype.displayReceiptOptions=function(t){this.device&&this.isReady?this.device.doShowReceiptScreen(t.getOrderId(),t.getPaymentId(),t.getRefundId(),t.getCreditId(),t.getDisablePrinting()):this.notifyDeviceNotConnected("In displayReceiptOptions")},t.prototype.openCashDrawer=function(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")},t.prototype.showDisplayOrder=function(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")},t.prototype.removeDisplayOrder=function(t){if(this.device&&this.isReady)if(null==t)this.notifyInvalidData("In removeDisplayOrder: Invalid argument. The order cannot be null.");else{var e=new o.order.operation.OrderDeletedOperation;e.setId(t.getId()),this.device.doOrderUpdate(t,e)}else this.notifyDeviceNotConnected("In removeDisplayOrder")},t.prototype.discountAddedToDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"discountAddedToDisplayOrder has not been implemented.")},t.prototype.discountRemovedFromDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"discountRemovedFromDisplayOrder has not been implemented.")},t.prototype.lineItemAddedToDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemAddedToDisplayOrder has not been implemented.")},t.prototype.lineItemRemovedFromDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemRemovedFromDisplayOrder has not been implemented.")},t.prototype.dispose=function(){this.broadcaster.clear(),this.device&&this.device.dispose()},t.prototype.invokeInputOption=function(t){this.device&&this.isReady?this.device.doKeyPress(t.getKeyPress()):this.notifyDeviceNotConnected("In invokeInputOption")},t.prototype.resetDevice=function(){this.device&&this.isReady?this.device.doResetDevice():this.notifyDeviceNotConnected("In resetDevice")},t.prototype.retrieveDeviceStatus=function(t){this.device&&this.isReady?this.device.doRetrieveDeviceStatus(t):this.notifyDeviceNotConnected("In retrieveDeviceStatus")},t.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},t.prototype.startCustomActivity=function(t){this.device&&this.isReady?this.device.doStartActivity(t.getAction(),t.getPayload(),t.getNonBlocking()):this.notifyDeviceNotConnected("In startCustomActivity")},t.prototype.checkBalance=function(t){this.device&&this.isReady?this.device.doCheckBalance(t.getCardEntryMethods()):this.notifyDeviceNotConnected("In checkBalance")},t.prototype.requestSignature=function(t){this.device&&this.isReady?this.device.doCollectSignature(t.getAcknowledgementMessage()):this.notifyDeviceNotConnected("In requestSignature")},t.prototype.requestTip=function(t){this.device&&this.isReady?this.device.doRequestTip(t.getTippableAmount(),t.getTipSuggestions()):this.notifyDeviceNotConnected("In requestTip")},t.populateBaseResponse=function(t,e,i,o,n){if(t.setSuccess(e),t.setResult(i),t.setReason(o||(i?i.toString():"No extended information provided.")),t.setMessage(n||"No extended information provided."),t.getPayment){var s=t.getPayment();s&&this.setResponseFlags(t,s)}},t.populatePaymentResponse=function(e,i,o,n,s,r,a){t.populateBaseResponse(e,i,o,r,a),e.setPayment(n),e.setSignature(s),this.setResponseFlags(e,n)},t.setResponseFlags=function(t,e){if(t&&e){var i=e.getCardTransaction();if(i){var n=i.getType();t.setIsSale&&t.setIsSale(o.payments.CardTransactionType.AUTH==n&&o.payments.Result.SUCCESS==e.getResult()),t.setIsAuth&&t.setIsAuth(o.payments.CardTransactionType.PREAUTH==n&&o.payments.Result.SUCCESS==e.getResult()),t.setIsPreAuth&&t.setIsPreAuth(o.payments.CardTransactionType.PREAUTH==n&&o.payments.Result.AUTH==e.getResult())}}},t.MAX_PAYLOAD_SIZE=1e7,t}();e.CloverConnector=u,function(t){var e=function(){function t(){}return t.SALE_REQUEST="SALE",t.AUTH_REQUEST="AUTH",t.PREAUTH_REQUEST="PREAUTH",t.CREDIT_REQUEST="CREDIT",t.REFUND_REQUEST="REFUND",t}();t.TxTypeRequestInfo=e;var i=function(){function i(t){this.logger=a.Logger.create(),this.cloverConnector=t}return i.prototype.onTxState=function(t){},i.prototype.resultSuccessToResponseCode=function(t){return this.resultStatusToResponseCode(t?o.remotemessage.ResultStatus.SUCCESS:o.remotemessage.ResultStatus.FAIL)},i.prototype.resultStatusToResponseCode=function(t){return t==o.remotemessage.ResultStatus.SUCCESS?o.remotepay.ResponseCode.SUCCESS:t==o.remotemessage.ResultStatus.CANCEL?o.remotepay.ResponseCode.CANCEL:o.remotepay.ResponseCode.FAIL},i.prototype.onTxStartResponse=function(i){var n=i.getReason(),s=i.getResult();if(s!=o.remotemessage.TxStartResponseResult.SUCCESS){var r=s==o.remotemessage.TxStartResponseResult.DUPLICATE,a=r?o.remotepay.ResponseCode.CANCEL:o.remotepay.ResponseCode.FAIL,l=r?"The provided transaction id of "+i.getExternalPaymentId()+" has already been processed and cannot be resubmitted.":null,u=r?l:i.getMessage(),d=i.getRequestInfo();if(d==e.PREAUTH_REQUEST){var p=new o.remotepay.PreAuthResponse;t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(p)}else d==e.AUTH_REQUEST?(p=new o.remotepay.AuthResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnAuthResponse(p)):d==e.SALE_REQUEST?(p=new o.remotepay.SaleResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnSaleResponse(p)):d==e.CREDIT_REQUEST?(p=new o.remotepay.ManualRefundResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(p)):this.logger.error("Could not determine request type. requestInfo = "+d)}},i.prototype.onUiState=function(t,e,i,n){var s=new o.remotepay.CloverDeviceEvent;s.setInputOptions(n),s.setEventState(o.remotepay.DeviceEventState[t.toString()]),s.setMessage(e),i==o.remotemessage.UiDirection.ENTER?this.cloverConnector.broadcaster.notifyOnDeviceActivityStart(s):i==o.remotemessage.UiDirection.EXIT&&(this.cloverConnector.broadcaster.notifyOnDeviceActivityEnd(s),t.toString()==o.remotepay.DeviceEventState.RECEIPT_OPTIONS.toString()&&this.cloverConnector.device.doShowWelcomeScreen())},i.prototype.onTipAdded=function(t){this.cloverConnector.broadcaster.notifyOnTipAdded(t)},i.prototype.onAuthTipAdjusted=function(e,i){var n=new o.remotepay.TipAdjustAuthResponse,s=e.getSuccess();i||(i=this.resultSuccessToResponseCode(s)),t.populateBaseResponse(n,s,i,e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setTipAmount(e.getAmount()),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(n)},i.prototype.onCashbackSelected=function(t){},i.prototype.onPartialAuth=function(t){},i.prototype.onFinishOkPayment=function(i,n,s){try{if(this.cloverConnector.device.doShowThankYouScreen(),s==e.PREAUTH_REQUEST){var r=new o.remotepay.PreAuthResponse;t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(r)}else s==e.AUTH_REQUEST?(r=new o.remotepay.AuthResponse,t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnAuthResponse(r)):s==e.SALE_REQUEST?(r=new o.remotepay.SaleResponse,t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnSaleResponse(r)):this.logger.error("Failed to pair this response: "+i)}finally{}},i.prototype.onFinishOkCredit=function(e){this.cloverConnector.device.doShowWelcomeScreen();var i=new o.remotepay.ManualRefundResponse;t.populateBaseResponse(i,!0,o.remotepay.ResponseCode.SUCCESS),i.setCredit(e),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(i)},i.prototype.onFinishOkRefund=function(e){this.cloverConnector.device.doShowWelcomeScreen();var i=this.lastPRR;if(this.lastPRR=null,null!=e.getOrderRef()){var n=!0,s=new o.remotepay.RefundPaymentResponse;t.populateBaseResponse(s,n,this.resultSuccessToResponseCode(n)),s.setOrderId(e.getOrderRef().getId()),e.getPayment()&&s.setPaymentId(e.getPayment().getId()),s.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s)}else i&&i.getRefund().getId()==e.getId()?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(i):(n=!0,s=new o.remotepay.RefundPaymentResponse,t.populateBaseResponse(s,n,this.resultSuccessToResponseCode(n)),e.getPayment()&&s.setPaymentId(e.getPayment().getId()),s.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s))},i.prototype.onFinishOk=function(t,e,i){t instanceof o.payments.Payment?this.onFinishOkPayment(t,e,i):t instanceof o.payments.Credit?this.onFinishOkCredit(t):this.onFinishOkRefund(t)},i.prototype.onFinishCancel_rmm=function(t,i,o,n){try{this.cloverConnector.device&&this.cloverConnector.device.doShowWelcomeScreen(),n==e.PREAUTH_REQUEST?this.onFinishCancelPreAuth(t,i,o):n==e.SALE_REQUEST?this.onFinishCancelSale(t,i,o):n==e.AUTH_REQUEST?this.onFinishCancelAuth(t,i,o):n==e.CREDIT_REQUEST?this.onFinishCancelManualRefund(t,i,o):n==e.REFUND_REQUEST?this.lastPRR?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR):this.onFinishCancelRefund(t,i,o):this.lastPRR?(this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR),this.lastPRR=null):n?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{}},i.prototype.onFinishCancel=function(t){this.onFinishCancel_rmm(o.remotepay.ResponseCode.CANCEL,null,null,t)},i.prototype.onFinishCancelPreAuth=function(e,i,n){var s=new o.remotepay.PreAuthResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The PreAuth Request was canceled."),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(s)},i.prototype.onFinishCancelSale=function(e,i,n){var s=new o.remotepay.SaleResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Sale Request was canceled."),this.cloverConnector.broadcaster.notifyOnSaleResponse(s)},i.prototype.onFinishCancelAuth=function(e,i,n){var s=new o.remotepay.AuthResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Auth Request was canceled."),this.cloverConnector.broadcaster.notifyOnAuthResponse(s)},i.prototype.onFinishCancelManualRefund=function(e,i,n){var s=new o.remotepay.ManualRefundResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Manual Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(s)},i.prototype.onFinishCancelRefund=function(e,i,n){var s=new o.remotepay.RefundPaymentResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s)},i.prototype.onVerifySignature=function(t,e){var i=new o.remotepay.VerifySignatureRequest;i.setSignature(e),i.setPayment(t),this.cloverConnector.broadcaster.notifyOnVerifySignatureRequest(i)},i.prototype.onConfirmPayment=function(t,e){var i=new o.remotepay.ConfirmPaymentRequest;i.setPayment(t),i.setChallenges(e),this.cloverConnector.broadcaster.notifyOnConfirmPaymentRequest(i)},i.prototype.onPaymentVoided=function(e){this.cloverConnector.showWelcomeScreen();var i=e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=this.resultStatusToResponseCode(e.getStatus()),s=new o.remotepay.VoidPaymentResponse,r=e.getPayment();s.setPayment(r),s.setPaymentId(null!=r?r.getId():null),t.populateBaseResponse(s,i,n,e.getReason(),e.getMessage()),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(s)},i.prototype.onPaymentVoided_responseCode=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.VoidPaymentResponse;t.populateBaseResponse(r,s,e,i,n),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(r)},i.prototype.onPaymentRefundVoided=function(t,e,i,n){var s=new o.remotepay.VoidPaymentRefundResponse;s.setSuccess(e==o.remotepay.ResponseCode.SUCCESS),s.setReason(null!=i?i:e.toString()),s.setMessage(null!=n?n:"No extended information provided."),s.setRefund(t),this.cloverConnector.broadcaster.notifyOnVoidPaymentRefundResponse(s)},i.prototype.onKeyPressed=function(t){},i.prototype.onPaymentRefundResponse=function(e){var i=e.getCode()==o.remotemessage.TxState.SUCCESS,n=new o.remotepay.RefundPaymentResponse,s=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),s,e.getMessage()),n.setOrderId(e.getOrderId()),n.setPaymentId(e.getPaymentId()),n.setRefund(e.getRefund()),this.lastPRR=n},i.prototype.onPaymentRefundVoidResponse=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==status,n=new o.remotepay.VoidPaymentRefundResponse,s=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),s,e.getMessage()),n.setRefundId(e.getRefund()?e.getRefund().getId():null),n.setReason(e.getReason())},i.prototype.onVaultCardResponse=function(e,i,n){var s=o.remotemessage.ResultStatus.SUCCESS==e.getStatus();this.cloverConnector.device.doShowWelcomeScreen();var r=new o.remotepay.VaultCardResponse;r.setCard(e.getCard()),t.populateBaseResponse(r,s,i||this.resultSuccessToResponseCode(s),e.getReason(),n),this.cloverConnector.broadcaster.notifyOnVaultCardRespose(r)},i.prototype.onCapturePreAuthError=function(e,i,n,s){var r=new o.remotepay.CapturePreAuthResponse;t.populateBaseResponse(r,!1,e,i,n),r.setPaymentId(s),r.setTipAmount(0),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(r)},i.prototype.onCapturePreAuth=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new o.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)},i.prototype.onIncrementPreAuthError=function(e,i,n){var s=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(s,!1,e,i,n),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(s)},i.prototype.onIncrementPreAuthResponse=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),null),n.setAuthorization(e.getAuthorization()),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(n)},i.prototype.onCloseoutResponse=function(e,i,n){var s=e==o.remotemessage.ResultStatus.SUCCESS,r=new o.remotepay.CloseoutResponse;t.populateBaseResponse(r,s,this.resultSuccessToResponseCode(s),i,null),r.setBatch(n),this.cloverConnector.broadcaster.notifyCloseout(r)},i.prototype.onDeviceDisconnected=function(t,e){this.logger.debug("Disconnected ",e),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnDisconnect(e)},i.prototype.onDeviceConnected=function(){this.logger.debug("Connected"),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnConnect()},i.prototype.onDeviceReady=function(t,e){this.logger.debug("Ready"),this.cloverConnector.isReady=e.getReady();var i=new o.remotepay.MerchantInfo;i.setMerchantID(e.getMerchantId()),i.setMerchantMID(e.getMerchantMId()),i.setMerchantName(e.getMerchantName());var n=new o.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()},i.prototype.onDeviceError=function(t){this.cloverConnector.broadcaster.notifyOnDeviceError(t)},i.prototype.onPrintRefundPayment=function(t,e,i){var n=new o.remotepay.PrintRefundPaymentReceiptResponse;n.setPayment(t),n.setOrder(e),n.setRefund(i),this.cloverConnector.broadcaster.notifyOnPrintRefundPaymentReceipt(n)},i.prototype.onPrintMerchantReceipt=function(t){var e=new o.remotepay.PrintPaymentMerchantCopyReceiptMessage;e.setPayment(t),this.cloverConnector.broadcaster.notifyOnPrintPaymentMerchantCopyReceipt(e)},i.prototype.onPrintPaymentDecline=function(t,e){var i=new o.remotepay.PrintPaymentDeclineReceiptMessage;i.setPayment(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentDeclineReceipt(i)},i.prototype.onPrintPayment=function(t,e){var i=new o.remotepay.PrintPaymentReceiptMessage;i.setPayment(t),i.setOrder(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentReceipt(i)},i.prototype.onPrintCredit=function(t){var e=new o.remotepay.PrintManualRefundReceiptMessage;e.setCredit(t),this.cloverConnector.broadcaster.notifyOnPrintCreditReceipt(e)},i.prototype.onPrintCreditDecline=function(t,e){var i=new o.remotepay.PrintManualRefundDeclineReceiptMessage;i.setCredit(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintCreditDeclineReceipt(i)},i.prototype.onMessageAck=function(t){},i.prototype.onPendingPaymentsResponse=function(e,i,n,s){var r=e?o.remotepay.ResponseCode.SUCCESS:o.remotepay.ResponseCode.ERROR,a=new o.remotepay.RetrievePendingPaymentsResponse;t.populateBaseResponse(a,e,r,n,s),i?a.setPendingPaymentEntries(i):this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnRetrievePendingPaymentResponse(a)},i.prototype.onReadCardResponse=function(e,i,n){var s=e==o.remotemessage.ResultStatus.SUCCESS;if(s){var r=new o.remotepay.ReadCardDataResponse;t.populateBaseResponse(r,s,this.resultSuccessToResponseCode(s),i),r.setCardData(n),this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(r)}else e==o.remotemessage.ResultStatus.CANCEL?this.onReadCardDataResponse(o.remotepay.ResponseCode.CANCEL,i,""):this.onReadCardDataResponse(o.remotepay.ResponseCode.FAIL,i,"")},i.prototype.onMessageFromActivity=function(t,e){var i=new o.remotepay.MessageFromActivity;i.setAction(t),i.setPayload(e),this.cloverConnector.broadcaster.notifyOnActivityMessage(i)},i.prototype.onReadCardDataResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS;this.cloverConnector.device.doShowWelcomeScreen();var r=new o.remotepay.ReadCardDataResponse;t.populateBaseResponse(r,s,e,i,n),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(r)},i.prototype.onActivityResponse=function(e,i,n,s){var r=e==o.remotemessage.ResultStatus.SUCCESS,a=r?o.remotepay.ResponseCode.SUCCESS:o.remotepay.ResponseCode.CANCEL,l=new o.remotepay.CustomActivityResponse;t.populateBaseResponse(l,r,a,n),l.setPayload(i),l.setAction(s),this.cloverConnector.broadcaster.notifyOnActivityResponse(l)},i.prototype.onDeviceStatusResponse=function(e){var i=!e.getStatus()||e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=new o.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)},i.prototype.onInvalidStateTransitionResponse=function(e,i,n,s,r){var a=e==o.remotemessage.ResultStatus.SUCCESS,l=new o.remotepay.InvalidStateTransitionResponse,u=this.resultStatusToResponseCode(e);t.populateBaseResponse(l,a,u,i),l.setRequestedTransition(n),l.setState(s),l.setData(r),this.cloverConnector.broadcaster.notifyOnInvalidStateTransitionResponse(l)},i.prototype.onResetDeviceResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.ResetDeviceResponse;t.populateBaseResponse(r,s,e,i),r.setState(n),this.cloverConnector.broadcaster.notifyOnResetDeviceResponse(r)},i.prototype.onRetrievePaymentResponse=function(e){var i=e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=new o.remotepay.RetrievePaymentResponse,s=this.resultStatusToResponseCode(e.getStatus());t.populateBaseResponse(n,i,s,e.getReason(),e.getMessage()),n.setExternalPaymentId(e.getExternalPaymentId()),n.setQueryStatus(e.getQueryStatus()),n.setPayment(e.getPayment()),this.cloverConnector.broadcaster.notifyOnRetrievePaymentResponse(n)},i.prototype.onRetrievePrintersResponse=function(e,i){var n=e==o.remotepay.ResponseCode.SUCCESS,s=new o.remotepay.RetrievePrintersResponse;t.populateBaseResponse(s,n,e,null),s.setPrinters(i),this.cloverConnector.broadcaster.notifyOnRetrievePrintersResponse(s)},i.prototype.onPrintJobStatusResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.PrintJobStatusResponse;t.populateBaseResponse(r,s,e,n),r.setStatus(n),r.setPrintRequestId(i),this.cloverConnector.broadcaster.notifyOnPrintJobStatusResponse(r)},i.prototype.onCustomerProvidedDataMessage=function(t,e,i,n){var s=new o.remotepay.CustomerProvidedDataEvent;s.setResult(t),s.setSuccess(t===o.remotepay.ResponseCode.SUCCESS),s.setEventId(e);var r=new o.remotepay.DataProviderConfig;r.setType(i.getType()),r.setConfiguration(i.getConfiguration()),s.setConfig(r),s.setData(n),this.cloverConnector.broadcaster.notifyOnCustomerProvidedDataEvent(s)},i.prototype.onDisplayReceiptOptionsResponse=function(t,e){var i=new o.remotepay.DisplayReceiptOptionsResponse,n=this.resultStatusToResponseCode(t);i.setReason(e),i.setResult(n),i.setSuccess(i.getResult()==o.remotepay.ResponseCode.SUCCESS),this.cloverConnector.broadcaster.notifyOnDisplayReceiptOptionsResponse(i)},i.prototype.onSignatureCollected=function(t){var e=new o.remotepay.SignatureResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS),e.setSignature(t.getSignature()),this.cloverConnector.broadcaster.notifyOnSignatureCollected(e)},i.prototype.onBalanceInquiryResponse=function(t){var e=new o.remotepay.CheckBalanceResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS);var n=t.getPayment();n&&e.setAmount(n.getAmount()),this.cloverConnector.broadcaster.notifyOnCheckBalanceResponse(e)},i.prototype.onRequestTipResponse=function(t){var e=new o.remotepay.TipResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS),e.setTipAmount(t.getAmount()),this.cloverConnector.broadcaster.notifyOnTipResponse(e)},i}();t.InnerDeviceObserver=i}(u=e.CloverConnector||(e.CloverConnector={})),e.CloverConnector=u},24722:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnectorBroadcaster=void 0;var o=i(61256),n=i(79161),s=function(){function t(){this.logger=n.Logger.create(),this.listeners=new Array}return t.prototype.clear=function(){this.listeners.splice(0,this.listeners.length)},t.prototype.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1==t.length?this.listeners.push(t[0]):this.listeners.push(t)},t.prototype.indexOf=function(t,e){return this.listeners.indexOf(t,e)},t.prototype.splice=function(t,e){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return i&&i.length>0?this.listeners.splice(t,e,i):this.listeners.splice(t,e)},t.prototype.notifyOnTipAdded=function(t){var e=this;this.logger.debug("Sending TipAdded notification to listeners");var i=new o.remotepay.TipAdded;i.setTipAmount(t),this.listeners.forEach((function(t){try{t.onTipAdded(i)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRefundPaymentResponse=function(t){var e=this;this.logger.debug("Sending RefundPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRefundPaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyCloseout=function(t){var e=this;this.logger.debug("Sending Closeout notification to listeners"),this.listeners.forEach((function(i){try{i.onCloseoutResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceActivityStart=function(t){var e=this;this.logger.debug("Sending DeviceActivityStart notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceActivityStart(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceActivityEnd=function(t){var e=this;this.logger.debug("Sending DeviceActivityEnd notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceActivityEnd(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnSaleResponse=function(t){var e=this;this.logger.debug("Sending SaleResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onSaleResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnAuthResponse=function(t){var e=this;this.logger.debug("Sending AuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnManualRefundResponse=function(t){var e=this;this.logger.debug("Sending ManualRefundResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onManualRefundResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVerifySignatureRequest=function(t){var e=this;this.logger.debug("Sending VerifySignatureRequest notification to listeners"),this.listeners.forEach((function(i){try{i.onVerifySignatureRequest(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVoidPaymentResponse=function(t){var e=this;this.logger.debug("Sending VoidPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVoidPaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVoidPaymentRefundResponse=function(t){var e=this;this.logger.debug("Sending VoidPaymentRefundResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVoidPaymentRefundResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnConnect=function(){var t=this;this.logger.debug("Sending Connect notification to listeners"),this.listeners.forEach((function(e){try{e.onDeviceConnected()}catch(e){t.logger.error(e)}}))},t.prototype.notifyOnDisconnect=function(t){var e=this;this.logger.debug("Sending Disconnect notification to listeners",t),this.listeners.forEach((function(t){try{t.onDeviceDisconnected()}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnReady=function(t){var e=this;this.logger.debug("Sending Ready notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceReady(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnTipAdjustAuthResponse=function(t){var e=this;this.logger.debug("Sending TipAdjustAuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onTipAdjustAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVaultCardRespose=function(t){var e=this;this.logger.debug("Sending VaultCardResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVaultCardResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPreAuthResponse=function(t){var e=this;this.logger.debug("Sending PreAuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onPreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnCapturePreAuth=function(t){var e=this;this.logger.debug("Sending CapturePreAuth notification to listeners"),this.listeners.forEach((function(i){try{i.onCapturePreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnIncrementPreAuthResponse=function(t){var e=this;this.logger.debug("Sending IncrementPreAuth notification to listeners"),this.listeners.forEach((function(i){try{i.onIncrementPreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceError=function(t){var e=this;this.logger.debug("Sending DeviceError notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceError(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintRefundPaymentReceipt=function(t){var e=this;this.logger.debug("Sending PrintRefundPaymentReceipt notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintRefundPaymentReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentMerchantCopyReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentMerchantCopyReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentMerchantCopyReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentDeclineReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentDeclineReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentDeclineReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintCreditReceipt=function(t){var e=this;this.logger.debug("Sending PrintManualRefundReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintManualRefundReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintCreditDeclineReceipt=function(t){var e=this;this.logger.debug("Sending PrintManualRefundDeclineReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintManualRefundDeclineReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnConfirmPaymentRequest=function(t){var e=this;this.logger.debug("Sending ConfirmPaymentRequest notification to listeners"),this.listeners.forEach((function(i){try{i.onConfirmPaymentRequest(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePendingPaymentResponse=function(t){var e=this;this.logger.debug("Sending RetrievePendingPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePendingPaymentsResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnReadCardDataResponse=function(t){var e=this;this.logger.debug("Sending ReadCardDataResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onReadCardDataResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnActivityMessage=function(t){var e=this;this.logger.debug("Sending MessageFromActivity notification to listeners"),this.listeners.forEach((function(i){try{i.onMessageFromActivity(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnActivityResponse=function(t){var e=this;this.logger.debug("Sending ActivityResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onCustomActivityResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrieveDeviceStatusResponse=function(t){var e=this;this.logger.debug("Sending RetrieveDeviceStatusResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrieveDeviceStatusResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnResetDeviceResponse=function(t){var e=this;this.logger.debug("Sending ResetDeviceResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onResetDeviceResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePaymentResponse=function(t){var e=this;this.logger.debug("Sending RetrievePaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePrintersResponse=function(t){var e=this;this.logger.debug("Sending RetrievePrintersResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePrintersResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintJobStatusResponse=function(t){var e=this;this.logger.debug("Sending PrintJobStatusResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintJobStatusResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnCustomerProvidedDataEvent=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCustomerProvidedData(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDisplayReceiptOptionsResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onDisplayReceiptOptionsResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnInvalidStateTransitionResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onInvalidStateTransitionResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnSignatureCollected=function(t){this.listeners.forEach((function(t){}))},t.prototype.notifyOnCheckBalanceResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCheckBalanceResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnTipResponse=function(t){this.listeners.forEach((function(t){}))},t}();e.CloverConnectorBroadcaster=s},80664:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegacyCloverConnector=e.CloverConnectorFactory=void 0;var s=i(61256),r=i(19930),a=i(62260),l=i(7271),u=i(47849),d=i(88945),p=i(97184),_=function(){function t(){}return t.prototype.createICloverConnector=function(t){return new c(t)},t}();e.CloverConnectorFactory=_;var c=function(t){function e(e){var i=t.call(this,null)||this;return i.urlParamsInfo=null,i.httpSupport=new l.HttpSupport(XMLHttpRequest),i.imageUtil=new p.ImageUtil,i.legacyConfiguration=e,i}return n(e,t),e.prototype.initializeConnection=function(){null==this.device&&this.initializeLegacyConnection(this.legacyConfiguration)},e.prototype.generateNewConfigurationAndInitialize=function(t){var e=new r.WebSocketCloudCloverDeviceConfiguration(t.remoteApplicationId,d.BrowserWebSocketImpl.createInstance,this.imageUtil,t.domain,t.oauthToken,this.httpSupport,t.merchantId,t.deviceId,t.friendlyId,t.forceConnect);null==this.device&&this.initialize(e)},e.prototype.initializeLegacyConnection=function(t){if(t.oauthToken)this.onceWeHaveTheAccessToken(t);else if(t.domain&&t.clientId)t.oauthToken=this.getAccessToken(t),this.onceWeHaveTheAccessToken(t);else{var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(s.remotepay.ErrorType.EXCEPTION),e.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(e)}},e.prototype.onceWeHaveTheAccessToken=function(t){t.merchantId=this.getMerchantId(t),t.deviceId?this.generateNewConfigurationAndInitialize(t):this.getDeviceId(t)},e.prototype.getDeviceId=function(t){if(t.deviceSerialId||t.deviceId)if(t.deviceId)this.generateNewConfigurationAndInitialize(t);else{var i=a.Endpoints.getDevicesEndpoint(t.domain,t.merchantId,t.oauthToken);this.httpSupport.getData(i,function(i){this.handleDeviceResult(e.buildMapOfSerialToDevice(i),t)}.bind(this),function(t){var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(s.remotepay.ErrorType.EXCEPTION),e.setMessage(JSON.stringify({"Error retreiving devices:":t},null,"\t")),this.broadcaster.notifyOnDeviceError(e)}.bind(this))}else{var o=new s.remotepay.CloverDeviceErrorEvent;o.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),o.setType(s.remotepay.ErrorType.EXCEPTION),o.setMessage("Neither 'deviceId' or 'deviceSerialId' passed, one must be set. Cannot initialize."),this.broadcaster.notifyOnDeviceError(o)}},e.buildMapOfSerialToDevice=function(t){var e,i=null,o={};if(t.devices?i=t.devices:t.elements&&(i=t.elements),i)for(e=0;e<i.length;e++)o[i[e].serial]=i[e];return o},e.prototype.handleDeviceResult=function(t,e){var i=t[e.deviceSerialId];if(null==i){var o=new s.remotepay.CloverDeviceErrorEvent;o.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),o.setType(s.remotepay.ErrorType.EXCEPTION),o.setMessage("Cannot determine device to use. Device "+e.deviceSerialId+" not in set returned."),this.broadcaster.notifyOnDeviceError(o)}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)},e.prototype.getMerchantId=function(t){var i;return t.merchantId||(this.urlParamsInfo?t.merchantId=this.urlParamsInfo[e.URL_MERCHANT_ID_KEY]:t.domain&&t.clientId?(this.getAccessToken(t),(i=new s.remotepay.CloverDeviceErrorEvent).setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),i.setType(s.remotepay.ErrorType.EXCEPTION),i.setMessage("Neither 'merchantId' or '"+e.URL_MERCHANT_ID_KEY+"' specified. Cannot initialize."),this.broadcaster.notifyOnDeviceError(i)):((i=new s.remotepay.CloverDeviceErrorEvent).setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),i.setType(s.remotepay.ErrorType.EXCEPTION),i.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(i))),t.merchantId},e.prototype.getAccessToken=function(t){this.parseWindowURL();var i=null;return this.urlParamsInfo&&(i=this.urlParamsInfo[e.accessTokenKey]),null==i&&e.redirect(t),i},e.redirect=function(t){var e=window.location.href.replace(window.location.hash,""),i=a.Endpoints.getOAuthURL(t.domain,t.clientId,null,e);window.location.href=i},e.prototype.parseWindowURL=function(){this.urlParamsInfo||this.parseURL(window.location)},e.prototype.parseURL=function(t){this.urlParamsInfo={};var e=t.hash.split("&");this.parseStuff(e);var i=t.search.substr(1).split("&");this.parseStuff(i)},e.prototype.parseStuff=function(t){for(var i=0,o=null;o=t[i++];){var n=o.split("=");this.urlParamsInfo[n[0]]=n[1],n[0]===e._accessTokenKey&&(this.urlParamsInfo[e.accessTokenKey]=n[1])}},e._accessTokenKey="access_token",e.accessTokenKey="#"+e._accessTokenKey,e.URL_MERCHANT_ID_KEY="merchant_id",e}(u.CloverConnector);e.LegacyCloverConnector=c},40123:(t,e,i)=>{"use strict";e.D=void 0;var o=i(59992),n=i(80664),s=function(){function t(){}return t.createICloverConnectorFactory=function(e){return e&&e[t.FACTORY_VERSION]?e[t.FACTORY_VERSION]==t.VERSION_12?new o.CloverConnectorFactoryV2:void console.error("Factory version specified, but not found!",e):new n.CloverConnectorFactory},t.DEFAULT_VERSION="DEFAULT",t.VERSION_12="VERSION_12",t.FACTORY_VERSION="FACTORY_VERSION",t}();e.D=s},59992:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnectorFactoryV2=void 0;var o=i(47849),n=function(){function t(){}return t.prototype.createICloverConnector=function(t){return new o.CloverConnector(t)},t}();e.CloverConnectorFactoryV2=n},21537:(t,e)=>{},32295:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverDevice=void 0;var i=function(){function t(t,e,i){this.supportsAck=!1,this.supportsVoidPaymentResponse=!1,this.packageName=t,this.transport=e,this.applicationId=i,this.deviceObservers=[],this.supportsAck=!1}return t.prototype.subscribe=function(t){this.deviceObservers.push(t)},t.prototype.unsubscribe=function(t){var e=this.deviceObservers.indexOf(t);-1!==e&&this.deviceObservers.splice(e,1)},t.prototype.setSupportsAck=function(t){this.supportsAck=t},t.prototype.getSupportsAck=function(){return this.supportsAck},t.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},t.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},t}();e.CloverDevice=i},18885:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverDeviceFactory=void 0;var o=i(79161),n=function(){function t(){}return t.get=function(t){var e=t.getCloverDeviceType(),i=null;try{i=new e(t)}catch(t){o.Logger.create().error(t)}return i},t}();e.CloverDeviceFactory=n},35379:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultCloverDevice=void 0;var s=i(61256),r=i(65245),a=i(32295),l=i(47849),u=i(24362),d=i(79161),p=i(17411),_=i(61256).remotemessage.VoidPaymentResponseMessage,c=function(t){function e(i){var o=t.call(this,i.getMessagePackageName(),i.getCloverTransport(),i.getApplicationId())||this;return o.logger=d.Logger.create(),o.messageParser=r.RemoteMessageParser.getDefaultInstance(),o._remoteMessageVersion=e.DEFAULT_REMOTE_MESSAGE_VERSION,o.msgIdToTask={},o.heartbeatTimer=null,o.heartbeatResponseTimer=null,o.reconnectTimer=null,o.reconnecting=!1,o.heartbeatIntervalInMillis=null,o.heartbeatDisconnectTimeoutInMillis=null,o.cloverDeviceConfiguration=i,o.imageUtil=i.getImageUtil(),o.maxMessageSizeInChars=Math.max(1e3,i.getMaxMessageCharacters()),o.transport.subscribe(o),o.transport.setObjectMessageSender(o),o.reconnectDelayInMillis=o.cloverDeviceConfiguration.getReconnectDelay?o.cloverDeviceConfiguration.getReconnectDelay():-1,o.heartbeatIntervalInMillis=o.cloverDeviceConfiguration.getHeartbeatInterval?o.cloverDeviceConfiguration.getHeartbeatInterval():-1,o.heartbeatDisconnectTimeoutInMillis=o.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout?o.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout():-1,o.forceConnect=o.cloverDeviceConfiguration.getForceConnect?o.cloverDeviceConfiguration.getForceConnect():-1,o}return n(e,t),e.prototype.onDeviceConnected=function(t){this.onConnected(t)},e.prototype.onConnected=function(t){var i=this;setTimeout((function(){return i.initiateHeartbeat()}),e.INITIAL_HEARTBEAT_DELAY),this.notifyObserversConnected(t)},e.prototype.onConnectionAttemptComplete=function(t){this.reconnecting=!1},e.prototype.onDeviceReady=function(t){this.onReady(t)},e.prototype.onReady=function(t){this.doDiscoveryRequest()},e.prototype.initiateHeartbeat=function(){var t=this;if(-1!==this.heartbeatIntervalInMillis){if(!this.heartbeatTimer){var e=function(){try{t.heartbeatResponseTimer?t.logger.info((new Date).toISOString()+" - A heartbeat request is already outstanding, this interval will be skipped."):(t.logger.info((new Date).toISOString()+" - Executing device heartbeat check ..."),t.sendPingToDevice(),t.heartbeatResponseTimer=setTimeout((function(){var e="Disconnecting: We have not received a heartbeat response from the device in "+t.heartbeatDisconnectTimeoutInMillis+" millis.";t.logger.warn((new Date).toISOString()+" - "+e),t.onDisconnected(t.transport,e)}),t.heartbeatDisconnectTimeoutInMillis)),t.heartbeatTimer=setTimeout(e,t.heartbeatIntervalInMillis)}catch(e){t.logger.info((new Date).toISOString()+" - Error caught executing device heartbeat checks. Message: "+e.message+".")}};e()}}else this.logger.info((new Date).toISOString()+" - Device heartbeat checks are disabled, the heartbeatInterval is set to -1.")},e.prototype.stopHeartbeat=function(){-1!==this.heartbeatIntervalInMillis&&(this.logger.info((new Date).toISOString()+" - Stopping device heartbeat checks."),clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null,this.clearHeartbeartResponseTimer())},e.prototype.clearHeartbeartResponseTimer=function(){clearTimeout(this.heartbeatResponseTimer),this.heartbeatResponseTimer=null},e.prototype.initiateReconnect=function(){var t=this;if(-1!==this.reconnectDelayInMillis){if(this.transport&&!this.transport.isShutdown()&&!this.reconnectTimer){var e=function(){try{t.transport&&!t.transport.isShutdown()&&(t.reconnecting?t.logger.debug((new Date).toISOString()+" - A reconnection attempt is already outstanding, this attempt will be skipped."):(t.logger.info((new Date).toISOString()+" - Not connected to your Clover device. Attempting to reconnect now ..."),t.transport.initialize(),t.reconnecting=!0))}catch(e){t.logger.error((new Date).toISOString()+" - An exception was caught in the reconnect loop. Message: "+e.message+".")}t.reconnectTimer=setTimeout(e,t.reconnectDelayInMillis)};e()}}else this.logger.info((new Date).toISOString()+" - Device reconnection is disabled, the reconnectDelay is set to -1.")},e.prototype.stopReconnect=function(){-1!==this.reconnectDelayInMillis&&(this.logger.info((new Date).toISOString()+" - Stopping reconnect loop."),clearTimeout(this.reconnectTimer),this.reconnectTimer=null)},e.prototype.onDeviceDisconnected=function(t,e){this.onDisconnected(t,e)},e.prototype.onDisconnected=function(t,e,i){void 0===i&&(i=!0),e&&-1!=e.indexOf(u.Constants.device_already_connected)||(this.stopHeartbeat(),this.reconnecting=!1,i&&this.initiateReconnect(),this.notifyObserversDisconnected(t,e))},e.prototype.onDeviceError=function(t){t.getCode()&&t.getCode()===s.remotepay.DeviceErrorEventCode.AccessDenied&&this.stopReconnect(),this.notifyObserversDeviceError(t)},e.prototype.getApplicationId=function(){return this.applicationId},e.prototype.handleRemoteMessagePING=function(){this.respondToDevicePing()},e.prototype.handleRemoteMessagePONG=function(){this.clearHeartbeartResponseTimer(),this.logger.debug("Received pong "+(new Date).toISOString())},Object.defineProperty(e.prototype,"remoteMessageVersion",{get:function(){return this._remoteMessageVersion},set:function(t){t>this._remoteMessageVersion&&(this._remoteMessageVersion=t)},enumerable:!1,configurable:!0}),e.prototype.handleRemoteMessageCOMMAND=function(t){this.remoteMessageVersion="function"==typeof t.getVersion?t.getVersion():e.DEFAULT_REMOTE_MESSAGE_VERSION;var i=s.remotemessage.Method[t.getMethod()];if(null==i)this.logger.error("Unsupported method type: "+t.getMethod());else{var o=this.messageParser.parseMessageFromRemoteMessageObj(t);switch(null==o&&this.logger.error("Error parsing message: "+JSON.stringify(t)),i){case s.remotemessage.Method.BREAK:break;case s.remotemessage.Method.CASHBACK_SELECTED:this.notifyObserversCashbackSelected(o);break;case s.remotemessage.Method.ACK:this.notifyObserverAck(o);break;case s.remotemessage.Method.DISCOVERY_RESPONSE:this.logger.debug("Got a Discovery Response"),this.notifyObserversReady(this.transport,o);break;case s.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE:this.notifyObserversConfirmPayment(o);break;case s.remotemessage.Method.FINISH_CANCEL:this.notifyObserversFinishCancel(o);break;case s.remotemessage.Method.FINISH_OK:this.notifyObserversFinishOk(o);break;case s.remotemessage.Method.KEY_PRESS:this.notifyObserversKeyPressed(o);break;case s.remotemessage.Method.ORDER_ACTION_RESPONSE:break;case s.remotemessage.Method.PARTIAL_AUTH:this.notifyObserversPartialAuth(o);break;case s.remotemessage.Method.VOID_PAYMENT_RESPONSE:this.notifyObserversPaymentVoided(o);break;case s.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE:this.notifyObserversPaymentRefundVoided(o);break;case s.remotemessage.Method.PAYMENT_VOIDED:break;case s.remotemessage.Method.TIP_ADDED:this.notifyObserversTipAdded(o);break;case s.remotemessage.Method.TX_START_RESPONSE:this.notifyObserverTxStart(o);break;case s.remotemessage.Method.TX_STATE:this.notifyObserversTxState(o);break;case s.remotemessage.Method.UI_STATE:this.notifyObserversUiState(o);break;case s.remotemessage.Method.VERIFY_SIGNATURE:this.notifyObserversVerifySignature(o);break;case s.remotemessage.Method.REFUND_RESPONSE:this.notifyObserversPaymentRefundResponse(o);break;case s.remotemessage.Method.REFUND_REQUEST:break;case s.remotemessage.Method.TIP_ADJUST_RESPONSE:this.notifyObserversTipAdjusted(o);break;case s.remotemessage.Method.VAULT_CARD_RESPONSE:this.notifyObserverVaultCardResponse(o);break;case s.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE:this.notifyObserversCapturePreAuth(o);break;case s.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE:this.notifyObserversIncrementPreAuth(o);break;case s.remotemessage.Method.CLOSEOUT_RESPONSE:this.notifyObserversCloseout(o);break;case s.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE:this.notifyObserversPendingPaymentsResponse(o);break;case s.remotemessage.Method.CARD_DATA_RESPONSE:this.notifyObserversReadCardData(o);break;case s.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY:this.notifyObserverActivityMessage(o);break;case s.remotemessage.Method.DISCOVERY_REQUEST:case s.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT:case s.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM:case s.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM:case s.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT:case s.remotemessage.Method.PRINT_IMAGE:case s.remotemessage.Method.PRINT_TEXT:break;case s.remotemessage.Method.PRINT_CREDIT:this.notifyObserversPrintCredit(o);break;case s.remotemessage.Method.PRINT_CREDIT_DECLINE:this.notifyObserversPrintCreditDecline(o);break;case s.remotemessage.Method.PRINT_PAYMENT:this.notifyObserversPrintPayment(o);break;case s.remotemessage.Method.PRINT_PAYMENT_DECLINE:this.notifyObserversPrintPaymentDecline(o);break;case s.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY:this.notifyObserversPrintMerchantCopy(o);break;case s.remotemessage.Method.REFUND_PRINT_PAYMENT:this.notifyObserversPrintPaymentRefund(o);break;case s.remotemessage.Method.ACTIVITY_RESPONSE:this.notifyObserversActivityResponse(o);break;case s.remotemessage.Method.REMOTE_ERROR:this.notifyObserversRemoteError(o);break;case s.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE:this.notifyObserversRetrieveDeviceStatusResponse(o);break;case s.remotemessage.Method.RESET_DEVICE_RESPONSE:this.notifyObserversResetDeviceResponse(o);break;case s.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE:this.notifyObserversRetrievePaymentResponse(o);break;case s.remotemessage.Method.GET_PRINTERS_RESPONSE:this.notifyObserversRetrievePrintersResponse(o);break;case s.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE:this.notifyObserversPrintJobStatusResponse(o);break;case s.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE:this.notifyObserversCustomerProvidedDataMessage(o);break;case s.remotemessage.Method.INVALID_STATE_TRANSITION:this.notifyObserversInvalidStateTransitionResponse(o);break;case s.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE:this.notifyObserverDisplayReceiptOptionsResponse(o);break;case s.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE:this.notifyObserverDisplayCollectedSignature(o);break;case s.remotemessage.Method.BALANCE_INQUIRY_RESPONSE:this.notifyObserverBalanceInquiryResponse(o);break;case s.remotemessage.Method.REQUEST_TIP_RESPONSE:this.notifyObserverTipResponse(o);break;case s.remotemessage.Method.SHOW_ORDER_SCREEN:case s.remotemessage.Method.SHOW_THANK_YOU_SCREEN:case s.remotemessage.Method.SHOW_WELCOME_SCREEN:case s.remotemessage.Method.SIGNATURE_VERIFIED:case s.remotemessage.Method.TERMINAL_MESSAGE:case s.remotemessage.Method.TX_START:case s.remotemessage.Method.VOID_PAYMENT:case s.remotemessage.Method.CAPTURE_PREAUTH:case s.remotemessage.Method.LAST_MSG_REQUEST:case s.remotemessage.Method.LAST_MSG_RESPONSE:case s.remotemessage.Method.TIP_ADJUST:case s.remotemessage.Method.OPEN_CASH_DRAWER:case s.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS:case s.remotemessage.Method.VAULT_CARD:case s.remotemessage.Method.CLOSEOUT_REQUEST:case s.remotemessage.Method.ACTIVITY_REQUEST:case s.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST:break;default:this.logger.error("COMMAND not supported with method: "+t.getMethod())}}},e.prototype.handleRemoteMessageQUERY=function(t){},e.prototype.handleRemoteMessageEVENT=function(t){},e.prototype.handleRemoteMessage=function(t){try{var e=t.getType();e==s.remotemessage.RemoteMessageType.PING?this.handleRemoteMessagePING():e==s.remotemessage.RemoteMessageType.PONG?this.handleRemoteMessagePONG():e==s.remotemessage.RemoteMessageType.COMMAND?this.handleRemoteMessageCOMMAND(t):e==s.remotemessage.RemoteMessageType.QUERY?this.handleRemoteMessageQUERY(t):e==s.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)}},e.prototype.onMessage=function(t){this.logger.debug("DefaultCloverDevice, handling remote message receipt. Message: "+t+".");try{if(-1===(i=t).indexOf("method")&&i.indexOf("forceConnect")>-1)return void this.logger.debug("onMessage: Received a legacy force connect message, dropping.");var e=this.messageParser.parseToRemoteMessage(t);this.handleRemoteMessage(e)}catch(t){this.logger.error(t)}var i},e.prototype.respondToDevicePing=function(){if(this.transport){var t=new s.remotemessage.RemoteMessage;t.setType(s.remotemessage.RemoteMessageType.PONG),t.setPackageName(this.packageName),t.setRemoteSourceSDK(e.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot respond to PING, the transport has been shutdown.")},e.prototype.sendPingToDevice=function(){if(this.transport){var t=new s.remotemessage.RemoteMessage;t.setType(s.remotemessage.RemoteMessageType.PING),t.setPackageName(this.packageName),t.setRemoteSourceSDK(e.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot send PING, the transport has been shutdown.")},e.prototype.notifyObserversConnected=function(t){var e=this;this.deviceObservers.forEach((function(t){t.onDeviceConnected(e)}))},e.prototype.notifyObserversDisconnected=function(t,e){var i=this;this.deviceObservers.forEach((function(t){t.onDeviceDisconnected(i,e)}))},e.prototype.notifyObserversDeviceError=function(t){this.deviceObservers.forEach((function(e){e.onDeviceError(t)}))},e.prototype.notifyObserversReady=function(t,e){var i=this;e.getReady()&&(this.stopReconnect(),this.clearHeartbeartResponseTimer(),this.initiateHeartbeat()),this.deviceObservers.forEach((function(t){t.onDeviceReady(i,e)}))},e.prototype.notifyObserverAck=function(t){var e=this.msgIdToTask[t.getSourceMessageId()];e&&(delete this.msgIdToTask[t.getSourceMessageId()],e.call(null)),this.deviceObservers.forEach((function(e){e.onMessageAck(t.getSourceMessageId())}))},e.prototype.notifyObserverActivityMessage=function(t){this.deviceObservers.forEach((function(e){e.onMessageFromActivity(t.getAction(),t.getPayload())}))},e.prototype.notifyObserversActivityResponse=function(t){this.deviceObservers.forEach((function(e){var i=-1==t.getResultCode()?s.remotemessage.ResultStatus.SUCCESS:s.remotemessage.ResultStatus.CANCEL;e.onActivityResponse(i,t.getPayload(),t.getFailReason(),t.getAction())}))},e.prototype.notifyObserversReadCardData=function(t){this.deviceObservers.forEach((function(e){e.onReadCardResponse(t.getStatus(),t.getReason(),t.getCardData())}))},e.prototype.notifyObserversRetrieveDeviceStatusResponse=function(t){this.deviceObservers.forEach((function(e){e.onDeviceStatusResponse(t)}))},e.prototype.notifyObserversRetrievePaymentResponse=function(t){this.deviceObservers.forEach((function(e){e.onRetrievePaymentResponse(t)}))},e.prototype.notifyObserversRetrievePrintersResponse=function(t){this.deviceObservers.forEach((function(e){e.onRetrievePrintersResponse(s.remotepay.ResponseCode.SUCCESS,t.getPrinters())}))},e.prototype.notifyObserversPrintJobStatusResponse=function(t){this.deviceObservers.forEach((function(e){e.onPrintJobStatusResponse(s.remotepay.ResponseCode.SUCCESS,t.getExternalPrintJobId(),t.getStatus())}))},e.prototype.notifyObserversCustomerProvidedDataMessage=function(t){this.deviceObservers.forEach((function(e){e.onCustomerProvidedDataMessage(s.remotepay.ResponseCode.SUCCESS,t.getEventId(),t.getConfig(),t.getData())}))},e.prototype.notifyObserversPrintCredit=function(t){this.deviceObservers.forEach((function(e){e.onPrintCredit(t.getCredit())}))},e.prototype.notifyObserversPrintCreditDecline=function(t){this.deviceObservers.forEach((function(e){e.onPrintCreditDecline(t.getCredit(),t.getReason())}))},e.prototype.notifyObserversPrintPayment=function(t){this.deviceObservers.forEach((function(e){e.onPrintPayment(t.getPayment(),t.getOrder())}))},e.prototype.notifyObserversPrintPaymentDecline=function(t){this.deviceObservers.forEach((function(e){e.onPrintPaymentDecline(t.getPayment(),t.getReason())}))},e.prototype.notifyObserversPrintMerchantCopy=function(t){this.deviceObservers.forEach((function(e){e.onPrintMerchantReceipt(t.getPayment())}))},e.prototype.notifyObserversPrintPaymentRefund=function(t){this.deviceObservers.forEach((function(e){e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))},e.prototype.notifyObserversResetDeviceResponse=function(t){this.deviceObservers.forEach((function(e){e.onResetDeviceResponse(s.remotepay.ResponseCode.SUCCESS,t.getReason(),t.getState())}))},e.prototype.notifyObserversRemoteError=function(t){this.deviceObservers.forEach((function(e){var i=new s.remotepay.CloverDeviceErrorEvent;i.setCode(s.remotepay.DeviceErrorEventCode.UnknownError),i.setMessage(JSON.stringify(t)),i.setType(s.remotepay.ErrorType.EXCEPTION),e.onDeviceError(i)}))},e.prototype.notifyObserversPaymentRefundResponse=function(t){this.deviceObservers.forEach((function(e){e.onPaymentRefundResponse(t)}))},e.prototype.notifyObserversPrintMessage=function(t){this.deviceObservers.forEach((function(e){e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))},e.prototype.notifyObserversKeyPressed=function(t){this.deviceObservers.forEach((function(e){e.onKeyPressed(t.getKeyPress())}))},e.prototype.notifyObserversCashbackSelected=function(t){this.deviceObservers.forEach((function(e){e.onCashbackSelected(t.getCashbackAmount())}))},e.prototype.notifyObserversTipAdded=function(t){this.deviceObservers.forEach((function(e){e.onTipAdded(t.getTipAmount())}))},e.prototype.notifyObserverTxStart=function(t){this.deviceObservers.forEach((function(e){e.onTxStartResponse(t)}))},e.prototype.notifyObserversTipAdjusted=function(t){this.deviceObservers.forEach((function(e){e.onAuthTipAdjusted(t)}))},e.prototype.notifyObserversPartialAuth=function(t){this.deviceObservers.forEach((function(e){e.onPartialAuth(t.getPartialAuthAmount())}))},e.prototype.notifyObserversPaymentVoided=function(t){this.deviceObservers.forEach((function(e){e.onPaymentVoided(t)}))},e.prototype.notifyObserversPaymentRefundVoided=function(t){this.deviceObservers.forEach((function(e){e.onPaymentRefundVoidResponse(t)}))},e.prototype.notifyObserversVerifySignature=function(t){this.deviceObservers.forEach((function(e){e.onVerifySignature(t.getPayment(),t.getSignature())}))},e.prototype.notifyObserversConfirmPayment=function(t){this.deviceObservers.forEach((function(e){e.onConfirmPayment(t.getPayment(),t.getChallenges())}))},e.prototype.notifyObserverVaultCardResponse=function(t){this.deviceObservers.forEach((function(e){e.onVaultCardResponse(t)}))},e.prototype.notifyObserversUiState=function(t){this.deviceObservers.forEach((function(e){e.onUiState(t.getUiState(),t.getUiText(),t.getUiDirection(),t.getInputOptions())}))},e.prototype.notifyObserversCapturePreAuth=function(t){this.deviceObservers.forEach((function(e){e.onCapturePreAuth(t)}))},e.prototype.notifyObserversIncrementPreAuth=function(t){this.deviceObservers.forEach((function(e){e.onIncrementPreAuthResponse(t)}))},e.prototype.notifyObserversCloseout=function(t){this.deviceObservers.forEach((function(e){e.onCloseoutResponse(t.getStatus(),t.getReason(),t.getBatch())}))},e.prototype.notifyObserversPendingPaymentsResponse=function(t){this.deviceObservers.forEach((function(e){e.onPendingPaymentsResponse(t.getStatus()==s.remotemessage.ResultStatus.SUCCESS,t.getPendingPaymentEntries())}))},e.prototype.notifyObserversTxState=function(t){this.deviceObservers.forEach((function(e){e.onTxState(t.getTxState())}))},e.prototype.notifyObserversFinishCancel=function(t){this.deviceObservers.forEach((function(e){e.onFinishCancel(t.getRequestInfo())}))},e.prototype.notifyObserversFinishOk=function(t){this.deviceObservers.forEach((function(e){t.getPayment()?e.onFinishOk(t.getPayment(),t.getSignature(),t.getRequestInfo()):t.getCredit()?e.onFinishOk(t.getCredit()):t.getRefund()&&e.onFinishOk(t.getRefund())}))},e.prototype.notifyObserverDisplayCollectedSignature=function(t){this.deviceObservers.forEach((function(e){e.onSignatureCollected(t)}))},e.prototype.notifyObserverBalanceInquiryResponse=function(t){this.deviceObservers.forEach((function(e){e.onBalanceInquiryResponse(t)}))},e.prototype.notifyObserverTipResponse=function(t){this.deviceObservers.forEach((function(e){e.onRequestTipResponse(t)}))},e.prototype.notifyObserversInvalidStateTransitionResponse=function(t){this.deviceObservers.forEach((function(e){e.onInvalidStateTransitionResponse(s.remotemessage.ResultStatus.CANCEL,t.getReason(),t.getRequestedTransition(),t.getState(),t.getData())}))},e.prototype.notifyObserverDisplayReceiptOptionsResponse=function(t){this.deviceObservers.forEach((function(e){e.onDisplayReceiptOptionsResponse(t.getStatus(),t.getReason())}))},e.prototype.doShowPaymentReceiptScreen=function(t,e){var i=new s.remotemessage.ShowPaymentReceiptOptionsMessage;i.setOrderId(t),i.setPaymentId(e),i.setVersion(2),this.sendObjectMessage(i)},e.prototype.doShowReceiptScreen=function(t,e,i,o,n){var r=new s.remotemessage.ShowReceiptOptionsMessage;r.setOrderId(t),r.setPaymentId(e),r.setRefundId(i),r.setCreditId(o),r.setDisableCloverPrinting(n),this.sendObjectMessage(r)},e.prototype.doKeyPress=function(t){var e=new s.remotemessage.KeyPressMessage;e.setKeyPress(t),this.sendObjectMessage(e)},e.prototype.doShowThankYouScreen=function(){var t=new s.remotemessage.ThankYouMessage;this.sendObjectMessage(t)},e.prototype.doShowWelcomeScreen=function(){var t=new s.remotemessage.WelcomeMessage;this.sendObjectMessage(t)},e.prototype.doSignatureVerified=function(t,e){var i=new s.remotemessage.SignatureVerifiedMessage;i.setPayment(t),i.setVerified(e),this.sendObjectMessage(i)},e.prototype.doRetrievePendingPayments=function(){var t=new s.remotemessage.RetrievePendingPaymentsMessage;this.sendObjectMessage(t)},e.prototype.doTerminalMessage=function(t){var e=new s.remotemessage.TerminalMessage;e.setText(t),this.sendObjectMessage(e)},e.prototype.doSendDebugLog=function(t){var e=new s.remotemessage.CloverDeviceLogMessage;e.setMessage(t),this.sendObjectMessage(e)},e.prototype.doOpenCashDrawer=function(t,e){var i=new s.remotemessage.OpenCashDrawerMessage;if(i.setReason(t),e){var o=new s.printer.Printer;o.setId(e),i.setPrinter(o)}this.sendObjectMessage(i)},e.prototype.doCloseout=function(t,e){var i=new s.remotemessage.CloseoutRequestMessage;i.setAllowOpenTabs(t),i.setBatchId(e),this.sendObjectMessage(i)},e.prototype.doTxStart=function(t,e,i){var o=new s.remotemessage.TxStartRequestMessage;o.setPayIntent(t),o.setOrder(e),o.setRequestInfo(i),o.setVersion(2),this.sendObjectMessage(o)},e.prototype.doTipAdjustAuth=function(t,e,i){var o=new s.remotemessage.TipAdjustMessage;o.setOrderId(t),o.setPaymentId(e),o.setTipAmount(i),this.sendObjectMessage(o)},e.prototype.doReadCardData=function(t){var e=new s.remotemessage.CardDataRequestMessage;e.setPayIntent(t),this.sendObjectMessage(e)},e.prototype.doSendMessageToActivity=function(t,e){var i=new s.remotemessage.ActivityMessageToActivity;i.setAction(t),i.setPayload(e),this.sendObjectMessage(i)},e.prototype.doPrintText=function(t,e,i){var o=new s.remotemessage.TextPrintMessage;if(o.setTextLines(t),e&&o.setExternalPrintJobId(e),i){var n=new s.printer.Printer;n.setId(i),o.setPrinter(n)}this.sendObjectMessage(o)},e.prototype.doPrintImageObject=function(t,i,o){var n=this,r=new s.remotemessage.ImagePrintMessage;this.imageUtil.getBase64Image(t,(function(t){if(r.setPng(t),i&&r.setExternalPrintJobId(i),o){var a=new s.printer.Printer;a.setId(o),r.setPrinter(a)}if(n.isFragmentationSupported()){var l=r.getPng();r.setPng(null),n.sendObjectMessage(r,l,e.BASE64)}else n.sendObjectMessage(r)}))},e.prototype.doPrintImageUrl=function(t,e,i){var o=this;this.imageUtil.loadImageFromURL(t,(function(t){o.doPrintImageObject(t,e,i)}),(function(t){var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.UnknownError),e.setMessage(t),e.setType(s.remotepay.ErrorType.EXCEPTION),o.notifyObserversDeviceError(e)}))},e.prototype.doStartActivity=function(t,e,i){var o=new s.remotemessage.ActivityRequest;o.setAction(t),o.setPayload(e),o.setNonBlocking(i),o.setForceLaunch(!1),this.sendObjectMessage(o)},e.prototype.doVoidPayment=function(t,e,i,o){var n=this,r=new s.remotemessage.VoidPaymentMessage;r.setPayment(t),r.setVoidReason(e),r.setDisableCloverPrinting(i),r.setDisableReceiptSelection(o),this.getSupportsVoidPaymentResponse()&&r.setVersion(3);var a=this.buildRemoteMessageToSend(r),l=a.getId();if(this.getSupportsVoidPaymentResponse())this.sendRemoteMessage(a);else{var u=new _;u.setPayment(t),u.setVoidReason(e),u.setStatus(s.remotemessage.ResultStatus.SUCCESS),this.getSupportsAck()?(this.addTaskForAck(l,(function(){n.notifyObserversPaymentVoided(u)})),this.sendRemoteMessage(a)):(this.sendRemoteMessage(a),this.notifyObserversPaymentVoided(u))}},e.prototype.addTaskForAck=function(t,e){this.msgIdToTask[t]=e},e.prototype.doPaymentRefund=function(t,e,i,o,n,r){var a=new s.remotemessage.RefundRequestMessage;a.setOrderId(t),a.setPaymentId(e),a.setAmount(i),a.setFullRefund(o),a.setDisableCloverPrinting(n),a.setDisableReceiptSelection(r),a.setVersion(2),this.sendObjectMessage(a)},e.prototype.doVoidPaymentRefund=function(t,e,i,o){var n=new s.remotemessage.VoidPaymentRefundMessage;n.setOrderId(t),n.setRefundId(e),n.setDisableCloverPrinting(i),n.setDisableReceiptSelection(o),n.setVersion(2),this.sendObjectMessage(n)},e.prototype.doPaymentRefundByRequest=function(t){var e=new s.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)},e.prototype.doVaultCard=function(t){var e=new s.remotemessage.VaultCardMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)},e.prototype.doCaptureAuth=function(t,e,i){var o=new s.remotemessage.CapturePreAuthMessage;o.setVersion(1),o.setPaymentId(t),o.setAmount(e),o.setTipAmount(i),this.sendObjectMessage(o)},e.prototype.doIncrementPreAuth=function(t,e){var i=new s.remotemessage.IncrementPreAuthMessage;i.setVersion(1),i.setPaymentId(t),i.setAmount(e),this.sendObjectMessage(i)},e.prototype.doAcceptPayment=function(t){var e=new s.remotemessage.PaymentConfirmedMessage;e.setPayment(t),this.sendObjectMessage(e)},e.prototype.doRejectPayment=function(t,e){var i=new s.remotemessage.PaymentRejectedMessage;i.setPayment(t),i.setReason(e.getReason()),this.sendObjectMessage(i)},e.prototype.doDiscoveryRequest=function(){var t=new s.remotemessage.DiscoveryRequestMessage;t.setSupportsOrderModification(!1),this.sendObjectMessage(t)},e.prototype.doOrderUpdate=function(t,e){var i=new s.remotemessage.OrderUpdateMessage;i.setOrder(t),e&&(e instanceof s.order.operation.DiscountsAddedOperation?i.setDiscountsAddedOperation(e):e instanceof s.order.operation.DiscountsDeletedOperation?i.setDiscountsDeletedOperation(e):e instanceof s.order.operation.LineItemsAddedOperation?i.setLineItemsAddedOperation(e):e instanceof s.order.operation.LineItemsDeletedOperation?i.setLineItemsDeletedOperation(e):e instanceof s.order.operation.OrderDeletedOperation&&i.setOrderDeletedOperation(e)),this.sendObjectMessage(i)},e.prototype.doResetDevice=function(){var t=new s.remotemessage.BreakMessage;this.sendObjectMessage(t)},e.prototype.doRetrieveDeviceStatus=function(t){var e=new s.remotemessage.RetrieveDeviceStatusRequestMessage;e.setSendLastMessage(t.getSendLastMessage()),this.sendObjectMessage(e)},e.prototype.doRetrievePayment=function(t){var e=new s.remotemessage.RetrievePaymentRequestMessage;e.setExternalPaymentId(t),this.sendObjectMessage(e)},e.prototype.doRetrievePrinters=function(t){var e=new s.remotemessage.GetPrintersRequestMessage;t&&e.setCategory(t),this.sendObjectMessage(e)},e.prototype.doRetrievePrintJobStatus=function(t){var e=new s.remotemessage.PrintJobStatusRequestMessage;e.setExternalPrintJobId(t),this.sendObjectMessage(e)},e.prototype.doRegisterForCustomerProvidedData=function(t){var e=new s.remotemessage.RegisterForCustomerProvidedDataMessage;e.setConfigurations(t),this.sendObjectMessage(e)},e.prototype.doSetCustomerInfo=function(t){var e=new s.remotemessage.CustomerInfoMessage;e.setCustomer(t),this.sendObjectMessage(e)},e.prototype.doCheckBalance=function(t){var e=new s.remotemessage.BalanceInquiryRequestMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)},e.prototype.doCollectSignature=function(t){var e=new s.remotemessage.SignatureRequestMessage;e.setAcknowledgementMessage(t),this.sendObjectMessage(e)},e.prototype.doRequestTip=function(t,e){var i=new s.remotemessage.RequestTipRequestMessage;i.setTipSuggestions(e),i.setTippableAmount(t),this.sendObjectMessage(i)},e.prototype.dispose=function(){this.deviceObservers.splice(0,this.deviceObservers.length),this.transport&&(this.transport.dispose(),this.transport=null),this.stopReconnect(),this.stopHeartbeat()},e.prototype.sendObjectMessage=function(t,e,i){return this.buildRemoteMessages(t,e,i)},e.prototype.buildBaseRemoteMessage=function(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");var i=++e.id+"";t.setMessageId(i);var o=new s.remotemessage.RemoteMessage;return o.setId(i),o.setType(s.remotemessage.RemoteMessageType.COMMAND),o.setPackageName(this.packageName),o.setMethod(t.getMethod()),o.setVersion(this.remoteMessageVersion),o.setRemoteSourceSDK(e.REMOTE_SDK),o.setRemoteApplicationID(this.applicationId),o},e.prototype.addSuppressElementsWrapper=function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e]){var i=t?t.getMetaInfo(e):null;i&&i.type==Array&&(t[e].suppressElementsWrapper=!0)}return t},e.prototype.buildRemoteMessageToSend=function(t){var i=this.buildBaseRemoteMessage(t);return t=this.addSuppressElementsWrapper(t),i.setPayload(JSON.stringify(t,e.stringifyClover)),i},e.prototype.buildRemoteMessages=function(t,i,o){var n=this.buildBaseRemoteMessage(t);t=this.addSuppressElementsWrapper(t),o&&n.setAttachmentEncoding(o);var s=JSON.stringify(t,e.stringifyClover);if(this.isFragmentationSupported())if((s?s.length:0)>this.maxMessageSizeInChars||i){if(i&&i.length>l.CloverConnector.MAX_PAYLOAD_SIZE)return this.logger.error("Error sending message - payload size is greater than the maximum allowed."),null;for(var r=0;s.length>0;)n.setLastFragment(!1),s.length<=this.maxMessageSizeInChars?(n.setPayload(s),s="",n.setLastFragment(null==i)):(n.setPayload(s.substr(0,this.maxMessageSizeInChars)),s=s.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(r++),this.sendRemoteMessage(n);if(n.setPayload(null),i)if(o==e.BASE64)for(n.setAttachmentEncoding(e.BASE64_ATTACHMENT);i.length>0;)n.setLastFragment(!1),i.length<=this.maxMessageSizeInChars?(n.setAttachment(i),i="",n.setLastFragment(!0)):(n.setAttachment(i.substr(0,this.maxMessageSizeInChars)),i=i.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(r++),this.sendRemoteMessage(n);else this.logger.error("Attachment on message, but no encoding specified. No idea how to send it.")}else s.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(s),i&&n.setAttachment(i),this.sendRemoteMessage(n);else n.setPayload(s),this.sendRemoteMessage(n);return n.getId()},e.stringifyClover=function(t,e){return Array.isArray(e)&&!e.hasOwnProperty("suppressElementsWrapper")&&"elements"!=t?{elements:e}:e},e.prototype.sendRemoteMessage=function(t){var 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)},e.prototype.isFragmentationSupported=function(){return this.remoteMessageVersion>1},e.DEFAULT_REMOTE_MESSAGE_VERSION=1,e.REMOTE_SDK=p.Version.CLOVER_CLOUD_SDK+":"+p.Version.CLOVER_CLOUD_SDK_VERSION,e.BASE64="BASE64",e.BASE64_ATTACHMENT=e.BASE64+".ATTACHMENT",e.id=0,e.INITIAL_HEARTBEAT_DELAY=15e3,e}(a.CloverDevice);e.DefaultCloverDevice=c},19930:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloudCloverDeviceConfigurationBuilder=e.WebSocketCloudCloverDeviceConfiguration=void 0;var s=i(63422),r=i(12180),a=i(5457),l=i(7271),u=i(97184),d=i(88945),p=function(t){function e(e,i,o,n,s,r,a,l,u,d,p,_,c){void 0===d&&(d=!1);var m=t.call(this,e,i,o,p,_,c)||this;return m.cloverServer=n,m.accessToken=s,m.httpSupport=r,m.merchantId=a,m.deviceId=l,m.friendlyId=u||"unknown",m.forceConnect=d,m}return n(e,t),e.prototype.getMessagePackageName=function(){return"com.clover.remote.protocol.websocket"},e.prototype.getName=function(){return"Clover Cloud WebSocket Connector"},e.prototype.getCloverDeviceType=function(){return r.WebsocketCloudCloverDevice},e.prototype.getCloverTransport=function(){return new s.WebSocketCloudCloverTransport(this.getReconnectDelay(),this.webSocketImplClass,this.cloverServer,this.merchantId,this.accessToken,this.deviceId,this.friendlyId,this.forceConnect,this.httpSupport)},e}(a.WebSocketCloverDeviceConfiguration);e.WebSocketCloudCloverDeviceConfiguration=p;var _=function(){function t(t,e,i,o){this.forceConnect=!1,this.applicationId=t,this.deviceId=e,this.merchantId=i,this.accessToken=o,this.imageUtil=new u.ImageUtil,this.httpSupport="undefined"!=typeof XMLHttpRequest?new l.HttpSupport(XMLHttpRequest):null,this.webSocketFactoryFunction=d.BrowserWebSocketImpl.createInstance,this.cloverServer="https://www.clover.com/"}return t.prototype.getApplicationId=function(){return this.applicationId},t.prototype.getDeviceId=function(){return this.deviceId},t.prototype.getMerchantId=function(){return this.merchantId},t.prototype.getAccessToken=function(){return this.accessToken},t.prototype.getCloverServer=function(){return this.cloverServer},t.prototype.setCloverServer=function(t){return this.cloverServer=t,this},t.prototype.getHttpSupport=function(){return this.httpSupport},t.prototype.setHttpSupport=function(t){return this.httpSupport=t,this},t.prototype.getWebSocketFactoryFunction=function(){return this.webSocketFactoryFunction},t.prototype.setWebSocketFactoryFunction=function(t){return this.webSocketFactoryFunction=t,this},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.setImageUtil=function(t){return this.imageUtil=t,this},t.prototype.getFriendlyId=function(){return this.friendlyId},t.prototype.setFriendlyId=function(t){return this.friendlyId=t,this},t.prototype.getForceConnect=function(){return this.forceConnect},t.prototype.setForceConnect=function(t){return this.forceConnect=t,this},t.prototype.getHeartbeatInterval=function(){return this.heartbeatInterval},t.prototype.setHeartbeatInterval=function(t){return this.heartbeatInterval=t,this},t.prototype.getHeartbeatDisconnectTimeout=function(){return this.heartbeatDisconnectTimeout},t.prototype.setHeartbeatDisconnectTimeout=function(t){return this.heartbeatDisconnectTimeout=t,this},t.prototype.getReconnectDelay=function(){return this.reconnectDelay},t.prototype.setReconnectDelay=function(t){return this.reconnectDelay=t,this},t.prototype.build=function(){return new p(this.applicationId,this.webSocketFactoryFunction,this.imageUtil,this.cloverServer,this.accessToken,this.httpSupport,this.merchantId,this.deviceId,this.friendlyId,this.forceConnect,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)},t}();e.WebSocketCloudCloverDeviceConfigurationBuilder=_},5457:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloverDeviceConfiguration=void 0;var o=i(35379),n=i(79161),s=function(){function t(t,e,i,o,s,r){this.logger=n.Logger.create(),this.maxCharInMessage=5e4,this.imageUtil=i,this.appId=t,this.webSocketImplClass=e,this.setHeartbeatInterval(o),this.setReconnectDelay(s),this.setHeartbeatDisconnectTimeout(r)}return t.prototype.getApplicationId=function(){return this.appId},t.prototype.getHeartbeatDisconnectTimeout=function(){return Math.max(t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT,this.heartbeatDisconnectTimeout)},t.prototype.setHeartbeatDisconnectTimeout=function(e){this.heartbeatDisconnectTimeout=e||t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT},t.prototype.getHeartbeatInterval=function(){return-1===this.heartbeatInterval?this.heartbeatInterval:Math.max(t.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL,this.heartbeatInterval)},t.prototype.setHeartbeatInterval=function(e){this.heartbeatInterval=e||t.DEFAULT_HEARTBEAT_INTERVAL},t.prototype.getReconnectDelay=function(){return-1===this.reconnectDelay?this.reconnectDelay:Math.max(t.DEFAULT_RECONNECT_DELAY,this.reconnectDelay)},t.prototype.setReconnectDelay=function(e){this.reconnectDelay=e||t.DEFAULT_RECONNECT_DELAY},t.prototype.getCloverDeviceType=function(){return o.DefaultCloverDevice},t.prototype.getName=function(){return"Clover WebSocket Connector"},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.getMaxMessageCharacters=function(){return this.maxCharInMessage},t.DEFAULT_RECONNECT_DELAY=3e3,t.DEFAULT_HEARTBEAT_INTERVAL=-1,t.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL=2500,t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT=3e3,t}();e.WebSocketCloverDeviceConfiguration=s},32362:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketPairedCloverDeviceConfigurationBuilder=e.WebSocketPairedCloverDeviceConfiguration=void 0;var s=i(87010),r=i(5457),a=i(97184),l=i(88945),u=function(t){function e(e,i,o,n,s,r,a,l,u,d,p,_){var c=t.call(this,i,l,u,d,p)||this;return c.uri=null,c.uri=e,c.posName=o,c.serialNumber=n,c.authToken=s,c.webSocketImplClass=l,c.onPairingCodeHandler=r,c.onPairingSuccessHandler=a,c}return n(e,t),e.prototype.getMessagePackageName=function(){return"com.clover.remote_protocol_broadcast.app"},e.prototype.getName=function(){return"Clover Secure WebSocket Connector"},e.prototype.getCloverTransport=function(){var t=new s.WebSocketPairedCloverTransport(this.uri,this.getReconnectDelay(),this.posName,this.serialNumber,this.authToken,this.webSocketImplClass);return t.setPairingDeviceConfiguration(this),t},e.prototype.setAuthToken=function(t){this.authToken=t},e.prototype.onPairingCode=function(t){this.onPairingCodeHandler(t)},e.prototype.onPairingSuccess=function(t){this.onPairingSuccessHandler(t)},e}(r.WebSocketCloverDeviceConfiguration);e.WebSocketPairedCloverDeviceConfiguration=u;var d=function(){function t(t,e,i,o,n,s,r){this.uri=null,this.applicationId=t,this.uri=e,this.posName=i,this.serialNumber=o,this.authToken=n,this.imageUtil=new a.ImageUtil,this.webSocketFactoryFunction=l.BrowserWebSocketImpl.createInstance,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}return t.prototype.getApplicationId=function(){return this.applicationId},t.prototype.getUri=function(){return this.uri},t.prototype.getSerialNumber=function(){return this.serialNumber},t.prototype.getAuthToken=function(){return this.authToken},t.prototype.getWebSocketFactoryFunction=function(){return this.webSocketFactoryFunction},t.prototype.setWebSocketFactoryFunction=function(t){return this.webSocketFactoryFunction=t,this},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.setImageUtil=function(t){return this.imageUtil=t,this},t.prototype.getPosName=function(){return this.posName},t.prototype.setPosName=function(t){return this.posName=t,this},t.prototype.getHeartbeatInterval=function(){return this.heartbeatInterval},t.prototype.setHeartbeatInterval=function(t){return this.heartbeatInterval=t,this},t.prototype.getHeartbeatDisconnectTimeout=function(){return this.heartbeatDisconnectTimeout},t.prototype.setHeartbeatDisconnectTimeout=function(t){return this.heartbeatDisconnectTimeout=t,this},t.prototype.getReconnectDelay=function(){return this.reconnectDelay},t.prototype.setReconnectDelay=function(t){return this.reconnectDelay=t,this},t.prototype.build=function(){return new u(this.uri,this.applicationId,this.posName,this.serialNumber,this.authToken,this.onPairingCodeHandler,this.onPairingSuccessHandler,this.webSocketFactoryFunction,this.imageUtil,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)},t}();e.WebSocketPairedCloverDeviceConfigurationBuilder=d},12180:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebsocketCloudCloverDevice=void 0;var s=i(61256),r=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.dispose=function(){var e=this.buildRemoteMessageToSend(new s.remotemessage.ShutDownMessage);this.sendRemoteMessage(e),t.prototype.dispose.call(this)},e.prototype.disposeWithoutMessage=function(){t.prototype.dispose.call(this)},e.prototype.handleRemoteMessageEVENT=function(t){var e=s.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{var i=this.messageParser.parseMessageFromRemoteMessageObj(t);e==s.remotemessage.Method.FORCECONNECT&&(this.logger.info("Connection was stolen! Will not attempt reconnect.",t),this.notifyObserversForceConnect(i),this.disposeWithoutMessage())}},e.prototype.notifyObserversForceConnect=function(t){var e=this;this.deviceObservers.forEach((function(i){var o=JSON.stringify(t),n=new s.remotepay.CloverDeviceErrorEvent;n.setCode(s.remotepay.DeviceErrorEventCode.Interrupted),n.setMessage(o),n.setType(s.remotepay.ErrorType.COMMUNICATION),i.onDeviceError(n),i.onDeviceDisconnected(e,o)}))},e.prototype.handleRemoteMessage=function(e){try{e.getMethod()===s.remotemessage.Method.RESET||e.getMethod()===s.remotemessage.Method.SHUTDOWN?(this.logger.info("Reset requested! Will reconnect."),this.transport.reset()):t.prototype.handleRemoteMessage.call(this,e)}catch(t){this.logger.error("Error processing message: "+e.getPayload(),t)}},e}(i(35379).DefaultCloverDevice);e.WebsocketCloudCloverDevice=r},50407:(t,e)=>{"use strict";e.k=void 0;var i=function(){function t(){}var e;return t.prototype.isSystemLimitedType=function(e){return t.VAS_TYPE===e||t.EMAIL_TYPE===e||t.PHONE_TYPE===e||t.CLEAR_TYPE===e},t.prototype.isCustomListedType=function(e){return-1!=t.dataTypes.indexOf(e)},t.prototype.isListedType=function(t){return this.isSystemLimitedType(t)||this.isCustomListedType(t)},t.prototype.addListedType=function(e){return!this.isListedType(e)&&(t.dataTypes.push(e),!0)},t.prototype.removeListedType=function(e){return!this.isListedType(e)&&(t.dataTypes.splice(t.dataTypes.indexOf(e),1),!0)},t.VAS_TYPE="VAS",t.EMAIL_TYPE="EMAIL",t.PHONE_TYPE="PHONE",t.CLEAR_TYPE="CLEAR",t.dataTypes=new Array(3),t.VAS_TYPE_KEYS=((e=function(){}).PUSH_URL="PUSH_URL",e.PROTOCOL_CONFIG="PROTOCOL_CONFIG",e.PROTOCOL_ID="PROTOCOL_ID",e.PROVIDER_PACKAGE="PROVIDER_PACKAGE",e.PUSH_TITLE="PUSH_TITLE",e.SUPPORTED_SERVICES="SUPPORTED_SERVICES",e),t}();e.k=i},3016:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverTransport=void 0;var i=function(){function t(){this.observers=[],this.ready=!1}return t.prototype.notifyDeviceConnected=function(){this.notifyConnected()},t.prototype.notifyConnected=function(){var t=this;this.observers.forEach((function(e){e.onConnected(t)}))},t.prototype.notifyDeviceReady=function(){this.notifyReady()},t.prototype.notifyReady=function(){var t=this;this.ready=!0,this.observers.forEach((function(e){e.onReady(t)}))},t.prototype.notifyDeviceDisconnected=function(){this.notifyDisconnected()},t.prototype.notifyDisconnected=function(){var t=this;this.ready=!1,this.observers.forEach((function(e){e.onDisconnected(t)}))},t.prototype.notifyConnectionAttemptComplete=function(){var t=this;this.observers.forEach((function(e){e.onConnectionAttemptComplete(t)}))},t.prototype.onMessage=function(t){this.observers.forEach((function(e){e.onMessage(t)}))},t.prototype.subscribe=function(t){var e=this;this.ready&&this.observers.forEach((function(t){t.onReady(e)})),this.observers.push(t)},t.prototype.unsubscribe=function(t){var e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)},t.prototype.clearListeners=function(){this.observers.splice(0,this.observers.length)},t.prototype.setObjectMessageSender=function(t){this.objectMessageSender=t},t}();e.CloverTransport=i},89915:(t,e)=>{},81266:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverWebSocketClient=void 0;var o=i(63340),n=i(79161),s=function(){function t(t,e,i){this.logger=n.Logger.create(),this.listener=e,this.endpoint=t,this.webSocketImplClass=i}return t.prototype.getWebSocketState=function(){return this.socket?this.socket.getReadyState():null},t.prototype.getBufferedAmount=function(){return this.socket?this.socket.getBufferedAmount():0},t.prototype.connect=function(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)}},t.prototype.close=function(t,e){this.socket.sendClose(t,e)},t.prototype.isConnecting=function(){return this.socket.getState()==o.WebSocketState.CONNECTING},t.prototype.isOpen=function(){return this.socket.isOpen()},t.prototype.isClosing=function(){return this.socket.getState()==o.WebSocketState.CLOSING},t.prototype.isClosed=function(){return this.socket.getState()==o.WebSocketState.CLOSED},t.prototype.onTextMessage=function(t,e){this.listener.onMessage(this,e)},t.prototype.onConnected=function(t){this.listener.onOpen(this)},t.prototype.onConnectError=function(t,e){var i="A websocket connection error has occurred. Details: "+(e.message||"Not available");this.logger.error(i),this.listener.connectionError(this,i)},t.prototype.onDisconnected=function(t){this.listener.onClose(this,1e3,"",!1)},t.prototype.onCloseFrame=function(t,e,i){this.listener.onClose(this,e,i,!0)},t.prototype.onError=function(t){this.logger.error("A websocket error has occurred.")},t.prototype.onPingFrame=function(t){this.socket.sendPong()},t.prototype.onSendError=function(t){this.listener.onSendError("")},t.prototype.onUnexpectedError=function(t){this.logger.error("An unexpected websocket error has occurred.")},t.prototype.send=function(t){this.socket.sendText(t)},t.prototype.clearListener=function(){this.socket.removeListener(this)},t.prototype.setNotifyClose=function(t){this.notifyClose=t},t.prototype.shouldNotifyClose=function(){return this.notifyClose},t}();e.CloverWebSocketClient=s},63422:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloudCloverTransport=void 0;var s=i(62260),r=i(36619),a=i(24362),l=i(63340),u=i(56227),d=i(61256),p=function(t){function e(e,i,o,n,s,r,a,l,u){var d=t.call(this,e,i)||this;return d.cloverServer=o,d.merchantId=n,d.accessToken=s,d.deviceId=r,d.httpSupport=u,d.friendlyId=a,d.forceConnect=l,d.initialize(),d}return n(e,t),e.prototype.initialize=function(){var t=this;this.webSocketURL&&this.webSocketURL.length>0?this.doOptionsCallToAvoid401Error(this.webSocketURL):"undefined"!=typeof window&&window.MSInputMethodContext&&document.documentMode?this.httpSupport.getData(s.Endpoints.getMerchantEndpoint(this.cloverServer,this.merchantId),(function(e){return t.obtainWebSocketUrlAndSendPushAlert()}),(function(e){t.logger.warn("IE 11 - Initial GET failed.",e)}),this.buildAuthorizationHeader(this.accessToken)):this.obtainWebSocketUrlAndSendPushAlert()},e.prototype.obtainWebSocketUrlAndSendPushAlert=function(){var t=this,e=s.Endpoints.getAlertDeviceEndpoint(this.cloverServer,this.merchantId),i=new r.DeviceContactInfo(this.deviceId.replace(/-/g,""),!0);this.httpSupport.postData(e,(function(e){return t.deviceNotificationSent(e)}),(function(e){t.connectionError(t.cloverWebSocketClient,"Error connecting to your Clover device. Details: "+e.message,null,e&&404!==e.status)}),i,this.buildAuthorizationHeader(this.accessToken))},e.prototype.deviceNotificationSent=function(t){!t.hasOwnProperty("sent")||t.sent?(this.webSocketURL=s.Endpoints.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.")},e.prototype.doOptionsCallToAvoid401Error=function(t){var e,i=this,o=t;e=o.indexOf("wss")>-1?o.replace("wss","https"):o.replace("ws","http"),this.httpSupport.options(e,(function(e,o){return i.afterOptionsCall(t,o)}),(function(e,o){return i.afterOptionsCall(t,o)}),this.buildAuthorizationHeader(this.accessToken))},e.prototype.afterOptionsCall=function(i,o){var n="";if(o&&"function"==typeof o.getResponseHeader&&(n=o.getResponseHeader(e.X_CLOVER_CONNECTED_ID)),n&&!this.forceConnect){if(this.friendlyId!=n)return void this.connectionError(this.cloverWebSocketClient,a.Constants.device_already_connected+" '"+n+"'.",d.remotepay.DeviceErrorEventCode.AccessDenied);this.logger.warn("Already connected to friendlyId '"+n+".' 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()==l.WebSocketState.OPEN?this.notifyConnectionAttemptComplete():t.prototype.initializeWithUri.call(this,i,this.accessToken)},e.prototype.buildAuthorizationHeader=function(t){return{Authorization:"Bearer "+t}},e.prototype.onOpen=function(e){this.cloverWebSocketClient==e&&(t.prototype.onOpen.call(this,e),this.notifyReady())},e.X_CLOVER_CONNECTED_ID="X-CLOVER-CONNECTED-ID",e}(u.WebSocketCloverTransport);e.WebSocketCloudCloverTransport=p},56227:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloverTransport=void 0;var s=i(61256),r=i(65245),a=i(81266),l=i(3016),u=i(79161),d=function(t){function e(e,i){var o=t.call(this)||this;o.logger=u.Logger.create(),o.reconnectDelay=3e3,o.messageQueue=new Array,o.status="Disconnected",o.shutdown=!1,o.reconnectDelay=Math.max(0,e),o.webSocketImplClass=i,o.messageParser=r.RemoteMessageParser.getDefaultInstance();var n=setInterval((function(){o.shutdown?clearInterval(n):o.sendMessageThread()}),100);return o}return n(e,t),e.prototype.reset=function(){try{this.cloverWebSocketClient.close(e.CloverWebSocketCloseCode.RESET_CLOSE_CODE.code,e.CloverWebSocketCloseCode.RESET_CLOSE_CODE.reason)}catch(t){this.logger.error("error resetting transport.",t)}},e.prototype.sendMessageThread=function(){if(this.messageQueue.length>0)if(null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.isOpen()){var 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.")},e.prototype.sendMessage=function(t){return this.shutdown?this.logger.debug("In process of shutting down, ignoring "+t):this.messageQueue.push(t),-1},e.prototype.clearWebsocket=function(){null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient=null},e.prototype.initializeWithUri=function(t,e){if(null!=this.cloverWebSocketClient){if(this.cloverWebSocketClient.isOpen()||this.cloverWebSocketClient.isConnecting())return;this.clearWebsocket()}this.cloverWebSocketClient=new a.CloverWebSocketClient(t,this,this.webSocketImplClass),this.cloverWebSocketClient.connect(e),this.logger.info("Connection attempt complete."),this.notifyConnectionAttemptComplete()},e.prototype.dispose=function(){this.shutdown=!0,this.drainQueue(),this.notifyDisconnected(),this.cloverWebSocketClient&&this.cloverWebSocketClient.close(),this.clearWebsocket()},e.prototype.drainQueue=function(){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}var 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}}},e.prototype.connectionError=function(t,e,i,o){if(void 0===o&&(o=!0),this.logger.debug("Connection error..."),this.cloverWebSocketClient==t)for(var n=0,r=this.observers;n<r.length;n++){var a=r[n];a.onDisconnected(this,e,o);var l=new s.remotepay.CloverDeviceErrorEvent;l.setType(s.remotepay.ErrorType.COMMUNICATION),l.setCode(i||s.remotepay.DeviceErrorEventCode.NotConnected),l.setCause(null),l.setMessage(e),a.onDeviceError(l)}},e.prototype.onNotResponding=function(t){if(this.logger.debug("Not Responding..."),this.cloverWebSocketClient==t)for(var e=0,i=this.observers;e<i.length;e++){var o=i[e];this.logger.debug("onNotResponding"),o.onDisconnected(this)}},e.prototype.onPingResponding=function(t){if(this.logger.debug("Ping Responding"),this.cloverWebSocketClient==t)for(var e=0,i=this.observers;e<i.length;e++){var o=i[e];this.logger.debug("onPingResponding"),o.onReady(this)}},e.prototype.onOpen=function(t){this.logger.debug("Open..."),this.cloverWebSocketClient==t&&this.notifyConnected()},e.prototype.onClose=function(t,e,i,o){if(this.logger.debug("onClose: "+i+", remote? "+o),this.cloverWebSocketClient==t){this.cloverWebSocketClient.isClosing()||(this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient.isClosed()||this.cloverWebSocketClient.close()),this.clearWebsocket();for(var n=0,s=this.observers;n<s.length;n++){var r=s[n];this.logger.debug("onClose"),r.onDisconnected(this)}}},e.prototype.onMessage=function(e,i){"string"==typeof e?t.prototype.onMessage.call(this,e):this.onMessage_cwscl(e,i)},e.prototype.isShutdown=function(){return this.shutdown},e.prototype.getSafeMessageQueue=function(){return this.messageQueue.slice()},e.prototype.onMessage_cwscl=function(t,e){if(this.cloverWebSocketClient==t)for(var i=0,o=this.observers;i<o.length;i++)o[i].onMessage(e)},e.prototype.onSendError=function(t){this.logger.error("WebSocketCloverTransport: An error occurred sending a message.")},e.METHOD="method",e.PAYLOAD="payload",e}(l.CloverTransport);e.WebSocketCloverTransport=d,function(t){var e=function(){function t(t,e){this.code=t,this.reason=e}return t.RESET_CLOSE_CODE=new t(4e3,"Reset requested"),t}();t.CloverWebSocketCloseCode=e}(d=e.WebSocketCloverTransport||(e.WebSocketCloverTransport={})),e.WebSocketCloverTransport=d},87010:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketPairedCloverTransport=void 0;var s=i(61256),r=function(t){function e(e,i,o,n,s,r){var a=t.call(this,i,r)||this;return a.isPairing=!0,a.endpoint=e,a.posName=o,a.serialNumber=n,a.authToken=s,a.initialize(),a}return n(e,t),e.prototype.initialize=function(){this.initializeWithUri(this.endpoint)},e.prototype.onOpen=function(e){this.cloverWebSocketClient==e&&(t.prototype.onOpen.call(this,e),this.sendPairRequest())},e.prototype.sendPairRequest=function(){this.isPairing=!0;var t=new s.remotemessage.PairingRequestMessage;t.setName(this.posName),t.setSerialNumber(this.serialNumber),t.setApplicationName(this.posName),t.setAuthenticationToken(this.authToken),this.objectMessageSender.sendObjectMessage(t)},e.prototype.onMessage_cwscl=function(e,i){if(this.cloverWebSocketClient==e)if(this.isPairing){var o=this.messageParser.parseToRemoteMessage(i),n=this.messageParser.parseMessageFromRemoteMessageObj(o);if(n)if(s.remotemessage.Method.PAIRING_CODE==n.getMethod()){this.logger.debug("Got PAIRING_CODE");var r=n.getPairingCode();this.pairingDeviceConfiguration.onPairingCode(r)}else if(s.remotemessage.Method.PAIRING_RESPONSE==n.getMethod()){this.logger.debug("Got PAIRING_RESPONSE");var a=n;if(s.remotemessage.PairingState.PAIRED==a.getPairingState()||s.remotemessage.PairingState.INITIAL==a.getPairingState()){this.logger.debug("Got PAIRED pair response"),this.isPairing=!1,this.authToken=a.getAuthenticationToken();try{this.pairingDeviceConfiguration.onPairingSuccess(this.authToken)}catch(t){this.logger.debug("Error:"+t)}this.notifyReady()}else s.remotemessage.PairingState.FAILED==a.getPairingState()&&(this.logger.debug("Got FAILED pair response"),this.isPairing=!0,this.sendPairRequest())}else s.remotemessage.Method.ACK==n.getMethod()&&s.remotemessage.Method.UI_STATE==n.getMethod()||this.logger.debug("Unexpected method: '"+n.getMethod()+"' while in pairing mode.");else this.logger.warn("Unrecognized message",i)}else t.prototype.onMessage_cwscl.call(this,e,i)},e.prototype.setPairingDeviceConfiguration=function(t){this.pairingDeviceConfiguration=t},e}(i(56227).WebSocketCloverTransport);e.WebSocketPairedCloverTransport=r},3261:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DebugConfig=void 0;var i=function(){function t(){}return t.loggingEnabled=!1,t}();e.DebugConfig=i},79161:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=void 0;var s=i(17187),r=i(3261),a=function(t){function e(){var e=t.call(this)||this;return e.enabled=!1,e}return n(e,t),e.create=function(){var t=new e,i="error";return t.on("log",(function(){var e=[].slice.call(arguments),o=!!(e&&e.length>0)&&e[0]===i;(o||t.enabled||r.DebugConfig.loggingEnabled)&&(console.log.apply(console,arguments),o&&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",i),t.debug=t.emit.bind(t,"log","debug"),t.enabled=!1,t},e.prototype.silly=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.verbose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e}(s.EventEmitter);e.Logger=a},24362:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Constants=void 0;var i=function(){function t(){}return t.device_already_connected="Device is already connected to",t}();e.Constants=i},36619:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeviceContactInfo=void 0;e.DeviceContactInfo=function(t,e){this.deviceId=t,this.isSilent=e}},62260:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Endpoints=void 0;var i=function(){function t(){}return t.getOAuthURL=function(e,i,o,n){var s={};s[t.DOMAIN_KEY]=e,s[t.OAUTH_CLIENT_ID_KEY]=i;var r=t.DOMAIN_PATH+t.OAUTH_PATH+t.OAUTH_CLIENT_ID_SUFFIX;return o&&(s[t.OAUTH_MERCHANT_ID_KEY]=o,r+=t.OAUTH_MERCHANT_ID_SUFFIX),n&&(s[t.OAUTH_REDIRECT_URI_KEY]=encodeURIComponent(n),r+=t.OAUTH_REDIRECT_URI_SUFFIX),t.setVariables(r,s)},t.getDeviceWebSocketEndpoint=function(e,i,o,n){var s={};s[t.WEBSOCKET_TOKEN_KEY]=e.token,s[t.DOMAIN_KEY]=e.host,s[t.WEBSOCKET_FRIENDLY_ID_KEY]=encodeURIComponent(i),s[t.WEBSOCKET_FORCE_CONNECT_KEY]=o;var r=t.DOMAIN_PATH+t.WEBSOCKET_PATH+t.WEBSOCKET_TOKEN_SUFFIX+t.WEBSOCKET_FRIENDLY_ID_SUFFIX+t.WEBSOCKET_FORCE_CONNECT_SUFFIX;return e.serverIdentifier&&(r+="&"+t.CLOUD_SERVER_IDENTIFIER_KEY+"="+e.serverIdentifier),t.setVariables(r,s)},t.getMerchantEndpoint=function(e,i){var o={};o[t.MERCHANT_V3_KEY]=i,o[t.DOMAIN_KEY]=e;var n=t.DOMAIN_PATH+t.MERCHANT_V3_PATH;return t.setVariables(n,o)},t.getDevicesEndpoint=function(e,i,o){var n={};n[t.MERCHANT_V3_KEY]=i,n[t.DOMAIN_KEY]=e;var s=t.DOMAIN_PATH+t.DEVICE_PATH;return t.setVariables(s,n)},t.getAlertDeviceEndpoint=function(e,i){var o={};o[t.MERCHANT_V3_KEY]=i,o[t.DOMAIN_KEY]=e;var n=t.DOMAIN_PATH+t.REMOTE_PAY_PATH;return t.setVariables(n,o)},t.parseQueryString=function(t){var e,i,o,n,s=t.indexOf("?"),r={};for(o=0,n=(e=(t=t.substring(s+1,t.length)).split("&")).length;o<n;o++)r[(i=e[o].split("="))[0]]=i[1];return r},t.setVariables=function(e,i){for(var o in i)if(i.hasOwnProperty(o)){var n=new RegExp(this.escapeRegExp("{"+o+"}"),"g");o===t.DOMAIN_KEY&&(i[o]=t.appendTrailingSlashToDomain(i[o])),e=e.replace(n,i[o])}return e},t.appendTrailingSlashToDomain=function(t){return t&&"/"!==t.charAt(t.length-1)?t+"/":t},t.escapeRegExp=function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},t.ACCESS_TOKEN_KEY="axsTkn",t.ACCESS_TOKEN_SUFFIX="?access_token={"+t.ACCESS_TOKEN_KEY+"}",t.CLOUD_SERVER_IDENTIFIER_KEY="server",t.ACCOUNT_V3_KEY="acntId",t.ACCOUNT_V3_PATH="v3/accounts/{"+t.ACCOUNT_V3_KEY+"}",t.DEVELOPER_V3_KEY="dId",t.DEVELOPER_V3_PATH="v3/developers/{"+t.DEVELOPER_V3_KEY+"}",t.RESELLER_V3_KEY="rId",t.RESELLER_V3_PATH="v3/resellers/{"+t.RESELLER_V3_KEY+"}",t.MERCHANT_V2_KEY="mId",t.MERCHANT_V2_PATH="v2/merchant/{"+t.MERCHANT_V2_KEY+"}",t.MERCHANT_V3_KEY="mId",t.MERCHANT_V3_PATH="v3/merchants/{"+t.MERCHANT_V3_KEY+"}",t.APPS_V3_KEY="appId",t.APPS_V3_PATH="v3/apps/{"+t.APPS_V3_KEY+"}",t.ORDER_PATH=t.MERCHANT_V3_PATH+"/orders",t.ORDER_ID_KEY="appId",t.ORDER_ID_PATH=t.ORDER_PATH+"/{"+t.ORDER_ID_KEY+"}",t.LINE_ITEM_PATH=t.ORDER_ID_PATH+"/line_items",t.LINE_ITEM_ID_KEY="lniId",t.LINE_ITEM_ID_PATH=t.LINE_ITEM_PATH+"/{"+t.LINE_ITEM_ID_KEY+"}",t.DEVICE_PATH=t.MERCHANT_V3_PATH+"/devices",t.DEVICE_ID_KEY="devId",t.DEVICE_ID_PATH=t.DEVICE_PATH+"/{"+t.DEVICE_ID_KEY+"}",t.REMOTE_PAY_PATH=t.MERCHANT_V2_PATH+"/remote_pay",t.WEBSOCKET_PATH="support/remote_pay/cs",t.WEBSOCKET_TOKEN_KEY="wsTkn",t.WEBSOCKET_TOKEN_SUFFIX="?token={"+t.WEBSOCKET_TOKEN_KEY+"}",t.WEBSOCKET_FRIENDLY_ID_KEY="wsFriendlyId",t.WEBSOCKET_FRIENDLY_ID_SUFFIX="&friendlyId={"+t.WEBSOCKET_FRIENDLY_ID_KEY+"}",t.WEBSOCKET_FORCE_CONNECT_KEY="wsForceConnect",t.WEBSOCKET_FORCE_CONNECT_SUFFIX="&forceConnect={"+t.WEBSOCKET_FORCE_CONNECT_KEY+"}",t.OAUTH_PATH="oauth/authorize?response_type=token",t.OAUTH_CLIENT_ID_KEY="client_id",t.OAUTH_CLIENT_ID_SUFFIX="&client_id={"+t.OAUTH_CLIENT_ID_KEY+"}",t.OAUTH_MERCHANT_ID_KEY="merchant_id",t.OAUTH_MERCHANT_ID_SUFFIX="&merchant_id={"+t.OAUTH_MERCHANT_ID_KEY+"}",t.OAUTH_REDIRECT_URI_KEY="redirect_uri",t.OAUTH_REDIRECT_URI_SUFFIX="&redirect_uri={"+t.OAUTH_REDIRECT_URI_KEY+"}",t.DOMAIN_KEY="server_url",t.DOMAIN_PATH="{server_url}",t}();e.Endpoints=i},7271:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpSupport=void 0;var o=i(79161),n=i(74989),s=function(){function t(t){this.logger=o.Logger.create(),this.xmlHttpImplClass=t}return t.prototype.setXmlHttpCallback=function(t,e,i,o){t.onreadystatechange=function(){if(4==t.readyState)if(200==t.status)try{if(i){var n=null;t.responseText&&""!=t.responseText&&(n=JSON.parse(t.responseText)),i(n,t)}}catch(t){this.logger.error(e,t),i&&i({})}else if(o){var s=null;try{t.responseText&&""!=t.responseText&&(s=JSON.parse(t.responseText))}catch(t){}o({message:s&&s.details||s&&s.message||"status returned was not 200",endpoint:e,status:t.status})}}.bind(this)},t.prototype.doXmlHttp=function(t,e,i,o,s){var r=new this.xmlHttpImplClass;this.setXmlHttpCallback(r,e,i,o),r.open(t,e,!0),"undefined"!=typeof navigator&&navigator.userAgent.search("Firefox")&&r.setRequestHeader("Accept","*/*"),n.addHeaders(s,r),r.send()},t.prototype.doXmlHttpSendJson=function(t,e,i,o,s,r){var a=new this.xmlHttpImplClass;if(this.setXmlHttpCallback(a,i,o,s),a.open(t,i,!0),n.addHeaders(r,a),e){a.setRequestHeader("Content-Type","application/json;charset=UTF-8");var l=JSON.stringify(e);a.send(l)}else a.send()},t.prototype.postData=function(t,e,i,o,n){this.doXmlHttpSendJson("POST",o,t,e,i,n)},t.prototype.getData=function(t,e,i,o){this.doXmlHttp("GET",t,e,i,o)},t.prototype.options=function(t,e,i,o){this.doXmlHttp("OPTIONS",t,e,i,o)},t.prototype.putData=function(t,e,i,o){this.doXmlHttpSendJson("PUT",o,t,e,i)},t.prototype.deleteData=function(t,e,i){this.doXmlHttp("DELETE",t,e,i)},t}();e.HttpSupport=s},97184:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImageUtil=void 0;var i=function(){function t(){}return t.prototype.getBase64Image=function(t,e){var 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,/,""))},t.prototype.loadImageFromURL=function(t,e,i){var o=new Image,n=function(){e&&e(o),r()},s=function(){i&&i("An Image could not be loaded. Please check that the URL ("+t+") is accessible."),r()},r=function(){o.removeEventListener("load",n),o.removeEventListener("error",s)};o.addEventListener("load",n),o.addEventListener("error",s),o.crossOrigin="Anonymous",o.src=t},t}();e.ImageUtil=i},32822:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PayIntent=void 0;var o,n,s=i(61256);o=e.PayIntent||(e.PayIntent={}),n=function(){function t(){this.isDisableCashBack=!1,this.isTesting=!1,this.isCardNotPresent=!1,this.remotePrint=!1,this.isForceSwipePinEntry=!1,this.disableRestartTransactionWhenFailed=!1,this.allowPartialAuth=!0}return t.buildTransactionSettingsFromPayIntent=function(t){var e=new s.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},t.prototype.payment=function(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},t.prototype.payIntent=function(t){return this.action=t.getAction(),this.amount=t.getAmount(),this.tippableAmount=t.getTippableAmount(),this.tipAmount=t.getTipAmount(),this.taxAmount=t.getTaxAmount(),this.orderId=t.getOrderId(),this.paymentId=t.getPaymentId(),this.employeeId=t.getEmployeeId(),this.transactionType=t.getTransactionType(),this.taxableAmountRates=t.getTaxableAmountRates(),this.serviceChargeAmount=t.getServiceChargeAmount(),this.isDisableCashBack=t.getIsDisableCashBack(),this.isTesting=t.getIsTesting(),this.cardEntryMethods=t.getCardEntryMethods(),this.voiceAuthCode=t.getVoiceAuthCode(),this.postalCode=t.getPostalCode(),this.streetAddress=t.getStreetAddress(),this.isCardNotPresent=t.getIsCardNotPresent(),this.cardDataMessage=t.getCardDataMessage(),this.remotePrint=t.getRemotePrint(),this.transactionNo=t.getTransactionNo(),this.isForceSwipePinEntry=t.getIsForceSwipePinEntry(),this.disableRestartTransactionWhenFailed=t.getDisableRestartTransactionWhenFailed(),this.externalPaymentId=t.getExternalPaymentId(),this.vaultedCard=t.getVaultedCard(),this.allowOfflinePayment=t.getAllowOfflinePayment(),this.approveOfflinePaymentWithoutPrompt=t.getApproveOfflinePaymentWithoutPrompt(),this.requiresRemoteConfirmation=t.getRequiresRemoteConfirmation(),this.applicationTracking=t.getApplicationTracking(),this.allowPartialAuth=t.getAllowPartialAuth(),this.germanInfo=t.getGermanInfo(),this.externalReferenceId=t.getExternalReferenceId(),this.passThroughValues=t.getPassThroughValues(),null!=t.getTransactionSettings()?this.transactionSettings=t.getTransactionSettings():this.transactionSettings=o.Builder.buildTransactionSettingsFromPayIntent(t),this.cashAdvanceCustomerIdentification=t.getCashAdvanceCustomerIdentification(),this},t.prototype.setAction=function(t){return this.action=t,this},t.prototype.setAmount=function(t){return this.amount=t,this},t.prototype.setTippableAmount=function(t){return this.tippableAmount=t,null!=this.transactionSettings&&this.transactionSettings.setTippableAmount(t),this},t.prototype.setTaxAmount=function(t){return this.taxAmount=t,this},t.prototype.setEmployeeId=function(t){return this.employeeId=t,this},t.prototype.setTipAmount=function(t){return this.tipAmount=t,this},t.prototype.setTransactionType=function(t){return this.transactionType=t,this},t.prototype.setCardEntryMethods=function(t){return this.cardEntryMethods=t,this},t.prototype.setCardDataMessage=function(t){return this.cardDataMessage=t,this},t.prototype.setTaxableAmountRates=function(t){return this.taxableAmountRates=t,this},t.prototype.setServiceChargeAmount=function(t){return this.serviceChargeAmount=t,this},t.prototype.setOrderId=function(t){return this.orderId=t,this},t.prototype.setPaymentId=function(t){return this.paymentId=t,this},t.prototype.setRemotePrint=function(t){return void 0===t&&(t=!1),this.remotePrint=t,null!=this.transactionSettings&&this.transactionSettings.setCloverShouldHandleReceipts(!t),this},t.prototype.setDisableCashback=function(t){return void 0===t&&(t=!1),this.isDisableCashBack=t,null!=this.transactionSettings&&this.transactionSettings.setDisableCashBack(t),this},t.prototype.setTransactionNo=function(t){return this.transactionNo=t,this},t.prototype.setForceSwipePinEntry=function(t){return void 0===t&&(t=!1),this.isForceSwipePinEntry=t,null!=this.transactionSettings&&this.transactionSettings.setForcePinEntryOnSwipe(t),this},t.prototype.setDisableRestartTransactionWhenFailed=function(t){return void 0===t&&(t=!1),this.disableRestartTransactionWhenFailed=t,null!=this.transactionSettings&&this.transactionSettings.setDisableRestartTransactionOnFailure(t),this},t.prototype.setExternalPaymentId=function(t){return this.externalPaymentId=t,this},t.prototype.setVaultedCard=function(t){return this.vaultedCard=t,this},t.prototype.setAllowOfflinePayment=function(t){return this.allowOfflinePayment=t,null!=this.transactionSettings&&this.transactionSettings.setAllowOfflinePayment(t),this},t.prototype.setAapproveOfflinePaymentWithoutPrompt=function(t){return this.approveOfflinePaymentWithoutPrompt=t,null!=this.transactionSettings&&this.transactionSettings.setApproveOfflinePaymentWithoutPrompt(t),this},t.prototype.setRequiresRemoteConfirmation=function(t){return this.requiresRemoteConfirmation=t,this},t.prototype.setApplicationTracking=function(t){return this.applicationTracking=t,this},t.prototype.setAllowPartialAuth=function(t){return void 0===t&&(t=!1),this.allowPartialAuth=t,this},t.prototype.setGermanInfo=function(t){return this.germanInfo=t,this},t.prototype.setCustomerIdentification=function(t){return this.cashAdvanceCustomerIdentification=t,this},t.prototype.setTransactionSettings=function(t){return this.transactionSettings=t,this},t.prototype.setCardNotPresent=function(t){return void 0===t&&(t=!1),this.isCardNotPresent=t,this},t.prototype.setPassThroughValues=function(t){return this.passThroughValues=t,this},t.prototype.setExternalReferenceId=function(t){return this.externalReferenceId=t,this},t.prototype.setIsPresentQrcOnly=function(t){return this.isPresentQrcOnly=t,this},t.prototype.build=function(){var t=new s.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},t}(),o.Builder=n},74989:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addHeaders=void 0,e.addHeaders=function(t,e){if(t)for(var i in t)t.hasOwnProperty(i)&&e.setRequestHeader(i,t[i])}},88945:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserWebSocketImpl=void 0;var s=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.createWebSocket=function(t,e){return new WebSocket(t,e)},e.prototype.sendPong=function(){return this},e.prototype.sendPing=function(){return this},e.createInstance=function(t){return new e(t)},e}(i(13804).CloverWebSocketInterface);e.BrowserWebSocketImpl=s},13804:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverWebSocketInterface=void 0;var o=i(63340),n=i(79161),s=function(){function t(t){this.logger=n.Logger.create(),this.endpoint=t,this.listeners=new Array}return t.prototype.connect=function(t){var e=this;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",(function(t){return e.notifyOnOpen(t)})),this.webSocket.addEventListener("message",(function(t){return e.notifyOnMessage(t)})),this.webSocket.addEventListener("close",(function(t){return e.notifyOnClose(t)})),this.webSocket.addEventListener("error",(function(t){return e.notifyOnError(t)}))),this},t.prototype.notifyOnOpen=function(t){var e=this;this.listeners.forEach((function(t){try{t.onConnected(e)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnMessage=function(t){var e=this;this.listeners.forEach((function(i){try{i.onTextMessage(e,t.data)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnError=function(t){var e=this;this.listeners.forEach((function(i){try{e.getReadyState()==o.WebSocketState.CONNECTING?i.onConnectError(e,t):e.getReadyState()==o.WebSocketState.CLOSING?i.onUnexpectedError(e,t):e.getReadyState()==o.WebSocketState.CLOSED?i.onDisconnected(e,t):e.getReadyState()==o.WebSocketState.OPEN&&i.onSendError(e,t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnClose=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCloseFrame(e,t.code,t.reason)}catch(t){e.logger.error(t)}}))},t.prototype.sendClose=function(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},t.prototype.sendText=function(t){return this.webSocket.send(t),this},t.prototype.getState=function(){return this.getReadyState()},t.prototype.isOpen=function(){return this.getReadyState()==o.WebSocketState.OPEN},t.prototype.addListener=function(t){this.listeners.push(t)},t.prototype.removeListener=function(t){var e=this.listeners.indexOf(t);return-1!==e&&(this.listeners.splice(e,1),!0)},t.prototype.getListeners=function(){return this.listeners.slice()},t.prototype.getUrl=function(){return this.webSocket.url},t.prototype.getReadyState=function(){return this.webSocket.readyState},t.prototype.getBufferedAmount=function(){return this.webSocket.hasOwnProperty("bufferedAmount")?this.webSocket.bufferedAmount:0},t.prototype.getProtocol=function(){return this.webSocket.protocol},t}();e.CloverWebSocketInterface=s},63340:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketState=void 0,(i=e.WebSocketState||(e.WebSocketState={}))[i.CONNECTING=0]="CONNECTING",i[i.OPEN=1]="OPEN",i[i.CLOSING=2]="CLOSING",i[i.CLOSED=3]="CLOSED"},88317:(t,e,i)=>{var o=i(61256),n=o.base,s=o.customers,r=o.device,a=o.hours,l=o.inventory,u=o.order,d=o.payments,p=o.printer,_=o.remotepay,c=o.remotemessage,m=o.loyalty,f=i(3738),y=i(47849).CloverConnector,h=i(18885).CloverDeviceFactory,v=i(79161).Logger,g=i(3261).DebugConfig,T=i(7271).HttpSupport,S=i(97184).ImageUtil,E=i(5457).WebSocketCloverDeviceConfiguration,I=i(32362).WebSocketPairedCloverDeviceConfiguration,R=i(32362).WebSocketPairedCloverDeviceConfigurationBuilder,C=i(19930).WebSocketCloudCloverDeviceConfiguration,A=i(19930).WebSocketCloudCloverDeviceConfigurationBuilder,N=i(3016).CloverTransport,O=i(89915).CloverTransportObserver,P=i(56227).WebSocketCloverTransport,M=i(63340).WebSocketState,D=i(13804).CloverWebSocketInterface,b=i(88945).BrowserWebSocketImpl,x=i(37365).JSONToCustomObject,L=i(17411).Version,U=i(40123).D,k=i(21537).ICloverConnectorFactory,w=i(50407).k,V=i(80664).CloverConnectorFactory,F=i(36528).CardEntryMethods;t.exports={sdk:o,base:n,customers:s,device:r,hours:a,inventory:l,order:u,payments:d,printer:p,remotepay:_,remotemessage:c,CloverID:f,DebugConfig:g,version:L.CLOVER_CLOUD_SDK_VERSION,CloverConnector:y,CloverDeviceFactory:h,CloverTransport:N,CloverTransportObserver:O,WebSocketCloverTransport:P,CloverWebSocketInterface:D,BrowserWebSocketImpl:b,JSONToCustomObject:x,ImageUtil:S,Logger:v,HttpSupport:T,WebSocketCloverDeviceConfiguration:E,WebSocketPairedCloverDeviceConfiguration:I,WebSocketPairedCloverDeviceConfigurationBuilder:R,WebSocketCloudCloverDeviceConfiguration:C,WebSocketCloudCloverDeviceConfigurationBuilder:A,WebSocketState:M,CloverConnectorFactoryBuilder:U,ICloverConnectorFactory:k,CloverConnectorFactory:V,CardEntryMethods:F,LoyaltyDataTypes:w,Version:L,loyalty:m}}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var s=e[o]={exports:{}};return t[o].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 o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};return(()=>{"use strict";i.r(o),i.d(o,{Gap:()=>ne,GapApiVersion:()=>s,GapHeader:()=>r,Method:()=>I,Platform:()=>l,StatusCode:()=>R,UserAgent:()=>a,default:()=>se});var t={};i.r(t),i.d(t,{GapError:()=>_,HttpInternalError:()=>g,HttpMaxRetriesError:()=>y,HttpRequestError:()=>f,HttpResponseError:()=>h,HttpRetryableError:()=>v,HttpThrottlingError:()=>T,MissingDataContextError:()=>c,RestResourceError:()=>S,UninitializedContextError:()=>m});var e={};i.r(e),i.d(e,{BatchHistory:()=>P,Business:()=>D,Call:()=>b,Category:()=>x,CheckIn:()=>V,CheckOut:()=>Q,Combo:()=>z,Customer:()=>X,GiftCard:()=>Z,Income:()=>tt,KeyStorage:()=>et,Order:()=>ht,Payroll:()=>Tt,Printer:()=>Et,Service:()=>It,Setting:()=>Ut,Staff:()=>Rt,Ticket:()=>At,TimeKeeping:()=>Ot,UnsubscribeContact:()=>Pt,User:()=>Mt});var n={};i.r(n),i.d(n,{CheckIn:()=>qt,Checkout:()=>ie,KeyStorage:()=>Vt});var s,r,a,l,u=i(88317);class d{constructor({cloverConfig:t,onPairingCode:e,onPairingSuccess:i}){this.cloverConnector=null,this.pendingSaleRequest=null,this.isReady=!1,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.cloverConfig=t,this.onPairingCode=e,this.onPairingSuccess=i}static createInstance(t){if(t)return new d(t);throw new Error("Missing 'options' parameters")}static getInstance(t){if(d.instance){if(t)throw Error("Instance is already instantiate with `options`")}else d.instance=d.createInstance(t);return d.instance}connect(){let t;this.cleanup(),t=this.getDeviceConfigurationForNetwork();let e={};e[u.CloverConnectorFactoryBuilder.FACTORY_VERSION]=u.CloverConnectorFactoryBuilder.VERSION_12;let i=u.CloverConnectorFactoryBuilder.createICloverConnectorFactory(e);this.cloverConnector=i.createICloverConnector(t),this.cloverConnector.addCloverConnectorListener(this.buildCloverConnectionListener()),this.cloverConnector.initializeConnection()}doSale(t){var e;this.saleResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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(u.CardEntryMethods.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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(u.CardEntryMethods.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.remotepay.VoidPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setPaymentId(t.paymentId),this.pendingSaleRequest.setVoidReason(u.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new u.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))}cleanup(){this.cloverConnector&&this.cloverConnector.dispose()}showMessage(t){var e;null===(e=this.cloverConnector)||void 0===e||e.showMessage(t)}buildCloverConnectionListener(){return Object.assign({},u.remotepay.ICloverConnectorListener.prototype,{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,t.getSuccess()){const o=t.getPayment();if(o&&o.getAmount()<i){const t=new u.remotepay.VoidPaymentRequest;t.setPaymentId(o.getId()),t.setVoidReason(u.order.VoidReason.REJECT_PARTIAL_AUTH),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(t)}else console.log(`${o.getResult()}: Payment ${o.getExternalPaymentId()} for $${o.getAmount()/100} is complete.`,t.getResult()===u.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 o=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.authResponse=t,t.getSuccess()){const n=t.getPayment(),s=new u.remotepay.TipAdjustAuthRequest;if(s.setTipAmount(0),s.setOrderId(n.getOrder().getId()),s.setPaymentId(n.getId()),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(s),n&&n.getAmount()<o){const t=new u.remotepay.VoidPaymentRequest;t.setPaymentId(n.getId()),t.setVoidReason(u.order.VoidReason.REJECT_PARTIAL_AUTH),null===(i=this.cloverConnector)||void 0===i||i.voidPayment(t)}else console.log(`${n.getResult()}: Payment ${n.getExternalPaymentId()} for $${n.getAmount()/100} is complete.`,t.getResult()===u.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,t.getSuccess()||this.resetDevice()},onVoidPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.voidPaymentResponse=t,t.getSuccess()||this.resetDevice()},onRefundPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.refundPaymentResponse=t,t.getSuccess()||this.resetDevice()},onCloseoutResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.closeoutResponse=t,t.getSuccess()||this.resetDevice()},onRetrievePaymentResponse:t=>{if(console.log({message:"onRetrievePaymentResponse",response:t}),this.pendingSaleRequest&&t.getExternalPaymentId()===this.pendingSaleRequest.getExternalId())if(t.getQueryStatus()===u.remotepay.QueryStatus.FOUND){const e=t.getPayment();console.log(`${e.getResult()}: Payment ${this.pendingSaleRequest.getExternalId()} is complete.`,e.getResult()===u.payments.Result.SUCCESS),this.pendingSaleRequest=null}else t.getQueryStatus()===u.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()===u.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 u.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 u.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},onDeviceError:function(t){console.log({message:`An error has occurred: ${t.getMessage()}`}),console.log(`An error has occurred: ${t.getMessage()}`,!1)},onDeviceDisconnected:function(){console.log({message:"You have been disconnected from the Clover device."}),console.log("The connection to your Clover Device has been dropped.",!1)}})}getDeviceConfigurationForNetwork(){return new u.WebSocketPairedCloverDeviceConfigurationBuilder(this.cloverConfig.applicationId,this.cloverConfig.endpoint,this.cloverConfig.posName,this.cloverConfig.serialNumber,this.cloverConfig.authToken,this.onPairingCode,this.onPairingSuccess).build()}resetDevice(){var t;this.pendingSaleRequest?this.checkPaymentStatus():null===(t=this.cloverConnector)||void 0===t||t.resetDevice()}checkPaymentStatus(){var t,e;if(this.pendingSaleRequest){const i=new u.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 o=new u.remotepay.RetrievePaymentRequest;o.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(o)}else console.log("There is currently no pending payment.")}}function p(t,e,i,o){return new(i||(i=Promise))((function(n,s){function r(t){try{l(o.next(t))}catch(t){s(t)}}function a(t){try{l(o.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(r,a)}l((o=o.apply(t,e||[])).next())}))}!function(t){t.V1="1.0.0"}(s||(s={})),function(t){t.GClientId="G-ClientID"}(r||(r={})),function(t){t.IOS="IOS",t.ANDROID="ANDROID",t.CHROME="CHROME",t.SAFARI="SAFARI"}(a||(a={})),function(t){t.ANDROID="Android",t.IOS="iOS",t.WEB="Web",t.WINDOW="Window"}(l||(l={})),Object.create,Object.create;class _ extends Error{constructor(...t){super(...t),Object.setPrototypeOf(this,new.target.prototype)}}class c extends _{}class m extends _{}class f extends _{}class y extends _{}class h extends _{constructor({message:t,code:e,statusText:i,body:o,headers:n}){super(t),this.response={code:e,statusText:i,body:o,headers:n}}}class v extends h{}class g extends v{}class T extends v{constructor(t){var{retryAfter:e}=t;super(function(t,e){var i={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(i[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(i[o[n]]=t[o[n]])}return i}(t,["retryAfter"])),this.response.retryAfter=e}}class S extends _{}const E={API_KEY:"",API_SECRET_KEY:"",G_CLIENTID:"",USER_AGENT:"",API_VERSION:s.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 c(`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 m("Context has not been properly initialized. Please call the .initialize() method to setup your app context object.")}};var I,R,C=i(9669),A=i.n(C);!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"}(I||(I={})),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"}(R||(R={}));class N{constructor(t,e,i,o){this.RETRY_WAIT_TIME=2e3,this.MAX_RETRY=3,this.API_VERSION=o,this.domain=t,this.axios=A().create({headers:{"G-ClientID":e,Authorization:`Bearer ${i}`}})}get(t){return p(this,void 0,void 0,(function*(){return this.request(Object.assign({method:I.Get},t))}))}post(t){return p(this,void 0,void 0,(function*(){return this.request(Object.assign({method:I.Post},t))}))}put(t){return p(this,void 0,void 0,(function*(){return this.request(Object.assign({method:I.Put},t))}))}delete(t){return p(this,void 0,void 0,(function*(){return this.request(Object.assign({method:I.Delete},t))}))}request(t){return p(this,void 0,void 0,(function*(){if(E.API_VERSION!==this.API_VERSION)throw new S(`Current Context.API_VERSION '${E.API_VERSION}' does not match resource version ${this.API_VERSION}`);const e=t.tries||this.MAX_RETRY;if(e<=0)throw new f(`Number of tries must be >= 0, got ${e}`);const i={url:`${this.domain}${this.getRequestPath(t.path)}`,params:t.query,method:t.method.toString(),data:t.data};function o(t){return p(this,void 0,void 0,(function*(){return new Promise((e=>setTimeout(e,t)))}))}let n=0;for(;n<e;)try{return yield this.doRequest(i)}catch(t){if(n++,t instanceof f){if(n<e){let e=this.RETRY_WAIT_TIME;t instanceof T&&t.response.retryAfter&&(e=1e3*t.response.retryAfter),yield o(e);continue}if(e>1)throw new y(`Exceeded maximum retry count of ${e}. Last message: ${t.message}`)}throw t}throw new _("Unexpected flow, reached maximum HTTP tries but did not throw an error")}))}getRequestPath(t){return`/${t.replace(/^\//,"")}`}doRequest(t){var e;return p(this,void 0,void 0,(function*(){try{const i=yield this.axios(t);if(i.status&&"OK"===i.data.status&&"OK"===(null===(e=i.data.result)||void 0===e?void 0:e.status))return i.data;{const t=JSON.stringify(i.data.message||i.data.result.message,null,2),e=i.headers,o=i.status,n=i.statusText;switch(!0){case i.status===R.TooManyRequests:{const s=i.headers["Retry-After"];throw new T({message:`GAP is throttling requests ${t}`,code:o,statusText:n,body:i.data,headers:e,retryAfter:s?parseFloat(s):void 0})}case i.status>=R.InternalServerError:throw new g({message:`GAP internal error ${t}`,code:o,statusText:n,body:i.data,headers:e});default:throw new h({message:`Received an error response (${i.status}${i.statusText&&""+i.statusText}) from GAP ${t}`,code:o,statusText:n,body:i.data,headers:e})}}}catch(t){throw t instanceof _?t:new f(`Failed to make GAP HTTP request: ${t.message}`)}}))}}class O{static setClient(t,e,i,o){if(!t||!e||!i)return console.error(new Error("Missing params init http_client"));this.client=new N(t,e,i,o)}}class P extends O{static getBatchHistory(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.display_date_time)&&void 0!==o?o:null,card_amount:null!==(n=null==t?void 0:t.card_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.change)&&void 0!==y?y:null,cash_discount:null!==(h=null==t?void 0:t.cash_discount)&&void 0!==h?h: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 p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.display_date_time)&&void 0!==o?o:null,card_amount:null!==(n=null==t?void 0:t.card_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.change)&&void 0!==y?y:null,cash_discount:null!==(h=null==t?void 0:t.cash_discount)&&void 0!==h?h: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 M(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.phone)&&void 0!==o?o:null,address:null!==(n=null==t?void 0:t.address)&&void 0!==n?n: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!==(u=null==t?void 0:t.logo_image)&&void 0!==u?u:null,cover_image:null!==(d=null==t?void 0:t.cover_image)&&void 0!==d?d: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}}P.API_VERSION=s.V1;class D extends O{static getBusinessInfo(t){return p(this,void 0,void 0,(function*(){return M((yield this.client.get({path:"/v1/pos/business/site/get-info",query:t})).result.data)}))}static postBusinessUpdateInfo(t){return p(this,void 0,void 0,(function*(){return M((yield this.client.post({path:"/v1/pos/business/form/update",data:t})).result.data)}))}}D.API_VERSION=s.V1;class b extends O{static sendSms(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/call/form/send-sms",data:t}),null}))}}b.API_VERSION=s.V1;class x extends O{static getCategoryListItem(t){var e;return p(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.priority)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.color_code901)&&void 0!==u?u:null,color_code902:null!==(d=null==t?void 0:t.color_code902)&&void 0!==d?d: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,o,n,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!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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 L(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.data_after_charge)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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 U(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 k(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function w(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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:L(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!==(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,created_date:null!==(K=null==t?void 0:t.created_date)&&void 0!==K?K:null,created_time:null!==(J=null==t?void 0:t.created_time)&&void 0!==J?J:null,pos_key:null!==(Q=null==t?void 0:t.pos_key)&&void 0!==Q?Q:null,pos_status:null!==(z=null==t?void 0:t.pos_status)&&void 0!==z?z:null,invoice:null!==($=null==t?void 0:t.invoice)&&void 0!==$?$:null,customer_point:null!==(X=null==t?void 0:t.customer_point)&&void 0!==X?X:null,order_discount:null!==(Z=null==t?void 0:t.order_discount)&&void 0!==Z?Z:null,checkin_services:null!==(tt=null==t?void 0:t.checkin_services)&&void 0!==tt?tt:null,checkin_staffs:null!==(et=null==t?void 0:t.checkin_staffs)&&void 0!==et?et: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,o,n,s,r,a,l,u,d,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,price:null!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(n=null==t?void 0:t.supply_share)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(d=null==t?void 0:t.commission)&&void 0!==d?d: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}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}(t))):null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(ot=null==t?void 0:t.payment_order_id)&&void 0!==ot?ot:null,order_batch:U(null==t?void 0:t.order_batch),visit_count:null!==(nt=null==t?void 0:t.visit_count)&&void 0!==nt?nt:null,refund_amount:null!==(st=null==t?void 0:t.refund_amount)&&void 0!==st?st:null,last_four:null!==(rt=null==t?void 0:t.last_four)&&void 0!==rt?rt:null,card_type:null!==(at=null==t?void 0:t.card_type)&&void 0!==at?at:null,entry_type:null!==(lt=null==t?void 0:t.entry_type)&&void 0!==lt?lt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>k(t))):null,amount_info:null!==(ut=null==t?void 0:t.amount_info)&&void 0!==ut?ut:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt: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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u:null}}(t))):null,deposit:null!==(pt=null==t?void 0:t.deposit)&&void 0!==pt?pt:null,product_subtotal:null!==(_t=null==t?void 0:t.product_subtotal)&&void 0!==_t?_t:null,service_subtotal:null!==(ct=null==t?void 0:t.service_subtotal)&&void 0!==ct?ct:null,staff_code:null!==(mt=null==t?void 0:t.staff_code)&&void 0!==mt?mt:null,appointment_id:null!==(ft=null==t?void 0:t.appointment_id)&&void 0!==ft?ft:null,checkin_number:null!==(yt=null==t?void 0:t.checkin_number)&&void 0!==yt?yt:null,in_service:null!==(ht=null==t?void 0:t.in_service)&&void 0!==ht?ht:null}}x.API_VERSION=s.V1;class V extends O{static postCheckInFormSubmit(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z;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!==(o=null==t?void 0:t.tax)&&void 0!==o?o:null,service_fee:null!==(n=null==t?void 0:t.service_fee)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_phone)&&void 0!==u?u:null,customer_email:null!==(d=null==t?void 0:t.customer_email)&&void 0!==d?d: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!==(y=null==t?void 0:t.created_at)&&void 0!==y?y:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h: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:U(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!==(w=null==t?void 0:t.last_four)&&void 0!==w?w:null,gift_card_price:null!==(V=null==t?void 0:t.gift_card_price)&&void 0!==V?V:null,pax_standalone_active:null!==(F=null==t?void 0:t.pax_standalone_active)&&void 0!==F?F:null,card_type:null!==(B=null==t?void 0:t.card_type)&&void 0!==B?B:null,entry_type:null!==(q=null==t?void 0:t.entry_type)&&void 0!==q?q:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>k(t))):null,amount_info:null!==(G=null==t?void 0:t.amount_info)&&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,external_credit_card:null!==(Y=null==t?void 0:t.external_credit_card)&&void 0!==Y?Y:null,customer_type:null!==(j=null==t?void 0:t.customer_type)&&void 0!==j?j:null,order_payment_method:null!==(W=null==t?void 0:t.order_payment_method)&&void 0!==W?W:null,deposit:null!==(K=null==t?void 0:t.deposit)&&void 0!==K?K:null,product_subtotal:null!==(J=null==t?void 0:t.product_subtotal)&&void 0!==J?J:null,service_subtotal:null!==(Q=null==t?void 0:t.service_subtotal)&&void 0!==Q?Q:null,staff_code:null!==(z=null==t?void 0:t.staff_code)&&void 0!==z?z:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInReport(t){var e;return p(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,o,n,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!==(o=null==t?void 0:t.processing)&&void 0!==o?o:null,cancelled:null!==(n=null==t?void 0:t.cancelled)&&void 0!==n?n: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 p(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 p(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/checkin/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>w(t)))}))}static getCheckInInfo(t){return p(this,void 0,void 0,(function*(){return w((yield this.client.get({path:"/v1/pos/checkin/site/info",query:t})).result.data)}))}static searchCheckIn(t){return p(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,o,n,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!==(o=null==t?void 0:t.phone)&&void 0!==o?o:null,visit_count:null!==(n=null==t?void 0:t.visit_count)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,employee_name:null!==(n=null==t?void 0:t.employee_name)&&void 0!==n?n: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 F(t){var e,i,o,n,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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 B(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 q(t){var e,i,o,n,s,r,a,l,u,d,p;return{data:(null==t?void 0:t.data)?null==t?void 0:t.data.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.value_type)&&void 0!==o?o:null,value:null!==(n=null==t?void 0:t.value)&&void 0!==n?n: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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null,is_updated:null!==(p=null==t?void 0:t.is_updated)&&void 0!==p?p:null}}function G(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.has_tax)&&void 0!==u?u:null,tax_price:null!==(d=null==t?void 0:t.tax_price)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.product_type)&&void 0!==o?o:null,product_id:null!==(n=null==t?void 0:t.product_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.quantity)&&void 0!==u?u:null,promotion_code:null!==(d=null==t?void 0:t.promotion_code)&&void 0!==d?d: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!==(y=null==t?void 0:t.total_after_discount)&&void 0!==y?y:null,detail:null!==(h=null==t?void 0:t.detail)&&void 0!==h?h: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 H(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k;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!==(o=null==t?void 0:t.last_name)&&void 0!==o?o:null,full_name:null!==(n=null==t?void 0:t.full_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.state)&&void 0!==u?u:null,country:null!==(d=null==t?void 0:t.country)&&void 0!==d?d: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!==(y=null==t?void 0:t.group_id)&&void 0!==y?y:null,note:null!==(h=null==t?void 0:t.note)&&void 0!==h?h: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!==(U=null==t?void 0:t.last_review)&&void 0!==U?U:null,review_type:null!==(k=null==t?void 0:t.review_type)&&void 0!==k?k:null}}function Y(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function j(t){var e,i,o,n,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!==(o=null==t?void 0:t.created_date)&&void 0!==o?o:null,created_time:null!==(n=null==t?void 0:t.created_time)&&void 0!==n?n: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 W(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht,vt,gt,Tt;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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_address)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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!==(y=null==t?void 0:t.promotion_code)&&void 0!==y?y:null,total_before_discount:null!==(h=null==t?void 0:t.total_before_discount)&&void 0!==h?h: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:q(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(U=null==t?void 0:t.is_waiting)&&void 0!==U?U:null,is_recheck:null!==(k=null==t?void 0:t.is_recheck)&&void 0!==k?k: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!==(j=null==t?void 0:t.ach_payment_active)&&void 0!==j?j:null,ach_payment_data:null!==(W=null==t?void 0:t.ach_payment_data)&&void 0!==W?W:null,total_cash_discount:null!==(K=null==t?void 0:t.total_cash_discount)&&void 0!==K?K:null,is_tip_on_device:null!==(J=null==t?void 0:t.is_tip_on_device)&&void 0!==J?J:null,tip_by_credit_card:null!==(Q=null==t?void 0:t.tip_by_credit_card)&&void 0!==Q?Q:null,service_fee:null!==(z=null==t?void 0:t.service_fee)&&void 0!==z?z:null,external_credit_card:null!==($=null==t?void 0:t.external_credit_card)&&void 0!==$?$:null,qr_code:null!==(X=null==t?void 0:t.qr_code)&&void 0!==X?X:null,pos_key:null!==(Z=null==t?void 0:t.pos_key)&&void 0!==Z?Z:null,pos_status:null!==(tt=null==t?void 0:t.pos_status)&&void 0!==tt?tt:null,invoice:G(null==t?void 0:t.invoice),visit_count:null!==(et=null==t?void 0:t.visit_count)&&void 0!==et?et:null,current_point:null!==(it=null==t?void 0:t.current_point)&&void 0!==it?it:null,last_visited:null!==(ot=null==t?void 0:t.last_visited)&&void 0!==ot?ot:null,customer:H(null==t?void 0:t.customer),list_promotion:null!==(nt=null==t?void 0:t.list_promotion)&&void 0!==nt?nt:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>F(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,total_value:null!==(d=null==t?void 0:t.total_value)&&void 0!==d?d: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_modifier)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d: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!==(y=null==t?void 0:t.item_type)&&void 0!==y?y:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.combo_name)&&void 0!==u?u:null,combo_id:null!==(d=null==t?void 0:t.combo_id)&&void 0!==d?d: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!==(st=null==t?void 0:t.created_date)&&void 0!==st?st:null,created_time:null!==(rt=null==t?void 0:t.created_time)&&void 0!==rt?rt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(at=null==t?void 0:t.refund_amount)&&void 0!==at?at:null,payment_payment_id:null!==(lt=null==t?void 0:t.payment_payment_id)&&void 0!==lt?lt:null,payment_order_id:null!==(ut=null==t?void 0:t.payment_order_id)&&void 0!==ut?ut: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.note)&&void 0!==o?o:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_paid)&&void 0!==u?u: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!==(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,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}(t))):null,order_batch:B(null==t?void 0:t.order_batch),last_four:null!==(dt=null==t?void 0:t.last_four)&&void 0!==dt?dt: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=>Y(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!==(yt=null==t?void 0:t.tax_product)&&void 0!==yt?yt:null,tax_service:null!==(ht=null==t?void 0:t.tax_service)&&void 0!==ht?ht: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}}function K(t){var e,i,o,n;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!==(o=null==t?void 0:t.currentPage)&&void 0!==o?o:null,perPage:null!==(n=null==t?void 0:t.perPage)&&void 0!==n?n:null}}function J(t,e){var i,o,n,s;return{data:((null===(o=null===(i=null==t?void 0:t.result)||void 0===i?void 0:i.data)||void 0===o?void 0:o.items)||[]).map((t=>e(t))),_meta:K(null===(s=null===(n=null==t?void 0:t.result)||void 0===n?void 0:n.data)||void 0===s?void 0:s._meta)}}V.API_VERSION=s.V1;class Q extends O{static postUpdateInService(t){var e;return p(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,o;return Object.assign(Object.assign({},W(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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null})}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getItemList(t){return p(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/item/site/list",query:t})}))}static getCheckOutHistoryList(t){return p(this,void 0,void 0,(function*(){return J(yield this.client.get({path:"/v1/pos/checkout/history/list",query:t}),W)}))}static getCheckOutInfo(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/info",query:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutHistoryInfo(t){return p(this,void 0,void 0,(function*(){return J(yield this.client.get({path:"/v1/pos/checkout/history/info",query:t}),j)}))}static getCheckOutBatchCloseSummary(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.cash_amount)&&void 0!==o?o:null,cash_amount_count:null!==(n=null==t?void 0:t.cash_amount_count)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,ach_amount_count:null!==(d=null==t?void 0:t.ach_amount_count)&&void 0!==d?d: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!==(y=null==t?void 0:t.discount)&&void 0!==y?y:null,redeem:null!==(h=null==t?void 0:t.redeem)&&void 0!==h?h: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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/add",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutRemoveItem(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/remove",data:t})}))}static postCheckOutSubmitOrder(t){return p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-status",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateOrderWithCreditCardPayment(t){return p(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 p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/do-auth",data:t})}))}static postCheckOutVoidPayment(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/void-payment",data:t})}))}static postCheckOutRefundPayment(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/refund-payment",data:t})}))}static postCheckOutAdjustTipPayment(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/adjust-tip",data:t})}))}static postCheckOutCloseOut(t){return p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-is-wait",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountPromotion(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/promotion",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountRedeem(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/redeem",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateTipData(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/tip/update",data:t})}))}static postCheckOutItemAdjustPrice(t){return p(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 p(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,o,n,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!==(o=null==t?void 0:t.payment_status)&&void 0!==o?o:null,payment_data:null!==(n=null==t?void 0:t.payment_data)&&void 0!==n?n: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 p(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 p(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 p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/check-customer",data:t})}))}static postAchResend(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/resend-transaction",data:t})}))}static postAchVoid(t){return p(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 p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/calculate-tax",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCalculatePayment(t){return p(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 p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,q,G,H,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht,vt,gt,Tt,St,Et,It,Rt,Ct;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,pax_standalone_active:null!==(k=null==t?void 0:t.gift_card_price)&&void 0!==k?k: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!==(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!==(j=null==t?void 0:t.service_fee)&&void 0!==j?j:null,external_credit_card:null!==(W=null==t?void 0:t.external_credit_card)&&void 0!==W?W:null,qr_code:null!==(K=null==t?void 0:t.qr_code)&&void 0!==K?K:null,in_service:null!==(J=null==t?void 0:t.in_service)&&void 0!==J?J:null,pos_key:null!==(Q=null==t?void 0:t.pos_key)&&void 0!==Q?Q:null,pos_status:null!==(z=null==t?void 0:t.pos_status)&&void 0!==z?z:null,invoice:null!==($=null==t?void 0:t.invoice)&&void 0!==$?$:null,visit_count:null!==(X=null==t?void 0:t.visit_count)&&void 0!==X?X:null,current_point:null!==(Z=null==t?void 0:t.current_point)&&void 0!==Z?Z:null,last_visited:null!==(tt=null==t?void 0:t.last_visited)&&void 0!==tt?tt:null,customer:null!==(et=null==t?void 0:t.customer)&&void 0!==et?et:null,list_promotion:null!==(it=null==t?void 0:t.list_promotion)&&void 0!==it?it:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>F(t))):null,order_discount:null!==(ot=null==t?void 0:t.order_discount)&&void 0!==ot?ot:null,order_items:null!==(nt=null==t?void 0:t.order_items)&&void 0!==nt?nt:null,created_date:null!==(st=null==t?void 0:t.created_date)&&void 0!==st?st:null,created_time:null!==(rt=null==t?void 0:t.created_time)&&void 0!==rt?rt:null,payment:null!==(at=null==t?void 0:t.payment)&&void 0!==at?at:null,refund_amount:null!==(lt=null==t?void 0:t.refund_amount)&&void 0!==lt?lt:null,payment_payment_id:null!==(ut=null==t?void 0:t.payment_payment_id)&&void 0!==ut?ut:null,payment_order_id:null!==(dt=null==t?void 0:t.payment_order_id)&&void 0!==dt?dt:null,services:null!==(pt=null==t?void 0:t.services)&&void 0!==pt?pt:null,staffs:null!==(_t=null==t?void 0:t.staffs)&&void 0!==_t?_t:null,order_batch:B(null==t?void 0:t.order_batch),last_four:null!==(ct=null==t?void 0:t.last_four)&&void 0!==ct?ct:null,customer_point:null!==(mt=null==t?void 0:t.customer_point)&&void 0!==mt?mt:null,card_type:null!==(ft=null==t?void 0:t.card_type)&&void 0!==ft?ft:null,entry_type:null!==(yt=null==t?void 0:t.entry_type)&&void 0!==yt?yt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>Y(t))):null,amount_info:null!==(ht=null==t?void 0:t.amount_info)&&void 0!==ht?ht:null,customer_type:null!==(vt=null==t?void 0:t.customer_type)&&void 0!==vt?vt:null,tax_product:null!==(gt=null==t?void 0:t.tax_product)&&void 0!==gt?gt:null,tax_service:null!==(Tt=null==t?void 0:t.tax_service)&&void 0!==Tt?Tt:null,deposit:null!==(St=null==t?void 0:t.deposit)&&void 0!==St?St:null,product_subtotal:null!==(Et=null==t?void 0:t.product_subtotal)&&void 0!==Et?Et:null,service_subtotal:null!==(It=null==t?void 0:t.service_subtotal)&&void 0!==It?It:null,checkin_number:null!==(Rt=null==t?void 0:t.checkin_number)&&void 0!==Rt?Rt:null,appointment_id:null!==(Ct=null==t?void 0:t.appointment_id)&&void 0!==Ct?Ct:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateItem(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-item",data:t});return W(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateStaff(t){var e;return p(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}))}}Q.API_VERSION=s.V1;class z extends O{static getComboSiteInfo(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/combo/site/info",query:t});return function(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g;function T(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.create_at)&&void 0!==o?o:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n: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!==(u=null==t?void 0:t.onwer_id)&&void 0!==u?u:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d: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!==(y=null==t?void 0:t.supply_share)&&void 0!==y?y:null,show_on_checkin:null!==(h=null==t?void 0:t.show_on_checkin)&&void 0!==h?h: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!==(o=null==t?void 0:t.description)&&void 0!==o?o:null,image:null!==(n=null==t?void 0:t.image)&&void 0!==n?n: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!==(u=null==t?void 0:t.prepare_duration)&&void 0!==u?u:null,nutritional_information:null!==(d=null==t?void 0:t.nutritional_information)&&void 0!==d?d: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!==(y=null==t?void 0:t.sku)&&void 0!==y?y:null,price:null!==(h=null==t?void 0:t.price)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function $(t){return{item_name:null==t?void 0:t.item_name,staff_name:null==t?void 0:t.staff_name}}z.API_VERSION=s.V1;class X extends O{static getCustomerList(t){var e,i;return p(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/customer/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.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 p(this,void 0,void 0,(function*(){return function(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o: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!==(n=null==t?void 0:t.is_send_sms)&&void 0!==n?n: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!==(u=null==t?void 0:t.phone)&&void 0!==u?u:null,full_name:null!==(d=null==t?void 0:t.full_name)&&void 0!==d?d: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 p(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,o,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,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,point_bonus:null!==(n=null==t?void 0:t.point_bonus)&&void 0!==n?n:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,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,total_after_discount:null!==(o=null==t?void 0:t.total_after_discount)&&void 0!==o?o:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>$(t))):null}}(t))):null,appointment:(null==t?void 0:t.appointment)?null==t?void 0:t.appointment.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,start_time:null!==(n=null==t?void 0:t.start_time)&&void 0!==n?n: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 p(this,void 0,void 0,(function*(){return function(t){var e,i,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,total_after_discount:null!==(o=null==t?void 0:t.total_after_discount)&&void 0!==o?o:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>$(t))):null}}((yield this.client.post({path:"/v1/pos/customer/form/update",data:t})).result.data)}))}}X.API_VERSION=s.V1;class Z extends O{static getCheckGiftCard(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.amount)&&void 0!==o?o:null,balance:null!==(n=null==t?void 0:t.balance)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_phone)&&void 0!==u?u:null,type:null!==(d=null==t?void 0:t.type)&&void 0!==d?d: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!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,order_id:null!==(h=null==t?void 0:t.order_id)&&void 0!==h?h: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 p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/reset-gift-card",data:t}),null}))}}Z.API_VERSION=s.V1;class tt extends O{static getIncomeHistory(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,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!==(n=null===(o=null==t?void 0:t.summary)||void 0===o?void 0:o.date)&&void 0!==n?n: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!==(d=null===(u=null==t?void 0:t.summary)||void 0===u?void 0:u.card_amount)&&void 0!==d?d: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!==(y=null===(f=null==t?void 0:t.summary)||void 0===f?void 0:f.giftcard_amount)&&void 0!==y?y:null,check_amount:null!==(v=null===(h=null==t?void 0:t.summary)||void 0===h?void 0:h.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!==(k=null===(U=null==t?void 0:t.summary)||void 0===U?void 0:U.cash_discount)&&void 0!==k?k: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,o,n;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!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,subtotal:null!==(n=null==t?void 0:t.subtotal)&&void 0!==n?n:null}}(t))):null}}(t)))}))}static getStaffDailyIncome(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list-income-v1",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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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!==(u=null===(l=null==t?void 0:t.income)||void 0===l?void 0:l.commission)&&void 0!==u?u:null,tip:null!==(p=null===(d=null==t?void 0:t.income)||void 0===d?void 0:d.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!==(h=null===(y=null==t?void 0:t.income)||void 0===y?void 0:y.income)&&void 0!==h?h: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)))}))}}tt.API_VERSION=s.V1;class et extends O{static getPosKeyStorage(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K;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!==(o=null==t?void 0:t.pax_standalone_active)&&void 0!==o?o:null,staff_receipt_active:null!==(n=null==t?void 0:t.staff_receipt_active)&&void 0!==n?n: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!==(u=null==t?void 0:t.is_tip_on_device)&&void 0!==u?u:null,is_print_on_clover:null!==(d=null==t?void 0:t.is_print_on_clover)&&void 0!==d?d: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!==(h=null===(y=null==t?void 0:t.mqtt)||void 0===y?void 0:y.username)&&void 0!==h?h: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!==(k=null===(U=null==t?void 0:t.service_fee)||void 0===U?void 0:U.fee)&&void 0!==k?k: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}et.API_VERSION=s.V1;var it=i(35823),ot=i.n(it);const nt=()=>({AU:"DD-MM-YYYY",US:"MM-DD-YYYY",DEFAULT:"DD-MM-YYYY"}[localStorage.getItem("country_code")||"DEFAULT"]);var st=i(27484),rt=i.n(st);function at(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k;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!==(o=null==t?void 0:t.last_name)&&void 0!==o?o:null,full_name:null!==(n=null==t?void 0:t.full_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.state)&&void 0!==u?u:null,country:null!==(d=null==t?void 0:t.country)&&void 0!==d?d: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!==(y=null==t?void 0:t.group_id)&&void 0!==y?y:null,note:null!==(h=null==t?void 0:t.note)&&void 0!==h?h: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!==(U=null==t?void 0:t.last_review)&&void 0!==U?U:null,review_type:null!==(k=null==t?void 0:t.review_type)&&void 0!==k?k:null}}function lt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,total_value:null!==(d=null==t?void 0:t.total_value)&&void 0!==d?d:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}function ut(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(n=null==t?void 0:t.supply_share)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(d=null==t?void 0:t.commission)&&void 0!==d?d:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null}}(t))):null}}function dt(t){var e,i,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}function pt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.data_after_charge)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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 _t(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.has_tax)&&void 0!==u?u:null,tax_price:null!==(d=null==t?void 0:t.tax_price)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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 ct(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function mt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 ft(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,ft,yt;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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:pt(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!==(U=null==t?void 0:t.pax_standalone_active)&&void 0!==U?U:null,ach_payment_active:null!==(k=null==t?void 0:t.ach_payment_active)&&void 0!==k?k: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:_t(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=>lt(t))):null,checkin_services:null!==(Q=null==t?void 0:t.checkin_services)&&void 0!==Q?Q:null,checkin_staffs:null!==(z=null==t?void 0:t.checkin_staffs)&&void 0!==z?z:null,services:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>ut(t))):null,staffs:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>dt(t))):null,payment_payment_id:null!==($=null==t?void 0:t.payment_payment_id)&&void 0!==$?$:null,payment_order_id:null!==(X=null==t?void 0:t.payment_order_id)&&void 0!==X?X:null,order_batch:mt(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!==(ot=null==t?void 0:t.entry_type)&&void 0!==ot?ot:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ct(t))):null,amount_info:null!==(nt=null==t?void 0:t.amount_info)&&void 0!==nt?nt: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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u: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!==(ft=null==t?void 0:t.service_subtotal)&&void 0!==ft?ft:null,staff_code:null!==(yt=null==t?void 0:t.staff_code)&&void 0!==yt?yt:null}}function yt(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,ft,yt,ht,vt,gt,Tt,St,Et;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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_address)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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!==(y=null==t?void 0:t.promotion_code)&&void 0!==y?y:null,total_before_discount:null!==(h=null==t?void 0:t.total_before_discount)&&void 0!==h?h: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:pt(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(U=null==t?void 0:t.is_waiting)&&void 0!==U?U:null,is_recheck:null!==(k=null==t?void 0:t.is_recheck)&&void 0!==k?k: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:_t(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!==(z=null==t?void 0:t.current_point)&&void 0!==z?z:null,last_visited:null!==($=null==t?void 0:t.last_visited)&&void 0!==$?$:null,customer:at(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,o,n,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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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=>lt(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_modifier)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d: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!==(y=null==t?void 0:t.item_type)&&void 0!==y?y:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.combo_name)&&void 0!==u?u:null,combo_id:null!==(d=null==t?void 0:t.combo_id)&&void 0!==d?d: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,o,n,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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(ot=null==t?void 0:t.payment_order_id)&&void 0!==ot?ot:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>ut(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>dt(t))):null,order_batch:mt(null==t?void 0:t.order_batch),last_four:null!==(nt=null==t?void 0:t.last_four)&&void 0!==nt?nt: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!==(ft=null==t?void 0:t.entry_type)&&void 0!==ft?ft:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ct(t))):null,amount_info:null!==(yt=null==t?void 0:t.amount_info)&&void 0!==yt?yt:null,customer_type:null!==(ht=null==t?void 0:t.customer_type)&&void 0!==ht?ht:null,tax_product:null!==(vt=null==t?void 0:t.tax_product)&&void 0!==vt?vt:null,tax_service:null!==(gt=null==t?void 0:t.tax_service)&&void 0!==gt?gt:null,deposit:null!==(Tt=null==t?void 0:t.deposit)&&void 0!==Tt?Tt:null,product_subtotal:null!==(St=null==t?void 0:t.product_subtotal)&&void 0!==St?St:null,service_subtotal:null!==(Et=null==t?void 0:t.service_subtotal)&&void 0!==Et?Et:null}}class ht extends O{static getOrderCheckInList(t){return p(this,void 0,void 0,(function*(){return J(yield this.client.get({path:"/v1/pos/checkin/site/dash-board-list",query:t}),ft)}))}static getReportCheckIn(t){return p(this,void 0,void 0,(function*(){return function(t){var e,i,o,n,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!==(o=null==t?void 0:t.processing)&&void 0!==o?o:null,cancelled:null!==(n=null==t?void 0:t.cancelled)&&void 0!==n?n: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 p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,quantity:null!==(n=null==t?void 0:t.quantity)&&void 0!==n?n: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!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(d=null==t?void 0:t.owner_note)&&void 0!==d?d: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!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(h=null==t?void 0:t.staff_name)&&void 0!==h?h:null,combo_id:null!==(v=null==t?void 0:t.combo_id)&&void 0!==v?v:null}}(t)))}))}static removeOrder(t){return p(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 p(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/checkin/site/export",query:t});let i=nt();return ot()(e,`export-orders-${rt()().format(i)}.xls`),null}))}static submitCheckout(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/submit",data:t});return yt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static submitPayment(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t});return yt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePaymentData(t){var e;return p(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,o,n,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!==(o=null==t?void 0:t.payment_status)&&void 0!==o?o:null,payment_data:null!==(n=null==t?void 0:t.payment_data)&&void 0!==n?n: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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/order/add-note",data:t});return yt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function vt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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!==(u=null==t?void 0:t.card_charge)&&void 0!==u?u:null,supply_share:null!==(d=null==t?void 0:t.supply_share)&&void 0!==d?d: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 gt(t){var e,i,o,n,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!==(o=null==t?void 0:t.staff_percent)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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}}ht.API_VERSION=s.V1;class Tt extends O{static getPayrollList(t){var e;return p(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,duration:null!==(n=null==t?void 0:t.duration)&&void 0!==n?n: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 p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/cashdiscount/setting/get",query:t});return gt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCashDiscountSetting(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/cashdiscount/setting/change",data:t});return gt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getIncomeDetail(t){var e;return p(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,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!==(n=null===(o=null==t?void 0:t.employee)||void 0===o?void 0:o.name)&&void 0!==n?n: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!==(d=null===(u=null==t?void 0:t.employee)||void 0===u?void 0:u.updated_at)&&void 0!==d?d: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!==(y=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==y?y:null,priority:null!==(v=null===(h=null==t?void 0:t.employee)||void 0===h?void 0:h.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!==(k=null===(U=null==t?void 0:t.employee)||void 0===U?void 0:U.approved_commission)&&void 0!==k?k: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!==($=null===(z=null==t?void 0:t.total)||void 0===z?void 0:z.cash_income)&&void 0!==$?$: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 p(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,o,n;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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>function(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y;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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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!==(u=null==t?void 0:t.card_charge)&&void 0!==u?u:null,supply_share:null!==(d=null==t?void 0:t.supply_share)&&void 0!==d?d: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!==(y=null==t?void 0:t.list_detail)&&void 0!==y?y:null}}(t))):null}}(t)))}))}static exportPayroll(t){return p(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"v1/pos/payroll/site/export-payroll",query:t}),i=nt();return ot()(e.data,`${rt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportApprovePayroll(t){return p(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/site/export-approve-payroll",query:t}),i=nt();return ot()(e.data,`${rt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportIncomeDetail(t){return p(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/staff/export-income-detail",query:t}),i=nt();return ot()(e.data,`${rt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static getSalaryChart(t){var e;return p(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:o=null,name:n=null,total_salary:s=null}=null==t?void 0:t[i];return e[i]={user_id:o,name:n,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 p(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,o,n;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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>vt(t))):null}}(t)))}))}static getPayrollDetail(t){var e;return p(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=>vt(t)))}))}}function St(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}Tt.API_VERSION=s.V1;class Et extends O{static getPrinterList(t){var e,i;return p(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/printer/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>St(t)))}))}static getPrinterDetail(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/printer/site/detail",query:t});return St(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static createPrinterInfo(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/create",data:t});return function(t){var e,i,o,n,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,printer_name:null!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePrinterInfo(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/update",data:t});return function(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Et.API_VERSION=s.V1;class It extends O{static getServiceList(t){var e;return p(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.create_at)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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!==(u=null==t?void 0:t.point_bonus)&&void 0!==u?u:null,duration:null!==(d=null==t?void 0:t.duration)&&void 0!==d?d: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)))}))}}It.API_VERSION=s.V1;class Rt extends O{static getStaffList(t){var e;return p(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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 p(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n:null,sub_total:null!==(s=null==t?void 0:t.sub_total)&&void 0!==s?s:null}}(t)))}))}}function Ct(t){var e,i,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.name)&&void 0!==u?u:null}}Rt.API_VERSION=s.V1;class At extends O{static getPosTicketTemplate(t){var e,i;return p(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/ticket/site/template",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>Ct(t)))}))}static getPosTicketInfo(t){var e;return p(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=>Ct(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 p(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=>Ct(t)))}))}static getPosTicketListBlockName(t){var e;return p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/create",data:t});return Ct(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deletePosTicketTemplate(t){return p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/update",query:t,data:t});return Ct(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static movePosSubject(t){return p(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 p(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 p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/sort-priority",data:t}),null}))}}function Nt(t){var e,i,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.staff_name)&&void 0!==o?o:null,time_in:null!==(n=null==t?void 0:t.time_in)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null}}At.API_VERSION=s.V1;class Ot extends O{static getTimeKeepingList(t){return p(this,void 0,void 0,(function*(){return J(yield this.client.get({path:"/v1/pos/timekeeping/site/list",query:t}),Nt)}))}static addTimeKeeping(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/create",data:t}),null}))}static updateTimeKeeping(t){return p(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 p(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 p(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,o,n,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!==(o=null==t?void 0:t.time_checked)&&void 0!==o?o:null,is_checked_in:null!==(n=null==t?void 0:t.is_checked_in)&&void 0!==n?n: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 p(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 p(this,void 0,void 0,(function*(){return this.client.post({path:"/v1/pos/timekeeping/form/add-checkout-time",data:t}),null}))}}Ot.API_VERSION=s.V1;class Pt extends O{}Pt.API_VERSION=s.V1;class Mt extends O{static postLogin(t){return p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/user/form/login",data:t})}))}}function Dt(t){var e,i,o,n,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!==(o=null==t?void 0:t.period)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 bt(t){var e,i,o,n,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!==(o=null==t?void 0:t.staff_percentage)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 xt(t){return null!=t?t:null}function Lt(t){var e,i,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n: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}}Mt.API_VERSION=s.V1;class Ut extends O{static getPayrollSetting(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/payroll-setting",query:t});return Dt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePayrollSetting(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-payroll",data:t});return Dt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getDiscountSetting(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/discount-setting",query:t});return bt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateDiscountSetting(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-discount",data:t});return bt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTaxSetting(t){var e;return p(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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.code)&&void 0!==o?o:null,title:null!==(n=null==t?void 0:t.title)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null}}(t)))}))}static updateTaxSetting(t){return p(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 p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-turn-value",query:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTurnValue(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-turn-value",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTip(t){var e;return p(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,o;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!==(o=null==t?void 0:t.value)&&void 0!==o?o:null}}))}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTip(t){var e;return p(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 p(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=>Lt(t)))}}(t)))}))}static createAnswer(t){var e;return p(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 p(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 Lt(t)}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static changeAnswerStatus(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/change-answer-status",data:t});return function(t){return Lt(t)}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Ut.API_VERSION=s.V1;const kt={[s.V1]:e};function wt(t){var e,i,o,n,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!==(o=null==t?void 0:t.comment)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}class Vt extends O{static getKeyStorage(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/key-storage/get",query:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListKeyStorage(t){return p(this,void 0,void 0,(function*(){return J(yield this.client.get({path:"/v1/settings/key-storage/list",query:t}),wt)}))}static addKeyStorage(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/add",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateKeyStorage(t){var e;return p(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/update",data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateListKeyStorage(t){return p(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 p(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/delete",data:t}),null}))}}function Ft(t){var e;return{multiple_type:null!==(e=null==t?void 0:t.multiple_type)&&void 0!==e?e:null}}function Bt(t){var e,i,o,n,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!==(o=null==t?void 0:t.ask_email)&&void 0!==o?o:null,ask_birthday:null!==(n=null==t?void 0:t.ask_birthday)&&void 0!==n?n: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:Ft(null==t?void 0:t.phone)}}Vt.API_VERSION=s.V1;class qt extends O{static getCheckInConfig(t){var e;return p(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,o,n;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!==(o=null==t?void 0:t.staff_feature)&&void 0!==o?o:null,product_feature:null!==(n=null==t?void 0:t.product_feature)&&void 0!==n?n:null,check_in:Bt(null==t?void 0:t.check_in)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Gt(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 Ht(t){var e,i,o,n,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!==(o=null==t?void 0:t.city)&&void 0!==o?o:null,postal_code:null!==(n=null==t?void 0:t.postal_code)&&void 0!==n?n: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 Yt(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P;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!==(o=null==t?void 0:t.staff_code_active)&&void 0!==o?o:null,checkout_feature:null!==(n=null==t?void 0:t.checkout_feature)&&void 0!==n?n: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!==(u=null==t?void 0:t.pos_feature)&&void 0!==u?u:null,gocheckin_feature:null!==(d=null==t?void 0:t.gocheckin_feature)&&void 0!==d?d: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!==(y=null==t?void 0:t.passcode)&&void 0!==y?y:null,passcode_active:null!==(h=null==t?void 0:t.passcode_active)&&void 0!==h?h: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:jt(null==t?void 0:t.squareup_feature),check_in:Wt(null==t?void 0:t.check_in),check_out:Qt(null==t?void 0:t.check_out),devices:zt(null==t?void 0:t.devices),language:null!==(A=null==t?void 0:t.language)&&void 0!==A?A:null,mqtt:te(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}}function jt(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 Wt(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:Kt(null==t?void 0:t.app_version),signature_active:null==t?void 0:t.signature_active}}function Kt(t){return{version:null==t?void 0:t.version,content:Jt(null==t?void 0:t.content)}}function Jt(t){var e,i,o;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!==(o=null==t?void 0:t.description)&&void 0!==o?o: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 Qt(t){return{mode_status:null==t?void 0:t.mode_status}}function zt(t){return{printer:$t(null==t?void 0:t.printer)}}function $t(t){return{selected_id:null==t?void 0:t.selected_id,options:Xt(null==t?void 0:t.options),lists:((null==t?void 0:t.lists)||[]).map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,mode:null!==(n=null==t?void 0:t.mode)&&void 0!==n?n:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,data:Zt(null==t?void 0:t.data)}}(t)))}}function Xt(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 Zt(t){var e,i,o,n,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!==(o=null==t?void 0:t.peripheralId)&&void 0!==o?o:null,characteristicUUID:null!==(n=null==t?void 0:t.characteristicUUID)&&void 0!==n?n:null,serviceUUID:null!==(s=null==t?void 0:t.serviceUUID)&&void 0!==s?s:null}}function te(t){var e,i,o;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!==(o=null==t?void 0:t.password)&&void 0!==o?o:null,config:ee(null==t?void 0:t.config)}}function ee(t){var e;return{call_feature:null!==(e=null==t?void 0:t.call_feature)&&void 0!==e?e:null}}qt.API_VERSION=s.V1;class ie extends O{static getCheckoutConfig(t){var e;return p(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:Gt(null==t?void 0:t.info),business:Ht(null==t?void 0:t.business),settings:Yt(null==t?void 0:t.settings)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}ie.API_VERSION=s.V1;const oe={[s.V1]:n},ne={Context:E,PosClientApi:class{constructor(t,e,i,o){O.setClient(t,e,i,o);const n=(t=>{if(!kt[t])throw new Error("Can't not find API of this version!");return kt[t]})(o);this.batch_history=n.BatchHistory,this.business=n.Business,this.call=n.Call,this.category=n.Category,this.check_in=n.CheckIn,this.check_out=n.CheckOut,this.combo=n.Combo,this.customer=n.Customer,this.gift_card=n.GiftCard,this.income=n.Income,this.key_storage=n.KeyStorage,this.order=n.Order,this.payroll=n.Payroll,this.printer=n.Printer,this.service=n.Service,this.staff=n.Staff,this.ticket=n.Ticket,this.time_keeping=n.TimeKeeping,this.unsubscribe_contact=n.UnsubscribeContact,this.user=n.User,this.setting=n.Setting}},SettingsApi:class{constructor(t,e,i,o){O.setClient(t,e,i,o);const n=(t=>{if(!oe[t])throw new Error("Can't not find API of this version!");return oe[t]})(o);this.keyStorage=n.KeyStorage,this.checkIn=n.CheckIn,this.checkout=n.Checkout}},Errors:t,Clover:d};window.Gap=ne;const se=ne})(),o})()));
|
|
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 o=i(64867),n=i(36026),s=i(4372),r=i(15327),a=i(94097),l=i(84109),u=i(67985),d=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,y=t.headers,h=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(m),t.signal&&t.signal.removeEventListener("abort",m)}o.isFormData(f)&&o.isStandardBrowserEnv()&&delete y["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var T=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";y.Authorization="Basic "+btoa(T+":"+S)}var E=a(t.baseURL,t.url);function I(){if(g){var o="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,s={data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:o,config:t,request:g};n((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",o=t.transitional||d;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(new p(e,o.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,t,g)),g=null},o.isStandardBrowserEnv()){var R=(t.withCredentials||u(E))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;R&&(y[t.xsrfHeaderName]=R)}"setRequestHeader"in g&&o.forEach(y,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete y[e]:g.setRequestHeader(e,t)})),o.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),h&&"json"!==h&&(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 o=i(64867),n=i(91849),s=i(30321),r=i(47185),a=function t(e){var i=new s(e),a=n(s.prototype.request,i);return o.extend(a,s.prototype,i),o.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 o=i(60644);function n(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,o=i._listeners.length;for(e=0;e<o;e++)i._listeners[e](t);i._listeners=null}})),this.promise.then=function(t){var e,o=new Promise((function(t){i.subscribe(t),e=t})).then(t);return o.cancel=function(){i.unsubscribe(e)},o},t((function(t){i.reason||(i.reason=new o(t),e(i.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},n.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},n.source=function(){var t;return{token:new n((function(e){t=e})),cancel:t}},t.exports=n},60644:(t,e,i)=>{"use strict";var o=i(82648);function n(t){o.call(this,null==t?"canceled":t,o.ERR_CANCELED),this.name="CanceledError"}i(64867).inherits(n,o,{__CANCEL__:!0}),t.exports=n},26502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:(t,e,i)=>{"use strict";var o=i(64867),n=i(15327),s=i(80782),r=i(13572),a=i(47185),l=i(94097),u=i(54875),d=u.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&&u.assertOptions(i,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var o=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!n){var p=[r,void 0];for(Array.prototype.unshift.apply(p,o),p=p.concat(l),s=Promise.resolve(e);p.length;)s=s.then(p.shift(),p.shift());return s}for(var _=e;o.length;){var c=o.shift(),m=o.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 n(e,t.params,t.paramsSerializer)},o.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}))}})),o.forEach(["post","put","patch"],(function(t){function e(e){return function(i,o,n){return this.request(a(n||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}p.prototype[t]=e(),p.prototype[t+"Form"]=e(!0)})),t.exports=p},82648:(t,e,i)=>{"use strict";var o=i(64867);function n(t,e,i,o,n){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),o&&(this.request=o),n&&(this.response=n)}o.inherits(n,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=n.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(n,r),Object.defineProperty(s,"isAxiosError",{value:!0}),n.from=function(t,e,i,r,a,l){var u=Object.create(s);return o.toFlatObject(t,u,(function(t){return t!==Error.prototype})),n.call(u,t.message,e,i,r,a),u.name=t.name,l&&Object.assign(u,l),u},t.exports=n},80782:(t,e,i)=>{"use strict";var o=i(64867);function n(){this.handlers=[]}n.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},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=n},94097:(t,e,i)=>{"use strict";var o=i(91793),n=i(7303);t.exports=function(t,e){return t&&!o(e)?n(t,e):e}},13572:(t,e,i)=>{"use strict";var o=i(64867),n=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=n.call(t,t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.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=n.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(l(t),e&&e.response&&(e.response.data=n.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},47185:(t,e,i)=>{"use strict";var o=i(64867);t.exports=function(t,e){e=e||{};var i={};function n(t,e){return o.isPlainObject(t)&&o.isPlainObject(e)?o.merge(t,e):o.isPlainObject(e)?o.merge({},e):o.isArray(e)?e.slice():e}function s(i){return o.isUndefined(e[i])?o.isUndefined(t[i])?void 0:n(void 0,t[i]):n(t[i],e[i])}function r(t){if(!o.isUndefined(e[t]))return n(void 0,e[t])}function a(i){return o.isUndefined(e[i])?o.isUndefined(t[i])?void 0:n(void 0,t[i]):n(void 0,e[i])}function l(i){return i in e?n(t[i],e[i]):i in t?n(void 0,t[i]):void 0}var u={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 o.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||s,n=e(t);o.isUndefined(n)&&e!==l||(i[t]=n)})),i}},36026:(t,e,i)=>{"use strict";var o=i(82648);t.exports=function(t,e,i){var n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(new o("Request failed with status code "+i.status,[o.ERR_BAD_REQUEST,o.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}},18527:(t,e,i)=>{"use strict";var o=i(64867),n=i(45546);t.exports=function(t,e,i){var s=this||n;return o.forEach(i,(function(i){t=i.call(s,t,e)})),t}},45546:(t,e,i)=>{"use strict";var o=i(64867),n=i(16016),s=i(82648),r=i(77874),a=i(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var d,p={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=i(55448)),d),transformRequest:[function(t,e){if(n(e,"Accept"),n(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t))return t;if(o.isArrayBufferView(t))return t.buffer;if(o.isURLSearchParams(t))return u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=o.isObject(t),r=e&&e["Content-Type"];if((i=o.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?(u(e,"application/json"),function(t,e,i){if(o.isString(t))try{return(0,JSON.parse)(t),o.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,n=e&&e.forcedJSONParsing,r=!i&&"json"===this.responseType;if(r||n&&o.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, */*"}}};o.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){p.headers[t]=o.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),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(e,i)}}},15327:(t,e,i)=>{"use strict";var o=i(64867);function n(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(o.isURLSearchParams(e))s=e.toString();else{var r=[];o.forEach(e,(function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),r.push(n(e)+"="+n(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 o=i(64867);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,i,n,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),o.isString(n)&&a.push("path="+n),o.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 o=i(64867);t.exports=function(t){return o.isObject(t)&&!0===t.isAxiosError}},67985:(t,e,i)=>{"use strict";var o=i(64867);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function n(t){var o=t;return e&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{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=n(window.location.href),function(e){var i=o.isString(e)?n(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},16016:(t,e,i)=>{"use strict";var o=i(64867);t.exports=function(t,e){o.forEach(t,(function(i,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[o])}))}},91623:t=>{t.exports=null},84109:(t,e,i)=>{"use strict";var o=i(64867),n=["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?(o.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=o.trim(t.substr(0,s)).toLowerCase(),i=o.trim(t.substr(s+1)),e){if(r[e]&&n.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 o=i(64867);t.exports=function(t,e){e=e||new FormData;var i=[];function n(t){return null===t?"":o.isDate(t)?t.toISOString():o.isArrayBuffer(t)||o.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(s,r){if(o.isPlainObject(s)||o.isArray(s)){if(-1!==i.indexOf(s))throw Error("Circular reference detected in "+r);i.push(s),o.forEach(s,(function(i,s){if(!o.isUndefined(i)){var a,l=r?r+"."+s:s;if(i&&!r&&"object"==typeof i)if(o.endsWith(s,"{}"))i=JSON.stringify(i);else if(o.endsWith(s,"[]")&&(a=o.toArray(i)))return void a.forEach((function(t){!o.isUndefined(t)&&e.append(l,n(t))}));t(i,l)}})),i.pop()}else e.append(r,n(s))}(t),e}},54875:(t,e,i)=>{"use strict";var o=i(97288).version,n=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"+o+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,o,a){if(!1===t)throw new n(s(o," has been removed"+(e?" in "+e:"")),n.ERR_DEPRECATED);return e&&!r[o]&&(r[o]=!0,console.warn(s(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,o,a)}},t.exports={assertOptions:function(t,e,i){if("object"!=typeof t)throw new n("options must be an object",n.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(t),s=o.length;s-- >0;){var r=o[s],a=e[r];if(a){var l=t[r],u=void 0===l||a(l,r,t);if(!0!==u)throw new n("option "+r+" must be "+u,n.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new n("Unknown option "+r,n.ERR_BAD_OPTION)}},validators:s}},64867:(t,e,i)=>{"use strict";var o,n=i(91849),s=Object.prototype.toString,r=(o=Object.create(null),function(t){var e=s.call(t);return o[e]||(o[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 u(t){return void 0===t}var d=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"),y=a("FileList");function h(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,o=t.length;i<o;i++)e.call(null,t[i],i,t);else for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(null,t[n],n,t)}var T,S=(T="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return T&&t instanceof T});t.exports={isArray:l,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(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||h(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:p,isPlainObject:_,isUndefined:u,isDate:c,isFile:m,isBlob:f,isFunction:h,isStream:function(t){return p(t)&&h(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,o){_(e[o])&&_(i)?e[o]=t(e[o],i):_(i)?e[o]=t({},i):l(i)?e[o]=i.slice():e[o]=i}for(var o=0,n=arguments.length;o<n;o++)g(arguments[o],i);return e},extend:function(t,e,i){return g(e,(function(e,o){t[o]=i&&"function"==typeof e?n(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,o){t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,i&&Object.assign(t.prototype,i)},toFlatObject:function(t,e,i){var o,n,s,r={};e=e||{};do{for(n=(o=Object.getOwnPropertyNames(t)).length;n-- >0;)r[s=o[n]]||(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 o=t.indexOf(e,i);return-1!==o&&o===i},toArray:function(t){if(!t)return null;var e=t.length;if(u(e))return null;for(var i=new Array(e);e-- >0;)i[e]=t[e];return i},isTypedArray:S,isFileList:y}},27484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",o="second",n="minute",s="hour",r="day",a="week",l="month",u="quarter",d="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("_")},y=function(t,e,i){var o=String(t);return!o||o.length>=e?t:""+Array(e+1-o.length).join(i)+t},h={s:y,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),o=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+y(o,2,"0")+":"+y(n,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var o=12*(i.year()-e.year())+(i.month()-e.month()),n=e.clone().add(o,l),s=i-n<0,r=e.clone().add(o+(s?-1:1),l);return+(-(o+(i-n)/(s?n-r:r-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:d,w:a,d:r,D:p,h:s,m:n,s:o,ms:i,Q:u}[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,o){var n;if(!e)return v;if("string"==typeof e){var s=e.toLowerCase();g[s]&&(n=s),i&&(g[s]=i,n=s);var r=e.split("-");if(!n&&r.length>1)return t(r[0])}else{var a=e.name;g[a]=e,n=a}return!o&&n&&(v=n),n||!o&&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=h;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 y=f.prototype;return y.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 o=e.match(c);if(o){var n=o[2]-1||0,s=(o[7]||"0").substring(0,3);return i?new Date(Date.UTC(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,s)):new Date(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},y.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()},y.$utils=function(){return I},y.isValid=function(){return!(this.$d.toString()===_)},y.isSame=function(t,e){var i=E(t);return this.startOf(e)<=i&&i<=this.endOf(e)},y.isAfter=function(t,e){return E(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<E(t)},y.$g=function(t,e,i){return I.u(t)?this[e]:this.set(i,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var i=this,u=!!I.u(e)||e,_=I.p(t),c=function(t,e){var o=I.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return u?o:o.endOf(r)},m=function(t,e){return I.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},f=this.$W,y=this.$M,h=this.$D,v="set"+(this.$u?"UTC":"");switch(_){case d:return u?c(1,0):c(31,11);case l:return u?c(1,y):c(0,y+1);case a:var g=this.$locale().weekStart||0,T=(f<g?f+7:f)-g;return c(u?h-T:h+(6-T),y);case r:case p:return m(v+"Hours",0);case s:return m(v+"Minutes",1);case n:return m(v+"Seconds",2);case o:return m(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var a,u=I.p(t),_="set"+(this.$u?"UTC":""),c=(a={},a[r]=_+"Date",a[p]=_+"Date",a[l]=_+"Month",a[d]=_+"FullYear",a[s]=_+"Hours",a[n]=_+"Minutes",a[o]=_+"Seconds",a[i]=_+"Milliseconds",a)[u],m=u===r?this.$D+(e-this.$W):e;if(u===l||u===d){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},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[I.p(t)]()},y.add=function(i,u){var p,_=this;i=Number(i);var c=I.p(u),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===d)return this.set(d,this.$y+i);if(c===r)return m(1);if(c===a)return m(7);var f=(p={},p[n]=t,p[s]=e,p[o]=1e3,p)[c]||1,y=this.$d.getTime()+i*f;return I.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||_;var o=t||"YYYY-MM-DDTHH:mm:ssZ",n=I.z(this),s=this.$H,r=this.$m,a=this.$M,l=i.weekdays,u=i.months,d=function(t,i,n,s){return t&&(t[i]||t(e,o))||n[i].slice(0,s)},p=function(t){return I.s(s%12||12,t,"0")},c=i.meridiem||function(t,e,i){var o=t<12?"AM":"PM";return i?o.toLowerCase():o},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:I.s(a+1,2,"0"),MMM:d(i.monthsShort,a,u,3),MMMM:d(u,a),D:this.$D,DD:I.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,l,2),ddd:d(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:n};return o.replace(m,(function(t,e){return e||f[t]||n.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(i,p,_){var c,m=I.p(p),f=E(i),y=(f.utcOffset()-this.utcOffset())*t,h=this-f,v=I.m(this,f);return v=(c={},c[d]=v/12,c[l]=v,c[u]=v/3,c[a]=(h-y)/6048e5,c[r]=(h-y)/864e5,c[s]=h/e,c[n]=h/t,c[o]=h/1e3,c)[m]||h,_?v:I.a(v)},y.daysInMonth=function(){return this.endOf(l).$D},y.$locale=function(){return g[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),o=S(t,e,!0);return o&&(i.$L=o),i},y.clone=function(){return I.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},f}(),C=R.prototype;return E.prototype=C,[["$ms",i],["$s",o],["$m",n],["$H",s],["$W",r],["$M",l],["$y",d],["$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,o=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 n=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,o){function n(i){t.removeListener(e,s),o(i)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",n),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,n)}))},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 u(t,e,i,o){var n,s,r,u;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]=o?[i,r]:[r,i]:o?r.unshift(i):r.push(i),(n=l(t))>0&&r.length>n&&!r.warned){r.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=t,d.type=e,d.count=r.length,u=d,console&&console.warn&&console.warn(u)}return t}function d(){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 o={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},n=d.bind(o);return n.listener=i,o.wrapFn=n,n}function _(t,e,i){var o=t._events;if(void 0===o)return[];var n=o[e];return void 0===n?[]:"function"==typeof n?i?[n.listener||n]:[n]: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}(n):m(n,n.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),o=0;o<e;++o)i[o]=t[o];return i}function f(t,e,i,o){if("function"==typeof t.on)o.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 n(s){o.once&&t.removeEventListener(e,n),i(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||n(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||n(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 n="error"===t,s=this._events;if(void 0!==s)n=n&&void 0===s.error;else if(!n)return!1;if(n){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)o(l,this,e);else{var u=l.length,d=m(l,u);for(i=0;i<u;++i)o(d[i],this,e)}return!0},s.prototype.addListener=function(t,e){return u(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return u(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,o,n,s,r;if(a(e),void 0===(o=this._events))return this;if(void 0===(i=o[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(n=-1,s=i.length-1;s>=0;s--)if(i[s]===e||i[s].listener===e){r=i[s].listener,n=s;break}if(n<0)return this;0===n?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,n),1===i.length&&(o[t]=i[0]),void 0!==o.removeListener&&this.emit("removeListener",t,r||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,i,o;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 n,s=Object.keys(i);for(o=0;o<s.length;++o)"removeListener"!==(n=s[o])&&this.removeAllListeners(n);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(o=e.length-1;o>=0;o--)this.removeListener(t,e[o]);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,o){var n=new Blob(void 0!==o?[o,t]:[t],{type:i||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(n,e);else{var s=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(n):window.webkitURL.createObjectURL(n),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 o(){}t.exports.apps=o,o.AppTracking=i(12033),t.exports=o},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 o=i(3306),n=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=n,s._meta_.fields.reason={},s._meta_.fields.reason.type=o,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 o=i(96351),n=function(){this._class_=n,this.challengeType=void 0};n.prototype.setChallengeType=function(t){this.challengeType=t},n.prototype.getChallengeType=function(){return this.challengeType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.challengeType={},n._meta_.fields.challengeType.type=o,t.exports=n},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 o=i(7378),n=function(){this._class_=n,this.points=void 0};n.prototype.setPoints=function(t){this.points=t},n.prototype.getPoints=function(){return this.points},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.points={},n._meta_.fields.points.type=Array,n._meta_.fields.points.elementType=o,t.exports=n},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 o=i(44549),n=function(){this._class_=n,this.strokes=void 0,this.width=void 0,this.height=void 0};n.prototype.setStrokes=function(t){this.strokes=t},n.prototype.getStrokes=function(){return this.strokes},n.prototype.setWidth=function(t){this.width=t},n.prototype.getWidth=function(){return this.width},n.prototype.setHeight=function(t){this.height=t},n.prototype.getHeight=function(){return this.height},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.strokes={},n._meta_.fields.strokes.type=Array,n._meta_.fields.strokes.elementType=o,n._meta_.fields.width={},n._meta_.fields.width.type=Number,n._meta_.fields.height={},n._meta_.fields.height.type=Number,t.exports=n},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 o(){}t.exports.base=o,o.Address=i(81565),o.AppExclusionType=i(38455),o.ApprovalStatus=i(73767),o.BusinessTypeCode=i(5192),o.CardData=i(9728),o.Challenge=i(52514),o.ChallengeType=i(96351),o.ChallengeTypeEnum=i(40994),o.CountryInfo=i(41208),o.PendingPaymentEntry=i(4258),o.Point=i(7378),o.Points=i(44549),o.Reference=i(4448),o.ServiceCharge=i(37479),o.Signature=i(42348),o.Tender=i(50775),t.exports=o},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 o=i(4448),n=function(){this._class_=n,this.order=void 0,this.customer=void 0,this.card=void 0,this.emailAddress=void 0};n.prototype.setOrder=function(t){this.order=t},n.prototype.getOrder=function(){return this.order},n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setCard=function(t){this.card=t},n.prototype.getCard=function(){return this.card},n.prototype.setEmailAddress=function(t){this.emailAddress=t},n.prototype.getEmailAddress=function(){return this.emailAddress},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.order={},n._meta_.fields.order.type=o,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.card={},n._meta_.fields.card.type=o,n._meta_.fields.emailAddress={},n._meta_.fields.emailAddress.type=String,t.exports=n},26866:(t,e,i)=>{var o=i(71764),n=i(22634),s=i(82368),r=i(4448),a=i(68667),l=i(57534),u=function(){this._class_=u,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};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setMerchant=function(t){this.merchant=t},u.prototype.getMerchant=function(){return this.merchant},u.prototype.setFirstName=function(t){this.firstName=t},u.prototype.getFirstName=function(){return this.firstName},u.prototype.setLastName=function(t){this.lastName=t},u.prototype.getLastName=function(){return this.lastName},u.prototype.setMarketingAllowed=function(t){this.marketingAllowed=t},u.prototype.getMarketingAllowed=function(){return this.marketingAllowed},u.prototype.setCustomerSince=function(t){this.customerSince=t},u.prototype.getCustomerSince=function(){return this.customerSince},u.prototype.setOrders=function(t){this.orders=t},u.prototype.getOrders=function(){return this.orders},u.prototype.setAddresses=function(t){this.addresses=t},u.prototype.getAddresses=function(){return this.addresses},u.prototype.setEmailAddresses=function(t){this.emailAddresses=t},u.prototype.getEmailAddresses=function(){return this.emailAddresses},u.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},u.prototype.getPhoneNumbers=function(){return this.phoneNumbers},u.prototype.setCards=function(t){this.cards=t},u.prototype.getCards=function(){return this.cards},u.prototype.setMetadata=function(t){this.metadata=t},u.prototype.getMetadata=function(){return this.metadata},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.merchant={},u._meta_.fields.merchant.type=r,u._meta_.fields.firstName={},u._meta_.fields.firstName.type=String,u._meta_.fields.lastName={},u._meta_.fields.lastName.type=String,u._meta_.fields.marketingAllowed={},u._meta_.fields.marketingAllowed.type=Boolean,u._meta_.fields.customerSince={},u._meta_.fields.customerSince.type=Number,u._meta_.fields.orders={},u._meta_.fields.orders.type=Array,u._meta_.fields.orders.elementType=r,u._meta_.fields.addresses={},u._meta_.fields.addresses.type=Array,u._meta_.fields.addresses.elementType=a,u._meta_.fields.emailAddresses={},u._meta_.fields.emailAddresses.type=Array,u._meta_.fields.emailAddresses.elementType=o,u._meta_.fields.phoneNumbers={},u._meta_.fields.phoneNumbers.type=Array,u._meta_.fields.phoneNumbers.elementType=n,u._meta_.fields.cards={},u._meta_.fields.cards.type=Array,u._meta_.fields.cards.elementType=l,u._meta_.fields.metadata={},u._meta_.fields.metadata.type=s,t.exports=u},31160:(t,e,i)=>{var o=i(26866),n=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=n,s._meta_.fields.tokenRequestRef={},s._meta_.fields.tokenRequestRef.type=n,s._meta_.fields.customer={},s._meta_.fields.customer.type=o,t.exports=s},84265:(t,e,i)=>{var o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.setNumber=function(t){this.number=t},n.prototype.getNumber=function(){return this.number},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=String,n._meta_.fields.number={},n._meta_.fields.number.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,t.exports=n},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 o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},6623:t=>{t.exports={MULTIPAY:"MULTIPAY",FINANCIAL:"FINANCIAL",CTOKEN:"CTOKEN"}},92700:(t,e,i)=>{function o(){}t.exports.customers=o,o.Address=i(68667),o.Card=i(57534),o.Confirmation=i(39998),o.Customer=i(26866),o.CustomerAssociationRequest=i(31160),o.CustomerInfo=i(84265),o.CustomerMetadata=i(82368),o.EmailAddress=i(71764),o.IdentityDocument=i(40615),o.PhoneNumber=i(22634),o.RemoteCustomer=i(39698),o.TokenType=i(6623),t.exports=o},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setModel=function(t){this.model=t},n.prototype.getModel=function(){return this.model},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.setOrderPrefix=function(t){this.orderPrefix=t},n.prototype.getOrderPrefix=function(){return this.orderPrefix},n.prototype.setTerminalId=function(t){this.terminalId=t},n.prototype.getTerminalId=function(){return this.terminalId},n.prototype.setTerminalPrefix=function(t){this.terminalPrefix=t},n.prototype.getTerminalPrefix=function(){return this.terminalPrefix},n.prototype.setSerial=function(t){this.serial=t},n.prototype.getSerial=function(){return this.serial},n.prototype.setImei=function(t){this.imei=t},n.prototype.getImei=function(){return this.imei},n.prototype.setImsi=function(t){this.imsi=t},n.prototype.getImsi=function(){return this.imsi},n.prototype.setSimIccid=function(t){this.simIccid=t},n.prototype.getSimIccid=function(){return this.simIccid},n.prototype.setDeviceCertificate=function(t){this.deviceCertificate=t},n.prototype.getDeviceCertificate=function(){return this.deviceCertificate},n.prototype.setPedCertificate=function(t){this.pedCertificate=t},n.prototype.getPedCertificate=function(){return this.pedCertificate},n.prototype.setDeviceTypeName=function(t){this.deviceTypeName=t},n.prototype.getDeviceTypeName=function(){return this.deviceTypeName},n.prototype.setProductName=function(t){this.productName=t},n.prototype.getProductName=function(){return this.productName},n.prototype.setPinDisabled=function(t){this.pinDisabled=t},n.prototype.getPinDisabled=function(){return this.pinDisabled},n.prototype.setOfflinePayments=function(t){this.offlinePayments=t},n.prototype.getOfflinePayments=function(){return this.offlinePayments},n.prototype.setOfflinePaymentsAll=function(t){this.offlinePaymentsAll=t},n.prototype.getOfflinePaymentsAll=function(){return this.offlinePaymentsAll},n.prototype.setOfflinePaymentsLimit=function(t){this.offlinePaymentsLimit=t},n.prototype.getOfflinePaymentsLimit=function(){return this.offlinePaymentsLimit},n.prototype.setOfflinePaymentsPromptThreshold=function(t){this.offlinePaymentsPromptThreshold=t},n.prototype.getOfflinePaymentsPromptThreshold=function(){return this.offlinePaymentsPromptThreshold},n.prototype.setOfflinePaymentsTotalPaymentsLimit=function(t){this.offlinePaymentsTotalPaymentsLimit=t},n.prototype.getOfflinePaymentsTotalPaymentsLimit=function(){return this.offlinePaymentsTotalPaymentsLimit},n.prototype.setOfflinePaymentsLimitDefault=function(t){this.offlinePaymentsLimitDefault=t},n.prototype.getOfflinePaymentsLimitDefault=function(){return this.offlinePaymentsLimitDefault},n.prototype.setOfflinePaymentsPromptThresholdDefault=function(t){this.offlinePaymentsPromptThresholdDefault=t},n.prototype.getOfflinePaymentsPromptThresholdDefault=function(){return this.offlinePaymentsPromptThresholdDefault},n.prototype.setOfflinePaymentsTotalPaymentsLimitDefault=function(t){this.offlinePaymentsTotalPaymentsLimitDefault=t},n.prototype.getOfflinePaymentsTotalPaymentsLimitDefault=function(){return this.offlinePaymentsTotalPaymentsLimitDefault},n.prototype.setOfflinePaymentsMaxLimit=function(t){this.offlinePaymentsMaxLimit=t},n.prototype.getOfflinePaymentsMaxLimit=function(){return this.offlinePaymentsMaxLimit},n.prototype.setOfflinePaymentsMaxTotalPaymentsLimit=function(t){this.offlinePaymentsMaxTotalPaymentsLimit=t},n.prototype.getOfflinePaymentsMaxTotalPaymentsLimit=function(){return this.offlinePaymentsMaxTotalPaymentsLimit},n.prototype.setShowOfflinePayments=function(t){this.showOfflinePayments=t},n.prototype.getShowOfflinePayments=function(){return this.showOfflinePayments},n.prototype.setMaxOfflineDays=function(t){this.maxOfflineDays=t},n.prototype.getMaxOfflineDays=function(){return this.maxOfflineDays},n.prototype.setAllowStoreAndForward=function(t){this.allowStoreAndForward=t},n.prototype.getAllowStoreAndForward=function(){return this.allowStoreAndForward},n.prototype.setSecureReports=function(t){this.secureReports=t},n.prototype.getSecureReports=function(){return this.secureReports},n.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},n.prototype.getBundleIndicator=function(){return this.bundleIndicator},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.model={},n._meta_.fields.model.type=String,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,n._meta_.fields.orderPrefix={},n._meta_.fields.orderPrefix.type=String,n._meta_.fields.terminalId={},n._meta_.fields.terminalId.type=String,n._meta_.fields.terminalPrefix={},n._meta_.fields.terminalPrefix.type=Number,n._meta_.fields.serial={},n._meta_.fields.serial.type=String,n._meta_.fields.imei={},n._meta_.fields.imei.type=String,n._meta_.fields.imsi={},n._meta_.fields.imsi.type=String,n._meta_.fields.simIccid={},n._meta_.fields.simIccid.type=String,n._meta_.fields.deviceCertificate={},n._meta_.fields.deviceCertificate.type=String,n._meta_.fields.pedCertificate={},n._meta_.fields.pedCertificate.type=String,n._meta_.fields.deviceTypeName={},n._meta_.fields.deviceTypeName.type=String,n._meta_.fields.productName={},n._meta_.fields.productName.type=String,n._meta_.fields.pinDisabled={},n._meta_.fields.pinDisabled.type=Boolean,n._meta_.fields.offlinePayments={},n._meta_.fields.offlinePayments.type=Boolean,n._meta_.fields.offlinePaymentsAll={},n._meta_.fields.offlinePaymentsAll.type=Boolean,n._meta_.fields.offlinePaymentsLimit={},n._meta_.fields.offlinePaymentsLimit.type=Number,n._meta_.fields.offlinePaymentsPromptThreshold={},n._meta_.fields.offlinePaymentsPromptThreshold.type=Number,n._meta_.fields.offlinePaymentsTotalPaymentsLimit={},n._meta_.fields.offlinePaymentsTotalPaymentsLimit.type=Number,n._meta_.fields.offlinePaymentsLimitDefault={},n._meta_.fields.offlinePaymentsLimitDefault.type=Number,n._meta_.fields.offlinePaymentsPromptThresholdDefault={},n._meta_.fields.offlinePaymentsPromptThresholdDefault.type=Number,n._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault={},n._meta_.fields.offlinePaymentsTotalPaymentsLimitDefault.type=Number,n._meta_.fields.offlinePaymentsMaxLimit={},n._meta_.fields.offlinePaymentsMaxLimit.type=Number,n._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit={},n._meta_.fields.offlinePaymentsMaxTotalPaymentsLimit.type=Number,n._meta_.fields.showOfflinePayments={},n._meta_.fields.showOfflinePayments.type=Boolean,n._meta_.fields.maxOfflineDays={},n._meta_.fields.maxOfflineDays.type=Number,n._meta_.fields.allowStoreAndForward={},n._meta_.fields.allowStoreAndForward.type=Boolean,n._meta_.fields.secureReports={},n._meta_.fields.secureReports.type=Array,n._meta_.fields.secureReports.elementType=o,n._meta_.fields.bundleIndicator={},n._meta_.fields.bundleIndicator.type=String,t.exports=n},10522:(t,e,i)=>{var o=i(12157),n=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=n,s._meta_.fields.pedCertificate={},s._meta_.fields.pedCertificate.type=String,s._meta_.fields.buildType={},s._meta_.fields.buildType.type=o,s._meta_.fields.deviceType={},s._meta_.fields.deviceType.type=n,s._meta_.fields.versionCode={},s._meta_.fields.versionCode.type=Number,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=n,s._meta_.fields.secureReports={},s._meta_.fields.secureReports.type=Array,s._meta_.fields.secureReports.elementType=n,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 o=i(76021),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setBundleIndicator=function(t){this.bundleIndicator=t},n.prototype.getBundleIndicator=function(){return this.bundleIndicator},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setBundleItems=function(t){this.bundleItems=t},n.prototype.getBundleItems=function(){return this.bundleItems},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.bundleIndicator={},n._meta_.fields.bundleIndicator.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.bundleItems={},n._meta_.fields.bundleItems.type=Array,n._meta_.fields.bundleItems.elementType=o,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},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 o=i(71132),n=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=n,s._meta_.fields.state={},s._meta_.fields.state.type=o,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=n,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=n,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=n,s._meta_.fields.currentRom={},s._meta_.fields.currentRom.type=n,s._meta_.fields.currentSecureBoardRom={},s._meta_.fields.currentSecureBoardRom.type=n,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=n,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 o=i(47005),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setCreatedAt=function(t){this.createdAt=t},n.prototype.getCreatedAt=function(){return this.createdAt},n.prototype.setVersion=function(t){this.version=t},n.prototype.getVersion=function(){return this.version},n.prototype.setVersionName=function(t){this.versionName=t},n.prototype.getVersionName=function(){return this.versionName},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setBuildType=function(t){this.buildType=t},n.prototype.getBuildType=function(){return this.buildType},n.prototype.setIsCritical=function(t){this.isCritical=t},n.prototype.getIsCritical=function(){return this.isCritical},n.prototype.setPublished=function(t){this.published=t},n.prototype.getPublished=function(){return this.published},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setAssociationTime=function(t){this.associationTime=t},n.prototype.getAssociationTime=function(){return this.associationTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.createdAt={},n._meta_.fields.createdAt.type=Number,n._meta_.fields.version={},n._meta_.fields.version.type=Number,n._meta_.fields.versionName={},n._meta_.fields.versionName.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.buildType={},n._meta_.fields.buildType.type=o,n._meta_.fields.isCritical={},n._meta_.fields.isCritical.type=Boolean,n._meta_.fields.published={},n._meta_.fields.published.type=Boolean,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.associationTime={},n._meta_.fields.associationTime.type=Number,t.exports=n},47005:t=>{t.exports={ENG:"ENG",USER:"USER"}},32340:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.type=void 0,this.serialNumber=void 0,this.createdTime=void 0,this.merchant=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.setSerialNumber=function(t){this.serialNumber=t},n.prototype.getSerialNumber=function(){return this.serialNumber},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=String,n._meta_.fields.serialNumber={},n._meta_.fields.serialNumber.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,t.exports=n},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 o(){}t.exports.device=o,o.AccessoryRomMetadataUpdateRequest=i(20857),o.AssociatedDeviceBundle=i(1752),o.BuildType=i(70511),o.BundleItem=i(76021),o.Device=i(12972),o.DeviceAccessory=i(10522),o.DeviceAccessoryBuildType=i(12157),o.DeviceBundle=i(84646),o.DeviceEventType=i(20927),o.DeviceProvision=i(61668),o.DeviceProvisionAssoc=i(4784),o.DeviceProvisionState=i(71132),o.DeviceProvisionStatus=i(16982),o.DeviceRequests=i(46015),o.DeviceWarranty=i(78032),o.LimitedDevice=i(39431),o.Rom=i(68452),o.RomBuildType=i(47005),o.SwapRequestEvent=i(32340),o.UpdatedDeviceBundle=i(3427),t.exports=o},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 o=i(54931),n=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=o,s._meta_.fields.roles={},s._meta_.fields.roles.type=Array,s._meta_.fields.roles.elementType=n,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=n,s._meta_.fields.payments={},s._meta_.fields.payments.type=Array,s._meta_.fields.payments.elementType=n,s._meta_.fields.orders={},s._meta_.fields.orders.type=Array,s._meta_.fields.orders.elementType=n,s._meta_.fields.employeeCards={},s._meta_.fields.employeeCards.type=Array,s._meta_.fields.employeeCards.elementType=n,s._meta_.fields.merchant={},s._meta_.fields.merchant.type=n,t.exports=s},78945:(t,e,i)=>{var o=i(54863),n=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=n,s._meta_.fields.employee={},s._meta_.fields.employee.type=n,s._meta_.fields.updater={},s._meta_.fields.updater.type=n,s._meta_.fields.number={},s._meta_.fields.number.type=String,s._meta_.fields.status={},s._meta_.fields.status.type=o,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 o=i(52370),n=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=n,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=o,r._meta_.fields.module={},r._meta_.fields.module.type=n,t.exports=r},85039:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.role=void 0,this.permissionSet=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setRole=function(t){this.role=t},n.prototype.getRole=function(){return this.role},n.prototype.setPermissionSet=function(t){this.permissionSet=t},n.prototype.getPermissionSet=function(){return this.permissionSet},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.role={},n._meta_.fields.role.type=o,n._meta_.fields.permissionSet={},n._meta_.fields.permissionSet.type=o,t.exports=n},36967:(t,e,i)=>{var o=i(57598),n=function(){this._class_=n,this.id=void 0,this.bits=void 0,this.readablePermissions=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setBits=function(t){this.bits=t},n.prototype.getBits=function(){return this.bits},n.prototype.setReadablePermissions=function(t){this.readablePermissions=t},n.prototype.getReadablePermissions=function(){return this.readablePermissions},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.bits={},n._meta_.fields.bits.type=Number,n._meta_.fields.readablePermissions={},n._meta_.fields.readablePermissions.type=Array,n._meta_.fields.readablePermissions.elementType=o,t.exports=n},11306:(t,e,i)=>{var o=i(54931),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.systemRole=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setSystemRole=function(t){this.systemRole=t},n.prototype.getSystemRole=function(){return this.systemRole},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.systemRole={},n._meta_.fields.systemRole.type=o,t.exports=n},66932:(t,e,i)=>{var o=i(91033),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setEmployee=function(t){this.employee=t},n.prototype.getEmployee=function(){return this.employee},n.prototype.setCashTipsCollected=function(t){this.cashTipsCollected=t},n.prototype.getCashTipsCollected=function(){return this.cashTipsCollected},n.prototype.setServerBanking=function(t){this.serverBanking=t},n.prototype.getServerBanking=function(){return this.serverBanking},n.prototype.setInTime=function(t){this.inTime=t},n.prototype.getInTime=function(){return this.inTime},n.prototype.setOverrideInTime=function(t){this.overrideInTime=t},n.prototype.getOverrideInTime=function(){return this.overrideInTime},n.prototype.setOverrideInEmployee=function(t){this.overrideInEmployee=t},n.prototype.getOverrideInEmployee=function(){return this.overrideInEmployee},n.prototype.setOutTime=function(t){this.outTime=t},n.prototype.getOutTime=function(){return this.outTime},n.prototype.setOverrideOutTime=function(t){this.overrideOutTime=t},n.prototype.getOverrideOutTime=function(){return this.overrideOutTime},n.prototype.setOverrideOutEmployee=function(t){this.overrideOutEmployee=t},n.prototype.getOverrideOutEmployee=function(){return this.overrideOutEmployee},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.employee={},n._meta_.fields.employee.type=o,n._meta_.fields.cashTipsCollected={},n._meta_.fields.cashTipsCollected.type=Number,n._meta_.fields.serverBanking={},n._meta_.fields.serverBanking.type=Boolean,n._meta_.fields.inTime={},n._meta_.fields.inTime.type=Number,n._meta_.fields.overrideInTime={},n._meta_.fields.overrideInTime.type=Number,n._meta_.fields.overrideInEmployee={},n._meta_.fields.overrideInEmployee.type=o,n._meta_.fields.outTime={},n._meta_.fields.outTime.type=Number,n._meta_.fields.overrideOutTime={},n._meta_.fields.overrideOutTime.type=Number,n._meta_.fields.overrideOutEmployee={},n._meta_.fields.overrideOutEmployee.type=o,t.exports=n},22731:(t,e,i)=>{function o(){}t.exports.employees=o,o.AccountRole=i(54931),o.Employee=i(91033),o.EmployeeCard=i(78945),o.EmployeeCardStatus=i(54863),o.EmployeePermission=i(52370),o.Permission=i(57598),o.PermissionSet=i(12899),o.PermissionSetRole=i(85039),o.Permissions=i(36967),o.Role=i(11306),o.Shift=i(66932),t.exports=o},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 o=i(82274),n=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=n,s._meta_.fields.sunday={},s._meta_.fields.sunday.type=Array,s._meta_.fields.sunday.elementType=o,s._meta_.fields.monday={},s._meta_.fields.monday.type=Array,s._meta_.fields.monday.elementType=o,s._meta_.fields.tuesday={},s._meta_.fields.tuesday.type=Array,s._meta_.fields.tuesday.elementType=o,s._meta_.fields.wednesday={},s._meta_.fields.wednesday.type=Array,s._meta_.fields.wednesday.elementType=o,s._meta_.fields.thursday={},s._meta_.fields.thursday.type=Array,s._meta_.fields.thursday.elementType=o,s._meta_.fields.friday={},s._meta_.fields.friday.type=Array,s._meta_.fields.friday.elementType=o,s._meta_.fields.saturday={},s._meta_.fields.saturday.type=Array,s._meta_.fields.saturday.elementType=o,t.exports=s},27653:(t,e,i)=>{var o=i(76263),n=function(){this._class_=n,this.id=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},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 o(){}t.exports.hours=o,o.HourRange=i(82274),o.HoursSet=i(20886),o.Reference=i(27653),o.ReferenceType=i(76263),t.exports=o},61256:(t,e,i)=>{function o(){}t.exports.sdk=o,o.apps=i(64280),o.base=i(87773),o.customers=i(92700),o.device=i(4822),o.employees=i(22731),o.hours=i(81894),o.inventory=i(19820),o.order=i(40402),o.pay=i(57637),o.payments=i(72397),o.printer=i(54492),o.remotemessage=i(90226),o.remotepay=i(95626),o.merchant=i(15222),o.loyalty=i(81990),t.exports=o},2937:(t,e,i)=>{var o=i(4448),n=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=o,s._meta_.fields.options={},s._meta_.fields.options.type=Array,s._meta_.fields.options.elementType=n,t.exports=s},74155:(t,e,i)=>{var o=i(84700),n=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=n,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=n,s._meta_.fields.menuSection={},s._meta_.fields.menuSection.type=o,t.exports=s},58563:(t,e,i)=>{var o=i(69728),n=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=o,s._meta_.fields.category={},s._meta_.fields.category.type=n,t.exports=s},70855:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.primary=void 0,this.secondary=void 0,this.payload=void 0};n.prototype.setPrimary=function(t){this.primary=t},n.prototype.getPrimary=function(){return this.primary},n.prototype.setSecondary=function(t){this.secondary=t},n.prototype.getSecondary=function(){return this.secondary},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.primary={},n._meta_.fields.primary.type=o,n._meta_.fields.secondary={},n._meta_.fields.secondary.type=o,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,t.exports=n},68119:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.merchantRef=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPercentage=function(t){this.percentage=t},n.prototype.getPercentage=function(){return this.percentage},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.percentage={},n._meta_.fields.percentage.type=Number,t.exports=n},71848:(t,e,i)=>{var o=i(69728),n=function(){this._class_=n,this.items=void 0};n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},69728:(t,e,i)=>{var o=i(2514),n=i(73004),s=i(11273),r=i(62703),a=i(33983),l=i(74155),u=i(4448),d=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=u,_._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=n,_._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=d,_._meta_.fields.canonical={},_._meta_.fields.canonical.type=u,_._meta_.fields.itemStock={},_._meta_.fields.itemStock.type=o,_._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 o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.items=void 0,this.attributes=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.setAttributes=function(t){this.attributes=t},n.prototype.getAttributes=function(){return this.attributes},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,n._meta_.fields.attributes={},n._meta_.fields.attributes.type=Array,n._meta_.fields.attributes.elementType=o,t.exports=n},78777:(t,e,i)=>{var o=i(62703),n=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=n,s._meta_.fields.modifierGroup={},s._meta_.fields.modifierGroup.type=o,t.exports=s},2514:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.item=void 0,this.stockCount=void 0,this.quantity=void 0,this.modifiedTime=void 0};n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.setStockCount=function(t){this.stockCount=t},n.prototype.getStockCount=function(){return this.stockCount},n.prototype.setQuantity=function(t){this.quantity=t},n.prototype.getQuantity=function(){return this.quantity},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.item={},n._meta_.fields.item.type=o,n._meta_.fields.stockCount={},n._meta_.fields.stockCount.type=Number,n._meta_.fields.quantity={},n._meta_.fields.quantity.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setPrice=function(t){this.price=t},n.prototype.getPrice=function(){return this.price},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.item={},n._meta_.fields.item.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.price={},n._meta_.fields.price.type=Number,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},48575:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setModifier=function(t){this.modifier=t},n.prototype.getModifier=function(){return this.modifier},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setPrice=function(t){this.price=t},n.prototype.getPrice=function(){return this.price},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.modifier={},n._meta_.fields.modifier.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.price={},n._meta_.fields.price.type=Number,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},73592:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setModifierGroup=function(t){this.modifierGroup=t},n.prototype.getModifierGroup=function(){return this.modifierGroup},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.setMinRequired=function(t){this.minRequired=t},n.prototype.getMinRequired=function(){return this.minRequired},n.prototype.setMaxAllowed=function(t){this.maxAllowed=t},n.prototype.getMaxAllowed=function(){return this.maxAllowed},n.prototype.setImageFilename=function(t){this.imageFilename=t},n.prototype.getImageFilename=function(){return this.imageFilename},n.prototype.setEnabled=function(t){this.enabled=t},n.prototype.getEnabled=function(){return this.enabled},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.setDeletedTime=function(t){this.deletedTime=t},n.prototype.getDeletedTime=function(){return this.deletedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.modifierGroup={},n._meta_.fields.modifierGroup.type=o,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.description={},n._meta_.fields.description.type=String,n._meta_.fields.minRequired={},n._meta_.fields.minRequired.type=Number,n._meta_.fields.maxAllowed={},n._meta_.fields.maxAllowed.type=Number,n._meta_.fields.imageFilename={},n._meta_.fields.imageFilename.type=String,n._meta_.fields.enabled={},n._meta_.fields.enabled.type=Boolean,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,n._meta_.fields.deletedTime={},n._meta_.fields.deletedTime.type=Number,t.exports=n},84700:(t,e,i)=>{var o=i(11273),n=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=n,s._meta_.fields.merchantRef={},s._meta_.fields.merchantRef.type=n,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=o,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 o=i(48575),n=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=n,s._meta_.fields.menuModifier={},s._meta_.fields.menuModifier.type=o,t.exports=s},62703:(t,e,i)=>{var o=i(73592),n=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=n,r._meta_.fields.menuModifierGroup={},r._meta_.fields.menuModifierGroup.type=o,r._meta_.fields.sortOrder={},r._meta_.fields.sortOrder.type=Number,t.exports=r},61445:(t,e,i)=>{var o=i(62703),n=function(){this._class_=n,this.modifierGroups=void 0};n.prototype.setModifierGroups=function(t){this.modifierGroups=t},n.prototype.getModifierGroups=function(){return this.modifierGroups},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.modifierGroups={},n._meta_.fields.modifierGroups.type=Array,n._meta_.fields.modifierGroups.elementType=o,t.exports=n},35787:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.attribute=void 0,this.items=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAttribute=function(t){this.attribute=t},n.prototype.getAttribute=function(){return this.attribute},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.attribute={},n._meta_.fields.attribute.type=o,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},34456:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.option=void 0,this.item=void 0};n.prototype.setOption=function(t){this.option=t},n.prototype.getOption=function(){return this.option},n.prototype.setItem=function(t){this.item=t},n.prototype.getItem=function(){return this.item},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.option={},n._meta_.fields.option.type=o,n._meta_.fields.item={},n._meta_.fields.item.type=o,t.exports=n},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 o=i(4448),n=function(){this._class_=n,this.id=void 0,this.name="",this.showInReporting=!1,this.items=void 0,this.printers=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setShowInReporting=function(t){this.showInReporting=t},n.prototype.getShowInReporting=function(){return this.showInReporting},n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.setPrinters=function(t){this.printers=t},n.prototype.getPrinters=function(){return this.printers},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.showInReporting={},n._meta_.fields.showInReporting.type=Boolean,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,n._meta_.fields.printers={},n._meta_.fields.printers.type=Array,n._meta_.fields.printers.elementType=o,t.exports=n},7248:(t,e,i)=>{var o=i(69728),n=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=n,s._meta_.fields.item={},s._meta_.fields.item.type=o,t.exports=s},73519:(t,e,i)=>{var o=i(43540),n=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=n,s._meta_.fields.printer={},s._meta_.fields.printer.type=o,t.exports=s},73004:(t,e,i)=>{var o=i(46554),n=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=o,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=n,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 o=i(73004),n=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=o,s._meta_.fields.item={},s._meta_.fields.item.type=n,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 o(){}t.exports.inventory=o,o.Attribute=i(2937),o.Category=i(74155),o.CategoryItem=i(58563),o.DataAssociation=i(70855),o.Discount=i(68119),o.InventoryItems=i(71848),o.Item=i(69728),o.ItemGroup=i(72002),o.ItemModifierGroup=i(78777),o.ItemStock=i(2514),o.MenuBulkUpdate=i(43051),o.MenuItem=i(11273),o.MenuModifier=i(48575),o.MenuModifierGroup=i(73592),o.MenuSection=i(84700),o.Modifier=i(55683),o.ModifierGroup=i(62703),o.ModifierGroupArray=i(61445),o.Option=i(35787),o.OptionItem=i(34456),o.PriceType=i(33983),o.SortOrder=i(95263),o.Tag=i(43156),o.TagItem=i(7248),o.TagPrinter=i(73519),o.TaxRate=i(73004),o.TaxRateItem=i(97946),o.TaxType=i(46554),t.exports=o},48485:(t,e,i)=>{var o=i(53090),n=function(){this._class_=n,this.responseType=void 0};n.prototype.setResponseType=function(t){this.responseType=t},n.prototype.getResponseType=function(){return this.responseType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.responseType={},n._meta_.fields.responseType.type=o,t.exports=n},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 o(){}t.exports.loyalty=o,o.CustomerProvidedDataResponse=i(48485),o.CustomerProvidedDataResponseType=i(53090),o.LoyaltyDataConfig=i(77166),t.exports=o},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 o(){}t.exports.merchant=o,o.TipSuggestion=i(27033),t.exports=o},55623:(t,e,i)=>{var o=i(15358),n=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=o,l._meta_.fields.orderState={},l._meta_.fields.orderState.type=a,l._meta_.fields.onlineOrderCustomer={},l._meta_.fields.onlineOrderCustomer.type=n,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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMerchantRef=function(t){this.merchantRef=t},n.prototype.getMerchantRef=function(){return this.merchantRef},n.prototype.setCustomerEmailAddress=function(t){this.customerEmailAddress=t},n.prototype.getCustomerEmailAddress=function(){return this.customerEmailAddress},n.prototype.setCustomerDisplayName=function(t){this.customerDisplayName=t},n.prototype.getCustomerDisplayName=function(){return this.customerDisplayName},n.prototype.setCustomerFirstName=function(t){this.customerFirstName=t},n.prototype.getCustomerFirstName=function(){return this.customerFirstName},n.prototype.setCustomerLastName=function(t){this.customerLastName=t},n.prototype.getCustomerLastName=function(){return this.customerLastName},n.prototype.setCustomerPhoneNumber=function(t){this.customerPhoneNumber=t},n.prototype.getCustomerPhoneNumber=function(){return this.customerPhoneNumber},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setModifiedTime=function(t){this.modifiedTime=t},n.prototype.getModifiedTime=function(){return this.modifiedTime},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.merchantRef={},n._meta_.fields.merchantRef.type=o,n._meta_.fields.customerEmailAddress={},n._meta_.fields.customerEmailAddress.type=String,n._meta_.fields.customerDisplayName={},n._meta_.fields.customerDisplayName.type=String,n._meta_.fields.customerFirstName={},n._meta_.fields.customerFirstName.type=String,n._meta_.fields.customerLastName={},n._meta_.fields.customerLastName.type=String,n._meta_.fields.customerPhoneNumber={},n._meta_.fields.customerPhoneNumber.type=String,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.modifiedTime={},n._meta_.fields.modifiedTime.type=Number,t.exports=n},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 o=i(9222),n=function(){this._class_=n,this.items=void 0};n.prototype.setItems=function(t){this.items=t},n.prototype.getItems=function(){return this.items},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.items={},n._meta_.fields.items.type=Array,n._meta_.fields.items.elementType=o,t.exports=n},91961:t=>{t.exports={NAME:"NAME",TABLE:"TABLE",NAME_TABLE:"NAME_TABLE"}},4248:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,this.id=void 0,this.discount=void 0,this.approver=void 0,this.name=void 0,this.amount=void 0,this.percentage=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.setApprover=function(t){this.approver=t},n.prototype.getApprover=function(){return this.approver},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPercentage=function(t){this.percentage=t},n.prototype.getPercentage=function(){return this.percentage},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,n._meta_.fields.approver={},n._meta_.fields.approver.type=o,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.percentage={},n._meta_.fields.percentage.type=Number,t.exports=n},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 o=i(16572),n=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=o,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=n,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 o=i(6190),n=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=n,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=o,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 o=i(62362),n=i(73004),s=i(62886),r=i(4248),a=i(4448),l=i(37471),u=function(){this._class_=u,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};u.prototype.setId=function(t){this.id=t},u.prototype.getId=function(){return this.id},u.prototype.setItem=function(t){this.item=t},u.prototype.getItem=function(){return this.item},u.prototype.setName=function(t){this.name=t},u.prototype.getName=function(){return this.name},u.prototype.setAlternateName=function(t){this.alternateName=t},u.prototype.getAlternateName=function(){return this.alternateName},u.prototype.setPrice=function(t){this.price=t},u.prototype.getPrice=function(){return this.price},u.prototype.setPriceWithModifiers=function(t){this.priceWithModifiers=t},u.prototype.getPriceWithModifiers=function(){return this.priceWithModifiers},u.prototype.setPriceWithModifiersAndItemAndOrderDiscounts=function(t){this.priceWithModifiersAndItemAndOrderDiscounts=t},u.prototype.getPriceWithModifiersAndItemAndOrderDiscounts=function(){return this.priceWithModifiersAndItemAndOrderDiscounts},u.prototype.setUnitQty=function(t){this.unitQty=t},u.prototype.getUnitQty=function(){return this.unitQty},u.prototype.setUnitName=function(t){this.unitName=t},u.prototype.getUnitName=function(){return this.unitName},u.prototype.setItemCode=function(t){this.itemCode=t},u.prototype.getItemCode=function(){return this.itemCode},u.prototype.setNote=function(t){this.note=t},u.prototype.getNote=function(){return this.note},u.prototype.setPrinted=function(t){this.printed=t},u.prototype.getPrinted=function(){return this.printed},u.prototype.setExchangedLineItem=function(t){this.exchangedLineItem=t},u.prototype.getExchangedLineItem=function(){return this.exchangedLineItem},u.prototype.setBinName=function(t){this.binName=t},u.prototype.getBinName=function(){return this.binName},u.prototype.setUserData=function(t){this.userData=t},u.prototype.getUserData=function(){return this.userData},u.prototype.setCreatedTime=function(t){this.createdTime=t},u.prototype.getCreatedTime=function(){return this.createdTime},u.prototype.setOrderClientCreatedTime=function(t){this.orderClientCreatedTime=t},u.prototype.getOrderClientCreatedTime=function(){return this.orderClientCreatedTime},u.prototype.setDiscounts=function(t){this.discounts=t},u.prototype.getDiscounts=function(){return this.discounts},u.prototype.setOrderLevelDiscounts=function(t){this.orderLevelDiscounts=t},u.prototype.getOrderLevelDiscounts=function(){return this.orderLevelDiscounts},u.prototype.setDiscountAmount=function(t){this.discountAmount=t},u.prototype.getDiscountAmount=function(){return this.discountAmount},u.prototype.setOrderLevelDiscountAmount=function(t){this.orderLevelDiscountAmount=t},u.prototype.getOrderLevelDiscountAmount=function(){return this.orderLevelDiscountAmount},u.prototype.setExchanged=function(t){this.exchanged=t},u.prototype.getExchanged=function(){return this.exchanged},u.prototype.setModifications=function(t){this.modifications=t},u.prototype.getModifications=function(){return this.modifications},u.prototype.setRefunded=function(t){this.refunded=t},u.prototype.getRefunded=function(){return this.refunded},u.prototype.setRefund=function(t){this.refund=t},u.prototype.getRefund=function(){return this.refund},u.prototype.setIsRevenue=function(t){this.isRevenue=t},u.prototype.getIsRevenue=function(){return this.isRevenue},u.prototype.setTaxRates=function(t){this.taxRates=t},u.prototype.getTaxRates=function(){return this.taxRates},u.prototype.setPayments=function(t){this.payments=t},u.prototype.getPayments=function(){return this.payments},u.prototype.setRevenueAmount=function(t){this.revenueAmount=t},u.prototype.getRevenueAmount=function(){return this.revenueAmount},u.prototype.setQuantitySold=function(t){this.quantitySold=t},u.prototype.getQuantitySold=function(){return this.quantitySold},u.prototype.setPrintGroup=function(t){this.printGroup=t},u.prototype.getPrintGroup=function(){return this.printGroup},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.item={},u._meta_.fields.item.type=a,u._meta_.fields.name={},u._meta_.fields.name.type=String,u._meta_.fields.alternateName={},u._meta_.fields.alternateName.type=String,u._meta_.fields.price={},u._meta_.fields.price.type=Number,u._meta_.fields.priceWithModifiers={},u._meta_.fields.priceWithModifiers.type=Number,u._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts={},u._meta_.fields.priceWithModifiersAndItemAndOrderDiscounts.type=Number,u._meta_.fields.unitQty={},u._meta_.fields.unitQty.type=Number,u._meta_.fields.unitName={},u._meta_.fields.unitName.type=String,u._meta_.fields.itemCode={},u._meta_.fields.itemCode.type=String,u._meta_.fields.note={},u._meta_.fields.note.type=String,u._meta_.fields.printed={},u._meta_.fields.printed.type=Boolean,u._meta_.fields.exchangedLineItem={},u._meta_.fields.exchangedLineItem.type=a,u._meta_.fields.binName={},u._meta_.fields.binName.type=String,u._meta_.fields.userData={},u._meta_.fields.userData.type=String,u._meta_.fields.createdTime={},u._meta_.fields.createdTime.type=Number,u._meta_.fields.orderClientCreatedTime={},u._meta_.fields.orderClientCreatedTime.type=Number,u._meta_.fields.discounts={},u._meta_.fields.discounts.type=Array,u._meta_.fields.discounts.elementType=r,u._meta_.fields.orderLevelDiscounts={},u._meta_.fields.orderLevelDiscounts.type=Array,u._meta_.fields.orderLevelDiscounts.elementType=r,u._meta_.fields.discountAmount={},u._meta_.fields.discountAmount.type=Number,u._meta_.fields.orderLevelDiscountAmount={},u._meta_.fields.orderLevelDiscountAmount.type=Number,u._meta_.fields.exchanged={},u._meta_.fields.exchanged.type=Boolean,u._meta_.fields.modifications={},u._meta_.fields.modifications.type=Array,u._meta_.fields.modifications.elementType=o,u._meta_.fields.refunded={},u._meta_.fields.refunded.type=Boolean,u._meta_.fields.refund={},u._meta_.fields.refund.type=l,u._meta_.fields.isRevenue={},u._meta_.fields.isRevenue.type=Boolean,u._meta_.fields.taxRates={},u._meta_.fields.taxRates.type=Array,u._meta_.fields.taxRates.elementType=n,u._meta_.fields.payments={},u._meta_.fields.payments.type=Array,u._meta_.fields.payments.elementType=s,u._meta_.fields.revenueAmount={},u._meta_.fields.revenueAmount.type=Number,u._meta_.fields.quantitySold={},u._meta_.fields.quantitySold.type=Number,u._meta_.fields.printGroup={},u._meta_.fields.printGroup.type=a,t.exports=u},16018:(t,e,i)=>{var o=i(73004),n=function(){this._class_=n,this.rates=void 0};n.prototype.setRates=function(t){this.rates=t},n.prototype.getRates=function(){return this.rates},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.rates={},n._meta_.fields.rates.type=Object,n._meta_.fields.rates.valueType=o,t.exports=n},62362:(t,e,i)=>{var o=i(55683),n=function(){this._class_=n,this.id=void 0,this.name=void 0,this.alternateName=void 0,this.amount=void 0,this.modifier=void 0,this.quantitySold=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setAlternateName=function(t){this.alternateName=t},n.prototype.getAlternateName=function(){return this.alternateName},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setModifier=function(t){this.modifier=t},n.prototype.getModifier=function(){return this.modifier},n.prototype.setQuantitySold=function(t){this.quantitySold=t},n.prototype.getQuantitySold=function(){return this.quantitySold},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.alternateName={},n._meta_.fields.alternateName.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.modifier={},n._meta_.fields.modifier.type=o,n._meta_.fields.quantitySold={},n._meta_.fields.quantitySold.type=Number,t.exports=n},14326:(t,e,i)=>{var o=i(93657),n=i(4248),s=i(55623),r=i(51669),a=i(37479),l=i(37471),u=i(6639),d=i(26866),p=i(44155),_=i(16765),c=i(9222),m=i(85471),f=i(82794),y=i(4448),h=function(){this._class_=h,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};h.prototype.setId=function(t){this.id=t},h.prototype.getId=function(){return this.id},h.prototype.setCurrency=function(t){this.currency=t},h.prototype.getCurrency=function(){return this.currency},h.prototype.setCustomerId=function(t){this.customerId=t},h.prototype.getCustomerId=function(){return this.customerId},h.prototype.setCustomerUuid=function(t){this.customerUuid=t},h.prototype.getCustomerUuid=function(){return this.customerUuid},h.prototype.setOrderTypeId=function(t){this.orderTypeId=t},h.prototype.getOrderTypeId=function(){return this.orderTypeId},h.prototype.setCustomers=function(t){this.customers=t},h.prototype.getCustomers=function(){return this.customers},h.prototype.setEmployee=function(t){this.employee=t},h.prototype.getEmployee=function(){return this.employee},h.prototype.setTotal=function(t){this.total=t},h.prototype.getTotal=function(){return this.total},h.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},h.prototype.getExternalReferenceId=function(){return this.externalReferenceId},h.prototype.setUnpaidBalance=function(t){this.unpaidBalance=t},h.prototype.getUnpaidBalance=function(){return this.unpaidBalance},h.prototype.setPaymentState=function(t){this.paymentState=t},h.prototype.getPaymentState=function(){return this.paymentState},h.prototype.setTitle=function(t){this.title=t},h.prototype.getTitle=function(){return this.title},h.prototype.setNote=function(t){this.note=t},h.prototype.getNote=function(){return this.note},h.prototype.setOrderType=function(t){this.orderType=t},h.prototype.getOrderType=function(){return this.orderType},h.prototype.setTaxRemoved=function(t){this.taxRemoved=t},h.prototype.getTaxRemoved=function(){return this.taxRemoved},h.prototype.setIsVat=function(t){this.isVat=t},h.prototype.getIsVat=function(){return this.isVat},h.prototype.setState=function(t){this.state=t},h.prototype.getState=function(){return this.state},h.prototype.setManualTransaction=function(t){this.manualTransaction=t},h.prototype.getManualTransaction=function(){return this.manualTransaction},h.prototype.setGroupLineItems=function(t){this.groupLineItems=t},h.prototype.getGroupLineItems=function(){return this.groupLineItems},h.prototype.setTestMode=function(t){this.testMode=t},h.prototype.getTestMode=function(){return this.testMode},h.prototype.setPayType=function(t){this.payType=t},h.prototype.getPayType=function(){return this.payType},h.prototype.setCreatedTime=function(t){this.createdTime=t},h.prototype.getCreatedTime=function(){return this.createdTime},h.prototype.setClientCreatedTime=function(t){this.clientCreatedTime=t},h.prototype.getClientCreatedTime=function(){return this.clientCreatedTime},h.prototype.setModifiedTime=function(t){this.modifiedTime=t},h.prototype.getModifiedTime=function(){return this.modifiedTime},h.prototype.setDeletedTimestamp=function(t){this.deletedTimestamp=t},h.prototype.getDeletedTimestamp=function(){return this.deletedTimestamp},h.prototype.setServiceCharge=function(t){this.serviceCharge=t},h.prototype.getServiceCharge=function(){return this.serviceCharge},h.prototype.setDiscounts=function(t){this.discounts=t},h.prototype.getDiscounts=function(){return this.discounts},h.prototype.setLineItems=function(t){this.lineItems=t},h.prototype.getLineItems=function(){return this.lineItems},h.prototype.setPayments=function(t){this.payments=t},h.prototype.getPayments=function(){return this.payments},h.prototype.setRefunds=function(t){this.refunds=t},h.prototype.getRefunds=function(){return this.refunds},h.prototype.setCredits=function(t){this.credits=t},h.prototype.getCredits=function(){return this.credits},h.prototype.setVoids=function(t){this.voids=t},h.prototype.getVoids=function(){return this.voids},h.prototype.setPreAuths=function(t){this.preAuths=t},h.prototype.getPreAuths=function(){return this.preAuths},h.prototype.setDevice=function(t){this.device=t},h.prototype.getDevice=function(){return this.device},h.prototype.setAuthorizations=function(t){this.authorizations=t},h.prototype.getAuthorizations=function(){return this.authorizations},h.prototype.setMerchant=function(t){this.merchant=t},h.prototype.getMerchant=function(){return this.merchant},h.prototype.setOnlineOrder=function(t){this.onlineOrder=t},h.prototype.getOnlineOrder=function(){return this.onlineOrder},h.prototype.setPrintGroups=function(t){this.printGroups=t},h.prototype.getPrintGroups=function(){return this.printGroups},h.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},h.prototype.toString=function(){return JSON.stringify(this)},h._meta_={fields:{}},h._meta_._class_=h,h._meta_.fields.id={},h._meta_.fields.id.type=String,h._meta_.fields.currency={},h._meta_.fields.currency.type=String,h._meta_.fields.customerId={},h._meta_.fields.customerId.type=Number,h._meta_.fields.customerUuid={},h._meta_.fields.customerUuid.type=String,h._meta_.fields.orderTypeId={},h._meta_.fields.orderTypeId.type=Number,h._meta_.fields.customers={},h._meta_.fields.customers.type=Array,h._meta_.fields.customers.elementType=d,h._meta_.fields.employee={},h._meta_.fields.employee.type=y,h._meta_.fields.total={},h._meta_.fields.total.type=Number,h._meta_.fields.externalReferenceId={},h._meta_.fields.externalReferenceId.type=String,h._meta_.fields.unpaidBalance={},h._meta_.fields.unpaidBalance.type=Number,h._meta_.fields.paymentState={},h._meta_.fields.paymentState.type=r,h._meta_.fields.title={},h._meta_.fields.title.type=String,h._meta_.fields.note={},h._meta_.fields.note.type=String,h._meta_.fields.orderType={},h._meta_.fields.orderType.type=m,h._meta_.fields.taxRemoved={},h._meta_.fields.taxRemoved.type=Boolean,h._meta_.fields.isVat={},h._meta_.fields.isVat.type=Boolean,h._meta_.fields.state={},h._meta_.fields.state.type=String,h._meta_.fields.manualTransaction={},h._meta_.fields.manualTransaction.type=Boolean,h._meta_.fields.groupLineItems={},h._meta_.fields.groupLineItems.type=Boolean,h._meta_.fields.testMode={},h._meta_.fields.testMode.type=Boolean,h._meta_.fields.payType={},h._meta_.fields.payType.type=_,h._meta_.fields.createdTime={},h._meta_.fields.createdTime.type=Number,h._meta_.fields.clientCreatedTime={},h._meta_.fields.clientCreatedTime.type=Number,h._meta_.fields.modifiedTime={},h._meta_.fields.modifiedTime.type=Number,h._meta_.fields.deletedTimestamp={},h._meta_.fields.deletedTimestamp.type=Number,h._meta_.fields.serviceCharge={},h._meta_.fields.serviceCharge.type=a,h._meta_.fields.discounts={},h._meta_.fields.discounts.type=Array,h._meta_.fields.discounts.elementType=n,h._meta_.fields.lineItems={},h._meta_.fields.lineItems.type=Array,h._meta_.fields.lineItems.elementType=c,h._meta_.fields.payments={},h._meta_.fields.payments.type=Array,h._meta_.fields.payments.elementType=f,h._meta_.fields.refunds={},h._meta_.fields.refunds.type=Array,h._meta_.fields.refunds.elementType=l,h._meta_.fields.credits={},h._meta_.fields.credits.type=Array,h._meta_.fields.credits.elementType=u,h._meta_.fields.voids={},h._meta_.fields.voids.type=Array,h._meta_.fields.voids.elementType=f,h._meta_.fields.preAuths={},h._meta_.fields.preAuths.type=Array,h._meta_.fields.preAuths.elementType=f,h._meta_.fields.device={},h._meta_.fields.device.type=y,h._meta_.fields.authorizations={},h._meta_.fields.authorizations.type=Array,h._meta_.fields.authorizations.elementType=o,h._meta_.fields.merchant={},h._meta_.fields.merchant.type=y,h._meta_.fields.onlineOrder={},h._meta_.fields.onlineOrder.type=s,h._meta_.fields.printGroups={},h._meta_.fields.printGroups.type=Array,h._meta_.fields.printGroups.elementType=p,t.exports=h},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 o=i(46335),n=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=o,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=n,a._meta_.fields.categories={},a._meta_.fields.categories.type=Array,a._meta_.fields.categories.elementType=s,t.exports=a},90195:(t,e,i)=>{var o=i(85471),n=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=o,s._meta_.fields.category={},s._meta_.fields.category.type=n,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 o=i(92842),n=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=n,r._meta_.fields.orderRef={},r._meta_.fields.orderRef.type=n,r._meta_.fields.deviceRef={},r._meta_.fields.deviceRef.type=n,r._meta_.fields.category={},r._meta_.fields.category.type=s,r._meta_.fields.state={},r._meta_.fields.state.type=o,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 o=i(4448),n=function(){this._class_=n,this.payment=void 0,this.refund=void 0,this.credit=void 0,this.emailAddresses=void 0,this.phoneNumbers=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setRefund=function(t){this.refund=t},n.prototype.getRefund=function(){return this.refund},n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setEmailAddresses=function(t){this.emailAddresses=t},n.prototype.getEmailAddresses=function(){return this.emailAddresses},n.prototype.setPhoneNumbers=function(t){this.phoneNumbers=t},n.prototype.getPhoneNumbers=function(){return this.phoneNumbers},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.refund={},n._meta_.fields.refund.type=o,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.emailAddresses={},n._meta_.fields.emailAddresses.type=Array,n._meta_.fields.phoneNumbers={},n._meta_.fields.phoneNumbers.type=Array,t.exports=n},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 o=i(70541),n=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=n,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=o,t.exports=r},40402:(t,e,i)=>{function o(){}t.exports.order=o,o.operation={},o.ClientEventType=i(70541),o.CreateLineItemsRequest=i(85653),o.CustomerIdMethod=i(91961),o.Discount=i(4248),o.DisplayDiscount=i(16572),o.DisplayLineItem=i(6062),o.DisplayModification=i(82922),o.DisplayOrder=i(2565),o.DisplayPayment=i(6190),o.FireOrder=i(49346),o.HoursAvailable=i(46335),o.LineItem=i(9222),o.LineItemTaxRates=i(16018),o.Modification=i(62362),o.Order=i(14326),o.OrderExpansion=i(59656),o.OrderTaxRate=i(61147),o.OrderType=i(85471),o.OrderTypeCategory=i(90195),o.OverrideInfo=i(38338),o.PayType=i(16765),o.PaymentState=i(51669),o.PrintGroup=i(44155),o.PrintOrder=i(41671),o.PrintState=i(92842),o.SendReceiptRequest=i(76699),o.SystemOrderType=i(95955),o.VoidReason=i(3306),o.VoidedLineItem=i(71250),o.operation.DiscountsAddedOperation=i(78368),o.operation.DiscountsDeletedOperation=i(74066),o.operation.LineItemsAddedOperation=i(89361),o.operation.LineItemsDeletedOperation=i(79494),o.operation.OrderDeletedOperation=i(30087),t.exports=o},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 o=i(4212),n=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=o,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=n,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 o=i(43634),n=i(89656),s=i(10413),r=i(27416),a=i(52849),l=i(88581),u=i(9496),d=function(){this._class_=d,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};d.prototype.setTxResult=function(t){this.txResult=t},d.prototype.getTxResult=function(){return this.txResult},d.prototype.setTxError=function(t){this.txError=t},d.prototype.getTxError=function(){return this.txError},d.prototype.setAmount=function(t){this.amount=t},d.prototype.getAmount=function(){return this.amount},d.prototype.setTipAmount=function(t){this.tipAmount=t},d.prototype.getTipAmount=function(){return this.tipAmount},d.prototype.setCashBackAmount=function(t){this.cashBackAmount=t},d.prototype.getCashBackAmount=function(){return this.cashBackAmount},d.prototype.setErrorCode=function(t){this.errorCode=t},d.prototype.getErrorCode=function(){return this.errorCode},d.prototype.setErrorText=function(t){this.errorText=t},d.prototype.getErrorText=function(){return this.errorText},d.prototype.setTransactionDate=function(t){this.transactionDate=t},d.prototype.getTransactionDate=function(){return this.transactionDate},d.prototype.setTransactionTime=function(t){this.transactionTime=t},d.prototype.getTransactionTime=function(){return this.transactionTime},d.prototype.setMsrContainer=function(t){this.msrContainer=t},d.prototype.getMsrContainer=function(){return this.msrContainer},d.prototype.setMsrMaskedTrack1=function(t){this.msrMaskedTrack1=t},d.prototype.getMsrMaskedTrack1=function(){return this.msrMaskedTrack1},d.prototype.setMsrMaskedTrack2=function(t){this.msrMaskedTrack2=t},d.prototype.getMsrMaskedTrack2=function(){return this.msrMaskedTrack2},d.prototype.setMaskedManualPan=function(t){this.maskedManualPan=t},d.prototype.getMaskedManualPan=function(){return this.maskedManualPan},d.prototype.setSredContainer=function(t){this.sredContainer=t},d.prototype.getSredContainer=function(){return this.sredContainer},d.prototype.setSred=function(t){this.sred=t},d.prototype.getSred=function(){return this.sred},d.prototype.setKsn=function(t){this.ksn=t},d.prototype.getKsn=function(){return this.ksn},d.prototype.setTransArmorContainer=function(t){this.transArmorContainer=t},d.prototype.getTransArmorContainer=function(){return this.transArmorContainer},d.prototype.setTransArmorKey=function(t){this.transArmorKey=t},d.prototype.getTransArmorKey=function(){return this.transArmorKey},d.prototype.setTransArmorKeyId=function(t){this.transArmorKeyId=t},d.prototype.getTransArmorKeyId=function(){return this.transArmorKeyId},d.prototype.setTransArmorEncryptedTrack1=function(t){this.transArmorEncryptedTrack1=t},d.prototype.getTransArmorEncryptedTrack1=function(){return this.transArmorEncryptedTrack1},d.prototype.setTransArmorEncryptedTrack2=function(t){this.transArmorEncryptedTrack2=t},d.prototype.getTransArmorEncryptedTrack2=function(){return this.transArmorEncryptedTrack2},d.prototype.setTransArmorEncryptedEmvTag57=function(t){this.transArmorEncryptedEmvTag57=t},d.prototype.getTransArmorEncryptedEmvTag57=function(){return this.transArmorEncryptedEmvTag57},d.prototype.setTransArmorEncryptedEmvTag5A=function(t){this.transArmorEncryptedEmvTag5A=t},d.prototype.getTransArmorEncryptedEmvTag5A=function(){return this.transArmorEncryptedEmvTag5A},d.prototype.setTransArmorEncryptedManualKeyedData=function(t){this.transArmorEncryptedManualKeyedData=t},d.prototype.getTransArmorEncryptedManualKeyedData=function(){return this.transArmorEncryptedManualKeyedData},d.prototype.setIccContainer=function(t){this.iccContainer=t},d.prototype.getIccContainer=function(){return this.iccContainer},d.prototype.setIccApplicationInterchangeProfile=function(t){this.iccApplicationInterchangeProfile=t},d.prototype.getIccApplicationInterchangeProfile=function(){return this.iccApplicationInterchangeProfile},d.prototype.setIccMaskedEmv57=function(t){this.iccMaskedEmv57=t},d.prototype.getIccMaskedEmv57=function(){return this.iccMaskedEmv57},d.prototype.setIccMaskedEmv5A=function(t){this.iccMaskedEmv5A=t},d.prototype.getIccMaskedEmv5A=function(){return this.iccMaskedEmv5A},d.prototype.setIccApplicationPanSequenceNumber=function(t){this.iccApplicationPanSequenceNumber=t},d.prototype.getIccApplicationPanSequenceNumber=function(){return this.iccApplicationPanSequenceNumber},d.prototype.setIccApplicationExpirationDate=function(t){this.iccApplicationExpirationDate=t},d.prototype.getIccApplicationExpirationDate=function(){return this.iccApplicationExpirationDate},d.prototype.setIccApplicationEffectiveDate=function(t){this.iccApplicationEffectiveDate=t},d.prototype.getIccApplicationEffectiveDate=function(){return this.iccApplicationEffectiveDate},d.prototype.setIccAmountAuthorized=function(t){this.iccAmountAuthorized=t},d.prototype.getIccAmountAuthorized=function(){return this.iccAmountAuthorized},d.prototype.setIccAmountOther=function(t){this.iccAmountOther=t},d.prototype.getIccAmountOther=function(){return this.iccAmountOther},d.prototype.setIccTransactionCurrencyCode=function(t){this.iccTransactionCurrencyCode=t},d.prototype.getIccTransactionCurrencyCode=function(){return this.iccTransactionCurrencyCode},d.prototype.setIccTransactionCurrencyExponent=function(t){this.iccTransactionCurrencyExponent=t},d.prototype.getIccTransactionCurrencyExponent=function(){return this.iccTransactionCurrencyExponent},d.prototype.setIccApplicationUsageControl=function(t){this.iccApplicationUsageControl=t},d.prototype.getIccApplicationUsageControl=function(){return this.iccApplicationUsageControl},d.prototype.setIccIssuerActionCodeDefault=function(t){this.iccIssuerActionCodeDefault=t},d.prototype.getIccIssuerActionCodeDefault=function(){return this.iccIssuerActionCodeDefault},d.prototype.setIccIssuerActionCodeDenial=function(t){this.iccIssuerActionCodeDenial=t},d.prototype.getIccIssuerActionCodeDenial=function(){return this.iccIssuerActionCodeDenial},d.prototype.setIccIssuerActionCodeOnline=function(t){this.iccIssuerActionCodeOnline=t},d.prototype.getIccIssuerActionCodeOnline=function(){return this.iccIssuerActionCodeOnline},d.prototype.setIccApplicationLabel=function(t){this.iccApplicationLabel=t},d.prototype.getIccApplicationLabel=function(){return this.iccApplicationLabel},d.prototype.setIccApplicationCryptogram=function(t){this.iccApplicationCryptogram=t},d.prototype.getIccApplicationCryptogram=function(){return this.iccApplicationCryptogram},d.prototype.setIccApplicationIdentifierCard=function(t){this.iccApplicationIdentifierCard=t},d.prototype.getIccApplicationIdentifierCard=function(){return this.iccApplicationIdentifierCard},d.prototype.setIccApplicationIdentifierTerminal=function(t){this.iccApplicationIdentifierTerminal=t},d.prototype.getIccApplicationIdentifierTerminal=function(){return this.iccApplicationIdentifierTerminal},d.prototype.setIccApplicationTransactionCounter=function(t){this.iccApplicationTransactionCounter=t},d.prototype.getIccApplicationTransactionCounter=function(){return this.iccApplicationTransactionCounter},d.prototype.setIccApplicationVersionNumber=function(t){this.iccApplicationVersionNumber=t},d.prototype.getIccApplicationVersionNumber=function(){return this.iccApplicationVersionNumber},d.prototype.setIccCryptogramInformationData=function(t){this.iccCryptogramInformationData=t},d.prototype.getIccCryptogramInformationData=function(){return this.iccCryptogramInformationData},d.prototype.setIccCvmResults=function(t){this.iccCvmResults=t},d.prototype.getIccCvmResults=function(){return this.iccCvmResults},d.prototype.setIccInterfaceDeviceSerialNumber=function(t){this.iccInterfaceDeviceSerialNumber=t},d.prototype.getIccInterfaceDeviceSerialNumber=function(){return this.iccInterfaceDeviceSerialNumber},d.prototype.setIccIssuerApplicationData=function(t){this.iccIssuerApplicationData=t},d.prototype.getIccIssuerApplicationData=function(){return this.iccIssuerApplicationData},d.prototype.setIccPosEntryModeCode=function(t){this.iccPosEntryModeCode=t},d.prototype.getIccPosEntryModeCode=function(){return this.iccPosEntryModeCode},d.prototype.setIccTerminalCapabilities=function(t){this.iccTerminalCapabilities=t},d.prototype.getIccTerminalCapabilities=function(){return this.iccTerminalCapabilities},d.prototype.setIccTerminalCountryCode=function(t){this.iccTerminalCountryCode=t},d.prototype.getIccTerminalCountryCode=function(){return this.iccTerminalCountryCode},d.prototype.setIccTerminalType=function(t){this.iccTerminalType=t},d.prototype.getIccTerminalType=function(){return this.iccTerminalType},d.prototype.setIccTvr=function(t){this.iccTvr=t},d.prototype.getIccTvr=function(){return this.iccTvr},d.prototype.setIccTransactionDate=function(t){this.iccTransactionDate=t},d.prototype.getIccTransactionDate=function(){return this.iccTransactionDate},d.prototype.setIccTsi=function(t){this.iccTsi=t},d.prototype.getIccTsi=function(){return this.iccTsi},d.prototype.setIccTransactionType=function(t){this.iccTransactionType=t},d.prototype.getIccTransactionType=function(){return this.iccTransactionType},d.prototype.setIccUnpredictableNumber=function(t){this.iccUnpredictableNumber=t},d.prototype.getIccUnpredictableNumber=function(){return this.iccUnpredictableNumber},d.prototype.setIccTransactionTime=function(t){this.iccTransactionTime=t},d.prototype.getIccTransactionTime=function(){return this.iccTransactionTime},d.prototype.setIccAdditionalTerminalCapabilities=function(t){this.iccAdditionalTerminalCapabilities=t},d.prototype.getIccAdditionalTerminalCapabilities=function(){return this.iccAdditionalTerminalCapabilities},d.prototype.setIccTransactionCategoryCode=function(t){this.iccTransactionCategoryCode=t},d.prototype.getIccTransactionCategoryCode=function(){return this.iccTransactionCategoryCode},d.prototype.setIccIssuerApplicationPreferredName=function(t){this.iccIssuerApplicationPreferredName=t},d.prototype.getIccIssuerApplicationPreferredName=function(){return this.iccIssuerApplicationPreferredName},d.prototype.setIccCardholderName=function(t){this.iccCardholderName=t},d.prototype.getIccCardholderName=function(){return this.iccCardholderName},d.prototype.setIccIssuerCodeTableIndex=function(t){this.iccIssuerCodeTableIndex=t},d.prototype.getIccIssuerCodeTableIndex=function(){return this.iccIssuerCodeTableIndex},d.prototype.setIccIssuerScripts=function(t){this.iccIssuerScripts=t},d.prototype.getIccIssuerScripts=function(){return this.iccIssuerScripts},d.prototype.setIccIssuerScriptResults=function(t){this.iccIssuerScriptResults=t},d.prototype.getIccIssuerScriptResults=function(){return this.iccIssuerScriptResults},d.prototype.setDebugTrack2EquivalentData=function(t){this.debugTrack2EquivalentData=t},d.prototype.getDebugTrack2EquivalentData=function(){return this.debugTrack2EquivalentData},d.prototype.setDebugApplicationPan=function(t){this.debugApplicationPan=t},d.prototype.getDebugApplicationPan=function(){return this.debugApplicationPan},d.prototype.setDebugAmountAuthorizedBinary=function(t){this.debugAmountAuthorizedBinary=t},d.prototype.getDebugAmountAuthorizedBinary=function(){return this.debugAmountAuthorizedBinary},d.prototype.setDebugAmountOtherBinary=function(t){this.debugAmountOtherBinary=t},d.prototype.getDebugAmountOtherBinary=function(){return this.debugAmountOtherBinary},d.prototype.setDebugTransactionStatusInformation=function(t){this.debugTransactionStatusInformation=t},d.prototype.getDebugTransactionStatusInformation=function(){return this.debugTransactionStatusInformation},d.prototype.setDebugPlainTrack1=function(t){this.debugPlainTrack1=t},d.prototype.getDebugPlainTrack1=function(){return this.debugPlainTrack1},d.prototype.setDebugPlainTrack2=function(t){this.debugPlainTrack2=t},d.prototype.getDebugPlainTrack2=function(){return this.debugPlainTrack2},d.prototype.setSchemePunATC=function(t){this.schemePunATC=t},d.prototype.getSchemePunATC=function(){return this.schemePunATC},d.prototype.setSchemeThirdPartyData=function(t){this.schemeThirdPartyData=t},d.prototype.getSchemeThirdPartyData=function(){return this.schemeThirdPartyData},d.prototype.setSchemeMerchantCustomData=function(t){this.schemeMerchantCustomData=t},d.prototype.getSchemeMerchantCustomData=function(){return this.schemeMerchantCustomData},d.prototype.setSchemeTerminalEntryCapability=function(t){this.schemeTerminalEntryCapability=t},d.prototype.getSchemeTerminalEntryCapability=function(){return this.schemeTerminalEntryCapability},d.prototype.setPinBlockContainer=function(t){this.pinBlockContainer=t},d.prototype.getPinBlockContainer=function(){return this.pinBlockContainer},d.prototype.setPinBlock=function(t){this.pinBlock=t},d.prototype.getPinBlock=function(){return this.pinBlock},d.prototype.setPinBlockKsn=function(t){this.pinBlockKsn=t},d.prototype.getPinBlockKsn=function(){return this.pinBlockKsn},d.prototype.setMac=function(t){this.mac=t},d.prototype.getMac=function(){return this.mac},d.prototype.setMacKsn=function(t){this.macKsn=t},d.prototype.getMacKsn=function(){return this.macKsn},d.prototype.setGwContainer=function(t){this.gwContainer=t},d.prototype.getGwContainer=function(){return this.gwContainer},d.prototype.setGwIssuerAuthenticationData=function(t){this.gwIssuerAuthenticationData=t},d.prototype.getGwIssuerAuthenticationData=function(){return this.gwIssuerAuthenticationData},d.prototype.setGwIssuerScriptTemplate1=function(t){this.gwIssuerScriptTemplate1=t},d.prototype.getGwIssuerScriptTemplate1=function(){return this.gwIssuerScriptTemplate1},d.prototype.setGwIssuerScriptTemplate2=function(t){this.gwIssuerScriptTemplate2=t},d.prototype.getGwIssuerScriptTemplate2=function(){return this.gwIssuerScriptTemplate2},d.prototype.setGwIssuerAuthorizationResponseCode=function(t){this.gwIssuerAuthorizationResponseCode=t},d.prototype.getGwIssuerAuthorizationResponseCode=function(){return this.gwIssuerAuthorizationResponseCode},d.prototype.setGwMessageControlField=function(t){this.gwMessageControlField=t},d.prototype.getGwMessageControlField=function(){return this.gwMessageControlField},d.prototype.setGwTxResult=function(t){this.gwTxResult=t},d.prototype.getGwTxResult=function(){return this.gwTxResult},d.prototype.setCvmResult=function(t){this.cvmResult=t},d.prototype.getCvmResult=function(){return this.cvmResult},d.prototype.setServiceCode1=function(t){this.serviceCode1=t},d.prototype.getServiceCode1=function(){return this.serviceCode1},d.prototype.setServiceCode2=function(t){this.serviceCode2=t},d.prototype.getServiceCode2=function(){return this.serviceCode2},d.prototype.setServiceCode3=function(t){this.serviceCode3=t},d.prototype.getServiceCode3=function(){return this.serviceCode3},d.prototype.setOfflineApprovalAuthCode=function(t){this.offlineApprovalAuthCode=t},d.prototype.getOfflineApprovalAuthCode=function(){return this.offlineApprovalAuthCode},d.prototype.setAvailableOfflineSpendingAmount=function(t){this.availableOfflineSpendingAmount=t},d.prototype.getAvailableOfflineSpendingAmount=function(){return this.availableOfflineSpendingAmount},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.txResult={},d._meta_.fields.txResult.type=s,d._meta_.fields.txError={},d._meta_.fields.txError.type=n,d._meta_.fields.amount={},d._meta_.fields.amount.type=Number,d._meta_.fields.tipAmount={},d._meta_.fields.tipAmount.type=Number,d._meta_.fields.cashBackAmount={},d._meta_.fields.cashBackAmount.type=Number,d._meta_.fields.errorCode={},d._meta_.fields.errorCode.type=String,d._meta_.fields.errorText={},d._meta_.fields.errorText.type=String,d._meta_.fields.transactionDate={},d._meta_.fields.transactionDate.type=String,d._meta_.fields.transactionTime={},d._meta_.fields.transactionTime.type=String,d._meta_.fields.msrContainer={},d._meta_.fields.msrContainer.type=String,d._meta_.fields.msrMaskedTrack1={},d._meta_.fields.msrMaskedTrack1.type=String,d._meta_.fields.msrMaskedTrack2={},d._meta_.fields.msrMaskedTrack2.type=String,d._meta_.fields.maskedManualPan={},d._meta_.fields.maskedManualPan.type=String,d._meta_.fields.sredContainer={},d._meta_.fields.sredContainer.type=String,d._meta_.fields.sred={},d._meta_.fields.sred.type=String,d._meta_.fields.ksn={},d._meta_.fields.ksn.type=String,d._meta_.fields.transArmorContainer={},d._meta_.fields.transArmorContainer.type=String,d._meta_.fields.transArmorKey={},d._meta_.fields.transArmorKey.type=String,d._meta_.fields.transArmorKeyId={},d._meta_.fields.transArmorKeyId.type=String,d._meta_.fields.transArmorEncryptedTrack1={},d._meta_.fields.transArmorEncryptedTrack1.type=String,d._meta_.fields.transArmorEncryptedTrack2={},d._meta_.fields.transArmorEncryptedTrack2.type=String,d._meta_.fields.transArmorEncryptedEmvTag57={},d._meta_.fields.transArmorEncryptedEmvTag57.type=String,d._meta_.fields.transArmorEncryptedEmvTag5A={},d._meta_.fields.transArmorEncryptedEmvTag5A.type=String,d._meta_.fields.transArmorEncryptedManualKeyedData={},d._meta_.fields.transArmorEncryptedManualKeyedData.type=String,d._meta_.fields.iccContainer={},d._meta_.fields.iccContainer.type=String,d._meta_.fields.iccApplicationInterchangeProfile={},d._meta_.fields.iccApplicationInterchangeProfile.type=String,d._meta_.fields.iccMaskedEmv57={},d._meta_.fields.iccMaskedEmv57.type=String,d._meta_.fields.iccMaskedEmv5A={},d._meta_.fields.iccMaskedEmv5A.type=String,d._meta_.fields.iccApplicationPanSequenceNumber={},d._meta_.fields.iccApplicationPanSequenceNumber.type=String,d._meta_.fields.iccApplicationExpirationDate={},d._meta_.fields.iccApplicationExpirationDate.type=String,d._meta_.fields.iccApplicationEffectiveDate={},d._meta_.fields.iccApplicationEffectiveDate.type=String,d._meta_.fields.iccAmountAuthorized={},d._meta_.fields.iccAmountAuthorized.type=String,d._meta_.fields.iccAmountOther={},d._meta_.fields.iccAmountOther.type=String,d._meta_.fields.iccTransactionCurrencyCode={},d._meta_.fields.iccTransactionCurrencyCode.type=String,d._meta_.fields.iccTransactionCurrencyExponent={},d._meta_.fields.iccTransactionCurrencyExponent.type=String,d._meta_.fields.iccApplicationUsageControl={},d._meta_.fields.iccApplicationUsageControl.type=String,d._meta_.fields.iccIssuerActionCodeDefault={},d._meta_.fields.iccIssuerActionCodeDefault.type=String,d._meta_.fields.iccIssuerActionCodeDenial={},d._meta_.fields.iccIssuerActionCodeDenial.type=String,d._meta_.fields.iccIssuerActionCodeOnline={},d._meta_.fields.iccIssuerActionCodeOnline.type=String,d._meta_.fields.iccApplicationLabel={},d._meta_.fields.iccApplicationLabel.type=String,d._meta_.fields.iccApplicationCryptogram={},d._meta_.fields.iccApplicationCryptogram.type=String,d._meta_.fields.iccApplicationIdentifierCard={},d._meta_.fields.iccApplicationIdentifierCard.type=String,d._meta_.fields.iccApplicationIdentifierTerminal={},d._meta_.fields.iccApplicationIdentifierTerminal.type=String,d._meta_.fields.iccApplicationTransactionCounter={},d._meta_.fields.iccApplicationTransactionCounter.type=String,d._meta_.fields.iccApplicationVersionNumber={},d._meta_.fields.iccApplicationVersionNumber.type=String,d._meta_.fields.iccCryptogramInformationData={},d._meta_.fields.iccCryptogramInformationData.type=String,d._meta_.fields.iccCvmResults={},d._meta_.fields.iccCvmResults.type=String,d._meta_.fields.iccInterfaceDeviceSerialNumber={},d._meta_.fields.iccInterfaceDeviceSerialNumber.type=String,d._meta_.fields.iccIssuerApplicationData={},d._meta_.fields.iccIssuerApplicationData.type=String,d._meta_.fields.iccPosEntryModeCode={},d._meta_.fields.iccPosEntryModeCode.type=String,d._meta_.fields.iccTerminalCapabilities={},d._meta_.fields.iccTerminalCapabilities.type=String,d._meta_.fields.iccTerminalCountryCode={},d._meta_.fields.iccTerminalCountryCode.type=String,d._meta_.fields.iccTerminalType={},d._meta_.fields.iccTerminalType.type=String,d._meta_.fields.iccTvr={},d._meta_.fields.iccTvr.type=String,d._meta_.fields.iccTransactionDate={},d._meta_.fields.iccTransactionDate.type=String,d._meta_.fields.iccTsi={},d._meta_.fields.iccTsi.type=String,d._meta_.fields.iccTransactionType={},d._meta_.fields.iccTransactionType.type=String,d._meta_.fields.iccUnpredictableNumber={},d._meta_.fields.iccUnpredictableNumber.type=String,d._meta_.fields.iccTransactionTime={},d._meta_.fields.iccTransactionTime.type=String,d._meta_.fields.iccAdditionalTerminalCapabilities={},d._meta_.fields.iccAdditionalTerminalCapabilities.type=String,d._meta_.fields.iccTransactionCategoryCode={},d._meta_.fields.iccTransactionCategoryCode.type=String,d._meta_.fields.iccIssuerApplicationPreferredName={},d._meta_.fields.iccIssuerApplicationPreferredName.type=String,d._meta_.fields.iccCardholderName={},d._meta_.fields.iccCardholderName.type=String,d._meta_.fields.iccIssuerCodeTableIndex={},d._meta_.fields.iccIssuerCodeTableIndex.type=String,d._meta_.fields.iccIssuerScripts={},d._meta_.fields.iccIssuerScripts.type=String,d._meta_.fields.iccIssuerScriptResults={},d._meta_.fields.iccIssuerScriptResults.type=String,d._meta_.fields.debugTrack2EquivalentData={},d._meta_.fields.debugTrack2EquivalentData.type=String,d._meta_.fields.debugApplicationPan={},d._meta_.fields.debugApplicationPan.type=String,d._meta_.fields.debugAmountAuthorizedBinary={},d._meta_.fields.debugAmountAuthorizedBinary.type=String,d._meta_.fields.debugAmountOtherBinary={},d._meta_.fields.debugAmountOtherBinary.type=String,d._meta_.fields.debugTransactionStatusInformation={},d._meta_.fields.debugTransactionStatusInformation.type=String,d._meta_.fields.debugPlainTrack1={},d._meta_.fields.debugPlainTrack1.type=String,d._meta_.fields.debugPlainTrack2={},d._meta_.fields.debugPlainTrack2.type=String,d._meta_.fields.schemePunATC={},d._meta_.fields.schemePunATC.type=String,d._meta_.fields.schemeThirdPartyData={},d._meta_.fields.schemeThirdPartyData.type=String,d._meta_.fields.schemeMerchantCustomData={},d._meta_.fields.schemeMerchantCustomData.type=String,d._meta_.fields.schemeTerminalEntryCapability={},d._meta_.fields.schemeTerminalEntryCapability.type=String,d._meta_.fields.pinBlockContainer={},d._meta_.fields.pinBlockContainer.type=String,d._meta_.fields.pinBlock={},d._meta_.fields.pinBlock.type=String,d._meta_.fields.pinBlockKsn={},d._meta_.fields.pinBlockKsn.type=String,d._meta_.fields.mac={},d._meta_.fields.mac.type=String,d._meta_.fields.macKsn={},d._meta_.fields.macKsn.type=String,d._meta_.fields.gwContainer={},d._meta_.fields.gwContainer.type=String,d._meta_.fields.gwIssuerAuthenticationData={},d._meta_.fields.gwIssuerAuthenticationData.type=String,d._meta_.fields.gwIssuerScriptTemplate1={},d._meta_.fields.gwIssuerScriptTemplate1.type=String,d._meta_.fields.gwIssuerScriptTemplate2={},d._meta_.fields.gwIssuerScriptTemplate2.type=String,d._meta_.fields.gwIssuerAuthorizationResponseCode={},d._meta_.fields.gwIssuerAuthorizationResponseCode.type=String,d._meta_.fields.gwMessageControlField={},d._meta_.fields.gwMessageControlField.type=String,d._meta_.fields.gwTxResult={},d._meta_.fields.gwTxResult.type=r,d._meta_.fields.cvmResult={},d._meta_.fields.cvmResult.type=o,d._meta_.fields.serviceCode1={},d._meta_.fields.serviceCode1.type=a,d._meta_.fields.serviceCode2={},d._meta_.fields.serviceCode2.type=l,d._meta_.fields.serviceCode3={},d._meta_.fields.serviceCode3.type=u,d._meta_.fields.offlineApprovalAuthCode={},d._meta_.fields.offlineApprovalAuthCode.type=String,d._meta_.fields.availableOfflineSpendingAmount={},d._meta_.fields.availableOfflineSpendingAmount.type=Number,t.exports=d},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 o(){}t.exports.pay=o,o.CardFunction=i(80321),o.ErrorCode=i(89656),o.GwTxResult=i(27416),o.PaymentRequestCardDetails=i(27138),o.ServiceCode1=i(52849),o.ServiceCode2=i(88581),o.ServiceCode3=i(9496),o.TransactionData=i(40271),o.TxResult=i(10413),t.exports=o},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 o=i(32488),n=function(){this._class_=n,this.id=void 0,this.amount=void 0,this.rate=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setRate=function(t){this.rate=t},n.prototype.getRate=function(){return this.rate},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.rate={},n._meta_.fields.rate.type=Number,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},32488:t=>{t.exports={INTERAC:"INTERAC",CREDIT_SURCHARGE:"CREDIT_SURCHARGE",CONVENIENCE_FEE:"CONVENIENCE_FEE",INTERAC_V2:"INTERAC_V2"}},93657:(t,e,i)=>{var o=i(4212),n=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=n,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=o,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=n,r._meta_.fields.createdTime={},r._meta_.fields.createdTime.type=Number,t.exports=r},10360:(t,e,i)=>{var o=i(34160),n=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=o,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=n,t.exports=a},19964:(t,e,i)=>{var o=i(4212),n=function(){this._class_=n,this.cardType=void 0,this.cardTypeLabel=void 0,this.installments=void 0,this.count=void 0,this.total=void 0};n.prototype.setCardType=function(t){this.cardType=t},n.prototype.getCardType=function(){return this.cardType},n.prototype.setCardTypeLabel=function(t){this.cardTypeLabel=t},n.prototype.getCardTypeLabel=function(){return this.cardTypeLabel},n.prototype.setInstallments=function(t){this.installments=t},n.prototype.getInstallments=function(){return this.installments},n.prototype.setCount=function(t){this.count=t},n.prototype.getCount=function(){return this.count},n.prototype.setTotal=function(t){this.total=t},n.prototype.getTotal=function(){return this.total},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.cardType={},n._meta_.fields.cardType.type=o,n._meta_.fields.cardTypeLabel={},n._meta_.fields.cardTypeLabel.type=String,n._meta_.fields.installments={},n._meta_.fields.installments.type=Number,n._meta_.fields.count={},n._meta_.fields.count.type=Number,n._meta_.fields.total={},n._meta_.fields.total.type=Number,t.exports=n},25093:(t,e,i)=>{var o=i(19964),n=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=o,l._meta_.fields.deviceTotals={},l._meta_.fields.deviceTotals.type=Array,l._meta_.fields.deviceTotals.elementType=n,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 o=i(14415),n=function(){this._class_=n,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};n.prototype.setSales=function(t){this.sales=t},n.prototype.getSales=function(){return this.sales},n.prototype.setRefunds=function(t){this.refunds=t},n.prototype.getRefunds=function(){return this.refunds},n.prototype.setNet=function(t){this.net=t},n.prototype.getNet=function(){return this.net},n.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},n.prototype.getGiftCardLoads=function(){return this.giftCardLoads},n.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},n.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},n.prototype.setTax=function(t){this.tax=t},n.prototype.getTax=function(){return this.tax},n.prototype.setTips=function(t){this.tips=t},n.prototype.getTips=function(){return this.tips},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.sales={},n._meta_.fields.sales.type=o,n._meta_.fields.refunds={},n._meta_.fields.refunds.type=o,n._meta_.fields.net={},n._meta_.fields.net.type=o,n._meta_.fields.giftCardLoads={},n._meta_.fields.giftCardLoads.type=o,n._meta_.fields.giftCardCashOuts={},n._meta_.fields.giftCardCashOuts.type=o,n._meta_.fields.tax={},n._meta_.fields.tax.type=o,n._meta_.fields.tips={},n._meta_.fields.tips.type=o,t.exports=n},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 o=i(4212),n=i(688),s=i(56614),r=i(15118),a=i(79682),l=i(45318),u=i(80373),d=function(){this._class_=d,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};d.prototype.setCardType=function(t){this.cardType=t},d.prototype.getCardType=function(){return this.cardType},d.prototype.setEntryType=function(t){this.entryType=t},d.prototype.getEntryType=function(){return this.entryType},d.prototype.setFirst6=function(t){this.first6=t},d.prototype.getFirst6=function(){return this.first6},d.prototype.setLast4=function(t){this.last4=t},d.prototype.getLast4=function(){return this.last4},d.prototype.setType=function(t){this.type=t},d.prototype.getType=function(){return this.type},d.prototype.setAuthCode=function(t){this.authCode=t},d.prototype.getAuthCode=function(){return this.authCode},d.prototype.setReferenceId=function(t){this.referenceId=t},d.prototype.getReferenceId=function(){return this.referenceId},d.prototype.setTransactionNo=function(t){this.transactionNo=t},d.prototype.getTransactionNo=function(){return this.transactionNo},d.prototype.setState=function(t){this.state=t},d.prototype.getState=function(){return this.state},d.prototype.setExtra=function(t){this.extra=t},d.prototype.getExtra=function(){return this.extra},d.prototype.setBegBalance=function(t){this.begBalance=t},d.prototype.getBegBalance=function(){return this.begBalance},d.prototype.setEndBalance=function(t){this.endBalance=t},d.prototype.getEndBalance=function(){return this.endBalance},d.prototype.setAvsResult=function(t){this.avsResult=t},d.prototype.getAvsResult=function(){return this.avsResult},d.prototype.setCardholderName=function(t){this.cardholderName=t},d.prototype.getCardholderName=function(){return this.cardholderName},d.prototype.setToken=function(t){this.token=t},d.prototype.getToken=function(){return this.token},d.prototype.setVaultedCard=function(t){this.vaultedCard=t},d.prototype.getVaultedCard=function(){return this.vaultedCard},d.prototype.setGatewayTxState=function(t){this.gatewayTxState=t},d.prototype.getGatewayTxState=function(){return this.gatewayTxState},d.prototype.setCurrency=function(t){this.currency=t},d.prototype.getCurrency=function(){return this.currency},d.prototype.setCaptured=function(t){this.captured=t},d.prototype.getCaptured=function(){return this.captured},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.cardType={},d._meta_.fields.cardType.type=o,d._meta_.fields.entryType={},d._meta_.fields.entryType.type=s,d._meta_.fields.first6={},d._meta_.fields.first6.type=String,d._meta_.fields.last4={},d._meta_.fields.last4.type=String,d._meta_.fields.type={},d._meta_.fields.type.type=a,d._meta_.fields.authCode={},d._meta_.fields.authCode.type=String,d._meta_.fields.referenceId={},d._meta_.fields.referenceId.type=String,d._meta_.fields.transactionNo={},d._meta_.fields.transactionNo.type=String,d._meta_.fields.state={},d._meta_.fields.state.type=n,d._meta_.fields.extra={},d._meta_.fields.extra.type=Object,d._meta_.fields.begBalance={},d._meta_.fields.begBalance.type=Number,d._meta_.fields.endBalance={},d._meta_.fields.endBalance.type=Number,d._meta_.fields.avsResult={},d._meta_.fields.avsResult.type=u,d._meta_.fields.cardholderName={},d._meta_.fields.cardholderName.type=String,d._meta_.fields.token={},d._meta_.fields.token.type=String,d._meta_.fields.vaultedCard={},d._meta_.fields.vaultedCard.type=r,d._meta_.fields.gatewayTxState={},d._meta_.fields.gatewayTxState.type=l,d._meta_.fields.currency={},d._meta_.fields.currency.type=String,d._meta_.fields.captured={},d._meta_.fields.captured.type=Boolean,t.exports=d},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 o=i(37912),n=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=n,s._meta_.fields.paymentType={},s._meta_.fields.paymentType.type=o,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 o=i(20275),n=function(){this._class_=n,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};n.prototype.setIdType=function(t){this.idType=t},n.prototype.getIdType=function(){return this.idType},n.prototype.setSerialNumber=function(t){this.serialNumber=t},n.prototype.getSerialNumber=function(){return this.serialNumber},n.prototype.setMaskedSerialNumber=function(t){this.maskedSerialNumber=t},n.prototype.getMaskedSerialNumber=function(){return this.maskedSerialNumber},n.prototype.setEncryptedSerialNumber=function(t){this.encryptedSerialNumber=t},n.prototype.getEncryptedSerialNumber=function(){return this.encryptedSerialNumber},n.prototype.setExpirationDate=function(t){this.expirationDate=t},n.prototype.getExpirationDate=function(){return this.expirationDate},n.prototype.setIssuingState=function(t){this.issuingState=t},n.prototype.getIssuingState=function(){return this.issuingState},n.prototype.setIssuingCountry=function(t){this.issuingCountry=t},n.prototype.getIssuingCountry=function(){return this.issuingCountry},n.prototype.setCustomerName=function(t){this.customerName=t},n.prototype.getCustomerName=function(){return this.customerName},n.prototype.setAddressStreet1=function(t){this.addressStreet1=t},n.prototype.getAddressStreet1=function(){return this.addressStreet1},n.prototype.setAddressStreet2=function(t){this.addressStreet2=t},n.prototype.getAddressStreet2=function(){return this.addressStreet2},n.prototype.setAddressCity=function(t){this.addressCity=t},n.prototype.getAddressCity=function(){return this.addressCity},n.prototype.setAddressState=function(t){this.addressState=t},n.prototype.getAddressState=function(){return this.addressState},n.prototype.setAddressZipCode=function(t){this.addressZipCode=t},n.prototype.getAddressZipCode=function(){return this.addressZipCode},n.prototype.setAddressCountry=function(t){this.addressCountry=t},n.prototype.getAddressCountry=function(){return this.addressCountry},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.idType={},n._meta_.fields.idType.type=o,n._meta_.fields.serialNumber={},n._meta_.fields.serialNumber.type=String,n._meta_.fields.maskedSerialNumber={},n._meta_.fields.maskedSerialNumber.type=String,n._meta_.fields.encryptedSerialNumber={},n._meta_.fields.encryptedSerialNumber.type=String,n._meta_.fields.expirationDate={},n._meta_.fields.expirationDate.type=String,n._meta_.fields.issuingState={},n._meta_.fields.issuingState.type=String,n._meta_.fields.issuingCountry={},n._meta_.fields.issuingCountry.type=String,n._meta_.fields.customerName={},n._meta_.fields.customerName.type=String,n._meta_.fields.addressStreet1={},n._meta_.fields.addressStreet1.type=String,n._meta_.fields.addressStreet2={},n._meta_.fields.addressStreet2.type=String,n._meta_.fields.addressCity={},n._meta_.fields.addressCity.type=String,n._meta_.fields.addressState={},n._meta_.fields.addressState.type=String,n._meta_.fields.addressZipCode={},n._meta_.fields.addressZipCode.type=String,n._meta_.fields.addressCountry={},n._meta_.fields.addressCountry.type=String,t.exports=n},11654:(t,e,i)=>{var o=i(893),n=function(){this._class_=n,this.cashAdvanceSerialNum=void 0,this.cashAdvanceCustomerIdentification=void 0};n.prototype.setCashAdvanceSerialNum=function(t){this.cashAdvanceSerialNum=t},n.prototype.getCashAdvanceSerialNum=function(){return this.cashAdvanceSerialNum},n.prototype.setCashAdvanceCustomerIdentification=function(t){this.cashAdvanceCustomerIdentification=t},n.prototype.getCashAdvanceCustomerIdentification=function(){return this.cashAdvanceCustomerIdentification},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.cashAdvanceSerialNum={},n._meta_.fields.cashAdvanceSerialNum.type=String,n._meta_.fields.cashAdvanceCustomerIdentification={},n._meta_.fields.cashAdvanceCustomerIdentification.type=o,t.exports=n},6639:(t,e,i)=>{var o=i(26866),n=i(113),s=i(27022),r=i(51029),a=i(52448),l=i(12033),u=i(50234),d=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=o,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=n,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=d,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=u,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 o=i(12033),n=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=o,a._meta_.fields.transactionInfo={},a._meta_.fields.transactionInfo.type=n,t.exports=a},38822:(t,e,i)=>{var o=i(27022),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.creditRefund=void 0,this.clientData=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setCreditRefund=function(t){this.creditRefund=t},n.prototype.getCreditRefund=function(){return this.creditRefund},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.creditRefund={},n._meta_.fields.creditRefund.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,t.exports=n},23102:(t,e,i)=>{var o=i(27138),n=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=n,s._meta_.fields.paymentCard={},s._meta_.fields.paymentCard.type=o,t.exports=s},31575:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.credit=void 0,this.clientData=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,t.exports=n},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 o=i(19964),n=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=n,s._meta_.fields.refunds={},s._meta_.fields.refunds.type=n,s._meta_.fields.net={},s._meta_.fields.net.type=n,s._meta_.fields.giftCardLoads={},s._meta_.fields.giftCardLoads.type=n,s._meta_.fields.giftCardCashOuts={},s._meta_.fields.giftCardCashOuts.type=n,s._meta_.fields.tax={},s._meta_.fields.tax.type=n,s._meta_.fields.tips={},s._meta_.fields.tips.type=n,s._meta_.fields.cardTotals={},s._meta_.fields.cardTotals.type=Array,s._meta_.fields.cardTotals.elementType=o,t.exports=s},78648:(t,e,i)=>{var o=i(4448),n=function(){this._class_=n,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};n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.setMerchant=function(t){this.merchant=t},n.prototype.getMerchant=function(){return this.merchant},n.prototype.setApprovedBy=function(t){this.approvedBy=t},n.prototype.getApprovedBy=function(){return this.approvedBy},n.prototype.setOrder=function(t){this.order=t},n.prototype.getOrder=function(){return this.order},n.prototype.setLineItem=function(t){this.lineItem=t},n.prototype.getLineItem=function(){return this.lineItem},n.prototype.setCreatedTime=function(t){this.createdTime=t},n.prototype.getCreatedTime=function(){return this.createdTime},n.prototype.setEnvironment=function(t){this.environment=t},n.prototype.getEnvironment=function(){return this.environment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,n._meta_.fields.merchant={},n._meta_.fields.merchant.type=o,n._meta_.fields.approvedBy={},n._meta_.fields.approvedBy.type=o,n._meta_.fields.order={},n._meta_.fields.order.type=o,n._meta_.fields.lineItem={},n._meta_.fields.lineItem.type=o,n._meta_.fields.createdTime={},n._meta_.fields.createdTime.type=Number,n._meta_.fields.environment={},n._meta_.fields.environment.type=String,t.exports=n},21570:(t,e,i)=>{var o=i(2444),n=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=n,s._meta_.fields.ecommIndicator={},s._meta_.fields.ecommIndicator.type=o,t.exports=s},12299:(t,e,i)=>{var o=i(19964),n=function(){this._class_=n,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};n.prototype.setSuccess=function(t){this.success=t},n.prototype.getSuccess=function(){return this.success},n.prototype.setEndpointName=function(t){this.endpointName=t},n.prototype.getEndpointName=function(){return this.endpointName},n.prototype.setBatchNumber=function(t){this.batchNumber=t},n.prototype.getBatchNumber=function(){return this.batchNumber},n.prototype.setTerminalId=function(t){this.terminalId=t},n.prototype.getTerminalId=function(){return this.terminalId},n.prototype.setCount=function(t){this.count=t},n.prototype.getCount=function(){return this.count},n.prototype.setTotal=function(t){this.total=t},n.prototype.getTotal=function(){return this.total},n.prototype.setCardTotals=function(t){this.cardTotals=t},n.prototype.getCardTotals=function(){return this.cardTotals},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.success={},n._meta_.fields.success.type=Boolean,n._meta_.fields.endpointName={},n._meta_.fields.endpointName.type=String,n._meta_.fields.batchNumber={},n._meta_.fields.batchNumber.type=String,n._meta_.fields.terminalId={},n._meta_.fields.terminalId.type=String,n._meta_.fields.count={},n._meta_.fields.count.type=Number,n._meta_.fields.total={},n._meta_.fields.total.type=Number,n._meta_.fields.cardTotals={},n._meta_.fields.cardTotals.type=Array,n._meta_.fields.cardTotals.elementType=o,t.exports=n},76497:(t,e,i)=>{var o=i(34160),n=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=n,s._meta_.fields.batchType={},s._meta_.fields.batchType.type=o,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 o=i(6783),n=function(){this._class_=n,this.action=void 0,this.ruleTriggered=void 0,this.reason=void 0};n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setRuleTriggered=function(t){this.ruleTriggered=t},n.prototype.getRuleTriggered=function(){return this.ruleTriggered},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.action={},n._meta_.fields.action.type=o,n._meta_.fields.ruleTriggered={},n._meta_.fields.ruleTriggered.type=String,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},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 o=i(14264),n=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=o,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=n,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 o=i(59042),n=i(82794),s=i(82447),r=function(){this._class_=r,this.txType=void 0,this.state=o.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=o,r._meta_.fields.requestAmount={},r._meta_.fields.requestAmount.type=Number,r._meta_.fields.payment={},r._meta_.fields.payment.type=n,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 o=i(62886),n=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=n,a._meta_.fields.lineItems={},a._meta_.fields.lineItems.type=Array,a._meta_.fields.lineItems.elementType=o,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 o=i(113),n=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=o,r._meta_.fields.result={},r._meta_.fields.result.type=n,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 o=i(51029),n=i(48067),s=i(66824),r=i(96207),a=i(82986),l=i(11654),u=i(37471),d=i(17589),p=i(113),_=i(62886),c=i(3306),m=i(79035),f=i(12033),y=i(50234),h=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=h,S._meta_.fields.device={},S._meta_.fields.device.type=h,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=h,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=o,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=n,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=u,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=h,S._meta_.fields.voidPaymentRef={},S._meta_.fields.voidPaymentRef.type=h,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=d,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=y,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=h,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 o=i(82794),n=function(){this._class_=n,this.requestSuccessful=void 0,this.responseErrorMessage=void 0,this.payment=void 0,this.clientData=void 0,this.syncPaymentObject=void 0};n.prototype.setRequestSuccessful=function(t){this.requestSuccessful=t},n.prototype.getRequestSuccessful=function(){return this.requestSuccessful},n.prototype.setResponseErrorMessage=function(t){this.responseErrorMessage=t},n.prototype.getResponseErrorMessage=function(){return this.responseErrorMessage},n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setClientData=function(t){this.clientData=t},n.prototype.getClientData=function(){return this.clientData},n.prototype.setSyncPaymentObject=function(t){this.syncPaymentObject=t},n.prototype.getSyncPaymentObject=function(){return this.syncPaymentObject},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.requestSuccessful={},n._meta_.fields.requestSuccessful.type=Boolean,n._meta_.fields.responseErrorMessage={},n._meta_.fields.responseErrorMessage.type=String,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.clientData={},n._meta_.fields.clientData.type=Object,n._meta_.fields.syncPaymentObject={},n._meta_.fields.syncPaymentObject.type=Boolean,t.exports=n},5134:(t,e,i)=>{var o=i(4212),n=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=o,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=n,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 o=i(113),n=i(48067),s=i(52448),r=i(12033),a=i(66824),l=i(50234),u=i(4448),d=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=u,_._meta_.fields.device={},_._meta_.fields.device.type=u,_._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=u,_._meta_.fields.employee={},_._meta_.fields.employee.type=u,_._meta_.fields.lineItems={},_._meta_.fields.lineItems.type=Array,_._meta_.fields.lineItems.elementType=u,_._meta_.fields.overrideMerchantTender={},_._meta_.fields.overrideMerchantTender.type=d,_._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=n,_._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=o,_._meta_.fields.transactionInfo={},_._meta_.fields.transactionInfo.type=l,_._meta_.fields.merchant={},_._meta_.fields.merchant.type=u,_._meta_.fields.externalReferenceId={},_._meta_.fields.externalReferenceId.type=String,t.exports=_},40716:(t,e,i)=>{var o=i(27138),n=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=n,s._meta_.fields.card={},s._meta_.fields.card.type=o,s._meta_.fields.isAdjustment={},s._meta_.fields.isAdjustment.type=Boolean,t.exports=s},46797:(t,e,i)=>{var o=i(82794),n=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=n,s._meta_.fields.payment={},s._meta_.fields.payment.type=o,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 o=i(14415),n=function(){this._class_=n,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};n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setEmployeeName=function(t){this.employeeName=t},n.prototype.getEmployeeName=function(){return this.employeeName},n.prototype.setSales=function(t){this.sales=t},n.prototype.getSales=function(){return this.sales},n.prototype.setRefunds=function(t){this.refunds=t},n.prototype.getRefunds=function(){return this.refunds},n.prototype.setNet=function(t){this.net=t},n.prototype.getNet=function(){return this.net},n.prototype.setGiftCardLoads=function(t){this.giftCardLoads=t},n.prototype.getGiftCardLoads=function(){return this.giftCardLoads},n.prototype.setGiftCardCashOuts=function(t){this.giftCardCashOuts=t},n.prototype.getGiftCardCashOuts=function(){return this.giftCardCashOuts},n.prototype.setTax=function(t){this.tax=t},n.prototype.getTax=function(){return this.tax},n.prototype.setTips=function(t){this.tips=t},n.prototype.getTips=function(){return this.tips},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.employeeName={},n._meta_.fields.employeeName.type=String,n._meta_.fields.sales={},n._meta_.fields.sales.type=o,n._meta_.fields.refunds={},n._meta_.fields.refunds.type=o,n._meta_.fields.net={},n._meta_.fields.net.type=o,n._meta_.fields.giftCardLoads={},n._meta_.fields.giftCardLoads.type=o,n._meta_.fields.giftCardCashOuts={},n._meta_.fields.giftCardCashOuts.type=o,n._meta_.fields.tax={},n._meta_.fields.tax.type=o,n._meta_.fields.tips={},n._meta_.fields.tips.type=o,t.exports=n},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 o=i(37471),n=function(){this._class_=n,this.refund=void 0};n.prototype.setRefund=function(t){this.refund=t},n.prototype.getRefund=function(){return this.refund},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.refund={},n._meta_.fields.refund.type=o,t.exports=n},40188:(t,e,i)=>{var o=i(15118),n=function(){this._class_=n,this.amount=void 0,this.orderId=void 0,this.sourcePaymentId=void 0,this.vaultedCard=void 0};n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setSourcePaymentId=function(t){this.sourcePaymentId=t},n.prototype.getSourcePaymentId=function(){return this.sourcePaymentId},n.prototype.setVaultedCard=function(t){this.vaultedCard=t},n.prototype.getVaultedCard=function(){return this.vaultedCard},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.sourcePaymentId={},n._meta_.fields.sourcePaymentId.type=String,n._meta_.fields.vaultedCard={},n._meta_.fields.vaultedCard.type=o,t.exports=n},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 o=i(4448),n=function(){this._class_=n,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};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setTaxableAmount=function(t){this.taxableAmount=t},n.prototype.getTaxableAmount=function(){return this.taxableAmount},n.prototype.setRate=function(t){this.rate=t},n.prototype.getRate=function(){return this.rate},n.prototype.setIsVat=function(t){this.isVat=t},n.prototype.getIsVat=function(){return this.isVat},n.prototype.setTaxAmount=function(t){this.taxAmount=t},n.prototype.getTaxAmount=function(){return this.taxAmount},n.prototype.setTransactionRef=function(t){this.transactionRef=t},n.prototype.getTransactionRef=function(){return this.transactionRef},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.taxableAmount={},n._meta_.fields.taxableAmount.type=Number,n._meta_.fields.rate={},n._meta_.fields.rate.type=Number,n._meta_.fields.isVat={},n._meta_.fields.isVat.type=Boolean,n._meta_.fields.taxAmount={},n._meta_.fields.taxAmount.type=Number,n._meta_.fields.transactionRef={},n._meta_.fields.transactionRef.type=o,t.exports=n},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 o=i(26866),n=i(73865),s=i(113),r=i(51029),a=i(50234),l=i(4448),u=i(50775),d=function(){this._class_=d,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};d.prototype.setId=function(t){this.id=t},d.prototype.getId=function(){return this.id},d.prototype.setType=function(t){this.type=t},d.prototype.getType=function(){return this.type},d.prototype.setEmployee=function(t){this.employee=t},d.prototype.getEmployee=function(){return this.employee},d.prototype.setDevice=function(t){this.device=t},d.prototype.getDevice=function(){return this.device},d.prototype.setMerchant=function(t){this.merchant=t},d.prototype.getMerchant=function(){return this.merchant},d.prototype.setTender=function(t){this.tender=t},d.prototype.getTender=function(){return this.tender},d.prototype.setCustomer=function(t){this.customer=t},d.prototype.getCustomer=function(){return this.customer},d.prototype.setExternalReferenceId=function(t){this.externalReferenceId=t},d.prototype.getExternalReferenceId=function(){return this.externalReferenceId},d.prototype.setCardTransaction=function(t){this.cardTransaction=t},d.prototype.getCardTransaction=function(){return this.cardTransaction},d.prototype.setNote=function(t){this.note=t},d.prototype.getNote=function(){return this.note},d.prototype.setResult=function(t){this.result=t},d.prototype.getResult=function(){return this.result},d.prototype.setCreatedTime=function(t){this.createdTime=t},d.prototype.getCreatedTime=function(){return this.createdTime},d.prototype.setModifiedTime=function(t){this.modifiedTime=t},d.prototype.getModifiedTime=function(){return this.modifiedTime},d.prototype.setDeletedTime=function(t){this.deletedTime=t},d.prototype.getDeletedTime=function(){return this.deletedTime},d.prototype.setTransactionInfo=function(t){this.transactionInfo=t},d.prototype.getTransactionInfo=function(){return this.transactionInfo},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.type={},d._meta_.fields.type.type=n,d._meta_.fields.employee={},d._meta_.fields.employee.type=l,d._meta_.fields.device={},d._meta_.fields.device.type=l,d._meta_.fields.merchant={},d._meta_.fields.merchant.type=l,d._meta_.fields.tender={},d._meta_.fields.tender.type=u,d._meta_.fields.customer={},d._meta_.fields.customer.type=o,d._meta_.fields.externalReferenceId={},d._meta_.fields.externalReferenceId.type=String,d._meta_.fields.cardTransaction={},d._meta_.fields.cardTransaction.type=s,d._meta_.fields.note={},d._meta_.fields.note.type=String,d._meta_.fields.result={},d._meta_.fields.result.type=r,d._meta_.fields.createdTime={},d._meta_.fields.createdTime.type=Number,d._meta_.fields.modifiedTime={},d._meta_.fields.modifiedTime.type=Number,d._meta_.fields.deletedTime={},d._meta_.fields.deletedTime.type=Number,d._meta_.fields.transactionInfo={},d._meta_.fields.transactionInfo.type=a,t.exports=d},73865:t=>{t.exports={VERIFICATION:"VERIFICATION",TOKEN_REQUEST:"TOKEN_REQUEST"}},98957:(t,e,i)=>{var o=i(27022),n=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=n,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=o,t.exports=a},50234:(t,e,i)=>{var o=i(66976),n=i(65582),s=i(43762),r=i(21570),a=i(4212),l=i(56614),u=i(4468),d=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=o,c._meta_.fields.transactionResult={},c._meta_.fields.transactionResult.type=d,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=u,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=n,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 o=i(32628),n=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=n,r._meta_.fields.tipMode={},r._meta_.fields.tipMode.type=o,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 o=i(90622),n=function(){this._class_=n,this.vasProviders=void 0};n.prototype.setVasProviders=function(t){this.vasProviders=t},n.prototype.getVasProviders=function(){return this.vasProviders},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.vasProviders={},n._meta_.fields.vasProviders.type=Array,n._meta_.fields.vasProviders.elementType=o,t.exports=n},64213:(t,e,i)=>{var o=i(7641),n=function(){this._class_=n,this.dataType=void 0};n.prototype.setDataType=function(t){this.dataType=t},n.prototype.getDataType=function(){return this.dataType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.dataType={},n._meta_.fields.dataType.type=o,t.exports=n},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 o=i(7497),n=function(){this._class_=n,this.payloadElements=void 0};n.prototype.setPayloadElements=function(t){this.payloadElements=t},n.prototype.getPayloadElements=function(){return this.payloadElements},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payloadElements={},n._meta_.fields.payloadElements.type=Array,n._meta_.fields.payloadElements.elementType=o,t.exports=n},7497:(t,e,i)=>{var o=i(3360),n=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=o,r._meta_.fields.vasData={},r._meta_.fields.vasData.type=String,r._meta_.fields.protocolId={},r._meta_.fields.protocolId.type=n,r._meta_.fields.merchantId={},r._meta_.fields.merchantId.type=String,t.exports=r},35269:(t,e,i)=>{var o=i(38913),n=function(){this._class_=n,this.responseType=void 0};n.prototype.setResponseType=function(t){this.responseType=t},n.prototype.getResponseType=function(){return this.responseType},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.responseType={},n._meta_.fields.responseType.type=o,t.exports=n},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 o=i(40492),n=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=o,s._meta_.fields.supportedServices={},s._meta_.fields.supportedServices.type=Array,s._meta_.fields.supportedServices.elementType=n,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 o=i(45265),n=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=n,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=o,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 o(){}t.exports.payments=o,o.AVSResult=i(80373),o.AccountType=i(18593),o.AdditionalChargeAmount=i(48067),o.AdditionalChargeType=i(32488),o.Authorization=i(93657),o.Batch=i(10360),o.BatchCardTotal=i(19964),o.BatchDetail=i(25093),o.BatchRequest=i(65339),o.BatchState=i(33513),o.BatchTotalStats=i(42802),o.BatchTotalType=i(14415),o.BatchTransactions=i(23549),o.BatchType=i(34160),o.CVVResult=i(74215),o.CardEntryType=i(56614),o.CardTransaction=i(113),o.CardTransactionState=i(688),o.CardTransactionType=i(79682),o.CardType=i(4212),o.CardlessPaymentData=i(78317),o.CardlessPaymentDataType=i(37912),o.CardlessPaymentNetwork=i(57925),o.CashAdvanceCustomerIdentification=i(893),o.CashAdvanceExtra=i(11654),o.Credit=i(6639),o.CreditRefund=i(27022),o.CreditRefundResponse=i(38822),o.CreditRequest=i(23102),o.CreditResponse=i(31575),o.Currency=i(14264),o.CvmResult=i(43634),o.DCCInfo=i(82986),o.DataEntryLocation=i(57953),o.DeviceTotalStats=i(24754),o.DiscountApprover=i(78648),o.ECommTransactionInfo=i(21570),o.EndpointTotalStats=i(12299),o.FailedBatchSettlement=i(76497),o.FraudResponseAction=i(6783),o.FraudResponseCodeType=i(80403),o.FraudResponseReason=i(4302),o.GatewayTxState=i(45318),o.GatewayTxType=i(13911),o.GatewayTxs=i(21029),o.GermanInfo=i(17589),o.GiftCard=i(26175),o.GiftCardResponse=i(91038),o.GiftCardState=i(59042),o.GiftCardTransaction=i(84725),o.IdType=i(20275),o.IncrementalAuthorization=i(79035),o.LineItemPayment=i(62886),o.Payment=i(82794),o.PaymentAttribute=i(4391),o.PaymentResponse=i(90792),o.PaymentResponseFraudSetting=i(5134),o.PaymentTaxRate=i(96207),o.PromotionalMessage=i(65582),o.Refund=i(37471),o.RefundRequest=i(40716),o.RefundResponse=i(46797),o.RegionalExtras=i(49734),o.Result=i(51029),o.ReversalReason=i(4468),o.SelectedService=i(66976),o.ServerTotalStats=i(33066),o.ServiceChargeAmount=i(66824),o.ServiceFeeRefundRequest=i(51743),o.ServiceFeeRequest=i(40188),o.SignatureDisclaimer=i(99485),o.TaxableAmountRate=i(52448),o.TipMode=i(32628),o.TokenRequest=i(95426),o.TokenRequestType=i(73865),o.Transaction=i(98957),o.TransactionInfo=i(50234),o.TransactionResult=i(57311),o.TransactionSettings=i(56135),o.TxFormat=i(43762),o.TxType=i(82447),o.Type=i(88960),o.VasConfig=i(53266),o.VasDataType=i(64213),o.VasDataTypeType=i(7641),o.VasMode=i(75314),o.VasPayload=i(61691),o.VasPayloadElement=i(7497),o.VasPayloadResponse=i(35269),o.VasPayloadResponseType=i(38913),o.VasProtocol=i(40492),o.VasPushMode=i(45265),o.VasResponseFormat=i(3360),o.VasServiceProvider=i(90622),o.VasSettings=i(74965),o.VaultedCard=i(15118),t.exports=o},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 o=i(78353),n=function(){this._class_=n,this.id=void 0,this.mac=void 0,this.model=void 0,this.name=void 0,this.ipAddress=void 0,this.type=void 0};n.prototype.setId=function(t){this.id=t},n.prototype.getId=function(){return this.id},n.prototype.setMac=function(t){this.mac=t},n.prototype.getMac=function(){return this.mac},n.prototype.setModel=function(t){this.model=t},n.prototype.getModel=function(){return this.model},n.prototype.setName=function(t){this.name=t},n.prototype.getName=function(){return this.name},n.prototype.setIpAddress=function(t){this.ipAddress=t},n.prototype.getIpAddress=function(){return this.ipAddress},n.prototype.setType=function(t){this.type=t},n.prototype.getType=function(){return this.type},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.id={},n._meta_.fields.id.type=String,n._meta_.fields.mac={},n._meta_.fields.mac.type=String,n._meta_.fields.model={},n._meta_.fields.model.type=String,n._meta_.fields.name={},n._meta_.fields.name.type=String,n._meta_.fields.ipAddress={},n._meta_.fields.ipAddress.type=String,n._meta_.fields.type={},n._meta_.fields.type.type=o,t.exports=n},78353:t=>{t.exports={NETWORK:"NETWORK",MY_LOCAL:"MY_LOCAL"}},54492:(t,e,i)=>{function o(){}t.exports.printer=o,o.PrintCategory=i(34454),o.PrintJobStatus=i(15350),o.Printer=i(43540),o.PrinterType=i(78353),t.exports=o},71410:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACK),this.sourceMethod=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.sourceMethod={},s._meta_.fields.sourceMethod.type=o,t.exports=s},93974:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_MESSAGE_FROM_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_MESSAGE_TO_ACTIVITY),this.action=void 0,this.payload=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_REQUEST),this.action=void 0,this.payload=void 0,this.nonBlocking=void 0,this.forceLaunch=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.ACTIVITY_RESPONSE),this.resultCode=void 0,this.failReason=void 0,this.payload=void 0,this.action=void 0};s.prototype=Object.create(n.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_=n._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 o=i(16572),n=function(){this._class_=n,this.discount=void 0};n.prototype.setDiscount=function(t){this.discount=t},n.prototype.getDiscount=function(){return this.discount},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.discount={},n._meta_.fields.discount.type=o,t.exports=n},32364:(t,e,i)=>{var o=i(6062),n=function(){this._class_=n,this.lineItem=void 0,this.taxable=void 0};n.prototype.setLineItem=function(t){this.lineItem=t},n.prototype.getLineItem=function(){return this.lineItem},n.prototype.setTaxable=function(t){this.taxable=t},n.prototype.getTaxable=function(){return this.taxable},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.lineItem={},n._meta_.fields.lineItem.type=o,n._meta_.fields.taxable={},n._meta_.fields.taxable.type=Boolean,t.exports=n},4295:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.BALANCE_INQUIRY),this.cardEntryMethods=void 0,this.cardDataMessage=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(27138),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.BREAK)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},22008:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CAPTURE_PREAUTH),this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,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 o=i(58552),n=i(23305),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},71346:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(9728),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.cardData={},a._meta_.fields.cardData.type=r,t.exports=a},1838:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CASHBACK_SELECTED),this.cashbackAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.cashbackAmount={},s._meta_.fields.cashbackAmount.type=Number,t.exports=s},91146:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CLOSEOUT_REQUEST),this.allowOpenTabs=void 0,this.batchId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(10360),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.batch={},a._meta_.fields.batch.type=s,t.exports=a},93761:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CLOVER_DEVICE_LOG_REQUEST),this.message=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.message={},s._meta_.fields.message.type=String,t.exports=s},58429:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.CONFIGURATION_CHANGE),this.configurationType=void 0,this.configuration=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(52514),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},50441:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6639),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_CREDIT),this.credit=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.credit={},r._meta_.fields.credit.type=s,t.exports=r},24088:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(84265),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.CUSTOMER_INFO_MESSAGE),this.customer=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.customer={},r._meta_.fields.customer.type=s,t.exports=r},41936:(t,e,i)=>{var o=i(58552),n=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.data={},r._meta_.fields.data.type=String,t.exports=r},38237:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6639),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_CREDIT_DECLINE),this.credit=void 0,this.reason=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_PAYMENT_DECLINE),this.payment=void 0,this.reason=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.setReason=function(t){this.reason=t},r.prototype.getReason=function(){return this.reason},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.reason={},r._meta_.fields.reason.type=String,t.exports=r},46025:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.DISCOVERY_REQUEST),this.supportsOrderModification=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.supportsOrderModification={},s._meta_.fields.supportsOrderModification.type=Boolean,t.exports=s},44709:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.EMPLOYEE_PERMISSIONS_REQUEST),this.reason=void 0,this.permissions=void 0,this.appPackage=void 0,this.showCancelButton=void 0};s.prototype=Object.create(n.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_=n._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 o=i(59911),n=function(){this._class_=n,this.errorCode=void 0};n.prototype.setErrorCode=function(t){this.errorCode=t},n.prototype.getErrorCode=function(){return this.errorCode},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.errorCode={},n._meta_.fields.errorCode.type=o,t.exports=n},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 o=i(13382),n=function(){this._class_=n,this.state=void 0};n.prototype.setState=function(t){this.state=t},n.prototype.getState=function(){return this.state},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.state={},n._meta_.fields.state.type=o,t.exports=n},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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.FINISH_CANCEL),this.requestInfo=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.requestInfo={},s._meta_.fields.requestInfo.type=String,t.exports=s},4847:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(42348),a=i(37471),l=i(6639),u=function(){n.call(this),this._superClass_=n,this._class_=u,this.setMethod(o.FINISH_OK),this.credit=void 0,this.payment=void 0,this.refund=void 0,this.signature=void 0,this.requestInfo=void 0};u.prototype=Object.create(n.prototype),u.prototype.constructor=u,u.prototype.setCredit=function(t){this.credit=t},u.prototype.getCredit=function(){return this.credit},u.prototype.setPayment=function(t){this.payment=t},u.prototype.getPayment=function(){return this.payment},u.prototype.setRefund=function(t){this.refund=t},u.prototype.getRefund=function(){return this.refund},u.prototype.setSignature=function(t){this.signature=t},u.prototype.getSignature=function(){return this.signature},u.prototype.setRequestInfo=function(t){this.requestInfo=t},u.prototype.getRequestInfo=function(){return this.requestInfo},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=n._meta_,u._meta_.fields.credit={},u._meta_.fields.credit.type=l,u._meta_.fields.payment={},u._meta_.fields.payment.type=s,u._meta_.fields.refund={},u._meta_.fields.refund.type=a,u._meta_.fields.signature={},u._meta_.fields.signature.type=r,u._meta_.fields.requestInfo={},u._meta_.fields.requestInfo.type=String,t.exports=u},87233:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.FORCECONNECT),this.friendlyId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.friendlyId={},s._meta_.fields.friendlyId.type=String,t.exports=s},34077:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(34454),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.GET_PRINTERS_REQUEST),this.category=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.category={},r._meta_.fields.category.type=s,t.exports=r},63019:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},54294:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},6556:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.INCREMENT_PREAUTH_REQUEST),this.amount=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(93657),s=i(39933),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,t.exports=a},10915:(t,e,i)=>{var o=i(52750),n=function(){this._class_=n,this.keyPress=void 0,this.description=void 0};n.prototype.setKeyPress=function(t){this.keyPress=t},n.prototype.getKeyPress=function(){return this.keyPress},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.keyPress={},n._meta_.fields.keyPress.type=o,n._meta_.fields.description={},n._meta_.fields.description.type=String,t.exports=n},58394:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),u=function(){a.call(this),this._superClass_=a,this._class_=u,this.setMethod(o.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};u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.setResult=function(t){this.result=t},u.prototype.getResult=function(){return this.result},u.prototype.setReason=function(t){this.reason=t},u.prototype.getReason=function(){return this.reason},u.prototype.setRequestedTransition=function(t){this.requestedTransition=t},u.prototype.getRequestedTransition=function(){return this.requestedTransition},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setSubstate=function(t){this.substate=t},u.prototype.getSubstate=function(){return this.substate},u.prototype.setData=function(t){this.data=t},u.prototype.getData=function(){return this.data},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=a._meta_,u._meta_.fields.result={},u._meta_.fields.result.type=n,u._meta_.fields.reason={},u._meta_.fields.reason.type=String,u._meta_.fields.requestedTransition={},u._meta_.fields.requestedTransition.type=String,u._meta_.fields.state={},u._meta_.fields.state.type=r,u._meta_.fields.substate={},u._meta_.fields.substate.type=s,u._meta_.fields.data={},u._meta_.fields.data.type=l,t.exports=u},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 o=i(52750),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},94368:(t,e,i)=>{var o=i(58552),n=i(52750),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},95169:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.LAST_MSG_REQUEST)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},63581:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.LAST_MSG_RESPONSE),this.request=void 0,this.response=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.request={},s._meta_.fields.request.type=n,s._meta_.fields.response={},s._meta_.fields.response.type=n,t.exports=s},42128:t=>{t.exports={VERBOSE:"VERBOSE",DEBUG:"DEBUG",INFO:"INFO",WARN:"WARN",ERROR:"ERROR"}},60536:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(42128),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.LOG_MESSAGE),this.logLevel=void 0,this.messages=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_CALCULATED),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_EARNED_SCREEN),this.loyaltyUuid=void 0,this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_LOYALTY_POINTS_RECEIPT_PRINTED),this.points=void 0,this.orderId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=function(){this._class_=n,this.method=void 0,this.messageId=void 0,this.sourceMessageId=void 0,this.version=0};n.prototype.setMethod=function(t){this.method=t},n.prototype.getMethod=function(){return this.method},n.prototype.setMessageId=function(t){this.messageId=t},n.prototype.getMessageId=function(){return this.messageId},n.prototype.setSourceMessageId=function(t){this.sourceMessageId=t},n.prototype.getSourceMessageId=function(){return this.sourceMessageId},n.prototype.setVersion=function(t){this.version=t},n.prototype.getVersion=function(){return this.version},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.method={},n._meta_.fields.method.type=o,n._meta_.fields.messageId={},n._meta_.fields.messageId.type=String,n._meta_.fields.sourceMessageId={},n._meta_.fields.sourceMessageId.type=String,n._meta_.fields.version={},n._meta_.fields.version.type=Number,t.exports=n},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 o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},28333:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(28162),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_ADD_DISCOUNT),this.addDiscountAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.addDiscountAction={},r._meta_.fields.addDiscountAction.type=s,t.exports=r},4861:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(32364),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_ADD_LINE_ITEM),this.addLineItemAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.addLineItemAction={},r._meta_.fields.addLineItemAction.type=s,t.exports=r},3559:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(22873),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_REMOVE_DISCOUNT),this.removeDiscountAction=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.removeDiscountAction={},r._meta_.fields.removeDiscountAction.type=s,t.exports=r},21497:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(6294),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_REMOVE_LINE_ITEM),this.removeLineItemAction=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=i(91485),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.ORDER_ACTION_RESPONSE),this.orderActionResponse=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.orderActionResponse={},r._meta_.fields.orderActionResponse.type=s,t.exports=r},976:(t,e,i)=>{var o=i(58552),n=i(78368),s=i(30087),r=i(63485),a=i(89361),l=i(79494),u=i(2565),d=i(74066),p=function(){r.call(this),this._superClass_=r,this._class_=p,this.setMethod(o.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=u,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=n,p._meta_.fields.discountsDeletedOperation={},p._meta_.fields.discountsDeletedOperation.type=d,p._meta_.fields.orderDeletedOperation={},p._meta_.fields.orderDeletedOperation.type=s,t.exports=p},34410:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PAIRING_CODE),this.pairingCode=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.pairingCode={},s._meta_.fields.pairingCode.type=String,t.exports=s},25138:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PAIRING_REQUEST),this.name=void 0,this.serialNumber=void 0,this.applicationName=void 0,this.authenticationToken=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(25138),s=i(49032),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PAIRING_RESPONSE),this.pairingState=void 0,this.millis=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PARTIAL_AUTH),this.partialAuthAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.partialAuthAmount={},s._meta_.fields.partialAuthAmount.type=Number,t.exports=s},23305:(t,e,i)=>{var o=i(98183),n=i(893),s=i(52448),r=i(12033),a=i(66824),l=i(15118),u=i(56135),d=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=o,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=d,p._meta_.fields.cashAdvanceCustomerIdentification={},p._meta_.fields.cashAdvanceCustomerIdentification.type=n,p._meta_.fields.transactionSettings={},p._meta_.fields.transactionSettings.type=u,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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PAYMENT_CONFIRMED),this.payment=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._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},51118:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.PRINT_PAYMENT_MERCHANT_COPY),this.payment=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._meta_={fields:{}},r._meta_._class_=r,r._meta_._superMeta_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=s,t.exports=r},3385:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(14326),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.PRINT_PAYMENT),this.payment=void 0,this.order=void 0};a.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},71382:(t,e,i)=>{var o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,t.exports=a},27195:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.PRINT_JOB_STATUS_REQUEST),this.externalPrintJobId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.externalPrintJobId={},s._meta_.fields.externalPrintJobId.type=String,t.exports=s},31174:(t,e,i)=>{var o=i(58552),n=i(15350),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},30741:t=>{t.exports={FOUND:"FOUND",NOT_FOUND:"NOT_FOUND",IN_PROGRESS:"IN_PROGRESS"}},40270:(t,e,i)=>{var o=i(30741),n=function(){this._class_=n,this.queryStatus=void 0};n.prototype.setQueryStatus=function(t){this.queryStatus=t},n.prototype.getQueryStatus=function(){return this.queryStatus},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.queryStatus={},n._meta_.fields.queryStatus.type=o,t.exports=n},71041:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(14326),a=i(37471),l=function(){n.call(this),this._superClass_=n,this._class_=l,this.setMethod(o.REFUND_PRINT_PAYMENT),this.payment=void 0,this.order=void 0,this.refund=void 0};l.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(42157),s=i(63485),r=i(59911),a=i(37471),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(o.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=n,t.exports=l},13904:(t,e,i)=>{var o=i(58552),n=i(77166),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},79441:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.REMOTE_ERROR),this.errorDetail=void 0,this.errorMessage=void 0,this.errorCode=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=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=n,s._meta_.fields.packageName={},s._meta_.fields.packageName.type=String,s._meta_.fields.method={},s._meta_.fields.method.type=o,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 o=i(58552),n=i(63485),s=i(27033),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.REQUEST_TIP),this.tipSuggestions=void 0,this.tippableAmount=void 0};r.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.reason={},r._meta_.fields.reason.type=String,t.exports=r},8208:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(13382),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.state={},a._meta_.fields.state.type=s,t.exports=a},36780:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RESET)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},39933:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},96643:(t,e,i)=>{var o=i(39933),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},34292:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_CUSTOM_ACTIVITIES_REQUEST),this.filters=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.filters={},s._meta_.fields.filters.type=Array,t.exports=s},79154:(t,e,i)=>{var o=i(58552),n=i(79601),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},4997:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_DEVICE_STATUS_REQUEST),this.sendLastMessage=!1};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.sendLastMessage={},s._meta_.fields.sendLastMessage.type=Boolean,t.exports=s},63331:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(74199),r=i(13382),a=i(63485),l=i(6505),u=function(){a.call(this),this._superClass_=a,this._class_=u,this.setMethod(o.RETRIEVE_DEVICE_STATUS_RESPONSE),this.reason=void 0,this.status=void 0,this.state=void 0,this.substate=void 0,this.data=void 0};u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.setReason=function(t){this.reason=t},u.prototype.getReason=function(){return this.reason},u.prototype.setStatus=function(t){this.status=t},u.prototype.getStatus=function(){return this.status},u.prototype.setState=function(t){this.state=t},u.prototype.getState=function(){return this.state},u.prototype.setSubstate=function(t){this.substate=t},u.prototype.getSubstate=function(){return this.substate},u.prototype.setData=function(t){this.data=t},u.prototype.getData=function(){return this.data},u._meta_={fields:{}},u._meta_._class_=u,u._meta_._superMeta_=a._meta_,u._meta_.fields.reason={},u._meta_.fields.reason.type=String,u._meta_.fields.status={},u._meta_.fields.status.type=n,u._meta_.fields.state={},u._meta_.fields.state.type=r,u._meta_.fields.substate={},u._meta_.fields.substate.type=s,u._meta_.fields.data={},u._meta_.fields.data.type=l,t.exports=u},14471:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_PAYMENT_REQUEST),this.externalPaymentId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.externalPaymentId={},s._meta_.fields.externalPaymentId.type=String,t.exports=s},33187:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(82794),a=i(30741),l=function(){s.call(this),this._superClass_=s,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.RETRIEVE_PENDING_PAYMENTS)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},85876:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(4258),r=i(63485),a=function(){r.call(this),this._superClass_=r,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_PAYMENT_RECEIPT_OPTIONS),this.orderId=void 0,this.paymentId=void 0,this.disableCloverPrinting=!1};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.setDisableCloverPrinting=function(t){this.disableCloverPrinting=t},s.prototype.getDisableCloverPrinting=function(){return this.disableCloverPrinting},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.disableCloverPrinting={},s._meta_.fields.disableCloverPrinting.type=Boolean,t.exports=s},33861:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(82794),r=i(37471),a=i(6639),l=function(){n.call(this),this._superClass_=n,this._class_=l,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},60159:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHUTDOWN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},33957:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.REQUEST_SIGNATURE),this.acknowledgementMessage=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.acknowledgementMessage={},s._meta_.fields.acknowledgementMessage.type=String,t.exports=s},87252:(t,e,i)=>{var o=i(58552),n=i(39933),s=i(63485),r=i(42348),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=i(82794),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.setMethod(o.SIGNATURE_VERIFIED),this.payment=void 0,this.verified=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.setVerified=function(t){this.verified=t},r.prototype.getVerified=function(){return this.verified},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.verified={},r._meta_.fields.verified.type=Boolean,t.exports=r},68741:(t,e,i)=>{var o=i(58552),n=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},98080:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.STOP_VAS)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},62715:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TERMINAL_MESSAGE),this.text=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.text={},s._meta_.fields.text.type=String,t.exports=s},82805:(t,e,i)=>{var o=i(58552),n=i(43540),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},30791:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_THANK_YOU_SCREEN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},15828:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TIP_ADDED),this.tipAmount=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.tipAmount={},s._meta_.fields.tipAmount.type=Number,t.exports=s},26974:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.TIP_ADJUST),this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(23305),s=i(63485),r=i(14326),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,a._meta_.fields.requestInfo={},a._meta_.fields.requestInfo.type=String,t.exports=a},66048:(t,e,i)=>{var o=i(58552),n=i(63485),s=i(36311),r=i(14326),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.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(n.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_=n._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 o=i(42157),n=function(){this._class_=n,this.txState=void 0};n.prototype.setTxState=function(t){this.txState=t},n.prototype.getTxState=function(){return this.txState},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.txState={},n._meta_.fields.txState.type=o,t.exports=n},30717:(t,e,i)=>{var o=i(58552),n=i(42157),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,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 o=i(58552),n=i(36501),s=i(10915),r=i(63485),a=i(3325),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(47171),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VAS_CONFIG_CHANGED),this.proxyProvider=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.proxyProvider={},s._meta_.fields.proxyProvider.type=String,t.exports=s},47171:(t,e,i)=>{var o=i(58552),n=i(53266),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,t.exports=r},14932:(t,e,i)=>{var o=i(58552),n=i(75314),s=i(63485),r=i(61691),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(36471),n=function(){this._class_=n,this.vasState=void 0};n.prototype.setVasState=function(t){this.vasState=t},n.prototype.getVasState=function(){return this.vasState},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.vasState={},n._meta_.fields.vasState.type=o,t.exports=n},55697:(t,e,i)=>{var o=i(58552),n=i(36471),s=i(63485),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.setMethod(o.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=n,r._meta_.fields.newState={},r._meta_.fields.newState.type=n,t.exports=r},51192:(t,e,i)=>{var o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VAULT_CARD),this.cardEntryMethods=void 0,this.tokenType=void 0,this.singleUse=!1};s.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(15118),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=i(82794),r=i(42348),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.setMethod(o.VERIFY_SIGNATURE),this.payment=void 0,this.signature=void 0};a.prototype=Object.create(n.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_=n._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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.VOID_CREDIT),this.orderId=void 0,this.creditId=void 0,this.disableCloverPrinting=!1,this.disableReceiptSelection=!1};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.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(6639),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(3306),s=i(63485),r=i(82794),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.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(n.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_=n._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 o=i(58552),n=i(39933),s=i(63485),r=i(37471),a=function(){s.call(this),this._superClass_=s,this._class_=a,this.setMethod(o.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=n,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 o=i(58552),n=i(3306),s=i(39933),r=i(63485),a=i(82794),l=function(){r.call(this),this._superClass_=r,this._class_=l,this.setMethod(o.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=n,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 o=i(58552),n=i(63485),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.setMethod(o.SHOW_WELCOME_SCREEN)};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},90226:(t,e,i)=>{function o(){}t.exports.remotemessage=o,o.AcknowledgementMessage=i(71410),o.ActivityMessageFromActivity=i(93974),o.ActivityMessageToActivity=i(76307),o.ActivityRequest=i(29195),o.ActivityResponseMessage=i(45126),o.AddDiscountAction=i(28162),o.AddLineItemAction=i(32364),o.BalanceInquiryRequestMessage=i(4295),o.BalanceInquiryResponseMessage=i(57885),o.BreakMessage=i(8763),o.CapturePreAuthMessage=i(22008),o.CapturePreAuthResponseMessage=i(25478),o.CardDataRequestMessage=i(17843),o.CardDataResponseMessage=i(71346),o.CashbackSelectedMessage=i(1838),o.CloseoutRequestMessage=i(91146),o.CloseoutResponseMessage=i(9139),o.CloverDeviceLogMessage=i(93761),o.ConfigurationChangeMessage=i(58429),o.ConfirmPaymentMessage=i(85919),o.CreditPrintMessage=i(50441),o.CustomerInfoMessage=i(24088),o.CustomerProvidedDataMessage=i(41936),o.DeclineCreditPrintMessage=i(38237),o.DeclinePaymentPrintMessage=i(86712),o.DiscoveryRequestMessage=i(46025),o.DiscoveryResponseMessage=i(44709),o.EmployeePermissionsRequest=i(29450),o.ErrorCode=i(59911),o.ErrorCodeEnum=i(6694),o.ExternalDeviceState=i(13382),o.ExternalDeviceStateData=i(6505),o.ExternalDeviceStateEnum=i(89279),o.ExternalDeviceSubState=i(74199),o.FinishCancelMessage=i(44132),o.FinishOkMessage=i(4847),o.ForceConnectMessage=i(87233),o.GetPrintersRequestMessage=i(34077),o.GetPrintersResponseMessage=i(63019),o.ImagePrintMessage=i(54294),o.IncrementPreAuthMessage=i(6556),o.IncrementPreAuthResponseMessage=i(13500),o.InputOption=i(10915),o.InvalidStateTransitionMessage=i(58394),o.KeyPress=i(52750),o.KeyPressEnum=i(66688),o.KeyPressMessage=i(94368),o.LastMessageRequestMessage=i(95169),o.LastMessageResponseMessage=i(63581),o.LogLevelEnum=i(42128),o.LogMessage=i(60536),o.LoyaltyPointsCalculatedMessage=i(64202),o.LoyaltyPointsEarnedMessage=i(92507),o.LoyaltyPointsReceiptPrintedMessage=i(92027),o.Message=i(63485),o.Method=i(58552),o.OpenCashDrawerMessage=i(92444),o.OrderActionAddDiscountMessage=i(28333),o.OrderActionAddLineItemMessage=i(4861),o.OrderActionRemoveDiscountMessage=i(3559),o.OrderActionRemoveLineItemMessage=i(21497),o.OrderActionResponse=i(91485),o.OrderActionResponseMessage=i(79477),o.OrderUpdateMessage=i(976),o.PairingCodeMessage=i(34410),o.PairingRequestMessage=i(25138),o.PairingResponseMessage=i(9352),o.PairingState=i(49032),o.PartialAuthMessage=i(26960),o.PayIntent=i(23305),o.PaymentConfirmedMessage=i(68096),o.PaymentPrintMerchantCopyMessage=i(51118),o.PaymentPrintMessage=i(3385),o.PaymentRejectedMessage=i(33406),o.PaymentVoidedMessage=i(71382),o.PrintJobStatusRequestMessage=i(27195),o.PrintJobStatusResponseMessage=i(31174),o.QueryStatus=i(30741),o.QueryStatusEnum=i(40270),o.RefundPaymentPrintMessage=i(71041),o.RefundRequestMessage=i(24556),o.RefundResponseMessage=i(87567),o.RegisterForCustomerProvidedDataMessage=i(13904),o.RemoteError=i(79441),o.RemoteMessage=i(71085),o.RemoteMessageType=i(35552),o.RemoveDiscountAction=i(22873),o.RemoveLineItemAction=i(6294),o.RequestTipRequestMessage=i(56232),o.RequestTipResponseMessage=i(25322),o.ResetDeviceResponseMessage=i(8208),o.ResetMessage=i(36780),o.ResultStatus=i(39933),o.ResultStatusEnum=i(96643),o.RetrieveCustomActivitiesRequestMessage=i(34292),o.RetrieveCustomActivitiesResponseMessage=i(79154),o.RetrieveDeviceStatusRequestMessage=i(4997),o.RetrieveDeviceStatusResponseMessage=i(63331),o.RetrievePaymentRequestMessage=i(14471),o.RetrievePaymentResponseMessage=i(33187),o.RetrievePendingPaymentsMessage=i(55304),o.RetrievePendingPaymentsResponseMessage=i(85876),o.ShowPaymentReceiptOptionsMessage=i(30011),o.ShowReceiptOptionsMessage=i(33861),o.ShowReceiptOptionsResponseMessage=i(14011),o.ShutDownMessage=i(60159),o.SignatureRequestMessage=i(33957),o.SignatureResponseMessage=i(87252),o.SignatureVerifiedMessage=i(20801),o.StartVasMessage=i(68741),o.StopVasMessage=i(98080),o.TerminalMessage=i(62715),o.TextPrintMessage=i(82805),o.ThankYouMessage=i(30791),o.TipAddedMessage=i(15828),o.TipAdjustMessage=i(26974),o.TipAdjustResponseMessage=i(47935),o.TransactionType=i(98183),o.TxStartRequestMessage=i(27169),o.TxStartResponseMessage=i(66048),o.TxStartResponseResult=i(36311),o.TxState=i(42157),o.TxStateEnum=i(43506),o.TxStateMessage=i(30717),o.TxTypeRequestInfo=i(42105),o.UiDirection=i(36501),o.UiState=i(3325),o.UiStateMessage=i(2350),o.VasConfigChangedMessage=i(67864),o.VasConfigMessage=i(47171),o.VasPayloadMessage=i(14932),o.VasState=i(36471),o.VasStateEnum=i(6580),o.VasStateMessage=i(55697),o.VaultCardMessage=i(51192),o.VaultCardResponseMessage=i(28681),o.VerifySignatureMessage=i(62517),o.VoidCreditMessage=i(1023),o.VoidCreditResponseMessage=i(42388),o.VoidPaymentMessage=i(84212),o.VoidPaymentRefundMessage=i(69996),o.VoidPaymentRefundResponseMessage=i(68778),o.VoidPaymentResponseMessage=i(52089),o.WelcomeMessage=i(16095),t.exports=o},80567:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.action=void 0,this.payload=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.action={},n._meta_.fields.action.type=String,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,t.exports=n},50382:(t,e,i)=>{var o=i(95790),n=i(39513),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.PAYMENT};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},46049:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},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 o=i(76631),n=function(){this._class_=n,this.success=void 0,this.result=void 0,this.reason=void 0,this.message=void 0};n.prototype.setSuccess=function(t){this.success=t},n.prototype.getSuccess=function(){return this.success},n.prototype.setResult=function(t){this.result=t},n.prototype.getResult=function(){return this.result},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.setMessage=function(t){this.message=t},n.prototype.getMessage=function(){return this.message},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.success={},n._meta_.fields.success.type=Boolean,n._meta_.fields.result={},n._meta_.fields.result.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,n._meta_.fields.message={},n._meta_.fields.message.type=String,t.exports=n},86745:(t,e,i)=>{var o=i(34774),n=i(95790),s=i(15118),r=function(){o.call(this),this._superClass_=o,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(o.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_=o._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=n,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 o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0,this.tipAmount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},52202:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.paymentId=void 0,this.amount=void 0,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},91991:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},42159:(t,e,i)=>{var o=i(77122),n=i(15118),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.card=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=n,t.exports=s},41692:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},3447:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,t.exports=n},92675:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.allowOpenTabs="false",this.batchId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAllowOpenTabs=function(t){this.allowOpenTabs=t},n.prototype.getAllowOpenTabs=function(){return this.allowOpenTabs},n.prototype.setBatchId=function(t){this.batchId=t},n.prototype.getBatchId=function(){return this.batchId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.allowOpenTabs={},n._meta_.fields.allowOpenTabs.type=Boolean,n._meta_.fields.batchId={},n._meta_.fields.batchId.type=String,t.exports=n},68001:(t,e,i)=>{var o=i(10360),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.batch=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.batch={},s._meta_.fields.batch.type=o,t.exports=s},38982:(t,e,i)=>{var o=i(5063),n=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=o,r._meta_.fields.cause={},r._meta_.fields.cause.type=n,r._meta_.fields.type={},r._meta_.fields.type.type=s,t.exports=r},20764:(t,e,i)=>{var o=i(41985),n=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=o,s._meta_.fields.inputOptions={},s._meta_.fields.inputOptions.type=Array,s._meta_.fields.inputOptions.elementType=n,t.exports=s},59755:(t,e,i)=>{var o=i(34774),n=i(52514),s=i(82794),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,this.challenges=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.setChallenges=function(t){this.challenges=t},r.prototype.getChallenges=function(){return this.challenges},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.challenges={},r._meta_.fields.challenges.type=Array,r._meta_.fields.challenges.elementType=n,t.exports=r},64991:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.action=void 0,this.payload=void 0,this.nonBlocking=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.setNonBlocking=function(t){this.nonBlocking=t},n.prototype.getNonBlocking=function(){return this.nonBlocking},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.action={},n._meta_.fields.action.type=String,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,n._meta_.fields.nonBlocking={},n._meta_.fields.nonBlocking.type=Boolean,t.exports=n},56053:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.payload=void 0,this.action=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPayload=function(t){this.payload=t},n.prototype.getPayload=function(){return this.payload},n.prototype.setAction=function(t){this.action=t},n.prototype.getAction=function(){return this.action},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.payload={},n._meta_.fields.payload.type=String,n._meta_.fields.action={},n._meta_.fields.action.type=String,t.exports=n},69662:(t,e,i)=>{var o=i(26866),n=function(){this._class_=n,this.customer=void 0,this.displayString=void 0,this.externalId=void 0,this.externalSystemName=void 0,this.extras=void 0};n.prototype.setCustomer=function(t){this.customer=t},n.prototype.getCustomer=function(){return this.customer},n.prototype.setDisplayString=function(t){this.displayString=t},n.prototype.getDisplayString=function(){return this.displayString},n.prototype.setExternalId=function(t){this.externalId=t},n.prototype.getExternalId=function(){return this.externalId},n.prototype.setExternalSystemName=function(t){this.externalSystemName=t},n.prototype.getExternalSystemName=function(){return this.externalSystemName},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.customer={},n._meta_.fields.customer.type=o,n._meta_.fields.displayString={},n._meta_.fields.displayString.type=String,n._meta_.fields.externalId={},n._meta_.fields.externalId.type=String,n._meta_.fields.externalSystemName={},n._meta_.fields.externalSystemName.type=String,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},84432:(t,e,i)=>{var o=i(71508),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.eventId=void 0,this.config=void 0,this.data=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.eventId={},s._meta_.fields.eventId.type=String,s._meta_.fields.config={},s._meta_.fields.config.type=o,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 o=i(5063),n=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=o,s._meta_.fields.deviceEventState={},s._meta_.fields.deviceEventState.type=n,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 o=i(75710),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.resultStatus=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.resultStatus={},s._meta_.fields.resultStatus.type=o,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 o=i(30057),n=function(){this._class_=n,this.state=void 0};n.prototype.setState=function(t){this.state=t},n.prototype.getState=function(){return this.state},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.state={},n._meta_.fields.state.type=o,t.exports=n},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 o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.amount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},4580:(t,e,i)=>{var o=i(93657),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.authorization=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.authorization={},s._meta_.fields.authorization.type=o,t.exports=s},11531:(t,e,i)=>{var o=i(38146),n=function(){this._class_=n,this.keyPress=void 0,this.description=void 0};n.prototype.setKeyPress=function(t){this.keyPress=t},n.prototype.getKeyPress=function(){return this.keyPress},n.prototype.setDescription=function(t){this.description=t},n.prototype.getDescription=function(){return this.description},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.keyPress={},n._meta_.fields.keyPress.type=o,n._meta_.fields.description={},n._meta_.fields.description.type=String,t.exports=n},33292:(t,e,i)=>{var o=i(30057),n=i(77122),s=i(76418),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.requestedTransition=void 0,this.state=void 0,this.data=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.requestedTransition={},r._meta_.fields.requestedTransition.type=String,r._meta_.fields.state={},r._meta_.fields.state.type=o,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 o=i(38146),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},24950:(t,e,i)=>{var o=i(95790),n=i(86745),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.CREDIT};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},25924:(t,e,i)=>{var o=i(77122),n=i(6639),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.credit=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.credit={},s._meta_.fields.credit.type=n,t.exports=s},4682:(t,e,i)=>{var o=i(25756),n=function(){this._class_=n,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};n.prototype.setMerchantID=function(t){this.merchantID=t},n.prototype.getMerchantID=function(){return this.merchantID},n.prototype.setMerchantMID=function(t){this.merchantMID=t},n.prototype.getMerchantMID=function(){return this.merchantMID},n.prototype.setMerchantName=function(t){this.merchantName=t},n.prototype.getMerchantName=function(){return this.merchantName},n.prototype.setSupportsAuths=function(t){this.supportsAuths=t},n.prototype.getSupportsAuths=function(){return this.supportsAuths},n.prototype.setSupportsPreAuths=function(t){this.supportsPreAuths=t},n.prototype.getSupportsPreAuths=function(){return this.supportsPreAuths},n.prototype.setSupportsSales=function(t){this.supportsSales=t},n.prototype.getSupportsSales=function(){return this.supportsSales},n.prototype.setSupportsVaultCards=function(t){this.supportsVaultCards=t},n.prototype.getSupportsVaultCards=function(){return this.supportsVaultCards},n.prototype.setSupportsManualRefunds=function(t){this.supportsManualRefunds=t},n.prototype.getSupportsManualRefunds=function(){return this.supportsManualRefunds},n.prototype.setSupportsTipAdjust=function(t){this.supportsTipAdjust=t},n.prototype.getSupportsTipAdjust=function(){return this.supportsTipAdjust},n.prototype.setDeviceInfo=function(t){this.deviceInfo=t},n.prototype.getDeviceInfo=function(){return this.deviceInfo},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.merchantID={},n._meta_.fields.merchantID.type=String,n._meta_.fields.merchantMID={},n._meta_.fields.merchantMID.type=String,n._meta_.fields.merchantName={},n._meta_.fields.merchantName.type=String,n._meta_.fields.supportsAuths={},n._meta_.fields.supportsAuths.type=Boolean,n._meta_.fields.supportsPreAuths={},n._meta_.fields.supportsPreAuths.type=Boolean,n._meta_.fields.supportsSales={},n._meta_.fields.supportsSales.type=Boolean,n._meta_.fields.supportsVaultCards={},n._meta_.fields.supportsVaultCards.type=Boolean,n._meta_.fields.supportsManualRefunds={},n._meta_.fields.supportsManualRefunds.type=Boolean,n._meta_.fields.supportsTipAdjust={},n._meta_.fields.supportsTipAdjust.type=Boolean,n._meta_.fields.deviceInfo={},n._meta_.fields.deviceInfo.type=o,t.exports=n},42845:(t,e,i)=>{var o=i(80567),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},89378:(t,e,i)=>{var o=i(80567),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},62337:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.reason=void 0,this.deviceId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.setDeviceId=function(t){this.deviceId=t},n.prototype.getDeviceId=function(){return this.deviceId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,n._meta_.fields.deviceId={},n._meta_.fields.deviceId.type=String,t.exports=n},25008:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(42348),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.payment=void 0,this.isSale=!1,this.isPreAuth=!1,this.isAuth=!1,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.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_=n._meta_,r._meta_.fields.payment={},r._meta_.fields.payment.type=o,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 o=i(95790),n=i(86745),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.type=o.AUTH};s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s._meta_={fields:{}},s._meta_._class_=s,s._meta_._superMeta_=n._meta_,t.exports=s},80178:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},62979:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.printRequestId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPrintRequestId=function(t){this.printRequestId=t},n.prototype.getPrintRequestId=function(){return this.printRequestId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.printRequestId={},n._meta_.fields.printRequestId.type=String,t.exports=n},93435:(t,e,i)=>{var o=i(15350),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.status=void 0,this.printRequestId=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.status={},s._meta_.fields.status.type=o,s._meta_.fields.printRequestId={},s._meta_.fields.printRequestId.type=String,t.exports=s},83260:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.credit=void 0,this.reason=void 0};n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},22611:(t,e,i)=>{var o=i(6639),n=function(){this._class_=n,this.credit=void 0};n.prototype.setCredit=function(t){this.credit=t},n.prototype.getCredit=function(){return this.credit},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.credit={},n._meta_.fields.credit.type=o,t.exports=n},30546:(t,e,i)=>{var o=i(82794),n=function(){this._class_=n,this.payment=void 0,this.reason=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.setReason=function(t){this.reason=t},n.prototype.getReason=function(){return this.reason},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,n._meta_.fields.reason={},n._meta_.fields.reason.type=String,t.exports=n},6483:(t,e,i)=>{var o=i(82794),n=function(){this._class_=n,this.payment=void 0};n.prototype.setPayment=function(t){this.payment=t},n.prototype.getPayment=function(){return this.payment},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.payment={},n._meta_.fields.payment.type=o,t.exports=n},31470:(t,e,i)=>{var o=i(82794),n=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=o,s._meta_.fields.order={},s._meta_.fields.order.type=n,t.exports=s},74840:(t,e,i)=>{var o=i(82794),n=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=o,r._meta_.fields.order={},r._meta_.fields.order.type=n,r._meta_.fields.refund={},r._meta_.fields.refund.type=s,t.exports=r},75344:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(14326),r=i(37471),a=function(){n.call(this),this._superClass_=n,this._class_=a,this.payment=void 0,this.refund=void 0,this.order=void 0};a.prototype=Object.create(n.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_=n._meta_,a._meta_.fields.payment={},a._meta_.fields.payment.type=o,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 o=i(34774),n=i(67865),s=function(){o.call(this),this._superClass_=o,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(o.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_=o._meta_,s._meta_.fields.images={},s._meta_.fields.images.type=Array,s._meta_.fields.images.elementType=n,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 o=i(74675),n=function(){this._class_=n,this.queryStatus=void 0};n.prototype.setQueryStatus=function(t){this.queryStatus=t},n.prototype.getQueryStatus=function(){return this.queryStatus},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.queryStatus={},n._meta_.fields.queryStatus.type=o,t.exports=n},4814:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.isForceSwipePinEntry=void 0,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setIsForceSwipePinEntry=function(t){this.isForceSwipePinEntry=t},n.prototype.getIsForceSwipePinEntry=function(){return this.isForceSwipePinEntry},n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.isForceSwipePinEntry={},n._meta_.fields.isForceSwipePinEntry.type=Boolean,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},96031:(t,e,i)=>{var o=i(9728),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.cardData=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.cardData={},s._meta_.fields.cardData.type=o,t.exports=s},10361:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,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};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setFullRefund=function(t){this.fullRefund=t},n.prototype.getFullRefund=function(){return this.fullRefund},n.prototype.setAmount=function(t){this.amount=t},n.prototype.getAmount=function(){return this.amount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.fullRefund={},n._meta_.fields.fullRefund.type=Boolean,n._meta_.fields.amount={},n._meta_.fields.amount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},76430:(t,e,i)=>{var o=i(77122),n=i(37471),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.orderId=void 0,this.paymentId=void 0,this.refund=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.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_=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.refund={},s._meta_.fields.refund.type=n,t.exports=s},68400:(t,e,i)=>{var o=i(34774),n=i(71508),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.configurations=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.configurations={},s._meta_.fields.configurations.type=Array,s._meta_.fields.configurations.elementType=n,t.exports=s},15227:(t,e,i)=>{var o=i(30057),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.state=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.state={},s._meta_.fields.state.type=o,t.exports=s},76631:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",UNSUPPORTED:"UNSUPPORTED",CANCEL:"CANCEL",DUPLICATE:"DUPLICATE",ERROR:"ERROR"}},69417:(t,e,i)=>{var o=i(76631),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},75710:t=>{t.exports={SUCCESS:"SUCCESS",FAIL:"FAIL",CANCEL:"CANCEL"}},98199:(t,e,i)=>{var o=i(75710),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},82523:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.sendLastMessage=!1};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setSendLastMessage=function(t){this.sendLastMessage=t},n.prototype.getSendLastMessage=function(){return this.sendLastMessage},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.sendLastMessage={},n._meta_.fields.sendLastMessage.type=Boolean,t.exports=n},71721:(t,e,i)=>{var o=i(30057),n=i(77122),s=i(76418),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.state=void 0,this.data=void 0};r.prototype=Object.create(n.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_=n._meta_,r._meta_.fields.state={},r._meta_.fields.state.type=o,r._meta_.fields.data={},r._meta_.fields.data.type=s,t.exports=r},98284:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.externalPaymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setExternalPaymentId=function(t){this.externalPaymentId=t},n.prototype.getExternalPaymentId=function(){return this.externalPaymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.externalPaymentId={},n._meta_.fields.externalPaymentId.type=String,t.exports=n},8405:(t,e,i)=>{var o=i(82794),n=i(77122),s=i(74675),r=function(){n.call(this),this._superClass_=n,this._class_=r,this.externalPaymentId=void 0,this.queryStatus=void 0,this.payment=void 0};r.prototype=Object.create(n.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_=n._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=o,t.exports=r},31971:(t,e,i)=>{var o=i(4258),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.pendingPaymentEntries=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.pendingPaymentEntries={},s._meta_.fields.pendingPaymentEntries.type=Array,s._meta_.fields.pendingPaymentEntries.elementType=o,t.exports=s},84279:(t,e,i)=>{var o=i(34774),n=i(34454),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.category=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.category={},s._meta_.fields.category.type=n,t.exports=s},10646:(t,e,i)=>{var o=i(43540),n=i(77122),s=function(){n.call(this),this._superClass_=n,this._class_=s,this.printers=void 0};s.prototype=Object.create(n.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_=n._meta_,s._meta_.fields.printers={},s._meta_.fields.printers.type=Array,s._meta_.fields.printers.elementType=o,t.exports=s},72926:(t,e,i)=>{var o=i(95790),n=i(32628),s=i(39513),r=function(){s.call(this),this._superClass_=s,this._class_=r,this.type=o.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=n,t.exports=r},81519:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,t.exports=n},58087:(t,e,i)=>{var o=i(34774),n=i(69662),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.customerInfo=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.customerInfo={},s._meta_.fields.customerInfo.type=n,t.exports=s},74598:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.acknowledgementMessage=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setAcknowledgementMessage=function(t){this.acknowledgementMessage=t},n.prototype.getAcknowledgementMessage=function(){return this.acknowledgementMessage},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.acknowledgementMessage={},n._meta_.fields.acknowledgementMessage.type=String,t.exports=n},21412:(t,e,i)=>{var o=i(77122),n=i(42348),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.signature=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.signature={},s._meta_.fields.signature.type=n,t.exports=s},98939:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},92486:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0,this.orderId=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},18897:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},41899:(t,e,i)=>{var o=i(34774),n=i(27033),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.tipSuggestions=void 0,this.tippableAmount=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.tipSuggestions={},s._meta_.fields.tipSuggestions.type=Array,s._meta_.fields.tipSuggestions.elementType=n,s._meta_.fields.tippableAmount={},s._meta_.fields.tippableAmount.type=Number,t.exports=s},8022:(t,e,i)=>{var o=i(77122),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.tipAmount=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setTipAmount=function(t){this.tipAmount=t},n.prototype.getTipAmount=function(){return this.tipAmount},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.tipAmount={},n._meta_.fields.tipAmount.type=Number,t.exports=n},39513:(t,e,i)=>{var o=i(57953),n=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=o,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=n,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 o=i(95790),n=function(){this._class_=n,this.status=void 0};n.prototype.setStatus=function(t){this.status=t},n.prototype.getStatus=function(){return this.status},n.prototype.getMetaInfo=function(t){var e=this._class_;do{var i=e._meta_.fields[t];if(i)return i;e=e._meta_._superMeta_?e._meta_._superMeta_._class_:null}while(e);return null},n.prototype.toString=function(){return JSON.stringify(this)},n._meta_={fields:{}},n._meta_._class_=n,n._meta_.fields.status={},n._meta_.fields.status.type=o,t.exports=n},4022:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.cardEntryMethods=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setCardEntryMethods=function(t){this.cardEntryMethods=t},n.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.cardEntryMethods={},n._meta_.fields.cardEntryMethods.type=Number,t.exports=n},19916:(t,e,i)=>{var o=i(77122),n=i(15118),s=function(){o.call(this),this._superClass_=o,this._class_=s,this.card=void 0};s.prototype=Object.create(o.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_=o._meta_,s._meta_.fields.card={},s._meta_.fields.card.type=n,t.exports=s},40177:(t,e,i)=>{var o=i(34774),n=i(82794),s=i(42348),r=function(){o.call(this),this._superClass_=o,this._class_=r,this.payment=void 0,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.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.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 o=i(75710),n=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=o,s._meta_.fields.credit={},s._meta_.fields.credit.type=n,t.exports=s},99072:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.refundId=void 0,this.orderId=void 0,this.employeeId=void 0,this.disablePrinting=void 0,this.disableReceiptSelection=void 0,this.extras=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setRefundId=function(t){this.refundId=t},n.prototype.getRefundId=function(){return this.refundId},n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.refundId={},n._meta_.fields.refundId.type=String,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},16255:(t,e,i)=>{var o=i(76430),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.refundId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setRefundId=function(t){this.refundId=t},n.prototype.getRefundId=function(){return this.refundId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.refundId={},n._meta_.fields.refundId.type=String,t.exports=n},76745:(t,e,i)=>{var o=i(34774),n=function(){o.call(this),this._superClass_=o,this._class_=n,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};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setOrderId=function(t){this.orderId=t},n.prototype.getOrderId=function(){return this.orderId},n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n.prototype.setEmployeeId=function(t){this.employeeId=t},n.prototype.getEmployeeId=function(){return this.employeeId},n.prototype.setVoidReason=function(t){this.voidReason=t},n.prototype.getVoidReason=function(){return this.voidReason},n.prototype.setDisablePrinting=function(t){this.disablePrinting=t},n.prototype.getDisablePrinting=function(){return this.disablePrinting},n.prototype.setDisableReceiptSelection=function(t){this.disableReceiptSelection=t},n.prototype.getDisableReceiptSelection=function(){return this.disableReceiptSelection},n.prototype.setExtras=function(t){this.extras=t},n.prototype.getExtras=function(){return this.extras},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.orderId={},n._meta_.fields.orderId.type=String,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,n._meta_.fields.employeeId={},n._meta_.fields.employeeId.type=String,n._meta_.fields.voidReason={},n._meta_.fields.voidReason.type=String,n._meta_.fields.disablePrinting={},n._meta_.fields.disablePrinting.type=Boolean,n._meta_.fields.disableReceiptSelection={},n._meta_.fields.disableReceiptSelection.type=Boolean,n._meta_.fields.extras={},n._meta_.fields.extras.type=Object,t.exports=n},9559:(t,e,i)=>{var o=i(25008),n=function(){o.call(this),this._superClass_=o,this._class_=n,this.paymentId=void 0};n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.setPaymentId=function(t){this.paymentId=t},n.prototype.getPaymentId=function(){return this.paymentId},n._meta_={fields:{}},n._meta_._class_=n,n._meta_._superMeta_=o._meta_,n._meta_.fields.paymentId={},n._meta_.fields.paymentId.type=String,t.exports=n},95626:(t,e,i)=>{function o(){}t.exports.remotepay=o,o.ActivityMessage=i(80567),o.AuthRequest=i(50382),o.AuthResponse=i(46049),o.BaseRequest=i(34774),o.BaseResponse=i(77122),o.BaseTransactionRequest=i(86745),o.CapturePreAuthRequest=i(67293),o.CapturePreAuthResponse=i(52202),o.CardInfoRequest=i(91991),o.CardInfoResponse=i(42159),o.CheckBalanceRequest=i(41692),o.CheckBalanceResponse=i(3447),o.CloseoutRequest=i(92675),o.CloseoutResponse=i(68001),o.CloverDeviceErrorEvent=i(38982),o.CloverDeviceEvent=i(20764),o.ConfirmPaymentRequest=i(59755),o.CustomActivityRequest=i(64991),o.CustomActivityResponse=i(56053),o.CustomerInfo=i(69662),o.CustomerProvidedDataEvent=i(84432),o.DataProviderConfig=i(71508),o.DeviceErrorEventCode=i(5063),o.DeviceEventEnum=i(89406),o.DeviceEventState=i(41985),o.DeviceInfo=i(25756),o.DisplayReceiptOptionsRequest=i(53463),o.DisplayReceiptOptionsResponse=i(12145),o.ErrorType=i(67314),o.ExternalDeviceState=i(30057),o.ExternalDeviceStateData=i(76418),o.ExternalDeviceStateEnum=i(85017),o.ICloverConnector=i(77385),o.ICloverConnectorListener=i(31806),o.Img=i(67865),o.IncrementPreAuthRequest=i(31650),o.IncrementPreAuthResponse=i(4580),o.InputOption=i(11531),o.InvalidStateTransitionResponse=i(33292),o.KeyPress=i(38146),o.KeyPressEnum=i(38068),o.ManualRefundRequest=i(24950),o.ManualRefundResponse=i(25924),o.MerchantInfo=i(4682),o.MessageFromActivity=i(42845),o.MessageToActivity=i(89378),o.OpenCashDrawerRequest=i(62337),o.PaymentResponse=i(25008),o.PlatformError=i(95172),o.PreAuthRequest=i(72076),o.PreAuthResponse=i(80178),o.PrintJobStatusRequest=i(62979),o.PrintJobStatusResponse=i(93435),o.PrintManualRefundDeclineReceiptMessage=i(83260),o.PrintManualRefundReceiptMessage=i(22611),o.PrintPaymentDeclineReceiptMessage=i(30546),o.PrintPaymentMerchantCopyReceiptMessage=i(6483),o.PrintPaymentReceiptMessage=i(31470),o.PrintRefundPaymentReceiptMessage=i(74840),o.PrintRefundPaymentReceiptResponse=i(75344),o.PrintRequest=i(3627),o.QueryStatus=i(74675),o.QueryStatusEnum=i(72721),o.ReadCardDataRequest=i(4814),o.ReadCardDataResponse=i(96031),o.RefundPaymentRequest=i(10361),o.RefundPaymentResponse=i(76430),o.RegisterForCustomerProvidedDataRequest=i(68400),o.ResetDeviceResponse=i(15227),o.ResponseCode=i(76631),o.ResponseCodeEnum=i(69417),o.ResultStatus=i(75710),o.ResultStatusEnum=i(98199),o.RetrieveDeviceStatusRequest=i(82523),o.RetrieveDeviceStatusResponse=i(71721),o.RetrievePaymentRequest=i(98284),o.RetrievePaymentResponse=i(8405),o.RetrievePendingPaymentsResponse=i(31971),o.RetrievePrintersRequest=i(84279),o.RetrievePrintersResponse=i(10646),o.SaleRequest=i(72926),o.SaleResponse=i(81519),o.SetCustomerInfoRequest=i(58087),o.SignatureRequest=i(74598),o.SignatureResponse=i(21412),o.TipAdded=i(98939),o.TipAdjustAuthRequest=i(92486),o.TipAdjustAuthResponse=i(18897),o.TipRequest=i(41899),o.TipResponse=i(8022),o.TransactionRequest=i(39513),o.TransactionType=i(95790),o.TransactionTypeEnum=i(66921),o.VaultCardRequest=i(4022),o.VaultCardResponse=i(19916),o.VerifySignatureRequest=i(40177),o.VoidCreditRequest=i(5817),o.VoidCreditResponse=i(87929),o.VoidPaymentRefundRequest=i(99072),o.VoidPaymentRefundResponse=i(16255),o.VoidPaymentRequest=i(76745),o.VoidPaymentResponse=i(9559),t.exports=o},95615:t=>{t.exports={ONEOFF:"ONEOFF",MULTIPAY:"MULTIPAY",RECURRING:"RECURRING"}},3738:t=>{function e(){}e.ID_LENGTH=13,e.BASE_32_DIGITS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","J","K","M","N","P","Q","R","S","T","V","W","X","Y","Z"],e.getNewId=function(){for(var t="",i=0;i<e.ID_LENGTH;i++)t+=e.BASE_32_DIGITS[Math.floor(Math.random()*e.BASE_32_DIGITS.length)];return t},e.isValidBase32Id=function(t){if(null==t||t.length!=e.ID_LENGTH)return!1;for(var i=0;i<t.length;i++)if(-1==e.BASE_32_DIGITS.indexOf(t.charAt(i)))return!1;return!0},e.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.exports=e},17411:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Version=void 0;var i=function(){function t(){}return t.CLOVER_CLOUD_SDK_VERSION="4.1.2",t.CLOVER_CLOUD_SDK="com.clover.cloverconnector.cloud",t}();e.Version=i},37365:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSONToCustomObject=void 0;var o=i(79161),n=function(){function t(){this.log=o.Logger.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}}return t.prototype.transfertoObject=function(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 o in t)if(null===t[o]||void 0===t[o])e[o]=t[o];else{var n=e.getMetaInfo(o);if(n)if(this.isPrimitive(n))e[o]=t[o];else if(this.isArray(n)){var s=this.getArrayType(n),r=t[o];if(r.hasOwnProperty("elements")&&(r=r.elements),Array.isArray(r)){e[o]=[];for(var a=0;a<r.length;a++)e[o][a]=new s,(u=this.transfertoObject(r[a],e[o][a],i))&&(e[o][a]=u)}else this.log.warn("Passed json contains field "+o+" of type "+typeof r+". The field on the object is of type array. No assignment will be made",r,t),i&&(e["x_"+o]=r)}else if(this.isObject(n))e[o]={},(u=this.transfertoObject(t[o],e[o],!0))&&(e[o]=u);else{var l=n.type;if(l[t[o]])e[o]=l[t[o]];else{try{e[o]=new l}catch(e){this.log.error("fieldType is ",l,", key is ",o," for jsonobject ",t)}var u;(u=this.transfertoObject(t[o],e[o],i))&&(e[o]=u)}}else i&&(e[o]=JSON.parse(JSON.stringify(t)))}else if(i)return JSON.parse(JSON.stringify(t));return null},t}();e.JSONToCustomObject=n},14406:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MethodToMessage=void 0;var o=i(61256),n=function(){function t(){}return t.getType=function(e){return null==t.methodToType&&t.initialize(),t.methodToType[e]},t.initialize=function(){t.methodToType={},t.methodToType[o.remotemessage.Method.ACK]=o.remotemessage.AcknowledgementMessage,t.methodToType[o.remotemessage.Method.CLOSEOUT_RESPONSE]=o.remotemessage.CloseoutResponseMessage,t.methodToType[o.remotemessage.Method.CLOSEOUT_REQUEST]=o.remotemessage.CloseoutRequestMessage,t.methodToType[o.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE]=o.remotemessage.CapturePreAuthResponseMessage,t.methodToType[o.remotemessage.Method.CAPTURE_PREAUTH]=o.remotemessage.CapturePreAuthMessage,t.methodToType[o.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE]=o.remotemessage.IncrementPreAuthResponseMessage,t.methodToType[o.remotemessage.Method.INCREMENT_PREAUTH_REQUEST]=o.remotemessage.IncrementPreAuthMessage,t.methodToType[o.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE]=o.remotemessage.ConfirmPaymentMessage,t.methodToType[o.remotemessage.Method.LAST_MSG_REQUEST]=o.remotemessage.LastMessageRequestMessage,t.methodToType[o.remotemessage.Method.LAST_MSG_RESPONSE]=o.remotemessage.LastMessageResponseMessage,t.methodToType[o.remotemessage.Method.TIP_ADJUST]=o.remotemessage.TipAdjustMessage,t.methodToType[o.remotemessage.Method.TIP_ADJUST_RESPONSE]=o.remotemessage.TipAdjustResponseMessage,t.methodToType[o.remotemessage.Method.OPEN_CASH_DRAWER]=o.remotemessage.OpenCashDrawerMessage,t.methodToType[o.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS]=o.remotemessage.ShowPaymentReceiptOptionsMessage,t.methodToType[o.remotemessage.Method.REFUND_RESPONSE]=o.remotemessage.RefundResponseMessage,t.methodToType[o.remotemessage.Method.REFUND_REQUEST]=o.remotemessage.RefundRequestMessage,t.methodToType[o.remotemessage.Method.REFUND_PRINT_PAYMENT]=o.remotemessage.RefundPaymentPrintMessage,t.methodToType[o.remotemessage.Method.TX_START]=o.remotemessage.TxStartRequestMessage,t.methodToType[o.remotemessage.Method.TX_START_RESPONSE]=o.remotemessage.TxStartResponseMessage,t.methodToType[o.remotemessage.Method.KEY_PRESS]=o.remotemessage.KeyPressMessage,t.methodToType[o.remotemessage.Method.UI_STATE]=o.remotemessage.UiStateMessage,t.methodToType[o.remotemessage.Method.TX_STATE]=o.remotemessage.TxStateMessage,t.methodToType[o.remotemessage.Method.FINISH_OK]=o.remotemessage.FinishOkMessage,t.methodToType[o.remotemessage.Method.FINISH_CANCEL]=o.remotemessage.FinishCancelMessage,t.methodToType[o.remotemessage.Method.DISCOVERY_REQUEST]=o.remotemessage.DiscoveryRequestMessage,t.methodToType[o.remotemessage.Method.DISCOVERY_RESPONSE]=o.remotemessage.DiscoveryResponseMessage,t.methodToType[o.remotemessage.Method.TIP_ADDED]=o.remotemessage.TipAddedMessage,t.methodToType[o.remotemessage.Method.VERIFY_SIGNATURE]=o.remotemessage.VerifySignatureMessage,t.methodToType[o.remotemessage.Method.SIGNATURE_VERIFIED]=o.remotemessage.SignatureVerifiedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_CONFIRMED]=o.remotemessage.PaymentConfirmedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_REJECTED]=o.remotemessage.PaymentRejectedMessage,t.methodToType[o.remotemessage.Method.PAYMENT_VOIDED]=o.remotemessage.PaymentVoidedMessage,t.methodToType[o.remotemessage.Method.PRINT_TEXT]=o.remotemessage.TextPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_IMAGE]=o.remotemessage.ImagePrintMessage,t.methodToType[o.remotemessage.Method.TERMINAL_MESSAGE]=o.remotemessage.TerminalMessage,t.methodToType[o.remotemessage.Method.SHOW_WELCOME_SCREEN]=o.remotemessage.WelcomeMessage,t.methodToType[o.remotemessage.Method.SHOW_THANK_YOU_SCREEN]=o.remotemessage.ThankYouMessage,t.methodToType[o.remotemessage.Method.SHOW_ORDER_SCREEN]=o.remotemessage.OrderUpdateMessage,t.methodToType[o.remotemessage.Method.BREAK]=o.remotemessage.BreakMessage,t.methodToType[o.remotemessage.Method.CASHBACK_SELECTED]=o.remotemessage.CashbackSelectedMessage,t.methodToType[o.remotemessage.Method.PARTIAL_AUTH]=o.remotemessage.PartialAuthMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT]=o.remotemessage.VoidPaymentMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT_RESPONSE]=o.remotemessage.VoidPaymentResponseMessage,t.methodToType[o.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE]=o.remotemessage.VoidPaymentRefundResponseMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT]=o.remotemessage.OrderActionAddDiscountMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT]=o.remotemessage.OrderActionRemoveDiscountMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM]=o.remotemessage.OrderActionAddLineItemMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM]=o.remotemessage.OrderActionRemoveLineItemMessage,t.methodToType[o.remotemessage.Method.ORDER_ACTION_RESPONSE]=o.remotemessage.OrderActionResponseMessage,t.methodToType[o.remotemessage.Method.VAULT_CARD]=o.remotemessage.VaultCardMessage,t.methodToType[o.remotemessage.Method.VAULT_CARD_RESPONSE]=o.remotemessage.VaultCardResponseMessage,t.methodToType[o.remotemessage.Method.LOG_MESSAGE]=o.remotemessage.LogMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS]=o.remotemessage.RetrievePendingPaymentsMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE]=o.remotemessage.RetrievePendingPaymentsResponseMessage,t.methodToType[o.remotemessage.Method.CARD_DATA]=o.remotemessage.CardDataRequestMessage,t.methodToType[o.remotemessage.Method.CARD_DATA_RESPONSE]=o.remotemessage.CardDataResponseMessage,t.methodToType[o.remotemessage.Method.PAIRING_REQUEST]=o.remotemessage.PairingRequestMessage,t.methodToType[o.remotemessage.Method.PAIRING_RESPONSE]=o.remotemessage.PairingResponseMessage,t.methodToType[o.remotemessage.Method.PAIRING_CODE]=o.remotemessage.PairingCodeMessage,t.methodToType[o.remotemessage.Method.REMOTE_ERROR]=o.remotemessage.RemoteError,t.methodToType[o.remotemessage.Method.ACTIVITY_REQUEST]=o.remotemessage.ActivityRequest,t.methodToType[o.remotemessage.Method.ACTIVITY_RESPONSE]=o.remotemessage.ActivityResponseMessage,t.methodToType[o.remotemessage.Method.SHUTDOWN]=o.remotemessage.ShutDownMessage,t.methodToType[o.remotemessage.Method.RESET]=o.remotemessage.ResetMessage,t.methodToType[o.remotemessage.Method.FORCECONNECT]=o.remotemessage.ForceConnectMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_DEVICE_STATUS_REQUEST]=o.remotemessage.RetrieveDeviceStatusRequestMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE]=o.remotemessage.RetrieveDeviceStatusResponseMessage,t.methodToType[o.remotemessage.Method.RESET_DEVICE_RESPONSE]=o.remotemessage.ResetDeviceResponseMessage,t.methodToType[o.remotemessage.Method.ACTIVITY_MESSAGE_TO_ACTIVITY]=o.remotemessage.ActivityMessageToActivity,t.methodToType[o.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY]=o.remotemessage.ActivityMessageFromActivity,t.methodToType[o.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE]=o.remotemessage.RetrievePaymentResponseMessage,t.methodToType[o.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST]=o.remotemessage.RetrievePaymentRequestMessage,t.methodToType[o.remotemessage.Method.GET_PRINTERS_REQUEST]=o.remotemessage.GetPrintersRequestMessage,t.methodToType[o.remotemessage.Method.GET_PRINTERS_RESPONSE]=o.remotemessage.GetPrintersResponseMessage,t.methodToType[o.remotemessage.Method.PRINT_JOB_STATUS_REQUEST]=o.remotemessage.PrintJobStatusRequestMessage,t.methodToType[o.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE]=o.remotemessage.PrintJobStatusResponseMessage,t.methodToType[o.remotemessage.Method.PRINT_CREDIT]=o.remotemessage.CreditPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_CREDIT_DECLINE]=o.remotemessage.DeclineCreditPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT]=o.remotemessage.PaymentPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT_DECLINE]=o.remotemessage.DeclinePaymentPrintMessage,t.methodToType[o.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY]=o.remotemessage.PaymentPrintMerchantCopyMessage,t.methodToType[o.remotemessage.Method.REFUND_PRINT_PAYMENT]=o.remotemessage.RefundPaymentPrintMessage,t.methodToType[o.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE]=o.remotemessage.CustomerProvidedDataMessage,t.methodToType[o.remotemessage.Method.INVALID_STATE_TRANSITION]=o.remotemessage.InvalidStateTransitionMessage,t.methodToType[o.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE]=o.remotemessage.ShowReceiptOptionsResponseMessage,t.methodToType[o.remotemessage.Method.BALANCE_INQUIRY_RESPONSE]=o.remotemessage.BalanceInquiryResponseMessage,t.methodToType[o.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE]=o.remotemessage.SignatureResponseMessage,t.methodToType[o.remotemessage.Method.REQUEST_TIP_RESPONSE]=o.remotemessage.RequestTipResponseMessage},t.methodToType=null,t}();e.MethodToMessage=n},65245:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.RemoteMessageParser=void 0;var s=i(61256),r=i(14406),a=function(t){function e(){return t.call(this)||this}return n(e,t),e.getDefaultInstance=function(){return e.INSTANCE},e.prototype.parseMessageFromRemoteMessageObj=function(t,e){void 0===e&&(e=!1);var i=r.MethodToMessage.getType(t.getMethod()),o=null;if(i&&(o=new i,t.getPayload())){var n=JSON.parse(t.getPayload()),s=this.transfertoObject(n,o,e);if(s)return s}return o},e.prototype.parseToRemoteMessage=function(t){var e=new s.remotemessage.RemoteMessage;return this.transfertoObject(t,e,!1),e},e.INSTANCE=new e,e}(i(37365).JSONToCustomObject);e.RemoteMessageParser=a},36528:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CardEntryMethods=void 0;var i=function(){function t(){}return t.KIOSK_CARD_ENTRY_METHODS=32768,t.CARD_ENTRY_METHOD_MAG_STRIPE=257|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_ICC_CONTACT=514|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_NFC_CONTACTLESS=1028|t.KIOSK_CARD_ENTRY_METHODS,t.CARD_ENTRY_METHOD_MANUAL=2056|t.KIOSK_CARD_ENTRY_METHODS,t.DEFAULT=t.CARD_ENTRY_METHOD_MAG_STRIPE|t.CARD_ENTRY_METHOD_ICC_CONTACT|t.CARD_ENTRY_METHOD_NFC_CONTACTLESS,t.ALL=t.CARD_ENTRY_METHOD_MAG_STRIPE|t.CARD_ENTRY_METHOD_ICC_CONTACT|t.CARD_ENTRY_METHOD_NFC_CONTACTLESS|t.CARD_ENTRY_METHOD_MANUAL,t}();e.CardEntryMethods=i},47849:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnector=void 0;var o=i(61256),n=i(36528),s=i(24722),r=i(18885),a=i(79161),l=i(32822),u=function(){function t(e){this.cardEntryMethods=n.CardEntryMethods.DEFAULT,this.logger=a.Logger.create(),this.broadcaster=new s.CloverConnectorBroadcaster,this.isReady=!1,t.CANCEL_INPUT_OPTION=new o.remotemessage.InputOption,t.CANCEL_INPUT_OPTION.setKeyPress(o.remotemessage.KeyPress.ESC),t.CANCEL_INPUT_OPTION.setDescription("Cancel"),e&&(this.configuration=e)}return t.prototype.initialize=function(e){this.configuration=e,this.deviceObserver=new t.InnerDeviceObserver(this),this.device=r.CloverDeviceFactory.get(e),this.device&&this.device.subscribe(this.deviceObserver)},t.prototype.initializeConnection=function(){this.device||this.initialize(this.configuration)},t.prototype.addCloverConnectorListener=function(t){this.broadcaster.push(t)},t.prototype.removeCloverConnectorListener=function(t){var e=this.broadcaster.indexOf(t);-1!=e&&this.broadcaster.splice(e,1)},t.prototype.sale=function(e){if(this.device&&this.isReady)if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In sale: SaleRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.SALE_REQUEST);else{null==e.getTipAmount()&&e.setTipAmount(0);try{this.setupSaleRequest(e)}catch(e){this.logger.debug("Error in sale",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.SALE_REQUEST)}}else this.deviceObserver.onFinishCancelSale(o.remotepay.ResponseCode.ERROR,"Device Connection Error","In sale: SaleRequest - The Clover device is not connected.")},t.prototype.setupPreauthRequest=function(e){this.setupBaseTransactionRequest(e,new o.payments.TransactionSettings,new l.PayIntent.Builder,t.TxTypeRequestInfo.PREAUTH_REQUEST)},t.prototype.setupAuthRequest=function(e){var i=new o.payments.TransactionSettings;i.setTipMode(o.payments.TipMode.ON_PAPER),this.setupTransactionRequest(e,i,new l.PayIntent.Builder,t.TxTypeRequestInfo.AUTH_REQUEST)},t.prototype.setupSaleRequest=function(e){var i=new o.payments.TransactionSettings;null!=e.getTipMode()&&i.setTipMode(e.getTipMode());var n=new l.PayIntent.Builder;null!=e.getTipAmount()&&n.setTipAmount(e.getTipAmount()),this.setupTransactionRequest(e,i,n,t.TxTypeRequestInfo.SALE_REQUEST)},t.prototype.setupTransactionRequest=function(t,e,i,o){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,o)},t.prototype.setupBaseTransactionRequest=function(t,e,i,o){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);var n=i.build();this.device.doTxStart(n,null,o)}},t.prototype.notifyDeviceNotConnected=function(t){this.notifyDeviceError(o.remotepay.ErrorType.COMMUNICATION,o.remotepay.DeviceErrorEventCode.NotConnected,null,t+": Device is not connected.")},t.prototype.notifyInvalidData=function(t){this.notifyDeviceError(o.remotepay.ErrorType.VALIDATION,o.remotepay.DeviceErrorEventCode.InvalidParam,null,t)},t.prototype.notifyDeviceError=function(t,e,i,n){var s=new o.remotepay.CloverDeviceErrorEvent;s.setType(t),s.setCode(e),s.setCause(i),s.setMessage(n),this.broadcaster.notifyOnDeviceError(s)},t.prototype.acceptSignature=function(t){var 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)},t.prototype.rejectSignature=function(t){var 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)},t.prototype.acceptPayment=function(t){var 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)},t.prototype.rejectPayment=function(t,e){var 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)},t.prototype.auth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsAuths())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In auth: AuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.AUTH_REQUEST);else try{this.setupAuthRequest(e)}catch(e){this.logger.debug("Error in auth",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.AUTH_REQUEST)}else this.deviceObserver.onFinishCancelAuth(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In auth: AuthRequest - Auths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelAuth(o.remotepay.ResponseCode.ERROR,"Device connection Error","In auth: Auth Request - The Clover device is not connected.")},t.prototype.preAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.PREAUTH_REQUEST);else try{this.setupPreauthRequest(e)}catch(e){this.logger.debug("Error in preAuth",e),this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.ERROR,e,null,t.TxTypeRequestInfo.PREAUTH_REQUEST)}else this.deviceObserver.onFinishCancelPreAuth(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In preAuth: PreAuthRequest - PreAuths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelPreAuth(o.remotepay.ResponseCode.ERROR,"Device connection Error","In preAuth: PreAuthRequest - The Clover device is not connected.")},t.prototype.capturePreAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doCaptureAuth(e.getPaymentId(),e.getAmount(),e.getTipAmount())}catch(e){var i=new o.remotepay.CapturePreAuthResponse;t.populateBaseResponse(i,!1,o.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Capture Auth requests."),this.broadcaster.notifyOnCapturePreAuth(i)}else this.deviceObserver.onCapturePreAuthError(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In capturePreAuth: PreAuth Captures are not enabled for the payment gateway. Original Request = "+e,e.getPaymentId());else this.deviceObserver.onCapturePreAuthError(o.remotepay.ResponseCode.ERROR,"Device connection Error","In capturePreAuth: CapturePreAuth - The Clover device is not connected.",e.getPaymentId())},t.prototype.incrementPreAuth=function(e){if(this.device&&this.isReady)if(this.merchantInfo.getSupportsPreAuths())try{this.device.doIncrementPreAuth(e.getPaymentId(),e.getAmount())}catch(e){var i=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(i,!1,o.remotepay.ResponseCode.UNSUPPORTED,"Pre Auths unsupported","The currently configured merchant gateway does not support Incremental Pre Auth requests."),this.broadcaster.notifyOnIncrementPreAuthResponse(i)}else this.deviceObserver.onIncrementPreAuthError(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In incrementPreAuth: Pre Auths are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onIncrementPreAuthError(o.remotepay.ResponseCode.ERROR,"Device connection Error","In incrementPreAuth: IncrementPreAuth - The Clover device is not connected.")},t.prototype.tipAdjustAuth=function(t){var e=new o.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,o.remotepay.ResponseCode.UNSUPPORTED)):(e.setReason("Device connection Error"),e.setMessage("In tipAdjustAuth: TipAdjustAuthRequest - The Clover device is not connected."),this.deviceObserver.onAuthTipAdjusted(e,o.remotepay.ResponseCode.ERROR))},t.prototype.vaultCard=function(t){var e=new o.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,o.remotepay.ResponseCode.UNSUPPORTED,"In vaultCard: VaultCard/Payment Tokens are not enabled for the payment gateway.")):(e.setReason("Device connection Error"),this.deviceObserver.onVaultCardResponse(e,o.remotepay.ResponseCode.ERROR,"In vaultCard: The Clover device is not connected."))},t.prototype.voidPayment=function(t){if(this.device&&this.isReady){var e=new o.payments.Payment;e.setId(t.getPaymentId()),e.setOrder(new o.base.Reference),e.getOrder().setId(t.getOrderId()),e.setEmployee(new o.base.Reference),e.getEmployee().setId(t.getEmployeeId());var i=o.order.VoidReason[t.getVoidReason()];this.device.doVoidPayment(e,i,t.getDisablePrinting(),t.getDisableReceiptSelection(),t.getExtras())}else this.deviceObserver.onPaymentVoided_responseCode(o.remotepay.ResponseCode.ERROR,"Device connection Error","In voidPayment: VoidPaymentRequest - The Clover device is not connected.")},t.prototype.refundPayment=function(e){this.device&&this.isReady?this.device.doPaymentRefundByRequest(e):this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.CANCEL,"Device Connection Error","In refundPayment: RefundPaymentRequest - The Clover device is not connected.",t.TxTypeRequestInfo.REFUND_REQUEST)},t.prototype.voidPaymentRefund=function(t){this.deviceObserver.onPaymentRefundVoided(null,o.remotepay.ResponseCode.ERROR,"Cannot do Void Payment Refund","This version of the SDK does not support voidPaymentRefunds")},t.prototype.manualRefund=function(e){var i=new o.payments.TransactionSettings;if(this.device&&this.isReady)if(this.merchantInfo.getSupportsManualRefunds())if(e.getVaultedCard()&&!this.merchantInfo.getSupportsVaultCards())this.deviceObserver.onFinishCancel_rmm(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Vault Card support is not enabled for the payment gateway. Original Request = "+e,t.TxTypeRequestInfo.CREDIT_REQUEST);else{var n=new l.PayIntent.Builder;n.setAmount(-Math.abs(e.getAmount())).setTransactionType(o.remotepay.TransactionType.CREDIT).setVaultedCard(e.getVaultedCard()).setRequiresRemoteConfirmation(!0).setExternalPaymentId(e.getExternalId()),i.setCardEntryMethods(e.getCardEntryMethods()?e.getCardEntryMethods():this.cardEntryMethods),e.getDisablePrinting()&&i.setCloverShouldHandleReceipts(!e.getDisablePrinting()),e.getDisableRestartTransactionOnFail()&&i.setDisableRestartTransactionOnFailure(e.getDisableRestartTransactionOnFail()),e.getDisableReceiptSelection()&&i.setDisableReceiptSelection(e.getDisableReceiptSelection()),null!=e.getExtras()&&n.setPassThroughValues(e.getExtras()),n.setTransactionSettings(i);var s=n.build();this.device.doTxStart(s,null,t.TxTypeRequestInfo.CREDIT_REQUEST)}else this.deviceObserver.onFinishCancelManualRefund(o.remotepay.ResponseCode.UNSUPPORTED,"Merchant Configuration Validation Error","In manualRefund: ManualRefundRequest - Manual Refunds are not enabled for the payment gateway. Original Request = "+e);else this.deviceObserver.onFinishCancelManualRefund(o.remotepay.ResponseCode.ERROR,"Device connection Error","In manualRefund: ManualRefundRequest - The Clover device is not connected.")},t.prototype.retrievePendingPayments=function(){this.device&&this.isReady?this.device.doRetrievePendingPayments():this.deviceObserver.onPendingPaymentsResponse(!1,null,"Device connection Error","In retrievePendingPayments: The Clover device is not connected.")},t.prototype.readCardData=function(t){if(this.device&&this.isReady)if(null==t)this.deviceObserver.onReadCardDataResponse(o.remotepay.ResponseCode.FAIL,"Invalid Argument.","In readCardData: ReadCardDataRequest - The request that was passed in for processing is null.");else{var e=new l.PayIntent.Builder;e.setTransactionType(o.remotepay.TransactionType.DATA),e.setCardEntryMethods(t.getCardEntryMethods()?t.getCardEntryMethods():this.cardEntryMethods),e.setForceSwipePinEntry(t.getIsForceSwipePinEntry());var i=e.build();this.device.doReadCardData(i)}else this.deviceObserver.onReadCardDataResponse(o.remotepay.ResponseCode.ERROR,"Device connection Error","In readCardData: The Clover device is not connected.")},t.prototype.sendMessageToActivity=function(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")},t.prototype.retrievePayment=function(t){this.device&&this.isReady?this.device.doRetrievePayment(t.getExternalPaymentId()):this.notifyDeviceNotConnected("In retrievePayment")},t.prototype.registerForCustomerProvidedData=function(t){if(this.device&&this.isReady){var e=t.getConfigurations(),i=this.convertConfigurations(e);console.log(i),this.device.doRegisterForCustomerProvidedData(i)}else this.notifyDeviceNotConnected("In registerForCustomerProvidedData")},t.prototype.convertConfigurations=function(t){var e=this,i=new Array;return null!=t&&t.forEach((function(t){return i.push(e.convertConfiguration(t))})),i},t.prototype.convertConfiguration=function(t){var e=new o.loyalty.LoyaltyDataConfig;return e.setType(t.getType()),e.setConfiguration(t.getConfiguration()),e},t.prototype.setCustomerInfo=function(t){this.device&&this.isReady?this.device.doSetCustomerInfo(t.getCustomerInfo()):this.notifyDeviceNotConnected("In setCustomerInfo: The Clover device is not connected.")},t.prototype.retrievePrinters=function(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")},t.prototype.retrievePrintJobStatus=function(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")},t.prototype.closeout=function(t){this.device&&this.isReady?this.device.doCloseout(t.getAllowOpenTabs(),t.getBatchId()):this.notifyDeviceNotConnected("In closeout")},t.prototype.print=function(t){if(this.device&&this.isReady)if(t){if(!this.validatePrintRequest(t))return;var 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.");var o=Array.isArray(e)?e[0]:e;this.device.doPrintImageObject(o,t.getPrintRequestId(),t.getPrintDeviceId())}else t.getText()?this.device.doPrintText(t.getText(),t.getPrintRequestId(),t.getPrintDeviceId()):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."),o=Array.isArray(i)?i[0]:i,this.device.doPrintImageUrl(o,t.getPrintRequestId(),t.getPrintDeviceId())):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")},t.prototype.validatePrintRequest=function(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)},t.prototype.showMessage=function(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")},t.prototype.sendDebugLog=function(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")},t.prototype.showWelcomeScreen=function(){this.device&&this.isReady?this.device.doShowWelcomeScreen():this.notifyDeviceNotConnected("In showWelcomeScreen")},t.prototype.showThankYouScreen=function(){this.device&&this.isReady?this.device.doShowThankYouScreen():this.notifyDeviceNotConnected("In showThankYouScreen")},t.prototype.displayReceiptOptions=function(t){this.device&&this.isReady?this.device.doShowReceiptScreen(t.getOrderId(),t.getPaymentId(),t.getRefundId(),t.getCreditId(),t.getDisablePrinting()):this.notifyDeviceNotConnected("In displayReceiptOptions")},t.prototype.openCashDrawer=function(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")},t.prototype.showDisplayOrder=function(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")},t.prototype.removeDisplayOrder=function(t){if(this.device&&this.isReady)if(null==t)this.notifyInvalidData("In removeDisplayOrder: Invalid argument. The order cannot be null.");else{var e=new o.order.operation.OrderDeletedOperation;e.setId(t.getId()),this.device.doOrderUpdate(t,e)}else this.notifyDeviceNotConnected("In removeDisplayOrder")},t.prototype.discountAddedToDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"discountAddedToDisplayOrder has not been implemented.")},t.prototype.discountRemovedFromDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"discountRemovedFromDisplayOrder has not been implemented.")},t.prototype.lineItemAddedToDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemAddedToDisplayOrder has not been implemented.")},t.prototype.lineItemRemovedFromDisplayOrder=function(t,e){this.notifyDeviceError(o.remotepay.ErrorType.EXCEPTION,o.remotepay.DeviceErrorEventCode.NotSupported,null,"lineItemRemovedFromDisplayOrder has not been implemented.")},t.prototype.dispose=function(){this.broadcaster.clear(),this.device&&this.device.dispose()},t.prototype.invokeInputOption=function(t){this.device&&this.isReady?this.device.doKeyPress(t.getKeyPress()):this.notifyDeviceNotConnected("In invokeInputOption")},t.prototype.resetDevice=function(){this.device&&this.isReady?this.device.doResetDevice():this.notifyDeviceNotConnected("In resetDevice")},t.prototype.retrieveDeviceStatus=function(t){this.device&&this.isReady?this.device.doRetrieveDeviceStatus(t):this.notifyDeviceNotConnected("In retrieveDeviceStatus")},t.prototype.getCardEntryMethods=function(){return this.cardEntryMethods},t.prototype.startCustomActivity=function(t){this.device&&this.isReady?this.device.doStartActivity(t.getAction(),t.getPayload(),t.getNonBlocking()):this.notifyDeviceNotConnected("In startCustomActivity")},t.prototype.checkBalance=function(t){this.device&&this.isReady?this.device.doCheckBalance(t.getCardEntryMethods()):this.notifyDeviceNotConnected("In checkBalance")},t.prototype.requestSignature=function(t){this.device&&this.isReady?this.device.doCollectSignature(t.getAcknowledgementMessage()):this.notifyDeviceNotConnected("In requestSignature")},t.prototype.requestTip=function(t){this.device&&this.isReady?this.device.doRequestTip(t.getTippableAmount(),t.getTipSuggestions()):this.notifyDeviceNotConnected("In requestTip")},t.populateBaseResponse=function(t,e,i,o,n){if(t.setSuccess(e),t.setResult(i),t.setReason(o||(i?i.toString():"No extended information provided.")),t.setMessage(n||"No extended information provided."),t.getPayment){var s=t.getPayment();s&&this.setResponseFlags(t,s)}},t.populatePaymentResponse=function(e,i,o,n,s,r,a){t.populateBaseResponse(e,i,o,r,a),e.setPayment(n),e.setSignature(s),this.setResponseFlags(e,n)},t.setResponseFlags=function(t,e){if(t&&e){var i=e.getCardTransaction();if(i){var n=i.getType();t.setIsSale&&t.setIsSale(o.payments.CardTransactionType.AUTH==n&&o.payments.Result.SUCCESS==e.getResult()),t.setIsAuth&&t.setIsAuth(o.payments.CardTransactionType.PREAUTH==n&&o.payments.Result.SUCCESS==e.getResult()),t.setIsPreAuth&&t.setIsPreAuth(o.payments.CardTransactionType.PREAUTH==n&&o.payments.Result.AUTH==e.getResult())}}},t.MAX_PAYLOAD_SIZE=1e7,t}();e.CloverConnector=u,function(t){var e=function(){function t(){}return t.SALE_REQUEST="SALE",t.AUTH_REQUEST="AUTH",t.PREAUTH_REQUEST="PREAUTH",t.CREDIT_REQUEST="CREDIT",t.REFUND_REQUEST="REFUND",t}();t.TxTypeRequestInfo=e;var i=function(){function i(t){this.logger=a.Logger.create(),this.cloverConnector=t}return i.prototype.onTxState=function(t){},i.prototype.resultSuccessToResponseCode=function(t){return this.resultStatusToResponseCode(t?o.remotemessage.ResultStatus.SUCCESS:o.remotemessage.ResultStatus.FAIL)},i.prototype.resultStatusToResponseCode=function(t){return t==o.remotemessage.ResultStatus.SUCCESS?o.remotepay.ResponseCode.SUCCESS:t==o.remotemessage.ResultStatus.CANCEL?o.remotepay.ResponseCode.CANCEL:o.remotepay.ResponseCode.FAIL},i.prototype.onTxStartResponse=function(i){var n=i.getReason(),s=i.getResult();if(s!=o.remotemessage.TxStartResponseResult.SUCCESS){var r=s==o.remotemessage.TxStartResponseResult.DUPLICATE,a=r?o.remotepay.ResponseCode.CANCEL:o.remotepay.ResponseCode.FAIL,l=r?"The provided transaction id of "+i.getExternalPaymentId()+" has already been processed and cannot be resubmitted.":null,u=r?l:i.getMessage(),d=i.getRequestInfo();if(d==e.PREAUTH_REQUEST){var p=new o.remotepay.PreAuthResponse;t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(p)}else d==e.AUTH_REQUEST?(p=new o.remotepay.AuthResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnAuthResponse(p)):d==e.SALE_REQUEST?(p=new o.remotepay.SaleResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnSaleResponse(p)):d==e.CREDIT_REQUEST?(p=new o.remotepay.ManualRefundResponse,t.populateBaseResponse(p,!1,a,n,u),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(p)):this.logger.error("Could not determine request type. requestInfo = "+d)}},i.prototype.onUiState=function(t,e,i,n){var s=new o.remotepay.CloverDeviceEvent;s.setInputOptions(n),s.setEventState(o.remotepay.DeviceEventState[t.toString()]),s.setMessage(e),i==o.remotemessage.UiDirection.ENTER?this.cloverConnector.broadcaster.notifyOnDeviceActivityStart(s):i==o.remotemessage.UiDirection.EXIT&&(this.cloverConnector.broadcaster.notifyOnDeviceActivityEnd(s),t.toString()==o.remotepay.DeviceEventState.RECEIPT_OPTIONS.toString()&&this.cloverConnector.device.doShowWelcomeScreen())},i.prototype.onTipAdded=function(t){this.cloverConnector.broadcaster.notifyOnTipAdded(t)},i.prototype.onAuthTipAdjusted=function(e,i){var n=new o.remotepay.TipAdjustAuthResponse,s=e.getSuccess();i||(i=this.resultSuccessToResponseCode(s)),t.populateBaseResponse(n,s,i,e.getReason(),e.getMessage()),n.setPaymentId(e.getPaymentId()),n.setTipAmount(e.getAmount()),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(n)},i.prototype.onCashbackSelected=function(t){},i.prototype.onPartialAuth=function(t){},i.prototype.onFinishOkPayment=function(i,n,s){try{if(this.cloverConnector.device.doShowThankYouScreen(),s==e.PREAUTH_REQUEST){var r=new o.remotepay.PreAuthResponse;t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(r)}else s==e.AUTH_REQUEST?(r=new o.remotepay.AuthResponse,t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnAuthResponse(r)):s==e.SALE_REQUEST?(r=new o.remotepay.SaleResponse,t.populatePaymentResponse(r,!0,o.remotepay.ResponseCode.SUCCESS,i,n),this.cloverConnector.broadcaster.notifyOnSaleResponse(r)):this.logger.error("Failed to pair this response: "+i)}finally{}},i.prototype.onFinishOkCredit=function(e){this.cloverConnector.device.doShowWelcomeScreen();var i=new o.remotepay.ManualRefundResponse;t.populateBaseResponse(i,!0,o.remotepay.ResponseCode.SUCCESS),i.setCredit(e),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(i)},i.prototype.onFinishOkRefund=function(e){this.cloverConnector.device.doShowWelcomeScreen();var i=this.lastPRR;if(this.lastPRR=null,null!=e.getOrderRef()){var n=!0,s=new o.remotepay.RefundPaymentResponse;t.populateBaseResponse(s,n,this.resultSuccessToResponseCode(n)),s.setOrderId(e.getOrderRef().getId()),e.getPayment()&&s.setPaymentId(e.getPayment().getId()),s.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s)}else i&&i.getRefund().getId()==e.getId()?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(i):(n=!0,s=new o.remotepay.RefundPaymentResponse,t.populateBaseResponse(s,n,this.resultSuccessToResponseCode(n)),e.getPayment()&&s.setPaymentId(e.getPayment().getId()),s.setRefund(e),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s))},i.prototype.onFinishOk=function(t,e,i){t instanceof o.payments.Payment?this.onFinishOkPayment(t,e,i):t instanceof o.payments.Credit?this.onFinishOkCredit(t):this.onFinishOkRefund(t)},i.prototype.onFinishCancel_rmm=function(t,i,o,n){try{this.cloverConnector.device&&this.cloverConnector.device.doShowWelcomeScreen(),n==e.PREAUTH_REQUEST?this.onFinishCancelPreAuth(t,i,o):n==e.SALE_REQUEST?this.onFinishCancelSale(t,i,o):n==e.AUTH_REQUEST?this.onFinishCancelAuth(t,i,o):n==e.CREDIT_REQUEST?this.onFinishCancelManualRefund(t,i,o):n==e.REFUND_REQUEST?this.lastPRR?this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR):this.onFinishCancelRefund(t,i,o):this.lastPRR?(this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(this.lastPRR),this.lastPRR=null):n?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{}},i.prototype.onFinishCancel=function(t){this.onFinishCancel_rmm(o.remotepay.ResponseCode.CANCEL,null,null,t)},i.prototype.onFinishCancelPreAuth=function(e,i,n){var s=new o.remotepay.PreAuthResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The PreAuth Request was canceled."),this.cloverConnector.broadcaster.notifyOnPreAuthResponse(s)},i.prototype.onFinishCancelSale=function(e,i,n){var s=new o.remotepay.SaleResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Sale Request was canceled."),this.cloverConnector.broadcaster.notifyOnSaleResponse(s)},i.prototype.onFinishCancelAuth=function(e,i,n){var s=new o.remotepay.AuthResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Auth Request was canceled."),this.cloverConnector.broadcaster.notifyOnAuthResponse(s)},i.prototype.onFinishCancelManualRefund=function(e,i,n){var s=new o.remotepay.ManualRefundResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Manual Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnManualRefundResponse(s)},i.prototype.onFinishCancelRefund=function(e,i,n){var s=new o.remotepay.RefundPaymentResponse;t.populateBaseResponse(s,!1,e,i||"Request Canceled",n||"The Refund Request was canceled."),this.cloverConnector.broadcaster.notifyOnRefundPaymentResponse(s)},i.prototype.onVerifySignature=function(t,e){var i=new o.remotepay.VerifySignatureRequest;i.setSignature(e),i.setPayment(t),this.cloverConnector.broadcaster.notifyOnVerifySignatureRequest(i)},i.prototype.onConfirmPayment=function(t,e){var i=new o.remotepay.ConfirmPaymentRequest;i.setPayment(t),i.setChallenges(e),this.cloverConnector.broadcaster.notifyOnConfirmPaymentRequest(i)},i.prototype.onPaymentVoided=function(e){this.cloverConnector.showWelcomeScreen();var i=e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=this.resultStatusToResponseCode(e.getStatus()),s=new o.remotepay.VoidPaymentResponse,r=e.getPayment();s.setPayment(r),s.setPaymentId(null!=r?r.getId():null),t.populateBaseResponse(s,i,n,e.getReason(),e.getMessage()),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(s)},i.prototype.onPaymentVoided_responseCode=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.VoidPaymentResponse;t.populateBaseResponse(r,s,e,i,n),this.cloverConnector.broadcaster.notifyOnVoidPaymentResponse(r)},i.prototype.onPaymentRefundVoided=function(t,e,i,n){var s=new o.remotepay.VoidPaymentRefundResponse;s.setSuccess(e==o.remotepay.ResponseCode.SUCCESS),s.setReason(null!=i?i:e.toString()),s.setMessage(null!=n?n:"No extended information provided."),s.setRefund(t),this.cloverConnector.broadcaster.notifyOnVoidPaymentRefundResponse(s)},i.prototype.onKeyPressed=function(t){},i.prototype.onPaymentRefundResponse=function(e){var i=e.getCode()==o.remotemessage.TxState.SUCCESS,n=new o.remotepay.RefundPaymentResponse,s=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),s,e.getMessage()),n.setOrderId(e.getOrderId()),n.setPaymentId(e.getPaymentId()),n.setRefund(e.getRefund()),this.lastPRR=n},i.prototype.onPaymentRefundVoidResponse=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==status,n=new o.remotepay.VoidPaymentRefundResponse,s=e.getReason();t.populateBaseResponse(n,i,this.resultSuccessToResponseCode(i),s,e.getMessage()),n.setRefundId(e.getRefund()?e.getRefund().getId():null),n.setReason(e.getReason())},i.prototype.onVaultCardResponse=function(e,i,n){var s=o.remotemessage.ResultStatus.SUCCESS==e.getStatus();this.cloverConnector.device.doShowWelcomeScreen();var r=new o.remotepay.VaultCardResponse;r.setCard(e.getCard()),t.populateBaseResponse(r,s,i||this.resultSuccessToResponseCode(s),e.getReason(),n),this.cloverConnector.broadcaster.notifyOnVaultCardRespose(r)},i.prototype.onCapturePreAuthError=function(e,i,n,s){var r=new o.remotepay.CapturePreAuthResponse;t.populateBaseResponse(r,!1,e,i,n),r.setPaymentId(s),r.setTipAmount(0),this.cloverConnector.broadcaster.notifyOnTipAdjustAuthResponse(r)},i.prototype.onCapturePreAuth=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new o.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)},i.prototype.onIncrementPreAuthError=function(e,i,n){var s=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(s,!1,e,i,n),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(s)},i.prototype.onIncrementPreAuthResponse=function(e){var i=o.remotemessage.ResultStatus.SUCCESS==e.getStatus(),n=new o.remotepay.IncrementPreAuthResponse;t.populateBaseResponse(n,i,this.resultStatusToResponseCode(e.getStatus()),e.getReason(),null),n.setAuthorization(e.getAuthorization()),this.cloverConnector.broadcaster.notifyOnIncrementPreAuthResponse(n)},i.prototype.onCloseoutResponse=function(e,i,n){var s=e==o.remotemessage.ResultStatus.SUCCESS,r=new o.remotepay.CloseoutResponse;t.populateBaseResponse(r,s,this.resultSuccessToResponseCode(s),i,null),r.setBatch(n),this.cloverConnector.broadcaster.notifyCloseout(r)},i.prototype.onDeviceDisconnected=function(t,e){this.logger.debug("Disconnected ",e),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnDisconnect(e)},i.prototype.onDeviceConnected=function(){this.logger.debug("Connected"),this.cloverConnector.isReady=!1,this.cloverConnector.broadcaster.notifyOnConnect()},i.prototype.onDeviceReady=function(t,e){this.logger.debug("Ready"),this.cloverConnector.isReady=e.getReady();var i=new o.remotepay.MerchantInfo;i.setMerchantID(e.getMerchantId()),i.setMerchantMID(e.getMerchantMId()),i.setMerchantName(e.getMerchantName());var n=new o.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()},i.prototype.onDeviceError=function(t){this.cloverConnector.broadcaster.notifyOnDeviceError(t)},i.prototype.onPrintRefundPayment=function(t,e,i){var n=new o.remotepay.PrintRefundPaymentReceiptResponse;n.setPayment(t),n.setOrder(e),n.setRefund(i),this.cloverConnector.broadcaster.notifyOnPrintRefundPaymentReceipt(n)},i.prototype.onPrintMerchantReceipt=function(t){var e=new o.remotepay.PrintPaymentMerchantCopyReceiptMessage;e.setPayment(t),this.cloverConnector.broadcaster.notifyOnPrintPaymentMerchantCopyReceipt(e)},i.prototype.onPrintPaymentDecline=function(t,e){var i=new o.remotepay.PrintPaymentDeclineReceiptMessage;i.setPayment(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentDeclineReceipt(i)},i.prototype.onPrintPayment=function(t,e){var i=new o.remotepay.PrintPaymentReceiptMessage;i.setPayment(t),i.setOrder(e),this.cloverConnector.broadcaster.notifyOnPrintPaymentReceipt(i)},i.prototype.onPrintCredit=function(t){var e=new o.remotepay.PrintManualRefundReceiptMessage;e.setCredit(t),this.cloverConnector.broadcaster.notifyOnPrintCreditReceipt(e)},i.prototype.onPrintCreditDecline=function(t,e){var i=new o.remotepay.PrintManualRefundDeclineReceiptMessage;i.setCredit(t),i.setReason(e),this.cloverConnector.broadcaster.notifyOnPrintCreditDeclineReceipt(i)},i.prototype.onMessageAck=function(t){},i.prototype.onPendingPaymentsResponse=function(e,i,n,s){var r=e?o.remotepay.ResponseCode.SUCCESS:o.remotepay.ResponseCode.ERROR,a=new o.remotepay.RetrievePendingPaymentsResponse;t.populateBaseResponse(a,e,r,n,s),i?a.setPendingPaymentEntries(i):this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnRetrievePendingPaymentResponse(a)},i.prototype.onReadCardResponse=function(e,i,n){var s=e==o.remotemessage.ResultStatus.SUCCESS;if(s){var r=new o.remotepay.ReadCardDataResponse;t.populateBaseResponse(r,s,this.resultSuccessToResponseCode(s),i),r.setCardData(n),this.cloverConnector.device.doShowWelcomeScreen(),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(r)}else e==o.remotemessage.ResultStatus.CANCEL?this.onReadCardDataResponse(o.remotepay.ResponseCode.CANCEL,i,""):this.onReadCardDataResponse(o.remotepay.ResponseCode.FAIL,i,"")},i.prototype.onMessageFromActivity=function(t,e){var i=new o.remotepay.MessageFromActivity;i.setAction(t),i.setPayload(e),this.cloverConnector.broadcaster.notifyOnActivityMessage(i)},i.prototype.onReadCardDataResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS;this.cloverConnector.device.doShowWelcomeScreen();var r=new o.remotepay.ReadCardDataResponse;t.populateBaseResponse(r,s,e,i,n),this.cloverConnector.broadcaster.notifyOnReadCardDataResponse(r)},i.prototype.onActivityResponse=function(e,i,n,s){var r=e==o.remotemessage.ResultStatus.SUCCESS,a=r?o.remotepay.ResponseCode.SUCCESS:o.remotepay.ResponseCode.CANCEL,l=new o.remotepay.CustomActivityResponse;t.populateBaseResponse(l,r,a,n),l.setPayload(i),l.setAction(s),this.cloverConnector.broadcaster.notifyOnActivityResponse(l)},i.prototype.onDeviceStatusResponse=function(e){var i=!e.getStatus()||e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=new o.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)},i.prototype.onInvalidStateTransitionResponse=function(e,i,n,s,r){var a=e==o.remotemessage.ResultStatus.SUCCESS,l=new o.remotepay.InvalidStateTransitionResponse,u=this.resultStatusToResponseCode(e);t.populateBaseResponse(l,a,u,i),l.setRequestedTransition(n),l.setState(s),l.setData(r),this.cloverConnector.broadcaster.notifyOnInvalidStateTransitionResponse(l)},i.prototype.onResetDeviceResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.ResetDeviceResponse;t.populateBaseResponse(r,s,e,i),r.setState(n),this.cloverConnector.broadcaster.notifyOnResetDeviceResponse(r)},i.prototype.onRetrievePaymentResponse=function(e){var i=e.getStatus()==o.remotemessage.ResultStatus.SUCCESS,n=new o.remotepay.RetrievePaymentResponse,s=this.resultStatusToResponseCode(e.getStatus());t.populateBaseResponse(n,i,s,e.getReason(),e.getMessage()),n.setExternalPaymentId(e.getExternalPaymentId()),n.setQueryStatus(e.getQueryStatus()),n.setPayment(e.getPayment()),this.cloverConnector.broadcaster.notifyOnRetrievePaymentResponse(n)},i.prototype.onRetrievePrintersResponse=function(e,i){var n=e==o.remotepay.ResponseCode.SUCCESS,s=new o.remotepay.RetrievePrintersResponse;t.populateBaseResponse(s,n,e,null),s.setPrinters(i),this.cloverConnector.broadcaster.notifyOnRetrievePrintersResponse(s)},i.prototype.onPrintJobStatusResponse=function(e,i,n){var s=e==o.remotepay.ResponseCode.SUCCESS,r=new o.remotepay.PrintJobStatusResponse;t.populateBaseResponse(r,s,e,n),r.setStatus(n),r.setPrintRequestId(i),this.cloverConnector.broadcaster.notifyOnPrintJobStatusResponse(r)},i.prototype.onCustomerProvidedDataMessage=function(t,e,i,n){var s=new o.remotepay.CustomerProvidedDataEvent;s.setResult(t),s.setSuccess(t===o.remotepay.ResponseCode.SUCCESS),s.setEventId(e);var r=new o.remotepay.DataProviderConfig;r.setType(i.getType()),r.setConfiguration(i.getConfiguration()),s.setConfig(r),s.setData(n),this.cloverConnector.broadcaster.notifyOnCustomerProvidedDataEvent(s)},i.prototype.onDisplayReceiptOptionsResponse=function(t,e){var i=new o.remotepay.DisplayReceiptOptionsResponse,n=this.resultStatusToResponseCode(t);i.setReason(e),i.setResult(n),i.setSuccess(i.getResult()==o.remotepay.ResponseCode.SUCCESS),this.cloverConnector.broadcaster.notifyOnDisplayReceiptOptionsResponse(i)},i.prototype.onSignatureCollected=function(t){var e=new o.remotepay.SignatureResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS),e.setSignature(t.getSignature()),this.cloverConnector.broadcaster.notifyOnSignatureCollected(e)},i.prototype.onBalanceInquiryResponse=function(t){var e=new o.remotepay.CheckBalanceResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS);var n=t.getPayment();n&&e.setAmount(n.getAmount()),this.cloverConnector.broadcaster.notifyOnCheckBalanceResponse(e)},i.prototype.onRequestTipResponse=function(t){var e=new o.remotepay.TipResponse,i=this.resultStatusToResponseCode(t.getStatus());e.setReason(t.getReason()),e.setResult(i),e.setSuccess(e.getResult()==o.remotepay.ResponseCode.SUCCESS),e.setTipAmount(t.getAmount()),this.cloverConnector.broadcaster.notifyOnTipResponse(e)},i}();t.InnerDeviceObserver=i}(u=e.CloverConnector||(e.CloverConnector={})),e.CloverConnector=u},24722:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnectorBroadcaster=void 0;var o=i(61256),n=i(79161),s=function(){function t(){this.logger=n.Logger.create(),this.listeners=new Array}return t.prototype.clear=function(){this.listeners.splice(0,this.listeners.length)},t.prototype.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1==t.length?this.listeners.push(t[0]):this.listeners.push(t)},t.prototype.indexOf=function(t,e){return this.listeners.indexOf(t,e)},t.prototype.splice=function(t,e){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return i&&i.length>0?this.listeners.splice(t,e,i):this.listeners.splice(t,e)},t.prototype.notifyOnTipAdded=function(t){var e=this;this.logger.debug("Sending TipAdded notification to listeners");var i=new o.remotepay.TipAdded;i.setTipAmount(t),this.listeners.forEach((function(t){try{t.onTipAdded(i)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRefundPaymentResponse=function(t){var e=this;this.logger.debug("Sending RefundPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRefundPaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyCloseout=function(t){var e=this;this.logger.debug("Sending Closeout notification to listeners"),this.listeners.forEach((function(i){try{i.onCloseoutResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceActivityStart=function(t){var e=this;this.logger.debug("Sending DeviceActivityStart notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceActivityStart(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceActivityEnd=function(t){var e=this;this.logger.debug("Sending DeviceActivityEnd notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceActivityEnd(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnSaleResponse=function(t){var e=this;this.logger.debug("Sending SaleResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onSaleResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnAuthResponse=function(t){var e=this;this.logger.debug("Sending AuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnManualRefundResponse=function(t){var e=this;this.logger.debug("Sending ManualRefundResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onManualRefundResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVerifySignatureRequest=function(t){var e=this;this.logger.debug("Sending VerifySignatureRequest notification to listeners"),this.listeners.forEach((function(i){try{i.onVerifySignatureRequest(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVoidPaymentResponse=function(t){var e=this;this.logger.debug("Sending VoidPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVoidPaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVoidPaymentRefundResponse=function(t){var e=this;this.logger.debug("Sending VoidPaymentRefundResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVoidPaymentRefundResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnConnect=function(){var t=this;this.logger.debug("Sending Connect notification to listeners"),this.listeners.forEach((function(e){try{e.onDeviceConnected()}catch(e){t.logger.error(e)}}))},t.prototype.notifyOnDisconnect=function(t){var e=this;this.logger.debug("Sending Disconnect notification to listeners",t),this.listeners.forEach((function(t){try{t.onDeviceDisconnected()}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnReady=function(t){var e=this;this.logger.debug("Sending Ready notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceReady(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnTipAdjustAuthResponse=function(t){var e=this;this.logger.debug("Sending TipAdjustAuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onTipAdjustAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnVaultCardRespose=function(t){var e=this;this.logger.debug("Sending VaultCardResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onVaultCardResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPreAuthResponse=function(t){var e=this;this.logger.debug("Sending PreAuthResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onPreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnCapturePreAuth=function(t){var e=this;this.logger.debug("Sending CapturePreAuth notification to listeners"),this.listeners.forEach((function(i){try{i.onCapturePreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnIncrementPreAuthResponse=function(t){var e=this;this.logger.debug("Sending IncrementPreAuth notification to listeners"),this.listeners.forEach((function(i){try{i.onIncrementPreAuthResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDeviceError=function(t){var e=this;this.logger.debug("Sending DeviceError notification to listeners"),this.listeners.forEach((function(i){try{i.onDeviceError(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintRefundPaymentReceipt=function(t){var e=this;this.logger.debug("Sending PrintRefundPaymentReceipt notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintRefundPaymentReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentMerchantCopyReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentMerchantCopyReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentMerchantCopyReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentDeclineReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentDeclineReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentDeclineReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintPaymentReceipt=function(t){var e=this;this.logger.debug("Sending PrintPaymentReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintPaymentReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintCreditReceipt=function(t){var e=this;this.logger.debug("Sending PrintManualRefundReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintManualRefundReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintCreditDeclineReceipt=function(t){var e=this;this.logger.debug("Sending PrintManualRefundDeclineReceiptMessage notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintManualRefundDeclineReceipt(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnConfirmPaymentRequest=function(t){var e=this;this.logger.debug("Sending ConfirmPaymentRequest notification to listeners"),this.listeners.forEach((function(i){try{i.onConfirmPaymentRequest(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePendingPaymentResponse=function(t){var e=this;this.logger.debug("Sending RetrievePendingPaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePendingPaymentsResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnReadCardDataResponse=function(t){var e=this;this.logger.debug("Sending ReadCardDataResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onReadCardDataResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnActivityMessage=function(t){var e=this;this.logger.debug("Sending MessageFromActivity notification to listeners"),this.listeners.forEach((function(i){try{i.onMessageFromActivity(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnActivityResponse=function(t){var e=this;this.logger.debug("Sending ActivityResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onCustomActivityResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrieveDeviceStatusResponse=function(t){var e=this;this.logger.debug("Sending RetrieveDeviceStatusResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrieveDeviceStatusResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnResetDeviceResponse=function(t){var e=this;this.logger.debug("Sending ResetDeviceResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onResetDeviceResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePaymentResponse=function(t){var e=this;this.logger.debug("Sending RetrievePaymentResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePaymentResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnRetrievePrintersResponse=function(t){var e=this;this.logger.debug("Sending RetrievePrintersResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onRetrievePrintersResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnPrintJobStatusResponse=function(t){var e=this;this.logger.debug("Sending PrintJobStatusResponse notification to listeners"),this.listeners.forEach((function(i){try{i.onPrintJobStatusResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnCustomerProvidedDataEvent=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCustomerProvidedData(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnDisplayReceiptOptionsResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onDisplayReceiptOptionsResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnInvalidStateTransitionResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onInvalidStateTransitionResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnSignatureCollected=function(t){this.listeners.forEach((function(t){}))},t.prototype.notifyOnCheckBalanceResponse=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCheckBalanceResponse(t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnTipResponse=function(t){this.listeners.forEach((function(t){}))},t}();e.CloverConnectorBroadcaster=s},80664:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegacyCloverConnector=e.CloverConnectorFactory=void 0;var s=i(61256),r=i(19930),a=i(62260),l=i(7271),u=i(47849),d=i(88945),p=i(97184),_=function(){function t(){}return t.prototype.createICloverConnector=function(t){return new c(t)},t}();e.CloverConnectorFactory=_;var c=function(t){function e(e){var i=t.call(this,null)||this;return i.urlParamsInfo=null,i.httpSupport=new l.HttpSupport(XMLHttpRequest),i.imageUtil=new p.ImageUtil,i.legacyConfiguration=e,i}return n(e,t),e.prototype.initializeConnection=function(){null==this.device&&this.initializeLegacyConnection(this.legacyConfiguration)},e.prototype.generateNewConfigurationAndInitialize=function(t){var e=new r.WebSocketCloudCloverDeviceConfiguration(t.remoteApplicationId,d.BrowserWebSocketImpl.createInstance,this.imageUtil,t.domain,t.oauthToken,this.httpSupport,t.merchantId,t.deviceId,t.friendlyId,t.forceConnect);null==this.device&&this.initialize(e)},e.prototype.initializeLegacyConnection=function(t){if(t.oauthToken)this.onceWeHaveTheAccessToken(t);else if(t.domain&&t.clientId)t.oauthToken=this.getAccessToken(t),this.onceWeHaveTheAccessToken(t);else{var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(s.remotepay.ErrorType.EXCEPTION),e.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(e)}},e.prototype.onceWeHaveTheAccessToken=function(t){t.merchantId=this.getMerchantId(t),t.deviceId?this.generateNewConfigurationAndInitialize(t):this.getDeviceId(t)},e.prototype.getDeviceId=function(t){if(t.deviceSerialId||t.deviceId)if(t.deviceId)this.generateNewConfigurationAndInitialize(t);else{var i=a.Endpoints.getDevicesEndpoint(t.domain,t.merchantId,t.oauthToken);this.httpSupport.getData(i,function(i){this.handleDeviceResult(e.buildMapOfSerialToDevice(i),t)}.bind(this),function(t){var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),e.setType(s.remotepay.ErrorType.EXCEPTION),e.setMessage(JSON.stringify({"Error retreiving devices:":t},null,"\t")),this.broadcaster.notifyOnDeviceError(e)}.bind(this))}else{var o=new s.remotepay.CloverDeviceErrorEvent;o.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),o.setType(s.remotepay.ErrorType.EXCEPTION),o.setMessage("Neither 'deviceId' or 'deviceSerialId' passed, one must be set. Cannot initialize."),this.broadcaster.notifyOnDeviceError(o)}},e.buildMapOfSerialToDevice=function(t){var e,i=null,o={};if(t.devices?i=t.devices:t.elements&&(i=t.elements),i)for(e=0;e<i.length;e++)o[i[e].serial]=i[e];return o},e.prototype.handleDeviceResult=function(t,e){var i=t[e.deviceSerialId];if(null==i){var o=new s.remotepay.CloverDeviceErrorEvent;o.setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),o.setType(s.remotepay.ErrorType.EXCEPTION),o.setMessage("Cannot determine device to use. Device "+e.deviceSerialId+" not in set returned."),this.broadcaster.notifyOnDeviceError(o)}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)},e.prototype.getMerchantId=function(t){var i;return t.merchantId||(this.urlParamsInfo?t.merchantId=this.urlParamsInfo[e.URL_MERCHANT_ID_KEY]:t.domain&&t.clientId?(this.getAccessToken(t),(i=new s.remotepay.CloverDeviceErrorEvent).setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),i.setType(s.remotepay.ErrorType.EXCEPTION),i.setMessage("Neither 'merchantId' or '"+e.URL_MERCHANT_ID_KEY+"' specified. Cannot initialize."),this.broadcaster.notifyOnDeviceError(i)):((i=new s.remotepay.CloverDeviceErrorEvent).setCode(s.remotepay.DeviceErrorEventCode.InvalidConfig),i.setType(s.remotepay.ErrorType.EXCEPTION),i.setMessage("Both 'clientId' and 'domain' are unset. Cannot initialize."),this.broadcaster.notifyOnDeviceError(i))),t.merchantId},e.prototype.getAccessToken=function(t){this.parseWindowURL();var i=null;return this.urlParamsInfo&&(i=this.urlParamsInfo[e.accessTokenKey]),null==i&&e.redirect(t),i},e.redirect=function(t){var e=window.location.href.replace(window.location.hash,""),i=a.Endpoints.getOAuthURL(t.domain,t.clientId,null,e);window.location.href=i},e.prototype.parseWindowURL=function(){this.urlParamsInfo||this.parseURL(window.location)},e.prototype.parseURL=function(t){this.urlParamsInfo={};var e=t.hash.split("&");this.parseStuff(e);var i=t.search.substr(1).split("&");this.parseStuff(i)},e.prototype.parseStuff=function(t){for(var i=0,o=null;o=t[i++];){var n=o.split("=");this.urlParamsInfo[n[0]]=n[1],n[0]===e._accessTokenKey&&(this.urlParamsInfo[e.accessTokenKey]=n[1])}},e._accessTokenKey="access_token",e.accessTokenKey="#"+e._accessTokenKey,e.URL_MERCHANT_ID_KEY="merchant_id",e}(u.CloverConnector);e.LegacyCloverConnector=c},40123:(t,e,i)=>{"use strict";e.D=void 0;var o=i(59992),n=i(80664),s=function(){function t(){}return t.createICloverConnectorFactory=function(e){return e&&e[t.FACTORY_VERSION]?e[t.FACTORY_VERSION]==t.VERSION_12?new o.CloverConnectorFactoryV2:void console.error("Factory version specified, but not found!",e):new n.CloverConnectorFactory},t.DEFAULT_VERSION="DEFAULT",t.VERSION_12="VERSION_12",t.FACTORY_VERSION="FACTORY_VERSION",t}();e.D=s},59992:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverConnectorFactoryV2=void 0;var o=i(47849),n=function(){function t(){}return t.prototype.createICloverConnector=function(t){return new o.CloverConnector(t)},t}();e.CloverConnectorFactoryV2=n},21537:(t,e)=>{},32295:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverDevice=void 0;var i=function(){function t(t,e,i){this.supportsAck=!1,this.supportsVoidPaymentResponse=!1,this.packageName=t,this.transport=e,this.applicationId=i,this.deviceObservers=[],this.supportsAck=!1}return t.prototype.subscribe=function(t){this.deviceObservers.push(t)},t.prototype.unsubscribe=function(t){var e=this.deviceObservers.indexOf(t);-1!==e&&this.deviceObservers.splice(e,1)},t.prototype.setSupportsAck=function(t){this.supportsAck=t},t.prototype.getSupportsAck=function(){return this.supportsAck},t.prototype.setSupportsVoidPaymentResponse=function(t){this.supportsVoidPaymentResponse=t},t.prototype.getSupportsVoidPaymentResponse=function(){return this.supportsVoidPaymentResponse},t}();e.CloverDevice=i},18885:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverDeviceFactory=void 0;var o=i(79161),n=function(){function t(){}return t.get=function(t){var e=t.getCloverDeviceType(),i=null;try{i=new e(t)}catch(t){o.Logger.create().error(t)}return i},t}();e.CloverDeviceFactory=n},35379:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultCloverDevice=void 0;var s=i(61256),r=i(65245),a=i(32295),l=i(47849),u=i(24362),d=i(79161),p=i(17411),_=i(61256).remotemessage.VoidPaymentResponseMessage,c=function(t){function e(i){var o=t.call(this,i.getMessagePackageName(),i.getCloverTransport(),i.getApplicationId())||this;return o.logger=d.Logger.create(),o.messageParser=r.RemoteMessageParser.getDefaultInstance(),o._remoteMessageVersion=e.DEFAULT_REMOTE_MESSAGE_VERSION,o.msgIdToTask={},o.heartbeatTimer=null,o.heartbeatResponseTimer=null,o.reconnectTimer=null,o.reconnecting=!1,o.heartbeatIntervalInMillis=null,o.heartbeatDisconnectTimeoutInMillis=null,o.cloverDeviceConfiguration=i,o.imageUtil=i.getImageUtil(),o.maxMessageSizeInChars=Math.max(1e3,i.getMaxMessageCharacters()),o.transport.subscribe(o),o.transport.setObjectMessageSender(o),o.reconnectDelayInMillis=o.cloverDeviceConfiguration.getReconnectDelay?o.cloverDeviceConfiguration.getReconnectDelay():-1,o.heartbeatIntervalInMillis=o.cloverDeviceConfiguration.getHeartbeatInterval?o.cloverDeviceConfiguration.getHeartbeatInterval():-1,o.heartbeatDisconnectTimeoutInMillis=o.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout?o.cloverDeviceConfiguration.getHeartbeatDisconnectTimeout():-1,o.forceConnect=o.cloverDeviceConfiguration.getForceConnect?o.cloverDeviceConfiguration.getForceConnect():-1,o}return n(e,t),e.prototype.onDeviceConnected=function(t){this.onConnected(t)},e.prototype.onConnected=function(t){var i=this;setTimeout((function(){return i.initiateHeartbeat()}),e.INITIAL_HEARTBEAT_DELAY),this.notifyObserversConnected(t)},e.prototype.onConnectionAttemptComplete=function(t){this.reconnecting=!1},e.prototype.onDeviceReady=function(t){this.onReady(t)},e.prototype.onReady=function(t){this.doDiscoveryRequest()},e.prototype.initiateHeartbeat=function(){var t=this;if(-1!==this.heartbeatIntervalInMillis){if(!this.heartbeatTimer){var e=function(){try{t.heartbeatResponseTimer?t.logger.info((new Date).toISOString()+" - A heartbeat request is already outstanding, this interval will be skipped."):(t.logger.info((new Date).toISOString()+" - Executing device heartbeat check ..."),t.sendPingToDevice(),t.heartbeatResponseTimer=setTimeout((function(){var e="Disconnecting: We have not received a heartbeat response from the device in "+t.heartbeatDisconnectTimeoutInMillis+" millis.";t.logger.warn((new Date).toISOString()+" - "+e),t.onDisconnected(t.transport,e)}),t.heartbeatDisconnectTimeoutInMillis)),t.heartbeatTimer=setTimeout(e,t.heartbeatIntervalInMillis)}catch(e){t.logger.info((new Date).toISOString()+" - Error caught executing device heartbeat checks. Message: "+e.message+".")}};e()}}else this.logger.info((new Date).toISOString()+" - Device heartbeat checks are disabled, the heartbeatInterval is set to -1.")},e.prototype.stopHeartbeat=function(){-1!==this.heartbeatIntervalInMillis&&(this.logger.info((new Date).toISOString()+" - Stopping device heartbeat checks."),clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null,this.clearHeartbeartResponseTimer())},e.prototype.clearHeartbeartResponseTimer=function(){clearTimeout(this.heartbeatResponseTimer),this.heartbeatResponseTimer=null},e.prototype.initiateReconnect=function(){var t=this;if(-1!==this.reconnectDelayInMillis){if(this.transport&&!this.transport.isShutdown()&&!this.reconnectTimer){var e=function(){try{t.transport&&!t.transport.isShutdown()&&(t.reconnecting?t.logger.debug((new Date).toISOString()+" - A reconnection attempt is already outstanding, this attempt will be skipped."):(t.logger.info((new Date).toISOString()+" - Not connected to your Clover device. Attempting to reconnect now ..."),t.transport.initialize(),t.reconnecting=!0))}catch(e){t.logger.error((new Date).toISOString()+" - An exception was caught in the reconnect loop. Message: "+e.message+".")}t.reconnectTimer=setTimeout(e,t.reconnectDelayInMillis)};e()}}else this.logger.info((new Date).toISOString()+" - Device reconnection is disabled, the reconnectDelay is set to -1.")},e.prototype.stopReconnect=function(){-1!==this.reconnectDelayInMillis&&(this.logger.info((new Date).toISOString()+" - Stopping reconnect loop."),clearTimeout(this.reconnectTimer),this.reconnectTimer=null)},e.prototype.onDeviceDisconnected=function(t,e){this.onDisconnected(t,e)},e.prototype.onDisconnected=function(t,e,i){void 0===i&&(i=!0),e&&-1!=e.indexOf(u.Constants.device_already_connected)||(this.stopHeartbeat(),this.reconnecting=!1,i&&this.initiateReconnect(),this.notifyObserversDisconnected(t,e))},e.prototype.onDeviceError=function(t){t.getCode()&&t.getCode()===s.remotepay.DeviceErrorEventCode.AccessDenied&&this.stopReconnect(),this.notifyObserversDeviceError(t)},e.prototype.getApplicationId=function(){return this.applicationId},e.prototype.handleRemoteMessagePING=function(){this.respondToDevicePing()},e.prototype.handleRemoteMessagePONG=function(){this.clearHeartbeartResponseTimer(),this.logger.debug("Received pong "+(new Date).toISOString())},Object.defineProperty(e.prototype,"remoteMessageVersion",{get:function(){return this._remoteMessageVersion},set:function(t){t>this._remoteMessageVersion&&(this._remoteMessageVersion=t)},enumerable:!1,configurable:!0}),e.prototype.handleRemoteMessageCOMMAND=function(t){this.remoteMessageVersion="function"==typeof t.getVersion?t.getVersion():e.DEFAULT_REMOTE_MESSAGE_VERSION;var i=s.remotemessage.Method[t.getMethod()];if(null==i)this.logger.error("Unsupported method type: "+t.getMethod());else{var o=this.messageParser.parseMessageFromRemoteMessageObj(t);switch(null==o&&this.logger.error("Error parsing message: "+JSON.stringify(t)),i){case s.remotemessage.Method.BREAK:break;case s.remotemessage.Method.CASHBACK_SELECTED:this.notifyObserversCashbackSelected(o);break;case s.remotemessage.Method.ACK:this.notifyObserverAck(o);break;case s.remotemessage.Method.DISCOVERY_RESPONSE:this.logger.debug("Got a Discovery Response"),this.notifyObserversReady(this.transport,o);break;case s.remotemessage.Method.CONFIRM_PAYMENT_MESSAGE:this.notifyObserversConfirmPayment(o);break;case s.remotemessage.Method.FINISH_CANCEL:this.notifyObserversFinishCancel(o);break;case s.remotemessage.Method.FINISH_OK:this.notifyObserversFinishOk(o);break;case s.remotemessage.Method.KEY_PRESS:this.notifyObserversKeyPressed(o);break;case s.remotemessage.Method.ORDER_ACTION_RESPONSE:break;case s.remotemessage.Method.PARTIAL_AUTH:this.notifyObserversPartialAuth(o);break;case s.remotemessage.Method.VOID_PAYMENT_RESPONSE:this.notifyObserversPaymentVoided(o);break;case s.remotemessage.Method.VOID_PAYMENT_REFUND_RESPONSE:this.notifyObserversPaymentRefundVoided(o);break;case s.remotemessage.Method.PAYMENT_VOIDED:break;case s.remotemessage.Method.TIP_ADDED:this.notifyObserversTipAdded(o);break;case s.remotemessage.Method.TX_START_RESPONSE:this.notifyObserverTxStart(o);break;case s.remotemessage.Method.TX_STATE:this.notifyObserversTxState(o);break;case s.remotemessage.Method.UI_STATE:this.notifyObserversUiState(o);break;case s.remotemessage.Method.VERIFY_SIGNATURE:this.notifyObserversVerifySignature(o);break;case s.remotemessage.Method.REFUND_RESPONSE:this.notifyObserversPaymentRefundResponse(o);break;case s.remotemessage.Method.REFUND_REQUEST:break;case s.remotemessage.Method.TIP_ADJUST_RESPONSE:this.notifyObserversTipAdjusted(o);break;case s.remotemessage.Method.VAULT_CARD_RESPONSE:this.notifyObserverVaultCardResponse(o);break;case s.remotemessage.Method.CAPTURE_PREAUTH_RESPONSE:this.notifyObserversCapturePreAuth(o);break;case s.remotemessage.Method.INCREMENT_PREAUTH_RESPONSE:this.notifyObserversIncrementPreAuth(o);break;case s.remotemessage.Method.CLOSEOUT_RESPONSE:this.notifyObserversCloseout(o);break;case s.remotemessage.Method.RETRIEVE_PENDING_PAYMENTS_RESPONSE:this.notifyObserversPendingPaymentsResponse(o);break;case s.remotemessage.Method.CARD_DATA_RESPONSE:this.notifyObserversReadCardData(o);break;case s.remotemessage.Method.ACTIVITY_MESSAGE_FROM_ACTIVITY:this.notifyObserverActivityMessage(o);break;case s.remotemessage.Method.DISCOVERY_REQUEST:case s.remotemessage.Method.ORDER_ACTION_ADD_DISCOUNT:case s.remotemessage.Method.ORDER_ACTION_ADD_LINE_ITEM:case s.remotemessage.Method.ORDER_ACTION_REMOVE_LINE_ITEM:case s.remotemessage.Method.ORDER_ACTION_REMOVE_DISCOUNT:case s.remotemessage.Method.PRINT_IMAGE:case s.remotemessage.Method.PRINT_TEXT:break;case s.remotemessage.Method.PRINT_CREDIT:this.notifyObserversPrintCredit(o);break;case s.remotemessage.Method.PRINT_CREDIT_DECLINE:this.notifyObserversPrintCreditDecline(o);break;case s.remotemessage.Method.PRINT_PAYMENT:this.notifyObserversPrintPayment(o);break;case s.remotemessage.Method.PRINT_PAYMENT_DECLINE:this.notifyObserversPrintPaymentDecline(o);break;case s.remotemessage.Method.PRINT_PAYMENT_MERCHANT_COPY:this.notifyObserversPrintMerchantCopy(o);break;case s.remotemessage.Method.REFUND_PRINT_PAYMENT:this.notifyObserversPrintPaymentRefund(o);break;case s.remotemessage.Method.ACTIVITY_RESPONSE:this.notifyObserversActivityResponse(o);break;case s.remotemessage.Method.REMOTE_ERROR:this.notifyObserversRemoteError(o);break;case s.remotemessage.Method.RETRIEVE_DEVICE_STATUS_RESPONSE:this.notifyObserversRetrieveDeviceStatusResponse(o);break;case s.remotemessage.Method.RESET_DEVICE_RESPONSE:this.notifyObserversResetDeviceResponse(o);break;case s.remotemessage.Method.RETRIEVE_PAYMENT_RESPONSE:this.notifyObserversRetrievePaymentResponse(o);break;case s.remotemessage.Method.GET_PRINTERS_RESPONSE:this.notifyObserversRetrievePrintersResponse(o);break;case s.remotemessage.Method.PRINT_JOB_STATUS_RESPONSE:this.notifyObserversPrintJobStatusResponse(o);break;case s.remotemessage.Method.CUSTOMER_PROVIDED_DATA_MESSAGE:this.notifyObserversCustomerProvidedDataMessage(o);break;case s.remotemessage.Method.INVALID_STATE_TRANSITION:this.notifyObserversInvalidStateTransitionResponse(o);break;case s.remotemessage.Method.SHOW_RECEIPT_OPTIONS_RESPONSE:this.notifyObserverDisplayReceiptOptionsResponse(o);break;case s.remotemessage.Method.REQUEST_SIGNATURE_RESPONSE:this.notifyObserverDisplayCollectedSignature(o);break;case s.remotemessage.Method.BALANCE_INQUIRY_RESPONSE:this.notifyObserverBalanceInquiryResponse(o);break;case s.remotemessage.Method.REQUEST_TIP_RESPONSE:this.notifyObserverTipResponse(o);break;case s.remotemessage.Method.SHOW_ORDER_SCREEN:case s.remotemessage.Method.SHOW_THANK_YOU_SCREEN:case s.remotemessage.Method.SHOW_WELCOME_SCREEN:case s.remotemessage.Method.SIGNATURE_VERIFIED:case s.remotemessage.Method.TERMINAL_MESSAGE:case s.remotemessage.Method.TX_START:case s.remotemessage.Method.VOID_PAYMENT:case s.remotemessage.Method.CAPTURE_PREAUTH:case s.remotemessage.Method.LAST_MSG_REQUEST:case s.remotemessage.Method.LAST_MSG_RESPONSE:case s.remotemessage.Method.TIP_ADJUST:case s.remotemessage.Method.OPEN_CASH_DRAWER:case s.remotemessage.Method.SHOW_PAYMENT_RECEIPT_OPTIONS:case s.remotemessage.Method.VAULT_CARD:case s.remotemessage.Method.CLOSEOUT_REQUEST:case s.remotemessage.Method.ACTIVITY_REQUEST:case s.remotemessage.Method.RETRIEVE_PAYMENT_REQUEST:break;default:this.logger.error("COMMAND not supported with method: "+t.getMethod())}}},e.prototype.handleRemoteMessageQUERY=function(t){},e.prototype.handleRemoteMessageEVENT=function(t){},e.prototype.handleRemoteMessage=function(t){try{var e=t.getType();e==s.remotemessage.RemoteMessageType.PING?this.handleRemoteMessagePING():e==s.remotemessage.RemoteMessageType.PONG?this.handleRemoteMessagePONG():e==s.remotemessage.RemoteMessageType.COMMAND?this.handleRemoteMessageCOMMAND(t):e==s.remotemessage.RemoteMessageType.QUERY?this.handleRemoteMessageQUERY(t):e==s.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)}},e.prototype.onMessage=function(t){this.logger.debug("DefaultCloverDevice, handling remote message receipt. Message: "+t+".");try{if(-1===(i=t).indexOf("method")&&i.indexOf("forceConnect")>-1)return void this.logger.debug("onMessage: Received a legacy force connect message, dropping.");var e=this.messageParser.parseToRemoteMessage(t);this.handleRemoteMessage(e)}catch(t){this.logger.error(t)}var i},e.prototype.respondToDevicePing=function(){if(this.transport){var t=new s.remotemessage.RemoteMessage;t.setType(s.remotemessage.RemoteMessageType.PONG),t.setPackageName(this.packageName),t.setRemoteSourceSDK(e.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot respond to PING, the transport has been shutdown.")},e.prototype.sendPingToDevice=function(){if(this.transport){var t=new s.remotemessage.RemoteMessage;t.setType(s.remotemessage.RemoteMessageType.PING),t.setPackageName(this.packageName),t.setRemoteSourceSDK(e.REMOTE_SDK),t.setRemoteApplicationID(this.applicationId),this.sendRemoteMessage(t)}else this.logger.info("Cannot send PING, the transport has been shutdown.")},e.prototype.notifyObserversConnected=function(t){var e=this;this.deviceObservers.forEach((function(t){t.onDeviceConnected(e)}))},e.prototype.notifyObserversDisconnected=function(t,e){var i=this;this.deviceObservers.forEach((function(t){t.onDeviceDisconnected(i,e)}))},e.prototype.notifyObserversDeviceError=function(t){this.deviceObservers.forEach((function(e){e.onDeviceError(t)}))},e.prototype.notifyObserversReady=function(t,e){var i=this;e.getReady()&&(this.stopReconnect(),this.clearHeartbeartResponseTimer(),this.initiateHeartbeat()),this.deviceObservers.forEach((function(t){t.onDeviceReady(i,e)}))},e.prototype.notifyObserverAck=function(t){var e=this.msgIdToTask[t.getSourceMessageId()];e&&(delete this.msgIdToTask[t.getSourceMessageId()],e.call(null)),this.deviceObservers.forEach((function(e){e.onMessageAck(t.getSourceMessageId())}))},e.prototype.notifyObserverActivityMessage=function(t){this.deviceObservers.forEach((function(e){e.onMessageFromActivity(t.getAction(),t.getPayload())}))},e.prototype.notifyObserversActivityResponse=function(t){this.deviceObservers.forEach((function(e){var i=-1==t.getResultCode()?s.remotemessage.ResultStatus.SUCCESS:s.remotemessage.ResultStatus.CANCEL;e.onActivityResponse(i,t.getPayload(),t.getFailReason(),t.getAction())}))},e.prototype.notifyObserversReadCardData=function(t){this.deviceObservers.forEach((function(e){e.onReadCardResponse(t.getStatus(),t.getReason(),t.getCardData())}))},e.prototype.notifyObserversRetrieveDeviceStatusResponse=function(t){this.deviceObservers.forEach((function(e){e.onDeviceStatusResponse(t)}))},e.prototype.notifyObserversRetrievePaymentResponse=function(t){this.deviceObservers.forEach((function(e){e.onRetrievePaymentResponse(t)}))},e.prototype.notifyObserversRetrievePrintersResponse=function(t){this.deviceObservers.forEach((function(e){e.onRetrievePrintersResponse(s.remotepay.ResponseCode.SUCCESS,t.getPrinters())}))},e.prototype.notifyObserversPrintJobStatusResponse=function(t){this.deviceObservers.forEach((function(e){e.onPrintJobStatusResponse(s.remotepay.ResponseCode.SUCCESS,t.getExternalPrintJobId(),t.getStatus())}))},e.prototype.notifyObserversCustomerProvidedDataMessage=function(t){this.deviceObservers.forEach((function(e){e.onCustomerProvidedDataMessage(s.remotepay.ResponseCode.SUCCESS,t.getEventId(),t.getConfig(),t.getData())}))},e.prototype.notifyObserversPrintCredit=function(t){this.deviceObservers.forEach((function(e){e.onPrintCredit(t.getCredit())}))},e.prototype.notifyObserversPrintCreditDecline=function(t){this.deviceObservers.forEach((function(e){e.onPrintCreditDecline(t.getCredit(),t.getReason())}))},e.prototype.notifyObserversPrintPayment=function(t){this.deviceObservers.forEach((function(e){e.onPrintPayment(t.getPayment(),t.getOrder())}))},e.prototype.notifyObserversPrintPaymentDecline=function(t){this.deviceObservers.forEach((function(e){e.onPrintPaymentDecline(t.getPayment(),t.getReason())}))},e.prototype.notifyObserversPrintMerchantCopy=function(t){this.deviceObservers.forEach((function(e){e.onPrintMerchantReceipt(t.getPayment())}))},e.prototype.notifyObserversPrintPaymentRefund=function(t){this.deviceObservers.forEach((function(e){e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))},e.prototype.notifyObserversResetDeviceResponse=function(t){this.deviceObservers.forEach((function(e){e.onResetDeviceResponse(s.remotepay.ResponseCode.SUCCESS,t.getReason(),t.getState())}))},e.prototype.notifyObserversRemoteError=function(t){this.deviceObservers.forEach((function(e){var i=new s.remotepay.CloverDeviceErrorEvent;i.setCode(s.remotepay.DeviceErrorEventCode.UnknownError),i.setMessage(JSON.stringify(t)),i.setType(s.remotepay.ErrorType.EXCEPTION),e.onDeviceError(i)}))},e.prototype.notifyObserversPaymentRefundResponse=function(t){this.deviceObservers.forEach((function(e){e.onPaymentRefundResponse(t)}))},e.prototype.notifyObserversPrintMessage=function(t){this.deviceObservers.forEach((function(e){e.onPrintRefundPayment(t.getPayment(),t.getOrder(),t.getRefund())}))},e.prototype.notifyObserversKeyPressed=function(t){this.deviceObservers.forEach((function(e){e.onKeyPressed(t.getKeyPress())}))},e.prototype.notifyObserversCashbackSelected=function(t){this.deviceObservers.forEach((function(e){e.onCashbackSelected(t.getCashbackAmount())}))},e.prototype.notifyObserversTipAdded=function(t){this.deviceObservers.forEach((function(e){e.onTipAdded(t.getTipAmount())}))},e.prototype.notifyObserverTxStart=function(t){this.deviceObservers.forEach((function(e){e.onTxStartResponse(t)}))},e.prototype.notifyObserversTipAdjusted=function(t){this.deviceObservers.forEach((function(e){e.onAuthTipAdjusted(t)}))},e.prototype.notifyObserversPartialAuth=function(t){this.deviceObservers.forEach((function(e){e.onPartialAuth(t.getPartialAuthAmount())}))},e.prototype.notifyObserversPaymentVoided=function(t){this.deviceObservers.forEach((function(e){e.onPaymentVoided(t)}))},e.prototype.notifyObserversPaymentRefundVoided=function(t){this.deviceObservers.forEach((function(e){e.onPaymentRefundVoidResponse(t)}))},e.prototype.notifyObserversVerifySignature=function(t){this.deviceObservers.forEach((function(e){e.onVerifySignature(t.getPayment(),t.getSignature())}))},e.prototype.notifyObserversConfirmPayment=function(t){this.deviceObservers.forEach((function(e){e.onConfirmPayment(t.getPayment(),t.getChallenges())}))},e.prototype.notifyObserverVaultCardResponse=function(t){this.deviceObservers.forEach((function(e){e.onVaultCardResponse(t)}))},e.prototype.notifyObserversUiState=function(t){this.deviceObservers.forEach((function(e){e.onUiState(t.getUiState(),t.getUiText(),t.getUiDirection(),t.getInputOptions())}))},e.prototype.notifyObserversCapturePreAuth=function(t){this.deviceObservers.forEach((function(e){e.onCapturePreAuth(t)}))},e.prototype.notifyObserversIncrementPreAuth=function(t){this.deviceObservers.forEach((function(e){e.onIncrementPreAuthResponse(t)}))},e.prototype.notifyObserversCloseout=function(t){this.deviceObservers.forEach((function(e){e.onCloseoutResponse(t.getStatus(),t.getReason(),t.getBatch())}))},e.prototype.notifyObserversPendingPaymentsResponse=function(t){this.deviceObservers.forEach((function(e){e.onPendingPaymentsResponse(t.getStatus()==s.remotemessage.ResultStatus.SUCCESS,t.getPendingPaymentEntries())}))},e.prototype.notifyObserversTxState=function(t){this.deviceObservers.forEach((function(e){e.onTxState(t.getTxState())}))},e.prototype.notifyObserversFinishCancel=function(t){this.deviceObservers.forEach((function(e){e.onFinishCancel(t.getRequestInfo())}))},e.prototype.notifyObserversFinishOk=function(t){this.deviceObservers.forEach((function(e){t.getPayment()?e.onFinishOk(t.getPayment(),t.getSignature(),t.getRequestInfo()):t.getCredit()?e.onFinishOk(t.getCredit()):t.getRefund()&&e.onFinishOk(t.getRefund())}))},e.prototype.notifyObserverDisplayCollectedSignature=function(t){this.deviceObservers.forEach((function(e){e.onSignatureCollected(t)}))},e.prototype.notifyObserverBalanceInquiryResponse=function(t){this.deviceObservers.forEach((function(e){e.onBalanceInquiryResponse(t)}))},e.prototype.notifyObserverTipResponse=function(t){this.deviceObservers.forEach((function(e){e.onRequestTipResponse(t)}))},e.prototype.notifyObserversInvalidStateTransitionResponse=function(t){this.deviceObservers.forEach((function(e){e.onInvalidStateTransitionResponse(s.remotemessage.ResultStatus.CANCEL,t.getReason(),t.getRequestedTransition(),t.getState(),t.getData())}))},e.prototype.notifyObserverDisplayReceiptOptionsResponse=function(t){this.deviceObservers.forEach((function(e){e.onDisplayReceiptOptionsResponse(t.getStatus(),t.getReason())}))},e.prototype.doShowPaymentReceiptScreen=function(t,e){var i=new s.remotemessage.ShowPaymentReceiptOptionsMessage;i.setOrderId(t),i.setPaymentId(e),i.setVersion(2),this.sendObjectMessage(i)},e.prototype.doShowReceiptScreen=function(t,e,i,o,n){var r=new s.remotemessage.ShowReceiptOptionsMessage;r.setOrderId(t),r.setPaymentId(e),r.setRefundId(i),r.setCreditId(o),r.setDisableCloverPrinting(n),this.sendObjectMessage(r)},e.prototype.doKeyPress=function(t){var e=new s.remotemessage.KeyPressMessage;e.setKeyPress(t),this.sendObjectMessage(e)},e.prototype.doShowThankYouScreen=function(){var t=new s.remotemessage.ThankYouMessage;this.sendObjectMessage(t)},e.prototype.doShowWelcomeScreen=function(){var t=new s.remotemessage.WelcomeMessage;this.sendObjectMessage(t)},e.prototype.doSignatureVerified=function(t,e){var i=new s.remotemessage.SignatureVerifiedMessage;i.setPayment(t),i.setVerified(e),this.sendObjectMessage(i)},e.prototype.doRetrievePendingPayments=function(){var t=new s.remotemessage.RetrievePendingPaymentsMessage;this.sendObjectMessage(t)},e.prototype.doTerminalMessage=function(t){var e=new s.remotemessage.TerminalMessage;e.setText(t),this.sendObjectMessage(e)},e.prototype.doSendDebugLog=function(t){var e=new s.remotemessage.CloverDeviceLogMessage;e.setMessage(t),this.sendObjectMessage(e)},e.prototype.doOpenCashDrawer=function(t,e){var i=new s.remotemessage.OpenCashDrawerMessage;if(i.setReason(t),e){var o=new s.printer.Printer;o.setId(e),i.setPrinter(o)}this.sendObjectMessage(i)},e.prototype.doCloseout=function(t,e){var i=new s.remotemessage.CloseoutRequestMessage;i.setAllowOpenTabs(t),i.setBatchId(e),this.sendObjectMessage(i)},e.prototype.doTxStart=function(t,e,i){var o=new s.remotemessage.TxStartRequestMessage;o.setPayIntent(t),o.setOrder(e),o.setRequestInfo(i),o.setVersion(2),this.sendObjectMessage(o)},e.prototype.doTipAdjustAuth=function(t,e,i){var o=new s.remotemessage.TipAdjustMessage;o.setOrderId(t),o.setPaymentId(e),o.setTipAmount(i),this.sendObjectMessage(o)},e.prototype.doReadCardData=function(t){var e=new s.remotemessage.CardDataRequestMessage;e.setPayIntent(t),this.sendObjectMessage(e)},e.prototype.doSendMessageToActivity=function(t,e){var i=new s.remotemessage.ActivityMessageToActivity;i.setAction(t),i.setPayload(e),this.sendObjectMessage(i)},e.prototype.doPrintText=function(t,e,i){var o=new s.remotemessage.TextPrintMessage;if(o.setTextLines(t),e&&o.setExternalPrintJobId(e),i){var n=new s.printer.Printer;n.setId(i),o.setPrinter(n)}this.sendObjectMessage(o)},e.prototype.doPrintImageObject=function(t,i,o){var n=this,r=new s.remotemessage.ImagePrintMessage;this.imageUtil.getBase64Image(t,(function(t){if(r.setPng(t),i&&r.setExternalPrintJobId(i),o){var a=new s.printer.Printer;a.setId(o),r.setPrinter(a)}if(n.isFragmentationSupported()){var l=r.getPng();r.setPng(null),n.sendObjectMessage(r,l,e.BASE64)}else n.sendObjectMessage(r)}))},e.prototype.doPrintImageUrl=function(t,e,i){var o=this;this.imageUtil.loadImageFromURL(t,(function(t){o.doPrintImageObject(t,e,i)}),(function(t){var e=new s.remotepay.CloverDeviceErrorEvent;e.setCode(s.remotepay.DeviceErrorEventCode.UnknownError),e.setMessage(t),e.setType(s.remotepay.ErrorType.EXCEPTION),o.notifyObserversDeviceError(e)}))},e.prototype.doStartActivity=function(t,e,i){var o=new s.remotemessage.ActivityRequest;o.setAction(t),o.setPayload(e),o.setNonBlocking(i),o.setForceLaunch(!1),this.sendObjectMessage(o)},e.prototype.doVoidPayment=function(t,e,i,o){var n=this,r=new s.remotemessage.VoidPaymentMessage;r.setPayment(t),r.setVoidReason(e),r.setDisableCloverPrinting(i),r.setDisableReceiptSelection(o),this.getSupportsVoidPaymentResponse()&&r.setVersion(3);var a=this.buildRemoteMessageToSend(r),l=a.getId();if(this.getSupportsVoidPaymentResponse())this.sendRemoteMessage(a);else{var u=new _;u.setPayment(t),u.setVoidReason(e),u.setStatus(s.remotemessage.ResultStatus.SUCCESS),this.getSupportsAck()?(this.addTaskForAck(l,(function(){n.notifyObserversPaymentVoided(u)})),this.sendRemoteMessage(a)):(this.sendRemoteMessage(a),this.notifyObserversPaymentVoided(u))}},e.prototype.addTaskForAck=function(t,e){this.msgIdToTask[t]=e},e.prototype.doPaymentRefund=function(t,e,i,o,n,r){var a=new s.remotemessage.RefundRequestMessage;a.setOrderId(t),a.setPaymentId(e),a.setAmount(i),a.setFullRefund(o),a.setDisableCloverPrinting(n),a.setDisableReceiptSelection(r),a.setVersion(2),this.sendObjectMessage(a)},e.prototype.doVoidPaymentRefund=function(t,e,i,o){var n=new s.remotemessage.VoidPaymentRefundMessage;n.setOrderId(t),n.setRefundId(e),n.setDisableCloverPrinting(i),n.setDisableReceiptSelection(o),n.setVersion(2),this.sendObjectMessage(n)},e.prototype.doPaymentRefundByRequest=function(t){var e=new s.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)},e.prototype.doVaultCard=function(t){var e=new s.remotemessage.VaultCardMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)},e.prototype.doCaptureAuth=function(t,e,i){var o=new s.remotemessage.CapturePreAuthMessage;o.setVersion(1),o.setPaymentId(t),o.setAmount(e),o.setTipAmount(i),this.sendObjectMessage(o)},e.prototype.doIncrementPreAuth=function(t,e){var i=new s.remotemessage.IncrementPreAuthMessage;i.setVersion(1),i.setPaymentId(t),i.setAmount(e),this.sendObjectMessage(i)},e.prototype.doAcceptPayment=function(t){var e=new s.remotemessage.PaymentConfirmedMessage;e.setPayment(t),this.sendObjectMessage(e)},e.prototype.doRejectPayment=function(t,e){var i=new s.remotemessage.PaymentRejectedMessage;i.setPayment(t),i.setReason(e.getReason()),this.sendObjectMessage(i)},e.prototype.doDiscoveryRequest=function(){var t=new s.remotemessage.DiscoveryRequestMessage;t.setSupportsOrderModification(!1),this.sendObjectMessage(t)},e.prototype.doOrderUpdate=function(t,e){var i=new s.remotemessage.OrderUpdateMessage;i.setOrder(t),e&&(e instanceof s.order.operation.DiscountsAddedOperation?i.setDiscountsAddedOperation(e):e instanceof s.order.operation.DiscountsDeletedOperation?i.setDiscountsDeletedOperation(e):e instanceof s.order.operation.LineItemsAddedOperation?i.setLineItemsAddedOperation(e):e instanceof s.order.operation.LineItemsDeletedOperation?i.setLineItemsDeletedOperation(e):e instanceof s.order.operation.OrderDeletedOperation&&i.setOrderDeletedOperation(e)),this.sendObjectMessage(i)},e.prototype.doResetDevice=function(){var t=new s.remotemessage.BreakMessage;this.sendObjectMessage(t)},e.prototype.doRetrieveDeviceStatus=function(t){var e=new s.remotemessage.RetrieveDeviceStatusRequestMessage;e.setSendLastMessage(t.getSendLastMessage()),this.sendObjectMessage(e)},e.prototype.doRetrievePayment=function(t){var e=new s.remotemessage.RetrievePaymentRequestMessage;e.setExternalPaymentId(t),this.sendObjectMessage(e)},e.prototype.doRetrievePrinters=function(t){var e=new s.remotemessage.GetPrintersRequestMessage;t&&e.setCategory(t),this.sendObjectMessage(e)},e.prototype.doRetrievePrintJobStatus=function(t){var e=new s.remotemessage.PrintJobStatusRequestMessage;e.setExternalPrintJobId(t),this.sendObjectMessage(e)},e.prototype.doRegisterForCustomerProvidedData=function(t){var e=new s.remotemessage.RegisterForCustomerProvidedDataMessage;e.setConfigurations(t),this.sendObjectMessage(e)},e.prototype.doSetCustomerInfo=function(t){var e=new s.remotemessage.CustomerInfoMessage;e.setCustomer(t),this.sendObjectMessage(e)},e.prototype.doCheckBalance=function(t){var e=new s.remotemessage.BalanceInquiryRequestMessage;e.setCardEntryMethods(t),this.sendObjectMessage(e)},e.prototype.doCollectSignature=function(t){var e=new s.remotemessage.SignatureRequestMessage;e.setAcknowledgementMessage(t),this.sendObjectMessage(e)},e.prototype.doRequestTip=function(t,e){var i=new s.remotemessage.RequestTipRequestMessage;i.setTipSuggestions(e),i.setTippableAmount(t),this.sendObjectMessage(i)},e.prototype.dispose=function(){this.deviceObservers.splice(0,this.deviceObservers.length),this.transport&&(this.transport.dispose(),this.transport=null),this.stopReconnect(),this.stopHeartbeat()},e.prototype.sendObjectMessage=function(t,e,i){return this.buildRemoteMessages(t,e,i)},e.prototype.buildBaseRemoteMessage=function(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");var i=++e.id+"";t.setMessageId(i);var o=new s.remotemessage.RemoteMessage;return o.setId(i),o.setType(s.remotemessage.RemoteMessageType.COMMAND),o.setPackageName(this.packageName),o.setMethod(t.getMethod()),o.setVersion(this.remoteMessageVersion),o.setRemoteSourceSDK(e.REMOTE_SDK),o.setRemoteApplicationID(this.applicationId),o},e.prototype.addSuppressElementsWrapper=function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e]){var i=t?t.getMetaInfo(e):null;i&&i.type==Array&&(t[e].suppressElementsWrapper=!0)}return t},e.prototype.buildRemoteMessageToSend=function(t){var i=this.buildBaseRemoteMessage(t);return t=this.addSuppressElementsWrapper(t),i.setPayload(JSON.stringify(t,e.stringifyClover)),i},e.prototype.buildRemoteMessages=function(t,i,o){var n=this.buildBaseRemoteMessage(t);t=this.addSuppressElementsWrapper(t),o&&n.setAttachmentEncoding(o);var s=JSON.stringify(t,e.stringifyClover);if(this.isFragmentationSupported())if((s?s.length:0)>this.maxMessageSizeInChars||i){if(i&&i.length>l.CloverConnector.MAX_PAYLOAD_SIZE)return this.logger.error("Error sending message - payload size is greater than the maximum allowed."),null;for(var r=0;s.length>0;)n.setLastFragment(!1),s.length<=this.maxMessageSizeInChars?(n.setPayload(s),s="",n.setLastFragment(null==i)):(n.setPayload(s.substr(0,this.maxMessageSizeInChars)),s=s.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(r++),this.sendRemoteMessage(n);if(n.setPayload(null),i)if(o==e.BASE64)for(n.setAttachmentEncoding(e.BASE64_ATTACHMENT);i.length>0;)n.setLastFragment(!1),i.length<=this.maxMessageSizeInChars?(n.setAttachment(i),i="",n.setLastFragment(!0)):(n.setAttachment(i.substr(0,this.maxMessageSizeInChars)),i=i.substr(this.maxMessageSizeInChars)),n.setFragmentIndex(r++),this.sendRemoteMessage(n);else this.logger.error("Attachment on message, but no encoding specified. No idea how to send it.")}else s.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(s),i&&n.setAttachment(i),this.sendRemoteMessage(n);else n.setPayload(s),this.sendRemoteMessage(n);return n.getId()},e.stringifyClover=function(t,e){return Array.isArray(e)&&!e.hasOwnProperty("suppressElementsWrapper")&&"elements"!=t?{elements:e}:e},e.prototype.sendRemoteMessage=function(t){var 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)},e.prototype.isFragmentationSupported=function(){return this.remoteMessageVersion>1},e.DEFAULT_REMOTE_MESSAGE_VERSION=1,e.REMOTE_SDK=p.Version.CLOVER_CLOUD_SDK+":"+p.Version.CLOVER_CLOUD_SDK_VERSION,e.BASE64="BASE64",e.BASE64_ATTACHMENT=e.BASE64+".ATTACHMENT",e.id=0,e.INITIAL_HEARTBEAT_DELAY=15e3,e}(a.CloverDevice);e.DefaultCloverDevice=c},19930:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloudCloverDeviceConfigurationBuilder=e.WebSocketCloudCloverDeviceConfiguration=void 0;var s=i(63422),r=i(12180),a=i(5457),l=i(7271),u=i(97184),d=i(88945),p=function(t){function e(e,i,o,n,s,r,a,l,u,d,p,_,c){void 0===d&&(d=!1);var m=t.call(this,e,i,o,p,_,c)||this;return m.cloverServer=n,m.accessToken=s,m.httpSupport=r,m.merchantId=a,m.deviceId=l,m.friendlyId=u||"unknown",m.forceConnect=d,m}return n(e,t),e.prototype.getMessagePackageName=function(){return"com.clover.remote.protocol.websocket"},e.prototype.getName=function(){return"Clover Cloud WebSocket Connector"},e.prototype.getCloverDeviceType=function(){return r.WebsocketCloudCloverDevice},e.prototype.getCloverTransport=function(){return new s.WebSocketCloudCloverTransport(this.getReconnectDelay(),this.webSocketImplClass,this.cloverServer,this.merchantId,this.accessToken,this.deviceId,this.friendlyId,this.forceConnect,this.httpSupport)},e}(a.WebSocketCloverDeviceConfiguration);e.WebSocketCloudCloverDeviceConfiguration=p;var _=function(){function t(t,e,i,o){this.forceConnect=!1,this.applicationId=t,this.deviceId=e,this.merchantId=i,this.accessToken=o,this.imageUtil=new u.ImageUtil,this.httpSupport="undefined"!=typeof XMLHttpRequest?new l.HttpSupport(XMLHttpRequest):null,this.webSocketFactoryFunction=d.BrowserWebSocketImpl.createInstance,this.cloverServer="https://www.clover.com/"}return t.prototype.getApplicationId=function(){return this.applicationId},t.prototype.getDeviceId=function(){return this.deviceId},t.prototype.getMerchantId=function(){return this.merchantId},t.prototype.getAccessToken=function(){return this.accessToken},t.prototype.getCloverServer=function(){return this.cloverServer},t.prototype.setCloverServer=function(t){return this.cloverServer=t,this},t.prototype.getHttpSupport=function(){return this.httpSupport},t.prototype.setHttpSupport=function(t){return this.httpSupport=t,this},t.prototype.getWebSocketFactoryFunction=function(){return this.webSocketFactoryFunction},t.prototype.setWebSocketFactoryFunction=function(t){return this.webSocketFactoryFunction=t,this},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.setImageUtil=function(t){return this.imageUtil=t,this},t.prototype.getFriendlyId=function(){return this.friendlyId},t.prototype.setFriendlyId=function(t){return this.friendlyId=t,this},t.prototype.getForceConnect=function(){return this.forceConnect},t.prototype.setForceConnect=function(t){return this.forceConnect=t,this},t.prototype.getHeartbeatInterval=function(){return this.heartbeatInterval},t.prototype.setHeartbeatInterval=function(t){return this.heartbeatInterval=t,this},t.prototype.getHeartbeatDisconnectTimeout=function(){return this.heartbeatDisconnectTimeout},t.prototype.setHeartbeatDisconnectTimeout=function(t){return this.heartbeatDisconnectTimeout=t,this},t.prototype.getReconnectDelay=function(){return this.reconnectDelay},t.prototype.setReconnectDelay=function(t){return this.reconnectDelay=t,this},t.prototype.build=function(){return new p(this.applicationId,this.webSocketFactoryFunction,this.imageUtil,this.cloverServer,this.accessToken,this.httpSupport,this.merchantId,this.deviceId,this.friendlyId,this.forceConnect,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)},t}();e.WebSocketCloudCloverDeviceConfigurationBuilder=_},5457:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloverDeviceConfiguration=void 0;var o=i(35379),n=i(79161),s=function(){function t(t,e,i,o,s,r){this.logger=n.Logger.create(),this.maxCharInMessage=5e4,this.imageUtil=i,this.appId=t,this.webSocketImplClass=e,this.setHeartbeatInterval(o),this.setReconnectDelay(s),this.setHeartbeatDisconnectTimeout(r)}return t.prototype.getApplicationId=function(){return this.appId},t.prototype.getHeartbeatDisconnectTimeout=function(){return Math.max(t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT,this.heartbeatDisconnectTimeout)},t.prototype.setHeartbeatDisconnectTimeout=function(e){this.heartbeatDisconnectTimeout=e||t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT},t.prototype.getHeartbeatInterval=function(){return-1===this.heartbeatInterval?this.heartbeatInterval:Math.max(t.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL,this.heartbeatInterval)},t.prototype.setHeartbeatInterval=function(e){this.heartbeatInterval=e||t.DEFAULT_HEARTBEAT_INTERVAL},t.prototype.getReconnectDelay=function(){return-1===this.reconnectDelay?this.reconnectDelay:Math.max(t.DEFAULT_RECONNECT_DELAY,this.reconnectDelay)},t.prototype.setReconnectDelay=function(e){this.reconnectDelay=e||t.DEFAULT_RECONNECT_DELAY},t.prototype.getCloverDeviceType=function(){return o.DefaultCloverDevice},t.prototype.getName=function(){return"Clover WebSocket Connector"},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.getMaxMessageCharacters=function(){return this.maxCharInMessage},t.DEFAULT_RECONNECT_DELAY=3e3,t.DEFAULT_HEARTBEAT_INTERVAL=-1,t.MINIMUM_ALLOWED_HEARTBEAT_INTERVAL=2500,t.DEFAULT_HEARTBEAT_DISCONNECT_TIMEOUT=3e3,t}();e.WebSocketCloverDeviceConfiguration=s},32362:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketPairedCloverDeviceConfigurationBuilder=e.WebSocketPairedCloverDeviceConfiguration=void 0;var s=i(87010),r=i(5457),a=i(97184),l=i(88945),u=function(t){function e(e,i,o,n,s,r,a,l,u,d,p,_){var c=t.call(this,i,l,u,d,p)||this;return c.uri=null,c.uri=e,c.posName=o,c.serialNumber=n,c.authToken=s,c.webSocketImplClass=l,c.onPairingCodeHandler=r,c.onPairingSuccessHandler=a,c}return n(e,t),e.prototype.getMessagePackageName=function(){return"com.clover.remote_protocol_broadcast.app"},e.prototype.getName=function(){return"Clover Secure WebSocket Connector"},e.prototype.getCloverTransport=function(){var t=new s.WebSocketPairedCloverTransport(this.uri,this.getReconnectDelay(),this.posName,this.serialNumber,this.authToken,this.webSocketImplClass);return t.setPairingDeviceConfiguration(this),t},e.prototype.setAuthToken=function(t){this.authToken=t},e.prototype.onPairingCode=function(t){this.onPairingCodeHandler(t)},e.prototype.onPairingSuccess=function(t){this.onPairingSuccessHandler(t)},e}(r.WebSocketCloverDeviceConfiguration);e.WebSocketPairedCloverDeviceConfiguration=u;var d=function(){function t(t,e,i,o,n,s,r){this.uri=null,this.applicationId=t,this.uri=e,this.posName=i,this.serialNumber=o,this.authToken=n,this.imageUtil=new a.ImageUtil,this.webSocketFactoryFunction=l.BrowserWebSocketImpl.createInstance,this.onPairingCodeHandler=s,this.onPairingSuccessHandler=r}return t.prototype.getApplicationId=function(){return this.applicationId},t.prototype.getUri=function(){return this.uri},t.prototype.getSerialNumber=function(){return this.serialNumber},t.prototype.getAuthToken=function(){return this.authToken},t.prototype.getWebSocketFactoryFunction=function(){return this.webSocketFactoryFunction},t.prototype.setWebSocketFactoryFunction=function(t){return this.webSocketFactoryFunction=t,this},t.prototype.getImageUtil=function(){return this.imageUtil},t.prototype.setImageUtil=function(t){return this.imageUtil=t,this},t.prototype.getPosName=function(){return this.posName},t.prototype.setPosName=function(t){return this.posName=t,this},t.prototype.getHeartbeatInterval=function(){return this.heartbeatInterval},t.prototype.setHeartbeatInterval=function(t){return this.heartbeatInterval=t,this},t.prototype.getHeartbeatDisconnectTimeout=function(){return this.heartbeatDisconnectTimeout},t.prototype.setHeartbeatDisconnectTimeout=function(t){return this.heartbeatDisconnectTimeout=t,this},t.prototype.getReconnectDelay=function(){return this.reconnectDelay},t.prototype.setReconnectDelay=function(t){return this.reconnectDelay=t,this},t.prototype.build=function(){return new u(this.uri,this.applicationId,this.posName,this.serialNumber,this.authToken,this.onPairingCodeHandler,this.onPairingSuccessHandler,this.webSocketFactoryFunction,this.imageUtil,this.heartbeatInterval,this.reconnectDelay,this.heartbeatDisconnectTimeout)},t}();e.WebSocketPairedCloverDeviceConfigurationBuilder=d},12180:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebsocketCloudCloverDevice=void 0;var s=i(61256),r=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.dispose=function(){var e=this.buildRemoteMessageToSend(new s.remotemessage.ShutDownMessage);this.sendRemoteMessage(e),t.prototype.dispose.call(this)},e.prototype.disposeWithoutMessage=function(){t.prototype.dispose.call(this)},e.prototype.handleRemoteMessageEVENT=function(t){var e=s.remotemessage.Method[t.getMethod()];if(null==e)this.logger.error("Unsupported method type: "+t.getMethod());else{var i=this.messageParser.parseMessageFromRemoteMessageObj(t);e==s.remotemessage.Method.FORCECONNECT&&(this.logger.info("Connection was stolen! Will not attempt reconnect.",t),this.notifyObserversForceConnect(i),this.disposeWithoutMessage())}},e.prototype.notifyObserversForceConnect=function(t){var e=this;this.deviceObservers.forEach((function(i){var o=JSON.stringify(t),n=new s.remotepay.CloverDeviceErrorEvent;n.setCode(s.remotepay.DeviceErrorEventCode.Interrupted),n.setMessage(o),n.setType(s.remotepay.ErrorType.COMMUNICATION),i.onDeviceError(n),i.onDeviceDisconnected(e,o)}))},e.prototype.handleRemoteMessage=function(e){try{e.getMethod()===s.remotemessage.Method.RESET||e.getMethod()===s.remotemessage.Method.SHUTDOWN?(this.logger.info("Reset requested! Will reconnect."),this.transport.reset()):t.prototype.handleRemoteMessage.call(this,e)}catch(t){this.logger.error("Error processing message: "+e.getPayload(),t)}},e}(i(35379).DefaultCloverDevice);e.WebsocketCloudCloverDevice=r},50407:(t,e)=>{"use strict";e.k=void 0;var i=function(){function t(){}var e;return t.prototype.isSystemLimitedType=function(e){return t.VAS_TYPE===e||t.EMAIL_TYPE===e||t.PHONE_TYPE===e||t.CLEAR_TYPE===e},t.prototype.isCustomListedType=function(e){return-1!=t.dataTypes.indexOf(e)},t.prototype.isListedType=function(t){return this.isSystemLimitedType(t)||this.isCustomListedType(t)},t.prototype.addListedType=function(e){return!this.isListedType(e)&&(t.dataTypes.push(e),!0)},t.prototype.removeListedType=function(e){return!this.isListedType(e)&&(t.dataTypes.splice(t.dataTypes.indexOf(e),1),!0)},t.VAS_TYPE="VAS",t.EMAIL_TYPE="EMAIL",t.PHONE_TYPE="PHONE",t.CLEAR_TYPE="CLEAR",t.dataTypes=new Array(3),t.VAS_TYPE_KEYS=((e=function(){}).PUSH_URL="PUSH_URL",e.PROTOCOL_CONFIG="PROTOCOL_CONFIG",e.PROTOCOL_ID="PROTOCOL_ID",e.PROVIDER_PACKAGE="PROVIDER_PACKAGE",e.PUSH_TITLE="PUSH_TITLE",e.SUPPORTED_SERVICES="SUPPORTED_SERVICES",e),t}();e.k=i},3016:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverTransport=void 0;var i=function(){function t(){this.observers=[],this.ready=!1}return t.prototype.notifyDeviceConnected=function(){this.notifyConnected()},t.prototype.notifyConnected=function(){var t=this;this.observers.forEach((function(e){e.onConnected(t)}))},t.prototype.notifyDeviceReady=function(){this.notifyReady()},t.prototype.notifyReady=function(){var t=this;this.ready=!0,this.observers.forEach((function(e){e.onReady(t)}))},t.prototype.notifyDeviceDisconnected=function(){this.notifyDisconnected()},t.prototype.notifyDisconnected=function(){var t=this;this.ready=!1,this.observers.forEach((function(e){e.onDisconnected(t)}))},t.prototype.notifyConnectionAttemptComplete=function(){var t=this;this.observers.forEach((function(e){e.onConnectionAttemptComplete(t)}))},t.prototype.onMessage=function(t){this.observers.forEach((function(e){e.onMessage(t)}))},t.prototype.subscribe=function(t){var e=this;this.ready&&this.observers.forEach((function(t){t.onReady(e)})),this.observers.push(t)},t.prototype.unsubscribe=function(t){var e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)},t.prototype.clearListeners=function(){this.observers.splice(0,this.observers.length)},t.prototype.setObjectMessageSender=function(t){this.objectMessageSender=t},t}();e.CloverTransport=i},89915:(t,e)=>{},81266:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverWebSocketClient=void 0;var o=i(63340),n=i(79161),s=function(){function t(t,e,i){this.logger=n.Logger.create(),this.listener=e,this.endpoint=t,this.webSocketImplClass=i}return t.prototype.getWebSocketState=function(){return this.socket?this.socket.getReadyState():null},t.prototype.getBufferedAmount=function(){return this.socket?this.socket.getBufferedAmount():0},t.prototype.connect=function(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)}},t.prototype.close=function(t,e){this.socket.sendClose(t,e)},t.prototype.isConnecting=function(){return this.socket.getState()==o.WebSocketState.CONNECTING},t.prototype.isOpen=function(){return this.socket.isOpen()},t.prototype.isClosing=function(){return this.socket.getState()==o.WebSocketState.CLOSING},t.prototype.isClosed=function(){return this.socket.getState()==o.WebSocketState.CLOSED},t.prototype.onTextMessage=function(t,e){this.listener.onMessage(this,e)},t.prototype.onConnected=function(t){this.listener.onOpen(this)},t.prototype.onConnectError=function(t,e){var i="A websocket connection error has occurred. Details: "+(e.message||"Not available");this.logger.error(i),this.listener.connectionError(this,i)},t.prototype.onDisconnected=function(t){this.listener.onClose(this,1e3,"",!1)},t.prototype.onCloseFrame=function(t,e,i){this.listener.onClose(this,e,i,!0)},t.prototype.onError=function(t){this.logger.error("A websocket error has occurred.")},t.prototype.onPingFrame=function(t){this.socket.sendPong()},t.prototype.onSendError=function(t){this.listener.onSendError("")},t.prototype.onUnexpectedError=function(t){this.logger.error("An unexpected websocket error has occurred.")},t.prototype.send=function(t){this.socket.sendText(t)},t.prototype.clearListener=function(){this.socket.removeListener(this)},t.prototype.setNotifyClose=function(t){this.notifyClose=t},t.prototype.shouldNotifyClose=function(){return this.notifyClose},t}();e.CloverWebSocketClient=s},63422:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloudCloverTransport=void 0;var s=i(62260),r=i(36619),a=i(24362),l=i(63340),u=i(56227),d=i(61256),p=function(t){function e(e,i,o,n,s,r,a,l,u){var d=t.call(this,e,i)||this;return d.cloverServer=o,d.merchantId=n,d.accessToken=s,d.deviceId=r,d.httpSupport=u,d.friendlyId=a,d.forceConnect=l,d.initialize(),d}return n(e,t),e.prototype.initialize=function(){var t=this;this.webSocketURL&&this.webSocketURL.length>0?this.doOptionsCallToAvoid401Error(this.webSocketURL):"undefined"!=typeof window&&window.MSInputMethodContext&&document.documentMode?this.httpSupport.getData(s.Endpoints.getMerchantEndpoint(this.cloverServer,this.merchantId),(function(e){return t.obtainWebSocketUrlAndSendPushAlert()}),(function(e){t.logger.warn("IE 11 - Initial GET failed.",e)}),this.buildAuthorizationHeader(this.accessToken)):this.obtainWebSocketUrlAndSendPushAlert()},e.prototype.obtainWebSocketUrlAndSendPushAlert=function(){var t=this,e=s.Endpoints.getAlertDeviceEndpoint(this.cloverServer,this.merchantId),i=new r.DeviceContactInfo(this.deviceId.replace(/-/g,""),!0);this.httpSupport.postData(e,(function(e){return t.deviceNotificationSent(e)}),(function(e){t.connectionError(t.cloverWebSocketClient,"Error connecting to your Clover device. Details: "+e.message,null,e&&404!==e.status)}),i,this.buildAuthorizationHeader(this.accessToken))},e.prototype.deviceNotificationSent=function(t){!t.hasOwnProperty("sent")||t.sent?(this.webSocketURL=s.Endpoints.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.")},e.prototype.doOptionsCallToAvoid401Error=function(t){var e,i=this,o=t;e=o.indexOf("wss")>-1?o.replace("wss","https"):o.replace("ws","http"),this.httpSupport.options(e,(function(e,o){return i.afterOptionsCall(t,o)}),(function(e,o){return i.afterOptionsCall(t,o)}),this.buildAuthorizationHeader(this.accessToken))},e.prototype.afterOptionsCall=function(i,o){var n="";if(o&&"function"==typeof o.getResponseHeader&&(n=o.getResponseHeader(e.X_CLOVER_CONNECTED_ID)),n&&!this.forceConnect){if(this.friendlyId!=n)return void this.connectionError(this.cloverWebSocketClient,a.Constants.device_already_connected+" '"+n+"'.",d.remotepay.DeviceErrorEventCode.AccessDenied);this.logger.warn("Already connected to friendlyId '"+n+".' 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()==l.WebSocketState.OPEN?this.notifyConnectionAttemptComplete():t.prototype.initializeWithUri.call(this,i,this.accessToken)},e.prototype.buildAuthorizationHeader=function(t){return{Authorization:"Bearer "+t}},e.prototype.onOpen=function(e){this.cloverWebSocketClient==e&&(t.prototype.onOpen.call(this,e),this.notifyReady())},e.X_CLOVER_CONNECTED_ID="X-CLOVER-CONNECTED-ID",e}(u.WebSocketCloverTransport);e.WebSocketCloudCloverTransport=p},56227:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketCloverTransport=void 0;var s=i(61256),r=i(65245),a=i(81266),l=i(3016),u=i(79161),d=function(t){function e(e,i){var o=t.call(this)||this;o.logger=u.Logger.create(),o.reconnectDelay=3e3,o.messageQueue=new Array,o.status="Disconnected",o.shutdown=!1,o.reconnectDelay=Math.max(0,e),o.webSocketImplClass=i,o.messageParser=r.RemoteMessageParser.getDefaultInstance();var n=setInterval((function(){o.shutdown?clearInterval(n):o.sendMessageThread()}),100);return o}return n(e,t),e.prototype.reset=function(){try{this.cloverWebSocketClient.close(e.CloverWebSocketCloseCode.RESET_CLOSE_CODE.code,e.CloverWebSocketCloseCode.RESET_CLOSE_CODE.reason)}catch(t){this.logger.error("error resetting transport.",t)}},e.prototype.sendMessageThread=function(){if(this.messageQueue.length>0)if(null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.isOpen()){var 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.")},e.prototype.sendMessage=function(t){return this.shutdown?this.logger.debug("In process of shutting down, ignoring "+t):this.messageQueue.push(t),-1},e.prototype.clearWebsocket=function(){null!=this.cloverWebSocketClient&&this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient=null},e.prototype.initializeWithUri=function(t,e){if(null!=this.cloverWebSocketClient){if(this.cloverWebSocketClient.isOpen()||this.cloverWebSocketClient.isConnecting())return;this.clearWebsocket()}this.cloverWebSocketClient=new a.CloverWebSocketClient(t,this,this.webSocketImplClass),this.cloverWebSocketClient.connect(e),this.logger.info("Connection attempt complete."),this.notifyConnectionAttemptComplete()},e.prototype.dispose=function(){this.shutdown=!0,this.drainQueue(),this.notifyDisconnected(),this.cloverWebSocketClient&&this.cloverWebSocketClient.close(),this.clearWebsocket()},e.prototype.drainQueue=function(){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}var 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}}},e.prototype.connectionError=function(t,e,i,o){if(void 0===o&&(o=!0),this.logger.debug("Connection error..."),this.cloverWebSocketClient==t)for(var n=0,r=this.observers;n<r.length;n++){var a=r[n];a.onDisconnected(this,e,o);var l=new s.remotepay.CloverDeviceErrorEvent;l.setType(s.remotepay.ErrorType.COMMUNICATION),l.setCode(i||s.remotepay.DeviceErrorEventCode.NotConnected),l.setCause(null),l.setMessage(e),a.onDeviceError(l)}},e.prototype.onNotResponding=function(t){if(this.logger.debug("Not Responding..."),this.cloverWebSocketClient==t)for(var e=0,i=this.observers;e<i.length;e++){var o=i[e];this.logger.debug("onNotResponding"),o.onDisconnected(this)}},e.prototype.onPingResponding=function(t){if(this.logger.debug("Ping Responding"),this.cloverWebSocketClient==t)for(var e=0,i=this.observers;e<i.length;e++){var o=i[e];this.logger.debug("onPingResponding"),o.onReady(this)}},e.prototype.onOpen=function(t){this.logger.debug("Open..."),this.cloverWebSocketClient==t&&this.notifyConnected()},e.prototype.onClose=function(t,e,i,o){if(this.logger.debug("onClose: "+i+", remote? "+o),this.cloverWebSocketClient==t){this.cloverWebSocketClient.isClosing()||(this.cloverWebSocketClient.clearListener(),this.cloverWebSocketClient.isClosed()||this.cloverWebSocketClient.close()),this.clearWebsocket();for(var n=0,s=this.observers;n<s.length;n++){var r=s[n];this.logger.debug("onClose"),r.onDisconnected(this)}}},e.prototype.onMessage=function(e,i){"string"==typeof e?t.prototype.onMessage.call(this,e):this.onMessage_cwscl(e,i)},e.prototype.isShutdown=function(){return this.shutdown},e.prototype.getSafeMessageQueue=function(){return this.messageQueue.slice()},e.prototype.onMessage_cwscl=function(t,e){if(this.cloverWebSocketClient==t)for(var i=0,o=this.observers;i<o.length;i++)o[i].onMessage(e)},e.prototype.onSendError=function(t){this.logger.error("WebSocketCloverTransport: An error occurred sending a message.")},e.METHOD="method",e.PAYLOAD="payload",e}(l.CloverTransport);e.WebSocketCloverTransport=d,function(t){var e=function(){function t(t,e){this.code=t,this.reason=e}return t.RESET_CLOSE_CODE=new t(4e3,"Reset requested"),t}();t.CloverWebSocketCloseCode=e}(d=e.WebSocketCloverTransport||(e.WebSocketCloverTransport={})),e.WebSocketCloverTransport=d},87010:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketPairedCloverTransport=void 0;var s=i(61256),r=function(t){function e(e,i,o,n,s,r){var a=t.call(this,i,r)||this;return a.isPairing=!0,a.endpoint=e,a.posName=o,a.serialNumber=n,a.authToken=s,a.initialize(),a}return n(e,t),e.prototype.initialize=function(){this.initializeWithUri(this.endpoint)},e.prototype.onOpen=function(e){this.cloverWebSocketClient==e&&(t.prototype.onOpen.call(this,e),this.sendPairRequest())},e.prototype.sendPairRequest=function(){this.isPairing=!0;var t=new s.remotemessage.PairingRequestMessage;t.setName(this.posName),t.setSerialNumber(this.serialNumber),t.setApplicationName(this.posName),t.setAuthenticationToken(this.authToken),this.objectMessageSender.sendObjectMessage(t)},e.prototype.onMessage_cwscl=function(e,i){if(this.cloverWebSocketClient==e)if(this.isPairing){var o=this.messageParser.parseToRemoteMessage(i),n=this.messageParser.parseMessageFromRemoteMessageObj(o);if(n)if(s.remotemessage.Method.PAIRING_CODE==n.getMethod()){this.logger.debug("Got PAIRING_CODE");var r=n.getPairingCode();this.pairingDeviceConfiguration.onPairingCode(r)}else if(s.remotemessage.Method.PAIRING_RESPONSE==n.getMethod()){this.logger.debug("Got PAIRING_RESPONSE");var a=n;if(s.remotemessage.PairingState.PAIRED==a.getPairingState()||s.remotemessage.PairingState.INITIAL==a.getPairingState()){this.logger.debug("Got PAIRED pair response"),this.isPairing=!1,this.authToken=a.getAuthenticationToken();try{this.pairingDeviceConfiguration.onPairingSuccess(this.authToken)}catch(t){this.logger.debug("Error:"+t)}this.notifyReady()}else s.remotemessage.PairingState.FAILED==a.getPairingState()&&(this.logger.debug("Got FAILED pair response"),this.isPairing=!0,this.sendPairRequest())}else s.remotemessage.Method.ACK==n.getMethod()&&s.remotemessage.Method.UI_STATE==n.getMethod()||this.logger.debug("Unexpected method: '"+n.getMethod()+"' while in pairing mode.");else this.logger.warn("Unrecognized message",i)}else t.prototype.onMessage_cwscl.call(this,e,i)},e.prototype.setPairingDeviceConfiguration=function(t){this.pairingDeviceConfiguration=t},e}(i(56227).WebSocketCloverTransport);e.WebSocketPairedCloverTransport=r},3261:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DebugConfig=void 0;var i=function(){function t(){}return t.loggingEnabled=!1,t}();e.DebugConfig=i},79161:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=void 0;var s=i(17187),r=i(3261),a=function(t){function e(){var e=t.call(this)||this;return e.enabled=!1,e}return n(e,t),e.create=function(){var t=new e,i="error";return t.on("log",(function(){var e=[].slice.call(arguments),o=!!(e&&e.length>0)&&e[0]===i;(o||t.enabled||r.DebugConfig.loggingEnabled)&&(console.log.apply(console,arguments),o&&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",i),t.debug=t.emit.bind(t,"log","debug"),t.enabled=!1,t},e.prototype.silly=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.verbose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e}(s.EventEmitter);e.Logger=a},24362:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Constants=void 0;var i=function(){function t(){}return t.device_already_connected="Device is already connected to",t}();e.Constants=i},36619:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeviceContactInfo=void 0;e.DeviceContactInfo=function(t,e){this.deviceId=t,this.isSilent=e}},62260:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Endpoints=void 0;var i=function(){function t(){}return t.getOAuthURL=function(e,i,o,n){var s={};s[t.DOMAIN_KEY]=e,s[t.OAUTH_CLIENT_ID_KEY]=i;var r=t.DOMAIN_PATH+t.OAUTH_PATH+t.OAUTH_CLIENT_ID_SUFFIX;return o&&(s[t.OAUTH_MERCHANT_ID_KEY]=o,r+=t.OAUTH_MERCHANT_ID_SUFFIX),n&&(s[t.OAUTH_REDIRECT_URI_KEY]=encodeURIComponent(n),r+=t.OAUTH_REDIRECT_URI_SUFFIX),t.setVariables(r,s)},t.getDeviceWebSocketEndpoint=function(e,i,o,n){var s={};s[t.WEBSOCKET_TOKEN_KEY]=e.token,s[t.DOMAIN_KEY]=e.host,s[t.WEBSOCKET_FRIENDLY_ID_KEY]=encodeURIComponent(i),s[t.WEBSOCKET_FORCE_CONNECT_KEY]=o;var r=t.DOMAIN_PATH+t.WEBSOCKET_PATH+t.WEBSOCKET_TOKEN_SUFFIX+t.WEBSOCKET_FRIENDLY_ID_SUFFIX+t.WEBSOCKET_FORCE_CONNECT_SUFFIX;return e.serverIdentifier&&(r+="&"+t.CLOUD_SERVER_IDENTIFIER_KEY+"="+e.serverIdentifier),t.setVariables(r,s)},t.getMerchantEndpoint=function(e,i){var o={};o[t.MERCHANT_V3_KEY]=i,o[t.DOMAIN_KEY]=e;var n=t.DOMAIN_PATH+t.MERCHANT_V3_PATH;return t.setVariables(n,o)},t.getDevicesEndpoint=function(e,i,o){var n={};n[t.MERCHANT_V3_KEY]=i,n[t.DOMAIN_KEY]=e;var s=t.DOMAIN_PATH+t.DEVICE_PATH;return t.setVariables(s,n)},t.getAlertDeviceEndpoint=function(e,i){var o={};o[t.MERCHANT_V3_KEY]=i,o[t.DOMAIN_KEY]=e;var n=t.DOMAIN_PATH+t.REMOTE_PAY_PATH;return t.setVariables(n,o)},t.parseQueryString=function(t){var e,i,o,n,s=t.indexOf("?"),r={};for(o=0,n=(e=(t=t.substring(s+1,t.length)).split("&")).length;o<n;o++)r[(i=e[o].split("="))[0]]=i[1];return r},t.setVariables=function(e,i){for(var o in i)if(i.hasOwnProperty(o)){var n=new RegExp(this.escapeRegExp("{"+o+"}"),"g");o===t.DOMAIN_KEY&&(i[o]=t.appendTrailingSlashToDomain(i[o])),e=e.replace(n,i[o])}return e},t.appendTrailingSlashToDomain=function(t){return t&&"/"!==t.charAt(t.length-1)?t+"/":t},t.escapeRegExp=function(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},t.ACCESS_TOKEN_KEY="axsTkn",t.ACCESS_TOKEN_SUFFIX="?access_token={"+t.ACCESS_TOKEN_KEY+"}",t.CLOUD_SERVER_IDENTIFIER_KEY="server",t.ACCOUNT_V3_KEY="acntId",t.ACCOUNT_V3_PATH="v3/accounts/{"+t.ACCOUNT_V3_KEY+"}",t.DEVELOPER_V3_KEY="dId",t.DEVELOPER_V3_PATH="v3/developers/{"+t.DEVELOPER_V3_KEY+"}",t.RESELLER_V3_KEY="rId",t.RESELLER_V3_PATH="v3/resellers/{"+t.RESELLER_V3_KEY+"}",t.MERCHANT_V2_KEY="mId",t.MERCHANT_V2_PATH="v2/merchant/{"+t.MERCHANT_V2_KEY+"}",t.MERCHANT_V3_KEY="mId",t.MERCHANT_V3_PATH="v3/merchants/{"+t.MERCHANT_V3_KEY+"}",t.APPS_V3_KEY="appId",t.APPS_V3_PATH="v3/apps/{"+t.APPS_V3_KEY+"}",t.ORDER_PATH=t.MERCHANT_V3_PATH+"/orders",t.ORDER_ID_KEY="appId",t.ORDER_ID_PATH=t.ORDER_PATH+"/{"+t.ORDER_ID_KEY+"}",t.LINE_ITEM_PATH=t.ORDER_ID_PATH+"/line_items",t.LINE_ITEM_ID_KEY="lniId",t.LINE_ITEM_ID_PATH=t.LINE_ITEM_PATH+"/{"+t.LINE_ITEM_ID_KEY+"}",t.DEVICE_PATH=t.MERCHANT_V3_PATH+"/devices",t.DEVICE_ID_KEY="devId",t.DEVICE_ID_PATH=t.DEVICE_PATH+"/{"+t.DEVICE_ID_KEY+"}",t.REMOTE_PAY_PATH=t.MERCHANT_V2_PATH+"/remote_pay",t.WEBSOCKET_PATH="support/remote_pay/cs",t.WEBSOCKET_TOKEN_KEY="wsTkn",t.WEBSOCKET_TOKEN_SUFFIX="?token={"+t.WEBSOCKET_TOKEN_KEY+"}",t.WEBSOCKET_FRIENDLY_ID_KEY="wsFriendlyId",t.WEBSOCKET_FRIENDLY_ID_SUFFIX="&friendlyId={"+t.WEBSOCKET_FRIENDLY_ID_KEY+"}",t.WEBSOCKET_FORCE_CONNECT_KEY="wsForceConnect",t.WEBSOCKET_FORCE_CONNECT_SUFFIX="&forceConnect={"+t.WEBSOCKET_FORCE_CONNECT_KEY+"}",t.OAUTH_PATH="oauth/authorize?response_type=token",t.OAUTH_CLIENT_ID_KEY="client_id",t.OAUTH_CLIENT_ID_SUFFIX="&client_id={"+t.OAUTH_CLIENT_ID_KEY+"}",t.OAUTH_MERCHANT_ID_KEY="merchant_id",t.OAUTH_MERCHANT_ID_SUFFIX="&merchant_id={"+t.OAUTH_MERCHANT_ID_KEY+"}",t.OAUTH_REDIRECT_URI_KEY="redirect_uri",t.OAUTH_REDIRECT_URI_SUFFIX="&redirect_uri={"+t.OAUTH_REDIRECT_URI_KEY+"}",t.DOMAIN_KEY="server_url",t.DOMAIN_PATH="{server_url}",t}();e.Endpoints=i},7271:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpSupport=void 0;var o=i(79161),n=i(74989),s=function(){function t(t){this.logger=o.Logger.create(),this.xmlHttpImplClass=t}return t.prototype.setXmlHttpCallback=function(t,e,i,o){t.onreadystatechange=function(){if(4==t.readyState)if(200==t.status)try{if(i){var n=null;t.responseText&&""!=t.responseText&&(n=JSON.parse(t.responseText)),i(n,t)}}catch(t){this.logger.error(e,t),i&&i({})}else if(o){var s=null;try{t.responseText&&""!=t.responseText&&(s=JSON.parse(t.responseText))}catch(t){}o({message:s&&s.details||s&&s.message||"status returned was not 200",endpoint:e,status:t.status})}}.bind(this)},t.prototype.doXmlHttp=function(t,e,i,o,s){var r=new this.xmlHttpImplClass;this.setXmlHttpCallback(r,e,i,o),r.open(t,e,!0),"undefined"!=typeof navigator&&navigator.userAgent.search("Firefox")&&r.setRequestHeader("Accept","*/*"),n.addHeaders(s,r),r.send()},t.prototype.doXmlHttpSendJson=function(t,e,i,o,s,r){var a=new this.xmlHttpImplClass;if(this.setXmlHttpCallback(a,i,o,s),a.open(t,i,!0),n.addHeaders(r,a),e){a.setRequestHeader("Content-Type","application/json;charset=UTF-8");var l=JSON.stringify(e);a.send(l)}else a.send()},t.prototype.postData=function(t,e,i,o,n){this.doXmlHttpSendJson("POST",o,t,e,i,n)},t.prototype.getData=function(t,e,i,o){this.doXmlHttp("GET",t,e,i,o)},t.prototype.options=function(t,e,i,o){this.doXmlHttp("OPTIONS",t,e,i,o)},t.prototype.putData=function(t,e,i,o){this.doXmlHttpSendJson("PUT",o,t,e,i)},t.prototype.deleteData=function(t,e,i){this.doXmlHttp("DELETE",t,e,i)},t}();e.HttpSupport=s},97184:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImageUtil=void 0;var i=function(){function t(){}return t.prototype.getBase64Image=function(t,e){var 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,/,""))},t.prototype.loadImageFromURL=function(t,e,i){var o=new Image,n=function(){e&&e(o),r()},s=function(){i&&i("An Image could not be loaded. Please check that the URL ("+t+") is accessible."),r()},r=function(){o.removeEventListener("load",n),o.removeEventListener("error",s)};o.addEventListener("load",n),o.addEventListener("error",s),o.crossOrigin="Anonymous",o.src=t},t}();e.ImageUtil=i},32822:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PayIntent=void 0;var o,n,s=i(61256);o=e.PayIntent||(e.PayIntent={}),n=function(){function t(){this.isDisableCashBack=!1,this.isTesting=!1,this.isCardNotPresent=!1,this.remotePrint=!1,this.isForceSwipePinEntry=!1,this.disableRestartTransactionWhenFailed=!1,this.allowPartialAuth=!0}return t.buildTransactionSettingsFromPayIntent=function(t){var e=new s.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},t.prototype.payment=function(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},t.prototype.payIntent=function(t){return this.action=t.getAction(),this.amount=t.getAmount(),this.tippableAmount=t.getTippableAmount(),this.tipAmount=t.getTipAmount(),this.taxAmount=t.getTaxAmount(),this.orderId=t.getOrderId(),this.paymentId=t.getPaymentId(),this.employeeId=t.getEmployeeId(),this.transactionType=t.getTransactionType(),this.taxableAmountRates=t.getTaxableAmountRates(),this.serviceChargeAmount=t.getServiceChargeAmount(),this.isDisableCashBack=t.getIsDisableCashBack(),this.isTesting=t.getIsTesting(),this.cardEntryMethods=t.getCardEntryMethods(),this.voiceAuthCode=t.getVoiceAuthCode(),this.postalCode=t.getPostalCode(),this.streetAddress=t.getStreetAddress(),this.isCardNotPresent=t.getIsCardNotPresent(),this.cardDataMessage=t.getCardDataMessage(),this.remotePrint=t.getRemotePrint(),this.transactionNo=t.getTransactionNo(),this.isForceSwipePinEntry=t.getIsForceSwipePinEntry(),this.disableRestartTransactionWhenFailed=t.getDisableRestartTransactionWhenFailed(),this.externalPaymentId=t.getExternalPaymentId(),this.vaultedCard=t.getVaultedCard(),this.allowOfflinePayment=t.getAllowOfflinePayment(),this.approveOfflinePaymentWithoutPrompt=t.getApproveOfflinePaymentWithoutPrompt(),this.requiresRemoteConfirmation=t.getRequiresRemoteConfirmation(),this.applicationTracking=t.getApplicationTracking(),this.allowPartialAuth=t.getAllowPartialAuth(),this.germanInfo=t.getGermanInfo(),this.externalReferenceId=t.getExternalReferenceId(),this.passThroughValues=t.getPassThroughValues(),null!=t.getTransactionSettings()?this.transactionSettings=t.getTransactionSettings():this.transactionSettings=o.Builder.buildTransactionSettingsFromPayIntent(t),this.cashAdvanceCustomerIdentification=t.getCashAdvanceCustomerIdentification(),this},t.prototype.setAction=function(t){return this.action=t,this},t.prototype.setAmount=function(t){return this.amount=t,this},t.prototype.setTippableAmount=function(t){return this.tippableAmount=t,null!=this.transactionSettings&&this.transactionSettings.setTippableAmount(t),this},t.prototype.setTaxAmount=function(t){return this.taxAmount=t,this},t.prototype.setEmployeeId=function(t){return this.employeeId=t,this},t.prototype.setTipAmount=function(t){return this.tipAmount=t,this},t.prototype.setTransactionType=function(t){return this.transactionType=t,this},t.prototype.setCardEntryMethods=function(t){return this.cardEntryMethods=t,this},t.prototype.setCardDataMessage=function(t){return this.cardDataMessage=t,this},t.prototype.setTaxableAmountRates=function(t){return this.taxableAmountRates=t,this},t.prototype.setServiceChargeAmount=function(t){return this.serviceChargeAmount=t,this},t.prototype.setOrderId=function(t){return this.orderId=t,this},t.prototype.setPaymentId=function(t){return this.paymentId=t,this},t.prototype.setRemotePrint=function(t){return void 0===t&&(t=!1),this.remotePrint=t,null!=this.transactionSettings&&this.transactionSettings.setCloverShouldHandleReceipts(!t),this},t.prototype.setDisableCashback=function(t){return void 0===t&&(t=!1),this.isDisableCashBack=t,null!=this.transactionSettings&&this.transactionSettings.setDisableCashBack(t),this},t.prototype.setTransactionNo=function(t){return this.transactionNo=t,this},t.prototype.setForceSwipePinEntry=function(t){return void 0===t&&(t=!1),this.isForceSwipePinEntry=t,null!=this.transactionSettings&&this.transactionSettings.setForcePinEntryOnSwipe(t),this},t.prototype.setDisableRestartTransactionWhenFailed=function(t){return void 0===t&&(t=!1),this.disableRestartTransactionWhenFailed=t,null!=this.transactionSettings&&this.transactionSettings.setDisableRestartTransactionOnFailure(t),this},t.prototype.setExternalPaymentId=function(t){return this.externalPaymentId=t,this},t.prototype.setVaultedCard=function(t){return this.vaultedCard=t,this},t.prototype.setAllowOfflinePayment=function(t){return this.allowOfflinePayment=t,null!=this.transactionSettings&&this.transactionSettings.setAllowOfflinePayment(t),this},t.prototype.setAapproveOfflinePaymentWithoutPrompt=function(t){return this.approveOfflinePaymentWithoutPrompt=t,null!=this.transactionSettings&&this.transactionSettings.setApproveOfflinePaymentWithoutPrompt(t),this},t.prototype.setRequiresRemoteConfirmation=function(t){return this.requiresRemoteConfirmation=t,this},t.prototype.setApplicationTracking=function(t){return this.applicationTracking=t,this},t.prototype.setAllowPartialAuth=function(t){return void 0===t&&(t=!1),this.allowPartialAuth=t,this},t.prototype.setGermanInfo=function(t){return this.germanInfo=t,this},t.prototype.setCustomerIdentification=function(t){return this.cashAdvanceCustomerIdentification=t,this},t.prototype.setTransactionSettings=function(t){return this.transactionSettings=t,this},t.prototype.setCardNotPresent=function(t){return void 0===t&&(t=!1),this.isCardNotPresent=t,this},t.prototype.setPassThroughValues=function(t){return this.passThroughValues=t,this},t.prototype.setExternalReferenceId=function(t){return this.externalReferenceId=t,this},t.prototype.setIsPresentQrcOnly=function(t){return this.isPresentQrcOnly=t,this},t.prototype.build=function(){var t=new s.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},t}(),o.Builder=n},74989:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addHeaders=void 0,e.addHeaders=function(t,e){if(t)for(var i in t)t.hasOwnProperty(i)&&e.setRequestHeader(i,t[i])}},88945:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserWebSocketImpl=void 0;var s=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.createWebSocket=function(t,e){return new WebSocket(t,e)},e.prototype.sendPong=function(){return this},e.prototype.sendPing=function(){return this},e.createInstance=function(t){return new e(t)},e}(i(13804).CloverWebSocketInterface);e.BrowserWebSocketImpl=s},13804:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CloverWebSocketInterface=void 0;var o=i(63340),n=i(79161),s=function(){function t(t){this.logger=n.Logger.create(),this.endpoint=t,this.listeners=new Array}return t.prototype.connect=function(t){var e=this;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",(function(t){return e.notifyOnOpen(t)})),this.webSocket.addEventListener("message",(function(t){return e.notifyOnMessage(t)})),this.webSocket.addEventListener("close",(function(t){return e.notifyOnClose(t)})),this.webSocket.addEventListener("error",(function(t){return e.notifyOnError(t)}))),this},t.prototype.notifyOnOpen=function(t){var e=this;this.listeners.forEach((function(t){try{t.onConnected(e)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnMessage=function(t){var e=this;this.listeners.forEach((function(i){try{i.onTextMessage(e,t.data)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnError=function(t){var e=this;this.listeners.forEach((function(i){try{e.getReadyState()==o.WebSocketState.CONNECTING?i.onConnectError(e,t):e.getReadyState()==o.WebSocketState.CLOSING?i.onUnexpectedError(e,t):e.getReadyState()==o.WebSocketState.CLOSED?i.onDisconnected(e,t):e.getReadyState()==o.WebSocketState.OPEN&&i.onSendError(e,t)}catch(t){e.logger.error(t)}}))},t.prototype.notifyOnClose=function(t){var e=this;this.listeners.forEach((function(i){try{i.onCloseFrame(e,t.code,t.reason)}catch(t){e.logger.error(t)}}))},t.prototype.sendClose=function(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},t.prototype.sendText=function(t){return this.webSocket.send(t),this},t.prototype.getState=function(){return this.getReadyState()},t.prototype.isOpen=function(){return this.getReadyState()==o.WebSocketState.OPEN},t.prototype.addListener=function(t){this.listeners.push(t)},t.prototype.removeListener=function(t){var e=this.listeners.indexOf(t);return-1!==e&&(this.listeners.splice(e,1),!0)},t.prototype.getListeners=function(){return this.listeners.slice()},t.prototype.getUrl=function(){return this.webSocket.url},t.prototype.getReadyState=function(){return this.webSocket.readyState},t.prototype.getBufferedAmount=function(){return this.webSocket.hasOwnProperty("bufferedAmount")?this.webSocket.bufferedAmount:0},t.prototype.getProtocol=function(){return this.webSocket.protocol},t}();e.CloverWebSocketInterface=s},63340:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketState=void 0,(i=e.WebSocketState||(e.WebSocketState={}))[i.CONNECTING=0]="CONNECTING",i[i.OPEN=1]="OPEN",i[i.CLOSING=2]="CLOSING",i[i.CLOSED=3]="CLOSED"},88317:(t,e,i)=>{var o=i(61256),n=o.base,s=o.customers,r=o.device,a=o.hours,l=o.inventory,u=o.order,d=o.payments,p=o.printer,_=o.remotepay,c=o.remotemessage,m=o.loyalty,f=i(3738),y=i(47849).CloverConnector,h=i(18885).CloverDeviceFactory,v=i(79161).Logger,g=i(3261).DebugConfig,T=i(7271).HttpSupport,S=i(97184).ImageUtil,E=i(5457).WebSocketCloverDeviceConfiguration,I=i(32362).WebSocketPairedCloverDeviceConfiguration,R=i(32362).WebSocketPairedCloverDeviceConfigurationBuilder,C=i(19930).WebSocketCloudCloverDeviceConfiguration,A=i(19930).WebSocketCloudCloverDeviceConfigurationBuilder,N=i(3016).CloverTransport,O=i(89915).CloverTransportObserver,P=i(56227).WebSocketCloverTransport,M=i(63340).WebSocketState,D=i(13804).CloverWebSocketInterface,b=i(88945).BrowserWebSocketImpl,x=i(37365).JSONToCustomObject,L=i(17411).Version,U=i(40123).D,k=i(21537).ICloverConnectorFactory,w=i(50407).k,V=i(80664).CloverConnectorFactory,F=i(36528).CardEntryMethods;t.exports={sdk:o,base:n,customers:s,device:r,hours:a,inventory:l,order:u,payments:d,printer:p,remotepay:_,remotemessage:c,CloverID:f,DebugConfig:g,version:L.CLOVER_CLOUD_SDK_VERSION,CloverConnector:y,CloverDeviceFactory:h,CloverTransport:N,CloverTransportObserver:O,WebSocketCloverTransport:P,CloverWebSocketInterface:D,BrowserWebSocketImpl:b,JSONToCustomObject:x,ImageUtil:S,Logger:v,HttpSupport:T,WebSocketCloverDeviceConfiguration:E,WebSocketPairedCloverDeviceConfiguration:I,WebSocketPairedCloverDeviceConfigurationBuilder:R,WebSocketCloudCloverDeviceConfiguration:C,WebSocketCloudCloverDeviceConfigurationBuilder:A,WebSocketState:M,CloverConnectorFactoryBuilder:U,ICloverConnectorFactory:k,CloverConnectorFactory:V,CardEntryMethods:F,LoyaltyDataTypes:w,Version:L,loyalty:m}}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var s=e[o]={exports:{}};return t[o].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 o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};return(()=>{"use strict";i.r(o),i.d(o,{Gap:()=>de,GapApiVersion:()=>r,GapHeader:()=>a,Method:()=>R,Platform:()=>u,StatusCode:()=>C,UserAgent:()=>l,default:()=>pe});var t={};i.r(t),i.d(t,{GapError:()=>c,HttpInternalError:()=>T,HttpMaxRetriesError:()=>h,HttpRequestError:()=>y,HttpResponseError:()=>v,HttpRetryableError:()=>g,HttpThrottlingError:()=>S,MissingDataContextError:()=>m,RestResourceError:()=>E,UninitializedContextError:()=>f});var e={};i.r(e),i.d(e,{BatchHistory:()=>D,Business:()=>x,Call:()=>L,Category:()=>U,CheckIn:()=>B,CheckOut:()=>$,Combo:()=>X,Customer:()=>tt,GiftCard:()=>et,Income:()=>it,KeyStorage:()=>ot,Order:()=>gt,Payroll:()=>Et,Printer:()=>Rt,Service:()=>Ct,Setting:()=>Vt,Staff:()=>At,Ticket:()=>Ot,TimeKeeping:()=>Mt,UnsubscribeContact:()=>Dt,User:()=>bt});var n={};i.r(n),i.d(n,{CheckIn:()=>Yt,Checkout:()=>se,KeyStorage:()=>qt});var s={};i.r(s),i.d(s,{Settings:()=>le});var r,a,l,u,d=i(88317);class p{constructor({cloverConfig:t,onPairingCode:e,onPairingSuccess:i}){this.cloverConnector=null,this.pendingSaleRequest=null,this.isReady=!1,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.cloverConfig=t,this.onPairingCode=e,this.onPairingSuccess=i}static createInstance(t){if(t)return new p(t);throw new Error("Missing 'options' parameters")}static getInstance(t){if(p.instance){if(t)throw Error("Instance is already instantiate with `options`")}else p.instance=p.createInstance(t);return p.instance}connect(){let t;this.cleanup(),t=this.getDeviceConfigurationForNetwork();let e={};e[d.CloverConnectorFactoryBuilder.FACTORY_VERSION]=d.CloverConnectorFactoryBuilder.VERSION_12;let i=d.CloverConnectorFactoryBuilder.createICloverConnectorFactory(e);this.cloverConnector=i.createICloverConnector(t),this.cloverConnector.addCloverConnectorListener(this.buildCloverConnectionListener()),this.cloverConnector.initializeConnection()}doSale(t){var e;this.saleResponse=null,this.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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(d.CardEntryMethods.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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(d.CardEntryMethods.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.remotepay.VoidPaymentRequest,this.pendingSaleRequest.setOrderId(t.orderId),this.pendingSaleRequest.setPaymentId(t.paymentId),this.pendingSaleRequest.setVoidReason(d.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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.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.pendingSaleRequest?this.checkPaymentStatus():(this.pendingSaleRequest=new d.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))}cleanup(){this.cloverConnector&&this.cloverConnector.dispose()}showMessage(t){var e;null===(e=this.cloverConnector)||void 0===e||e.showMessage(t)}buildCloverConnectionListener(){return Object.assign({},d.remotepay.ICloverConnectorListener.prototype,{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,t.getSuccess()){const o=t.getPayment();if(o&&o.getAmount()<i){const t=new d.remotepay.VoidPaymentRequest;t.setPaymentId(o.getId()),t.setVoidReason(d.order.VoidReason.REJECT_PARTIAL_AUTH),null===(e=this.cloverConnector)||void 0===e||e.voidPayment(t)}else console.log(`${o.getResult()}: Payment ${o.getExternalPaymentId()} for $${o.getAmount()/100} is complete.`,t.getResult()===d.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 o=this.pendingSaleRequest.getAmount();if(this.pendingSaleRequest.getExternalId(),this.pendingSaleRequest=null,this.authResponse=t,t.getSuccess()){const n=t.getPayment(),s=new d.remotepay.TipAdjustAuthRequest;if(s.setTipAmount(0),s.setOrderId(n.getOrder().getId()),s.setPaymentId(n.getId()),null===(e=this.cloverConnector)||void 0===e||e.tipAdjustAuth(s),n&&n.getAmount()<o){const t=new d.remotepay.VoidPaymentRequest;t.setPaymentId(n.getId()),t.setVoidReason(d.order.VoidReason.REJECT_PARTIAL_AUTH),null===(i=this.cloverConnector)||void 0===i||i.voidPayment(t)}else console.log(`${n.getResult()}: Payment ${n.getExternalPaymentId()} for $${n.getAmount()/100} is complete.`,t.getResult()===d.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,t.getSuccess()||this.resetDevice()},onVoidPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.voidPaymentResponse=t,t.getSuccess()||this.resetDevice()},onRefundPaymentResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.refundPaymentResponse=t,t.getSuccess()||this.resetDevice()},onCloseoutResponse:t=>{console.log({message:"Payment response received",response:t}),this.pendingSaleRequest=null,this.closeoutResponse=t,t.getSuccess()||this.resetDevice()},onRetrievePaymentResponse:t=>{if(console.log({message:"onRetrievePaymentResponse",response:t}),this.pendingSaleRequest&&t.getExternalPaymentId()===this.pendingSaleRequest.getExternalId())if(t.getQueryStatus()===d.remotepay.QueryStatus.FOUND){const e=t.getPayment();console.log(`${e.getResult()}: Payment ${this.pendingSaleRequest.getExternalId()} is complete.`,e.getResult()===d.payments.Result.SUCCESS),this.pendingSaleRequest=null}else t.getQueryStatus()===d.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()===d.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 d.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 d.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},onDeviceError:function(t){console.log({message:`An error has occurred: ${t.getMessage()}`}),console.log(`An error has occurred: ${t.getMessage()}`,!1)},onDeviceDisconnected:function(){console.log({message:"You have been disconnected from the Clover device."}),console.log("The connection to your Clover Device has been dropped.",!1)}})}getDeviceConfigurationForNetwork(){return new d.WebSocketPairedCloverDeviceConfigurationBuilder(this.cloverConfig.applicationId,this.cloverConfig.endpoint,this.cloverConfig.posName,this.cloverConfig.serialNumber,this.cloverConfig.authToken,this.onPairingCode,this.onPairingSuccess).build()}resetDevice(){var t;this.pendingSaleRequest?this.checkPaymentStatus():null===(t=this.cloverConnector)||void 0===t||t.resetDevice()}checkPaymentStatus(){var t,e;if(this.pendingSaleRequest){const i=new d.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 o=new d.remotepay.RetrievePaymentRequest;o.setExternalPaymentId(this.pendingSaleRequest.getExternalId()),null===(e=this.cloverConnector)||void 0===e||e.retrievePayment(o)}else console.log("There is currently no pending payment.")}}function _(t,e,i,o){return new(i||(i=Promise))((function(n,s){function r(t){try{l(o.next(t))}catch(t){s(t)}}function a(t){try{l(o.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(r,a)}l((o=o.apply(t,e||[])).next())}))}!function(t){t.V1="1.0.0"}(r||(r={})),function(t){t.GClientId="G-ClientID"}(a||(a={})),function(t){t.IOS="IOS",t.ANDROID="ANDROID",t.CHROME="CHROME",t.SAFARI="SAFARI"}(l||(l={})),function(t){t.ANDROID="Android",t.IOS="iOS",t.WEB="Web",t.WINDOW="Window"}(u||(u={})),Object.create,Object.create;class c extends Error{constructor(...t){super(...t),Object.setPrototypeOf(this,new.target.prototype)}}class m extends c{}class f extends c{}class y extends c{}class h extends c{}class v extends c{constructor({message:t,code:e,statusText:i,body:o,headers:n}){super(t),this.response={code:e,statusText:i,body:o,headers:n}}}class g extends v{}class T extends g{}class S extends g{constructor(t){var{retryAfter:e}=t;super(function(t,e){var i={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(i[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(i[o[n]]=t[o[n]])}return i}(t,["retryAfter"])),this.response.retryAfter=e}}class E extends c{}const I={API_KEY:"",API_SECRET_KEY:"",G_CLIENTID:"",USER_AGENT:"",API_VERSION:r.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 m(`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 f("Context has not been properly initialized. Please call the .initialize() method to setup your app context object.")}};var R,C,A=i(9669),N=i.n(A);!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"}(R||(R={})),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"}(C||(C={}));class O{constructor(t,e,i,o){this.RETRY_WAIT_TIME=2e3,this.MAX_RETRY=3,this.API_VERSION=o,this.domain=t,this.axios=N().create({headers:{"G-ClientID":e,Authorization:`Bearer ${i}`}})}get(t){return _(this,void 0,void 0,(function*(){return this.request(Object.assign({method:R.Get},t))}))}post(t){return _(this,void 0,void 0,(function*(){return this.request(Object.assign({method:R.Post},t))}))}put(t){return _(this,void 0,void 0,(function*(){return this.request(Object.assign({method:R.Put},t))}))}delete(t){return _(this,void 0,void 0,(function*(){return this.request(Object.assign({method:R.Delete},t))}))}request(t){return _(this,void 0,void 0,(function*(){if(I.API_VERSION!==this.API_VERSION)throw new E(`Current Context.API_VERSION '${I.API_VERSION}' does not match resource version ${this.API_VERSION}`);const e=t.tries||this.MAX_RETRY;if(e<=0)throw new y(`Number of tries must be >= 0, got ${e}`);const i={url:`${this.domain}${this.getRequestPath(t.path)}`,params:t.query,method:t.method.toString(),data:t.data};function o(t){return _(this,void 0,void 0,(function*(){return new Promise((e=>setTimeout(e,t)))}))}let n=0;for(;n<e;)try{return yield this.doRequest(i)}catch(t){if(n++,t instanceof y){if(n<e){let e=this.RETRY_WAIT_TIME;t instanceof S&&t.response.retryAfter&&(e=1e3*t.response.retryAfter),yield o(e);continue}if(e>1)throw new h(`Exceeded maximum retry count of ${e}. Last message: ${t.message}`)}throw t}throw new c("Unexpected flow, reached maximum HTTP tries but did not throw an error")}))}getRequestPath(t){return`/${t.replace(/^\//,"")}`}doRequest(t){var e;return _(this,void 0,void 0,(function*(){try{const i=yield this.axios(t);if(i.status&&"OK"===i.data.status&&"OK"===(null===(e=i.data.result)||void 0===e?void 0:e.status))return i.data;{const t=JSON.stringify(i.data.message||i.data.result.message,null,2),e=i.headers,o=i.status,n=i.statusText;switch(!0){case i.status===C.TooManyRequests:{const s=i.headers["Retry-After"];throw new S({message:`GAP is throttling requests ${t}`,code:o,statusText:n,body:i.data,headers:e,retryAfter:s?parseFloat(s):void 0})}case i.status>=C.InternalServerError:throw new T({message:`GAP internal error ${t}`,code:o,statusText:n,body:i.data,headers:e});default:throw new v({message:`Received an error response (${i.status}${i.statusText&&""+i.statusText}) from GAP ${t}`,code:o,statusText:n,body:i.data,headers:e})}}}catch(t){throw t instanceof c?t:new y(`Failed to make GAP HTTP request: ${t.message}`)}}))}}class P{static setClient(t,e,i,o){if(!t||!e||!i)return console.error(new Error("Missing params init http_client"));this.client=new O(t,e,i,o)}}const M="v1/pos/setting/form/change-answer-status";class D extends P{static getBatchHistory(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.display_date_time)&&void 0!==o?o:null,card_amount:null!==(n=null==t?void 0:t.card_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.change)&&void 0!==y?y:null,cash_discount:null!==(h=null==t?void 0:t.cash_discount)&&void 0!==h?h: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 _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.display_date_time)&&void 0!==o?o:null,card_amount:null!==(n=null==t?void 0:t.card_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,subtotal:null!==(d=null==t?void 0:t.subtotal)&&void 0!==d?d: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!==(y=null==t?void 0:t.change)&&void 0!==y?y:null,cash_discount:null!==(h=null==t?void 0:t.cash_discount)&&void 0!==h?h: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 b(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.phone)&&void 0!==o?o:null,address:null!==(n=null==t?void 0:t.address)&&void 0!==n?n: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!==(u=null==t?void 0:t.logo_image)&&void 0!==u?u:null,cover_image:null!==(d=null==t?void 0:t.cover_image)&&void 0!==d?d: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}}D.API_VERSION=r.V1;class x extends P{static getBusinessInfo(t){return _(this,void 0,void 0,(function*(){return b((yield this.client.get({path:"/v1/pos/business/site/get-info",query:t})).result.data)}))}static postBusinessUpdateInfo(t){return _(this,void 0,void 0,(function*(){return b((yield this.client.post({path:"/v1/pos/business/form/update",data:t})).result.data)}))}}x.API_VERSION=r.V1;class L extends P{static sendSms(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/call/form/send-sms",data:t}),null}))}}L.API_VERSION=r.V1;class U extends P{static getCategoryListItem(t){var e;return _(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.priority)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.color_code901)&&void 0!==u?u:null,color_code902:null!==(d=null==t?void 0:t.color_code902)&&void 0!==d?d: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,o,n,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!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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 k(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.data_after_charge)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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 w(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 V(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function F(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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:k(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!==(U=null==t?void 0:t.pax_standalone_active)&&void 0!==U?U: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,created_date:null!==(K=null==t?void 0:t.created_date)&&void 0!==K?K:null,created_time:null!==(J=null==t?void 0:t.created_time)&&void 0!==J?J:null,pos_key:null!==(Q=null==t?void 0:t.pos_key)&&void 0!==Q?Q:null,pos_status:null!==(z=null==t?void 0:t.pos_status)&&void 0!==z?z:null,invoice:null!==($=null==t?void 0:t.invoice)&&void 0!==$?$:null,customer_point:null!==(X=null==t?void 0:t.customer_point)&&void 0!==X?X:null,order_discount:null!==(Z=null==t?void 0:t.order_discount)&&void 0!==Z?Z:null,checkin_services:null!==(tt=null==t?void 0:t.checkin_services)&&void 0!==tt?tt:null,checkin_staffs:null!==(et=null==t?void 0:t.checkin_staffs)&&void 0!==et?et: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,o,n,s,r,a,l,u,d,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,price:null!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(n=null==t?void 0:t.supply_share)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(d=null==t?void 0:t.commission)&&void 0!==d?d: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}}(t))):null}}(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>function(t){var e,i,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}(t))):null,payment_payment_id:null!==(it=null==t?void 0:t.payment_payment_id)&&void 0!==it?it:null,payment_order_id:null!==(ot=null==t?void 0:t.payment_order_id)&&void 0!==ot?ot:null,order_batch:w(null==t?void 0:t.order_batch),visit_count:null!==(nt=null==t?void 0:t.visit_count)&&void 0!==nt?nt:null,refund_amount:null!==(st=null==t?void 0:t.refund_amount)&&void 0!==st?st:null,last_four:null!==(rt=null==t?void 0:t.last_four)&&void 0!==rt?rt:null,card_type:null!==(at=null==t?void 0:t.card_type)&&void 0!==at?at:null,entry_type:null!==(lt=null==t?void 0:t.entry_type)&&void 0!==lt?lt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>V(t))):null,amount_info:null!==(ut=null==t?void 0:t.amount_info)&&void 0!==ut?ut:null,customer_type:null!==(dt=null==t?void 0:t.customer_type)&&void 0!==dt?dt: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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u:null}}(t))):null,deposit:null!==(pt=null==t?void 0:t.deposit)&&void 0!==pt?pt:null,product_subtotal:null!==(_t=null==t?void 0:t.product_subtotal)&&void 0!==_t?_t:null,service_subtotal:null!==(ct=null==t?void 0:t.service_subtotal)&&void 0!==ct?ct:null,staff_code:null!==(mt=null==t?void 0:t.staff_code)&&void 0!==mt?mt:null,appointment_id:null!==(ft=null==t?void 0:t.appointment_id)&&void 0!==ft?ft:null,checkin_number:null!==(yt=null==t?void 0:t.checkin_number)&&void 0!==yt?yt:null,in_service:null!==(ht=null==t?void 0:t.in_service)&&void 0!==ht?ht:null}}U.API_VERSION=r.V1;class B extends P{static postCheckInFormSubmit(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,F,B,q,G,H,Y,j,W,K,J,Q,z;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!==(o=null==t?void 0:t.tax)&&void 0!==o?o:null,service_fee:null!==(n=null==t?void 0:t.service_fee)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_phone)&&void 0!==u?u:null,customer_email:null!==(d=null==t?void 0:t.customer_email)&&void 0!==d?d: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!==(y=null==t?void 0:t.created_at)&&void 0!==y?y:null,updated_at:null!==(h=null==t?void 0:t.updated_at)&&void 0!==h?h: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:w(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!==(U=null==t?void 0:t.last_four)&&void 0!==U?U:null,gift_card_price:null!==(k=null==t?void 0:t.gift_card_price)&&void 0!==k?k:null,pax_standalone_active:null!==(F=null==t?void 0:t.pax_standalone_active)&&void 0!==F?F:null,card_type:null!==(B=null==t?void 0:t.card_type)&&void 0!==B?B:null,entry_type:null!==(q=null==t?void 0:t.entry_type)&&void 0!==q?q:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>V(t))):null,amount_info:null!==(G=null==t?void 0:t.amount_info)&&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,external_credit_card:null!==(Y=null==t?void 0:t.external_credit_card)&&void 0!==Y?Y:null,customer_type:null!==(j=null==t?void 0:t.customer_type)&&void 0!==j?j:null,order_payment_method:null!==(W=null==t?void 0:t.order_payment_method)&&void 0!==W?W:null,deposit:null!==(K=null==t?void 0:t.deposit)&&void 0!==K?K:null,product_subtotal:null!==(J=null==t?void 0:t.product_subtotal)&&void 0!==J?J:null,service_subtotal:null!==(Q=null==t?void 0:t.service_subtotal)&&void 0!==Q?Q:null,staff_code:null!==(z=null==t?void 0:t.staff_code)&&void 0!==z?z:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckInReport(t){var e;return _(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,o,n,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!==(o=null==t?void 0:t.processing)&&void 0!==o?o:null,cancelled:null!==(n=null==t?void 0:t.cancelled)&&void 0!==n?n: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 _(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 _(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/checkin/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>F(t)))}))}static getCheckInInfo(t){return _(this,void 0,void 0,(function*(){return F((yield this.client.get({path:"/v1/pos/checkin/site/info",query:t})).result.data)}))}static searchCheckIn(t){return _(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,o,n,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!==(o=null==t?void 0:t.phone)&&void 0!==o?o:null,visit_count:null!==(n=null==t?void 0:t.visit_count)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.customer_phone)&&void 0!==o?o:null,employee_name:null!==(n=null==t?void 0:t.employee_name)&&void 0!==n?n: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 q(t){var e,i,o,n,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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 G(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 H(t){var e,i,o,n,s,r,a,l,u,d,p;return{data:(null==t?void 0:t.data)?null==t?void 0:t.data.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.value_type)&&void 0!==o?o:null,value:null!==(n=null==t?void 0:t.value)&&void 0!==n?n: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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.payment_method)&&void 0!==u?u:null,giftcard_code:null!==(d=null==t?void 0:t.giftcard_code)&&void 0!==d?d:null,is_updated:null!==(p=null==t?void 0:t.is_updated)&&void 0!==p?p:null}}function Y(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.has_tax)&&void 0!==u?u:null,tax_price:null!==(d=null==t?void 0:t.tax_price)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.product_type)&&void 0!==o?o:null,product_id:null!==(n=null==t?void 0:t.product_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.quantity)&&void 0!==u?u:null,promotion_code:null!==(d=null==t?void 0:t.promotion_code)&&void 0!==d?d: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!==(y=null==t?void 0:t.total_after_discount)&&void 0!==y?y:null,detail:null!==(h=null==t?void 0:t.detail)&&void 0!==h?h: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 j(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k;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!==(o=null==t?void 0:t.last_name)&&void 0!==o?o:null,full_name:null!==(n=null==t?void 0:t.full_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.state)&&void 0!==u?u:null,country:null!==(d=null==t?void 0:t.country)&&void 0!==d?d: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!==(y=null==t?void 0:t.group_id)&&void 0!==y?y:null,note:null!==(h=null==t?void 0:t.note)&&void 0!==h?h: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!==(U=null==t?void 0:t.last_review)&&void 0!==U?U:null,review_type:null!==(k=null==t?void 0:t.review_type)&&void 0!==k?k:null}}function W(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function K(t){var e,i,o,n,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!==(o=null==t?void 0:t.created_date)&&void 0!==o?o:null,created_time:null!==(n=null==t?void 0:t.created_time)&&void 0!==n?n: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 J(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht,vt,gt,Tt;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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_address)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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!==(y=null==t?void 0:t.promotion_code)&&void 0!==y?y:null,total_before_discount:null!==(h=null==t?void 0:t.total_before_discount)&&void 0!==h?h: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:H(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(U=null==t?void 0:t.is_waiting)&&void 0!==U?U:null,is_recheck:null!==(k=null==t?void 0:t.is_recheck)&&void 0!==k?k: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!==(K=null==t?void 0:t.total_cash_discount)&&void 0!==K?K:null,is_tip_on_device:null!==(J=null==t?void 0:t.is_tip_on_device)&&void 0!==J?J:null,tip_by_credit_card:null!==(Q=null==t?void 0:t.tip_by_credit_card)&&void 0!==Q?Q:null,service_fee:null!==(z=null==t?void 0:t.service_fee)&&void 0!==z?z:null,external_credit_card:null!==($=null==t?void 0:t.external_credit_card)&&void 0!==$?$:null,qr_code:null!==(X=null==t?void 0:t.qr_code)&&void 0!==X?X:null,pos_key:null!==(Z=null==t?void 0:t.pos_key)&&void 0!==Z?Z:null,pos_status:null!==(tt=null==t?void 0:t.pos_status)&&void 0!==tt?tt:null,invoice:Y(null==t?void 0:t.invoice),visit_count:null!==(et=null==t?void 0:t.visit_count)&&void 0!==et?et:null,current_point:null!==(it=null==t?void 0:t.current_point)&&void 0!==it?it:null,last_visited:null!==(ot=null==t?void 0:t.last_visited)&&void 0!==ot?ot:null,customer:j(null==t?void 0:t.customer),list_promotion:null!==(nt=null==t?void 0:t.list_promotion)&&void 0!==nt?nt:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>q(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,total_value:null!==(d=null==t?void 0:t.total_value)&&void 0!==d?d: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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_modifier)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d: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!==(y=null==t?void 0:t.item_type)&&void 0!==y?y:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.combo_name)&&void 0!==u?u:null,combo_id:null!==(d=null==t?void 0:t.combo_id)&&void 0!==d?d: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!==(st=null==t?void 0:t.created_date)&&void 0!==st?st:null,created_time:null!==(rt=null==t?void 0:t.created_time)&&void 0!==rt?rt:null,payment:(null==t?void 0:t.payment)?null==t?void 0:t.payment.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(at=null==t?void 0:t.refund_amount)&&void 0!==at?at:null,payment_payment_id:null!==(lt=null==t?void 0:t.payment_payment_id)&&void 0!==lt?lt:null,payment_order_id:null!==(ut=null==t?void 0:t.payment_order_id)&&void 0!==ut?ut: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.note)&&void 0!==o?o:null,price:null!==(n=null==t?void 0:t.price)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_paid)&&void 0!==u?u: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!==(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,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}(t))):null,order_batch:G(null==t?void 0:t.order_batch),last_four:null!==(dt=null==t?void 0:t.last_four)&&void 0!==dt?dt: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=>W(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!==(yt=null==t?void 0:t.tax_product)&&void 0!==yt?yt:null,tax_service:null!==(ht=null==t?void 0:t.tax_service)&&void 0!==ht?ht: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}}function Q(t){var e,i,o,n;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!==(o=null==t?void 0:t.currentPage)&&void 0!==o?o:null,perPage:null!==(n=null==t?void 0:t.perPage)&&void 0!==n?n:null}}function z(t,e){var i,o,n,s;return{data:((null===(o=null===(i=null==t?void 0:t.result)||void 0===i?void 0:i.data)||void 0===o?void 0:o.items)||[]).map((t=>e(t))),_meta:Q(null===(s=null===(n=null==t?void 0:t.result)||void 0===n?void 0:n.data)||void 0===s?void 0:s._meta)}}B.API_VERSION=r.V1;class $ extends P{static postUpdateInService(t){var e;return _(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,o;return Object.assign(Object.assign({},J(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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null})}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getItemList(t){return _(this,void 0,void 0,(function*(){return yield this.client.get({path:"/v1/pos/item/site/list",query:t})}))}static getCheckOutHistoryList(t){return _(this,void 0,void 0,(function*(){return z(yield this.client.get({path:"/v1/pos/checkout/history/list",query:t}),J)}))}static getCheckOutInfo(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/checkout/site/info",query:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getCheckOutHistoryInfo(t){return _(this,void 0,void 0,(function*(){return z(yield this.client.get({path:"/v1/pos/checkout/history/info",query:t}),K)}))}static getCheckOutBatchCloseSummary(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.cash_amount)&&void 0!==o?o:null,cash_amount_count:null!==(n=null==t?void 0:t.cash_amount_count)&&void 0!==n?n: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!==(u=null==t?void 0:t.ach_amount)&&void 0!==u?u:null,ach_amount_count:null!==(d=null==t?void 0:t.ach_amount_count)&&void 0!==d?d: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!==(y=null==t?void 0:t.discount)&&void 0!==y?y:null,redeem:null!==(h=null==t?void 0:t.redeem)&&void 0!==h?h: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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/add",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutRemoveItem(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/remove",data:t})}))}static postCheckOutSubmitOrder(t){return _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-status",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateOrderWithCreditCardPayment(t){return _(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 _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/do-auth",data:t})}))}static postCheckOutVoidPayment(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/void-payment",data:t})}))}static postCheckOutRefundPayment(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/refund-payment",data:t})}))}static postCheckOutAdjustTipPayment(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/form/adjust-tip",data:t})}))}static postCheckOutCloseOut(t){return _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/update-is-wait",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountPromotion(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/promotion",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutDiscountRedeem(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/discount/redeem",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateTipData(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/tip/update",data:t})}))}static postCheckOutItemAdjustPrice(t){return _(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 _(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,o,n,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!==(o=null==t?void 0:t.payment_status)&&void 0!==o?o:null,payment_data:null!==(n=null==t?void 0:t.payment_data)&&void 0!==n?n: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 _(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 _(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 _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/check-customer",data:t})}))}static postAchResend(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ach/form/resend-transaction",data:t})}))}static postAchVoid(t){return _(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 _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/calculate-tax",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCalculatePayment(t){return _(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 _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,H,Y,j,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut,dt,pt,_t,ct,mt,ft,yt,ht,vt,gt,Tt,St,Et,It,Rt,Ct;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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!==(U=null==t?void 0:t.gift_card_price)&&void 0!==U?U:null,pax_standalone_active:null!==(k=null==t?void 0:t.gift_card_price)&&void 0!==k?k: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!==(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!==(K=null==t?void 0:t.qr_code)&&void 0!==K?K:null,in_service:null!==(J=null==t?void 0:t.in_service)&&void 0!==J?J:null,pos_key:null!==(Q=null==t?void 0:t.pos_key)&&void 0!==Q?Q:null,pos_status:null!==(z=null==t?void 0:t.pos_status)&&void 0!==z?z:null,invoice:null!==($=null==t?void 0:t.invoice)&&void 0!==$?$:null,visit_count:null!==(X=null==t?void 0:t.visit_count)&&void 0!==X?X:null,current_point:null!==(Z=null==t?void 0:t.current_point)&&void 0!==Z?Z:null,last_visited:null!==(tt=null==t?void 0:t.last_visited)&&void 0!==tt?tt:null,customer:null!==(et=null==t?void 0:t.customer)&&void 0!==et?et:null,list_promotion:null!==(it=null==t?void 0:t.list_promotion)&&void 0!==it?it:null,list_redeem:(null==t?void 0:t.list_redeem)?null==t?void 0:t.list_redeem.map((t=>q(t))):null,order_discount:null!==(ot=null==t?void 0:t.order_discount)&&void 0!==ot?ot:null,order_items:null!==(nt=null==t?void 0:t.order_items)&&void 0!==nt?nt:null,created_date:null!==(st=null==t?void 0:t.created_date)&&void 0!==st?st:null,created_time:null!==(rt=null==t?void 0:t.created_time)&&void 0!==rt?rt:null,payment:null!==(at=null==t?void 0:t.payment)&&void 0!==at?at:null,refund_amount:null!==(lt=null==t?void 0:t.refund_amount)&&void 0!==lt?lt:null,payment_payment_id:null!==(ut=null==t?void 0:t.payment_payment_id)&&void 0!==ut?ut:null,payment_order_id:null!==(dt=null==t?void 0:t.payment_order_id)&&void 0!==dt?dt:null,services:null!==(pt=null==t?void 0:t.services)&&void 0!==pt?pt:null,staffs:null!==(_t=null==t?void 0:t.staffs)&&void 0!==_t?_t:null,order_batch:G(null==t?void 0:t.order_batch),last_four:null!==(ct=null==t?void 0:t.last_four)&&void 0!==ct?ct:null,customer_point:null!==(mt=null==t?void 0:t.customer_point)&&void 0!==mt?mt:null,card_type:null!==(ft=null==t?void 0:t.card_type)&&void 0!==ft?ft:null,entry_type:null!==(yt=null==t?void 0:t.entry_type)&&void 0!==yt?yt:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>W(t))):null,amount_info:null!==(ht=null==t?void 0:t.amount_info)&&void 0!==ht?ht:null,customer_type:null!==(vt=null==t?void 0:t.customer_type)&&void 0!==vt?vt:null,tax_product:null!==(gt=null==t?void 0:t.tax_product)&&void 0!==gt?gt:null,tax_service:null!==(Tt=null==t?void 0:t.tax_service)&&void 0!==Tt?Tt:null,deposit:null!==(St=null==t?void 0:t.deposit)&&void 0!==St?St:null,product_subtotal:null!==(Et=null==t?void 0:t.product_subtotal)&&void 0!==Et?Et:null,service_subtotal:null!==(It=null==t?void 0:t.service_subtotal)&&void 0!==It?It:null,checkin_number:null!==(Rt=null==t?void 0:t.checkin_number)&&void 0!==Rt?Rt:null,appointment_id:null!==(Ct=null==t?void 0:t.appointment_id)&&void 0!==Ct?Ct:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateItem(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/item/update-item",data:t});return J(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static postCheckOutUpdateStaff(t){var e;return _(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}))}}$.API_VERSION=r.V1;class X extends P{static getComboSiteInfo(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/combo/site/info",query:t});return function(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g;function T(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.create_at)&&void 0!==o?o:null,type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n: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!==(u=null==t?void 0:t.onwer_id)&&void 0!==u?u:null,price:null!==(d=null==t?void 0:t.price)&&void 0!==d?d: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!==(y=null==t?void 0:t.supply_share)&&void 0!==y?y:null,show_on_checkin:null!==(h=null==t?void 0:t.show_on_checkin)&&void 0!==h?h: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!==(o=null==t?void 0:t.description)&&void 0!==o?o:null,image:null!==(n=null==t?void 0:t.image)&&void 0!==n?n: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!==(u=null==t?void 0:t.prepare_duration)&&void 0!==u?u:null,nutritional_information:null!==(d=null==t?void 0:t.nutritional_information)&&void 0!==d?d: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!==(y=null==t?void 0:t.sku)&&void 0!==y?y:null,price:null!==(h=null==t?void 0:t.price)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,item_type:null!==(n=null==t?void 0:t.item_type)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Z(t){return{item_name:null==t?void 0:t.item_name,staff_name:null==t?void 0:t.staff_name}}X.API_VERSION=r.V1;class tt extends P{static getCustomerList(t){var e,i;return _(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/customer/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.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 _(this,void 0,void 0,(function*(){return function(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o: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!==(n=null==t?void 0:t.is_send_sms)&&void 0!==n?n: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!==(u=null==t?void 0:t.phone)&&void 0!==u?u:null,full_name:null!==(d=null==t?void 0:t.full_name)&&void 0!==d?d: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 _(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,o,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,status:null!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,point_bonus:null!==(n=null==t?void 0:t.point_bonus)&&void 0!==n?n:null}}(t))):null,order:(null==t?void 0:t.order)?null==t?void 0:t.order.map((t=>function(t){var e,i,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,total_after_discount:null!==(o=null==t?void 0:t.total_after_discount)&&void 0!==o?o:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Z(t))):null}}(t))):null,appointment:(null==t?void 0:t.appointment)?null==t?void 0:t.appointment.map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.status)&&void 0!==o?o:null,start_time:null!==(n=null==t?void 0:t.start_time)&&void 0!==n?n: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 _(this,void 0,void 0,(function*(){return function(t){var e,i,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,total_after_discount:null!==(o=null==t?void 0:t.total_after_discount)&&void 0!==o?o:null,order_items:(null==t?void 0:t.order_items)?null==t?void 0:t.order_items.map((t=>Z(t))):null}}((yield this.client.post({path:"/v1/pos/customer/form/update",data:t})).result.data)}))}}tt.API_VERSION=r.V1;class et extends P{static getCheckGiftCard(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.amount)&&void 0!==o?o:null,balance:null!==(n=null==t?void 0:t.balance)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_phone)&&void 0!==u?u:null,type:null!==(d=null==t?void 0:t.type)&&void 0!==d?d: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!==(y=null==t?void 0:t.updated_at)&&void 0!==y?y:null,order_id:null!==(h=null==t?void 0:t.order_id)&&void 0!==h?h: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 _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/checkout/item/reset-gift-card",data:t}),null}))}}et.API_VERSION=r.V1;class it extends P{static getIncomeHistory(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,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!==(n=null===(o=null==t?void 0:t.summary)||void 0===o?void 0:o.date)&&void 0!==n?n: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!==(d=null===(u=null==t?void 0:t.summary)||void 0===u?void 0:u.card_amount)&&void 0!==d?d: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!==(y=null===(f=null==t?void 0:t.summary)||void 0===f?void 0:f.giftcard_amount)&&void 0!==y?y:null,check_amount:null!==(v=null===(h=null==t?void 0:t.summary)||void 0===h?void 0:h.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!==(k=null===(U=null==t?void 0:t.summary)||void 0===U?void 0:U.cash_discount)&&void 0!==k?k: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,o,n;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!==(o=null==t?void 0:t.total_income)&&void 0!==o?o:null,subtotal:null!==(n=null==t?void 0:t.subtotal)&&void 0!==n?n:null}}(t))):null}}(t)))}))}static getStaffDailyIncome(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/staff/site/list-income-v1",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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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!==(u=null===(l=null==t?void 0:t.income)||void 0===l?void 0:l.commission)&&void 0!==u?u:null,tip:null!==(p=null===(d=null==t?void 0:t.income)||void 0===d?void 0:d.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!==(h=null===(y=null==t?void 0:t.income)||void 0===y?void 0:y.income)&&void 0!==h?h: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)))}))}}it.API_VERSION=r.V1;class ot extends P{static getPosKeyStorage(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K;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!==(o=null==t?void 0:t.pax_standalone_active)&&void 0!==o?o:null,staff_receipt_active:null!==(n=null==t?void 0:t.staff_receipt_active)&&void 0!==n?n: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!==(u=null==t?void 0:t.is_tip_on_device)&&void 0!==u?u:null,is_print_on_clover:null!==(d=null==t?void 0:t.is_print_on_clover)&&void 0!==d?d: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!==(h=null===(y=null==t?void 0:t.mqtt)||void 0===y?void 0:y.username)&&void 0!==h?h: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!==(k=null===(U=null==t?void 0:t.service_fee)||void 0===U?void 0:U.fee)&&void 0!==k?k: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}ot.API_VERSION=r.V1;var nt=i(35823),st=i.n(nt);const rt=()=>({AU:"DD-MM-YYYY",US:"MM-DD-YYYY",DEFAULT:"DD-MM-YYYY"}[localStorage.getItem("country_code")||"DEFAULT"]);var at=i(27484),lt=i.n(at);function ut(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k;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!==(o=null==t?void 0:t.last_name)&&void 0!==o?o:null,full_name:null!==(n=null==t?void 0:t.full_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.state)&&void 0!==u?u:null,country:null!==(d=null==t?void 0:t.country)&&void 0!==d?d: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!==(y=null==t?void 0:t.group_id)&&void 0!==y?y:null,note:null!==(h=null==t?void 0:t.note)&&void 0!==h?h: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!==(U=null==t?void 0:t.last_review)&&void 0!==U?U:null,review_type:null!==(k=null==t?void 0:t.review_type)&&void 0!==k?k:null}}function dt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null,total_value:null!==(d=null==t?void 0:t.total_value)&&void 0!==d?d:null,total_discount:null!==(p=null==t?void 0:t.total_discount)&&void 0!==p?p:null}}function pt(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.price)&&void 0!==o?o:null,supply_share:null!==(n=null==t?void 0:t.supply_share)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip_on_credit_card_share)&&void 0!==u?u:null,commission:null!==(d=null==t?void 0:t.commission)&&void 0!==d?d:null,cash_discount:null!==(p=null==t?void 0:t.cash_discount)&&void 0!==p?p:null}}(t))):null}}function _t(t){var e,i,o;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!==(o=null==t?void 0:t.employee_color)&&void 0!==o?o:null}}function ct(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.created_at)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.data_after_charge)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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 mt(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.customer_id)&&void 0!==o?o:null,customer_name:null!==(n=null==t?void 0:t.customer_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.has_tax)&&void 0!==u?u:null,tax_price:null!==(d=null==t?void 0:t.tax_price)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_name)&&void 0!==y?y:null,status:null!==(h=null==t?void 0:t.status)&&void 0!==h?h: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 ft(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:null,external_id:null!==(n=null==t?void 0:t.external_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,sp_updated:null!==(p=null==t?void 0:t.sp_updated)&&void 0!==p?p:null}}function yt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.check_amount)&&void 0!==o?o:null,giftcard_amount:null!==(n=null==t?void 0:t.giftcard_amount)&&void 0!==n?n: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!==(u=null==t?void 0:t.tip)&&void 0!==u?u:null,discount:null!==(d=null==t?void 0:t.discount)&&void 0!==d?d: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 ht(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ut;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!==(o=null==t?void 0:t.customer_name)&&void 0!==o?o:null,customer_phone:null!==(n=null==t?void 0:t.customer_phone)&&void 0!==n?n: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!==(u=null==t?void 0:t.start_time)&&void 0!==u?u:null,expected_end_time:null!==(d=null==t?void 0:t.expected_end_time)&&void 0!==d?d: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!==(y=null==t?void 0:t.employee_id)&&void 0!==y?y:null,employee_name:null!==(h=null==t?void 0:t.employee_name)&&void 0!==h?h: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:ct(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!==(U=null==t?void 0:t.pax_standalone_active)&&void 0!==U?U:null,ach_payment_active:null!==(k=null==t?void 0:t.ach_payment_active)&&void 0!==k?k: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:mt(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=>dt(t))):null,checkin_services:null!==(Q=null==t?void 0:t.checkin_services)&&void 0!==Q?Q:null,checkin_staffs:null!==(z=null==t?void 0:t.checkin_staffs)&&void 0!==z?z:null,services:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>pt(t))):null,staffs:(null==t?void 0:t.order_discount)?null==t?void 0:t.order_discount.map((t=>_t(t))):null,payment_payment_id:null!==($=null==t?void 0:t.payment_payment_id)&&void 0!==$?$:null,payment_order_id:null!==(X=null==t?void 0:t.payment_order_id)&&void 0!==X?X:null,order_batch:yt(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!==(ot=null==t?void 0:t.entry_type)&&void 0!==ot?ot:null,payment_history:(null==t?void 0:t.payment_history)?null==t?void 0:t.payment_history.map((t=>ft(t))):null,amount_info:null!==(nt=null==t?void 0:t.amount_info)&&void 0!==nt?nt: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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(u=null==t?void 0:t.giftcard_code)&&void 0!==u?u: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!==(ut=null==t?void 0:t.staff_code)&&void 0!==ut?ut:null}}function vt(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,w,V,F,B,q,G,H,Y,j,W,K,J,Q,z,$,X,Z,tt,et,it,ot,nt,st,rt,at,lt,ht,vt,gt,Tt,St,Et;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!==(o=null==t?void 0:t.in_service)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.customer_address)&&void 0!==u?u:null,payment_method:null!==(d=null==t?void 0:t.payment_method)&&void 0!==d?d: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!==(y=null==t?void 0:t.promotion_code)&&void 0!==y?y:null,total_before_discount:null!==(h=null==t?void 0:t.total_before_discount)&&void 0!==h?h: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:ct(null==t?void 0:t.tip),tax:null!==(L=null==t?void 0:t.tax)&&void 0!==L?L:null,is_waiting:null!==(U=null==t?void 0:t.is_waiting)&&void 0!==U?U:null,is_recheck:null!==(k=null==t?void 0:t.is_recheck)&&void 0!==k?k: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:mt(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!==(z=null==t?void 0:t.current_point)&&void 0!==z?z:null,last_visited:null!==($=null==t?void 0:t.last_visited)&&void 0!==$?$:null,customer:ut(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,o,n,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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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=>dt(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_modifier)&&void 0!==o?o:null,id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n: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!==(u=null==t?void 0:t.price)&&void 0!==u?u:null,note:null!==(d=null==t?void 0:t.note)&&void 0!==d?d: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!==(y=null==t?void 0:t.item_type)&&void 0!==y?y:null,staff_id:null!==(h=null==t?void 0:t.staff_id)&&void 0!==h?h: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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.item_type)&&void 0!==o?o:null,item_id:null!==(n=null==t?void 0:t.item_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.combo_name)&&void 0!==u?u:null,combo_id:null!==(d=null==t?void 0:t.combo_id)&&void 0!==d?d: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,o,n,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!==(o=null==t?void 0:t.payment_method_type)&&void 0!==o?o:null,payment_method_name:null!==(n=null==t?void 0:t.payment_method_name)&&void 0!==n?n: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!==(ot=null==t?void 0:t.payment_order_id)&&void 0!==ot?ot:null,services:(null==t?void 0:t.services)?null==t?void 0:t.services.map((t=>pt(t))):null,staffs:(null==t?void 0:t.staffs)?null==t?void 0:t.staffs.map((t=>_t(t))):null,order_batch:yt(null==t?void 0:t.order_batch),last_four:null!==(nt=null==t?void 0:t.last_four)&&void 0!==nt?nt: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=>ft(t))):null,amount_info:null!==(lt=null==t?void 0:t.amount_info)&&void 0!==lt?lt:null,customer_type:null!==(ht=null==t?void 0:t.customer_type)&&void 0!==ht?ht:null,tax_product:null!==(vt=null==t?void 0:t.tax_product)&&void 0!==vt?vt:null,tax_service:null!==(gt=null==t?void 0:t.tax_service)&&void 0!==gt?gt:null,deposit:null!==(Tt=null==t?void 0:t.deposit)&&void 0!==Tt?Tt:null,product_subtotal:null!==(St=null==t?void 0:t.product_subtotal)&&void 0!==St?St:null,service_subtotal:null!==(Et=null==t?void 0:t.service_subtotal)&&void 0!==Et?Et:null}}class gt extends P{static getOrderCheckInList(t){return _(this,void 0,void 0,(function*(){return z(yield this.client.get({path:"/v1/pos/checkin/site/dash-board-list",query:t}),ht)}))}static getReportCheckIn(t){return _(this,void 0,void 0,(function*(){return function(t){var e,i,o,n,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!==(o=null==t?void 0:t.processing)&&void 0!==o?o:null,cancelled:null!==(n=null==t?void 0:t.cancelled)&&void 0!==n?n: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 _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,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!==(o=null==t?void 0:t.item_id)&&void 0!==o?o:null,quantity:null!==(n=null==t?void 0:t.quantity)&&void 0!==n?n: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!==(u=null==t?void 0:t.note)&&void 0!==u?u:null,owner_note:null!==(d=null==t?void 0:t.owner_note)&&void 0!==d?d: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!==(y=null==t?void 0:t.staff_id)&&void 0!==y?y:null,staff_name:null!==(h=null==t?void 0:t.staff_name)&&void 0!==h?h:null,combo_id:null!==(v=null==t?void 0:t.combo_id)&&void 0!==v?v:null}}(t)))}))}static removeOrder(t){return _(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 _(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/checkin/site/export",query:t});let i=rt();return st()(e,`export-orders-${lt()().format(i)}.xls`),null}))}static submitCheckout(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/form/submit",data:t});return vt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static submitPayment(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/payment/submit",data:t});return vt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePaymentData(t){var e;return _(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,o,n,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!==(o=null==t?void 0:t.payment_status)&&void 0!==o?o:null,payment_data:null!==(n=null==t?void 0:t.payment_data)&&void 0!==n?n: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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/checkout/order/add-note",data:t});return vt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function Tt(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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!==(u=null==t?void 0:t.card_charge)&&void 0!==u?u:null,supply_share:null!==(d=null==t?void 0:t.supply_share)&&void 0!==d?d: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 St(t){var e,i,o,n,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!==(o=null==t?void 0:t.staff_percent)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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}}gt.API_VERSION=r.V1;class Et extends P{static getPayrollList(t){var e;return _(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,duration:null!==(n=null==t?void 0:t.duration)&&void 0!==n?n: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 _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/cashdiscount/setting/get",query:t});return St(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateCashDiscountSetting(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/cashdiscount/setting/change",data:t});return St(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getIncomeDetail(t){var e;return _(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,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P,M,D,b,x,L,U,k,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!==(n=null===(o=null==t?void 0:t.employee)||void 0===o?void 0:o.name)&&void 0!==n?n: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!==(d=null===(u=null==t?void 0:t.employee)||void 0===u?void 0:u.updated_at)&&void 0!==d?d: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!==(y=null===(f=null==t?void 0:t.employee)||void 0===f?void 0:f.delete_image_url)&&void 0!==y?y:null,priority:null!==(v=null===(h=null==t?void 0:t.employee)||void 0===h?void 0:h.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!==(k=null===(U=null==t?void 0:t.employee)||void 0===U?void 0:U.approved_commission)&&void 0!==k?k: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!==($=null===(z=null==t?void 0:t.total)||void 0===z?void 0:z.cash_income)&&void 0!==$?$: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 _(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,o,n;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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>function(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y;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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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!==(u=null==t?void 0:t.card_charge)&&void 0!==u?u:null,supply_share:null!==(d=null==t?void 0:t.supply_share)&&void 0!==d?d: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!==(y=null==t?void 0:t.list_detail)&&void 0!==y?y:null}}(t))):null}}(t)))}))}static exportPayroll(t){return _(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"v1/pos/payroll/site/export-payroll",query:t}),i=rt();return st()(e.data,`${lt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportApprovePayroll(t){return _(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/site/export-approve-payroll",query:t}),i=rt();return st()(e.data,`${lt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static exportIncomeDetail(t){return _(this,void 0,void 0,(function*(){const e=yield this.client.get({path:"/v1/pos/payroll/staff/export-income-detail",query:t}),i=rt();return st()(e.data,`${lt()().format(i)}.xlsx`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),null}))}static getSalaryChart(t){var e;return _(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:o=null,name:n=null,total_salary:s=null}=null==t?void 0:t[i];return e[i]={user_id:o,name:n,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 _(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,o,n;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!==(o=null==t?void 0:t.end_date)&&void 0!==o?o:null,total_income:null!==(n=null==t?void 0:t.total_income)&&void 0!==n?n:null,employee_list:(null==t?void 0:t.employee_list)?null==t?void 0:t.employee_list.map((t=>Tt(t))):null}}(t)))}))}static getPayrollDetail(t){var e;return _(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=>Tt(t)))}))}}function It(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}Et.API_VERSION=r.V1;class Rt extends P{static getPrinterList(t){var e,i;return _(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/printer/site/list",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>It(t)))}))}static getPrinterDetail(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/pos/printer/site/detail",query:t});return It(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static createPrinterInfo(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/create",data:t});return function(t){var e,i,o,n,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,printer_name:null!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePrinterInfo(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/printer/site/update",data:t});return function(t){var e,i,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.printer_name)&&void 0!==o?o:null,printer_id:null!==(n=null==t?void 0:t.printer_id)&&void 0!==n?n: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!==(u=null==t?void 0:t.created_at)&&void 0!==u?u:null,updated_at:null!==(d=null==t?void 0:t.updated_at)&&void 0!==d?d:null,status:null!==(p=null==t?void 0:t.status)&&void 0!==p?p:null}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Rt.API_VERSION=r.V1;class Ct extends P{static getServiceList(t){var e;return _(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,o,n,s,r,a,l,u,d,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!==(o=null==t?void 0:t.create_at)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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!==(u=null==t?void 0:t.point_bonus)&&void 0!==u?u:null,duration:null!==(d=null==t?void 0:t.duration)&&void 0!==d?d: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)))}))}}Ct.API_VERSION=r.V1;class At extends P{static getStaffList(t){var e;return _(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n: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,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n: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 _(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,o,n,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!==(o=null==t?void 0:t.image_url)&&void 0!==o?o:null,color_code:null!==(n=null==t?void 0:t.color_code)&&void 0!==n?n:null,sub_total:null!==(s=null==t?void 0:t.sub_total)&&void 0!==s?s:null}}(t)))}))}}function Nt(t){var e,i,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.content)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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!==(u=null==t?void 0:t.name)&&void 0!==u?u:null}}At.API_VERSION=r.V1;class Ot extends P{static getPosTicketTemplate(t){var e,i;return _(this,void 0,void 0,(function*(){const o=yield this.client.get({path:"/v1/pos/ticket/site/template",query:t});return((null===(i=null===(e=null==o?void 0:o.result)||void 0===e?void 0:e.data)||void 0===i?void 0:i.items)||[]).map((t=>Nt(t)))}))}static getPosTicketInfo(t){var e;return _(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=>Nt(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 _(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=>Nt(t)))}))}static getPosTicketListBlockName(t){var e;return _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/create",data:t});return Nt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static deletePosTicketTemplate(t){return _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/pos/ticket/form/update",query:t,data:t});return Nt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static movePosSubject(t){return _(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 _(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 _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/ticket/form/sort-priority",data:t}),null}))}}function Pt(t){var e,i,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.staff_name)&&void 0!==o?o:null,time_in:null!==(n=null==t?void 0:t.time_in)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null}}Ot.API_VERSION=r.V1;class Mt extends P{static getTimeKeepingList(t){return _(this,void 0,void 0,(function*(){return z(yield this.client.get({path:"/v1/pos/timekeeping/site/list",query:t}),Pt)}))}static addTimeKeeping(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/timekeeping/form/create",data:t}),null}))}static updateTimeKeeping(t){return _(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 _(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 _(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,o,n,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!==(o=null==t?void 0:t.time_checked)&&void 0!==o?o:null,is_checked_in:null!==(n=null==t?void 0:t.is_checked_in)&&void 0!==n?n: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 _(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 _(this,void 0,void 0,(function*(){return this.client.post({path:"/v1/pos/timekeeping/form/add-checkout-time",data:t}),null}))}}Mt.API_VERSION=r.V1;class Dt extends P{}Dt.API_VERSION=r.V1;class bt extends P{static postLogin(t){return _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/pos/user/form/login",data:t})}))}}function xt(t){var e,i,o,n,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!==(o=null==t?void 0:t.period)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 Lt(t){var e,i,o,n,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!==(o=null==t?void 0:t.staff_percentage)&&void 0!==o?o:null,created_at:null!==(n=null==t?void 0:t.created_at)&&void 0!==n?n: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 Ut(t){return null!=t?t:null}function kt(t){var e,i,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,content:null!==(n=null==t?void 0:t.content)&&void 0!==n?n: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 wt(t){return kt(t)}bt.API_VERSION=r.V1;class Vt extends P{static getPayrollSetting(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/payroll-setting",query:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updatePayrollSetting(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-payroll",data:t});return xt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getDiscountSetting(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/discount-setting",query:t});return Lt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateDiscountSetting(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-discount",data:t});return Lt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTaxSetting(t){var e;return _(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,o,n,s,r,a,l,u;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!==(o=null==t?void 0:t.code)&&void 0!==o?o:null,title:null!==(n=null==t?void 0:t.title)&&void 0!==n?n: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!==(u=null==t?void 0:t.status)&&void 0!==u?u:null}}(t)))}))}static updateTaxSetting(t){return _(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 _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"v1/pos/setting/site/get-turn-value",query:t});return Ut(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTurnValue(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"v1/pos/setting/form/update-turn-value",data:t});return Ut(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getTip(t){var e;return _(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,o;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!==(o=null==t?void 0:t.value)&&void 0!==o?o:null}}))}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateTip(t){var e;return _(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 _(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=>kt(t)))}}(t)))}))}static createAnswer(t){var e;return _(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 _(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 kt(t)}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static changeAnswerStatus(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:M,data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getServiceFee(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:M,query:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:M,data:t});return wt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}Vt.API_VERSION=r.V1;const Ft={[r.V1]:e};function Bt(t){var e,i,o,n,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!==(o=null==t?void 0:t.comment)&&void 0!==o?o:null,updated_at:null!==(n=null==t?void 0:t.updated_at)&&void 0!==n?n:null,created_at:null!==(s=null==t?void 0:t.created_at)&&void 0!==s?s:null}}class qt extends P{static getKeyStorage(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/settings/key-storage/get",query:t});return Bt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static getListKeyStorage(t){return _(this,void 0,void 0,(function*(){return z(yield this.client.get({path:"/v1/settings/key-storage/list",query:t}),Bt)}))}static addKeyStorage(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/add",data:t});return Bt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateKeyStorage(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/settings/key-storage/update",data:t});return Bt(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateListKeyStorage(t){return _(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 _(this,void 0,void 0,(function*(){return yield this.client.post({path:"/v1/settings/key-storage/delete",data:t}),null}))}}function Gt(t){var e;return{multiple_type:null!==(e=null==t?void 0:t.multiple_type)&&void 0!==e?e:null}}function Ht(t){var e,i,o,n,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!==(o=null==t?void 0:t.ask_email)&&void 0!==o?o:null,ask_birthday:null!==(n=null==t?void 0:t.ask_birthday)&&void 0!==n?n: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:Gt(null==t?void 0:t.phone)}}qt.API_VERSION=r.V1;class Yt extends P{static getCheckInConfig(t){var e;return _(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,o,n;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!==(o=null==t?void 0:t.staff_feature)&&void 0!==o?o:null,product_feature:null!==(n=null==t?void 0:t.product_feature)&&void 0!==n?n:null,check_in:Ht(null==t?void 0:t.check_in)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}function jt(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 Wt(t){var e,i,o,n,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!==(o=null==t?void 0:t.city)&&void 0!==o?o:null,postal_code:null!==(n=null==t?void 0:t.postal_code)&&void 0!==n?n: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 Kt(t){var e,i,o,n,s,r,a,l,u,d,p,_,c,m,f,y,h,v,g,T,S,E,I,R,C,A,N,O,P;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!==(o=null==t?void 0:t.staff_code_active)&&void 0!==o?o:null,checkout_feature:null!==(n=null==t?void 0:t.checkout_feature)&&void 0!==n?n: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!==(u=null==t?void 0:t.pos_feature)&&void 0!==u?u:null,gocheckin_feature:null!==(d=null==t?void 0:t.gocheckin_feature)&&void 0!==d?d: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!==(y=null==t?void 0:t.passcode)&&void 0!==y?y:null,passcode_active:null!==(h=null==t?void 0:t.passcode_active)&&void 0!==h?h: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:Jt(null==t?void 0:t.squareup_feature),check_in:Qt(null==t?void 0:t.check_in),check_out:Xt(null==t?void 0:t.check_out),devices:Zt(null==t?void 0:t.devices),language:null!==(A=null==t?void 0:t.language)&&void 0!==A?A:null,mqtt:oe(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}}function Jt(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 Qt(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:zt(null==t?void 0:t.app_version),signature_active:null==t?void 0:t.signature_active}}function zt(t){return{version:null==t?void 0:t.version,content:$t(null==t?void 0:t.content)}}function $t(t){var e,i,o;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!==(o=null==t?void 0:t.description)&&void 0!==o?o: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 Xt(t){return{mode_status:null==t?void 0:t.mode_status}}function Zt(t){return{printer:te(null==t?void 0:t.printer)}}function te(t){return{selected_id:null==t?void 0:t.selected_id,options:ee(null==t?void 0:t.options),lists:((null==t?void 0:t.lists)||[]).map((t=>function(t){var e,i,o,n,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!==(o=null==t?void 0:t.type)&&void 0!==o?o:null,mode:null!==(n=null==t?void 0:t.mode)&&void 0!==n?n:null,status:null!==(s=null==t?void 0:t.status)&&void 0!==s?s:null,data:ie(null==t?void 0:t.data)}}(t)))}}function ee(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 ie(t){var e,i,o,n,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!==(o=null==t?void 0:t.peripheralId)&&void 0!==o?o:null,characteristicUUID:null!==(n=null==t?void 0:t.characteristicUUID)&&void 0!==n?n:null,serviceUUID:null!==(s=null==t?void 0:t.serviceUUID)&&void 0!==s?s:null}}function oe(t){var e,i,o;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!==(o=null==t?void 0:t.password)&&void 0!==o?o:null,config:ne(null==t?void 0:t.config)}}function ne(t){var e;return{call_feature:null!==(e=null==t?void 0:t.call_feature)&&void 0!==e?e:null}}Yt.API_VERSION=r.V1;class se extends P{static getCheckoutConfig(t){var e;return _(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:jt(null==t?void 0:t.info),business:Wt(null==t?void 0:t.business),settings:Kt(null==t?void 0:t.settings)}}(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}se.API_VERSION=r.V1;const re={[r.V1]:n};function ae(t){return{id:null==t?void 0:t.id,fee:null==t?void 0:t.fee,status:null==t?void 0:t.status,created_at:null==t?void 0:t.created_at,updated_at:null==t?void 0:t.updated_at,state:null==t?void 0:t.state}}class le extends P{static getServiceFee(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.get({path:"/v1/gocheckin/settings/site/get-service-fee",query:t});return ae(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}static updateServiceFee(t){var e;return _(this,void 0,void 0,(function*(){const i=yield this.client.post({path:"/v1/gocheckin/settings/form/update-service-fee",data:t});return ae(null===(e=null==i?void 0:i.result)||void 0===e?void 0:e.data)}))}}le.API_VERSION=r.V1;const ue={[r.V1]:s},de={Context:I,PosClientApi:class{constructor(t,e,i,o){P.setClient(t,e,i,o);const n=(t=>{if(!Ft[t])throw new Error("Can't not find API of this version!");return Ft[t]})(o);this.batch_history=n.BatchHistory,this.business=n.Business,this.call=n.Call,this.category=n.Category,this.check_in=n.CheckIn,this.check_out=n.CheckOut,this.combo=n.Combo,this.customer=n.Customer,this.gift_card=n.GiftCard,this.income=n.Income,this.key_storage=n.KeyStorage,this.order=n.Order,this.payroll=n.Payroll,this.printer=n.Printer,this.service=n.Service,this.staff=n.Staff,this.ticket=n.Ticket,this.time_keeping=n.TimeKeeping,this.unsubscribe_contact=n.UnsubscribeContact,this.user=n.User,this.setting=n.Setting}},SettingsApi:class{constructor(t,e,i,o){P.setClient(t,e,i,o);const n=(t=>{if(!re[t])throw new Error("Can't not find API of this version!");return re[t]})(o);this.keyStorage=n.KeyStorage,this.checkIn=n.CheckIn,this.checkout=n.Checkout}},GoCheckInApi:class{constructor(t,e,i,o){P.setClient(t,e,i,o);const n=(t=>{if(!ue[t])throw new Error("Can't not find API of this version!");return ue[t]})(o);this.settings=n.Settings}},Errors:t,Clover:p};window.Gap=de;const pe=de})(),o})()));
|