@vantagepay/vantagepay 0.15.7 → 0.15.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("axios"),require("axios-retry"),require("axios-auth-refresh"),require("pubsub-js"),require("@microsoft/signalr"),require("qrcode")):"function"==typeof define&&define.amd?define(["exports","axios","axios-retry","axios-auth-refresh","pubsub-js","@microsoft/signalr","qrcode"],t):t((e||self).vantagepay={},e.axios,e.axiosRetry,e.axiosAuthRefresh,e.pubsubJs,e.signalR,e.qrcode)}(this,function(e,t,i,n,o,s,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,t}var d=/*#__PURE__*/a(t),l=/*#__PURE__*/a(i),u=/*#__PURE__*/a(n),h=/*#__PURE__*/a(o),v=/*#__PURE__*/c(s),m=/*#__PURE__*/a(r);function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},f.apply(null,arguments)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t="function"==typeof Map?new Map:void 0;return g=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return function(e,t,i){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return i&&y(o,i.prototype),o}(e,arguments,S(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),y(i,e)},g(e)}var P=new(/*#__PURE__*/function(){function e(){this.accessToken=null,this.refreshToken=null}return e.prototype.decodeToken=function(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)||{}}var n=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(n)||{}}return{}},e}()),R=Symbol("login.session.expired"),T=Symbol("login.session.refreshed"),I=Symbol("api.retry"),b=Symbol("payment.status"),M=Symbol("payment.complete"),H=Symbol("payment.wait.requires3dSecure"),N=Symbol("payment.wait.requiresPin"),D=Symbol("payment.wait.requiresConfirmation"),B=Symbol("payment.wait.requiresAddress"),E=Symbol("payment.complete3dSecure"),L=/*#__PURE__*/function(e){function t(i,n,o){var s,r=o;return Array.isArray(n)&&n.length>0?r=n.join(" "):("string"==typeof n||n instanceof String)&&(r=n.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=n,Object.setPrototypeOf(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),t.prototype),s}return C(t,e),t}(/*#__PURE__*/g(Error)),O="-".repeat(120),k=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=h.default,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,n){void 0===i&&(i=null),void 0===n&&(n=null);try{var o,s=function(e){if(r.consoleLogging&&console.debug(O),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new L(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null},r=this,a=function(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}(function(){var s={method:t,url:e};return(n||P.accessToken)&&(s.headers={Authorization:"Bearer "+(n||P.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+O),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(O),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){o=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(O));var t=0,i=null,n=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,n=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new L(t,i,n||e.message)});return Promise.resolve(a&&a.then?a.then(s):s())}catch(e){return Promise.reject(e)}},t.convertDatesToIso=function(e){var t=this;if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");var i=-e.getTimezoneOffset(),n=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),o=String(Math.abs(i)%60).padStart(2,"0"),s=i>=0?"+":"-";return e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+"T"+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")+s+n+":"+o}if(Array.isArray(e))return e.map(function(e){return t.convertDatesToIso(e)});if("object"==typeof e&&e.constructor===Object){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=this.convertDatesToIso(e[a]));return r}return e},e}();function G(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var w,F,U,W,q,V,K,x,j,Z,Y,Q,J,z,X,_,$,ee,te,ie,ne,oe="/v1/auth",se=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}C(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(P.accessToken)try{return(new Date).getTime()<1e3*P.decodeToken(P.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,n={username:e,password:t};return P.accessToken=null,P.refreshToken=null,Promise.resolve(G(function(){return Promise.resolve(i.request(oe+"/login","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(P.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.logout=function(){try{var e=function(){return Promise.resolve()},t=this,i=P.refreshToken;P.accessToken=null,P.refreshToken=null;var n=function(){if(i)return Promise.resolve(t.request(oe+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(R)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{return Promise.resolve(this.request(oe+"/refresh","POST",null,e||P.refreshToken)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(oe+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(oe+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,n={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(G(function(){return Promise.resolve(i.request(oe+"/password/change","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(P.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.forgotPassword=function(e){try{return Promise.resolve(this.request(oe+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{return Promise.resolve(this.request(oe+"/otp/validate","POST",{otpValue:e}))}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(oe+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(oe+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).reference||null},i.getCurrentUserName=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).user_name||null},i.getRedirectAction=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).email_address||null},t}(k);e.Bank=void 0,(w=e.Bank||(e.Bank={})).None="None",w.ABD="ABD",w.ABL="ABL",w.ACB="ACB",w.ABS="ABS",w.ABG="ABG",w.ADB="ADB",w.ADS="ADS",w.ALM="ALM",w.ANS="ANS",w.APX="APX",w.ASL="ASL",w.BSL="BSL",w.BOA="BOA",w.BOG="BOG",w.BSP="BSP",w.BPS="BPS",w.BLM="BLM",w.BSI="BSI",w.CAL="CAL",w.CBG="CBG",w.CBN="CBN",w.DFL="DFL",w.ECO="ECO",w.EPG="EPG",w.ETZ="ETZ",w.EXP="EXP",w.FPL="FPL",w.FAB="FAB",w.FBL="FBL",w.FDL="FDL",w.FBO="FBO",w.FBN="FBN",w.FCM="FCM",w.FNB="FNB",w.GCB="GCB",w.GPB="GPB",w.GPG="GPG",w.GMY="GMY",w.GTB="GTB",w.HBN="HBN",w.HBT="HBT",w.ITC="ITC",w.JBN="JBN",w.JUN="JUN",w.KOR="KOR",w.KSB="KSB",w.MBN="MBN",w.MLU="MLU",w.MOL="MOL",w.NGL="NGL",w.NIB="NIB",w.OPI="OPI",w.NSL="NSL",w.PSW="PSW",w.PBL="PBL",w.PBN="PBN",w.RBG="RBG",w.RBL="RBL",w.SAS="SAS",w.SBN="SBN",w.SCB="SCB",w.SCH="SCH",w.SIS="SIS",w.SOG="SOG",w.STB="STB",w.TIT="TIT",w.TRB="TRB",w.UBA="UBA",w.UBN="UBN",w.UMB="UMB",w.UNB="UNB",w.UNI="UNI",w.UNL="UNL",w.USL="USL",w.WBN="WBN",w.ZEN="ZEN",w.AFB="AFB",w.NED="NED",w.STD="STD",w.CAP="CAP",w.MER="MER",w.BID="BID",w.ALB="ALB",w.HBZ="HBZ",w.SAF="SAF",w.DIS="DIS",w.RMB="RMB",w.BZZ="BZZ",w.INV="INV",w.TYB="TYB",w.HOL="HOL",e.Channel=void 0,(F=e.Channel||(e.Channel={})).Unknown="Unknown",F.Web="Web",F.USSD="USSD",F.Callback="Callback",F.Generated="Generated",F.Settlement="Settlement",F.Scheduled="Scheduled",F.MobileApplication="MobileApplication",F.SDK="SDK",F.POS="POS",F.SuperPOS="SuperPOS",e.ConsumerFileType=void 0,(U=e.ConsumerFileType||(e.ConsumerFileType={})).Unspecified="Unspecified",U.FaceImage="FaceImage",U.IdentityDocumentFront="IdentityDocumentFront",U.IdentityDocumentBack="IdentityDocumentBack",U.Liveness="Liveness",U.ProfileImage="ProfileImage",U.Signature="Signature",e.Country=void 0,(W=e.Country||(e.Country={})).None="None",W.AFG="AFG",W.ALB="ALB",W.DZA="DZA",W.ASM="ASM",W.AND="AND",W.AGO="AGO",W.AIA="AIA",W.ATA="ATA",W.ATG="ATG",W.ARG="ARG",W.ARM="ARM",W.ABW="ABW",W.AUS="AUS",W.AUT="AUT",W.AZE="AZE",W.BHS="BHS",W.BHR="BHR",W.BGD="BGD",W.BRB="BRB",W.BLR="BLR",W.BEL="BEL",W.BLZ="BLZ",W.BEN="BEN",W.BMU="BMU",W.BTN="BTN",W.BOL="BOL",W.BES="BES",W.BIH="BIH",W.BWA="BWA",W.BVT="BVT",W.BRA="BRA",W.IOT="IOT",W.VGB="VGB",W.BRN="BRN",W.BGR="BGR",W.BFA="BFA",W.BDI="BDI",W.KHM="KHM",W.CMR="CMR",W.CAN="CAN",W.CPV="CPV",W.CYM="CYM",W.CAF="CAF",W.TCD="TCD",W.CHL="CHL",W.CHN="CHN",W.CXR="CXR",W.CCK="CCK",W.COL="COL",W.COM="COM",W.COG="COG",W.COK="COK",W.CRI="CRI",W.CIV="CIV",W.HRV="HRV",W.CUB="CUB",W.CUW="CUW",W.CYP="CYP",W.CZE="CZE",W.COD="COD",W.DNK="DNK",W.DJI="DJI",W.DMA="DMA",W.DOM="DOM",W.ECU="ECU",W.EGY="EGY",W.SLV="SLV",W.GNQ="GNQ",W.ERI="ERI",W.EST="EST",W.ETH="ETH",W.FLK="FLK",W.FRO="FRO",W.FJI="FJI",W.FIN="FIN",W.FRA="FRA",W.FXX="FXX",W.GUF="GUF",W.PYF="PYF",W.ATF="ATF",W.GAB="GAB",W.GMB="GMB",W.GEO="GEO",W.DEU="DEU",W.GHA="GHA",W.GIB="GIB",W.GRC="GRC",W.GRL="GRL",W.GRD="GRD",W.GLP="GLP",W.GUM="GUM",W.GTM="GTM",W.GIN="GIN",W.GNB="GNB",W.GUY="GUY",W.HTI="HTI",W.HMD="HMD",W.VAT="VAT",W.HND="HND",W.HKG="HKG",W.HUN="HUN",W.ISL="ISL",W.IND="IND",W.IDN="IDN",W.IRN="IRN",W.IRQ="IRQ",W.IRL="IRL",W.IMN="IMN",W.ISR="ISR",W.ITA="ITA",W.JAM="JAM",W.JPN="JPN",W.JOR="JOR",W.KAZ="KAZ",W.KEN="KEN",W.KIR="KIR",W.KOR="KOR",W.PRK="PRK",W.KWT="KWT",W.KGZ="KGZ",W.LAO="LAO",W.LVA="LVA",W.LBN="LBN",W.LSO="LSO",W.LBR="LBR",W.LBY="LBY",W.LIE="LIE",W.LTU="LTU",W.LUX="LUX",W.MAC="MAC",W.MKD="MKD",W.MDG="MDG",W.MWI="MWI",W.MYS="MYS",W.MDV="MDV",W.MLI="MLI",W.MLT="MLT",W.MHL="MHL",W.MTQ="MTQ",W.MRT="MRT",W.MUS="MUS",W.MYT="MYT",W.MEX="MEX",W.FSM="FSM",W.MDA="MDA",W.MCO="MCO",W.MNG="MNG",W.MSR="MSR",W.MNE="MNE",W.MAR="MAR",W.MOZ="MOZ",W.MMR="MMR",W.NAM="NAM",W.NRU="NRU",W.NPL="NPL",W.NLD="NLD",W.NCL="NCL",W.NZL="NZL",W.NIC="NIC",W.NER="NER",W.NGA="NGA",W.NIU="NIU",W.NFK="NFK",W.MNP="MNP",W.NOR="NOR",W.OMN="OMN",W.PAK="PAK",W.PLW="PLW",W.PSE="PSE",W.PAN="PAN",W.PNG="PNG",W.PRY="PRY",W.PER="PER",W.PHL="PHL",W.PCN="PCN",W.POL="POL",W.PRT="PRT",W.PRI="PRI",W.QAT="QAT",W.REU="REU",W.ROU="ROU",W.RUS="RUS",W.RWA="RWA",W.WSM="WSM",W.SMR="SMR",W.STP="STP",W.SAU="SAU",W.SEN="SEN",W.SRB="SRB",W.SYC="SYC",W.SLE="SLE",W.SGP="SGP",W.SXM="SXM",W.SVK="SVK",W.SVN="SVN",W.SLB="SLB",W.SOM="SOM",W.ZAF="ZAF",W.SGS="SGS",W.SSD="SSD",W.ESP="ESP",W.LKA="LKA",W.SHN="SHN",W.KNA="KNA",W.LCA="LCA",W.MAF="MAF",W.SPM="SPM",W.VCT="VCT",W.SDN="SDN",W.SUR="SUR",W.SJM="SJM",W.SWZ="SWZ",W.SWE="SWE",W.CHE="CHE",W.SYR="SYR",W.TWN="TWN",W.TJK="TJK",W.TZA="TZA",W.THA="THA",W.TLS="TLS",W.TGO="TGO",W.TKL="TKL",W.TON="TON",W.TTO="TTO",W.TUN="TUN",W.TUR="TUR",W.TKM="TKM",W.TCA="TCA",W.TUV="TUV",W.UGA="UGA",W.UKR="UKR",W.ARE="ARE",W.GBR="GBR",W.QZZ="QZZ",W.USA="USA",W.UMI="UMI",W.VIR="VIR",W.URY="URY",W.UZB="UZB",W.VUT="VUT",W.VEN="VEN",W.VNM="VNM",W.WLF="WLF",W.ESH="ESH",W.YEM="YEM",W.ZMB="ZMB",W.ZWE="ZWE",e.Currency=void 0,(q=e.Currency||(e.Currency={})).None="None",q.AFN="AFN",q.ALL="ALL",q.ANG="ANG",q.ARS="ARS",q.AUD="AUD",q.AWG="AWG",q.AZN="AZN",q.BAM="BAM",q.BBD="BBD",q.BGN="BGN",q.BMD="BMD",q.BND="BND",q.BOB="BOB",q.BRL="BRL",q.BSD="BSD",q.BWP="BWP",q.BYN="BYN",q.BZD="BZD",q.CAD="CAD",q.CHF="CHF",q.CLP="CLP",q.CNY="CNY",q.COP="COP",q.CRC="CRC",q.CUP="CUP",q.CZK="CZK",q.DKK="DKK",q.DOP="DOP",q.EGP="EGP",q.EUR="EUR",q.FJD="FJD",q.FKP="FKP",q.GBP="GBP",q.GHS="GHS",q.GIP="GIP",q.GTQ="GTQ",q.GYD="GYD",q.HKD="HKD",q.HNL="HNL",q.HRK="HRK",q.HUF="HUF",q.IDR="IDR",q.ILS="ILS",q.INR="INR",q.IRR="IRR",q.ISK="ISK",q.JMD="JMD",q.JPY="JPY",q.KGS="KGS",q.KHR="KHR",q.KPW="KPW",q.KRW="KRW",q.KYD="KYD",q.KZT="KZT",q.LAK="LAK",q.LBP="LBP",q.LKR="LKR",q.LRD="LRD",q.MKD="MKD",q.MNT="MNT",q.MUR="MUR",q.MXN="MXN",q.MYR="MYR",q.MZN="MZN",q.NAD="NAD",q.NGN="NGN",q.NIO="NIO",q.NOK="NOK",q.NPR="NPR",q.NZD="NZD",q.OMR="OMR",q.PAB="PAB",q.PEN="PEN",q.PHP="PHP",q.PKR="PKR",q.PLN="PLN",q.PYG="PYG",q.QAR="QAR",q.RON="RON",q.RSD="RSD",q.RUB="RUB",q.SAR="SAR",q.SBD="SBD",q.SCR="SCR",q.SEK="SEK",q.SGD="SGD",q.SHP="SHP",q.SOS="SOS",q.SRD="SRD",q.SVC="SVC",q.SYP="SYP",q.THB="THB",q.TRY="TRY",q.TTD="TTD",q.TWD="TWD",q.UAH="UAH",q.USD="USD",q.UYU="UYU",q.UZS="UZS",q.VES="VES",q.VND="VND",q.XCD="XCD",q.YER="YER",q.ZAR="ZAR",q.ZWD="ZWD",e.DayOfWeek=void 0,(V=e.DayOfWeek||(e.DayOfWeek={})).Sunday="Sunday",V.Monday="Monday",V.Tuesday="Tuesday",V.Wednesday="Wednesday",V.Thursday="Thursday",V.Friday="Friday",V.Saturday="Saturday",e.FaceMovementDetectionLevel=void 0,(K=e.FaceMovementDetectionLevel||(e.FaceMovementDetectionLevel={})).None="None",K.OneRangeOfMotion="OneRangeOfMotion",K.MultipleRangesOfMotion="MultipleRangesOfMotion",K.AllRangesOfMotion="AllRangesOfMotion",e.Gender=void 0,(x=e.Gender||(e.Gender={})).Male="Male",x.Female="Female",e.IdentityDocumentType=void 0,(j=e.IdentityDocumentType||(e.IdentityDocumentType={})).None="None",j.National="National",j.Passport="Passport",j.Drivers="Drivers",j.Other="Other",j.GhanaCard="GhanaCard",j.SocialSecurity="SocialSecurity",j.Voter="Voter",j.IdCard="IdCard",e.KybProvider=void 0,(Z=e.KybProvider||(e.KybProvider={})).None="None",Z.Manual="Manual",e.KybStatus=void 0,(Y=e.KybStatus||(e.KybStatus={})).NotRequired="NotRequired",Y.Unverified="Unverified",Y.Verified="Verified",Y.Rejected="Rejected",e.KycProvider=void 0,(Q=e.KycProvider||(e.KycProvider={})).None="None",Q.SmileIdentity="SmileIdentity",Q.GMoney="GMoney",Q.NIA="NIA",Q.Manual="Manual",e.KycStatus=void 0,(J=e.KycStatus||(e.KycStatus={})).None="None",J.Unverified="Unverified",J.Verified="Verified",J.Rejected="Rejected",J.Review="Review",e.KycVerificationType=void 0,(z=e.KycVerificationType||(e.KycVerificationType={})).Identity="Identity",z.Liveness="Liveness",z.Facial="Facial",e.Language=void 0,(X=e.Language||(e.Language={})).None="None",X.AAR="AAR",X.AFR="AFR",X.AGQ="AGQ",X.AKA="AKA",X.AMH="AMH",X.ARA="ARA",X.ARN="ARN",X.ASM="ASM",X.ASA="ASA",X.AST="AST",X.AZE="AZE",X.BAK="BAK",X.BAS="BAS",X.BEL="BEL",X.BEM="BEM",X.BEZ="BEZ",X.BUL="BUL",X.BIN="BIN",X.BAM="BAM",X.BEN="BEN",X.BOD="BOD",X.BRE="BRE",X.BRX="BRX",X.BOS="BOS",X.BYN="BYN",X.CAT="CAT",X.CHE="CHE",X.CGG="CGG",X.CHR="CHR",X.COS="COS",X.CES="CES",X.CHU="CHU",X.CYM="CYM",X.DAN="DAN",X.DAV="DAV",X.DEU="DEU",X.DJE="DJE",X.DSB="DSB",X.DUA="DUA",X.DIV="DIV",X.DYO="DYO",X.DZO="DZO",X.EBU="EBU",X.EWE="EWE",X.ELL="ELL",X.ENG="ENG",X.EPO="EPO",X.SPA="SPA",X.EST="EST",X.EUS="EUS",X.EWO="EWO",X.FAS="FAS",X.FUL="FUL",X.FIN="FIN",X.FIL="FIL",X.FAO="FAO",X.FRA="FRA",X.FUR="FUR",X.FRY="FRY",X.GLE="GLE",X.GLA="GLA",X.GLG="GLG",X.GRN="GRN",X.GSW="GSW",X.GUJ="GUJ",X.GUZ="GUZ",X.GLV="GLV",X.HAU="HAU",X.HAW="HAW",X.HEB="HEB",X.HIN="HIN",X.HRV="HRV",X.HSB="HSB",X.HUN="HUN",X.HYE="HYE",X.INA="INA",X.IBB="IBB",X.IND="IND",X.IBO="IBO",X.III="III",X.ISL="ISL",X.ITA="ITA",X.IKU="IKU",X.JPN="JPN",X.JGO="JGO",X.JMC="JMC",X.JAV="JAV",X.KAT="KAT",X.KAB="KAB",X.KAM="KAM",X.KDE="KDE",X.KEA="KEA",X.KHQ="KHQ",X.KIK="KIK",X.KAZ="KAZ",X.KKJ="KKJ",X.KAL="KAL",X.KLN="KLN",X.KHM="KHM",X.KAN="KAN",X.KOR="KOR",X.KOK="KOK",X.KAU="KAU",X.KAS="KAS",X.KSB="KSB",X.KSF="KSF",X.KSH="KSH",X.KUR="KUR",X.COR="COR",X.KIR="KIR",X.LAT="LAT",X.LAG="LAG",X.LTZ="LTZ",X.LUG="LUG",X.LKT="LKT",X.LIN="LIN",X.LAO="LAO",X.LRC="LRC",X.LIT="LIT",X.LUB="LUB",X.LUO="LUO",X.LUY="LUY",X.LAV="LAV",X.MAS="MAS",X.MER="MER",X.MFE="MFE",X.MLG="MLG",X.MGH="MGH",X.MGO="MGO",X.MRI="MRI",X.MKD="MKD",X.MAL="MAL",X.MON="MON",X.MNI="MNI",X.MOH="MOH",X.MAR="MAR",X.MSA="MSA",X.MLT="MLT",X.MUA="MUA",X.MYA="MYA",X.MZN="MZN",X.NAQ="NAQ",X.NDE="NDE",X.NDS="NDS",X.NEP="NEP",X.NLD="NLD",X.NMG="NMG",X.NNO="NNO",X.NNH="NNH",X.NOB="NOB",X.NQO="NQO",X.NBL="NBL",X.NSO="NSO",X.NUS="NUS",X.NYN="NYN",X.OCI="OCI",X.ORM="ORM",X.ORI="ORI",X.OSS="OSS",X.PAN="PAN",X.PAP="PAP",X.POL="POL",X.PRG="PRG",X.PRS="PRS",X.PUS="PUS",X.POR="POR",X.QUC="QUC",X.QUB="QUB",X.ROH="ROH",X.RUN="RUN",X.RON="RON",X.ROF="ROF",X.RUS="RUS",X.KIN="KIN",X.RWK="RWK",X.SAN="SAN",X.SAH="SAH",X.SAQ="SAQ",X.SBP="SBP",X.SND="SND",X.SME="SME",X.SEH="SEH",X.SES="SES",X.SAG="SAG",X.SHI="SHI",X.SIN="SIN",X.SLK="SLK",X.SLV="SLV",X.SMA="SMA",X.SMJ="SMJ",X.SMN="SMN",X.SMS="SMS",X.SNA="SNA",X.SOM="SOM",X.SQI="SQI",X.SRP="SRP",X.SSW="SSW",X.SSY="SSY",X.SOT="SOT",X.SWE="SWE",X.SWA="SWA",X.SYR="SYR",X.TAM="TAM",X.TEL="TEL",X.TEO="TEO",X.TGK="TGK",X.THA="THA",X.TIR="TIR",X.TIG="TIG",X.TUK="TUK",X.TSN="TSN",X.TON="TON",X.TUR="TUR",X.TSO="TSO",X.TAT="TAT",X.TWQ="TWQ",X.TZM="TZM",X.UIG="UIG",X.UKR="UKR",X.URD="URD",X.UZB="UZB",X.VAI="VAI",X.VEN="VEN",X.VIE="VIE",X.VOL="VOL",X.VUN="VUN",X.WAE="WAE",X.WAL="WAL",X.WOL="WOL",X.XHO="XHO",X.XOG="XOG",X.YAV="YAV",X.YID="YID",X.YOR="YOR",X.ZGH="ZGH",X.ZHO="ZHO",X.ZUL="ZUL",e.MerchantCategory=void 0,function(e){e[e.None=0]="None",e[e.CommerceBankODP=11]="CommerceBankODP",e[e.PostageTransactionCharge=701]="PostageTransactionCharge",e[e.VeterinaryServices=742]="VeterinaryServices",e[e.AgriculturalCooperatives=763]="AgriculturalCooperatives",e[e.LandscapingAndHorticulturalServices=780]="LandscapingAndHorticulturalServices",e[e.GeneralContractorsResidentialAndCommercial=1520]="GeneralContractorsResidentialAndCommercial",e[e.HeatingPlumbingAndAirConditioningContractors=1711]="HeatingPlumbingAndAirConditioningContractors",e[e.ElectricalContractors=1731]="ElectricalContractors",e[e.MasonryStoneworkTileSettingPlasteringAndInsulationContractors=1740]="MasonryStoneworkTileSettingPlasteringAndInsulationContractors",e[e.CarpentryContractors=1750]="CarpentryContractors",e[e.RoofingSidingAndSheetMetalWorkContractors=1761]="RoofingSidingAndSheetMetalWorkContractors",e[e.AsphaltCementAndConcreteWorkContractors=1771]="AsphaltCementAndConcreteWorkContractors",e[e.SpecialTradeContractors=1799]="SpecialTradeContractors",e[e.MiscellaneousPublishingAndPrinting=2741]="MiscellaneousPublishingAndPrinting",e[e.TypesettingPlateMakingAndRelatedServices=2791]="TypesettingPlateMakingAndRelatedServices",e[e.SpecialtyCleaningPolishingAndSanitationPreparations=2842]="SpecialtyCleaningPolishingAndSanitationPreparations",e[e.UnitedAirlines=3e3]="UnitedAirlines",e[e.AmericanAirlines=3001]="AmericanAirlines",e[e.PanAmerican=3002]="PanAmerican",e[e.EuroflyAirlines=3003]="EuroflyAirlines",e[e.Dragonair=3004]="Dragonair",e[e.BritishAirways=3005]="BritishAirways",e[e.JapanAirlines=3006]="JapanAirlines",e[e.AirFrance=3007]="AirFrance",e[e.Lufthansa=3008]="Lufthansa",e[e.AirCanada=3009]="AirCanada",e[e.KLMRoyalDutchAirlines=3010]="KLMRoyalDutchAirlines",e[e.Aeroflot=3011]="Aeroflot",e[e.Qantas=3012]="Qantas",e[e.Alitalia=3013]="Alitalia",e[e.SaudiArabianAirlines=3014]="SaudiArabianAirlines",e[e.SwissInternationalAirlines=3015]="SwissInternationalAirlines",e[e.SAS=3016]="SAS",e[e.SouthAfricanAirways=3017]="SouthAfricanAirways",e[e.VarigAirBrazil=3018]="VarigAirBrazil",e[e.Germanwings=3019]="Germanwings",e[e.AirIndia=3020]="AirIndia",e[e.AirAlgerie=3021]="AirAlgerie",e[e.PALAir=3022]="PALAir",e[e.Mexicana=3023]="Mexicana",e[e.PakistanInternational=3024]="PakistanInternational",e[e.AirNewZealand=3025]="AirNewZealand",e[e.EmiratesAirlines=3026]="EmiratesAirlines",e[e.UTAInterair=3027]="UTAInterair",e[e.AirMalta=3028]="AirMalta",e[e.SNBrusselsAirlines=3029]="SNBrusselsAirlines",e[e.AerolineasArgentinas=3030]="AerolineasArgentinas",e[e.OlympicAirways=3031]="OlympicAirways",e[e.ElAl=3032]="ElAl",e[e.AnsettAirlines=3033]="AnsettAirlines",e[e.EtihadAirways=3034]="EtihadAirways",e[e.TAPPortugal=3035]="TAPPortugal",e[e.VASPBrazil=3036]="VASPBrazil",e[e.Egyptair=3037]="Egyptair",e[e.KuwaitAirways=3038]="KuwaitAirways",e[e.Avianca=3039]="Avianca",e[e.GulfAirBahrain=3040]="GulfAirBahrain",e[e.BalkanBulgarianAirlines=3041]="BalkanBulgarianAirlines",e[e.Finnair=3042]="Finnair",e[e.AerLingus=3043]="AerLingus",e[e.AirLanka=3044]="AirLanka",e[e.NigeriaAirways=3045]="NigeriaAirways",e[e.CruzeiroDoSulBrazil=3046]="CruzeiroDoSulBrazil",e[e.THYTurkey=3047]="THYTurkey",e[e.Airmaro=3048]="Airmaro",e[e.TunisAir=3049]="TunisAir",e[e.Icelandair=3050]="Icelandair",e[e.AustrianAirlines=3051]="AustrianAirlines",e[e.LANAirlinesLanair=3052]="LANAirlinesLanair",e[e.AviacoSpain=3053]="AviacoSpain",e[e.LadecoChile=3054]="LadecoChile",e[e.LABBolivia=3055]="LABBolivia",e[e.JetAirways=3056]="JetAirways",e[e.EastWestAirlinesAustralia=3057]="EastWestAirlinesAustralia",e[e.Delta=3058]="Delta",e[e.DLAAirlinesRepublic=3059]="DLAAirlinesRepublic",e[e.Northwest=3060]="Northwest",e[e.Continental=3061]="Continental",e[e.WesternAirlinesHapagLloydExpress=3062]="WesternAirlinesHapagLloydExpress",e[e.USAir=3063]="USAir",e[e.AdriaAirways=3064]="AdriaAirways",e[e.Airinter=3065]="Airinter",e[e.Southwest=3066]="Southwest",e[e.VanguardAirlines=3067]="VanguardAirlines",e[e.AirAstana=3068]="AirAstana",e[e.AirEurope=3069]="AirEurope",e[e.FlyDubai=3070]="FlyDubai",e[e.AirBritishColumbia=3071]="AirBritishColumbia",e[e.CebuPac=3072]="CebuPac",e[e.AirCal=3073]="AirCal",e[e.SingaporeAirlines=3075]="SingaporeAirlines",e[e.Aeromexico=3076]="Aeromexico",e[e.ThaiAirways=3077]="ThaiAirways",e[e.ChinaAirlines=3078]="ChinaAirlines",e[e.JetstarAirlines=3079]="JetstarAirlines",e[e.SwoopInc=3080]="SwoopInc",e[e.XiamenAirlines=3081]="XiamenAirlines",e[e.KoreanAirlines=3082]="KoreanAirlines",e[e.AirAfriqueAirAfriq=3083]="AirAfriqueAirAfriq",e[e.EVAAirways=3084]="EVAAirways",e[e.MidwestExpress=3085]="MidwestExpress",e[e.CarnivalAirlines=3086]="CarnivalAirlines",e[e.MetroAirlines=3087]="MetroAirlines",e[e.CroatiaAirlines=3088]="CroatiaAirlines",e[e.Transaero=3089]="Transaero",e[e.UniAirways=3090]="UniAirways",e[e.MidwayAirlines=3092]="MidwayAirlines",e[e.ZambiaAirways=3094]="ZambiaAirways",e[e.Wardair=3095]="Wardair",e[e.AirZimbabwe=3096]="AirZimbabwe",e[e.Spanair=3097]="Spanair",e[e.AsiannaAirlines=3098]="AsiannaAirlines",e[e.CathayPacific=3099]="CathayPacific",e[e.MalaysianAirlineSystem=3100]="MalaysianAirlineSystem",e[e.UTA=3101]="UTA",e[e.Iberia=3102]="Iberia",e[e.GarudaIndonesia=3103]="GarudaIndonesia",e[e.Piedmont=3105]="Piedmont",e[e.BraathensSAFENorway=3106]="BraathensSAFENorway",e[e.WorldAirways=3108]="WorldAirways",e[e.WingsAirways=3110]="WingsAirways",e[e.BritishMidland=3111]="BritishMidland",e[e.WindwardIsland=3112]="WindwardIsland",e[e.TowerAir=3115]="TowerAir",e[e.VenezolanaInternationalDeAviacion=3117]="VenezolanaInternationalDeAviacion",e[e.ValleyAirlines=3118]="ValleyAirlines",e[e.TAN=3125]="TAN",e[e.Talair=3126]="Talair",e[e.TACAInternational=3127]="TACAInternational",e[e.SurinamAirways=3129]="SurinamAirways",e[e.SunWorldInternational=3130]="SunWorldInternational",e[e.VLMAirlines=3131]="VLMAirlines",e[e.FrontierAirlines=3132]="FrontierAirlines",e[e.SunbeltAirlines=3133]="SunbeltAirlines",e[e.SudanAirways=3135]="SudanAirways",e[e.QatarAirways=3136]="QatarAirways",e[e.SingletonAir=3137]="SingletonAir",e[e.SimmonsAirlines=3138]="SimmonsAirlines",e[e.SeairAlaska=3141]="SeairAlaska",e[e.ScenicAirlines=3143]="ScenicAirlines",e[e.VirginAtlantic=3144]="VirginAtlantic",e[e.SanJuanAirlines=3145]="SanJuanAirlines",e[e.Luxair=3146]="Luxair",e[e.AirLittoralSA=3148]="AirLittoralSA",e[e.AirZaire=3151]="AirZaire",e[e.Princeville=3154]="Princeville",e[e.GoFlyLtd=3156]="GoFlyLtd",e[e.ProvincetownBostonAirways=3159]="ProvincetownBostonAirways",e[e.AllNipponAirways=3161]="AllNipponAirways",e[e.Nortonair=3164]="Nortonair",e[e.NewYorkHelicopter=3165]="NewYorkHelicopter",e[e.AeroContinente=3167]="AeroContinente",e[e.MountCook=3170]="MountCook",e[e.CanadianAirlinesInternational=3171]="CanadianAirlinesInternational",e[e.Nationair=3172]="Nationair",e[e.JetblueAirlines=3174]="JetblueAirlines",e[e.MiddleEastAir=3175]="MiddleEastAir",e[e.MetroflightAirlines=3176]="MetroflightAirlines",e[e.AirtranAirways=3177]="AirtranAirways",e[e.MesaAir=3178]="MesaAir",e[e.Westjetair=3180]="Westjetair",e[e.Malev=3181]="Malev",e[e.LOTPoland=3182]="LOTPoland",e[e.Omanair=3183]="Omanair",e[e.LIAT=3184]="LIAT",e[e.LAVVenezuela=3185]="LAVVenezuela",e[e.LineasAereasParaguayas=3186]="LineasAereasParaguayas",e[e.LACSACostaRica=3187]="LACSACostaRica",e[e.VirginExpress=3188]="VirginExpress",e[e.JugoslavAir=3190]="JugoslavAir",e[e.IslandAirlines=3191]="IslandAirlines",e[e.IranAir=3192]="IranAir",e[e.IndianAirlines=3193]="IndianAirlines",e[e.HolidayAirlines=3195]="HolidayAirlines",e[e.HawaiianAir=3196]="HawaiianAir",e[e.HavasuAirlines=3197]="HavasuAirlines",e[e.HarborAirlines=3198]="HarborAirlines",e[e.ServiciosAereosMilitares=3199]="ServiciosAereosMilitares",e[e.GuyanaAirways=3200]="GuyanaAirways",e[e.GoldenPacificAir=3203]="GoldenPacificAir",e[e.FreedomAir=3204]="FreedomAir",e[e.ChinaEasternAirlines=3206]="ChinaEasternAirlines",e[e.EmpresaEcuatorinana=3207]="EmpresaEcuatorinana",e[e.NorwegianAirShuttle=3211]="NorwegianAirShuttle",e[e.Dominicana=3212]="Dominicana",e[e.BraathensRegionalAirlines=3213]="BraathensRegionalAirlines",e[e.DanAirServices=3215]="DanAirServices",e[e.CumberlandAirlines=3216]="CumberlandAirlines",e[e.CSA=3217]="CSA",e[e.CrownAir=3218]="CrownAir",e[e.Copa=3219]="Copa",e[e.CompaniaFaucett=3220]="CompaniaFaucett",e[e.TransportesAerosMilitaresEcuatorianos=3221]="TransportesAerosMilitaresEcuatorianos",e[e.CommandAirways=3222]="CommandAirways",e[e.Comair=3223]="Comair",e[e.SkywaysAir=3226]="SkywaysAir",e[e.CaymanAirways=3228]="CaymanAirways",e[e.SAETASociedadEcuatorianosDeTransportesAereos=3229]="SAETASociedadEcuatorianosDeTransportesAereos",e[e.SAHSAServicioAeroDeHonduras=3231]="SAHSAServicioAeroDeHonduras",e[e.CapitolAir=3233]="CapitolAir",e[e.CaribbeanAirlines=3234]="CaribbeanAirlines",e[e.BrockwayAir=3235]="BrockwayAir",e[e.AirArabia=3236]="AirArabia",e[e.BemidjiAviation=3238]="BemidjiAviation",e[e.BarHarborAirlines=3239]="BarHarborAirlines",e[e.Bahamasair=3240]="Bahamasair",e[e.AviatecaGuatemala=3241]="AviatecaGuatemala",e[e.CaribbeanAirlinesCaribbean=3242]="CaribbeanAirlinesCaribbean",e[e.AustrianAirService=3243]="AustrianAirService",e[e.EasyjetAir=3245]="EasyjetAir",e[e.Ryanair=3246]="Ryanair",e[e.GOLAir=3247]="GOLAir",e[e.TAMAir=3248]="TAMAir",e[e.AlohaAirlines=3251]="AlohaAirlines",e[e.ALM=3252]="ALM",e[e.AmericaWest=3253]="AmericaWest",e[e.USAirShuttle=3254]="USAirShuttle",e[e.AlaskaAirlines=3256]="AlaskaAirlines",e[e.AmericanTransAir=3259]="AmericanTransAir",e[e.SpiritAirlines=3260]="SpiritAirlines",e[e.AirChina=3261]="AirChina",e[e.RenoAirInc=3262]="RenoAirInc",e[e.AeroServicioCaraboboASERCA=3263]="AeroServicioCaraboboASERCA",e[e.AirSeychelles=3266]="AirSeychelles",e[e.AirPanama=3267]="AirPanama",e[e.AirPacific=3268]="AirPacific",e[e.RicaHotels=3273]="RicaHotels",e[e.InterNorHotels=3274]="InterNorHotels",e[e.AirNevada=3275]="AirNevada",e[e.AirMidwest=3276]="AirMidwest",e[e.AirMadagascar=3277]="AirMadagascar",e[e.AirLA=3279]="AirLA",e[e.AirJamaica=3280]="AirJamaica",e[e.AirDjibouti=3281]="AirDjibouti",e[e.AirDjiboutiDuplicate=3282]="AirDjiboutiDuplicate",e[e.AeroVirginIslands=3284]="AeroVirginIslands",e[e.Aeroperu=3285]="Aeroperu",e[e.AerolineasNicaraguensis=3286]="AerolineasNicaraguensis",e[e.AeroCoachAviation=3287]="AeroCoachAviation",e[e.ArianaAfghan=3291]="ArianaAfghan",e[e.CyprusAirways=3292]="CyprusAirways",e[e.Ecuatoriana=3293]="Ecuatoriana",e[e.EthiopianAirlines=3294]="EthiopianAirlines",e[e.KenyaAirways=3295]="KenyaAirways",e[e.AirBerlin=3296]="AirBerlin",e[e.Tarom=3297]="Tarom",e[e.AirMauritius=3298]="AirMauritius",e[e.WideroeFlyveselskap=3299]="WideroeFlyveselskap",e[e.AzulBrazilianAirlines=3300]="AzulBrazilianAirlines",e[e.WizzAirlines=3301]="WizzAirlines",e[e.FlybeLtd=3302]="FlybeLtd",e[e.Tigerair=3303]="Tigerair",e[e.ChinaSouthern=3308]="ChinaSouthern",e[e.AffiliatedAutoRental=3351]="AffiliatedAutoRental",e[e.AmericanInternational=3352]="AmericanInternational",e[e.BrooksRentACar=3353]="BrooksRentACar",e[e.ActionAutoRental=3354]="ActionAutoRental",e[e.SixtCarRental=3355]="SixtCarRental",e[e.HertzRentACar=3357]="HertzRentACar",e[e.PaylessCarRental=3359]="PaylessCarRental",e[e.SnappyCarRental=3360]="SnappyCarRental",e[e.AirwaysRentACar=3361]="AirwaysRentACar",e[e.AltraAutoRental=3362]="AltraAutoRental",e[e.AgencyRentACar=3364]="AgencyRentACar",e[e.BudgetRentACar=3366]="BudgetRentACar",e[e.HolidayRentACar=3368]="HolidayRentACar",e[e.RentAWreck=3370]="RentAWreck",e[e.AccentRentACar=3374]="AccentRentACar",e[e.AjaxRentACar=3376]="AjaxRentACar",e[e.TriangleRentACar=3380]="TriangleRentACar",e[e.EuropCar=3381]="EuropCar",e[e.TropicalRentACar=3385]="TropicalRentACar",e[e.ShowcaseRentalCars=3386]="ShowcaseRentalCars",e[e.AlamoRentACar=3387]="AlamoRentACar",e[e.MerchantsRentACar=3388]="MerchantsRentACar",e[e.AvisRentACar=3389]="AvisRentACar",e[e.DollarRentACar=3390]="DollarRentACar",e[e.EuropeByCar=3391]="EuropeByCar",e[e.NationalCarRental=3393]="NationalCarRental",e[e.KemwellGroupRentACar=3394]="KemwellGroupRentACar",e[e.ThriftyRentACar=3395]="ThriftyRentACar",e[e.TildenRentACar=3396]="TildenRentACar",e[e.EconoCarRentACar=3398]="EconoCarRentACar",e[e.AmerexRentACar=3399]="AmerexRentACar",e[e.AutoHostCarRentals=3400]="AutoHostCarRentals",e[e.EnterpriseRentACar=3405]="EnterpriseRentACar",e[e.GeneralRentACar=3409]="GeneralRentACar",e[e.AtlantaRentACar=3411]="AtlantaRentACar",e[e.A1RentACar=3412]="A1RentACar",e[e.GodfreyNatlRentACar=3414]="GodfreyNatlRentACar",e[e.AlphaRentACar=3419]="AlphaRentACar",e[e.AnsaIntlRentACar=3420]="AnsaIntlRentACar",e[e.AllstateRentACar=3421]="AllstateRentACar",e[e.AvcarRentACar=3423]="AvcarRentACar",e[e.AutomateRentACar=3425]="AutomateRentACar",e[e.AvonRentACar=3427]="AvonRentACar",e[e.CareyRentACar=3428]="CareyRentACar",e[e.InsuranceRentACar=3429]="InsuranceRentACar",e[e.MajorRentACar=3430]="MajorRentACar",e[e.ReplacementRentACar=3431]="ReplacementRentACar",e[e.ReserveRentACar=3432]="ReserveRentACar",e[e.UglyDucklingRentACar=3433]="UglyDucklingRentACar",e[e.USARentACar=3434]="USARentACar",e[e.ValueRentACar=3435]="ValueRentACar",e[e.AutohansaRentACar=3436]="AutohansaRentACar",e[e.CiteRentACar=3437]="CiteRentACar",e[e.InterentRentACar=3438]="InterentRentACar",e[e.MillevilleRentACar=3439]="MillevilleRentACar",e[e.ViaRouteRentACar=3440]="ViaRouteRentACar",e[e.AdvantageRentACar=3441]="AdvantageRentACar",e[e.HolidayInns=3501]="HolidayInns",e[e.BestWesternHotels=3502]="BestWesternHotels",e[e.SheratonHotels=3503]="SheratonHotels",e[e.HiltonHotels=3504]="HiltonHotels",e[e.ForteHotels=3505]="ForteHotels",e[e.GoldenTulipHotels=3506]="GoldenTulipHotels",e[e.FriendshipInns=3507]="FriendshipInns",e[e.QualityInnsQualitySuites=3508]="QualityInnsQualitySuites",e[e.MarriottHotels=3509]="MarriottHotels",e[e.DaysInnsDaystop=3510]="DaysInnsDaystop",e[e.ArabellaHotels=3511]="ArabellaHotels",e[e.InterContinentalHotels=3512]="InterContinentalHotels",e[e.WestinHotels=3513]="WestinHotels",e[e.AmeriSuites=3514]="AmeriSuites",e[e.RodewayInns=3515]="RodewayInns",e[e.LaQuintaMotorInns=3516]="LaQuintaMotorInns",e[e.AmericanaHotels=3517]="AmericanaHotels",e[e.SolHotels=3518]="SolHotels",e[e.PullmanInternationalHotels=3519]="PullmanInternationalHotels",e[e.MeridienHotels=3520]="MeridienHotels",e[e.RoyalLahainaResorts=3521]="RoyalLahainaResorts",e[e.TokyoHotel=3522]="TokyoHotel",e[e.PeninsulaHotel=3523]="PeninsulaHotel",e[e.WelcomgroupHotels=3524]="WelcomgroupHotels",e[e.DunfeyHotels=3525]="DunfeyHotels",e[e.PrinceHotels=3526]="PrinceHotels",e[e.DowntownerPassportHotel=3527]="DowntownerPassportHotel",e[e.RedLionHotelsRedLionInns=3528]="RedLionHotelsRedLionInns",e[e.CPHotels=3529]="CPHotels",e[e.RenaissanceHotels=3530]="RenaissanceHotels",e[e.KauaiCoconutBeachResort=3531]="KauaiCoconutBeachResort",e[e.RoyalKonaResort=3532]="RoyalKonaResort",e[e.HotelIbis=3533]="HotelIbis",e[e.SouthernPacificHotels=3534]="SouthernPacificHotels",e[e.HiltonInternational=3535]="HiltonInternational",e[e.AmfacHotels=3536]="AmfacHotels",e[e.ANAHotel=3537]="ANAHotel",e[e.ConcordeHotels=3538]="ConcordeHotels",e[e.SummerfieldSuitesHotel=3539]="SummerfieldSuitesHotel",e[e.IberotelHotels=3540]="IberotelHotels",e[e.HotelOkura=3541]="HotelOkura",e[e.RoyalHotels=3542]="RoyalHotels",e[e.FourSeasonsHotels=3543]="FourSeasonsHotels",e[e.CigaHotels=3544]="CigaHotels",e[e.ShangriLaInternational=3545]="ShangriLaInternational",e[e.SierraSuitesHotels=3546]="SierraSuitesHotels",e[e.BreakersResort=3547]="BreakersResort",e[e.HotelsMelia=3548]="HotelsMelia",e[e.AubergeDesGouverneurs=3549]="AubergeDesGouverneurs",e[e.Regal8Inns=3550]="Regal8Inns",e[e.MirageHotelAndCasino=3551]="MirageHotelAndCasino",e[e.CoastHotels=3552]="CoastHotels",e[e.ParkInnsInternational=3553]="ParkInnsInternational",e[e.PinehurstResort=3554]="PinehurstResort",e[e.TreasureIslandHotelAndCasino=3555]="TreasureIslandHotelAndCasino",e[e.BartonCreekResort=3556]="BartonCreekResort",e[e.ManhattanEastSuiteHotels=3557]="ManhattanEastSuiteHotels",e[e.JollyHotels=3558]="JollyHotels",e[e.CandlewoodSuitesThistleHotels=3559]="CandlewoodSuitesThistleHotels",e[e.AladdinResortAndCasino=3560]="AladdinResortAndCasino",e[e.GoldenNugget=3561]="GoldenNugget",e[e.ComfortInns=3562]="ComfortInns",e[e.JourneysEndMotels=3563]="JourneysEndMotels",e[e.SamsTownHotelAndCasino=3564]="SamsTownHotelAndCasino",e[e.RelaxInns=3565]="RelaxInns",e[e.GardenPlaceHotel=3566]="GardenPlaceHotel",e[e.SohoGrandHotel=3567]="SohoGrandHotel",e[e.LadbrokeHotels=3568]="LadbrokeHotels",e[e.TribecaGrandHotel=3569]="TribecaGrandHotel",e[e.ForumHotels=3570]="ForumHotels",e[e.GrandWaileaResort=3571]="GrandWaileaResort",e[e.MiyakoHotels=3572]="MiyakoHotels",e[e.SandmanHotels=3573]="SandmanHotels",e[e.VentureInns=3574]="VentureInns",e[e.VagabondHotels=3575]="VagabondHotels",e[e.LaQuintaResort=3576]="LaQuintaResort",e[e.MandarinOrientalHotel=3577]="MandarinOrientalHotel",e[e.FrankenmuthBavarian=3578]="FrankenmuthBavarian",e[e.HotelMercure=3579]="HotelMercure",e[e.HotelDelCoronado=3580]="HotelDelCoronado",e[e.DeltaHotel=3581]="DeltaHotel",e[e.CaliforniaHotelAndCasino=3582]="CaliforniaHotelAndCasino",e[e.SasHotels=3583]="SasHotels",e[e.PrincessHotelsInternational=3584]="PrincessHotelsInternational",e[e.HungarHotels=3585]="HungarHotels",e[e.SokosHotels=3586]="SokosHotels",e[e.DoralHotels=3587]="DoralHotels",e[e.HelmsleyHotels=3588]="HelmsleyHotels",e[e.DoralGolfResort=3589]="DoralGolfResort",e[e.FairmontHotels=3590]="FairmontHotels",e[e.SonestaHotels=3591]="SonestaHotels",e[e.OmniHotels=3592]="OmniHotels",e[e.CunardHotels=3593]="CunardHotels",e[e.ArizonaBiltmore=3594]="ArizonaBiltmore",e[e.HospitalityInns=3595]="HospitalityInns",e[e.WynnLasVegas=3596]="WynnLasVegas",e[e.RiversideResortAndCasino=3597]="RiversideResortAndCasino",e[e.RegentInternationalHotels=3598]="RegentInternationalHotels",e[e.PannoniaHotels=3599]="PannoniaHotels",e[e.SaddlebrookResort=3600]="SaddlebrookResort",e[e.TradeWindsResort=3601]="TradeWindsResort",e[e.HudsonHotel=3602]="HudsonHotel",e[e.NoahsHotels=3603]="NoahsHotels",e[e.HiltonGardenResortInn=3604]="HiltonGardenResortInn",e[e.JurysDoyleHotelGroup=3605]="JurysDoyleHotelGroup",e[e.JeffersonHotel=3606]="JeffersonHotel",e[e.FontainebleauResorts=3607]="FontainebleauResorts",e[e.GaylordOpryland=3608]="GaylordOpryland",e[e.GaylordPalms=3609]="GaylordPalms",e[e.GaylordTexan=3610]="GaylordTexan",e[e.CMonInn=3611]="CMonInn",e[e.MovenpickHotels=3612]="MovenpickHotels",e[e.MicrotelInnAndSuites=3613]="MicrotelInnAndSuites",e[e.AmericInn=3614]="AmericInn",e[e.Travelodge=3615]="Travelodge",e[e.HermitageHotel=3616]="HermitageHotel",e[e.AmericasBestValueInn=3617]="AmericasBestValueInn",e[e.GreatWolf=3618]="GreatWolf",e[e.Aloft=3619]="Aloft",e[e.BinionsHorseshoeClub=3620]="BinionsHorseshoeClub",e[e.ExtendedStay=3621]="ExtendedStay",e[e.MerlinHotels=3622]="MerlinHotels",e[e.DorintHotels=3623]="DorintHotels",e[e.LadyLuckHotelAndCasino=3624]="LadyLuckHotelAndCasino",e[e.HotelUniversale=3625]="HotelUniversale",e[e.StudioPlus=3626]="StudioPlus",e[e.ExtendedStayAmerica=3627]="ExtendedStayAmerica",e[e.ExcaliburHotelAndCasino=3628]="ExcaliburHotelAndCasino",e[e.DanHotels=3629]="DanHotels",e[e.ExtendedStayDeluxe=3630]="ExtendedStayDeluxe",e[e.SleepInns=3631]="SleepInns",e[e.Phoenician=3632]="Phoenician",e[e.RankHotels=3633]="RankHotels",e[e.Swissotel=3634]="Swissotel",e[e.ResoHotels=3635]="ResoHotels",e[e.SarovaHotels=3636]="SarovaHotels",e[e.RamadaInnsRamadaLimited=3637]="RamadaInnsRamadaLimited",e[e.HowardJohnson=3638]="HowardJohnson",e[e.MountCharlotteThistle=3639]="MountCharlotteThistle",e[e.HyattHotels=3640]="HyattHotels",e[e.SofitelHotels=3641]="SofitelHotels",e[e.NovotelHotels=3642]="NovotelHotels",e[e.SteigenbergerHotels=3643]="SteigenbergerHotels",e[e.EconoLodges=3644]="EconoLodges",e[e.QueensMoatHouses=3645]="QueensMoatHouses",e[e.SwallowHotels=3646]="SwallowHotels",e[e.HusaHotels=3647]="HusaHotels",e[e.DeVereHotels=3648]="DeVereHotels",e[e.RadissonHotels=3649]="RadissonHotels",e[e.RedRoofInns=3650]="RedRoofInns",e[e.ImperialLondonHotel=3651]="ImperialLondonHotel",e[e.EmbassyHotels=3652]="EmbassyHotels",e[e.PentaHotels=3653]="PentaHotels",e[e.LoewsHotels=3654]="LoewsHotels",e[e.ScandicHotels=3655]="ScandicHotels",e[e.SaraHotels=3656]="SaraHotels",e[e.OberoiHotels=3657]="OberoiHotels",e[e.NewOtaniHotels=3658]="NewOtaniHotels",e[e.TajHotelsInternational=3659]="TajHotelsInternational",e[e.KnightsInns=3660]="KnightsInns",e[e.MetropoleHotels=3661]="MetropoleHotels",e[e.CircusCircusHotelAndCasino=3662]="CircusCircusHotelAndCasino",e[e.HotelesElPresidente=3663]="HotelesElPresidente",e[e.FlagInn=3664]="FlagInn",e[e.HamptonInns=3665]="HamptonInns",e[e.StakisHotels=3666]="StakisHotels",e[e.LuxorHotelAndCasino=3667]="LuxorHotelAndCasino",e[e.MaritimHotels=3668]="MaritimHotels",e[e.EldoradoHotelAndCasino=3669]="EldoradoHotelAndCasino",e[e.ArcadeHotels=3670]="ArcadeHotels",e[e.ArctiaHotels=3671]="ArctiaHotels",e[e.CampanileHotels=3672]="CampanileHotels",e[e.IbuszHotels=3673]="IbuszHotels",e[e.RantasipiHotels=3674]="RantasipiHotels",e[e.InterhotelCedok=3675]="InterhotelCedok",e[e.MonteCarloHotelAndCasino=3676]="MonteCarloHotelAndCasino",e[e.ClimatDeFranceHotels=3677]="ClimatDeFranceHotels",e[e.CumulusHotels=3678]="CumulusHotels",e[e.SilverLegacyHotelAndCasino=3679]="SilverLegacyHotelAndCasino",e[e.HoteisOthan=3680]="HoteisOthan",e[e.AdamsMarkHotels=3681]="AdamsMarkHotels",e[e.SaharaHotelAndCasino=3682]="SaharaHotelAndCasino",e[e.BradburySuites=3683]="BradburySuites",e[e.BudgetHostInns=3684]="BudgetHostInns",e[e.BudgetelHotels=3685]="BudgetelHotels",e[e.SusseChalet=3686]="SusseChalet",e[e.ClarionHotels=3687]="ClarionHotels",e[e.CompriHotels=3688]="CompriHotels",e[e.ConsortHotels=3689]="ConsortHotels",e[e.CourtyardByMarriott=3690]="CourtyardByMarriott",e[e.DillonInns=3691]="DillonInns",e[e.DoubletreeHotels=3692]="DoubletreeHotels",e[e.DruryInns=3693]="DruryInns",e[e.EconomyInnsOfAmerica=3694]="EconomyInnsOfAmerica",e[e.EmbassySuites=3695]="EmbassySuites",e[e.ExelInns=3696]="ExelInns",e[e.FairfieldHotels=3697]="FairfieldHotels",e[e.HarleyHotels=3698]="HarleyHotels",e[e.MidwayMotorLodge=3699]="MidwayMotorLodge",e[e.Motel6=3700]="Motel6",e[e.LaMansionDelRio=3701]="LaMansionDelRio",e[e.RegistryHotels=3702]="RegistryHotels",e[e.ResidenceInns=3703]="ResidenceInns",e[e.RoyceHotels=3704]="RoyceHotels",e[e.SandmanInns=3705]="SandmanInns",e[e.ShiloInns=3706]="ShiloInns",e[e.ShoneysInns=3707]="ShoneysInns",e[e.VirginRiverHotelAndCasino=3708]="VirginRiverHotelAndCasino",e[e.Super8Motels=3709]="Super8Motels",e[e.TheRitzCarltonHotels=3710]="TheRitzCarltonHotels",e[e.FlagInnsAustralia=3711]="FlagInnsAustralia",e[e.BuffaloBillsHotelAndCasino=3712]="BuffaloBillsHotelAndCasino",e[e.QualityPacificHotel=3713]="QualityPacificHotel",e[e.FourSeasonsHotelAustralia=3714]="FourSeasonsHotelAustralia",e[e.FairfieldInn=3715]="FairfieldInn",e[e.CarltonHotels=3716]="CarltonHotels",e[e.CityLodgeHotels=3717]="CityLodgeHotels",e[e.KarosHotels=3718]="KarosHotels",e[e.ProteaHotels=3719]="ProteaHotels",e[e.SouthernSunHotels=3720]="SouthernSunHotels",e[e.HiltonConrad=3721]="HiltonConrad",e[e.WyndhamHotelResorts=3722]="WyndhamHotelResorts",e[e.RicaHotelsDuplicate=3723]="RicaHotelsDuplicate",e[e.InterNorHotelsDuplicate=3724]="InterNorHotelsDuplicate",e[e.SeapinesPlantation=3725]="SeapinesPlantation",e[e.RioSuites=3726]="RioSuites",e[e.BroadmoorHotel=3727]="BroadmoorHotel",e[e.BallysHotelAndCasino=3728]="BallysHotelAndCasino",e[e.JohnAscuagasNugget=3729]="JohnAscuagasNugget",e[e.MGMGrandHotel=3730]="MGMGrandHotel",e[e.HarrahsHotelsAndCasinos=3731]="HarrahsHotelsAndCasinos",e[e.OprylandHotel=3732]="OprylandHotel",e[e.BocaRatonResort=3733]="BocaRatonResort",e[e.HarveyBristolHotel=3734]="HarveyBristolHotel",e[e.MastersEconomyInns=3735]="MastersEconomyInns",e[e.ColoradoBelleEdgewaterResort=3736]="ColoradoBelleEdgewaterResort",e[e.RivieraHotelCasino=3737]="RivieraHotelCasino",e[e.TropicanaResortCasino=3738]="TropicanaResortCasino",e[e.WoodsideHotels=3739]="WoodsideHotels",e[e.MarriottTownplaceSuites=3740]="MarriottTownplaceSuites",e[e.MillenniumHotels=3741]="MillenniumHotels",e[e.ClubMed=3742]="ClubMed",e[e.BiltmoreHotelSuites=3743]="BiltmoreHotelSuites",e[e.CarefreeResorts=3744]="CarefreeResorts",e[e.StRegisHotel=3745]="StRegisHotel",e[e.TheEliotHotel=3746]="TheEliotHotel",e[e.ClubCorpClubResorts=3747]="ClubCorpClubResorts",e[e.WellesleyInns=3748]="WellesleyInns",e[e.TheBeverlyHillsHotel=3749]="TheBeverlyHillsHotel",e[e.CrownePlazaHotel=3750]="CrownePlazaHotel",e[e.HomewoodSuites=3751]="HomewoodSuites",e[e.PeabodyHotels=3752]="PeabodyHotels",e[e.GreenbrierResorts=3753]="GreenbrierResorts",e[e.AmeliaIslandPlantation=3754]="AmeliaIslandPlantation",e[e.TheHomestead=3755]="TheHomestead",e[e.SouthSeasResorts=3756]="SouthSeasResorts",e[e.CanyonRanch=3757]="CanyonRanch",e[e.KahalaMandarinOrientalHotel=3758]="KahalaMandarinOrientalHotel",e[e.OrchidAtMaunaLani=3759]="OrchidAtMaunaLani",e[e.HalekulaniHotelWaikikiParc=3760]="HalekulaniHotelWaikikiParc",e[e.PrimadonnaHotelAndCasino=3761]="PrimadonnaHotelAndCasino",e[e.WhiskeyPetesHotelAndCasino=3762]="WhiskeyPetesHotelAndCasino",e[e.ChateauElanWineryAndResort=3763]="ChateauElanWineryAndResort",e[e.BeauRivageHotelAndCasino=3764]="BeauRivageHotelAndCasino",e[e.Bellagio=3765]="Bellagio",e[e.FremontHotelAndCasino=3766]="FremontHotelAndCasino",e[e.MainStreetStationHotelAndCasino=3767]="MainStreetStationHotelAndCasino",e[e.SilverStarHotelAndCasino=3768]="SilverStarHotelAndCasino",e[e.StratosphereHotelAndCasino=3769]="StratosphereHotelAndCasino",e[e.SpringhillSuites=3770]="SpringhillSuites",e[e.CaesarsHotelAndCasino=3771]="CaesarsHotelAndCasino",e[e.NemacolinWoodlands=3772]="NemacolinWoodlands",e[e.VenetianResortHotelAndCasino=3773]="VenetianResortHotelAndCasino",e[e.NewYorkNewYorkHotelCasino=3774]="NewYorkNewYorkHotelCasino",e[e.SandsResort=3775]="SandsResort",e[e.NeveleGrandeResortAndCountryClub=3776]="NeveleGrandeResortAndCountryClub",e[e.MandalayBayResort=3777]="MandalayBayResort",e[e.FourPointsHotels=3778]="FourPointsHotels",e[e.WHotels=3779]="WHotels",e[e.DisneyResorts=3780]="DisneyResorts",e[e.PatriciaGrandResortHotel=3781]="PatriciaGrandResortHotel",e[e.RosenHotelsResorts=3782]="RosenHotelsResorts",e[e.TownAndCountryResort=3783]="TownAndCountryResort",e[e.FirstHospitalityHotels=3784]="FirstHospitalityHotels",e[e.OutriggerHotelsAndResorts=3785]="OutriggerHotelsAndResorts",e[e.OhanaHotelsOfHawaii=3786]="OhanaHotelsOfHawaii",e[e.CaribeRoyaleResortSuitesVillas=3787]="CaribeRoyaleResortSuitesVillas",e[e.AlaMoanaHotel=3788]="AlaMoanaHotel",e[e.SmugglersNotchResort=3789]="SmugglersNotchResort",e[e.RafflesHotel=3790]="RafflesHotel",e[e.StaybridgeSuites=3791]="StaybridgeSuites",e[e.ClaridgeCasinoHotel=3792]="ClaridgeCasinoHotel",e[e.FlamingoHotels=3793]="FlamingoHotels",e[e.GrandCasinoHotel=3794]="GrandCasinoHotel",e[e.ParisLasVegasHotel=3795]="ParisLasVegasHotel",e[e.PeppermillHotelCasino=3796]="PeppermillHotelCasino",e[e.AtlanticCityHilton=3797]="AtlanticCityHilton",e[e.EmbassyVacationResort=3798]="EmbassyVacationResort",e[e.HaleKoaResort=3799]="HaleKoaResort",e[e.HomesteadSuites=3800]="HomesteadSuites",e[e.WildernessHotelAndResort=3801]="WildernessHotelAndResort",e[e.ThePalaceHotel=3802]="ThePalaceHotel",e[e.TheWigwamGolfResortAndSpa=3803]="TheWigwamGolfResortAndSpa",e[e.TheDiplomatCountryClubAndSpa=3804]="TheDiplomatCountryClubAndSpa",e[e.TheAtlantic=3805]="TheAtlantic",e[e.PrincevilleResort=3806]="PrincevilleResort",e[e.Element=3807]="Element",e[e.LXRLuxuryResorts=3808]="LXRLuxuryResorts",e[e.SettleInn=3809]="SettleInn",e[e.LaCostaResort=3810]="LaCostaResort",e[e.PremierTravelInn=3811]="PremierTravelInn",e[e.HyattPlace=3812]="HyattPlace",e[e.HotelIndigo=3813]="HotelIndigo",e[e.TheRooseveltHotelNY=3814]="TheRooseveltHotelNY",e[e.HolidayInnNickelodeon=3815]="HolidayInnNickelodeon",e[e.Home2Suites=3816]="Home2Suites",e[e.Affinia=3817]="Affinia",e[e.MainStaySuites=3818]="MainStaySuites",e[e.OxfordSuites=3819]="OxfordSuites",e[e.JumeirahEssexHotel=3820]="JumeirahEssexHotel",e[e.CaribeRoyale=3821]="CaribeRoyale",e[e.Crossland=3822]="Crossland",e[e.GrandSierraResort=3823]="GrandSierraResort",e[e.Aria=3824]="Aria",e[e.Vdara=3825]="Vdara",e[e.Autograph=3826]="Autograph",e[e.GaltHouse=3827]="GaltHouse",e[e.CosmopolitanOfLasVegas=3828]="CosmopolitanOfLasVegas",e[e.CountryInnByCarlson=3829]="CountryInnByCarlson",e[e.ParkPlazaHotel=3830]="ParkPlazaHotel",e[e.Waldorf=3831]="Waldorf",e[e.CanopyHotels=3833]="CanopyHotels",e[e.BaymontInnAndSuites=3834]="BaymontInnAndSuites",e[e.DolceHotelsAndResorts=3835]="DolceHotelsAndResorts",e[e.HawthornSuitesByWyndham=3836]="HawthornSuitesByWyndham",e[e.HoshinoResorts=3837]="HoshinoResorts",e[e.KimptonHotels=3838]="KimptonHotels",e[e.KyoritsuHotels=3839]="KyoritsuHotels",e[e.FreightRailways=4011]="FreightRailways",e[e.LocalPassengerTransportation=4111]="LocalPassengerTransportation",e[e.PassengerRailways=4112]="PassengerRailways",e[e.AmbulanceServices=4119]="AmbulanceServices",e[e.TaxicabsAndLimousines=4121]="TaxicabsAndLimousines",e[e.BusLines=4131]="BusLines",e[e.MotorFreightCarriersAndTrucking=4214]="MotorFreightCarriersAndTrucking",e[e.CourierServices=4215]="CourierServices",e[e.PublicWarehousingAndStorage=4225]="PublicWarehousingAndStorage",e[e.SteamshipAndCruiseLines=4411]="SteamshipAndCruiseLines",e[e.BoatRentalsAndLeasing=4457]="BoatRentalsAndLeasing",e[e.MarinasMarineServiceAndSupplies=4468]="MarinasMarineServiceAndSupplies",e[e.AirlinesAndAirCarriers=4511]="AirlinesAndAirCarriers",e[e.AirportsFlyingFieldsAndAirportTerminals=4582]="AirportsFlyingFieldsAndAirportTerminals",e[e.TravelAgenciesAndTourOperators=4722]="TravelAgenciesAndTourOperators",e[e.PackageTourOperatorsGermanyOnly=4723]="PackageTourOperatorsGermanyOnly",e[e.TransportationTravelRelatedArrangement=4761]="TransportationTravelRelatedArrangement",e[e.TollAndBridgeFees=4784]="TollAndBridgeFees",e[e.TransportationServices=4789]="TransportationServices",e[e.TelecommunicationEquipmentAndTelephoneSales=4812]="TelecommunicationEquipmentAndTelephoneSales",e[e.KeyEntryTelecomMerchants=4813]="KeyEntryTelecomMerchants",e[e.TelecommunicationServices=4814]="TelecommunicationServices",e[e.MonthlySummaryTelephoneCharges=4815]="MonthlySummaryTelephoneCharges",e[e.ComputerNetworkAndInformationServices=4816]="ComputerNetworkAndInformationServices",e[e.TelegraphServices=4821]="TelegraphServices",e[e.MoneyOrdersWireTransfer=4829]="MoneyOrdersWireTransfer",e[e.CableServices=4899]="CableServices",e[e.ElectricGasSanitaryAndWaterUtilities=4900]="ElectricGasSanitaryAndWaterUtilities",e[e.MotorVehicleSuppliesAndNewParts=5013]="MotorVehicleSuppliesAndNewParts",e[e.OfficeAndCommercialFurniture=5021]="OfficeAndCommercialFurniture",e[e.ConstructionMaterials=5039]="ConstructionMaterials",e[e.OfficePhotographicPhotocopyAndMicrofilmEquipment=5044]="OfficePhotographicPhotocopyAndMicrofilmEquipment",e[e.ComputersComputerPeripheralEquipmentSoftware=5045]="ComputersComputerPeripheralEquipmentSoftware",e[e.CommercialEquipment=5046]="CommercialEquipment",e[e.MedicalDentalOphthalmicHospitalEquipmentAndSupplies=5047]="MedicalDentalOphthalmicHospitalEquipmentAndSupplies",e[e.MetalServiceCentersAndOffices=5051]="MetalServiceCentersAndOffices",e[e.ElectricalPartsAndEquipment=5065]="ElectricalPartsAndEquipment",e[e.HardwareEquipmentAndSupplies=5072]="HardwareEquipmentAndSupplies",e[e.PlumbingAndHeatingEquipmentAndSupplies=5074]="PlumbingAndHeatingEquipmentAndSupplies",e[e.IndustrialSupplies=5085]="IndustrialSupplies",e[e.PreciousStonesAndMetalsWatchesAndJewelry=5094]="PreciousStonesAndMetalsWatchesAndJewelry",e[e.DurableGoods=5099]="DurableGoods",e[e.StationeryOfficeSuppliesPrintingAndWritingPaper=5111]="StationeryOfficeSuppliesPrintingAndWritingPaper",e[e.DrugsDrugProprietorsAndDruggistSundries=5122]="DrugsDrugProprietorsAndDruggistSundries",e[e.PieceGoodsNotionsAndOtherDryGoods=5131]="PieceGoodsNotionsAndOtherDryGoods",e[e.MensWomensAndChildrensUniformsAndCommercialClothing=5137]="MensWomensAndChildrensUniformsAndCommercialClothing",e[e.CommercialFootwear=5139]="CommercialFootwear",e[e.ChemicalsAndAlliedProducts=5169]="ChemicalsAndAlliedProducts",e[e.PetroleumAndPetroleumProducts=5172]="PetroleumAndPetroleumProducts",e[e.BooksPeriodicalsAndNewspapers=5192]="BooksPeriodicalsAndNewspapers",e[e.FloristsSuppliesNurseryStockAndFlowers=5193]="FloristsSuppliesNurseryStockAndFlowers",e[e.PaintsVarnishesAndSupplies=5198]="PaintsVarnishesAndSupplies",e[e.NonDurableGoods=5199]="NonDurableGoods",e[e.HomeSupplyWarehouseStores=5200]="HomeSupplyWarehouseStores",e[e.LumberAndBuildingMaterialsStores=5211]="LumberAndBuildingMaterialsStores",e[e.GlassStoresPaintAndWallpaperStoresWallpaperStores=5231]="GlassStoresPaintAndWallpaperStoresWallpaperStores",e[e.HardwareStores=5251]="HardwareStores",e[e.NurseriesLawnAndGardenSupplyStore=5261]="NurseriesLawnAndGardenSupplyStore",e[e.OnlineMarketplaces=5262]="OnlineMarketplaces",e[e.MobileHomeDealers=5271]="MobileHomeDealers",e[e.WarehouseClubGas=5299]="WarehouseClubGas",e[e.WholesaleClubs=5300]="WholesaleClubs",e[e.DutyFreeStores=5309]="DutyFreeStores",e[e.DiscountStores=5310]="DiscountStores",e[e.DepartmentStores=5311]="DepartmentStores",e[e.VarietyStores=5331]="VarietyStores",e[e.GeneralMerchandise=5399]="GeneralMerchandise",e[e.GroceryStoresSupermarkets=5411]="GroceryStoresSupermarkets",e[e.FreezerAndLockerMeatProvisioners=5422]="FreezerAndLockerMeatProvisioners",e[e.CandyStoresConfectioneryStoresNutStores=5441]="CandyStoresConfectioneryStoresNutStores",e[e.DairyProductsStores=5451]="DairyProductsStores",e[e.Bakeries=5462]="Bakeries",e[e.FoodStoresConvenienceStoresAndSpecialtyMarkets=5499]="FoodStoresConvenienceStoresAndSpecialtyMarkets",e[e.CarAndTruckDealersNewAndUsedSalesServiceRepairsPartsAndLeasing=5511]="CarAndTruckDealersNewAndUsedSalesServiceRepairsPartsAndLeasing",e[e.AutomobileAndTruckDealersUsedOnly=5521]="AutomobileAndTruckDealersUsedOnly",e[e.AutomobileSupplyStoresOrHomeSupplyStores=5531]="AutomobileSupplyStoresOrHomeSupplyStores",e[e.AutomotiveTireStores=5532]="AutomotiveTireStores",e[e.AutomotivePartsAccessoriesStores=5533]="AutomotivePartsAccessoriesStores",e[e.GasServiceStationsWithOrWithoutAncillaryServices=5541]="GasServiceStationsWithOrWithoutAncillaryServices",e[e.AutomatedFuelDispensers=5542]="AutomatedFuelDispensers",e[e.BoatDealers=5551]="BoatDealers",e[e.ElectricVehicleCharging=5552]="ElectricVehicleCharging",e[e.RecreationalAndUtilityTrailersCampDealers=5561]="RecreationalAndUtilityTrailersCampDealers",e[e.MotorcycleDealers=5571]="MotorcycleDealers",e[e.MotorHomeDealers=5592]="MotorHomeDealers",e[e.SnowmobileDealers=5598]="SnowmobileDealers",e[e.MiscellaneousAutomotiveAircraftAndFarmEquipmentDealers=5599]="MiscellaneousAutomotiveAircraftAndFarmEquipmentDealers",e[e.MensAndBoysClothingAndAccessoriesStores=5611]="MensAndBoysClothingAndAccessoriesStores",e[e.WomensReadyToWearStores=5621]="WomensReadyToWearStores",e[e.WomensAccessoryAndSpecialtyShops=5631]="WomensAccessoryAndSpecialtyShops",e[e.ChildrensAndInfantsWearStores=5641]="ChildrensAndInfantsWearStores",e[e.FamilyClothingStores=5651]="FamilyClothingStores",e[e.SportsApparelRidingApparelStores=5655]="SportsApparelRidingApparelStores",e[e.ShoeStores=5661]="ShoeStores",e[e.FurriersAndFurShops=5681]="FurriersAndFurShops",e[e.MensAndWomensClothingStores=5691]="MensAndWomensClothingStores",e[e.TailorsSeamstressMendingAndAlterations=5697]="TailorsSeamstressMendingAndAlterations",e[e.WigAndToupeeStores=5698]="WigAndToupeeStores",e[e.MiscellaneousApparelAndAccessoryShops=5699]="MiscellaneousApparelAndAccessoryShops",e[e.FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances=5712]="FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances",e[e.FloorCoveringStores=5713]="FloorCoveringStores",e[e.DraperyWindowCoveringAndUpholsteryStores=5714]="DraperyWindowCoveringAndUpholsteryStores",e[e.AlcoholicBeverageWholesalers=5715]="AlcoholicBeverageWholesalers",e[e.FireplaceAndFireplaceScreensAndAccessoriesStores=5718]="FireplaceAndFireplaceScreensAndAccessoriesStores",e[e.MiscellaneousHomeFurnishingSpecialtyStores=5719]="MiscellaneousHomeFurnishingSpecialtyStores",e[e.HouseholdApplianceStores=5722]="HouseholdApplianceStores",e[e.ElectronicStores=5732]="ElectronicStores",e[e.MusicStoresMusicalInstrumentsPianoSheetMusic=5733]="MusicStoresMusicalInstrumentsPianoSheetMusic",e[e.ComputerSoftwareStores=5734]="ComputerSoftwareStores",e[e.RecordStores=5735]="RecordStores",e[e.Caterers=5811]="Caterers",e[e.EatingPlacesAndRestaurants=5812]="EatingPlacesAndRestaurants",e[e.DrinkingPlacesAlcoholicBeveragesBarsTavernsCocktailLoungesNightclubsAndDiscotheques=5813]="DrinkingPlacesAlcoholicBeveragesBarsTavernsCocktailLoungesNightclubsAndDiscotheques",e[e.FastFoodRestaurants=5814]="FastFoodRestaurants",e[e.DigitalGoodsBooksMoviesMusic=5815]="DigitalGoodsBooksMoviesMusic",e[e.DigitalGoodsGames=5816]="DigitalGoodsGames",e[e.DigitalGoodsApplicationsExcludingGames=5817]="DigitalGoodsApplicationsExcludingGames",e[e.DigitalGoodsLargeAndMultiCategory=5818]="DigitalGoodsLargeAndMultiCategory",e[e.DrugStoresAndPharmacies=5912]="DrugStoresAndPharmacies",e[e.PackageStoresBeerWineAndLiquor=5921]="PackageStoresBeerWineAndLiquor",e[e.UsedMerchandiseAndSecondhandStores=5931]="UsedMerchandiseAndSecondhandStores",e[e.AntiqueShopsSalesRepairsAndRestorationServices=5932]="AntiqueShopsSalesRepairsAndRestorationServices",e[e.PawnShops=5933]="PawnShops",e[e.WreckingAndSalvageYards=5935]="WreckingAndSalvageYards",e[e.AntiqueReproductionStores=5937]="AntiqueReproductionStores",e[e.BicycleShopsSalesAndService=5940]="BicycleShopsSalesAndService",e[e.SportingGoodsStores=5941]="SportingGoodsStores",e[e.BookStores=5942]="BookStores",e[e.StationeryOfficeAndSchoolSupplyStores=5943]="StationeryOfficeAndSchoolSupplyStores",e[e.WatchClockJewelryAndSilverwareStores=5944]="WatchClockJewelryAndSilverwareStores",e[e.HobbyToyAndGameShops=5945]="HobbyToyAndGameShops",e[e.CameraAndPhotographicSupplyStores=5946]="CameraAndPhotographicSupplyStores",e[e.CardShopsGiftNoveltyAndSouvenirShops=5947]="CardShopsGiftNoveltyAndSouvenirShops",e[e.LeatherFoodsStores=5948]="LeatherFoodsStores",e[e.SewingNeedleFabricAndPriceGoodsStores=5949]="SewingNeedleFabricAndPriceGoodsStores",e[e.GlasswareCrystalStores=5950]="GlasswareCrystalStores",e[e.DirectMarketingInsuranceService=5960]="DirectMarketingInsuranceService",e[e.MailOrderHousesIncludingCatalogOrderStoresBookRecordClub=5961]="MailOrderHousesIncludingCatalogOrderStoresBookRecordClub",e[e.DirectMarketingTravelRelatedArrangementsServices=5962]="DirectMarketingTravelRelatedArrangementsServices",e[e.DoorToDoorSales=5963]="DoorToDoorSales",e[e.DirectMarketingCatalogMerchant=5964]="DirectMarketingCatalogMerchant",e[e.DirectMarketingCatalogAndCatalogAndRetailMerchantDirectMarketingOutboundTelemarketingMerchant=5965]="DirectMarketingCatalogAndCatalogAndRetailMerchantDirectMarketingOutboundTelemarketingMerchant",e[e.DirectMarketingOutboundTelemarketingMerchant=5966]="DirectMarketingOutboundTelemarketingMerchant",e[e.DirectMarketingInboundTeleServicesMerchant=5967]="DirectMarketingInboundTeleServicesMerchant",e[e.DirectMarketingContinuitySubscriptionMerchant=5968]="DirectMarketingContinuitySubscriptionMerchant",e[e.DirectMarketing=5969]="DirectMarketing",e[e.ArtistsSupplyAndCraftShops=5970]="ArtistsSupplyAndCraftShops",e[e.ArtDealersAndGalleries=5971]="ArtDealersAndGalleries",e[e.StampAndCoinStoresPhilatelicAndNumismaticSupplies=5972]="StampAndCoinStoresPhilatelicAndNumismaticSupplies",e[e.ReligiousGoodsStores=5973]="ReligiousGoodsStores",e[e.RubberStampStoresReservedForNationalUse=5974]="RubberStampStoresReservedForNationalUse";e[e.HearingAidsSalesServiceAndSupplyStores=5975]="HearingAidsSalesServiceAndSupplyStores",e[e.OrthopedicGoodsProstheticDevices=5976]="OrthopedicGoodsProstheticDevices",e[e.CosmeticStores=5977]="CosmeticStores",e[e.TypewriterStoresSalesRentalService=5978]="TypewriterStoresSalesRentalService",e[e.FuelFuelOilWoodCoalLiquefiedPetroleum=5983]="FuelFuelOilWoodCoalLiquefiedPetroleum",e[e.Florists=5992]="Florists",e[e.CigarStoresAndStands=5993]="CigarStoresAndStands",e[e.NewsDealersAndNewsStands=5994]="NewsDealersAndNewsStands",e[e.PetShopsPetFoodsAndSuppliesStores=5995]="PetShopsPetFoodsAndSuppliesStores",e[e.SwimmingPoolsSalesServiceAndSupplies=5996]="SwimmingPoolsSalesServiceAndSupplies",e[e.ElectricRazorStoresSalesAndService=5997]="ElectricRazorStoresSalesAndService",e[e.TentAndAwningShops=5998]="TentAndAwningShops",e[e.MiscellaneousAndSpecialtyRetailStores=5999]="MiscellaneousAndSpecialtyRetailStores",e[e.FinancialInstitutionsManualCashDisbursements=6010]="FinancialInstitutionsManualCashDisbursements",e[e.FinancialInstitutionsAutomatedCashDisbursements=6011]="FinancialInstitutionsAutomatedCashDisbursements",e[e.FinancialInstitutionsMerchandiseAndServices=6012]="FinancialInstitutionsMerchandiseAndServices",e[e.QuasiCashMemberFinancialInstitutions=6050]="QuasiCashMemberFinancialInstitutions",e[e.NonFinancialInstitutionsForeignCurrencyMoneyOrdersAndTravelersCheques=6051]="NonFinancialInstitutionsForeignCurrencyMoneyOrdersAndTravelersCheques",e[e.SecurityBrokersDealers=6211]="SecurityBrokersDealers",e[e.InsuranceSalesUnderwriting=6300]="InsuranceSalesUnderwriting",e[e.InsurancePremiums=6381]="InsurancePremiums",e[e.Insurance=6399]="Insurance",e[e.RealEstateAgentsAndManagersRentals=6513]="RealEstateAgentsAndManagersRentals",e[e.RemoteStoredValueLoadMemberFinancialInstitution=6529]="RemoteStoredValueLoadMemberFinancialInstitution",e[e.RemoteStoredValueLoad=6530]="RemoteStoredValueLoad",e[e.PaymentServiceProviderMoneyTransfer=6531]="PaymentServiceProviderMoneyTransfer",e[e.PaymentTransactionMemberFinancialInstitution=6532]="PaymentTransactionMemberFinancialInstitution",e[e.PaymentTransactionMerchant=6533]="PaymentTransactionMerchant",e[e.MoneyTransferMemberFinancialInstitution=6534]="MoneyTransferMemberFinancialInstitution",e[e.ValuePurchaseMemberFinancialInstitution=6535]="ValuePurchaseMemberFinancialInstitution",e[e.MoneySendIntracountry=6536]="MoneySendIntracountry",e[e.MoneySendIntercountry=6537]="MoneySendIntercountry",e[e.MoneySendFundingTransaction=6538]="MoneySendFundingTransaction",e[e.POIFundingTransaction=6540]="POIFundingTransaction",e[e.MastercardInitiatedRebateRewards=6555]="MastercardInitiatedRebateRewards",e[e.Overpayments=6611]="Overpayments",e[e.SavingsBonds=6760]="SavingsBonds",e[e.LodgingHotelsMotelsResortsCentralReservationServices=7011]="LodgingHotelsMotelsResortsCentralReservationServices",e[e.Timeshares=7012]="Timeshares",e[e.SportingAndRecreationalCamps=7032]="SportingAndRecreationalCamps",e[e.TrailerParksAndCampGrounds=7033]="TrailerParksAndCampGrounds",e[e.LaundryCleaningAndGarmentServices=7210]="LaundryCleaningAndGarmentServices",e[e.DiaperServicesOrLaundromats=7211]="DiaperServicesOrLaundromats",e[e.DryCleaners=7216]="DryCleaners",e[e.CarpetAndUpholsteryCleaning=7217]="CarpetAndUpholsteryCleaning",e[e.PhotographicStudios=7221]="PhotographicStudios",e[e.BarberAndBeautyShops=7230]="BarberAndBeautyShops",e[e.ShopRepairShopsAndShoeShineParlorsAndHatCleaningShops=7251]="ShopRepairShopsAndShoeShineParlorsAndHatCleaningShops",e[e.FuneralServiceAndCrematories=7261]="FuneralServiceAndCrematories",e[e.EscortServices=7272]="EscortServices",e[e.DatingAndEscortServices=7273]="DatingAndEscortServices",e[e.TaxPreparationService=7276]="TaxPreparationService",e[e.CounselingServiceDebtMarriagePersonal=7277]="CounselingServiceDebtMarriagePersonal",e[e.BuyingShoppingServicesAndClubs=7278]="BuyingShoppingServicesAndClubs",e[e.HospitalPatientPersonalFundsWithdrawal=7280]="HospitalPatientPersonalFundsWithdrawal",e[e.BabysittingServices=7295]="BabysittingServices",e[e.ClothingRentalCostumesFormalWearUniforms=7296]="ClothingRentalCostumesFormalWearUniforms",e[e.MassageParlors=7297]="MassageParlors",e[e.HealthAndBeautyShops=7298]="HealthAndBeautyShops",e[e.MiscellaneousPersonalServices=7299]="MiscellaneousPersonalServices",e[e.AdvertisingServices=7311]="AdvertisingServices",e[e.ConsumerCreditReportingAgencies=7321]="ConsumerCreditReportingAgencies",e[e.DebtCollectionAgencies=7322]="DebtCollectionAgencies",e[e.BlueprintingAndPhotocopyingServices=7332]="BlueprintingAndPhotocopyingServices",e[e.CommercialPhotographyArtAndGraphics=7333]="CommercialPhotographyArtAndGraphics",e[e.QuickCopyReproductionAndBlueprintingServices=7338]="QuickCopyReproductionAndBlueprintingServices",e[e.StenographicAndSecretarialSupportServices=7339]="StenographicAndSecretarialSupportServices",e[e.WindowCleaningServices=7341]="WindowCleaningServices",e[e.ExterminatingAndDisinfectingServices=7342]="ExterminatingAndDisinfectingServices",e[e.CleaningAndMaintenanceJanitorialServices=7349]="CleaningAndMaintenanceJanitorialServices",e[e.EmploymentAgenciesTemporaryHelpServices=7361]="EmploymentAgenciesTemporaryHelpServices",e[e.ComputerProgrammingIntegratedSystemsDesignAndDataProcessingServices=7372]="ComputerProgrammingIntegratedSystemsDesignAndDataProcessingServices",e[e.InformationRetrievalServices=7375]="InformationRetrievalServices",e[e.ComputerMaintenanceAndRepairServices=7379]="ComputerMaintenanceAndRepairServices",e[e.ManagementConsultingAndPublicRelationsServices=7392]="ManagementConsultingAndPublicRelationsServices",e[e.ProtectiveAndSecurityServicesIncludingArmoredCarsAndGuardDogs=7393]="ProtectiveAndSecurityServicesIncludingArmoredCarsAndGuardDogs",e[e.EquipmentRentalAndLeasingServicesToolRentalFurnitureRentalAndApplianceRental=7394]="EquipmentRentalAndLeasingServicesToolRentalFurnitureRentalAndApplianceRental",e[e.PhotofinishingLaboratoriesPhotoDeveloping=7395]="PhotofinishingLaboratoriesPhotoDeveloping",e[e.BusinessServices=7399]="BusinessServices",e[e.TruckStopTransactions=7511]="TruckStopTransactions",e[e.CarRentalCompanies=7512]="CarRentalCompanies",e[e.TruckAndUtilityTrailerRentals=7513]="TruckAndUtilityTrailerRentals",e[e.MotorHomeAndRecreationalVehicleRentals=7519]="MotorHomeAndRecreationalVehicleRentals",e[e.AutomobileParkingLotsAndGarages=7523]="AutomobileParkingLotsAndGarages",e[e.ExpressPaymentServicesParkingGarage=7524]="ExpressPaymentServicesParkingGarage",e[e.AutomotiveBodyRepairShops=7531]="AutomotiveBodyRepairShops",e[e.TireRetreadingAndRepairShops=7534]="TireRetreadingAndRepairShops",e[e.PaintShopsAutomotive=7535]="PaintShopsAutomotive",e[e.AutomotiveServiceShops=7538]="AutomotiveServiceShops",e[e.CarWashes=7542]="CarWashes",e[e.TowingServices=7549]="TowingServices",e[e.ElectronicsRepairShops=7622]="ElectronicsRepairShops",e[e.AirConditioningAndRefrigerationRepairShops=7623]="AirConditioningAndRefrigerationRepairShops",e[e.ElectricalAndSmallApplianceRepairShops=7629]="ElectricalAndSmallApplianceRepairShops",e[e.WatchClockAndJewelryRepair=7631]="WatchClockAndJewelryRepair",e[e.FurnitureFurnitureRepairAndFurnitureRefinishing=7641]="FurnitureFurnitureRepairAndFurnitureRefinishing",e[e.WeldingServices=7692]="WeldingServices",e[e.RepairShopsAndRelatedServicesMiscellaneous=7699]="RepairShopsAndRelatedServicesMiscellaneous",e[e.GovernmentOwnedLotteriesUSA=7800]="GovernmentOwnedLotteriesUSA",e[e.InternetGamblingUSA=7801]="InternetGamblingUSA",e[e.GovernmentLicensedHorseAndDogRacingUSA=7802]="GovernmentLicensedHorseAndDogRacingUSA",e[e.MotionPicturesAndVideoTapeProductionAndDistribution=7829]="MotionPicturesAndVideoTapeProductionAndDistribution",e[e.MotionPictureTheaters=7832]="MotionPictureTheaters",e[e.ExpressPaymentServicesMotionPicture=7833]="ExpressPaymentServicesMotionPicture",e[e.VideoTapeRentalStores=7841]="VideoTapeRentalStores",e[e.DanceHallsStudiosAndSchools=7911]="DanceHallsStudiosAndSchools",e[e.TheatricalProducersExceptMotionPicturesTicketAgencies=7922]="TheatricalProducersExceptMotionPicturesTicketAgencies",e[e.BandsOrchestrasAndMiscellaneousEntertainers=7929]="BandsOrchestrasAndMiscellaneousEntertainers",e[e.BilliardAndPoolEstablishments=7932]="BilliardAndPoolEstablishments",e[e.BowlingAlleys=7933]="BowlingAlleys",e[e.CommercialSportsAthleticFieldsProfessionalSportClubsAndSportPromoters=7941]="CommercialSportsAthleticFieldsProfessionalSportClubsAndSportPromoters",e[e.TouristAttractionsAndExhibits=7991]="TouristAttractionsAndExhibits",e[e.GolfCoursesPublic=7992]="GolfCoursesPublic",e[e.VideoAmusementGameSupplies=7993]="VideoAmusementGameSupplies",e[e.VideoGameArcadesEstablishments=7994]="VideoGameArcadesEstablishments",e[e.BettingIncludingLotteryTicketsCasinoGamingChipsOfftrackBettingAndWagers=7995]="BettingIncludingLotteryTicketsCasinoGamingChipsOfftrackBettingAndWagers",e[e.AmusementParksCarnivalsCircusesFortuneTellers=7996]="AmusementParksCarnivalsCircusesFortuneTellers",e[e.MembershipClubsSportsRecreationAthleticCountryClubsAndPrivateGolfCourses=7997]="MembershipClubsSportsRecreationAthleticCountryClubsAndPrivateGolfCourses",e[e.AquariumsSeaAquariumsDolphinariumsZoos=7998]="AquariumsSeaAquariumsDolphinariumsZoos",e[e.RecreationServices=7999]="RecreationServices",e[e.DoctorsAndPhysicians=8011]="DoctorsAndPhysicians",e[e.DentistsOrOrthodontists=8021]="DentistsOrOrthodontists",e[e.Osteopaths=8031]="Osteopaths",e[e.Chiropractors=8041]="Chiropractors",e[e.OptometristsAndOphthalmologists=8042]="OptometristsAndOphthalmologists",e[e.OpticiansOpticiansGoodsAndEyeglasses=8043]="OpticiansOpticiansGoodsAndEyeglasses",e[e.EyeglassesStoresOrOpticalGoods=8044]="EyeglassesStoresOrOpticalGoods",e[e.PodiatristsAndChiropodists=8049]="PodiatristsAndChiropodists",e[e.NursingAndPersonalCareFacilities=8050]="NursingAndPersonalCareFacilities",e[e.Hospitals=8062]="Hospitals",e[e.MedicalAndDentalLaboratories=8071]="MedicalAndDentalLaboratories",e[e.MedicalServicesAndHealthPractitioners=8099]="MedicalServicesAndHealthPractitioners",e[e.LegalServicesAndAttorneys=8111]="LegalServicesAndAttorneys",e[e.ElementaryAndSecondarySchools=8211]="ElementaryAndSecondarySchools",e[e.CollegesJuniorCollegesUniversitiesAndProfessionalSchools=8220]="CollegesJuniorCollegesUniversitiesAndProfessionalSchools",e[e.CorrespondenceSchools=8241]="CorrespondenceSchools",e[e.BusinessAndSecretarialSchools=8244]="BusinessAndSecretarialSchools",e[e.VocationalSchoolsAndTradeSchools=8249]="VocationalSchoolsAndTradeSchools",e[e.SchoolsAndEducationalServices=8299]="SchoolsAndEducationalServices",e[e.ChildCareServices=8351]="ChildCareServices",e[e.CharitableAndSocialServiceOrganizations=8398]="CharitableAndSocialServiceOrganizations",e[e.CivicFraternalAndSocialAssociations=8641]="CivicFraternalAndSocialAssociations",e[e.PoliticalOrganizations=8651]="PoliticalOrganizations",e[e.ReligiousOrganizations=8661]="ReligiousOrganizations",e[e.AutomobileAssociations=8675]="AutomobileAssociations",e[e.MembershipOrganizations=8699]="MembershipOrganizations",e[e.TestingLaboratoriesNonMedical=8734]="TestingLaboratoriesNonMedical",e[e.ArchitecturalEngineeringAndSurveyingServices=8911]="ArchitecturalEngineeringAndSurveyingServices",e[e.AccountingAuditingAndBookkeepingServices=8931]="AccountingAuditingAndBookkeepingServices",e[e.ProfessionalServicesNotElsewhereDefined=8999]="ProfessionalServicesNotElsewhereDefined",e[e.CourtCostsIncludingAlimonyAndChildSupport=9211]="CourtCostsIncludingAlimonyAndChildSupport",e[e.Fines=9222]="Fines",e[e.BailAndBondPayments=9223]="BailAndBondPayments",e[e.TaxPayments=9311]="TaxPayments",e[e.GovernmentServices=9399]="GovernmentServices",e[e.IPurchasingPilot=9401]="IPurchasingPilot",e[e.PostalServicesGovernmentOnly=9402]="PostalServicesGovernmentOnly",e[e.IntraGovernmentTransactions=9405]="IntraGovernmentTransactions",e[e.GovernmentLoanPayments=9411]="GovernmentLoanPayments",e[e.AutomatedReferralService=9700]="AutomatedReferralService",e[e.VisaCredentialServices=9701]="VisaCredentialServices",e[e.GCASEmergencyServices=9702]="GCASEmergencyServices",e[e.UKSupermarketsElectronicHotFile=9751]="UKSupermarketsElectronicHotFile",e[e.UKPetrolStationsElectronicHotFile=9752]="UKPetrolStationsElectronicHotFile",e[e.GamblingHorseDogRacingStLottery=9754]="GamblingHorseDogRacingStLottery",e[e.IntraCompanyPurchases=9950]="IntraCompanyPurchases",e[e.ClientDefinedMCC=9999]="ClientDefinedMCC"}(e.MerchantCategory||(e.MerchantCategory={})),e.MerchantFileType=void 0,(_=e.MerchantFileType||(e.MerchantFileType={})).Unspecified="Unspecified",_.AgentAgreement="AgentAgreement",_.MerchantAgreement="MerchantAgreement",_.BusinessCertificate="BusinessCertificate",_.ProofOfAddress="ProofOfAddress",_.ProofOfBankAccount="ProofOfBankAccount",_.IdentityDocumentFront="IdentityDocumentFront",_.IdentityDocumentBack="IdentityDocumentBack",_.Signature="Signature",_.LogoImage="LogoImage",_.StorefrontImage="StorefrontImage",_.PrimaryImage="PrimaryImage",_.GhanaCardId="GhanaCardId",_.RegisteredConstitutionOfTheCompany="RegisteredConstitutionOfTheCompany",_.CertificateOfIncorporation="CertificateOfIncorporation",_.CertifiedTrueCopyOfForm3A="CertifiedTrueCopyOfForm3A",_.MonthlyStatement="MonthlyStatement",e.MobileWalletOperator=void 0,($=e.MobileWalletOperator||(e.MobileWalletOperator={})).None="None",$.MTN="MTN",$.VDF="VDF",$.ATL="ATL",$.TGO="TGO",$.ATG="ATG",$.GMY="GMY",$.ZPY="ZPY",$.GHP="GHP",$.TCG="TCG",e.Month=void 0,(ee=e.Month||(e.Month={}))[ee.JAN=1]="JAN",ee[ee.FEB=2]="FEB",ee[ee.MAR=3]="MAR",ee[ee.APR=4]="APR",ee[ee.MAY=5]="MAY",ee[ee.JUN=6]="JUN",ee[ee.JUL=7]="JUL",ee[ee.AUG=8]="AUG",ee[ee.SEP=9]="SEP",ee[ee.OCT=10]="OCT",ee[ee.NOV=11]="NOV",ee[ee.DEC=12]="DEC",e.ProductType=void 0,(te=e.ProductType||(e.ProductType={})).Airtime="Airtime",te.Internet="Internet",te.Television="Television",te.Utilities="Utilities",te.Churches="Churches",te.Education="Education",te.Medical="Medical",te.Transport="Transport",te.Finance="Finance",te.Insurance="Insurance",te.Loans="Loans",te.Pensions="Pensions",te.General="General",te.Other="Other",te.DataBundle="DataBundle",te.VoiceBundle="VoiceBundle",te.Charity="Charity",te.Rent="Rent",te.MobileMoneyTransfer="MobileMoneyTransfer",te.PostPaidBills="PostPaidBills",te.SmsBundle="SmsBundle",te.Fuel="Fuel",te.Oil="Oil",te.Gas="Gas",e.QrCodeType=void 0,(ie=e.QrCodeType||(e.QrCodeType={})).NONE="NONE",ie.V2QR="V2QR",ie.GHQR="GHQR",ie.NIBSSQR="NIBSSQR",e.RepeatInterval=void 0,(ne=e.RepeatInterval||(e.RepeatInterval={})).Weekly="Weekly",ne.Monthly="Monthly";var re,ae,ce,de,le,ue,he="/v1/lookup",ve=/*#__PURE__*/function(t){function i(){for(var e,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).cardIssuerCountryCache=new Map,e.addressLocationCache=new Map,e.digitalAddressCache=new Map,e.bankCache=new Map,e.currencyCache=void 0,e.countryCache=void 0,e.languageCache=void 0,e.allCurrencyCache=void 0,e.allCountryCache=void 0,e.allLanguageCache=void 0,e.mobileWalletOperatorCache=void 0,e.productTypeCache=void 0,e.merchantCategoryCache=void 0,e}C(i,t);var n=i.prototype;return n.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(he+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(he+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(he+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(he+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(he+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(he+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(he+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(he+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(he+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getBanks=function(t){try{var i=function(){return Promise.resolve(n.bankCache.get(t||e.Country.None)||[])},n=this,o=function(){if(!n.bankCache.has(t||e.Country.None)){var i=function(){if(null==t||t===e.Country.None){var i=n.bankCache,o=i.set,s=e.Country.None;return Promise.resolve(n.request(he+"/bank","GET")).then(function(e){o.call(i,s,e)})}var r=n.bankCache,a=r.set;return Promise.resolve(n.request(he+"/bank?country="+t,"GET")).then(function(e){a.call(r,t,e)})}();if(i&&i.then)return i.then(function(){})}}();return Promise.resolve(o&&o.then?o.then(i):i())}catch(e){return Promise.reject(e)}},n.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,n=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,n=t.set;return Promise.resolve(i.request(he+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.getAddressFromLocation=function(e,t){try{var i,n=function(e){return i?e:Promise.reject(new L(400,null,"Invalid location coordinates."))},o=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var n=function(){var e=Promise.resolve(o.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!o.addressLocationCache.has(s)){var i=o.addressLocationCache,n=i.set;return Promise.resolve(o.request(he+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){n.call(i,s,e)})}}();return r&&r.then?r.then(n):n()}}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}},n.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new L(400,null,"Invalid digital address format."))},n=this,o=function(){if(/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)){var i=function(){var i=Promise.resolve(n.digitalAddressCache.get(e)||null);return t=1,i},o=function(){if(!n.digitalAddressCache.has(e)){var t=n.digitalAddressCache,i=t.set;return Promise.resolve(n.request(he+"/address/"+e,"GET")).then(function(n){i.call(t,e,n)})}}();return o&&o.then?o.then(i):i()}}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}},i}(k);e.CardIssuer=void 0,(re=e.CardIssuer||(e.CardIssuer={})).AmericanExpress="AmericanExpress",re.DinersClub="DinersClub",re.Discover="Discover",re.JCB="JCB",re.Maestro="Maestro",re.MasterCard="MasterCard",re.Switch="Switch",re.Visa="Visa",re.Unknown="Unknown",e.FeeType=void 0,(ae=e.FeeType||(e.FeeType={})).None="None",ae.FeeTakenFromSourceByMerchant="FeeTakenFromSourceByMerchant",ae.Elevy="Elevy",ae.ExternalPaymentProcessorFee="ExternalPaymentProcessorFee",ae.ExternallyProcessedElevy="ExternallyProcessedElevy",ae.InternalUserTransactionFee="InternalUserTransactionFee",ae.ExternalUserTransactionFee="ExternalUserTransactionFee",ae.InternalPaymentProcessorFee="InternalPaymentProcessorFee",e.MerchantPaymentType=void 0,(ce=e.MerchantPaymentType||(e.MerchantPaymentType={})).Unspecified="Unspecified",ce.CashOut="CashOut",ce.BuyingGoods="BuyingGoods",ce.BillPayment="BillPayment",ce.GhIPSSQrCode="GhIPSSQrCode",e.ReceiptType=void 0,(de=e.ReceiptType||(e.ReceiptType={})).Consumer="Consumer",de.Merchant="Merchant",e.RefundType=void 0,(le=e.RefundType||(e.RefundType={}))[le.Manual=1]="Manual",le[le.Auto=2]="Auto",e.TransactionCategory=void 0,(ue=e.TransactionCategory||(e.TransactionCategory={}))[ue.Unknown=0]="Unknown",ue[ue.Generic=1]="Generic",ue[ue.BankAccount=2]="BankAccount",ue[ue.Card=3]="Card",ue[ue.MobileWallet=4]="MobileWallet",ue[ue.Cash=5]="Cash",ue[ue.Merchant=6]="Merchant",ue[ue.QrCode=7]="QrCode",ue[ue.DigitalWallet=8]="DigitalWallet",ue[ue.Wallet=8]="Wallet",ue[ue.Bill=9]="Bill";var me,Ae,fe,Se=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};Se.none=void 0,e.TransactionIconType=void 0,(me=e.TransactionIconType||(e.TransactionIconType={}))[me.Bank=0]="Bank",me[me.MobileWallet=1]="MobileWallet",me[me.Card=2]="Card",me[me.Cash=3]="Cash",me[me.Merchant=4]="Merchant",me[me.QrCode=5]="QrCode",me[me.DigitalWallet=6]="DigitalWallet",me[me.MTN=7]="MTN",me[me.Vodafone=8]="Vodafone",me[me.AirtelTigo=9]="AirtelTigo",me[me.GhanaPay=10]="GhanaPay",me[me.Zeepay=11]="Zeepay",me[me.Glo=12]="Glo",me[me.Surfline=13]="Surfline",me[me.Busy4G=14]="Busy4G",me[me.DSTV=15]="DSTV",me[me.GoTV=16]="GoTV",me[me.StarTimesTV=17]="StarTimesTV",me[me.ECG=18]="ECG",me[me.GhanaWater=19]="GhanaWater",me[me.Telecel=20]="Telecel",e.TransactionStatus=void 0,(Ae=e.TransactionStatus||(e.TransactionStatus={}))[Ae.NotStarted=0]="NotStarted",Ae[Ae.Success=1]="Success",Ae[Ae.Failed=2]="Failed",Ae[Ae.Processing=3]="Processing",Ae[Ae.Pending=4]="Pending",Ae[Ae.Authorized=5]="Authorized",Ae[Ae.Declined=6]="Declined",Ae[Ae.ValidationError=7]="ValidationError",Ae[Ae.Requires3DSecure=8]="Requires3DSecure",Ae[Ae.RequiresPin=9]="RequiresPin",Ae[Ae.Expired=10]="Expired",Ae[Ae.InsufficientFunds=11]="InsufficientFunds",Ae[Ae.AddressVerificationFailed=12]="AddressVerificationFailed",Ae[Ae.Ignored=13]="Ignored",Ae[Ae.ExternallyFunded=14]="ExternallyFunded",Ae[Ae.ProcessorUnavailable=15]="ProcessorUnavailable",Ae[Ae.TimedOut=16]="TimedOut",Ae[Ae.Indeterminate=17]="Indeterminate",Ae[Ae.RequiresConfirmation=18]="RequiresConfirmation",Ae[Ae.RequiresAddress=19]="RequiresAddress",Ae[Ae.Delayed=20]="Delayed",Ae[Ae.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",Ae[Ae.Unrecoverable=22]="Unrecoverable",Ae[Ae.Reversed=23]="Reversed",e.TransactionType=void 0,(fe=e.TransactionType||(e.TransactionType={}))[fe.Source=1]="Source",fe[fe.Destination=2]="Destination";var Ce,pe="/v1/pay",ye="/v2/token",ge="/v1/transaction",Pe="/v1/notification",Re=/*#__PURE__*/function(t){function i(e,i){var n;return void 0===i&&(i=!1),(n=t.call(this,e,i)||this).hubConnection=void 0,n.baseUrl=void 0,n.activeTransactions=new Map,n.manuallyStartedPaymentStatusChecking=!1,n.baseUrl=e.defaults.baseURL,n.hubConnection=(new v.HubConnectionBuilder).withUrl(""+n.baseUrl+pe+"/hub",{accessTokenFactory:function(){return P.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(n.consoleLogging?v.LogLevel.Debug:v.LogLevel.None).build(),n}C(i,t);var n=i.prototype;return n.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(pe,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(pe+"/merchant/"+e,"POST",t)).then(function(e){return P.accessToken=P.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(pe+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.paymentReceipt=function(e){try{return Promise.resolve(this.request(pe+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.createCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card","POST",e))}catch(e){return Promise.reject(e)}},n.createBankAccountToken=function(e){try{return Promise.resolve(this.request(ye+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},n.verifyCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},n.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(ye+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.submitPinCode=function(e,t){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},n.rejectPinCode=function(e){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},n.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(ge+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},n.submitAddress=function(e,t){try{return Promise.resolve(this.request(ge+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},n.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},n.sendEmailPaymentNotification=function(t,i,n){try{return Promise.resolve(this.request(Pe+"/email/"+t,"POST",{toEmailAddress:i,templateName:n,receiptType:e.ReceiptType.Consumer}))}catch(e){return Promise.reject(e)}},n.sendSmsPaymentNotification=function(t,i){try{var n={toNumber:i.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:e.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/sms/"+t,"POST",n))}catch(e){return Promise.reject(e)}},n.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return A(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?A(e,t):void 0}}(e))){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.activeTransactions.values());!(i=n()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===v.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},n.startPaymentStatusChecking=function(e){try{var t=this;return e&&t.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.hubConnection.off("OnPaymentStatusChanged"),t.hubConnection.on("OnPaymentStatusChanged",function(e){try{var i,n=function(e){return i?e:Promise.resolve()};t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null});var o=function(){if(t.activeTransactions.has(e.paymentReference))return t.checkPaymentUpdateStatus(e),function(){if(e.isComplete)return t.activeTransactions.delete(e.paymentReference),function(){if(!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.stopPaymentStatusChecking(e.paymentReference)).then(function(e){return i=1,e})}();t.addPaymentStatusCheckInterval(e.paymentReference,5e3)}()}();return Promise.resolve(o&&o.then?o.then(n):n(o))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(n,o){try{var s=function(){function n(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var o=function(){if(t.hubConnection.state!==v.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return o&&o.then?o.then(n):n(o)}()}catch(e){return o(e)}return s&&s.then?s.then(void 0,o):s}(0,function(i){return e?(t.removePaymentStatusCheckInterval(e),console.error("Could not connect via SignalR, falling back to polling end-point..."),t.addPaymentStatusCheckInterval(e,1500),Promise.resolve()):Promise.reject(i)}))}catch(e){return Promise.reject(e)}}()).then(function(){var i;function n(e){return i?e:Promise.resolve(null)}var o=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var n=Promise.resolve(e);return i=1,n});t.manuallyStartedPaymentStatusChecking=!0}();return o&&o.then?o.then(n):n(o)})}catch(e){return Promise.reject(e)}},n.getOfflinePaymentFormUrl=function(e,t,i,n,o){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(n||"")+"|"+s},n.getRequiredPinLength=function(t){return t===e.MobileWalletOperator.VDF||"VDF"===t.toString()||t===e.MobileWalletOperator.TCG||"TCG"===t.toString()?6:4},n.luhnCheck=function(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;for(var t=[0,2,4,6,8,1,3,5,7,9],i=e.length,n=1,o=0,s=0;i;)s=parseInt(e.charAt(--i),10),o+=(n^=1)?t[s]:s;return o%10==0},n.checkPaymentUpdateStatus=function(t){var i=this,n=this.activeTransactions.get(t.paymentReference);n&&JSON.stringify(t)!==n.lastJsonResponse?(n.lastJsonResponse=JSON.stringify(t),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(t,{depth:null})),this.events.publish(b,t),function(t){var n=!1,o=function(o){if(!n){var s={message:o.message,transactionReference:o.reference,paymentStatusResponse:t};if(o.status===e.TransactionStatus.RequiresConfirmation||o.status===e.TransactionStatus.RequiresInitialConfirmation){n=!0;var r=t.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||t.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||t.paymentDestinations.merchants.find(function(e){return e.accountHolder})||t.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||t.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;s.confirmationData={amountInCents:o.amountInCents,sourceAccountHolder:o.accountHolder||null,destinationAccountHolder:null!==r?r.accountHolder:null,fees:o.fees},i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(s,{depth:null})),i.events.publish(D,s)}else o.status===e.TransactionStatus.RequiresPin?(n=!0,s.pinLength=i.getRequiredPinLength(e.MobileWalletOperator.None),o&&o.mobileWalletOperator&&(s.pinLength=i.getRequiredPinLength(o.mobileWalletOperator)),i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(s,{depth:null})),i.events.publish(N,s)):o.status===e.TransactionStatus.RequiresAddress&&(n=!0,i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),i.events.publish(B,s))}};t.paymentSources.cards.forEach(function(s){if(!n&&s.status===e.TransactionStatus.Requires3DSecure&&s.threeDSecureUrl){n=!0,i.activeTransactions.get(t.paymentReference).isProcessing3dSecure=!0;var r={url:s.threeDSecureUrl};i.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(r,{depth:null})),i.events.publish(H,r)}else o(s)}),!n&&i.activeTransactions.get(t.paymentReference).isProcessing3dSecure&&(i.activeTransactions.get(t.paymentReference).isProcessing3dSecure=!1,i.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),i.events.publish(E)),t.paymentSources.mobileWallets.forEach(function(e){return o(e)}),t.paymentSources.bankAccounts.forEach(function(e){return o(e)}),t.paymentDestinations.bankAccounts.forEach(function(e){return o(e)}),t.paymentDestinations.merchants.forEach(function(e){return o(e)}),t.paymentDestinations.mobileWallets.forEach(function(e){return o(e)}),t.paymentDestinations.qrCodes.forEach(function(e){return o(e)}),t.paymentDestinations.cards.forEach(function(e){return o(e)}),t.paymentDestinations.wallets.forEach(function(e){return o(e)}),t.paymentDestinations.bills.forEach(function(e){return o(e)})}(t),t.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(t,{depth:null})),this.events.publish(M,t),this.removePaymentStatusCheckInterval(t.paymentReference),this.activeTransactions.delete(t.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},n.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var n=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var n=function(){if(t){i.checkPaymentUpdateStatus(t);var n=function(){if(t.isComplete){var n=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(n&&n.then)return n.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(n&&n.then)return n.then(function(){})}}();if(n&&n.then)return n.then(function(){})})}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var n=this.activeTransactions.get(e);clearInterval(n.statusCheckTimer),n.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},n.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},i}(k),Te="/v1/consumer",Ie="/v1/consumer/messages",be="/v1/consumer/account",Me=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}C(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Te,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Te,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Te,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(R),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Te,"GET"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(be+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(be+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(Ie,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(k),He=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).qrCache=new Map,t}C(t,e);var i=t.prototype;return i.decode=function(e){try{var t=function(){return Promise.resolve(i.qrCache.get(e)||null)},i=this,n=function(){if(!i.qrCache.has(e)){var t=i.qrCache,n=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(m.default.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(k),Ne="/v1/merchant",De="/v1/merchant/otp",Be="/v1/merchant/pos",Ee="/v1/merchant/product",Le="/v1/merchant/user",Oe=/*#__PURE__*/function(t){function i(){for(var e,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).productDetailCache=new Map,e.productsCache=[],e}C(i,t);var n=i.prototype;return n.createMerchantProductProxy=function(e){var t=f({},e);return new Proxy(t,{get:function(e,t){return"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t]},set:function(e,t,i){return e[t]=i,!0}})},n.getAllProducts=function(){try{var e=function(){return Promise.resolve(t.productsCache)},t=this,i=function(){if(0===t.productsCache.length)return Promise.resolve(t.request(Ee+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getActiveProductTypes=function(){try{return Promise.resolve(this.getAllProducts()).then(function(e){return Promise.resolve(e.map(function(e){return e.type}).sort())})}catch(e){return Promise.reject(e)}},n.getMerchantNamesFromProductType=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=t.find(function(t){return t.type===e});return Promise.resolve(i?i.merchants.map(function(e){return e.name}).filter(function(e,t,i){return i.indexOf(e)===t}).sort():[])})}catch(e){return Promise.reject(e)}},n.getProductTypesForMerchant=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=[];return t.forEach(function(t){t.merchants.find(function(t){return t.name===e})&&i.push(t.type)}),Promise.resolve(i.filter(function(e,t,i){return i.indexOf(e)===t}).sort())})}catch(e){return Promise.reject(e)}},n.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var n=i.find(function(t){return t.type===e});if(n){var o=n.merchants.find(function(e){return e.name===t});if(o)return Promise.resolve(o.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},n.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,n=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,n=t.set;return Promise.resolve(i.request(Ee+"/details/"+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+Ee,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},n.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Ee,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},n.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Ee,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},n.deleteProduct=function(e){try{return Promise.resolve(this.request(Ee+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},n.getMerchant=function(){try{return Promise.resolve(this.request(Ne,"GET"))}catch(e){return Promise.reject(e)}},n.createMerchant=function(e){try{return Promise.resolve(this.request(Ne,"POST",e))}catch(e){return Promise.reject(e)}},n.updateMerchant=function(e){try{return Promise.resolve(this.request(Ne,"PUT",e))}catch(e){return Promise.reject(e)}},n.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement","GET"))}catch(e){return Promise.reject(e)}},n.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},n.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},n.validateOtp=function(e,t){try{var i={otpValue:e},n="";return t&&(n=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/validate/"+n,"POST",i)).then(function(e){return P.accessToken=e.accessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.validateMerchantName=function(e){try{return Promise.resolve(this.request(Ne+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(P.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},n.createUser=function(e,t,i,n){try{return Promise.resolve(this.request(Le,"POST",{username:e,password:t,mobileNumber:i,emailAddress:n,isLockedOut:!1})).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.switchToMerchant=function(e){try{return Promise.resolve(this.request(Le+"/switch/"+e,"POST")).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getUserMerchants=function(){try{return Promise.resolve(this.request(Le,"GET"))}catch(e){return Promise.reject(e)}},n.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Be+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return P.accessToken=e.checkAccessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(Be+"/config/"+e+"/"+t,"GET")).then(function(e){return P.accessToken=e.accessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getTerminalPaymentQrCodes=function(t,i){try{var n=i.toString();return Number.isInteger(i)&&(n=e.Currency[i]),Promise.resolve(this.request(Be+"/qr?amount="+t+"¤cy="+n,"GET"))}catch(e){return Promise.reject(e)}},n.getTerminalPaymentQrCodeUrls=function(t,i){try{var n=i.toString();return Number.isInteger(i)&&(n=e.Currency[i]),Promise.resolve(this.request(Be+"/qr-urls?amount="+t+"¤cy="+n,"GET"))}catch(e){return Promise.reject(e)}},n.uploadFile=function(e){try{return Promise.resolve(this.request(Ne+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},i}(k),ke=/\{@?\w+}/g,Ge=/*#__PURE__*/function(){function e(e){if(this.raw=void 0,this.tokens=void 0,null===e||!e.length)throw new Error('Argument "messageTemplate" is required.');this.raw=e,this.tokens=this.tokenize(e)}var t=e.prototype;return t.render=function(e){if(!this.tokens.length)return this.raw;e=e||{};for(var t=[],i=0;i<this.tokens.length;++i){var n=this.tokens[i];"string"==typeof n.name?e.hasOwnProperty(n.name)?t.push(this.toText(e[n.name])):t.push(n.raw):t.push(n.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,n=0;n<this.tokens.length&&i<e.length;++n){var o=this.tokens[n];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){var s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t},t.tokenize=function(e){for(var t,i,n=[];null!==(t=ke.exec(e));){t.index!==i&&n.push({text:e.slice(i,t.index)});var o=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),o=!0),n.push({name:s,destructure:o,raw:t[0]}),i=ke.lastIndex}return i>=0&&i<e.length&&n.push({text:e.slice(i)}),n},t.toText=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e;if("number"==typeof e)return e.toString();if("boolean"==typeof e)return e.toString();if("function"==typeof e.toISOString)return e.toISOString();if("object"==typeof e){var t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()},t.capture=function(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e},e}();e.LogLevel=void 0,(Ce=e.LogLevel||(e.LogLevel={}))[Ce.Trace=0]="Trace",Ce[Ce.Debug=1]="Debug",Ce[Ce.Information=2]="Information",Ce[Ce.Warning=3]="Warning",Ce[Ce.Error=4]="Error",Ce[Ce.Critical=5]="Critical";var we,Fe,Ue,We,qe,Ve,Ke,xe,je,Ze,Ye,Qe,Je,ze,Xe=/*#__PURE__*/function(t){function i(e,i,n,o){var s;return void 0===i&&(i=!1),void 0===n&&(n=100),void 0===o&&(o=6e4),(s=t.call(this,e,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=n,s.batchInterval=o,s.maxQueueSize=Math.min(10*n,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}C(i,t);var n=i.prototype;return n.flush=function(){return this.submitMessageBatch(!1)},n.fatal=function(t){return this.log(e.LogLevel.Critical,t,[].slice.call(arguments,1))},n.error=function(t){return this.log(e.LogLevel.Error,t,[].slice.call(arguments,1))},n.warn=function(t){return this.log(e.LogLevel.Warning,t,[].slice.call(arguments,1))},n.info=function(t){return this.log(e.LogLevel.Information,t,[].slice.call(arguments,1))},n.debug=function(t){return this.log(e.LogLevel.Debug,t,[].slice.call(arguments,1))},n.trace=function(t){return this.log(e.LogLevel.Trace,t,[].slice.call(arguments,1))},n.log=function(t,i,n){var o={timestamp:(new Date).toJSON(),level:t,template:i,properties:n},s=new Ge(o.template),r=s.render(s.bindProperties(o.properties));if(this.consoleLogging)switch(t){case e.LogLevel.Critical:case e.LogLevel.Error:console.error(r);break;case e.LogLevel.Warning:console.warn(r);break;case e.LogLevel.Information:console.info(r);break;case e.LogLevel.Debug:case e.LogLevel.Trace:console.debug(r);break;default:console.log(r)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(o),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+e.LogLevel[t].toUpperCase()+"] "+r},n.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var n=this.messageBatch.splice(0,this.batchSize);n.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",n.length),i=this.request("/v1/logging","POST",n).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,n),t.messageBatch.length>t.maxQueueSize&&t.messageBatch.splice(0,t.messageBatch.length-t.maxQueueSize),t.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",t.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(function(){return t.submitMessageBatch(!0)},this.batchInterval)),i},i}(k),_e=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return C(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(k),$e="/v1/content",et=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}C(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request($e,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request($e+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(k),tt="/v1/reports/sales",it=/*#__PURE__*/function(t){function i(){return t.apply(this,arguments)||this}C(i,t);var n=i.prototype;return n.getRecentSales=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(tt+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},n.getDailySales=function(t,i,n){try{var o=t.toString();return Number.isInteger(t)&&(o=e.Currency[t]),Promise.resolve(this.request(tt+"/daily?currency="+o+"&dateFrom="+i+"&dateTo="+n,"GET"))}catch(e){return Promise.reject(e)}},n.getSalesSummary=function(t){try{var i=t.toString();return Number.isInteger(t)&&(i=e.Currency[t]),Promise.resolve(this.request(tt+"/summary?currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i}(k);e.AddressType=void 0,(we=e.AddressType||(e.AddressType={})).MAIN="MAIN",we.POST="POST",we.BILL="BILL",we.SHIP="SHIP",e.BankAccountType=void 0,(Fe=e.BankAccountType||(e.BankAccountType={})).SAVINGS="SAVINGS",Fe.CURRENT="CURRENT",Fe.FIXED="FIXED",Fe.MONEYMARKET="MONEYMARKET",Fe.CODA="CODA",e.BeneficiaryAccountType=void 0,(Ue=e.BeneficiaryAccountType||(e.BeneficiaryAccountType={})).None="None",Ue.MobileNumber="MobileNumber",Ue.WaterMeter="WaterMeter",Ue.ElectricityMeter="ElectricityMeter",Ue.PayShap="PayShap",e.ConsumerAttribute=void 0,(We=e.ConsumerAttribute||(e.ConsumerAttribute={}))[We.VisaPAN=1]="VisaPAN",We[We.MasterCardPAN=2]="MasterCardPAN",We[We.RegistrationInvitationCode=3]="RegistrationInvitationCode",We[We.GMoneyWalletNumber=4]="GMoneyWalletNumber",We[We.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",We[We.MarketingConsent=6]="MarketingConsent",We[We.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",We[We.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",e.KycStatusSummary=void 0,(qe=e.KycStatusSummary||(e.KycStatusSummary={})).Unverified="Unverified",qe.Verified="Verified",qe.Rejected="Rejected",e.DevicePlatform=void 0,(Ve=e.DevicePlatform||(e.DevicePlatform={})).Unknown="Unknown",Ve.Android="Android",Ve.iOS="iOS",Ve.Web="Web",e.EmployeeNotificationEvent=void 0,(Ke=e.EmployeeNotificationEvent||(e.EmployeeNotificationEvent={}))[Ke.PaymentSuccessful=1]="PaymentSuccessful",Ke[Ke.PaymentFailed=2]="PaymentFailed",e.FuelPurchaseMethod=void 0,(xe=e.FuelPurchaseMethod||(e.FuelPurchaseMethod={})).ByAmount="ByAmount",xe.ByQuantity="ByQuantity",xe.ByAmountAndQuantity="ByAmountAndQuantity",e.Industry=void 0,(je=e.Industry||(e.Industry={})).None="None",je.Retail="Retail",je.Restaurant="Restaurant",je.Forecourt="Forecourt",je.Workshop="Workshop",e.KybStatusSummary=void 0,(Ze=e.KybStatusSummary||(e.KybStatusSummary={})).Unverified="Unverified",Ze.Verified="Verified",Ze.PartiallyVerified="PartiallyVerified",Ze.Rejected="Rejected",e.MerchantAttribute=void 0,(Ye=e.MerchantAttribute||(e.MerchantAttribute={}))[Ye.GhIPSSMerchantId=2]="GhIPSSMerchantId",Ye[Ye.VisaPAN=3]="VisaPAN",Ye[Ye.MasterCardPAN=4]="MasterCardPAN",Ye[Ye.NIBSSMerchantReference=6]="NIBSSMerchantReference",e.MerchantNotificationEvent=void 0,(Qe=e.MerchantNotificationEvent||(e.MerchantNotificationEvent={}))[Qe.PaymentSuccessful=1]="PaymentSuccessful",Qe[Qe.PaymentFailed=2]="PaymentFailed",Qe[Qe.SettlementConfirmation=3]="SettlementConfirmation",e.SettlementTime=void 0,(Je=e.SettlementTime||(e.SettlementTime={})).None="None",Je.IntraDay="IntraDay",Je.EndOfDay="EndOfDay",Je.TPlusOne="TPlusOne",Je.TPlusTwo="TPlusTwo",Je.TPlusThree="TPlusThree",Je.TPlusSeven="TPlusSeven",e.TerminalType=void 0,(ze=e.TerminalType||(e.TerminalType={})).None="None",ze.GHIPPS="GHIPPS",ze.NIBSS="NIBSS",ze.PAX="PAX",ze.Verifone="Verifone";var nt="-".repeat(120),ot=/*#__PURE__*/function(){function e(e){var t=this,i=this;this.baseUrl=void 0,this.consoleLogging=void 0,this.logBatchSize=void 0,this.logBatchInterval=void 0,this.axiosInstance=void 0,this.abortController=void 0,this.events=h.default,this.system=void 0,this.content=void 0,this.log=void 0,this.auth=void 0,this.consumers=void 0,this.merchants=void 0,this.lookups=void 0,this.payments=void 0,this.qrCodes=void 0,this.reports=void 0,this.baseUrl=(e.baseUrl||"http://localhost:5000").replace(/\/+$/,""),this.abortController=new AbortController,this.axiosInstance=d.default.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:f({},e.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":e.language||"en"})}),u.default(this.axiosInstance,function(e){try{var t,n=function(i){return t?i:Promise.reject(e)},o="/v1/auth/refresh";if(e.request.path===o)return Promise.reject(e);var s=function(){if(P.refreshToken)return function(n,s){try{var r=function(){var n={method:"POST",url:o,headers:{Authorization:"Bearer "+P.refreshToken}};return i.consoleLogging&&(console.debug("\r\n"+nt),console.debug("-- AUTO REFRESH --"),console.debug(nt),console.debug(n.method+": "+i.baseUrl+n.url),console.debug(nt),n.headers&&(console.debug("-- HEADERS --"),console.dir(n.headers)),n.data&&(console.debug("-- REQUEST --"),console.dir(n.data,{depth:null}))),Promise.resolve(i.axiosInstance(n)).then(function(n){if(i.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(n.data,{depth:null}),console.debug(nt)),n.data&&n.data.success){P.accessToken=n.data.result.accessToken,P.refreshToken=n.data.result.refreshToken,i.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(n.data.result,{depth:null})),i.events.publish(T,n.data.result),e&&(e.response.config.headers.Authorization="Bearer "+P.accessToken);var o=Promise.resolve(e);return t=1,o}i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R)})}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(e){throw i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R),e});P.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R))}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}}),l.default(this.axiosInstance,{retries:e.retries||3,retryDelay:l.default.exponentialDelay,onRetry:function(e,i,n){t.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",i);var o={retryCount:e};t.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(o,{depth:null})),t.events.publish(I,o)}}),this.consoleLogging=e.consoleLogging||!1,this.logBatchSize=e.logBatchSize||100,this.logBatchInterval=e.logBatchInterval||6e4,this.system=new _e(this.axiosInstance,this.consoleLogging),this.content=new et(this.axiosInstance,this.consoleLogging),this.log=new Xe(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new se(this.axiosInstance,this.consoleLogging),this.consumers=new Me(this.axiosInstance,this.consoleLogging),this.merchants=new Oe(this.axiosInstance,this.consoleLogging),this.lookups=new ve(this.axiosInstance,this.consoleLogging),this.payments=new Re(this.axiosInstance,this.consoleLogging),this.qrCodes=new He(this.axiosInstance,this.consoleLogging),this.reports=new it(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return e.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},e}();e.AccountHolderTransactionResult=function(){this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.AdditionalTerminalReference=function(){this.terminalType=void 0,this.reference=void 0},e.Address=function(){this.reference=void 0,this.addressType=void 0,this.addressLine1=void 0,this.addressLine2=void 0,this.addressLine3=void 0,this.postalCode=void 0,this.countryIsoCode=void 0,this.city=void 0,this.state=void 0,this.location=void 0,this.description=void 0,this.formatted=void 0,this.isActive=void 0},e.AmountTotals=function(){this.totalAmountRequestedInCents=void 0,this.totalAmountAttemptedInCents=void 0,this.totalAmountProcessedInCents=void 0,this.totalAmountProcessedLessFeesAndCommissionsInCents=void 0,this.totalInternalFeesInCents=void 0,this.totalExternalFeesInCents=void 0,this.totalFeesInCents=void 0,this.totalElevyInCents=void 0,this.totalUserFeesInCents=void 0,this.totalCommissionsInCents=void 0,this.totalRefundsInCents=void 0,this.totalCashbackAmountAttemptedInCents=void 0,this.totalCashbackAmountProcessedInCents=void 0,this.totalTipAmountAttemptedInCents=void 0,this.totalTipAmountProcessedInCents=void 0,this.grandTotalProcessedInCents=void 0,this.grandTotalToBePaidByUserInCents=void 0},e.ApiError=L,e.ApiTokens=P,e.ApplePaySource=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.ApplePayWebPaymentResponse=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},e.Balance=function(){this.currency=void 0,this.amountInCents=void 0},e.BankAccountDestination=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BankAccountDestinationResult=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.BankAccountRequest=function(){this.accountNumber=void 0,this.bank=void 0},e.BankAccountResponse=function(){this.token=void 0},e.BankAccountSource=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BankAccountSourceResult=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.BankData=function(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.routingCode=void 0,this.bankName=void 0,this.country=void 0},e.BasicConsumer=function(){this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},e.BasicEmployee=function(){this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},e.BasicMerchant=function(){this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},e.Beneficiary=function(){this.reference=void 0,this.name=void 0,this.contactNumber=void 0,this.lastTransactionDate=void 0,this.lastTransactionAmountInCents=void 0,this.lastTransactionCurrency=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.accounts=void 0,this.isActive=void 0},e.BeneficiaryAccount=function(){this.accountNumber=void 0,this.beneficiaryAccountType=void 0,this.beneficiaryAccountTypeName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryBankAccount=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.routingCode=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryCard=function(){this.token=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.cardIssuer=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryMobileWallet=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BillDestination=function(){this.productReference=void 0,this.productFields=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BillDestinationResult=function(){this.productName=void 0,this.productReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.Business=function(){this.reference=void 0,this.parentBusinessReference=void 0,this.createdDate=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.phoneNumber=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.isActive=void 0},e.CardDestination=function(){this.token=void 0,this.cardNumber=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CardDestinationResult=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CardHolder=function(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0},e.CardRequest=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},e.CardResponse=function(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0},e.CardSettings=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},e.CardSource=function(){this.token=void 0,this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.cvv=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.disableThreeDSecure=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CardSourceResult=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CardVerificationPaymentRequest=function(){this.yourReference=void 0,this.consumer=void 0,this.token=void 0,this.cvv=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.location=void 0,this.paymentStatusWebhook=void 0},e.CashDestination=function(){this.doNotProcess=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CashDestinationResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CashSource=function(){this.doNotProcess=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CashSourceResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CategoryDetails=function(){this.type=void 0,this.merchants=void 0},e.ChangePasswordRequest=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},e.Consumer=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.preferredName=void 0,this.fullNameOfNextOfKin=void 0,this.contactNumberForNextOfKin=void 0,this.alternateContactNumber=void 0,this.invitationCode=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.identityDocuments=void 0,this.kycLookupResults=void 0,this.files=void 0,this.devices=void 0,this.addresses=void 0,this.beneficiaries=void 0,this.accounts=void 0,this.attributes=void 0,this.rewardPointsInfo=void 0,this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},e.ConsumerAccounts=function(){this.bankAccounts=void 0,this.mobileWallets=void 0,this.loanAccounts=void 0,this.insurancePolicies=void 0,this.cards=void 0},e.ConsumerAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},e.ConsumerBankAccount=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.branchName=void 0,this.routingCode=void 0,this.linkedCardReferences=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerCard=function(){this.cardHolder=void 0,this.token=void 0,this.cardIssuer=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.linkedBankAccountReferences=void 0,this.settings=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerFile=function(){this.fileType=void 0,this.kycResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.ConsumerInsurancePolicy=function(){this.policyNumber=void 0,this.coverAmountInCents=void 0,this.premiumAmountInCents=void 0,this.description=void 0,this.beneficiaryName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerLoanAccount=function(){this.contractNumber=void 0,this.originalCapitalInCents=void 0,this.settlementAmountInCents=void 0,this.outstandingBalanceInCents=void 0,this.installmentAmountInCents=void 0,this.arrearsAmountInCents=void 0,this.installmentsRemaining=void 0,this.annualInterestRatePercentage=void 0,this.nextInstallmentDate=void 0,this.startDate=void 0,this.endDate=void 0,this.isInArrears=void 0,this.isFullyPaid=void 0,this.repaymentPercentage=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerMobileWallet=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ContactDetails=function(){this.details=void 0},e.CountryData=function(){this.isAvailable=void 0,this.country=void 0,this.countryName=void 0,this.longIsoCode=void 0,this.shortIsoCode=void 0,this.numericIsoCode=void 0,this.dialingCode=void 0},e.CurrencyData=function(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0},e.Device=function(){this.createdDate=void 0,this.lastUsedDate=void 0,this.reference=void 0,this.yourReference=void 0,this.platform=void 0,this.deviceType=void 0,this.brand=void 0,this.model=void 0,this.serialNumber=void 0,this.operatingSystemVersion=void 0,this.softwareVersion=void 0,this.pushNotificationToken=void 0},e.EmailNotificationRequest=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},e.Employee=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.userReference=void 0,this.isOwner=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.countryIsoCode=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.profileImage=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.notificationSettings=void 0,this.addresses=void 0,this.identityDocuments=void 0,this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},e.EmployeeNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},e.FaceCheckResult=function(){this.faceCount=void 0,this.containsNoise=void 0,this.isLowQuality=void 0,this.isOverExposed=void 0,this.isUnderExposed=void 0,this.isBlurry=void 0,this.isWearingMask=void 0,this.foreheadNotIncluded=void 0,this.eyesNotIncluded=void 0,this.mouthNotIncluded=void 0,this.faceLeft=void 0,this.faceTop=void 0,this.faceWidth=void 0,this.faceHeight=void 0,this.problems=void 0},e.Feedback=function(){this.description=void 0},e.ForgotPasswordRequest=function(){this.username=void 0},e.GenericDestination=function(){this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GenericSource=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GooglePaySource=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GooglePayWebPaymentResponse=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},e.HostedPaymentOptions=function(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0},e.IdAndDescription=function(){this.id=void 0,this.description=void 0},e.IdentityDocument=function(){this.reference=void 0,this.identityDocumentType=void 0,this.countryIsoCode=void 0,this.identityNumber=void 0,this.placeOfIssuance=void 0,this.effectiveDate=void 0,this.expiryDate=void 0},e.KybFileResult=function(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.KycFileResult=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.KycLookupResult=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.LanguageData=function(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=void 0},e.LineItem=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.quantity=void 0,this.currency=void 0,this.unitAmountInCents=void 0,this.totalAmountInCents=void 0},e.LivenessRequest=function(){this.base64Images=void 0},e.Location=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},e.LoginCredentials=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},e.LoginErrorResponse=function(){this.invalidUsernameOrPassword=void 0,this.mustChangePassword=void 0,this.mustValidatePhoneNumber=void 0,this.mustValidateEmailAddress=void 0,this.deactivated=void 0,this.registrationRequired=void 0,this.lockedOut=void 0,this.changePasswordAccessToken=void 0,this.validatePhoneNumberAccessToken=void 0,this.resendEmailVerificationToken=void 0},e.LoginRequest=function(){this.username=void 0,this.password=void 0},e.Merchant=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.tradingName=void 0,this.franchiseName=void 0,this.capturedBy=void 0,this.capturedFrom=void 0,this.industry=void 0,this.phoneNumber=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.city=void 0,this.state=void 0,this.languageIsoCode=void 0,this.webSiteUrl=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.vCard=void 0,this.logoImage=void 0,this.taxNumber=void 0,this.companyRegistrationNumber=void 0,this.companyRegistrationDate=void 0,this.adminPasscode=void 0,this.logoUrl=void 0,this.hostedPaymentUrl=void 0,this.hostedPaymentOptions=void 0,this.posOptions=void 0,this.business=void 0,this.addresses=void 0,this.employees=void 0,this.terminals=void 0,this.files=void 0,this.notificationSettings=void 0,this.attributes=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.operatingTimes=void 0,this.devices=void 0,this.qrCodes=void 0,this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},e.MerchantAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},e.MerchantBankAccount=function(){this.reference=void 0,this.createdDateUtc=void 0,this.accountNumber=void 0,this.bank=void 0,this.currency=void 0,this.accountName=void 0,this.branchName=void 0,this.routingCode=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},e.MerchantDestination=function(){this.merchantReference=void 0,this.merchantSource=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.paymentType=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MerchantDestinationResult=function(){this.merchantReference=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.MerchantDetail=function(){this.name=void 0,this.products=void 0},e.MerchantFile=function(){this.fileType=void 0,this.kybResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.MerchantLoginCredentials=function(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},e.MerchantMobileWallet=function(){this.reference=void 0,this.msisdn=void 0,this.mobileWalletOperator=void 0,this.currency=void 0,this.accountName=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},e.MerchantNameVerificationRequest=function(){this.merchantName=void 0},e.MerchantNameVerificationResponse=function(){this.accessToken=void 0},e.MerchantNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},e.MerchantPaymentRequest=function(){this.paymentSources=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.timestamp=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},e.MerchantPaymentResponse=function(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0},e.MerchantProduct=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.yourReference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.productType=void 0,this.currency=void 0,this.amountInCents=void 0,this.maximumAmountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.isActive=void 0,this.fields=void 0},e.MerchantProductCatalog=function(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0},e.MerchantProductField=function(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.selectionItems=void 0},e.MerchantProductFieldSelectionItem=function(){this.label=void 0,this.value=void 0},e.MerchantQrCode=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.name=void 0,this.shortUrl=void 0,this.fullUrl=void 0,this.label=void 0,this.notes=void 0,this.options=void 0,this.isActive=void 0},e.MerchantQrCodeOptions=function(){this.amountInCents=void 0,this.isAmountEditable=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.splitReference=void 0,this.isQrCode=void 0,this.currency=void 0,this.currencySymbol=void 0,this.feePercentage=void 0,this.enableCustomReference=void 0,this.enableTip=void 0,this.enableRating=void 0,this.redirectUrl=void 0,this.notificationEmailAddresses=void 0,this.notificationMobileNumbers=void 0,this.metaData=void 0,this.clientData=void 0},e.MerchantRefundRequest=function(){this.language=void 0,this.timeZone=void 0,this.description=void 0,this.transactionBatchReference=void 0,this.refundCategory=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},e.Message=function(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0},e.MobileWalletDestination=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MobileWalletDestinationResult=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.MobileWalletOperatorData=function(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0},e.MobileWalletSource=function(){this.mobileWalletOperator=void 0,this.msisdn=void 0,this.voucherCode=void 0,this.subscriberPin=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MobileWalletSourceResult=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.NameAndReference=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},e.OnApiRetry=I,e.OnAutomaticRefresh=T,e.OnComplete3DSecure=E,e.OnPaymentComplete=M,e.OnPaymentStatusUpdate=b,e.OnRequires3DSecure=H,e.OnRequiresAddress=B,e.OnRequiresConfirmation=D,e.OnRequiresPin=N,e.OnSessionExpired=R,e.OperatingTime=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},e.OtpVerificationRequest=function(){this.otpValue=void 0},e.OtpVerificationResponse=function(){this.userAccountExists=void 0,this.accessToken=void 0},e.PaymentDestinationResults=function(){this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},e.PaymentDestinations=function(){this.generic=void 0,this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},e.PaymentReceiptResponse=function(){this.lineItems=void 0,this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},e.PaymentRecurrenceSchedule=function(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0},e.PaymentRecurrenceScheduleEntry=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},e.PaymentRequest=function(){this.paymentSources=void 0,this.paymentDestinations=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},e.PaymentResponse=function(){this.reference=void 0,this.paymentStatusUrls=void 0},e.PaymentSourceResults=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},e.PaymentSources=function(){this.generic=void 0,this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0,this.applePay=void 0,this.googlePay=void 0},e.PaymentStatusResponse=function(){this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},e.PaymentTransaction=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.PaymentTransactionResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.PosOptions=function(){this.isRefundsEnabled=void 0,this.isCancellationsEnabled=void 0,this.isPurchaseWithCashbackEnabled=void 0,this.isWithdrawalsEnabled=void 0,this.isBalanceCheckEnabled=void 0,this.isCurrencyConversionEnabled=void 0,this.isRcsPaymentEnabled=void 0,this.isDebiCheckEnabled=void 0,this.isPreAuthorizationEnabled=void 0,this.isManualCardEntryEnabled=void 0,this.isInvoiceNumberEnabled=void 0,this.isPasscodeAlwaysRequired=void 0,this.fuelPurchaseMethod=void 0},e.PosPermissions=function(){this.canCreateUsers=void 0,this.canProcessRefunds=void 0,this.canCloseAndAccessBatchReports=void 0,this.canEditDeviceSettings=void 0,this.canExceedMaximumSaleLimits=void 0,this.canProcessCashWithdrawals=void 0,this.canProcessCashDeposit=void 0,this.canUseBalanceEnquiry=void 0,this.canUseDebiCheck=void 0,this.canUseManualCardEntry=void 0,this.canProcessCancellations=void 0,this.canProcessDepositsAndReversals=void 0,this.canUsePreAuthorisation=void 0,this.canUseIncrementalAuthorisation=void 0,this.canOverrideAuthorisation=void 0,this.canCancelAuthorisation=void 0,this.canCompleteAuthorisation=void 0,this.canAccessReports=void 0},e.ProductDetail=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.amountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.fields=void 0},e.QrCodeDestination=function(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.QrCodeDestinationResult=function(){this.qrCode=void 0,this.merchantReference=void 0,this.billReference=void 0,this.tipAmountInCents=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.QrCodeValidationRequest=function(){this.qrCode=void 0},e.QrCodeValidationResponse=function(){this.canProcess=void 0,this.supportedQrCodes=void 0},e.RefundReceiptResponse=function(){this.yourReference=void 0,this.originalPaymentReceipt=void 0,this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RefundRequest=function(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},e.RefundResponse=function(){this.reference=void 0,this.refundStatusUrls=void 0},e.RefundStatusResponse=function(){this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RefundTransaction=function(){this.refundAmountInCents=void 0,this.description=void 0},e.RefundTransactionResult=function(){this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RewardPointsInfo=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},e.SalesCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0},e.SalesDetailsByDayResponse=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0},e.SalesDetailsResponse=function(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.sourceCategory=void 0,this.destinationCategory=void 0,this.sourceFacility=void 0,this.destinationFacility=void 0,this.sourceTransactionTypeDescription=void 0,this.destinationTransactionTypeDescription=void 0,this.sourceAccount=void 0,this.destinationAccount=void 0,this.name=void 0,this.transactionCompletedDate=void 0,this.currency=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.commissionFeeAmountInCents=void 0,this.serviceFeeAmountInCents=void 0,this.eLevyFeeAmountInCents=void 0,this.userFeeAmountInCents=void 0,this.tipAmountInCents=void 0,this.isSuccess=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0},e.SalesMonthSummaryResponse=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalSalesInCents=void 0,this.periodTotals=void 0},e.SalesPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.categoryTotals=void 0},e.SelfieRequest=function(){this.base64Image=void 0},e.SmsNotificationRequest=function(){this.toNumber=void 0,this.receiptType=void 0},e.StatusUrls=function(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0},e.StopCardRequest=function(){this.cardReference=void 0,this.reason=void 0},e.SwitchEnvironmentInfo=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},e.Terminal=function(){this.reference=void 0,this.yourReference=void 0,this.device=void 0,this.createdDate=void 0,this.name=void 0,this.hostedPaymentUrl=void 0,this.isActive=void 0,this.isLinked=void 0,this.qrCodes=void 0,this.externalQrCodes=void 0,this.notificationTokens=void 0,this.additionalReferences=void 0},e.TerminalConfiguration=function(){this.merchant=void 0,this.industry=void 0,this.primaryAddress=void 0,this.merchantId=void 0,this.terminalId=void 0,this.posMerchantId=void 0,this.posTerminalId=void 0,this.terminalReference=void 0,this.accessToken=void 0,this.adminPasscode=void 0,this.hostedPaymentUrl=void 0,this.posOptions=void 0,this.features=void 0,this.employees=void 0},e.TerminalFeatures=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},e.TerminalNotificationToken=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},e.TerminalPaymentQrCodeUrls=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},e.TerminalPaymentQrCodes=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},e.TerminalQrCode=function(){this.qrCodeType=void 0,this.qrCode=void 0},e.TerminalSetup=function(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0},e.TokenResponse=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},e.TransactionConfirmation=function(){this.confirm=void 0},e.TransactionData=Se,e.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},e.TransactionPin=function(){this.pin=void 0},e.VantagePay=ot,e.VerifyCardRequest=function(){this.token=void 0,this.verificationCode=void 0},e.WalletDestination=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.WalletDestinationResult=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.WalletSource=function(){this.walletReference=void 0,this.walletProvider=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.WalletSourceResult=function(){this.walletReference=void 0,this.walletProvider=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.Webhook=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0}});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("axios"),require("axios-retry"),require("axios-auth-refresh"),require("pubsub-js"),require("@microsoft/signalr"),require("qrcode")):"function"==typeof define&&define.amd?define(["exports","axios","axios-retry","axios-auth-refresh","pubsub-js","@microsoft/signalr","qrcode"],t):t((e||self).vantagepay={},e.axios,e.axiosRetry,e.axiosAuthRefresh,e.pubsubJs,e.signalR,e.qrcode)}(this,function(e,t,i,n,o,s,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,t}var d=/*#__PURE__*/a(t),l=/*#__PURE__*/a(i),u=/*#__PURE__*/a(n),h=/*#__PURE__*/a(o),v=/*#__PURE__*/c(s),m=/*#__PURE__*/a(r);function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},f.apply(null,arguments)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function g(e){var t="function"==typeof Map?new Map:void 0;return g=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return function(e,t,i){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return i&&y(o,i.prototype),o}(e,arguments,S(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),y(i,e)},g(e)}var P=new(/*#__PURE__*/function(){function e(){this.accessToken=null,this.refreshToken=null}return e.prototype.decodeToken=function(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)||{}}var n=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(n)||{}}return{}},e}()),R=Symbol("login.session.expired"),T=Symbol("login.session.refreshed"),I=Symbol("api.retry"),b=Symbol("payment.status"),M=Symbol("payment.complete"),H=Symbol("payment.wait.requires3dSecure"),N=Symbol("payment.wait.requiresPin"),D=Symbol("payment.wait.requiresConfirmation"),B=Symbol("payment.wait.requiresAddress"),E=Symbol("payment.complete3dSecure"),L=/*#__PURE__*/function(e){function t(i,n,o){var s,r=o;return Array.isArray(n)&&n.length>0?r=n.join(" "):("string"==typeof n||n instanceof String)&&(r=n.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=n,Object.setPrototypeOf(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),t.prototype),s}return C(t,e),t}(/*#__PURE__*/g(Error)),O="-".repeat(120),k=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=h.default,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,n){void 0===i&&(i=null),void 0===n&&(n=null);try{var o,s=function(e){if(r.consoleLogging&&console.debug(O),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new L(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null},r=this,a=function(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}(function(){var s={method:t,url:e};return(n||P.accessToken)&&(s.headers={Authorization:"Bearer "+(n||P.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+O),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(O),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){o=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(O));var t=0,i=null,n=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,n=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new L(t,i,n||e.message)});return Promise.resolve(a&&a.then?a.then(s):s())}catch(e){return Promise.reject(e)}},t.convertDatesToIso=function(e){var t=this;if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");var i=-e.getTimezoneOffset(),n=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),o=String(Math.abs(i)%60).padStart(2,"0"),s=i>=0?"+":"-";return e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+"T"+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")+s+n+":"+o}if(Array.isArray(e))return e.map(function(e){return t.convertDatesToIso(e)});if("object"==typeof e&&e.constructor===Object){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=this.convertDatesToIso(e[a]));return r}return e},e}();function G(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var w,F,U,W,q,V,K,x,j,Z,Y,Q,J,z,X,_,$,ee,te,ie,ne,oe="/v1/auth",se=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}C(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(P.accessToken)try{return(new Date).getTime()<1e3*P.decodeToken(P.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,n={username:e,password:t};return P.accessToken=null,P.refreshToken=null,Promise.resolve(G(function(){return Promise.resolve(i.request(oe+"/login","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(P.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.logout=function(){try{var e=function(){return Promise.resolve()},t=this,i=P.refreshToken;P.accessToken=null,P.refreshToken=null;var n=function(){if(i)return Promise.resolve(t.request(oe+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(R)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{return Promise.resolve(this.request(oe+"/refresh","POST",null,e||P.refreshToken)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(oe+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(oe+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,n={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(G(function(){return Promise.resolve(i.request(oe+"/password/change","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(P.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.forgotPassword=function(e){try{return Promise.resolve(this.request(oe+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{return Promise.resolve(this.request(oe+"/otp/validate","POST",{otpValue:e}))}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(oe+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(oe+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).reference||null},i.getCurrentUserName=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).user_name||null},i.getRedirectAction=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return P.decodeToken(e||P.accessToken||P.refreshToken).email_address||null},t}(k);e.Bank=void 0,(w=e.Bank||(e.Bank={})).None="None",w.ABD="ABD",w.ABL="ABL",w.ACB="ACB",w.ABS="ABS",w.ABG="ABG",w.ADB="ADB",w.ADS="ADS",w.ALM="ALM",w.ANS="ANS",w.APX="APX",w.ASL="ASL",w.BSL="BSL",w.BOA="BOA",w.BOG="BOG",w.BSP="BSP",w.BPS="BPS",w.BLM="BLM",w.BSI="BSI",w.CAL="CAL",w.CBG="CBG",w.CBN="CBN",w.DFL="DFL",w.ECO="ECO",w.EPG="EPG",w.ETZ="ETZ",w.EXP="EXP",w.FPL="FPL",w.FAB="FAB",w.FBL="FBL",w.FDL="FDL",w.FBO="FBO",w.FBN="FBN",w.FCM="FCM",w.FNB="FNB",w.GCB="GCB",w.GPB="GPB",w.GPG="GPG",w.GMY="GMY",w.GTB="GTB",w.HBN="HBN",w.HBT="HBT",w.ITC="ITC",w.JBN="JBN",w.JUN="JUN",w.KOR="KOR",w.KSB="KSB",w.MBN="MBN",w.MLU="MLU",w.MOL="MOL",w.NGL="NGL",w.NIB="NIB",w.OPI="OPI",w.NSL="NSL",w.PSW="PSW",w.PBL="PBL",w.PBN="PBN",w.RBG="RBG",w.RBL="RBL",w.SAS="SAS",w.SBN="SBN",w.SCB="SCB",w.SCH="SCH",w.SIS="SIS",w.SOG="SOG",w.STB="STB",w.TIT="TIT",w.TRB="TRB",w.UBA="UBA",w.UBN="UBN",w.UMB="UMB",w.UNB="UNB",w.UNI="UNI",w.UNL="UNL",w.USL="USL",w.WBN="WBN",w.ZEN="ZEN",w.AFB="AFB",w.NED="NED",w.STD="STD",w.CAP="CAP",w.MER="MER",w.BID="BID",w.ALB="ALB",w.HBZ="HBZ",w.SAF="SAF",w.DIS="DIS",w.RMB="RMB",w.BZZ="BZZ",w.INV="INV",w.TYB="TYB",w.HOL="HOL",e.Channel=void 0,(F=e.Channel||(e.Channel={})).Unknown="Unknown",F.Web="Web",F.USSD="USSD",F.Callback="Callback",F.Generated="Generated",F.Settlement="Settlement",F.Scheduled="Scheduled",F.MobileApplication="MobileApplication",F.SDK="SDK",F.POS="POS",F.SuperPOS="SuperPOS",e.ConsumerFileType=void 0,(U=e.ConsumerFileType||(e.ConsumerFileType={})).Unspecified="Unspecified",U.FaceImage="FaceImage",U.IdentityDocumentFront="IdentityDocumentFront",U.IdentityDocumentBack="IdentityDocumentBack",U.Liveness="Liveness",U.ProfileImage="ProfileImage",U.Signature="Signature",e.Country=void 0,(W=e.Country||(e.Country={})).None="None",W.AFG="AFG",W.ALB="ALB",W.DZA="DZA",W.ASM="ASM",W.AND="AND",W.AGO="AGO",W.AIA="AIA",W.ATA="ATA",W.ATG="ATG",W.ARG="ARG",W.ARM="ARM",W.ABW="ABW",W.AUS="AUS",W.AUT="AUT",W.AZE="AZE",W.BHS="BHS",W.BHR="BHR",W.BGD="BGD",W.BRB="BRB",W.BLR="BLR",W.BEL="BEL",W.BLZ="BLZ",W.BEN="BEN",W.BMU="BMU",W.BTN="BTN",W.BOL="BOL",W.BES="BES",W.BIH="BIH",W.BWA="BWA",W.BVT="BVT",W.BRA="BRA",W.IOT="IOT",W.VGB="VGB",W.BRN="BRN",W.BGR="BGR",W.BFA="BFA",W.BDI="BDI",W.KHM="KHM",W.CMR="CMR",W.CAN="CAN",W.CPV="CPV",W.CYM="CYM",W.CAF="CAF",W.TCD="TCD",W.CHL="CHL",W.CHN="CHN",W.CXR="CXR",W.CCK="CCK",W.COL="COL",W.COM="COM",W.COG="COG",W.COK="COK",W.CRI="CRI",W.CIV="CIV",W.HRV="HRV",W.CUB="CUB",W.CUW="CUW",W.CYP="CYP",W.CZE="CZE",W.COD="COD",W.DNK="DNK",W.DJI="DJI",W.DMA="DMA",W.DOM="DOM",W.ECU="ECU",W.EGY="EGY",W.SLV="SLV",W.GNQ="GNQ",W.ERI="ERI",W.EST="EST",W.ETH="ETH",W.FLK="FLK",W.FRO="FRO",W.FJI="FJI",W.FIN="FIN",W.FRA="FRA",W.FXX="FXX",W.GUF="GUF",W.PYF="PYF",W.ATF="ATF",W.GAB="GAB",W.GMB="GMB",W.GEO="GEO",W.DEU="DEU",W.GHA="GHA",W.GIB="GIB",W.GRC="GRC",W.GRL="GRL",W.GRD="GRD",W.GLP="GLP",W.GUM="GUM",W.GTM="GTM",W.GIN="GIN",W.GNB="GNB",W.GUY="GUY",W.HTI="HTI",W.HMD="HMD",W.VAT="VAT",W.HND="HND",W.HKG="HKG",W.HUN="HUN",W.ISL="ISL",W.IND="IND",W.IDN="IDN",W.IRN="IRN",W.IRQ="IRQ",W.IRL="IRL",W.IMN="IMN",W.ISR="ISR",W.ITA="ITA",W.JAM="JAM",W.JPN="JPN",W.JOR="JOR",W.KAZ="KAZ",W.KEN="KEN",W.KIR="KIR",W.KOR="KOR",W.PRK="PRK",W.KWT="KWT",W.KGZ="KGZ",W.LAO="LAO",W.LVA="LVA",W.LBN="LBN",W.LSO="LSO",W.LBR="LBR",W.LBY="LBY",W.LIE="LIE",W.LTU="LTU",W.LUX="LUX",W.MAC="MAC",W.MKD="MKD",W.MDG="MDG",W.MWI="MWI",W.MYS="MYS",W.MDV="MDV",W.MLI="MLI",W.MLT="MLT",W.MHL="MHL",W.MTQ="MTQ",W.MRT="MRT",W.MUS="MUS",W.MYT="MYT",W.MEX="MEX",W.FSM="FSM",W.MDA="MDA",W.MCO="MCO",W.MNG="MNG",W.MSR="MSR",W.MNE="MNE",W.MAR="MAR",W.MOZ="MOZ",W.MMR="MMR",W.NAM="NAM",W.NRU="NRU",W.NPL="NPL",W.NLD="NLD",W.NCL="NCL",W.NZL="NZL",W.NIC="NIC",W.NER="NER",W.NGA="NGA",W.NIU="NIU",W.NFK="NFK",W.MNP="MNP",W.NOR="NOR",W.OMN="OMN",W.PAK="PAK",W.PLW="PLW",W.PSE="PSE",W.PAN="PAN",W.PNG="PNG",W.PRY="PRY",W.PER="PER",W.PHL="PHL",W.PCN="PCN",W.POL="POL",W.PRT="PRT",W.PRI="PRI",W.QAT="QAT",W.REU="REU",W.ROU="ROU",W.RUS="RUS",W.RWA="RWA",W.WSM="WSM",W.SMR="SMR",W.STP="STP",W.SAU="SAU",W.SEN="SEN",W.SRB="SRB",W.SYC="SYC",W.SLE="SLE",W.SGP="SGP",W.SXM="SXM",W.SVK="SVK",W.SVN="SVN",W.SLB="SLB",W.SOM="SOM",W.ZAF="ZAF",W.SGS="SGS",W.SSD="SSD",W.ESP="ESP",W.LKA="LKA",W.SHN="SHN",W.KNA="KNA",W.LCA="LCA",W.MAF="MAF",W.SPM="SPM",W.VCT="VCT",W.SDN="SDN",W.SUR="SUR",W.SJM="SJM",W.SWZ="SWZ",W.SWE="SWE",W.CHE="CHE",W.SYR="SYR",W.TWN="TWN",W.TJK="TJK",W.TZA="TZA",W.THA="THA",W.TLS="TLS",W.TGO="TGO",W.TKL="TKL",W.TON="TON",W.TTO="TTO",W.TUN="TUN",W.TUR="TUR",W.TKM="TKM",W.TCA="TCA",W.TUV="TUV",W.UGA="UGA",W.UKR="UKR",W.ARE="ARE",W.GBR="GBR",W.QZZ="QZZ",W.USA="USA",W.UMI="UMI",W.VIR="VIR",W.URY="URY",W.UZB="UZB",W.VUT="VUT",W.VEN="VEN",W.VNM="VNM",W.WLF="WLF",W.ESH="ESH",W.YEM="YEM",W.ZMB="ZMB",W.ZWE="ZWE",e.Currency=void 0,(q=e.Currency||(e.Currency={})).None="None",q.AFN="AFN",q.ALL="ALL",q.ANG="ANG",q.ARS="ARS",q.AUD="AUD",q.AWG="AWG",q.AZN="AZN",q.BAM="BAM",q.BBD="BBD",q.BGN="BGN",q.BMD="BMD",q.BND="BND",q.BOB="BOB",q.BRL="BRL",q.BSD="BSD",q.BWP="BWP",q.BYN="BYN",q.BZD="BZD",q.CAD="CAD",q.CHF="CHF",q.CLP="CLP",q.CNY="CNY",q.COP="COP",q.CRC="CRC",q.CUP="CUP",q.CZK="CZK",q.DKK="DKK",q.DOP="DOP",q.EGP="EGP",q.EUR="EUR",q.FJD="FJD",q.FKP="FKP",q.GBP="GBP",q.GHS="GHS",q.GIP="GIP",q.GTQ="GTQ",q.GYD="GYD",q.HKD="HKD",q.HNL="HNL",q.HRK="HRK",q.HUF="HUF",q.IDR="IDR",q.ILS="ILS",q.INR="INR",q.IRR="IRR",q.ISK="ISK",q.JMD="JMD",q.JPY="JPY",q.KGS="KGS",q.KHR="KHR",q.KPW="KPW",q.KRW="KRW",q.KYD="KYD",q.KZT="KZT",q.LAK="LAK",q.LBP="LBP",q.LKR="LKR",q.LRD="LRD",q.MKD="MKD",q.MNT="MNT",q.MUR="MUR",q.MXN="MXN",q.MYR="MYR",q.MZN="MZN",q.NAD="NAD",q.NGN="NGN",q.NIO="NIO",q.NOK="NOK",q.NPR="NPR",q.NZD="NZD",q.OMR="OMR",q.PAB="PAB",q.PEN="PEN",q.PHP="PHP",q.PKR="PKR",q.PLN="PLN",q.PYG="PYG",q.QAR="QAR",q.RON="RON",q.RSD="RSD",q.RUB="RUB",q.SAR="SAR",q.SBD="SBD",q.SCR="SCR",q.SEK="SEK",q.SGD="SGD",q.SHP="SHP",q.SOS="SOS",q.SRD="SRD",q.SVC="SVC",q.SYP="SYP",q.THB="THB",q.TRY="TRY",q.TTD="TTD",q.TWD="TWD",q.UAH="UAH",q.USD="USD",q.UYU="UYU",q.UZS="UZS",q.VES="VES",q.VND="VND",q.XCD="XCD",q.YER="YER",q.ZAR="ZAR",q.ZWD="ZWD",e.DayOfWeek=void 0,(V=e.DayOfWeek||(e.DayOfWeek={})).Sunday="Sunday",V.Monday="Monday",V.Tuesday="Tuesday",V.Wednesday="Wednesday",V.Thursday="Thursday",V.Friday="Friday",V.Saturday="Saturday",e.FaceMovementDetectionLevel=void 0,(K=e.FaceMovementDetectionLevel||(e.FaceMovementDetectionLevel={})).None="None",K.OneRangeOfMotion="OneRangeOfMotion",K.MultipleRangesOfMotion="MultipleRangesOfMotion",K.AllRangesOfMotion="AllRangesOfMotion",e.Gender=void 0,(x=e.Gender||(e.Gender={})).Male="Male",x.Female="Female",e.IdentityDocumentType=void 0,(j=e.IdentityDocumentType||(e.IdentityDocumentType={})).None="None",j.National="National",j.Passport="Passport",j.Drivers="Drivers",j.Other="Other",j.GhanaCard="GhanaCard",j.SocialSecurity="SocialSecurity",j.Voter="Voter",j.IdCard="IdCard",e.KybProvider=void 0,(Z=e.KybProvider||(e.KybProvider={})).None="None",Z.Manual="Manual",e.KybStatus=void 0,(Y=e.KybStatus||(e.KybStatus={})).NotRequired="NotRequired",Y.Unverified="Unverified",Y.Verified="Verified",Y.Rejected="Rejected",e.KycProvider=void 0,(Q=e.KycProvider||(e.KycProvider={})).None="None",Q.SmileIdentity="SmileIdentity",Q.GMoney="GMoney",Q.NIA="NIA",Q.Manual="Manual",e.KycStatus=void 0,(J=e.KycStatus||(e.KycStatus={})).None="None",J.Unverified="Unverified",J.Verified="Verified",J.Rejected="Rejected",J.Review="Review",e.KycVerificationType=void 0,(z=e.KycVerificationType||(e.KycVerificationType={})).Identity="Identity",z.Liveness="Liveness",z.Facial="Facial",e.Language=void 0,(X=e.Language||(e.Language={})).None="None",X.AAR="AAR",X.AFR="AFR",X.AGQ="AGQ",X.AKA="AKA",X.AMH="AMH",X.ARA="ARA",X.ARN="ARN",X.ASM="ASM",X.ASA="ASA",X.AST="AST",X.AZE="AZE",X.BAK="BAK",X.BAS="BAS",X.BEL="BEL",X.BEM="BEM",X.BEZ="BEZ",X.BUL="BUL",X.BIN="BIN",X.BAM="BAM",X.BEN="BEN",X.BOD="BOD",X.BRE="BRE",X.BRX="BRX",X.BOS="BOS",X.BYN="BYN",X.CAT="CAT",X.CHE="CHE",X.CGG="CGG",X.CHR="CHR",X.COS="COS",X.CES="CES",X.CHU="CHU",X.CYM="CYM",X.DAN="DAN",X.DAV="DAV",X.DEU="DEU",X.DJE="DJE",X.DSB="DSB",X.DUA="DUA",X.DIV="DIV",X.DYO="DYO",X.DZO="DZO",X.EBU="EBU",X.EWE="EWE",X.ELL="ELL",X.ENG="ENG",X.EPO="EPO",X.SPA="SPA",X.EST="EST",X.EUS="EUS",X.EWO="EWO",X.FAS="FAS",X.FUL="FUL",X.FIN="FIN",X.FIL="FIL",X.FAO="FAO",X.FRA="FRA",X.FUR="FUR",X.FRY="FRY",X.GLE="GLE",X.GLA="GLA",X.GLG="GLG",X.GRN="GRN",X.GSW="GSW",X.GUJ="GUJ",X.GUZ="GUZ",X.GLV="GLV",X.HAU="HAU",X.HAW="HAW",X.HEB="HEB",X.HIN="HIN",X.HRV="HRV",X.HSB="HSB",X.HUN="HUN",X.HYE="HYE",X.INA="INA",X.IBB="IBB",X.IND="IND",X.IBO="IBO",X.III="III",X.ISL="ISL",X.ITA="ITA",X.IKU="IKU",X.JPN="JPN",X.JGO="JGO",X.JMC="JMC",X.JAV="JAV",X.KAT="KAT",X.KAB="KAB",X.KAM="KAM",X.KDE="KDE",X.KEA="KEA",X.KHQ="KHQ",X.KIK="KIK",X.KAZ="KAZ",X.KKJ="KKJ",X.KAL="KAL",X.KLN="KLN",X.KHM="KHM",X.KAN="KAN",X.KOR="KOR",X.KOK="KOK",X.KAU="KAU",X.KAS="KAS",X.KSB="KSB",X.KSF="KSF",X.KSH="KSH",X.KUR="KUR",X.COR="COR",X.KIR="KIR",X.LAT="LAT",X.LAG="LAG",X.LTZ="LTZ",X.LUG="LUG",X.LKT="LKT",X.LIN="LIN",X.LAO="LAO",X.LRC="LRC",X.LIT="LIT",X.LUB="LUB",X.LUO="LUO",X.LUY="LUY",X.LAV="LAV",X.MAS="MAS",X.MER="MER",X.MFE="MFE",X.MLG="MLG",X.MGH="MGH",X.MGO="MGO",X.MRI="MRI",X.MKD="MKD",X.MAL="MAL",X.MON="MON",X.MNI="MNI",X.MOH="MOH",X.MAR="MAR",X.MSA="MSA",X.MLT="MLT",X.MUA="MUA",X.MYA="MYA",X.MZN="MZN",X.NAQ="NAQ",X.NDE="NDE",X.NDS="NDS",X.NEP="NEP",X.NLD="NLD",X.NMG="NMG",X.NNO="NNO",X.NNH="NNH",X.NOB="NOB",X.NQO="NQO",X.NBL="NBL",X.NSO="NSO",X.NUS="NUS",X.NYN="NYN",X.OCI="OCI",X.ORM="ORM",X.ORI="ORI",X.OSS="OSS",X.PAN="PAN",X.PAP="PAP",X.POL="POL",X.PRG="PRG",X.PRS="PRS",X.PUS="PUS",X.POR="POR",X.QUC="QUC",X.QUB="QUB",X.ROH="ROH",X.RUN="RUN",X.RON="RON",X.ROF="ROF",X.RUS="RUS",X.KIN="KIN",X.RWK="RWK",X.SAN="SAN",X.SAH="SAH",X.SAQ="SAQ",X.SBP="SBP",X.SND="SND",X.SME="SME",X.SEH="SEH",X.SES="SES",X.SAG="SAG",X.SHI="SHI",X.SIN="SIN",X.SLK="SLK",X.SLV="SLV",X.SMA="SMA",X.SMJ="SMJ",X.SMN="SMN",X.SMS="SMS",X.SNA="SNA",X.SOM="SOM",X.SQI="SQI",X.SRP="SRP",X.SSW="SSW",X.SSY="SSY",X.SOT="SOT",X.SWE="SWE",X.SWA="SWA",X.SYR="SYR",X.TAM="TAM",X.TEL="TEL",X.TEO="TEO",X.TGK="TGK",X.THA="THA",X.TIR="TIR",X.TIG="TIG",X.TUK="TUK",X.TSN="TSN",X.TON="TON",X.TUR="TUR",X.TSO="TSO",X.TAT="TAT",X.TWQ="TWQ",X.TZM="TZM",X.UIG="UIG",X.UKR="UKR",X.URD="URD",X.UZB="UZB",X.VAI="VAI",X.VEN="VEN",X.VIE="VIE",X.VOL="VOL",X.VUN="VUN",X.WAE="WAE",X.WAL="WAL",X.WOL="WOL",X.XHO="XHO",X.XOG="XOG",X.YAV="YAV",X.YID="YID",X.YOR="YOR",X.ZGH="ZGH",X.ZHO="ZHO",X.ZUL="ZUL",e.MerchantCategory=void 0,function(e){e[e.None=0]="None",e[e.CommerceBankODP=11]="CommerceBankODP",e[e.PostageTransactionCharge=701]="PostageTransactionCharge",e[e.VeterinaryServices=742]="VeterinaryServices",e[e.AgriculturalCooperatives=763]="AgriculturalCooperatives",e[e.LandscapingAndHorticulturalServices=780]="LandscapingAndHorticulturalServices",e[e.GeneralContractorsResidentialAndCommercial=1520]="GeneralContractorsResidentialAndCommercial",e[e.HeatingPlumbingAndAirConditioningContractors=1711]="HeatingPlumbingAndAirConditioningContractors",e[e.ElectricalContractors=1731]="ElectricalContractors",e[e.MasonryStoneworkTileSettingPlasteringAndInsulationContractors=1740]="MasonryStoneworkTileSettingPlasteringAndInsulationContractors",e[e.CarpentryContractors=1750]="CarpentryContractors",e[e.RoofingSidingAndSheetMetalWorkContractors=1761]="RoofingSidingAndSheetMetalWorkContractors",e[e.AsphaltCementAndConcreteWorkContractors=1771]="AsphaltCementAndConcreteWorkContractors",e[e.SpecialTradeContractors=1799]="SpecialTradeContractors",e[e.MiscellaneousPublishingAndPrinting=2741]="MiscellaneousPublishingAndPrinting",e[e.TypesettingPlateMakingAndRelatedServices=2791]="TypesettingPlateMakingAndRelatedServices",e[e.SpecialtyCleaningPolishingAndSanitationPreparations=2842]="SpecialtyCleaningPolishingAndSanitationPreparations",e[e.UnitedAirlines=3e3]="UnitedAirlines",e[e.AmericanAirlines=3001]="AmericanAirlines",e[e.PanAmerican=3002]="PanAmerican",e[e.EuroflyAirlines=3003]="EuroflyAirlines",e[e.Dragonair=3004]="Dragonair",e[e.BritishAirways=3005]="BritishAirways",e[e.JapanAirlines=3006]="JapanAirlines",e[e.AirFrance=3007]="AirFrance",e[e.Lufthansa=3008]="Lufthansa",e[e.AirCanada=3009]="AirCanada",e[e.KLMRoyalDutchAirlines=3010]="KLMRoyalDutchAirlines",e[e.Aeroflot=3011]="Aeroflot",e[e.Qantas=3012]="Qantas",e[e.Alitalia=3013]="Alitalia",e[e.SaudiArabianAirlines=3014]="SaudiArabianAirlines",e[e.SwissInternationalAirlines=3015]="SwissInternationalAirlines",e[e.SAS=3016]="SAS",e[e.SouthAfricanAirways=3017]="SouthAfricanAirways",e[e.VarigAirBrazil=3018]="VarigAirBrazil",e[e.Germanwings=3019]="Germanwings",e[e.AirIndia=3020]="AirIndia",e[e.AirAlgerie=3021]="AirAlgerie",e[e.PALAir=3022]="PALAir",e[e.Mexicana=3023]="Mexicana",e[e.PakistanInternational=3024]="PakistanInternational",e[e.AirNewZealand=3025]="AirNewZealand",e[e.EmiratesAirlines=3026]="EmiratesAirlines",e[e.UTAInterair=3027]="UTAInterair",e[e.AirMalta=3028]="AirMalta",e[e.SNBrusselsAirlines=3029]="SNBrusselsAirlines",e[e.AerolineasArgentinas=3030]="AerolineasArgentinas",e[e.OlympicAirways=3031]="OlympicAirways",e[e.ElAl=3032]="ElAl",e[e.AnsettAirlines=3033]="AnsettAirlines",e[e.EtihadAirways=3034]="EtihadAirways",e[e.TAPPortugal=3035]="TAPPortugal",e[e.VASPBrazil=3036]="VASPBrazil",e[e.Egyptair=3037]="Egyptair",e[e.KuwaitAirways=3038]="KuwaitAirways",e[e.Avianca=3039]="Avianca",e[e.GulfAirBahrain=3040]="GulfAirBahrain",e[e.BalkanBulgarianAirlines=3041]="BalkanBulgarianAirlines",e[e.Finnair=3042]="Finnair",e[e.AerLingus=3043]="AerLingus",e[e.AirLanka=3044]="AirLanka",e[e.NigeriaAirways=3045]="NigeriaAirways",e[e.CruzeiroDoSulBrazil=3046]="CruzeiroDoSulBrazil",e[e.THYTurkey=3047]="THYTurkey",e[e.Airmaro=3048]="Airmaro",e[e.TunisAir=3049]="TunisAir",e[e.Icelandair=3050]="Icelandair",e[e.AustrianAirlines=3051]="AustrianAirlines",e[e.LANAirlinesLanair=3052]="LANAirlinesLanair",e[e.AviacoSpain=3053]="AviacoSpain",e[e.LadecoChile=3054]="LadecoChile",e[e.LABBolivia=3055]="LABBolivia",e[e.JetAirways=3056]="JetAirways",e[e.EastWestAirlinesAustralia=3057]="EastWestAirlinesAustralia",e[e.Delta=3058]="Delta",e[e.DLAAirlinesRepublic=3059]="DLAAirlinesRepublic",e[e.Northwest=3060]="Northwest",e[e.Continental=3061]="Continental",e[e.WesternAirlinesHapagLloydExpress=3062]="WesternAirlinesHapagLloydExpress",e[e.USAir=3063]="USAir",e[e.AdriaAirways=3064]="AdriaAirways",e[e.Airinter=3065]="Airinter",e[e.Southwest=3066]="Southwest",e[e.VanguardAirlines=3067]="VanguardAirlines",e[e.AirAstana=3068]="AirAstana",e[e.AirEurope=3069]="AirEurope",e[e.FlyDubai=3070]="FlyDubai",e[e.AirBritishColumbia=3071]="AirBritishColumbia",e[e.CebuPac=3072]="CebuPac",e[e.AirCal=3073]="AirCal",e[e.SingaporeAirlines=3075]="SingaporeAirlines",e[e.Aeromexico=3076]="Aeromexico",e[e.ThaiAirways=3077]="ThaiAirways",e[e.ChinaAirlines=3078]="ChinaAirlines",e[e.JetstarAirlines=3079]="JetstarAirlines",e[e.SwoopInc=3080]="SwoopInc",e[e.XiamenAirlines=3081]="XiamenAirlines",e[e.KoreanAirlines=3082]="KoreanAirlines",e[e.AirAfriqueAirAfriq=3083]="AirAfriqueAirAfriq",e[e.EVAAirways=3084]="EVAAirways",e[e.MidwestExpress=3085]="MidwestExpress",e[e.CarnivalAirlines=3086]="CarnivalAirlines",e[e.MetroAirlines=3087]="MetroAirlines",e[e.CroatiaAirlines=3088]="CroatiaAirlines",e[e.Transaero=3089]="Transaero",e[e.UniAirways=3090]="UniAirways",e[e.MidwayAirlines=3092]="MidwayAirlines",e[e.ZambiaAirways=3094]="ZambiaAirways",e[e.Wardair=3095]="Wardair",e[e.AirZimbabwe=3096]="AirZimbabwe",e[e.Spanair=3097]="Spanair",e[e.AsiannaAirlines=3098]="AsiannaAirlines",e[e.CathayPacific=3099]="CathayPacific",e[e.MalaysianAirlineSystem=3100]="MalaysianAirlineSystem",e[e.UTA=3101]="UTA",e[e.Iberia=3102]="Iberia",e[e.GarudaIndonesia=3103]="GarudaIndonesia",e[e.Piedmont=3105]="Piedmont",e[e.BraathensSAFENorway=3106]="BraathensSAFENorway",e[e.WorldAirways=3108]="WorldAirways",e[e.WingsAirways=3110]="WingsAirways",e[e.BritishMidland=3111]="BritishMidland",e[e.WindwardIsland=3112]="WindwardIsland",e[e.TowerAir=3115]="TowerAir",e[e.VenezolanaInternationalDeAviacion=3117]="VenezolanaInternationalDeAviacion",e[e.ValleyAirlines=3118]="ValleyAirlines",e[e.TAN=3125]="TAN",e[e.Talair=3126]="Talair",e[e.TACAInternational=3127]="TACAInternational",e[e.SurinamAirways=3129]="SurinamAirways",e[e.SunWorldInternational=3130]="SunWorldInternational",e[e.VLMAirlines=3131]="VLMAirlines",e[e.FrontierAirlines=3132]="FrontierAirlines",e[e.SunbeltAirlines=3133]="SunbeltAirlines",e[e.SudanAirways=3135]="SudanAirways",e[e.QatarAirways=3136]="QatarAirways",e[e.SingletonAir=3137]="SingletonAir",e[e.SimmonsAirlines=3138]="SimmonsAirlines",e[e.SeairAlaska=3141]="SeairAlaska",e[e.ScenicAirlines=3143]="ScenicAirlines",e[e.VirginAtlantic=3144]="VirginAtlantic",e[e.SanJuanAirlines=3145]="SanJuanAirlines",e[e.Luxair=3146]="Luxair",e[e.AirLittoralSA=3148]="AirLittoralSA",e[e.AirZaire=3151]="AirZaire",e[e.Princeville=3154]="Princeville",e[e.GoFlyLtd=3156]="GoFlyLtd",e[e.ProvincetownBostonAirways=3159]="ProvincetownBostonAirways",e[e.AllNipponAirways=3161]="AllNipponAirways",e[e.Nortonair=3164]="Nortonair",e[e.NewYorkHelicopter=3165]="NewYorkHelicopter",e[e.AeroContinente=3167]="AeroContinente",e[e.MountCook=3170]="MountCook",e[e.CanadianAirlinesInternational=3171]="CanadianAirlinesInternational",e[e.Nationair=3172]="Nationair",e[e.JetblueAirlines=3174]="JetblueAirlines",e[e.MiddleEastAir=3175]="MiddleEastAir",e[e.MetroflightAirlines=3176]="MetroflightAirlines",e[e.AirtranAirways=3177]="AirtranAirways",e[e.MesaAir=3178]="MesaAir",e[e.Westjetair=3180]="Westjetair",e[e.Malev=3181]="Malev",e[e.LOTPoland=3182]="LOTPoland",e[e.Omanair=3183]="Omanair",e[e.LIAT=3184]="LIAT",e[e.LAVVenezuela=3185]="LAVVenezuela",e[e.LineasAereasParaguayas=3186]="LineasAereasParaguayas",e[e.LACSACostaRica=3187]="LACSACostaRica",e[e.VirginExpress=3188]="VirginExpress",e[e.JugoslavAir=3190]="JugoslavAir",e[e.IslandAirlines=3191]="IslandAirlines",e[e.IranAir=3192]="IranAir",e[e.IndianAirlines=3193]="IndianAirlines",e[e.HolidayAirlines=3195]="HolidayAirlines",e[e.HawaiianAir=3196]="HawaiianAir",e[e.HavasuAirlines=3197]="HavasuAirlines",e[e.HarborAirlines=3198]="HarborAirlines",e[e.ServiciosAereosMilitares=3199]="ServiciosAereosMilitares",e[e.GuyanaAirways=3200]="GuyanaAirways",e[e.GoldenPacificAir=3203]="GoldenPacificAir",e[e.FreedomAir=3204]="FreedomAir",e[e.ChinaEasternAirlines=3206]="ChinaEasternAirlines",e[e.EmpresaEcuatorinana=3207]="EmpresaEcuatorinana",e[e.NorwegianAirShuttle=3211]="NorwegianAirShuttle",e[e.Dominicana=3212]="Dominicana",e[e.BraathensRegionalAirlines=3213]="BraathensRegionalAirlines",e[e.DanAirServices=3215]="DanAirServices",e[e.CumberlandAirlines=3216]="CumberlandAirlines",e[e.CSA=3217]="CSA",e[e.CrownAir=3218]="CrownAir",e[e.Copa=3219]="Copa",e[e.CompaniaFaucett=3220]="CompaniaFaucett",e[e.TransportesAerosMilitaresEcuatorianos=3221]="TransportesAerosMilitaresEcuatorianos",e[e.CommandAirways=3222]="CommandAirways",e[e.Comair=3223]="Comair",e[e.SkywaysAir=3226]="SkywaysAir",e[e.CaymanAirways=3228]="CaymanAirways",e[e.SAETASociedadEcuatorianosDeTransportesAereos=3229]="SAETASociedadEcuatorianosDeTransportesAereos",e[e.SAHSAServicioAeroDeHonduras=3231]="SAHSAServicioAeroDeHonduras",e[e.CapitolAir=3233]="CapitolAir",e[e.CaribbeanAirlines=3234]="CaribbeanAirlines",e[e.BrockwayAir=3235]="BrockwayAir",e[e.AirArabia=3236]="AirArabia",e[e.BemidjiAviation=3238]="BemidjiAviation",e[e.BarHarborAirlines=3239]="BarHarborAirlines",e[e.Bahamasair=3240]="Bahamasair",e[e.AviatecaGuatemala=3241]="AviatecaGuatemala",e[e.CaribbeanAirlinesCaribbean=3242]="CaribbeanAirlinesCaribbean",e[e.AustrianAirService=3243]="AustrianAirService",e[e.EasyjetAir=3245]="EasyjetAir",e[e.Ryanair=3246]="Ryanair",e[e.GOLAir=3247]="GOLAir",e[e.TAMAir=3248]="TAMAir",e[e.AlohaAirlines=3251]="AlohaAirlines",e[e.ALM=3252]="ALM",e[e.AmericaWest=3253]="AmericaWest",e[e.USAirShuttle=3254]="USAirShuttle",e[e.AlaskaAirlines=3256]="AlaskaAirlines",e[e.AmericanTransAir=3259]="AmericanTransAir",e[e.SpiritAirlines=3260]="SpiritAirlines",e[e.AirChina=3261]="AirChina",e[e.RenoAirInc=3262]="RenoAirInc",e[e.AeroServicioCaraboboASERCA=3263]="AeroServicioCaraboboASERCA",e[e.AirSeychelles=3266]="AirSeychelles",e[e.AirPanama=3267]="AirPanama",e[e.AirPacific=3268]="AirPacific",e[e.RicaHotels=3273]="RicaHotels",e[e.InterNorHotels=3274]="InterNorHotels",e[e.AirNevada=3275]="AirNevada",e[e.AirMidwest=3276]="AirMidwest",e[e.AirMadagascar=3277]="AirMadagascar",e[e.AirLA=3279]="AirLA",e[e.AirJamaica=3280]="AirJamaica",e[e.AirDjibouti=3281]="AirDjibouti",e[e.AirDjiboutiDuplicate=3282]="AirDjiboutiDuplicate",e[e.AeroVirginIslands=3284]="AeroVirginIslands",e[e.Aeroperu=3285]="Aeroperu",e[e.AerolineasNicaraguensis=3286]="AerolineasNicaraguensis",e[e.AeroCoachAviation=3287]="AeroCoachAviation",e[e.ArianaAfghan=3291]="ArianaAfghan",e[e.CyprusAirways=3292]="CyprusAirways",e[e.Ecuatoriana=3293]="Ecuatoriana",e[e.EthiopianAirlines=3294]="EthiopianAirlines",e[e.KenyaAirways=3295]="KenyaAirways",e[e.AirBerlin=3296]="AirBerlin",e[e.Tarom=3297]="Tarom",e[e.AirMauritius=3298]="AirMauritius",e[e.WideroeFlyveselskap=3299]="WideroeFlyveselskap",e[e.AzulBrazilianAirlines=3300]="AzulBrazilianAirlines",e[e.WizzAirlines=3301]="WizzAirlines",e[e.FlybeLtd=3302]="FlybeLtd",e[e.Tigerair=3303]="Tigerair",e[e.ChinaSouthern=3308]="ChinaSouthern",e[e.AffiliatedAutoRental=3351]="AffiliatedAutoRental",e[e.AmericanInternational=3352]="AmericanInternational",e[e.BrooksRentACar=3353]="BrooksRentACar",e[e.ActionAutoRental=3354]="ActionAutoRental",e[e.SixtCarRental=3355]="SixtCarRental",e[e.HertzRentACar=3357]="HertzRentACar",e[e.PaylessCarRental=3359]="PaylessCarRental",e[e.SnappyCarRental=3360]="SnappyCarRental",e[e.AirwaysRentACar=3361]="AirwaysRentACar",e[e.AltraAutoRental=3362]="AltraAutoRental",e[e.AgencyRentACar=3364]="AgencyRentACar",e[e.BudgetRentACar=3366]="BudgetRentACar",e[e.HolidayRentACar=3368]="HolidayRentACar",e[e.RentAWreck=3370]="RentAWreck",e[e.AccentRentACar=3374]="AccentRentACar",e[e.AjaxRentACar=3376]="AjaxRentACar",e[e.TriangleRentACar=3380]="TriangleRentACar",e[e.EuropCar=3381]="EuropCar",e[e.TropicalRentACar=3385]="TropicalRentACar",e[e.ShowcaseRentalCars=3386]="ShowcaseRentalCars",e[e.AlamoRentACar=3387]="AlamoRentACar",e[e.MerchantsRentACar=3388]="MerchantsRentACar",e[e.AvisRentACar=3389]="AvisRentACar",e[e.DollarRentACar=3390]="DollarRentACar",e[e.EuropeByCar=3391]="EuropeByCar",e[e.NationalCarRental=3393]="NationalCarRental",e[e.KemwellGroupRentACar=3394]="KemwellGroupRentACar",e[e.ThriftyRentACar=3395]="ThriftyRentACar",e[e.TildenRentACar=3396]="TildenRentACar",e[e.EconoCarRentACar=3398]="EconoCarRentACar",e[e.AmerexRentACar=3399]="AmerexRentACar",e[e.AutoHostCarRentals=3400]="AutoHostCarRentals",e[e.EnterpriseRentACar=3405]="EnterpriseRentACar",e[e.GeneralRentACar=3409]="GeneralRentACar",e[e.AtlantaRentACar=3411]="AtlantaRentACar",e[e.A1RentACar=3412]="A1RentACar",e[e.GodfreyNatlRentACar=3414]="GodfreyNatlRentACar",e[e.AlphaRentACar=3419]="AlphaRentACar",e[e.AnsaIntlRentACar=3420]="AnsaIntlRentACar",e[e.AllstateRentACar=3421]="AllstateRentACar",e[e.AvcarRentACar=3423]="AvcarRentACar",e[e.AutomateRentACar=3425]="AutomateRentACar",e[e.AvonRentACar=3427]="AvonRentACar",e[e.CareyRentACar=3428]="CareyRentACar",e[e.InsuranceRentACar=3429]="InsuranceRentACar",e[e.MajorRentACar=3430]="MajorRentACar",e[e.ReplacementRentACar=3431]="ReplacementRentACar",e[e.ReserveRentACar=3432]="ReserveRentACar",e[e.UglyDucklingRentACar=3433]="UglyDucklingRentACar",e[e.USARentACar=3434]="USARentACar",e[e.ValueRentACar=3435]="ValueRentACar",e[e.AutohansaRentACar=3436]="AutohansaRentACar",e[e.CiteRentACar=3437]="CiteRentACar",e[e.InterentRentACar=3438]="InterentRentACar",e[e.MillevilleRentACar=3439]="MillevilleRentACar",e[e.ViaRouteRentACar=3440]="ViaRouteRentACar",e[e.AdvantageRentACar=3441]="AdvantageRentACar",e[e.HolidayInns=3501]="HolidayInns",e[e.BestWesternHotels=3502]="BestWesternHotels",e[e.SheratonHotels=3503]="SheratonHotels",e[e.HiltonHotels=3504]="HiltonHotels",e[e.ForteHotels=3505]="ForteHotels",e[e.GoldenTulipHotels=3506]="GoldenTulipHotels",e[e.FriendshipInns=3507]="FriendshipInns",e[e.QualityInnsQualitySuites=3508]="QualityInnsQualitySuites",e[e.MarriottHotels=3509]="MarriottHotels",e[e.DaysInnsDaystop=3510]="DaysInnsDaystop",e[e.ArabellaHotels=3511]="ArabellaHotels",e[e.InterContinentalHotels=3512]="InterContinentalHotels",e[e.WestinHotels=3513]="WestinHotels",e[e.AmeriSuites=3514]="AmeriSuites",e[e.RodewayInns=3515]="RodewayInns",e[e.LaQuintaMotorInns=3516]="LaQuintaMotorInns",e[e.AmericanaHotels=3517]="AmericanaHotels",e[e.SolHotels=3518]="SolHotels",e[e.PullmanInternationalHotels=3519]="PullmanInternationalHotels",e[e.MeridienHotels=3520]="MeridienHotels",e[e.RoyalLahainaResorts=3521]="RoyalLahainaResorts",e[e.TokyoHotel=3522]="TokyoHotel",e[e.PeninsulaHotel=3523]="PeninsulaHotel",e[e.WelcomgroupHotels=3524]="WelcomgroupHotels",e[e.DunfeyHotels=3525]="DunfeyHotels",e[e.PrinceHotels=3526]="PrinceHotels",e[e.DowntownerPassportHotel=3527]="DowntownerPassportHotel",e[e.RedLionHotelsRedLionInns=3528]="RedLionHotelsRedLionInns",e[e.CPHotels=3529]="CPHotels",e[e.RenaissanceHotels=3530]="RenaissanceHotels",e[e.KauaiCoconutBeachResort=3531]="KauaiCoconutBeachResort",e[e.RoyalKonaResort=3532]="RoyalKonaResort",e[e.HotelIbis=3533]="HotelIbis",e[e.SouthernPacificHotels=3534]="SouthernPacificHotels",e[e.HiltonInternational=3535]="HiltonInternational",e[e.AmfacHotels=3536]="AmfacHotels",e[e.ANAHotel=3537]="ANAHotel",e[e.ConcordeHotels=3538]="ConcordeHotels",e[e.SummerfieldSuitesHotel=3539]="SummerfieldSuitesHotel",e[e.IberotelHotels=3540]="IberotelHotels",e[e.HotelOkura=3541]="HotelOkura",e[e.RoyalHotels=3542]="RoyalHotels",e[e.FourSeasonsHotels=3543]="FourSeasonsHotels",e[e.CigaHotels=3544]="CigaHotels",e[e.ShangriLaInternational=3545]="ShangriLaInternational",e[e.SierraSuitesHotels=3546]="SierraSuitesHotels",e[e.BreakersResort=3547]="BreakersResort",e[e.HotelsMelia=3548]="HotelsMelia",e[e.AubergeDesGouverneurs=3549]="AubergeDesGouverneurs",e[e.Regal8Inns=3550]="Regal8Inns",e[e.MirageHotelAndCasino=3551]="MirageHotelAndCasino",e[e.CoastHotels=3552]="CoastHotels",e[e.ParkInnsInternational=3553]="ParkInnsInternational",e[e.PinehurstResort=3554]="PinehurstResort",e[e.TreasureIslandHotelAndCasino=3555]="TreasureIslandHotelAndCasino",e[e.BartonCreekResort=3556]="BartonCreekResort",e[e.ManhattanEastSuiteHotels=3557]="ManhattanEastSuiteHotels",e[e.JollyHotels=3558]="JollyHotels",e[e.CandlewoodSuitesThistleHotels=3559]="CandlewoodSuitesThistleHotels",e[e.AladdinResortAndCasino=3560]="AladdinResortAndCasino",e[e.GoldenNugget=3561]="GoldenNugget",e[e.ComfortInns=3562]="ComfortInns",e[e.JourneysEndMotels=3563]="JourneysEndMotels",e[e.SamsTownHotelAndCasino=3564]="SamsTownHotelAndCasino",e[e.RelaxInns=3565]="RelaxInns",e[e.GardenPlaceHotel=3566]="GardenPlaceHotel",e[e.SohoGrandHotel=3567]="SohoGrandHotel",e[e.LadbrokeHotels=3568]="LadbrokeHotels",e[e.TribecaGrandHotel=3569]="TribecaGrandHotel",e[e.ForumHotels=3570]="ForumHotels",e[e.GrandWaileaResort=3571]="GrandWaileaResort",e[e.MiyakoHotels=3572]="MiyakoHotels",e[e.SandmanHotels=3573]="SandmanHotels",e[e.VentureInns=3574]="VentureInns",e[e.VagabondHotels=3575]="VagabondHotels",e[e.LaQuintaResort=3576]="LaQuintaResort",e[e.MandarinOrientalHotel=3577]="MandarinOrientalHotel",e[e.FrankenmuthBavarian=3578]="FrankenmuthBavarian",e[e.HotelMercure=3579]="HotelMercure",e[e.HotelDelCoronado=3580]="HotelDelCoronado",e[e.DeltaHotel=3581]="DeltaHotel",e[e.CaliforniaHotelAndCasino=3582]="CaliforniaHotelAndCasino",e[e.SasHotels=3583]="SasHotels",e[e.PrincessHotelsInternational=3584]="PrincessHotelsInternational",e[e.HungarHotels=3585]="HungarHotels",e[e.SokosHotels=3586]="SokosHotels",e[e.DoralHotels=3587]="DoralHotels",e[e.HelmsleyHotels=3588]="HelmsleyHotels",e[e.DoralGolfResort=3589]="DoralGolfResort",e[e.FairmontHotels=3590]="FairmontHotels",e[e.SonestaHotels=3591]="SonestaHotels",e[e.OmniHotels=3592]="OmniHotels",e[e.CunardHotels=3593]="CunardHotels",e[e.ArizonaBiltmore=3594]="ArizonaBiltmore",e[e.HospitalityInns=3595]="HospitalityInns",e[e.WynnLasVegas=3596]="WynnLasVegas",e[e.RiversideResortAndCasino=3597]="RiversideResortAndCasino",e[e.RegentInternationalHotels=3598]="RegentInternationalHotels",e[e.PannoniaHotels=3599]="PannoniaHotels",e[e.SaddlebrookResort=3600]="SaddlebrookResort",e[e.TradeWindsResort=3601]="TradeWindsResort",e[e.HudsonHotel=3602]="HudsonHotel",e[e.NoahsHotels=3603]="NoahsHotels",e[e.HiltonGardenResortInn=3604]="HiltonGardenResortInn",e[e.JurysDoyleHotelGroup=3605]="JurysDoyleHotelGroup",e[e.JeffersonHotel=3606]="JeffersonHotel",e[e.FontainebleauResorts=3607]="FontainebleauResorts",e[e.GaylordOpryland=3608]="GaylordOpryland",e[e.GaylordPalms=3609]="GaylordPalms",e[e.GaylordTexan=3610]="GaylordTexan",e[e.CMonInn=3611]="CMonInn",e[e.MovenpickHotels=3612]="MovenpickHotels",e[e.MicrotelInnAndSuites=3613]="MicrotelInnAndSuites",e[e.AmericInn=3614]="AmericInn",e[e.Travelodge=3615]="Travelodge",e[e.HermitageHotel=3616]="HermitageHotel",e[e.AmericasBestValueInn=3617]="AmericasBestValueInn",e[e.GreatWolf=3618]="GreatWolf",e[e.Aloft=3619]="Aloft",e[e.BinionsHorseshoeClub=3620]="BinionsHorseshoeClub",e[e.ExtendedStay=3621]="ExtendedStay",e[e.MerlinHotels=3622]="MerlinHotels",e[e.DorintHotels=3623]="DorintHotels",e[e.LadyLuckHotelAndCasino=3624]="LadyLuckHotelAndCasino",e[e.HotelUniversale=3625]="HotelUniversale",e[e.StudioPlus=3626]="StudioPlus",e[e.ExtendedStayAmerica=3627]="ExtendedStayAmerica",e[e.ExcaliburHotelAndCasino=3628]="ExcaliburHotelAndCasino",e[e.DanHotels=3629]="DanHotels",e[e.ExtendedStayDeluxe=3630]="ExtendedStayDeluxe",e[e.SleepInns=3631]="SleepInns",e[e.Phoenician=3632]="Phoenician",e[e.RankHotels=3633]="RankHotels",e[e.Swissotel=3634]="Swissotel",e[e.ResoHotels=3635]="ResoHotels",e[e.SarovaHotels=3636]="SarovaHotels",e[e.RamadaInnsRamadaLimited=3637]="RamadaInnsRamadaLimited",e[e.HowardJohnson=3638]="HowardJohnson",e[e.MountCharlotteThistle=3639]="MountCharlotteThistle",e[e.HyattHotels=3640]="HyattHotels",e[e.SofitelHotels=3641]="SofitelHotels",e[e.NovotelHotels=3642]="NovotelHotels",e[e.SteigenbergerHotels=3643]="SteigenbergerHotels",e[e.EconoLodges=3644]="EconoLodges",e[e.QueensMoatHouses=3645]="QueensMoatHouses",e[e.SwallowHotels=3646]="SwallowHotels",e[e.HusaHotels=3647]="HusaHotels",e[e.DeVereHotels=3648]="DeVereHotels",e[e.RadissonHotels=3649]="RadissonHotels",e[e.RedRoofInns=3650]="RedRoofInns",e[e.ImperialLondonHotel=3651]="ImperialLondonHotel",e[e.EmbassyHotels=3652]="EmbassyHotels",e[e.PentaHotels=3653]="PentaHotels",e[e.LoewsHotels=3654]="LoewsHotels",e[e.ScandicHotels=3655]="ScandicHotels",e[e.SaraHotels=3656]="SaraHotels",e[e.OberoiHotels=3657]="OberoiHotels",e[e.NewOtaniHotels=3658]="NewOtaniHotels",e[e.TajHotelsInternational=3659]="TajHotelsInternational",e[e.KnightsInns=3660]="KnightsInns",e[e.MetropoleHotels=3661]="MetropoleHotels",e[e.CircusCircusHotelAndCasino=3662]="CircusCircusHotelAndCasino",e[e.HotelesElPresidente=3663]="HotelesElPresidente",e[e.FlagInn=3664]="FlagInn",e[e.HamptonInns=3665]="HamptonInns",e[e.StakisHotels=3666]="StakisHotels",e[e.LuxorHotelAndCasino=3667]="LuxorHotelAndCasino",e[e.MaritimHotels=3668]="MaritimHotels",e[e.EldoradoHotelAndCasino=3669]="EldoradoHotelAndCasino",e[e.ArcadeHotels=3670]="ArcadeHotels",e[e.ArctiaHotels=3671]="ArctiaHotels",e[e.CampanileHotels=3672]="CampanileHotels",e[e.IbuszHotels=3673]="IbuszHotels",e[e.RantasipiHotels=3674]="RantasipiHotels",e[e.InterhotelCedok=3675]="InterhotelCedok",e[e.MonteCarloHotelAndCasino=3676]="MonteCarloHotelAndCasino",e[e.ClimatDeFranceHotels=3677]="ClimatDeFranceHotels",e[e.CumulusHotels=3678]="CumulusHotels",e[e.SilverLegacyHotelAndCasino=3679]="SilverLegacyHotelAndCasino",e[e.HoteisOthan=3680]="HoteisOthan",e[e.AdamsMarkHotels=3681]="AdamsMarkHotels",e[e.SaharaHotelAndCasino=3682]="SaharaHotelAndCasino",e[e.BradburySuites=3683]="BradburySuites",e[e.BudgetHostInns=3684]="BudgetHostInns",e[e.BudgetelHotels=3685]="BudgetelHotels",e[e.SusseChalet=3686]="SusseChalet",e[e.ClarionHotels=3687]="ClarionHotels",e[e.CompriHotels=3688]="CompriHotels",e[e.ConsortHotels=3689]="ConsortHotels",e[e.CourtyardByMarriott=3690]="CourtyardByMarriott",e[e.DillonInns=3691]="DillonInns",e[e.DoubletreeHotels=3692]="DoubletreeHotels",e[e.DruryInns=3693]="DruryInns",e[e.EconomyInnsOfAmerica=3694]="EconomyInnsOfAmerica",e[e.EmbassySuites=3695]="EmbassySuites",e[e.ExelInns=3696]="ExelInns",e[e.FairfieldHotels=3697]="FairfieldHotels",e[e.HarleyHotels=3698]="HarleyHotels",e[e.MidwayMotorLodge=3699]="MidwayMotorLodge",e[e.Motel6=3700]="Motel6",e[e.LaMansionDelRio=3701]="LaMansionDelRio",e[e.RegistryHotels=3702]="RegistryHotels",e[e.ResidenceInns=3703]="ResidenceInns",e[e.RoyceHotels=3704]="RoyceHotels",e[e.SandmanInns=3705]="SandmanInns",e[e.ShiloInns=3706]="ShiloInns",e[e.ShoneysInns=3707]="ShoneysInns",e[e.VirginRiverHotelAndCasino=3708]="VirginRiverHotelAndCasino",e[e.Super8Motels=3709]="Super8Motels",e[e.TheRitzCarltonHotels=3710]="TheRitzCarltonHotels",e[e.FlagInnsAustralia=3711]="FlagInnsAustralia",e[e.BuffaloBillsHotelAndCasino=3712]="BuffaloBillsHotelAndCasino",e[e.QualityPacificHotel=3713]="QualityPacificHotel",e[e.FourSeasonsHotelAustralia=3714]="FourSeasonsHotelAustralia",e[e.FairfieldInn=3715]="FairfieldInn",e[e.CarltonHotels=3716]="CarltonHotels",e[e.CityLodgeHotels=3717]="CityLodgeHotels",e[e.KarosHotels=3718]="KarosHotels",e[e.ProteaHotels=3719]="ProteaHotels",e[e.SouthernSunHotels=3720]="SouthernSunHotels",e[e.HiltonConrad=3721]="HiltonConrad",e[e.WyndhamHotelResorts=3722]="WyndhamHotelResorts",e[e.RicaHotelsDuplicate=3723]="RicaHotelsDuplicate",e[e.InterNorHotelsDuplicate=3724]="InterNorHotelsDuplicate",e[e.SeapinesPlantation=3725]="SeapinesPlantation",e[e.RioSuites=3726]="RioSuites",e[e.BroadmoorHotel=3727]="BroadmoorHotel",e[e.BallysHotelAndCasino=3728]="BallysHotelAndCasino",e[e.JohnAscuagasNugget=3729]="JohnAscuagasNugget",e[e.MGMGrandHotel=3730]="MGMGrandHotel",e[e.HarrahsHotelsAndCasinos=3731]="HarrahsHotelsAndCasinos",e[e.OprylandHotel=3732]="OprylandHotel",e[e.BocaRatonResort=3733]="BocaRatonResort",e[e.HarveyBristolHotel=3734]="HarveyBristolHotel",e[e.MastersEconomyInns=3735]="MastersEconomyInns",e[e.ColoradoBelleEdgewaterResort=3736]="ColoradoBelleEdgewaterResort",e[e.RivieraHotelCasino=3737]="RivieraHotelCasino",e[e.TropicanaResortCasino=3738]="TropicanaResortCasino",e[e.WoodsideHotels=3739]="WoodsideHotels",e[e.MarriottTownplaceSuites=3740]="MarriottTownplaceSuites",e[e.MillenniumHotels=3741]="MillenniumHotels",e[e.ClubMed=3742]="ClubMed",e[e.BiltmoreHotelSuites=3743]="BiltmoreHotelSuites",e[e.CarefreeResorts=3744]="CarefreeResorts",e[e.StRegisHotel=3745]="StRegisHotel",e[e.TheEliotHotel=3746]="TheEliotHotel",e[e.ClubCorpClubResorts=3747]="ClubCorpClubResorts",e[e.WellesleyInns=3748]="WellesleyInns",e[e.TheBeverlyHillsHotel=3749]="TheBeverlyHillsHotel",e[e.CrownePlazaHotel=3750]="CrownePlazaHotel",e[e.HomewoodSuites=3751]="HomewoodSuites",e[e.PeabodyHotels=3752]="PeabodyHotels",e[e.GreenbrierResorts=3753]="GreenbrierResorts",e[e.AmeliaIslandPlantation=3754]="AmeliaIslandPlantation",e[e.TheHomestead=3755]="TheHomestead",e[e.SouthSeasResorts=3756]="SouthSeasResorts",e[e.CanyonRanch=3757]="CanyonRanch",e[e.KahalaMandarinOrientalHotel=3758]="KahalaMandarinOrientalHotel",e[e.OrchidAtMaunaLani=3759]="OrchidAtMaunaLani",e[e.HalekulaniHotelWaikikiParc=3760]="HalekulaniHotelWaikikiParc",e[e.PrimadonnaHotelAndCasino=3761]="PrimadonnaHotelAndCasino",e[e.WhiskeyPetesHotelAndCasino=3762]="WhiskeyPetesHotelAndCasino",e[e.ChateauElanWineryAndResort=3763]="ChateauElanWineryAndResort",e[e.BeauRivageHotelAndCasino=3764]="BeauRivageHotelAndCasino",e[e.Bellagio=3765]="Bellagio",e[e.FremontHotelAndCasino=3766]="FremontHotelAndCasino",e[e.MainStreetStationHotelAndCasino=3767]="MainStreetStationHotelAndCasino",e[e.SilverStarHotelAndCasino=3768]="SilverStarHotelAndCasino",e[e.StratosphereHotelAndCasino=3769]="StratosphereHotelAndCasino",e[e.SpringhillSuites=3770]="SpringhillSuites",e[e.CaesarsHotelAndCasino=3771]="CaesarsHotelAndCasino",e[e.NemacolinWoodlands=3772]="NemacolinWoodlands",e[e.VenetianResortHotelAndCasino=3773]="VenetianResortHotelAndCasino",e[e.NewYorkNewYorkHotelCasino=3774]="NewYorkNewYorkHotelCasino",e[e.SandsResort=3775]="SandsResort",e[e.NeveleGrandeResortAndCountryClub=3776]="NeveleGrandeResortAndCountryClub",e[e.MandalayBayResort=3777]="MandalayBayResort",e[e.FourPointsHotels=3778]="FourPointsHotels",e[e.WHotels=3779]="WHotels",e[e.DisneyResorts=3780]="DisneyResorts",e[e.PatriciaGrandResortHotel=3781]="PatriciaGrandResortHotel",e[e.RosenHotelsResorts=3782]="RosenHotelsResorts",e[e.TownAndCountryResort=3783]="TownAndCountryResort",e[e.FirstHospitalityHotels=3784]="FirstHospitalityHotels",e[e.OutriggerHotelsAndResorts=3785]="OutriggerHotelsAndResorts",e[e.OhanaHotelsOfHawaii=3786]="OhanaHotelsOfHawaii",e[e.CaribeRoyaleResortSuitesVillas=3787]="CaribeRoyaleResortSuitesVillas",e[e.AlaMoanaHotel=3788]="AlaMoanaHotel",e[e.SmugglersNotchResort=3789]="SmugglersNotchResort",e[e.RafflesHotel=3790]="RafflesHotel",e[e.StaybridgeSuites=3791]="StaybridgeSuites",e[e.ClaridgeCasinoHotel=3792]="ClaridgeCasinoHotel",e[e.FlamingoHotels=3793]="FlamingoHotels",e[e.GrandCasinoHotel=3794]="GrandCasinoHotel",e[e.ParisLasVegasHotel=3795]="ParisLasVegasHotel",e[e.PeppermillHotelCasino=3796]="PeppermillHotelCasino",e[e.AtlanticCityHilton=3797]="AtlanticCityHilton",e[e.EmbassyVacationResort=3798]="EmbassyVacationResort",e[e.HaleKoaResort=3799]="HaleKoaResort",e[e.HomesteadSuites=3800]="HomesteadSuites",e[e.WildernessHotelAndResort=3801]="WildernessHotelAndResort",e[e.ThePalaceHotel=3802]="ThePalaceHotel",e[e.TheWigwamGolfResortAndSpa=3803]="TheWigwamGolfResortAndSpa",e[e.TheDiplomatCountryClubAndSpa=3804]="TheDiplomatCountryClubAndSpa",e[e.TheAtlantic=3805]="TheAtlantic",e[e.PrincevilleResort=3806]="PrincevilleResort",e[e.Element=3807]="Element",e[e.LXRLuxuryResorts=3808]="LXRLuxuryResorts",e[e.SettleInn=3809]="SettleInn",e[e.LaCostaResort=3810]="LaCostaResort",e[e.PremierTravelInn=3811]="PremierTravelInn",e[e.HyattPlace=3812]="HyattPlace",e[e.HotelIndigo=3813]="HotelIndigo",e[e.TheRooseveltHotelNY=3814]="TheRooseveltHotelNY",e[e.HolidayInnNickelodeon=3815]="HolidayInnNickelodeon",e[e.Home2Suites=3816]="Home2Suites",e[e.Affinia=3817]="Affinia",e[e.MainStaySuites=3818]="MainStaySuites",e[e.OxfordSuites=3819]="OxfordSuites",e[e.JumeirahEssexHotel=3820]="JumeirahEssexHotel",e[e.CaribeRoyale=3821]="CaribeRoyale",e[e.Crossland=3822]="Crossland",e[e.GrandSierraResort=3823]="GrandSierraResort",e[e.Aria=3824]="Aria",e[e.Vdara=3825]="Vdara",e[e.Autograph=3826]="Autograph",e[e.GaltHouse=3827]="GaltHouse",e[e.CosmopolitanOfLasVegas=3828]="CosmopolitanOfLasVegas",e[e.CountryInnByCarlson=3829]="CountryInnByCarlson",e[e.ParkPlazaHotel=3830]="ParkPlazaHotel",e[e.Waldorf=3831]="Waldorf",e[e.CanopyHotels=3833]="CanopyHotels",e[e.BaymontInnAndSuites=3834]="BaymontInnAndSuites",e[e.DolceHotelsAndResorts=3835]="DolceHotelsAndResorts",e[e.HawthornSuitesByWyndham=3836]="HawthornSuitesByWyndham",e[e.HoshinoResorts=3837]="HoshinoResorts",e[e.KimptonHotels=3838]="KimptonHotels",e[e.KyoritsuHotels=3839]="KyoritsuHotels",e[e.FreightRailways=4011]="FreightRailways",e[e.LocalPassengerTransportation=4111]="LocalPassengerTransportation",e[e.PassengerRailways=4112]="PassengerRailways",e[e.AmbulanceServices=4119]="AmbulanceServices",e[e.TaxicabsAndLimousines=4121]="TaxicabsAndLimousines",e[e.BusLines=4131]="BusLines",e[e.MotorFreightCarriersAndTrucking=4214]="MotorFreightCarriersAndTrucking",e[e.CourierServices=4215]="CourierServices",e[e.PublicWarehousingAndStorage=4225]="PublicWarehousingAndStorage",e[e.SteamshipAndCruiseLines=4411]="SteamshipAndCruiseLines",e[e.BoatRentalsAndLeasing=4457]="BoatRentalsAndLeasing",e[e.MarinasMarineServiceAndSupplies=4468]="MarinasMarineServiceAndSupplies",e[e.AirlinesAndAirCarriers=4511]="AirlinesAndAirCarriers",e[e.AirportsFlyingFieldsAndAirportTerminals=4582]="AirportsFlyingFieldsAndAirportTerminals",e[e.TravelAgenciesAndTourOperators=4722]="TravelAgenciesAndTourOperators",e[e.PackageTourOperatorsGermanyOnly=4723]="PackageTourOperatorsGermanyOnly",e[e.TransportationTravelRelatedArrangement=4761]="TransportationTravelRelatedArrangement",e[e.TollAndBridgeFees=4784]="TollAndBridgeFees",e[e.TransportationServices=4789]="TransportationServices",e[e.TelecommunicationEquipmentAndTelephoneSales=4812]="TelecommunicationEquipmentAndTelephoneSales",e[e.KeyEntryTelecomMerchants=4813]="KeyEntryTelecomMerchants",e[e.TelecommunicationServices=4814]="TelecommunicationServices",e[e.MonthlySummaryTelephoneCharges=4815]="MonthlySummaryTelephoneCharges",e[e.ComputerNetworkAndInformationServices=4816]="ComputerNetworkAndInformationServices",e[e.TelegraphServices=4821]="TelegraphServices",e[e.MoneyOrdersWireTransfer=4829]="MoneyOrdersWireTransfer",e[e.CableServices=4899]="CableServices",e[e.ElectricGasSanitaryAndWaterUtilities=4900]="ElectricGasSanitaryAndWaterUtilities",e[e.MotorVehicleSuppliesAndNewParts=5013]="MotorVehicleSuppliesAndNewParts",e[e.OfficeAndCommercialFurniture=5021]="OfficeAndCommercialFurniture",e[e.ConstructionMaterials=5039]="ConstructionMaterials",e[e.OfficePhotographicPhotocopyAndMicrofilmEquipment=5044]="OfficePhotographicPhotocopyAndMicrofilmEquipment",e[e.ComputersComputerPeripheralEquipmentSoftware=5045]="ComputersComputerPeripheralEquipmentSoftware",e[e.CommercialEquipment=5046]="CommercialEquipment",e[e.MedicalDentalOphthalmicHospitalEquipmentAndSupplies=5047]="MedicalDentalOphthalmicHospitalEquipmentAndSupplies",e[e.MetalServiceCentersAndOffices=5051]="MetalServiceCentersAndOffices",e[e.ElectricalPartsAndEquipment=5065]="ElectricalPartsAndEquipment",e[e.HardwareEquipmentAndSupplies=5072]="HardwareEquipmentAndSupplies",e[e.PlumbingAndHeatingEquipmentAndSupplies=5074]="PlumbingAndHeatingEquipmentAndSupplies",e[e.IndustrialSupplies=5085]="IndustrialSupplies",e[e.PreciousStonesAndMetalsWatchesAndJewelry=5094]="PreciousStonesAndMetalsWatchesAndJewelry",e[e.DurableGoods=5099]="DurableGoods",e[e.StationeryOfficeSuppliesPrintingAndWritingPaper=5111]="StationeryOfficeSuppliesPrintingAndWritingPaper",e[e.DrugsDrugProprietorsAndDruggistSundries=5122]="DrugsDrugProprietorsAndDruggistSundries",e[e.PieceGoodsNotionsAndOtherDryGoods=5131]="PieceGoodsNotionsAndOtherDryGoods",e[e.MensWomensAndChildrensUniformsAndCommercialClothing=5137]="MensWomensAndChildrensUniformsAndCommercialClothing",e[e.CommercialFootwear=5139]="CommercialFootwear",e[e.ChemicalsAndAlliedProducts=5169]="ChemicalsAndAlliedProducts",e[e.PetroleumAndPetroleumProducts=5172]="PetroleumAndPetroleumProducts",e[e.BooksPeriodicalsAndNewspapers=5192]="BooksPeriodicalsAndNewspapers",e[e.FloristsSuppliesNurseryStockAndFlowers=5193]="FloristsSuppliesNurseryStockAndFlowers",e[e.PaintsVarnishesAndSupplies=5198]="PaintsVarnishesAndSupplies",e[e.NonDurableGoods=5199]="NonDurableGoods",e[e.HomeSupplyWarehouseStores=5200]="HomeSupplyWarehouseStores",e[e.LumberAndBuildingMaterialsStores=5211]="LumberAndBuildingMaterialsStores",e[e.GlassStoresPaintAndWallpaperStoresWallpaperStores=5231]="GlassStoresPaintAndWallpaperStoresWallpaperStores",e[e.HardwareStores=5251]="HardwareStores",e[e.NurseriesLawnAndGardenSupplyStore=5261]="NurseriesLawnAndGardenSupplyStore",e[e.OnlineMarketplaces=5262]="OnlineMarketplaces",e[e.MobileHomeDealers=5271]="MobileHomeDealers",e[e.WarehouseClubGas=5299]="WarehouseClubGas",e[e.WholesaleClubs=5300]="WholesaleClubs",e[e.DutyFreeStores=5309]="DutyFreeStores",e[e.DiscountStores=5310]="DiscountStores",e[e.DepartmentStores=5311]="DepartmentStores",e[e.VarietyStores=5331]="VarietyStores",e[e.GeneralMerchandise=5399]="GeneralMerchandise",e[e.GroceryStoresSupermarkets=5411]="GroceryStoresSupermarkets",e[e.FreezerAndLockerMeatProvisioners=5422]="FreezerAndLockerMeatProvisioners",e[e.CandyStoresConfectioneryStoresNutStores=5441]="CandyStoresConfectioneryStoresNutStores",e[e.DairyProductsStores=5451]="DairyProductsStores",e[e.Bakeries=5462]="Bakeries",e[e.FoodStoresConvenienceStoresAndSpecialtyMarkets=5499]="FoodStoresConvenienceStoresAndSpecialtyMarkets",e[e.CarAndTruckDealersNewAndUsedSalesServiceRepairsPartsAndLeasing=5511]="CarAndTruckDealersNewAndUsedSalesServiceRepairsPartsAndLeasing",e[e.AutomobileAndTruckDealersUsedOnly=5521]="AutomobileAndTruckDealersUsedOnly",e[e.AutomobileSupplyStoresOrHomeSupplyStores=5531]="AutomobileSupplyStoresOrHomeSupplyStores",e[e.AutomotiveTireStores=5532]="AutomotiveTireStores",e[e.AutomotivePartsAccessoriesStores=5533]="AutomotivePartsAccessoriesStores",e[e.GasServiceStationsWithOrWithoutAncillaryServices=5541]="GasServiceStationsWithOrWithoutAncillaryServices",e[e.AutomatedFuelDispensers=5542]="AutomatedFuelDispensers",e[e.BoatDealers=5551]="BoatDealers",e[e.ElectricVehicleCharging=5552]="ElectricVehicleCharging",e[e.RecreationalAndUtilityTrailersCampDealers=5561]="RecreationalAndUtilityTrailersCampDealers",e[e.MotorcycleDealers=5571]="MotorcycleDealers",e[e.MotorHomeDealers=5592]="MotorHomeDealers",e[e.SnowmobileDealers=5598]="SnowmobileDealers",e[e.MiscellaneousAutomotiveAircraftAndFarmEquipmentDealers=5599]="MiscellaneousAutomotiveAircraftAndFarmEquipmentDealers",e[e.MensAndBoysClothingAndAccessoriesStores=5611]="MensAndBoysClothingAndAccessoriesStores",e[e.WomensReadyToWearStores=5621]="WomensReadyToWearStores",e[e.WomensAccessoryAndSpecialtyShops=5631]="WomensAccessoryAndSpecialtyShops",e[e.ChildrensAndInfantsWearStores=5641]="ChildrensAndInfantsWearStores",e[e.FamilyClothingStores=5651]="FamilyClothingStores",e[e.SportsApparelRidingApparelStores=5655]="SportsApparelRidingApparelStores",e[e.ShoeStores=5661]="ShoeStores",e[e.FurriersAndFurShops=5681]="FurriersAndFurShops",e[e.MensAndWomensClothingStores=5691]="MensAndWomensClothingStores",e[e.TailorsSeamstressMendingAndAlterations=5697]="TailorsSeamstressMendingAndAlterations",e[e.WigAndToupeeStores=5698]="WigAndToupeeStores",e[e.MiscellaneousApparelAndAccessoryShops=5699]="MiscellaneousApparelAndAccessoryShops",e[e.FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances=5712]="FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances",e[e.FloorCoveringStores=5713]="FloorCoveringStores",e[e.DraperyWindowCoveringAndUpholsteryStores=5714]="DraperyWindowCoveringAndUpholsteryStores",e[e.AlcoholicBeverageWholesalers=5715]="AlcoholicBeverageWholesalers",e[e.FireplaceAndFireplaceScreensAndAccessoriesStores=5718]="FireplaceAndFireplaceScreensAndAccessoriesStores",e[e.MiscellaneousHomeFurnishingSpecialtyStores=5719]="MiscellaneousHomeFurnishingSpecialtyStores",e[e.HouseholdApplianceStores=5722]="HouseholdApplianceStores",e[e.ElectronicStores=5732]="ElectronicStores",e[e.MusicStoresMusicalInstrumentsPianoSheetMusic=5733]="MusicStoresMusicalInstrumentsPianoSheetMusic",e[e.ComputerSoftwareStores=5734]="ComputerSoftwareStores",e[e.RecordStores=5735]="RecordStores",e[e.Caterers=5811]="Caterers",e[e.EatingPlacesAndRestaurants=5812]="EatingPlacesAndRestaurants",e[e.DrinkingPlacesAlcoholicBeveragesBarsTavernsCocktailLoungesNightclubsAndDiscotheques=5813]="DrinkingPlacesAlcoholicBeveragesBarsTavernsCocktailLoungesNightclubsAndDiscotheques",e[e.FastFoodRestaurants=5814]="FastFoodRestaurants",e[e.DigitalGoodsBooksMoviesMusic=5815]="DigitalGoodsBooksMoviesMusic",e[e.DigitalGoodsGames=5816]="DigitalGoodsGames",e[e.DigitalGoodsApplicationsExcludingGames=5817]="DigitalGoodsApplicationsExcludingGames",e[e.DigitalGoodsLargeAndMultiCategory=5818]="DigitalGoodsLargeAndMultiCategory",e[e.DrugStoresAndPharmacies=5912]="DrugStoresAndPharmacies",e[e.PackageStoresBeerWineAndLiquor=5921]="PackageStoresBeerWineAndLiquor",e[e.UsedMerchandiseAndSecondhandStores=5931]="UsedMerchandiseAndSecondhandStores",e[e.AntiqueShopsSalesRepairsAndRestorationServices=5932]="AntiqueShopsSalesRepairsAndRestorationServices",e[e.PawnShops=5933]="PawnShops",e[e.WreckingAndSalvageYards=5935]="WreckingAndSalvageYards",e[e.AntiqueReproductionStores=5937]="AntiqueReproductionStores",e[e.BicycleShopsSalesAndService=5940]="BicycleShopsSalesAndService",e[e.SportingGoodsStores=5941]="SportingGoodsStores",e[e.BookStores=5942]="BookStores",e[e.StationeryOfficeAndSchoolSupplyStores=5943]="StationeryOfficeAndSchoolSupplyStores",e[e.WatchClockJewelryAndSilverwareStores=5944]="WatchClockJewelryAndSilverwareStores",e[e.HobbyToyAndGameShops=5945]="HobbyToyAndGameShops",e[e.CameraAndPhotographicSupplyStores=5946]="CameraAndPhotographicSupplyStores",e[e.CardShopsGiftNoveltyAndSouvenirShops=5947]="CardShopsGiftNoveltyAndSouvenirShops",e[e.LeatherFoodsStores=5948]="LeatherFoodsStores",e[e.SewingNeedleFabricAndPriceGoodsStores=5949]="SewingNeedleFabricAndPriceGoodsStores",e[e.GlasswareCrystalStores=5950]="GlasswareCrystalStores",e[e.DirectMarketingInsuranceService=5960]="DirectMarketingInsuranceService",e[e.MailOrderHousesIncludingCatalogOrderStoresBookRecordClub=5961]="MailOrderHousesIncludingCatalogOrderStoresBookRecordClub",e[e.DirectMarketingTravelRelatedArrangementsServices=5962]="DirectMarketingTravelRelatedArrangementsServices",e[e.DoorToDoorSales=5963]="DoorToDoorSales",e[e.DirectMarketingCatalogMerchant=5964]="DirectMarketingCatalogMerchant",e[e.DirectMarketingCatalogAndCatalogAndRetailMerchantDirectMarketingOutboundTelemarketingMerchant=5965]="DirectMarketingCatalogAndCatalogAndRetailMerchantDirectMarketingOutboundTelemarketingMerchant",e[e.DirectMarketingOutboundTelemarketingMerchant=5966]="DirectMarketingOutboundTelemarketingMerchant",e[e.DirectMarketingInboundTeleServicesMerchant=5967]="DirectMarketingInboundTeleServicesMerchant",e[e.DirectMarketingContinuitySubscriptionMerchant=5968]="DirectMarketingContinuitySubscriptionMerchant",e[e.DirectMarketing=5969]="DirectMarketing",e[e.ArtistsSupplyAndCraftShops=5970]="ArtistsSupplyAndCraftShops",e[e.ArtDealersAndGalleries=5971]="ArtDealersAndGalleries",e[e.StampAndCoinStoresPhilatelicAndNumismaticSupplies=5972]="StampAndCoinStoresPhilatelicAndNumismaticSupplies",e[e.ReligiousGoodsStores=5973]="ReligiousGoodsStores",e[e.RubberStampStoresReservedForNationalUse=5974]="RubberStampStoresReservedForNationalUse";e[e.HearingAidsSalesServiceAndSupplyStores=5975]="HearingAidsSalesServiceAndSupplyStores",e[e.OrthopedicGoodsProstheticDevices=5976]="OrthopedicGoodsProstheticDevices",e[e.CosmeticStores=5977]="CosmeticStores",e[e.TypewriterStoresSalesRentalService=5978]="TypewriterStoresSalesRentalService",e[e.FuelFuelOilWoodCoalLiquefiedPetroleum=5983]="FuelFuelOilWoodCoalLiquefiedPetroleum",e[e.Florists=5992]="Florists",e[e.CigarStoresAndStands=5993]="CigarStoresAndStands",e[e.NewsDealersAndNewsStands=5994]="NewsDealersAndNewsStands",e[e.PetShopsPetFoodsAndSuppliesStores=5995]="PetShopsPetFoodsAndSuppliesStores",e[e.SwimmingPoolsSalesServiceAndSupplies=5996]="SwimmingPoolsSalesServiceAndSupplies",e[e.ElectricRazorStoresSalesAndService=5997]="ElectricRazorStoresSalesAndService",e[e.TentAndAwningShops=5998]="TentAndAwningShops",e[e.MiscellaneousAndSpecialtyRetailStores=5999]="MiscellaneousAndSpecialtyRetailStores",e[e.FinancialInstitutionsManualCashDisbursements=6010]="FinancialInstitutionsManualCashDisbursements",e[e.FinancialInstitutionsAutomatedCashDisbursements=6011]="FinancialInstitutionsAutomatedCashDisbursements",e[e.FinancialInstitutionsMerchandiseAndServices=6012]="FinancialInstitutionsMerchandiseAndServices",e[e.QuasiCashMemberFinancialInstitutions=6050]="QuasiCashMemberFinancialInstitutions",e[e.NonFinancialInstitutionsForeignCurrencyMoneyOrdersAndTravelersCheques=6051]="NonFinancialInstitutionsForeignCurrencyMoneyOrdersAndTravelersCheques",e[e.SecurityBrokersDealers=6211]="SecurityBrokersDealers",e[e.InsuranceSalesUnderwriting=6300]="InsuranceSalesUnderwriting",e[e.InsurancePremiums=6381]="InsurancePremiums",e[e.Insurance=6399]="Insurance",e[e.RealEstateAgentsAndManagersRentals=6513]="RealEstateAgentsAndManagersRentals",e[e.RemoteStoredValueLoadMemberFinancialInstitution=6529]="RemoteStoredValueLoadMemberFinancialInstitution",e[e.RemoteStoredValueLoad=6530]="RemoteStoredValueLoad",e[e.PaymentServiceProviderMoneyTransfer=6531]="PaymentServiceProviderMoneyTransfer",e[e.PaymentTransactionMemberFinancialInstitution=6532]="PaymentTransactionMemberFinancialInstitution",e[e.PaymentTransactionMerchant=6533]="PaymentTransactionMerchant",e[e.MoneyTransferMemberFinancialInstitution=6534]="MoneyTransferMemberFinancialInstitution",e[e.ValuePurchaseMemberFinancialInstitution=6535]="ValuePurchaseMemberFinancialInstitution",e[e.MoneySendIntracountry=6536]="MoneySendIntracountry",e[e.MoneySendIntercountry=6537]="MoneySendIntercountry",e[e.MoneySendFundingTransaction=6538]="MoneySendFundingTransaction",e[e.POIFundingTransaction=6540]="POIFundingTransaction",e[e.MastercardInitiatedRebateRewards=6555]="MastercardInitiatedRebateRewards",e[e.Overpayments=6611]="Overpayments",e[e.SavingsBonds=6760]="SavingsBonds",e[e.LodgingHotelsMotelsResortsCentralReservationServices=7011]="LodgingHotelsMotelsResortsCentralReservationServices",e[e.Timeshares=7012]="Timeshares",e[e.SportingAndRecreationalCamps=7032]="SportingAndRecreationalCamps",e[e.TrailerParksAndCampGrounds=7033]="TrailerParksAndCampGrounds",e[e.LaundryCleaningAndGarmentServices=7210]="LaundryCleaningAndGarmentServices",e[e.DiaperServicesOrLaundromats=7211]="DiaperServicesOrLaundromats",e[e.DryCleaners=7216]="DryCleaners",e[e.CarpetAndUpholsteryCleaning=7217]="CarpetAndUpholsteryCleaning",e[e.PhotographicStudios=7221]="PhotographicStudios",e[e.BarberAndBeautyShops=7230]="BarberAndBeautyShops",e[e.ShopRepairShopsAndShoeShineParlorsAndHatCleaningShops=7251]="ShopRepairShopsAndShoeShineParlorsAndHatCleaningShops",e[e.FuneralServiceAndCrematories=7261]="FuneralServiceAndCrematories",e[e.EscortServices=7272]="EscortServices",e[e.DatingAndEscortServices=7273]="DatingAndEscortServices",e[e.TaxPreparationService=7276]="TaxPreparationService",e[e.CounselingServiceDebtMarriagePersonal=7277]="CounselingServiceDebtMarriagePersonal",e[e.BuyingShoppingServicesAndClubs=7278]="BuyingShoppingServicesAndClubs",e[e.HospitalPatientPersonalFundsWithdrawal=7280]="HospitalPatientPersonalFundsWithdrawal",e[e.BabysittingServices=7295]="BabysittingServices",e[e.ClothingRentalCostumesFormalWearUniforms=7296]="ClothingRentalCostumesFormalWearUniforms",e[e.MassageParlors=7297]="MassageParlors",e[e.HealthAndBeautyShops=7298]="HealthAndBeautyShops",e[e.MiscellaneousPersonalServices=7299]="MiscellaneousPersonalServices",e[e.AdvertisingServices=7311]="AdvertisingServices",e[e.ConsumerCreditReportingAgencies=7321]="ConsumerCreditReportingAgencies",e[e.DebtCollectionAgencies=7322]="DebtCollectionAgencies",e[e.BlueprintingAndPhotocopyingServices=7332]="BlueprintingAndPhotocopyingServices",e[e.CommercialPhotographyArtAndGraphics=7333]="CommercialPhotographyArtAndGraphics",e[e.QuickCopyReproductionAndBlueprintingServices=7338]="QuickCopyReproductionAndBlueprintingServices",e[e.StenographicAndSecretarialSupportServices=7339]="StenographicAndSecretarialSupportServices",e[e.WindowCleaningServices=7341]="WindowCleaningServices",e[e.ExterminatingAndDisinfectingServices=7342]="ExterminatingAndDisinfectingServices",e[e.CleaningAndMaintenanceJanitorialServices=7349]="CleaningAndMaintenanceJanitorialServices",e[e.EmploymentAgenciesTemporaryHelpServices=7361]="EmploymentAgenciesTemporaryHelpServices",e[e.ComputerProgrammingIntegratedSystemsDesignAndDataProcessingServices=7372]="ComputerProgrammingIntegratedSystemsDesignAndDataProcessingServices",e[e.InformationRetrievalServices=7375]="InformationRetrievalServices",e[e.ComputerMaintenanceAndRepairServices=7379]="ComputerMaintenanceAndRepairServices",e[e.ManagementConsultingAndPublicRelationsServices=7392]="ManagementConsultingAndPublicRelationsServices",e[e.ProtectiveAndSecurityServicesIncludingArmoredCarsAndGuardDogs=7393]="ProtectiveAndSecurityServicesIncludingArmoredCarsAndGuardDogs",e[e.EquipmentRentalAndLeasingServicesToolRentalFurnitureRentalAndApplianceRental=7394]="EquipmentRentalAndLeasingServicesToolRentalFurnitureRentalAndApplianceRental",e[e.PhotofinishingLaboratoriesPhotoDeveloping=7395]="PhotofinishingLaboratoriesPhotoDeveloping",e[e.BusinessServices=7399]="BusinessServices",e[e.TruckStopTransactions=7511]="TruckStopTransactions",e[e.CarRentalCompanies=7512]="CarRentalCompanies",e[e.TruckAndUtilityTrailerRentals=7513]="TruckAndUtilityTrailerRentals",e[e.MotorHomeAndRecreationalVehicleRentals=7519]="MotorHomeAndRecreationalVehicleRentals",e[e.AutomobileParkingLotsAndGarages=7523]="AutomobileParkingLotsAndGarages",e[e.ExpressPaymentServicesParkingGarage=7524]="ExpressPaymentServicesParkingGarage",e[e.AutomotiveBodyRepairShops=7531]="AutomotiveBodyRepairShops",e[e.TireRetreadingAndRepairShops=7534]="TireRetreadingAndRepairShops",e[e.PaintShopsAutomotive=7535]="PaintShopsAutomotive",e[e.AutomotiveServiceShops=7538]="AutomotiveServiceShops",e[e.CarWashes=7542]="CarWashes",e[e.TowingServices=7549]="TowingServices",e[e.ElectronicsRepairShops=7622]="ElectronicsRepairShops",e[e.AirConditioningAndRefrigerationRepairShops=7623]="AirConditioningAndRefrigerationRepairShops",e[e.ElectricalAndSmallApplianceRepairShops=7629]="ElectricalAndSmallApplianceRepairShops",e[e.WatchClockAndJewelryRepair=7631]="WatchClockAndJewelryRepair",e[e.FurnitureFurnitureRepairAndFurnitureRefinishing=7641]="FurnitureFurnitureRepairAndFurnitureRefinishing",e[e.WeldingServices=7692]="WeldingServices",e[e.RepairShopsAndRelatedServicesMiscellaneous=7699]="RepairShopsAndRelatedServicesMiscellaneous",e[e.GovernmentOwnedLotteriesUSA=7800]="GovernmentOwnedLotteriesUSA",e[e.InternetGamblingUSA=7801]="InternetGamblingUSA",e[e.GovernmentLicensedHorseAndDogRacingUSA=7802]="GovernmentLicensedHorseAndDogRacingUSA",e[e.MotionPicturesAndVideoTapeProductionAndDistribution=7829]="MotionPicturesAndVideoTapeProductionAndDistribution",e[e.MotionPictureTheaters=7832]="MotionPictureTheaters",e[e.ExpressPaymentServicesMotionPicture=7833]="ExpressPaymentServicesMotionPicture",e[e.VideoTapeRentalStores=7841]="VideoTapeRentalStores",e[e.DanceHallsStudiosAndSchools=7911]="DanceHallsStudiosAndSchools",e[e.TheatricalProducersExceptMotionPicturesTicketAgencies=7922]="TheatricalProducersExceptMotionPicturesTicketAgencies",e[e.BandsOrchestrasAndMiscellaneousEntertainers=7929]="BandsOrchestrasAndMiscellaneousEntertainers",e[e.BilliardAndPoolEstablishments=7932]="BilliardAndPoolEstablishments",e[e.BowlingAlleys=7933]="BowlingAlleys",e[e.CommercialSportsAthleticFieldsProfessionalSportClubsAndSportPromoters=7941]="CommercialSportsAthleticFieldsProfessionalSportClubsAndSportPromoters",e[e.TouristAttractionsAndExhibits=7991]="TouristAttractionsAndExhibits",e[e.GolfCoursesPublic=7992]="GolfCoursesPublic",e[e.VideoAmusementGameSupplies=7993]="VideoAmusementGameSupplies",e[e.VideoGameArcadesEstablishments=7994]="VideoGameArcadesEstablishments",e[e.BettingIncludingLotteryTicketsCasinoGamingChipsOfftrackBettingAndWagers=7995]="BettingIncludingLotteryTicketsCasinoGamingChipsOfftrackBettingAndWagers",e[e.AmusementParksCarnivalsCircusesFortuneTellers=7996]="AmusementParksCarnivalsCircusesFortuneTellers",e[e.MembershipClubsSportsRecreationAthleticCountryClubsAndPrivateGolfCourses=7997]="MembershipClubsSportsRecreationAthleticCountryClubsAndPrivateGolfCourses",e[e.AquariumsSeaAquariumsDolphinariumsZoos=7998]="AquariumsSeaAquariumsDolphinariumsZoos",e[e.RecreationServices=7999]="RecreationServices",e[e.DoctorsAndPhysicians=8011]="DoctorsAndPhysicians",e[e.DentistsOrOrthodontists=8021]="DentistsOrOrthodontists",e[e.Osteopaths=8031]="Osteopaths",e[e.Chiropractors=8041]="Chiropractors",e[e.OptometristsAndOphthalmologists=8042]="OptometristsAndOphthalmologists",e[e.OpticiansOpticiansGoodsAndEyeglasses=8043]="OpticiansOpticiansGoodsAndEyeglasses",e[e.EyeglassesStoresOrOpticalGoods=8044]="EyeglassesStoresOrOpticalGoods",e[e.PodiatristsAndChiropodists=8049]="PodiatristsAndChiropodists",e[e.NursingAndPersonalCareFacilities=8050]="NursingAndPersonalCareFacilities",e[e.Hospitals=8062]="Hospitals",e[e.MedicalAndDentalLaboratories=8071]="MedicalAndDentalLaboratories",e[e.MedicalServicesAndHealthPractitioners=8099]="MedicalServicesAndHealthPractitioners",e[e.LegalServicesAndAttorneys=8111]="LegalServicesAndAttorneys",e[e.ElementaryAndSecondarySchools=8211]="ElementaryAndSecondarySchools",e[e.CollegesJuniorCollegesUniversitiesAndProfessionalSchools=8220]="CollegesJuniorCollegesUniversitiesAndProfessionalSchools",e[e.CorrespondenceSchools=8241]="CorrespondenceSchools",e[e.BusinessAndSecretarialSchools=8244]="BusinessAndSecretarialSchools",e[e.VocationalSchoolsAndTradeSchools=8249]="VocationalSchoolsAndTradeSchools",e[e.SchoolsAndEducationalServices=8299]="SchoolsAndEducationalServices",e[e.ChildCareServices=8351]="ChildCareServices",e[e.CharitableAndSocialServiceOrganizations=8398]="CharitableAndSocialServiceOrganizations",e[e.CivicFraternalAndSocialAssociations=8641]="CivicFraternalAndSocialAssociations",e[e.PoliticalOrganizations=8651]="PoliticalOrganizations",e[e.ReligiousOrganizations=8661]="ReligiousOrganizations",e[e.AutomobileAssociations=8675]="AutomobileAssociations",e[e.MembershipOrganizations=8699]="MembershipOrganizations",e[e.TestingLaboratoriesNonMedical=8734]="TestingLaboratoriesNonMedical",e[e.ArchitecturalEngineeringAndSurveyingServices=8911]="ArchitecturalEngineeringAndSurveyingServices",e[e.AccountingAuditingAndBookkeepingServices=8931]="AccountingAuditingAndBookkeepingServices",e[e.ProfessionalServicesNotElsewhereDefined=8999]="ProfessionalServicesNotElsewhereDefined",e[e.CourtCostsIncludingAlimonyAndChildSupport=9211]="CourtCostsIncludingAlimonyAndChildSupport",e[e.Fines=9222]="Fines",e[e.BailAndBondPayments=9223]="BailAndBondPayments",e[e.TaxPayments=9311]="TaxPayments",e[e.GovernmentServices=9399]="GovernmentServices",e[e.IPurchasingPilot=9401]="IPurchasingPilot",e[e.PostalServicesGovernmentOnly=9402]="PostalServicesGovernmentOnly",e[e.IntraGovernmentTransactions=9405]="IntraGovernmentTransactions",e[e.GovernmentLoanPayments=9411]="GovernmentLoanPayments",e[e.AutomatedReferralService=9700]="AutomatedReferralService",e[e.VisaCredentialServices=9701]="VisaCredentialServices",e[e.GCASEmergencyServices=9702]="GCASEmergencyServices",e[e.UKSupermarketsElectronicHotFile=9751]="UKSupermarketsElectronicHotFile",e[e.UKPetrolStationsElectronicHotFile=9752]="UKPetrolStationsElectronicHotFile",e[e.GamblingHorseDogRacingStLottery=9754]="GamblingHorseDogRacingStLottery",e[e.IntraCompanyPurchases=9950]="IntraCompanyPurchases",e[e.ClientDefinedMCC=9999]="ClientDefinedMCC"}(e.MerchantCategory||(e.MerchantCategory={})),e.MerchantFileType=void 0,(_=e.MerchantFileType||(e.MerchantFileType={})).Unspecified="Unspecified",_.AgentAgreement="AgentAgreement",_.MerchantAgreement="MerchantAgreement",_.BusinessCertificate="BusinessCertificate",_.ProofOfAddress="ProofOfAddress",_.ProofOfBankAccount="ProofOfBankAccount",_.IdentityDocumentFront="IdentityDocumentFront",_.IdentityDocumentBack="IdentityDocumentBack",_.Signature="Signature",_.LogoImage="LogoImage",_.StorefrontImage="StorefrontImage",_.PrimaryImage="PrimaryImage",_.GhanaCardId="GhanaCardId",_.RegisteredConstitutionOfTheCompany="RegisteredConstitutionOfTheCompany",_.CertificateOfIncorporation="CertificateOfIncorporation",_.CertifiedTrueCopyOfForm3A="CertifiedTrueCopyOfForm3A",_.MonthlyStatement="MonthlyStatement",e.MobileWalletOperator=void 0,($=e.MobileWalletOperator||(e.MobileWalletOperator={})).None="None",$.MTN="MTN",$.VDF="VDF",$.ATL="ATL",$.TGO="TGO",$.ATG="ATG",$.GMY="GMY",$.ZPY="ZPY",$.GHP="GHP",$.TCG="TCG",e.Month=void 0,(ee=e.Month||(e.Month={}))[ee.JAN=1]="JAN",ee[ee.FEB=2]="FEB",ee[ee.MAR=3]="MAR",ee[ee.APR=4]="APR",ee[ee.MAY=5]="MAY",ee[ee.JUN=6]="JUN",ee[ee.JUL=7]="JUL",ee[ee.AUG=8]="AUG",ee[ee.SEP=9]="SEP",ee[ee.OCT=10]="OCT",ee[ee.NOV=11]="NOV",ee[ee.DEC=12]="DEC",e.ProductType=void 0,(te=e.ProductType||(e.ProductType={})).Airtime="Airtime",te.Internet="Internet",te.Television="Television",te.Utilities="Utilities",te.Churches="Churches",te.Education="Education",te.Medical="Medical",te.Transport="Transport",te.Finance="Finance",te.Insurance="Insurance",te.Loans="Loans",te.Pensions="Pensions",te.General="General",te.Other="Other",te.DataBundle="DataBundle",te.VoiceBundle="VoiceBundle",te.Charity="Charity",te.Rent="Rent",te.MobileMoneyTransfer="MobileMoneyTransfer",te.PostPaidBills="PostPaidBills",te.SmsBundle="SmsBundle",te.Fuel="Fuel",te.Oil="Oil",te.Gas="Gas",e.QrCodeType=void 0,(ie=e.QrCodeType||(e.QrCodeType={})).NONE="NONE",ie.V2QR="V2QR",ie.GHQR="GHQR",ie.NIBSSQR="NIBSSQR",e.RepeatInterval=void 0,(ne=e.RepeatInterval||(e.RepeatInterval={})).Weekly="Weekly",ne.Monthly="Monthly";var re,ae,ce,de,le,ue,he="/v1/lookup",ve=/*#__PURE__*/function(t){function i(){for(var e,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).cardIssuerCountryCache=new Map,e.addressLocationCache=new Map,e.digitalAddressCache=new Map,e.bankCache=new Map,e.currencyCache=void 0,e.countryCache=void 0,e.languageCache=void 0,e.allCurrencyCache=void 0,e.allCountryCache=void 0,e.allLanguageCache=void 0,e.mobileWalletOperatorCache=void 0,e.productTypeCache=void 0,e.merchantCategoryCache=void 0,e}C(i,t);var n=i.prototype;return n.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(he+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(he+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(he+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(he+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(he+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(he+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(he+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(he+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(he+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getBanks=function(t){try{var i=function(){return Promise.resolve(n.bankCache.get(t||e.Country.None)||[])},n=this,o=function(){if(!n.bankCache.has(t||e.Country.None)){var i=function(){if(null==t||t===e.Country.None){var i=n.bankCache,o=i.set,s=e.Country.None;return Promise.resolve(n.request(he+"/bank","GET")).then(function(e){o.call(i,s,e)})}var r=n.bankCache,a=r.set;return Promise.resolve(n.request(he+"/bank?country="+t,"GET")).then(function(e){a.call(r,t,e)})}();if(i&&i.then)return i.then(function(){})}}();return Promise.resolve(o&&o.then?o.then(i):i())}catch(e){return Promise.reject(e)}},n.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,n=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,n=t.set;return Promise.resolve(i.request(he+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.getAddressFromLocation=function(e,t){try{var i,n=function(e){return i?e:Promise.reject(new L(400,null,"Invalid location coordinates."))},o=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var n=function(){var e=Promise.resolve(o.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!o.addressLocationCache.has(s)){var i=o.addressLocationCache,n=i.set;return Promise.resolve(o.request(he+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){n.call(i,s,e)})}}();return r&&r.then?r.then(n):n()}}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}},n.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new L(400,null,"Invalid digital address format."))},n=this,o=function(){if(/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)){var i=function(){var i=Promise.resolve(n.digitalAddressCache.get(e)||null);return t=1,i},o=function(){if(!n.digitalAddressCache.has(e)){var t=n.digitalAddressCache,i=t.set;return Promise.resolve(n.request(he+"/address/"+e,"GET")).then(function(n){i.call(t,e,n)})}}();return o&&o.then?o.then(i):i()}}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}},i}(k);e.CardIssuer=void 0,(re=e.CardIssuer||(e.CardIssuer={})).AmericanExpress="AmericanExpress",re.DinersClub="DinersClub",re.Discover="Discover",re.JCB="JCB",re.Maestro="Maestro",re.MasterCard="MasterCard",re.Switch="Switch",re.Visa="Visa",re.Unknown="Unknown",e.FeeType=void 0,(ae=e.FeeType||(e.FeeType={})).None="None",ae.FeeTakenFromSourceByMerchant="FeeTakenFromSourceByMerchant",ae.Elevy="Elevy",ae.ExternalPaymentProcessorFee="ExternalPaymentProcessorFee",ae.ExternallyProcessedElevy="ExternallyProcessedElevy",ae.InternalUserTransactionFee="InternalUserTransactionFee",ae.ExternalUserTransactionFee="ExternalUserTransactionFee",ae.InternalPaymentProcessorFee="InternalPaymentProcessorFee",e.MerchantPaymentType=void 0,(ce=e.MerchantPaymentType||(e.MerchantPaymentType={})).Unspecified="Unspecified",ce.CashOut="CashOut",ce.BuyingGoods="BuyingGoods",ce.BillPayment="BillPayment",ce.GhIPSSQrCode="GhIPSSQrCode",e.ReceiptType=void 0,(de=e.ReceiptType||(e.ReceiptType={})).Consumer="Consumer",de.Merchant="Merchant",e.RefundType=void 0,(le=e.RefundType||(e.RefundType={}))[le.Manual=1]="Manual",le[le.Auto=2]="Auto",e.TransactionCategory=void 0,(ue=e.TransactionCategory||(e.TransactionCategory={}))[ue.Unknown=0]="Unknown",ue[ue.Generic=1]="Generic",ue[ue.BankAccount=2]="BankAccount",ue[ue.Card=3]="Card",ue[ue.MobileWallet=4]="MobileWallet",ue[ue.Cash=5]="Cash",ue[ue.Merchant=6]="Merchant",ue[ue.QrCode=7]="QrCode",ue[ue.DigitalWallet=8]="DigitalWallet",ue[ue.Wallet=8]="Wallet",ue[ue.Bill=9]="Bill";var me,Ae,fe,Se=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};Se.none=void 0,e.TransactionIconType=void 0,(me=e.TransactionIconType||(e.TransactionIconType={}))[me.Bank=0]="Bank",me[me.MobileWallet=1]="MobileWallet",me[me.Card=2]="Card",me[me.Cash=3]="Cash",me[me.Merchant=4]="Merchant",me[me.QrCode=5]="QrCode",me[me.DigitalWallet=6]="DigitalWallet",me[me.MTN=7]="MTN",me[me.Vodafone=8]="Vodafone",me[me.AirtelTigo=9]="AirtelTigo",me[me.GhanaPay=10]="GhanaPay",me[me.Zeepay=11]="Zeepay",me[me.Glo=12]="Glo",me[me.Surfline=13]="Surfline",me[me.Busy4G=14]="Busy4G",me[me.DSTV=15]="DSTV",me[me.GoTV=16]="GoTV",me[me.StarTimesTV=17]="StarTimesTV",me[me.ECG=18]="ECG",me[me.GhanaWater=19]="GhanaWater",me[me.Telecel=20]="Telecel",e.TransactionStatus=void 0,(Ae=e.TransactionStatus||(e.TransactionStatus={}))[Ae.NotStarted=0]="NotStarted",Ae[Ae.Success=1]="Success",Ae[Ae.Failed=2]="Failed",Ae[Ae.Processing=3]="Processing",Ae[Ae.Pending=4]="Pending",Ae[Ae.Authorized=5]="Authorized",Ae[Ae.Declined=6]="Declined",Ae[Ae.ValidationError=7]="ValidationError",Ae[Ae.Requires3DSecure=8]="Requires3DSecure",Ae[Ae.RequiresPin=9]="RequiresPin",Ae[Ae.Expired=10]="Expired",Ae[Ae.InsufficientFunds=11]="InsufficientFunds",Ae[Ae.AddressVerificationFailed=12]="AddressVerificationFailed",Ae[Ae.Ignored=13]="Ignored",Ae[Ae.ExternallyFunded=14]="ExternallyFunded",Ae[Ae.ProcessorUnavailable=15]="ProcessorUnavailable",Ae[Ae.TimedOut=16]="TimedOut",Ae[Ae.Indeterminate=17]="Indeterminate",Ae[Ae.RequiresConfirmation=18]="RequiresConfirmation",Ae[Ae.RequiresAddress=19]="RequiresAddress",Ae[Ae.Delayed=20]="Delayed",Ae[Ae.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",Ae[Ae.Unrecoverable=22]="Unrecoverable",Ae[Ae.Reversed=23]="Reversed",e.TransactionType=void 0,(fe=e.TransactionType||(e.TransactionType={}))[fe.Source=1]="Source",fe[fe.Destination=2]="Destination";var Ce,pe="/v1/pay",ye="/v2/token",ge="/v1/transaction",Pe="/v1/notification",Re=/*#__PURE__*/function(t){function i(e,i){var n;return void 0===i&&(i=!1),(n=t.call(this,e,i)||this).hubConnection=void 0,n.baseUrl=void 0,n.activeTransactions=new Map,n.manuallyStartedPaymentStatusChecking=!1,n.baseUrl=e.defaults.baseURL,n.hubConnection=(new v.HubConnectionBuilder).withUrl(""+n.baseUrl+pe+"/hub",{accessTokenFactory:function(){return P.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(n.consoleLogging?v.LogLevel.Debug:v.LogLevel.None).build(),n}C(i,t);var n=i.prototype;return n.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(pe,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(pe+"/merchant/"+e,"POST",t)).then(function(e){return P.accessToken=P.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(pe+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.paymentReceipt=function(e){try{return Promise.resolve(this.request(pe+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.createCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card","POST",e))}catch(e){return Promise.reject(e)}},n.createBankAccountToken=function(e){try{return Promise.resolve(this.request(ye+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},n.verifyCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},n.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(ye+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},n.submitPinCode=function(e,t){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},n.rejectPinCode=function(e){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},n.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(ge+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},n.submitAddress=function(e,t){try{return Promise.resolve(this.request(ge+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},n.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},n.sendEmailPaymentNotification=function(t,i,n){try{return Promise.resolve(this.request(Pe+"/email/"+t,"POST",{toEmailAddress:i,templateName:n,receiptType:e.ReceiptType.Consumer}))}catch(e){return Promise.reject(e)}},n.sendSmsPaymentNotification=function(t,i){try{var n={toNumber:i.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:e.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/sms/"+t,"POST",n))}catch(e){return Promise.reject(e)}},n.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return A(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?A(e,t):void 0}}(e))){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.activeTransactions.values());!(i=n()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===v.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},n.startPaymentStatusChecking=function(e){try{var t=this;return e&&t.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.hubConnection.off("OnPaymentStatusChanged"),t.hubConnection.on("OnPaymentStatusChanged",function(e){try{var i,n=function(e){return i?e:Promise.resolve()};t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null});var o=function(){if(t.activeTransactions.has(e.paymentReference))return t.checkPaymentUpdateStatus(e),function(){if(e.isComplete)return t.activeTransactions.delete(e.paymentReference),function(){if(!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.stopPaymentStatusChecking(e.paymentReference)).then(function(e){return i=1,e})}();t.addPaymentStatusCheckInterval(e.paymentReference,5e3)}()}();return Promise.resolve(o&&o.then?o.then(n):n(o))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(n,o){try{var s=function(){function n(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var o=function(){if(t.hubConnection.state!==v.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return o&&o.then?o.then(n):n(o)}()}catch(e){return o(e)}return s&&s.then?s.then(void 0,o):s}(0,function(i){return e?(t.removePaymentStatusCheckInterval(e),console.error("Could not connect via SignalR, falling back to polling end-point..."),t.addPaymentStatusCheckInterval(e,1500),Promise.resolve()):Promise.reject(i)}))}catch(e){return Promise.reject(e)}}()).then(function(){var i;function n(e){return i?e:Promise.resolve(null)}var o=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var n=Promise.resolve(e);return i=1,n});t.manuallyStartedPaymentStatusChecking=!0}();return o&&o.then?o.then(n):n(o)})}catch(e){return Promise.reject(e)}},n.getOfflinePaymentFormUrl=function(e,t,i,n,o){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(n||"")+"|"+s},n.getRequiredPinLength=function(t){return t===e.MobileWalletOperator.VDF||"VDF"===t.toString()||t===e.MobileWalletOperator.TCG||"TCG"===t.toString()?6:4},n.luhnCheck=function(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;for(var t=[0,2,4,6,8,1,3,5,7,9],i=e.length,n=1,o=0,s=0;i;)s=parseInt(e.charAt(--i),10),o+=(n^=1)?t[s]:s;return o%10==0},n.checkPaymentUpdateStatus=function(t){var i=this,n=this.activeTransactions.get(t.paymentReference);n&&JSON.stringify(t)!==n.lastJsonResponse?(n.lastJsonResponse=JSON.stringify(t),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(t,{depth:null})),this.events.publish(b,t),function(t){var n=!1,o=function(o){if(!n){var s={message:o.message,transactionReference:o.reference,paymentStatusResponse:t};if(o.status===e.TransactionStatus.RequiresConfirmation||o.status===e.TransactionStatus.RequiresInitialConfirmation){n=!0;var r=t.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||t.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||t.paymentDestinations.merchants.find(function(e){return e.accountHolder})||t.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||t.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;s.confirmationData={amountInCents:o.amountInCents,sourceAccountHolder:o.accountHolder||null,destinationAccountHolder:null!==r?r.accountHolder:null,fees:o.fees},i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(s,{depth:null})),i.events.publish(D,s)}else o.status===e.TransactionStatus.RequiresPin?(n=!0,s.pinLength=i.getRequiredPinLength(e.MobileWalletOperator.None),o&&o.mobileWalletOperator&&(s.pinLength=i.getRequiredPinLength(o.mobileWalletOperator)),i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(s,{depth:null})),i.events.publish(N,s)):o.status===e.TransactionStatus.RequiresAddress&&(n=!0,i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),i.events.publish(B,s))}};t.paymentSources.cards.forEach(function(s){if(!n&&s.status===e.TransactionStatus.Requires3DSecure&&s.threeDSecureUrl){n=!0,i.activeTransactions.get(t.paymentReference).isProcessing3dSecure=!0;var r={url:s.threeDSecureUrl};i.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(r,{depth:null})),i.events.publish(H,r)}else o(s)}),!n&&i.activeTransactions.get(t.paymentReference).isProcessing3dSecure&&(i.activeTransactions.get(t.paymentReference).isProcessing3dSecure=!1,i.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),i.events.publish(E)),t.paymentSources.mobileWallets.forEach(function(e){return o(e)}),t.paymentSources.bankAccounts.forEach(function(e){return o(e)}),t.paymentDestinations.bankAccounts.forEach(function(e){return o(e)}),t.paymentDestinations.merchants.forEach(function(e){return o(e)}),t.paymentDestinations.mobileWallets.forEach(function(e){return o(e)}),t.paymentDestinations.qrCodes.forEach(function(e){return o(e)}),t.paymentDestinations.cards.forEach(function(e){return o(e)}),t.paymentDestinations.wallets.forEach(function(e){return o(e)}),t.paymentDestinations.bills.forEach(function(e){return o(e)})}(t),t.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(t,{depth:null})),this.events.publish(M,t),this.removePaymentStatusCheckInterval(t.paymentReference),this.activeTransactions.delete(t.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},n.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var n=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var n=function(){if(t){i.checkPaymentUpdateStatus(t);var n=function(){if(t.isComplete){var n=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(n&&n.then)return n.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(n&&n.then)return n.then(function(){})}}();if(n&&n.then)return n.then(function(){})})}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var n=this.activeTransactions.get(e);clearInterval(n.statusCheckTimer),n.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},n.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},i}(k),Te="/v1/consumer",Ie="/v1/consumer/messages",be="/v1/consumer/account",Me=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}C(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Te,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Te,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Te,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(R),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Te,"GET"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(be+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(be+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(Ie,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(k),He=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).qrCache=new Map,t}C(t,e);var i=t.prototype;return i.decode=function(e){try{var t=function(){return Promise.resolve(i.qrCache.get(e)||null)},i=this,n=function(){if(!i.qrCache.has(e)){var t=i.qrCache,n=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(m.default.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(k),Ne="/v1/merchant",De="/v1/merchant/otp",Be="/v1/merchant/pos",Ee="/v1/merchant/product",Le="/v1/merchant/user",Oe=/*#__PURE__*/function(t){function i(){for(var e,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).productDetailCache=new Map,e.productsCache=[],e}C(i,t);var n=i.prototype;return n.createMerchantProductProxy=function(e){var t=f({},e);return new Proxy(t,{get:function(e,t){return"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t]},set:function(e,t,i){return e[t]=i,!0}})},n.getAllProducts=function(){try{var e=function(){return Promise.resolve(t.productsCache)},t=this,i=function(){if(0===t.productsCache.length)return Promise.resolve(t.request(Ee+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},n.getActiveProductTypes=function(){try{return Promise.resolve(this.getAllProducts()).then(function(e){return Promise.resolve(e.map(function(e){return e.type}).sort())})}catch(e){return Promise.reject(e)}},n.getMerchantNamesFromProductType=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=t.find(function(t){return t.type===e});return Promise.resolve(i?i.merchants.map(function(e){return e.name}).filter(function(e,t,i){return i.indexOf(e)===t}).sort():[])})}catch(e){return Promise.reject(e)}},n.getProductTypesForMerchant=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=[];return t.forEach(function(t){t.merchants.find(function(t){return t.name===e})&&i.push(t.type)}),Promise.resolve(i.filter(function(e,t,i){return i.indexOf(e)===t}).sort())})}catch(e){return Promise.reject(e)}},n.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var n=i.find(function(t){return t.type===e});if(n){var o=n.merchants.find(function(e){return e.name===t});if(o)return Promise.resolve(o.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},n.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,n=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,n=t.set;return Promise.resolve(i.request(Ee+"/details/"+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},n.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+Ee,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},n.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Ee,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},n.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Ee,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},n.deleteProduct=function(e){try{return Promise.resolve(this.request(Ee+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},n.getMerchant=function(){try{return Promise.resolve(this.request(Ne,"GET"))}catch(e){return Promise.reject(e)}},n.createMerchant=function(e){try{return Promise.resolve(this.request(Ne,"POST",e))}catch(e){return Promise.reject(e)}},n.updateMerchant=function(e){try{return Promise.resolve(this.request(Ne,"PUT",e))}catch(e){return Promise.reject(e)}},n.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement","GET"))}catch(e){return Promise.reject(e)}},n.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},n.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},n.validateOtp=function(e,t){try{var i={otpValue:e},n="";return t&&(n=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/validate/"+n,"POST",i)).then(function(e){return P.accessToken=e.accessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.validateMerchantName=function(e){try{return Promise.resolve(this.request(Ne+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(P.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},n.createUser=function(e,t,i,n){try{return Promise.resolve(this.request(Le,"POST",{username:e,password:t,mobileNumber:i,emailAddress:n,isLockedOut:!1})).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.switchToMerchant=function(e){try{return Promise.resolve(this.request(Le+"/switch/"+e,"POST")).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getUserMerchants=function(){try{return Promise.resolve(this.request(Le,"GET"))}catch(e){return Promise.reject(e)}},n.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Be+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return P.accessToken=e.checkAccessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(Be+"/config/"+e+"/"+t,"GET")).then(function(e){return P.accessToken=e.accessToken||P.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},n.getTerminalPaymentQrCodes=function(t,i){try{var n=i.toString();return Number.isInteger(i)&&(n=e.Currency[i]),Promise.resolve(this.request(Be+"/qr?amount="+t+"¤cy="+n,"GET"))}catch(e){return Promise.reject(e)}},n.getTerminalPaymentQrCodeUrls=function(t,i){try{var n=i.toString();return Number.isInteger(i)&&(n=e.Currency[i]),Promise.resolve(this.request(Be+"/qr-urls?amount="+t+"¤cy="+n,"GET"))}catch(e){return Promise.reject(e)}},n.uploadFile=function(e){try{return Promise.resolve(this.request(Ne+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},i}(k),ke=/\{@?\w+}/g,Ge=/*#__PURE__*/function(){function e(e){if(this.raw=void 0,this.tokens=void 0,null===e||!e.length)throw new Error('Argument "messageTemplate" is required.');this.raw=e,this.tokens=this.tokenize(e)}var t=e.prototype;return t.render=function(e){if(!this.tokens.length)return this.raw;e=e||{};for(var t=[],i=0;i<this.tokens.length;++i){var n=this.tokens[i];"string"==typeof n.name?e.hasOwnProperty(n.name)?t.push(this.toText(e[n.name])):t.push(n.raw):t.push(n.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,n=0;n<this.tokens.length&&i<e.length;++n){var o=this.tokens[n];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){var s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t},t.tokenize=function(e){for(var t,i,n=[];null!==(t=ke.exec(e));){t.index!==i&&n.push({text:e.slice(i,t.index)});var o=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),o=!0),n.push({name:s,destructure:o,raw:t[0]}),i=ke.lastIndex}return i>=0&&i<e.length&&n.push({text:e.slice(i)}),n},t.toText=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e;if("number"==typeof e)return e.toString();if("boolean"==typeof e)return e.toString();if("function"==typeof e.toISOString)return e.toISOString();if("object"==typeof e){var t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()},t.capture=function(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e},e}();e.LogLevel=void 0,(Ce=e.LogLevel||(e.LogLevel={}))[Ce.Trace=0]="Trace",Ce[Ce.Debug=1]="Debug",Ce[Ce.Information=2]="Information",Ce[Ce.Warning=3]="Warning",Ce[Ce.Error=4]="Error",Ce[Ce.Critical=5]="Critical";var we,Fe,Ue,We,qe,Ve,Ke,xe,je,Ze,Ye,Qe,Je,ze,Xe=/*#__PURE__*/function(t){function i(e,i,n,o){var s;return void 0===i&&(i=!1),void 0===n&&(n=100),void 0===o&&(o=6e4),(s=t.call(this,e,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=n,s.batchInterval=o,s.maxQueueSize=Math.min(10*n,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}C(i,t);var n=i.prototype;return n.flush=function(){return this.submitMessageBatch(!1)},n.fatal=function(t){return this.log(e.LogLevel.Critical,t,[].slice.call(arguments,1))},n.error=function(t){return this.log(e.LogLevel.Error,t,[].slice.call(arguments,1))},n.warn=function(t){return this.log(e.LogLevel.Warning,t,[].slice.call(arguments,1))},n.info=function(t){return this.log(e.LogLevel.Information,t,[].slice.call(arguments,1))},n.debug=function(t){return this.log(e.LogLevel.Debug,t,[].slice.call(arguments,1))},n.trace=function(t){return this.log(e.LogLevel.Trace,t,[].slice.call(arguments,1))},n.log=function(t,i,n){var o={timestamp:(new Date).toJSON(),level:t,template:i,properties:n},s=new Ge(o.template),r=s.render(s.bindProperties(o.properties));if(this.consoleLogging)switch(t){case e.LogLevel.Critical:case e.LogLevel.Error:console.error(r);break;case e.LogLevel.Warning:console.warn(r);break;case e.LogLevel.Information:console.info(r);break;case e.LogLevel.Debug:case e.LogLevel.Trace:console.debug(r);break;default:console.log(r)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(o),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+e.LogLevel[t].toUpperCase()+"] "+r},n.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var n=this.messageBatch.splice(0,this.batchSize);n.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",n.length),i=this.request("/v1/logging","POST",n).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,n),t.messageBatch.length>t.maxQueueSize&&t.messageBatch.splice(0,t.messageBatch.length-t.maxQueueSize),t.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",t.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(function(){return t.submitMessageBatch(!0)},this.batchInterval)),i},i}(k),_e=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return C(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(k),$e="/v1/content",et=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}C(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request($e,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request($e+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(k),tt="/v1/reports/sales",it=/*#__PURE__*/function(t){function i(){return t.apply(this,arguments)||this}C(i,t);var n=i.prototype;return n.getRecentSales=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(tt+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},n.getDailySales=function(t,i,n){try{var o=t.toString();return Number.isInteger(t)&&(o=e.Currency[t]),Promise.resolve(this.request(tt+"/daily?currency="+o+"&dateFrom="+i+"&dateTo="+n,"GET"))}catch(e){return Promise.reject(e)}},n.getSalesSummary=function(t){try{var i=t.toString();return Number.isInteger(t)&&(i=e.Currency[t]),Promise.resolve(this.request(tt+"/summary?currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i}(k);e.AddressType=void 0,(we=e.AddressType||(e.AddressType={})).MAIN="MAIN",we.POST="POST",we.BILL="BILL",we.SHIP="SHIP",e.BankAccountType=void 0,(Fe=e.BankAccountType||(e.BankAccountType={})).SAVINGS="SAVINGS",Fe.CURRENT="CURRENT",Fe.FIXED="FIXED",Fe.MONEYMARKET="MONEYMARKET",Fe.CODA="CODA",e.BeneficiaryAccountType=void 0,(Ue=e.BeneficiaryAccountType||(e.BeneficiaryAccountType={})).None="None",Ue.MobileNumber="MobileNumber",Ue.WaterMeter="WaterMeter",Ue.ElectricityMeter="ElectricityMeter",Ue.PayShap="PayShap",e.ConsumerAttribute=void 0,(We=e.ConsumerAttribute||(e.ConsumerAttribute={}))[We.VisaPAN=1]="VisaPAN",We[We.MasterCardPAN=2]="MasterCardPAN",We[We.RegistrationInvitationCode=3]="RegistrationInvitationCode",We[We.GMoneyWalletNumber=4]="GMoneyWalletNumber",We[We.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",We[We.MarketingConsent=6]="MarketingConsent",We[We.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",We[We.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",e.KycStatusSummary=void 0,(qe=e.KycStatusSummary||(e.KycStatusSummary={})).Unverified="Unverified",qe.Verified="Verified",qe.Rejected="Rejected",e.DevicePlatform=void 0,(Ve=e.DevicePlatform||(e.DevicePlatform={})).Unknown="Unknown",Ve.Android="Android",Ve.iOS="iOS",Ve.Web="Web",e.EmployeeNotificationEvent=void 0,(Ke=e.EmployeeNotificationEvent||(e.EmployeeNotificationEvent={}))[Ke.PaymentSuccessful=1]="PaymentSuccessful",Ke[Ke.PaymentFailed=2]="PaymentFailed",e.FuelPurchaseMethod=void 0,(xe=e.FuelPurchaseMethod||(e.FuelPurchaseMethod={})).ByAmount="ByAmount",xe.ByQuantity="ByQuantity",xe.ByAmountAndQuantity="ByAmountAndQuantity",e.Industry=void 0,(je=e.Industry||(e.Industry={})).None="None",je.Retail="Retail",je.Restaurant="Restaurant",je.Forecourt="Forecourt",je.Workshop="Workshop",e.KybStatusSummary=void 0,(Ze=e.KybStatusSummary||(e.KybStatusSummary={})).Unverified="Unverified",Ze.Verified="Verified",Ze.PartiallyVerified="PartiallyVerified",Ze.Rejected="Rejected",e.MerchantAttribute=void 0,(Ye=e.MerchantAttribute||(e.MerchantAttribute={}))[Ye.GhIPSSMerchantId=2]="GhIPSSMerchantId",Ye[Ye.VisaPAN=3]="VisaPAN",Ye[Ye.MasterCardPAN=4]="MasterCardPAN",Ye[Ye.NIBSSMerchantReference=6]="NIBSSMerchantReference",e.MerchantNotificationEvent=void 0,(Qe=e.MerchantNotificationEvent||(e.MerchantNotificationEvent={}))[Qe.PaymentSuccessful=1]="PaymentSuccessful",Qe[Qe.PaymentFailed=2]="PaymentFailed",Qe[Qe.SettlementConfirmation=3]="SettlementConfirmation",e.SettlementTime=void 0,(Je=e.SettlementTime||(e.SettlementTime={})).None="None",Je.IntraDay="IntraDay",Je.EndOfDay="EndOfDay",Je.TPlusOne="TPlusOne",Je.TPlusTwo="TPlusTwo",Je.TPlusThree="TPlusThree",Je.TPlusSeven="TPlusSeven",e.TerminalType=void 0,(ze=e.TerminalType||(e.TerminalType={})).None="None",ze.GHIPPS="GHIPPS",ze.NIBSS="NIBSS",ze.PAX="PAX",ze.Verifone="Verifone";var nt="-".repeat(120),ot=/*#__PURE__*/function(){function e(e){var t=this,i=this;this.baseUrl=void 0,this.consoleLogging=void 0,this.logBatchSize=void 0,this.logBatchInterval=void 0,this.axiosInstance=void 0,this.abortController=void 0,this.events=h.default,this.system=void 0,this.content=void 0,this.log=void 0,this.auth=void 0,this.consumers=void 0,this.merchants=void 0,this.lookups=void 0,this.payments=void 0,this.qrCodes=void 0,this.reports=void 0,this.baseUrl=(e.baseUrl||"http://localhost:5000").replace(/\/+$/,""),this.abortController=new AbortController,this.axiosInstance=d.default.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:f({},e.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":e.language||"en"})}),u.default(this.axiosInstance,function(e){try{var t,n=function(i){return t?i:Promise.reject(e)},o="/v1/auth/refresh";if(e.request.path===o)return Promise.reject(e);var s=function(){if(P.refreshToken)return function(n,s){try{var r=function(){var n={method:"POST",url:o,headers:{Authorization:"Bearer "+P.refreshToken},skipAuthRefresh:!0};return i.consoleLogging&&(console.debug("\r\n"+nt),console.debug("-- AUTO REFRESH --"),console.debug(nt),console.debug(n.method+": "+i.baseUrl+n.url),console.debug(nt),n.headers&&(console.debug("-- HEADERS --"),console.dir(n.headers)),n.data&&(console.debug("-- REQUEST --"),console.dir(n.data,{depth:null}))),Promise.resolve(i.axiosInstance(n)).then(function(n){if(i.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(n.data,{depth:null}),console.debug(nt)),n.data&&n.data.success){P.accessToken=n.data.result.accessToken,P.refreshToken=n.data.result.refreshToken,i.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(n.data.result,{depth:null})),i.events.publish(T,n.data.result),e&&(e.response.config.headers.Authorization="Bearer "+P.accessToken);var o=Promise.resolve(e);return t=1,o}i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R)})}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(e){throw i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R),e});P.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R))}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}}),l.default(this.axiosInstance,{retries:e.retries||3,retryDelay:l.default.exponentialDelay,onRetry:function(e,i,n){t.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",i);var o={retryCount:e};t.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(o,{depth:null})),t.events.publish(I,o)}}),this.consoleLogging=e.consoleLogging||!1,this.logBatchSize=e.logBatchSize||100,this.logBatchInterval=e.logBatchInterval||6e4,this.system=new _e(this.axiosInstance,this.consoleLogging),this.content=new et(this.axiosInstance,this.consoleLogging),this.log=new Xe(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new se(this.axiosInstance,this.consoleLogging),this.consumers=new Me(this.axiosInstance,this.consoleLogging),this.merchants=new Oe(this.axiosInstance,this.consoleLogging),this.lookups=new ve(this.axiosInstance,this.consoleLogging),this.payments=new Re(this.axiosInstance,this.consoleLogging),this.qrCodes=new He(this.axiosInstance,this.consoleLogging),this.reports=new it(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return e.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},e}();e.AccountHolderTransactionResult=function(){this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.AdditionalTerminalReference=function(){this.terminalType=void 0,this.reference=void 0},e.Address=function(){this.reference=void 0,this.addressType=void 0,this.addressLine1=void 0,this.addressLine2=void 0,this.addressLine3=void 0,this.postalCode=void 0,this.countryIsoCode=void 0,this.city=void 0,this.state=void 0,this.location=void 0,this.description=void 0,this.formatted=void 0,this.isActive=void 0},e.AmountTotals=function(){this.totalAmountRequestedInCents=void 0,this.totalAmountAttemptedInCents=void 0,this.totalAmountProcessedInCents=void 0,this.totalAmountProcessedLessFeesAndCommissionsInCents=void 0,this.totalInternalFeesInCents=void 0,this.totalExternalFeesInCents=void 0,this.totalFeesInCents=void 0,this.totalElevyInCents=void 0,this.totalUserFeesInCents=void 0,this.totalCommissionsInCents=void 0,this.totalRefundsInCents=void 0,this.totalCashbackAmountAttemptedInCents=void 0,this.totalCashbackAmountProcessedInCents=void 0,this.totalTipAmountAttemptedInCents=void 0,this.totalTipAmountProcessedInCents=void 0,this.grandTotalProcessedInCents=void 0,this.grandTotalToBePaidByUserInCents=void 0},e.ApiError=L,e.ApiTokens=P,e.ApplePaySource=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.ApplePayWebPaymentResponse=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},e.Balance=function(){this.currency=void 0,this.amountInCents=void 0},e.BankAccountDestination=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BankAccountDestinationResult=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.BankAccountRequest=function(){this.accountNumber=void 0,this.bank=void 0},e.BankAccountResponse=function(){this.token=void 0},e.BankAccountSource=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BankAccountSourceResult=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.BankData=function(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.routingCode=void 0,this.bankName=void 0,this.country=void 0},e.BasicConsumer=function(){this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},e.BasicEmployee=function(){this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},e.BasicMerchant=function(){this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},e.Beneficiary=function(){this.reference=void 0,this.name=void 0,this.contactNumber=void 0,this.lastTransactionDate=void 0,this.lastTransactionAmountInCents=void 0,this.lastTransactionCurrency=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.accounts=void 0,this.isActive=void 0},e.BeneficiaryAccount=function(){this.accountNumber=void 0,this.beneficiaryAccountType=void 0,this.beneficiaryAccountTypeName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryBankAccount=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.routingCode=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryCard=function(){this.token=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.cardIssuer=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BeneficiaryMobileWallet=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},e.BillDestination=function(){this.productReference=void 0,this.productFields=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.BillDestinationResult=function(){this.productName=void 0,this.productReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.Business=function(){this.reference=void 0,this.parentBusinessReference=void 0,this.createdDate=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.phoneNumber=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.isActive=void 0},e.CardDestination=function(){this.token=void 0,this.cardNumber=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CardDestinationResult=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CardHolder=function(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0},e.CardRequest=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},e.CardResponse=function(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0},e.CardSettings=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},e.CardSource=function(){this.token=void 0,this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.cvv=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.disableThreeDSecure=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CardSourceResult=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CardVerificationPaymentRequest=function(){this.yourReference=void 0,this.consumer=void 0,this.token=void 0,this.cvv=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.location=void 0,this.paymentStatusWebhook=void 0},e.CashDestination=function(){this.doNotProcess=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CashDestinationResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CashSource=function(){this.doNotProcess=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.CashSourceResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.CategoryDetails=function(){this.type=void 0,this.merchants=void 0},e.ChangePasswordRequest=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},e.Consumer=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.preferredName=void 0,this.fullNameOfNextOfKin=void 0,this.contactNumberForNextOfKin=void 0,this.alternateContactNumber=void 0,this.invitationCode=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.identityDocuments=void 0,this.kycLookupResults=void 0,this.files=void 0,this.devices=void 0,this.addresses=void 0,this.beneficiaries=void 0,this.accounts=void 0,this.attributes=void 0,this.rewardPointsInfo=void 0,this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},e.ConsumerAccounts=function(){this.bankAccounts=void 0,this.mobileWallets=void 0,this.loanAccounts=void 0,this.insurancePolicies=void 0,this.cards=void 0},e.ConsumerAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},e.ConsumerBankAccount=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.branchName=void 0,this.routingCode=void 0,this.linkedCardReferences=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerCard=function(){this.cardHolder=void 0,this.token=void 0,this.cardIssuer=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.linkedBankAccountReferences=void 0,this.settings=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerFile=function(){this.fileType=void 0,this.kycResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.ConsumerInsurancePolicy=function(){this.policyNumber=void 0,this.coverAmountInCents=void 0,this.premiumAmountInCents=void 0,this.description=void 0,this.beneficiaryName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerLoanAccount=function(){this.contractNumber=void 0,this.originalCapitalInCents=void 0,this.settlementAmountInCents=void 0,this.outstandingBalanceInCents=void 0,this.installmentAmountInCents=void 0,this.arrearsAmountInCents=void 0,this.installmentsRemaining=void 0,this.annualInterestRatePercentage=void 0,this.nextInstallmentDate=void 0,this.startDate=void 0,this.endDate=void 0,this.isInArrears=void 0,this.isFullyPaid=void 0,this.repaymentPercentage=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ConsumerMobileWallet=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},e.ContactDetails=function(){this.details=void 0},e.CountryData=function(){this.isAvailable=void 0,this.country=void 0,this.countryName=void 0,this.longIsoCode=void 0,this.shortIsoCode=void 0,this.numericIsoCode=void 0,this.dialingCode=void 0},e.CurrencyData=function(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0},e.Device=function(){this.createdDate=void 0,this.lastUsedDate=void 0,this.reference=void 0,this.yourReference=void 0,this.platform=void 0,this.deviceType=void 0,this.brand=void 0,this.model=void 0,this.serialNumber=void 0,this.operatingSystemVersion=void 0,this.softwareVersion=void 0,this.pushNotificationToken=void 0},e.EmailNotificationRequest=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},e.Employee=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.userReference=void 0,this.isOwner=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.countryIsoCode=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.profileImage=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.notificationSettings=void 0,this.addresses=void 0,this.identityDocuments=void 0,this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},e.EmployeeNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},e.FaceCheckResult=function(){this.faceCount=void 0,this.containsNoise=void 0,this.isLowQuality=void 0,this.isOverExposed=void 0,this.isUnderExposed=void 0,this.isBlurry=void 0,this.isWearingMask=void 0,this.foreheadNotIncluded=void 0,this.eyesNotIncluded=void 0,this.mouthNotIncluded=void 0,this.faceLeft=void 0,this.faceTop=void 0,this.faceWidth=void 0,this.faceHeight=void 0,this.problems=void 0},e.Feedback=function(){this.description=void 0},e.ForgotPasswordRequest=function(){this.username=void 0},e.GenericDestination=function(){this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GenericSource=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GooglePaySource=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.GooglePayWebPaymentResponse=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},e.HostedPaymentOptions=function(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0},e.IdAndDescription=function(){this.id=void 0,this.description=void 0},e.IdentityDocument=function(){this.reference=void 0,this.identityDocumentType=void 0,this.countryIsoCode=void 0,this.identityNumber=void 0,this.placeOfIssuance=void 0,this.effectiveDate=void 0,this.expiryDate=void 0},e.KybFileResult=function(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.KycFileResult=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.KycLookupResult=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.LanguageData=function(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=void 0},e.LineItem=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.quantity=void 0,this.currency=void 0,this.unitAmountInCents=void 0,this.totalAmountInCents=void 0},e.LivenessRequest=function(){this.base64Images=void 0},e.Location=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},e.LoginCredentials=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},e.LoginErrorResponse=function(){this.invalidUsernameOrPassword=void 0,this.mustChangePassword=void 0,this.mustValidatePhoneNumber=void 0,this.mustValidateEmailAddress=void 0,this.deactivated=void 0,this.registrationRequired=void 0,this.lockedOut=void 0,this.changePasswordAccessToken=void 0,this.validatePhoneNumberAccessToken=void 0,this.resendEmailVerificationToken=void 0},e.LoginRequest=function(){this.username=void 0,this.password=void 0},e.Merchant=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.tradingName=void 0,this.franchiseName=void 0,this.capturedBy=void 0,this.capturedFrom=void 0,this.industry=void 0,this.phoneNumber=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.city=void 0,this.state=void 0,this.languageIsoCode=void 0,this.webSiteUrl=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.vCard=void 0,this.logoImage=void 0,this.taxNumber=void 0,this.companyRegistrationNumber=void 0,this.companyRegistrationDate=void 0,this.adminPasscode=void 0,this.logoUrl=void 0,this.hostedPaymentUrl=void 0,this.hostedPaymentOptions=void 0,this.posOptions=void 0,this.business=void 0,this.addresses=void 0,this.employees=void 0,this.terminals=void 0,this.files=void 0,this.notificationSettings=void 0,this.attributes=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.operatingTimes=void 0,this.devices=void 0,this.qrCodes=void 0,this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},e.MerchantAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},e.MerchantBankAccount=function(){this.reference=void 0,this.createdDateUtc=void 0,this.accountNumber=void 0,this.bank=void 0,this.currency=void 0,this.accountName=void 0,this.branchName=void 0,this.routingCode=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},e.MerchantDestination=function(){this.merchantReference=void 0,this.merchantSource=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.paymentType=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MerchantDestinationResult=function(){this.merchantReference=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.MerchantDetail=function(){this.name=void 0,this.products=void 0},e.MerchantFile=function(){this.fileType=void 0,this.kybResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},e.MerchantLoginCredentials=function(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},e.MerchantMobileWallet=function(){this.reference=void 0,this.msisdn=void 0,this.mobileWalletOperator=void 0,this.currency=void 0,this.accountName=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},e.MerchantNameVerificationRequest=function(){this.merchantName=void 0},e.MerchantNameVerificationResponse=function(){this.accessToken=void 0},e.MerchantNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},e.MerchantPaymentRequest=function(){this.paymentSources=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.timestamp=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},e.MerchantPaymentResponse=function(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0},e.MerchantProduct=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.yourReference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.productType=void 0,this.currency=void 0,this.amountInCents=void 0,this.maximumAmountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.isActive=void 0,this.fields=void 0},e.MerchantProductCatalog=function(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0},e.MerchantProductField=function(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.selectionItems=void 0},e.MerchantProductFieldSelectionItem=function(){this.label=void 0,this.value=void 0},e.MerchantQrCode=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.name=void 0,this.shortUrl=void 0,this.fullUrl=void 0,this.label=void 0,this.notes=void 0,this.options=void 0,this.isActive=void 0},e.MerchantQrCodeOptions=function(){this.amountInCents=void 0,this.isAmountEditable=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.splitReference=void 0,this.isQrCode=void 0,this.currency=void 0,this.currencySymbol=void 0,this.feePercentage=void 0,this.enableCustomReference=void 0,this.enableTip=void 0,this.enableRating=void 0,this.redirectUrl=void 0,this.notificationEmailAddresses=void 0,this.notificationMobileNumbers=void 0,this.metaData=void 0,this.clientData=void 0},e.MerchantRefundRequest=function(){this.language=void 0,this.timeZone=void 0,this.description=void 0,this.transactionBatchReference=void 0,this.refundCategory=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},e.Message=function(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0},e.MobileWalletDestination=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MobileWalletDestinationResult=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.MobileWalletOperatorData=function(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0},e.MobileWalletSource=function(){this.mobileWalletOperator=void 0,this.msisdn=void 0,this.voucherCode=void 0,this.subscriberPin=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.MobileWalletSourceResult=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.NameAndReference=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},e.OnApiRetry=I,e.OnAutomaticRefresh=T,e.OnComplete3DSecure=E,e.OnPaymentComplete=M,e.OnPaymentStatusUpdate=b,e.OnRequires3DSecure=H,e.OnRequiresAddress=B,e.OnRequiresConfirmation=D,e.OnRequiresPin=N,e.OnSessionExpired=R,e.OperatingTime=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},e.OtpVerificationRequest=function(){this.otpValue=void 0},e.OtpVerificationResponse=function(){this.userAccountExists=void 0,this.accessToken=void 0},e.PaymentDestinationResults=function(){this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},e.PaymentDestinations=function(){this.generic=void 0,this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},e.PaymentReceiptResponse=function(){this.lineItems=void 0,this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},e.PaymentRecurrenceSchedule=function(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0},e.PaymentRecurrenceScheduleEntry=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},e.PaymentRequest=function(){this.paymentSources=void 0,this.paymentDestinations=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},e.PaymentResponse=function(){this.reference=void 0,this.paymentStatusUrls=void 0},e.PaymentSourceResults=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},e.PaymentSources=function(){this.generic=void 0,this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0,this.applePay=void 0,this.googlePay=void 0},e.PaymentStatusResponse=function(){this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},e.PaymentTransaction=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.PaymentTransactionResult=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.PosOptions=function(){this.isRefundsEnabled=void 0,this.isCancellationsEnabled=void 0,this.isPurchaseWithCashbackEnabled=void 0,this.isWithdrawalsEnabled=void 0,this.isBalanceCheckEnabled=void 0,this.isCurrencyConversionEnabled=void 0,this.isRcsPaymentEnabled=void 0,this.isDebiCheckEnabled=void 0,this.isPreAuthorizationEnabled=void 0,this.isManualCardEntryEnabled=void 0,this.isInvoiceNumberEnabled=void 0,this.isPasscodeAlwaysRequired=void 0,this.fuelPurchaseMethod=void 0},e.PosPermissions=function(){this.canCreateUsers=void 0,this.canProcessRefunds=void 0,this.canCloseAndAccessBatchReports=void 0,this.canEditDeviceSettings=void 0,this.canExceedMaximumSaleLimits=void 0,this.canProcessCashWithdrawals=void 0,this.canProcessCashDeposit=void 0,this.canUseBalanceEnquiry=void 0,this.canUseDebiCheck=void 0,this.canUseManualCardEntry=void 0,this.canProcessCancellations=void 0,this.canProcessDepositsAndReversals=void 0,this.canUsePreAuthorisation=void 0,this.canUseIncrementalAuthorisation=void 0,this.canOverrideAuthorisation=void 0,this.canCancelAuthorisation=void 0,this.canCompleteAuthorisation=void 0,this.canAccessReports=void 0},e.ProductDetail=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.amountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.fields=void 0},e.QrCodeDestination=function(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.QrCodeDestinationResult=function(){this.qrCode=void 0,this.merchantReference=void 0,this.billReference=void 0,this.tipAmountInCents=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.QrCodeValidationRequest=function(){this.qrCode=void 0},e.QrCodeValidationResponse=function(){this.canProcess=void 0,this.supportedQrCodes=void 0},e.RefundReceiptResponse=function(){this.yourReference=void 0,this.originalPaymentReceipt=void 0,this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RefundRequest=function(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},e.RefundResponse=function(){this.reference=void 0,this.refundStatusUrls=void 0},e.RefundStatusResponse=function(){this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RefundTransaction=function(){this.refundAmountInCents=void 0,this.description=void 0},e.RefundTransactionResult=function(){this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.RewardPointsInfo=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},e.SalesCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0},e.SalesDetailsByDayResponse=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0},e.SalesDetailsResponse=function(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.sourceCategory=void 0,this.destinationCategory=void 0,this.sourceFacility=void 0,this.destinationFacility=void 0,this.sourceTransactionTypeDescription=void 0,this.destinationTransactionTypeDescription=void 0,this.sourceAccount=void 0,this.destinationAccount=void 0,this.name=void 0,this.transactionCompletedDate=void 0,this.currency=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.commissionFeeAmountInCents=void 0,this.serviceFeeAmountInCents=void 0,this.eLevyFeeAmountInCents=void 0,this.userFeeAmountInCents=void 0,this.tipAmountInCents=void 0,this.isSuccess=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0},e.SalesMonthSummaryResponse=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalSalesInCents=void 0,this.periodTotals=void 0},e.SalesPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.categoryTotals=void 0},e.SelfieRequest=function(){this.base64Image=void 0},e.SmsNotificationRequest=function(){this.toNumber=void 0,this.receiptType=void 0},e.StatusUrls=function(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0},e.StopCardRequest=function(){this.cardReference=void 0,this.reason=void 0},e.SwitchEnvironmentInfo=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},e.Terminal=function(){this.reference=void 0,this.yourReference=void 0,this.device=void 0,this.createdDate=void 0,this.name=void 0,this.hostedPaymentUrl=void 0,this.isActive=void 0,this.isLinked=void 0,this.qrCodes=void 0,this.externalQrCodes=void 0,this.notificationTokens=void 0,this.additionalReferences=void 0},e.TerminalConfiguration=function(){this.merchant=void 0,this.industry=void 0,this.primaryAddress=void 0,this.merchantId=void 0,this.terminalId=void 0,this.posMerchantId=void 0,this.posTerminalId=void 0,this.terminalReference=void 0,this.accessToken=void 0,this.adminPasscode=void 0,this.hostedPaymentUrl=void 0,this.posOptions=void 0,this.features=void 0,this.employees=void 0},e.TerminalFeatures=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},e.TerminalNotificationToken=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},e.TerminalPaymentQrCodeUrls=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},e.TerminalPaymentQrCodes=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},e.TerminalQrCode=function(){this.qrCodeType=void 0,this.qrCode=void 0},e.TerminalSetup=function(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0},e.TokenResponse=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},e.TransactionConfirmation=function(){this.confirm=void 0},e.TransactionData=Se,e.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},e.TransactionPin=function(){this.pin=void 0},e.VantagePay=ot,e.VerifyCardRequest=function(){this.token=void 0,this.verificationCode=void 0},e.WalletDestination=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.WalletDestinationResult=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.WalletSource=function(){this.walletReference=void 0,this.walletProvider=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},e.WalletSourceResult=function(){this.walletReference=void 0,this.walletProvider=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},e.Webhook=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0}});
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|