@vantagepay/vantagepay 0.16.0 → 0.17.1

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.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.started"),T=Symbol("login.session.expired"),I=Symbol("login.session.refreshed"),b=Symbol("api.retry"),M=Symbol("payment.status"),H=Symbol("payment.complete"),N=Symbol("payment.wait.requires3dSecure"),D=Symbol("payment.wait.requiresPin"),B=Symbol("payment.wait.requiresConfirmation"),L=Symbol("payment.wait.requiresAddress"),E=Symbol("payment.complete3dSecure"),O=/*#__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)),k="-".repeat(120),G=/*#__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(k),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new O(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"+k),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(k),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(k));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 O(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 w(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var F,U,W,q,V,K,x,j,Z,Q,Y,J,z,X,_,$,ee,te,ie,ne,oe,se="/v1/auth",re=/*#__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(w(function(){return Promise.resolve(i.request(se+"/login","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(R),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(se+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(T)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{var t=this;return Promise.resolve(t.request(se+"/refresh","POST",null,e||P.refreshToken)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(R),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(se+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(se+"/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(w(function(){return Promise.resolve(i.request(se+"/password/change","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(R),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(se+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{var t=this;return Promise.resolve(t.request(se+"/otp/validate","POST",{otpValue:e})).then(function(e){return e&&(P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(R)),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(se+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(se+"/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}(G);e.Bank=void 0,(F=e.Bank||(e.Bank={})).None="None",F.ABD="ABD",F.ABL="ABL",F.ACB="ACB",F.ABS="ABS",F.ABG="ABG",F.ADB="ADB",F.ADS="ADS",F.ALM="ALM",F.ANS="ANS",F.APX="APX",F.ASL="ASL",F.BSL="BSL",F.BOA="BOA",F.BOG="BOG",F.BSP="BSP",F.BPS="BPS",F.BLM="BLM",F.BSI="BSI",F.CAL="CAL",F.CBG="CBG",F.CBN="CBN",F.DFL="DFL",F.ECO="ECO",F.EPG="EPG",F.ETZ="ETZ",F.EXP="EXP",F.FPL="FPL",F.FAB="FAB",F.FBL="FBL",F.FDL="FDL",F.FBO="FBO",F.FBN="FBN",F.FCM="FCM",F.FNB="FNB",F.GCB="GCB",F.GPB="GPB",F.GPG="GPG",F.GMY="GMY",F.GTB="GTB",F.HBN="HBN",F.HBT="HBT",F.ITC="ITC",F.JBN="JBN",F.JUN="JUN",F.KOR="KOR",F.KSB="KSB",F.MBN="MBN",F.MLU="MLU",F.MOL="MOL",F.NGL="NGL",F.NIB="NIB",F.OPI="OPI",F.NSL="NSL",F.PSW="PSW",F.PBL="PBL",F.PBN="PBN",F.RBG="RBG",F.RBL="RBL",F.SAS="SAS",F.SBN="SBN",F.SCB="SCB",F.SCH="SCH",F.SIS="SIS",F.SOG="SOG",F.STB="STB",F.TIT="TIT",F.TRB="TRB",F.UBA="UBA",F.UBN="UBN",F.UMB="UMB",F.UNB="UNB",F.UNI="UNI",F.UNL="UNL",F.USL="USL",F.WBN="WBN",F.ZEN="ZEN",F.AFB="AFB",F.NED="NED",F.STD="STD",F.CAP="CAP",F.MER="MER",F.BID="BID",F.ALB="ALB",F.HBZ="HBZ",F.SAF="SAF",F.DIS="DIS",F.RMB="RMB",F.BZZ="BZZ",F.INV="INV",F.TYB="TYB",F.HOL="HOL",e.Channel=void 0,(U=e.Channel||(e.Channel={})).Unknown="Unknown",U.Web="Web",U.USSD="USSD",U.Callback="Callback",U.Generated="Generated",U.Settlement="Settlement",U.Scheduled="Scheduled",U.MobileApplication="MobileApplication",U.SDK="SDK",U.POS="POS",U.SuperPOS="SuperPOS",e.ConsumerFileType=void 0,(W=e.ConsumerFileType||(e.ConsumerFileType={})).Unspecified="Unspecified",W.FaceImage="FaceImage",W.IdentityDocumentFront="IdentityDocumentFront",W.IdentityDocumentBack="IdentityDocumentBack",W.Liveness="Liveness",W.ProfileImage="ProfileImage",W.Signature="Signature",W.ConsumerAgreement="ConsumerAgreement",W.LoanContract="LoanContract",W.LoanSettlementQuote="LoanSettlementQuote",W.LoanPaidUpLetter="LoanPaidUpLetter",W.LoanStatement="LoanStatement",W.BankAccountLetter="BankAccountLetter",W.BankAccountStatement="BankAccountStatement",e.Country=void 0,(q=e.Country||(e.Country={})).None="None",q.AFG="AFG",q.ALB="ALB",q.DZA="DZA",q.ASM="ASM",q.AND="AND",q.AGO="AGO",q.AIA="AIA",q.ATA="ATA",q.ATG="ATG",q.ARG="ARG",q.ARM="ARM",q.ABW="ABW",q.AUS="AUS",q.AUT="AUT",q.AZE="AZE",q.BHS="BHS",q.BHR="BHR",q.BGD="BGD",q.BRB="BRB",q.BLR="BLR",q.BEL="BEL",q.BLZ="BLZ",q.BEN="BEN",q.BMU="BMU",q.BTN="BTN",q.BOL="BOL",q.BES="BES",q.BIH="BIH",q.BWA="BWA",q.BVT="BVT",q.BRA="BRA",q.IOT="IOT",q.VGB="VGB",q.BRN="BRN",q.BGR="BGR",q.BFA="BFA",q.BDI="BDI",q.KHM="KHM",q.CMR="CMR",q.CAN="CAN",q.CPV="CPV",q.CYM="CYM",q.CAF="CAF",q.TCD="TCD",q.CHL="CHL",q.CHN="CHN",q.CXR="CXR",q.CCK="CCK",q.COL="COL",q.COM="COM",q.COG="COG",q.COK="COK",q.CRI="CRI",q.CIV="CIV",q.HRV="HRV",q.CUB="CUB",q.CUW="CUW",q.CYP="CYP",q.CZE="CZE",q.COD="COD",q.DNK="DNK",q.DJI="DJI",q.DMA="DMA",q.DOM="DOM",q.ECU="ECU",q.EGY="EGY",q.SLV="SLV",q.GNQ="GNQ",q.ERI="ERI",q.EST="EST",q.ETH="ETH",q.FLK="FLK",q.FRO="FRO",q.FJI="FJI",q.FIN="FIN",q.FRA="FRA",q.FXX="FXX",q.GUF="GUF",q.PYF="PYF",q.ATF="ATF",q.GAB="GAB",q.GMB="GMB",q.GEO="GEO",q.DEU="DEU",q.GHA="GHA",q.GIB="GIB",q.GRC="GRC",q.GRL="GRL",q.GRD="GRD",q.GLP="GLP",q.GUM="GUM",q.GTM="GTM",q.GIN="GIN",q.GNB="GNB",q.GUY="GUY",q.HTI="HTI",q.HMD="HMD",q.VAT="VAT",q.HND="HND",q.HKG="HKG",q.HUN="HUN",q.ISL="ISL",q.IND="IND",q.IDN="IDN",q.IRN="IRN",q.IRQ="IRQ",q.IRL="IRL",q.IMN="IMN",q.ISR="ISR",q.ITA="ITA",q.JAM="JAM",q.JPN="JPN",q.JOR="JOR",q.KAZ="KAZ",q.KEN="KEN",q.KIR="KIR",q.KOR="KOR",q.PRK="PRK",q.KWT="KWT",q.KGZ="KGZ",q.LAO="LAO",q.LVA="LVA",q.LBN="LBN",q.LSO="LSO",q.LBR="LBR",q.LBY="LBY",q.LIE="LIE",q.LTU="LTU",q.LUX="LUX",q.MAC="MAC",q.MKD="MKD",q.MDG="MDG",q.MWI="MWI",q.MYS="MYS",q.MDV="MDV",q.MLI="MLI",q.MLT="MLT",q.MHL="MHL",q.MTQ="MTQ",q.MRT="MRT",q.MUS="MUS",q.MYT="MYT",q.MEX="MEX",q.FSM="FSM",q.MDA="MDA",q.MCO="MCO",q.MNG="MNG",q.MSR="MSR",q.MNE="MNE",q.MAR="MAR",q.MOZ="MOZ",q.MMR="MMR",q.NAM="NAM",q.NRU="NRU",q.NPL="NPL",q.NLD="NLD",q.NCL="NCL",q.NZL="NZL",q.NIC="NIC",q.NER="NER",q.NGA="NGA",q.NIU="NIU",q.NFK="NFK",q.MNP="MNP",q.NOR="NOR",q.OMN="OMN",q.PAK="PAK",q.PLW="PLW",q.PSE="PSE",q.PAN="PAN",q.PNG="PNG",q.PRY="PRY",q.PER="PER",q.PHL="PHL",q.PCN="PCN",q.POL="POL",q.PRT="PRT",q.PRI="PRI",q.QAT="QAT",q.REU="REU",q.ROU="ROU",q.RUS="RUS",q.RWA="RWA",q.WSM="WSM",q.SMR="SMR",q.STP="STP",q.SAU="SAU",q.SEN="SEN",q.SRB="SRB",q.SYC="SYC",q.SLE="SLE",q.SGP="SGP",q.SXM="SXM",q.SVK="SVK",q.SVN="SVN",q.SLB="SLB",q.SOM="SOM",q.ZAF="ZAF",q.SGS="SGS",q.SSD="SSD",q.ESP="ESP",q.LKA="LKA",q.SHN="SHN",q.KNA="KNA",q.LCA="LCA",q.MAF="MAF",q.SPM="SPM",q.VCT="VCT",q.SDN="SDN",q.SUR="SUR",q.SJM="SJM",q.SWZ="SWZ",q.SWE="SWE",q.CHE="CHE",q.SYR="SYR",q.TWN="TWN",q.TJK="TJK",q.TZA="TZA",q.THA="THA",q.TLS="TLS",q.TGO="TGO",q.TKL="TKL",q.TON="TON",q.TTO="TTO",q.TUN="TUN",q.TUR="TUR",q.TKM="TKM",q.TCA="TCA",q.TUV="TUV",q.UGA="UGA",q.UKR="UKR",q.ARE="ARE",q.GBR="GBR",q.QZZ="QZZ",q.USA="USA",q.UMI="UMI",q.VIR="VIR",q.URY="URY",q.UZB="UZB",q.VUT="VUT",q.VEN="VEN",q.VNM="VNM",q.WLF="WLF",q.ESH="ESH",q.YEM="YEM",q.ZMB="ZMB",q.ZWE="ZWE",e.Currency=void 0,(V=e.Currency||(e.Currency={})).None="None",V.AFN="AFN",V.ALL="ALL",V.ANG="ANG",V.ARS="ARS",V.AUD="AUD",V.AWG="AWG",V.AZN="AZN",V.BAM="BAM",V.BBD="BBD",V.BGN="BGN",V.BMD="BMD",V.BND="BND",V.BOB="BOB",V.BRL="BRL",V.BSD="BSD",V.BWP="BWP",V.BYN="BYN",V.BZD="BZD",V.CAD="CAD",V.CHF="CHF",V.CLP="CLP",V.CNY="CNY",V.COP="COP",V.CRC="CRC",V.CUP="CUP",V.CZK="CZK",V.DKK="DKK",V.DOP="DOP",V.EGP="EGP",V.EUR="EUR",V.FJD="FJD",V.FKP="FKP",V.GBP="GBP",V.GHS="GHS",V.GIP="GIP",V.GTQ="GTQ",V.GYD="GYD",V.HKD="HKD",V.HNL="HNL",V.HRK="HRK",V.HUF="HUF",V.IDR="IDR",V.ILS="ILS",V.INR="INR",V.IRR="IRR",V.ISK="ISK",V.JMD="JMD",V.JPY="JPY",V.KGS="KGS",V.KHR="KHR",V.KPW="KPW",V.KRW="KRW",V.KYD="KYD",V.KZT="KZT",V.LAK="LAK",V.LBP="LBP",V.LKR="LKR",V.LRD="LRD",V.MKD="MKD",V.MNT="MNT",V.MUR="MUR",V.MXN="MXN",V.MYR="MYR",V.MZN="MZN",V.NAD="NAD",V.NGN="NGN",V.NIO="NIO",V.NOK="NOK",V.NPR="NPR",V.NZD="NZD",V.OMR="OMR",V.PAB="PAB",V.PEN="PEN",V.PHP="PHP",V.PKR="PKR",V.PLN="PLN",V.PYG="PYG",V.QAR="QAR",V.RON="RON",V.RSD="RSD",V.RUB="RUB",V.SAR="SAR",V.SBD="SBD",V.SCR="SCR",V.SEK="SEK",V.SGD="SGD",V.SHP="SHP",V.SOS="SOS",V.SRD="SRD",V.SVC="SVC",V.SYP="SYP",V.THB="THB",V.TRY="TRY",V.TTD="TTD",V.TWD="TWD",V.UAH="UAH",V.USD="USD",V.UYU="UYU",V.UZS="UZS",V.VES="VES",V.VND="VND",V.XCD="XCD",V.YER="YER",V.ZAR="ZAR",V.ZWD="ZWD",e.DayOfWeek=void 0,(K=e.DayOfWeek||(e.DayOfWeek={})).Sunday="Sunday",K.Monday="Monday",K.Tuesday="Tuesday",K.Wednesday="Wednesday",K.Thursday="Thursday",K.Friday="Friday",K.Saturday="Saturday",e.FaceMovementDetectionLevel=void 0,(x=e.FaceMovementDetectionLevel||(e.FaceMovementDetectionLevel={})).None="None",x.OneRangeOfMotion="OneRangeOfMotion",x.MultipleRangesOfMotion="MultipleRangesOfMotion",x.AllRangesOfMotion="AllRangesOfMotion",e.Gender=void 0,(j=e.Gender||(e.Gender={})).Male="Male",j.Female="Female",e.IdentityDocumentType=void 0,(Z=e.IdentityDocumentType||(e.IdentityDocumentType={})).None="None",Z.National="National",Z.Passport="Passport",Z.Drivers="Drivers",Z.Other="Other",Z.GhanaCard="GhanaCard",Z.SocialSecurity="SocialSecurity",Z.Voter="Voter",Z.IdCard="IdCard",e.KybProvider=void 0,(Q=e.KybProvider||(e.KybProvider={})).None="None",Q.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,(J=e.KycProvider||(e.KycProvider={})).None="None",J.SmileIdentity="SmileIdentity",J.GMoney="GMoney",J.NIA="NIA",J.Manual="Manual",e.KycStatus=void 0,(z=e.KycStatus||(e.KycStatus={})).None="None",z.Unverified="Unverified",z.Verified="Verified",z.Rejected="Rejected",z.Review="Review",e.KycVerificationType=void 0,(X=e.KycVerificationType||(e.KycVerificationType={})).Identity="Identity",X.Liveness="Liveness",X.Facial="Facial",X.Other="Other",e.Language=void 0,(_=e.Language||(e.Language={})).None="None",_.AAR="AAR",_.AFR="AFR",_.AGQ="AGQ",_.AKA="AKA",_.AMH="AMH",_.ARA="ARA",_.ARN="ARN",_.ASM="ASM",_.ASA="ASA",_.AST="AST",_.AZE="AZE",_.BAK="BAK",_.BAS="BAS",_.BEL="BEL",_.BEM="BEM",_.BEZ="BEZ",_.BUL="BUL",_.BIN="BIN",_.BAM="BAM",_.BEN="BEN",_.BOD="BOD",_.BRE="BRE",_.BRX="BRX",_.BOS="BOS",_.BYN="BYN",_.CAT="CAT",_.CHE="CHE",_.CGG="CGG",_.CHR="CHR",_.COS="COS",_.CES="CES",_.CHU="CHU",_.CYM="CYM",_.DAN="DAN",_.DAV="DAV",_.DEU="DEU",_.DJE="DJE",_.DSB="DSB",_.DUA="DUA",_.DIV="DIV",_.DYO="DYO",_.DZO="DZO",_.EBU="EBU",_.EWE="EWE",_.ELL="ELL",_.ENG="ENG",_.EPO="EPO",_.SPA="SPA",_.EST="EST",_.EUS="EUS",_.EWO="EWO",_.FAS="FAS",_.FUL="FUL",_.FIN="FIN",_.FIL="FIL",_.FAO="FAO",_.FRA="FRA",_.FUR="FUR",_.FRY="FRY",_.GLE="GLE",_.GLA="GLA",_.GLG="GLG",_.GRN="GRN",_.GSW="GSW",_.GUJ="GUJ",_.GUZ="GUZ",_.GLV="GLV",_.HAU="HAU",_.HAW="HAW",_.HEB="HEB",_.HIN="HIN",_.HRV="HRV",_.HSB="HSB",_.HUN="HUN",_.HYE="HYE",_.INA="INA",_.IBB="IBB",_.IND="IND",_.IBO="IBO",_.III="III",_.ISL="ISL",_.ITA="ITA",_.IKU="IKU",_.JPN="JPN",_.JGO="JGO",_.JMC="JMC",_.JAV="JAV",_.KAT="KAT",_.KAB="KAB",_.KAM="KAM",_.KDE="KDE",_.KEA="KEA",_.KHQ="KHQ",_.KIK="KIK",_.KAZ="KAZ",_.KKJ="KKJ",_.KAL="KAL",_.KLN="KLN",_.KHM="KHM",_.KAN="KAN",_.KOR="KOR",_.KOK="KOK",_.KAU="KAU",_.KAS="KAS",_.KSB="KSB",_.KSF="KSF",_.KSH="KSH",_.KUR="KUR",_.COR="COR",_.KIR="KIR",_.LAT="LAT",_.LAG="LAG",_.LTZ="LTZ",_.LUG="LUG",_.LKT="LKT",_.LIN="LIN",_.LAO="LAO",_.LRC="LRC",_.LIT="LIT",_.LUB="LUB",_.LUO="LUO",_.LUY="LUY",_.LAV="LAV",_.MAS="MAS",_.MER="MER",_.MFE="MFE",_.MLG="MLG",_.MGH="MGH",_.MGO="MGO",_.MRI="MRI",_.MKD="MKD",_.MAL="MAL",_.MON="MON",_.MNI="MNI",_.MOH="MOH",_.MAR="MAR",_.MSA="MSA",_.MLT="MLT",_.MUA="MUA",_.MYA="MYA",_.MZN="MZN",_.NAQ="NAQ",_.NDE="NDE",_.NDS="NDS",_.NEP="NEP",_.NLD="NLD",_.NMG="NMG",_.NNO="NNO",_.NNH="NNH",_.NOB="NOB",_.NQO="NQO",_.NBL="NBL",_.NSO="NSO",_.NUS="NUS",_.NYN="NYN",_.OCI="OCI",_.ORM="ORM",_.ORI="ORI",_.OSS="OSS",_.PAN="PAN",_.PAP="PAP",_.POL="POL",_.PRG="PRG",_.PRS="PRS",_.PUS="PUS",_.POR="POR",_.QUC="QUC",_.QUB="QUB",_.ROH="ROH",_.RUN="RUN",_.RON="RON",_.ROF="ROF",_.RUS="RUS",_.KIN="KIN",_.RWK="RWK",_.SAN="SAN",_.SAH="SAH",_.SAQ="SAQ",_.SBP="SBP",_.SND="SND",_.SME="SME",_.SEH="SEH",_.SES="SES",_.SAG="SAG",_.SHI="SHI",_.SIN="SIN",_.SLK="SLK",_.SLV="SLV",_.SMA="SMA",_.SMJ="SMJ",_.SMN="SMN",_.SMS="SMS",_.SNA="SNA",_.SOM="SOM",_.SQI="SQI",_.SRP="SRP",_.SSW="SSW",_.SSY="SSY",_.SOT="SOT",_.SWE="SWE",_.SWA="SWA",_.SYR="SYR",_.TAM="TAM",_.TEL="TEL",_.TEO="TEO",_.TGK="TGK",_.THA="THA",_.TIR="TIR",_.TIG="TIG",_.TUK="TUK",_.TSN="TSN",_.TON="TON",_.TUR="TUR",_.TSO="TSO",_.TAT="TAT",_.TWQ="TWQ",_.TZM="TZM",_.UIG="UIG",_.UKR="UKR",_.URD="URD",_.UZB="UZB",_.VAI="VAI",_.VEN="VEN",_.VIE="VIE",_.VOL="VOL",_.VUN="VUN",_.WAE="WAE",_.WAL="WAL",_.WOL="WOL",_.XHO="XHO",_.XOG="XOG",_.YAV="YAV",_.YID="YID",_.YOR="YOR",_.ZGH="ZGH",_.ZHO="ZHO",_.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,(ee=e.MobileWalletOperator||(e.MobileWalletOperator={})).None="None",ee.MTN="MTN",ee.VDF="VDF",ee.ATL="ATL",ee.TGO="TGO",ee.ATG="ATG",ee.GMY="GMY",ee.ZPY="ZPY",ee.GHP="GHP",ee.TCG="TCG",ee.VDC="VDC",ee.CLC="CLC",ee.TKM="TKM";e.Month=void 0,(te=e.Month||(e.Month={}))[te.JAN=1]="JAN",te[te.FEB=2]="FEB",te[te.MAR=3]="MAR",te[te.APR=4]="APR",te[te.MAY=5]="MAY",te[te.JUN=6]="JUN",te[te.JUL=7]="JUL",te[te.AUG=8]="AUG",te[te.SEP=9]="SEP",te[te.OCT=10]="OCT",te[te.NOV=11]="NOV",te[te.DEC=12]="DEC",e.ProductType=void 0,(ie=e.ProductType||(e.ProductType={})).Airtime="Airtime",ie.Internet="Internet",ie.Television="Television",ie.Utilities="Utilities",ie.Churches="Churches",ie.Education="Education",ie.Medical="Medical",ie.Transport="Transport",ie.Finance="Finance",ie.Insurance="Insurance",ie.Loans="Loans",ie.Pensions="Pensions",ie.General="General",ie.Other="Other",ie.DataBundle="DataBundle",ie.VoiceBundle="VoiceBundle",ie.Charity="Charity",ie.Rent="Rent",ie.MobileMoneyTransfer="MobileMoneyTransfer",ie.PostPaidBills="PostPaidBills",ie.SmsBundle="SmsBundle",ie.Fuel="Fuel",ie.Oil="Oil",ie.Gas="Gas",e.QrCodeType=void 0,(ne=e.QrCodeType||(e.QrCodeType={})).NONE="NONE",ne.V2QR="V2QR",ne.GHQR="GHQR",ne.NIBSSQR="NIBSSQR",e.RepeatInterval=void 0,(oe=e.RepeatInterval||(e.RepeatInterval={})).Weekly="Weekly",oe.Monthly="Monthly";var ae,ce,de,le,ue,he,ve="/v1/lookup",me=/*#__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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/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(ve+"/bank","GET")).then(function(e){o.call(i,s,e)})}var r=n.bankCache,a=r.set;return Promise.resolve(n.request(ve+"/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(ve+"/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 O(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(ve+"/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 O(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(ve+"/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}(G);e.CardIssuer=void 0,(ae=e.CardIssuer||(e.CardIssuer={})).AmericanExpress="AmericanExpress",ae.DinersClub="DinersClub",ae.Discover="Discover",ae.JCB="JCB",ae.Maestro="Maestro",ae.MasterCard="MasterCard",ae.Switch="Switch",ae.Visa="Visa",ae.Unknown="Unknown",e.FeeType=void 0,(ce=e.FeeType||(e.FeeType={}))[ce.None=0]="None",ce[ce.FeeTakenFromSourceByMerchant=1]="FeeTakenFromSourceByMerchant",ce[ce.Elevy=2]="Elevy",ce[ce.ExternalPaymentProcessorFee=3]="ExternalPaymentProcessorFee",ce[ce.ExternallyProcessedElevy=4]="ExternallyProcessedElevy",ce[ce.InternalUserTransactionFee=5]="InternalUserTransactionFee",ce[ce.ExternalUserTransactionFee=6]="ExternalUserTransactionFee",ce[ce.InternalPaymentProcessorFee=7]="InternalPaymentProcessorFee",e.MerchantPaymentType=void 0,(de=e.MerchantPaymentType||(e.MerchantPaymentType={})).Unspecified="Unspecified",de.CashOut="CashOut",de.BuyingGoods="BuyingGoods",de.BillPayment="BillPayment",de.GhIPSSQrCode="GhIPSSQrCode",e.ReceiptType=void 0,(le=e.ReceiptType||(e.ReceiptType={})).Consumer="Consumer",le.Merchant="Merchant",e.RefundType=void 0,(ue=e.RefundType||(e.RefundType={}))[ue.Manual=1]="Manual",ue[ue.Auto=2]="Auto",e.TransactionCategory=void 0,(he=e.TransactionCategory||(e.TransactionCategory={}))[he.Unknown=0]="Unknown",he[he.Generic=1]="Generic",he[he.BankAccount=2]="BankAccount",he[he.Card=3]="Card",he[he.MobileWallet=4]="MobileWallet",he[he.Cash=5]="Cash",he[he.Merchant=6]="Merchant",he[he.QrCode=7]="QrCode",he[he.DigitalWallet=8]="DigitalWallet",he[he.Wallet=8]="Wallet",he[he.BillPayment=9]="BillPayment";var Ae,fe,Se,Ce=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};Ce.none=void 0,e.TransactionIconType=void 0,(Ae=e.TransactionIconType||(e.TransactionIconType={}))[Ae.Bank=0]="Bank",Ae[Ae.MobileWallet=1]="MobileWallet",Ae[Ae.Card=2]="Card",Ae[Ae.Cash=3]="Cash",Ae[Ae.Merchant=4]="Merchant",Ae[Ae.QrCode=5]="QrCode",Ae[Ae.DigitalWallet=6]="DigitalWallet",Ae[Ae.CellC=7]="CellC",Ae[Ae.Telkom=8]="Telkom",Ae[Ae.TelkomMobile=9]="TelkomMobile",Ae[Ae.MTN=10]="MTN",Ae[Ae.Vodacom=11]="Vodacom",Ae[Ae.Vodafone=12]="Vodafone",Ae[Ae.AirtelTigo=13]="AirtelTigo",Ae[Ae.GhanaPay=14]="GhanaPay",Ae[Ae.Zeepay=15]="Zeepay",Ae[Ae.Glo=16]="Glo",Ae[Ae.Surfline=17]="Surfline",Ae[Ae.Busy4G=18]="Busy4G",Ae[Ae.DSTV=19]="DSTV",Ae[Ae.GoTV=20]="GoTV",Ae[Ae.StarTimesTV=21]="StarTimesTV",Ae[Ae.ECG=22]="ECG",Ae[Ae.GhanaWater=23]="GhanaWater",Ae[Ae.Telecel=24]="Telecel",e.TransactionStatus=void 0,(fe=e.TransactionStatus||(e.TransactionStatus={}))[fe.NotStarted=0]="NotStarted",fe[fe.Success=1]="Success",fe[fe.Failed=2]="Failed",fe[fe.Processing=3]="Processing",fe[fe.Pending=4]="Pending",fe[fe.Authorized=5]="Authorized",fe[fe.Declined=6]="Declined",fe[fe.ValidationError=7]="ValidationError",fe[fe.Requires3DSecure=8]="Requires3DSecure",fe[fe.RequiresPin=9]="RequiresPin",fe[fe.Expired=10]="Expired",fe[fe.InsufficientFunds=11]="InsufficientFunds",fe[fe.AddressVerificationFailed=12]="AddressVerificationFailed",fe[fe.Ignored=13]="Ignored",fe[fe.ExternallyFunded=14]="ExternallyFunded",fe[fe.ProcessorUnavailable=15]="ProcessorUnavailable",fe[fe.TimedOut=16]="TimedOut",fe[fe.Indeterminate=17]="Indeterminate",fe[fe.RequiresConfirmation=18]="RequiresConfirmation",fe[fe.RequiresAddress=19]="RequiresAddress",fe[fe.Delayed=20]="Delayed",fe[fe.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",fe[fe.Unrecoverable=22]="Unrecoverable",fe[fe.Reversed=23]="Reversed",e.TransactionType=void 0,(Se=e.TransactionType||(e.TransactionType={}))[Se.Source=1]="Source",Se[Se.Destination=2]="Destination";var pe,ye="/v1/pay",ge="/v2/token",Pe="/v1/transaction",Re="/v1/notification",Te=/*#__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+ye+"/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(ye,"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(ye+"/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(ye+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.paymentReceipt=function(e){try{return Promise.resolve(this.request(ye+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},n.createCardToken=function(e){try{return Promise.resolve(this.request(ge+"/card","POST",e))}catch(e){return Promise.reject(e)}},n.createBankAccountToken=function(e){try{return Promise.resolve(this.request(ge+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},n.verifyCardToken=function(e){try{return Promise.resolve(this.request(ge+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},n.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(ge+"/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(Pe+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},n.rejectPinCode=function(e){try{return Promise.resolve(this.request(Pe+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},n.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(Pe+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},n.submitAddress=function(e,t){try{return Promise.resolve(this.request(Pe+"/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(Re+"/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(Re+"/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(M,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(B,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(D,s)):o.status===e.TransactionStatus.RequiresAddress&&(n=!0,i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),i.events.publish(L,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(N,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(H,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}(G),Ie="/v1/consumer",be="/v1/consumer/messages",Me="/v1/consumer/account",He=/*#__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(Ie,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Ie,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Ie,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(T),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Ie,"GET"))}catch(e){return Promise.reject(e)}},i.getConsumerAgreement=function(){try{return Promise.resolve(this.request(Ie+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptConsumerAgreement=function(){try{return Promise.resolve(this.request(Ie+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(Me+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(Me+"/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(be,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(be+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(be+"/"+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}(G),Ne=/*#__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}(G),De="/v1/merchant",Be="/v1/merchant/otp",Le="/v1/merchant/pos",Ee="/v1/merchant/product",Oe="/v1/merchant/user",ke=/*#__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.groupProductsByName=function(e){return e.reduce(function(e,t){var i=t.name.split("|").map(function(e){return e.trim()}),n=i[0],o=i[1];return e[n]||(e[n]=[]),e[n].push(f({},t,{name:o||t.name})),e},{})},n.getMerchant=function(){try{return Promise.resolve(this.request(De,"GET"))}catch(e){return Promise.reject(e)}},n.createMerchant=function(e){try{return Promise.resolve(this.request(De,"POST",e))}catch(e){return Promise.reject(e)}},n.updateMerchant=function(e){try{return Promise.resolve(this.request(De,"PUT",e))}catch(e){return Promise.reject(e)}},n.getMerchantAgreement=function(){try{return Promise.resolve(this.request(De+"/agreement","GET"))}catch(e){return Promise.reject(e)}},n.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(De+"/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(Be+"/"+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(Be+"/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(De+"/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(Oe,"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(Oe+"/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(Oe,"GET"))}catch(e){return Promise.reject(e)}},n.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Le+"/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(Le+"/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(Le+"/qr?amount="+t+"&currency="+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(Le+"/qr-urls?amount="+t+"&currency="+n,"GET"))}catch(e){return Promise.reject(e)}},n.uploadFile=function(e){try{return Promise.resolve(this.request(De+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},i}(G),Ge=/\{@?\w+}/g,we=/*#__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=Ge.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=Ge.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,(pe=e.LogLevel||(e.LogLevel={}))[pe.Trace=0]="Trace",pe[pe.Debug=1]="Debug",pe[pe.Information=2]="Information",pe[pe.Warning=3]="Warning",pe[pe.Error=4]="Error",pe[pe.Critical=5]="Critical";var Fe,Ue,We,qe,Ve,Ke,xe,je,Ze,Qe,Ye,Je,ze,Xe,_e=/*#__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 we(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}(G),$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}(G),et="/v1/content",tt=/*#__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(et,"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(et+"/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}(G),it="/v1/reports/transactions",nt=/*#__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).dailyTransactionCache=new Map,e}C(i,t);var n=i.prototype;return n.getRecentTransactions=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(it+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},n.getTransactionSummary=function(t){try{var i=t.toString();return Number.isInteger(t)&&(i=e.Currency[t]),Promise.resolve(this.request(it+"/summary?currency="+i,"GET"))}catch(e){return Promise.reject(e)}},n.getAllTransactionDetails=function(e,t,i){try{return Promise.resolve(this.getDailyTransactions(e,t,i)).then(function(e){return e.flatMap(function(e){return e.paymentDetails}).sort(function(e,t){return new Date(t.transactionCompletedDate).getTime()-new Date(e.transactionCompletedDate).getTime()})})}catch(e){return Promise.reject(e)}},n.getDailyTransactions=function(t,i,n){try{var o=function(){var e=u(i),t=u(n);return a.filter(function(i){var n=u(i.date);return n>=e&&n<=t}).sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})},s=this,r=t.toString();if(Number.isInteger(t)&&(r=e.Currency[t]),!i||!n)return Promise.resolve(s.request(it+"/daily?currency="+r+"&dateFrom="+(i||"")+"&dateTo="+(n||""),"GET"));var a=s.dailyTransactionCache.get(r)||[],c=i,d=n,l=!0,u=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:new Date(e).toISOString().split("T")[0]},h=u(new Date);if(a.sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}),a.length>0){var v=a[a.length-1],m=a[0],A=u(i),f=u(n),S=u(m.date),C=u(v.date),p=A>=S&&f<=C,y=f>=h;p&&!y?l=!1:p&&y?(c=h,l=!0):A>=S&&f>C&&(c=C,l=!0)}var g=function(){if(l)return Promise.resolve(s.request(it+"/daily?currency="+r+"&dateFrom="+(c||"")+"&dateTo="+(d||""),"GET")).then(function(e){var t=new Map;a.forEach(function(e){return t.set(u(e.date),e)}),e.forEach(function(e){return t.set(u(e.date),e)}),a=Array.from(t.values()),s.dailyTransactionCache.set(r,a)})}();return Promise.resolve(g&&g.then?g.then(o):o())}catch(e){return Promise.reject(e)}},i}(G);e.AddressType=void 0,(Fe=e.AddressType||(e.AddressType={})).MAIN="MAIN",Fe.POST="POST",Fe.BILL="BILL",Fe.SHIP="SHIP",e.BankAccountType=void 0,(Ue=e.BankAccountType||(e.BankAccountType={})).SAVINGS="SAVINGS",Ue.CURRENT="CURRENT",Ue.FIXED="FIXED",Ue.MONEYMARKET="MONEYMARKET",Ue.CODA="CODA",e.BeneficiaryAccountType=void 0,(We=e.BeneficiaryAccountType||(e.BeneficiaryAccountType={})).None="None",We.MobileNumber="MobileNumber",We.WaterMeter="WaterMeter",We.ElectricityMeter="ElectricityMeter",We.PayShap="PayShap",e.ConsumerAttribute=void 0,(qe=e.ConsumerAttribute||(e.ConsumerAttribute={}))[qe.VisaPAN=1]="VisaPAN",qe[qe.MasterCardPAN=2]="MasterCardPAN",qe[qe.RegistrationInvitationCode=3]="RegistrationInvitationCode",qe[qe.GMoneyWalletNumber=4]="GMoneyWalletNumber",qe[qe.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",qe[qe.MarketingConsent=6]="MarketingConsent",qe[qe.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",qe[qe.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",e.KycStatusSummary=void 0,(Ve=e.KycStatusSummary||(e.KycStatusSummary={})).Unverified="Unverified",Ve.Verified="Verified",Ve.Rejected="Rejected",e.DevicePlatform=void 0,(Ke=e.DevicePlatform||(e.DevicePlatform={})).Unknown="Unknown",Ke.Android="Android",Ke.iOS="iOS",Ke.Web="Web",e.EmployeeNotificationEvent=void 0,(xe=e.EmployeeNotificationEvent||(e.EmployeeNotificationEvent={}))[xe.PaymentSuccessful=1]="PaymentSuccessful",xe[xe.PaymentFailed=2]="PaymentFailed",e.FuelPurchaseMethod=void 0,(je=e.FuelPurchaseMethod||(e.FuelPurchaseMethod={})).ByAmount="ByAmount",je.ByQuantity="ByQuantity",je.ByAmountAndQuantity="ByAmountAndQuantity",e.Industry=void 0,(Ze=e.Industry||(e.Industry={})).None="None",Ze.Retail="Retail",Ze.Restaurant="Restaurant",Ze.Forecourt="Forecourt",Ze.Workshop="Workshop",e.KybStatusSummary=void 0,(Qe=e.KybStatusSummary||(e.KybStatusSummary={})).Unverified="Unverified",Qe.Verified="Verified",Qe.PartiallyVerified="PartiallyVerified",Qe.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,(Je=e.MerchantNotificationEvent||(e.MerchantNotificationEvent={}))[Je.PaymentSuccessful=1]="PaymentSuccessful",Je[Je.PaymentFailed=2]="PaymentFailed",Je[Je.SettlementConfirmation=3]="SettlementConfirmation",e.SettlementTime=void 0,(ze=e.SettlementTime||(e.SettlementTime={})).None="None",ze.IntraDay="IntraDay",ze.EndOfDay="EndOfDay",ze.TPlusOne="TPlusOne",ze.TPlusTwo="TPlusTwo",ze.TPlusThree="TPlusThree",ze.TPlusSeven="TPlusSeven",e.TerminalType=void 0,(Xe=e.TerminalType||(e.TerminalType={})).None="None",Xe.GHIPPS="GHIPPS",Xe.NIBSS="NIBSS",Xe.PAX="PAX",Xe.Verifone="Verifone";var ot="-".repeat(120),st=/*#__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"+ot),console.debug("-- AUTO REFRESH --"),console.debug(ot),console.debug(n.method+": "+i.baseUrl+n.url),console.debug(ot),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(ot)),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(I,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(T)})}()}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(T),e});P.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(T))}();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(b,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 tt(this.axiosInstance,this.consoleLogging),this.log=new _e(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new re(this.axiosInstance,this.consoleLogging),this.consumers=new He(this.axiosInstance,this.consoleLogging),this.merchants=new ke(this.axiosInstance,this.consoleLogging),this.lookups=new me(this.axiosInstance,this.consoleLogging),this.payments=new Te(this.axiosInstance,this.consoleLogging),this.qrCodes=new Ne(this.axiosInstance,this.consoleLogging),this.reports=new nt(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}();st.OnSessionStarted=R,st.OnSessionExpired=T,st.OnAutomaticRefresh=I,st.OnApiRetry=b,st.OnPaymentStatusUpdate=M,st.OnPaymentComplete=H,st.OnRequires3DSecure=N,st.OnRequiresPin=D,st.OnRequiresConfirmation=B,st.OnRequiresAddress=L,st.OnComplete3DSecure=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=O,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.availableAmountInCents=void 0,this.currentAmountInCents=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,this.linkedFileReferences=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,this.linkedFileReferences=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,this.isActive=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,this.linkedFileReferences=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,this.linkedFileReferences=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,this.linkedFileReferences=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,this.isActive=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.validationRegex=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=b,e.OnAutomaticRefresh=I,e.OnComplete3DSecure=E,e.OnPaymentComplete=H,e.OnPaymentStatusUpdate=M,e.OnRequires3DSecure=N,e.OnRequiresAddress=L,e.OnRequiresConfirmation=B,e.OnRequiresPin=D,e.OnSessionExpired=T,e.OnSessionStarted=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.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.TransactionCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0},e.TransactionConfirmation=function(){this.confirm=void 0},e.TransactionData=Ce,e.TransactionDetailsByDayResponse=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=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.TransactionDetailsResponse=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.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},e.TransactionMonthSummaryResponse=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalAmountInCents=void 0,this.periodTotals=void 0},e.TransactionPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.categoryTotals=void 0},e.TransactionPin=function(){this.pin=void 0},e.VantagePay=st,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.started"),T=Symbol("login.session.expired"),I=Symbol("login.session.refreshed"),b=Symbol("api.retry"),M=Symbol("payment.status"),H=Symbol("payment.complete"),N=Symbol("payment.wait.requires3dSecure"),D=Symbol("payment.wait.requiresPin"),B=Symbol("payment.wait.requiresConfirmation"),L=Symbol("payment.wait.requiresAddress"),E=Symbol("payment.complete3dSecure"),O=/*#__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)),k="-".repeat(120),G=/*#__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(k),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new O(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"+k),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(k),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(k));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 O(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 w(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var F,U,W,q,V,K,x,j,Z,Q,Y,J,z,X,_,$,ee,te,ie,ne,oe,se,re,ae="/v1/auth",ce=/*#__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(w(function(){return Promise.resolve(i.request(ae+"/login","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(R),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(ae+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(T)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{var t=this;return Promise.resolve(t.request(ae+"/refresh","POST",null,e||P.refreshToken)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(R),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(ae+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(ae+"/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(w(function(){return Promise.resolve(i.request(ae+"/password/change","POST",n)).then(function(e){return P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(R),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(ae+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{var t=this;return Promise.resolve(t.request(ae+"/otp/validate","POST",{otpValue:e})).then(function(e){return e&&(P.accessToken=e.accessToken,P.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(R)),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(ae+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(ae+"/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}(G);e.Bank=void 0,(F=e.Bank||(e.Bank={})).None="None",F.ABD="ABD",F.ACB="ACB",F.ABL="ABL",F.ABG="ABG",F.ABS="ABS",F.ADB="ADB",F.ADS="ADS",F.ALM="ALM",F.ANS="ANS",F.APX="APX",F.ASL="ASL",F.BSL="BSL",F.BOA="BOA",F.BOG="BOG",F.BSP="BSP",F.BPS="BPS",F.BLM="BLM",F.BSI="BSI",F.CAL="CAL",F.CBG="CBG",F.CBN="CBN",F.DFL="DFL",F.ECO="ECO",F.EPG="EPG",F.ETZ="ETZ",F.EXP="EXP",F.FPL="FPL",F.FAB="FAB",F.FBL="FBL",F.FDL="FDL",F.FBO="FBO",F.FBN="FBN",F.FCM="FCM",F.FNB="FNB",F.FNBSW="FNBSW",F.FNBLS="FNBLS",F.FNBNM="FNBNM",F.GCB="GCB",F.GPB="GPB",F.GPG="GPG",F.GMY="GMY",F.GTB="GTB",F.HBN="HBN",F.HBT="HBT",F.ITC="ITC",F.JBN="JBN",F.JUN="JUN",F.KOR="KOR",F.KSB="KSB",F.MBN="MBN",F.MLU="MLU",F.MOL="MOL",F.NGL="NGL",F.NIB="NIB",F.OPI="OPI",F.NSL="NSL",F.PSW="PSW",F.PBL="PBL",F.PBN="PBN",F.RBG="RBG",F.RBL="RBL",F.SAS="SAS",F.SBN="SBN",F.SCB="SCB",F.SCH="SCH",F.SIS="SIS",F.SOG="SOG",F.STB="STB",F.TIT="TIT",F.TRB="TRB",F.UBA="UBA",F.UBN="UBN",F.UMB="UMB",F.UNB="UNB",F.UNI="UNI",F.UNL="UNL",F.USL="USL",F.WBN="WBN",F.ZEN="ZEN",F.AFB="AFB",F.AFBB="AFBB",F.NED="NED",F.STD="STD",F.STDSW="STDSW",F.STDLS="STDLS",F.STDNM="STDNM",F.CAP="CAP",F.CAPB="CAPB",F.MER="MER",F.BID="BID",F.ALB="ALB",F.HBZ="HBZ",F.SAF="SAF",F.DIS="DIS",F.RMB="RMB",F.BZZ="BZZ",F.INV="INV",F.TYB="TYB",F.HOL="HOL",F.BOC="BOC",F.ENL="ENL",F.FBMB="FBMB",F.HSBC="HSBC",F.JPMCB="JPMCB",F.OMB="OMB",F.SARB="SARB",F.SAPB="SAPB",F.VBS="VBS",F.SBI="SBI",e.Channel=void 0,(U=e.Channel||(e.Channel={})).Unknown="Unknown",U.Web="Web",U.USSD="USSD",U.Callback="Callback",U.Generated="Generated",U.Settlement="Settlement",U.Scheduled="Scheduled",U.MobileApplication="MobileApplication",U.SDK="SDK",U.POS="POS",U.SuperPOS="SuperPOS",e.ConsumerFileType=void 0,(W=e.ConsumerFileType||(e.ConsumerFileType={})).Unspecified="Unspecified",W.FaceImage="FaceImage",W.IdentityDocumentFront="IdentityDocumentFront",W.IdentityDocumentBack="IdentityDocumentBack",W.Liveness="Liveness",W.ProfileImage="ProfileImage",W.Signature="Signature",W.ConsumerAgreement="ConsumerAgreement",W.LoanContract="LoanContract",W.LoanSettlementQuote="LoanSettlementQuote",W.LoanPaidUpLetter="LoanPaidUpLetter",W.LoanStatement="LoanStatement",W.BankAccountLetter="BankAccountLetter",W.BankAccountStatement="BankAccountStatement",e.Country=void 0,(q=e.Country||(e.Country={})).None="None",q.AFG="AFG",q.ALB="ALB",q.DZA="DZA",q.ASM="ASM",q.AND="AND",q.AGO="AGO",q.AIA="AIA",q.ATA="ATA",q.ATG="ATG",q.ARG="ARG",q.ARM="ARM",q.ABW="ABW",q.AUS="AUS",q.AUT="AUT",q.AZE="AZE",q.BHS="BHS",q.BHR="BHR",q.BGD="BGD",q.BRB="BRB",q.BLR="BLR",q.BEL="BEL",q.BLZ="BLZ",q.BEN="BEN",q.BMU="BMU",q.BTN="BTN",q.BOL="BOL",q.BES="BES",q.BIH="BIH",q.BWA="BWA",q.BVT="BVT",q.BRA="BRA",q.IOT="IOT",q.VGB="VGB",q.BRN="BRN",q.BGR="BGR",q.BFA="BFA",q.BDI="BDI",q.KHM="KHM",q.CMR="CMR",q.CAN="CAN",q.CPV="CPV",q.CYM="CYM",q.CAF="CAF",q.TCD="TCD",q.CHL="CHL",q.CHN="CHN",q.CXR="CXR",q.CCK="CCK",q.COL="COL",q.COM="COM",q.COG="COG",q.COK="COK",q.CRI="CRI",q.CIV="CIV",q.HRV="HRV",q.CUB="CUB",q.CUW="CUW",q.CYP="CYP",q.CZE="CZE",q.COD="COD",q.DNK="DNK",q.DJI="DJI",q.DMA="DMA",q.DOM="DOM",q.ECU="ECU",q.EGY="EGY",q.SLV="SLV",q.GNQ="GNQ",q.ERI="ERI",q.EST="EST",q.ETH="ETH",q.FLK="FLK",q.FRO="FRO",q.FJI="FJI",q.FIN="FIN",q.FRA="FRA",q.FXX="FXX",q.GUF="GUF",q.PYF="PYF",q.ATF="ATF",q.GAB="GAB",q.GMB="GMB",q.GEO="GEO",q.DEU="DEU",q.GHA="GHA",q.GIB="GIB",q.GRC="GRC",q.GRL="GRL",q.GRD="GRD",q.GLP="GLP",q.GUM="GUM",q.GTM="GTM",q.GIN="GIN",q.GNB="GNB",q.GUY="GUY",q.HTI="HTI",q.HMD="HMD",q.VAT="VAT",q.HND="HND",q.HKG="HKG",q.HUN="HUN",q.ISL="ISL",q.IND="IND",q.IDN="IDN",q.IRN="IRN",q.IRQ="IRQ",q.IRL="IRL",q.IMN="IMN",q.ISR="ISR",q.ITA="ITA",q.JAM="JAM",q.JPN="JPN",q.JOR="JOR",q.KAZ="KAZ",q.KEN="KEN",q.KIR="KIR",q.KOR="KOR",q.PRK="PRK",q.KWT="KWT",q.KGZ="KGZ",q.LAO="LAO",q.LVA="LVA",q.LBN="LBN",q.LSO="LSO",q.LBR="LBR",q.LBY="LBY",q.LIE="LIE",q.LTU="LTU",q.LUX="LUX",q.MAC="MAC",q.MKD="MKD",q.MDG="MDG",q.MWI="MWI",q.MYS="MYS",q.MDV="MDV",q.MLI="MLI",q.MLT="MLT",q.MHL="MHL",q.MTQ="MTQ",q.MRT="MRT",q.MUS="MUS",q.MYT="MYT",q.MEX="MEX",q.FSM="FSM",q.MDA="MDA",q.MCO="MCO",q.MNG="MNG",q.MSR="MSR",q.MNE="MNE",q.MAR="MAR",q.MOZ="MOZ",q.MMR="MMR",q.NAM="NAM",q.NRU="NRU",q.NPL="NPL",q.NLD="NLD",q.NCL="NCL",q.NZL="NZL",q.NIC="NIC",q.NER="NER",q.NGA="NGA",q.NIU="NIU",q.NFK="NFK",q.MNP="MNP",q.NOR="NOR",q.OMN="OMN",q.PAK="PAK",q.PLW="PLW",q.PSE="PSE",q.PAN="PAN",q.PNG="PNG",q.PRY="PRY",q.PER="PER",q.PHL="PHL",q.PCN="PCN",q.POL="POL",q.PRT="PRT",q.PRI="PRI",q.QAT="QAT",q.REU="REU",q.ROU="ROU",q.RUS="RUS",q.RWA="RWA",q.WSM="WSM",q.SMR="SMR",q.STP="STP",q.SAU="SAU",q.SEN="SEN",q.SRB="SRB",q.SYC="SYC",q.SLE="SLE",q.SGP="SGP",q.SXM="SXM",q.SVK="SVK",q.SVN="SVN",q.SLB="SLB",q.SOM="SOM",q.ZAF="ZAF",q.SGS="SGS",q.SSD="SSD",q.ESP="ESP",q.LKA="LKA",q.SHN="SHN",q.KNA="KNA",q.LCA="LCA",q.MAF="MAF",q.SPM="SPM",q.VCT="VCT",q.SDN="SDN",q.SUR="SUR",q.SJM="SJM",q.SWZ="SWZ",q.SWE="SWE",q.CHE="CHE",q.SYR="SYR",q.TWN="TWN",q.TJK="TJK",q.TZA="TZA",q.THA="THA",q.TLS="TLS",q.TGO="TGO",q.TKL="TKL",q.TON="TON",q.TTO="TTO",q.TUN="TUN",q.TUR="TUR",q.TKM="TKM",q.TCA="TCA",q.TUV="TUV",q.UGA="UGA",q.UKR="UKR",q.ARE="ARE",q.GBR="GBR",q.QZZ="QZZ",q.USA="USA",q.UMI="UMI",q.VIR="VIR",q.URY="URY",q.UZB="UZB",q.VUT="VUT",q.VEN="VEN",q.VNM="VNM",q.WLF="WLF",q.ESH="ESH",q.YEM="YEM",q.ZMB="ZMB",q.ZWE="ZWE",e.Currency=void 0,(V=e.Currency||(e.Currency={})).None="None",V.AFN="AFN",V.ALL="ALL",V.ANG="ANG",V.ARS="ARS",V.AUD="AUD",V.AWG="AWG",V.AZN="AZN",V.BAM="BAM",V.BBD="BBD",V.BGN="BGN",V.BMD="BMD",V.BND="BND",V.BOB="BOB",V.BRL="BRL",V.BSD="BSD",V.BWP="BWP",V.BYN="BYN",V.BZD="BZD",V.CAD="CAD",V.CHF="CHF",V.CLP="CLP",V.CNY="CNY",V.COP="COP",V.CRC="CRC",V.CUP="CUP",V.CZK="CZK",V.DKK="DKK",V.DOP="DOP",V.EGP="EGP",V.EUR="EUR",V.FJD="FJD",V.FKP="FKP",V.GBP="GBP",V.GHS="GHS",V.GIP="GIP",V.GTQ="GTQ",V.GYD="GYD",V.HKD="HKD",V.HNL="HNL",V.HRK="HRK",V.HUF="HUF",V.IDR="IDR",V.ILS="ILS",V.INR="INR",V.IRR="IRR",V.ISK="ISK",V.JMD="JMD",V.JPY="JPY",V.KGS="KGS",V.KHR="KHR",V.KPW="KPW",V.KRW="KRW",V.KYD="KYD",V.KZT="KZT",V.LAK="LAK",V.LBP="LBP",V.LKR="LKR",V.LRD="LRD",V.MKD="MKD",V.MNT="MNT",V.MUR="MUR",V.MXN="MXN",V.MYR="MYR",V.MZN="MZN",V.NAD="NAD",V.NGN="NGN",V.NIO="NIO",V.NOK="NOK",V.NPR="NPR",V.NZD="NZD",V.OMR="OMR",V.PAB="PAB",V.PEN="PEN",V.PHP="PHP",V.PKR="PKR",V.PLN="PLN",V.PYG="PYG",V.QAR="QAR",V.RON="RON",V.RSD="RSD",V.RUB="RUB",V.SAR="SAR",V.SBD="SBD",V.SCR="SCR",V.SEK="SEK",V.SGD="SGD",V.SHP="SHP",V.SOS="SOS",V.SRD="SRD",V.SVC="SVC",V.SYP="SYP",V.THB="THB",V.TRY="TRY",V.TTD="TTD",V.TWD="TWD",V.UAH="UAH",V.USD="USD",V.UYU="UYU",V.UZS="UZS",V.VES="VES",V.VND="VND",V.XCD="XCD",V.YER="YER",V.ZAR="ZAR",V.ZWD="ZWD",e.DayOfWeek=void 0,(K=e.DayOfWeek||(e.DayOfWeek={})).Sunday="Sunday",K.Monday="Monday",K.Tuesday="Tuesday",K.Wednesday="Wednesday",K.Thursday="Thursday",K.Friday="Friday",K.Saturday="Saturday",e.FaceMovementDetectionLevel=void 0,(x=e.FaceMovementDetectionLevel||(e.FaceMovementDetectionLevel={})).None="None",x.OneRangeOfMotion="OneRangeOfMotion",x.MultipleRangesOfMotion="MultipleRangesOfMotion",x.AllRangesOfMotion="AllRangesOfMotion",e.Gender=void 0,(j=e.Gender||(e.Gender={})).Male="Male",j.Female="Female",e.IdentityDocumentType=void 0,(Z=e.IdentityDocumentType||(e.IdentityDocumentType={})).None="None",Z.National="National",Z.Passport="Passport",Z.Drivers="Drivers",Z.Other="Other",Z.GhanaCard="GhanaCard",Z.SocialSecurity="SocialSecurity",Z.Voter="Voter",Z.IdCard="IdCard",e.InsurancePolicyStatus=void 0,(Q=e.InsurancePolicyStatus||(e.InsurancePolicyStatus={})).Unknown="Unknown",Q.Pending="Pending",Q.Active="Active",Q.Lapsed="Lapsed",Q.Cancelled="Cancelled",Q.Suspended="Suspended",Q.Expired="Expired",e.KybProvider=void 0,(Y=e.KybProvider||(e.KybProvider={})).None="None",Y.Manual="Manual",e.KybStatus=void 0,(J=e.KybStatus||(e.KybStatus={})).NotRequired="NotRequired",J.Unverified="Unverified",J.Verified="Verified",J.Rejected="Rejected",e.KycProvider=void 0,(z=e.KycProvider||(e.KycProvider={})).None="None",z.SmileIdentity="SmileIdentity",z.GMoney="GMoney",z.NIA="NIA",z.Manual="Manual",e.KycStatus=void 0,(X=e.KycStatus||(e.KycStatus={})).None="None",X.Unverified="Unverified",X.Verified="Verified",X.Rejected="Rejected",X.Review="Review",e.KycVerificationType=void 0,(_=e.KycVerificationType||(e.KycVerificationType={})).Identity="Identity",_.Liveness="Liveness",_.Facial="Facial",_.Other="Other",e.Language=void 0,($=e.Language||(e.Language={})).None="None",$.AAR="AAR",$.AFR="AFR",$.AGQ="AGQ",$.AKA="AKA",$.AMH="AMH",$.ARA="ARA",$.ARN="ARN",$.ASM="ASM",$.ASA="ASA",$.AST="AST",$.AZE="AZE",$.BAK="BAK",$.BAS="BAS",$.BEL="BEL",$.BEM="BEM",$.BEZ="BEZ",$.BUL="BUL",$.BIN="BIN",$.BAM="BAM",$.BEN="BEN",$.BOD="BOD",$.BRE="BRE",$.BRX="BRX",$.BOS="BOS",$.BYN="BYN",$.CAT="CAT",$.CHE="CHE",$.CGG="CGG",$.CHR="CHR",$.COS="COS",$.CES="CES",$.CHU="CHU",$.CYM="CYM",$.DAN="DAN",$.DAV="DAV",$.DEU="DEU",$.DJE="DJE",$.DSB="DSB",$.DUA="DUA",$.DIV="DIV",$.DYO="DYO",$.DZO="DZO",$.EBU="EBU",$.EWE="EWE",$.ELL="ELL",$.ENG="ENG",$.EPO="EPO",$.SPA="SPA",$.EST="EST",$.EUS="EUS",$.EWO="EWO",$.FAS="FAS",$.FUL="FUL",$.FIN="FIN",$.FIL="FIL",$.FAO="FAO",$.FRA="FRA",$.FUR="FUR",$.FRY="FRY",$.GLE="GLE",$.GLA="GLA",$.GLG="GLG",$.GRN="GRN",$.GSW="GSW",$.GUJ="GUJ",$.GUZ="GUZ",$.GLV="GLV",$.HAU="HAU",$.HAW="HAW",$.HEB="HEB",$.HIN="HIN",$.HRV="HRV",$.HSB="HSB",$.HUN="HUN",$.HYE="HYE",$.INA="INA",$.IBB="IBB",$.IND="IND",$.IBO="IBO",$.III="III",$.ISL="ISL",$.ITA="ITA",$.IKU="IKU",$.JPN="JPN",$.JGO="JGO",$.JMC="JMC",$.JAV="JAV",$.KAT="KAT",$.KAB="KAB",$.KAM="KAM",$.KDE="KDE",$.KEA="KEA",$.KHQ="KHQ",$.KIK="KIK",$.KAZ="KAZ",$.KKJ="KKJ",$.KAL="KAL",$.KLN="KLN",$.KHM="KHM",$.KAN="KAN",$.KOR="KOR",$.KOK="KOK",$.KAU="KAU",$.KAS="KAS",$.KSB="KSB",$.KSF="KSF",$.KSH="KSH",$.KUR="KUR",$.COR="COR",$.KIR="KIR",$.LAT="LAT",$.LAG="LAG",$.LTZ="LTZ",$.LUG="LUG",$.LKT="LKT",$.LIN="LIN",$.LAO="LAO",$.LRC="LRC",$.LIT="LIT",$.LUB="LUB",$.LUO="LUO",$.LUY="LUY",$.LAV="LAV",$.MAS="MAS",$.MER="MER",$.MFE="MFE",$.MLG="MLG",$.MGH="MGH",$.MGO="MGO",$.MRI="MRI",$.MKD="MKD",$.MAL="MAL",$.MON="MON",$.MNI="MNI",$.MOH="MOH",$.MAR="MAR",$.MSA="MSA",$.MLT="MLT",$.MUA="MUA",$.MYA="MYA",$.MZN="MZN",$.NAQ="NAQ",$.NDE="NDE",$.NDS="NDS",$.NEP="NEP",$.NLD="NLD",$.NMG="NMG",$.NNO="NNO",$.NNH="NNH",$.NOB="NOB",$.NQO="NQO",$.NBL="NBL",$.NSO="NSO",$.NUS="NUS",$.NYN="NYN",$.OCI="OCI",$.ORM="ORM",$.ORI="ORI",$.OSS="OSS",$.PAN="PAN",$.PAP="PAP",$.POL="POL",$.PRG="PRG",$.PRS="PRS",$.PUS="PUS",$.POR="POR",$.QUC="QUC",$.QUB="QUB",$.ROH="ROH",$.RUN="RUN",$.RON="RON",$.ROF="ROF",$.RUS="RUS",$.KIN="KIN",$.RWK="RWK",$.SAN="SAN",$.SAH="SAH",$.SAQ="SAQ",$.SBP="SBP",$.SND="SND",$.SME="SME",$.SEH="SEH",$.SES="SES",$.SAG="SAG",$.SHI="SHI",$.SIN="SIN",$.SLK="SLK",$.SLV="SLV",$.SMA="SMA",$.SMJ="SMJ",$.SMN="SMN",$.SMS="SMS",$.SNA="SNA",$.SOM="SOM",$.SQI="SQI",$.SRP="SRP",$.SSW="SSW",$.SSY="SSY",$.SOT="SOT",$.SWE="SWE",$.SWA="SWA",$.SYR="SYR",$.TAM="TAM",$.TEL="TEL",$.TEO="TEO",$.TGK="TGK",$.THA="THA",$.TIR="TIR",$.TIG="TIG",$.TUK="TUK",$.TSN="TSN",$.TON="TON",$.TUR="TUR",$.TSO="TSO",$.TAT="TAT",$.TWQ="TWQ",$.TZM="TZM",$.UIG="UIG",$.UKR="UKR",$.URD="URD",$.UZB="UZB",$.VAI="VAI",$.VEN="VEN",$.VIE="VIE",$.VOL="VOL",$.VUN="VUN",$.WAE="WAE",$.WAL="WAL",$.WOL="WOL",$.XHO="XHO",$.XOG="XOG",$.YAV="YAV",$.YID="YID",$.YOR="YOR",$.ZGH="ZGH",$.ZHO="ZHO",$.ZUL="ZUL",e.LoanStatus=void 0,(ee=e.LoanStatus||(e.LoanStatus={})).Unknown="Unknown",ee.Active="Active",ee.Settled="Settled",ee.Complete="Complete",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,(te=e.MerchantFileType||(e.MerchantFileType={})).Unspecified="Unspecified",te.AgentAgreement="AgentAgreement",te.MerchantAgreement="MerchantAgreement",te.BusinessCertificate="BusinessCertificate",te.ProofOfAddress="ProofOfAddress",te.ProofOfBankAccount="ProofOfBankAccount",te.IdentityDocumentFront="IdentityDocumentFront",te.IdentityDocumentBack="IdentityDocumentBack",te.Signature="Signature",te.LogoImage="LogoImage",te.StorefrontImage="StorefrontImage",te.PrimaryImage="PrimaryImage",te.GhanaCardId="GhanaCardId",te.RegisteredConstitutionOfTheCompany="RegisteredConstitutionOfTheCompany",te.CertificateOfIncorporation="CertificateOfIncorporation",te.CertifiedTrueCopyOfForm3A="CertifiedTrueCopyOfForm3A",te.MonthlyStatement="MonthlyStatement",e.MobileWalletOperator=void 0,(ie=e.MobileWalletOperator||(e.MobileWalletOperator={})).None="None",ie.MTN="MTN",ie.VDF="VDF",ie.ATL="ATL",ie.TGO="TGO",ie.ATG="ATG",ie.GMY="GMY",ie.ZPY="ZPY",ie.GHP="GHP",ie.TCG="TCG",ie.VDC="VDC",ie.CLC="CLC",ie.TKM="TKM";e.Month=void 0,(ne=e.Month||(e.Month={}))[ne.JAN=1]="JAN",ne[ne.FEB=2]="FEB",ne[ne.MAR=3]="MAR",ne[ne.APR=4]="APR",ne[ne.MAY=5]="MAY",ne[ne.JUN=6]="JUN",ne[ne.JUL=7]="JUL",ne[ne.AUG=8]="AUG",ne[ne.SEP=9]="SEP",ne[ne.OCT=10]="OCT",ne[ne.NOV=11]="NOV",ne[ne.DEC=12]="DEC",e.ProductType=void 0,(oe=e.ProductType||(e.ProductType={})).Airtime="Airtime",oe.Internet="Internet",oe.Television="Television",oe.Utilities="Utilities",oe.Churches="Churches",oe.Education="Education",oe.Medical="Medical",oe.Transport="Transport",oe.Finance="Finance",oe.Insurance="Insurance",oe.Loans="Loans",oe.Pensions="Pensions",oe.General="General",oe.Other="Other",oe.DataBundle="DataBundle",oe.VoiceBundle="VoiceBundle",oe.Charity="Charity",oe.Rent="Rent",oe.MobileMoneyTransfer="MobileMoneyTransfer",oe.PostPaidBills="PostPaidBills",oe.SmsBundle="SmsBundle",oe.Fuel="Fuel",oe.Oil="Oil",oe.Gas="Gas",e.QrCodeType=void 0,(se=e.QrCodeType||(e.QrCodeType={})).NONE="NONE",se.V2QR="V2QR",se.GHQR="GHQR",se.NIBSSQR="NIBSSQR",e.RepeatInterval=void 0,(re=e.RepeatInterval||(e.RepeatInterval={})).Weekly="Weekly",re.Monthly="Monthly";var de,le,ue,he,ve,me,Ae="/v1/lookup",fe=/*#__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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/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(Ae+"/bank","GET")).then(function(e){o.call(i,s,e)})}var r=n.bankCache,a=r.set;return Promise.resolve(n.request(Ae+"/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(Ae+"/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 O(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(Ae+"/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 O(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(Ae+"/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}(G);e.CardIssuer=void 0,(de=e.CardIssuer||(e.CardIssuer={})).AmericanExpress="AmericanExpress",de.DinersClub="DinersClub",de.Discover="Discover",de.JCB="JCB",de.Maestro="Maestro",de.MasterCard="MasterCard",de.Switch="Switch",de.Visa="Visa",de.Unknown="Unknown",e.FeeType=void 0,(le=e.FeeType||(e.FeeType={}))[le.None=0]="None",le[le.FeeTakenFromSourceByMerchant=1]="FeeTakenFromSourceByMerchant",le[le.Elevy=2]="Elevy",le[le.ExternalPaymentProcessorFee=3]="ExternalPaymentProcessorFee",le[le.ExternallyProcessedElevy=4]="ExternallyProcessedElevy",le[le.InternalUserTransactionFee=5]="InternalUserTransactionFee",le[le.ExternalUserTransactionFee=6]="ExternalUserTransactionFee",le[le.InternalPaymentProcessorFee=7]="InternalPaymentProcessorFee",e.MerchantPaymentType=void 0,(ue=e.MerchantPaymentType||(e.MerchantPaymentType={})).Unspecified="Unspecified",ue.CashOut="CashOut",ue.BuyingGoods="BuyingGoods",ue.BillPayment="BillPayment",ue.GhIPSSQrCode="GhIPSSQrCode",e.ReceiptType=void 0,(he=e.ReceiptType||(e.ReceiptType={})).Consumer="Consumer",he.Merchant="Merchant",e.RefundType=void 0,(ve=e.RefundType||(e.RefundType={}))[ve.Manual=1]="Manual",ve[ve.Auto=2]="Auto",e.TransactionCategory=void 0,(me=e.TransactionCategory||(e.TransactionCategory={}))[me.Unknown=0]="Unknown",me[me.Generic=1]="Generic",me[me.BankAccount=2]="BankAccount",me[me.Card=3]="Card",me[me.MobileWallet=4]="MobileWallet",me[me.Cash=5]="Cash",me[me.Merchant=6]="Merchant",me[me.QrCode=7]="QrCode",me[me.DigitalWallet=8]="DigitalWallet",me[me.Wallet=8]="Wallet",me[me.BillPayment=9]="BillPayment";var Se,Ce,pe,ye=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};ye.none=void 0,e.TransactionIconType=void 0,(Se=e.TransactionIconType||(e.TransactionIconType={}))[Se.Bank=0]="Bank",Se[Se.MobileWallet=1]="MobileWallet",Se[Se.Card=2]="Card",Se[Se.Cash=3]="Cash",Se[Se.Merchant=4]="Merchant",Se[Se.QrCode=5]="QrCode",Se[Se.DigitalWallet=6]="DigitalWallet",Se[Se.CellC=7]="CellC",Se[Se.Telkom=8]="Telkom",Se[Se.TelkomMobile=9]="TelkomMobile",Se[Se.MTN=10]="MTN",Se[Se.Vodacom=11]="Vodacom",Se[Se.Vodafone=12]="Vodafone",Se[Se.AirtelTigo=13]="AirtelTigo",Se[Se.GhanaPay=14]="GhanaPay",Se[Se.Zeepay=15]="Zeepay",Se[Se.Glo=16]="Glo",Se[Se.Surfline=17]="Surfline",Se[Se.Busy4G=18]="Busy4G",Se[Se.DSTV=19]="DSTV",Se[Se.GoTV=20]="GoTV",Se[Se.StarTimesTV=21]="StarTimesTV",Se[Se.ECG=22]="ECG",Se[Se.GhanaWater=23]="GhanaWater",Se[Se.Telecel=24]="Telecel",e.TransactionStatus=void 0,(Ce=e.TransactionStatus||(e.TransactionStatus={}))[Ce.NotStarted=0]="NotStarted",Ce[Ce.Success=1]="Success",Ce[Ce.Failed=2]="Failed",Ce[Ce.Processing=3]="Processing",Ce[Ce.Pending=4]="Pending",Ce[Ce.Authorized=5]="Authorized",Ce[Ce.Declined=6]="Declined",Ce[Ce.ValidationError=7]="ValidationError",Ce[Ce.Requires3DSecure=8]="Requires3DSecure",Ce[Ce.RequiresPin=9]="RequiresPin",Ce[Ce.Expired=10]="Expired",Ce[Ce.InsufficientFunds=11]="InsufficientFunds",Ce[Ce.AddressVerificationFailed=12]="AddressVerificationFailed",Ce[Ce.Ignored=13]="Ignored",Ce[Ce.ExternallyFunded=14]="ExternallyFunded",Ce[Ce.ProcessorUnavailable=15]="ProcessorUnavailable",Ce[Ce.TimedOut=16]="TimedOut",Ce[Ce.Indeterminate=17]="Indeterminate",Ce[Ce.RequiresConfirmation=18]="RequiresConfirmation",Ce[Ce.RequiresAddress=19]="RequiresAddress",Ce[Ce.Delayed=20]="Delayed",Ce[Ce.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",Ce[Ce.Unrecoverable=22]="Unrecoverable",Ce[Ce.Reversed=23]="Reversed",e.TransactionType=void 0,(pe=e.TransactionType||(e.TransactionType={}))[pe.Source=1]="Source",pe[pe.Destination=2]="Destination";var ge,Pe="/v1/pay",Re="/v2/token",Te="/v1/transaction",Ie="/v1/notification",be=/*#__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(Re+"/card","POST",e))}catch(e){return Promise.reject(e)}},n.createBankAccountToken=function(e){try{return Promise.resolve(this.request(Re+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},n.verifyCardToken=function(e){try{return Promise.resolve(this.request(Re+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},n.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(Re+"/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(Te+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},n.rejectPinCode=function(e){try{return Promise.resolve(this.request(Te+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},n.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(Te+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},n.submitAddress=function(e,t){try{return Promise.resolve(this.request(Te+"/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(Ie+"/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(Ie+"/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(M,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(B,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(D,s)):o.status===e.TransactionStatus.RequiresAddress&&(n=!0,i.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),i.events.publish(L,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(N,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(H,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}(G),Me="/v1/consumer",He="/v1/consumer/messages",Ne="/v1/consumer/account",De=/*#__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(Me,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Me,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Me,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(T),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Me,"GET"))}catch(e){return Promise.reject(e)}},i.getConsumerAgreement=function(){try{return Promise.resolve(this.request(Me+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptConsumerAgreement=function(){try{return Promise.resolve(this.request(Me+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(Ne+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(Ne+"/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(He,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(He+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(He+"/"+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}(G),Be=/*#__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}(G),Le="/v1/merchant",Ee="/v1/merchant/otp",Oe="/v1/merchant/pos",ke="/v1/merchant/product",Ge="/v1/merchant/user",we=/*#__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(ke+"/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(ke+"/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(""+ke,"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(""+ke,"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(""+ke,"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(ke+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},n.groupProductsByName=function(e){return e.reduce(function(e,t){var i=t.name.split("|").map(function(e){return e.trim()}),n=i[0],o=i[1];return e[n]||(e[n]=[]),e[n].push(f({},t,{name:o||t.name})),e},{})},n.getMerchant=function(){try{return Promise.resolve(this.request(Le,"GET"))}catch(e){return Promise.reject(e)}},n.createMerchant=function(e){try{return Promise.resolve(this.request(Le,"POST",e))}catch(e){return Promise.reject(e)}},n.updateMerchant=function(e){try{return Promise.resolve(this.request(Le,"PUT",e))}catch(e){return Promise.reject(e)}},n.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Le+"/agreement","GET"))}catch(e){return Promise.reject(e)}},n.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Le+"/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(Ee+"/"+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(Ee+"/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(Le+"/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(Ge,"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(Ge+"/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(Ge,"GET"))}catch(e){return Promise.reject(e)}},n.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Oe+"/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(Oe+"/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(Oe+"/qr?amount="+t+"&currency="+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(Oe+"/qr-urls?amount="+t+"&currency="+n,"GET"))}catch(e){return Promise.reject(e)}},n.uploadFile=function(e){try{return Promise.resolve(this.request(Le+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},i}(G),Fe=/\{@?\w+}/g,Ue=/*#__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=Fe.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=Fe.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,(ge=e.LogLevel||(e.LogLevel={}))[ge.Trace=0]="Trace",ge[ge.Debug=1]="Debug",ge[ge.Information=2]="Information",ge[ge.Warning=3]="Warning",ge[ge.Error=4]="Error",ge[ge.Critical=5]="Critical";var We,qe,Ve,Ke,xe,je,Ze,Qe,Ye,Je,ze,Xe,_e,$e,et=/*#__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 Ue(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}(G),tt=/*#__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}(G),it="/v1/content",nt=/*#__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(it,"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(it+"/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}(G),ot="/v1/reports/transactions",st=/*#__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).dailyTransactionCache=new Map,e}C(i,t);var n=i.prototype;return n.getRecentTransactions=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(ot+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},n.getTransactionSummary=function(t){try{var i=t.toString();return Number.isInteger(t)&&(i=e.Currency[t]),Promise.resolve(this.request(ot+"/summary?currency="+i,"GET"))}catch(e){return Promise.reject(e)}},n.getAllTransactionDetails=function(e,t,i){try{return Promise.resolve(this.getDailyTransactions(e,t,i)).then(function(e){return e.flatMap(function(e){return e.paymentDetails}).sort(function(e,t){return new Date(t.transactionCompletedDate).getTime()-new Date(e.transactionCompletedDate).getTime()})})}catch(e){return Promise.reject(e)}},n.getDailyTransactions=function(t,i,n){try{var o=function(){var e=u(i),t=u(n);return a.filter(function(i){var n=u(i.date);return n>=e&&n<=t}).sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})},s=this,r=t.toString();if(Number.isInteger(t)&&(r=e.Currency[t]),!i||!n)return Promise.resolve(s.request(ot+"/daily?currency="+r+"&dateFrom="+(i||"")+"&dateTo="+(n||""),"GET"));var a=s.dailyTransactionCache.get(r)||[],c=i,d=n,l=!0,u=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:new Date(e).toISOString().split("T")[0]},h=u(new Date);if(a.sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}),a.length>0){var v=a[a.length-1],m=a[0],A=u(i),f=u(n),S=u(m.date),C=u(v.date),p=A>=S&&f<=C,y=f>=h;p&&!y?l=!1:p&&y?(c=h,l=!0):A>=S&&f>C&&(c=C,l=!0)}var g=function(){if(l)return Promise.resolve(s.request(ot+"/daily?currency="+r+"&dateFrom="+(c||"")+"&dateTo="+(d||""),"GET")).then(function(e){var t=new Map;a.forEach(function(e){return t.set(u(e.date),e)}),e.forEach(function(e){return t.set(u(e.date),e)}),a=Array.from(t.values()),s.dailyTransactionCache.set(r,a)})}();return Promise.resolve(g&&g.then?g.then(o):o())}catch(e){return Promise.reject(e)}},i}(G);e.AddressType=void 0,(We=e.AddressType||(e.AddressType={})).MAIN="MAIN",We.POST="POST",We.BILL="BILL",We.SHIP="SHIP",e.BankAccountType=void 0,(qe=e.BankAccountType||(e.BankAccountType={})).SAVINGS="SAVINGS",qe.CURRENT="CURRENT",qe.FIXED="FIXED",qe.MONEYMARKET="MONEYMARKET",qe.CODA="CODA",qe.BOND="BOND",e.ConsumerAttribute=void 0,(Ve=e.ConsumerAttribute||(e.ConsumerAttribute={}))[Ve.VisaPAN=1]="VisaPAN",Ve[Ve.MasterCardPAN=2]="MasterCardPAN",Ve[Ve.RegistrationInvitationCode=3]="RegistrationInvitationCode",Ve[Ve.GMoneyWalletNumber=4]="GMoneyWalletNumber",Ve[Ve.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",Ve[Ve.MarketingConsent=6]="MarketingConsent",Ve[Ve.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",Ve[Ve.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",e.GenericAccountType=void 0,(Ke=e.GenericAccountType||(e.GenericAccountType={})).None="None",Ke.MobileNumber="MobileNumber",Ke.WaterMeter="WaterMeter",Ke.ElectricityMeter="ElectricityMeter",Ke.PayShap="PayShap",Ke.DStv="DStv",Ke.EasyPay="EasyPay",e.KycStatusSummary=void 0,(xe=e.KycStatusSummary||(e.KycStatusSummary={})).Unverified="Unverified",xe.Verified="Verified",xe.Rejected="Rejected",e.DevicePlatform=void 0,(je=e.DevicePlatform||(e.DevicePlatform={})).Unknown="Unknown",je.Android="Android",je.iOS="iOS",je.Web="Web",e.EmployeeNotificationEvent=void 0,(Ze=e.EmployeeNotificationEvent||(e.EmployeeNotificationEvent={}))[Ze.PaymentSuccessful=1]="PaymentSuccessful",Ze[Ze.PaymentFailed=2]="PaymentFailed",e.FuelPurchaseMethod=void 0,(Qe=e.FuelPurchaseMethod||(e.FuelPurchaseMethod={})).ByAmount="ByAmount",Qe.ByQuantity="ByQuantity",Qe.ByAmountAndQuantity="ByAmountAndQuantity",e.Industry=void 0,(Ye=e.Industry||(e.Industry={})).None="None",Ye.Retail="Retail",Ye.Restaurant="Restaurant",Ye.Forecourt="Forecourt",Ye.Workshop="Workshop",e.KybStatusSummary=void 0,(Je=e.KybStatusSummary||(e.KybStatusSummary={})).Unverified="Unverified",Je.Verified="Verified",Je.PartiallyVerified="PartiallyVerified",Je.Rejected="Rejected",e.MerchantAttribute=void 0,(ze=e.MerchantAttribute||(e.MerchantAttribute={}))[ze.GhIPSSMerchantId=2]="GhIPSSMerchantId",ze[ze.VisaPAN=3]="VisaPAN",ze[ze.MasterCardPAN=4]="MasterCardPAN",ze[ze.NIBSSMerchantReference=6]="NIBSSMerchantReference",e.MerchantNotificationEvent=void 0,(Xe=e.MerchantNotificationEvent||(e.MerchantNotificationEvent={}))[Xe.PaymentSuccessful=1]="PaymentSuccessful",Xe[Xe.PaymentFailed=2]="PaymentFailed",Xe[Xe.SettlementConfirmation=3]="SettlementConfirmation",e.SettlementTime=void 0,(_e=e.SettlementTime||(e.SettlementTime={})).None="None",_e.IntraDay="IntraDay",_e.EndOfDay="EndOfDay",_e.TPlusOne="TPlusOne",_e.TPlusTwo="TPlusTwo",_e.TPlusThree="TPlusThree",_e.TPlusSeven="TPlusSeven",e.TerminalType=void 0,($e=e.TerminalType||(e.TerminalType={})).None="None",$e.GHIPPS="GHIPPS",$e.NIBSS="NIBSS",$e.PAX="PAX",$e.Verifone="Verifone";var rt="-".repeat(120),at=/*#__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"+rt),console.debug("-- AUTO REFRESH --"),console.debug(rt),console.debug(n.method+": "+i.baseUrl+n.url),console.debug(rt),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(rt)),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(I,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(T)})}()}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(T),e});P.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(T))}();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(b,o)}}),this.consoleLogging=e.consoleLogging||!1,this.logBatchSize=e.logBatchSize||100,this.logBatchInterval=e.logBatchInterval||6e4,this.system=new tt(this.axiosInstance,this.consoleLogging),this.content=new nt(this.axiosInstance,this.consoleLogging),this.log=new et(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new ce(this.axiosInstance,this.consoleLogging),this.consumers=new De(this.axiosInstance,this.consoleLogging),this.merchants=new we(this.axiosInstance,this.consoleLogging),this.lookups=new fe(this.axiosInstance,this.consoleLogging),this.payments=new be(this.axiosInstance,this.consoleLogging),this.qrCodes=new Be(this.axiosInstance,this.consoleLogging),this.reports=new st(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}();at.OnSessionStarted=R,at.OnSessionExpired=T,at.OnAutomaticRefresh=I,at.OnApiRetry=b,at.OnPaymentStatusUpdate=M,at.OnPaymentComplete=H,at.OnRequires3DSecure=N,at.OnRequiresPin=D,at.OnRequiresConfirmation=B,at.OnRequiresAddress=L,at.OnComplete3DSecure=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.yourReference=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=O,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.availableAmountInCents=void 0,this.currentAmountInCents=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.yourReference=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.genericAccounts=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.BeneficiaryGenericAccount=function(){this.accountNumber=void 0,this.genericAccountType=void 0,this.genericAccountTypeName=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.genericAccounts=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.cardSettings=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=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.cardSettings=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=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,this.isActive=void 0},e.ConsumerGenericAccount=function(){this.accountNumber=void 0,this.genericAccountType=void 0,this.genericAccountTypeName=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},e.ConsumerInsurancePolicy=function(){this.policyNumber=void 0,this.coverAmountInCents=void 0,this.premiumAmountInCents=void 0,this.description=void 0,this.beneficiaries=void 0,this.status=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},e.ConsumerInsurancePolicyBeneficiary=function(){this.reference=void 0,this.firstName=void 0,this.lastName=void 0,this.contactNumber=void 0,this.dateOfBirth=void 0,this.relationship=void 0,this.percentage=void 0},e.ConsumerLoanAccount=function(){this.contractNumber=void 0,this.loanType=void 0,this.loanSource=void 0,this.status=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.lastPaymentDate=void 0,this.startDate=void 0,this.endDate=void 0,this.term=void 0,this.isInArrears=void 0,this.isFullyPaid=void 0,this.repaymentPercentage=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},e.ConsumerMobileWallet=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.createdDate=void 0,this.reference=void 0,this.yourReference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=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,this.isActive=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.validationRegex=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=b,e.OnAutomaticRefresh=I,e.OnComplete3DSecure=E,e.OnPaymentComplete=H,e.OnPaymentStatusUpdate=M,e.OnRequires3DSecure=N,e.OnRequiresAddress=L,e.OnRequiresConfirmation=B,e.OnRequiresPin=D,e.OnSessionExpired=T,e.OnSessionStarted=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.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,this.payShapQrCodeUrl=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.TransactionCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0},e.TransactionConfirmation=function(){this.confirm=void 0},e.TransactionData=ye,e.TransactionDetailsByDayResponse=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalCreditAmountInCents=void 0,this.totalDebitAmountInCents=void 0,this.totalAmountInCents=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.TransactionDetailsResponse=function(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.beneficiaryReference=void 0,this.productReference=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.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},e.TransactionMonthSummaryResponse=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalAmountInCents=void 0,this.periodTotals=void 0},e.TransactionPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.categoryTotals=void 0},e.TransactionPin=function(){this.pin=void 0},e.VantagePay=at,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