{"version":3,"sources":["webpack:///./src/views/PublicSite/ClaimCreation/selectionUserType.vue?20c9","webpack:///src/views/PublicSite/ClaimCreation/selectionUserType.vue","webpack:///./src/views/PublicSite/ClaimCreation/selectionUserType.vue?44be","webpack:///./src/views/PublicSite/ClaimCreation/selectionUserType.vue?fcbd","webpack:///./src/services/claims.js","webpack:///./src/services/accounts.js","webpack:///./src/mixins/currentClaimInCreation.js","webpack:///./src/views/PublicSite/ClaimCreation/selectionUserType.vue?ef1f"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","_v","staticStyle","attrs","nativeOn","$event","enter","allConstants","security","userTypes","person","business","staticRenderFns","component","apiClaims","axios","create","baseURL","Vue","prototype","$Settings","all","coreApi","url","withCredentials","headers","Accept","jwt","excecutionMode","apiEvents","axiosRetry","retries","shouldResetTimeout","retryDelay","retryCount","interceptors","request","use","configuration","currentUserAccount","$Authentication","getAccount","sessionId","getSessionId","CurrentUserToken","token","response","error","status","store","dispatch","Promise","reject","claimData","claimCreatorId","claimCreatorRolId","post","CurrentUserId","CurrentUserRoleId","getByIdentification","identification","get","getById","id","getByWfStatus","wfStatusCode","pageNumber","pageSize","expectedPageNumber","expectedPageSize","getByWfStatuses","wfStatuses","channel","filter","expectedChannel","join","currentfilters","JSON","stringify","getByWfStatusesV2","wfStateType","getByMacroStatus","macroStatusCode","order","currentorder","getCurrentWfStatus","changeWfStatusFromAction","currentStatus","actionCode","data","changeWfStatusFromActionPersonalized","addDocuments","claimId","changeDocumentStatus","documentId","state","changeDocumentInformation","getResumeByWfStatus","getResumeByMacroStatus","apiAccounts","accountsApi","config","checkIsValidPasswordPattern","password","number","identificationNumber","btoa","exists","getByUserTypeAndIdentification","userType","getByRole","roleId","accountData","update","put","forceChangePassword","passwordData","sendOtp","verifyOtp","verifyOtpData","mixins","allConstantsMixin","computed","currentClaimInCreation","$store","getters","methods","startCurrentClaimInCreation","isRegisteredUser","fromPublicSite","initialStep","claims","creationSteps","previousStep","collectInstitutionData","collectBasicData","currentClaimInCreationCreateOrUpdate","registeredUser","currentStep","claim","currentClaimInCreationClear","currentClaimInCreationGoForeward","actualClaimInCreation","currentClaimInCreationGoBackward","createRealClaim","claimantIdentificationNumber","claimantName","currentUserIsAuthenticated","roles","role","userRolesCodes","claimant","length","chanelCodes","claimantApp","userName","visiblename","ddcExecutive","ddcDefender","ddcApp","collectedBasicData","name","surname","bankAdministrator","bankExecutive","bankApp","accountId","rut","bank","code","collectedInstitutionData","branch","region","province","commune","executiveName","executiveEmail","executivePhone","toString","detail","productCodes","collectedProductData","products","currencyType","currency","amount","reason","collectedRequestData","eventDescription","documents","collectedDocumentsData","map","document","blobId","typeName","fileName","realName","contentType","blobContentType","contentLenght","blobSize","claimsService","createAccount","email","phone","cellphone","address","collectedAddressData","city","streetAddress","street","apartment","building","includeCredentialCreation","passwordForCredential","secret","accountsService","updateAccount"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACJ,EAAIM,GAAG,GAAGF,EAAG,UAAU,CAACG,YAAY,oDAAoD,CAACH,EAAG,KAAK,CAACG,YAAY,8CAA8C,CAACP,EAAIQ,GAAG,yBAAyBJ,EAAG,KAAK,CAACG,YAAY,UAAUE,YAAY,CAAC,OAAS,YAAY,MAAQ,UAAUL,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAACH,EAAG,MAAM,CAACG,YAAY,yCAAyC,CAACH,EAAG,cAAc,CAACG,YAAY,uDAAuDG,MAAM,CAAC,GAAK,KAAKC,SAAS,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,MAAMb,EAAIc,aAAaC,SAASC,UAAUC,WAAW,CAACb,EAAG,MAAM,CAACM,MAAM,CAAC,IAAM,mCAAmCV,EAAIQ,GAAG,uBAAuB,GAAGJ,EAAG,MAAM,CAACG,YAAY,yCAAyC,CAACH,EAAG,cAAc,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zN,KAAKiI,uBAAuBoF,qBAAqBI,UAC5DC,SAAU1N,KAAKiI,uBAAuBoF,qBAAqBK,UAE/D5C,KAAM,CACFC,KAAM,KAEV1D,OAAQrH,KAAKa,aAAaC,SAAS8I,eAAeC,SAClD8D,2BAA2B,EAC3BC,sBAAuB5N,KAAKiI,uBAAuBqC,mBAAmBuD,OACtE1G,SAAUnH,KAAKiI,uBAAuBd,UAG1C,OAAO2G,OAAgBxM,OAAOgG,IAElCyG,cAvJK,WAwJD,IAAMzG,EAAc,CAChBiD,KAAMvK,KAAKiI,uBAAuBqC,mBAAmBC,KACrDC,QAASxK,KAAKiI,uBAAuBqC,mBAAmBE,QACxDyC,MAAOjN,KAAKiI,uBAAuBqC,mBAAmB2C,MACtDC,MAAOlN,KAAKiI,uBAAuBqC,mBAAmB4C,MAAM1B,WAC5D2B,UAAWnN,KAAKiI,uBAAuBqC,mBAAmB6C,UAAU3B,WACpE4B,QAAS,CACLlC,OAAQlL,KAAKiI,uBAAuBoF,qBAAqBnC,OACzDoC,KAAMtN,KAAKiI,uBAAuBoF,qBAAqBlC,SACvDC,QAASpL,KAAKiI,uBAAuBoF,qBAAqBjC,QAC1DmC,cAAevN,KAAKiI,uBAAuBoF,qBAAqBG,OAChEC,UAAWzN,KAAKiI,uBAAuBoF,qBAAqBI,UAC5DC,SAAU1N,KAAKiI,uBAAuBoF,qBAAqBK,WAInE,OAAOI,OAAgBvG,OAAOvH,KAAKiI,uBAAuBqC,mBAAmBM,UAAWtD,O,kCCpLpG","file":"js/chunk-520086c2.ab0ac7ce.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('section',{staticClass:\"container-fluid g-px-100--lg g-px-50--sm g-py-80\"},[_c('h1',{staticClass:\"g-font-weight-500 g-mb-15 font-color-title\"},[_vm._v(\"Ingresar un reclamo\")]),_c('hr',{staticClass:\"g-my-40\",staticStyle:{\"border\":\"1px solid\",\"color\":\"#555\"}}),_c('div',{staticClass:\"row no-gutters g-mx-minus-10\"},[_c('div',{staticClass:\"col-sm-6 col-lg-6 g-px-10 text-center\"},[_c('router-link',{staticClass:\"btn btn-xl u-btn-blue-b u-btn-content g-mr-2 g-mb-15\",attrs:{\"to\":\"#\"},nativeOn:{\"click\":function($event){return _vm.enter(_vm.allConstants.security.userTypes.person)}}},[_c('img',{attrs:{\"src\":\"assets/img/natural-person.svg\"}}),_vm._v(\" Persona Natural\")])],1),_c('div',{staticClass:\"col-sm-6 col-lg-6 g-px-10 text-center\"},[_c('router-link',{staticClass:\"btn btn-xl u-btn-cyan u-btn-content g-mr-2 g-mb-15\",attrs:{\"to\":\"#\"},nativeOn:{\"click\":function($event){return _vm.enter(_vm.allConstants.security.userTypes.business)}}},[_c('img',{attrs:{\"src\":\"assets/img/legal-person.svg \"}}),_vm._v(\" Persona Jurídica\")])],1)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"g-bg-pos-center g-bg-size-cover\",staticStyle:{\"background-image\":\"url(assets/img/fondo-ingreso-wide.jpg)\",\"height\":\"300px\"}},[_c('div',{staticClass:\"container g-color-white text-center g-py-210\"})])}]\n\nexport { render, staticRenderFns }","\r\n \r\n
\r\n\r\n
\r\n Ingresar un reclamo
\r\n
\r\n \r\n
\r\n
Persona Natural\r\n
\r\n
\r\n
Persona Jurídica\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./selectionUserType.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./selectionUserType.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./selectionUserType.vue?vue&type=template&id=71445532&scoped=true&\"\nimport script from \"./selectionUserType.vue?vue&type=script&lang=js&\"\nexport * from \"./selectionUserType.vue?vue&type=script&lang=js&\"\nimport style0 from \"./selectionUserType.vue?vue&type=style&index=0&id=71445532&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71445532\",\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport axios from \"axios\";\r\nimport axiosRetry from \"axios-retry\";\r\nimport store from \"@/store/index\";\r\n\r\nconst apiClaims = axios.create({\r\n baseURL: `${Vue.prototype.$Settings.all.coreApi.url}/claims`,\r\n withCredentials: true, //true para soportar cookies de respuests\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n \"Authorization-Middleware\": `Basic ${Vue.prototype.$Settings.all.jwt}`,\r\n \"Execution-Mode\": `${Vue.prototype.$Settings.all.excecutionMode}`,\r\n },\r\n});\r\n\r\nconst apiEvents = axios.create({\r\n baseURL: `${Vue.prototype.$Settings.all.coreApi.url}/currentevents`,\r\n withCredentials: true, //true para soportar cookies de respuests\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n \"Authorization-Middleware\": `Basic ${Vue.prototype.$Settings.all.jwt}`,\r\n \"Execution-Mode\": `${Vue.prototype.$Settings.all.excecutionMode}`,\r\n },\r\n});\r\n\r\naxiosRetry(apiClaims, {\r\n retries: 3,\r\n shouldResetTimeout: true,\r\n retryDelay: (retryCount) => {\r\n return retryCount * 1000;\r\n },\r\n});\r\n\r\naxiosRetry(apiEvents, {\r\n retries: 3,\r\n shouldResetTimeout: true,\r\n retryDelay: (retryCount) => {\r\n return retryCount * 1000;\r\n },\r\n});\r\n\r\napiClaims.interceptors.request.use((configuration) => {\r\n const currentUserAccount = Vue.prototype.$Authentication.getAccount();\r\n const sessionId = Vue.prototype.$Authentication.getSessionId();\r\n if (currentUserAccount) {\r\n configuration.headers.CurrentUserToken = currentUserAccount.token;\r\n if (sessionId) configuration.headers.sessionId = sessionId;\r\n }\r\n\r\n return configuration;\r\n});\r\n\r\napiEvents.interceptors.request.use((configuration) => {\r\n const currentUserAccount = Vue.prototype.$Authentication.getAccount();\r\n const sessionId = Vue.prototype.$Authentication.getSessionId();\r\n if (currentUserAccount) {\r\n configuration.headers.CurrentUserToken = currentUserAccount.token;\r\n if (sessionId) configuration.headers.sessionId = sessionId;\r\n }\r\n return configuration;\r\n});\r\n\r\napiClaims.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n if (error.response && error.response.status == 500) {\r\n store.dispatch(\r\n \"notifications/addError\",\r\n \"Servicio no disponible. Vuelva a intentar\"\r\n );\r\n }\r\n\r\n if (\r\n (error.response && error.response.status == 401) ||\r\n (error.response && error.response.status == 403)\r\n ) {\r\n store.dispatch(\"currentUser/logout\");\r\n store.dispatch(\"notifications/addInfo\", \"Su sesión ha expirado\");\r\n store.dispatch(\"notifications/setMiddleware\");\r\n }\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\napiEvents.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n if (error.response && error.response.status == 500) {\r\n store.dispatch(\r\n \"notifications/addError\",\r\n \"Servicio no disponible. Vuelva a intentar\"\r\n );\r\n }\r\n\r\n if (\r\n (error.response && error.response.status == 401) ||\r\n (error.response && error.response.status == 403)\r\n ) {\r\n store.dispatch(\"currentUser/logout\");\r\n store.dispatch(\"notifications/addInfo\", \"Su sesión ha expirado\");\r\n store.dispatch(\"notifications/setMiddleware\");\r\n }\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\nexport default {\r\n create(claimData, claimCreatorId, claimCreatorRolId) {\r\n const currentUserAccount = Vue.prototype.$Authentication.getAccount();\r\n\r\n if (currentUserAccount) {\r\n return apiClaims.post(\"/\", claimData); //el interceptor de axios agrega el encabezado para este caso\r\n } else {\r\n const headers = {\r\n CurrentUserId: claimCreatorId,\r\n CurrentUserRoleId: claimCreatorRolId,\r\n };\r\n return apiClaims.post(\"/\", claimData, { headers: headers });\r\n }\r\n },\r\n getByIdentification(identification) {\r\n return apiClaims.get(`/ByRut/${identification}`);\r\n },\r\n getById(id) {\r\n return apiClaims.get(`/${id}`);\r\n },\r\n getByWfStatus(wfStatusCode, pageNumber, pageSize) {\r\n const expectedPageNumber = pageNumber ? pageNumber : 1;\r\n const expectedPageSize = pageSize ? pageSize : 10;\r\n\r\n return apiEvents.get(\r\n `/bystate/${wfStatusCode}?currentPage=${expectedPageNumber}&pageSize=${expectedPageSize}`\r\n );\r\n },\r\n getByWfStatuses(wfStatuses, pageNumber, pageSize, channel, filter) {\r\n const expectedPageNumber = pageNumber ? pageNumber : 1;\r\n const expectedPageSize = pageSize ? pageSize : 10;\r\n const expectedChannel = channel ?? \"\";\r\n\r\n return apiEvents.get(\r\n `/bystate/${wfStatuses.join(\r\n \",\"\r\n )}?currentPage=${expectedPageNumber}&pageSize=${expectedPageSize}&channel=${expectedChannel}`,\r\n {\r\n headers: {\r\n currentfilters: JSON.stringify(filter),\r\n },\r\n }\r\n );\r\n },\r\n getByWfStatusesV2(wfStateType, pageNumber, pageSize, channel, filter) {\r\n const expectedPageNumber = pageNumber ? pageNumber : 1;\r\n const expectedPageSize = pageSize ? pageSize : 10;\r\n const expectedChannel = channel ?? \"\";\r\n\r\n return apiEvents.get(\r\n `/bystate/v2/${wfStateType}?currentPage=${expectedPageNumber}&pageSize=${expectedPageSize}&channel=${expectedChannel}`,\r\n {\r\n headers: {\r\n currentfilters: JSON.stringify(filter),\r\n },\r\n }\r\n );\r\n },\r\n getByMacroStatus(macroStatusCode, pageNumber, pageSize, filter, order) {\r\n const expectedPageNumber = pageNumber ? pageNumber : 1;\r\n const expectedPageSize = pageSize ? pageSize : 10;\r\n\r\n return apiClaims.get(\r\n `/bystates/${macroStatusCode}?currentPage=${expectedPageNumber}&pageSize=${expectedPageSize}`,\r\n {\r\n headers: {\r\n currentfilters: JSON.stringify(filter),\r\n currentorder: JSON.stringify(order),\r\n },\r\n }\r\n );\r\n },\r\n getCurrentWfStatus(id) {\r\n return apiClaims.get(`/${id}/currentEvent`);\r\n },\r\n changeWfStatusFromAction(id, currentStatus, actionCode, data) {\r\n return apiClaims.post(\r\n `/${id}/actionStates/${currentStatus}/${actionCode}`,\r\n data\r\n );\r\n },\r\n changeWfStatusFromActionPersonalized(id, currentStatus, actionCode, data) {\r\n return apiClaims.post(\r\n `/${id}/ActionPersonalized/${currentStatus}/${actionCode}`,\r\n data\r\n );\r\n },\r\n addDocuments(claimId, data) {\r\n return apiClaims.post(`/${claimId}/documents`, data);\r\n },\r\n changeDocumentStatus(claimId, documentId, state, data) {\r\n return apiClaims.post(`/${claimId}/documents/${documentId}/${state}`, data);\r\n },\r\n changeDocumentInformation(claimId, documentId, data) {\r\n return apiClaims.post(`/${claimId}/documents/${documentId}`, data);\r\n },\r\n getResumeByWfStatus() {\r\n return apiEvents.get(\"/resume\");\r\n },\r\n getResumeByMacroStatus() {\r\n return apiClaims.get(\"/resume\");\r\n },\r\n};\r\n","import Vue from \"vue\";\r\nimport axios from \"axios\";\r\nimport axiosRetry from \"axios-retry\";\r\nimport store from \"@/store/index\";\r\n\r\nconst apiAccounts = axios.create({\r\n baseURL: `${Vue.prototype.$Settings.all.accountsApi.url}/useraccounts`,\r\n withCredentials: true, //true para soportar cookies de respuests\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n \"Authorization-Middleware\": `Basic ${Vue.prototype.$Settings.all.jwt}`,\r\n \"Execution-Mode\": `${Vue.prototype.$Settings.all.excecutionMode}`,\r\n },\r\n});\r\n\r\naxiosRetry(apiAccounts, {\r\n retries: 3,\r\n shouldResetTimeout: true,\r\n retryDelay: (retryCount) => {\r\n return retryCount * 1000;\r\n },\r\n});\r\n\r\napiAccounts.interceptors.request.use((configuration) => {\r\n const currentUserAccount = Vue.prototype.$Authentication.getAccount();\r\n if (currentUserAccount) {\r\n configuration.headers.CurrentUserToken = currentUserAccount.token;\r\n }\r\n return configuration;\r\n});\r\n\r\napiAccounts.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n\r\n if (error.response && error.response.status == 500) {\r\n if (error.response.config.url!=\"/sendOtp\")\r\n store.dispatch(\r\n \"notifications/addError\",\r\n \"Servicio no disponible. Vuelva a intentar\"\r\n );\r\n }\r\n\r\n if (\r\n (error.response && error.response.status == 401) ||\r\n (error.response && error.response.status == 403)\r\n ) {\r\n store.dispatch(\"currentUser/logout\");\r\n\r\n store.dispatch(\"notifications/addInfo\", \"Su sesión ha expirado\");\r\n store.dispatch(\"notifications/setMiddleware\");\r\n }\r\n\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\nexport default {\r\n checkIsValidPasswordPattern(password) {\r\n return apiAccounts.post(\"/CheckIsValidPasswordPattern\", {\r\n password: password,\r\n });\r\n },\r\n getByIdentification(number) {\r\n return apiAccounts.post(\"/Information\", {\r\n identificationNumber: btoa(number),\r\n });\r\n },\r\n exists(number) {\r\n return apiAccounts.get(`/Exists/${number}`);\r\n },\r\n getByUserTypeAndIdentification(userType, number) {\r\n return apiAccounts.get(\r\n `/ByUserTypeAndIdentification/${userType}/${number}`\r\n );\r\n },\r\n getById(id) {\r\n return apiAccounts.get(`/ById/${id}`);\r\n },\r\n getByRole(roleId) {\r\n return apiAccounts.get(`/ByRole/${roleId}`);\r\n },\r\n create(accountData) {\r\n return apiAccounts.post(\"/\", accountData);\r\n },\r\n update(id, accountData) {\r\n return apiAccounts.put(`/${id}`, accountData);\r\n },\r\n forceChangePassword(passwordData) {\r\n return apiAccounts.post(\"/ForceChangePassword\", passwordData);\r\n },\r\n sendOtp(number) {\r\n return apiAccounts.post(`/sendOtp`, {\r\n identificationNumber: number,\r\n });\r\n },\r\n verifyOtp(verifyOtpData) {\r\n return apiAccounts.post(\"/verifyOtp\", verifyOtpData);\r\n },\r\n};\r\n","import claimsService from \"@/services/claims\"; \r\nimport accountsService from \"@/services/accounts\"; \r\n\r\nimport allConstantsMixin from \"@/mixins/allConstants\";\r\n\r\nexport default {\r\n mixins: [allConstantsMixin],\r\n computed: {\r\n currentClaimInCreation() {\r\n return this.$store.getters[\"currentClaimInCreation/currentClaim\"];\r\n },\r\n },\r\n methods: {\r\n startCurrentClaimInCreation(isRegisteredUser, fromPublicSite) {\r\n let initialStep = this.allConstants.claims.creationSteps.previousStep;\r\n if (fromPublicSite) {\r\n initialStep = isRegisteredUser ? this.allConstants.claims.creationSteps.collectInstitutionData : this.allConstants.claims.creationSteps.collectBasicData;\r\n }\r\n\r\n return this.currentClaimInCreationCreateOrUpdate({\r\n registeredUser: isRegisteredUser,\r\n fromPublicSite: fromPublicSite,\r\n currentStep: initialStep\r\n });\r\n },\r\n currentClaimInCreationCreateOrUpdate(claim) {\r\n return this.$store.dispatch(\"currentClaimInCreation/createOrUpdate\", claim);\r\n },\r\n currentClaimInCreationClear() {\r\n return this.$store.dispatch(\"currentClaimInCreation/clear\");\r\n },\r\n currentClaimInCreationGoForeward() {\r\n const actualClaimInCreation = this.currentClaimInCreation;\r\n actualClaimInCreation.currentStep++;\r\n return this.currentClaimInCreationCreateOrUpdate(actualClaimInCreation);\r\n },\r\n currentClaimInCreationGoBackward() {\r\n const actualClaimInCreation = this.currentClaimInCreation;\r\n actualClaimInCreation.currentStep--;\r\n return this.currentClaimInCreationCreateOrUpdate(actualClaimInCreation);\r\n },\r\n createRealClaim() {\r\n let channel;\r\n \r\n let claimantIdentificationNumber;\r\n let claimantName;\r\n\r\n let claimCreatorId;\r\n let claimCreatorRolId;\r\n \r\n const currentUserAccount = this.$Authentication.getAccount();\r\n const currentUserIsAuthenticated = currentUserAccount ? true : false;\r\n\r\n if (!currentUserIsAuthenticated) {\r\n //Aquí se sabe que el reclamo esta siendo creado por un usuario anonimo auto-regitrado en el paso 2, desde el sitio publico\r\n\r\n channel = this.allConstants.claims.chanelCodes.claimantApp; //front\r\n claimantIdentificationNumber = this.currentClaimInCreation.collectedBasicData.identificationNumber;\r\n claimantName = `${this.currentClaimInCreation.collectedBasicData.name} ${this.currentClaimInCreation.collectedBasicData.surname}`;\r\n\r\n claimCreatorId = this.currentClaimInCreation.collectedBasicData.accountId;\r\n claimCreatorRolId = this.allConstants.security.userRolesCodes.claimant;\r\n\r\n }\r\n else {\r\n //Aquí se sabe que el reclamo esta siendo creado por un usuario identificado (no-animo)\r\n //Puede ser un cliente reclamente autenticado o un usuario del WF\r\n\r\n if (currentUserAccount.roles.filter(role => role == this.allConstants.security.userRolesCodes.claimant).length > 0) {\r\n channel = this.allConstants.claims.chanelCodes.claimantApp; //front\r\n claimantIdentificationNumber = currentUserAccount.userName;\r\n claimantName = currentUserAccount.visiblename;\r\n \r\n claimCreatorId = currentUserAccount.id;\r\n claimCreatorRolId = this.allConstants.security.userRolesCodes.claimant;\r\n }\r\n\r\n if (currentUserAccount.roles.filter(role => \r\n role == this.allConstants.security.userRolesCodes.ddcExecutive ||\r\n role == this.allConstants.security.userRolesCodes.ddcDefender).length > 0) {\r\n\r\n channel = this.allConstants.claims.chanelCodes.ddcApp; //wf-ddc\r\n claimantIdentificationNumber = this.currentClaimInCreation.collectedBasicData.identificationNumber;\r\n claimantName = `${this.currentClaimInCreation.collectedBasicData.name} ${this.currentClaimInCreation.collectedBasicData.surname}`;\r\n\r\n claimCreatorId = currentUserAccount.id;\r\n claimCreatorRolId = currentUserAccount.roles[0];\r\n }\r\n\r\n if (currentUserAccount.roles.filter(role => \r\n role == this.allConstants.security.userRolesCodes.bankAdministrator ||\r\n role == this.allConstants.security.userRolesCodes.bankExecutive).length > 0) {\r\n\r\n channel = this.allConstants.claims.chanelCodes.bankApp; //wf-banco\r\n claimantIdentificationNumber = this.currentClaimInCreation.collectedBasicData.identificationNumber;\r\n claimantName = `${this.currentClaimInCreation.collectedBasicData.name} ${this.currentClaimInCreation.collectedBasicData.surname}`;\r\n\r\n claimCreatorId = currentUserAccount.id;\r\n claimCreatorRolId = currentUserAccount.roles[0];\r\n }\r\n }\r\n \r\n const claimData = {\r\n rut: claimantIdentificationNumber,\r\n name: claimantName,\r\n channel: channel,\r\n bank: {\r\n code: this.currentClaimInCreation.collectedInstitutionData.bank,\r\n branch: this.currentClaimInCreation.collectedInstitutionData.branch,\r\n region: this.currentClaimInCreation.collectedInstitutionData.region,\r\n province: this.currentClaimInCreation.collectedInstitutionData.province,\r\n commune: this.currentClaimInCreation.collectedInstitutionData.commune,\r\n executiveName: this.currentClaimInCreation.collectedInstitutionData.executiveName,\r\n executiveEmail: this.currentClaimInCreation.collectedInstitutionData.executiveEmail,\r\n executivePhone: this.currentClaimInCreation.collectedInstitutionData.executivePhone.toString(),\r\n },\r\n detail: {\r\n productCodes: this.currentClaimInCreation.collectedProductData.products,\r\n currencyType: this.currentClaimInCreation.collectedProductData.currency,\r\n amount: this.currentClaimInCreation.collectedProductData.amount.toString(),\r\n reason: this.currentClaimInCreation.collectedRequestData.eventDescription,\r\n request: this.currentClaimInCreation.collectedRequestData.request,\r\n },\r\n documents: this.currentClaimInCreation.collectedDocumentsData.map(document => {\r\n return {\r\n blobId: document.blobId,\r\n name: document.typeName,\r\n fileName: document.realName,\r\n contentType: document.blobContentType,\r\n contentLenght: document.blobSize.toString(),\r\n }\r\n })\r\n };\r\n\r\n return claimsService.create(claimData, claimCreatorId, claimCreatorRolId);\r\n },\r\n createAccount() {\r\n const accountData = {\r\n identificationNumber: this.currentClaimInCreation.collectedBasicData.identificationNumber,\r\n name: this.currentClaimInCreation.collectedBasicData.name,\r\n surname: this.currentClaimInCreation.collectedBasicData.surname,\r\n email: this.currentClaimInCreation.collectedBasicData.email,\r\n phone: this.currentClaimInCreation.collectedBasicData.phone.toString(),\r\n cellphone: this.currentClaimInCreation.collectedBasicData.cellphone.toString(),\r\n address: {\r\n region: this.currentClaimInCreation.collectedAddressData.region,\r\n city: this.currentClaimInCreation.collectedAddressData.province,\r\n commune: this.currentClaimInCreation.collectedAddressData.commune,\r\n streetAddress: this.currentClaimInCreation.collectedAddressData.street,\r\n apartment: this.currentClaimInCreation.collectedAddressData.apartment,\r\n building: this.currentClaimInCreation.collectedAddressData.building\r\n },\r\n bank: {\r\n code: \"0\"\r\n },\r\n roleId: this.allConstants.security.userRolesCodes.claimant,\r\n includeCredentialCreation: true,\r\n passwordForCredential: this.currentClaimInCreation.collectedBasicData.secret,\r\n userType: this.currentClaimInCreation.userType\r\n };\r\n\r\n return accountsService.create(accountData);\r\n },\r\n updateAccount() {\r\n const accountData = {\r\n name: this.currentClaimInCreation.collectedBasicData.name,\r\n surname: this.currentClaimInCreation.collectedBasicData.surname,\r\n email: this.currentClaimInCreation.collectedBasicData.email,\r\n phone: this.currentClaimInCreation.collectedBasicData.phone.toString(),\r\n cellphone: this.currentClaimInCreation.collectedBasicData.cellphone.toString(),\r\n address: {\r\n region: this.currentClaimInCreation.collectedAddressData.region,\r\n city: this.currentClaimInCreation.collectedAddressData.province,\r\n commune: this.currentClaimInCreation.collectedAddressData.commune,\r\n streetAddress: this.currentClaimInCreation.collectedAddressData.street,\r\n apartment: this.currentClaimInCreation.collectedAddressData.apartment,\r\n building: this.currentClaimInCreation.collectedAddressData.building\r\n }\r\n };\r\n\r\n return accountsService.update(this.currentClaimInCreation.collectedBasicData.accountId, accountData);\r\n },\r\n }\r\n};","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./selectionUserType.vue?vue&type=style&index=0&id=71445532&lang=scss&scoped=true&\""],"sourceRoot":""}