{"version":3,"sources":["webpack:///./src/pages/invoices/invoices_list/index.vue","webpack:///./src/pages/invoices/invoices_list/PreImportRapportModal.vue","webpack:///src/pages/invoices/invoices_list/PreImportRapportModal.vue","webpack:///./src/pages/invoices/invoices_list/PreImportRapportModal.vue?5db3","webpack:///./src/pages/invoices/invoices_list/PreImportRapportModal.vue?150c","webpack:///./src/pages/invoices/invoices_list/PreImportProcessedInvoicesReportModal.vue","webpack:///src/pages/invoices/invoices_list/PreImportProcessedInvoicesReportModal.vue","webpack:///./src/pages/invoices/invoices_list/PreImportProcessedInvoicesReportModal.vue?274d","webpack:///./src/pages/invoices/invoices_list/PreImportProcessedInvoicesReportModal.vue?ae42","webpack:///src/pages/invoices/invoices_list/index.vue","webpack:///./src/pages/invoices/invoices_list/index.vue?2b34","webpack:///./src/pages/invoices/invoices_list/index.vue?b883","webpack:///./src/pages/invoices/invoices_list/PreImportRapportModal.vue?a170","webpack:///./src/pages/invoices/invoices_list/index.vue?1762","webpack:///./src/components/common/utils/AppConfirmButtons.vue","webpack:///src/components/common/utils/AppConfirmButtons.vue","webpack:///./src/components/common/utils/AppConfirmButtons.vue?3246","webpack:///./src/components/common/utils/AppConfirmButtons.vue?8dd5","webpack:///./src/components/common/modals/AppModal.vue","webpack:///src/components/common/modals/AppModal.vue","webpack:///./src/components/common/modals/AppModal.vue?9185","webpack:///./src/components/common/modals/AppModal.vue?0702","webpack:///./src/api/invoices.api.js","webpack:///./node_modules/core-js/modules/_object-to-array.js","webpack:///./node_modules/core-js/modules/es7.object.values.js","webpack:///./src/components/common/modals/AppConfirmationModal.vue","webpack:///src/components/common/modals/AppConfirmationModal.vue","webpack:///./src/components/common/modals/AppConfirmationModal.vue?2d39","webpack:///./src/components/common/modals/AppConfirmationModal.vue?3832","webpack:///./src/shared/services/date.js","webpack:///./src/api/scopes.api.js"],"names":["render","_vm","this","_c","_self","attrs","$getConst","pages","invoice","invoices","adminRole","$t","scope","scopes","form","select_option","scopesOfConnectedRole","on","changeScope","model","value","callback","$$v","expression","slot","_v","_s","alerts","no_results_found","_e","list_of_invoices","hasPermission","permissions","addInvoice","button","add","icons","allDeleted","onDeleteItems","scopedSlots","_u","key","fn","staticClass","svgIcons","excel","_f","proxy","exportExcel","export","class","importInvoices","openPreImportModal","import","openProcessedInvoicesPreImportModal","rapport_import_processed_invoices","check_circle","tableKey","ref","fields","endPoint","actions","checked","headCheckbox","editInvoice","confirmDelete","showInvoice","onCheckAllIds","onCheckedIds","item","data","formatDate","id","$event","profile","are_you_sure","onCancel","deleteInvoice","staticRenderFns","closeOnBackdrop","rapport_title","isLoading","generatePreImportRapport","upload","file","name","choose_file","isRapportGenerated","rapport_total_invoices","rapport","invoicesCount","rapport_invoices_to_create","invoicesToCreate","rapport_invoices_to_update","invoicesToUpdate","missingColumns","length","rapport_missing_columns","_l","column","reportIsPending","rapport_invoices_is_pending","timesheetsToCreate","directives","rawName","rapport_timesheets_not_found","chevron_down","timesheet","failedResponse","rapport_total_invalid_invoices","Object","keys","errors","row","rapport_row","error","values","uploadPercentage","submitButtonText","submitInvoicesReport","closeModal","components","AppConfirmButtons","AppModal","props","scopeId","computed","methods","uploadExcel","getPreImportRapport","resetRapport","mounted","component","processed_invoices_rapport_title","rapport_total_invoices_to_process","invoicesToProcess","rapport_import_invoices","importProcessedInvoices","uploadProcessedInvoices","getProcessedInvoicesPreImportRapport","PreImportProcessedInvoicesModal","PreImportRapportModal","AppConfirmationModal","AppSection","AppDataTable","label","sortable","filterable","action","variant","icon","invoiceToDelete","is_loading","checkedIds","params","invoiceId","items","exportInvoicesByScope","responseType","headers","link","document","window","getScopes","getAllScopes","getDefaultScopeIdForList","created","text","secondButton","staticStyle","secondButtonVariant","isLoadingSecondButton","secondButtonDisabled","onSecondSubmit","secondButtonText","firstButton","isDisabled","onSubmit","submitText","noCancel","cancelText","AppSpinner","type","default","size","_t","String","required","END_POINT","excelFile","onUploadProgress","formData","FormData","append","httpClient","post","getInvoice","get","invoiceData","put","ids","deleteInvoicePayment","delete","config","attachment","dispatchImportInvoicesJob","activity_log_id","DESCRIPTORS","getKeys","toIObject","isEnum","f","module","exports","isEntries","it","O","i","result","call","push","$export","$values","S","title","message","yes","cancel","submit","close","date","month","getMonth","day","getDate","getFullYear","dateParts","split","formatDateByScope","scopeDefault","format_date","getOneScope","addScope","scopeData","editScope","deleteScope","usersInScopes","getScopeLanguages","getScopeNavCredentials","updateScopeNavCredentials","navCredentials","checkNavStatus","testNavCredentials","smsLogs","monitoringJobs","launchJobs","jobIds","getAllowedMobileCountriesPerScope","getAllowedMobileCountries","httpClientWithoutToken","addAllowedMobileCountries","countries","getCronConfig","getTimezonesList","updateCronConfig","cronConfigId","getOneCronConfig","enableOrDisableScope"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,aAAa,CAACE,MAAM,CAAC,GAAK,WAAW,MAAQJ,EAAIK,UAAUC,MAAMC,QAAQC,SAAS,KAAO,SAAS,CAAER,EAAIS,UAAWP,EAAG,eAAe,CAACE,MAAM,CAAC,GAAK,QAAQ,MAAQJ,EAAIU,GAAGV,EAAIK,UAAUC,MAAMK,MAAMC,QAAQ,YAAY,gBAAgB,CAACV,EAAG,cAAc,CAACE,MAAM,CAAC,WAAW,KAAK,MAAQ,OAAO,YAAcJ,EAAIU,GAAGT,KAAKI,UAAUC,MAAMO,KAAKC,eAAe,QAAUd,EAAIe,sBAAsB,eAAc,EAAM,YAAa,EAAK,YAAa,GAAOC,GAAG,CAAC,MAAQhB,EAAIiB,aAAaC,MAAM,CAACC,MAAOnB,EAAIW,MAAOS,SAAS,SAAUC,GAAMrB,EAAIW,MAAMU,GAAKC,WAAW,UAAU,CAACpB,EAAG,OAAO,CAACE,MAAM,CAAC,KAAO,YAAYmB,KAAK,YAAY,CAACvB,EAAIwB,GAAGxB,EAAIyB,GAAGzB,EAAIU,GAAGV,EAAIK,UAAUC,MAAMoB,OAAOC,yBAAyB,GA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GAAc,OAAKxD,OAAWC,KAAKP,EAAY,IAAM/D,EAAU,wBAAwB6H,IACrHG,EAAU,SAAChI,EAAS8E,GAAM,OAAKT,OAAWG,IAAK,UAAYxE,EAAS8E,IACpEmD,EAAiB,SAACjI,GAAO,OAAKqE,OAAWG,IAAIT,EAAY,IAAM/D,EAAU,gBACzEkI,EAAa,SAACC,GAAM,OAAK9D,OAAWC,KAAKP,EAAY,UAAW,CAACoE,YAGjEC,EAAoC,SAACpI,GAAO,OAAKqE,OAAWG,IAAIT,EAAY,IAAM/D,EAAU,sBAC5FqI,EAA4B,WAAH,OAASC,OAAuB9D,IAAIT,EAAY,sBACzEwE,EAA4B,SAACvI,EAASwI,GAAS,OAAKnE,OAAWC,KAAKP,EAAY,IAAM/D,EAAU,oBAAoB,CAACwI,UAAWA,KAEhIC,EAAgB,SAACzI,GAAO,OAAKqE,OAAWG,IAAIT,EAAY,IAAM/D,EAAU,kBACxE0I,EAAmB,WAAH,OAASrE,OAAWG,IAAI,mBACxCmE,EAAmB,SAACC,EAAcnM,GAAI,OAAK4H,OAAWK,IAAIX,EAAY,gBAAkB6E,EAAcnM,IACtGoM,EAAmB,SAACD,GAAY,OAAKvE,OAAWG,IAAIT,EAAY,gBAAkB6E,IAElFE,EAAuB,SAAC9I,GAAO,OAAKqE,OAAWC,KAAKP,EAAY,yBAA2B/D,K","file":"js/chunk-f582b7a4.110dab39.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppSection',{attrs:{\"id\":\"invoices\",\"title\":_vm.$getConst.pages.invoice.invoices,\"type\":\"page\"}},[(_vm.adminRole)?_c('b-form-group',{attrs:{\"id\":\"scope\",\"label\":_vm.$t(_vm.$getConst.pages.scope.scopes),\"label-for\":\"scope-input\"}},[_c('multiselect',{attrs:{\"track-by\":\"id\",\"label\":\"name\",\"placeholder\":_vm.$t(this.$getConst.pages.form.select_option),\"options\":_vm.scopesOfConnectedRole,\"show-labels\":false,\"searchable\":true,\"allowEmpty\":false},on:{\"input\":_vm.changeScope},model:{value:(_vm.scope),callback:function ($$v) {_vm.scope=$$v},expression:\"scope\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])])],1):_vm._e(),_c('AppSection',{attrs:{\"id\":\"permissions-table\",\"title\":_vm.$t(_vm.$getConst.pages.invoice.list_of_invoices),\"type\":\"section\",\"button\":_vm.hasPermission(_vm.$getConst.permissions.addInvoice),\"button-text\":_vm.$getConst.pages.button.add,\"button-icon\":_vm.$getConst.icons.add,\"second-button\":\"\",\"thirdButton\":_vm.allDeleted},on:{\"onClick\":_vm.addInvoice,\"onClickThirdButton\":_vm.onDeleteItems},scopedSlots:_vm._u([{key:\"secondButton\",fn:function(){return [_c('b-dropdown',{staticClass:\"ml-auto\",attrs:{\"toggle-class\":\"text-success font-weight-bold\",\"variant\":\"link\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('AppSvgIcon',{staticClass:\"mr-2\",attrs:{\"icon\":_vm.$getConst.svgIcons.excel}}),_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.excel.excel)))+\"\\n \")]},proxy:true}])},[_c('b-dropdown-item-button',{attrs:{\"button-class\":\"py-2 font-weight-bold\"},on:{\"click\":_vm.exportExcel}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.excel.export)))),_c('i',{class:[_vm.$getConst.icons.export, 'ml-2']})]),(_vm.hasPermission(_vm.$getConst.permissions.importInvoices))?_c('b-dropdown-item-button',{attrs:{\"button-class\":\"py-2 font-weight-bold\"},on:{\"click\":_vm.openPreImportModal}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.excel.import)))),_c('i',{class:[_vm.$getConst.icons.import, 'ml-2']})]):_vm._e(),(_vm.hasPermission(_vm.$getConst.permissions.importInvoices))?_c('b-dropdown-item-button',{attrs:{\"button-class\":\"py-2 font-weight-bold\"},on:{\"click\":_vm.openProcessedInvoicesPreImportModal}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.invoice.rapport_import_processed_invoices)))),_c('i',{class:[_vm.$getConst.icons.check_circle, 'ml-2']})]):_vm._e()],1)]},proxy:true}])},[_c('AppDataTable',{key:_vm.tableKey,ref:\"invoicesTable\",attrs:{\"fields\":_vm.fields,\"end-point\":_vm.endPoint,\"actions\":_vm.actions,\"selectable\":true,\"withItem\":true,\"allChecked\":_vm.checked,\"headCheckbox\":_vm.headCheckbox},on:{\"onEdit\":_vm.editInvoice,\"onDelete\":_vm.confirmDelete,\"onShow\":_vm.showInvoice,\"onCheckedIds\":_vm.onCheckAllIds,\"getCheckedIds\":_vm.onCheckedIds},scopedSlots:_vm._u([{key:\"payment_status\",fn:function(item){return [(item.data === 'Awaiting')?_c('b-badge',{attrs:{\"variant\":\"warning\",\"pill\":\"\"}},[_vm._v(_vm._s(item.data))]):_c('b-badge',{attrs:{\"variant\":\"success\",\"pill\":\"\"}},[_vm._v(_vm._s(item.data))])]}},{key:\"statement_date\",fn:function(item){return [_vm._v(\"\\n \"+_vm._s(_vm.formatDate(item.data))+\"\\n \")]}}])}),_c('PreImportRapportModal',{attrs:{\"scope-id\":_vm.scope ? _vm.scope.id : null},on:{\"importedInvoices\":function($event){_vm.tableKey++}}}),_c('PreImportProcessedInvoicesModal',{attrs:{\"scope-id\":_vm.scope ? _vm.scope.id : null},on:{\"importedProcessedInvoices\":function($event){_vm.tableKey++}}})],1),_c('AppConfirmationModal',{ref:\"confirmDelete\",attrs:{\"id\":\"confirmation-modal\",\"title\":_vm.$t(_vm.$getConst.pages.profile.are_you_sure),\"|\":\"\",\"capitalize\":\"\"},on:{\"onCancel\":_vm.onCancel,\"onConfirm\":_vm.deleteInvoice}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppModal',{attrs:{\"id\":\"pre-import-rapport\",\"close-on-backdrop\":_vm.closeOnBackdrop},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',{staticClass:\"text-center mb-5\"},[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.invoice.rapport_title))))])]},proxy:true},{key:\"content\",fn:function(){return [_c('div',{staticClass:\"mx-auto text-center\"},[_c('input',{staticClass:\"input-file\",attrs:{\"type\":\"file\",\"name\":\"file\",\"id\":\"file\",\"disabled\":_vm.isLoading},on:{\"change\":_vm.generatePreImportRapport}}),_c('label',{attrs:{\"for\":\"file\"}},[_c('i',{class:[_vm.$getConst.icons.upload, 'mr-2']}),(!_vm.file)?_c('span',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.form.choose_file)))]):_c('span',[_vm._v(_vm._s(_vm.file.name))])])]),(_vm.isRapportGenerated)?_c('b-list-group',{staticClass:\"my-3\",attrs:{\"id\":\"success-rapport\"}},[_c('b-list-group-item',{staticClass:\"bg-light d-flex justify-content-between align-items-center font-weight-bold\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_total_invoices))+\"\\n \"),_c('span',[_vm._v(_vm._s(_vm.rapport.invoicesCount))])]),_c('b-list-group-item',{staticClass:\"d-flex justify-content-between align-items-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_invoices_to_create))+\"\\n \"),_c('span',[_vm._v(_vm._s(_vm.rapport.invoicesToCreate))])]),_c('b-list-group-item',{staticClass:\"d-flex justify-content-between align-items-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_invoices_to_update))+\"\\n \"),_c('span',[_vm._v(_vm._s(_vm.rapport.invoicesToUpdate))])])],1):_vm._e(),(_vm.missingColumns.length > 0)?_c('b-list-group',{staticClass:\"my-3\",attrs:{\"id\":\"missing-columns\"}},[_c('b-list-group-item',{staticClass:\"bg-light d-flex justify-content-between align-items-center text-danger\"},[_c('h5',[_c('b',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_missing_columns)))])])]),_vm._l((_vm.missingColumns),function(column){return _c('b-list-group-item',{staticClass:\"justify-content-between align-items-center font-weight-bold\"},[_vm._v(\"\\n \"+_vm._s(column)+\"\\n \")])})],2):_vm._e(),(_vm.reportIsPending)?_c('b-list-group',{staticClass:\"my-3\",attrs:{\"id\":\"pending-response\"}},[_c('b-list-group-item',{staticClass:\"d-flex justify-content-between align-items-center text-success\"},[_c('h5',[_c('b',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_invoices_is_pending)))])])])],1):_vm._e(),(_vm.rapport.timesheetsToCreate.length > 0)?_c('b-list-group',{staticClass:\"mb-3\"},[_c('a',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('row-timesheets'),expression:\"'row-timesheets'\"}],staticClass:\"bg-warning list-group-item d-flex justify-content-between align-items-center py-2 px-4\",attrs:{\"type\":\"button\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_timesheets_not_found))+\"\\n (\"+_vm._s(_vm.rapport.timesheetsToCreate.length)+\")\\n \"),_c('span',[_c('i',{class:_vm.$getConst.icons.chevron_down})])]),_c('b-collapse',{staticClass:\"list-group-item\",attrs:{\"id\":\"row-timesheets\",\"accordion\":\"my-accordion\"}},[_c('ul',{staticClass:\"mb-0\"},_vm._l((_vm.rapport.timesheetsToCreate),function(timesheet){return _c('li',[_vm._v(\"\\n \"+_vm._s(timesheet)+\"\\n \")])}),0)])],1):(_vm.failedResponse)?_c('b-list-group',{staticClass:\"overflow-auto\",attrs:{\"id\":\"failed-rapport\"}},[_c('b-list-group-item',{staticClass:\"d-flex bg-light justify-content-between align-items-center text-danger\"},[_c('h5',[_c('b',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_total_invalid_invoices)))])]),_c('span',{staticClass:\"badge badge-danger badge-pill w-auto\"},[_vm._v(_vm._s(Object.keys(_vm.failedResponse).length))])]),_vm._l((_vm.failedResponse),function(errors,row){return [_c('a',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('row-'+row),expression:\"'row-'+row\"}],staticClass:\"list-group-item d-flex justify-content-between align-items-center py-2 px-4\",attrs:{\"type\":\"button\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_row))+\" \"+_vm._s(row)+\"\\n \"),_c('span',[_c('i',{class:_vm.$getConst.icons.chevron_down})])]),_c('b-collapse',{staticClass:\"list-group-item\",attrs:{\"id\":'row-'+row,\"accordion\":\"my-accordion\"}},[_c('ul',{staticClass:\"mb-0\"},_vm._l((errors),function(error){return _c('li',[_vm._v(\"\\n \"+_vm._s(Object.keys(error)[0])+\":\\n \"),_c('span',{staticClass:\"float-right\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice[\"rapport_\"+Object.values(error)[0]])))])])}),0)])]})],2):_vm._e(),(_vm.isLoading)?_c('b-progress',{staticClass:\"mx-auto w-75\",attrs:{\"show-progress\":\"\",\"animated\":\"\",\"variant\":\"secondary\",\"height\":\"3rem\"}},[_c('b-progress-bar',{staticClass:\"font-weight-bold font-size-md\",attrs:{\"value\":_vm.uploadPercentage,\"label\":`${_vm.uploadPercentage}%`}})],1):_vm._e()]},proxy:true},(_vm.isRapportGenerated || _vm.reportIsPending)?{key:\"button\",fn:function(){return [_c('AppConfirmButtons',{attrs:{\"submit-text\":_vm.submitButtonText,\"is-loading\":_vm.isLoading},on:{\"onSubmit\":_vm.submitInvoicesReport,\"onCancel\":_vm.closeModal}})]},proxy:true}:null],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./PreImportRapportModal.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!./PreImportRapportModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PreImportRapportModal.vue?vue&type=template&id=23e24d32&scoped=true&\"\nimport script from \"./PreImportRapportModal.vue?vue&type=script&lang=js&\"\nexport * from \"./PreImportRapportModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PreImportRapportModal.vue?vue&type=style&index=0&id=23e24d32&prod&scoped=true&lang=css&\"\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 \"23e24d32\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppModal',{attrs:{\"id\":\"processed-invoices-pre-import-rapport\",\"close-on-backdrop\":_vm.closeOnBackdrop},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',{staticClass:\"text-center mb-5\"},[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.invoice.processed_invoices_rapport_title))))])]},proxy:true},{key:\"content\",fn:function(){return [_c('div',{staticClass:\"mx-auto text-center\"},[_c('input',{staticClass:\"input-file\",attrs:{\"type\":\"file\",\"name\":\"file\",\"id\":\"file\",\"disabled\":_vm.isLoading},on:{\"change\":_vm.generatePreImportRapport}}),_c('label',{attrs:{\"for\":\"file\"}},[_c('i',{class:[_vm.$getConst.icons.upload, 'mr-2']}),(!_vm.file)?_c('span',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.form.choose_file)))]):_c('span',[_vm._v(_vm._s(_vm.file.name))])])]),(_vm.isRapportGenerated)?_c('b-list-group',{staticClass:\"my-3\",attrs:{\"id\":\"success-rapport\"}},[_c('b-list-group-item',{staticClass:\"bg-light d-flex justify-content-between align-items-center font-weight-bold\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_total_invoices_to_process))+\"\\n \"),_c('span',[_vm._v(_vm._s(_vm.rapport.invoicesToProcess))])])],1):(_vm.failedResponse)?_c('b-list-group',{staticClass:\"overflow-auto\",attrs:{\"id\":\"failed-rapport\"}},[_c('b-list-group-item',{staticClass:\"d-flex justify-content-between align-items-center text-danger\"},[_c('h5',[_c('b',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_total_invalid_invoices)))])]),_c('span',{staticClass:\"badge badge-danger badge-pill w-auto\"},[_vm._v(_vm._s(Object.keys(_vm.failedResponse).length))])]),_vm._l((_vm.failedResponse),function(errors,row){return [_c('a',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('row-'+row),expression:\"'row-'+row\"}],staticClass:\"list-group-item d-flex justify-content-between align-items-center py-2 px-4\",attrs:{\"type\":\"button\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.invoice.rapport_row))+\" \"+_vm._s(row)+\"\\n \"),_c('span',[_c('i',{class:_vm.$getConst.icons.chevron_down})])]),_c('b-collapse',{staticClass:\"list-group-item\",attrs:{\"id\":'row-'+row,\"accordion\":\"my-accordion\"}},[_c('ul',{staticClass:\"mb-0\"},_vm._l((errors),function(error){return _c('li',[_vm._v(\"\\n \"+_vm._s(Object.keys(error)[0])+\":\\n \"),_c('span',{staticClass:\"float-right\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.invoice[\"rapport_\"+Object.values(error)[0]])))])])}),0)])]})],2):_vm._e(),(_vm.isLoading)?_c('b-progress',{staticClass:\"mx-auto w-75\",attrs:{\"show-progress\":\"\",\"animated\":\"\",\"variant\":\"secondary\",\"height\":\"3rem\"}},[_c('b-progress-bar',{staticClass:\"font-weight-bold font-size-md\",attrs:{\"value\":_vm.uploadPercentage,\"label\":`${_vm.uploadPercentage}%`}})],1):_vm._e()]},proxy:true},(_vm.isRapportGenerated)?{key:\"button\",fn:function(){return [_c('AppConfirmButtons',{attrs:{\"submit-text\":_vm.$getConst.pages.invoice.rapport_import_invoices,\"is-loading\":_vm.isLoading},on:{\"onSubmit\":_vm.importProcessedInvoices,\"onCancel\":_vm.closeModal}})]},proxy:true}:null],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./PreImportProcessedInvoicesReportModal.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!./PreImportProcessedInvoicesReportModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PreImportProcessedInvoicesReportModal.vue?vue&type=template&id=11df66d2&scoped=true&\"\nimport script from \"./PreImportProcessedInvoicesReportModal.vue?vue&type=script&lang=js&\"\nexport * from \"./PreImportProcessedInvoicesReportModal.vue?vue&type=script&lang=js&\"\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 \"11df66d2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\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!./index.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!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=3172e88a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=3172e88a&prod&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 \"3172e88a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PreImportRapportModal.vue?vue&type=style&index=0&id=23e24d32&prod&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.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!./index.vue?vue&type=style&index=0&id=3172e88a&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"d-block flex-wrap py-3 text-center\"},[(_vm.secondButton)?_c('b-button',{staticClass:\"mx-2 mb-3 text-uppercase\",staticStyle:{\"min-width\":\"10rem\"},attrs:{\"variant\":_vm.secondButtonVariant,\"disabled\":_vm.isLoading || _vm.isLoadingSecondButton || _vm.secondButtonDisabled,\"pill\":\"\",\"size\":\"lg\"},on:{\"click\":_vm.onSecondSubmit}},[(_vm.isLoadingSecondButton)?_c('AppSpinner',{staticClass:\"d-inline-block align-middle\"}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.secondButtonText))+\"\\n \")],1):_vm._e(),(_vm.firstButton)?_c('b-button',{staticClass:\"mb-3 text-uppercase\",class:[{'d-block': !_vm.secondButtonText}, _vm.secondButtonText ? 'mx-2' : 'mx-auto'],staticStyle:{\"min-width\":\"10rem\"},attrs:{\"variant\":_vm.variant,\"disabled\":_vm.isLoading || _vm.isLoadingSecondButton || _vm.isDisabled,\"pill\":\"\",\"size\":\"lg\"},on:{\"click\":_vm.onSubmit}},[(_vm.isLoading)?_c('AppSpinner',{staticClass:\"d-inline-block align-middle\"}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.submitText))+\"\\n \")],1):_vm._e(),(!_vm.noCancel)?_c('a',{class:[(_vm.isLoading || _vm.isLoadingSecondButton) ? 'd-none': '',\n !(_vm.isLoading || _vm.isLoadingSecondButton) ? 'd-block': '', 'text-center text-'+_vm.variant ],attrs:{\"type\":\"button\"},on:{\"click\":_vm.onCancel}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.cancelText))+\"\\n \")]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./AppConfirmButtons.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!./AppConfirmButtons.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppConfirmButtons.vue?vue&type=template&id=27d9f04a&scoped=true&\"\nimport script from \"./AppConfirmButtons.vue?vue&type=script&lang=js&\"\nexport * from \"./AppConfirmButtons.vue?vue&type=script&lang=js&\"\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 \"27d9f04a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-modal',{attrs:{\"id\":_vm.id,\"size\":_vm.size,\"hide-header\":\"\",\"hide-footer\":\"\",\"centered\":\"\",\"no-close-on-backdrop\":!_vm.closeOnBackdrop,\"body-class\":\"m-3 text-primary\"}},[_c('div',{attrs:{\"id\":\"content\"}},[_vm._t(\"title\"),_vm._t(\"content\"),_vm._t(\"button\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./AppModal.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!./AppModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppModal.vue?vue&type=template&id=6891bdfe&scoped=true&\"\nimport script from \"./AppModal.vue?vue&type=script&lang=js&\"\nexport * from \"./AppModal.vue?vue&type=script&lang=js&\"\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 \"6891bdfe\",\n null\n \n)\n\nexport default component.exports","import httpClient from \"./_httpClient\";\n\nconst END_POINT = \"/invoices\";\n\nconst uploadExcel = (scopeId, excelFile, onUploadProgress) => {\n let formData = new FormData();\n\n formData.append(\"file\", excelFile);\n if (scopeId) {\n formData.append(\"scopeId\", scopeId);\n }\n return httpClient.post(\n END_POINT + \"/import\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress\n });\n};\nconst getInvoice = (invoiceId) => httpClient.get(END_POINT + \"/\" +invoiceId);\nconst addInvoice = (invoiceData) => httpClient.post(END_POINT, invoiceData);\nconst editInvoice = (id,invoiceData) => httpClient.put(END_POINT + '/' + id, invoiceData);\nconst deleteInvoice = (ids) => httpClient.post(END_POINT + '/deleteInvoices',{ids});\nconst deleteInvoicePayment = (id) => httpClient.delete(END_POINT + '/payments/' + id);\n\nconst exportInvoicesByScope = (scopeId,config) => httpClient.get(END_POINT + \"/export/\" + scopeId, config);\nconst getPreImportRapport = (scopeId, attachment, onUploadProgress) => {\n let formData = new FormData();\n\n formData.append(\"file\", attachment);\n\n if (scopeId) {\n formData.append(\"scopeId\", scopeId);\n }\n\n return httpClient.post(\n END_POINT + \"/rapport\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress\n });\n}\n\nconst getProcessedInvoicesPreImportRapport = (scopeId, attachment, onUploadProgress) => {\n let formData = new FormData();\n\n formData.append(\"file\", attachment);\n\n if (scopeId) {\n formData.append(\"scopeId\", scopeId);\n }\n\n return httpClient.post(\n END_POINT + \"/processed-invoices/rapport\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress\n });\n}\n\nconst uploadProcessedInvoices = (scopeId, excelFile, onUploadProgress) => {\n let formData = new FormData();\n\n formData.append(\"file\", excelFile);\n if (scopeId) {\n formData.append(\"scopeId\", scopeId);\n }\n return httpClient.post(\n END_POINT + \"/import-processed-invoices\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress\n });\n};\n\nconst dispatchImportInvoicesJob = (activity_log_id) => httpClient.post(END_POINT + '/dispatchImportInvoicesJob/' + activity_log_id);\n\nexport {\n uploadExcel,\n getInvoice,\n addInvoice,\n editInvoice,\n deleteInvoice,\n exportInvoicesByScope,\n getPreImportRapport,\n deleteInvoicePayment,\n getProcessedInvoicesPreImportRapport,\n uploadProcessedInvoices,\n dispatchImportInvoicesJob\n}\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppModal',{attrs:{\"id\":_vm.id,\"isLoading\":_vm.isLoading},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h3',{staticClass:\"text-center mb-4\"},[_vm._v(_vm._s(_vm.title)+\" ?\")]),(_vm.message)?_c('p',{staticClass:\"mb-4\"},[_vm._v(_vm._s(_vm.message))]):_vm._e()]},proxy:true},{key:\"content\",fn:function(){return [_vm._t(\"form\")]},proxy:true},{key:\"button\",fn:function(){return [_c('AppConfirmButtons',{attrs:{\"submit-text\":_vm.$getConst.pages.button.yes,\"cancel-text\":_vm.$getConst.pages.button.cancel,\"is-loading\":_vm.isLoading,\"variant\":\"danger\"},on:{\"onSubmit\":_vm.submit,\"onCancel\":_vm.close}})]},proxy:true}],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./AppConfirmationModal.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!./AppConfirmationModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppConfirmationModal.vue?vue&type=template&id=0bb08515&scoped=true&\"\nimport script from \"./AppConfirmationModal.vue?vue&type=script&lang=js&\"\nexport * from \"./AppConfirmationModal.vue?vue&type=script&lang=js&\"\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 \"0bb08515\",\n null\n \n)\n\nexport default component.exports","const formatDate = function (date) {\n if (typeof date === \"object\") {\n let month = date.getMonth()+1;\n if (month < 10) {\n month = \"0\" + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = \"0\" + day;\n }\n return day + \"/\" + month + \"/\" + date.getFullYear();\n } else {\n let dateParts = date.split(\"/\");\n return dateParts[1] + \"/\" + dateParts[0] + \"/\" + dateParts[2];\n }\n}\n\nconst formatDateByScope = function (date, scopeDefault, scope) {\n if (typeof date === \"object\") {\n let month = date.getMonth()+1;\n if (month < 10) {\n month = \"0\" + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = \"0\" + day;\n }\n if((scope && scope.format_date === 'DD/MM/YYYY') ||\n (!scope && scopeDefault === 'DD/MM/YYYY')) {\n return day + \"/\" + month + \"/\" + date.getFullYear();\n } else {\n return month + \"/\" + day + \"/\" + date.getFullYear();\n }\n\n } else {\n let dateParts = date.split(\"/\");\n if((scope && scope.format_date === 'DD/MM/YYYY') ||\n (!scope && scopeDefault === 'DD/MM/YYYY')) {\n return dateParts[0] + \"/\" + dateParts[1] + \"/\" + dateParts[2];\n } else {\n return dateParts[1] + \"/\" + dateParts[0] + \"/\" + dateParts[2];\n }\n }\n}\n\n// const DDMMYYYY_toDayObject = function(date) {\n// const dateMomentObject = moment(dateString, \"DD/MM/YYYY\"); // 1st argument - string, 2nd argument - format\n// var dateObject = dateMomentObject.toDate();\n// }\n\nexport {\n formatDate,\n formatDateByScope\n}\n","import httpClient from './_httpClient';\nimport httpClientWithoutToken from \"./_httpClientWithoutToken\";\n\nconst END_POINT = '/scopes';\n\nconst getAllScopes = () => httpClient.get(END_POINT + '?paginated=false');\nconst getOneScope = (id) => httpClient.get( 'oneScope/' + id);\nconst addScope = (scopeData) => httpClient.post(END_POINT, scopeData);\nconst editScope = (id, scopeData) => httpClient.put(END_POINT + '/' + id, scopeData);\nconst deleteScope = (id) => httpClient.delete(END_POINT + '/' + id);\nconst usersInScopes = (id) => httpClient.get('/usersInScopes/' + id);\nconst getScopeLanguages = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/languages');\nconst getDefaultScopeIdForList = () => httpClient.get(END_POINT + '/defaultScopeIdForList');\n\n// Nav credentials APIs\nconst getScopeNavCredentials = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/nav-credentials');\nconst updateScopeNavCredentials = (scopeId, navCredentials) => httpClient.put(END_POINT + '/' + scopeId + '/nav-credentials', navCredentials);\nconst checkNavStatus = (scopeId) => httpClient.post(END_POINT + '/' + scopeId + '/nav-status');\nconst getNavStatusHistory = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/nav-status');\nconst testNavCredentials = (scopeId,navCredentials) => httpClient.post(END_POINT + '/' + scopeId + \"/test-nav-credentials\",navCredentials);\nconst smsLogs = (scopeId, config) => httpClient.get( '/excel/' + scopeId, config);\nconst monitoringJobs = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/monitoring');\nconst launchJobs = (jobIds) => httpClient.post(END_POINT + '/launch', {jobIds});\n\n// Allowed mobile countries\nconst getAllowedMobileCountriesPerScope = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/mobile-countries');\nconst getAllowedMobileCountries = () => httpClientWithoutToken.get(END_POINT + '/mobile-countries');\nconst addAllowedMobileCountries = (scopeId, countries) => httpClient.post(END_POINT + '/' + scopeId + '/mobile-countries',{countries: countries});\n\nconst getCronConfig = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/cron_config/');\nconst getTimezonesList = () => httpClient.get('timezones_list');\nconst updateCronConfig = (cronConfigId, data) => httpClient.put(END_POINT + '/cron_config/' + cronConfigId, data);\nconst getOneCronConfig = (cronConfigId) => httpClient.get(END_POINT + '/cron_config/' + cronConfigId);\n\nconst enableOrDisableScope = (scopeId) => httpClient.post(END_POINT + '/enableOrDisableScope/' + scopeId);\n\nexport {\n getAllScopes,\n addScope,\n editScope,\n deleteScope,\n getOneScope,\n usersInScopes,\n getScopeNavCredentials,\n updateScopeNavCredentials,\n checkNavStatus,\n testNavCredentials,\n getScopeLanguages,\n getNavStatusHistory,\n smsLogs,\n monitoringJobs,\n launchJobs,\n getAllowedMobileCountriesPerScope,\n getAllowedMobileCountries,\n addAllowedMobileCountries,\n getCronConfig,\n getTimezonesList,\n updateCronConfig,\n getOneCronConfig,\n getDefaultScopeIdForList,\n enableOrDisableScope\n}\n"],"sourceRoot":""}