{"version":3,"sources":["webpack:///./src/services/business.http.js","webpack:///./node_modules/quasar/src/components/form/QForm.js","webpack:///./src/services/teams.http.js","webpack:///./src/components/base/Modal/Modal.vue","webpack:///./src/components/base/Modal/Modal.vue?cba0","webpack:///./src/components/base/AppInput/Input.vue","webpack:///./node_modules/quasar/src/components/popup-proxy/QPopupProxy.js","webpack:///./src/components/base/AppInput/Input.vue?1d4f","webpack:///./node_modules/quasar/src/components/toolbar/QToolbar.js","webpack:///./src/components/base/OTPInput/index.vue?ec92","webpack:///./src/components/base/OTPInput/index.vue","webpack:///./src/components/base/OTPInput/index.vue?a016","webpack:///./src/components/reusables/ErrorDisplay.vue?37fc","webpack:///./src/components/reusables/ErrorDisplay.vue","webpack:///./src/components/reusables/ErrorDisplay.vue?7ff9","webpack:///./src/services/compliance.http.js"],"names":["Business","constructor","api","this","http","walletReservedAccount","get","getUserBusinesses","email","params","verifyBvn","payload","post","confirmBvnOtp","otp","fetchBusinessDetails","toggleSelfDelivery","patch","fetchShippingAddresses","page","limit","deleteShippingAddress","addressId","delete","deactivateShippingAddress","createShippingAddress","updateShippingAddress","put","updateBusinessUserEmail","oldEmail","newEmail","updateBusinessUserPhone","oldPhoneNumber","newPhoneNumber","defineComponent","name","props","autofocus","Boolean","noErrorFocus","noResetFocus","greedy","onSubmit","Function","emits","setup","slots","emit","vm","getCurrentInstance","rootRef","ref","validateIndex","registeredComponents","validate","shouldFocus","promises","focus","emitEvent","res","i","length","comp","valid","then","push","error","Promise","resolve","index","all","errors","filter","r","resetValidation","forEach","submit","evt","stopAndPrevent","val","target","reset","nextTick","addFocusFn","value","querySelector","Array","prototype","find","call","querySelectorAll","el","tabIndex","provide","formKey","bindComponent","vmProxy","unbindComponent","indexOf","splice","onMounted","Object","assign","proxy","getValidationComponents","h","class","onReset","hSlot","default","eams","api2","http2","defaults","headers","common","localStorage","getItem","fetchPermissions","businessId","fetchRoles","fetchRole","roleId","storeRole","updateRole","deleteRole","data","fetchTeamMembers","fetchTeamMember","memberId","storeTeamMember","updateTeamMember","deleteMember","$props","show","_createBlock","_component_q_dialog","model-value","onHide","_cache","$event","_ctx","$emit","persistent","_createVNode","_component_q_card","_normalizeClass","cardClass","style","_normalizeStyle","width","height","toolbar","_component_q_toolbar","id","headerStyle","_createElementVNode","_hoisted_1","backButton","_component_q_btn","onClick","icon","unelevated","size","flat","ripple","_hoisted_2","_toDisplayString","title","closeBtnClass","round","dense","$options","closePopup","color","backgroundColor","_component_q_separator","separatorClass","_component_q_card_section","contentClasses","_renderSlot","$slots","type","String","defaut","watch","methods","__exports__","render","QDialog","QCard","QToolbar","QBtn","QSeparator","QCardSection","ClosePopup","_createElementBlock","label","_component_q_input","_mergeProps","placeholder","placelabel","outlined","input-class","disable","bg-color","modelValue","$attrs","_createSlots","_","phone","_hoisted_3","_hoisted_4","alt","src","selectedCountry","_hoisted_6","code","_component_q_menu","_Fragment","_renderList","$data","countries","country","_component_q_list","key","_component_q_item","clickable","_hoisted_7","_hoisted_9","prepend","appendAction","verifyCode","password","showPassword","date","_component_q_popup_proxy","cover","transition-show","transition-hide","_component_q_date","_hoisted_10","Number","countryCode","autoSuggest","content","showSomething","computed","inputListeners","$listeners","input","event","item","useAnchorProps","breakpoint","attrs","$q","showing","popupRef","parseInt","canShow","useAnchor","getType","screen","onShow","hide","toggle","def","popupProps","includes","maxHeight","component","QMenu","contextMenu","noParentEvent","separateClosePopup","QInput","QList","QItem","QPopupProxy","QDate","inset","classes","n","form","errorMessage","maxlength","onfocus","readonly","verifyAccount","pointer","clearError","values","toString","replace","clearInput","$refs","active","message","Compliance","creeateBusiness","getCode","verifyOtp","getBusinessCategories","individualBusinessVerification","updateKYC","validateCac","updateProfile","checkUser","updatePhone","phoneNumber","getTheseIndustries","documentBusiness","getBusinessDetails","getCities","getTowns","getSingleCustomer","verifyBvnOtp","confirmMetaMapDocVerification","getAddress","getBVNConsent","uploadNIN","file","body","FormData","append","axios","verifyNIN","resolveNin"],"mappings":"kHAAA,kCAAe,MAAM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MAAMpG,KAChB,yDACAD,GAIJoT,WAAWxM,GACT,OAAOpH,KAAK6G,MAAM1G,IAAI,yBAA0B,CAC9CG,OAAQ,CACN8G,gBAKNyM,cAAcvT,GACZ,OAAON,KAAK6G,MAAM1G,IAAI,kCAAmC,CAAEG,WAG7DwT,UAAUC,GACR,MAAMC,EAAO,IAAIC,SAGjB,OAFAD,EAAKE,OAAO,OAAQH,GACpBC,EAAKE,OAAO,gBAAiB,iBACtBC,IAAM1T,KACX,0DACAuT,GAIJI,UAAU5T,GACR,OAAOR,KAAK6G,MAAMpG,KAAK,0BAA2BD,GAGpD6T,WAAW7T,GACT,OAAOR,KAAK6G,MAAMpG,KAAK,2BAA4BD","file":"js/chunk-5aaa8e98.38cbd3ee.js","sourcesContent":["export default class Business {\n /**\n * @constructor\n */\n constructor(api) {\n this.http = api;\n }\n\n walletReservedAccount() {\n return this.http.get(\"/v1/business/reserved-account-details\");\n }\n getUserBusinesses(email) {\n return this.http.get(\"/v1/business/business-user/businesses\", {\n params: {\n email,\n },\n });\n }\n\n verifyBvn(payload) {\n return this.http.post(\"/v1/business/verify/bvn\", payload);\n }\n\n confirmBvnOtp(otp) {\n return this.http.post(\"/v1/business/verify/bvn/otp\", { otp });\n }\n\n fetchBusinessDetails() {\n return this.http.get(\"/v1/business/details\");\n }\n\n toggleSelfDelivery() {\n return this.http.patch(\"v1/business/settings/toggle-self-delivery\");\n }\n\n fetchShippingAddresses(page = 1, limit = 5) {\n return this.http.get(\n `v1/business/shipping-addresses?page=${page}&limit=${limit}`\n );\n }\n\n deleteShippingAddress(addressId) {\n return this.http.delete(`v1/business/shipping-addresses/${addressId}`);\n }\n\n deactivateShippingAddress(addressId) {\n return this.http.post(\n `v1/business/shipping-addresses/${addressId}/toggle-state`\n );\n }\n\n createShippingAddress(payload) {\n return this.http.post(\"/v1/business/shipping-addresses\", payload);\n }\n\n updateShippingAddress(addressId, payload) {\n return this.http.put(\n `/v1/business/shipping-addresses/${addressId}`,\n payload\n );\n }\n\n updateBusinessUserEmail({ oldEmail, newEmail }) {\n return this.http.put(\"/v1/business/business-email/update\", {\n oldEmail,\n newEmail,\n });\n }\n\n updateBusinessUserPhone({ oldPhoneNumber, newPhoneNumber }) {\n return this.http.put(\"/v1/business/business-phone/update\", {\n oldPhoneNumber,\n newPhoneNumber,\n });\n }\n}\n","import { h, defineComponent, ref, onMounted, getCurrentInstance, nextTick, provide } from 'vue'\n\nimport { stopAndPrevent } from '../../utils/event.js'\nimport { addFocusFn } from '../../utils/private/focus-manager.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { formKey } from '../../utils/private/symbols.js'\n\nexport default defineComponent({\n name: 'QForm',\n\n props: {\n autofocus: Boolean,\n noErrorFocus: Boolean,\n noResetFocus: Boolean,\n greedy: Boolean,\n\n onSubmit: Function\n },\n\n emits: [ 'reset', 'validation-success', 'validation-error' ],\n\n setup (props, { slots, emit }) {\n const vm = getCurrentInstance()\n const rootRef = ref(null)\n\n let validateIndex = 0\n const registeredComponents = []\n\n function validate (shouldFocus) {\n const promises = []\n const focus = typeof shouldFocus === 'boolean'\n ? shouldFocus\n : props.noErrorFocus !== true\n\n validateIndex++\n\n const emitEvent = (res, ref) => {\n emit('validation-' + (res === true ? 'success' : 'error'), ref)\n }\n\n for (let i = 0; i < registeredComponents.length; i++) {\n const comp = registeredComponents[ i ]\n const valid = comp.validate()\n\n if (typeof valid.then === 'function') {\n promises.push(\n valid.then(\n valid => ({ valid, comp }),\n error => ({ valid: false, comp, error })\n )\n )\n }\n else if (valid !== true) {\n if (props.greedy === false) {\n emitEvent(false, comp)\n\n if (focus === true && typeof comp.focus === 'function') {\n comp.focus()\n }\n\n return Promise.resolve(false)\n }\n\n promises.push({ valid: false, comp })\n }\n }\n\n if (promises.length === 0) {\n emitEvent(true)\n return Promise.resolve(true)\n }\n\n const index = validateIndex\n\n return Promise.all(promises).then(\n res => {\n if (index === validateIndex) {\n const errors = res.filter(r => r.valid !== true)\n\n if (errors.length === 0) {\n emitEvent(true)\n return true\n }\n\n const { valid, comp } = errors[ 0 ]\n\n emitEvent(false, comp)\n\n if (\n focus === true\n && valid !== true\n && typeof comp.focus === 'function'\n ) {\n comp.focus()\n }\n\n return false\n }\n }\n )\n }\n\n function resetValidation () {\n validateIndex++\n\n registeredComponents.forEach(comp => {\n typeof comp.resetValidation === 'function' && comp.resetValidation()\n })\n }\n\n function submit (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n validate().then(val => {\n if (val === true) {\n if (props.onSubmit !== void 0) {\n emit('submit', evt)\n }\n else if (evt !== void 0 && evt.target !== void 0 && typeof evt.target.submit === 'function') {\n evt.target.submit()\n }\n }\n })\n }\n\n function reset (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n emit('reset')\n\n nextTick(() => { // allow userland to reset values before\n resetValidation()\n if (props.autofocus === true && props.noResetFocus !== true) {\n focus()\n }\n })\n }\n\n function focus () {\n addFocusFn(() => {\n if (rootRef.value === null) { return }\n\n const target = rootRef.value.querySelector('[autofocus], [data-autofocus]')\n || Array.prototype.find.call(rootRef.value.querySelectorAll('[tabindex]'), el => el.tabIndex > -1)\n\n target !== null && target !== void 0 && target.focus()\n })\n }\n\n provide(formKey, {\n bindComponent (vmProxy) {\n registeredComponents.push(vmProxy)\n },\n\n unbindComponent (vmProxy) {\n const index = registeredComponents.indexOf(vmProxy)\n if (index > -1) {\n registeredComponents.splice(index, 1)\n }\n }\n })\n\n onMounted(() => {\n props.autofocus === true && focus()\n })\n\n // expose public methods\n Object.assign(vm.proxy, {\n validate,\n resetValidation,\n submit,\n reset,\n focus,\n getValidationComponents: () => registeredComponents\n })\n\n return () => h('form', {\n class: 'q-form',\n ref: rootRef,\n onSubmit: submit,\n onReset: reset\n }, hSlot(slots.default))\n }\n})\n","export default class eams {\n /**\n * @constructor\n */\n constructor(api, api2) {\n this.http = api;\n this.http2 = api2\n\n this.http.defaults.headers.common[\"Authorization\"] = localStorage.getItem('token');\n this.http2.defaults.headers.common[\"Authorization\"] = localStorage.getItem('token');\n }\n\n fetchPermissions(businessId) {\n return this.http2.get(`/v1/business/teams/permissions?businessId=${businessId}`);\n }\n \n fetchRoles(businessId) {\n return this.http2.get(`/v1/business/teams/roles?businessId=${businessId}`);\n }\n \n fetchRole(businessId, roleId) {\n return this.http2.get(`/v1/business/teams/roles/${roleId}?businessId=${businessId}`);\n }\n \n storeRole(payload) {\n return this.http2.post(`/v1/business/teams/roles`, payload);\n }\n\n updateRole(roleId, payload) {\n return this.http2.put(`/v1/business/teams/roles/${roleId}`, payload);\n }\n\n deleteRole(roleId, payload) {\n return this.http2.delete(`/v1/business/teams/roles/${roleId}`, { data : payload});\n }\n\n\n fetchTeamMembers(params) {\n return this.http2.get(`/v1/business/teams/members`, {\n params\n });\n }\n \n fetchTeamMember(businessId, memberId) {\n return this.http2.get(`/v1/business/teams/members/${memberId}?businessId=${businessId}`);\n }\n\n storeTeamMember(payload) {\n return this.http2.post(`/v1/business/teams/members`, payload);\n }\n\n updateTeamMember(memberId, payload) {\n return this.http2.put(`/v1/business/teams/members/${memberId}`, payload);\n }\n\n deleteMember(memberId, payload) {\n return this.http2.delete(`/v1/business/teams/members/${memberId}`, { data: payload });\n }\n\n}\n","\n\n\n","import { render } from \"./Modal.vue?vue&type=template&id=7a52a545\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QToolbar from 'quasar/src/components/toolbar/QToolbar.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QToolbar,QBtn,QSeparator,QCardSection});qInstall(script, 'directives', {ClosePopup});\n","\n\n\n","import { h, defineComponent, ref, computed, watch, getCurrentInstance } from 'vue'\n\nimport QDialog from '../dialog/QDialog.js'\nimport QMenu from '../menu/QMenu.js'\n\nimport useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js'\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default defineComponent({\n name: 'QPopupProxy',\n\n props: {\n ...useAnchorProps,\n\n breakpoint: {\n type: [ String, Number ],\n default: 450\n }\n },\n\n emits: [ 'show', 'hide' ],\n\n setup (props, { slots, emit, attrs }) {\n const { proxy } = getCurrentInstance()\n const { $q } = proxy\n\n const showing = ref(false)\n const popupRef = ref(null)\n const breakpoint = computed(() => parseInt(props.breakpoint, 10))\n\n const { canShow } = useAnchor({ showing })\n\n function getType () {\n return $q.screen.width < breakpoint.value || $q.screen.height < breakpoint.value\n ? 'dialog'\n : 'menu'\n }\n\n const type = ref(getType())\n\n watch(() => getType(), val => {\n if (showing.value !== true) {\n type.value = val\n }\n })\n\n // expose public methods\n Object.assign(proxy, {\n show (evt) { canShow(evt) === true && popupRef.value.show(evt) },\n hide (evt) { popupRef.value.hide(evt) },\n toggle (evt) { popupRef.value.toggle(evt) }\n })\n\n function onShow (evt) {\n showing.value = true\n emit('show', evt)\n }\n\n function onHide (evt) {\n showing.value = false\n type.value = getType()\n emit('hide', evt)\n }\n\n return () => {\n const def = hSlot(slots.default)\n\n const popupProps = (\n type.value === 'menu'\n && def !== void 0\n && def[ 0 ] !== void 0\n && def[ 0 ].type !== void 0\n && [ 'QDate', 'QTime', 'QCarousel', 'QColor' ].includes(\n def[ 0 ].type.name\n )\n ) ? { cover: true, maxHeight: '99vh' } : {}\n\n const data = {\n ref: popupRef,\n ...popupProps,\n ...attrs,\n onShow,\n onHide\n }\n\n let component\n\n if (type.value === 'dialog') {\n component = QDialog\n }\n else {\n component = QMenu\n Object.assign(data, {\n target: props.target,\n contextMenu: props.contextMenu,\n noParentEvent: true,\n separateClosePopup: true\n })\n }\n\n return h(component, data, () => def)\n }\n }\n})\n","import { render } from \"./Input.vue?vue&type=template&id=32e746b9\"\nimport script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QMenu from 'quasar/src/components/menu/QMenu.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QPopupProxy from 'quasar/src/components/popup-proxy/QPopupProxy.js';\nimport QDate from 'quasar/src/components/date/QDate.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QInput,QBtn,QMenu,QList,QItem,QPopupProxy,QDate});qInstall(script, 'directives', {ClosePopup});\n","import { h, defineComponent, computed } from 'vue'\n\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default defineComponent({\n name: 'QToolbar',\n\n props: {\n inset: Boolean\n },\n\n setup (props, { slots }) {\n const classes = computed(() =>\n 'q-toolbar row no-wrap items-center'\n + (props.inset === true ? ' q-toolbar--inset' : '')\n )\n\n return () => h('div', { class: classes.value }, hSlot(slots.default))\n }\n})\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./index.vue?vue&type=style&index=0&id=7d22bbc4&lang=scss&scoped=true\"","\n\n\n\n\n","import { render } from \"./index.vue?vue&type=template&id=7d22bbc4&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./index.vue?vue&type=style&index=0&id=7d22bbc4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7d22bbc4\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./ErrorDisplay.vue?vue&type=style&index=0&id=b23b3fa8&lang=scss\"","\n\n\n\n\n","import { render } from \"./ErrorDisplay.vue?vue&type=template&id=b23b3fa8\"\nimport script from \"./ErrorDisplay.vue?vue&type=script&lang=js\"\nexport * from \"./ErrorDisplay.vue?vue&type=script&lang=js\"\n\nimport \"./ErrorDisplay.vue?vue&type=style&index=0&id=b23b3fa8&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import axios from \"axios\";\n\nexport default class Compliance {\n /**\n * @constructor\n */\n constructor(api, api2) {\n (this.http = api), (this.http2 = api2);\n }\n\n creeateBusiness(payload) {\n return this.http2.post(`/v1/business/sub-business/create`, payload);\n }\n getCode() {\n return this.http2.post(`/v1/business/initiate/phone-otp`);\n }\n\n verifyOtp(payload) {\n return this.http2.post(`/v1/business/verify/phone-otp`, payload);\n }\n\n getBusinessCategories(payload) {\n return this.http2.get(`/v1/business/categories/${payload || \"\"}`);\n }\n\n individualBusinessVerification(payload) {\n return this.http2.post(\n `/v1/business/compliance/verification-data`,\n payload\n );\n }\n updateKYC(payload) {\n return this.http2.post(`/v1/business/compliance/verification`, payload);\n }\n validateCac(payload) {\n return this.http2.post(`/v1/business/resolve-cac`, payload)\n }\n\n updateProfile(payload) {\n return this.http2.post(`/v1/business/compliance/profile`, payload);\n }\n\n checkUser(payload) {\n return this.http2.post(`/v1/user/check-details`, payload);\n }\n\n updatePhone(payload) {\n return this.http2.put(\"/v1/business/business-phone/update\", {\n phoneNumber: payload,\n });\n }\n\n getTheseIndustries() {\n return this.http2.get(`/v1/business/business-industries`);\n }\n\n documentBusiness(payload) {\n return this.http2.post(`/v1/business/compliance/documents`, payload);\n }\n\n getBusinessDetails() {\n return this.http2.get(`/v1/business/details`);\n }\n\n getCities() {\n return this.http2.get(`/v1/cities?stateName=LAGOS`);\n }\n\n getTowns(payload) {\n return this.http2.get(`/v1/towns`, {\n params: payload,\n });\n }\n\n getSingleCustomer(id, payload) {\n return this.http2.get(`/v1/business/customers/${id}`, {\n params: payload,\n });\n }\n\n verifyBvn(payload) {\n return this.http2.post(\"/v1/business/verify/bvn\", payload);\n }\n\n verifyBvnOtp(payload) {\n return this.http2.post(\"/v1/business/verify/bvn/otp\", payload);\n }\n\n confirmMetaMapDocVerification(payload) {\n return this.http2.post(\n \"/v1/business/compliance/documents/verification/metamap\",\n payload\n );\n }\n\n getAddress(businessId) {\n return this.http2.get(\"/v1/business/addresses\", {\n params: {\n businessId,\n },\n });\n }\n\n getBVNConsent(params) {\n return this.http2.get(\"/v1/business/bvn-consent/status\", { params });\n }\n\n uploadNIN(file) {\n const body = new FormData();\n body.append(\"file\", file);\n body.append(\"upload_preset\", \"merchant_docs\");\n return axios.post(\n \"https://api.cloudinary.com/v1_1/ourpass-co/image/upload\",\n body\n );\n }\n\n verifyNIN(payload) {\n return this.http2.post(\"/v1/business/verify/nin\", payload);\n }\n\n resolveNin(payload) {\n return this.http2.post(\"/v1/business/resolve-nin\", payload);\n }\n}\n"],"sourceRoot":""}