@vantagepay/vantagepay 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- var e=require("axios"),t=require("axios-retry"),i=require("axios-auth-refresh"),o=require("pubsub-js"),n=require("@microsoft/signalr"),s=require("qrcode");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,t}var c=/*#__PURE__*/r(e),d=/*#__PURE__*/r(t),l=/*#__PURE__*/r(i),u=/*#__PURE__*/r(o),h=/*#__PURE__*/a(n),v=/*#__PURE__*/r(s);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=Array(t);i<t;i++)o[i]=e[i];return o}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},A.apply(null,arguments)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,C(e,t)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function y(e){var t="function"==typeof Map?new Map:void 0;return y=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(S())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var n=new(e.bind.apply(e,o));return i&&C(n,i.prototype),n}(e,arguments,p(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),C(i,e)},y(e)}var g=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 o=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(o)||{}}return{}},e}()),P=Symbol("login.session.started"),R=Symbol("login.session.expired"),T=Symbol("login.session.refreshed"),I=Symbol("api.retry"),b=Symbol("payment.status"),M=Symbol("payment.complete"),H=Symbol("payment.wait.requires3dSecure"),N=Symbol("payment.wait.requiresPin"),D=Symbol("payment.wait.requiresConfirmation"),B=Symbol("payment.wait.requiresAddress"),L=Symbol("payment.complete3dSecure"),E=/*#__PURE__*/function(e){function t(i,o,n){var s,r=n;return Array.isArray(o)&&o.length>0?r=o.join(" "):("string"==typeof o||o instanceof String)&&(r=o.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=o,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 f(t,e),t}(/*#__PURE__*/y(Error)),O="-".repeat(120),k=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=u.default,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,o){void 0===i&&(i=null),void 0===o&&(o=null);try{var n,s=function(e){if(r.consoleLogging&&console.debug(O),n.data){if(!n.data.success&&"string"!=typeof n.data)throw new E(n.data.status||n.status,n.data.result||null,n.data.message||null);return n.data.result||n.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(o||g.accessToken)&&(s.headers={Authorization:"Bearer "+(o||g.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+O),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(O),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){n=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(n.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(O));var t=0,i=null,o=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,o=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new E(t,i,o||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(),o=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),n=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+o+":"+n}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 x(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var G,w,F,U,W,q,V,K,j,Z,Q,Y,J,z,X,_,$,ee,te,ie,oe,ne="/v1/auth",se=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(g.accessToken)try{return(new Date).getTime()<1e3*g.decodeToken(g.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,o={username:e,password:t};return g.accessToken=null,g.refreshToken=null,Promise.resolve(x(function(){return Promise.resolve(i.request(ne+"/login","POST",o)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(P),Promise.resolve(e)})},function(e){throw e.result&&(g.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=g.refreshToken;g.accessToken=null,g.refreshToken=null;var o=function(){if(i)return Promise.resolve(t.request(ne+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(R)})}();return Promise.resolve(o&&o.then?o.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{var t=this;return Promise.resolve(t.request(ne+"/refresh","POST",null,e||g.refreshToken)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(P),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(ne+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(ne+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,o={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(x(function(){return Promise.resolve(i.request(ne+"/password/change","POST",o)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(P),Promise.resolve(e)})},function(e){throw e.result&&(g.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(ne+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{var t=this;return Promise.resolve(t.request(ne+"/otp/validate","POST",{otpValue:e})).then(function(e){return e&&(g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(P)),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(ne+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(ne+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).reference||null},i.getCurrentUserName=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).user_name||null},i.getRedirectAction=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).email_address||null},t}(k);exports.Bank=void 0,(G=exports.Bank||(exports.Bank={})).None="None",G.ABD="ABD",G.ABL="ABL",G.ACB="ACB",G.ABS="ABS",G.ABG="ABG",G.ADB="ADB",G.ADS="ADS",G.ALM="ALM",G.ANS="ANS",G.APX="APX",G.ASL="ASL",G.BSL="BSL",G.BOA="BOA",G.BOG="BOG",G.BSP="BSP",G.BPS="BPS",G.BLM="BLM",G.BSI="BSI",G.CAL="CAL",G.CBG="CBG",G.CBN="CBN",G.DFL="DFL",G.ECO="ECO",G.EPG="EPG",G.ETZ="ETZ",G.EXP="EXP",G.FPL="FPL",G.FAB="FAB",G.FBL="FBL",G.FDL="FDL",G.FBO="FBO",G.FBN="FBN",G.FCM="FCM",G.FNB="FNB",G.GCB="GCB",G.GPB="GPB",G.GPG="GPG",G.GMY="GMY",G.GTB="GTB",G.HBN="HBN",G.HBT="HBT",G.ITC="ITC",G.JBN="JBN",G.JUN="JUN",G.KOR="KOR",G.KSB="KSB",G.MBN="MBN",G.MLU="MLU",G.MOL="MOL",G.NGL="NGL",G.NIB="NIB",G.OPI="OPI",G.NSL="NSL",G.PSW="PSW",G.PBL="PBL",G.PBN="PBN",G.RBG="RBG",G.RBL="RBL",G.SAS="SAS",G.SBN="SBN",G.SCB="SCB",G.SCH="SCH",G.SIS="SIS",G.SOG="SOG",G.STB="STB",G.TIT="TIT",G.TRB="TRB",G.UBA="UBA",G.UBN="UBN",G.UMB="UMB",G.UNB="UNB",G.UNI="UNI",G.UNL="UNL",G.USL="USL",G.WBN="WBN",G.ZEN="ZEN",G.AFB="AFB",G.NED="NED",G.STD="STD",G.CAP="CAP",G.MER="MER",G.BID="BID",G.ALB="ALB",G.HBZ="HBZ",G.SAF="SAF",G.DIS="DIS",G.RMB="RMB",G.BZZ="BZZ",G.INV="INV",G.TYB="TYB",G.HOL="HOL",exports.Channel=void 0,(w=exports.Channel||(exports.Channel={})).Unknown="Unknown",w.Web="Web",w.USSD="USSD",w.Callback="Callback",w.Generated="Generated",w.Settlement="Settlement",w.Scheduled="Scheduled",w.MobileApplication="MobileApplication",w.SDK="SDK",w.POS="POS",w.SuperPOS="SuperPOS",exports.ConsumerFileType=void 0,(F=exports.ConsumerFileType||(exports.ConsumerFileType={})).Unspecified="Unspecified",F.FaceImage="FaceImage",F.IdentityDocumentFront="IdentityDocumentFront",F.IdentityDocumentBack="IdentityDocumentBack",F.Liveness="Liveness",F.ProfileImage="ProfileImage",F.Signature="Signature",F.ConsumerAgreement="ConsumerAgreement",F.LoanContract="LoanContract",F.LoanSettlementQuote="LoanSettlementQuote",F.LoanPaidUpLetter="LoanPaidUpLetter",F.LoanStatement="LoanStatement",F.BankAccountLetter="BankAccountLetter",F.BankAccountStatement="BankAccountStatement",exports.Country=void 0,(U=exports.Country||(exports.Country={})).None="None",U.AFG="AFG",U.ALB="ALB",U.DZA="DZA",U.ASM="ASM",U.AND="AND",U.AGO="AGO",U.AIA="AIA",U.ATA="ATA",U.ATG="ATG",U.ARG="ARG",U.ARM="ARM",U.ABW="ABW",U.AUS="AUS",U.AUT="AUT",U.AZE="AZE",U.BHS="BHS",U.BHR="BHR",U.BGD="BGD",U.BRB="BRB",U.BLR="BLR",U.BEL="BEL",U.BLZ="BLZ",U.BEN="BEN",U.BMU="BMU",U.BTN="BTN",U.BOL="BOL",U.BES="BES",U.BIH="BIH",U.BWA="BWA",U.BVT="BVT",U.BRA="BRA",U.IOT="IOT",U.VGB="VGB",U.BRN="BRN",U.BGR="BGR",U.BFA="BFA",U.BDI="BDI",U.KHM="KHM",U.CMR="CMR",U.CAN="CAN",U.CPV="CPV",U.CYM="CYM",U.CAF="CAF",U.TCD="TCD",U.CHL="CHL",U.CHN="CHN",U.CXR="CXR",U.CCK="CCK",U.COL="COL",U.COM="COM",U.COG="COG",U.COK="COK",U.CRI="CRI",U.CIV="CIV",U.HRV="HRV",U.CUB="CUB",U.CUW="CUW",U.CYP="CYP",U.CZE="CZE",U.COD="COD",U.DNK="DNK",U.DJI="DJI",U.DMA="DMA",U.DOM="DOM",U.ECU="ECU",U.EGY="EGY",U.SLV="SLV",U.GNQ="GNQ",U.ERI="ERI",U.EST="EST",U.ETH="ETH",U.FLK="FLK",U.FRO="FRO",U.FJI="FJI",U.FIN="FIN",U.FRA="FRA",U.FXX="FXX",U.GUF="GUF",U.PYF="PYF",U.ATF="ATF",U.GAB="GAB",U.GMB="GMB",U.GEO="GEO",U.DEU="DEU",U.GHA="GHA",U.GIB="GIB",U.GRC="GRC",U.GRL="GRL",U.GRD="GRD",U.GLP="GLP",U.GUM="GUM",U.GTM="GTM",U.GIN="GIN",U.GNB="GNB",U.GUY="GUY",U.HTI="HTI",U.HMD="HMD",U.VAT="VAT",U.HND="HND",U.HKG="HKG",U.HUN="HUN",U.ISL="ISL",U.IND="IND",U.IDN="IDN",U.IRN="IRN",U.IRQ="IRQ",U.IRL="IRL",U.IMN="IMN",U.ISR="ISR",U.ITA="ITA",U.JAM="JAM",U.JPN="JPN",U.JOR="JOR",U.KAZ="KAZ",U.KEN="KEN",U.KIR="KIR",U.KOR="KOR",U.PRK="PRK",U.KWT="KWT",U.KGZ="KGZ",U.LAO="LAO",U.LVA="LVA",U.LBN="LBN",U.LSO="LSO",U.LBR="LBR",U.LBY="LBY",U.LIE="LIE",U.LTU="LTU",U.LUX="LUX",U.MAC="MAC",U.MKD="MKD",U.MDG="MDG",U.MWI="MWI",U.MYS="MYS",U.MDV="MDV",U.MLI="MLI",U.MLT="MLT",U.MHL="MHL",U.MTQ="MTQ",U.MRT="MRT",U.MUS="MUS",U.MYT="MYT",U.MEX="MEX",U.FSM="FSM",U.MDA="MDA",U.MCO="MCO",U.MNG="MNG",U.MSR="MSR",U.MNE="MNE",U.MAR="MAR",U.MOZ="MOZ",U.MMR="MMR",U.NAM="NAM",U.NRU="NRU",U.NPL="NPL",U.NLD="NLD",U.NCL="NCL",U.NZL="NZL",U.NIC="NIC",U.NER="NER",U.NGA="NGA",U.NIU="NIU",U.NFK="NFK",U.MNP="MNP",U.NOR="NOR",U.OMN="OMN",U.PAK="PAK",U.PLW="PLW",U.PSE="PSE",U.PAN="PAN",U.PNG="PNG",U.PRY="PRY",U.PER="PER",U.PHL="PHL",U.PCN="PCN",U.POL="POL",U.PRT="PRT",U.PRI="PRI",U.QAT="QAT",U.REU="REU",U.ROU="ROU",U.RUS="RUS",U.RWA="RWA",U.WSM="WSM",U.SMR="SMR",U.STP="STP",U.SAU="SAU",U.SEN="SEN",U.SRB="SRB",U.SYC="SYC",U.SLE="SLE",U.SGP="SGP",U.SXM="SXM",U.SVK="SVK",U.SVN="SVN",U.SLB="SLB",U.SOM="SOM",U.ZAF="ZAF",U.SGS="SGS",U.SSD="SSD",U.ESP="ESP",U.LKA="LKA",U.SHN="SHN",U.KNA="KNA",U.LCA="LCA",U.MAF="MAF",U.SPM="SPM",U.VCT="VCT",U.SDN="SDN",U.SUR="SUR",U.SJM="SJM",U.SWZ="SWZ",U.SWE="SWE",U.CHE="CHE",U.SYR="SYR",U.TWN="TWN",U.TJK="TJK",U.TZA="TZA",U.THA="THA",U.TLS="TLS",U.TGO="TGO",U.TKL="TKL",U.TON="TON",U.TTO="TTO",U.TUN="TUN",U.TUR="TUR",U.TKM="TKM",U.TCA="TCA",U.TUV="TUV",U.UGA="UGA",U.UKR="UKR",U.ARE="ARE",U.GBR="GBR",U.QZZ="QZZ",U.USA="USA",U.UMI="UMI",U.VIR="VIR",U.URY="URY",U.UZB="UZB",U.VUT="VUT",U.VEN="VEN",U.VNM="VNM",U.WLF="WLF",U.ESH="ESH",U.YEM="YEM",U.ZMB="ZMB",U.ZWE="ZWE",exports.Currency=void 0,(W=exports.Currency||(exports.Currency={})).None="None",W.AFN="AFN",W.ALL="ALL",W.ANG="ANG",W.ARS="ARS",W.AUD="AUD",W.AWG="AWG",W.AZN="AZN",W.BAM="BAM",W.BBD="BBD",W.BGN="BGN",W.BMD="BMD",W.BND="BND",W.BOB="BOB",W.BRL="BRL",W.BSD="BSD",W.BWP="BWP",W.BYN="BYN",W.BZD="BZD",W.CAD="CAD",W.CHF="CHF",W.CLP="CLP",W.CNY="CNY",W.COP="COP",W.CRC="CRC",W.CUP="CUP",W.CZK="CZK",W.DKK="DKK",W.DOP="DOP",W.EGP="EGP",W.EUR="EUR",W.FJD="FJD",W.FKP="FKP",W.GBP="GBP",W.GHS="GHS",W.GIP="GIP",W.GTQ="GTQ",W.GYD="GYD",W.HKD="HKD",W.HNL="HNL",W.HRK="HRK",W.HUF="HUF",W.IDR="IDR",W.ILS="ILS",W.INR="INR",W.IRR="IRR",W.ISK="ISK",W.JMD="JMD",W.JPY="JPY",W.KGS="KGS",W.KHR="KHR",W.KPW="KPW",W.KRW="KRW",W.KYD="KYD",W.KZT="KZT",W.LAK="LAK",W.LBP="LBP",W.LKR="LKR",W.LRD="LRD",W.MKD="MKD",W.MNT="MNT",W.MUR="MUR",W.MXN="MXN",W.MYR="MYR",W.MZN="MZN",W.NAD="NAD",W.NGN="NGN",W.NIO="NIO",W.NOK="NOK",W.NPR="NPR",W.NZD="NZD",W.OMR="OMR",W.PAB="PAB",W.PEN="PEN",W.PHP="PHP",W.PKR="PKR",W.PLN="PLN",W.PYG="PYG",W.QAR="QAR",W.RON="RON",W.RSD="RSD",W.RUB="RUB",W.SAR="SAR",W.SBD="SBD",W.SCR="SCR",W.SEK="SEK",W.SGD="SGD",W.SHP="SHP",W.SOS="SOS",W.SRD="SRD",W.SVC="SVC",W.SYP="SYP",W.THB="THB",W.TRY="TRY",W.TTD="TTD",W.TWD="TWD",W.UAH="UAH",W.USD="USD",W.UYU="UYU",W.UZS="UZS",W.VES="VES",W.VND="VND",W.XCD="XCD",W.YER="YER",W.ZAR="ZAR",W.ZWD="ZWD",exports.DayOfWeek=void 0,(q=exports.DayOfWeek||(exports.DayOfWeek={})).Sunday="Sunday",q.Monday="Monday",q.Tuesday="Tuesday",q.Wednesday="Wednesday",q.Thursday="Thursday",q.Friday="Friday",q.Saturday="Saturday",exports.FaceMovementDetectionLevel=void 0,(V=exports.FaceMovementDetectionLevel||(exports.FaceMovementDetectionLevel={})).None="None",V.OneRangeOfMotion="OneRangeOfMotion",V.MultipleRangesOfMotion="MultipleRangesOfMotion",V.AllRangesOfMotion="AllRangesOfMotion",exports.Gender=void 0,(K=exports.Gender||(exports.Gender={})).Male="Male",K.Female="Female",exports.IdentityDocumentType=void 0,(j=exports.IdentityDocumentType||(exports.IdentityDocumentType={})).None="None",j.National="National",j.Passport="Passport",j.Drivers="Drivers",j.Other="Other",j.GhanaCard="GhanaCard",j.SocialSecurity="SocialSecurity",j.Voter="Voter",j.IdCard="IdCard",exports.KybProvider=void 0,(Z=exports.KybProvider||(exports.KybProvider={})).None="None",Z.Manual="Manual",exports.KybStatus=void 0,(Q=exports.KybStatus||(exports.KybStatus={})).NotRequired="NotRequired",Q.Unverified="Unverified",Q.Verified="Verified",Q.Rejected="Rejected",exports.KycProvider=void 0,(Y=exports.KycProvider||(exports.KycProvider={})).None="None",Y.SmileIdentity="SmileIdentity",Y.GMoney="GMoney",Y.NIA="NIA",Y.Manual="Manual",exports.KycStatus=void 0,(J=exports.KycStatus||(exports.KycStatus={})).None="None",J.Unverified="Unverified",J.Verified="Verified",J.Rejected="Rejected",J.Review="Review",exports.KycVerificationType=void 0,(z=exports.KycVerificationType||(exports.KycVerificationType={})).Identity="Identity",z.Liveness="Liveness",z.Facial="Facial",z.Other="Other",exports.Language=void 0,(X=exports.Language||(exports.Language={})).None="None",X.AAR="AAR",X.AFR="AFR",X.AGQ="AGQ",X.AKA="AKA",X.AMH="AMH",X.ARA="ARA",X.ARN="ARN",X.ASM="ASM",X.ASA="ASA",X.AST="AST",X.AZE="AZE",X.BAK="BAK",X.BAS="BAS",X.BEL="BEL",X.BEM="BEM",X.BEZ="BEZ",X.BUL="BUL",X.BIN="BIN",X.BAM="BAM",X.BEN="BEN",X.BOD="BOD",X.BRE="BRE",X.BRX="BRX",X.BOS="BOS",X.BYN="BYN",X.CAT="CAT",X.CHE="CHE",X.CGG="CGG",X.CHR="CHR",X.COS="COS",X.CES="CES",X.CHU="CHU",X.CYM="CYM",X.DAN="DAN",X.DAV="DAV",X.DEU="DEU",X.DJE="DJE",X.DSB="DSB",X.DUA="DUA",X.DIV="DIV",X.DYO="DYO",X.DZO="DZO",X.EBU="EBU",X.EWE="EWE",X.ELL="ELL",X.ENG="ENG",X.EPO="EPO",X.SPA="SPA",X.EST="EST",X.EUS="EUS",X.EWO="EWO",X.FAS="FAS",X.FUL="FUL",X.FIN="FIN",X.FIL="FIL",X.FAO="FAO",X.FRA="FRA",X.FUR="FUR",X.FRY="FRY",X.GLE="GLE",X.GLA="GLA",X.GLG="GLG",X.GRN="GRN",X.GSW="GSW",X.GUJ="GUJ",X.GUZ="GUZ",X.GLV="GLV",X.HAU="HAU",X.HAW="HAW",X.HEB="HEB",X.HIN="HIN",X.HRV="HRV",X.HSB="HSB",X.HUN="HUN",X.HYE="HYE",X.INA="INA",X.IBB="IBB",X.IND="IND",X.IBO="IBO",X.III="III",X.ISL="ISL",X.ITA="ITA",X.IKU="IKU",X.JPN="JPN",X.JGO="JGO",X.JMC="JMC",X.JAV="JAV",X.KAT="KAT",X.KAB="KAB",X.KAM="KAM",X.KDE="KDE",X.KEA="KEA",X.KHQ="KHQ",X.KIK="KIK",X.KAZ="KAZ",X.KKJ="KKJ",X.KAL="KAL",X.KLN="KLN",X.KHM="KHM",X.KAN="KAN",X.KOR="KOR",X.KOK="KOK",X.KAU="KAU",X.KAS="KAS",X.KSB="KSB",X.KSF="KSF",X.KSH="KSH",X.KUR="KUR",X.COR="COR",X.KIR="KIR",X.LAT="LAT",X.LAG="LAG",X.LTZ="LTZ",X.LUG="LUG",X.LKT="LKT",X.LIN="LIN",X.LAO="LAO",X.LRC="LRC",X.LIT="LIT",X.LUB="LUB",X.LUO="LUO",X.LUY="LUY",X.LAV="LAV",X.MAS="MAS",X.MER="MER",X.MFE="MFE",X.MLG="MLG",X.MGH="MGH",X.MGO="MGO",X.MRI="MRI",X.MKD="MKD",X.MAL="MAL",X.MON="MON",X.MNI="MNI",X.MOH="MOH",X.MAR="MAR",X.MSA="MSA",X.MLT="MLT",X.MUA="MUA",X.MYA="MYA",X.MZN="MZN",X.NAQ="NAQ",X.NDE="NDE",X.NDS="NDS",X.NEP="NEP",X.NLD="NLD",X.NMG="NMG",X.NNO="NNO",X.NNH="NNH",X.NOB="NOB",X.NQO="NQO",X.NBL="NBL",X.NSO="NSO",X.NUS="NUS",X.NYN="NYN",X.OCI="OCI",X.ORM="ORM",X.ORI="ORI",X.OSS="OSS",X.PAN="PAN",X.PAP="PAP",X.POL="POL",X.PRG="PRG",X.PRS="PRS",X.PUS="PUS",X.POR="POR",X.QUC="QUC",X.QUB="QUB",X.ROH="ROH",X.RUN="RUN",X.RON="RON",X.ROF="ROF",X.RUS="RUS",X.KIN="KIN",X.RWK="RWK",X.SAN="SAN",X.SAH="SAH",X.SAQ="SAQ",X.SBP="SBP",X.SND="SND",X.SME="SME",X.SEH="SEH",X.SES="SES",X.SAG="SAG",X.SHI="SHI",X.SIN="SIN",X.SLK="SLK",X.SLV="SLV",X.SMA="SMA",X.SMJ="SMJ",X.SMN="SMN",X.SMS="SMS",X.SNA="SNA",X.SOM="SOM",X.SQI="SQI",X.SRP="SRP",X.SSW="SSW",X.SSY="SSY",X.SOT="SOT",X.SWE="SWE",X.SWA="SWA",X.SYR="SYR",X.TAM="TAM",X.TEL="TEL",X.TEO="TEO",X.TGK="TGK",X.THA="THA",X.TIR="TIR",X.TIG="TIG",X.TUK="TUK",X.TSN="TSN",X.TON="TON",X.TUR="TUR",X.TSO="TSO",X.TAT="TAT",X.TWQ="TWQ",X.TZM="TZM",X.UIG="UIG",X.UKR="UKR",X.URD="URD",X.UZB="UZB",X.VAI="VAI",X.VEN="VEN",X.VIE="VIE",X.VOL="VOL",X.VUN="VUN",X.WAE="WAE",X.WAL="WAL",X.WOL="WOL",X.XHO="XHO",X.XOG="XOG",X.YAV="YAV",X.YID="YID",X.YOR="YOR",X.ZGH="ZGH",X.ZHO="ZHO",X.ZUL="ZUL",exports.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"}(exports.MerchantCategory||(exports.MerchantCategory={})),exports.MerchantFileType=void 0,(_=exports.MerchantFileType||(exports.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",exports.MobileWalletOperator=void 0,($=exports.MobileWalletOperator||(exports.MobileWalletOperator={})).None="None",$.MTN="MTN",$.VDF="VDF",$.ATL="ATL",$.TGO="TGO",$.ATG="ATG",$.GMY="GMY",$.ZPY="ZPY",$.GHP="GHP",$.TCG="TCG",$.VDC="VDC",$.CLC="CLC",$.TKM="TKM";exports.Month=void 0,(ee=exports.Month||(exports.Month={}))[ee.JAN=1]="JAN",ee[ee.FEB=2]="FEB",ee[ee.MAR=3]="MAR",ee[ee.APR=4]="APR",ee[ee.MAY=5]="MAY",ee[ee.JUN=6]="JUN",ee[ee.JUL=7]="JUL",ee[ee.AUG=8]="AUG",ee[ee.SEP=9]="SEP",ee[ee.OCT=10]="OCT",ee[ee.NOV=11]="NOV",ee[ee.DEC=12]="DEC",exports.ProductType=void 0,(te=exports.ProductType||(exports.ProductType={})).Airtime="Airtime",te.Internet="Internet",te.Television="Television",te.Utilities="Utilities",te.Churches="Churches",te.Education="Education",te.Medical="Medical",te.Transport="Transport",te.Finance="Finance",te.Insurance="Insurance",te.Loans="Loans",te.Pensions="Pensions",te.General="General",te.Other="Other",te.DataBundle="DataBundle",te.VoiceBundle="VoiceBundle",te.Charity="Charity",te.Rent="Rent",te.MobileMoneyTransfer="MobileMoneyTransfer",te.PostPaidBills="PostPaidBills",te.SmsBundle="SmsBundle",te.Fuel="Fuel",te.Oil="Oil",te.Gas="Gas",exports.QrCodeType=void 0,(ie=exports.QrCodeType||(exports.QrCodeType={})).NONE="NONE",ie.V2QR="V2QR",ie.GHQR="GHQR",ie.NIBSSQR="NIBSSQR",exports.RepeatInterval=void 0,(oe=exports.RepeatInterval||(exports.RepeatInterval={})).Weekly="Weekly",oe.Monthly="Monthly";var re,ae,ce,de,le,ue,he="/v1/lookup",ve=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).cardIssuerCountryCache=new Map,t.addressLocationCache=new Map,t.digitalAddressCache=new Map,t.bankCache=new Map,t.currencyCache=void 0,t.countryCache=void 0,t.languageCache=void 0,t.allCurrencyCache=void 0,t.allCountryCache=void 0,t.allLanguageCache=void 0,t.mobileWalletOperatorCache=void 0,t.productTypeCache=void 0,t.merchantCategoryCache=void 0,t}f(t,e);var i=t.prototype;return i.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(he+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(he+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(he+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(he+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(he+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(he+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(he+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(he+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(he+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getBanks=function(e){try{var t=function(){return Promise.resolve(i.bankCache.get(e||exports.Country.None)||[])},i=this,o=function(){if(!i.bankCache.has(e||exports.Country.None)){var t=function(){if(null==e||e===exports.Country.None){var t=i.bankCache,o=t.set,n=exports.Country.None;return Promise.resolve(i.request(he+"/bank","GET")).then(function(e){o.call(t,n,e)})}var s=i.bankCache,r=s.set;return Promise.resolve(i.request(he+"/bank?country="+e,"GET")).then(function(t){r.call(s,e,t)})}();if(t&&t.then)return t.then(function(){})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,o=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,o=t.set;return Promise.resolve(i.request(he+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getAddressFromLocation=function(e,t){try{var i,o=function(e){return i?e:Promise.reject(new E(400,null,"Invalid location coordinates."))},n=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var o=function(){var e=Promise.resolve(n.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!n.addressLocationCache.has(s)){var i=n.addressLocationCache,o=i.set;return Promise.resolve(n.request(he+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){o.call(i,s,e)})}}();return r&&r.then?r.then(o):o()}}();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(e){return Promise.reject(e)}},i.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new E(400,null,"Invalid digital address format."))},o=this,n=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(o.digitalAddressCache.get(e)||null);return t=1,i},n=function(){if(!o.digitalAddressCache.has(e)){var t=o.digitalAddressCache,i=t.set;return Promise.resolve(o.request(he+"/address/"+e,"GET")).then(function(o){i.call(t,e,o)})}}();return n&&n.then?n.then(i):i()}}();return Promise.resolve(n&&n.then?n.then(i):i(n))}catch(e){return Promise.reject(e)}},t}(k);exports.CardIssuer=void 0,(re=exports.CardIssuer||(exports.CardIssuer={})).AmericanExpress="AmericanExpress",re.DinersClub="DinersClub",re.Discover="Discover",re.JCB="JCB",re.Maestro="Maestro",re.MasterCard="MasterCard",re.Switch="Switch",re.Visa="Visa",re.Unknown="Unknown",exports.FeeType=void 0,(ae=exports.FeeType||(exports.FeeType={}))[ae.None=0]="None",ae[ae.FeeTakenFromSourceByMerchant=1]="FeeTakenFromSourceByMerchant",ae[ae.Elevy=2]="Elevy",ae[ae.ExternalPaymentProcessorFee=3]="ExternalPaymentProcessorFee",ae[ae.ExternallyProcessedElevy=4]="ExternallyProcessedElevy",ae[ae.InternalUserTransactionFee=5]="InternalUserTransactionFee",ae[ae.ExternalUserTransactionFee=6]="ExternalUserTransactionFee",ae[ae.InternalPaymentProcessorFee=7]="InternalPaymentProcessorFee",exports.MerchantPaymentType=void 0,(ce=exports.MerchantPaymentType||(exports.MerchantPaymentType={})).Unspecified="Unspecified",ce.CashOut="CashOut",ce.BuyingGoods="BuyingGoods",ce.BillPayment="BillPayment",ce.GhIPSSQrCode="GhIPSSQrCode",exports.ReceiptType=void 0,(de=exports.ReceiptType||(exports.ReceiptType={})).Consumer="Consumer",de.Merchant="Merchant",exports.RefundType=void 0,(le=exports.RefundType||(exports.RefundType={}))[le.Manual=1]="Manual",le[le.Auto=2]="Auto",exports.TransactionCategory=void 0,(ue=exports.TransactionCategory||(exports.TransactionCategory={}))[ue.Unknown=0]="Unknown",ue[ue.Generic=1]="Generic",ue[ue.BankAccount=2]="BankAccount",ue[ue.Card=3]="Card",ue[ue.MobileWallet=4]="MobileWallet",ue[ue.Cash=5]="Cash",ue[ue.Merchant=6]="Merchant",ue[ue.QrCode=7]="QrCode",ue[ue.DigitalWallet=8]="DigitalWallet",ue[ue.Wallet=8]="Wallet",ue[ue.BillPayment=9]="BillPayment";var me,Ae,pe,fe=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};fe.none=void 0,exports.TransactionIconType=void 0,(me=exports.TransactionIconType||(exports.TransactionIconType={}))[me.Bank=0]="Bank",me[me.MobileWallet=1]="MobileWallet",me[me.Card=2]="Card",me[me.Cash=3]="Cash",me[me.Merchant=4]="Merchant",me[me.QrCode=5]="QrCode",me[me.DigitalWallet=6]="DigitalWallet",me[me.CellC=7]="CellC",me[me.Telkom=8]="Telkom",me[me.TelkomMobile=9]="TelkomMobile",me[me.MTN=10]="MTN",me[me.Vodacom=11]="Vodacom",me[me.Vodafone=12]="Vodafone",me[me.AirtelTigo=13]="AirtelTigo",me[me.GhanaPay=14]="GhanaPay",me[me.Zeepay=15]="Zeepay",me[me.Glo=16]="Glo",me[me.Surfline=17]="Surfline",me[me.Busy4G=18]="Busy4G",me[me.DSTV=19]="DSTV",me[me.GoTV=20]="GoTV",me[me.StarTimesTV=21]="StarTimesTV",me[me.ECG=22]="ECG",me[me.GhanaWater=23]="GhanaWater",me[me.Telecel=24]="Telecel",exports.TransactionStatus=void 0,(Ae=exports.TransactionStatus||(exports.TransactionStatus={}))[Ae.NotStarted=0]="NotStarted",Ae[Ae.Success=1]="Success",Ae[Ae.Failed=2]="Failed",Ae[Ae.Processing=3]="Processing",Ae[Ae.Pending=4]="Pending",Ae[Ae.Authorized=5]="Authorized",Ae[Ae.Declined=6]="Declined",Ae[Ae.ValidationError=7]="ValidationError",Ae[Ae.Requires3DSecure=8]="Requires3DSecure",Ae[Ae.RequiresPin=9]="RequiresPin",Ae[Ae.Expired=10]="Expired",Ae[Ae.InsufficientFunds=11]="InsufficientFunds",Ae[Ae.AddressVerificationFailed=12]="AddressVerificationFailed",Ae[Ae.Ignored=13]="Ignored",Ae[Ae.ExternallyFunded=14]="ExternallyFunded",Ae[Ae.ProcessorUnavailable=15]="ProcessorUnavailable",Ae[Ae.TimedOut=16]="TimedOut",Ae[Ae.Indeterminate=17]="Indeterminate",Ae[Ae.RequiresConfirmation=18]="RequiresConfirmation",Ae[Ae.RequiresAddress=19]="RequiresAddress",Ae[Ae.Delayed=20]="Delayed",Ae[Ae.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",Ae[Ae.Unrecoverable=22]="Unrecoverable",Ae[Ae.Reversed=23]="Reversed",exports.TransactionType=void 0,(pe=exports.TransactionType||(exports.TransactionType={}))[pe.Source=1]="Source",pe[pe.Destination=2]="Destination";var Se,Ce="/v1/pay",ye="/v2/token",ge="/v1/transaction",Pe="/v1/notification",Re=/*#__PURE__*/function(e){function t(t,i){var o;return void 0===i&&(i=!1),(o=e.call(this,t,i)||this).hubConnection=void 0,o.baseUrl=void 0,o.activeTransactions=new Map,o.manuallyStartedPaymentStatusChecking=!1,o.baseUrl=t.defaults.baseURL,o.hubConnection=(new h.HubConnectionBuilder).withUrl(""+o.baseUrl+Ce+"/hub",{accessTokenFactory:function(){return g.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(o.consoleLogging?h.LogLevel.Debug:h.LogLevel.None).build(),o}f(t,e);var i=t.prototype;return i.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(Ce,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(Ce+"/merchant/"+e,"POST",t)).then(function(e){return g.accessToken=g.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(Ce+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.paymentReceipt=function(e){try{return Promise.resolve(this.request(Ce+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.createCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card","POST",e))}catch(e){return Promise.reject(e)}},i.createBankAccountToken=function(e){try{return Promise.resolve(this.request(ye+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},i.verifyCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},i.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(ye+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.submitPinCode=function(e,t){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},i.rejectPinCode=function(e){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},i.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(ge+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},i.submitAddress=function(e,t){try{return Promise.resolve(this.request(ge+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},i.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},i.sendEmailPaymentNotification=function(e,t,i){try{var o={toEmailAddress:t,templateName:i,receiptType:exports.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/email/"+e,"POST",o))}catch(e){return Promise.reject(e)}},i.sendSmsPaymentNotification=function(e,t){try{var i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:exports.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/sms/"+e,"POST",i))}catch(e){return Promise.reject(e)}},i.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,o=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 m(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)?m(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=o()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===h.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},i.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,o=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 n=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(n&&n.then?n.then(o):o(n))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(o,n){try{var s=function(){function o(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var n=function(){if(t.hubConnection.state!==h.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return n&&n.then?n.then(o):o(n)}()}catch(e){return n(e)}return s&&s.then?s.then(void 0,n):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 o(e){return i?e:Promise.resolve(null)}var n=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var o=Promise.resolve(e);return i=1,o});t.manuallyStartedPaymentStatusChecking=!0}();return n&&n.then?n.then(o):o(n)})}catch(e){return Promise.reject(e)}},i.getOfflinePaymentFormUrl=function(e,t,i,o,n){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(n||{})):Buffer.from(JSON.stringify(n||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(o||"")+"|"+s},i.getRequiredPinLength=function(e){return e===exports.MobileWalletOperator.VDF||"VDF"===e.toString()||e===exports.MobileWalletOperator.TCG||"TCG"===e.toString()?6:4},i.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,o=1,n=0,s=0;i;)s=parseInt(e.charAt(--i),10),n+=(o^=1)?t[s]:s;return n%10==0},i.checkPaymentUpdateStatus=function(e){var t=this,i=this.activeTransactions.get(e.paymentReference);i&&JSON.stringify(e)!==i.lastJsonResponse?(i.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(b,e),function(e){var i=!1,o=function(o){if(!i){var n={message:o.message,transactionReference:o.reference,paymentStatusResponse:e};if(o.status===exports.TransactionStatus.RequiresConfirmation||o.status===exports.TransactionStatus.RequiresInitialConfirmation){i=!0;var s=e.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||e.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||e.paymentDestinations.merchants.find(function(e){return e.accountHolder})||e.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||e.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;n.confirmationData={amountInCents:o.amountInCents,sourceAccountHolder:o.accountHolder||null,destinationAccountHolder:null!==s?s.accountHolder:null,fees:o.fees},t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(n,{depth:null})),t.events.publish(D,n)}else o.status===exports.TransactionStatus.RequiresPin?(i=!0,n.pinLength=t.getRequiredPinLength(exports.MobileWalletOperator.None),o&&o.mobileWalletOperator&&(n.pinLength=t.getRequiredPinLength(o.mobileWalletOperator)),t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(n,{depth:null})),t.events.publish(N,n)):o.status===exports.TransactionStatus.RequiresAddress&&(i=!0,t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(n,{depth:null})),t.events.publish(B,n))}};e.paymentSources.cards.forEach(function(n){if(!i&&n.status===exports.TransactionStatus.Requires3DSecure&&n.threeDSecureUrl){i=!0,t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;var s={url:n.threeDSecureUrl};t.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(s,{depth:null})),t.events.publish(H,s)}else o(n)}),!i&&t.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,t.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),t.events.publish(L)),e.paymentSources.mobileWallets.forEach(function(e){return o(e)}),e.paymentSources.bankAccounts.forEach(function(e){return o(e)}),e.paymentDestinations.bankAccounts.forEach(function(e){return o(e)}),e.paymentDestinations.merchants.forEach(function(e){return o(e)}),e.paymentDestinations.mobileWallets.forEach(function(e){return o(e)}),e.paymentDestinations.qrCodes.forEach(function(e){return o(e)}),e.paymentDestinations.cards.forEach(function(e){return o(e)}),e.paymentDestinations.wallets.forEach(function(e){return o(e)}),e.paymentDestinations.bills.forEach(function(e){return o(e)})}(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(M,e),this.removePaymentStatusCheckInterval(e.paymentReference),this.activeTransactions.delete(e.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},i.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var o=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var o=function(){if(t){i.checkPaymentUpdateStatus(t);var o=function(){if(t.isComplete){var o=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(o&&o.then)return o.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(o&&o.then)return o.then(function(){})}}();if(o&&o.then)return o.then(function(){})})}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var o=this.activeTransactions.get(e);clearInterval(o.statusCheckTimer),o.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},i.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},t}(k),Te="/v1/consumer",Ie="/v1/consumer/messages",be="/v1/consumer/account",Me=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Te,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Te,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Te,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(R),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Te,"GET"))}catch(e){return Promise.reject(e)}},i.getConsumerAgreement=function(){try{return Promise.resolve(this.request(Te+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptConsumerAgreement=function(){try{return Promise.resolve(this.request(Te+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(be+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(be+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(Ie,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(k),He=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).qrCache=new Map,t}f(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,o=function(){if(!i.qrCache.has(e)){var t=i.qrCache,o=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(v.default.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(k),Ne="/v1/merchant",De="/v1/merchant/otp",Be="/v1/merchant/pos",Le="/v1/merchant/product",Ee="/v1/merchant/user",Oe=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).productDetailCache=new Map,t.productsCache=[],t}f(t,e);var i=t.prototype;return i.createMerchantProductProxy=function(e){var t=A({},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}})},i.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(Le+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.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)}},i.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)}},i.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)}},i.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var o=i.find(function(t){return t.type===e});if(o){var n=o.merchants.find(function(e){return e.name===t});if(n)return Promise.resolve(n.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},i.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,o=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,o=t.set;return Promise.resolve(i.request(Le+"/details/"+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+Le,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},i.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Le,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Le,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.deleteProduct=function(e){try{return Promise.resolve(this.request(Le+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.groupProductsByName=function(e){return e.reduce(function(e,t){var i=t.name.split("|").map(function(e){return e.trim()}),o=i[0],n=i[1];return e[o]||(e[o]=[]),e[o].push(A({},t,{name:n||t.name})),e},{})},i.getMerchant=function(){try{return Promise.resolve(this.request(Ne,"GET"))}catch(e){return Promise.reject(e)}},i.createMerchant=function(e){try{return Promise.resolve(this.request(Ne,"POST",e))}catch(e){return Promise.reject(e)}},i.updateMerchant=function(e){try{return Promise.resolve(this.request(Ne,"PUT",e))}catch(e){return Promise.reject(e)}},i.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e,t){try{var i={otpValue:e},o="";return t&&(o=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/validate/"+o,"POST",i)).then(function(e){return g.accessToken=e.accessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.validateMerchantName=function(e){try{return Promise.resolve(this.request(Ne+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(g.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},i.createUser=function(e,t,i,o){try{return Promise.resolve(this.request(Ee,"POST",{username:e,password:t,mobileNumber:i,emailAddress:o,isLockedOut:!1})).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.switchToMerchant=function(e){try{return Promise.resolve(this.request(Ee+"/switch/"+e,"POST")).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getUserMerchants=function(){try{return Promise.resolve(this.request(Ee,"GET"))}catch(e){return Promise.reject(e)}},i.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Be+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return g.accessToken=e.checkAccessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(Be+"/config/"+e+"/"+t,"GET")).then(function(e){return g.accessToken=e.accessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodes=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=exports.Currency[t]),Promise.resolve(this.request(Be+"/qr?amount="+e+"&currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodeUrls=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=exports.Currency[t]),Promise.resolve(this.request(Be+"/qr-urls?amount="+e+"&currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i.uploadFile=function(e){try{return Promise.resolve(this.request(Ne+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},t}(k),ke=/\{@?\w+}/g,xe=/*#__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 o=this.tokens[i];"string"==typeof o.name?e.hasOwnProperty(o.name)?t.push(this.toText(e[o.name])):t.push(o.raw):t.push(o.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,o=0;o<this.tokens.length&&i<e.length;++o){var n=this.tokens[o];"string"==typeof n.name&&(t[n.name]=this.capture(e[i],n.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,o=[];null!==(t=ke.exec(e));){t.index!==i&&o.push({text:e.slice(i,t.index)});var n=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),n=!0),o.push({name:s,destructure:n,raw:t[0]}),i=ke.lastIndex}return i>=0&&i<e.length&&o.push({text:e.slice(i)}),o},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}();exports.LogLevel=void 0,(Se=exports.LogLevel||(exports.LogLevel={}))[Se.Trace=0]="Trace",Se[Se.Debug=1]="Debug",Se[Se.Information=2]="Information",Se[Se.Warning=3]="Warning",Se[Se.Error=4]="Error",Se[Se.Critical=5]="Critical";var Ge,we,Fe,Ue,We,qe,Ve,Ke,je,Ze,Qe,Ye,Je,ze,Xe=/*#__PURE__*/function(e){function t(t,i,o,n){var s;return void 0===i&&(i=!1),void 0===o&&(o=100),void 0===n&&(n=6e4),(s=e.call(this,t,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=o,s.batchInterval=n,s.maxQueueSize=Math.min(10*o,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}f(t,e);var i=t.prototype;return i.flush=function(){return this.submitMessageBatch(!1)},i.fatal=function(e){return this.log(exports.LogLevel.Critical,e,[].slice.call(arguments,1))},i.error=function(e){return this.log(exports.LogLevel.Error,e,[].slice.call(arguments,1))},i.warn=function(e){return this.log(exports.LogLevel.Warning,e,[].slice.call(arguments,1))},i.info=function(e){return this.log(exports.LogLevel.Information,e,[].slice.call(arguments,1))},i.debug=function(e){return this.log(exports.LogLevel.Debug,e,[].slice.call(arguments,1))},i.trace=function(e){return this.log(exports.LogLevel.Trace,e,[].slice.call(arguments,1))},i.log=function(e,t,i){var o={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},n=new xe(o.template),s=n.render(n.bindProperties(o.properties));if(this.consoleLogging)switch(e){case exports.LogLevel.Critical:case exports.LogLevel.Error:console.error(s);break;case exports.LogLevel.Warning:console.warn(s);break;case exports.LogLevel.Information:console.info(s);break;case exports.LogLevel.Debug:case exports.LogLevel.Trace:console.debug(s);break;default:console.log(s)}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()+" ["+exports.LogLevel[e].toUpperCase()+"] "+s},i.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var o=this.messageBatch.splice(0,this.batchSize);o.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",o.length),i=this.request("/v1/logging","POST",o).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,o),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},t}(k),_e=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(k),$e="/v1/content",et=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}f(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request($e,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request($e+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(k),tt="/v1/reports/transactions",it=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).dailyTransactionCache=new Map,t}f(t,e);var i=t.prototype;return i.getRecentTransactions=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(tt+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},i.getTransactionSummary=function(e){try{var t=e.toString();return Number.isInteger(e)&&(t=exports.Currency[e]),Promise.resolve(this.request(tt+"/summary?currency="+t,"GET"))}catch(e){return Promise.reject(e)}},i.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)}},i.getDailyTransactions=function(e,t,i){try{var o=function(){var e=l(t),o=l(i);return r.filter(function(t){var i=l(t.date);return i>=e&&i<=o}).sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})},n=this,s=e.toString();if(Number.isInteger(e)&&(s=exports.Currency[e]),!t||!i)return Promise.resolve(n.request(tt+"/daily?currency="+s+"&dateFrom="+(t||"")+"&dateTo="+(i||""),"GET"));var r=n.dailyTransactionCache.get(s)||[],a=t,c=i,d=!0,l=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:new Date(e).toISOString().split("T")[0]},u=l(new Date);if(r.sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}),r.length>0){var h=r[r.length-1],v=r[0],m=l(t),A=l(i),p=l(v.date),f=l(h.date),S=m>=p&&A<=f,C=A>=u;S&&!C?d=!1:S&&C?(a=u,d=!0):m>=p&&A>f&&(a=f,d=!0)}var y=function(){if(d)return Promise.resolve(n.request(tt+"/daily?currency="+s+"&dateFrom="+(a||"")+"&dateTo="+(c||""),"GET")).then(function(e){var t=new Map;r.forEach(function(e){return t.set(l(e.date),e)}),e.forEach(function(e){return t.set(l(e.date),e)}),r=Array.from(t.values()),n.dailyTransactionCache.set(s,r)})}();return Promise.resolve(y&&y.then?y.then(o):o())}catch(e){return Promise.reject(e)}},t}(k);exports.AddressType=void 0,(Ge=exports.AddressType||(exports.AddressType={})).MAIN="MAIN",Ge.POST="POST",Ge.BILL="BILL",Ge.SHIP="SHIP",exports.BankAccountType=void 0,(we=exports.BankAccountType||(exports.BankAccountType={})).SAVINGS="SAVINGS",we.CURRENT="CURRENT",we.FIXED="FIXED",we.MONEYMARKET="MONEYMARKET",we.CODA="CODA",exports.BeneficiaryAccountType=void 0,(Fe=exports.BeneficiaryAccountType||(exports.BeneficiaryAccountType={})).None="None",Fe.MobileNumber="MobileNumber",Fe.WaterMeter="WaterMeter",Fe.ElectricityMeter="ElectricityMeter",Fe.PayShap="PayShap",exports.ConsumerAttribute=void 0,(Ue=exports.ConsumerAttribute||(exports.ConsumerAttribute={}))[Ue.VisaPAN=1]="VisaPAN",Ue[Ue.MasterCardPAN=2]="MasterCardPAN",Ue[Ue.RegistrationInvitationCode=3]="RegistrationInvitationCode",Ue[Ue.GMoneyWalletNumber=4]="GMoneyWalletNumber",Ue[Ue.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",Ue[Ue.MarketingConsent=6]="MarketingConsent",Ue[Ue.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",Ue[Ue.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",exports.KycStatusSummary=void 0,(We=exports.KycStatusSummary||(exports.KycStatusSummary={})).Unverified="Unverified",We.Verified="Verified",We.Rejected="Rejected",exports.DevicePlatform=void 0,(qe=exports.DevicePlatform||(exports.DevicePlatform={})).Unknown="Unknown",qe.Android="Android",qe.iOS="iOS",qe.Web="Web",exports.EmployeeNotificationEvent=void 0,(Ve=exports.EmployeeNotificationEvent||(exports.EmployeeNotificationEvent={}))[Ve.PaymentSuccessful=1]="PaymentSuccessful",Ve[Ve.PaymentFailed=2]="PaymentFailed",exports.FuelPurchaseMethod=void 0,(Ke=exports.FuelPurchaseMethod||(exports.FuelPurchaseMethod={})).ByAmount="ByAmount",Ke.ByQuantity="ByQuantity",Ke.ByAmountAndQuantity="ByAmountAndQuantity",exports.Industry=void 0,(je=exports.Industry||(exports.Industry={})).None="None",je.Retail="Retail",je.Restaurant="Restaurant",je.Forecourt="Forecourt",je.Workshop="Workshop",exports.KybStatusSummary=void 0,(Ze=exports.KybStatusSummary||(exports.KybStatusSummary={})).Unverified="Unverified",Ze.Verified="Verified",Ze.PartiallyVerified="PartiallyVerified",Ze.Rejected="Rejected",exports.MerchantAttribute=void 0,(Qe=exports.MerchantAttribute||(exports.MerchantAttribute={}))[Qe.GhIPSSMerchantId=2]="GhIPSSMerchantId",Qe[Qe.VisaPAN=3]="VisaPAN",Qe[Qe.MasterCardPAN=4]="MasterCardPAN",Qe[Qe.NIBSSMerchantReference=6]="NIBSSMerchantReference",exports.MerchantNotificationEvent=void 0,(Ye=exports.MerchantNotificationEvent||(exports.MerchantNotificationEvent={}))[Ye.PaymentSuccessful=1]="PaymentSuccessful",Ye[Ye.PaymentFailed=2]="PaymentFailed",Ye[Ye.SettlementConfirmation=3]="SettlementConfirmation",exports.SettlementTime=void 0,(Je=exports.SettlementTime||(exports.SettlementTime={})).None="None",Je.IntraDay="IntraDay",Je.EndOfDay="EndOfDay",Je.TPlusOne="TPlusOne",Je.TPlusTwo="TPlusTwo",Je.TPlusThree="TPlusThree",Je.TPlusSeven="TPlusSeven",exports.TerminalType=void 0,(ze=exports.TerminalType||(exports.TerminalType={})).None="None",ze.GHIPPS="GHIPPS",ze.NIBSS="NIBSS",ze.PAX="PAX",ze.Verifone="Verifone";var ot="-".repeat(120),nt=/*#__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=u.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=c.default.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:A({},e.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":e.language||"en"})}),l.default(this.axiosInstance,function(e){try{var t,o=function(i){return t?i:Promise.reject(e)},n="/v1/auth/refresh";if(e.request.path===n)return Promise.reject(e);var s=function(){if(g.refreshToken)return function(o,s){try{var r=function(){var o={method:"POST",url:n,headers:{Authorization:"Bearer "+g.refreshToken},skipAuthRefresh:!0};return i.consoleLogging&&(console.debug("\r\n"+ot),console.debug("-- AUTO REFRESH --"),console.debug(ot),console.debug(o.method+": "+i.baseUrl+o.url),console.debug(ot),o.headers&&(console.debug("-- HEADERS --"),console.dir(o.headers)),o.data&&(console.debug("-- REQUEST --"),console.dir(o.data,{depth:null}))),Promise.resolve(i.axiosInstance(o)).then(function(o){if(i.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}),console.debug(ot)),o.data&&o.data.success){g.accessToken=o.data.result.accessToken,g.refreshToken=o.data.result.refreshToken,i.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(o.data.result,{depth:null})),i.events.publish(T,o.data.result),e&&(e.response.config.headers.Authorization="Bearer "+g.accessToken);var n=Promise.resolve(e);return t=1,n}i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R)})}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(e){throw i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R),e});g.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R))}();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(e){return Promise.reject(e)}}),d.default(this.axiosInstance,{retries:e.retries||3,retryDelay:d.default.exponentialDelay,onRetry:function(e,i,o){t.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",i);var n={retryCount:e};t.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(n,{depth:null})),t.events.publish(I,n)}}),this.consoleLogging=e.consoleLogging||!1,this.logBatchSize=e.logBatchSize||100,this.logBatchInterval=e.logBatchInterval||6e4,this.system=new _e(this.axiosInstance,this.consoleLogging),this.content=new et(this.axiosInstance,this.consoleLogging),this.log=new Xe(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new se(this.axiosInstance,this.consoleLogging),this.consumers=new Me(this.axiosInstance,this.consoleLogging),this.merchants=new Oe(this.axiosInstance,this.consoleLogging),this.lookups=new ve(this.axiosInstance,this.consoleLogging),this.payments=new Re(this.axiosInstance,this.consoleLogging),this.qrCodes=new He(this.axiosInstance,this.consoleLogging),this.reports=new it(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return e.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},e}();nt.OnSessionStarted=P,nt.OnSessionExpired=R,nt.OnAutomaticRefresh=T,nt.OnApiRetry=I,nt.OnPaymentStatusUpdate=b,nt.OnPaymentComplete=M,nt.OnRequires3DSecure=H,nt.OnRequiresPin=N,nt.OnRequiresConfirmation=D,nt.OnRequiresAddress=B,nt.OnComplete3DSecure=L,exports.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},exports.AdditionalTerminalReference=function(){this.terminalType=void 0,this.reference=void 0},exports.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},exports.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},exports.ApiError=E,exports.ApiTokens=g,exports.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},exports.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},exports.Balance=function(){this.currency=void 0,this.availableAmountInCents=void 0,this.currentAmountInCents=void 0},exports.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},exports.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},exports.BankAccountRequest=function(){this.accountNumber=void 0,this.bank=void 0},exports.BankAccountResponse=function(){this.token=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.CardRequest=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},exports.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},exports.CardSettings=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.CategoryDetails=function(){this.type=void 0,this.merchants=void 0},exports.ChangePasswordRequest=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},exports.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},exports.ConsumerAccounts=function(){this.bankAccounts=void 0,this.mobileWallets=void 0,this.loanAccounts=void 0,this.insurancePolicies=void 0,this.cards=void 0},exports.ConsumerAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.ContactDetails=function(){this.details=void 0},exports.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},exports.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},exports.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},exports.EmailNotificationRequest=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},exports.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},exports.EmployeeNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},exports.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},exports.Feedback=function(){this.description=void 0},exports.ForgotPasswordRequest=function(){this.username=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.IdAndDescription=function(){this.id=void 0,this.description=void 0},exports.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},exports.KybFileResult=function(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},exports.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},exports.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},exports.LanguageData=function(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=void 0},exports.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},exports.LivenessRequest=function(){this.base64Images=void 0},exports.Location=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},exports.LoginCredentials=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},exports.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},exports.LoginRequest=function(){this.username=void 0,this.password=void 0},exports.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},exports.MerchantAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.MerchantDetail=function(){this.name=void 0,this.products=void 0},exports.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},exports.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},exports.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},exports.MerchantNameVerificationRequest=function(){this.merchantName=void 0},exports.MerchantNameVerificationResponse=function(){this.accessToken=void 0},exports.MerchantNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},exports.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},exports.MerchantPaymentResponse=function(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0},exports.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},exports.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},exports.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},exports.MerchantProductFieldSelectionItem=function(){this.label=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.MobileWalletOperatorData=function(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0},exports.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},exports.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},exports.NameAndReference=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},exports.OnApiRetry=I,exports.OnAutomaticRefresh=T,exports.OnComplete3DSecure=L,exports.OnPaymentComplete=M,exports.OnPaymentStatusUpdate=b,exports.OnRequires3DSecure=H,exports.OnRequiresAddress=B,exports.OnRequiresConfirmation=D,exports.OnRequiresPin=N,exports.OnSessionExpired=R,exports.OnSessionStarted=P,exports.OperatingTime=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},exports.OtpVerificationRequest=function(){this.otpValue=void 0},exports.OtpVerificationResponse=function(){this.userAccountExists=void 0,this.accessToken=void 0},exports.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},exports.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},exports.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},exports.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},exports.PaymentRecurrenceScheduleEntry=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},exports.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},exports.PaymentResponse=function(){this.reference=void 0,this.paymentStatusUrls=void 0},exports.PaymentSourceResults=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.QrCodeValidationRequest=function(){this.qrCode=void 0},exports.QrCodeValidationResponse=function(){this.canProcess=void 0,this.supportedQrCodes=void 0},exports.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},exports.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},exports.RefundResponse=function(){this.reference=void 0,this.refundStatusUrls=void 0},exports.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},exports.RefundTransaction=function(){this.refundAmountInCents=void 0,this.description=void 0},exports.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},exports.RewardPointsInfo=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},exports.SelfieRequest=function(){this.base64Image=void 0},exports.SmsNotificationRequest=function(){this.toNumber=void 0,this.receiptType=void 0},exports.StatusUrls=function(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0},exports.StopCardRequest=function(){this.cardReference=void 0,this.reason=void 0},exports.SwitchEnvironmentInfo=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},exports.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},exports.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},exports.TerminalFeatures=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},exports.TerminalNotificationToken=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},exports.TerminalPaymentQrCodeUrls=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},exports.TerminalPaymentQrCodes=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},exports.TerminalQrCode=function(){this.qrCodeType=void 0,this.qrCode=void 0},exports.TerminalSetup=function(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0},exports.TokenResponse=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},exports.TransactionCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0},exports.TransactionConfirmation=function(){this.confirm=void 0},exports.TransactionData=fe,exports.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},exports.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},exports.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},exports.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},exports.TransactionPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.categoryTotals=void 0},exports.TransactionPin=function(){this.pin=void 0},exports.VantagePay=nt,exports.VerifyCardRequest=function(){this.token=void 0,this.verificationCode=void 0},exports.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},exports.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},exports.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},exports.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},exports.Webhook=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0};
1
+ var e=require("axios"),t=require("axios-retry"),i=require("axios-auth-refresh"),o=require("pubsub-js"),n=require("@microsoft/signalr"),s=require("qrcode");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,t}var c=/*#__PURE__*/r(e),d=/*#__PURE__*/r(t),l=/*#__PURE__*/r(i),u=/*#__PURE__*/r(o),h=/*#__PURE__*/a(n),v=/*#__PURE__*/r(s);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=Array(t);i<t;i++)o[i]=e[i];return o}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},A.apply(null,arguments)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,C(e,t)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function y(e){var t="function"==typeof Map?new Map:void 0;return y=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(S())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var n=new(e.bind.apply(e,o));return i&&C(n,i.prototype),n}(e,arguments,p(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),C(i,e)},y(e)}var g=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 o=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(o)||{}}return{}},e}()),P=Symbol("login.session.started"),R=Symbol("login.session.expired"),T=Symbol("login.session.refreshed"),I=Symbol("api.retry"),b=Symbol("payment.status"),M=Symbol("payment.complete"),H=Symbol("payment.wait.requires3dSecure"),N=Symbol("payment.wait.requiresPin"),D=Symbol("payment.wait.requiresConfirmation"),B=Symbol("payment.wait.requiresAddress"),L=Symbol("payment.complete3dSecure"),E=/*#__PURE__*/function(e){function t(i,o,n){var s,r=n;return Array.isArray(o)&&o.length>0?r=o.join(" "):("string"==typeof o||o instanceof String)&&(r=o.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=o,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 f(t,e),t}(/*#__PURE__*/y(Error)),O="-".repeat(120),k=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=u.default,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,o){void 0===i&&(i=null),void 0===o&&(o=null);try{var n,s=function(e){if(r.consoleLogging&&console.debug(O),n.data){if(!n.data.success&&"string"!=typeof n.data)throw new E(n.data.status||n.status,n.data.result||null,n.data.message||null);return n.data.result||n.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(o||g.accessToken)&&(s.headers={Authorization:"Bearer "+(o||g.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+O),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(O),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){n=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(n.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(O));var t=0,i=null,o=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,o=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new E(t,i,o||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(),o=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),n=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+o+":"+n}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 x(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var G,w,F,U,W,q,V,K,j,Z,Q,Y,J,z,X,_,$,ee,te,ie,oe,ne="/v1/auth",se=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(g.accessToken)try{return(new Date).getTime()<1e3*g.decodeToken(g.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,o={username:e,password:t};return g.accessToken=null,g.refreshToken=null,Promise.resolve(x(function(){return Promise.resolve(i.request(ne+"/login","POST",o)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(P),Promise.resolve(e)})},function(e){throw e.result&&(g.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=g.refreshToken;g.accessToken=null,g.refreshToken=null;var o=function(){if(i)return Promise.resolve(t.request(ne+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(R)})}();return Promise.resolve(o&&o.then?o.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{var t=this;return Promise.resolve(t.request(ne+"/refresh","POST",null,e||g.refreshToken)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(P),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(ne+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(ne+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,o={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(x(function(){return Promise.resolve(i.request(ne+"/password/change","POST",o)).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(P),Promise.resolve(e)})},function(e){throw e.result&&(g.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(ne+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{var t=this;return Promise.resolve(t.request(ne+"/otp/validate","POST",{otpValue:e})).then(function(e){return e&&(g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(P)),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(ne+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(ne+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).reference||null},i.getCurrentUserName=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).user_name||null},i.getRedirectAction=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return g.decodeToken(e||g.accessToken||g.refreshToken).email_address||null},t}(k);exports.Bank=void 0,(G=exports.Bank||(exports.Bank={})).None="None",G.ABD="ABD",G.ABL="ABL",G.ACB="ACB",G.ABS="ABS",G.ABG="ABG",G.ADB="ADB",G.ADS="ADS",G.ALM="ALM",G.ANS="ANS",G.APX="APX",G.ASL="ASL",G.BSL="BSL",G.BOA="BOA",G.BOG="BOG",G.BSP="BSP",G.BPS="BPS",G.BLM="BLM",G.BSI="BSI",G.CAL="CAL",G.CBG="CBG",G.CBN="CBN",G.DFL="DFL",G.ECO="ECO",G.EPG="EPG",G.ETZ="ETZ",G.EXP="EXP",G.FPL="FPL",G.FAB="FAB",G.FBL="FBL",G.FDL="FDL",G.FBO="FBO",G.FBN="FBN",G.FCM="FCM",G.FNB="FNB",G.GCB="GCB",G.GPB="GPB",G.GPG="GPG",G.GMY="GMY",G.GTB="GTB",G.HBN="HBN",G.HBT="HBT",G.ITC="ITC",G.JBN="JBN",G.JUN="JUN",G.KOR="KOR",G.KSB="KSB",G.MBN="MBN",G.MLU="MLU",G.MOL="MOL",G.NGL="NGL",G.NIB="NIB",G.OPI="OPI",G.NSL="NSL",G.PSW="PSW",G.PBL="PBL",G.PBN="PBN",G.RBG="RBG",G.RBL="RBL",G.SAS="SAS",G.SBN="SBN",G.SCB="SCB",G.SCH="SCH",G.SIS="SIS",G.SOG="SOG",G.STB="STB",G.TIT="TIT",G.TRB="TRB",G.UBA="UBA",G.UBN="UBN",G.UMB="UMB",G.UNB="UNB",G.UNI="UNI",G.UNL="UNL",G.USL="USL",G.WBN="WBN",G.ZEN="ZEN",G.AFB="AFB",G.NED="NED",G.STD="STD",G.CAP="CAP",G.MER="MER",G.BID="BID",G.ALB="ALB",G.HBZ="HBZ",G.SAF="SAF",G.DIS="DIS",G.RMB="RMB",G.BZZ="BZZ",G.INV="INV",G.TYB="TYB",G.HOL="HOL",exports.Channel=void 0,(w=exports.Channel||(exports.Channel={})).Unknown="Unknown",w.Web="Web",w.USSD="USSD",w.Callback="Callback",w.Generated="Generated",w.Settlement="Settlement",w.Scheduled="Scheduled",w.MobileApplication="MobileApplication",w.SDK="SDK",w.POS="POS",w.SuperPOS="SuperPOS",exports.ConsumerFileType=void 0,(F=exports.ConsumerFileType||(exports.ConsumerFileType={})).Unspecified="Unspecified",F.FaceImage="FaceImage",F.IdentityDocumentFront="IdentityDocumentFront",F.IdentityDocumentBack="IdentityDocumentBack",F.Liveness="Liveness",F.ProfileImage="ProfileImage",F.Signature="Signature",F.ConsumerAgreement="ConsumerAgreement",F.LoanContract="LoanContract",F.LoanSettlementQuote="LoanSettlementQuote",F.LoanPaidUpLetter="LoanPaidUpLetter",F.LoanStatement="LoanStatement",F.BankAccountLetter="BankAccountLetter",F.BankAccountStatement="BankAccountStatement",exports.Country=void 0,(U=exports.Country||(exports.Country={})).None="None",U.AFG="AFG",U.ALB="ALB",U.DZA="DZA",U.ASM="ASM",U.AND="AND",U.AGO="AGO",U.AIA="AIA",U.ATA="ATA",U.ATG="ATG",U.ARG="ARG",U.ARM="ARM",U.ABW="ABW",U.AUS="AUS",U.AUT="AUT",U.AZE="AZE",U.BHS="BHS",U.BHR="BHR",U.BGD="BGD",U.BRB="BRB",U.BLR="BLR",U.BEL="BEL",U.BLZ="BLZ",U.BEN="BEN",U.BMU="BMU",U.BTN="BTN",U.BOL="BOL",U.BES="BES",U.BIH="BIH",U.BWA="BWA",U.BVT="BVT",U.BRA="BRA",U.IOT="IOT",U.VGB="VGB",U.BRN="BRN",U.BGR="BGR",U.BFA="BFA",U.BDI="BDI",U.KHM="KHM",U.CMR="CMR",U.CAN="CAN",U.CPV="CPV",U.CYM="CYM",U.CAF="CAF",U.TCD="TCD",U.CHL="CHL",U.CHN="CHN",U.CXR="CXR",U.CCK="CCK",U.COL="COL",U.COM="COM",U.COG="COG",U.COK="COK",U.CRI="CRI",U.CIV="CIV",U.HRV="HRV",U.CUB="CUB",U.CUW="CUW",U.CYP="CYP",U.CZE="CZE",U.COD="COD",U.DNK="DNK",U.DJI="DJI",U.DMA="DMA",U.DOM="DOM",U.ECU="ECU",U.EGY="EGY",U.SLV="SLV",U.GNQ="GNQ",U.ERI="ERI",U.EST="EST",U.ETH="ETH",U.FLK="FLK",U.FRO="FRO",U.FJI="FJI",U.FIN="FIN",U.FRA="FRA",U.FXX="FXX",U.GUF="GUF",U.PYF="PYF",U.ATF="ATF",U.GAB="GAB",U.GMB="GMB",U.GEO="GEO",U.DEU="DEU",U.GHA="GHA",U.GIB="GIB",U.GRC="GRC",U.GRL="GRL",U.GRD="GRD",U.GLP="GLP",U.GUM="GUM",U.GTM="GTM",U.GIN="GIN",U.GNB="GNB",U.GUY="GUY",U.HTI="HTI",U.HMD="HMD",U.VAT="VAT",U.HND="HND",U.HKG="HKG",U.HUN="HUN",U.ISL="ISL",U.IND="IND",U.IDN="IDN",U.IRN="IRN",U.IRQ="IRQ",U.IRL="IRL",U.IMN="IMN",U.ISR="ISR",U.ITA="ITA",U.JAM="JAM",U.JPN="JPN",U.JOR="JOR",U.KAZ="KAZ",U.KEN="KEN",U.KIR="KIR",U.KOR="KOR",U.PRK="PRK",U.KWT="KWT",U.KGZ="KGZ",U.LAO="LAO",U.LVA="LVA",U.LBN="LBN",U.LSO="LSO",U.LBR="LBR",U.LBY="LBY",U.LIE="LIE",U.LTU="LTU",U.LUX="LUX",U.MAC="MAC",U.MKD="MKD",U.MDG="MDG",U.MWI="MWI",U.MYS="MYS",U.MDV="MDV",U.MLI="MLI",U.MLT="MLT",U.MHL="MHL",U.MTQ="MTQ",U.MRT="MRT",U.MUS="MUS",U.MYT="MYT",U.MEX="MEX",U.FSM="FSM",U.MDA="MDA",U.MCO="MCO",U.MNG="MNG",U.MSR="MSR",U.MNE="MNE",U.MAR="MAR",U.MOZ="MOZ",U.MMR="MMR",U.NAM="NAM",U.NRU="NRU",U.NPL="NPL",U.NLD="NLD",U.NCL="NCL",U.NZL="NZL",U.NIC="NIC",U.NER="NER",U.NGA="NGA",U.NIU="NIU",U.NFK="NFK",U.MNP="MNP",U.NOR="NOR",U.OMN="OMN",U.PAK="PAK",U.PLW="PLW",U.PSE="PSE",U.PAN="PAN",U.PNG="PNG",U.PRY="PRY",U.PER="PER",U.PHL="PHL",U.PCN="PCN",U.POL="POL",U.PRT="PRT",U.PRI="PRI",U.QAT="QAT",U.REU="REU",U.ROU="ROU",U.RUS="RUS",U.RWA="RWA",U.WSM="WSM",U.SMR="SMR",U.STP="STP",U.SAU="SAU",U.SEN="SEN",U.SRB="SRB",U.SYC="SYC",U.SLE="SLE",U.SGP="SGP",U.SXM="SXM",U.SVK="SVK",U.SVN="SVN",U.SLB="SLB",U.SOM="SOM",U.ZAF="ZAF",U.SGS="SGS",U.SSD="SSD",U.ESP="ESP",U.LKA="LKA",U.SHN="SHN",U.KNA="KNA",U.LCA="LCA",U.MAF="MAF",U.SPM="SPM",U.VCT="VCT",U.SDN="SDN",U.SUR="SUR",U.SJM="SJM",U.SWZ="SWZ",U.SWE="SWE",U.CHE="CHE",U.SYR="SYR",U.TWN="TWN",U.TJK="TJK",U.TZA="TZA",U.THA="THA",U.TLS="TLS",U.TGO="TGO",U.TKL="TKL",U.TON="TON",U.TTO="TTO",U.TUN="TUN",U.TUR="TUR",U.TKM="TKM",U.TCA="TCA",U.TUV="TUV",U.UGA="UGA",U.UKR="UKR",U.ARE="ARE",U.GBR="GBR",U.QZZ="QZZ",U.USA="USA",U.UMI="UMI",U.VIR="VIR",U.URY="URY",U.UZB="UZB",U.VUT="VUT",U.VEN="VEN",U.VNM="VNM",U.WLF="WLF",U.ESH="ESH",U.YEM="YEM",U.ZMB="ZMB",U.ZWE="ZWE",exports.Currency=void 0,(W=exports.Currency||(exports.Currency={})).None="None",W.AFN="AFN",W.ALL="ALL",W.ANG="ANG",W.ARS="ARS",W.AUD="AUD",W.AWG="AWG",W.AZN="AZN",W.BAM="BAM",W.BBD="BBD",W.BGN="BGN",W.BMD="BMD",W.BND="BND",W.BOB="BOB",W.BRL="BRL",W.BSD="BSD",W.BWP="BWP",W.BYN="BYN",W.BZD="BZD",W.CAD="CAD",W.CHF="CHF",W.CLP="CLP",W.CNY="CNY",W.COP="COP",W.CRC="CRC",W.CUP="CUP",W.CZK="CZK",W.DKK="DKK",W.DOP="DOP",W.EGP="EGP",W.EUR="EUR",W.FJD="FJD",W.FKP="FKP",W.GBP="GBP",W.GHS="GHS",W.GIP="GIP",W.GTQ="GTQ",W.GYD="GYD",W.HKD="HKD",W.HNL="HNL",W.HRK="HRK",W.HUF="HUF",W.IDR="IDR",W.ILS="ILS",W.INR="INR",W.IRR="IRR",W.ISK="ISK",W.JMD="JMD",W.JPY="JPY",W.KGS="KGS",W.KHR="KHR",W.KPW="KPW",W.KRW="KRW",W.KYD="KYD",W.KZT="KZT",W.LAK="LAK",W.LBP="LBP",W.LKR="LKR",W.LRD="LRD",W.MKD="MKD",W.MNT="MNT",W.MUR="MUR",W.MXN="MXN",W.MYR="MYR",W.MZN="MZN",W.NAD="NAD",W.NGN="NGN",W.NIO="NIO",W.NOK="NOK",W.NPR="NPR",W.NZD="NZD",W.OMR="OMR",W.PAB="PAB",W.PEN="PEN",W.PHP="PHP",W.PKR="PKR",W.PLN="PLN",W.PYG="PYG",W.QAR="QAR",W.RON="RON",W.RSD="RSD",W.RUB="RUB",W.SAR="SAR",W.SBD="SBD",W.SCR="SCR",W.SEK="SEK",W.SGD="SGD",W.SHP="SHP",W.SOS="SOS",W.SRD="SRD",W.SVC="SVC",W.SYP="SYP",W.THB="THB",W.TRY="TRY",W.TTD="TTD",W.TWD="TWD",W.UAH="UAH",W.USD="USD",W.UYU="UYU",W.UZS="UZS",W.VES="VES",W.VND="VND",W.XCD="XCD",W.YER="YER",W.ZAR="ZAR",W.ZWD="ZWD",exports.DayOfWeek=void 0,(q=exports.DayOfWeek||(exports.DayOfWeek={})).Sunday="Sunday",q.Monday="Monday",q.Tuesday="Tuesday",q.Wednesday="Wednesday",q.Thursday="Thursday",q.Friday="Friday",q.Saturday="Saturday",exports.FaceMovementDetectionLevel=void 0,(V=exports.FaceMovementDetectionLevel||(exports.FaceMovementDetectionLevel={})).None="None",V.OneRangeOfMotion="OneRangeOfMotion",V.MultipleRangesOfMotion="MultipleRangesOfMotion",V.AllRangesOfMotion="AllRangesOfMotion",exports.Gender=void 0,(K=exports.Gender||(exports.Gender={})).Male="Male",K.Female="Female",exports.IdentityDocumentType=void 0,(j=exports.IdentityDocumentType||(exports.IdentityDocumentType={})).None="None",j.National="National",j.Passport="Passport",j.Drivers="Drivers",j.Other="Other",j.GhanaCard="GhanaCard",j.SocialSecurity="SocialSecurity",j.Voter="Voter",j.IdCard="IdCard",exports.KybProvider=void 0,(Z=exports.KybProvider||(exports.KybProvider={})).None="None",Z.Manual="Manual",exports.KybStatus=void 0,(Q=exports.KybStatus||(exports.KybStatus={})).NotRequired="NotRequired",Q.Unverified="Unverified",Q.Verified="Verified",Q.Rejected="Rejected",exports.KycProvider=void 0,(Y=exports.KycProvider||(exports.KycProvider={})).None="None",Y.SmileIdentity="SmileIdentity",Y.GMoney="GMoney",Y.NIA="NIA",Y.Manual="Manual",exports.KycStatus=void 0,(J=exports.KycStatus||(exports.KycStatus={})).None="None",J.Unverified="Unverified",J.Verified="Verified",J.Rejected="Rejected",J.Review="Review",exports.KycVerificationType=void 0,(z=exports.KycVerificationType||(exports.KycVerificationType={})).Identity="Identity",z.Liveness="Liveness",z.Facial="Facial",z.Other="Other",exports.Language=void 0,(X=exports.Language||(exports.Language={})).None="None",X.AAR="AAR",X.AFR="AFR",X.AGQ="AGQ",X.AKA="AKA",X.AMH="AMH",X.ARA="ARA",X.ARN="ARN",X.ASM="ASM",X.ASA="ASA",X.AST="AST",X.AZE="AZE",X.BAK="BAK",X.BAS="BAS",X.BEL="BEL",X.BEM="BEM",X.BEZ="BEZ",X.BUL="BUL",X.BIN="BIN",X.BAM="BAM",X.BEN="BEN",X.BOD="BOD",X.BRE="BRE",X.BRX="BRX",X.BOS="BOS",X.BYN="BYN",X.CAT="CAT",X.CHE="CHE",X.CGG="CGG",X.CHR="CHR",X.COS="COS",X.CES="CES",X.CHU="CHU",X.CYM="CYM",X.DAN="DAN",X.DAV="DAV",X.DEU="DEU",X.DJE="DJE",X.DSB="DSB",X.DUA="DUA",X.DIV="DIV",X.DYO="DYO",X.DZO="DZO",X.EBU="EBU",X.EWE="EWE",X.ELL="ELL",X.ENG="ENG",X.EPO="EPO",X.SPA="SPA",X.EST="EST",X.EUS="EUS",X.EWO="EWO",X.FAS="FAS",X.FUL="FUL",X.FIN="FIN",X.FIL="FIL",X.FAO="FAO",X.FRA="FRA",X.FUR="FUR",X.FRY="FRY",X.GLE="GLE",X.GLA="GLA",X.GLG="GLG",X.GRN="GRN",X.GSW="GSW",X.GUJ="GUJ",X.GUZ="GUZ",X.GLV="GLV",X.HAU="HAU",X.HAW="HAW",X.HEB="HEB",X.HIN="HIN",X.HRV="HRV",X.HSB="HSB",X.HUN="HUN",X.HYE="HYE",X.INA="INA",X.IBB="IBB",X.IND="IND",X.IBO="IBO",X.III="III",X.ISL="ISL",X.ITA="ITA",X.IKU="IKU",X.JPN="JPN",X.JGO="JGO",X.JMC="JMC",X.JAV="JAV",X.KAT="KAT",X.KAB="KAB",X.KAM="KAM",X.KDE="KDE",X.KEA="KEA",X.KHQ="KHQ",X.KIK="KIK",X.KAZ="KAZ",X.KKJ="KKJ",X.KAL="KAL",X.KLN="KLN",X.KHM="KHM",X.KAN="KAN",X.KOR="KOR",X.KOK="KOK",X.KAU="KAU",X.KAS="KAS",X.KSB="KSB",X.KSF="KSF",X.KSH="KSH",X.KUR="KUR",X.COR="COR",X.KIR="KIR",X.LAT="LAT",X.LAG="LAG",X.LTZ="LTZ",X.LUG="LUG",X.LKT="LKT",X.LIN="LIN",X.LAO="LAO",X.LRC="LRC",X.LIT="LIT",X.LUB="LUB",X.LUO="LUO",X.LUY="LUY",X.LAV="LAV",X.MAS="MAS",X.MER="MER",X.MFE="MFE",X.MLG="MLG",X.MGH="MGH",X.MGO="MGO",X.MRI="MRI",X.MKD="MKD",X.MAL="MAL",X.MON="MON",X.MNI="MNI",X.MOH="MOH",X.MAR="MAR",X.MSA="MSA",X.MLT="MLT",X.MUA="MUA",X.MYA="MYA",X.MZN="MZN",X.NAQ="NAQ",X.NDE="NDE",X.NDS="NDS",X.NEP="NEP",X.NLD="NLD",X.NMG="NMG",X.NNO="NNO",X.NNH="NNH",X.NOB="NOB",X.NQO="NQO",X.NBL="NBL",X.NSO="NSO",X.NUS="NUS",X.NYN="NYN",X.OCI="OCI",X.ORM="ORM",X.ORI="ORI",X.OSS="OSS",X.PAN="PAN",X.PAP="PAP",X.POL="POL",X.PRG="PRG",X.PRS="PRS",X.PUS="PUS",X.POR="POR",X.QUC="QUC",X.QUB="QUB",X.ROH="ROH",X.RUN="RUN",X.RON="RON",X.ROF="ROF",X.RUS="RUS",X.KIN="KIN",X.RWK="RWK",X.SAN="SAN",X.SAH="SAH",X.SAQ="SAQ",X.SBP="SBP",X.SND="SND",X.SME="SME",X.SEH="SEH",X.SES="SES",X.SAG="SAG",X.SHI="SHI",X.SIN="SIN",X.SLK="SLK",X.SLV="SLV",X.SMA="SMA",X.SMJ="SMJ",X.SMN="SMN",X.SMS="SMS",X.SNA="SNA",X.SOM="SOM",X.SQI="SQI",X.SRP="SRP",X.SSW="SSW",X.SSY="SSY",X.SOT="SOT",X.SWE="SWE",X.SWA="SWA",X.SYR="SYR",X.TAM="TAM",X.TEL="TEL",X.TEO="TEO",X.TGK="TGK",X.THA="THA",X.TIR="TIR",X.TIG="TIG",X.TUK="TUK",X.TSN="TSN",X.TON="TON",X.TUR="TUR",X.TSO="TSO",X.TAT="TAT",X.TWQ="TWQ",X.TZM="TZM",X.UIG="UIG",X.UKR="UKR",X.URD="URD",X.UZB="UZB",X.VAI="VAI",X.VEN="VEN",X.VIE="VIE",X.VOL="VOL",X.VUN="VUN",X.WAE="WAE",X.WAL="WAL",X.WOL="WOL",X.XHO="XHO",X.XOG="XOG",X.YAV="YAV",X.YID="YID",X.YOR="YOR",X.ZGH="ZGH",X.ZHO="ZHO",X.ZUL="ZUL",exports.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"}(exports.MerchantCategory||(exports.MerchantCategory={})),exports.MerchantFileType=void 0,(_=exports.MerchantFileType||(exports.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",exports.MobileWalletOperator=void 0,($=exports.MobileWalletOperator||(exports.MobileWalletOperator={})).None="None",$.MTN="MTN",$.VDF="VDF",$.ATL="ATL",$.TGO="TGO",$.ATG="ATG",$.GMY="GMY",$.ZPY="ZPY",$.GHP="GHP",$.TCG="TCG",$.VDC="VDC",$.CLC="CLC",$.TKM="TKM";exports.Month=void 0,(ee=exports.Month||(exports.Month={}))[ee.JAN=1]="JAN",ee[ee.FEB=2]="FEB",ee[ee.MAR=3]="MAR",ee[ee.APR=4]="APR",ee[ee.MAY=5]="MAY",ee[ee.JUN=6]="JUN",ee[ee.JUL=7]="JUL",ee[ee.AUG=8]="AUG",ee[ee.SEP=9]="SEP",ee[ee.OCT=10]="OCT",ee[ee.NOV=11]="NOV",ee[ee.DEC=12]="DEC",exports.ProductType=void 0,(te=exports.ProductType||(exports.ProductType={})).Airtime="Airtime",te.Internet="Internet",te.Television="Television",te.Utilities="Utilities",te.Churches="Churches",te.Education="Education",te.Medical="Medical",te.Transport="Transport",te.Finance="Finance",te.Insurance="Insurance",te.Loans="Loans",te.Pensions="Pensions",te.General="General",te.Other="Other",te.DataBundle="DataBundle",te.VoiceBundle="VoiceBundle",te.Charity="Charity",te.Rent="Rent",te.MobileMoneyTransfer="MobileMoneyTransfer",te.PostPaidBills="PostPaidBills",te.SmsBundle="SmsBundle",te.Fuel="Fuel",te.Oil="Oil",te.Gas="Gas",exports.QrCodeType=void 0,(ie=exports.QrCodeType||(exports.QrCodeType={})).NONE="NONE",ie.V2QR="V2QR",ie.GHQR="GHQR",ie.NIBSSQR="NIBSSQR",exports.RepeatInterval=void 0,(oe=exports.RepeatInterval||(exports.RepeatInterval={})).Weekly="Weekly",oe.Monthly="Monthly";var re,ae,ce,de,le,ue,he="/v1/lookup",ve=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).cardIssuerCountryCache=new Map,t.addressLocationCache=new Map,t.digitalAddressCache=new Map,t.bankCache=new Map,t.currencyCache=void 0,t.countryCache=void 0,t.languageCache=void 0,t.allCurrencyCache=void 0,t.allCountryCache=void 0,t.allLanguageCache=void 0,t.mobileWalletOperatorCache=void 0,t.productTypeCache=void 0,t.merchantCategoryCache=void 0,t}f(t,e);var i=t.prototype;return i.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(he+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(he+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(he+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(he+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(he+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(he+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(he+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(he+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(he+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getBanks=function(e){try{var t=function(){return Promise.resolve(i.bankCache.get(e||exports.Country.None)||[])},i=this,o=function(){if(!i.bankCache.has(e||exports.Country.None)){var t=function(){if(null==e||e===exports.Country.None){var t=i.bankCache,o=t.set,n=exports.Country.None;return Promise.resolve(i.request(he+"/bank","GET")).then(function(e){o.call(t,n,e)})}var s=i.bankCache,r=s.set;return Promise.resolve(i.request(he+"/bank?country="+e,"GET")).then(function(t){r.call(s,e,t)})}();if(t&&t.then)return t.then(function(){})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,o=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,o=t.set;return Promise.resolve(i.request(he+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getAddressFromLocation=function(e,t){try{var i,o=function(e){return i?e:Promise.reject(new E(400,null,"Invalid location coordinates."))},n=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var o=function(){var e=Promise.resolve(n.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!n.addressLocationCache.has(s)){var i=n.addressLocationCache,o=i.set;return Promise.resolve(n.request(he+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){o.call(i,s,e)})}}();return r&&r.then?r.then(o):o()}}();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(e){return Promise.reject(e)}},i.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new E(400,null,"Invalid digital address format."))},o=this,n=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(o.digitalAddressCache.get(e)||null);return t=1,i},n=function(){if(!o.digitalAddressCache.has(e)){var t=o.digitalAddressCache,i=t.set;return Promise.resolve(o.request(he+"/address/"+e,"GET")).then(function(o){i.call(t,e,o)})}}();return n&&n.then?n.then(i):i()}}();return Promise.resolve(n&&n.then?n.then(i):i(n))}catch(e){return Promise.reject(e)}},t}(k);exports.CardIssuer=void 0,(re=exports.CardIssuer||(exports.CardIssuer={})).AmericanExpress="AmericanExpress",re.DinersClub="DinersClub",re.Discover="Discover",re.JCB="JCB",re.Maestro="Maestro",re.MasterCard="MasterCard",re.Switch="Switch",re.Visa="Visa",re.Unknown="Unknown",exports.FeeType=void 0,(ae=exports.FeeType||(exports.FeeType={}))[ae.None=0]="None",ae[ae.FeeTakenFromSourceByMerchant=1]="FeeTakenFromSourceByMerchant",ae[ae.Elevy=2]="Elevy",ae[ae.ExternalPaymentProcessorFee=3]="ExternalPaymentProcessorFee",ae[ae.ExternallyProcessedElevy=4]="ExternallyProcessedElevy",ae[ae.InternalUserTransactionFee=5]="InternalUserTransactionFee",ae[ae.ExternalUserTransactionFee=6]="ExternalUserTransactionFee",ae[ae.InternalPaymentProcessorFee=7]="InternalPaymentProcessorFee",exports.MerchantPaymentType=void 0,(ce=exports.MerchantPaymentType||(exports.MerchantPaymentType={})).Unspecified="Unspecified",ce.CashOut="CashOut",ce.BuyingGoods="BuyingGoods",ce.BillPayment="BillPayment",ce.GhIPSSQrCode="GhIPSSQrCode",exports.ReceiptType=void 0,(de=exports.ReceiptType||(exports.ReceiptType={})).Consumer="Consumer",de.Merchant="Merchant",exports.RefundType=void 0,(le=exports.RefundType||(exports.RefundType={}))[le.Manual=1]="Manual",le[le.Auto=2]="Auto",exports.TransactionCategory=void 0,(ue=exports.TransactionCategory||(exports.TransactionCategory={}))[ue.Unknown=0]="Unknown",ue[ue.Generic=1]="Generic",ue[ue.BankAccount=2]="BankAccount",ue[ue.Card=3]="Card",ue[ue.MobileWallet=4]="MobileWallet",ue[ue.Cash=5]="Cash",ue[ue.Merchant=6]="Merchant",ue[ue.QrCode=7]="QrCode",ue[ue.DigitalWallet=8]="DigitalWallet",ue[ue.Wallet=8]="Wallet",ue[ue.BillPayment=9]="BillPayment";var me,Ae,pe,fe=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};fe.none=void 0,exports.TransactionIconType=void 0,(me=exports.TransactionIconType||(exports.TransactionIconType={}))[me.Bank=0]="Bank",me[me.MobileWallet=1]="MobileWallet",me[me.Card=2]="Card",me[me.Cash=3]="Cash",me[me.Merchant=4]="Merchant",me[me.QrCode=5]="QrCode",me[me.DigitalWallet=6]="DigitalWallet",me[me.CellC=7]="CellC",me[me.Telkom=8]="Telkom",me[me.TelkomMobile=9]="TelkomMobile",me[me.MTN=10]="MTN",me[me.Vodacom=11]="Vodacom",me[me.Vodafone=12]="Vodafone",me[me.AirtelTigo=13]="AirtelTigo",me[me.GhanaPay=14]="GhanaPay",me[me.Zeepay=15]="Zeepay",me[me.Glo=16]="Glo",me[me.Surfline=17]="Surfline",me[me.Busy4G=18]="Busy4G",me[me.DSTV=19]="DSTV",me[me.GoTV=20]="GoTV",me[me.StarTimesTV=21]="StarTimesTV",me[me.ECG=22]="ECG",me[me.GhanaWater=23]="GhanaWater",me[me.Telecel=24]="Telecel",exports.TransactionStatus=void 0,(Ae=exports.TransactionStatus||(exports.TransactionStatus={}))[Ae.NotStarted=0]="NotStarted",Ae[Ae.Success=1]="Success",Ae[Ae.Failed=2]="Failed",Ae[Ae.Processing=3]="Processing",Ae[Ae.Pending=4]="Pending",Ae[Ae.Authorized=5]="Authorized",Ae[Ae.Declined=6]="Declined",Ae[Ae.ValidationError=7]="ValidationError",Ae[Ae.Requires3DSecure=8]="Requires3DSecure",Ae[Ae.RequiresPin=9]="RequiresPin",Ae[Ae.Expired=10]="Expired",Ae[Ae.InsufficientFunds=11]="InsufficientFunds",Ae[Ae.AddressVerificationFailed=12]="AddressVerificationFailed",Ae[Ae.Ignored=13]="Ignored",Ae[Ae.ExternallyFunded=14]="ExternallyFunded",Ae[Ae.ProcessorUnavailable=15]="ProcessorUnavailable",Ae[Ae.TimedOut=16]="TimedOut",Ae[Ae.Indeterminate=17]="Indeterminate",Ae[Ae.RequiresConfirmation=18]="RequiresConfirmation",Ae[Ae.RequiresAddress=19]="RequiresAddress",Ae[Ae.Delayed=20]="Delayed",Ae[Ae.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",Ae[Ae.Unrecoverable=22]="Unrecoverable",Ae[Ae.Reversed=23]="Reversed",exports.TransactionType=void 0,(pe=exports.TransactionType||(exports.TransactionType={}))[pe.Source=1]="Source",pe[pe.Destination=2]="Destination";var Se,Ce="/v1/pay",ye="/v2/token",ge="/v1/transaction",Pe="/v1/notification",Re=/*#__PURE__*/function(e){function t(t,i){var o;return void 0===i&&(i=!1),(o=e.call(this,t,i)||this).hubConnection=void 0,o.baseUrl=void 0,o.activeTransactions=new Map,o.manuallyStartedPaymentStatusChecking=!1,o.baseUrl=t.defaults.baseURL,o.hubConnection=(new h.HubConnectionBuilder).withUrl(""+o.baseUrl+Ce+"/hub",{accessTokenFactory:function(){return g.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(o.consoleLogging?h.LogLevel.Debug:h.LogLevel.None).build(),o}f(t,e);var i=t.prototype;return i.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(Ce,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(Ce+"/merchant/"+e,"POST",t)).then(function(e){return g.accessToken=g.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(Ce+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.paymentReceipt=function(e){try{return Promise.resolve(this.request(Ce+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.createCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card","POST",e))}catch(e){return Promise.reject(e)}},i.createBankAccountToken=function(e){try{return Promise.resolve(this.request(ye+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},i.verifyCardToken=function(e){try{return Promise.resolve(this.request(ye+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},i.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(ye+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.submitPinCode=function(e,t){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},i.rejectPinCode=function(e){try{return Promise.resolve(this.request(ge+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},i.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(ge+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},i.submitAddress=function(e,t){try{return Promise.resolve(this.request(ge+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},i.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},i.sendEmailPaymentNotification=function(e,t,i){try{var o={toEmailAddress:t,templateName:i,receiptType:exports.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/email/"+e,"POST",o))}catch(e){return Promise.reject(e)}},i.sendSmsPaymentNotification=function(e,t){try{var i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:exports.ReceiptType.Consumer};return Promise.resolve(this.request(Pe+"/sms/"+e,"POST",i))}catch(e){return Promise.reject(e)}},i.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,o=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 m(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)?m(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=o()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===h.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},i.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,o=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 n=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(n&&n.then?n.then(o):o(n))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(o,n){try{var s=function(){function o(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var n=function(){if(t.hubConnection.state!==h.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return n&&n.then?n.then(o):o(n)}()}catch(e){return n(e)}return s&&s.then?s.then(void 0,n):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 o(e){return i?e:Promise.resolve(null)}var n=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var o=Promise.resolve(e);return i=1,o});t.manuallyStartedPaymentStatusChecking=!0}();return n&&n.then?n.then(o):o(n)})}catch(e){return Promise.reject(e)}},i.getOfflinePaymentFormUrl=function(e,t,i,o,n){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(n||{})):Buffer.from(JSON.stringify(n||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(o||"")+"|"+s},i.getRequiredPinLength=function(e){return e===exports.MobileWalletOperator.VDF||"VDF"===e.toString()||e===exports.MobileWalletOperator.TCG||"TCG"===e.toString()?6:4},i.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,o=1,n=0,s=0;i;)s=parseInt(e.charAt(--i),10),n+=(o^=1)?t[s]:s;return n%10==0},i.checkPaymentUpdateStatus=function(e){var t=this,i=this.activeTransactions.get(e.paymentReference);i&&JSON.stringify(e)!==i.lastJsonResponse?(i.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(b,e),function(e){var i=!1,o=function(o){if(!i){var n={message:o.message,transactionReference:o.reference,paymentStatusResponse:e};if(o.status===exports.TransactionStatus.RequiresConfirmation||o.status===exports.TransactionStatus.RequiresInitialConfirmation){i=!0;var s=e.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||e.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||e.paymentDestinations.merchants.find(function(e){return e.accountHolder})||e.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||e.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;n.confirmationData={amountInCents:o.amountInCents,sourceAccountHolder:o.accountHolder||null,destinationAccountHolder:null!==s?s.accountHolder:null,fees:o.fees},t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(n,{depth:null})),t.events.publish(D,n)}else o.status===exports.TransactionStatus.RequiresPin?(i=!0,n.pinLength=t.getRequiredPinLength(exports.MobileWalletOperator.None),o&&o.mobileWalletOperator&&(n.pinLength=t.getRequiredPinLength(o.mobileWalletOperator)),t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(n,{depth:null})),t.events.publish(N,n)):o.status===exports.TransactionStatus.RequiresAddress&&(i=!0,t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(n,{depth:null})),t.events.publish(B,n))}};e.paymentSources.cards.forEach(function(n){if(!i&&n.status===exports.TransactionStatus.Requires3DSecure&&n.threeDSecureUrl){i=!0,t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;var s={url:n.threeDSecureUrl};t.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(s,{depth:null})),t.events.publish(H,s)}else o(n)}),!i&&t.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,t.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),t.events.publish(L)),e.paymentSources.mobileWallets.forEach(function(e){return o(e)}),e.paymentSources.bankAccounts.forEach(function(e){return o(e)}),e.paymentDestinations.bankAccounts.forEach(function(e){return o(e)}),e.paymentDestinations.merchants.forEach(function(e){return o(e)}),e.paymentDestinations.mobileWallets.forEach(function(e){return o(e)}),e.paymentDestinations.qrCodes.forEach(function(e){return o(e)}),e.paymentDestinations.cards.forEach(function(e){return o(e)}),e.paymentDestinations.wallets.forEach(function(e){return o(e)}),e.paymentDestinations.bills.forEach(function(e){return o(e)})}(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(M,e),this.removePaymentStatusCheckInterval(e.paymentReference),this.activeTransactions.delete(e.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},i.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var o=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var o=function(){if(t){i.checkPaymentUpdateStatus(t);var o=function(){if(t.isComplete){var o=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(o&&o.then)return o.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(o&&o.then)return o.then(function(){})}}();if(o&&o.then)return o.then(function(){})})}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var o=this.activeTransactions.get(e);clearInterval(o.statusCheckTimer),o.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},i.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},t}(k),Te="/v1/consumer",Ie="/v1/consumer/messages",be="/v1/consumer/account",Me=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Te,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Te,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Te,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(R),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Te,"GET"))}catch(e){return Promise.reject(e)}},i.getConsumerAgreement=function(){try{return Promise.resolve(this.request(Te+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptConsumerAgreement=function(){try{return Promise.resolve(this.request(Te+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(be+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(be+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(Ie,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(Ie+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(k),He=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).qrCache=new Map,t}f(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,o=function(){if(!i.qrCache.has(e)){var t=i.qrCache,o=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(v.default.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(k),Ne="/v1/merchant",De="/v1/merchant/otp",Be="/v1/merchant/pos",Le="/v1/merchant/product",Ee="/v1/merchant/user",Oe=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).productDetailCache=new Map,t.productsCache=[],t}f(t,e);var i=t.prototype;return i.createMerchantProductProxy=function(e){var t=A({},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}})},i.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(Le+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.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)}},i.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)}},i.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)}},i.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var o=i.find(function(t){return t.type===e});if(o){var n=o.merchants.find(function(e){return e.name===t});if(n)return Promise.resolve(n.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},i.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,o=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,o=t.set;return Promise.resolve(i.request(Le+"/details/"+e,"GET")).then(function(i){o.call(t,e,i)})}}();return Promise.resolve(o&&o.then?o.then(t):t())}catch(e){return Promise.reject(e)}},i.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+Le,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},i.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Le,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Le,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.deleteProduct=function(e){try{return Promise.resolve(this.request(Le+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.groupProductsByName=function(e){return e.reduce(function(e,t){var i=t.name.split("|").map(function(e){return e.trim()}),o=i[0],n=i[1];return e[o]||(e[o]=[]),e[o].push(A({},t,{name:n||t.name})),e},{})},i.getMerchant=function(){try{return Promise.resolve(this.request(Ne,"GET"))}catch(e){return Promise.reject(e)}},i.createMerchant=function(e){try{return Promise.resolve(this.request(Ne,"POST",e))}catch(e){return Promise.reject(e)}},i.updateMerchant=function(e){try{return Promise.resolve(this.request(Ne,"PUT",e))}catch(e){return Promise.reject(e)}},i.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Ne+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e,t){try{var i={otpValue:e},o="";return t&&(o=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(De+"/validate/"+o,"POST",i)).then(function(e){return g.accessToken=e.accessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.validateMerchantName=function(e){try{return Promise.resolve(this.request(Ne+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(g.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},i.createUser=function(e,t,i,o){try{return Promise.resolve(this.request(Ee,"POST",{username:e,password:t,mobileNumber:i,emailAddress:o,isLockedOut:!1})).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.switchToMerchant=function(e){try{return Promise.resolve(this.request(Ee+"/switch/"+e,"POST")).then(function(e){return g.accessToken=e.accessToken,g.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getUserMerchants=function(){try{return Promise.resolve(this.request(Ee,"GET"))}catch(e){return Promise.reject(e)}},i.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Be+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return g.accessToken=e.checkAccessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(Be+"/config/"+e+"/"+t,"GET")).then(function(e){return g.accessToken=e.accessToken||g.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodes=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=exports.Currency[t]),Promise.resolve(this.request(Be+"/qr?amount="+e+"&currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodeUrls=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=exports.Currency[t]),Promise.resolve(this.request(Be+"/qr-urls?amount="+e+"&currency="+i,"GET"))}catch(e){return Promise.reject(e)}},i.uploadFile=function(e){try{return Promise.resolve(this.request(Ne+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},t}(k),ke=/\{@?\w+}/g,xe=/*#__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 o=this.tokens[i];"string"==typeof o.name?e.hasOwnProperty(o.name)?t.push(this.toText(e[o.name])):t.push(o.raw):t.push(o.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,o=0;o<this.tokens.length&&i<e.length;++o){var n=this.tokens[o];"string"==typeof n.name&&(t[n.name]=this.capture(e[i],n.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,o=[];null!==(t=ke.exec(e));){t.index!==i&&o.push({text:e.slice(i,t.index)});var n=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),n=!0),o.push({name:s,destructure:n,raw:t[0]}),i=ke.lastIndex}return i>=0&&i<e.length&&o.push({text:e.slice(i)}),o},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}();exports.LogLevel=void 0,(Se=exports.LogLevel||(exports.LogLevel={}))[Se.Trace=0]="Trace",Se[Se.Debug=1]="Debug",Se[Se.Information=2]="Information",Se[Se.Warning=3]="Warning",Se[Se.Error=4]="Error",Se[Se.Critical=5]="Critical";var Ge,we,Fe,Ue,We,qe,Ve,Ke,je,Ze,Qe,Ye,Je,ze,Xe=/*#__PURE__*/function(e){function t(t,i,o,n){var s;return void 0===i&&(i=!1),void 0===o&&(o=100),void 0===n&&(n=6e4),(s=e.call(this,t,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=o,s.batchInterval=n,s.maxQueueSize=Math.min(10*o,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}f(t,e);var i=t.prototype;return i.flush=function(){return this.submitMessageBatch(!1)},i.fatal=function(e){return this.log(exports.LogLevel.Critical,e,[].slice.call(arguments,1))},i.error=function(e){return this.log(exports.LogLevel.Error,e,[].slice.call(arguments,1))},i.warn=function(e){return this.log(exports.LogLevel.Warning,e,[].slice.call(arguments,1))},i.info=function(e){return this.log(exports.LogLevel.Information,e,[].slice.call(arguments,1))},i.debug=function(e){return this.log(exports.LogLevel.Debug,e,[].slice.call(arguments,1))},i.trace=function(e){return this.log(exports.LogLevel.Trace,e,[].slice.call(arguments,1))},i.log=function(e,t,i){var o={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},n=new xe(o.template),s=n.render(n.bindProperties(o.properties));if(this.consoleLogging)switch(e){case exports.LogLevel.Critical:case exports.LogLevel.Error:console.error(s);break;case exports.LogLevel.Warning:console.warn(s);break;case exports.LogLevel.Information:console.info(s);break;case exports.LogLevel.Debug:case exports.LogLevel.Trace:console.debug(s);break;default:console.log(s)}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()+" ["+exports.LogLevel[e].toUpperCase()+"] "+s},i.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var o=this.messageBatch.splice(0,this.batchSize);o.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",o.length),i=this.request("/v1/logging","POST",o).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,o),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},t}(k),_e=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(k),$e="/v1/content",et=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}f(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request($e,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request($e+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(k),tt="/v1/reports/transactions",it=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,o=new Array(i),n=0;n<i;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).dailyTransactionCache=new Map,t}f(t,e);var i=t.prototype;return i.getRecentTransactions=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(tt+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},i.getTransactionSummary=function(e){try{var t=e.toString();return Number.isInteger(e)&&(t=exports.Currency[e]),Promise.resolve(this.request(tt+"/summary?currency="+t,"GET"))}catch(e){return Promise.reject(e)}},i.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)}},i.getDailyTransactions=function(e,t,i){try{var o=function(){var e=l(t),o=l(i);return r.filter(function(t){var i=l(t.date);return i>=e&&i<=o}).sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})},n=this,s=e.toString();if(Number.isInteger(e)&&(s=exports.Currency[e]),!t||!i)return Promise.resolve(n.request(tt+"/daily?currency="+s+"&dateFrom="+(t||"")+"&dateTo="+(i||""),"GET"));var r=n.dailyTransactionCache.get(s)||[],a=t,c=i,d=!0,l=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:new Date(e).toISOString().split("T")[0]},u=l(new Date);if(r.sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}),r.length>0){var h=r[r.length-1],v=r[0],m=l(t),A=l(i),p=l(v.date),f=l(h.date),S=m>=p&&A<=f,C=A>=u;S&&!C?d=!1:S&&C?(a=u,d=!0):m>=p&&A>f&&(a=f,d=!0)}var y=function(){if(d)return Promise.resolve(n.request(tt+"/daily?currency="+s+"&dateFrom="+(a||"")+"&dateTo="+(c||""),"GET")).then(function(e){var t=new Map;r.forEach(function(e){return t.set(l(e.date),e)}),e.forEach(function(e){return t.set(l(e.date),e)}),r=Array.from(t.values()),n.dailyTransactionCache.set(s,r)})}();return Promise.resolve(y&&y.then?y.then(o):o())}catch(e){return Promise.reject(e)}},t}(k);exports.AddressType=void 0,(Ge=exports.AddressType||(exports.AddressType={})).MAIN="MAIN",Ge.POST="POST",Ge.BILL="BILL",Ge.SHIP="SHIP",exports.BankAccountType=void 0,(we=exports.BankAccountType||(exports.BankAccountType={})).SAVINGS="SAVINGS",we.CURRENT="CURRENT",we.FIXED="FIXED",we.MONEYMARKET="MONEYMARKET",we.CODA="CODA",exports.ConsumerAttribute=void 0,(Fe=exports.ConsumerAttribute||(exports.ConsumerAttribute={}))[Fe.VisaPAN=1]="VisaPAN",Fe[Fe.MasterCardPAN=2]="MasterCardPAN",Fe[Fe.RegistrationInvitationCode=3]="RegistrationInvitationCode",Fe[Fe.GMoneyWalletNumber=4]="GMoneyWalletNumber",Fe[Fe.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",Fe[Fe.MarketingConsent=6]="MarketingConsent",Fe[Fe.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",Fe[Fe.PrimarySourceOfFunds=8]="PrimarySourceOfFunds",exports.GenericAccountType=void 0,(Ue=exports.GenericAccountType||(exports.GenericAccountType={})).None="None",Ue.MobileNumber="MobileNumber",Ue.WaterMeter="WaterMeter",Ue.ElectricityMeter="ElectricityMeter",Ue.PayShap="PayShap",Ue.DStv="DStv",Ue.EasyPay="EasyPay",exports.KycStatusSummary=void 0,(We=exports.KycStatusSummary||(exports.KycStatusSummary={})).Unverified="Unverified",We.Verified="Verified",We.Rejected="Rejected",exports.DevicePlatform=void 0,(qe=exports.DevicePlatform||(exports.DevicePlatform={})).Unknown="Unknown",qe.Android="Android",qe.iOS="iOS",qe.Web="Web",exports.EmployeeNotificationEvent=void 0,(Ve=exports.EmployeeNotificationEvent||(exports.EmployeeNotificationEvent={}))[Ve.PaymentSuccessful=1]="PaymentSuccessful",Ve[Ve.PaymentFailed=2]="PaymentFailed",exports.FuelPurchaseMethod=void 0,(Ke=exports.FuelPurchaseMethod||(exports.FuelPurchaseMethod={})).ByAmount="ByAmount",Ke.ByQuantity="ByQuantity",Ke.ByAmountAndQuantity="ByAmountAndQuantity",exports.Industry=void 0,(je=exports.Industry||(exports.Industry={})).None="None",je.Retail="Retail",je.Restaurant="Restaurant",je.Forecourt="Forecourt",je.Workshop="Workshop",exports.KybStatusSummary=void 0,(Ze=exports.KybStatusSummary||(exports.KybStatusSummary={})).Unverified="Unverified",Ze.Verified="Verified",Ze.PartiallyVerified="PartiallyVerified",Ze.Rejected="Rejected",exports.MerchantAttribute=void 0,(Qe=exports.MerchantAttribute||(exports.MerchantAttribute={}))[Qe.GhIPSSMerchantId=2]="GhIPSSMerchantId",Qe[Qe.VisaPAN=3]="VisaPAN",Qe[Qe.MasterCardPAN=4]="MasterCardPAN",Qe[Qe.NIBSSMerchantReference=6]="NIBSSMerchantReference",exports.MerchantNotificationEvent=void 0,(Ye=exports.MerchantNotificationEvent||(exports.MerchantNotificationEvent={}))[Ye.PaymentSuccessful=1]="PaymentSuccessful",Ye[Ye.PaymentFailed=2]="PaymentFailed",Ye[Ye.SettlementConfirmation=3]="SettlementConfirmation",exports.SettlementTime=void 0,(Je=exports.SettlementTime||(exports.SettlementTime={})).None="None",Je.IntraDay="IntraDay",Je.EndOfDay="EndOfDay",Je.TPlusOne="TPlusOne",Je.TPlusTwo="TPlusTwo",Je.TPlusThree="TPlusThree",Je.TPlusSeven="TPlusSeven",exports.TerminalType=void 0,(ze=exports.TerminalType||(exports.TerminalType={})).None="None",ze.GHIPPS="GHIPPS",ze.NIBSS="NIBSS",ze.PAX="PAX",ze.Verifone="Verifone";var ot="-".repeat(120),nt=/*#__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=u.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=c.default.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:A({},e.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":e.language||"en"})}),l.default(this.axiosInstance,function(e){try{var t,o=function(i){return t?i:Promise.reject(e)},n="/v1/auth/refresh";if(e.request.path===n)return Promise.reject(e);var s=function(){if(g.refreshToken)return function(o,s){try{var r=function(){var o={method:"POST",url:n,headers:{Authorization:"Bearer "+g.refreshToken},skipAuthRefresh:!0};return i.consoleLogging&&(console.debug("\r\n"+ot),console.debug("-- AUTO REFRESH --"),console.debug(ot),console.debug(o.method+": "+i.baseUrl+o.url),console.debug(ot),o.headers&&(console.debug("-- HEADERS --"),console.dir(o.headers)),o.data&&(console.debug("-- REQUEST --"),console.dir(o.data,{depth:null}))),Promise.resolve(i.axiosInstance(o)).then(function(o){if(i.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}),console.debug(ot)),o.data&&o.data.success){g.accessToken=o.data.result.accessToken,g.refreshToken=o.data.result.refreshToken,i.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(o.data.result,{depth:null})),i.events.publish(T,o.data.result),e&&(e.response.config.headers.Authorization="Bearer "+g.accessToken);var n=Promise.resolve(e);return t=1,n}i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R)})}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(e){throw i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R),e});g.accessToken&&(i.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),i.events.publish(R))}();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(e){return Promise.reject(e)}}),d.default(this.axiosInstance,{retries:e.retries||3,retryDelay:d.default.exponentialDelay,onRetry:function(e,i,o){t.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",i);var n={retryCount:e};t.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(n,{depth:null})),t.events.publish(I,n)}}),this.consoleLogging=e.consoleLogging||!1,this.logBatchSize=e.logBatchSize||100,this.logBatchInterval=e.logBatchInterval||6e4,this.system=new _e(this.axiosInstance,this.consoleLogging),this.content=new et(this.axiosInstance,this.consoleLogging),this.log=new Xe(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new se(this.axiosInstance,this.consoleLogging),this.consumers=new Me(this.axiosInstance,this.consoleLogging),this.merchants=new Oe(this.axiosInstance,this.consoleLogging),this.lookups=new ve(this.axiosInstance,this.consoleLogging),this.payments=new Re(this.axiosInstance,this.consoleLogging),this.qrCodes=new He(this.axiosInstance,this.consoleLogging),this.reports=new it(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return e.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},e}();nt.OnSessionStarted=P,nt.OnSessionExpired=R,nt.OnAutomaticRefresh=T,nt.OnApiRetry=I,nt.OnPaymentStatusUpdate=b,nt.OnPaymentComplete=M,nt.OnRequires3DSecure=H,nt.OnRequiresPin=N,nt.OnRequiresConfirmation=D,nt.OnRequiresAddress=B,nt.OnComplete3DSecure=L,exports.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},exports.AdditionalTerminalReference=function(){this.terminalType=void 0,this.reference=void 0},exports.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},exports.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},exports.ApiError=E,exports.ApiTokens=g,exports.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},exports.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},exports.Balance=function(){this.currency=void 0,this.availableAmountInCents=void 0,this.currentAmountInCents=void 0},exports.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},exports.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},exports.BankAccountRequest=function(){this.accountNumber=void 0,this.bank=void 0},exports.BankAccountResponse=function(){this.token=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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.genericAccounts=void 0,this.isActive=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.CardRequest=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},exports.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},exports.CardSettings=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.CategoryDetails=function(){this.type=void 0,this.merchants=void 0},exports.ChangePasswordRequest=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},exports.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},exports.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},exports.ConsumerAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.ConsumerGenericAccount=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.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},exports.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},exports.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},exports.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},exports.ContactDetails=function(){this.details=void 0},exports.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},exports.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},exports.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},exports.EmailNotificationRequest=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},exports.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},exports.EmployeeNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},exports.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},exports.Feedback=function(){this.description=void 0},exports.ForgotPasswordRequest=function(){this.username=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.IdAndDescription=function(){this.id=void 0,this.description=void 0},exports.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},exports.KybFileResult=function(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},exports.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},exports.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},exports.LanguageData=function(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=void 0},exports.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},exports.LivenessRequest=function(){this.base64Images=void 0},exports.Location=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},exports.LoginCredentials=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},exports.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},exports.LoginRequest=function(){this.username=void 0,this.password=void 0},exports.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},exports.MerchantAttributeValue=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.MerchantDetail=function(){this.name=void 0,this.products=void 0},exports.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},exports.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},exports.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},exports.MerchantNameVerificationRequest=function(){this.merchantName=void 0},exports.MerchantNameVerificationResponse=function(){this.accessToken=void 0},exports.MerchantNotificationEventSetting=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},exports.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},exports.MerchantPaymentResponse=function(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0},exports.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},exports.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},exports.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},exports.MerchantProductFieldSelectionItem=function(){this.label=void 0,this.value=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.MobileWalletOperatorData=function(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0},exports.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},exports.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},exports.NameAndReference=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},exports.OnApiRetry=I,exports.OnAutomaticRefresh=T,exports.OnComplete3DSecure=L,exports.OnPaymentComplete=M,exports.OnPaymentStatusUpdate=b,exports.OnRequires3DSecure=H,exports.OnRequiresAddress=B,exports.OnRequiresConfirmation=D,exports.OnRequiresPin=N,exports.OnSessionExpired=R,exports.OnSessionStarted=P,exports.OperatingTime=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},exports.OtpVerificationRequest=function(){this.otpValue=void 0},exports.OtpVerificationResponse=function(){this.userAccountExists=void 0,this.accessToken=void 0},exports.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},exports.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},exports.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},exports.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},exports.PaymentRecurrenceScheduleEntry=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},exports.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},exports.PaymentResponse=function(){this.reference=void 0,this.paymentStatusUrls=void 0},exports.PaymentSourceResults=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.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},exports.QrCodeValidationRequest=function(){this.qrCode=void 0},exports.QrCodeValidationResponse=function(){this.canProcess=void 0,this.supportedQrCodes=void 0},exports.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},exports.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},exports.RefundResponse=function(){this.reference=void 0,this.refundStatusUrls=void 0},exports.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},exports.RefundTransaction=function(){this.refundAmountInCents=void 0,this.description=void 0},exports.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},exports.RewardPointsInfo=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},exports.SelfieRequest=function(){this.base64Image=void 0},exports.SmsNotificationRequest=function(){this.toNumber=void 0,this.receiptType=void 0},exports.StatusUrls=function(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0},exports.StopCardRequest=function(){this.cardReference=void 0,this.reason=void 0},exports.SwitchEnvironmentInfo=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},exports.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},exports.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},exports.TerminalFeatures=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},exports.TerminalNotificationToken=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},exports.TerminalPaymentQrCodeUrls=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},exports.TerminalPaymentQrCodes=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},exports.TerminalQrCode=function(){this.qrCodeType=void 0,this.qrCode=void 0},exports.TerminalSetup=function(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0},exports.TokenResponse=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},exports.TransactionCategorySummaryResponse=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0},exports.TransactionConfirmation=function(){this.confirm=void 0},exports.TransactionData=fe,exports.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},exports.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},exports.TransactionFee=function(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0},exports.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},exports.TransactionPeriodSummaryResponse=function(){this.description=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.categoryTotals=void 0},exports.TransactionPin=function(){this.pin=void 0},exports.VantagePay=nt,exports.VerifyCardRequest=function(){this.token=void 0,this.verificationCode=void 0},exports.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},exports.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},exports.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},exports.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},exports.Webhook=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0};
2
2
  //# sourceMappingURL=index.js.map