@vantagepay/vantagepay 0.15.7 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/authentication/index.d.ts +1 -1
- package/dist/common/types.d.ts +2 -1
- package/dist/consumers/index.d.ts +2 -0
- package/dist/consumers/types.d.ts +8 -2
- package/dist/eventTypes.d.ts +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/lookups/types.d.ts +14 -3
- package/dist/merchants/index.d.ts +5 -4
- package/dist/merchants/types.d.ts +5 -3
- package/dist/payments/types.d.ts +27 -23
- package/dist/reports/index.d.ts +6 -4
- package/dist/reports/types.d.ts +12 -12
- package/package.json +5 -6
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"axios";import t from"axios-retry";import i from"axios-auth-refresh";import n from"pubsub-js";import*as o from"@microsoft/signalr";import s from"qrcode";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return function(e,t,i){if(l())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return i&&u(o,i.prototype),o}(e,arguments,c(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),u(i,e)},h(e)}var v=new(/*#__PURE__*/function(){function e(){this.accessToken=null,this.refreshToken=null}return e.prototype.decodeToken=function(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)||{}}var n=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(n)||{}}return{}},e}()),m=Symbol("login.session.expired"),A=Symbol("login.session.refreshed"),f=Symbol("api.retry"),S=Symbol("payment.status"),C=Symbol("payment.complete"),p=Symbol("payment.wait.requires3dSecure"),y=Symbol("payment.wait.requiresPin"),g=Symbol("payment.wait.requiresConfirmation"),P=Symbol("payment.wait.requiresAddress"),R=Symbol("payment.complete3dSecure"),I=/*#__PURE__*/function(e){function t(i,n,o){var s,r=o;return Array.isArray(n)&&n.length>0?r=n.join(" "):("string"==typeof n||n instanceof String)&&(r=n.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=n,Object.setPrototypeOf(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),t.prototype),s}return d(t,e),t}(/*#__PURE__*/h(Error)),T="-".repeat(120),b=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=n,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,n){void 0===i&&(i=null),void 0===n&&(n=null);try{var o,s=function(e){if(r.consoleLogging&&console.debug(T),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new I(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null},r=this,a=function(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}(function(){var s={method:t,url:e};return(n||v.accessToken)&&(s.headers={Authorization:"Bearer "+(n||v.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+T),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(T),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){o=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(T));var t=0,i=null,n=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,n=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new I(t,i,n||e.message)});return Promise.resolve(a&&a.then?a.then(s):s())}catch(e){return Promise.reject(e)}},t.convertDatesToIso=function(e){var t=this;if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");var i=-e.getTimezoneOffset(),n=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),o=String(Math.abs(i)%60).padStart(2,"0"),s=i>=0?"+":"-";return e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+"T"+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")+s+n+":"+o}if(Array.isArray(e))return e.map(function(e){return t.convertDatesToIso(e)});if("object"==typeof e&&e.constructor===Object){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=this.convertDatesToIso(e[a]));return r}return e},e}();function H(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var M,N="/v1/auth",D=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(v.accessToken)try{return(new Date).getTime()<1e3*v.decodeToken(v.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,n={username:e,password:t};return v.accessToken=null,v.refreshToken=null,Promise.resolve(H(function(){return Promise.resolve(i.request(N+"/login","POST",n)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(v.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.logout=function(){try{var e=function(){return Promise.resolve()},t=this,i=v.refreshToken;v.accessToken=null,v.refreshToken=null;var n=function(){if(i)return Promise.resolve(t.request(N+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(m)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{return Promise.resolve(this.request(N+"/refresh","POST",null,e||v.refreshToken)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(N+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(N+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,n={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(H(function(){return Promise.resolve(i.request(N+"/password/change","POST",n)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})},function(e){throw e.result&&(v.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.forgotPassword=function(e){try{return Promise.resolve(this.request(N+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{return Promise.resolve(this.request(N+"/otp/validate","POST",{otpValue:e}))}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(N+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(N+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).reference||null},i.getCurrentUserName=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).user_name||null},i.getRedirectAction=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).email_address||null},t}(b);!function(e){e.None="None",e.ABD="ABD",e.ABL="ABL",e.ACB="ACB",e.ABS="ABS",e.ABG="ABG",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.FBL="FBL",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.SCB="SCB",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"}(M||(M={}));var B,E,k,O=function(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.routingCode=void 0,this.bankName=void 0,this.country=void 0};!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"}(B||(B={})),function(e){e.Unspecified="Unspecified",e.FaceImage="FaceImage",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Liveness="Liveness",e.ProfileImage="ProfileImage",e.Signature="Signature"}(E||(E={})),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"}(k||(k={}));var L,G=function(){this.isAvailable=void 0,this.country=void 0,this.countryName=void 0,this.longIsoCode=void 0,this.shortIsoCode=void 0,this.numericIsoCode=void 0,this.dialingCode=void 0};!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"}(L||(L={}));var w,F,U,W=function(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0};!function(e){e.Sunday="Sunday",e.Monday="Monday",e.Tuesday="Tuesday",e.Wednesday="Wednesday",e.Thursday="Thursday",e.Friday="Friday",e.Saturday="Saturday"}(w||(w={})),function(e){e.None="None",e.OneRangeOfMotion="OneRangeOfMotion",e.MultipleRangesOfMotion="MultipleRangesOfMotion",e.AllRangesOfMotion="AllRangesOfMotion"}(F||(F={})),function(e){e.Male="Male",e.Female="Female"}(U||(U={}));var V,q,K,x,j,Z,Y,J=function(){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"}(V||(V={})),function(e){e.None="None",e.Manual="Manual"}(q||(q={})),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"}(x||(x={})),function(e){e.None="None",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected",e.Review="Review"}(j||(j={})),function(e){e.Identity="Identity",e.Liveness="Liveness",e.Facial="Facial"}(Z||(Z={})),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"}(Y||(Y={}));var Q,z,X,_=function(){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"}(Q||(Q={})),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"}(z||(z={})),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"}(X||(X={}));var $,ee,te,ie,ne=function(){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"}($||($={})),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"}(ee||(ee={})),function(e){e.NONE="NONE",e.V2QR="V2QR",e.GHQR="GHQR",e.NIBSSQR="NIBSSQR"}(te||(te={})),function(e){e.Weekly="Weekly",e.Monthly="Monthly"}(ie||(ie={}));var oe,se="/v1/lookup",re=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).cardIssuerCountryCache=new Map,t.addressLocationCache=new Map,t.digitalAddressCache=new Map,t.bankCache=new Map,t.currencyCache=void 0,t.countryCache=void 0,t.languageCache=void 0,t.allCurrencyCache=void 0,t.allCountryCache=void 0,t.allLanguageCache=void 0,t.mobileWalletOperatorCache=void 0,t.productTypeCache=void 0,t.merchantCategoryCache=void 0,t}d(t,e);var i=t.prototype;return i.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(se+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(se+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(se+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(se+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(se+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(se+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(se+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(se+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(se+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getBanks=function(e){try{var t=function(){return Promise.resolve(i.bankCache.get(e||k.None)||[])},i=this,n=function(){if(!i.bankCache.has(e||k.None)){var t=function(){if(null==e||e===k.None){var t=i.bankCache,n=t.set,o=k.None;return Promise.resolve(i.request(se+"/bank","GET")).then(function(e){n.call(t,o,e)})}var s=i.bankCache,r=s.set;return Promise.resolve(i.request(se+"/bank?country="+e,"GET")).then(function(t){r.call(s,e,t)})}();if(t&&t.then)return t.then(function(){})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,n=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,n=t.set;return Promise.resolve(i.request(se+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getAddressFromLocation=function(e,t){try{var i,n=function(e){return i?e:Promise.reject(new I(400,null,"Invalid location coordinates."))},o=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var n=function(){var e=Promise.resolve(o.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!o.addressLocationCache.has(s)){var i=o.addressLocationCache,n=i.set;return Promise.resolve(o.request(se+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){n.call(i,s,e)})}}();return r&&r.then?r.then(n):n()}}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}},i.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new I(400,null,"Invalid digital address format."))},n=this,o=function(){if(/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)){var i=function(){var i=Promise.resolve(n.digitalAddressCache.get(e)||null);return t=1,i},o=function(){if(!n.digitalAddressCache.has(e)){var t=n.digitalAddressCache,i=t.set;return Promise.resolve(n.request(se+"/address/"+e,"GET")).then(function(n){i.call(t,e,n)})}}();return o&&o.then?o.then(i):i()}}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}},t}(b),ae=function(){this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ce=function(){this.totalAmountRequestedInCents=void 0,this.totalAmountAttemptedInCents=void 0,this.totalAmountProcessedInCents=void 0,this.totalAmountProcessedLessFeesAndCommissionsInCents=void 0,this.totalInternalFeesInCents=void 0,this.totalExternalFeesInCents=void 0,this.totalFeesInCents=void 0,this.totalElevyInCents=void 0,this.totalUserFeesInCents=void 0,this.totalCommissionsInCents=void 0,this.totalRefundsInCents=void 0,this.totalCashbackAmountAttemptedInCents=void 0,this.totalCashbackAmountProcessedInCents=void 0,this.totalTipAmountAttemptedInCents=void 0,this.totalTipAmountProcessedInCents=void 0,this.grandTotalProcessedInCents=void 0,this.grandTotalToBePaidByUserInCents=void 0},de=function(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0};!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"}(oe||(oe={}));var le,ue=function(){this.yourReference=void 0,this.consumer=void 0,this.token=void 0,this.cvv=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.location=void 0,this.paymentStatusWebhook=void 0},he=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ve=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},me=function(){this.productReference=void 0,this.productFields=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ae=function(){this.productName=void 0,this.productReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},fe=function(){this.token=void 0,this.cardNumber=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Se=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Ce=function(){this.doNotProcess=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},pe=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ye=function(){this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ge=function(){this.merchantReference=void 0,this.merchantSource=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.paymentType=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Pe=function(){this.merchantReference=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Re=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ie=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Te=function(){this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},be=function(){this.generic=void 0,this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},He=function(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Me=function(){this.qrCode=void 0,this.merchantReference=void 0,this.billReference=void 0,this.tipAmountInCents=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Ne=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},De=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0};!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"}(le||(le={}));var Be,Ee=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.quantity=void 0,this.currency=void 0,this.unitAmountInCents=void 0,this.totalAmountInCents=void 0},ke=function(){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"}(Be||(Be={}));var Oe,Le=function(){this.language=void 0,this.timeZone=void 0,this.description=void 0,this.transactionBatchReference=void 0,this.refundCategory=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},Ge=function(){this.lineItems=void 0,this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},we=function(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0},Fe=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},Ue=function(){this.reference=void 0,this.paymentStatusUrls=void 0},We=function(){this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},Ve=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},qe=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Ke=function(){this.qrCode=void 0},xe=function(){this.canProcess=void 0,this.supportedQrCodes=void 0};!function(e){e.Consumer="Consumer",e.Merchant="Merchant"}(Oe||(Oe={}));var je,Ze=function(){this.yourReference=void 0,this.originalPaymentReceipt=void 0,this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Ye=function(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},Je=function(){this.reference=void 0,this.refundStatusUrls=void 0},Qe=function(){this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ze=function(){this.refundAmountInCents=void 0,this.description=void 0},Xe=function(){this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0};!function(e){e[e.Manual=1]="Manual",e[e.Auto=2]="Auto"}(je||(je={}));var _e,$e=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},et=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},tt=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},it=function(){this.token=void 0,this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.cvv=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.disableThreeDSecure=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},nt=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ot=function(){this.doNotProcess=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},st=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},rt=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},at=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ct=function(){this.mobileWalletOperator=void 0,this.msisdn=void 0,this.voucherCode=void 0,this.subscriberPin=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},dt=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},lt=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},ut=function(){this.generic=void 0,this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0,this.applePay=void 0,this.googlePay=void 0},ht=function(){this.walletReference=void 0,this.walletProvider=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},vt=function(){this.walletReference=void 0,this.walletProvider=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},mt=function(){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"}(_e||(_e={}));var At=function(){this.confirm=void 0},ft=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};ft.none=void 0;var St,Ct=function(){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"}(St||(St={}));var pt,yt,gt=function(){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"}(pt||(pt={})),function(e){e[e.Source=1]="Source",e[e.Destination=2]="Destination"}(yt||(yt={}));var Pt,Rt=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0},It=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},Tt=function(){this.paymentSources=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.timestamp=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},bt=function(){this.paymentSources=void 0,this.paymentDestinations=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},Ht=function(){this.toNumber=void 0,this.receiptType=void 0},Mt=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},Nt=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},Dt="/v1/pay",Bt="/v2/token",Et="/v1/transaction",kt="/v1/notification",Ot=/*#__PURE__*/function(e){function t(t,i){var n;return void 0===i&&(i=!1),(n=e.call(this,t,i)||this).hubConnection=void 0,n.baseUrl=void 0,n.activeTransactions=new Map,n.manuallyStartedPaymentStatusChecking=!1,n.baseUrl=t.defaults.baseURL,n.hubConnection=(new o.HubConnectionBuilder).withUrl(""+n.baseUrl+Dt+"/hub",{accessTokenFactory:function(){return v.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(n.consoleLogging?o.LogLevel.Debug:o.LogLevel.None).build(),n}d(t,e);var i=t.prototype;return i.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(Dt,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(Dt+"/merchant/"+e,"POST",t)).then(function(e){return v.accessToken=v.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(Dt+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.paymentReceipt=function(e){try{return Promise.resolve(this.request(Dt+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.createCardToken=function(e){try{return Promise.resolve(this.request(Bt+"/card","POST",e))}catch(e){return Promise.reject(e)}},i.createBankAccountToken=function(e){try{return Promise.resolve(this.request(Bt+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},i.verifyCardToken=function(e){try{return Promise.resolve(this.request(Bt+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},i.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(Bt+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.submitPinCode=function(e,t){try{return Promise.resolve(this.request(Et+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},i.rejectPinCode=function(e){try{return Promise.resolve(this.request(Et+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},i.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(Et+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},i.submitAddress=function(e,t){try{return Promise.resolve(this.request(Et+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},i.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},i.sendEmailPaymentNotification=function(e,t,i){try{return Promise.resolve(this.request(kt+"/email/"+e,"POST",{toEmailAddress:t,templateName:i,receiptType:Oe.Consumer}))}catch(e){return Promise.reject(e)}},i.sendSmsPaymentNotification=function(e,t){try{var i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:Oe.Consumer};return Promise.resolve(this.request(kt+"/sms/"+e,"POST",i))}catch(e){return Promise.reject(e)}},i.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return r(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(e,t):void 0}}(e))){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.activeTransactions.values());!(i=n()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===o.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},i.startPaymentStatusChecking=function(e){try{var t=this;return e&&t.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.hubConnection.off("OnPaymentStatusChanged"),t.hubConnection.on("OnPaymentStatusChanged",function(e){try{var i,n=function(e){return i?e:Promise.resolve()};t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null});var o=function(){if(t.activeTransactions.has(e.paymentReference))return t.checkPaymentUpdateStatus(e),function(){if(e.isComplete)return t.activeTransactions.delete(e.paymentReference),function(){if(!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.stopPaymentStatusChecking(e.paymentReference)).then(function(e){return i=1,e})}();t.addPaymentStatusCheckInterval(e.paymentReference,5e3)}()}();return Promise.resolve(o&&o.then?o.then(n):n(o))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(n,s){try{var r=function(){function n(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var s=function(){if(t.hubConnection.state!==o.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return s&&s.then?s.then(n):n(s)}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(i){return e?(t.removePaymentStatusCheckInterval(e),console.error("Could not connect via SignalR, falling back to polling end-point..."),t.addPaymentStatusCheckInterval(e,1500),Promise.resolve()):Promise.reject(i)}))}catch(e){return Promise.reject(e)}}()).then(function(){var i;function n(e){return i?e:Promise.resolve(null)}var o=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var n=Promise.resolve(e);return i=1,n});t.manuallyStartedPaymentStatusChecking=!0}();return o&&o.then?o.then(n):n(o)})}catch(e){return Promise.reject(e)}},i.getOfflinePaymentFormUrl=function(e,t,i,n,o){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(n||"")+"|"+s},i.getRequiredPinLength=function(e){return e===X.VDF||"VDF"===e.toString()||e===X.TCG||"TCG"===e.toString()?6:4},i.luhnCheck=function(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;for(var t=[0,2,4,6,8,1,3,5,7,9],i=e.length,n=1,o=0,s=0;i;)s=parseInt(e.charAt(--i),10),o+=(n^=1)?t[s]:s;return o%10==0},i.checkPaymentUpdateStatus=function(e){var t=this,i=this.activeTransactions.get(e.paymentReference);i&&JSON.stringify(e)!==i.lastJsonResponse?(i.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(S,e),function(e){var i=!1,n=function(n){if(!i){var o={message:n.message,transactionReference:n.reference,paymentStatusResponse:e};if(n.status===pt.RequiresConfirmation||n.status===pt.RequiresInitialConfirmation){i=!0;var s=e.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||e.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||e.paymentDestinations.merchants.find(function(e){return e.accountHolder})||e.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||e.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;o.confirmationData={amountInCents:n.amountInCents,sourceAccountHolder:n.accountHolder||null,destinationAccountHolder:null!==s?s.accountHolder:null,fees:n.fees},t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(o,{depth:null})),t.events.publish(g,o)}else n.status===pt.RequiresPin?(i=!0,o.pinLength=t.getRequiredPinLength(X.None),n&&n.mobileWalletOperator&&(o.pinLength=t.getRequiredPinLength(n.mobileWalletOperator)),t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(o,{depth:null})),t.events.publish(y,o)):n.status===pt.RequiresAddress&&(i=!0,t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(o,{depth:null})),t.events.publish(P,o))}};e.paymentSources.cards.forEach(function(o){if(!i&&o.status===pt.Requires3DSecure&&o.threeDSecureUrl){i=!0,t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;var s={url:o.threeDSecureUrl};t.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(s,{depth:null})),t.events.publish(p,s)}else n(o)}),!i&&t.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,t.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),t.events.publish(R)),e.paymentSources.mobileWallets.forEach(function(e){return n(e)}),e.paymentSources.bankAccounts.forEach(function(e){return n(e)}),e.paymentDestinations.bankAccounts.forEach(function(e){return n(e)}),e.paymentDestinations.merchants.forEach(function(e){return n(e)}),e.paymentDestinations.mobileWallets.forEach(function(e){return n(e)}),e.paymentDestinations.qrCodes.forEach(function(e){return n(e)}),e.paymentDestinations.cards.forEach(function(e){return n(e)}),e.paymentDestinations.wallets.forEach(function(e){return n(e)}),e.paymentDestinations.bills.forEach(function(e){return n(e)})}(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(C,e),this.removePaymentStatusCheckInterval(e.paymentReference),this.activeTransactions.delete(e.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},i.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var n=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var n=function(){if(t){i.checkPaymentUpdateStatus(t);var n=function(){if(t.isComplete){var n=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(n&&n.then)return n.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(n&&n.then)return n.then(function(){})}}();if(n&&n.then)return n.then(function(){})})}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var n=this.activeTransactions.get(e);clearInterval(n.statusCheckTimer),n.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},i.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},t}(b),Lt="/v1/consumer",Gt="/v1/consumer/messages",wt="/v1/consumer/account",Ft=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Lt,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Lt,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Lt,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(m),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Lt,"GET"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(wt+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(wt+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(Gt,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(Gt+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(Gt+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(b),Ut=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).qrCache=new Map,t}d(t,e);var i=t.prototype;return i.decode=function(e){try{var t=function(){return Promise.resolve(i.qrCache.get(e)||null)},i=this,n=function(){if(!i.qrCache.has(e)){var t=i.qrCache,n=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(s.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(b),Wt="/v1/merchant",Vt="/v1/merchant/otp",qt="/v1/merchant/pos",Kt="/v1/merchant/product",xt="/v1/merchant/user",jt=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).productDetailCache=new Map,t.productsCache=[],t}d(t,e);var i=t.prototype;return i.createMerchantProductProxy=function(e){var t=a({},e);return new Proxy(t,{get:function(e,t){return"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t]},set:function(e,t,i){return e[t]=i,!0}})},i.getAllProducts=function(){try{var e=function(){return Promise.resolve(t.productsCache)},t=this,i=function(){if(0===t.productsCache.length)return Promise.resolve(t.request(Kt+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getActiveProductTypes=function(){try{return Promise.resolve(this.getAllProducts()).then(function(e){return Promise.resolve(e.map(function(e){return e.type}).sort())})}catch(e){return Promise.reject(e)}},i.getMerchantNamesFromProductType=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=t.find(function(t){return t.type===e});return Promise.resolve(i?i.merchants.map(function(e){return e.name}).filter(function(e,t,i){return i.indexOf(e)===t}).sort():[])})}catch(e){return Promise.reject(e)}},i.getProductTypesForMerchant=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=[];return t.forEach(function(t){t.merchants.find(function(t){return t.name===e})&&i.push(t.type)}),Promise.resolve(i.filter(function(e,t,i){return i.indexOf(e)===t}).sort())})}catch(e){return Promise.reject(e)}},i.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var n=i.find(function(t){return t.type===e});if(n){var o=n.merchants.find(function(e){return e.name===t});if(o)return Promise.resolve(o.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},i.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,n=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,n=t.set;return Promise.resolve(i.request(Kt+"/details/"+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+Kt,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},i.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Kt,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+Kt,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.deleteProduct=function(e){try{return Promise.resolve(this.request(Kt+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.getMerchant=function(){try{return Promise.resolve(this.request(Wt,"GET"))}catch(e){return Promise.reject(e)}},i.createMerchant=function(e){try{return Promise.resolve(this.request(Wt,"POST",e))}catch(e){return Promise.reject(e)}},i.updateMerchant=function(e){try{return Promise.resolve(this.request(Wt,"PUT",e))}catch(e){return Promise.reject(e)}},i.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Wt+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Wt+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(Vt+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e,t){try{var i={otpValue:e},n="";return t&&(n=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(Vt+"/validate/"+n,"POST",i)).then(function(e){return v.accessToken=e.accessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.validateMerchantName=function(e){try{return Promise.resolve(this.request(Wt+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(v.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},i.createUser=function(e,t,i,n){try{return Promise.resolve(this.request(xt,"POST",{username:e,password:t,mobileNumber:i,emailAddress:n,isLockedOut:!1})).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.switchToMerchant=function(e){try{return Promise.resolve(this.request(xt+"/switch/"+e,"POST")).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getUserMerchants=function(){try{return Promise.resolve(this.request(xt,"GET"))}catch(e){return Promise.reject(e)}},i.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(qt+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return v.accessToken=e.checkAccessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(qt+"/config/"+e+"/"+t,"GET")).then(function(e){return v.accessToken=e.accessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodes=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=L[t]),Promise.resolve(this.request(qt+"/qr?amount="+e+"¤cy="+i,"GET"))}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodeUrls=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=L[t]),Promise.resolve(this.request(qt+"/qr-urls?amount="+e+"¤cy="+i,"GET"))}catch(e){return Promise.reject(e)}},i.uploadFile=function(e){try{return Promise.resolve(this.request(Wt+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},t}(b),Zt=/\{@?\w+}/g,Yt=/*#__PURE__*/function(){function e(e){if(this.raw=void 0,this.tokens=void 0,null===e||!e.length)throw new Error('Argument "messageTemplate" is required.');this.raw=e,this.tokens=this.tokenize(e)}var t=e.prototype;return t.render=function(e){if(!this.tokens.length)return this.raw;e=e||{};for(var t=[],i=0;i<this.tokens.length;++i){var n=this.tokens[i];"string"==typeof n.name?e.hasOwnProperty(n.name)?t.push(this.toText(e[n.name])):t.push(n.raw):t.push(n.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,n=0;n<this.tokens.length&&i<e.length;++n){var o=this.tokens[n];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){var s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t},t.tokenize=function(e){for(var t,i,n=[];null!==(t=Zt.exec(e));){t.index!==i&&n.push({text:e.slice(i,t.index)});var o=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),o=!0),n.push({name:s,destructure:o,raw:t[0]}),i=Zt.lastIndex}return i>=0&&i<e.length&&n.push({text:e.slice(i)}),n},t.toText=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e;if("number"==typeof e)return e.toString();if("boolean"==typeof e)return e.toString();if("function"==typeof e.toISOString)return e.toISOString();if("object"==typeof e){var t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()},t.capture=function(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e},e}();!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"}(Pt||(Pt={}));var Jt,Qt=/*#__PURE__*/function(e){function t(t,i,n,o){var s;return void 0===i&&(i=!1),void 0===n&&(n=100),void 0===o&&(o=6e4),(s=e.call(this,t,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=n,s.batchInterval=o,s.maxQueueSize=Math.min(10*n,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}d(t,e);var i=t.prototype;return i.flush=function(){return this.submitMessageBatch(!1)},i.fatal=function(e){return this.log(Pt.Critical,e,[].slice.call(arguments,1))},i.error=function(e){return this.log(Pt.Error,e,[].slice.call(arguments,1))},i.warn=function(e){return this.log(Pt.Warning,e,[].slice.call(arguments,1))},i.info=function(e){return this.log(Pt.Information,e,[].slice.call(arguments,1))},i.debug=function(e){return this.log(Pt.Debug,e,[].slice.call(arguments,1))},i.trace=function(e){return this.log(Pt.Trace,e,[].slice.call(arguments,1))},i.log=function(e,t,i){var n={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},o=new Yt(n.template),s=o.render(o.bindProperties(n.properties));if(this.consoleLogging)switch(e){case Pt.Critical:case Pt.Error:console.error(s);break;case Pt.Warning:console.warn(s);break;case Pt.Information:console.info(s);break;case Pt.Debug:case Pt.Trace:console.debug(s);break;default:console.log(s)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(n),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+Pt[e].toUpperCase()+"] "+s},i.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var n=this.messageBatch.splice(0,this.batchSize);n.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",n.length),i=this.request("/v1/logging","POST",n).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,n),t.messageBatch.length>t.maxQueueSize&&t.messageBatch.splice(0,t.messageBatch.length-t.maxQueueSize),t.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",t.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(function(){return t.submitMessageBatch(!0)},this.batchInterval)),i},t}(b),zt=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return d(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(b),Xt="/v1/content",_t=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}d(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request(Xt,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request(Xt+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(b),$t="/v1/reports/sales",ei=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var i=t.prototype;return i.getRecentSales=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request($t+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},i.getDailySales=function(e,t,i){try{var n=e.toString();return Number.isInteger(e)&&(n=L[e]),Promise.resolve(this.request($t+"/daily?currency="+n+"&dateFrom="+t+"&dateTo="+i,"GET"))}catch(e){return Promise.reject(e)}},i.getSalesSummary=function(e){try{var t=e.toString();return Number.isInteger(e)&&(t=L[e]),Promise.resolve(this.request($t+"/summary?currency="+t,"GET"))}catch(e){return Promise.reject(e)}},t}(b),ti=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},ii=function(){this.username=void 0},ni=function(){this.base64Images=void 0},oi=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},si=function(){this.invalidUsernameOrPassword=void 0,this.mustChangePassword=void 0,this.mustValidatePhoneNumber=void 0,this.mustValidateEmailAddress=void 0,this.deactivated=void 0,this.registrationRequired=void 0,this.lockedOut=void 0,this.changePasswordAccessToken=void 0,this.validatePhoneNumberAccessToken=void 0,this.resendEmailVerificationToken=void 0},ri=function(){this.username=void 0,this.password=void 0},ai=function(){this.otpValue=void 0},ci=function(){this.userAccountExists=void 0,this.accessToken=void 0},di=function(){this.base64Image=void 0},li=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},ui=function(){this.reference=void 0,this.addressType=void 0,this.addressLine1=void 0,this.addressLine2=void 0,this.addressLine3=void 0,this.postalCode=void 0,this.countryIsoCode=void 0,this.city=void 0,this.state=void 0,this.location=void 0,this.description=void 0,this.formatted=void 0,this.isActive=void 0};!function(e){e.MAIN="MAIN",e.POST="POST",e.BILL="BILL",e.SHIP="SHIP"}(Jt||(Jt={}));var hi,vi=function(){this.currency=void 0,this.amountInCents=void 0};!function(e){e.SAVINGS="SAVINGS",e.CURRENT="CURRENT",e.FIXED="FIXED",e.MONEYMARKET="MONEYMARKET",e.CODA="CODA"}(hi||(hi={}));var mi,Ai=function(){this.details=void 0},fi=function(){this.faceCount=void 0,this.containsNoise=void 0,this.isLowQuality=void 0,this.isOverExposed=void 0,this.isUnderExposed=void 0,this.isBlurry=void 0,this.isWearingMask=void 0,this.foreheadNotIncluded=void 0,this.eyesNotIncluded=void 0,this.mouthNotIncluded=void 0,this.faceLeft=void 0,this.faceTop=void 0,this.faceWidth=void 0,this.faceHeight=void 0,this.problems=void 0},Si=function(){this.reference=void 0,this.identityDocumentType=void 0,this.countryIsoCode=void 0,this.identityNumber=void 0,this.placeOfIssuance=void 0,this.effectiveDate=void 0,this.expiryDate=void 0},Ci=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},pi=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},yi=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},gi=function(){this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},Pi=function(){this.reference=void 0,this.name=void 0,this.contactNumber=void 0,this.lastTransactionDate=void 0,this.lastTransactionAmountInCents=void 0,this.lastTransactionCurrency=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.accounts=void 0,this.isActive=void 0},Ri=function(){this.accountNumber=void 0,this.beneficiaryAccountType=void 0,this.beneficiaryAccountTypeName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0};!function(e){e.None="None",e.MobileNumber="MobileNumber",e.WaterMeter="WaterMeter",e.ElectricityMeter="ElectricityMeter",e.PayShap="PayShap"}(mi||(mi={}));var Ii,Ti=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.routingCode=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},bi=function(){this.token=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.cardIssuer=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},Hi=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},Mi=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},Ni=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.preferredName=void 0,this.fullNameOfNextOfKin=void 0,this.contactNumberForNextOfKin=void 0,this.alternateContactNumber=void 0,this.invitationCode=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.identityDocuments=void 0,this.kycLookupResults=void 0,this.files=void 0,this.devices=void 0,this.addresses=void 0,this.beneficiaries=void 0,this.accounts=void 0,this.attributes=void 0,this.rewardPointsInfo=void 0,this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},Di=function(){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"}(Ii||(Ii={}));var Bi,Ei=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},ki=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.branchName=void 0,this.routingCode=void 0,this.linkedCardReferences=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},Oi=function(){this.cardHolder=void 0,this.token=void 0,this.cardIssuer=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.linkedBankAccountReferences=void 0,this.settings=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},Li=function(){this.fileType=void 0,this.kycResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},Gi=function(){this.policyNumber=void 0,this.coverAmountInCents=void 0,this.premiumAmountInCents=void 0,this.description=void 0,this.beneficiaryName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},wi=function(){this.contractNumber=void 0,this.originalCapitalInCents=void 0,this.settlementAmountInCents=void 0,this.outstandingBalanceInCents=void 0,this.installmentAmountInCents=void 0,this.arrearsAmountInCents=void 0,this.installmentsRemaining=void 0,this.annualInterestRatePercentage=void 0,this.nextInstallmentDate=void 0,this.startDate=void 0,this.endDate=void 0,this.isInArrears=void 0,this.isFullyPaid=void 0,this.repaymentPercentage=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},Fi=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0},Ui=function(){this.description=void 0},Wi=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},Vi=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0};!function(e){e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(Bi||(Bi={}));var qi,Ki=function(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0},xi=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},ji=function(){this.cardReference=void 0,this.reason=void 0},Zi=function(){this.createdDate=void 0,this.lastUsedDate=void 0,this.reference=void 0,this.yourReference=void 0,this.platform=void 0,this.deviceType=void 0,this.brand=void 0,this.model=void 0,this.serialNumber=void 0,this.operatingSystemVersion=void 0,this.softwareVersion=void 0,this.pushNotificationToken=void 0};!function(e){e.Unknown="Unknown",e.Android="Android",e.iOS="iOS",e.Web="Web"}(qi||(qi={}));var Yi,Ji=function(){this.terminalType=void 0,this.reference=void 0},Qi=function(){this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},zi=function(){this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},Xi=function(){this.reference=void 0,this.parentBusinessReference=void 0,this.createdDate=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.phoneNumber=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.isActive=void 0},_i=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.userReference=void 0,this.isOwner=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.countryIsoCode=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.profileImage=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.notificationSettings=void 0,this.addresses=void 0,this.identityDocuments=void 0,this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0};!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed"}(Yi||(Yi={}));var $i,en=function(){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"}($i||($i={}));var tn,nn=function(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0};!function(e){e.None="None",e.Retail="Retail",e.Restaurant="Restaurant",e.Forecourt="Forecourt",e.Workshop="Workshop"}(tn||(tn={}));var on,sn=function(){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"}(on||(on={}));var rn,an=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.tradingName=void 0,this.franchiseName=void 0,this.capturedBy=void 0,this.capturedFrom=void 0,this.industry=void 0,this.phoneNumber=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.city=void 0,this.state=void 0,this.languageIsoCode=void 0,this.webSiteUrl=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.vCard=void 0,this.logoImage=void 0,this.taxNumber=void 0,this.companyRegistrationNumber=void 0,this.companyRegistrationDate=void 0,this.adminPasscode=void 0,this.logoUrl=void 0,this.hostedPaymentUrl=void 0,this.hostedPaymentOptions=void 0,this.posOptions=void 0,this.business=void 0,this.addresses=void 0,this.employees=void 0,this.terminals=void 0,this.files=void 0,this.notificationSettings=void 0,this.attributes=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.operatingTimes=void 0,this.devices=void 0,this.qrCodes=void 0,this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0};!function(e){e[e.GhIPSSMerchantId=2]="GhIPSSMerchantId",e[e.VisaPAN=3]="VisaPAN",e[e.MasterCardPAN=4]="MasterCardPAN",e[e.NIBSSMerchantReference=6]="NIBSSMerchantReference"}(rn||(rn={}));var cn,dn=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},ln=function(){this.reference=void 0,this.createdDateUtc=void 0,this.accountNumber=void 0,this.bank=void 0,this.currency=void 0,this.accountName=void 0,this.branchName=void 0,this.routingCode=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},un=function(){this.fileType=void 0,this.kybResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},hn=function(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},vn=function(){this.reference=void 0,this.msisdn=void 0,this.mobileWalletOperator=void 0,this.currency=void 0,this.accountName=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},mn=function(){this.merchantName=void 0},An=function(){this.accessToken=void 0};!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed",e[e.SettlementConfirmation=3]="SettlementConfirmation"}(cn||(cn={}));var fn,Sn=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},Cn=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.yourReference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.productType=void 0,this.currency=void 0,this.amountInCents=void 0,this.maximumAmountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.isActive=void 0,this.fields=void 0},pn=function(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0},yn=function(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.selectionItems=void 0},gn=function(){this.label=void 0,this.value=void 0},Pn=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.name=void 0,this.shortUrl=void 0,this.fullUrl=void 0,this.label=void 0,this.notes=void 0,this.options=void 0,this.isActive=void 0},Rn=function(){this.amountInCents=void 0,this.isAmountEditable=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.splitReference=void 0,this.isQrCode=void 0,this.currency=void 0,this.currencySymbol=void 0,this.feePercentage=void 0,this.enableCustomReference=void 0,this.enableTip=void 0,this.enableRating=void 0,this.redirectUrl=void 0,this.notificationEmailAddresses=void 0,this.notificationMobileNumbers=void 0,this.metaData=void 0,this.clientData=void 0},In=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},Tn=function(){this.isRefundsEnabled=void 0,this.isCancellationsEnabled=void 0,this.isPurchaseWithCashbackEnabled=void 0,this.isWithdrawalsEnabled=void 0,this.isBalanceCheckEnabled=void 0,this.isCurrencyConversionEnabled=void 0,this.isRcsPaymentEnabled=void 0,this.isDebiCheckEnabled=void 0,this.isPreAuthorizationEnabled=void 0,this.isManualCardEntryEnabled=void 0,this.isInvoiceNumberEnabled=void 0,this.isPasscodeAlwaysRequired=void 0,this.fuelPurchaseMethod=void 0},bn=function(){this.canCreateUsers=void 0,this.canProcessRefunds=void 0,this.canCloseAndAccessBatchReports=void 0,this.canEditDeviceSettings=void 0,this.canExceedMaximumSaleLimits=void 0,this.canProcessCashWithdrawals=void 0,this.canProcessCashDeposit=void 0,this.canUseBalanceEnquiry=void 0,this.canUseDebiCheck=void 0,this.canUseManualCardEntry=void 0,this.canProcessCancellations=void 0,this.canProcessDepositsAndReversals=void 0,this.canUsePreAuthorisation=void 0,this.canUseIncrementalAuthorisation=void 0,this.canOverrideAuthorisation=void 0,this.canCancelAuthorisation=void 0,this.canCompleteAuthorisation=void 0,this.canAccessReports=void 0};!function(e){e.None="None",e.IntraDay="IntraDay",e.EndOfDay="EndOfDay",e.TPlusOne="TPlusOne",e.TPlusTwo="TPlusTwo",e.TPlusThree="TPlusThree",e.TPlusSeven="TPlusSeven"}(fn||(fn={}));var Hn,Mn=function(){this.reference=void 0,this.yourReference=void 0,this.device=void 0,this.createdDate=void 0,this.name=void 0,this.hostedPaymentUrl=void 0,this.isActive=void 0,this.isLinked=void 0,this.qrCodes=void 0,this.externalQrCodes=void 0,this.notificationTokens=void 0,this.additionalReferences=void 0},Nn=function(){this.merchant=void 0,this.industry=void 0,this.primaryAddress=void 0,this.merchantId=void 0,this.terminalId=void 0,this.posMerchantId=void 0,this.posTerminalId=void 0,this.terminalReference=void 0,this.accessToken=void 0,this.adminPasscode=void 0,this.hostedPaymentUrl=void 0,this.posOptions=void 0,this.features=void 0,this.employees=void 0},Dn=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},Bn=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},En=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},kn=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},On=function(){this.qrCodeType=void 0,this.qrCode=void 0},Ln=function(){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"}(Hn||(Hn={}));var Gn=function(){this.type=void 0,this.merchants=void 0},wn=function(){this.name=void 0,this.products=void 0},Fn=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.amountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.fields=void 0},Un=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0},Wn=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0},Vn=function(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.sourceCategory=void 0,this.destinationCategory=void 0,this.sourceFacility=void 0,this.destinationFacility=void 0,this.sourceTransactionTypeDescription=void 0,this.destinationTransactionTypeDescription=void 0,this.sourceAccount=void 0,this.destinationAccount=void 0,this.name=void 0,this.transactionCompletedDate=void 0,this.currency=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.commissionFeeAmountInCents=void 0,this.serviceFeeAmountInCents=void 0,this.eLevyFeeAmountInCents=void 0,this.userFeeAmountInCents=void 0,this.tipAmountInCents=void 0,this.isSuccess=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0},qn=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalSalesInCents=void 0,this.periodTotals=void 0},Kn=function(){this.description=void 0,this.currency=void 0,this.totalSalesInCents=void 0,this.categoryTotals=void 0},xn=function(){this.accountNumber=void 0,this.bank=void 0},jn=function(){this.token=void 0},Zn=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},Yn=function(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0},Jn=function(){this.token=void 0,this.verificationCode=void 0},Qn="-".repeat(120),zn=/*#__PURE__*/function(){function o(o){var s=this,r=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=n,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:a({},o.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":o.language||"en"})}),i(this.axiosInstance,function(e){try{var t,i=function(i){return t?i:Promise.reject(e)},n="/v1/auth/refresh";if(e.request.path===n)return Promise.reject(e);var o=function(){if(v.refreshToken)return function(i,o){try{var s=function(){var i={method:"POST",url:n,headers:{Authorization:"Bearer "+v.refreshToken}};return r.consoleLogging&&(console.debug("\r\n"+Qn),console.debug("-- AUTO REFRESH --"),console.debug(Qn),console.debug(i.method+": "+r.baseUrl+i.url),console.debug(Qn),i.headers&&(console.debug("-- HEADERS --"),console.dir(i.headers)),i.data&&(console.debug("-- REQUEST --"),console.dir(i.data,{depth:null}))),Promise.resolve(r.axiosInstance(i)).then(function(i){if(r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(i.data,{depth:null}),console.debug(Qn)),i.data&&i.data.success){v.accessToken=i.data.result.accessToken,v.refreshToken=i.data.result.refreshToken,r.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(i.data.result,{depth:null})),r.events.publish(A,i.data.result),e&&(e.response.config.headers.Authorization="Bearer "+v.accessToken);var n=Promise.resolve(e);return t=1,n}r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(m)})}()}catch(e){return o(e)}return s&&s.then?s.then(void 0,o):s}(0,function(e){throw r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(m),e});v.accessToken&&(r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(m))}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}}),t(this.axiosInstance,{retries:o.retries||3,retryDelay:t.exponentialDelay,onRetry:function(e,t,i){s.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",t);var n={retryCount:e};s.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(n,{depth:null})),s.events.publish(f,n)}}),this.consoleLogging=o.consoleLogging||!1,this.logBatchSize=o.logBatchSize||100,this.logBatchInterval=o.logBatchInterval||6e4,this.system=new zt(this.axiosInstance,this.consoleLogging),this.content=new _t(this.axiosInstance,this.consoleLogging),this.log=new Qt(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new D(this.axiosInstance,this.consoleLogging),this.consumers=new Ft(this.axiosInstance,this.consoleLogging),this.merchants=new jt(this.axiosInstance,this.consoleLogging),this.lookups=new re(this.axiosInstance,this.consoleLogging),this.payments=new Ot(this.axiosInstance,this.consoleLogging),this.qrCodes=new Ut(this.axiosInstance,this.consoleLogging),this.reports=new ei(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return o.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},o}();export{ae as AccountHolderTransactionResult,Ji as AdditionalTerminalReference,ui as Address,Jt as AddressType,ce as AmountTotals,I as ApiError,v as ApiTokens,$e as ApplePaySource,Nt as ApplePayWebPaymentResponse,vi as Balance,M as Bank,he as BankAccountDestination,ve as BankAccountDestinationResult,xn as BankAccountRequest,jn as BankAccountResponse,et as BankAccountSource,tt as BankAccountSourceResult,hi as BankAccountType,O as BankData,gi as BasicConsumer,Qi as BasicEmployee,zi as BasicMerchant,Pi as Beneficiary,Ri as BeneficiaryAccount,mi as BeneficiaryAccountType,Ti as BeneficiaryBankAccount,bi as BeneficiaryCard,Hi as BeneficiaryMobileWallet,me as BillDestination,Ae as BillDestinationResult,Xi as Business,fe as CardDestination,Se as CardDestinationResult,de as CardHolder,oe as CardIssuer,Zn as CardRequest,Yn as CardResponse,Mi as CardSettings,it as CardSource,nt as CardSourceResult,ue as CardVerificationPaymentRequest,Ce as CashDestination,pe as CashDestinationResult,ot as CashSource,st as CashSourceResult,Gn as CategoryDetails,ti as ChangePasswordRequest,B as Channel,Ni as Consumer,Di as ConsumerAccounts,Ii as ConsumerAttribute,Ei as ConsumerAttributeValue,ki as ConsumerBankAccount,Oi as ConsumerCard,Li as ConsumerFile,E as ConsumerFileType,Gi as ConsumerInsurancePolicy,wi as ConsumerLoanAccount,Fi as ConsumerMobileWallet,Ai as ContactDetails,k as Country,G as CountryData,L as Currency,W as CurrencyData,w as DayOfWeek,Zi as Device,qi as DevicePlatform,It as EmailNotificationRequest,_i as Employee,Yi as EmployeeNotificationEvent,en as EmployeeNotificationEventSetting,fi as FaceCheckResult,F as FaceMovementDetectionLevel,le as FeeType,Ui as Feedback,ii as ForgotPasswordRequest,$i as FuelPurchaseMethod,U as Gender,ye as GenericDestination,rt as GenericSource,at as GooglePaySource,Mt as GooglePayWebPaymentResponse,nn as HostedPaymentOptions,J as IdAndDescription,Si as IdentityDocument,V as IdentityDocumentType,tn as Industry,sn as KybFileResult,q as KybProvider,K as KybStatus,on as KybStatusSummary,Wi as KycFileResult,Vi as KycLookupResult,x as KycProvider,j as KycStatus,Bi as KycStatusSummary,Z as KycVerificationType,Y as Language,_ as LanguageData,Ee as LineItem,ni as LivenessRequest,Ci as Location,Pt as LogLevel,oi as LoginCredentials,si as LoginErrorResponse,ri as LoginRequest,an as Merchant,rn as MerchantAttribute,dn as MerchantAttributeValue,ln as MerchantBankAccount,Q as MerchantCategory,ge as MerchantDestination,Pe as MerchantDestinationResult,wn as MerchantDetail,un as MerchantFile,z as MerchantFileType,hn as MerchantLoginCredentials,vn as MerchantMobileWallet,mn as MerchantNameVerificationRequest,An as MerchantNameVerificationResponse,cn as MerchantNotificationEvent,Sn as MerchantNotificationEventSetting,Tt as MerchantPaymentRequest,ke as MerchantPaymentResponse,Be as MerchantPaymentType,Cn as MerchantProduct,pn as MerchantProductCatalog,yn as MerchantProductField,gn as MerchantProductFieldSelectionItem,Pn as MerchantQrCode,Rn as MerchantQrCodeOptions,Le as MerchantRefundRequest,Ki as Message,Re as MobileWalletDestination,Ie as MobileWalletDestinationResult,X as MobileWalletOperator,ne as MobileWalletOperatorData,ct as MobileWalletSource,dt as MobileWalletSourceResult,$ as Month,pi as NameAndReference,f as OnApiRetry,A as OnAutomaticRefresh,R as OnComplete3DSecure,C as OnPaymentComplete,S as OnPaymentStatusUpdate,p as OnRequires3DSecure,P as OnRequiresAddress,g as OnRequiresConfirmation,y as OnRequiresPin,m as OnSessionExpired,In as OperatingTime,ai as OtpVerificationRequest,ci as OtpVerificationResponse,Te as PaymentDestinationResults,be as PaymentDestinations,Ge as PaymentReceiptResponse,we as PaymentRecurrenceSchedule,Fe as PaymentRecurrenceScheduleEntry,bt as PaymentRequest,Ue as PaymentResponse,lt as PaymentSourceResults,ut as PaymentSources,We as PaymentStatusResponse,Ve as PaymentTransaction,qe as PaymentTransactionResult,Tn as PosOptions,bn as PosPermissions,Fn as ProductDetail,ee as ProductType,He as QrCodeDestination,Me as QrCodeDestinationResult,te as QrCodeType,Ke as QrCodeValidationRequest,xe as QrCodeValidationResponse,Oe as ReceiptType,Ze as RefundReceiptResponse,Ye as RefundRequest,Je as RefundResponse,Qe as RefundStatusResponse,ze as RefundTransaction,Xe as RefundTransactionResult,je as RefundType,ie as RepeatInterval,xi as RewardPointsInfo,Un as SalesCategorySummaryResponse,Wn as SalesDetailsByDayResponse,Vn as SalesDetailsResponse,qn as SalesMonthSummaryResponse,Kn as SalesPeriodSummaryResponse,di as SelfieRequest,fn as SettlementTime,Ht as SmsNotificationRequest,mt as StatusUrls,ji as StopCardRequest,yi as SwitchEnvironmentInfo,Mn as Terminal,Nn as TerminalConfiguration,Dn as TerminalFeatures,Bn as TerminalNotificationToken,kn as TerminalPaymentQrCodeUrls,En as TerminalPaymentQrCodes,On as TerminalQrCode,Ln as TerminalSetup,Hn as TerminalType,li as TokenResponse,_e as TransactionCategory,At as TransactionConfirmation,ft as TransactionData,Ct as TransactionFee,St as TransactionIconType,gt as TransactionPin,pt as TransactionStatus,yt as TransactionType,zn as VantagePay,Jn as VerifyCardRequest,Ne as WalletDestination,De as WalletDestinationResult,ht as WalletSource,vt as WalletSourceResult,Rt as Webhook};
|
|
1
|
+
import e from"axios";import t from"axios-retry";import i from"axios-auth-refresh";import n from"pubsub-js";import*as o from"@microsoft/signalr";import s from"qrcode";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return function(e,t,i){if(l())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return i&&u(o,i.prototype),o}(e,arguments,c(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),u(i,e)},h(e)}var v=new(/*#__PURE__*/function(){function e(){this.accessToken=null,this.refreshToken=null}return e.prototype.decodeToken=function(e){if(e){if("undefined"!=typeof window&&void 0!==window.document){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)||{}}var n=Buffer.from(e.split(".")[1],"base64").toString();return JSON.parse(n)||{}}return{}},e}()),m=Symbol("login.session.started"),A=Symbol("login.session.expired"),f=Symbol("login.session.refreshed"),S=Symbol("api.retry"),C=Symbol("payment.status"),p=Symbol("payment.complete"),y=Symbol("payment.wait.requires3dSecure"),g=Symbol("payment.wait.requiresPin"),P=Symbol("payment.wait.requiresConfirmation"),R=Symbol("payment.wait.requiresAddress"),T=Symbol("payment.complete3dSecure"),I=/*#__PURE__*/function(e){function t(i,n,o){var s,r=o;return Array.isArray(n)&&n.length>0?r=n.join(" "):("string"==typeof n||n instanceof String)&&(r=n.toString()),(s=e.call(this,r)||this).statusCode=void 0,s.result=void 0,s.statusCode=i,s.result=n,Object.setPrototypeOf(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),t.prototype),s}return d(t,e),t}(/*#__PURE__*/h(Error)),b="-".repeat(120),H=/*#__PURE__*/function(){function e(e,t){void 0===t&&(t=!1),this.axiosInstance=void 0,this.consoleLogging=void 0,this.events=n,this.axiosInstance=e,this.consoleLogging=t||!1}var t=e.prototype;return t.request=function(e,t,i,n){void 0===i&&(i=null),void 0===n&&(n=null);try{var o,s=function(e){if(r.consoleLogging&&console.debug(b),o.data){if(!o.data.success&&"string"!=typeof o.data)throw new I(o.data.status||o.status,o.data.result||null,o.data.message||null);return o.data.result||o.data||null}return null},r=this,a=function(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}(function(){var s={method:t,url:e};return(n||v.accessToken)&&(s.headers={Authorization:"Bearer "+(n||v.accessToken)}),i&&(i=r.convertDatesToIso(i),s.data=i),r.consoleLogging&&(console.debug("\r\n"+b),console.debug(t+": "+r.axiosInstance.defaults.baseURL+e),console.debug(b),s.headers&&(console.debug("-- HEADERS --"),console.dir(s.headers)),s.data&&(console.debug("-- REQUEST --"),console.dir(s.data,{depth:null}))),Promise.resolve(r.axiosInstance(s)).then(function(e){o=e,r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(o.data,{depth:null}))})},function(e){r.consoleLogging&&(e.response?console.error("\r\n-- ERROR "+e.response.status+" --\r\n",e.response.data):console.error("\r\n-- ERROR "+(e.errno||e.code)+" --\r\n",e.code),console.debug(b));var t=0,i=null,n=null;throw e.response&&(e.response.data?(i=e.response.data.result||null,n=e.response.data.message||null,t=e.response.data.status||e.response.status):t=e.response.status),new I(t,i,n||e.message)});return Promise.resolve(a&&a.then?a.then(s):s())}catch(e){return Promise.reject(e)}},t.convertDatesToIso=function(e){var t=this;if(null==e)return e;if(e instanceof Date){if(isNaN(e.getTime()))throw new Error("Invalid date provided");var i=-e.getTimezoneOffset(),n=String(Math.floor(Math.abs(i)/60)).padStart(2,"0"),o=String(Math.abs(i)%60).padStart(2,"0"),s=i>=0?"+":"-";return e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+"T"+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")+s+n+":"+o}if(Array.isArray(e))return e.map(function(e){return t.convertDatesToIso(e)});if("object"==typeof e&&e.constructor===Object){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=this.convertDatesToIso(e[a]));return r}return e},e}();function M(e,t){try{var i=e()}catch(e){return t(e)}return i&&i.then?i.then(void 0,t):i}var N,D="/v1/auth",B=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var i=t.prototype;return i.isLoggedIn=function(){if(v.accessToken)try{return(new Date).getTime()<1e3*v.decodeToken(v.accessToken).exp}catch(e){return!1}return!1},i.login=function(e,t){try{var i=this,n={username:e,password:t};return v.accessToken=null,v.refreshToken=null,Promise.resolve(M(function(){return Promise.resolve(i.request(D+"/login","POST",n)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(m),Promise.resolve(e)})},function(e){throw e.result&&(v.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.logout=function(){try{var e=function(){return Promise.resolve()},t=this,i=v.refreshToken;v.accessToken=null,v.refreshToken=null;var n=function(){if(i)return Promise.resolve(t.request(D+"/logout","POST",null,i)).then(function(){t.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),t.events.publish(A)})}();return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}},i.refresh=function(e){try{var t=this;return Promise.resolve(t.request(D+"/refresh","POST",null,e||v.refreshToken)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(m),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.checkLiveness=function(e){try{return Promise.resolve(this.request(D+"/liveness","POST",{base64Images:e}))}catch(e){return Promise.reject(e)}},i.checkFace=function(e){try{return Promise.resolve(this.request(D+"/face-check","POST",{base64Image:e}))}catch(e){return Promise.reject(e)}},i.changePassword=function(e,t){try{var i=this,n={oldPassword:e,newPassword:t,resetCode:null,userReference:null};return Promise.resolve(M(function(){return Promise.resolve(i.request(D+"/password/change","POST",n)).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,i.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),i.events.publish(m),Promise.resolve(e)})},function(e){throw e.result&&(v.accessToken=e.result.changePasswordAccessToken||e.result.validatePhoneNumberAccessToken||e.result.resendEmailVerificationToken),e}))}catch(e){return Promise.reject(e)}},i.forgotPassword=function(e){try{return Promise.resolve(this.request(D+"/password/forgot","POST",{username:e}))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e){try{var t=this;return Promise.resolve(t.request(D+"/otp/validate","POST",{otpValue:e})).then(function(e){return e&&(v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,t.consoleLogging&&console.debug("-- SIGNAL OnSessionStarted --"),t.events.publish(m)),Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.resendOtp=function(){try{return Promise.resolve(this.request(D+"/otp/resend","POST"))}catch(e){return Promise.reject(e)}},i.resendEmailAddressVerification=function(){try{return Promise.resolve(this.request(D+"/email/verify/resend","POST",null))}catch(e){return Promise.reject(e)}},i.getCurrentConsumerReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).consumer_reference||null},i.getCurrentMerchantReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).merchant_reference||null},i.getCurrentBusinessReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).business_reference||null},i.getCurrentTerminalReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).terminal_reference||null},i.getCurrentUserReference=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).reference||null},i.getCurrentUserName=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).user_name||null},i.getRedirectAction=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).redirect_action||null},i.getMobileNumber=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).mobile_number||null},i.getEmailAddress=function(e){return v.decodeToken(e||v.accessToken||v.refreshToken).email_address||null},t}(H);!function(e){e.None="None",e.ABD="ABD",e.ABL="ABL",e.ACB="ACB",e.ABS="ABS",e.ABG="ABG",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.FBL="FBL",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.SCB="SCB",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"}(N||(N={}));var E,k,O,L=function(){this.isAvailable=void 0,this.bank=void 0,this.bankCode=void 0,this.routingCode=void 0,this.bankName=void 0,this.country=void 0};!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"}(E||(E={})),function(e){e.Unspecified="Unspecified",e.FaceImage="FaceImage",e.IdentityDocumentFront="IdentityDocumentFront",e.IdentityDocumentBack="IdentityDocumentBack",e.Liveness="Liveness",e.ProfileImage="ProfileImage",e.Signature="Signature",e.ConsumerAgreement="ConsumerAgreement",e.LoanContract="LoanContract",e.LoanSettlementQuote="LoanSettlementQuote",e.LoanPaidUpLetter="LoanPaidUpLetter",e.LoanStatement="LoanStatement",e.BankAccountLetter="BankAccountLetter",e.BankAccountStatement="BankAccountStatement"}(k||(k={})),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"}(O||(O={}));var G,w=function(){this.isAvailable=void 0,this.country=void 0,this.countryName=void 0,this.longIsoCode=void 0,this.shortIsoCode=void 0,this.numericIsoCode=void 0,this.dialingCode=void 0};!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"}(G||(G={}));var F,U,W,V=function(){this.isAvailable=void 0,this.currency=void 0,this.currencyName=void 0,this.currencyCode=void 0,this.symbol=void 0,this.numericIsoCode=void 0};!function(e){e.Sunday="Sunday",e.Monday="Monday",e.Tuesday="Tuesday",e.Wednesday="Wednesday",e.Thursday="Thursday",e.Friday="Friday",e.Saturday="Saturday"}(F||(F={})),function(e){e.None="None",e.OneRangeOfMotion="OneRangeOfMotion",e.MultipleRangesOfMotion="MultipleRangesOfMotion",e.AllRangesOfMotion="AllRangesOfMotion"}(U||(U={})),function(e){e.Male="Male",e.Female="Female"}(W||(W={}));var q,K,x,j,Z,Y,J,Q=function(){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"}(q||(q={})),function(e){e.None="None",e.Manual="Manual"}(K||(K={})),function(e){e.NotRequired="NotRequired",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(x||(x={})),function(e){e.None="None",e.SmileIdentity="SmileIdentity",e.GMoney="GMoney",e.NIA="NIA",e.Manual="Manual"}(j||(j={})),function(e){e.None="None",e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected",e.Review="Review"}(Z||(Z={})),function(e){e.Identity="Identity",e.Liveness="Liveness",e.Facial="Facial",e.Other="Other"}(Y||(Y={})),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"}(J||(J={}));var z,X,_,$=function(){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"}(z||(z={})),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"}(X||(X={})),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",e.VDC="VDC",e.CLC="CLC",e.TKM="TKM"}(_||(_={}));var ee,te,ie,ne,oe=function(){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"}(ee||(ee={})),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"}(te||(te={})),function(e){e.NONE="NONE",e.V2QR="V2QR",e.GHQR="GHQR",e.NIBSSQR="NIBSSQR"}(ie||(ie={})),function(e){e.Weekly="Weekly",e.Monthly="Monthly"}(ne||(ne={}));var se,re="/v1/lookup",ae=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).cardIssuerCountryCache=new Map,t.addressLocationCache=new Map,t.digitalAddressCache=new Map,t.bankCache=new Map,t.currencyCache=void 0,t.countryCache=void 0,t.languageCache=void 0,t.allCurrencyCache=void 0,t.allCountryCache=void 0,t.allLanguageCache=void 0,t.mobileWalletOperatorCache=void 0,t.productTypeCache=void 0,t.merchantCategoryCache=void 0,t}d(t,e);var i=t.prototype;return i.getProductTypes=function(){try{var e=function(){return Promise.resolve(t.productTypeCache||[])},t=this,i=function(){if(!t.productTypeCache)return Promise.resolve(t.request(re+"/product-type","GET")).then(function(e){t.productTypeCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMerchantCategories=function(){try{var e=function(){return Promise.resolve(t.merchantCategoryCache||[])},t=this,i=function(){if(!t.merchantCategoryCache)return Promise.resolve(t.request(re+"/merchant-category","GET")).then(function(e){t.merchantCategoryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCurrencies=function(){try{var e=function(){return Promise.resolve(t.currencyCache||[])},t=this,i=function(){if(!t.currencyCache)return Promise.resolve(t.request(re+"/currency","GET")).then(function(e){t.currencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getCountries=function(){try{var e=function(){return Promise.resolve(t.countryCache||[])},t=this,i=function(){if(!t.countryCache)return Promise.resolve(t.request(re+"/country","GET")).then(function(e){t.countryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getLanguages=function(){try{var e=function(){return Promise.resolve(t.languageCache||[])},t=this,i=function(){if(!t.languageCache)return Promise.resolve(t.request(re+"/language","GET")).then(function(e){t.languageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCurrencies=function(){try{var e=function(){return Promise.resolve(t.allCurrencyCache||[])},t=this,i=function(){if(!t.allCurrencyCache)return Promise.resolve(t.request(re+"/currency/all","GET")).then(function(e){t.allCurrencyCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllCountries=function(){try{var e=function(){return Promise.resolve(t.allCountryCache||[])},t=this,i=function(){if(!t.allCountryCache)return Promise.resolve(t.request(re+"/country/all","GET")).then(function(e){t.allCountryCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getAllLanguages=function(){try{var e=function(){return Promise.resolve(t.allLanguageCache||[])},t=this,i=function(){if(!t.allLanguageCache)return Promise.resolve(t.request(re+"/language/all","GET")).then(function(e){t.allLanguageCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getMobileWalletOperators=function(){try{var e=function(){return Promise.resolve(t.mobileWalletOperatorCache||[])},t=this,i=function(){if(!t.mobileWalletOperatorCache)return Promise.resolve(t.request(re+"/mobile-wallet-operator","GET")).then(function(e){t.mobileWalletOperatorCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getBanks=function(e){try{var t=function(){return Promise.resolve(i.bankCache.get(e||O.None)||[])},i=this,n=function(){if(!i.bankCache.has(e||O.None)){var t=function(){if(null==e||e===O.None){var t=i.bankCache,n=t.set,o=O.None;return Promise.resolve(i.request(re+"/bank","GET")).then(function(e){n.call(t,o,e)})}var s=i.bankCache,r=s.set;return Promise.resolve(i.request(re+"/bank?country="+e,"GET")).then(function(t){r.call(s,e,t)})}();if(t&&t.then)return t.then(function(){})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getCardIssuerCountry=function(e){try{var t=function(){return Promise.resolve(i.cardIssuerCountryCache.get(e)||null)},i=this,n=function(){if(!i.cardIssuerCountryCache.has(e)){var t=i.cardIssuerCountryCache,n=t.set;return Promise.resolve(i.request(re+"/card-issuer-country?cardBin="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getAddressFromLocation=function(e,t){try{var i,n=function(e){return i?e:Promise.reject(new I(400,null,"Invalid location coordinates."))},o=this,s=function(){if(e>=-90&&e<=90&&t>=-180&&t<=180){var n=function(){var e=Promise.resolve(o.addressLocationCache.get(s)||null);return i=1,e},s=e+"|"+t,r=function(){if(!o.addressLocationCache.has(s)){var i=o.addressLocationCache,n=i.set;return Promise.resolve(o.request(re+"/address?latitude="+e+"&longitude="+t,"GET")).then(function(e){n.call(i,s,e)})}}();return r&&r.then?r.then(n):n()}}();return Promise.resolve(s&&s.then?s.then(n):n(s))}catch(e){return Promise.reject(e)}},i.getAddressFromDigitalAddress=function(e){try{var t,i=function(e){return t?e:Promise.reject(new I(400,null,"Invalid digital address format."))},n=this,o=function(){if(/(\w{2,3}-\d{3,4}-\d{4})|(\w{2,3}\d{7,8})/g.exec(e)){var i=function(){var i=Promise.resolve(n.digitalAddressCache.get(e)||null);return t=1,i},o=function(){if(!n.digitalAddressCache.has(e)){var t=n.digitalAddressCache,i=t.set;return Promise.resolve(n.request(re+"/address/"+e,"GET")).then(function(n){i.call(t,e,n)})}}();return o&&o.then?o.then(i):i()}}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}},t}(H),ce=function(){this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},de=function(){this.totalAmountRequestedInCents=void 0,this.totalAmountAttemptedInCents=void 0,this.totalAmountProcessedInCents=void 0,this.totalAmountProcessedLessFeesAndCommissionsInCents=void 0,this.totalInternalFeesInCents=void 0,this.totalExternalFeesInCents=void 0,this.totalFeesInCents=void 0,this.totalElevyInCents=void 0,this.totalUserFeesInCents=void 0,this.totalCommissionsInCents=void 0,this.totalRefundsInCents=void 0,this.totalCashbackAmountAttemptedInCents=void 0,this.totalCashbackAmountProcessedInCents=void 0,this.totalTipAmountAttemptedInCents=void 0,this.totalTipAmountProcessedInCents=void 0,this.grandTotalProcessedInCents=void 0,this.grandTotalToBePaidByUserInCents=void 0},le=function(){this.firstName=void 0,this.lastName=void 0,this.emailAddress=void 0,this.phoneNumber=void 0,this.countryIsoCode=void 0,this.shippingAddress=void 0};!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"}(se||(se={}));var ue,he=function(){this.yourReference=void 0,this.consumer=void 0,this.token=void 0,this.cvv=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.location=void 0,this.paymentStatusWebhook=void 0},ve=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},me=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Ae=function(){this.productReference=void 0,this.productFields=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},fe=function(){this.productName=void 0,this.productReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Se=function(){this.token=void 0,this.cardNumber=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ce=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},pe=function(){this.doNotProcess=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ye=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ge=function(){this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Pe=function(){this.merchantReference=void 0,this.merchantSource=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.paymentType=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Re=function(){this.merchantReference=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Te=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ie=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},be=function(){this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},He=function(){this.generic=void 0,this.merchants=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.qrCodes=void 0,this.cards=void 0,this.wallets=void 0,this.bills=void 0,this.cash=void 0},Me=function(){this.qrCode=void 0,this.additionalInfo=void 0,this.tipAmountInCents=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ne=function(){this.qrCode=void 0,this.merchantReference=void 0,this.billReference=void 0,this.tipAmountInCents=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},De=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.beneficiaryReference=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Be=function(){this.walletReference=void 0,this.walletProvider=void 0,this.walletSource=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0};!function(e){e[e.None=0]="None",e[e.FeeTakenFromSourceByMerchant=1]="FeeTakenFromSourceByMerchant",e[e.Elevy=2]="Elevy",e[e.ExternalPaymentProcessorFee=3]="ExternalPaymentProcessorFee",e[e.ExternallyProcessedElevy=4]="ExternallyProcessedElevy",e[e.InternalUserTransactionFee=5]="InternalUserTransactionFee",e[e.ExternalUserTransactionFee=6]="ExternalUserTransactionFee",e[e.InternalPaymentProcessorFee=7]="InternalPaymentProcessorFee"}(ue||(ue={}));var Ee,ke=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.quantity=void 0,this.currency=void 0,this.unitAmountInCents=void 0,this.totalAmountInCents=void 0},Oe=function(){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"}(Ee||(Ee={}));var Le,Ge=function(){this.language=void 0,this.timeZone=void 0,this.description=void 0,this.transactionBatchReference=void 0,this.refundCategory=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},we=function(){this.lineItems=void 0,this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},Fe=function(){this.reference=void 0,this.createdDate=void 0,this.repeatInterval=void 0,this.scheduleEndDate=void 0,this.repeatCount=void 0,this.entries=void 0},Ue=function(){this.scheduledDate=void 0,this.isCancelled=void 0,this.transactionBatchReference=void 0,this.isProcessed=void 0},We=function(){this.reference=void 0,this.paymentStatusUrls=void 0},Ve=function(){this.isComplete=void 0,this.percentageComplete=void 0,this.paymentStartedDate=void 0,this.paymentCompletedDate=void 0,this.yourReference=void 0,this.description=void 0,this.paymentReference=void 0,this.shortPaymentReference=void 0,this.splitReference=void 0,this.verificationCode=void 0,this.channel=void 0,this.consumerReference=void 0,this.consumer=void 0,this.paymentSources=void 0,this.paymentDestinations=void 0,this.amountTotals=void 0,this.timeZone=void 0},qe=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},Ke=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},xe=function(){this.qrCode=void 0},je=function(){this.canProcess=void 0,this.supportedQrCodes=void 0};!function(e){e.Consumer="Consumer",e.Merchant="Merchant"}(Le||(Le={}));var Ze,Ye=function(){this.yourReference=void 0,this.originalPaymentReceipt=void 0,this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Je=function(){this.language=void 0,this.timeZone=void 0,this.sourceTransactionReference=void 0,this.destinationTransactionReference=void 0,this.clientData=void 0,this.refundAmountInCents=void 0},Qe=function(){this.reference=void 0,this.refundStatusUrls=void 0},ze=function(){this.refundCompletedDate=void 0,this.timeZone=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},Xe=function(){this.refundAmountInCents=void 0,this.description=void 0},_e=function(){this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0};!function(e){e[e.Manual=1]="Manual",e[e.Auto=2]="Auto"}(Ze||(Ze={}));var $e,et=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},tt=function(){this.token=void 0,this.accountNumber=void 0,this.bank=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},it=function(){this.accountNumber=void 0,this.bank=void 0,this.bankName=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},nt=function(){this.token=void 0,this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.cvv=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.billingAddress=void 0,this.cardHolder=void 0,this.disableThreeDSecure=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ot=function(){this.cardIssuer=void 0,this.cardIssuerCountryIsoCode=void 0,this.cardNumber=void 0,this.threeDSecureUrl=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},st=function(){this.doNotProcess=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},rt=function(){this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},at=function(){this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},ct=function(){this.webPaymentResponse=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},dt=function(){this.mobileWalletOperator=void 0,this.msisdn=void 0,this.voucherCode=void 0,this.subscriberPin=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},lt=function(){this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.msisdn=void 0,this.accountHolder=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},ut=function(){this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0},ht=function(){this.generic=void 0,this.cards=void 0,this.mobileWallets=void 0,this.bankAccounts=void 0,this.wallets=void 0,this.cash=void 0,this.applePay=void 0,this.googlePay=void 0},vt=function(){this.walletReference=void 0,this.walletProvider=void 0,this.description=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.currency=void 0,this.doNotProcess=void 0,this.disableConfirmation=void 0,this.clientData=void 0,this.refunds=void 0,this.fees=void 0,this.reference=void 0,this.shortReference=void 0},mt=function(){this.walletReference=void 0,this.walletProvider=void 0,this.refunds=void 0,this.createdDate=void 0,this.reference=void 0,this.shortReference=void 0,this.description=void 0,this.originalAmountInCents=void 0,this.amountAttemptedInCents=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.fees=void 0,this.data=void 0,this.currency=void 0,this.status=void 0,this.category=void 0,this.summaryStatus=void 0,this.isComplete=void 0,this.isCashWithdrawal=void 0,this.message=void 0},At=function(){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.BillPayment=9]="BillPayment"}($e||($e={}));var ft=function(){this.confirm=void 0},St=function(){this.key=void 0,this.data=void 0,this.isPublic=void 0};St.none=void 0;var Ct,pt=function(){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.CellC=7]="CellC",e[e.Telkom=8]="Telkom",e[e.TelkomMobile=9]="TelkomMobile",e[e.MTN=10]="MTN",e[e.Vodacom=11]="Vodacom",e[e.Vodafone=12]="Vodafone",e[e.AirtelTigo=13]="AirtelTigo",e[e.GhanaPay=14]="GhanaPay",e[e.Zeepay=15]="Zeepay",e[e.Glo=16]="Glo",e[e.Surfline=17]="Surfline",e[e.Busy4G=18]="Busy4G",e[e.DSTV=19]="DSTV",e[e.GoTV=20]="GoTV",e[e.StarTimesTV=21]="StarTimesTV",e[e.ECG=22]="ECG",e[e.GhanaWater=23]="GhanaWater",e[e.Telecel=24]="Telecel"}(Ct||(Ct={}));var yt,gt,Pt=function(){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"}(yt||(yt={})),function(e){e[e.Source=1]="Source",e[e.Destination=2]="Destination"}(gt||(gt={}));var Rt,Tt=function(){this.callbackUrl=void 0,this.onPaymentCompleteOnly=void 0},It=function(){this.toEmailAddress=void 0,this.templateName=void 0,this.receiptType=void 0},bt=function(){this.paymentSources=void 0,this.terminalReference=void 0,this.qrCodeReference=void 0,this.timestamp=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},Ht=function(){this.paymentSources=void 0,this.paymentDestinations=void 0,this.language=void 0,this.timeZone=void 0,this.channel=void 0,this.yourReference=void 0,this.splitReference=void 0,this.consumer=void 0,this.merchant=void 0,this.location=void 0,this.paymentStatusWebhook=void 0,this.description=void 0,this.recurrenceSchedule=void 0,this.scheduledSequenceNumber=void 0,this.disableInitialConfirmation=void 0,this.lineItems=void 0},Mt=function(){this.toNumber=void 0,this.receiptType=void 0},Nt=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},Dt=function(){this.requestId=void 0,this.methodName=void 0,this.details=void 0,this.payerEmail=void 0,this.payerName=void 0,this.payerPhone=void 0},Bt="/v1/pay",Et="/v2/token",kt="/v1/transaction",Ot="/v1/notification",Lt=/*#__PURE__*/function(e){function t(t,i){var n;return void 0===i&&(i=!1),(n=e.call(this,t,i)||this).hubConnection=void 0,n.baseUrl=void 0,n.activeTransactions=new Map,n.manuallyStartedPaymentStatusChecking=!1,n.baseUrl=t.defaults.baseURL,n.hubConnection=(new o.HubConnectionBuilder).withUrl(""+n.baseUrl+Bt+"/hub",{accessTokenFactory:function(){return v.accessToken}}).withAutomaticReconnect().withStatefulReconnect().configureLogging(n.consoleLogging?o.LogLevel.Debug:o.LogLevel.None).build(),n}d(t,e);var i=t.prototype;return i.pay=function(e){try{var t=this;return e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(t.request(Bt,"POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.payMerchant=function(e,t){try{var i=this;return t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,Promise.resolve(i.request(Bt+"/merchant/"+e,"POST",t)).then(function(e){return v.accessToken=v.accessToken||e.accessToken,i.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.paymentStatusCheck=function(e){try{return Promise.resolve(this.request(Bt+"/status/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.paymentReceipt=function(e){try{return Promise.resolve(this.request(Bt+"/receipt/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.createCardToken=function(e){try{return Promise.resolve(this.request(Et+"/card","POST",e))}catch(e){return Promise.reject(e)}},i.createBankAccountToken=function(e){try{return Promise.resolve(this.request(Et+"/bankAccount","POST",e))}catch(e){return Promise.reject(e)}},i.verifyCardToken=function(e){try{return Promise.resolve(this.request(Et+"/card/verify","POST",e))}catch(e){return Promise.reject(e)}},i.createCardVerificationPayment=function(e){try{var t=this;return Promise.resolve(t.request(Et+"/card/verify/payment","POST",e)).then(function(e){return t.startPaymentStatusChecking(e.reference)})}catch(e){return Promise.reject(e)}},i.submitPinCode=function(e,t){try{return Promise.resolve(this.request(kt+"/pin/"+e,"POST",{pin:t}))}catch(e){return Promise.reject(e)}},i.rejectPinCode=function(e){try{return Promise.resolve(this.request(kt+"/pin/"+e,"POST",{pin:""}))}catch(e){return Promise.reject(e)}},i.submitConfirmation=function(e,t){try{return Promise.resolve(this.request(kt+"/confirm/"+e,"POST",{confirm:t}))}catch(e){return Promise.reject(e)}},i.submitAddress=function(e,t){try{return Promise.resolve(this.request(kt+"/address/"+e,"POST",t))}catch(e){return Promise.reject(e)}},i.validateQrCode=function(e){try{return Promise.resolve(this.request("/v1/validate/qr","POST",e))}catch(e){return Promise.reject(e)}},i.sendEmailPaymentNotification=function(e,t,i){try{return Promise.resolve(this.request(Ot+"/email/"+e,"POST",{toEmailAddress:t,templateName:i,receiptType:Le.Consumer}))}catch(e){return Promise.reject(e)}},i.sendSmsPaymentNotification=function(e,t){try{var i={toNumber:t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,""),receiptType:Le.Consumer};return Promise.resolve(this.request(Ot+"/sms/"+e,"POST",i))}catch(e){return Promise.reject(e)}},i.stopPaymentStatusChecking=function(e){try{var t=this;if(e)t.removePaymentStatusCheckInterval(e),t.activeTransactions.delete(e);else{t.manuallyStartedPaymentStatusChecking=!1;for(var i,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return r(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(e,t):void 0}}(e))){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.activeTransactions.values());!(i=n()).done;)clearInterval(i.value.statusCheckTimer);t.activeTransactions.clear()}return t.manuallyStartedPaymentStatusChecking||t.hubConnection.state===o.HubConnectionState.Disconnected?Promise.resolve():(t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.hubConnection.stop()))}catch(e){return Promise.reject(e)}},i.startPaymentStatusChecking=function(e){try{var t=this;return e&&t.activeTransactions.set(e,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null}),t.hubConnection.off("OnPaymentStatusChanged"),t.hubConnection.on("OnPaymentStatusChanged",function(e){try{var i,n=function(e){return i?e:Promise.resolve()};t.removePaymentStatusCheckInterval(e.paymentReference),!t.activeTransactions.has(e.paymentReference)&&t.manuallyStartedPaymentStatusChecking&&t.activeTransactions.set(e.paymentReference,{lastJsonResponse:"",isProcessing3dSecure:!1,statusCheckTimer:null});var o=function(){if(t.activeTransactions.has(e.paymentReference))return t.checkPaymentUpdateStatus(e),function(){if(e.isComplete)return t.activeTransactions.delete(e.paymentReference),function(){if(!t.manuallyStartedPaymentStatusChecking)return t.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(t.stopPaymentStatusChecking(e.paymentReference)).then(function(e){return i=1,e})}();t.addPaymentStatusCheckInterval(e.paymentReference,5e3)}()}();return Promise.resolve(o&&o.then?o.then(n):n(o))}catch(e){return Promise.reject(e)}}),Promise.resolve(function(){try{var i;return Promise.resolve(function(n,s){try{var r=function(){function n(e){return i?e:Promise.resolve()}e&&t.addPaymentStatusCheckInterval(e,1e4);var s=function(){if(t.hubConnection.state!==o.HubConnectionState.Connected)return Promise.resolve(t.hubConnection.start()).then(function(e){return i=1,e})}();return s&&s.then?s.then(n):n(s)}()}catch(e){return s(e)}return r&&r.then?r.then(void 0,s):r}(0,function(i){return e?(t.removePaymentStatusCheckInterval(e),console.error("Could not connect via SignalR, falling back to polling end-point..."),t.addPaymentStatusCheckInterval(e,1500),Promise.resolve()):Promise.reject(i)}))}catch(e){return Promise.reject(e)}}()).then(function(){var i;function n(e){return i?e:Promise.resolve(null)}var o=function(){if(e)return Promise.resolve(t.paymentStatusCheck(e)).then(function(e){t.checkPaymentUpdateStatus(e);var n=Promise.resolve(e);return i=1,n});t.manuallyStartedPaymentStatusChecking=!0}();return o&&o.then?o.then(n):n(o)})}catch(e){return Promise.reject(e)}},i.getOfflinePaymentFormUrl=function(e,t,i,n,o){var s;return s="undefined"!=typeof window&&void 0!==window.document?btoa(JSON.stringify(o||{})):Buffer.from(JSON.stringify(o||{}),"base64").toString(),this.baseUrl+"/mp?x="+e+"|"+t+"|"+i+"|"+(n||"")+"|"+s},i.getRequiredPinLength=function(e){return e===_.VDF||"VDF"===e.toString()||e===_.TCG||"TCG"===e.toString()?6:4},i.luhnCheck=function(e){if(!e)return!1;if(e=e.replace(/[\s]/g,""),!/^[0-9]+$/.test(e))return!1;for(var t=[0,2,4,6,8,1,3,5,7,9],i=e.length,n=1,o=0,s=0;i;)s=parseInt(e.charAt(--i),10),o+=(n^=1)?t[s]:s;return o%10==0},i.checkPaymentUpdateStatus=function(e){var t=this,i=this.activeTransactions.get(e.paymentReference);i&&JSON.stringify(e)!==i.lastJsonResponse?(i.lastJsonResponse=JSON.stringify(e),this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentStatusUpdate --"),console.dir(e,{depth:null})),this.events.publish(C,e),function(e){var i=!1,n=function(n){if(!i){var o={message:n.message,transactionReference:n.reference,paymentStatusResponse:e};if(n.status===yt.RequiresConfirmation||n.status===yt.RequiresInitialConfirmation){i=!0;var s=e.paymentDestinations.mobileWallets.find(function(e){return e.accountHolder})||e.paymentDestinations.bankAccounts.find(function(e){return e.accountHolder})||e.paymentDestinations.merchants.find(function(e){return e.accountHolder})||e.paymentDestinations.qrCodes.find(function(e){return e.accountHolder})||e.paymentDestinations.bills.find(function(e){return e.accountHolder})||null;o.confirmationData={amountInCents:n.amountInCents,sourceAccountHolder:n.accountHolder||null,destinationAccountHolder:null!==s?s.accountHolder:null,fees:n.fees},t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresConfirmation --"),console.dir(o,{depth:null})),t.events.publish(P,o)}else n.status===yt.RequiresPin?(i=!0,o.pinLength=t.getRequiredPinLength(_.None),n&&n.mobileWalletOperator&&(o.pinLength=t.getRequiredPinLength(n.mobileWalletOperator)),t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresPin --"),console.dir(o,{depth:null})),t.events.publish(g,o)):n.status===yt.RequiresAddress&&(i=!0,t.consoleLogging&&(console.debug("-- SIGNAL OnRequiresAddress --"),console.dir(o,{depth:null})),t.events.publish(R,o))}};e.paymentSources.cards.forEach(function(o){if(!i&&o.status===yt.Requires3DSecure&&o.threeDSecureUrl){i=!0,t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!0;var s={url:o.threeDSecureUrl};t.consoleLogging&&(console.debug("-- SIGNAL OnRequires3DSecure --"),console.dir(s,{depth:null})),t.events.publish(y,s)}else n(o)}),!i&&t.activeTransactions.get(e.paymentReference).isProcessing3dSecure&&(t.activeTransactions.get(e.paymentReference).isProcessing3dSecure=!1,t.consoleLogging&&console.debug("-- SIGNAL OnComplete3DSecure --"),t.events.publish(T)),e.paymentSources.mobileWallets.forEach(function(e){return n(e)}),e.paymentSources.bankAccounts.forEach(function(e){return n(e)}),e.paymentDestinations.bankAccounts.forEach(function(e){return n(e)}),e.paymentDestinations.merchants.forEach(function(e){return n(e)}),e.paymentDestinations.mobileWallets.forEach(function(e){return n(e)}),e.paymentDestinations.qrCodes.forEach(function(e){return n(e)}),e.paymentDestinations.cards.forEach(function(e){return n(e)}),e.paymentDestinations.wallets.forEach(function(e){return n(e)}),e.paymentDestinations.bills.forEach(function(e){return n(e)})}(e),e.isComplete&&(this.consoleLogging&&(console.debug("-- SIGNAL OnPaymentComplete --"),console.dir(e,{depth:null})),this.events.publish(p,e),this.removePaymentStatusCheckInterval(e.paymentReference),this.activeTransactions.delete(e.paymentReference))):this.consoleLogging&&console.warn("!! OnPaymentStatusUpdate will not be fired because the status response has not changed !!")},i.onStatusPollingInterval=function(e){try{var t=function(){return Promise.resolve()},i=this;i.removePaymentStatusCheckInterval(e);var n=function(){if(i.activeTransactions.has(e))return Promise.resolve(i.paymentStatusCheck(e)).then(function(t){var n=function(){if(t){i.checkPaymentUpdateStatus(t);var n=function(){if(t.isComplete){var n=function(){if(!i.manuallyStartedPaymentStatusChecking)return i.hubConnection.off("OnPaymentStatusChanged"),Promise.resolve(i.stopPaymentStatusChecking(e)).then(function(){})}();if(n&&n.then)return n.then(function(){})}else i.addPaymentStatusCheckInterval(e)}();if(n&&n.then)return n.then(function(){})}}();if(n&&n.then)return n.then(function(){})})}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.addPaymentStatusCheckInterval=function(e,t){var i=this;if(void 0===t&&(t=1500),this.activeTransactions.has(e)){var n=this.activeTransactions.get(e);clearInterval(n.statusCheckTimer),n.statusCheckTimer=setInterval(function(){return i.onStatusPollingInterval(e)},t)}},i.removePaymentStatusCheckInterval=function(e){this.activeTransactions.has(e)&&clearInterval(this.activeTransactions.get(e).statusCheckTimer)},t}(H),Gt="/v1/consumer",wt="/v1/consumer/messages",Ft="/v1/consumer/account",Ut=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var i=t.prototype;return i.createConsumer=function(e){try{return Promise.resolve(this.request(Gt,"POST",e))}catch(e){return Promise.reject(e)}},i.updateConsumer=function(e){try{return Promise.resolve(this.request(Gt,"PUT",e))}catch(e){return Promise.reject(e)}},i.deleteConsumer=function(){try{var e=this;return Promise.resolve(e.request(Gt,"DELETE")).then(function(){return e.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),e.events.publish(A),Promise.resolve()})}catch(e){return Promise.reject(e)}},i.getConsumer=function(){try{return Promise.resolve(this.request(Gt,"GET"))}catch(e){return Promise.reject(e)}},i.getConsumerAgreement=function(){try{return Promise.resolve(this.request(Gt+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptConsumerAgreement=function(){try{return Promise.resolve(this.request(Gt+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.stopCard=function(e,t){try{return Promise.resolve(this.request(Ft+"/card/stop","POST",{cardReference:e,reason:t}))}catch(e){return Promise.reject(e)}},i.getBankAccountBalance=function(e){try{return Promise.resolve(this.request(Ft+"/bank-account/"+e+"/balance","GET"))}catch(e){return Promise.reject(e)}},i.downloadFile=function(e,t){try{var i="";return t&&Object.keys(t).length>0&&(i="?"+Object.entries(t).map(function(e){var t=e[1];return encodeURIComponent(e[0])+"="+encodeURIComponent(t)}).join("&")),Promise.resolve(this.request("/v1/consumer/files/"+e+i,"GET"))}catch(e){return Promise.reject(e)}},i.submitFeedback=function(e){try{return Promise.resolve(this.request("/v1/consumer/feedback/send","POST",{description:e}))}catch(e){return Promise.reject(e)}},i.getAllMessages=function(){try{return Promise.resolve(this.request(wt,"GET"))}catch(e){return Promise.reject(e)}},i.getMessage=function(e){try{return Promise.resolve(this.request(wt+"/"+e,"GET"))}catch(e){return Promise.reject(e)}},i.deleteMessage=function(e){try{return Promise.resolve(this.request(wt+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.contactSupport=function(e){try{return Promise.resolve(this.request("/v1/consumer/contact","POST",e))}catch(e){return Promise.reject(e)}},t}(H),Wt=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).qrCache=new Map,t}d(t,e);var i=t.prototype;return i.decode=function(e){try{var t=function(){return Promise.resolve(i.qrCache.get(e)||null)},i=this,n=function(){if(!i.qrCache.has(e)){var t=i.qrCache,n=t.set;return Promise.resolve(i.request("/v1/qr/decode?qrCodeData="+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.generate=function(e,t){void 0===t&&(t=500);try{return e?Promise.resolve(s.toDataURL(e,{errorCorrectionLevel:"H",margin:.5,width:t})):Promise.reject()}catch(e){return Promise.reject(e)}},t}(H),Vt="/v1/merchant",qt="/v1/merchant/otp",Kt="/v1/merchant/pos",xt="/v1/merchant/product",jt="/v1/merchant/user",Zt=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).productDetailCache=new Map,t.productsCache=[],t}d(t,e);var i=t.prototype;return i.createMerchantProductProxy=function(e){var t=a({},e);return new Proxy(t,{get:function(e,t){return"amountInCents"===t?e.futureAmountEffectiveFromDate&&new Date(e.futureAmountEffectiveFromDate)<=new Date?e.futureAmountInCents||0:e.amountInCents:e[t]},set:function(e,t,i){return e[t]=i,!0}})},i.getAllProducts=function(){try{var e=function(){return Promise.resolve(t.productsCache)},t=this,i=function(){if(0===t.productsCache.length)return Promise.resolve(t.request(xt+"/lookup","GET")).then(function(e){t.productsCache=e||[]})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getActiveProductTypes=function(){try{return Promise.resolve(this.getAllProducts()).then(function(e){return Promise.resolve(e.map(function(e){return e.type}).sort())})}catch(e){return Promise.reject(e)}},i.getMerchantNamesFromProductType=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=t.find(function(t){return t.type===e});return Promise.resolve(i?i.merchants.map(function(e){return e.name}).filter(function(e,t,i){return i.indexOf(e)===t}).sort():[])})}catch(e){return Promise.reject(e)}},i.getProductTypesForMerchant=function(e){try{return Promise.resolve(this.getAllProducts()).then(function(t){var i=[];return t.forEach(function(t){t.merchants.find(function(t){return t.name===e})&&i.push(t.type)}),Promise.resolve(i.filter(function(e,t,i){return i.indexOf(e)===t}).sort())})}catch(e){return Promise.reject(e)}},i.getProductsForMerchantAndProductType=function(e,t){try{return Promise.resolve(this.getAllProducts()).then(function(i){var n=i.find(function(t){return t.type===e});if(n){var o=n.merchants.find(function(e){return e.name===t});if(o)return Promise.resolve(o.products.sort(function(e,t){return e.name.localeCompare(t.name)}))}return Promise.resolve([])})}catch(e){return Promise.reject(e)}},i.getProductDetails=function(e){try{var t=function(){var t=i.productDetailCache.get(e)||null;return Promise.resolve(t?i.createMerchantProductProxy(t):null)},i=this,n=function(){if(!i.productDetailCache.has(e)){var t=i.productDetailCache,n=t.set;return Promise.resolve(i.request(xt+"/details/"+e,"GET")).then(function(i){n.call(t,e,i)})}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}},i.getProducts=function(){try{var e=this;return Promise.resolve(e.request(""+xt,"GET")).then(function(t){return t.map(function(t){return e.createMerchantProductProxy(t)})})}catch(e){return Promise.reject(e)}},i.createProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+xt,"POST",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.updateProduct=function(e){try{var t=this;return Promise.resolve(t.request(""+xt,"PUT",e)).then(function(e){return t.createMerchantProductProxy(e)})}catch(e){return Promise.reject(e)}},i.deleteProduct=function(e){try{return Promise.resolve(this.request(xt+"/"+e,"DELETE"))}catch(e){return Promise.reject(e)}},i.groupProductsByName=function(e){return e.reduce(function(e,t){var i=t.name.split("|").map(function(e){return e.trim()}),n=i[0],o=i[1];return e[n]||(e[n]=[]),e[n].push(a({},t,{name:o||t.name})),e},{})},i.getMerchant=function(){try{return Promise.resolve(this.request(Vt,"GET"))}catch(e){return Promise.reject(e)}},i.createMerchant=function(e){try{return Promise.resolve(this.request(Vt,"POST",e))}catch(e){return Promise.reject(e)}},i.updateMerchant=function(e){try{return Promise.resolve(this.request(Vt,"PUT",e))}catch(e){return Promise.reject(e)}},i.getMerchantAgreement=function(){try{return Promise.resolve(this.request(Vt+"/agreement","GET"))}catch(e){return Promise.reject(e)}},i.acceptMerchantAgreement=function(){try{return Promise.resolve(this.request(Vt+"/agreement/accept","POST"))}catch(e){return Promise.reject(e)}},i.verifyMobileNumber=function(e){try{var t="";return e&&(t=e.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(qt+"/"+t,"POST"))}catch(e){return Promise.reject(e)}},i.validateOtp=function(e,t){try{var i={otpValue:e},n="";return t&&(n=t.replace(/ /g,"").replace(/\+/g,"").replace(/-/g,"")),Promise.resolve(this.request(qt+"/validate/"+n,"POST",i)).then(function(e){return v.accessToken=e.accessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.validateMerchantName=function(e){try{return Promise.resolve(this.request(Vt+"/validate/name","POST",{merchantName:e})).then(function(e){return e.accessToken?(v.accessToken=e.accessToken,Promise.resolve(!0)):Promise.resolve(!1)})}catch(e){return Promise.reject(e)}},i.createUser=function(e,t,i,n){try{return Promise.resolve(this.request(jt,"POST",{username:e,password:t,mobileNumber:i,emailAddress:n,isLockedOut:!1})).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.switchToMerchant=function(e){try{return Promise.resolve(this.request(jt+"/switch/"+e,"POST")).then(function(e){return v.accessToken=e.accessToken,v.refreshToken=e.refreshToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getUserMerchants=function(){try{return Promise.resolve(this.request(jt,"GET"))}catch(e){return Promise.reject(e)}},i.setupPosTerminal=function(e,t,i){try{return Promise.resolve(this.request(Kt+"/setup/"+e+"/"+t,"POST",i)).then(function(e){return v.accessToken=e.checkAccessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getPosTerminalConfiguration=function(e,t){try{return Promise.resolve(this.request(Kt+"/config/"+e+"/"+t,"GET")).then(function(e){return v.accessToken=e.accessToken||v.accessToken,Promise.resolve(e)})}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodes=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=G[t]),Promise.resolve(this.request(Kt+"/qr?amount="+e+"¤cy="+i,"GET"))}catch(e){return Promise.reject(e)}},i.getTerminalPaymentQrCodeUrls=function(e,t){try{var i=t.toString();return Number.isInteger(t)&&(i=G[t]),Promise.resolve(this.request(Kt+"/qr-urls?amount="+e+"¤cy="+i,"GET"))}catch(e){return Promise.reject(e)}},i.uploadFile=function(e){try{return Promise.resolve(this.request(Vt+"/file/upload","POST",e))}catch(e){return Promise.reject(e)}},t}(H),Yt=/\{@?\w+}/g,Jt=/*#__PURE__*/function(){function e(e){if(this.raw=void 0,this.tokens=void 0,null===e||!e.length)throw new Error('Argument "messageTemplate" is required.');this.raw=e,this.tokens=this.tokenize(e)}var t=e.prototype;return t.render=function(e){if(!this.tokens.length)return this.raw;e=e||{};for(var t=[],i=0;i<this.tokens.length;++i){var n=this.tokens[i];"string"==typeof n.name?e.hasOwnProperty(n.name)?t.push(this.toText(e[n.name])):t.push(n.raw):t.push(n.text)}return t.join("")},t.bindProperties=function(e){for(var t={},i=0,n=0;n<this.tokens.length&&i<e.length;++n){var o=this.tokens[n];"string"==typeof o.name&&(t[o.name]=this.capture(e[i],o.destructure),i++)}for(;i<e.length;){var s=e[i];void 0!==s&&(t["a"+i]=this.capture(s)),i++}return t},t.tokenize=function(e){for(var t,i,n=[];null!==(t=Yt.exec(e));){t.index!==i&&n.push({text:e.slice(i,t.index)});var o=!1,s=t[0].slice(1,-1);0===s.indexOf("@")&&(s=s.slice(1),o=!0),n.push({name:s,destructure:o,raw:t[0]}),i=Yt.lastIndex}return i>=0&&i<e.length&&n.push({text:e.slice(i)}),n},t.toText=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e;if("number"==typeof e)return e.toString();if("boolean"==typeof e)return e.toString();if("function"==typeof e.toISOString)return e.toISOString();if("object"==typeof e){var t=JSON.stringify(e);return t.length>70&&(t=t.slice(0,67)+"..."),t}return e.toString()},t.capture=function(e,t){return"function"==typeof e?e():"object"==typeof e?null===e||t||"function"==typeof e.toISOString?e:e.toString():e},e}();!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"}(Rt||(Rt={}));var Qt,zt=/*#__PURE__*/function(e){function t(t,i,n,o){var s;return void 0===i&&(i=!1),void 0===n&&(n=100),void 0===o&&(o=6e4),(s=e.call(this,t,i)||this).messageBatch=void 0,s.batchSize=void 0,s.batchInterval=void 0,s.maxQueueSize=void 0,s.batchTimeout=null,s.messageBatch=[],s.batchSize=n,s.batchInterval=o,s.maxQueueSize=Math.min(10*n,1e3),s.batchInterval>0&&s.submitMessageBatch(!0),s}d(t,e);var i=t.prototype;return i.flush=function(){return this.submitMessageBatch(!1)},i.fatal=function(e){return this.log(Rt.Critical,e,[].slice.call(arguments,1))},i.error=function(e){return this.log(Rt.Error,e,[].slice.call(arguments,1))},i.warn=function(e){return this.log(Rt.Warning,e,[].slice.call(arguments,1))},i.info=function(e){return this.log(Rt.Information,e,[].slice.call(arguments,1))},i.debug=function(e){return this.log(Rt.Debug,e,[].slice.call(arguments,1))},i.trace=function(e){return this.log(Rt.Trace,e,[].slice.call(arguments,1))},i.log=function(e,t,i){var n={timestamp:(new Date).toJSON(),level:e,template:t,properties:i},o=new Jt(n.template),s=o.render(o.bindProperties(n.properties));if(this.consoleLogging)switch(e){case Rt.Critical:case Rt.Error:console.error(s);break;case Rt.Warning:console.warn(s);break;case Rt.Information:console.info(s);break;case Rt.Debug:case Rt.Trace:console.debug(s);break;default:console.log(s)}return(this.batchSize>0||this.batchInterval>0)&&(this.messageBatch.push(n),this.batchSize>0&&this.messageBatch.length>=this.batchSize&&this.submitMessageBatch(!0)),(new Date).toISOString()+" ["+Rt[e].toUpperCase()+"] "+s},i.submitMessageBatch=function(e){var t=this;clearTimeout(this.batchTimeout);var i=Promise.resolve();if(this.messageBatch.length){var n=this.messageBatch.splice(0,this.batchSize);n.length>0&&(this.consoleLogging&&console.info("Sending %d log messages in a batch",n.length),i=this.request("/v1/logging","POST",n).catch(function(e){var i;(i=t.messageBatch).unshift.apply(i,n),t.messageBatch.length>t.maxQueueSize&&t.messageBatch.splice(0,t.messageBatch.length-t.maxQueueSize),t.consoleLogging&&console.warn("Failed to send log messages, the batch size is %d",t.messageBatch.length)}))}return e&&this.batchInterval>0&&(this.batchTimeout=setTimeout(function(){return t.submitMessageBatch(!0)},this.batchInterval)),i},t}(H),Xt=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return d(t,e),t.prototype.ping=function(){try{return Promise.resolve(this.request("/v1/ping","GET"))}catch(e){return Promise.reject(e)}},t}(H),_t="/v1/content",$t=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).clientContentCache=void 0,t.contactDetailsCache=void 0,t}d(t,e);var i=t.prototype;return i.getClientContent=function(){try{var e=function(){return Promise.resolve(t.clientContentCache||null)},t=this,i=function(){if(!t.clientContentCache)return Promise.resolve(t.request(_t,"GET")).then(function(e){t.clientContentCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},i.getContactDetails=function(){try{var e=function(){return Promise.resolve(t.contactDetailsCache||null)},t=this,i=function(){if(!t.contactDetailsCache)return Promise.resolve(t.request(_t+"/contact-details","GET")).then(function(e){t.contactDetailsCache=e})}();return Promise.resolve(i&&i.then?i.then(e):e())}catch(e){return Promise.reject(e)}},t}(H),ei="/v1/reports/transactions",ti=/*#__PURE__*/function(e){function t(){for(var t,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).dailyTransactionCache=new Map,t}d(t,e);var i=t.prototype;return i.getRecentTransactions=function(e,t){void 0===e&&(e=5),void 0===t&&(t=!1);try{return Promise.resolve(this.request(ei+"/recent?limit="+e+"&successfulOnly="+t,"GET"))}catch(e){return Promise.reject(e)}},i.getTransactionSummary=function(e){try{var t=e.toString();return Number.isInteger(e)&&(t=G[e]),Promise.resolve(this.request(ei+"/summary?currency="+t,"GET"))}catch(e){return Promise.reject(e)}},i.getAllTransactionDetails=function(e,t,i){try{return Promise.resolve(this.getDailyTransactions(e,t,i)).then(function(e){return e.flatMap(function(e){return e.paymentDetails}).sort(function(e,t){return new Date(t.transactionCompletedDate).getTime()-new Date(e.transactionCompletedDate).getTime()})})}catch(e){return Promise.reject(e)}},i.getDailyTransactions=function(e,t,i){try{var n=function(){var e=l(t),n=l(i);return r.filter(function(t){var i=l(t.date);return i>=e&&i<=n}).sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})},o=this,s=e.toString();if(Number.isInteger(e)&&(s=G[e]),!t||!i)return Promise.resolve(o.request(ei+"/daily?currency="+s+"&dateFrom="+(t||"")+"&dateTo="+(i||""),"GET"));var r=o.dailyTransactionCache.get(s)||[],a=t,c=i,d=!0,l=function(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)?e:new Date(e).toISOString().split("T")[0]},u=l(new Date);if(r.sort(function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}),r.length>0){var h=r[r.length-1],v=r[0],m=l(t),A=l(i),f=l(v.date),S=l(h.date),C=m>=f&&A<=S,p=A>=u;C&&!p?d=!1:C&&p?(a=u,d=!0):m>=f&&A>S&&(a=S,d=!0)}var y=function(){if(d)return Promise.resolve(o.request(ei+"/daily?currency="+s+"&dateFrom="+(a||"")+"&dateTo="+(c||""),"GET")).then(function(e){var t=new Map;r.forEach(function(e){return t.set(l(e.date),e)}),e.forEach(function(e){return t.set(l(e.date),e)}),r=Array.from(t.values()),o.dailyTransactionCache.set(s,r)})}();return Promise.resolve(y&&y.then?y.then(n):n())}catch(e){return Promise.reject(e)}},t}(H),ii=function(){this.oldPassword=void 0,this.newPassword=void 0,this.resetCode=void 0,this.userReference=void 0},ni=function(){this.username=void 0},oi=function(){this.base64Images=void 0},si=function(){this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},ri=function(){this.invalidUsernameOrPassword=void 0,this.mustChangePassword=void 0,this.mustValidatePhoneNumber=void 0,this.mustValidateEmailAddress=void 0,this.deactivated=void 0,this.registrationRequired=void 0,this.lockedOut=void 0,this.changePasswordAccessToken=void 0,this.validatePhoneNumberAccessToken=void 0,this.resendEmailVerificationToken=void 0},ai=function(){this.username=void 0,this.password=void 0},ci=function(){this.otpValue=void 0},di=function(){this.userAccountExists=void 0,this.accessToken=void 0},li=function(){this.base64Image=void 0},ui=function(){this.refreshToken=void 0,this.accessToken=void 0,this.accessTokenValidForSeconds=void 0},hi=function(){this.reference=void 0,this.addressType=void 0,this.addressLine1=void 0,this.addressLine2=void 0,this.addressLine3=void 0,this.postalCode=void 0,this.countryIsoCode=void 0,this.city=void 0,this.state=void 0,this.location=void 0,this.description=void 0,this.formatted=void 0,this.isActive=void 0};!function(e){e.MAIN="MAIN",e.POST="POST",e.BILL="BILL",e.SHIP="SHIP"}(Qt||(Qt={}));var vi,mi=function(){this.currency=void 0,this.availableAmountInCents=void 0,this.currentAmountInCents=void 0};!function(e){e.SAVINGS="SAVINGS",e.CURRENT="CURRENT",e.FIXED="FIXED",e.MONEYMARKET="MONEYMARKET",e.CODA="CODA"}(vi||(vi={}));var Ai,fi=function(){this.details=void 0},Si=function(){this.faceCount=void 0,this.containsNoise=void 0,this.isLowQuality=void 0,this.isOverExposed=void 0,this.isUnderExposed=void 0,this.isBlurry=void 0,this.isWearingMask=void 0,this.foreheadNotIncluded=void 0,this.eyesNotIncluded=void 0,this.mouthNotIncluded=void 0,this.faceLeft=void 0,this.faceTop=void 0,this.faceWidth=void 0,this.faceHeight=void 0,this.problems=void 0},Ci=function(){this.reference=void 0,this.identityDocumentType=void 0,this.countryIsoCode=void 0,this.identityNumber=void 0,this.placeOfIssuance=void 0,this.effectiveDate=void 0,this.expiryDate=void 0},pi=function(){this.latitude=void 0,this.longitude=void 0,this.timeZone=void 0,this.description=void 0},yi=function(){this.name=void 0,this.reference=void 0,this.externalReference=void 0},gi=function(){this.name=void 0,this.accessToken=void 0,this.apiBaseUrl=void 0},Pi=function(){this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},Ri=function(){this.reference=void 0,this.name=void 0,this.contactNumber=void 0,this.lastTransactionDate=void 0,this.lastTransactionAmountInCents=void 0,this.lastTransactionCurrency=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.cards=void 0,this.accounts=void 0,this.isActive=void 0},Ti=function(){this.accountNumber=void 0,this.beneficiaryAccountType=void 0,this.beneficiaryAccountTypeName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0};!function(e){e.None="None",e.MobileNumber="MobileNumber",e.WaterMeter="WaterMeter",e.ElectricityMeter="ElectricityMeter",e.PayShap="PayShap"}(Ai||(Ai={}));var Ii,bi=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.routingCode=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},Hi=function(){this.token=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.cardIssuer=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},Mi=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.mobileWalletOperatorName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.recipientReference=void 0,this.senderReference=void 0,this.sendProofOfPayment=void 0,this.proofOfPaymentEmailAddress=void 0,this.proofOfPaymentMobileNumber=void 0,this.isActive=void 0},Ni=function(){this.allowTapToPay=void 0,this.alwaysAskForPin=void 0},Di=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.preferredName=void 0,this.fullNameOfNextOfKin=void 0,this.contactNumberForNextOfKin=void 0,this.alternateContactNumber=void 0,this.invitationCode=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.identityDocuments=void 0,this.kycLookupResults=void 0,this.files=void 0,this.devices=void 0,this.addresses=void 0,this.beneficiaries=void 0,this.accounts=void 0,this.attributes=void 0,this.rewardPointsInfo=void 0,this.reference=void 0,this.yourReference=void 0,this.source=void 0,this.userReference=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.preferredLanguage=void 0,this.kycStatusSummary=void 0,this.isActive=void 0},Bi=function(){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"}(Ii||(Ii={}));var Ei,ki=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},Oi=function(){this.token=void 0,this.accountNumber=void 0,this.bankAccountType=void 0,this.bankAccountTypeName=void 0,this.bank=void 0,this.bankName=void 0,this.branchName=void 0,this.routingCode=void 0,this.linkedCardReferences=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},Li=function(){this.cardHolder=void 0,this.token=void 0,this.cardIssuer=void 0,this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0,this.linkedBankAccountReferences=void 0,this.settings=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},Gi=function(){this.fileType=void 0,this.kycResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.isActive=void 0},wi=function(){this.policyNumber=void 0,this.coverAmountInCents=void 0,this.premiumAmountInCents=void 0,this.description=void 0,this.beneficiaryName=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},Fi=function(){this.contractNumber=void 0,this.originalCapitalInCents=void 0,this.settlementAmountInCents=void 0,this.outstandingBalanceInCents=void 0,this.installmentAmountInCents=void 0,this.arrearsAmountInCents=void 0,this.installmentsRemaining=void 0,this.annualInterestRatePercentage=void 0,this.nextInstallmentDate=void 0,this.startDate=void 0,this.endDate=void 0,this.isInArrears=void 0,this.isFullyPaid=void 0,this.repaymentPercentage=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},Ui=function(){this.msisdn=void 0,this.mobileWalletOperator=void 0,this.createdDate=void 0,this.reference=void 0,this.currency=void 0,this.accountName=void 0,this.isActive=void 0,this.iconUrl=void 0,this.linkedFileReferences=void 0},Wi=function(){this.description=void 0},Vi=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0},qi=function(){this.provider=void 0,this.status=void 0,this.verificationType=void 0,this.providerReference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0};!function(e){e.Unverified="Unverified",e.Verified="Verified",e.Rejected="Rejected"}(Ei||(Ei={}));var Ki,xi=function(){this.reference=void 0,this.consumerReference=void 0,this.messageSummary=void 0,this.messageDetail=void 0,this.createdDate=void 0,this.isDeleted=void 0},ji=function(){this.pointsBalance=void 0,this.rewardTier=void 0,this.creditTransactionCount=void 0},Zi=function(){this.cardReference=void 0,this.reason=void 0},Yi=function(){this.createdDate=void 0,this.lastUsedDate=void 0,this.reference=void 0,this.yourReference=void 0,this.platform=void 0,this.deviceType=void 0,this.brand=void 0,this.model=void 0,this.serialNumber=void 0,this.operatingSystemVersion=void 0,this.softwareVersion=void 0,this.pushNotificationToken=void 0};!function(e){e.Unknown="Unknown",e.Android="Android",e.iOS="iOS",e.Web="Web"}(Ki||(Ki={}));var Ji,Qi=function(){this.terminalType=void 0,this.reference=void 0},zi=function(){this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0},Xi=function(){this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0},_i=function(){this.reference=void 0,this.parentBusinessReference=void 0,this.createdDate=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.phoneNumber=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.isActive=void 0},$i=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.userReference=void 0,this.isOwner=void 0,this.dateOfBirth=void 0,this.gender=void 0,this.countryIsoCode=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.profileImage=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.notificationSettings=void 0,this.addresses=void 0,this.identityDocuments=void 0,this.reference=void 0,this.yourReference=void 0,this.title=void 0,this.firstName=void 0,this.lastName=void 0,this.employeeNumber=void 0,this.passcode=void 0,this.isActive=void 0,this.posPermissions=void 0};!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed"}(Ji||(Ji={}));var en,tn=function(){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"}(en||(en={}));var nn,on=function(){this.cardNotPresentMID=void 0,this.isVisaEnabled=void 0,this.isMastercardEnabled=void 0,this.isAmericanExpressEnabled=void 0,this.isDinersEnabled=void 0,this.settlementTime=void 0};!function(e){e.None="None",e.Retail="Retail",e.Restaurant="Restaurant",e.Forecourt="Forecourt",e.Workshop="Workshop"}(nn||(nn={}));var sn,rn=function(){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"}(sn||(sn={}));var an,cn=function(){this.createdDate=void 0,this.loginCredentials=void 0,this.tradingName=void 0,this.franchiseName=void 0,this.capturedBy=void 0,this.capturedFrom=void 0,this.industry=void 0,this.phoneNumber=void 0,this.notificationEmailAddress=void 0,this.notificationMobileNumber=void 0,this.city=void 0,this.state=void 0,this.languageIsoCode=void 0,this.webSiteUrl=void 0,this.isRegistrationComplete=void 0,this.isEmailVerified=void 0,this.isMobileNumberVerified=void 0,this.vCard=void 0,this.logoImage=void 0,this.taxNumber=void 0,this.companyRegistrationNumber=void 0,this.companyRegistrationDate=void 0,this.adminPasscode=void 0,this.logoUrl=void 0,this.hostedPaymentUrl=void 0,this.hostedPaymentOptions=void 0,this.posOptions=void 0,this.business=void 0,this.addresses=void 0,this.employees=void 0,this.terminals=void 0,this.files=void 0,this.notificationSettings=void 0,this.attributes=void 0,this.bankAccounts=void 0,this.mobileWallets=void 0,this.operatingTimes=void 0,this.devices=void 0,this.qrCodes=void 0,this.reference=void 0,this.userReference=void 0,this.yourReference=void 0,this.source=void 0,this.name=void 0,this.categoryCode=void 0,this.category=void 0,this.emailAddress=void 0,this.mobileNumber=void 0,this.countryIsoCode=void 0,this.currency=void 0,this.kybStatusSummary=void 0,this.shortCode=void 0,this.isActive=void 0};!function(e){e[e.GhIPSSMerchantId=2]="GhIPSSMerchantId",e[e.VisaPAN=3]="VisaPAN",e[e.MasterCardPAN=4]="MasterCardPAN",e[e.NIBSSMerchantReference=6]="NIBSSMerchantReference"}(an||(an={}));var dn,ln=function(){this.name=void 0,this.attribute=void 0,this.value=void 0},un=function(){this.reference=void 0,this.createdDateUtc=void 0,this.accountNumber=void 0,this.bank=void 0,this.currency=void 0,this.accountName=void 0,this.branchName=void 0,this.routingCode=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},hn=function(){this.fileType=void 0,this.kybResults=void 0,this.reference=void 0,this.yourReference=void 0,this.fileName=void 0,this.mimeType=void 0,this.base64Data=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.isActive=void 0},vn=function(){this.emailAddress=void 0,this.mobileNumber=void 0,this.username=void 0,this.password=void 0,this.isLockedOut=void 0,this.reasonForLockout=void 0},mn=function(){this.reference=void 0,this.msisdn=void 0,this.mobileWalletOperator=void 0,this.currency=void 0,this.accountName=void 0,this.isSettlement=void 0,this.hasSettlementRules=void 0,this.isActive=void 0},An=function(){this.merchantName=void 0},fn=function(){this.accessToken=void 0};!function(e){e[e.PaymentSuccessful=1]="PaymentSuccessful",e[e.PaymentFailed=2]="PaymentFailed",e[e.SettlementConfirmation=3]="SettlementConfirmation"}(dn||(dn={}));var Sn,Cn=function(){this.event=void 0,this.description=void 0,this.sendEmail=void 0,this.sendSms=void 0,this.terminalReferences=void 0},pn=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.yourReference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.productType=void 0,this.currency=void 0,this.amountInCents=void 0,this.maximumAmountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.isActive=void 0,this.fields=void 0},yn=function(){this.reference=void 0,this.industry=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.products=void 0},gn=function(){this.key=void 0,this.name=void 0,this.isRequired=void 0,this.isAccountKey=void 0,this.validationRegex=void 0,this.selectionItems=void 0},Pn=function(){this.label=void 0,this.value=void 0},Rn=function(){this.reference=void 0,this.createdDate=void 0,this.lastUpdatedDate=void 0,this.name=void 0,this.shortUrl=void 0,this.fullUrl=void 0,this.label=void 0,this.notes=void 0,this.options=void 0,this.isActive=void 0},Tn=function(){this.amountInCents=void 0,this.isAmountEditable=void 0,this.tipAmountInCents=void 0,this.tipEmployeeReference=void 0,this.splitReference=void 0,this.isQrCode=void 0,this.currency=void 0,this.currencySymbol=void 0,this.feePercentage=void 0,this.enableCustomReference=void 0,this.enableTip=void 0,this.enableRating=void 0,this.redirectUrl=void 0,this.notificationEmailAddresses=void 0,this.notificationMobileNumbers=void 0,this.metaData=void 0,this.clientData=void 0},In=function(){this.reference=void 0,this.dayOfWeek=void 0,this.fromTime=void 0,this.toTime=void 0},bn=function(){this.isRefundsEnabled=void 0,this.isCancellationsEnabled=void 0,this.isPurchaseWithCashbackEnabled=void 0,this.isWithdrawalsEnabled=void 0,this.isBalanceCheckEnabled=void 0,this.isCurrencyConversionEnabled=void 0,this.isRcsPaymentEnabled=void 0,this.isDebiCheckEnabled=void 0,this.isPreAuthorizationEnabled=void 0,this.isManualCardEntryEnabled=void 0,this.isInvoiceNumberEnabled=void 0,this.isPasscodeAlwaysRequired=void 0,this.fuelPurchaseMethod=void 0},Hn=function(){this.canCreateUsers=void 0,this.canProcessRefunds=void 0,this.canCloseAndAccessBatchReports=void 0,this.canEditDeviceSettings=void 0,this.canExceedMaximumSaleLimits=void 0,this.canProcessCashWithdrawals=void 0,this.canProcessCashDeposit=void 0,this.canUseBalanceEnquiry=void 0,this.canUseDebiCheck=void 0,this.canUseManualCardEntry=void 0,this.canProcessCancellations=void 0,this.canProcessDepositsAndReversals=void 0,this.canUsePreAuthorisation=void 0,this.canUseIncrementalAuthorisation=void 0,this.canOverrideAuthorisation=void 0,this.canCancelAuthorisation=void 0,this.canCompleteAuthorisation=void 0,this.canAccessReports=void 0};!function(e){e.None="None",e.IntraDay="IntraDay",e.EndOfDay="EndOfDay",e.TPlusOne="TPlusOne",e.TPlusTwo="TPlusTwo",e.TPlusThree="TPlusThree",e.TPlusSeven="TPlusSeven"}(Sn||(Sn={}));var Mn,Nn=function(){this.reference=void 0,this.yourReference=void 0,this.device=void 0,this.createdDate=void 0,this.name=void 0,this.hostedPaymentUrl=void 0,this.isActive=void 0,this.isLinked=void 0,this.qrCodes=void 0,this.externalQrCodes=void 0,this.notificationTokens=void 0,this.additionalReferences=void 0},Dn=function(){this.merchant=void 0,this.industry=void 0,this.primaryAddress=void 0,this.merchantId=void 0,this.terminalId=void 0,this.posMerchantId=void 0,this.posTerminalId=void 0,this.terminalReference=void 0,this.accessToken=void 0,this.adminPasscode=void 0,this.hostedPaymentUrl=void 0,this.posOptions=void 0,this.features=void 0,this.employees=void 0},Bn=function(){this.isQrCodeEnabled=void 0,this.isCardEnabled=void 0,this.isCashEnabled=void 0,this.isMobileMoneyEnabled=void 0},En=function(){this.reference=void 0,this.token=void 0,this.platform=void 0},kn=function(){this.zapperQrCodeBase64=void 0,this.snapScanQrCodeBase64=void 0,this.vantagePayQrCodeBase64=void 0,this.mtnMoMoQrCodeBase64=void 0},On=function(){this.zapperQrCodeUrl=void 0,this.snapScanQrCodeUrl=void 0,this.vantagePayQrCodeUrl=void 0,this.mtnMoMoQrCodeUrl=void 0},Ln=function(){this.qrCodeType=void 0,this.qrCode=void 0},Gn=function(){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"}(Mn||(Mn={}));var wn=function(){this.type=void 0,this.merchants=void 0},Fn=function(){this.name=void 0,this.products=void 0},Un=function(){this.reference=void 0,this.name=void 0,this.description=void 0,this.unitLabel=void 0,this.amountInCents=void 0,this.futureAmountInCents=void 0,this.futureAmountEffectiveFromDate=void 0,this.fullAmountRequired=void 0,this.quantityRequired=void 0,this.fields=void 0},Wn=function(){this.category=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0},Vn=function(){this.date=void 0,this.transactionCount=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.totalCashbackInCents=void 0,this.totalCommissionFeesInCents=void 0,this.totalServiceFeesInCents=void 0,this.totalELevyFeesInCents=void 0,this.totalUserFeesInCents=void 0,this.totalTipsInCents=void 0,this.paymentDetails=void 0},qn=function(){this.paymentReference=void 0,this.shortPaymentReference=void 0,this.channel=void 0,this.transactionType=void 0,this.sourceCategory=void 0,this.destinationCategory=void 0,this.sourceFacility=void 0,this.destinationFacility=void 0,this.sourceTransactionTypeDescription=void 0,this.destinationTransactionTypeDescription=void 0,this.sourceAccount=void 0,this.destinationAccount=void 0,this.name=void 0,this.transactionCompletedDate=void 0,this.currency=void 0,this.amountInCents=void 0,this.cashbackAmountInCents=void 0,this.commissionFeeAmountInCents=void 0,this.serviceFeeAmountInCents=void 0,this.eLevyFeeAmountInCents=void 0,this.userFeeAmountInCents=void 0,this.tipAmountInCents=void 0,this.isSuccess=void 0,this.summaryStatus=void 0,this.sourceStatus=void 0,this.destinationStatus=void 0,this.transactionIconType=void 0,this.wasQrCodeInitiated=void 0},Kn=function(){this.year=void 0,this.month=void 0,this.currency=void 0,this.description=void 0,this.totalAmountInCents=void 0,this.periodTotals=void 0},xn=function(){this.description=void 0,this.currency=void 0,this.totalAmountInCents=void 0,this.categoryTotals=void 0},jn=function(){this.accountNumber=void 0,this.bank=void 0},Zn=function(){this.token=void 0},Yn=function(){this.cardNumber=void 0,this.nameOnCard=void 0,this.expiryMonth=void 0,this.expiryYear=void 0},Jn=function(){this.token=void 0,this.requiresPayment=void 0,this.requiresVerification=void 0,this.verificationAttemptsRemaining=void 0,this.paymentCurrency=void 0,this.paymentAmountInCents=void 0},Qn=function(){this.token=void 0,this.verificationCode=void 0},zn="-".repeat(120),Xn=/*#__PURE__*/function(){function o(o){var s=this,r=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=n,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:a({},o.headers,{Accept:"application/json","Content-Type":"application/json","Accept-Language":o.language||"en"})}),i(this.axiosInstance,function(e){try{var t,i=function(i){return t?i:Promise.reject(e)},n="/v1/auth/refresh";if(e.request.path===n)return Promise.reject(e);var o=function(){if(v.refreshToken)return function(i,o){try{var s=function(){var i={method:"POST",url:n,headers:{Authorization:"Bearer "+v.refreshToken},skipAuthRefresh:!0};return r.consoleLogging&&(console.debug("\r\n"+zn),console.debug("-- AUTO REFRESH --"),console.debug(zn),console.debug(i.method+": "+r.baseUrl+i.url),console.debug(zn),i.headers&&(console.debug("-- HEADERS --"),console.dir(i.headers)),i.data&&(console.debug("-- REQUEST --"),console.dir(i.data,{depth:null}))),Promise.resolve(r.axiosInstance(i)).then(function(i){if(r.consoleLogging&&(console.debug("\r\n-- RESPONSE --"),console.dir(i.data,{depth:null}),console.debug(zn)),i.data&&i.data.success){v.accessToken=i.data.result.accessToken,v.refreshToken=i.data.result.refreshToken,r.consoleLogging&&(console.debug("-- SIGNAL OnAutomaticRefresh --"),console.dir(i.data.result,{depth:null})),r.events.publish(f,i.data.result),e&&(e.response.config.headers.Authorization="Bearer "+v.accessToken);var n=Promise.resolve(e);return t=1,n}r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(A)})}()}catch(e){return o(e)}return s&&s.then?s.then(void 0,o):s}(0,function(e){throw r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(A),e});v.accessToken&&(r.consoleLogging&&console.debug("-- SIGNAL OnSessionExpired --"),r.events.publish(A))}();return Promise.resolve(o&&o.then?o.then(i):i(o))}catch(e){return Promise.reject(e)}}),t(this.axiosInstance,{retries:o.retries||3,retryDelay:t.exponentialDelay,onRetry:function(e,t,i){s.consoleLogging&&console.error("-- RETRY "+e+" --\r\n",t);var n={retryCount:e};s.consoleLogging&&(console.debug("-- SIGNAL OnApiRetry --"),console.dir(n,{depth:null})),s.events.publish(S,n)}}),this.consoleLogging=o.consoleLogging||!1,this.logBatchSize=o.logBatchSize||100,this.logBatchInterval=o.logBatchInterval||6e4,this.system=new Xt(this.axiosInstance,this.consoleLogging),this.content=new $t(this.axiosInstance,this.consoleLogging),this.log=new zt(this.axiosInstance,this.consoleLogging,this.logBatchSize,this.logBatchInterval),this.auth=new B(this.axiosInstance,this.consoleLogging),this.consumers=new Ut(this.axiosInstance,this.consoleLogging),this.merchants=new Zt(this.axiosInstance,this.consoleLogging),this.lookups=new ae(this.axiosInstance,this.consoleLogging),this.payments=new Lt(this.axiosInstance,this.consoleLogging),this.qrCodes=new Wt(this.axiosInstance,this.consoleLogging),this.reports=new ti(this.axiosInstance,this.consoleLogging),this.consoleLogging&&(void 0===console.dir||"undefined"!=typeof navigator&&"ReactNative"===navigator.product)&&(console.dir=function(e){return console.debug(JSON.stringify(e,null,2))})}return o.prototype.close=function(){try{var e=this;return e.consoleLogging&&console.info("Flush and clear the logs..."),Promise.resolve(e.log.flush()).then(function(){return e.consoleLogging&&console.info("Stopping payment status checks..."),Promise.resolve(e.payments.stopPaymentStatusChecking()).then(function(){return e.consoleLogging&&console.info("Unsubscribing from all events..."),e.events.clearAllSubscriptions(),e.consoleLogging&&console.info("Cancel all API requests..."),e.abortController.abort(),Promise.resolve()})})}catch(e){return Promise.reject(e)}},o}();Xn.OnSessionStarted=m,Xn.OnSessionExpired=A,Xn.OnAutomaticRefresh=f,Xn.OnApiRetry=S,Xn.OnPaymentStatusUpdate=C,Xn.OnPaymentComplete=p,Xn.OnRequires3DSecure=y,Xn.OnRequiresPin=g,Xn.OnRequiresConfirmation=P,Xn.OnRequiresAddress=R,Xn.OnComplete3DSecure=T;export{ce as AccountHolderTransactionResult,Qi as AdditionalTerminalReference,hi as Address,Qt as AddressType,de as AmountTotals,I as ApiError,v as ApiTokens,et as ApplePaySource,Dt as ApplePayWebPaymentResponse,mi as Balance,N as Bank,ve as BankAccountDestination,me as BankAccountDestinationResult,jn as BankAccountRequest,Zn as BankAccountResponse,tt as BankAccountSource,it as BankAccountSourceResult,vi as BankAccountType,L as BankData,Pi as BasicConsumer,zi as BasicEmployee,Xi as BasicMerchant,Ri as Beneficiary,Ti as BeneficiaryAccount,Ai as BeneficiaryAccountType,bi as BeneficiaryBankAccount,Hi as BeneficiaryCard,Mi as BeneficiaryMobileWallet,Ae as BillDestination,fe as BillDestinationResult,_i as Business,Se as CardDestination,Ce as CardDestinationResult,le as CardHolder,se as CardIssuer,Yn as CardRequest,Jn as CardResponse,Ni as CardSettings,nt as CardSource,ot as CardSourceResult,he as CardVerificationPaymentRequest,pe as CashDestination,ye as CashDestinationResult,st as CashSource,rt as CashSourceResult,wn as CategoryDetails,ii as ChangePasswordRequest,E as Channel,Di as Consumer,Bi as ConsumerAccounts,Ii as ConsumerAttribute,ki as ConsumerAttributeValue,Oi as ConsumerBankAccount,Li as ConsumerCard,Gi as ConsumerFile,k as ConsumerFileType,wi as ConsumerInsurancePolicy,Fi as ConsumerLoanAccount,Ui as ConsumerMobileWallet,fi as ContactDetails,O as Country,w as CountryData,G as Currency,V as CurrencyData,F as DayOfWeek,Yi as Device,Ki as DevicePlatform,It as EmailNotificationRequest,$i as Employee,Ji as EmployeeNotificationEvent,tn as EmployeeNotificationEventSetting,Si as FaceCheckResult,U as FaceMovementDetectionLevel,ue as FeeType,Wi as Feedback,ni as ForgotPasswordRequest,en as FuelPurchaseMethod,W as Gender,ge as GenericDestination,at as GenericSource,ct as GooglePaySource,Nt as GooglePayWebPaymentResponse,on as HostedPaymentOptions,Q as IdAndDescription,Ci as IdentityDocument,q as IdentityDocumentType,nn as Industry,rn as KybFileResult,K as KybProvider,x as KybStatus,sn as KybStatusSummary,Vi as KycFileResult,qi as KycLookupResult,j as KycProvider,Z as KycStatus,Ei as KycStatusSummary,Y as KycVerificationType,J as Language,$ as LanguageData,ke as LineItem,oi as LivenessRequest,pi as Location,Rt as LogLevel,si as LoginCredentials,ri as LoginErrorResponse,ai as LoginRequest,cn as Merchant,an as MerchantAttribute,ln as MerchantAttributeValue,un as MerchantBankAccount,z as MerchantCategory,Pe as MerchantDestination,Re as MerchantDestinationResult,Fn as MerchantDetail,hn as MerchantFile,X as MerchantFileType,vn as MerchantLoginCredentials,mn as MerchantMobileWallet,An as MerchantNameVerificationRequest,fn as MerchantNameVerificationResponse,dn as MerchantNotificationEvent,Cn as MerchantNotificationEventSetting,bt as MerchantPaymentRequest,Oe as MerchantPaymentResponse,Ee as MerchantPaymentType,pn as MerchantProduct,yn as MerchantProductCatalog,gn as MerchantProductField,Pn as MerchantProductFieldSelectionItem,Rn as MerchantQrCode,Tn as MerchantQrCodeOptions,Ge as MerchantRefundRequest,xi as Message,Te as MobileWalletDestination,Ie as MobileWalletDestinationResult,_ as MobileWalletOperator,oe as MobileWalletOperatorData,dt as MobileWalletSource,lt as MobileWalletSourceResult,ee as Month,yi as NameAndReference,S as OnApiRetry,f as OnAutomaticRefresh,T as OnComplete3DSecure,p as OnPaymentComplete,C as OnPaymentStatusUpdate,y as OnRequires3DSecure,R as OnRequiresAddress,P as OnRequiresConfirmation,g as OnRequiresPin,A as OnSessionExpired,m as OnSessionStarted,In as OperatingTime,ci as OtpVerificationRequest,di as OtpVerificationResponse,be as PaymentDestinationResults,He as PaymentDestinations,we as PaymentReceiptResponse,Fe as PaymentRecurrenceSchedule,Ue as PaymentRecurrenceScheduleEntry,Ht as PaymentRequest,We as PaymentResponse,ut as PaymentSourceResults,ht as PaymentSources,Ve as PaymentStatusResponse,qe as PaymentTransaction,Ke as PaymentTransactionResult,bn as PosOptions,Hn as PosPermissions,Un as ProductDetail,te as ProductType,Me as QrCodeDestination,Ne as QrCodeDestinationResult,ie as QrCodeType,xe as QrCodeValidationRequest,je as QrCodeValidationResponse,Le as ReceiptType,Ye as RefundReceiptResponse,Je as RefundRequest,Qe as RefundResponse,ze as RefundStatusResponse,Xe as RefundTransaction,_e as RefundTransactionResult,Ze as RefundType,ne as RepeatInterval,ji as RewardPointsInfo,li as SelfieRequest,Sn as SettlementTime,Mt as SmsNotificationRequest,At as StatusUrls,Zi as StopCardRequest,gi as SwitchEnvironmentInfo,Nn as Terminal,Dn as TerminalConfiguration,Bn as TerminalFeatures,En as TerminalNotificationToken,On as TerminalPaymentQrCodeUrls,kn as TerminalPaymentQrCodes,Ln as TerminalQrCode,Gn as TerminalSetup,Mn as TerminalType,ui as TokenResponse,$e as TransactionCategory,Wn as TransactionCategorySummaryResponse,ft as TransactionConfirmation,St as TransactionData,Vn as TransactionDetailsByDayResponse,qn as TransactionDetailsResponse,pt as TransactionFee,Ct as TransactionIconType,Kn as TransactionMonthSummaryResponse,xn as TransactionPeriodSummaryResponse,Pt as TransactionPin,yt as TransactionStatus,gt as TransactionType,Xn as VantagePay,Qn as VerifyCardRequest,De as WalletDestination,Be as WalletDestinationResult,vt as WalletSource,mt as WalletSourceResult,Tt as Webhook};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|