{"version":3,"sources":["webpack:///./src/views/Compliance/index.vue","webpack:///./src/components/contents/Compliance/index.vue","webpack:///./src/components/contents/Compliance/index.vue?9c37","webpack:///./src/views/Compliance/index.vue?b5f7","webpack:///./src/components/contents/Compliance/styles/profile.scss?7891","webpack:///./node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js","webpack:///./src/services/compliance.http.js"],"names":["_createElementBlock","_createVNode","_component_Compliance","class","_hoisted_1","$options","showWelcomeNote","_hoisted_2","_toDisplayString","user","firstName","$data","isPageLoading","_hoisted_3","_component_q_spinner","color","size","_createBlock","_component_router_view","key","ROUTE_NAMES","success","edit","individualDocs","corporateDocs","components","data","errorMessage","checkedComplianceStage","methods","this","response","complianceService","getBusinessDetails","$store","commit","err","errMsg","navigateToRoute","routeName","$route","name","$router","push","isComplianceCompleted","business","JSON","parse","localStorage","getItem","complianceDocs","goToCurrentStage","computed","getters","watch","newVal","preparePage","mounted","created","ComplianceService","$api1","$api2","__exports__","QSpinner","Compliance","render","module","exports","component","type","items","targetComponent","__vccOpts","target","i","constructor","api","api2","http","http2","creeateBusiness","payload","post","getCode","verifyOtp","getBusinessCategories","get","individualBusinessVerification","updateKYC","validateCac","updateProfile","checkUser","updatePhone","put","phoneNumber","getTheseIndustries","documentBusiness","getCities","getTowns","params","getSingleCustomer","id","verifyBvn","verifyBvnOtp","confirmMetaMapDocVerification","getAddress","businessId","getBVNConsent","uploadNIN","file","body","FormData","append","axios","verifyNIN","resolveNin"],"mappings":"qPACEA,gCAEM,YADJC,yBAAcC,K,SCDXC,MAAM,a,SACLA,MAAM,c,SAMkBA,MAAM,4B,0JAPpCH,gCAuBQ,MAvBRI,EAuBQ,CAtBuBC,EAAAC,iB,yBAA7BN,gCAEK,KAFLO,EAA8C,wBACxBC,6BAAGH,EAAAI,KAAKC,WAAS,I,uCAK1BC,EAAAC,e,yBAAXZ,gCAEM,MAFNa,EAEM,CADJZ,yBAAwCa,EAAA,CAA7BC,MAAM,UAAUC,KAAK,Y,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D,MAAMO,IAAI,8BAGxBY,SAASjB,GACP,OAAOnD,KAAKiD,MAAMO,IAAI,YAAa,CACjCa,OAAQlB,IAIZmB,kBAAkBC,EAAIpB,GACpB,OAAOnD,KAAKiD,MAAMO,IAAI,0BAA0Be,EAAM,CACpDF,OAAQlB,IAIZqB,UAAUrB,GACR,OAAOnD,KAAKiD,MAAMG,KAAK,0BAA2BD,GAGpDsB,aAAatB,GACX,OAAOnD,KAAKiD,MAAMG,KAAK,8BAA+BD,GAGxDuB,8BAA8BvB,GAC5B,OAAOnD,KAAKiD,MAAMG,KAChB,yDACAD,GAIJwB,WAAWC,GACT,OAAO5E,KAAKiD,MAAMO,IAAI,yBAA0B,CAC9Ca,OAAQ,CACNO,gBAKNC,cAAcR,GACZ,OAAOrE,KAAKiD,MAAMO,IAAI,kCAAmC,CAAEa,WAG7DS,UAAUC,GACR,MAAMC,EAAO,IAAIC,SAGjB,OAFAD,EAAKE,OAAO,OAAQH,GACpBC,EAAKE,OAAO,gBAAiB,iBACtBC,IAAM/B,KACX,0DACA4B,GAIJI,UAAUjC,GACR,OAAOnD,KAAKiD,MAAMG,KAAK,0BAA2BD,GAGpDkC,WAAWlC,GACT,OAAOnD,KAAKiD,MAAMG,KAAK,2BAA4BD","file":"js/chunk-31821048.875919ff.js","sourcesContent":["\n \n \n
\n\n\n\n","\n \n
\n Welcome to OurPass, {{ user.firstName }}\n
\n\n \n\n
\n \n
\n\n \n\n
\n
\n\n\n\n\n\n","import { render } from \"./index.vue?vue&type=template&id=a30387a0&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./styles/profile.scss?vue&type=style&index=0&id=a30387a0&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-a30387a0\"]])\n\nexport default __exports__\nimport QSpinner from 'quasar/src/components/spinner/QSpinner.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QSpinner});\n","import { render } from \"./index.vue?vue&type=template&id=0ce8dc2a\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.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__","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!./profile.scss?vue&type=style&index=0&id=a30387a0&lang=scss&scoped=true\"","/**\n * Quasar runtime for auto-importing\n * components or directives.\n *\n * Warning! This file does NOT get transpiled by Babel\n * but is included into the UI code.\n *\n * @param {component} Vue Component object\n * @param {type} One of 'components' or 'directives'\n * @param {items} Object containing components or directives\n */\nmodule.exports = function qInstall (component, type, items) {\n const targetComponent = component.__vccOpts !== void 0\n ? component.__vccOpts\n : component\n\n const target = targetComponent[type]\n\n if (target === void 0) {\n targetComponent[type] = items\n }\n else {\n for (var i in items) {\n if (target[i] === void 0) {\n target[i] = items[i]\n }\n }\n }\n}\n","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":""}