@vantagepay/vantagepay 0.15.4 → 0.15.5

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.
@@ -1,2 +1,2 @@
1
- import e from"axios";import t from"axios-retry";import i from"axios-auth-refresh";import s from"pubsub-js";import*as o from"@microsoft/signalr";import n from"qrcode";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},r.apply(null,arguments)}var a=new class{constructor(){this.accessToken=null,this.refreshToken=null}decodeToken(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(i)||{}}{const t=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(t)||{}}}return{}}};const d=Symbol("login.session.expired"),c=Symbol("login.session.refreshed"),l=Symbol("api.retry"),h=Symbol("payment.status"),u=Symbol("payment.complete"),v=Symbol("payment.wait.requires3dSecure"),A=Symbol("payment.wait.requiresPin"),m=Symbol("payment.wait.requiresConfirmation"),S=Symbol("payment.wait.requiresAddress"),C=Symbol("payment.complete3dSecure");class p extends Error{constructor(e,t,i){let s=i;Array.isArray(t)&&t.length>0?s=t.join(" "):("string"==typeof t||t instanceof String)&&(s=t.toString()),super(s),this.statusCode=void 0,this.result=void 0,this.statusCode=e,this.result=t,Object.setPrototypeOf(this,p.prototype)}}const g="-".repeat(120);class y{constructor(e,t=!1){this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=s,this.axiosInstance=e,this.consoleLogging=t||!1}async request(e,t,i=null,s=null){let o;try{let n={method:t,url:e};(s||a.accessToken)&&(n.headers={Authorization:"Bearer "+(s||a.accessToken)}),i&&(i=this.convertDatesToIso(i),n.data=i),this.consoleLogging&&(console.debug("\r\n"+g),console.debug(`${t}: ${this.axiosInstance.defaults.baseURL}${e}`),console.debug(g),n.headers&&(console.debug("-- HEADERS --"),console.dir(n.headers)),n.data&&(console.debug("-- REQUEST --"),console.dir(n.data,{depth:null}))),o=await this.axiosInstance(n),this.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))}catch(e){this.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(g));let t=0,i=null,s=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,s=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new p(t,i,s||e.message)}if(this.consoleLogging&&console.debug(g),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new p(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null}convertDatesToIso(e){if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");const t=-e.getTimezoneOffset(),i=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),s=String(Math.abs(t)%60).padStart(2,"0"),o=t>=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")}${o}${i}:${s}`}if(Array.isArray(e))return e.map(e=>this.convertDatesToIso(e));if("object"==typeof e&&e.constructor===Object){const t={};for(const i in e)e.hasOwnProperty(i)&&(t[i]=this.convertDatesToIso(e[i]));return t}return e}}const f="/v1/auth";class R extends y{isLoggedIn(){if(a.accessToken)try{return(new Date).getTime()<1e3*a.decodeToken(a.accessToken).exp}catch(e){return!1}return!1}async login(e,t){const i={username:e,password:t};a.accessToken=null,a.refreshToken=null;try{const e=await this.request(`${f}/login`,"POST",i);return a.accessToken=e.accessToken,a.refreshToken=e.refreshToken,Promise.resolve(e)}catch(e){throw e.result&&(a.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}}async logout(){const e=a.refreshToken;return a.accessToken=null,a.refreshToken=null,e&&(await this.request(`${f}/logout`,"POST",null,e),this.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),this.events.publish(d)),Promise.resolve()}async refresh(e){const t=await this.request(`${f}/refresh`,"POST",null,e||a.refreshToken);return a.accessToken=t.accessToken,a.refreshToken=t.refreshToken,Promise.resolve(t)}async checkLiveness(e){return this.request(`${f}/liveness`,"POST",{base64Images:e})}async checkFace(e){return this.request(`${f}/face-check`,"POST",{base64Image:e})}async changePassword(e,t){const i={oldPassword:e,newPassword:t,resetCode:null,userReference:null};try{const e=await this.request(`${f}/password/change`,"POST",i);return a.accessToken=e.accessToken,a.refreshToken=e.refreshToken,Promise.resolve(e)}catch(e){throw e.result&&(a.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}}async forgotPassword(e){return this.request(`${f}/password/forgot`,"POST",{username:e})}async validateOtp(e){return this.request(`${f}/otp/validate`,"POST",{otpValue:e})}async resendOtp(){return this.request(`${f}/otp/resend`,"POST")}async resendEmailAddressVerification(){return this.request(`${f}/email/verify/resend`,"POST",null)}getCurrentConsumerReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).consumer_reference||null}getCurrentMerchantReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).merchant_reference||null}getCurrentBusinessReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).business_reference||null}getCurrentTerminalReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).terminal_reference||null}getCurrentUserReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).reference||null}getCurrentUserName(e){return a.decodeToken(e||a.accessToken||a.refreshToken).user_name||null}getRedirectAction(e){return a.decodeToken(e||a.accessToken||a.refreshToken).redirect_action||null}getMobileNumber(e){return a.decodeToken(e||a.accessToken||a.refreshToken).mobile_number||null}getEmailAddress(e){return a.decodeToken(e||a.accessToken||a.refreshToken).email_address||null}}var P,T,I,b,H,M,N,D,E,B,k,L,O,G,w,U,F,W,V,q,K,x;!function(e){e.None="None",e.ABD="ABD",e.ABL="ABL",e.ABG="ABG",e.ABN="ABN",e.ADB="ADB",e.ADS="ADS",e.ALM="ALM",e.ANS="ANS",e.APX="APX",e.ASL="ASL",e.BSL="BSL",e.BOA="BOA",e.BOG="BOG",e.BSP="BSP",e.BPS="BPS",e.BLM="BLM",e.BSI="BSI",e.CAL="CAL",e.CBG="CBG",e.CBN="CBN",e.DFL="DFL",e.ECN="ECN",e.ECO="ECO",e.EPG="EPG",e.ETZ="ETZ",e.EXP="EXP",e.FPL="FPL",e.FAB="FAB",e.FBL="FBL",e.FBO="FBO",e.FBN="FBN",e.FCM="FCM",e.FIN="FIN",e.FNB="FNB",e.GCB="GCB",e.GPB="GPB",e.GPG="GPG",e.GMY="GMY",e.GTB="GTB",e.GTN="GTN",e.HBN="HBN",e.HBT="HBT",e.ITC="ITC",e.JBN="JBN",e.JUN="JUN",e.KOR="KOR",e.KSB="KSB",e.MBN="MBN",e.MLU="MLU",e.MOL="MOL",e.NGL="NGL",e.NIB="NIB",e.OPI="OPI",e.NSL="NSL",e.PSW="PSW",e.PBL="PBL",e.PBN="PBN",e.RBG="RBG",e.RBL="RBL",e.SAS="SAS",e.SBN="SBN",e.SCB="SCB",e.SCN="SCN",e.SIS="SIS",e.SOG="SOG",e.STB="STB",e.STN="STN",e.TIT="TIT",e.TRB="TRB",e.UAN="UAN",e.UBA="UBA",e.UBN="UBN",e.UMB="UMB",e.UNB="UNB",e.UNI="UNI",e.UNL="UNL",e.USL="USL",e.WBN="WBN",e.ZEN="ZEN",e.ZNI="ZNI"}(P||(P={}));class ${constructor(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.bankName=void 0,this.country=void 0}}!function(e){e.Unknown="Unknown",e.Web="Web",e.USSD="USSD",e.Callback="Callback",e.Generated="Generated",e.Settlement="Settlement",e.Scheduled="Scheduled",e.MobileApplication="MobileApplication",e.SDK="SDK",e.POS="POS",e.SuperPOS="SuperPOS"}(T||(T={})),function(e){e.Unspecified="Unspecified",e.FaceImage="FaceImage",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Liveness="Liveness",e.ProfileImage="ProfileImage",e.Signature="Signature"}(I||(I={})),function(e){e.None="None",e.AFG="AFG",e.ALB="ALB",e.DZA="DZA",e.ASM="ASM",e.AND="AND",e.AGO="AGO",e.AIA="AIA",e.ATA="ATA",e.ATG="ATG",e.ARG="ARG",e.ARM="ARM",e.ABW="ABW",e.AUS="AUS",e.AUT="AUT",e.AZE="AZE",e.BHS="BHS",e.BHR="BHR",e.BGD="BGD",e.BRB="BRB",e.BLR="BLR",e.BEL="BEL",e.BLZ="BLZ",e.BEN="BEN",e.BMU="BMU",e.BTN="BTN",e.BOL="BOL",e.BES="BES",e.BIH="BIH",e.BWA="BWA",e.BVT="BVT",e.BRA="BRA",e.IOT="IOT",e.VGB="VGB",e.BRN="BRN",e.BGR="BGR",e.BFA="BFA",e.BDI="BDI",e.KHM="KHM",e.CMR="CMR",e.CAN="CAN",e.CPV="CPV",e.CYM="CYM",e.CAF="CAF",e.TCD="TCD",e.CHL="CHL",e.CHN="CHN",e.CXR="CXR",e.CCK="CCK",e.COL="COL",e.COM="COM",e.COG="COG",e.COK="COK",e.CRI="CRI",e.CIV="CIV",e.HRV="HRV",e.CUB="CUB",e.CUW="CUW",e.CYP="CYP",e.CZE="CZE",e.COD="COD",e.DNK="DNK",e.DJI="DJI",e.DMA="DMA",e.DOM="DOM",e.ECU="ECU",e.EGY="EGY",e.SLV="SLV",e.GNQ="GNQ",e.ERI="ERI",e.EST="EST",e.ETH="ETH",e.FLK="FLK",e.FRO="FRO",e.FJI="FJI",e.FIN="FIN",e.FRA="FRA",e.FXX="FXX",e.GUF="GUF",e.PYF="PYF",e.ATF="ATF",e.GAB="GAB",e.GMB="GMB",e.GEO="GEO",e.DEU="DEU",e.GHA="GHA",e.GIB="GIB",e.GRC="GRC",e.GRL="GRL",e.GRD="GRD",e.GLP="GLP",e.GUM="GUM",e.GTM="GTM",e.GIN="GIN",e.GNB="GNB",e.GUY="GUY",e.HTI="HTI",e.HMD="HMD",e.VAT="VAT",e.HND="HND",e.HKG="HKG",e.HUN="HUN",e.ISL="ISL",e.IND="IND",e.IDN="IDN",e.IRN="IRN",e.IRQ="IRQ",e.IRL="IRL",e.IMN="IMN",e.ISR="ISR",e.ITA="ITA",e.JAM="JAM",e.JPN="JPN",e.JOR="JOR",e.KAZ="KAZ",e.KEN="KEN",e.KIR="KIR",e.KOR="KOR",e.PRK="PRK",e.KWT="KWT",e.KGZ="KGZ",e.LAO="LAO",e.LVA="LVA",e.LBN="LBN",e.LSO="LSO",e.LBR="LBR",e.LBY="LBY",e.LIE="LIE",e.LTU="LTU",e.LUX="LUX",e.MAC="MAC",e.MKD="MKD",e.MDG="MDG",e.MWI="MWI",e.MYS="MYS",e.MDV="MDV",e.MLI="MLI",e.MLT="MLT",e.MHL="MHL",e.MTQ="MTQ",e.MRT="MRT",e.MUS="MUS",e.MYT="MYT",e.MEX="MEX",e.FSM="FSM",e.MDA="MDA",e.MCO="MCO",e.MNG="MNG",e.MSR="MSR",e.MNE="MNE",e.MAR="MAR",e.MOZ="MOZ",e.MMR="MMR",e.NAM="NAM",e.NRU="NRU",e.NPL="NPL",e.NLD="NLD",e.NCL="NCL",e.NZL="NZL",e.NIC="NIC",e.NER="NER",e.NGA="NGA",e.NIU="NIU",e.NFK="NFK",e.MNP="MNP",e.NOR="NOR",e.OMN="OMN",e.PAK="PAK",e.PLW="PLW",e.PSE="PSE",e.PAN="PAN",e.PNG="PNG",e.PRY="PRY",e.PER="PER",e.PHL="PHL",e.PCN="PCN",e.POL="POL",e.PRT="PRT",e.PRI="PRI",e.QAT="QAT",e.REU="REU",e.ROU="ROU",e.RUS="RUS",e.RWA="RWA",e.WSM="WSM",e.SMR="SMR",e.STP="STP",e.SAU="SAU",e.SEN="SEN",e.SRB="SRB",e.SYC="SYC",e.SLE="SLE",e.SGP="SGP",e.SXM="SXM",e.SVK="SVK",e.SVN="SVN",e.SLB="SLB",e.SOM="SOM",e.ZAF="ZAF",e.SGS="SGS",e.SSD="SSD",e.ESP="ESP",e.LKA="LKA",e.SHN="SHN",e.KNA="KNA",e.LCA="LCA",e.MAF="MAF",e.SPM="SPM",e.VCT="VCT",e.SDN="SDN",e.SUR="SUR",e.SJM="SJM",e.SWZ="SWZ",e.SWE="SWE",e.CHE="CHE",e.SYR="SYR",e.TWN="TWN",e.TJK="TJK",e.TZA="TZA",e.THA="THA",e.TLS="TLS",e.TGO="TGO",e.TKL="TKL",e.TON="TON",e.TTO="TTO",e.TUN="TUN",e.TUR="TUR",e.TKM="TKM",e.TCA="TCA",e.TUV="TUV",e.UGA="UGA",e.UKR="UKR",e.ARE="ARE",e.GBR="GBR",e.QZZ="QZZ",e.USA="USA",e.UMI="UMI",e.VIR="VIR",e.URY="URY",e.UZB="UZB",e.VUT="VUT",e.VEN="VEN",e.VNM="VNM",e.WLF="WLF",e.ESH="ESH",e.YEM="YEM",e.ZMB="ZMB",e.ZWE="ZWE"}(b||(b={}));class Z{constructor(){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}}!function(e){e.None="None",e.AFN="AFN",e.ALL="ALL",e.ANG="ANG",e.ARS="ARS",e.AUD="AUD",e.AWG="AWG",e.AZN="AZN",e.BAM="BAM",e.BBD="BBD",e.BGN="BGN",e.BMD="BMD",e.BND="BND",e.BOB="BOB",e.BRL="BRL",e.BSD="BSD",e.BWP="BWP",e.BYN="BYN",e.BZD="BZD",e.CAD="CAD",e.CHF="CHF",e.CLP="CLP",e.CNY="CNY",e.COP="COP",e.CRC="CRC",e.CUP="CUP",e.CZK="CZK",e.DKK="DKK",e.DOP="DOP",e.EGP="EGP",e.EUR="EUR",e.FJD="FJD",e.FKP="FKP",e.GBP="GBP",e.GHS="GHS",e.GIP="GIP",e.GTQ="GTQ",e.GYD="GYD",e.HKD="HKD",e.HNL="HNL",e.HRK="HRK",e.HUF="HUF",e.IDR="IDR",e.ILS="ILS",e.INR="INR",e.IRR="IRR",e.ISK="ISK",e.JMD="JMD",e.JPY="JPY",e.KGS="KGS",e.KHR="KHR",e.KPW="KPW",e.KRW="KRW",e.KYD="KYD",e.KZT="KZT",e.LAK="LAK",e.LBP="LBP",e.LKR="LKR",e.LRD="LRD",e.MKD="MKD",e.MNT="MNT",e.MUR="MUR",e.MXN="MXN",e.MYR="MYR",e.MZN="MZN",e.NAD="NAD",e.NGN="NGN",e.NIO="NIO",e.NOK="NOK",e.NPR="NPR",e.NZD="NZD",e.OMR="OMR",e.PAB="PAB",e.PEN="PEN",e.PHP="PHP",e.PKR="PKR",e.PLN="PLN",e.PYG="PYG",e.QAR="QAR",e.RON="RON",e.RSD="RSD",e.RUB="RUB",e.SAR="SAR",e.SBD="SBD",e.SCR="SCR",e.SEK="SEK",e.SGD="SGD",e.SHP="SHP",e.SOS="SOS",e.SRD="SRD",e.SVC="SVC",e.SYP="SYP",e.THB="THB",e.TRY="TRY",e.TTD="TTD",e.TWD="TWD",e.UAH="UAH",e.USD="USD",e.UYU="UYU",e.UZS="UZS",e.VES="VES",e.VND="VND",e.XCD="XCD",e.YER="YER",e.ZAR="ZAR",e.ZWD="ZWD"}(H||(H={}));class Y{constructor(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0}}!function(e){e.Sunday="Sunday",e.Monday="Monday",e.Tuesday="Tuesday",e.Wednesday="Wednesday",e.Thursday="Thursday",e.Friday="Friday",e.Saturday="Saturday"}(M||(M={})),function(e){e.None="None",e.OneRangeOfMotion="OneRangeOfMotion",e.MultipleRangesOfMotion="MultipleRangesOfMotion",e.AllRangesOfMotion="AllRangesOfMotion"}(N||(N={})),function(e){e.Male="Male",e.Female="Female"}(D||(D={}));class J{constructor(){this.id=void 0,this.description=void 0}}!function(e){e.None="None",e.National="National",e.Passport="Passport",e.Drivers="Drivers",e.Other="Other",e.GhanaCard="GhanaCard",e.SocialSecurity="SocialSecurity",e.Voter="Voter",e.IdCard="IdCard"}(E||(E={})),function(e){e.None="None",e.Manual="Manual"}(B||(B={})),function(e){e.NotRequired="NotRequired",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(k||(k={})),function(e){e.None="None",e.SmileIdentity="SmileIdentity",e.GMoney="GMoney",e.NIA="NIA",e.Manual="Manual"}(L||(L={})),function(e){e.None="None",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected",e.Review="Review"}(O||(O={})),function(e){e.Identity="Identity",e.Liveness="Liveness",e.Facial="Facial"}(G||(G={})),function(e){e.None="None",e.AAR="AAR",e.AFR="AFR",e.AGQ="AGQ",e.AKA="AKA",e.AMH="AMH",e.ARA="ARA",e.ARN="ARN",e.ASM="ASM",e.ASA="ASA",e.AST="AST",e.AZE="AZE",e.BAK="BAK",e.BAS="BAS",e.BEL="BEL",e.BEM="BEM",e.BEZ="BEZ",e.BUL="BUL",e.BIN="BIN",e.BAM="BAM",e.BEN="BEN",e.BOD="BOD",e.BRE="BRE",e.BRX="BRX",e.BOS="BOS",e.BYN="BYN",e.CAT="CAT",e.CHE="CHE",e.CGG="CGG",e.CHR="CHR",e.COS="COS",e.CES="CES",e.CHU="CHU",e.CYM="CYM",e.DAN="DAN",e.DAV="DAV",e.DEU="DEU",e.DJE="DJE",e.DSB="DSB",e.DUA="DUA",e.DIV="DIV",e.DYO="DYO",e.DZO="DZO",e.EBU="EBU",e.EWE="EWE",e.ELL="ELL",e.ENG="ENG",e.EPO="EPO",e.SPA="SPA",e.EST="EST",e.EUS="EUS",e.EWO="EWO",e.FAS="FAS",e.FUL="FUL",e.FIN="FIN",e.FIL="FIL",e.FAO="FAO",e.FRA="FRA",e.FUR="FUR",e.FRY="FRY",e.GLE="GLE",e.GLA="GLA",e.GLG="GLG",e.GRN="GRN",e.GSW="GSW",e.GUJ="GUJ",e.GUZ="GUZ",e.GLV="GLV",e.HAU="HAU",e.HAW="HAW",e.HEB="HEB",e.HIN="HIN",e.HRV="HRV",e.HSB="HSB",e.HUN="HUN",e.HYE="HYE",e.INA="INA",e.IBB="IBB",e.IND="IND",e.IBO="IBO",e.III="III",e.ISL="ISL",e.ITA="ITA",e.IKU="IKU",e.JPN="JPN",e.JGO="JGO",e.JMC="JMC",e.JAV="JAV",e.KAT="KAT",e.KAB="KAB",e.KAM="KAM",e.KDE="KDE",e.KEA="KEA",e.KHQ="KHQ",e.KIK="KIK",e.KAZ="KAZ",e.KKJ="KKJ",e.KAL="KAL",e.KLN="KLN",e.KHM="KHM",e.KAN="KAN",e.KOR="KOR",e.KOK="KOK",e.KAU="KAU",e.KAS="KAS",e.KSB="KSB",e.KSF="KSF",e.KSH="KSH",e.KUR="KUR",e.COR="COR",e.KIR="KIR",e.LAT="LAT",e.LAG="LAG",e.LTZ="LTZ",e.LUG="LUG",e.LKT="LKT",e.LIN="LIN",e.LAO="LAO",e.LRC="LRC",e.LIT="LIT",e.LUB="LUB",e.LUO="LUO",e.LUY="LUY",e.LAV="LAV",e.MAS="MAS",e.MER="MER",e.MFE="MFE",e.MLG="MLG",e.MGH="MGH",e.MGO="MGO",e.MRI="MRI",e.MKD="MKD",e.MAL="MAL",e.MON="MON",e.MNI="MNI",e.MOH="MOH",e.MAR="MAR",e.MSA="MSA",e.MLT="MLT",e.MUA="MUA",e.MYA="MYA",e.MZN="MZN",e.NAQ="NAQ",e.NDE="NDE",e.NDS="NDS",e.NEP="NEP",e.NLD="NLD",e.NMG="NMG",e.NNO="NNO",e.NNH="NNH",e.NOB="NOB",e.NQO="NQO",e.NBL="NBL",e.NSO="NSO",e.NUS="NUS",e.NYN="NYN",e.OCI="OCI",e.ORM="ORM",e.ORI="ORI",e.OSS="OSS",e.PAN="PAN",e.PAP="PAP",e.POL="POL",e.PRG="PRG",e.PRS="PRS",e.PUS="PUS",e.POR="POR",e.QUC="QUC",e.QUB="QUB",e.ROH="ROH",e.RUN="RUN",e.RON="RON",e.ROF="ROF",e.RUS="RUS",e.KIN="KIN",e.RWK="RWK",e.SAN="SAN",e.SAH="SAH",e.SAQ="SAQ",e.SBP="SBP",e.SND="SND",e.SME="SME",e.SEH="SEH",e.SES="SES",e.SAG="SAG",e.SHI="SHI",e.SIN="SIN",e.SLK="SLK",e.SLV="SLV",e.SMA="SMA",e.SMJ="SMJ",e.SMN="SMN",e.SMS="SMS",e.SNA="SNA",e.SOM="SOM",e.SQI="SQI",e.SRP="SRP",e.SSW="SSW",e.SSY="SSY",e.SOT="SOT",e.SWE="SWE",e.SWA="SWA",e.SYR="SYR",e.TAM="TAM",e.TEL="TEL",e.TEO="TEO",e.TGK="TGK",e.THA="THA",e.TIR="TIR",e.TIG="TIG",e.TUK="TUK",e.TSN="TSN",e.TON="TON",e.TUR="TUR",e.TSO="TSO",e.TAT="TAT",e.TWQ="TWQ",e.TZM="TZM",e.UIG="UIG",e.UKR="UKR",e.URD="URD",e.UZB="UZB",e.VAI="VAI",e.VEN="VEN",e.VIE="VIE",e.VOL="VOL",e.VUN="VUN",e.WAE="WAE",e.WAL="WAL",e.WOL="WOL",e.XHO="XHO",e.XOG="XOG",e.YAV="YAV",e.YID="YID",e.YOR="YOR",e.ZGH="ZGH",e.ZHO="ZHO",e.ZUL="ZUL"}(w||(w={}));class Q{constructor(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=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.TransAustralianAirways=3034]="TransAustralianAirways",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.Quebecaire=3056]="Quebecaire",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.PacificSouthwestAirline=3070]="PacificSouthwestAirline",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.Nordair=3081]="Nordair",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.Virginexpair=3188]="Virginexpair",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.MalmoAviation=3213]="MalmoAviation",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.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.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"}(U||(U={})),function(e){e.Unspecified="Unspecified",e.AgentAgreement="AgentAgreement",e.MerchantAgreement="MerchantAgreement",e.BusinessCertificate="BusinessCertificate",e.ProofOfAddress="ProofOfAddress",e.ProofOfBankAccount="ProofOfBankAccount",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Signature="Signature",e.LogoImage="LogoImage",e.StorefrontImage="StorefrontImage",e.PrimaryImage="PrimaryImage",e.GhanaCardId="GhanaCardId",e.RegisteredConstitutionOfTheCompany="RegisteredConstitutionOfTheCompany",e.CertificateOfIncorporation="CertificateOfIncorporation",e.CertifiedTrueCopyOfForm3A="CertifiedTrueCopyOfForm3A",e.MonthlyStatement="MonthlyStatement"}(F||(F={})),function(e){e.None="None",e.MTN="MTN",e.VDF="VDF",e.ATL="ATL",e.TGO="TGO",e.ATG="ATG",e.GMY="GMY",e.ZPY="ZPY",e.GHP="GHP",e.TCG="TCG"}(W||(W={}));class z{constructor(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0}}!function(e){e[e.JAN=1]="JAN",e[e.FEB=2]="FEB",e[e.MAR=3]="MAR",e[e.APR=4]="APR",e[e.MAY=5]="MAY",e[e.JUN=6]="JUN",e[e.JUL=7]="JUL",e[e.AUG=8]="AUG",e[e.SEP=9]="SEP",e[e.OCT=10]="OCT",e[e.NOV=11]="NOV",e[e.DEC=12]="DEC"}(V||(V={})),function(e){e.Airtime="Airtime",e.Internet="Internet",e.Television="Television",e.Utilities="Utilities",e.Churches="Churches",e.Education="Education",e.Medical="Medical",e.Transport="Transport",e.Finance="Finance",e.Insurance="Insurance",e.Loans="Loans",e.Pensions="Pensions",e.General="General",e.Other="Other",e.DataBundle="DataBundle",e.VoiceBundle="VoiceBundle",e.Charity="Charity",e.Rent="Rent",e.MobileMoneyTransfer="MobileMoneyTransfer",e.PostPaidBills="PostPaidBills",e.SmsBundle="SmsBundle",e.Fuel="Fuel",e.Oil="Oil",e.Gas="Gas"}(q||(q={})),function(e){e.NONE="NONE",e.V2QR="V2QR",e.GHQR="GHQR",e.NIBSSQR="NIBSSQR"}(K||(K={})),function(e){e.Weekly="Weekly",e.Monthly="Monthly"}(x||(x={}));const j="/v1/lookup";class X extends y{constructor(...e){super(...e),this.cardIssuerCountryCache=new Map,this.addressLocationCache=new Map,this.digitalAddressCache=new Map,this.bankCache=new Map,this.currencyCache=void 0,this.countryCache=void 0,this.languageCache=void 0,this.mobileWalletOperatorCache=void 0,this.productTypeCache=void 0,this.merchantCategoryCache=void 0}async getProductTypes(){return this.productTypeCache||(this.productTypeCache=await this.request(`${j}/product-type`,"GET")),Promise.resolve(this.productTypeCache||[])}async getMerchantCategories(){return this.merchantCategoryCache||(this.merchantCategoryCache=await this.request(`${j}/merchant-category`,"GET")),Promise.resolve(this.merchantCategoryCache||[])}async getCurrencies(){return this.currencyCache||(this.currencyCache=await this.request(`${j}/currency`,"GET")),Promise.resolve(this.currencyCache||[])}async getCountries(){return this.currencyCache||(this.countryCache=await this.request(`${j}/country`,"GET")),Promise.resolve(this.countryCache||[])}async getLanguages(){return this.languageCache||(this.languageCache=await this.request(`${j}/language`,"GET")),Promise.resolve(this.languageCache||[])}async getAllCurrencies(){return this.currencyCache||(this.currencyCache=await this.request(`${j}/currency/all`,"GET")),Promise.resolve(this.currencyCache||[])}async getAllCountries(){return this.currencyCache||(this.countryCache=await this.request(`${j}/country/all`,"GET")),Promise.resolve(this.countryCache||[])}async getAllLanguages(){return this.languageCache||(this.languageCache=await this.request(`${j}/language/all`,"GET")),Promise.resolve(this.languageCache||[])}async getMobileWalletOperators(){return this.mobileWalletOperatorCache||(this.mobileWalletOperatorCache=await this.request(`${j}/mobile-wallet-operator`,"GET")),Promise.resolve(this.mobileWalletOperatorCache||[])}async getBanks(e){return this.bankCache.has(e||b.None)||(null==e||e===b.None?this.bankCache.set(b.None,await this.request(`${j}/bank`,"GET")):this.bankCache.set(e,await this.request(`${j}/bank?country=${e}`,"GET"))),Promise.resolve(this.bankCache.get(e||b.None)||[])}async getCardIssuerCountry(e){return this.cardIssuerCountryCache.has(e)||this.cardIssuerCountryCache.set(e,await this.request(`${j}/card-issuer-country?cardBin=${e}`,"GET")),Promise.resolve(this.cardIssuerCountryCache.get(e)||null)}async getAddressFromLocation(e,t){if(e>=-90&&e<=90&&t>=-180&&t<=180){const i=`${e}|${t}`;return this.addressLocationCache.has(i)||this.addressLocationCache.set(i,await this.request(`${j}/address?latitude=${e}&longitude=${t}`,"GET")),Promise.resolve(this.addressLocationCache.get(i)||null)}return Promise.reject(new p(400,null,"Invalid location coordinates."))}async getAddressFromDigitalAddress(e){return/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)?(this.digitalAddressCache.has(e)||this.digitalAddressCache.set(e,await this.request(`${j}/address/${e}`,"GET")),Promise.resolve(this.digitalAddressCache.get(e)||null)):Promise.reject(new p(400,null,"Invalid digital address format."))}}class _{constructor(){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}}class ee{constructor(){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}}class te{constructor(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0}}var ie,se,oe,ne,re,ae,de,ce,le;!function(e){e.AmericanExpress="AmericanExpress",e.DinersClub="DinersClub",e.Discover="Discover",e.JCB="JCB",e.Maestro="Maestro",e.MasterCard="MasterCard",e.Switch="Switch",e.Visa="Visa",e.Unknown="Unknown"}(ie||(ie={}));class he{constructor(){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}}class ue{constructor(){this.token=void 0,this.accountNumber=void 0,this.bank=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}}class ve{constructor(){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}}class Ae{constructor(){this.productReference=void 0,this.productFields=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}}class me{constructor(){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}}class Se{constructor(){this.token=void 0,this.cardNumber=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}}class Ce{constructor(){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}}class pe{constructor(){this.doNotProcess=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}}class ge{constructor(){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}}class ye{constructor(){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}}class fe{constructor(){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.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}}class Re{constructor(){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}}class Pe{constructor(){this.msisdn=void 0,this.mobileWalletOperator=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}}class Te{constructor(){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}}class Ie{constructor(){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}}class be{constructor(){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}}class He{constructor(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=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}}class Me{constructor(){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}}class Ne{constructor(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=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}}class De{constructor(){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}}!function(e){e.None="None",e.FeeTakenFromSourceByMerchant="FeeTakenFromSourceByMerchant",e.Elevy="Elevy",e.ExternalPaymentProcessorFee="ExternalPaymentProcessorFee",e.ExternallyProcessedElevy="ExternallyProcessedElevy",e.InternalUserTransactionFee="InternalUserTransactionFee",e.ExternalUserTransactionFee="ExternalUserTransactionFee",e.InternalPaymentProcessorFee="InternalPaymentProcessorFee"}(se||(se={}));class Ee{constructor(){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}}class Be{constructor(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0}}!function(e){e.Unspecified="Unspecified",e.CashOut="CashOut",e.BuyingGoods="BuyingGoods",e.BillPayment="BillPayment",e.GhIPSSQrCode="GhIPSSQrCode"}(oe||(oe={}));class ke{constructor(){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}}class Le{constructor(){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}}class Oe{constructor(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0}}class Ge{constructor(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0}}class we{constructor(){this.reference=void 0,this.paymentStatusUrls=void 0}}class Ue{constructor(){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}}class Fe{constructor(){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}}class We{constructor(){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}}class Ve{constructor(){this.qrCode=void 0}}class qe{constructor(){this.canProcess=void 0,this.supportedQrCodes=void 0}}!function(e){e.Consumer="Consumer",e.Merchant="Merchant"}(ne||(ne={}));class Ke{constructor(){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}}class xe{constructor(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0}}class $e{constructor(){this.reference=void 0,this.refundStatusUrls=void 0}}class Ze{constructor(){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}}class Ye{constructor(){this.refundAmountInCents=void 0,this.description=void 0}}class Je{constructor(){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}}!function(e){e[e.Manual=1]="Manual",e[e.Auto=2]="Auto"}(re||(re={}));class Qe{constructor(){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}}class ze{constructor(){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}}class je{constructor(){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}}class Xe{constructor(){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}}class _e{constructor(){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}}class et{constructor(){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}}class tt{constructor(){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}}class it{constructor(){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}}class st{constructor(){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}}class ot{constructor(){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}}class nt{constructor(){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}}class rt{constructor(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0}}class at{constructor(){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}}class dt{constructor(){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}}class ct{constructor(){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}}class lt{constructor(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0}}!function(e){e[e.Unknown=0]="Unknown",e[e.Generic=1]="Generic",e[e.BankAccount=2]="BankAccount",e[e.Card=3]="Card",e[e.MobileWallet=4]="MobileWallet",e[e.Cash=5]="Cash",e[e.Merchant=6]="Merchant",e[e.QrCode=7]="QrCode",e[e.DigitalWallet=8]="DigitalWallet",e[e.Wallet=8]="Wallet",e[e.Bill=9]="Bill"}(ae||(ae={}));class ht{constructor(){this.confirm=void 0}}class ut{constructor(){this.key=void 0,this.data=void 0,this.isPublic=void 0}}ut.none=void 0;class vt{constructor(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0}}!function(e){e[e.Bank=0]="Bank",e[e.MobileWallet=1]="MobileWallet",e[e.Card=2]="Card",e[e.Cash=3]="Cash",e[e.Merchant=4]="Merchant",e[e.QrCode=5]="QrCode",e[e.DigitalWallet=6]="DigitalWallet",e[e.MTN=7]="MTN",e[e.Vodafone=8]="Vodafone",e[e.AirtelTigo=9]="AirtelTigo",e[e.GhanaPay=10]="GhanaPay",e[e.Zeepay=11]="Zeepay",e[e.Glo=12]="Glo",e[e.Surfline=13]="Surfline",e[e.Busy4G=14]="Busy4G",e[e.DSTV=15]="DSTV",e[e.GoTV=16]="GoTV",e[e.StarTimesTV=17]="StarTimesTV",e[e.ECG=18]="ECG",e[e.GhanaWater=19]="GhanaWater",e[e.Telecel=20]="Telecel"}(de||(de={}));class At{constructor(){this.pin=void 0}}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Success=1]="Success",e[e.Failed=2]="Failed",e[e.Processing=3]="Processing",e[e.Pending=4]="Pending",e[e.Authorized=5]="Authorized",e[e.Declined=6]="Declined",e[e.ValidationError=7]="ValidationError",e[e.Requires3DSecure=8]="Requires3DSecure",e[e.RequiresPin=9]="RequiresPin",e[e.Expired=10]="Expired",e[e.InsufficientFunds=11]="InsufficientFunds",e[e.AddressVerificationFailed=12]="AddressVerificationFailed",e[e.Ignored=13]="Ignored",e[e.ExternallyFunded=14]="ExternallyFunded",e[e.ProcessorUnavailable=15]="ProcessorUnavailable",e[e.TimedOut=16]="TimedOut",e[e.Indeterminate=17]="Indeterminate",e[e.RequiresConfirmation=18]="RequiresConfirmation",e[e.RequiresAddress=19]="RequiresAddress",e[e.Delayed=20]="Delayed",e[e.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",e[e.Unrecoverable=22]="Unrecoverable",e[e.Reversed=23]="Reversed"}(ce||(ce={})),function(e){e[e.Source=1]="Source",e[e.Destination=2]="Destination"}(le||(le={}));class mt{constructor(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0}}class St{constructor(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0}}class Ct{constructor(){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}}class pt{constructor(){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}}class gt{constructor(){this.toNumber=void 0,this.receiptType=void 0}}class yt{constructor(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0}}class ft{constructor(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0}}const Rt="/v1/pay",Pt="/v2/token",Tt="/v1/transaction",It="/v1/notification";class bt extends y{constructor(e,t=!1){super(e,t),this.hubConnection=void 0,this.baseUrl=void 0,this.activeTransactions=new Map,this.manuallyStartedPaymentStatusChecking=!1,this.baseUrl=e.defaults.baseURL,this.hubConnection=(new o.HubConnectionBuilder).withUrl(`${this.baseUrl}${Rt}/hub`,{accessTokenFactory:()=>a.accessToken}).withAutomaticReconnect().withStatefulReconnect().configureLogging(this.consoleLogging?o.LogLevel.Debug:o.LogLevel.None).build()}async pay(e){e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;const t=await this.request(Rt,"POST",e);return this.startPaymentStatusChecking(t.reference)}async payMerchant(e,t){t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;const i=await this.request(`${Rt}/merchant/${e}`,"POST",t);return a.accessToken=a.accessToken||i.accessToken,this.startPaymentStatusChecking(i.reference)}async paymentStatusCheck(e){return this.request(`${Rt}/status/${e}`,"GET")}async paymentReceipt(e){return this.request(`${Rt}/receipt/${e}`,"GET")}async createCardToken(e){return this.request(`${Pt}/card`,"POST",e)}async createBankAccountToken(e){return this.request(`${Pt}/bankAccount`,"POST",e)}async verifyCardToken(e){return this.request(`${Pt}/card/verify`,"POST",e)}async createCardVerificationPayment(e){const t=await this.request(`${Pt}/card/verify/payment`,"POST",e);return this.startPaymentStatusChecking(t.reference)}async submitPinCode(e,t){return this.request(`${Tt}/pin/${e}`,"POST",{pin:t})}async rejectPinCode(e){return this.request(`${Tt}/pin/${e}`,"POST",{pin:""})}async submitConfirmation(e,t){return this.request(`${Tt}/confirm/${e}`,"POST",{confirm:t})}async submitAddress(e,t){return this.request(`${Tt}/address/${e}`,"POST",t)}async validateQrCode(e){return this.request("/v1/validate/qr","POST",e)}async sendEmailPaymentNotification(e,t,i){return this.request(`${It}/email/${e}`,"POST",{toEmailAddress:t,templateName:i,receiptType:ne.Consumer})}async sendSmsPaymentNotification(e,t){const i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:ne.Consumer};return this.request(`${It}/sms/${e}`,"POST",i)}async stopPaymentStatusChecking(e){if(e)this.removePaymentStatusCheckInterval(e),this.activeTransactions.delete(e);else{this.manuallyStartedPaymentStatusChecking=!1;for(let e of this.activeTransactions.values())clearInterval(e.statusCheckTimer);this.activeTransactions.clear()}return this.manuallyStartedPaymentStatusChecking||this.hubConnection.state===o.HubConnectionState.Disconnected?Promise.resolve():(this.hubConnection.off("OnPaymentStatusChanged"),this.hubConnection.stop())}async startPaymentStatusChecking(e){var t=this;if(e&&this.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),this.hubConnection.off("OnPaymentStatusChanged"),this.hubConnection.on("OnPaymentStatusChanged",async function(e){if(t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.activeTransactions.has(e.paymentReference))if(t.checkPaymentUpdateStatus(e),e.isComplete){if(t.activeTransactions.delete(e.paymentReference),!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),await t.stopPaymentStatusChecking(e.paymentReference)}else t.addPaymentStatusCheckInterval(e.paymentReference,5e3);return Promise.resolve()}),await async function(){try{return e&&t.addPaymentStatusCheckInterval(e,1e4),t.hubConnection.state!==o.HubConnectionState.Connected?await t.hubConnection.start():Promise.resolve()}catch(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)}}(),e){const t=await this.paymentStatusCheck(e);return this.checkPaymentUpdateStatus(t),Promise.resolve(t)}return this.manuallyStartedPaymentStatusChecking=!0,Promise.resolve(null)}getOfflinePaymentFormUrl(e,t,i,s,o){let n="";return n="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),`${this.baseUrl}/mp?x=${e}|${t}|${i}|${s||""}|${n}`}getRequiredPinLength(e){return e===W.VDF||"VDF"===e.toString()||e===W.TCG||"TCG"===e.toString()?6:4}luhnCheck(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;const t=[0,2,4,6,8,1,3,5,7,9];let i=e.length,s=1,o=0,n=0;for(;i;)n=parseInt(e.charAt(--i),10),s^=1,o+=s?t[n]:n;return o%10==0}checkPaymentUpdateStatus(e){const t=this.activeTransactions.get(e.paymentReference);t&&JSON.stringify(e)!==t.lastJsonResponse?(t.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(h,e),(e=>{let t=!1;const i=i=>{if(!t){const s={message:i.message,transactionReference:i.reference,paymentStatusResponse:e};if(i.status===ce.RequiresConfirmation||i.status===ce.RequiresInitialConfirmation){t=!0;const o=e.paymentDestinations.mobileWallets.find(e=>e.accountHolder)||e.paymentDestinations.bankAccounts.find(e=>e.accountHolder)||e.paymentDestinations.merchants.find(e=>e.accountHolder)||e.paymentDestinations.qrCodes.find(e=>e.accountHolder)||e.paymentDestinations.bills.find(e=>e.accountHolder)||null;s.confirmationData={amountInCents:i.amountInCents,sourceAccountHolder:i.accountHolder||null,destinationAccountHolder:null!==o?o.accountHolder:null,fees:i.fees},this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(s,{depth:null})),this.events.publish(m,s)}else i.status===ce.RequiresPin?(t=!0,s.pinLength=this.getRequiredPinLength(W.None),i&&i.mobileWalletOperator&&(s.pinLength=this.getRequiredPinLength(i.mobileWalletOperator)),this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(s,{depth:null})),this.events.publish(A,s)):i.status===ce.RequiresAddress&&(t=!0,this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),this.events.publish(S,s))}};e.paymentSources.cards.forEach(s=>{if(!t&&s.status===ce.Requires3DSecure&&s.threeDSecureUrl){t=!0,this.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;const i={url:s.threeDSecureUrl};this.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(i,{depth:null})),this.events.publish(v,i)}else i(s)}),!t&&this.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(this.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,this.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),this.events.publish(C)),e.paymentSources.mobileWallets.forEach(e=>i(e)),e.paymentSources.bankAccounts.forEach(e=>i(e)),e.paymentDestinations.bankAccounts.forEach(e=>i(e)),e.paymentDestinations.merchants.forEach(e=>i(e)),e.paymentDestinations.mobileWallets.forEach(e=>i(e)),e.paymentDestinations.qrCodes.forEach(e=>i(e)),e.paymentDestinations.cards.forEach(e=>i(e)),e.paymentDestinations.wallets.forEach(e=>i(e)),e.paymentDestinations.bills.forEach(e=>i(e))})(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(u,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 !!")}async onStatusPollingInterval(e){if(this.removePaymentStatusCheckInterval(e),this.activeTransactions.has(e)){const t=await this.paymentStatusCheck(e);t&&(this.checkPaymentUpdateStatus(t),t.isComplete?this.manuallyStartedPaymentStatusChecking||(this.hubConnection.off("OnPaymentStatusChanged"),await this.stopPaymentStatusChecking(e)):this.addPaymentStatusCheckInterval(e))}return Promise.resolve()}addPaymentStatusCheckInterval(e,t=1500){if(this.activeTransactions.has(e)){const i=this.activeTransactions.get(e);clearInterval(i.statusCheckTimer),i.statusCheckTimer=setInterval(()=>this.onStatusPollingInterval(e),t)}}removePaymentStatusCheckInterval(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)}}const Ht="/v1/consumer",Mt="/v1/consumer/messages";class Nt extends y{async createConsumer(e){return this.request(Ht,"POST",e)}async updateConsumer(e){return this.request(Ht,"PUT",e)}async deleteConsumer(){return await this.request(Ht,"DELETE"),this.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),this.events.publish(d),Promise.resolve()}async getConsumer(){return this.request(Ht,"GET")}async submitFeedback(e){return this.request("/v1/consumer/feedback/send","POST",{description:e})}async getMessage(e){return this.request(`${Mt}/${e}`,"GET")}async deleteMessage(e){return this.request(`${Mt}/${e}`,"DELETE")}async contactSupport(e){return this.request("/v1/consumer/contact","POST",e)}}class Dt extends y{constructor(...e){super(...e),this.qrCache=new Map}async decode(e){return this.qrCache.has(e)||this.qrCache.set(e,await this.request(`/v1/qr/decode?qrCodeData=${e}`,"GET")),Promise.resolve(this.qrCache.get(e)||null)}async generate(e,t=500){return e?n.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t}):Promise.reject()}}const Et="/v1/merchant",Bt="/v1/merchant/otp",kt="/v1/merchant/pos",Lt="/v1/merchant/product",Ot="/v1/merchant/user";class Gt extends y{constructor(...e){super(...e),this.productDetailCache=new Map,this.productsCache=[]}createMerchantProductProxy(e){const t=r({},e);return new Proxy(t,{get:(e,t)=>"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t],set:(e,t,i)=>(e[t]=i,!0)})}async getAllProducts(){if(0===this.productsCache.length){const e=await this.request(`${Lt}/lookup`,"GET");this.productsCache=e||[]}return Promise.resolve(this.productsCache)}async getActiveProductTypes(){const e=await this.getAllProducts();return Promise.resolve(e.map(e=>e.type).sort())}async getMerchantNamesFromProductType(e){const t=(await this.getAllProducts()).find(t=>t.type===e);return Promise.resolve(t?t.merchants.map(e=>e.name).filter((e,t,i)=>i.indexOf(e)===t).sort():[])}async getProductTypesForMerchant(e){const t=await this.getAllProducts(),i=[];return t.forEach(t=>{t.merchants.find(t=>t.name===e)&&i.push(t.type)}),Promise.resolve(i.filter((e,t,i)=>i.indexOf(e)===t).sort())}async getProductsForMerchantAndProductType(e,t){const i=(await this.getAllProducts()).find(t=>t.type===e);if(i){const e=i.merchants.find(e=>e.name===t);if(e)return Promise.resolve(e.products.sort((e,t)=>e.name.localeCompare(t.name)))}return Promise.resolve([])}async getProductDetails(e){this.productDetailCache.has(e)||this.productDetailCache.set(e,await this.request(`${Lt}/details/${e}`,"GET"));const t=this.productDetailCache.get(e)||null;return Promise.resolve(t?this.createMerchantProductProxy(t):null)}async getProducts(){return(await this.request(`${Lt}`,"GET")).map(e=>this.createMerchantProductProxy(e))}async createProduct(e){const t=await this.request(`${Lt}`,"POST",e);return this.createMerchantProductProxy(t)}async updateProduct(e){const t=await this.request(`${Lt}`,"PUT",e);return this.createMerchantProductProxy(t)}async deleteProduct(e){return this.request(`${Lt}/${e}`,"DELETE")}async getMerchant(){return this.request(Et,"GET")}async createMerchant(e){return this.request(Et,"POST",e)}async updateMerchant(e){return this.request(Et,"PUT",e)}async getMerchantAgreement(){return this.request(`${Et}/agreement`,"GET")}async acceptMerchantAgreement(){return this.request(`${Et}/agreement/accept`,"POST")}async verifyMobileNumber(e){let t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),this.request(`${Bt}/${t}`,"POST")}async validateOtp(e,t){const i={otpValue:e};let s="";t&&(s=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""));const o=await this.request(`${Bt}/validate/${s}`,"POST",i);return a.accessToken=o.accessToken||a.accessToken,Promise.resolve(o)}async validateMerchantName(e){const t={merchantName:e},i=await this.request(`${Et}/validate/name`,"POST",t);return i.accessToken?(a.accessToken=i.accessToken,Promise.resolve(!0)):Promise.resolve(!1)}async createUser(e,t,i,s){const o={username:e,password:t,mobileNumber:i,emailAddress:s},n=await this.request(Ot,"POST",o);return a.accessToken=n.accessToken,a.refreshToken=n.refreshToken,Promise.resolve(n)}async switchToMerchant(e){const t=await this.request(`${Ot}/switch/${e}`,"POST");return a.accessToken=t.accessToken,a.refreshToken=t.refreshToken,Promise.resolve(t)}async getUserMerchants(){return this.request(Ot,"GET")}async setupPosTerminal(e,t,i){const s=await this.request(`${kt}/setup/${e}/${t}`,"POST",i);return a.accessToken=s.checkAccessToken||a.accessToken,Promise.resolve(s)}async getPosTerminalConfiguration(e,t){const i=await this.request(`${kt}/config/${e}/${t}`,"GET");return a.accessToken=i.accessToken||a.accessToken,Promise.resolve(i)}async getTerminalPaymentQrCodes(e,t){let i=t.toString();return Number.isInteger(t)&&(i=H[t]),this.request(`${kt}/qr?amount=${e}&currency=${i}`,"GET")}async getTerminalPaymentQrCodeUrls(e,t){let i=t.toString();return Number.isInteger(t)&&(i=H[t]),this.request(`${kt}/qr-urls?amount=${e}&currency=${i}`,"GET")}async uploadFile(e){return this.request(`${Et}/file/upload`,"POST",e)}}const wt=/\{@?\w+}/g;class Ut{constructor(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)}render(e){if(!this.tokens.length)return this.raw;e=e||{};const t=[];for(var i=0;i<this.tokens.length;++i){const s=this.tokens[i];"string"==typeof s.name?e.hasOwnProperty(s.name)?t.push(this.toText(e[s.name])):t.push(s.raw):t.push(s.text)}return t.join("")}bindProperties(e){const t={};let i=0;for(var s=0;s<this.tokens.length&&i<e.length;++s){const o=this.tokens[s];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){const s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t}tokenize(e){const t=[];let i,s;for(;null!==(i=wt.exec(e));){i.index!==s&&t.push({text:e.slice(s,i.index)});let o=!1,n=i[0].slice(1,-1);0===n.indexOf("@")&&(n=n.slice(1),o=!0),t.push({name:n,destructure:o,raw:i[0]}),s=wt.lastIndex}return s>=0&&s<e.length&&t.push({text:e.slice(s)}),t}toText(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){let t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()}capture(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e}}var Ft;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical"}(Ft||(Ft={}));class Wt extends y{constructor(e,t=!1,i=100,s=6e4){super(e,t),this.messageBatch=void 0,this.batchSize=void 0,this.batchInterval=void 0,this.maxQueueSize=void 0,this.batchTimeout=null,this.messageBatch=[],this.batchSize=i,this.batchInterval=s,this.maxQueueSize=Math.min(10*i,1e3),this.batchInterval>0&&this.submitMessageBatch(!0)}flush(){return this.submitMessageBatch(!1)}fatal(e,...t){return this.log(Ft.Critical,e,t)}error(e,...t){return this.log(Ft.Error,e,t)}warn(e,...t){return this.log(Ft.Warning,e,t)}info(e,...t){return this.log(Ft.Information,e,t)}debug(e,...t){return this.log(Ft.Debug,e,t)}trace(e,...t){return this.log(Ft.Trace,e,t)}log(e,t,i){const s={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},o=new Ut(s.template),n=o.render(o.bindProperties(s.properties));if(this.consoleLogging)switch(e){case Ft.Critical:case Ft.Error:console.error(n);break;case Ft.Warning:console.warn(n);break;case Ft.Information:console.info(n);break;case Ft.Debug:case Ft.Trace:console.debug(n);break;default:console.log(n)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(s),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+Ft[e].toUpperCase()+"] "+n}submitMessageBatch(e){clearTimeout(this.batchTimeout);let t=Promise.resolve();if(this.messageBatch.length){const e=this.messageBatch.splice(0,this.batchSize);e.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",e.length),t=this.request("/v1/logging","POST",e).catch(t=>{this.messageBatch.unshift(...e),this.messageBatch.length>this.maxQueueSize&&this.messageBatch.splice(0,this.messageBatch.length-this.maxQueueSize),this.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",this.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(()=>this.submitMessageBatch(!0),this.batchInterval)),t}}class Vt extends y{async ping(){return this.request("/v1/ping","GET")}}const qt="/v1/content";class Kt extends y{constructor(...e){super(...e),this.clientContentCache=void 0,this.contactDetailsCache=void 0}async getClientContent(){return this.clientContentCache||(this.clientContentCache=await this.request(qt,"GET")),Promise.resolve(this.clientContentCache||null)}async getContactDetails(){return this.contactDetailsCache||(this.contactDetailsCache=await this.request(`${qt}/contact-details`,"GET")),Promise.resolve(this.contactDetailsCache||null)}}const xt="/v1/reports/sales";class $t extends y{async getRecentSales(e=5,t=!1){return this.request(`${xt}/recent?limit=${e}&successfulOnly=${t}`,"GET")}async getDailySales(e,t,i){let s=e.toString();return Number.isInteger(e)&&(s=H[e]),this.request(`${xt}/daily?currency=${s}&dateFrom=${t}&dateTo=${i}`,"GET")}async getSalesSummary(e){let t=e.toString();return Number.isInteger(e)&&(t=H[e]),this.request(`${xt}/summary?currency=${t}`,"GET")}}class Zt{constructor(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0}}class Yt{constructor(){this.username=void 0}}class Jt{constructor(){this.base64Images=void 0}}class Qt{constructor(){this.username=void 0,this.password=void 0}}class zt{constructor(){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}}class jt{constructor(){this.username=void 0,this.password=void 0}}class Xt{constructor(){this.otpValue=void 0}}class _t{constructor(){this.userAccountExists=void 0,this.accessToken=void 0}}class ei{constructor(){this.base64Image=void 0}}class ti{constructor(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0}}class ii{constructor(){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}}var si,oi,ni,ri,ai,di,ci,li,hi,ui,vi,Ai,mi;!function(e){e.MAIN="MAIN",e.POST="POST",e.BILL="BILL",e.SHIP="SHIP"}(si||(si={})),function(e){e.SAVINGS="SAVINGS",e.CURRENT="CURRENT",e.FIXED="FIXED",e.MONEYMARKET="MONEYMARKET",e.CODA="CODA"}(oi||(oi={}));class Si{constructor(){this.details=void 0}}class Ci{constructor(){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}}class pi{constructor(){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}}class gi{constructor(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0}}class yi{constructor(){this.name=void 0,this.reference=void 0,this.externalReference=void 0}}class fi{constructor(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0}}class Ri{constructor(){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}}class Pi{constructor(){this.reference=void 0,this.name=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.isActive=void 0}}class Ti{constructor(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.routingCode=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}}class Ii{constructor(){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.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}}class bi{constructor(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=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}}class Hi{constructor(){this.createdDate=void 0,this.loginCredentials=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}}class Mi{constructor(){this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0}}!function(e){e[e.VisaPAN=1]="VisaPAN",e[e.MasterCardPAN=2]="MasterCardPAN",e[e.RegistrationInvitationCode=3]="RegistrationInvitationCode",e[e.GMoneyWalletNumber=4]="GMoneyWalletNumber",e[e.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",e[e.MarketingConsent=6]="MarketingConsent",e[e.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",e[e.PrimarySourceOfFunds=8]="PrimarySourceOfFunds"}(ni||(ni={}));class Ni{constructor(){this.name=void 0,this.attribute=void 0,this.value=void 0}}class Di{constructor(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.branchName=void 0,this.routingCode=void 0,this.isActive=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.iconUrl=void 0}}class Ei{constructor(){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.isActive=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.iconUrl=void 0}}class Bi{constructor(){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}}class ki{constructor(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.isActive=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.iconUrl=void 0}}class Li{constructor(){this.description=void 0}}class Oi{constructor(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}class Gi{constructor(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}!function(e){e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(ri||(ri={}));class wi{constructor(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0}}class Ui{constructor(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0}}class Fi{constructor(){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}}!function(e){e.Unknown="Unknown",e.Android="Android",e.iOS="iOS",e.Web="Web"}(ai||(ai={}));class Wi{constructor(){this.terminalType=void 0,this.reference=void 0}}class Vi{constructor(){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}}class qi{constructor(){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}}class Ki{constructor(){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}}class xi{constructor(){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}}!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed"}(di||(di={}));class $i{constructor(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0}}!function(e){e.ByAmount="ByAmount",e.ByQuantity="ByQuantity",e.ByAmountAndQuantity="ByAmountAndQuantity"}(ci||(ci={}));class Zi{constructor(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0}}!function(e){e.None="None",e.Retail="Retail",e.Restaurant="Restaurant",e.Forecourt="Forecourt",e.Workshop="Workshop"}(li||(li={}));class Yi{constructor(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}!function(e){e.Unverified="Unverified",e.Verified="Verified",e.PartiallyVerified="PartiallyVerified",e.Rejected="Rejected"}(hi||(hi={}));class Ji{constructor(){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}}!function(e){e[e.GhIPSSMerchantId=2]="GhIPSSMerchantId",e[e.VisaPAN=3]="VisaPAN",e[e.MasterCardPAN=4]="MasterCardPAN",e[e.NIBSSMerchantReference=6]="NIBSSMerchantReference"}(ui||(ui={}));class Qi{constructor(){this.name=void 0,this.attribute=void 0,this.value=void 0}}class zi{constructor(){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}}class ji{constructor(){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}}class Xi{constructor(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0}}class _i{constructor(){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}}class es{constructor(){this.merchantName=void 0}}class ts{constructor(){this.accessToken=void 0}}!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed",e[e.SettlementConfirmation=3]="SettlementConfirmation"}(vi||(vi={}));class is{constructor(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0}}class ss{constructor(){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}}class os{constructor(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0}}class ns{constructor(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.selectionItems=void 0}}class rs{constructor(){this.label=void 0,this.value=void 0}}class as{constructor(){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}}class ds{constructor(){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}}class cs{constructor(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0}}class ls{constructor(){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}}class hs{constructor(){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}}!function(e){e.None="None",e.IntraDay="IntraDay",e.EndOfDay="EndOfDay",e.TPlusOne="TPlusOne",e.TPlusTwo="TPlusTwo",e.TPlusThree="TPlusThree",e.TPlusSeven="TPlusSeven"}(Ai||(Ai={}));class us{constructor(){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}}class vs{constructor(){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}}class As{constructor(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0}}class ms{constructor(){this.reference=void 0,this.token=void 0,this.platform=void 0}}class Ss{constructor(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0}}class Cs{constructor(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0}}class ps{constructor(){this.qrCodeType=void 0,this.qrCode=void 0}}class gs{constructor(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0}}!function(e){e.None="None",e.GHIPPS="GHIPPS",e.NIBSS="NIBSS",e.PAX="PAX",e.Verifone="Verifone"}(mi||(mi={}));class ys{constructor(){this.type=void 0,this.merchants=void 0}}class fs{constructor(){this.name=void 0,this.products=void 0}}class Rs{constructor(){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}}class Ps{constructor(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0}}class Ts{constructor(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0}}class Is{constructor(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.category=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.status=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0}}class bs{constructor(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalSalesInCents=void 0,this.periodTotals=void 0}}class Hs{constructor(){this.description=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.categoryTotals=void 0}}class Ms{constructor(){this.accountNumber=void 0,this.bank=void 0}}class Ns{constructor(){this.token=void 0}}class Ds{constructor(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0}}class Es{constructor(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0}}class Bs{constructor(){this.token=void 0,this.verificationCode=void 0}}const ks="-".repeat(120);class Ls{constructor(o){var n=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=s,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=(o.baseUrl||"http://localhost:5000").replace(/\/+$/,""),this.abortController=new AbortController,this.axiosInstance=e.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:r({},o.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":o.language||"en"})}),i(this.axiosInstance,async function(e){const t="/v1/auth/refresh";if(e.request.path===t)return Promise.reject(e);if(a.refreshToken)try{let i={method:"POST",url:t,headers:{Authorization:"Bearer "+a.refreshToken}};n.consoleLogging&&(console.debug("\r\n"+ks),console.debug("-- AUTO REFRESH --"),console.debug(ks),console.debug(`${i.method}: ${n.baseUrl}${i.url}`),console.debug(ks),i.headers&&(console.debug("-- HEADERS --"),console.dir(i.headers)),i.data&&(console.debug("-- REQUEST --"),console.dir(i.data,{depth:null})));const s=await n.axiosInstance(i);if(n.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(s.data,{depth:null}),console.debug(ks)),s.data&&s.data.success)return a.accessToken=s.data.result.accessToken,a.refreshToken=s.data.result.refreshToken,n.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(s.data.result,{depth:null})),n.events.publish(c,s.data.result),e&&(e.response.config.headers.Authorization="Bearer "+a.accessToken),Promise.resolve(e);n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d)}catch(e){throw n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d),e}else a.accessToken&&(n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d));return Promise.reject(e)}),t(this.axiosInstance,{retries:o.retries||3,retryDelay:t.exponentialDelay,onRetry:(e,t,i)=>{this.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",t);const s={retryCount:e};this.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(s,{depth:null})),this.events.publish(l,s)}}),this.consoleLogging=o.consoleLogging||!1,this.logBatchSize=o.logBatchSize||100,this.logBatchInterval=o.logBatchInterval||6e4,this.system=new Vt(this.axiosInstance,this.consoleLogging),this.content=new Kt(this.axiosInstance,this.consoleLogging),this.log=new Wt(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new R(this.axiosInstance,this.consoleLogging),this.consumers=new Nt(this.axiosInstance,this.consoleLogging),this.merchants=new Gt(this.axiosInstance,this.consoleLogging),this.lookups=new X(this.axiosInstance,this.consoleLogging),this.payments=new bt(this.axiosInstance,this.consoleLogging),this.qrCodes=new Dt(this.axiosInstance,this.consoleLogging),this.reports=new $t(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=e=>console.debug(JSON.stringify(e,null,2)))}async close(){return this.consoleLogging&&console.info("Flush and clear the logs..."),await this.log.flush(),this.consoleLogging&&console.info("Stopping payment status checks..."),await this.payments.stopPaymentStatusChecking(),this.consoleLogging&&console.info("Unsubscribing from all events..."),this.events.clearAllSubscriptions(),this.consoleLogging&&console.info("Cancel all API requests..."),this.abortController.abort(),Promise.resolve()}}export{_ as AccountHolderTransactionResult,Wi as AdditionalTerminalReference,ii as Address,si as AddressType,ee as AmountTotals,p as ApiError,a as ApiTokens,Qe as ApplePaySource,ft as ApplePayWebPaymentResponse,P as Bank,ue as BankAccountDestination,ve as BankAccountDestinationResult,Ms as BankAccountRequest,Ns as BankAccountResponse,ze as BankAccountSource,je as BankAccountSourceResult,oi as BankAccountType,$ as BankData,Ri as BasicConsumer,Vi as BasicEmployee,qi as BasicMerchant,Pi as Beneficiary,Ti as BeneficiaryBankAccount,Ii as BeneficiaryCard,bi as BeneficiaryMobileWallet,Ae as BillDestination,me as BillDestinationResult,Ki as Business,Se as CardDestination,Ce as CardDestinationResult,te as CardHolder,ie as CardIssuer,Ds as CardRequest,Es as CardResponse,Xe as CardSource,_e as CardSourceResult,he as CardVerificationPaymentRequest,pe as CashDestination,ge as CashDestinationResult,et as CashSource,tt as CashSourceResult,ys as CategoryDetails,Zt as ChangePasswordRequest,T as Channel,Hi as Consumer,Mi as ConsumerAccounts,ni as ConsumerAttribute,Ni as ConsumerAttributeValue,Di as ConsumerBankAccount,Ei as ConsumerCard,Bi as ConsumerFile,I as ConsumerFileType,ki as ConsumerMobileWallet,Si as ContactDetails,b as Country,Z as CountryData,H as Currency,Y as CurrencyData,M as DayOfWeek,Fi as Device,ai as DevicePlatform,St as EmailNotificationRequest,xi as Employee,di as EmployeeNotificationEvent,$i as EmployeeNotificationEventSetting,Ci as FaceCheckResult,N as FaceMovementDetectionLevel,se as FeeType,Li as Feedback,Yt as ForgotPasswordRequest,ci as FuelPurchaseMethod,D as Gender,ye as GenericDestination,it as GenericSource,st as GooglePaySource,yt as GooglePayWebPaymentResponse,Zi as HostedPaymentOptions,J as IdAndDescription,pi as IdentityDocument,E as IdentityDocumentType,li as Industry,Yi as KybFileResult,B as KybProvider,k as KybStatus,hi as KybStatusSummary,Oi as KycFileResult,Gi as KycLookupResult,L as KycProvider,O as KycStatus,ri as KycStatusSummary,G as KycVerificationType,w as Language,Q as LanguageData,Ee as LineItem,Jt as LivenessRequest,gi as Location,Ft as LogLevel,Qt as LoginCredentials,zt as LoginErrorResponse,jt as LoginRequest,Ji as Merchant,ui as MerchantAttribute,Qi as MerchantAttributeValue,zi as MerchantBankAccount,U as MerchantCategory,fe as MerchantDestination,Re as MerchantDestinationResult,fs as MerchantDetail,ji as MerchantFile,F as MerchantFileType,Xi as MerchantLoginCredentials,_i as MerchantMobileWallet,es as MerchantNameVerificationRequest,ts as MerchantNameVerificationResponse,vi as MerchantNotificationEvent,is as MerchantNotificationEventSetting,Ct as MerchantPaymentRequest,Be as MerchantPaymentResponse,oe as MerchantPaymentType,ss as MerchantProduct,os as MerchantProductCatalog,ns as MerchantProductField,rs as MerchantProductFieldSelectionItem,as as MerchantQrCode,ds as MerchantQrCodeOptions,ke as MerchantRefundRequest,wi as Message,Pe as MobileWalletDestination,Te as MobileWalletDestinationResult,W as MobileWalletOperator,z as MobileWalletOperatorData,ot as MobileWalletSource,nt as MobileWalletSourceResult,V as Month,yi as NameAndReference,l as OnApiRetry,c as OnAutomaticRefresh,C as OnComplete3DSecure,u as OnPaymentComplete,h as OnPaymentStatusUpdate,v as OnRequires3DSecure,S as OnRequiresAddress,m as OnRequiresConfirmation,A as OnRequiresPin,d as OnSessionExpired,cs as OperatingTime,Xt as OtpVerificationRequest,_t as OtpVerificationResponse,Ie as PaymentDestinationResults,be as PaymentDestinations,Le as PaymentReceiptResponse,Oe as PaymentRecurrenceSchedule,Ge as PaymentRecurrenceScheduleEntry,pt as PaymentRequest,we as PaymentResponse,rt as PaymentSourceResults,at as PaymentSources,Ue as PaymentStatusResponse,Fe as PaymentTransaction,We as PaymentTransactionResult,ls as PosOptions,hs as PosPermissions,Rs as ProductDetail,q as ProductType,He as QrCodeDestination,Me as QrCodeDestinationResult,K as QrCodeType,Ve as QrCodeValidationRequest,qe as QrCodeValidationResponse,ne as ReceiptType,Ke as RefundReceiptResponse,xe as RefundRequest,$e as RefundResponse,Ze as RefundStatusResponse,Ye as RefundTransaction,Je as RefundTransactionResult,re as RefundType,x as RepeatInterval,Ui as RewardPointsInfo,Ps as SalesCategorySummaryResponse,Ts as SalesDetailsByDayResponse,Is as SalesDetailsResponse,bs as SalesMonthSummaryResponse,Hs as SalesPeriodSummaryResponse,ei as SelfieRequest,Ai as SettlementTime,gt as SmsNotificationRequest,lt as StatusUrls,fi as SwitchEnvironmentInfo,us as Terminal,vs as TerminalConfiguration,As as TerminalFeatures,ms as TerminalNotificationToken,Cs as TerminalPaymentQrCodeUrls,Ss as TerminalPaymentQrCodes,ps as TerminalQrCode,gs as TerminalSetup,mi as TerminalType,ti as TokenResponse,ae as TransactionCategory,ht as TransactionConfirmation,ut as TransactionData,vt as TransactionFee,de as TransactionIconType,At as TransactionPin,ce as TransactionStatus,le as TransactionType,Ls as VantagePay,Bs as VerifyCardRequest,Ne as WalletDestination,De as WalletDestinationResult,dt as WalletSource,ct as WalletSourceResult,mt as Webhook};
1
+ import e from"axios";import t from"axios-retry";import i from"axios-auth-refresh";import s from"pubsub-js";import*as o from"@microsoft/signalr";import n from"qrcode";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},r.apply(null,arguments)}var a=new class{constructor(){this.accessToken=null,this.refreshToken=null}decodeToken(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(i)||{}}{const t=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(t)||{}}}return{}}};const d=Symbol("login.session.expired"),c=Symbol("login.session.refreshed"),l=Symbol("api.retry"),h=Symbol("payment.status"),u=Symbol("payment.complete"),v=Symbol("payment.wait.requires3dSecure"),A=Symbol("payment.wait.requiresPin"),m=Symbol("payment.wait.requiresConfirmation"),S=Symbol("payment.wait.requiresAddress"),C=Symbol("payment.complete3dSecure");class p extends Error{constructor(e,t,i){let s=i;Array.isArray(t)&&t.length>0?s=t.join(" "):("string"==typeof t||t instanceof String)&&(s=t.toString()),super(s),this.statusCode=void 0,this.result=void 0,this.statusCode=e,this.result=t,Object.setPrototypeOf(this,p.prototype)}}const g="-".repeat(120);class y{constructor(e,t=!1){this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=s,this.axiosInstance=e,this.consoleLogging=t||!1}async request(e,t,i=null,s=null){let o;try{let n={method:t,url:e};(s||a.accessToken)&&(n.headers={Authorization:"Bearer "+(s||a.accessToken)}),i&&(i=this.convertDatesToIso(i),n.data=i),this.consoleLogging&&(console.debug("\r\n"+g),console.debug(`${t}: ${this.axiosInstance.defaults.baseURL}${e}`),console.debug(g),n.headers&&(console.debug("-- HEADERS --"),console.dir(n.headers)),n.data&&(console.debug("-- REQUEST --"),console.dir(n.data,{depth:null}))),o=await this.axiosInstance(n),this.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))}catch(e){this.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(g));let t=0,i=null,s=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,s=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new p(t,i,s||e.message)}if(this.consoleLogging&&console.debug(g),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new p(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null}convertDatesToIso(e){if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");const t=-e.getTimezoneOffset(),i=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),s=String(Math.abs(t)%60).padStart(2,"0"),o=t>=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")}${o}${i}:${s}`}if(Array.isArray(e))return e.map(e=>this.convertDatesToIso(e));if("object"==typeof e&&e.constructor===Object){const t={};for(const i in e)e.hasOwnProperty(i)&&(t[i]=this.convertDatesToIso(e[i]));return t}return e}}const f="/v1/auth";class R extends y{isLoggedIn(){if(a.accessToken)try{return(new Date).getTime()<1e3*a.decodeToken(a.accessToken).exp}catch(e){return!1}return!1}async login(e,t){const i={username:e,password:t};a.accessToken=null,a.refreshToken=null;try{const e=await this.request(`${f}/login`,"POST",i);return a.accessToken=e.accessToken,a.refreshToken=e.refreshToken,Promise.resolve(e)}catch(e){throw e.result&&(a.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}}async logout(){const e=a.refreshToken;return a.accessToken=null,a.refreshToken=null,e&&(await this.request(`${f}/logout`,"POST",null,e),this.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),this.events.publish(d)),Promise.resolve()}async refresh(e){const t=await this.request(`${f}/refresh`,"POST",null,e||a.refreshToken);return a.accessToken=t.accessToken,a.refreshToken=t.refreshToken,Promise.resolve(t)}async checkLiveness(e){return this.request(`${f}/liveness`,"POST",{base64Images:e})}async checkFace(e){return this.request(`${f}/face-check`,"POST",{base64Image:e})}async changePassword(e,t){const i={oldPassword:e,newPassword:t,resetCode:null,userReference:null};try{const e=await this.request(`${f}/password/change`,"POST",i);return a.accessToken=e.accessToken,a.refreshToken=e.refreshToken,Promise.resolve(e)}catch(e){throw e.result&&(a.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}}async forgotPassword(e){return this.request(`${f}/password/forgot`,"POST",{username:e})}async validateOtp(e){return this.request(`${f}/otp/validate`,"POST",{otpValue:e})}async resendOtp(){return this.request(`${f}/otp/resend`,"POST")}async resendEmailAddressVerification(){return this.request(`${f}/email/verify/resend`,"POST",null)}getCurrentConsumerReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).consumer_reference||null}getCurrentMerchantReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).merchant_reference||null}getCurrentBusinessReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).business_reference||null}getCurrentTerminalReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).terminal_reference||null}getCurrentUserReference(e){return a.decodeToken(e||a.accessToken||a.refreshToken).reference||null}getCurrentUserName(e){return a.decodeToken(e||a.accessToken||a.refreshToken).user_name||null}getRedirectAction(e){return a.decodeToken(e||a.accessToken||a.refreshToken).redirect_action||null}getMobileNumber(e){return a.decodeToken(e||a.accessToken||a.refreshToken).mobile_number||null}getEmailAddress(e){return a.decodeToken(e||a.accessToken||a.refreshToken).email_address||null}}var P,I,T,b,H,M,N,D,B,E,k,L,O,G,w,F,U,W,V,K,q,x;!function(e){e.None="None",e.ABD="ABD",e.ACB="ACB",e.ABS="ABS",e.ADB="ADB",e.ADS="ADS",e.ALM="ALM",e.ANS="ANS",e.APX="APX",e.ASL="ASL",e.BSL="BSL",e.BOA="BOA",e.BOG="BOG",e.BSP="BSP",e.BPS="BPS",e.BLM="BLM",e.BSI="BSI",e.CAL="CAL",e.CBG="CBG",e.CBN="CBN",e.DFL="DFL",e.ECO="ECO",e.EPG="EPG",e.ETZ="ETZ",e.EXP="EXP",e.FPL="FPL",e.FAB="FAB",e.FDL="FDL",e.FBO="FBO",e.FBN="FBN",e.FCM="FCM",e.FNB="FNB",e.GCB="GCB",e.GPB="GPB",e.GPG="GPG",e.GMY="GMY",e.GTB="GTB",e.HBN="HBN",e.HBT="HBT",e.ITC="ITC",e.JBN="JBN",e.JUN="JUN",e.KOR="KOR",e.KSB="KSB",e.MBN="MBN",e.MLU="MLU",e.MOL="MOL",e.NGL="NGL",e.NIB="NIB",e.OPI="OPI",e.NSL="NSL",e.PSW="PSW",e.PBL="PBL",e.PBN="PBN",e.RBG="RBG",e.RBL="RBL",e.SAS="SAS",e.SBN="SBN",e.SCH="SCH",e.SIS="SIS",e.SOG="SOG",e.STB="STB",e.TIT="TIT",e.TRB="TRB",e.UBA="UBA",e.UBN="UBN",e.UMB="UMB",e.UNB="UNB",e.UNI="UNI",e.UNL="UNL",e.USL="USL",e.WBN="WBN",e.ZEN="ZEN",e.AFB="AFB",e.NED="NED",e.STD="STD",e.CAP="CAP",e.MER="MER",e.BID="BID",e.ALB="ALB",e.HBZ="HBZ",e.SAF="SAF",e.DIS="DIS",e.RMB="RMB",e.BZZ="BZZ",e.INV="INV",e.TYB="TYB",e.HOL="HOL"}(P||(P={}));class ${constructor(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.routingCode=void 0,this.bankName=void 0,this.country=void 0}}!function(e){e.Unknown="Unknown",e.Web="Web",e.USSD="USSD",e.Callback="Callback",e.Generated="Generated",e.Settlement="Settlement",e.Scheduled="Scheduled",e.MobileApplication="MobileApplication",e.SDK="SDK",e.POS="POS",e.SuperPOS="SuperPOS"}(I||(I={})),function(e){e.Unspecified="Unspecified",e.FaceImage="FaceImage",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Liveness="Liveness",e.ProfileImage="ProfileImage",e.Signature="Signature"}(T||(T={})),function(e){e.None="None",e.AFG="AFG",e.ALB="ALB",e.DZA="DZA",e.ASM="ASM",e.AND="AND",e.AGO="AGO",e.AIA="AIA",e.ATA="ATA",e.ATG="ATG",e.ARG="ARG",e.ARM="ARM",e.ABW="ABW",e.AUS="AUS",e.AUT="AUT",e.AZE="AZE",e.BHS="BHS",e.BHR="BHR",e.BGD="BGD",e.BRB="BRB",e.BLR="BLR",e.BEL="BEL",e.BLZ="BLZ",e.BEN="BEN",e.BMU="BMU",e.BTN="BTN",e.BOL="BOL",e.BES="BES",e.BIH="BIH",e.BWA="BWA",e.BVT="BVT",e.BRA="BRA",e.IOT="IOT",e.VGB="VGB",e.BRN="BRN",e.BGR="BGR",e.BFA="BFA",e.BDI="BDI",e.KHM="KHM",e.CMR="CMR",e.CAN="CAN",e.CPV="CPV",e.CYM="CYM",e.CAF="CAF",e.TCD="TCD",e.CHL="CHL",e.CHN="CHN",e.CXR="CXR",e.CCK="CCK",e.COL="COL",e.COM="COM",e.COG="COG",e.COK="COK",e.CRI="CRI",e.CIV="CIV",e.HRV="HRV",e.CUB="CUB",e.CUW="CUW",e.CYP="CYP",e.CZE="CZE",e.COD="COD",e.DNK="DNK",e.DJI="DJI",e.DMA="DMA",e.DOM="DOM",e.ECU="ECU",e.EGY="EGY",e.SLV="SLV",e.GNQ="GNQ",e.ERI="ERI",e.EST="EST",e.ETH="ETH",e.FLK="FLK",e.FRO="FRO",e.FJI="FJI",e.FIN="FIN",e.FRA="FRA",e.FXX="FXX",e.GUF="GUF",e.PYF="PYF",e.ATF="ATF",e.GAB="GAB",e.GMB="GMB",e.GEO="GEO",e.DEU="DEU",e.GHA="GHA",e.GIB="GIB",e.GRC="GRC",e.GRL="GRL",e.GRD="GRD",e.GLP="GLP",e.GUM="GUM",e.GTM="GTM",e.GIN="GIN",e.GNB="GNB",e.GUY="GUY",e.HTI="HTI",e.HMD="HMD",e.VAT="VAT",e.HND="HND",e.HKG="HKG",e.HUN="HUN",e.ISL="ISL",e.IND="IND",e.IDN="IDN",e.IRN="IRN",e.IRQ="IRQ",e.IRL="IRL",e.IMN="IMN",e.ISR="ISR",e.ITA="ITA",e.JAM="JAM",e.JPN="JPN",e.JOR="JOR",e.KAZ="KAZ",e.KEN="KEN",e.KIR="KIR",e.KOR="KOR",e.PRK="PRK",e.KWT="KWT",e.KGZ="KGZ",e.LAO="LAO",e.LVA="LVA",e.LBN="LBN",e.LSO="LSO",e.LBR="LBR",e.LBY="LBY",e.LIE="LIE",e.LTU="LTU",e.LUX="LUX",e.MAC="MAC",e.MKD="MKD",e.MDG="MDG",e.MWI="MWI",e.MYS="MYS",e.MDV="MDV",e.MLI="MLI",e.MLT="MLT",e.MHL="MHL",e.MTQ="MTQ",e.MRT="MRT",e.MUS="MUS",e.MYT="MYT",e.MEX="MEX",e.FSM="FSM",e.MDA="MDA",e.MCO="MCO",e.MNG="MNG",e.MSR="MSR",e.MNE="MNE",e.MAR="MAR",e.MOZ="MOZ",e.MMR="MMR",e.NAM="NAM",e.NRU="NRU",e.NPL="NPL",e.NLD="NLD",e.NCL="NCL",e.NZL="NZL",e.NIC="NIC",e.NER="NER",e.NGA="NGA",e.NIU="NIU",e.NFK="NFK",e.MNP="MNP",e.NOR="NOR",e.OMN="OMN",e.PAK="PAK",e.PLW="PLW",e.PSE="PSE",e.PAN="PAN",e.PNG="PNG",e.PRY="PRY",e.PER="PER",e.PHL="PHL",e.PCN="PCN",e.POL="POL",e.PRT="PRT",e.PRI="PRI",e.QAT="QAT",e.REU="REU",e.ROU="ROU",e.RUS="RUS",e.RWA="RWA",e.WSM="WSM",e.SMR="SMR",e.STP="STP",e.SAU="SAU",e.SEN="SEN",e.SRB="SRB",e.SYC="SYC",e.SLE="SLE",e.SGP="SGP",e.SXM="SXM",e.SVK="SVK",e.SVN="SVN",e.SLB="SLB",e.SOM="SOM",e.ZAF="ZAF",e.SGS="SGS",e.SSD="SSD",e.ESP="ESP",e.LKA="LKA",e.SHN="SHN",e.KNA="KNA",e.LCA="LCA",e.MAF="MAF",e.SPM="SPM",e.VCT="VCT",e.SDN="SDN",e.SUR="SUR",e.SJM="SJM",e.SWZ="SWZ",e.SWE="SWE",e.CHE="CHE",e.SYR="SYR",e.TWN="TWN",e.TJK="TJK",e.TZA="TZA",e.THA="THA",e.TLS="TLS",e.TGO="TGO",e.TKL="TKL",e.TON="TON",e.TTO="TTO",e.TUN="TUN",e.TUR="TUR",e.TKM="TKM",e.TCA="TCA",e.TUV="TUV",e.UGA="UGA",e.UKR="UKR",e.ARE="ARE",e.GBR="GBR",e.QZZ="QZZ",e.USA="USA",e.UMI="UMI",e.VIR="VIR",e.URY="URY",e.UZB="UZB",e.VUT="VUT",e.VEN="VEN",e.VNM="VNM",e.WLF="WLF",e.ESH="ESH",e.YEM="YEM",e.ZMB="ZMB",e.ZWE="ZWE"}(b||(b={}));class Z{constructor(){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}}!function(e){e.None="None",e.AFN="AFN",e.ALL="ALL",e.ANG="ANG",e.ARS="ARS",e.AUD="AUD",e.AWG="AWG",e.AZN="AZN",e.BAM="BAM",e.BBD="BBD",e.BGN="BGN",e.BMD="BMD",e.BND="BND",e.BOB="BOB",e.BRL="BRL",e.BSD="BSD",e.BWP="BWP",e.BYN="BYN",e.BZD="BZD",e.CAD="CAD",e.CHF="CHF",e.CLP="CLP",e.CNY="CNY",e.COP="COP",e.CRC="CRC",e.CUP="CUP",e.CZK="CZK",e.DKK="DKK",e.DOP="DOP",e.EGP="EGP",e.EUR="EUR",e.FJD="FJD",e.FKP="FKP",e.GBP="GBP",e.GHS="GHS",e.GIP="GIP",e.GTQ="GTQ",e.GYD="GYD",e.HKD="HKD",e.HNL="HNL",e.HRK="HRK",e.HUF="HUF",e.IDR="IDR",e.ILS="ILS",e.INR="INR",e.IRR="IRR",e.ISK="ISK",e.JMD="JMD",e.JPY="JPY",e.KGS="KGS",e.KHR="KHR",e.KPW="KPW",e.KRW="KRW",e.KYD="KYD",e.KZT="KZT",e.LAK="LAK",e.LBP="LBP",e.LKR="LKR",e.LRD="LRD",e.MKD="MKD",e.MNT="MNT",e.MUR="MUR",e.MXN="MXN",e.MYR="MYR",e.MZN="MZN",e.NAD="NAD",e.NGN="NGN",e.NIO="NIO",e.NOK="NOK",e.NPR="NPR",e.NZD="NZD",e.OMR="OMR",e.PAB="PAB",e.PEN="PEN",e.PHP="PHP",e.PKR="PKR",e.PLN="PLN",e.PYG="PYG",e.QAR="QAR",e.RON="RON",e.RSD="RSD",e.RUB="RUB",e.SAR="SAR",e.SBD="SBD",e.SCR="SCR",e.SEK="SEK",e.SGD="SGD",e.SHP="SHP",e.SOS="SOS",e.SRD="SRD",e.SVC="SVC",e.SYP="SYP",e.THB="THB",e.TRY="TRY",e.TTD="TTD",e.TWD="TWD",e.UAH="UAH",e.USD="USD",e.UYU="UYU",e.UZS="UZS",e.VES="VES",e.VND="VND",e.XCD="XCD",e.YER="YER",e.ZAR="ZAR",e.ZWD="ZWD"}(H||(H={}));class Y{constructor(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0}}!function(e){e.Sunday="Sunday",e.Monday="Monday",e.Tuesday="Tuesday",e.Wednesday="Wednesday",e.Thursday="Thursday",e.Friday="Friday",e.Saturday="Saturday"}(M||(M={})),function(e){e.None="None",e.OneRangeOfMotion="OneRangeOfMotion",e.MultipleRangesOfMotion="MultipleRangesOfMotion",e.AllRangesOfMotion="AllRangesOfMotion"}(N||(N={})),function(e){e.Male="Male",e.Female="Female"}(D||(D={}));class J{constructor(){this.id=void 0,this.description=void 0}}!function(e){e.None="None",e.National="National",e.Passport="Passport",e.Drivers="Drivers",e.Other="Other",e.GhanaCard="GhanaCard",e.SocialSecurity="SocialSecurity",e.Voter="Voter",e.IdCard="IdCard"}(B||(B={})),function(e){e.None="None",e.Manual="Manual"}(E||(E={})),function(e){e.NotRequired="NotRequired",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(k||(k={})),function(e){e.None="None",e.SmileIdentity="SmileIdentity",e.GMoney="GMoney",e.NIA="NIA",e.Manual="Manual"}(L||(L={})),function(e){e.None="None",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected",e.Review="Review"}(O||(O={})),function(e){e.Identity="Identity",e.Liveness="Liveness",e.Facial="Facial"}(G||(G={})),function(e){e.None="None",e.AAR="AAR",e.AFR="AFR",e.AGQ="AGQ",e.AKA="AKA",e.AMH="AMH",e.ARA="ARA",e.ARN="ARN",e.ASM="ASM",e.ASA="ASA",e.AST="AST",e.AZE="AZE",e.BAK="BAK",e.BAS="BAS",e.BEL="BEL",e.BEM="BEM",e.BEZ="BEZ",e.BUL="BUL",e.BIN="BIN",e.BAM="BAM",e.BEN="BEN",e.BOD="BOD",e.BRE="BRE",e.BRX="BRX",e.BOS="BOS",e.BYN="BYN",e.CAT="CAT",e.CHE="CHE",e.CGG="CGG",e.CHR="CHR",e.COS="COS",e.CES="CES",e.CHU="CHU",e.CYM="CYM",e.DAN="DAN",e.DAV="DAV",e.DEU="DEU",e.DJE="DJE",e.DSB="DSB",e.DUA="DUA",e.DIV="DIV",e.DYO="DYO",e.DZO="DZO",e.EBU="EBU",e.EWE="EWE",e.ELL="ELL",e.ENG="ENG",e.EPO="EPO",e.SPA="SPA",e.EST="EST",e.EUS="EUS",e.EWO="EWO",e.FAS="FAS",e.FUL="FUL",e.FIN="FIN",e.FIL="FIL",e.FAO="FAO",e.FRA="FRA",e.FUR="FUR",e.FRY="FRY",e.GLE="GLE",e.GLA="GLA",e.GLG="GLG",e.GRN="GRN",e.GSW="GSW",e.GUJ="GUJ",e.GUZ="GUZ",e.GLV="GLV",e.HAU="HAU",e.HAW="HAW",e.HEB="HEB",e.HIN="HIN",e.HRV="HRV",e.HSB="HSB",e.HUN="HUN",e.HYE="HYE",e.INA="INA",e.IBB="IBB",e.IND="IND",e.IBO="IBO",e.III="III",e.ISL="ISL",e.ITA="ITA",e.IKU="IKU",e.JPN="JPN",e.JGO="JGO",e.JMC="JMC",e.JAV="JAV",e.KAT="KAT",e.KAB="KAB",e.KAM="KAM",e.KDE="KDE",e.KEA="KEA",e.KHQ="KHQ",e.KIK="KIK",e.KAZ="KAZ",e.KKJ="KKJ",e.KAL="KAL",e.KLN="KLN",e.KHM="KHM",e.KAN="KAN",e.KOR="KOR",e.KOK="KOK",e.KAU="KAU",e.KAS="KAS",e.KSB="KSB",e.KSF="KSF",e.KSH="KSH",e.KUR="KUR",e.COR="COR",e.KIR="KIR",e.LAT="LAT",e.LAG="LAG",e.LTZ="LTZ",e.LUG="LUG",e.LKT="LKT",e.LIN="LIN",e.LAO="LAO",e.LRC="LRC",e.LIT="LIT",e.LUB="LUB",e.LUO="LUO",e.LUY="LUY",e.LAV="LAV",e.MAS="MAS",e.MER="MER",e.MFE="MFE",e.MLG="MLG",e.MGH="MGH",e.MGO="MGO",e.MRI="MRI",e.MKD="MKD",e.MAL="MAL",e.MON="MON",e.MNI="MNI",e.MOH="MOH",e.MAR="MAR",e.MSA="MSA",e.MLT="MLT",e.MUA="MUA",e.MYA="MYA",e.MZN="MZN",e.NAQ="NAQ",e.NDE="NDE",e.NDS="NDS",e.NEP="NEP",e.NLD="NLD",e.NMG="NMG",e.NNO="NNO",e.NNH="NNH",e.NOB="NOB",e.NQO="NQO",e.NBL="NBL",e.NSO="NSO",e.NUS="NUS",e.NYN="NYN",e.OCI="OCI",e.ORM="ORM",e.ORI="ORI",e.OSS="OSS",e.PAN="PAN",e.PAP="PAP",e.POL="POL",e.PRG="PRG",e.PRS="PRS",e.PUS="PUS",e.POR="POR",e.QUC="QUC",e.QUB="QUB",e.ROH="ROH",e.RUN="RUN",e.RON="RON",e.ROF="ROF",e.RUS="RUS",e.KIN="KIN",e.RWK="RWK",e.SAN="SAN",e.SAH="SAH",e.SAQ="SAQ",e.SBP="SBP",e.SND="SND",e.SME="SME",e.SEH="SEH",e.SES="SES",e.SAG="SAG",e.SHI="SHI",e.SIN="SIN",e.SLK="SLK",e.SLV="SLV",e.SMA="SMA",e.SMJ="SMJ",e.SMN="SMN",e.SMS="SMS",e.SNA="SNA",e.SOM="SOM",e.SQI="SQI",e.SRP="SRP",e.SSW="SSW",e.SSY="SSY",e.SOT="SOT",e.SWE="SWE",e.SWA="SWA",e.SYR="SYR",e.TAM="TAM",e.TEL="TEL",e.TEO="TEO",e.TGK="TGK",e.THA="THA",e.TIR="TIR",e.TIG="TIG",e.TUK="TUK",e.TSN="TSN",e.TON="TON",e.TUR="TUR",e.TSO="TSO",e.TAT="TAT",e.TWQ="TWQ",e.TZM="TZM",e.UIG="UIG",e.UKR="UKR",e.URD="URD",e.UZB="UZB",e.VAI="VAI",e.VEN="VEN",e.VIE="VIE",e.VOL="VOL",e.VUN="VUN",e.WAE="WAE",e.WAL="WAL",e.WOL="WOL",e.XHO="XHO",e.XOG="XOG",e.YAV="YAV",e.YID="YID",e.YOR="YOR",e.ZGH="ZGH",e.ZHO="ZHO",e.ZUL="ZUL"}(w||(w={}));class Q{constructor(){this.isAvailable=void 0,this.languageCode=void 0,this.languageName=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"}(F||(F={})),function(e){e.Unspecified="Unspecified",e.AgentAgreement="AgentAgreement",e.MerchantAgreement="MerchantAgreement",e.BusinessCertificate="BusinessCertificate",e.ProofOfAddress="ProofOfAddress",e.ProofOfBankAccount="ProofOfBankAccount",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Signature="Signature",e.LogoImage="LogoImage",e.StorefrontImage="StorefrontImage",e.PrimaryImage="PrimaryImage",e.GhanaCardId="GhanaCardId",e.RegisteredConstitutionOfTheCompany="RegisteredConstitutionOfTheCompany",e.CertificateOfIncorporation="CertificateOfIncorporation",e.CertifiedTrueCopyOfForm3A="CertifiedTrueCopyOfForm3A",e.MonthlyStatement="MonthlyStatement"}(U||(U={})),function(e){e.None="None",e.MTN="MTN",e.VDF="VDF",e.ATL="ATL",e.TGO="TGO",e.ATG="ATG",e.GMY="GMY",e.ZPY="ZPY",e.GHP="GHP",e.TCG="TCG"}(W||(W={}));class z{constructor(){this.isAvailable=void 0,this.operatorCode=void 0,this.operatorName=void 0}}!function(e){e[e.JAN=1]="JAN",e[e.FEB=2]="FEB",e[e.MAR=3]="MAR",e[e.APR=4]="APR",e[e.MAY=5]="MAY",e[e.JUN=6]="JUN",e[e.JUL=7]="JUL",e[e.AUG=8]="AUG",e[e.SEP=9]="SEP",e[e.OCT=10]="OCT",e[e.NOV=11]="NOV",e[e.DEC=12]="DEC"}(V||(V={})),function(e){e.Airtime="Airtime",e.Internet="Internet",e.Television="Television",e.Utilities="Utilities",e.Churches="Churches",e.Education="Education",e.Medical="Medical",e.Transport="Transport",e.Finance="Finance",e.Insurance="Insurance",e.Loans="Loans",e.Pensions="Pensions",e.General="General",e.Other="Other",e.DataBundle="DataBundle",e.VoiceBundle="VoiceBundle",e.Charity="Charity",e.Rent="Rent",e.MobileMoneyTransfer="MobileMoneyTransfer",e.PostPaidBills="PostPaidBills",e.SmsBundle="SmsBundle",e.Fuel="Fuel",e.Oil="Oil",e.Gas="Gas"}(K||(K={})),function(e){e.NONE="NONE",e.V2QR="V2QR",e.GHQR="GHQR",e.NIBSSQR="NIBSSQR"}(q||(q={})),function(e){e.Weekly="Weekly",e.Monthly="Monthly"}(x||(x={}));const j="/v1/lookup";class X extends y{constructor(...e){super(...e),this.cardIssuerCountryCache=new Map,this.addressLocationCache=new Map,this.digitalAddressCache=new Map,this.bankCache=new Map,this.currencyCache=void 0,this.countryCache=void 0,this.languageCache=void 0,this.mobileWalletOperatorCache=void 0,this.productTypeCache=void 0,this.merchantCategoryCache=void 0}async getProductTypes(){return this.productTypeCache||(this.productTypeCache=await this.request(`${j}/product-type`,"GET")),Promise.resolve(this.productTypeCache||[])}async getMerchantCategories(){return this.merchantCategoryCache||(this.merchantCategoryCache=await this.request(`${j}/merchant-category`,"GET")),Promise.resolve(this.merchantCategoryCache||[])}async getCurrencies(){return this.currencyCache||(this.currencyCache=await this.request(`${j}/currency`,"GET")),Promise.resolve(this.currencyCache||[])}async getCountries(){return this.currencyCache||(this.countryCache=await this.request(`${j}/country`,"GET")),Promise.resolve(this.countryCache||[])}async getLanguages(){return this.languageCache||(this.languageCache=await this.request(`${j}/language`,"GET")),Promise.resolve(this.languageCache||[])}async getAllCurrencies(){return this.currencyCache||(this.currencyCache=await this.request(`${j}/currency/all`,"GET")),Promise.resolve(this.currencyCache||[])}async getAllCountries(){return this.currencyCache||(this.countryCache=await this.request(`${j}/country/all`,"GET")),Promise.resolve(this.countryCache||[])}async getAllLanguages(){return this.languageCache||(this.languageCache=await this.request(`${j}/language/all`,"GET")),Promise.resolve(this.languageCache||[])}async getMobileWalletOperators(){return this.mobileWalletOperatorCache||(this.mobileWalletOperatorCache=await this.request(`${j}/mobile-wallet-operator`,"GET")),Promise.resolve(this.mobileWalletOperatorCache||[])}async getBanks(e){return this.bankCache.has(e||b.None)||(null==e||e===b.None?this.bankCache.set(b.None,await this.request(`${j}/bank`,"GET")):this.bankCache.set(e,await this.request(`${j}/bank?country=${e}`,"GET"))),Promise.resolve(this.bankCache.get(e||b.None)||[])}async getCardIssuerCountry(e){return this.cardIssuerCountryCache.has(e)||this.cardIssuerCountryCache.set(e,await this.request(`${j}/card-issuer-country?cardBin=${e}`,"GET")),Promise.resolve(this.cardIssuerCountryCache.get(e)||null)}async getAddressFromLocation(e,t){if(e>=-90&&e<=90&&t>=-180&&t<=180){const i=`${e}|${t}`;return this.addressLocationCache.has(i)||this.addressLocationCache.set(i,await this.request(`${j}/address?latitude=${e}&longitude=${t}`,"GET")),Promise.resolve(this.addressLocationCache.get(i)||null)}return Promise.reject(new p(400,null,"Invalid location coordinates."))}async getAddressFromDigitalAddress(e){return/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)?(this.digitalAddressCache.has(e)||this.digitalAddressCache.set(e,await this.request(`${j}/address/${e}`,"GET")),Promise.resolve(this.digitalAddressCache.get(e)||null)):Promise.reject(new p(400,null,"Invalid digital address format."))}}class _{constructor(){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}}class ee{constructor(){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}}class te{constructor(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0}}var ie,se,oe,ne,re,ae,de,ce,le;!function(e){e.AmericanExpress="AmericanExpress",e.DinersClub="DinersClub",e.Discover="Discover",e.JCB="JCB",e.Maestro="Maestro",e.MasterCard="MasterCard",e.Switch="Switch",e.Visa="Visa",e.Unknown="Unknown"}(ie||(ie={}));class he{constructor(){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}}class ue{constructor(){this.token=void 0,this.accountNumber=void 0,this.bank=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}}class ve{constructor(){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}}class Ae{constructor(){this.productReference=void 0,this.productFields=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}}class me{constructor(){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}}class Se{constructor(){this.token=void 0,this.cardNumber=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}}class Ce{constructor(){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}}class pe{constructor(){this.doNotProcess=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}}class ge{constructor(){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}}class ye{constructor(){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}}class fe{constructor(){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.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}}class Re{constructor(){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}}class Pe{constructor(){this.msisdn=void 0,this.mobileWalletOperator=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}}class Ie{constructor(){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}}class Te{constructor(){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}}class be{constructor(){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}}class He{constructor(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=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}}class Me{constructor(){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}}class Ne{constructor(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=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}}class De{constructor(){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}}!function(e){e.None="None",e.FeeTakenFromSourceByMerchant="FeeTakenFromSourceByMerchant",e.Elevy="Elevy",e.ExternalPaymentProcessorFee="ExternalPaymentProcessorFee",e.ExternallyProcessedElevy="ExternallyProcessedElevy",e.InternalUserTransactionFee="InternalUserTransactionFee",e.ExternalUserTransactionFee="ExternalUserTransactionFee",e.InternalPaymentProcessorFee="InternalPaymentProcessorFee"}(se||(se={}));class Be{constructor(){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}}class Ee{constructor(){this.accessToken=void 0,this.reference=void 0,this.paymentStatusUrls=void 0}}!function(e){e.Unspecified="Unspecified",e.CashOut="CashOut",e.BuyingGoods="BuyingGoods",e.BillPayment="BillPayment",e.GhIPSSQrCode="GhIPSSQrCode"}(oe||(oe={}));class ke{constructor(){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}}class Le{constructor(){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}}class Oe{constructor(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0}}class Ge{constructor(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0}}class we{constructor(){this.reference=void 0,this.paymentStatusUrls=void 0}}class Fe{constructor(){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}}class Ue{constructor(){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}}class We{constructor(){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}}class Ve{constructor(){this.qrCode=void 0}}class Ke{constructor(){this.canProcess=void 0,this.supportedQrCodes=void 0}}!function(e){e.Consumer="Consumer",e.Merchant="Merchant"}(ne||(ne={}));class qe{constructor(){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}}class xe{constructor(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0}}class $e{constructor(){this.reference=void 0,this.refundStatusUrls=void 0}}class Ze{constructor(){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}}class Ye{constructor(){this.refundAmountInCents=void 0,this.description=void 0}}class Je{constructor(){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}}!function(e){e[e.Manual=1]="Manual",e[e.Auto=2]="Auto"}(re||(re={}));class Qe{constructor(){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}}class ze{constructor(){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}}class je{constructor(){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}}class Xe{constructor(){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}}class _e{constructor(){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}}class et{constructor(){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}}class tt{constructor(){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}}class it{constructor(){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}}class st{constructor(){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}}class ot{constructor(){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}}class nt{constructor(){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}}class rt{constructor(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0}}class at{constructor(){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}}class dt{constructor(){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}}class ct{constructor(){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}}class lt{constructor(){this.polling=void 0,this.signalR=void 0,this.serverSentEvents=void 0,this.webSockets=void 0}}!function(e){e[e.Unknown=0]="Unknown",e[e.Generic=1]="Generic",e[e.BankAccount=2]="BankAccount",e[e.Card=3]="Card",e[e.MobileWallet=4]="MobileWallet",e[e.Cash=5]="Cash",e[e.Merchant=6]="Merchant",e[e.QrCode=7]="QrCode",e[e.DigitalWallet=8]="DigitalWallet",e[e.Wallet=8]="Wallet",e[e.Bill=9]="Bill"}(ae||(ae={}));class ht{constructor(){this.confirm=void 0}}class ut{constructor(){this.key=void 0,this.data=void 0,this.isPublic=void 0}}ut.none=void 0;class vt{constructor(){this.name=void 0,this.feeType=void 0,this.feeAmountInCents=void 0,this.currency=void 0}}!function(e){e[e.Bank=0]="Bank",e[e.MobileWallet=1]="MobileWallet",e[e.Card=2]="Card",e[e.Cash=3]="Cash",e[e.Merchant=4]="Merchant",e[e.QrCode=5]="QrCode",e[e.DigitalWallet=6]="DigitalWallet",e[e.MTN=7]="MTN",e[e.Vodafone=8]="Vodafone",e[e.AirtelTigo=9]="AirtelTigo",e[e.GhanaPay=10]="GhanaPay",e[e.Zeepay=11]="Zeepay",e[e.Glo=12]="Glo",e[e.Surfline=13]="Surfline",e[e.Busy4G=14]="Busy4G",e[e.DSTV=15]="DSTV",e[e.GoTV=16]="GoTV",e[e.StarTimesTV=17]="StarTimesTV",e[e.ECG=18]="ECG",e[e.GhanaWater=19]="GhanaWater",e[e.Telecel=20]="Telecel"}(de||(de={}));class At{constructor(){this.pin=void 0}}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Success=1]="Success",e[e.Failed=2]="Failed",e[e.Processing=3]="Processing",e[e.Pending=4]="Pending",e[e.Authorized=5]="Authorized",e[e.Declined=6]="Declined",e[e.ValidationError=7]="ValidationError",e[e.Requires3DSecure=8]="Requires3DSecure",e[e.RequiresPin=9]="RequiresPin",e[e.Expired=10]="Expired",e[e.InsufficientFunds=11]="InsufficientFunds",e[e.AddressVerificationFailed=12]="AddressVerificationFailed",e[e.Ignored=13]="Ignored",e[e.ExternallyFunded=14]="ExternallyFunded",e[e.ProcessorUnavailable=15]="ProcessorUnavailable",e[e.TimedOut=16]="TimedOut",e[e.Indeterminate=17]="Indeterminate",e[e.RequiresConfirmation=18]="RequiresConfirmation",e[e.RequiresAddress=19]="RequiresAddress",e[e.Delayed=20]="Delayed",e[e.RequiresInitialConfirmation=21]="RequiresInitialConfirmation",e[e.Unrecoverable=22]="Unrecoverable",e[e.Reversed=23]="Reversed"}(ce||(ce={})),function(e){e[e.Source=1]="Source",e[e.Destination=2]="Destination"}(le||(le={}));class mt{constructor(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0}}class St{constructor(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0}}class Ct{constructor(){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}}class pt{constructor(){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}}class gt{constructor(){this.toNumber=void 0,this.receiptType=void 0}}class yt{constructor(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0}}class ft{constructor(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0}}const Rt="/v1/pay",Pt="/v2/token",It="/v1/transaction",Tt="/v1/notification";class bt extends y{constructor(e,t=!1){super(e,t),this.hubConnection=void 0,this.baseUrl=void 0,this.activeTransactions=new Map,this.manuallyStartedPaymentStatusChecking=!1,this.baseUrl=e.defaults.baseURL,this.hubConnection=(new o.HubConnectionBuilder).withUrl(`${this.baseUrl}${Rt}/hub`,{accessTokenFactory:()=>a.accessToken}).withAutomaticReconnect().withStatefulReconnect().configureLogging(this.consoleLogging?o.LogLevel.Debug:o.LogLevel.None).build()}async pay(e){e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;const t=await this.request(Rt,"POST",e);return this.startPaymentStatusChecking(t.reference)}async payMerchant(e,t){t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;const i=await this.request(`${Rt}/merchant/${e}`,"POST",t);return a.accessToken=a.accessToken||i.accessToken,this.startPaymentStatusChecking(i.reference)}async paymentStatusCheck(e){return this.request(`${Rt}/status/${e}`,"GET")}async paymentReceipt(e){return this.request(`${Rt}/receipt/${e}`,"GET")}async createCardToken(e){return this.request(`${Pt}/card`,"POST",e)}async createBankAccountToken(e){return this.request(`${Pt}/bankAccount`,"POST",e)}async verifyCardToken(e){return this.request(`${Pt}/card/verify`,"POST",e)}async createCardVerificationPayment(e){const t=await this.request(`${Pt}/card/verify/payment`,"POST",e);return this.startPaymentStatusChecking(t.reference)}async submitPinCode(e,t){return this.request(`${It}/pin/${e}`,"POST",{pin:t})}async rejectPinCode(e){return this.request(`${It}/pin/${e}`,"POST",{pin:""})}async submitConfirmation(e,t){return this.request(`${It}/confirm/${e}`,"POST",{confirm:t})}async submitAddress(e,t){return this.request(`${It}/address/${e}`,"POST",t)}async validateQrCode(e){return this.request("/v1/validate/qr","POST",e)}async sendEmailPaymentNotification(e,t,i){return this.request(`${Tt}/email/${e}`,"POST",{toEmailAddress:t,templateName:i,receiptType:ne.Consumer})}async sendSmsPaymentNotification(e,t){const i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:ne.Consumer};return this.request(`${Tt}/sms/${e}`,"POST",i)}async stopPaymentStatusChecking(e){if(e)this.removePaymentStatusCheckInterval(e),this.activeTransactions.delete(e);else{this.manuallyStartedPaymentStatusChecking=!1;for(let e of this.activeTransactions.values())clearInterval(e.statusCheckTimer);this.activeTransactions.clear()}return this.manuallyStartedPaymentStatusChecking||this.hubConnection.state===o.HubConnectionState.Disconnected?Promise.resolve():(this.hubConnection.off("OnPaymentStatusChanged"),this.hubConnection.stop())}async startPaymentStatusChecking(e){var t=this;if(e&&this.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),this.hubConnection.off("OnPaymentStatusChanged"),this.hubConnection.on("OnPaymentStatusChanged",async function(e){if(t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.activeTransactions.has(e.paymentReference))if(t.checkPaymentUpdateStatus(e),e.isComplete){if(t.activeTransactions.delete(e.paymentReference),!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),await t.stopPaymentStatusChecking(e.paymentReference)}else t.addPaymentStatusCheckInterval(e.paymentReference,5e3);return Promise.resolve()}),await async function(){try{return e&&t.addPaymentStatusCheckInterval(e,1e4),t.hubConnection.state!==o.HubConnectionState.Connected?await t.hubConnection.start():Promise.resolve()}catch(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)}}(),e){const t=await this.paymentStatusCheck(e);return this.checkPaymentUpdateStatus(t),Promise.resolve(t)}return this.manuallyStartedPaymentStatusChecking=!0,Promise.resolve(null)}getOfflinePaymentFormUrl(e,t,i,s,o){let n="";return n="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),`${this.baseUrl}/mp?x=${e}|${t}|${i}|${s||""}|${n}`}getRequiredPinLength(e){return e===W.VDF||"VDF"===e.toString()||e===W.TCG||"TCG"===e.toString()?6:4}luhnCheck(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;const t=[0,2,4,6,8,1,3,5,7,9];let i=e.length,s=1,o=0,n=0;for(;i;)n=parseInt(e.charAt(--i),10),s^=1,o+=s?t[n]:n;return o%10==0}checkPaymentUpdateStatus(e){const t=this.activeTransactions.get(e.paymentReference);t&&JSON.stringify(e)!==t.lastJsonResponse?(t.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(h,e),(e=>{let t=!1;const i=i=>{if(!t){const s={message:i.message,transactionReference:i.reference,paymentStatusResponse:e};if(i.status===ce.RequiresConfirmation||i.status===ce.RequiresInitialConfirmation){t=!0;const o=e.paymentDestinations.mobileWallets.find(e=>e.accountHolder)||e.paymentDestinations.bankAccounts.find(e=>e.accountHolder)||e.paymentDestinations.merchants.find(e=>e.accountHolder)||e.paymentDestinations.qrCodes.find(e=>e.accountHolder)||e.paymentDestinations.bills.find(e=>e.accountHolder)||null;s.confirmationData={amountInCents:i.amountInCents,sourceAccountHolder:i.accountHolder||null,destinationAccountHolder:null!==o?o.accountHolder:null,fees:i.fees},this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(s,{depth:null})),this.events.publish(m,s)}else i.status===ce.RequiresPin?(t=!0,s.pinLength=this.getRequiredPinLength(W.None),i&&i.mobileWalletOperator&&(s.pinLength=this.getRequiredPinLength(i.mobileWalletOperator)),this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(s,{depth:null})),this.events.publish(A,s)):i.status===ce.RequiresAddress&&(t=!0,this.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(s,{depth:null})),this.events.publish(S,s))}};e.paymentSources.cards.forEach(s=>{if(!t&&s.status===ce.Requires3DSecure&&s.threeDSecureUrl){t=!0,this.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;const i={url:s.threeDSecureUrl};this.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(i,{depth:null})),this.events.publish(v,i)}else i(s)}),!t&&this.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(this.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,this.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),this.events.publish(C)),e.paymentSources.mobileWallets.forEach(e=>i(e)),e.paymentSources.bankAccounts.forEach(e=>i(e)),e.paymentDestinations.bankAccounts.forEach(e=>i(e)),e.paymentDestinations.merchants.forEach(e=>i(e)),e.paymentDestinations.mobileWallets.forEach(e=>i(e)),e.paymentDestinations.qrCodes.forEach(e=>i(e)),e.paymentDestinations.cards.forEach(e=>i(e)),e.paymentDestinations.wallets.forEach(e=>i(e)),e.paymentDestinations.bills.forEach(e=>i(e))})(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(u,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 !!")}async onStatusPollingInterval(e){if(this.removePaymentStatusCheckInterval(e),this.activeTransactions.has(e)){const t=await this.paymentStatusCheck(e);t&&(this.checkPaymentUpdateStatus(t),t.isComplete?this.manuallyStartedPaymentStatusChecking||(this.hubConnection.off("OnPaymentStatusChanged"),await this.stopPaymentStatusChecking(e)):this.addPaymentStatusCheckInterval(e))}return Promise.resolve()}addPaymentStatusCheckInterval(e,t=1500){if(this.activeTransactions.has(e)){const i=this.activeTransactions.get(e);clearInterval(i.statusCheckTimer),i.statusCheckTimer=setInterval(()=>this.onStatusPollingInterval(e),t)}}removePaymentStatusCheckInterval(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)}}const Ht="/v1/consumer",Mt="/v1/consumer/messages";class Nt extends y{async createConsumer(e){return this.request(Ht,"POST",e)}async updateConsumer(e){return this.request(Ht,"PUT",e)}async deleteConsumer(){return await this.request(Ht,"DELETE"),this.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),this.events.publish(d),Promise.resolve()}async getConsumer(){return this.request(Ht,"GET")}async submitFeedback(e){return this.request("/v1/consumer/feedback/send","POST",{description:e})}async getAllMessages(){return this.request(Mt,"GET")}async getMessage(e){return this.request(`${Mt}/${e}`,"GET")}async deleteMessage(e){return this.request(`${Mt}/${e}`,"DELETE")}async contactSupport(e){return this.request("/v1/consumer/contact","POST",e)}}class Dt extends y{constructor(...e){super(...e),this.qrCache=new Map}async decode(e){return this.qrCache.has(e)||this.qrCache.set(e,await this.request(`/v1/qr/decode?qrCodeData=${e}`,"GET")),Promise.resolve(this.qrCache.get(e)||null)}async generate(e,t=500){return e?n.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t}):Promise.reject()}}const Bt="/v1/merchant",Et="/v1/merchant/otp",kt="/v1/merchant/pos",Lt="/v1/merchant/product",Ot="/v1/merchant/user";class Gt extends y{constructor(...e){super(...e),this.productDetailCache=new Map,this.productsCache=[]}createMerchantProductProxy(e){const t=r({},e);return new Proxy(t,{get:(e,t)=>"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t],set:(e,t,i)=>(e[t]=i,!0)})}async getAllProducts(){if(0===this.productsCache.length){const e=await this.request(`${Lt}/lookup`,"GET");this.productsCache=e||[]}return Promise.resolve(this.productsCache)}async getActiveProductTypes(){const e=await this.getAllProducts();return Promise.resolve(e.map(e=>e.type).sort())}async getMerchantNamesFromProductType(e){const t=(await this.getAllProducts()).find(t=>t.type===e);return Promise.resolve(t?t.merchants.map(e=>e.name).filter((e,t,i)=>i.indexOf(e)===t).sort():[])}async getProductTypesForMerchant(e){const t=await this.getAllProducts(),i=[];return t.forEach(t=>{t.merchants.find(t=>t.name===e)&&i.push(t.type)}),Promise.resolve(i.filter((e,t,i)=>i.indexOf(e)===t).sort())}async getProductsForMerchantAndProductType(e,t){const i=(await this.getAllProducts()).find(t=>t.type===e);if(i){const e=i.merchants.find(e=>e.name===t);if(e)return Promise.resolve(e.products.sort((e,t)=>e.name.localeCompare(t.name)))}return Promise.resolve([])}async getProductDetails(e){this.productDetailCache.has(e)||this.productDetailCache.set(e,await this.request(`${Lt}/details/${e}`,"GET"));const t=this.productDetailCache.get(e)||null;return Promise.resolve(t?this.createMerchantProductProxy(t):null)}async getProducts(){return(await this.request(`${Lt}`,"GET")).map(e=>this.createMerchantProductProxy(e))}async createProduct(e){const t=await this.request(`${Lt}`,"POST",e);return this.createMerchantProductProxy(t)}async updateProduct(e){const t=await this.request(`${Lt}`,"PUT",e);return this.createMerchantProductProxy(t)}async deleteProduct(e){return this.request(`${Lt}/${e}`,"DELETE")}async getMerchant(){return this.request(Bt,"GET")}async createMerchant(e){return this.request(Bt,"POST",e)}async updateMerchant(e){return this.request(Bt,"PUT",e)}async getMerchantAgreement(){return this.request(`${Bt}/agreement`,"GET")}async acceptMerchantAgreement(){return this.request(`${Bt}/agreement/accept`,"POST")}async verifyMobileNumber(e){let t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),this.request(`${Et}/${t}`,"POST")}async validateOtp(e,t){const i={otpValue:e};let s="";t&&(s=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""));const o=await this.request(`${Et}/validate/${s}`,"POST",i);return a.accessToken=o.accessToken||a.accessToken,Promise.resolve(o)}async validateMerchantName(e){const t={merchantName:e},i=await this.request(`${Bt}/validate/name`,"POST",t);return i.accessToken?(a.accessToken=i.accessToken,Promise.resolve(!0)):Promise.resolve(!1)}async createUser(e,t,i,s){const o={username:e,password:t,mobileNumber:i,emailAddress:s},n=await this.request(Ot,"POST",o);return a.accessToken=n.accessToken,a.refreshToken=n.refreshToken,Promise.resolve(n)}async switchToMerchant(e){const t=await this.request(`${Ot}/switch/${e}`,"POST");return a.accessToken=t.accessToken,a.refreshToken=t.refreshToken,Promise.resolve(t)}async getUserMerchants(){return this.request(Ot,"GET")}async setupPosTerminal(e,t,i){const s=await this.request(`${kt}/setup/${e}/${t}`,"POST",i);return a.accessToken=s.checkAccessToken||a.accessToken,Promise.resolve(s)}async getPosTerminalConfiguration(e,t){const i=await this.request(`${kt}/config/${e}/${t}`,"GET");return a.accessToken=i.accessToken||a.accessToken,Promise.resolve(i)}async getTerminalPaymentQrCodes(e,t){let i=t.toString();return Number.isInteger(t)&&(i=H[t]),this.request(`${kt}/qr?amount=${e}&currency=${i}`,"GET")}async getTerminalPaymentQrCodeUrls(e,t){let i=t.toString();return Number.isInteger(t)&&(i=H[t]),this.request(`${kt}/qr-urls?amount=${e}&currency=${i}`,"GET")}async uploadFile(e){return this.request(`${Bt}/file/upload`,"POST",e)}}const wt=/\{@?\w+}/g;class Ft{constructor(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)}render(e){if(!this.tokens.length)return this.raw;e=e||{};const t=[];for(var i=0;i<this.tokens.length;++i){const s=this.tokens[i];"string"==typeof s.name?e.hasOwnProperty(s.name)?t.push(this.toText(e[s.name])):t.push(s.raw):t.push(s.text)}return t.join("")}bindProperties(e){const t={};let i=0;for(var s=0;s<this.tokens.length&&i<e.length;++s){const o=this.tokens[s];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){const s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t}tokenize(e){const t=[];let i,s;for(;null!==(i=wt.exec(e));){i.index!==s&&t.push({text:e.slice(s,i.index)});let o=!1,n=i[0].slice(1,-1);0===n.indexOf("@")&&(n=n.slice(1),o=!0),t.push({name:n,destructure:o,raw:i[0]}),s=wt.lastIndex}return s>=0&&s<e.length&&t.push({text:e.slice(s)}),t}toText(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){let t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()}capture(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e}}var Ut;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical"}(Ut||(Ut={}));class Wt extends y{constructor(e,t=!1,i=100,s=6e4){super(e,t),this.messageBatch=void 0,this.batchSize=void 0,this.batchInterval=void 0,this.maxQueueSize=void 0,this.batchTimeout=null,this.messageBatch=[],this.batchSize=i,this.batchInterval=s,this.maxQueueSize=Math.min(10*i,1e3),this.batchInterval>0&&this.submitMessageBatch(!0)}flush(){return this.submitMessageBatch(!1)}fatal(e,...t){return this.log(Ut.Critical,e,t)}error(e,...t){return this.log(Ut.Error,e,t)}warn(e,...t){return this.log(Ut.Warning,e,t)}info(e,...t){return this.log(Ut.Information,e,t)}debug(e,...t){return this.log(Ut.Debug,e,t)}trace(e,...t){return this.log(Ut.Trace,e,t)}log(e,t,i){const s={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},o=new Ft(s.template),n=o.render(o.bindProperties(s.properties));if(this.consoleLogging)switch(e){case Ut.Critical:case Ut.Error:console.error(n);break;case Ut.Warning:console.warn(n);break;case Ut.Information:console.info(n);break;case Ut.Debug:case Ut.Trace:console.debug(n);break;default:console.log(n)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(s),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+Ut[e].toUpperCase()+"] "+n}submitMessageBatch(e){clearTimeout(this.batchTimeout);let t=Promise.resolve();if(this.messageBatch.length){const e=this.messageBatch.splice(0,this.batchSize);e.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",e.length),t=this.request("/v1/logging","POST",e).catch(t=>{this.messageBatch.unshift(...e),this.messageBatch.length>this.maxQueueSize&&this.messageBatch.splice(0,this.messageBatch.length-this.maxQueueSize),this.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",this.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(()=>this.submitMessageBatch(!0),this.batchInterval)),t}}class Vt extends y{async ping(){return this.request("/v1/ping","GET")}}const Kt="/v1/content";class qt extends y{constructor(...e){super(...e),this.clientContentCache=void 0,this.contactDetailsCache=void 0}async getClientContent(){return this.clientContentCache||(this.clientContentCache=await this.request(Kt,"GET")),Promise.resolve(this.clientContentCache||null)}async getContactDetails(){return this.contactDetailsCache||(this.contactDetailsCache=await this.request(`${Kt}/contact-details`,"GET")),Promise.resolve(this.contactDetailsCache||null)}}const xt="/v1/reports/sales";class $t extends y{async getRecentSales(e=5,t=!1){return this.request(`${xt}/recent?limit=${e}&successfulOnly=${t}`,"GET")}async getDailySales(e,t,i){let s=e.toString();return Number.isInteger(e)&&(s=H[e]),this.request(`${xt}/daily?currency=${s}&dateFrom=${t}&dateTo=${i}`,"GET")}async getSalesSummary(e){let t=e.toString();return Number.isInteger(e)&&(t=H[e]),this.request(`${xt}/summary?currency=${t}`,"GET")}}class Zt{constructor(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0}}class Yt{constructor(){this.username=void 0}}class Jt{constructor(){this.base64Images=void 0}}class Qt{constructor(){this.username=void 0,this.password=void 0}}class zt{constructor(){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}}class jt{constructor(){this.username=void 0,this.password=void 0}}class Xt{constructor(){this.otpValue=void 0}}class _t{constructor(){this.userAccountExists=void 0,this.accessToken=void 0}}class ei{constructor(){this.base64Image=void 0}}class ti{constructor(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0}}class ii{constructor(){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}}var si,oi,ni,ri,ai,di,ci,li,hi,ui,vi,Ai,mi;!function(e){e.MAIN="MAIN",e.POST="POST",e.BILL="BILL",e.SHIP="SHIP"}(si||(si={})),function(e){e.SAVINGS="SAVINGS",e.CURRENT="CURRENT",e.FIXED="FIXED",e.MONEYMARKET="MONEYMARKET",e.CODA="CODA"}(oi||(oi={}));class Si{constructor(){this.details=void 0}}class Ci{constructor(){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}}class pi{constructor(){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}}class gi{constructor(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0}}class yi{constructor(){this.name=void 0,this.reference=void 0,this.externalReference=void 0}}class fi{constructor(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0}}class Ri{constructor(){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}}class Pi{constructor(){this.reference=void 0,this.name=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.isActive=void 0}}class Ii{constructor(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=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}}class Ti{constructor(){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}}class bi{constructor(){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}}class Hi{constructor(){this.createdDate=void 0,this.loginCredentials=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}}class Mi{constructor(){this.bankAccounts=void 0,this.mobileWallets=void 0,this.loanAccounts=void 0,this.insurancePolicies=void 0,this.cards=void 0}}!function(e){e[e.VisaPAN=1]="VisaPAN",e[e.MasterCardPAN=2]="MasterCardPAN",e[e.RegistrationInvitationCode=3]="RegistrationInvitationCode",e[e.GMoneyWalletNumber=4]="GMoneyWalletNumber",e[e.LinkedGcbBankAccountReferences=5]="LinkedGcbBankAccountReferences",e[e.MarketingConsent=6]="MarketingConsent",e[e.CommunicationOutsideRegularHoursConsent=7]="CommunicationOutsideRegularHoursConsent",e[e.PrimarySourceOfFunds=8]="PrimarySourceOfFunds"}(ni||(ni={}));class Ni{constructor(){this.name=void 0,this.attribute=void 0,this.value=void 0}}class Di{constructor(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bank=void 0,this.branchName=void 0,this.routingCode=void 0,this.hasActiveCard=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}}class Bi{constructor(){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.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0}}class Ei{constructor(){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}}class ki{constructor(){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}}class Li{constructor(){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}}class Oi{constructor(){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}}class Gi{constructor(){this.description=void 0}}class wi{constructor(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}class Fi{constructor(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}!function(e){e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(ri||(ri={}));class Ui{constructor(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0}}class Wi{constructor(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0}}class Vi{constructor(){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}}!function(e){e.Unknown="Unknown",e.Android="Android",e.iOS="iOS",e.Web="Web"}(ai||(ai={}));class Ki{constructor(){this.terminalType=void 0,this.reference=void 0}}class qi{constructor(){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}}class xi{constructor(){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}}class $i{constructor(){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}}class Zi{constructor(){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}}!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed"}(di||(di={}));class Yi{constructor(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0}}!function(e){e.ByAmount="ByAmount",e.ByQuantity="ByQuantity",e.ByAmountAndQuantity="ByAmountAndQuantity"}(ci||(ci={}));class Ji{constructor(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0}}!function(e){e.None="None",e.Retail="Retail",e.Restaurant="Restaurant",e.Forecourt="Forecourt",e.Workshop="Workshop"}(li||(li={}));class Qi{constructor(){this.provider=void 0,this.status=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0}}!function(e){e.Unverified="Unverified",e.Verified="Verified",e.PartiallyVerified="PartiallyVerified",e.Rejected="Rejected"}(hi||(hi={}));class zi{constructor(){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}}!function(e){e[e.GhIPSSMerchantId=2]="GhIPSSMerchantId",e[e.VisaPAN=3]="VisaPAN",e[e.MasterCardPAN=4]="MasterCardPAN",e[e.NIBSSMerchantReference=6]="NIBSSMerchantReference"}(ui||(ui={}));class ji{constructor(){this.name=void 0,this.attribute=void 0,this.value=void 0}}class Xi{constructor(){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}}class _i{constructor(){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}}class es{constructor(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0}}class ts{constructor(){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}}class is{constructor(){this.merchantName=void 0}}class ss{constructor(){this.accessToken=void 0}}!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed",e[e.SettlementConfirmation=3]="SettlementConfirmation"}(vi||(vi={}));class os{constructor(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0}}class ns{constructor(){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}}class rs{constructor(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0}}class as{constructor(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.selectionItems=void 0}}class ds{constructor(){this.label=void 0,this.value=void 0}}class cs{constructor(){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}}class ls{constructor(){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}}class hs{constructor(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0}}class us{constructor(){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}}class vs{constructor(){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}}!function(e){e.None="None",e.IntraDay="IntraDay",e.EndOfDay="EndOfDay",e.TPlusOne="TPlusOne",e.TPlusTwo="TPlusTwo",e.TPlusThree="TPlusThree",e.TPlusSeven="TPlusSeven"}(Ai||(Ai={}));class As{constructor(){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}}class ms{constructor(){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}}class Ss{constructor(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0}}class Cs{constructor(){this.reference=void 0,this.token=void 0,this.platform=void 0}}class ps{constructor(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0}}class gs{constructor(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0}}class ys{constructor(){this.qrCodeType=void 0,this.qrCode=void 0}}class fs{constructor(){this.qrCodeBase64=void 0,this.checkAccessToken=void 0,this.doesTerminalExist=void 0,this.isTerminalActive=void 0,this.isTerminalLinked=void 0}}!function(e){e.None="None",e.GHIPPS="GHIPPS",e.NIBSS="NIBSS",e.PAX="PAX",e.Verifone="Verifone"}(mi||(mi={}));class Rs{constructor(){this.type=void 0,this.merchants=void 0}}class Ps{constructor(){this.name=void 0,this.products=void 0}}class Is{constructor(){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}}class Ts{constructor(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0}}class bs{constructor(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0}}class Hs{constructor(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.category=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.status=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0}}class Ms{constructor(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalSalesInCents=void 0,this.periodTotals=void 0}}class Ns{constructor(){this.description=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.categoryTotals=void 0}}class Ds{constructor(){this.accountNumber=void 0,this.bank=void 0}}class Bs{constructor(){this.token=void 0}}class Es{constructor(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0}}class ks{constructor(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0}}class Ls{constructor(){this.token=void 0,this.verificationCode=void 0}}const Os="-".repeat(120);class Gs{constructor(o){var n=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=s,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=(o.baseUrl||"http://localhost:5000").replace(/\/+$/,""),this.abortController=new AbortController,this.axiosInstance=e.create({baseURL:this.baseUrl,timeout:0,signal:this.abortController.signal,headers:r({},o.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":o.language||"en"})}),i(this.axiosInstance,async function(e){const t="/v1/auth/refresh";if(e.request.path===t)return Promise.reject(e);if(a.refreshToken)try{let i={method:"POST",url:t,headers:{Authorization:"Bearer "+a.refreshToken}};n.consoleLogging&&(console.debug("\r\n"+Os),console.debug("-- AUTO REFRESH --"),console.debug(Os),console.debug(`${i.method}: ${n.baseUrl}${i.url}`),console.debug(Os),i.headers&&(console.debug("-- HEADERS --"),console.dir(i.headers)),i.data&&(console.debug("-- REQUEST --"),console.dir(i.data,{depth:null})));const s=await n.axiosInstance(i);if(n.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(s.data,{depth:null}),console.debug(Os)),s.data&&s.data.success)return a.accessToken=s.data.result.accessToken,a.refreshToken=s.data.result.refreshToken,n.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(s.data.result,{depth:null})),n.events.publish(c,s.data.result),e&&(e.response.config.headers.Authorization="Bearer "+a.accessToken),Promise.resolve(e);n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d)}catch(e){throw n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d),e}else a.accessToken&&(n.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),n.events.publish(d));return Promise.reject(e)}),t(this.axiosInstance,{retries:o.retries||3,retryDelay:t.exponentialDelay,onRetry:(e,t,i)=>{this.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",t);const s={retryCount:e};this.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(s,{depth:null})),this.events.publish(l,s)}}),this.consoleLogging=o.consoleLogging||!1,this.logBatchSize=o.logBatchSize||100,this.logBatchInterval=o.logBatchInterval||6e4,this.system=new Vt(this.axiosInstance,this.consoleLogging),this.content=new qt(this.axiosInstance,this.consoleLogging),this.log=new Wt(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new R(this.axiosInstance,this.consoleLogging),this.consumers=new Nt(this.axiosInstance,this.consoleLogging),this.merchants=new Gt(this.axiosInstance,this.consoleLogging),this.lookups=new X(this.axiosInstance,this.consoleLogging),this.payments=new bt(this.axiosInstance,this.consoleLogging),this.qrCodes=new Dt(this.axiosInstance,this.consoleLogging),this.reports=new $t(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=e=>console.debug(JSON.stringify(e,null,2)))}async close(){return this.consoleLogging&&console.info("Flush and clear the logs..."),await this.log.flush(),this.consoleLogging&&console.info("Stopping payment status checks..."),await this.payments.stopPaymentStatusChecking(),this.consoleLogging&&console.info("Unsubscribing from all events..."),this.events.clearAllSubscriptions(),this.consoleLogging&&console.info("Cancel all API requests..."),this.abortController.abort(),Promise.resolve()}}export{_ as AccountHolderTransactionResult,Ki as AdditionalTerminalReference,ii as Address,si as AddressType,ee as AmountTotals,p as ApiError,a as ApiTokens,Qe as ApplePaySource,ft as ApplePayWebPaymentResponse,P as Bank,ue as BankAccountDestination,ve as BankAccountDestinationResult,Ds as BankAccountRequest,Bs as BankAccountResponse,ze as BankAccountSource,je as BankAccountSourceResult,oi as BankAccountType,$ as BankData,Ri as BasicConsumer,qi as BasicEmployee,xi as BasicMerchant,Pi as Beneficiary,Ii as BeneficiaryBankAccount,Ti as BeneficiaryCard,bi as BeneficiaryMobileWallet,Ae as BillDestination,me as BillDestinationResult,$i as Business,Se as CardDestination,Ce as CardDestinationResult,te as CardHolder,ie as CardIssuer,Es as CardRequest,ks as CardResponse,Xe as CardSource,_e as CardSourceResult,he as CardVerificationPaymentRequest,pe as CashDestination,ge as CashDestinationResult,et as CashSource,tt as CashSourceResult,Rs as CategoryDetails,Zt as ChangePasswordRequest,I as Channel,Hi as Consumer,Mi as ConsumerAccounts,ni as ConsumerAttribute,Ni as ConsumerAttributeValue,Di as ConsumerBankAccount,Bi as ConsumerCard,Ei as ConsumerFile,T as ConsumerFileType,ki as ConsumerInsurancePolicy,Li as ConsumerLoanAccount,Oi as ConsumerMobileWallet,Si as ContactDetails,b as Country,Z as CountryData,H as Currency,Y as CurrencyData,M as DayOfWeek,Vi as Device,ai as DevicePlatform,St as EmailNotificationRequest,Zi as Employee,di as EmployeeNotificationEvent,Yi as EmployeeNotificationEventSetting,Ci as FaceCheckResult,N as FaceMovementDetectionLevel,se as FeeType,Gi as Feedback,Yt as ForgotPasswordRequest,ci as FuelPurchaseMethod,D as Gender,ye as GenericDestination,it as GenericSource,st as GooglePaySource,yt as GooglePayWebPaymentResponse,Ji as HostedPaymentOptions,J as IdAndDescription,pi as IdentityDocument,B as IdentityDocumentType,li as Industry,Qi as KybFileResult,E as KybProvider,k as KybStatus,hi as KybStatusSummary,wi as KycFileResult,Fi as KycLookupResult,L as KycProvider,O as KycStatus,ri as KycStatusSummary,G as KycVerificationType,w as Language,Q as LanguageData,Be as LineItem,Jt as LivenessRequest,gi as Location,Ut as LogLevel,Qt as LoginCredentials,zt as LoginErrorResponse,jt as LoginRequest,zi as Merchant,ui as MerchantAttribute,ji as MerchantAttributeValue,Xi as MerchantBankAccount,F as MerchantCategory,fe as MerchantDestination,Re as MerchantDestinationResult,Ps as MerchantDetail,_i as MerchantFile,U as MerchantFileType,es as MerchantLoginCredentials,ts as MerchantMobileWallet,is as MerchantNameVerificationRequest,ss as MerchantNameVerificationResponse,vi as MerchantNotificationEvent,os as MerchantNotificationEventSetting,Ct as MerchantPaymentRequest,Ee as MerchantPaymentResponse,oe as MerchantPaymentType,ns as MerchantProduct,rs as MerchantProductCatalog,as as MerchantProductField,ds as MerchantProductFieldSelectionItem,cs as MerchantQrCode,ls as MerchantQrCodeOptions,ke as MerchantRefundRequest,Ui as Message,Pe as MobileWalletDestination,Ie as MobileWalletDestinationResult,W as MobileWalletOperator,z as MobileWalletOperatorData,ot as MobileWalletSource,nt as MobileWalletSourceResult,V as Month,yi as NameAndReference,l as OnApiRetry,c as OnAutomaticRefresh,C as OnComplete3DSecure,u as OnPaymentComplete,h as OnPaymentStatusUpdate,v as OnRequires3DSecure,S as OnRequiresAddress,m as OnRequiresConfirmation,A as OnRequiresPin,d as OnSessionExpired,hs as OperatingTime,Xt as OtpVerificationRequest,_t as OtpVerificationResponse,Te as PaymentDestinationResults,be as PaymentDestinations,Le as PaymentReceiptResponse,Oe as PaymentRecurrenceSchedule,Ge as PaymentRecurrenceScheduleEntry,pt as PaymentRequest,we as PaymentResponse,rt as PaymentSourceResults,at as PaymentSources,Fe as PaymentStatusResponse,Ue as PaymentTransaction,We as PaymentTransactionResult,us as PosOptions,vs as PosPermissions,Is as ProductDetail,K as ProductType,He as QrCodeDestination,Me as QrCodeDestinationResult,q as QrCodeType,Ve as QrCodeValidationRequest,Ke as QrCodeValidationResponse,ne as ReceiptType,qe as RefundReceiptResponse,xe as RefundRequest,$e as RefundResponse,Ze as RefundStatusResponse,Ye as RefundTransaction,Je as RefundTransactionResult,re as RefundType,x as RepeatInterval,Wi as RewardPointsInfo,Ts as SalesCategorySummaryResponse,bs as SalesDetailsByDayResponse,Hs as SalesDetailsResponse,Ms as SalesMonthSummaryResponse,Ns as SalesPeriodSummaryResponse,ei as SelfieRequest,Ai as SettlementTime,gt as SmsNotificationRequest,lt as StatusUrls,fi as SwitchEnvironmentInfo,As as Terminal,ms as TerminalConfiguration,Ss as TerminalFeatures,Cs as TerminalNotificationToken,gs as TerminalPaymentQrCodeUrls,ps as TerminalPaymentQrCodes,ys as TerminalQrCode,fs as TerminalSetup,mi as TerminalType,ti as TokenResponse,ae as TransactionCategory,ht as TransactionConfirmation,ut as TransactionData,vt as TransactionFee,de as TransactionIconType,At as TransactionPin,ce as TransactionStatus,le as TransactionType,Gs as VantagePay,Ls as VerifyCardRequest,Ne as WalletDestination,De as WalletDestinationResult,dt as WalletSource,ct as WalletSourceResult,mt as Webhook};
2
2
  //# sourceMappingURL=index.modern.mjs.map