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EAAE,SACvD,EAEA,SAASiK,EAAMC,EAAQ,CACd,OAAApJ,EAAOmJ,CAAI,EAAE,OAAOjK,EAAK,OAAO,OAAO,KAAK,EAAE,OAAOkK,CAAM,CACpE,EAEA,QAAQC,EAAOC,EAAK,CAClB,OAAOtJ,EAAOqJ,CAAK,EAAE,OAAOnK,EAAK,OAAO,OAAO,KAAK,EAAE,KAAKc,EAAOsJ,CAAG,EAAG,MAAM,CAChF,GAGFC,GAAY,CACV,IAAAV,EACA,IAAK,4EACL,aAAc,CACZ,IAAIW,EAAe,CACjB,uBAAwBC,GAAgCvP,CAAM,EAC9D,eAAgB,CAAC,YAAa,cAAe,eAAgB,KAAK,EACnE,CACH,EACA,YAAa,aACb,iBAAkB,MACnB,EAED,MAAMwP,EAASC,KACfD,EAAO,MAAQ,aAAa,QAAQ,UAAU,IAAM,OAChDb,EAAA,QAAQ,SAAUa,CAAM,EAGzBb,EAAA,IAAIe,CAAO,EACX,IAAIC,EAAUvN,CAAK,EACnB,IAAIwN,CAAU,EACd,IAAIC,CAAa,EACjB,IAAIjP,CAAK,EACT,IAAIZ,CAAM,EACV,IAAIgF,CAAI,EACR,IAAIc,CAAM,EACV,IAAIgK,GAAW,CAEd,OAAA9P,EACA,qBAAsB,GACtB,KAAM,sBACN,OAAQ,KACR,eAAgB,OAChB,MAAO,QACR,EACA,UAAU+P,EAAU,KAAMA,CAAS,EACnC,MAAM,MAAM,CACjB,CAEAjB,GAAQ","names":["_sfc_main","_createBlock","_component_router_view","cookies","useCookies","Referral","next","to","auth","__vitePreload","Auth","customer","getCustomer","response","fetchCustomer","setCustomer","unsetCustomer","dashboard$6","payment$5","profile$3","support$4","announcements$2","service$2","n","routes","dashboard","profile","payment","support","announcements","service","router","createRouter","createWebHistory","from","savedPosition","nextFactory","context","middleware","index","subsequentMiddleware","parameters","nextMiddleware","store","nearestWithTitle","r","nearestWithMeta","previousNearestWithMeta","el","tagDef","tag","key","API_TOKEN_KEY","TOKEN_EXPIRED_DATE","getToken","setToken","token","setAuthorizedUserRefreshTokenSuccess","tokenExpiredDate","remember","setTokenExpiredDate","setIsRemember","unsetToken","getInstance","toaster","createToaster","axiosInstance","axios","config","source","error","CsrfInstance","fetchSetCustomerLocale","locale","fetchCustomerMigrate","data","deVPS2DAY","login","register","profileCompletion","passwordRequest","passwordReset","twoFaAuth","migrate","customerNavigation","abuseManagement","balance","invoice","sshKey","upgrade","headers","countries","validation","global","commonNavigation","commonGlobal","transaction","tickets","server","disk","ip","chart","overview","privateNetwork","abuse","snapshot","backup","network","affiliate","enVPS2DAY","locales","i18n","createI18n","initialState","state","payload","commit","CSRFRequest","fetchUserLogin","form","fetchUserLogOut","fetchRefreshToken","dispatch","fetchUserRegistration","timezone","moment","fetchProfileCompletion","registration","profilCompletion","fetchPasswordForget","forgotPassword","fetchPasswordReset","resetPassword","fetchTickets","filter","fetchTicket","ticketId","createTicket","rateTicket","closeTicket","ticket","sendMessage","sendFile","messages","promise","item","formData","failedUploadsIndex","idx","fetchAbuseCases","fetchAbuseCase","abuseId","submitAbuseStatement","fetchVoucher","fetchBalanceNotification","chargeAccount","fetchBalance","fetchAvailablePaymentMethods","fetchServers","fetchServer","serverId","fetchServerRegions","fetchServerCreate","fetchServerAction","fetchServerTab","fetchServerExtend","fetchServerCreateSnapshot","fetchServerChangeIp","fetchServerIpPrice","fetchServerCreateAdditionalDisk","fetchServerCancelAdditionalDisk","fetchUpdateDiskSize","fetchDiskResizePrice","fetchServerDiskPrice","fetchServerMetrics","fetchServerSettings","fetchRequestRDNS","fetchServerSnapshotRestore","fetchServerSnapshotDelete","fetchServerCreateBackup","fetchServerUpdateAutomaticBackup","fetchServerUpdateAutomaticSnapshot","fetchServerBackupRestore","fetchServerBackupDelete","fetchServerMeta","fetchServerImages","fetchServerFlavor","fetchServerUpgradeCancel","fetchServerFlavorUpgrade","fetchServerFlavorCalculation","fetchReInstallServer","fetchServerUpgrades","fetchServerUpgrade","fetchLockServerBackup","fetchUnlockServerBackup","fetchLockServerSnapshot","fetchUnlockServerSnapshot","fetchServerActivateRescueMode","fetchServerDeactivateRescueMode","ServerStatusEnum","rootState","disks","previousPricing","fetchServerPrivateNetwork","fetchDeleteServerPrivateNetwork","networkId","fetchPrivateNetworkRegion","fetchCreatePrivateNetwork","fetchAvailablePools","fetchCreatePort","fetchDeletePort","networks","val","settings","snapshots","backups","upgrades","vnc","reinstall","groupByOS","keys","array","objectsByKeyValue","obj","value","statistics","fetchSshKeys","fetchCreateSshKey","fetchDeleteSshKey","sshKeyId","fetchPayments","fetchPaymentStatus","transactionId","fetchTransaction","page","fetchInvoice","transactionIds","fetchAffiliates","affiliates","fetchCustomerProfile","fetchCountries","fetchCustomerPassword","fetchCustomerEmailPending","fetchCustomerEmailChange","fetchCustomerEmailAbort","fetchCustomerEmailResend","fetchCustomerSecondFactor","fetchCustomerToggleTwoFactor","type","fetchVerifySecondFactor","fetchSocialAccounts","fetchLinkSocialAccount","provider","fetchUnlinkSocialAccount","fetchCustomerSMSVerification","api","providerName","toggle","pendingRequests","request","i","fetchAnnouncements","fetchAnnouncement","id","announcement","createStore","app","createApp","App","initApp","assets","reactive","date","format","start","end","Sentry.init","BrowserTracing","Sentry.vueRouterInstrumentation","isDark","useDark","Toaster","VueAxios","VueCookies","VueApexCharts","VueMatomo","VueQrcode"],"ignoreList":[],"sources":["../../src/App.vue","../../src/middlewares/referral.js","../../src/router/routes/auth.js","../../src/middlewares/auth.js","../../src/router/routes/dashboard.js","../../src/router/routes/payment.js","../../src/router/routes/profile.js","../../src/router/routes/support.js","../../src/router/routes/announcements.js","../../src/router/routes/service.js","../../src/router/index.js","../../src/configs/axios/token.js","../../src/configs/axios/index.js","../../src/services/customer/index.js","../../src/locales/de/vps2day/index.js","../../src/locales/en/vps2day/index.js","../../src/locales/index.js","../../src/i18n.js","../../src/store/modules/customer/index.js","../../src/services/auth/csrf.js","../../src/services/auth/login/index.js","../../src/store/modules/auth/login/index.js","../../src/services/auth/registration/index.js","../../src/store/modules/auth/registration/index.js","../../src/store/modules/auth/profile-completion/index.js","../../src/services/auth/forgot-password/index.js","../../src/store/modules/auth/forgot-password/index.js","../../src/services/auth/reset-password/index.js","../../src/store/modules/auth/reset-password/index.js","../../src/services/support/tickets/index.js","../../src/store/modules/support/tickets/index.js","../../src/services/support/tickets/ticket/index.js","../../src/store/modules/support/tickets/ticket/index.js","../../src/services/support/tickets/messages/index.js","../../src/store/modules/support/tickets/messages/index.js","../../src/services/support/abuse/index.js","../../src/store/modules/support/abuse/index.js","../../src/services/payments/balance/index.js","../../src/store/modules/payment/balance/index.js","../../src/services/service/server/index.js","../../src/store/modules/service/server/server/index.js","../../src/store/modules/service/server/disks/index.js","../../src/store/modules/service/server/ip/index.js","../../src/services/service/private-network/index.js","../../src/store/modules/service/server/networks/index.js","../../src/store/modules/service/server/settings/index.js","../../src/store/modules/service/server/snapshots/index.js","../../src/store/modules/service/server/backups/index.js","../../src/store/modules/service/server/upgrades/index.js","../../src/store/modules/service/server/vnc/index.js","../../src/store/modules/service/server/reinstall/index.js","../../src/store/modules/service/server/statistics/index.js","../../src/services/service/ssh-key/index.js","../../src/store/modules/service/ssh-key/index.js","../../src/services/payments/index.js","../../src/store/modules/payment/index.js","../../src/store/modules/payment/transaction/index.js","../../src/store/modules/payment/invoice/index.js","../../src/services/payments/affiliate/index.js","../../src/store/modules/payment/affiliate/index.js","../../src/services/profile/index.js","../../src/store/modules/profile/index.js","../../src/store/modules/pending_requests/index.js","../../src/services/announcement/index.js","../../src/store/modules/announcement/index.js","../../src/store/index.js","../../src/main.js"],"sourcesContent":["\n \n\n\n\n","import { useCookies } from 'vue3-cookies'\nconst { cookies } = useCookies()\n\nexport default async ({ next, to }) => {\n if (to.params.referral) {\n const activeReferral = cookies.isKey('vps2day_referral')\n\n if(!activeReferral) {\n cookies.set('vps2day_referral', to.params.referral, '48h')\n }\n\n return next('/register')\n }\n return next()\n}","import Referral from '@/middlewares/referral'\n\nexport default [\n {\n name: 'Login',\n path: '/login',\n component: () => import('@/pages/auth/Login'),\n meta: {\n title: 'servinga Cloud - Login',\n auth: false\n }\n },\n {\n name: 'Completion',\n path: '/login/complete-profile',\n component: () => import('@/pages/auth/ProfileCompletion'),\n meta: {\n title: 'servinga Cloud - Profile Completion',\n auth: false\n }\n },\n {\n path: '/register/:referral?',\n name: 'Register',\n component: () => import('@/pages/auth/Register'),\n meta: {\n title: 'servinga Cloud - Sign Up',\n middleware: Referral,\n auth: false\n }\n },\n {\n path: '/password/reset/:token',\n name: 'Reset-Password',\n component: () => import('@/pages/auth/ResetPassword'),\n meta: {\n title: 'servinga Cloud - Reset Password',\n auth: false\n }\n },\n {\n path: '/forgot-password',\n name: 'Forgot-Password',\n component: () => import('@/pages/auth/ForgotPassword'),\n meta: {\n title: 'servinga Cloud - Forgot Password',\n auth: false\n }\n },\n {\n path: '/verify',\n component: () => import('@/pages/auth/VerifyCustomer'),\n meta: {\n title: 'servinga Cloud - Verify Your Account',\n auth: true\n }\n },\n {\n path: '/2fa-verify',\n name: 'TwoFa-Verify',\n component: () => import('@/pages/auth/TwoFaVerifyCustomer'),\n meta: {\n title: 'servinga Cloud - Two Factor Verify Your Account',\n auth: false\n }\n },\n {\n path: '/migrate',\n name: 'Migrate',\n component: () => import('@/pages/auth/Migrate'),\n meta: {\n title: 'servinga Cloud - Migrate Your Account',\n auth: true\n }\n },\n {\n path: '/migrate/twoFa',\n name: 'MigrateTwoFa',\n component: () => import('@/pages/auth/MigrateTwoFa'),\n meta: {\n title: 'servinga Cloud - Migrate Your Account',\n auth: true\n }\n },\n {\n path: '/migrate/final',\n name: 'MigrateFinal',\n component: () => import('@/pages/auth/MigrateFinal'),\n meta: {\n title: 'servinga Cloud - Migrate Your Account',\n auth: true\n }\n }\n];\n","import { setCustomer, getCustomer, unsetCustomer } from '@/configs/axios/token'\nimport { fetchCustomer } from '@/services/customer'\n\nexport default async ({ next }) => {\n const customer = getCustomer()\n\n if (customer && customer['2fa_enabled_at'] !== null && customer['2fa_session_verified'] === false) {\n return next('/2fa-verify')\n }\n\n if (!customer) {\n const response = await fetchCustomer()\n\n if (response.status === 200) {\n await setCustomer(JSON.stringify(response.data.customer))\n return next()\n }\n\n unsetCustomer()\n return next('/login')\n }\n\n if (!customer.email_verified_at) {\n return next('/verify')\n }\n\n if (customer && customer.migration_completed_at === null && customer.legacy_account === true) {\n return next('/migrate')\n }\n\n return next()\n}\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n path: '/',\n name:'Dashboard',\n component: () => import('@/pages/dashboard/Dashboard'),\n meta: {\n title: 'servinga Cloud - Dashboard',\n middleware: Auth,\n auth: true\n }\n },\n]\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n name: 'Balance',\n path: '/payment/balance',\n component: () => import('@/pages/payment/balance/Balance'),\n meta: {\n title: 'servinga Cloud - Balance',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Invoice',\n path: '/payment/invoice',\n component: () => import('@/pages/payment/invoice/Invoice'),\n meta: {\n title: 'servinga Cloud - Invoice',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Transaction',\n path: '/payment/transaction',\n component: () => import('@/pages/payment/transaction/Transaction'),\n meta: {\n title: 'servinga Cloud - Transaction',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Payment Intent Completed',\n path: '/payment/charge/:transactionId/completed',\n component: () => import('@/pages/payment/payment/PaymentComplete'),\n meta: {\n title: 'servinga Cloud - Payment Completed',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Payment Intent Cancelled',\n path: '/payment/charge/:transactionId/cancelled',\n component: () => import('@/pages/payment/payment/PaymentCancelled'),\n meta: {\n title: 'servinga Cloud - Payment Cancelled',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Affiliate',\n path: '/payment/affiliate',\n component: () => import('@/pages/payment/affiliate/Affiliate'),\n meta: {\n title: 'servinga Cloud - Affiliate',\n middleware: Auth,\n auth: true\n }\n }\n];\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n name: 'Profile Data',\n path: '/profile/edit/data',\n component: () => import('@/pages/profile/PersonalData'),\n meta: {\n title: 'servinga Cloud - Profile Data',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Second Factor',\n path: '/profile/edit/second-factor',\n component: () => import('@/pages/profile/SecondFactor'),\n meta: {\n title: 'servinga Cloud - Second Factor',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Linked Accounts',\n path: '/profile/edit/linked-accounts',\n component: () => import('@/pages/profile/SocialAccount'),\n meta: {\n title: 'servinga Cloud - Linked Accounts',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Security',\n path: '/profile/edit/security',\n component: () => import('@/pages/profile/Security'),\n meta: {\n title: 'servinga Cloud - Security',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Email',\n path: '/profile/edit/email',\n component: () => import('@/pages/profile/Email'),\n meta: {\n title: 'servinga Cloud - Email',\n middleware: Auth,\n auth: true\n\n }\n },\n {\n name: 'Verification',\n path: '/profile/edit/verification',\n component: () => import('@/pages/profile/Verification'),\n meta: {\n title: 'servinga Cloud - Verification',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'SMS Verification',\n path: '/profile/edit/sms-verification',\n component: () => import('@/pages/profile/SMSVerification'),\n meta: {\n title: 'servinga Cloud - SMS Verification',\n middleware: Auth,\n auth: true\n }\n }\n];\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n name: 'Support Tickets',\n path: '/support/ticket',\n component: () => import('@/pages/support/ticket/Ticket'),\n meta: {\n title: 'servinga Cloud - Support Tickets',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Create Ticket',\n path: '/support/ticket/create',\n component: () => import('@/pages/support/ticket/CreateTicket'),\n meta: {\n title: 'servinga Cloud - Create Ticket',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Show Tickets',\n path: '/support/ticket/:ticketId',\n component: () => import('@/pages/support/ticket/ShowTicket'),\n meta: {\n title: 'servinga Cloud - Support Ticket ',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Abuse Management',\n path: '/support/abuse',\n component: () => import('@/pages/support/abuse/Abuse'),\n meta: {\n title: 'servinga Cloud - Abuse',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Create Abuse',\n path: '/support/abuse/create/:abuseId',\n component: () => import('@/pages/support/abuse/CreateAbuse'),\n meta: {\n title: 'servinga Cloud - Abuse',\n middleware: Auth,\n auth: true\n }\n }\n];\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n name: 'Announcements',\n path: '/announcement',\n component: () => import('@/pages/announcement/Announcement'),\n meta: {\n title: 'servinga Cloud - Announcements',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'AnnouncementDetails',\n path: '/announcement/:id',\n component: () => import('@/pages/announcement/AnnouncementDetails'),\n meta: {\n title: 'servinga Cloud - Announcement Details',\n middleware: Auth,\n auth: true\n }\n }\n];\n","import Auth from '@/middlewares/auth'\n\nexport default [\n {\n name: 'Server',\n path: '/service/server',\n component: () => import('@/pages/service/server/Server'),\n meta: {\n title: 'servinga Cloud - Server',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Delete',\n path: '/service/server/:id/delete',\n component: () => import('@/pages/service/server/show/Delete'),\n meta: {\n title: 'servinga Cloud - Delete Server',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Disks',\n path: '/service/server/:id/disks',\n component: () => import('@/pages/service/server/show/Disks'),\n meta: {\n title: 'servinga Cloud - Server Disks',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Network',\n path: '/service/server/:id/network',\n component: () => import('@/pages/service/server/show/Network'),\n meta: {\n title: 'servinga Cloud - Server Network',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Overview',\n path: '/service/server/:id/overview',\n component: () => import('@/pages/service/server/show/Overview'),\n meta: {\n title: 'servinga Cloud - Server Overview',\n middleware: Auth,\n auth: true\n }\n },\n {\n path: '/service/server/:id',\n redirect: {\n name: 'Overview'\n },\n meta: {\n title: 'servinga Cloud - Server Overview',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Application',\n path: '/service/server/:id/application',\n component: () => import('@/pages/service/server/show/Application'),\n meta: {\n title: 'servinga Cloud - Server Application',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Snapshots',\n path: '/service/server/:id/snapshots',\n component: () => import('@/pages/service/server/show/Snapshots'),\n meta: {\n title: 'servinga Cloud - Server Snapshots',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Backup',\n path: '/service/server/:id/backup',\n component: () => import('@/pages/service/server/show/Backup'),\n meta: {\n title: 'servinga Cloud - Server Backup',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Rescue',\n path: '/service/server/:id/rescue',\n component: () => import('@/pages/service/server/show/Rescue'),\n meta: {\n title: 'servinga Cloud - Rescue',\n middleware: Auth,\n auth: true\n }\n },\n\n {\n name: 'Upgrades',\n path: '/service/server/:id/upgrades',\n component: () => import('@/pages/service/server/show/Upgrade'),\n meta: {\n title: 'servinga Cloud - Server Upgrades',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Reinstall',\n path: '/service/server/:id/reinstall',\n component: () => import('@/pages/service/server/show/ReInstall'),\n meta: {\n title: 'servinga Cloud - Reinstall Server',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'VNC',\n path: '/service/server/:id/vnc',\n component: () => import('@/pages/service/server/show/Vnc'),\n meta: {\n title: 'servinga Cloud - Server VNC',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Statistics',\n path: '/service/server/:id/statistics',\n component: () => import('@/pages/service/server/show/Statistics'),\n meta: {\n title: 'servinga Cloud - Server Statistics',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Settings',\n path: '/service/server/:id/settings',\n component: () => import('@/pages/service/server/show/Settings'),\n meta: {\n title: 'servinga Cloud - Server Settings',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Create',\n path: '/service/server/create',\n component: () => import('@/pages/service/server/CreateServer'),\n meta: {\n title: 'servinga Cloud - Create Server',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'SshKey',\n path: '/service/ssh-key',\n component: () => import('@/pages/service/ssh-key/SshKey'),\n meta: {\n title: 'servinga Cloud - SSH Key',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'SshKeyCreate',\n path: '/service/ssh-key/create',\n component: () => import('@/pages/service/ssh-key/Create'),\n meta: {\n title: 'servinga Cloud - Create SSH Key',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'ImportGithub',\n path: '/service/ssh-key/import-github',\n component: () => import('@/pages/service/ssh-key/ImportGithub'),\n meta: {\n title: 'servinga Cloud - Import Github',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'ImportGithub',\n path: '/service/reinstall',\n component: () => import('@/pages/service/server/show/ReInstall'),\n meta: {\n title: 'servinga Cloud - ReInstall',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Private Network',\n path: '/service/private-network',\n component: () => import('@/pages/service/private-network/PrivateNetwork'),\n meta: {\n title: 'servinga Cloud - Server Private Network',\n middleware: Auth,\n auth: true\n }\n },\n {\n name: 'Create Private Network',\n path: '/service/private-network/create',\n component: () => import('@/pages/service/private-network/CreatePrivateNetwork'),\n meta: {\n title: 'servinga Cloud - Create Private Network',\n middleware: Auth,\n auth: true\n }\n },\n];\n","import { createRouter, createWebHistory } from 'vue-router'\nimport auth from './routes/auth'\nimport dashboard from './routes/dashboard'\nimport payment from './routes/payment'\nimport profile from './routes/profile'\nimport support from './routes/support'\nimport announcements from './routes/announcements'\nimport service from './routes/service'\nimport store from '../store'\n\nconst routes = [\n ...auth,\n ...dashboard,\n ...profile,\n ...payment,\n ...support,\n ...announcements,\n ...service\n]\n\nconst router = createRouter({\n history: createWebHistory(),\n routes,\n scrollBehavior(to, from, savedPosition) {\n if (to.hash) {\n return {\n el: to.hash.replace('#/', '#'),\n behavior: 'smooth',\n }\n }\n }\n})\n\nfunction nextFactory(context, middleware, index) {\n const subsequentMiddleware = middleware[index]\n\n if (!subsequentMiddleware) return context.next\n\n return (...parameters) => {\n\n context.next(...parameters)\n\n const nextMiddleware = nextFactory(context, middleware, index + 1)\n subsequentMiddleware({ next: nextMiddleware })\n }\n}\n\nrouter.beforeEach((to, from, next) => {\n if (!to.meta.auth && to.fullPath === '/') {\n return next({ path: '/login' })\n }\n\n if (to.meta.middleware) {\n const middleware = Array.isArray(to.meta.middleware) ? to.meta.middleware : [to.meta.middleware]\n const context = { from, next, router, to }\n const nextMiddleware = nextFactory(context, middleware, 1)\n\n return middleware[0]({ ...context, next: nextMiddleware })\n }\n\n return next()\n})\n\nrouter.beforeEach((to, from, next) => {\n if (to.fullPath !== from.fullPath) {\n store.dispatch('cancel_pending_requests')\n }\n\n const nearestWithTitle = to.matched.slice().reverse().find(r => r.meta && r.meta.title)\n const nearestWithMeta = to.matched.slice().reverse().find(r => r.meta && r.meta.metaTags)\n const previousNearestWithMeta = from.matched.slice().reverse().find(r => r.meta && r.meta.metaTags)\n\n if (nearestWithTitle) {\n document.title = nearestWithTitle.meta.title\n } else if (previousNearestWithMeta) {\n document.title = previousNearestWithMeta.meta.title\n }\n\n Array.from(document.querySelectorAll('[data-vue-router-controlled]')).map(el => el.parentNode.removeChild(el))\n\n if (!nearestWithMeta) return next()\n\n nearestWithMeta.meta.metaTags.map(tagDef => {\n const tag = document.createElement('meta')\n\n Object.keys(tagDef).forEach(key => {\n tag.setAttribute(key, tagDef[key])\n })\n\n tag.setAttribute('data-vue-router-controlled', '')\n\n return tag\n })\n .forEach(tag => document.head.appendChild(tag))\n\n next()\n})\n\nrouter.beforeEach((to, from, next) => {\n if (window.localStorage.getItem('customer') && to.fullPath !== '/announcement' && to.fullPath !== '/migrate' && to.fullPath !== '/2fa-verify') {\n\n if (store.getters.announcementTimestamp) {\n const diffMin = ((new Date() - new Date(store.getters.announcementTimestamp) % 86400000) % 3600000) / 60000\n\n if (diffMin > 1) {\n store.dispatch('getAnnouncements')\n }\n } else {\n store.dispatch('getAnnouncements')\n }\n }\n return next()\n})\n\nexport default router\n","import router from '@/router';\n\n/**\n *\n * @type {string}\n */\nconst API_TOKEN_KEY = 'token';\n\n/**\n *\n * @type {string}\n */\nconst TOKEN_EXPIRED_DATE = 'tokenExpiredDate';\n\n/**\n *\n * @type {string}\n */\nconst REDIRECT_TO_AUTH_ROUTE = '/';\n\n\n/**\n * @returns {string|null}\n */\nexport const getToken = () => localStorage.getItem(API_TOKEN_KEY);\n\n/**\n * @returns {void}\n */\nexport const setToken = async (token) => await localStorage.setItem(API_TOKEN_KEY, token);\n\n/**\n *\n * @param token\n * @param tokenExpiredDate\n * @param remember\n * @returns {Promise}\n */\nexport const setAuthorizedUserCredentials = async (token, tokenExpiredDate, remember) => {\n await setToken(token);\n await redirectToAuthRoute();\n setTokenExpiredDate(tokenExpiredDate);\n setIsRemember(remember);\n}\n\nexport const setAuthorizedUserRefreshTokenSuccess = async (token, tokenExpiredDate, remember) => {\n await setToken(token);\n await setTokenExpiredDate(tokenExpiredDate);\n await setIsRemember(remember);\n};\n\n/**\n *\n * @param tokenExpiredDate\n */\nconst setTokenExpiredDate = async (tokenExpiredDate) => await localStorage.setItem(TOKEN_EXPIRED_DATE, tokenExpiredDate);\n\n/**\n *\n * @param remember\n */\nconst setIsRemember = async (remember) => await localStorage.setItem('remember', remember);\n\n/**\n *\n * @param customer\n */\nexport const setCustomer = async (customer) => {\n await localStorage.setItem('customer', customer);\n}\n\n/**\n *\n * @param customer\n */\nexport const getCustomer = () => JSON.parse(localStorage.getItem('customer'));\n\n/**\n * @returns {void}\n */\nexport const unsetCustomer = async () => {\n localStorage.clear();\n await router.push({ path: '/login' }).catch(() => {});\n}\n\n/**\n *\n * @returns {Promise}\n */\nconst redirectToAuthRoute = async () => await router.push({ path: REDIRECT_TO_AUTH_ROUTE }).catch(() => {});\n\n/**\n * @returns {void}\n */\nexport const unsetToken = async () => {\n localStorage.clear();\n await router.push({ path: '/login' }).catch(() => {});\n}\n","import axios from 'axios'\nimport { getToken, unsetToken, unsetCustomer } from '@/configs/axios/token'\nimport { createToaster } from '@meforma/vue-toaster'\nimport store from '@/store'\nimport router from '@/router'\n\n/**\n * @returns {axiosInstance}\n */\nexport const getInstance = () => {\n const toaster = createToaster()\n\n const axiosInstance = axios.create({\n headers: {\n 'Accept': 'application/json',\n },\n 'default': {\n withCredentials: true\n }\n })\n\n // Cancel Token Request Interceptor\n axiosInstance.interceptors.request.use( config => {\n let source = axios.CancelToken.source()\n\n config.cancelToken = source.token\n\n store.commit('add_cancel_token', source)\n\n return config\n }, error => {\n return Promise.reject(error)\n })\n\n axiosInstance.interceptors.response.use((r) => r, async ({response}) => {\n if (response && response.status === 401) {\n if (response.data.error === 'unauthorized.second-factor-required') {\n router.push('/2fa-verify');\n } else {\n // clear customer data in local storage and redirect to login page\n unsetToken()\n }\n }\n\n if (response && response.status === 403 && response.error === 'unauthorized.account-suspended') {\n unsetCustomer()\n }\n\n if (response && response.status >= 500) {\n toaster.error('We couldn\\'t process your request at the moment. Please try again later')\n }\n\n return response\n })\n\n return axiosInstance\n}\n\n\nexport const getInstanceWithToken = () => {\n const token = getToken()\n\n return getInstance({\n headers: token ? { Authorization: `Bearer ${token}`} : {}\n })\n}\n\nexport const CsrfInstance = axios.create({\n headers: {\n 'Accept': 'application/json',\n }\n})\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchCustomer = async () => {\n return getInstance().get('/api/customer/v1/customer')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchSetCustomerLocale = async (locale) => {\n return getInstance().patch('/api/customer/v1/profile/locale', { locale })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerMigrate = async (data) => {\n return getInstance().post('/api/customer/v1/profile/migrate', data)\n .catch(function (error) {\n return error.response\n })\n}","import login from './auth/login.json'\nimport register from './auth/register.json'\nimport profileCompletion from './auth/profileCompletion.json'\nimport passwordRequest from './auth/passwordRequest.json'\nimport passwordReset from './auth/passwordReset.json'\nimport twoFaAuth from './auth/2faAuth.json'\nimport migrate from './auth/migrate.json'\nimport customerNavigation from './customer/navigation.json'\nimport announcements from './customer/announcements.json'\nimport abuseManagement from './customer/abuseManagement.json'\nimport dashboard from './customer/dashboard.json'\nimport profile from './customer/profile.json'\nimport support from './customer/support.json'\nimport balance from './payment/balance.json'\nimport invoice from './payment/invoice.json'\nimport payment from './payment/payment.json'\nimport sshKey from './service/sshKey.json'\nimport upgrade from './service/upgrade.json'\nimport server from './service/server.json'\nimport disk from './service/disk.json'\nimport ip from './service/ip.json'\nimport chart from './service/chart.json'\nimport overview from './service/overview.json'\nimport privateNetwork from './service/privateNetwork.json'\nimport transaction from './payment/transaction.json'\nimport headers from './headers.json'\nimport countries from './countries.json'\nimport validation from './validation.json'\nimport global from './global.json'\nimport commonNavigation from './common/navigation.json'\nimport commonGlobal from './common/global.json'\nimport tickets from './support/tickets.json'\nimport abuse from './support/abuse.json'\nimport snapshot from './service/snapshot.json'\nimport backup from './service/backup.json'\nimport network from './service/network.json'\nimport affiliate from './payment/affiliate.json'\n\nexport default {\n login,\n register,\n profileCompletion,\n passwordRequest,\n passwordReset,\n twoFaAuth,\n migrate,\n customerNavigation,\n announcements,\n abuseManagement,\n dashboard,\n profile,\n support,\n balance,\n invoice,\n payment,\n sshKey,\n upgrade,\n headers,\n countries,\n validation,\n global,\n commonNavigation,\n commonGlobal,\n transaction,\n tickets,\n server,\n disk,\n ip,\n chart,\n overview,\n privateNetwork,\n abuse,\n snapshot,\n backup,\n network,\n affiliate,\n}\n","import login from './auth/login.json'\nimport register from './auth/register.json'\nimport profileCompletion from './auth/profileCompletion.json'\nimport passwordRequest from './auth/passwordRequest.json'\nimport passwordReset from './auth/passwordReset.json'\nimport twoFaAuth from './auth/2faAuth.json'\nimport migrate from './auth/migrate.json'\nimport customerNavigation from './customer/navigation.json'\nimport announcements from './customer/announcements.json'\nimport abuseManagement from './customer/abuseManagement.json'\nimport dashboard from './customer/dashboard.json'\nimport profile from './customer/profile.json'\nimport support from './customer/support.json'\nimport balance from './payment/balance.json'\nimport invoice from './payment/invoice.json'\nimport payment from './payment/payment.json'\nimport sshKey from './service/sshKey.json'\nimport upgrade from './service/upgrade.json'\nimport server from './service/server.json'\nimport disk from './service/disk.json'\nimport ip from './service/ip.json'\nimport chart from './service/chart.json'\nimport overview from './service/overview.json'\nimport privateNetwork from './service/privateNetwork.json'\nimport transaction from './payment/transaction.json'\nimport headers from './headers.json'\nimport countries from './countries.json'\nimport validation from './validation.json'\nimport global from './global.json'\nimport commonNavigation from './common/navigation.json'\nimport commonGlobal from './common/global.json'\nimport tickets from './support/tickets.json'\nimport abuse from './support/abuse.json'\nimport snapshot from './service/snapshot.json'\nimport backup from './service/backup.json'\nimport network from './service/network.json'\nimport affiliate from './payment/affiliate.json'\n\nexport default {\n login,\n register,\n profileCompletion,\n passwordRequest,\n passwordReset,\n twoFaAuth,\n migrate,\n customerNavigation,\n announcements,\n abuseManagement,\n dashboard,\n profile,\n support,\n balance,\n invoice,\n payment,\n sshKey,\n upgrade,\n headers,\n countries,\n validation,\n global,\n commonNavigation,\n commonGlobal,\n transaction,\n tickets,\n server,\n disk,\n ip,\n chart,\n overview,\n privateNetwork,\n abuse,\n snapshot,\n backup,\n network,\n affiliate,\n}\n","import deVPS2DAY from './de/vps2day';\nimport deCLOUD2DAY from './de/cloud2day';\nimport enVPS2DAY from './en/vps2day';\nimport enCLOUD2DAY from './en/cloud2day';\n\nconst label = import.meta.env.VITE_LABEL;\n\nexport default {\n de: label === 'VPS2DAY' ? deVPS2DAY : deCLOUD2DAY,\n en: label === 'VPS2DAY' ? enVPS2DAY : enCLOUD2DAY\n};\n","import { createI18n } from 'vue-i18n';\nimport { useCookies } from 'vue3-cookies';\nimport locales from '@/locales';\n\nconst { cookies } = useCookies();\nconst locale = cookies.get('locale') ?? import.meta.env.VITE_I18N_LOCALE;\n\nconst i18n = createI18n({\n legacy: false,\n globalInjection: true,\n locale: locale,\n fallbackLocale: import.meta.env.VITE_I18N_FALLBACK_LOCALE,\n messages: { ...locales }\n});\n\nexport default i18n;\n","import { fetchCustomer, fetchSetCustomerLocale, fetchCustomerMigrate } from '@/services/customer'\nimport { setCustomer, getCustomer } from '@/configs/axios/token'\nimport { useCookies } from 'vue3-cookies'\nimport i18n from '@/i18n'\n\nconst { cookies } = useCookies()\n\nconst initialState = {\n customer: [],\n isCustomerRegistrationCompleted: true,\n isMigrationSuccess: null,\n isMigrationSuccessMessage: '',\n migrationErrors: {}\n}\n\nexport default {\n state: initialState,\n getters: {\n customer: (state) => {\n let customer = state.customer\n\n if (!customer) {\n customer = getCustomer()\n }\n\n return customer\n },\n isCustomerRegistrationCompleted: (state) => state.isCustomerRegistrationCompleted,\n isMigrationSuccess: (state) => state.isMigrationSuccess,\n isMigrationSuccessMessage: (state) => state.isMigrationSuccessMessage,\n migrationErrors: (state) => state.migrationErrors,\n },\n mutations: {\n setInitialState(state) {\n state.customer = []\n },\n setInitialStateMigration(state) {\n state.isMigrationSuccess = false\n state.isMigrationSuccessMessage = ''\n state.migrationErrors = {}\n },\n setCustomer(state, payload) {\n state.customer = payload.customer\n },\n setIsCustomerRegistrationCompleted(state, payload) {\n state.isCustomerRegistrationCompleted = payload\n },\n setMigrationSuccess(state, payload) {\n state.migrationErrors = {}\n state.isMigrationSuccess = true\n state.isMigrationSuccessMessage = payload.message\n },\n setMigrationErrors(state, payload) {\n state.migrationSuccess = false\n state.isMigrationSuccessMessage = ''\n state.migrationErrors = payload\n }\n },\n actions: {\n async getCustomer({commit}) {\n await commit('setInitialState')\n\n const response = await fetchCustomer()\n\n if (response && response.status === 200) {\n await commit('setCustomer', response.data)\n await commit('setIsCustomerRegistrationCompleted', response.data.customer.registration_completed_at)\n await setCustomer(JSON.stringify(response.data.customer))\n\n if(response.data.customer.locale) {\n cookies.set('locale', response.data.customer.locale)\n i18n.global.locale.value = response.data.customer.locale\n }\n\n }\n },\n async setCustomerLocale({}, locale) {\n await fetchSetCustomerLocale(locale).then(() => {\n cookies.set('locale', locale)\n })\n },\n\n async customerMigrate({ commit }, data) {\n const response = await fetchCustomerMigrate(data)\n commit('setInitialStateMigration')\n\n if (response && response.status === 200) {\n commit('setMigrationSuccess', response.data)\n } else if (response) {\n commit('setMigrationErrors', response.data)\n } else {\n commit('setInitialStateMigration')\n }\n },\n },\n}\n","import { CsrfInstance } from '@/configs/axios'\n\nexport const CSRFRequest = async () => {\n return await CsrfInstance.get('/sanctum/csrf-cookie')\n}\n","import { getInstance } from '@/configs/axios'\nimport { CSRFRequest } from '@/services/auth/csrf'\n\nexport const fetchUserLogin = async (form) => {\n await CSRFRequest();\n\n return await getInstance().post('/api/customer/v1/auth/login', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchUserLogOut = async () => {\n return await getInstance().post('/api/customer/v1/auth/logout')\n}\n\nexport const fetchRefreshToken = async () => {\n return await getInstance().get('refresh')\n}\n","import { fetchRefreshToken, fetchUserLogin, fetchUserLogOut } from '@/services/auth/login'\nimport { setCustomer, setAuthorizedUserRefreshTokenSuccess, unsetCustomer } from '@/configs/axios/token'\nimport { useCookies } from 'vue3-cookies'\n\nconst initialState = {\n userLoginSuccess: false,\n userLoginError: false,\n userLoginErrorMessage: []\n}\n\nconst { cookies } = useCookies()\n\nexport default {\n state: initialState,\n getters: {\n userLoginSuccess: state => state.userLoginSuccess,\n loginResponseMessage: state => state.userLoginErrorMessage,\n userLoginError: state => state.userLoginError\n },\n mutations:{\n setInitialState(state) {\n state.userLoginSuccess = false\n state.userLoginError = false\n state.userLoginErrorMessage = []\n },\n async setUserLoginSuccess(state, payload) {\n state.userLoginSuccess = true\n state.userLoginError = false\n // await setAuthorizedUserCredentials(token, tokenExpiredDate, remember)\n },\n setUserLoginError(state, payload) {\n state.userLoginSuccess = false\n state.userLoginError = true\n state.userLoginErrorMessage = payload\n },\n async setUserRefreshTokenSuccess(state, { tokenExpiredDate, token, remember }) {\n await setAuthorizedUserRefreshTokenSuccess(token, tokenExpiredDate, remember)\n }\n },\n actions: {\n async userLogin({ commit, dispatch }, form) {\n await commit('setInitialState')\n\n const response = await fetchUserLogin(form)\n\n if (response && response.status === 200) {\n await setCustomer(JSON.stringify(response.data.customer))\n await commit('setUserLoginSuccess', response.data)\n\n if(cookies.get('locale')) {\n await dispatch('setCustomerLocale', cookies.get('locale'))\n }\n\n } else if (response) {\n commit('setUserLoginError', response.data)\n }\n },\n async userLogOut() {\n await fetchUserLogOut().then(() => {\n unsetCustomer()\n })\n },\n async refreshToken({ commit }) {\n const response = await fetchRefreshToken()\n\n if (response && response.status === 200) {\n await commit('setUserRefreshTokenSuccess', response.data.data)\n } else if (response) {\n commit('setUserRefreshTokenError', response.data)\n }\n }\n }\n}\n","import { getInstance } from '@/configs/axios'\nimport { CSRFRequest } from '@/services/auth/csrf'\nimport moment from 'moment-timezone'\n\nexport const fetchUserRegistration = async (form) => {\n await CSRFRequest()\n\n const timezone = moment.tz.guess()\n const payload = { ...form, timezone }\n\n return await getInstance().post('/api/customer/v1/auth/register', payload)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchProfileCompletion = async (form) => {\n const timezone = moment.tz.guess()\n const payload = { ...form, timezone }\n\n return await getInstance().post('/api/customer/v1/profile/complete', payload)\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchUserRegistration } from '@/services/auth/registration'\n\nconst initialState = {\n userRegistrationSuccess: false,\n userRegistrationSuccessMessage: '',\n userRegistrationError: false,\n userRegistrationErrorMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n registrationMessage: state => state.userRegistrationSuccessMessage,\n registrationResponseMessage: state => state.userRegistrationErrorMessage,\n userRegistrationError: state => state.userRegistrationError\n },\n mutations: {\n setInitialState(state) {\n state.userRegistrationSuccess = false\n state.userRegistrationSuccessMessage = ''\n state.userRegistrationError = false\n state.userRegistrationErrorMessage = []\n },\n async setUserRegistrationSuccess(state, payload) {\n state.userRegistrationSuccess = true\n state.userRegistrationError = false\n state.userRegistrationSuccessMessage = payload.customer\n },\n setUserRegistrationError(state, payload) {\n state.userRegistrationSuccess = false\n state.userRegistrationSuccessMessage = ''\n state.userRegistrationError = true\n state.userRegistrationErrorMessage = payload\n }\n },\n actions: {\n async userRegistration({ commit }, form) {\n await commit('setInitialState')\n\n const response = await fetchUserRegistration(form)\n\n if (response && response.status === 200) {\n // Track the registered-account goal\n window._paq.push(['trackGoal', import.meta.env.VITE_MATOMO_REGISTERED_GOAL]);\n\n await commit('setUserRegistrationSuccess', response.data)\n } else if (response) {\n commit('setUserRegistrationError', response.data)\n }\n },\n resetRegistrationMessage({ commit }) {\n commit('setInitialState');\n }\n }\n}\n","import { fetchProfileCompletion } from '@/services/auth/registration'\n\nconst initialState = {\n profileCompletionSuccess: false,\n profileCompletionSuccessMessage: '',\n profileCompletionError: false,\n profileCompletionErrorMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n profileCompletionMessage: state => state.profileCompletionSuccessMessage,\n profileCompletionResponseMessage: state => state.profileCompletionErrorMessage,\n profileCompletionSuccess: state => state.profileCompletionSuccess,\n profileCompletionError: state => state.profileCompletionError\n },\n mutations: {\n setInitialState(state) {\n state.profileCompletionSuccess = false\n state.profileCompletionSuccessMessage = ''\n state.profileCompletionError = false\n state.profileCompletionErrorMessage = []\n },\n async setProfileCompletionSuccess(state, payload) {\n state.profileCompletionSuccess = true\n state.profileCompletionError = false\n state.profileCompletionSuccessMessage = payload.customer\n },\n setProfileCompletionError(state, payload) {\n state.profileCompletionSuccess = false\n state.profileCompletionSuccessMessage = ''\n state.profileCompletionError = true\n state.profileCompletionErrorMessage = payload\n }\n },\n actions: {\n async profileCompletion({ commit }, form) {\n await commit('setInitialState')\n\n const response = await fetchProfileCompletion(form)\n\n if (response && response.status === 200) {\n // Track the registered-account goal\n // window._paq.push(['trackGoal', import.meta.env.VITE_MATOMO_REGISTERED_GOAL]);\n\n await commit('setProfileCompletionSuccess', response.data)\n } else if (response && response.data.code === \"profile.already-completed\") {\n await commit('setProfileCompletionSuccess', response.data)\n } else if (response) {\n commit('setProfileCompletionError', response.data)\n }\n }\n }\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchPasswordForget = async (form) => {\n return await getInstance().post('/api/customer/v1/auth/password/email', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchPasswordForget } from '@/services/auth/forgot-password'\n\nconst initialState = {\n forgotPasswordSuccess: false,\n forgotPasswordError: false,\n forgotPasswordMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n forgotPasswordSuccess: state => state.forgotPasswordSuccess,\n forgotPasswordMessage: state => state.forgotPasswordMessage,\n forgotPasswordError: state => state.forgotPasswordError\n },\n mutations:{\n setInitialState(state) {\n state.forgotPasswordError = false\n state.forgotPasswordSuccess = false\n state.forgotPasswordMessage = []\n },\n setSuccess(state, payload) {\n state.forgotPasswordSuccess = true\n state.forgotPasswordError = false\n state.forgotPasswordMessage = payload\n },\n setError(state, payload) {\n state.forgotPasswordError = true\n state.forgotPasswordMessage = payload\n }\n },\n actions: {\n async forgotPassword({ commit }, form) {\n commit('setInitialState')\n\n const response = await fetchPasswordForget(form)\n if (response && response.status === 204) {\n commit('setSuccess', response.data)\n } else if (response) {\n commit('setError', response.data)\n }\n }\n }\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchPasswordReset = async (form) => {\n return await getInstance().post('/api/customer/v1/auth/password/reset', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchPasswordReset } from '@/services/auth/reset-password'\n\nconst initialState = {\n resetPasswordSuccess: false,\n resetPasswordError: false,\n resetPasswordMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n resetPasswordSuccess: state => state.resetPasswordSuccess,\n resetPasswordMessage: state => state.resetPasswordMessage,\n resetPasswordError: state => state.resetPasswordError\n },\n mutations:{\n setInitialState(state) {\n state.resetPasswordError = false\n state.resetPasswordSuccess = false\n state.resetPasswordMessage = []\n },\n setSuccessReset(state, payload) {\n state.resetPasswordSuccess = true\n state.resetPasswordError = false\n state.resetPasswordMessage = payload\n },\n setError(state, payload) {\n state.resetPasswordError = true\n state.resetPasswordMessage = payload\n }\n },\n actions: {\n async resetData({ commit }) {\n commit('setInitialState')\n },\n\n async resetPassword({ commit }, form) {\n commit('setInitialState')\n\n const response = await fetchPasswordReset(form)\n\n if (response && response.status === 200) {\n commit('setSuccessReset', response.data)\n } else if (response) {\n commit('setError', response.data)\n }\n }\n }\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchTickets = async (filter) => {\n return getInstance().get(`/api/customer/v1/support/tickets?${filter}`)\n .catch(function (error) {\n return error.response\n })\n}","import { fetchTickets } from '@/services/support/tickets'\n\n/**\n *\n * @type {TicketsInitialState}\n */\nconst initialState = {\n tickets: [],\n ticketsOpenCount: 0,\n ticketsClosedCount: 0,\n isRateRating: false,\n ticketsSuccess: false,\n ticketsError: false,\n ticketsErrorMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n tickets: (state) => state.tickets,\n ticketsOpenCount: (state) => state.ticketsOpenCount,\n ticketsClosedCount: (state) => state.ticketsClosedCount,\n isLoading: (state) => state.isLoading,\n isRateRating: (state) => state.isRateRating,\n ticketsResponseMessage: (state) => state.ticketsErrorMessage,\n ticketsError: (state) => state.ticketsError\n },\n mutations: {\n setInitialState(state) {\n state.ticketsSuccess = false\n state.ticketsError = false\n state.ticketsErrorMessage = []\n },\n async setTicketsSuccess(state, payload) {\n state.ticketsSuccess = true\n state.ticketsError = false\n },\n setTicketsError(state, payload) {\n state.ticketsSuccess = false\n state.ticketsError = true\n state.ticketsErrorMessage = payload\n },\n setTickets(state, payload) {\n state.tickets = payload.tickets\n state.ticketsOpenCount = payload.tickets.length\n },\n setClosedTickets(state, payload) {\n state.tickets = state.tickets.concat(payload.tickets)\n state.ticketsClosedCount = payload.tickets.length\n }\n },\n actions: {\n async getTickets({commit}, filter) {\n const response = await fetchTickets(filter)\n\n if (response && response.status === 200) {\n if (filter) {\n await commit('setClosedTickets', response.data)\n } else {\n await commit('setTickets', response.data)\n }\n } else if(response) {\n commit('setTicketsError', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchTicket = async (ticketId) => {\n return getInstance().get(`/api/customer/v1/support/tickets/${ticketId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const createTicket = async (form) => {\n return await getInstance()\n .post('/api/customer/v1/support/tickets', {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const rateTicket = async (ticketId, form) => {\n return await getInstance()\n .post(`/api/customer/v1/support/tickets/${ticketId}/rating`, {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const closeTicket = async (form, ticketId) => {\n return await getInstance()\n .patch(`/api/customer/v1/support/tickets/${ticketId}`, {...form})\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchTicket, closeTicket, createTicket, rateTicket } from '@/services/support/tickets/ticket'\nimport { getCustomer } from '@/configs/axios/token'\n\nconst initialState = {\n ticket: {\n subject: '',\n status: '',\n attachments: [],\n messages: []\n },\n createdTicket: null,\n ticketErrors: false,\n ticketErrorMessages: [],\n ticketCreateSuccess: false,\n ticketCreateError: false,\n ticketCreateErrorMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n ticket: (state) => state.ticket,\n ticketErrors: (state) => state.ticketErrors,\n ticketErrorMessages: (state) => state.ticketErrorMessages,\n createdTicket: (state) => state.createdTicket,\n ticketCreateError: (state) => state.ticketCreateError,\n ticketCreateErrorMessage: (state) => state.ticketCreateErrorMessage,\n },\n mutations: {\n setInitialState(state) {\n state.ticket = {\n subject: '',\n status: '',\n attachments: [],\n messages: []\n }\n state.ticketsError = false\n state.ticketsErrorMessage = []\n },\n async setTicketSuccess(state) {\n state.ticketsSuccess = true\n state.ticketsError = false\n },\n setTicketError(state, payload) {\n state.ticketsSuccess = false\n state.ticketsError = true\n state.ticketsErrorMessage = payload\n },\n setTicketCreateError(state, payload) {\n state.ticketCreateSuccess = false\n state.ticketCreateError = true\n state.ticketCreateErrorMessage = payload\n },\n setTicket(state, payload) {\n state.ticket = {\n ...state.ticket,\n ...payload.ticket\n }\n },\n setCreatedTicket(state, payload) {\n state.createdTicket = payload.ticket\n }\n },\n actions: {\n async getTicket({commit}, ticketId) {\n await commit('setInitialState')\n\n const response = await fetchTicket(ticketId)\n\n if (response && response.status === 200) {\n await commit('setTicket', response.data)\n await commit('setCustomer', getCustomer())\n } else {\n commit('setTicketsError', response.data)\n }\n },\n async rateTicket({commit}, data) {\n await rateTicket(data.ticketId, data.form)\n },\n async createTicket({commit}, data) {\n const response = await createTicket(data)\n\n if (response && response.status === 201) {\n await commit('setCreatedTicket', response.data)\n } else if(response.status === 429) {\n const error = {\n errors: {\n message: [],\n codeManyRequest: 'tickets.messageCreationRateLimit'\n }\n }\n\n commit('setTicketCreateError', error)\n } else {\n commit('setTicketCreateError', response.data)\n }\n },\n async closeTicket({commit}, data) {\n const response = await closeTicket(data.status, data.ticketId)\n\n if (response && response.status === 200) {\n await commit('setTicketsSuccess', response.data)\n } else if(response) {\n commit('setTicketsError', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const sendMessage = async (form, ticketId) => {\n return await getInstance()\n .post(`/api/customer/v1/support/tickets/${ticketId}/message`, {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const sendFile = async (data, ticketId) => {\n const config = {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }\n\n return await getInstance()\n .post(`/api/customer/v1/support/tickets/${ticketId}/attachment`, data, config)\n .catch(function (error) {\n return error.response\n })\n}","import { sendMessage, sendFile } from '@/services/support/tickets/messages'\n\nconst initialState = {\n msg: null,\n msgSuccess: false,\n msgError: false,\n msgErrorMessage: {},\n fileSuccess: false,\n fileError: false,\n fileErrorMessage: {},\n}\n\nexport default {\n state: initialState,\n getters: {\n getMessage: (state) => state.msg,\n getMessageErrors: (state) => state.msgErrorMessage\n },\n mutations: {\n setInitialState(state) {\n state.msg = null\n state.msgSuccess = false\n state.msgError = false\n state.msgErrorMessage = []\n },\n async setMessagesSuccess(state, payload) {\n state.msgSuccess = true\n state.msg = payload.message\n },\n setMessagesError(state, payload) {\n state.msgError = true\n state.msgErrorMessage = payload\n },\n\n async setFileSuccess(state, payload) {\n state.fileSuccess = true\n },\n setFileError(state, payload) {\n state.fileError = true\n state.fileErrorMessage = payload\n },\n },\n actions: {\n async sendMessage({commit}, data) {\n const response = await sendMessage(data.form, data.ticketId)\n\n if (response && response.status === 201) {\n await commit('setMessagesSuccess', response.data)\n } else if(response.status === 429) {\n const error = {\n errors: {\n message: [],\n codeManyRequest: 'tickets.messageCreationRateLimit'\n }\n }\n\n commit('setMessagesError', error)\n } else if(response) {\n commit('setMessagesError', response.data)\n }\n },\n\n async sendFile({ commit }, data) {\n const promise = []\n\n data.files.forEach((item) => {\n const formData = new FormData()\n formData.append('attachment', item)\n\n promise.push(sendFile(formData, data.ticketId))\n })\n\n const failed = await Promise.all(promise).then(data => {\n const failedUploadsIndex = []\n\n data.forEach((item, idx) => {\n if (item.status !== 204) {\n failedUploadsIndex.push(idx)\n }\n })\n\n return failedUploadsIndex\n })\n\n return {\n failed\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchAbuseCases = async () => {\n return getInstance().get('/api/customer/v1/support/abuse')\n}\n\nexport const fetchAbuseCase = async (abuseId) => {\n return getInstance().get(`/api/customer/v1/support/abuse/${abuseId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const submitAbuseStatement = async (form, abuseId) => {\n return await getInstance()\n .post(`/api/customer/v1/support/abuse/${abuseId}/statement`, {...form})\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchAbuseCases, fetchAbuseCase, submitAbuseStatement } from '@/services/support/abuse'\nimport router from \"@/router\";\n\n/**\n *\n * @type {AbuseInitialState}\n */\nconst initialState = {\n abuseCase: {},\n abuseCases: [],\n abuseSuccess: false,\n abuseStatementSuccess: false,\n abuseError: false,\n abuseErrorMessage: []\n}\n\nexport default {\n state: initialState,\n getters: {\n getAbuseCase: (state) => state.abuseCase,\n getAbuseCases: (state) => state.abuseCases,\n abuseStatementSuccess: (state) => state.abuseStatementSuccess,\n abuseErrorMessage: (state) => state.abuseErrorMessage\n },\n mutations: {\n setInitialState(state) {\n state.abuseCase = {}\n state.abuseCases = []\n state.abuseStatementSuccess = false\n state.abuseSuccess = false\n state.abuseError = false\n state.abuseErrorMessage = []\n },\n setAbuseCase(state, payload) {\n state.abuseCase = payload.abuseCase\n },\n setAbuseStatement(state, payload) {\n state.abuseStatementSuccess = payload\n },\n setAbuseSuccess(state, payload) {\n state.abuseSuccess = true\n state.abuseError = false\n state.abuseCases = payload?.abuseCases ?? []\n },\n setAbuseError(state, payload) {\n state.abuseSuccess = false\n state.abuseError = true\n state.abuseErrorMessage = payload\n }\n },\n actions: {\n async getAbuse({commit}) {\n await commit('setInitialState')\n\n const response = await fetchAbuseCases()\n\n if (response && response.status === 200) {\n await commit('setAbuseSuccess', response.data)\n } else if (response) {\n commit('setAbuseError', response.data)\n }\n },\n async getAbuseCase({commit}, abuseId) {\n await commit('setInitialState')\n\n const response = await fetchAbuseCase(abuseId)\n\n if (response && response.status === 200) {\n await commit('setAbuseCase', response.data)\n } else if (response && (response.status === 404 || response.status === 403)) {\n router.push('/support/abuse')\n } else {\n commit('setAbuseError', response.data)\n }\n },\n async submitAbuseStatement({commit, dispatch}, data) {\n const response = await submitAbuseStatement(data.form, data.abuseId)\n\n if (response && response.status === 204) {\n await commit('setAbuseStatement', response.data)\n } else if (response) {\n commit('setAbuseError', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchVoucher = async (form) => {\n return await getInstance()\n .post('/api/customer/v1/payment/voucher', {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchBalanceNotification = async (form) => {\n return await getInstance()\n .post('/api/customer/v1/payment/balance/notification-threshold', {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const chargeAccount = async (form) => {\n return await getInstance()\n .post('/api/customer/v1/payment/intent', {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchBalance = async () => {\n return getInstance().get('/api/customer/v1/payment/balance')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchAvailablePaymentMethods = async () => {\n return getInstance().get('/api/customer/v1/payment/methods')\n .catch(function (error) {\n return error.response\n })\n}\n","import {\n fetchVoucher,\n fetchBalanceNotification,\n chargeAccount,\n fetchBalance,\n fetchAvailablePaymentMethods\n} from '@/services/payments/balance'\n\nconst initialState = {\n balance: {\n formatted: 0\n },\n voucherData: {},\n voucherSuccess: false,\n voucherError: false,\n voucherErrorMessage: [],\n balanceNotificationSuccess: false,\n balanceNotificationError: false,\n balanceNotificationErrorMessage: [],\n accountChargeSuccess: [],\n accountChargeError: false,\n accountChargeErrorMessage: [],\n availablePaymentsMethods: []\n}\n\nexport default {\n state: initialState,\n getters: {\n availablePaymentsMethods: (state) => state.availablePaymentsMethods,\n getBalance: (state) => state.balance,\n getVoucherData: (state) => state.voucherData,\n getVoucherSuccess: (state) => state.voucherSuccess,\n getVoucherErrorMessages: (state) => state.voucherErrorMessage,\n getBalanceNotificationSuccess: (state) => state.balanceNotificationSuccess,\n getBalanceNotificationErrorMessages: (state) => state.balanceNotificationErrorMessage,\n accountChargeSuccess: (state) => state.accountChargeSuccess,\n accountChargeErrorMessages: (state) => state.accountChargeErrorMessage\n },\n mutations: {\n setInitialState(state) {\n state.voucherData = {}\n state.voucherSuccess = false\n state.voucherError = false\n state.voucherErrorMessage = []\n state.balanceNotificationSuccess = false\n state.balanceNotificationError = false\n state.balanceNotificationErrorMessage = []\n state.accountChargeSuccess = []\n state.accountChargeError = false\n state.accountChargeErrorMessage = []\n },\n setVoucherSuccess(state, payload) {\n state.voucherData = payload.voucher\n state.voucherSuccess = true\n state.voucherError = false\n state.voucherErrorMessage = []\n },\n setBalanceNotificationSuccess(state, payload) {\n state.balanceNotificationSuccess = true\n state.balanceNotificationError = false\n state.balanceNotificationErrorMessage = []\n },\n setAccountChargeSuccess(state, payload) {\n state.accountChargeSuccess = payload\n state.accountChargeError = false\n state.accountChargeErrorMessage = []\n },\n setVoucherError(state, payload) {\n state.voucherSuccess = false\n state.voucherError = true\n state.voucherErrorMessage = payload.errors\n },\n setBalanceNotificationError(state, payload) {\n state.balanceNotificationSuccess = false\n state.balanceNotificationError = true\n state.balanceNotificationErrorMessage = payload.errors\n },\n setAccountChargeError(state, payload) {\n state.accountChargeSuccess = false\n state.accountChargeError = true\n state.accountChargeErrorMessage = payload.errors ?? { serverError: true }\n },\n setAccountBalance(state, payload) {\n state.balance = payload.balance\n },\n setAvailablePaymentMethods(state, payload) {\n state.availablePaymentsMethods = payload.payment_systems\n }\n },\n actions: {\n async submitVoucherCode({ commit }, form) {\n await commit('setInitialState')\n\n const response = await fetchVoucher(form)\n\n if (response && response.status === 200) {\n await commit('setVoucherSuccess', response.data)\n } else if (response.status === 429) {\n const error = {\n errors: {\n codeManyRequest: 'You tried redeeming a voucher too often, please try again later'\n }\n }\n\n commit('setVoucherError', error)\n } else if (response) {\n commit('setVoucherError', response.data)\n }\n },\n async submitBalanceNotification({ commit }, form) {\n await commit('setInitialState')\n const response = await fetchBalanceNotification(form)\n\n if (response && response.status === 200) {\n await commit('setBalanceNotificationSuccess', response.data)\n } else if (response) {\n commit('setBalanceNotificationError', response.data)\n }\n },\n async accountCharge({ commit }, form) {\n const response = await chargeAccount(form)\n\n if (response && response.status === 200) {\n await commit('setAccountChargeSuccess', response.data)\n } else if (response) {\n commit('setAccountChargeError', response.data)\n }\n },\n async getAccountBalance({ commit }) {\n const response = await fetchBalance()\n\n if (response && response.status === 200) {\n await commit('setAccountBalance', response.data)\n }\n },\n async getAvailablePaymentMethods({ commit }) {\n const response = await fetchAvailablePaymentMethods()\n\n if (response && response.status === 200) {\n await commit('setAvailablePaymentMethods', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchServers = async (data) => {\n if (data.query) {\n data.query = `&query=${data.query}`\n }\n\n return getInstance().get(`/api/customer/v1/service/server?page=${data.page}${data.query}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServer = async (serverId) => {\n return getInstance().get(`/api/customer/v1/service/server/${serverId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerRegions = async () => {\n return getInstance().get('/api/customer/v2/service/server/regions')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerCreate = async (form) => {\n return await getInstance().post('/api/customer/v1/service/server', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerAction = async (form) => {\n return await getInstance().post(`/api/customer/v1/service/server/${form.serverId}/${form.action}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerTab = async (form) => {\n return await getInstance().get(`/api/customer/v1/service/server/${form.serverId}/${form.tab}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerExtend = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/extend`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerCreateSnapshot = async (serverId) => {\n return await getInstance().post(`/api/customer/v1/service/server/${serverId}/snapshot`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerChangeIp = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/ip-allocation/${data.ipAddressId}/change`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerIpPrice = async (data) => {\n return await getInstance().get(`/api/customer/v1/service/server/${data.serverId}/ip-allocation/${data.ipAddressId}/change/price`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerCreateAdditionalDisk = async (data) => {\n return await getInstance().post(`/api/customer/v2/service/server/${data.serverId}/disk`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerCancelAdditionalDisk = async (data) => {\n return await getInstance().delete(`/api/customer/v2/service/server/${data.serverId}/disk/${data.diskId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchUpdateDiskSize = async (data) => {\n return await getInstance().patch(`/api/customer/v2/service/server/${data.serverId}/disk/${data.diskId}`, { size: data.size })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchDiskResizePrice = async (data) => {\n return await getInstance().get(`/api/customer/v2/service/server/${data.serverId}/disk/${data.diskId}/price?size=${data.size}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerDiskPrice = async (data) => {\n return await getInstance().get(`/api/customer/v2/service/server/${data.serverId}/disk/price?size=${data.form.size}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerMetrics = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/metrics`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerSettings = async (data) => {\n return await getInstance().patch(`/api/customer/v1/service/server/${data.serverId}/settings`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchRequestRDNS = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/port/${data.portId}/ip-allocation/${data.ipAllocationId}/reverse-record`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerSnapshotRestore = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/snapshot/${data.snapshotId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerSnapshotDelete = async (data) => {\n return await getInstance().delete(`/api/customer/v1/service/server/${data.serverId}/snapshot/${data.snapshotId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerCreateBackup = async (serverId) => {\n return await getInstance().post(`/api/customer/v1/service/server/${serverId}/backup`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerUpdateAutomaticBackup = async (data) => {\n return await getInstance().patch(`/api/customer/v2/service/server/${data.serverId}/automatic-backup`, {\n weekday: data.weekday,\n timeslot: data.timeslot\n })\n .catch(function (error) {\n return error.response\n })\n}\n\n\nexport const fetchServerUpdateAutomaticSnapshot = async (data) => {\n return await getInstance().patch(`/api/customer/v2/service/server/${data.serverId}/automatic-snapshot`, {\n weekday: data.weekday,\n timeslot: data.timeslot\n })\n .catch(function (error) {\n return error.response\n })\n }\n\n\nexport const fetchServerBackupRestore = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/backup/${data.backupId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerBackupDelete = async (data) => {\n return await getInstance().delete(`/api/customer/v1/service/server/${data.serverId}/backup/${data.backupId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerMeta = async (data) => {\n return await getInstance().patch(`/api/customer/v1/service/server/${data.serverId}/meta`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerImages = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/images`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerFlavor = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/flavors`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerUpgradeCancel = async (data) => {\n return await getInstance().delete(`/api/customer/v1/service/server/${data.serverId}/upgrades/${data.upgradeId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerFlavorUpgrade = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/flavor-upgrade`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerFlavorCalculation = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/upgrades-calculation`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchReInstallServer = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/reinstall`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerUpgrades = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/upgrades`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchServerUpgrade = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/upgrade/${data.upgradeId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchLockServerBackup = async (data) => {\n return await getInstance().post(`/api/customer/v2/service/backup/${data.backupId}/protect`)\n .catch(function (error) {\n return error.response\n })\n }\n\n\n export const fetchUnlockServerBackup = async (data) => {\n return await getInstance().delete(`/api/customer/v2/service/backup/${data.backupId}/protect`)\n .catch(function (error) {\n return error.response\n })\n }\n\n\n export const fetchLockServerSnapshot = async (data) => {\n return await getInstance().post(`/api/customer/v2/service/snapshot/${data.snapshotId}/protect`)\n .catch(function (error) {\n return error.response\n })\n }\n\n\n export const fetchUnlockServerSnapshot = async (data) => {\n return await getInstance().delete(`/api/customer/v2/service/snapshot/${data.snapshotId}/protect`)\n .catch(function (error) {\n return error.response\n })\n }\n\n export const fetchServerActivateRescueMode = async ({serverId}\n ) => {\n return await getInstance().patch(\n `/api/customer/v2/service/server/${serverId}/next-boot`,\n { nextBootAction: 'live' }\n ).catch(function (error) {\n return error.response\n })\n }\n\n export const fetchServerDeactivateRescueMode = async ({serverId}) => {\n return await getInstance().patch(\n `/api/customer/v2/service/server/${serverId}/next-boot`,\n { nextBootAction: 'disk' }\n ).catch(function (error) {\n return error.response\n })\n }","import {\n fetchServers,\n fetchServer,\n fetchServerRegions,\n fetchServerCreate,\n fetchServerAction,\n fetchServerExtend,\n fetchServerTab,\n fetchServerMeta,\n fetchServerActivateRescueMode,\n fetchServerDeactivateRescueMode\n} from '@/services/service/server'\nimport router from '@/router'\nimport { ServerStatusEnum } from '@/enums'\n\n\nconst initialState = {\n ServerStatusEnum: ServerStatusEnum,\n isExpired: false,\n isLocked: false,\n runtimes: [],\n regions: [],\n server: {},\n servers: [],\n meta: [],\n isServerNameUpdated: false,\n serverNameErrors: [],\n serverErrors: false,\n serverErrorMessages: [],\n serverCreated: {},\n serverCreateErrorMessages: [],\n serverExtendSuccess: false,\n serverExtendError: false,\n serverExtendErrorMessage: '',\n}\n\nexport default {\n state: initialState,\n getters: {\n isExpired: (state) => state.isExpired,\n isLocked: (state) => state.isLocked,\n server: (state) => state.server,\n getServers: (state) => state.servers,\n getServerMeta: (state) => state.meta,\n runtimes: (state) => state.runtimes,\n regions: (state) => state.regions,\n serverErrors: (state) => state.serverErrors,\n serverErrorMessages: (state) => state.serverErrorMessages,\n serverCreated: (state) => state.serverCreated,\n serverCreateErrorMessages: (state) => state.serverCreateErrorMessages,\n serverExtendSuccess: (state) => state.serverExtendSuccess,\n serverExtendError: (state) => state.serverExtendError,\n serverExtendErrorMessage: (state) => state.serverExtendErrorMessage,\n isServerNameUpdated: (state) => state.isServerNameUpdated,\n serverNameErrors: (state) => state.serverNameErrors\n },\n mutations: {\n setInitialState(state) {\n state.servers = []\n state.serverErrors = false\n state.serverErrorMessages = []\n },\n setInitialStateServerName(state) {\n state.isServerNameUpdated = false\n },\n setUserServerError(state, payload) {\n state.serverErrors = true\n state.serverErrorMessages = payload\n },\n setUserServers(state, payload) {\n state.servers = payload.data\n state.server = {}\n state.isLocked = false\n state.meta = payload.meta\n state.serverErrors = false\n state.serverErrorMessages = []\n },\n setUserServer(state, payload) {\n state.server = payload.server\n\n if (state.server.task_lock !== null || state.server.status !== state.ServerStatusEnum.INSTALL_STATUS_DONE) {\n state.isLocked = true\n } else {\n state.isLocked = false\n }\n\n if (new Date(state.server.extended_until) <= new Date()) {\n state.isExpired = true\n } else {\n state.isExpired = false\n }\n },\n setUserServerRegions(state, payload) {\n state.regions = payload.regions\n state.runtimes = payload.runtimes\n },\n setServerCreated(state, payload) {\n state.serverCreateErrorMessages = []\n state.serverCreated = payload\n },\n setCreateServerErrorMessages(state, payload) {\n state.serverCreateErrorMessages = payload\n state.serverCreated = false\n },\n setCreateServerEmpty(state) {\n state.serverCreated = false\n },\n setServerActionError(state, payload) {\n state.serverErrorMessages = payload\n },\n setRuntimes(state, payload) {\n state.runtimes = payload.runtimes\n },\n setIsServerNameUpdated(state, payload) {\n state.isServerNameUpdated = true\n state.server = payload.server\n },\n setServerNameErrors(state, payload) {\n state.serverNameErrors = payload\n },\n setServerExtendSuccess(state) {\n state.serverExtendSuccess = true;\n state.serverExtendError = false;\n state.serverExtendErrorMessage = '';\n },\n resetServerExtend(state) {\n state.serverExtendSuccess = false;\n state.serverExtendError = false;\n state.serverExtendErrorMessage = '';\n },\n setServerExtendError(state, payload) {\n state.serverExtendSuccess = false;\n state.serverExtendError = true;\n state.serverExtendErrorMessage = payload.error.message;\n },\n setLocked(state) {\n state.isLocked = true\n }\n },\n actions: {\n async getServers({ commit }, data) {\n // await commit('setInitialState')\n\n if (!data.page) {\n data.page = 1\n }\n\n if (!data.query) {\n data.query = ''\n }\n\n const response = await fetchServers(data)\n\n if (response && response.status === 200) {\n await commit('setUserServers', response.data)\n } else if (response) {\n commit('setUserServerError', response.data)\n }\n },\n async getServer({ commit, dispatch, rootState }, serverId) {\n const response = await fetchServer(serverId)\n\n if (response && response.status === 200) {\n await commit('setUserServer', response.data)\n\n dispatch('getAccountBalance')\n } else if (response && response.status === 404) {\n router.push('/service/server')\n }\n },\n async getServerRuntimes({ commit }, form) {\n const response = await fetchServerTab(form)\n\n if (response && response.status === 200) {\n await commit('setRuntimes', response.data)\n }\n },\n async getServerRegions({ commit }) {\n const response = await fetchServerRegions()\n\n if (response && response.status === 200) {\n await commit('setUserServerRegions', response.data)\n }\n },\n async createServer({ commit }, form) {\n const response = await fetchServerCreate(form)\n\n if (response && response.status === 200) {\n await commit('setServerCreated', response.data)\n } else if (response) {\n await commit('setCreateServerErrorMessages', response.data)\n }\n },\n async setCreatedServerEmpty({ commit }) {\n await commit('setCreateServerEmpty')\n },\n async serverAction({ commit, dispatch }, form) {\n commit('setLocked')\n\n const response = await fetchServerAction(form)\n\n if (response && response.status === 200) {\n dispatch('getServer', form.serverId)\n } else if (response) {\n await commit('setServerActionError', response.data)\n }\n },\n async serverExtend({ commit }, form) {\n const response = await fetchServerExtend(form)\n\n if (response && response.status === 204) {\n await commit('setServerExtendSuccess');\n } else if (response) {\n await commit('setServerExtendError', response.data);\n }\n },\n async updateServerMeta({ commit }, data) {\n commit('setInitialStateServerName')\n\n const response = await fetchServerMeta(data)\n\n if (response && response.status === 200) {\n await commit('setIsServerNameUpdated', response.data)\n } else if (response) {\n await commit('setServerNameErrors', response.data)\n }\n },\n async activateRescueMode({commit, dispatch}, data) {\n const response = await fetchServerActivateRescueMode(data)\n \n if (response && response.status === 200) {\n dispatch('getServer', data.serverId)\n }\n return response\n },\n async deactivateRescueMode({commit, dispatch}, data) {\n const response = await fetchServerDeactivateRescueMode(data)\n \n if (response && response.status === 200) {\n dispatch('getServer', data.serverId)\n }\n return response\n },\n },\n}\n","import {\n fetchServerCreateAdditionalDisk,\n fetchServerCancelAdditionalDisk,\n fetchServerDiskPrice,\n fetchDiskResizePrice,\n fetchUpdateDiskSize\n} from '@/services/service/server'\n\nconst initialState = {\n isCreated: false,\n createErrors: [],\n resizeErrors: [],\n diskPricing: null,\n diskPricingError: [],\n isCancelledAdditionalDisk: false,\n isResized: false,\n}\n\nexport default {\n state: initialState,\n getters: {\n isDiskCreated: (state) => state.isCreated,\n isDiskResized: (state) => state.isResized,\n diskCreateErrors: (state) => state.createErrors,\n diskResizeErrors: (state) => state.resizeErrors,\n diskPricing: (state) => state.diskPricing,\n diskPricingError: (state) => state.diskPricingError,\n isCancelledAdditionalDisk: (state) => state.isCancelledAdditionalDisk\n },\n mutations: {\n setInitialState(state) {\n state.isCreated = false\n state.createErrors = []\n state.resizeErrors = []\n state.diskPricing = {}\n state.diskPricingError = []\n state.isCancelledAdditionalDisk = false\n state.isResized = false\n },\n setAdditionalDiskIsCancelled(state) {\n state.isCancelledAdditionalDisk = true\n },\n setDiskPrice(state, payload) {\n state.diskPricing = payload\n },\n setDiskPriceError(state, payload) {\n state.diskPricingError = payload\n },\n setCreatedDisk(state) {\n state.isCreated = true\n },\n setCreatedDiskError(state, payload) {\n state.createErrors = payload\n },\n setResizeDiskError(state, payload) {\n state.resizeErrors = payload\n },\n setResizedDisk(state) {\n state.isResized = true\n }\n },\n actions: {\n async createAdditionalDisk({commit, state}, form) {\n const previousPricing = state.diskPricing // Store the previous pricing\n commit('setInitialState')\n commit('setDiskPrice', previousPricing)\n\n const response = await fetchServerCreateAdditionalDisk(form)\n\n if (response && response.status === 201) {\n commit('setCreatedDisk')\n } else if (response) {\n commit('setCreatedDiskError', response.data)\n }\n },\n async cancelAdditionalDisk({commit}, form) {\n commit('setInitialState')\n\n const response = await fetchServerCancelAdditionalDisk(form)\n\n if (response && response.status === 200) {\n commit('setAdditionalDiskIsCancelled')\n }\n },\n async calculateDiskPrice({commit}, form) {\n const response = await fetchServerDiskPrice(form)\n\n if (response && response.status === 200) {\n commit('setDiskPrice', response.data)\n } else if (response) {\n commit('setDiskPriceError', response.data)\n }\n },\n async getDiskResizePrice({commit}, form) {\n const response = await fetchDiskResizePrice(form)\n\n if (response && response.status === 200) {\n commit('setDiskPrice', response.data)\n } else if (response) {\n commit('setDiskPriceError', response.data)\n }\n },\n async updateDiskSize({commit}, form) {\n const response = await fetchUpdateDiskSize(form)\n\n if (response && response.status === 200) {\n commit('setResizedDisk')\n } else if (response) {\n commit('setResizeDiskError', response.data)\n }\n }\n },\n}\n","import {\n fetchServerChangeIp,\n fetchServerIpPrice,\n} from '@/services/service/server'\n\nconst initialState = {\n isChanged: false,\n changeErrors: [],\n ipPricing: {},\n ipPricingError: [],\n}\n\nexport default {\n state: initialState,\n getters: {\n isIpChanged: (state) => state.isChanged,\n ipChangeErrors: (state) => state.changeErrors,\n ipPricing: (state) => state.ipPricing,\n ipPricingError: (state) => state.ipPricingError,\n },\n mutations: {\n setInitialState(state) {\n state.isChanged = false\n state.changeErrors = []\n state.ipPricingError = []\n },\n setChangedIp(state) {\n state.isChanged = true\n },\n setChangedIpError(state, payload) {\n state.changeErrors = payload\n },\n setIpPricing(state, payload) {\n // payload: { \"changeable\": true, \"reason\": null, \"ip_address\": \"X.X\", \"price\": 250 }\n state.ipPricing = payload\n },\n setIpPricingError(state, payload) {\n // payload: { \"changeable\": false, \"reason\": \"reason.ip-changed-too-often\", \"ip_address\": \"X.X\", \"price\": null }\n state.ipPricingError = payload\n }\n },\n actions: {\n async changeIp({commit}, data) {\n commit('setLocked')\n commit('setInitialState')\n\n const response = await fetchServerChangeIp(data)\n\n if (response && response.status === 200) {\n commit('setChangedIp')\n } else {\n commit('setChangedIpError', response.data)\n }\n },\n async fetchIpPrice({commit}, data) {\n const response = await fetchServerIpPrice(data)\n\n if (response && response.status === 200) {\n commit('setIpPricing', response.data)\n } else if (response) {\n commit('setIpPricingError', response.data)\n }\n },\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchServerPrivateNetwork = async (data) => {\n return await getInstance().get(`/api/customer/v1/service/pool?page=${data.page}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchDeleteServerPrivateNetwork = async (networkId) => {\n return await getInstance().delete(`/api/customer/v1/service/pool/${networkId}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchPrivateNetworkRegion = async () => {\n return await getInstance().get('/api/customer/v1/service/pool/region')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCreatePrivateNetwork = async (form) => {\n return await getInstance().post('/api/customer/v1/service/pool', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchAvailablePools = async (serverId) => {\n return await getInstance().get(`/api/customer/v1/service/server/${serverId}/available-pools`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCreatePort = async (data) => {\n return await getInstance().post(`/api/customer/v1/service/server/${data.serverId}/port`, { ...data.form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchDeletePort = async (data) => {\n return await getInstance().delete(`/api/customer/v1/service/server/${data.serverId}/port/${data.portId}`)\n .catch(function (error) {\n return error.response\n })\n}\n","import { fetchRequestRDNS } from '@/services/service/server'\nimport {\n fetchServerPrivateNetwork,\n fetchDeleteServerPrivateNetwork,\n fetchPrivateNetworkRegion,\n fetchCreatePrivateNetwork,\n fetchAvailablePools,\n fetchCreatePort,\n fetchDeletePort\n} from '@/services/service/private-network'\n\nconst initialState = {\n meta: [],\n availablePools: [],\n isDeletedPort: false,\n deletePortErrors: [],\n isCreatedPort: false,\n createPortErrors: [],\n privateNetworks: [],\n privateNetworkIsDeleted: false,\n privateNetworkCreated: false,\n privateNetworkCreateErrorMessages: [],\n privateNetworkErrors: [],\n requestRDNSSuccess: false,\n requestRDNSError: [],\n regions: []\n}\n\nexport default {\n state: initialState,\n getters: {\n availablePools: (state) => state.availablePools,\n isDeletedPort: (state) => state.isDeletedPort,\n deletePortErrors: (state) => state.deletePortErrors,\n isCreatedPort: (state) => state.isCreatedPort,\n createPortErrors: (state) => state.createPortErrors,\n requestRDNSSuccess: (state) => state.requestRDNSSuccess,\n requestRDNSError: (state) => state.requestRDNSError,\n getNetworkMeta: (state) => state.meta,\n privateNetworkRegions: (state) => state.regions,\n privateNetworkCreated: (state) => state.privateNetworkCreated,\n privateNetworkCreateErrorMessages: (state) => state.privateNetworkCreateErrorMessages,\n privateNetworks: (state) => state.privateNetworks,\n privateNetworkErrors: (state) => state.privateNetworkErrors,\n privateNetworkIsDeleted: (state) => state.privateNetworkIsDeleted\n },\n mutations: {\n setInitialState(state) {\n state.privateNetworks = []\n state.privateNetworkIsDeleted = false\n state.requestRDNSSuccess = false\n state.requestRDNSError = []\n },\n setRequestRDNSSuccess(state) {\n state.requestRDNSSuccess = true\n },\n setRequestRDNSError(state, payload) {\n state.requestRDNSError = payload\n },\n setPrivateNetworks(state, payload) {\n state.privateNetworks = payload.data\n state.meta = payload.meta\n },\n setPrivateNetworkIsDeleted(state) {\n state.privateNetworkIsDeleted = true\n },\n setPrivateNetworkErrors(state, payload) {\n state.privateNetworkErrors = payload\n },\n setPrivateNetworkRegions(state, payload) {\n state.regions = payload.data\n },\n setPrivateNetworkCreated(state, val) {\n state.privateNetworkCreated = val\n },\n setPrivateNetworkCreateErrorMessages(state, payload) {\n state.privateNetworkCreateErrorMessages = payload\n },\n setAvailablePools(state, payload) {\n state.availablePools = payload.data\n },\n setCreatedPort(state, val) {\n state.isCreatedPort = val\n },\n setCreatePortErrors(state, payload) {\n state.createPortErrors = payload\n },\n setDeletedPort(state) {\n state.isDeletedPort = true\n },\n setDeletePortErrors(state, payload) {\n state.deletePortErrors = payload\n }\n },\n actions: {\n async serverNetworkRequestRDNS({commit}, form) {\n commit('setInitialState')\n\n const response = await fetchRequestRDNS(form)\n\n if (response && response.status === 200) {\n await commit('setRequestRDNSSuccess')\n } else if (response) {\n await commit('setRequestRDNSError', response.data)\n }\n },\n async serverPrivateNetworks({commit}, data) {\n commit('setInitialState')\n\n if (!data.page) {\n data.page = 1\n }\n\n const response = await fetchServerPrivateNetwork(data)\n\n if (response && response.status === 200) {\n await commit('setPrivateNetworks', response.data)\n }\n },\n async deleteServerPrivateNetwork({commit}, networkId) {\n const response = await fetchDeleteServerPrivateNetwork(networkId)\n\n if (response && response.status === 204) {\n await commit('setPrivateNetworkIsDeleted')\n } else if (response) {\n await commit('setPrivateNetworkErrors', response.data)\n }\n },\n async getPrivateNetworkRegions({commit}) {\n const response = await fetchPrivateNetworkRegion()\n\n if (response && response.status === 200) {\n await commit('setPrivateNetworkRegions', response.data)\n }\n },\n async createPrivateNetwork({commit}, form) {\n const response = await fetchCreatePrivateNetwork(form)\n\n if (response && response.status === 201) {\n commit('setPrivateNetworkCreated', true)\n\n setTimeout(() => {\n commit('setPrivateNetworkCreated', false)\n }, 3000)\n\n } else if (response) {\n commit('setPrivateNetworkCreateErrorMessages', response.data)\n }\n },\n async getAvailablePools({commit}, serverId) {\n const response = await fetchAvailablePools(serverId)\n\n if (response && response.status === 200) {\n commit('setAvailablePools', response.data)\n }\n },\n async createPort({commit}, form) {\n commit('setCreatedPort', false)\n const response = await fetchCreatePort(form)\n\n if (response && response.status === 200) {\n commit('setCreatedPort', true)\n } else if (response) {\n commit('setCreatePortErrors', response.data)\n }\n },\n async deletePort({commit}, data) {\n const response = await fetchDeletePort(data)\n\n if (response && response.status === 204) {\n commit('setDeletedPort')\n } else if (response) {\n commit('setDeletePortErrors', response.data)\n }\n }\n },\n}\n","import { fetchServerSettings } from '@/services/service/server'\n\nconst initialState = {\n isSavedSettings: false,\n settingsError: []\n}\n\nexport default {\n state: initialState,\n getters: {\n isSavedSettings: (state) => state.isSavedSettings,\n settingsError: (state) => state.settingsError\n },\n mutations: {\n setInitialState(state) {\n state.isSavedSettings = false\n state.settingsError = []\n },\n setSettingsSuccess(state) {\n state.isSavedSettings = true\n },\n setSettingsError(state, payload) {\n state.settingsError = payload\n }\n },\n actions: {\n async serverSettings({commit}, form) {\n const response = await fetchServerSettings(form)\n\n if (response && response.status === 200) {\n await commit('setSettingsSuccess')\n } else if (response) {\n await commit('setSettingsError', response.data)\n }\n }\n },\n}\n","import { fetchServerCreateSnapshot, fetchServerSnapshotRestore, fetchServerSnapshotDelete, fetchUnlockServerSnapshot, fetchLockServerSnapshot, fetchServerUpdateAutomaticSnapshot } from '@/services/service/server'\n\nconst initialState = {\n isServerSnapshotIsCreated: false,\n isRestoredSnapshot: false,\n restoreSnapshotErrors: []\n}\n\nexport default {\n state: initialState,\n getters: {\n isServerSnapshotIsCreated: (state) => state.isServerSnapshotIsCreated,\n isRestoredSnapshot: (state) => state.isRestoredSnapshot\n },\n mutations: {\n setInitialState(state) {\n state.isServerSnapshotIsCreated = false\n state.isRestoredSnapshot = false\n state.restoreSnapshotErrors = []\n },\n setServerSnapshotIsCreated(state) {\n state.isServerSnapshotIsCreated = true\n },\n setServerSnapshotIsRestored(state) {\n state.isRestoredSnapshot = true\n },\n setServerSnapshotRestoreErrors(state, payload) {\n state.restoreSnapshotErrors = payload\n }\n },\n actions: {\n async createSnapshot({commit}, serverId) {\n commit('setInitialState')\n\n const response = await fetchServerCreateSnapshot(serverId)\n\n if (response && response.status === 201) {\n await commit('setServerSnapshotIsCreated')\n }\n },\n async restoreSnapshot({commit}, data) {\n commit('setInitialState')\n\n const response = await fetchServerSnapshotRestore(data)\n\n // if (response && response.status === 201) {\n // await commit('setServerSnapshotIsRestored')\n // } else {\n // await commit('setServerSnapshotRestoreErrors', response.data)\n // }\n },\n async deleteSnapshot({commit}, data) {\n await fetchServerSnapshotDelete(data)\n },\n async updateAutomaticSnapshot({commit}, data) {\n commit('setInitialState')\n\n const response = await fetchServerUpdateAutomaticSnapshot(data)\n\n if (response && response.status === 201) {\n await commit('setAutomaticServerSnapshotUpdated')\n }\n },\n async lockSnapshot({commit},data) {\n await fetchLockServerSnapshot(data)\n },\n async unlockSnapshot({commit},data) {\n await fetchUnlockServerSnapshot(data)\n },\n },\n}\n","import { fetchServerCreateBackup, fetchServerBackupRestore, fetchServerBackupDelete, fetchServerUpdateAutomaticBackup, fetchLockServerBackup, fetchUnlockServerBackup } from '@/services/service/server'\n\nconst initialState = {\n isServerBackupIsCreated: false,\n isAutomaticServerBackupUpdated: false,\n isRestoredBackup: false,\n restoreBackupErrors: []\n}\n\nexport default {\n state: initialState,\n getters: {\n isServerBackupIsCreated: (state) => state.isServerBackupIsCreated,\n isAutomaticServerBackupUpdated: (state) => state.isAutomaticServerBackupUpdated,\n isRestoredBackup: (state) => state.isRestoredBackup\n },\n mutations: {\n setInitialState(state) {\n state.isServerBackupIsCreated = false\n state.isAutomaticServerBackupUpdated = false,\n state.isRestoredBackup = false\n state.restoreBackupErrors = []\n },\n setServerBackupIsCreated(state) {\n state.isServerBackupIsCreated = true\n },\n setAutomaticServerBackupUpdated(state) {\n state.isAutomaticServerBackupUpdated = true\n },\n setServerBackupIsRestored(state) {\n state.isRestoredBackup = true\n },\n setServerBackupRestoreErrors(state, payload) {\n state.restoreBackupErrors = payload\n }\n },\n actions: {\n async createBackup({commit}, serverId) {\n commit('setInitialState')\n\n const response = await fetchServerCreateBackup(serverId)\n\n if (response && response.status === 201) {\n await commit('setServerBackupIsCreated')\n }\n },\n async restoreBackup({commit}, data) {\n commit('setInitialState')\n\n const response = await fetchServerBackupRestore(data)\n\n if (response.status === 204) {\n await commit('setServerBackupIsRestored')\n } else if (response) {\n await commit('setServerBackupRestoreErrors', response.data)\n }\n },\n async deleteBackup({commit}, data) {\n await fetchServerBackupDelete(data)\n },\n async updateAutomaticBackup({commit}, data) {\n commit('setInitialState')\n\n const response = await fetchServerUpdateAutomaticBackup(data)\n\n if (response && response.status === 201) {\n await commit('setAutomaticServerBackupUpdated')\n }\n },\n async lockBackup({commit},data) {\n await fetchLockServerBackup(data)\n },\n async unlockBackup({commit},data) {\n await fetchUnlockServerBackup(data)\n },\n },\n}\n","import {\n fetchServerFlavor,\n fetchServerFlavorUpgrade,\n fetchServerFlavorCalculation,\n fetchServerUpgrades,\n fetchServerUpgrade,\n fetchServerUpgradeCancel\n} from '@/services/service/server'\n\nconst initialState = {\n upgrades: [],\n isUpgrade: false,\n isServerUpgrade: false,\n flavors: [],\n calculation: {}\n}\n\nexport default {\n state: initialState,\n getters: {\n upgrades: (state) => state.upgrades,\n isServerUpgrade: (state) => state.isServerUpgrade,\n isUpgrade: (state) => state.isUpgrade,\n flavors: (state) => state.flavors,\n calculation: (state) => state.calculation\n },\n mutations: {\n setInitialFlavor(state) {\n state.flavors = []\n },\n setFlavors(state, payload) {\n state.flavors = payload.flavors\n },\n setFlavorsCalculation(state, payload) {\n state.calculation = payload\n },\n setUpgrades(state, payload) {\n state.upgrades = payload.upgrades\n },\n setIsUpgrade(state, payload) {\n state.isUpgrade = payload\n },\n setIsServerUpgrade(state, payload) {\n state.isServerUpgrade = payload\n }\n },\n actions: {\n async getServerUpgrades({commit}, serverId) {\n const response = await fetchServerUpgrades(serverId)\n\n if (response && response.status === 200) {\n await commit('setUpgrades', response.data)\n }\n },\n async setServerUpgrade({commit}, serverId) {\n commit('setLocked')\n\n const response = await fetchServerFlavorUpgrade(serverId)\n\n if (response && response.status === 200) {\n commit('setIsUpgrade', true)\n } else if (response) {\n commit('setIsUpgrade', response.data)\n }\n },\n async getServerFlavors({commit}, serverId) {\n const response = await fetchServerFlavor(serverId)\n\n if (response && response.status === 200) {\n await commit('setFlavors', response.data)\n }\n },\n async getServerFlavorsCalculation({commit}, serverId) {\n commit('setInitialFlavor')\n\n const response = await fetchServerFlavorCalculation(serverId)\n\n if (response && response.status === 200) {\n await commit('setFlavors', response.data)\n }\n },\n async upgradeServer({commit}, data) {\n commit('setLocked')\n\n const response = await fetchServerUpgrade(data)\n\n if (response && response.status === 204) {\n await commit('setIsServerUpgrade', true)\n }\n },\n async cancelServerUpgrade({commit}, data) {\n commit('setLocked')\n\n await fetchServerUpgradeCancel(data)\n }\n },\n}\n","import { fetchServerTab } from '@/services/service/server'\n\nconst initialState = {\n vncUrl: ''\n}\n\nexport default {\n state: initialState,\n getters: {\n vncUrl: (state) => state.vncUrl\n },\n mutations: {\n setInitialState(state) {\n state.vncUrl = ''\n },\n setVncUrl(state, payload) {\n state.vncUrl = payload.vnc_url\n }\n },\n actions: {\n async getServerVnc({commit}, form) {\n const response = await fetchServerTab(form)\n\n if (response && response.status === 200) {\n await commit('setVncUrl', response.data)\n }\n }\n },\n}\n","import { fetchServerImages, fetchReInstallServer } from '@/services/service/server'\n\nconst initialState = {\n images: [],\n isReInstalled: false,\n errors: []\n}\n\nexport default {\n state: initialState,\n getters: {\n serverImages: (state) => state.images,\n isReInstalled: (state) => state.isReInstalled,\n reInstallErrrors: (state) => state.errors\n },\n mutations: {\n setInitialState(state) {\n state.serverImages = []\n },\n setServerImages(state, payload) {\n const groupBy = keys => array =>\n array.reduce((objectsByKeyValue, obj) => {\n const value = keys.map(key => obj[key]).join('-');\n objectsByKeyValue[value] = (objectsByKeyValue[value] || []).concat(obj);\n return objectsByKeyValue;\n }, {})\n const groupByOS = groupBy(['os_type']);\n state.images = groupByOS(payload.images)\n },\n setSuccess(state) {\n state.isReInstalled = true\n },\n setEmptySuccess(state) {\n state.isReInstalled = false\n },\n setErrors(state, payload) {\n state.isReInstalled = false\n state.errors = payload\n }\n },\n actions: {\n async getServerImages({commit}, serverId) {\n commit('setInitialState')\n\n const response = await fetchServerImages(serverId)\n\n if (response && response.status === 200) {\n await commit('setServerImages', response.data)\n }\n },\n async reinstallServer({commit}, data) {\n const response = await fetchReInstallServer(data)\n\n if (response && response.status === 200) {\n await commit('setSuccess')\n } else if (response) {\n commit('setErrors', response.data)\n }\n },\n async setReInstallEmpty({commit}) {\n commit('setEmptySuccess')\n }\n }\n}\n","import { fetchServerMetrics } from '@/services/service/server'\n\nconst initialState = {\n metrics: [],\n}\n\nexport default {\n state: initialState,\n\n getters: {\n metrics: (state) => state.metrics\n },\n\n mutations: {\n setMetrics(state, payload) {\n state.metrics = payload\n },\n },\n\n actions: {\n async getServerMetrics({commit}, serverId) {\n const response = await fetchServerMetrics(serverId)\n\n if (response && response.status === 200) {\n commit('setMetrics', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchSshKeys = async () => {\n return getInstance().get('/api/customer/v1/service/ssh-key')\n}\n\nexport const fetchCreateSshKey = async (form) => {\n return await getInstance()\n .post('/api/customer/v1/service/ssh-key', {...form})\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchDeleteSshKey = async (sshKeyId) => {\n return await getInstance()\n .delete(`/api/customer/v1/service/ssh-key/${sshKeyId}`)\n .catch(function (error) {\n return error.response\n })\n}","import { fetchSshKeys, fetchCreateSshKey, fetchDeleteSshKey } from '@/services/service/ssh-key'\n\nconst initialState = {\n sshKey: {},\n sshKeys: [],\n sshKeyErrors: false,\n sshKeysErrors: false,\n sshKeyErrorMessages: [],\n sshKeysErrorMessages: []\n}\n\nexport default {\n state: initialState,\n getters: {\n sshKey: (state) => state.sshKey,\n sshKeys: (state) => state.sshKeys,\n sshKeysErrors: (state) => state.sshKeysErrors,\n sshKeysErrorMessages: (state) => state.sshKeysErrorMessages,\n sshKeyErrorMessages: (state) => state.sshKeyErrorMessages,\n },\n mutations: {\n setInitialState(state) {\n state.sshKeys = []\n state.sshKeysErrors = false\n state.sshKeysErrorMessages = []\n },\n setUserSshKeysError(state, payload) {\n state.sshKeys = []\n state.sshKeysErrors = true\n state.sshKeysErrorMessages = payload\n },\n setUserSshKeys(state, payload) {\n state.sshKeys = payload.keys\n state.sshKeysErrors = false\n state.sshKeysErrorMessages = []\n },\n setUserSshKeyError(state, payload) {\n state.sshKey = []\n state.sshKeyErrors = true\n state.sshKeyErrorMessages = payload\n },\n setUserSshKey(state, payload) {\n state.sshKey = payload.key\n state.sshKeyError = false\n state.sshKeyErrorMessages = []\n }\n },\n actions: {\n async getSshKeys({commit}) {\n await commit('setInitialState')\n\n const response = await fetchSshKeys()\n\n if (response && response.status === 200) {\n await commit('setUserSshKeys', response.data)\n } else if (response) {\n commit('setUserSshKeysError', response.data)\n }\n },\n async createSshKey({commit}, data) {\n const response = await fetchCreateSshKey(data)\n\n if (response && response.status === 200) {\n await commit('setUserSshKey', response.data)\n } else if (response) {\n commit('setUserSshKeyError', response.data)\n }\n },\n async deleteSshKey({commit, state}, sshKeyId) {\n await fetchDeleteSshKey(sshKeyId)\n\n state.sshKeys = state.sshKeys.filter((key) => {\n return key.uuid !== sshKeyId\n })\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchPayments = async () => {\n return getInstance().get('/api/customer/v1/payment/methods')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchPaymentStatus = async (transactionId) => {\n return getInstance().get(`/api/customer/v1/payment/intent/${transactionId}/complete`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchTransaction = async (page) => {\n return getInstance().get(`/api/customer/v1/payment/transaction?page=${page}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchInvoice = async (page) => {\n return getInstance().get(`/api/customer/v1/payment/invoice?page=${page}`)\n .catch(function (error) {\n return error.response\n })\n}","import { fetchPayments, fetchPaymentStatus } from '@/services/payments'\n\nconst initialState = {\n paymentIntent: false,\n payments: [],\n paymentsErrors: false,\n paymentsErrorMessages: []\n}\n\nexport default {\n state: initialState,\n getters: {\n payments: (state) => state.payments,\n paymentIntent: (state) => state.paymentIntent,\n paymentsErrors: (state) => state.paymentsErrors,\n paymentsErrorMessages: (state) => state.paymentsErrorMessages,\n },\n mutations: {\n setInitialState(state) {\n state.payments = []\n state.paymentsErrors = false\n state.paymentsErrorMessages = []\n },\n setUserPaymentsError(state, payload) {\n state.payments = []\n state.paymentsErrors = true\n state.paymentsErrorMessages = payload\n },\n setUserPayments(state, payload) {\n state.payments = payload.payment_methods\n state.paymentsErrors = false\n state.paymentsErrorMessages = []\n },\n setPaymentStatus(state, payload) {\n if (payload.response.completed) {\n const transactionIds = JSON.parse(localStorage.getItem('transactionsIds')) ?? []\n const index = transactionIds.indexOf(payload.transactionId)\n\n if (index !== -1) {\n transactionIds.splice(index, 1)\n\n localStorage.setItem('transactionsIds', JSON.stringify(transactionIds))\n\n if (!state.paymentIntent) {\n localStorage.setItem('transaction', 'true')\n }\n }\n }\n\n state.paymentIntent = payload.response.completed\n },\n checkTransactionId(state, transactionId) {\n const transactionIds = JSON.parse(localStorage.getItem('transactionsIds')) ?? []\n\n if (transactionIds.indexOf(transactionId) === -1) {\n localStorage.setItem('transactionsIds', JSON.stringify(transactionIds.concat(transactionId)))\n }\n }\n },\n actions: {\n async getPayments({commit}) {\n await commit('setInitialState')\n\n const response = await fetchPayments()\n\n if (response.status === 200) {\n await commit('setUserPayments', response.data)\n } else if (response) {\n commit('setUserPaymentsError', response.data)\n }\n },\n async checkPaymentStatus({commit}, transactionId) {\n commit('checkTransactionId', transactionId)\n\n const response = await fetchPaymentStatus(transactionId)\n\n if (response.status === 200) {\n await commit('setPaymentStatus', { response: response.data, transactionId: transactionId })\n } else if (response) {\n commit('setUserPaymentsError', response.data)\n }\n }\n },\n}\n","import { fetchTransaction } from '@/services/payments'\n\nconst initialState = {\n transactions: [],\n meta: []\n}\n\nexport default {\n state: initialState,\n getters: {\n getTransactions: (state) => state.transactions,\n getTransactionMeta: (state) => state.meta\n },\n mutations: {\n setInitialState(state) {\n state.transactions = []\n state.meta = []\n },\n setTransactions(state, payload) {\n state.transactions = payload.data\n state.meta = payload.meta\n }\n },\n actions: {\n async getTransactions({commit}, page) {\n await commit('setInitialState')\n\n if (!page) {\n page = 1\n }\n\n const response = await fetchTransaction(page)\n\n if (response && response.status === 200) {\n await commit('setTransactions', response.data)\n }\n }\n },\n}\n","import { fetchInvoice } from '@/services/payments'\n\nconst initialState = {\n invoices: [],\n meta: []\n}\n\nexport default {\n state: initialState,\n getters: {\n getInvoices: (state) => state.invoices,\n getInvoiceMeta: (state) => state.meta\n },\n mutations: {\n setInitialState(state) {\n state.invoices = []\n state.meta = []\n },\n setInvoices(state, payload) {\n state.invoices = payload.data\n state.meta = payload.meta\n }\n },\n actions: {\n async getInvoices({commit}, page) {\n await commit('setInitialState')\n\n if (!page) {\n page = 1\n }\n\n const response = await fetchInvoice(page)\n\n if (response && response.status === 200) {\n await commit('setInvoices', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchAffiliates = async () => {\n return await getInstance()\n .get('/api/customer/v1/payment/affiliate')\n .catch(function (error) {\n return error.response\n })\n}","import { fetchAffiliates } from '@/services/payments/affiliate'\n\nconst initialState = {\n affiliates: {},\n}\n\nexport default {\n state: initialState,\n getters: {\n affiliates: (state) => state.affiliates,\n },\n mutations: {\n setAffiliates(state, payload) {\n state.affiliates = payload\n }\n },\n actions: {\n async getAffiliates({commit}) {\n await commit('setAffiliates', [])\n\n const response = await fetchAffiliates()\n\n if (response && response.status === 200) {\n await commit('setAffiliates', response.data)\n }\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchCustomerProfile = async (form) => {\n return getInstance().patch('/api/customer/v1/profile', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCountries = async (form) => {\n return getInstance().get('/api/customer/v1/profile/country')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerPassword = async (form) => {\n return getInstance().patch('/api/customer/v1/profile/password', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerEmailPending = async () => {\n return getInstance().get('/api/customer/v1/profile/email-change')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerEmailChange = async (form) => {\n return getInstance().post('/api/customer/v1/profile/email-change', { ...form })\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerEmailAbort = async (form) => {\n return getInstance().delete('/api/customer/v1/profile/email-change')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerEmailResend = async () => {\n return getInstance().post('/api/customer/v1/profile/email-change/resend')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerSecondFactor = async () => {\n return getInstance().get('/api/customer/v2/profile/second-factor/secret')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerToggleTwoFactor = async (type, form) => {\n if (form) {\n return getInstance().post(`/api/customer/v2/profile/second-factor/${type}`, { ...form })\n .catch(function (error) {\n return error.response\n })\n } else {\n return getInstance().post(`/api/customer/v2/profile/second-factor/${type}`)\n .catch(function (error) {\n return error.response\n })\n }\n}\n\nexport const fetchVerifySecondFactor = async (form) => {\n return getInstance().post('/api/customer/v2/auth/second-factor/verify', { ...form }).catch(function (error) {\n return error.response\n })\n}\n\n\nexport const fetchSocialAccounts = async () => {\n return getInstance().get(`/api/customer/v1/profile/social-auth`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchLinkSocialAccount = async (provider) => {\n provider = provider.toLowerCase();\n return getInstance().get(`/api/customer/v1/profile/social-auth/${provider}/redirect`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchUnlinkSocialAccount = async (provider) => {\n provider = provider.toLowerCase();\n return getInstance().delete(`/api/customer/v1/profile/social-auth/${provider}`)\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchCustomerSMSVerification = async (data) => {\n const api = data.phone? 'resend' : 'verify'\n return getInstance().post(`/api/customer/v1/auth/phone/${api}`, data)\n .catch(function (error) {\n return error.response\n })\n}\n","import {\n fetchCustomerProfile,\n fetchCustomerPassword,\n fetchCustomerEmailPending,\n fetchCustomerEmailChange,\n fetchCustomerEmailResend,\n fetchCustomerEmailAbort,\n fetchCustomerSecondFactor,\n fetchCustomerToggleTwoFactor,\n fetchCustomerSMSVerification,\n fetchCountries,\n fetchVerifySecondFactor,\n fetchSocialAccounts,\n fetchLinkSocialAccount,\n fetchUnlinkSocialAccount,\n} from '@/services/profile'\nimport { fetchCustomer } from '@/services/customer'\nimport { setCustomer } from '@/configs/axios/token'\n\nconst initialState = {\n isCustomerPasswordUpdated: false,\n customerPasswordErrors: {},\n customerEmailPending: {},\n customerEmailErrors: {},\n isCustomerProfileUpdated: false,\n customerProfileErrors: {},\n twoFactor: {},\n twoFactorStatus: null,\n socialAccounts: null,\n socialAccountError: null,\n backupCodes: [],\n twoFactorToggleError: [],\n countries: []\n}\n\nexport default {\n state: initialState,\n getters: {\n isCustomerPasswordUpdated: (state) => state.isCustomerPasswordUpdated,\n customerEmailPending: (state) => state.customerEmailPending,\n customerEmailErrors: (state) => state.customerEmailErrors,\n customerPasswordErrors: (state) => state.customerPasswordErrors,\n isCustomerProfileUpdated: (state) => state.isCustomerProfileUpdated,\n customerProfileErrors: (state) => state.customerProfileErrors,\n twoFactor: (state) => state.twoFactor,\n twoFactorStatus: (state) => state.twoFactorStatus,\n socialAccounts: (state) => state.socialAccounts,\n backupCodes: (state) => state.backupCodes,\n twoFactorToggleError: (state) => state.twoFactorToggleError,\n socialAccountError: (state) => state.socialAccountError,\n countries: (state) => state.countries\n },\n mutations: {\n setInitialState(state) {\n state.isCustomerPasswordUpdated = false\n state.customerEmailPending = {}\n state.customerPasswordErrors = {}\n state.customerEmailErrors = {}\n state.isCustomerProfileUpdated = false\n state.customerProfileErrors = {}\n state.getTwoFactor = {}\n },\n setDefaultProfileIsUpdated(state) {\n state.isCustomerProfileUpdated = false\n },\n setCountries(state, payload) {\n state.countries = payload.data\n },\n setCustomerPasswordIsUpdated(state) {\n state.customerPasswordErrors = {}\n state.isCustomerPasswordUpdated = true\n },\n setCustomerPasswordErrors(state, payload) {\n state.isCustomerPasswordUpdated = false\n state.customerPasswordErrors = payload\n },\n setCustomerEmailPending(state, payload) {\n state.customerEmailPending = payload\n },\n setCustomerEmailErrors(state, payload) {\n state.customerEmailErrors = payload\n },\n setCustomerProfileIsUpdated(state) {\n state.customerProfileErrors = {}\n state.isCustomerProfileUpdated = true\n },\n setCustomerProfileErrors(state, payload) {\n state.isCustomerProfileUpdated = false\n state.customerProfileErrors = payload\n },\n setTwoFactor(state, payload) {\n state.twoFactor = payload['2fa_secret']\n },\n setTwoFactorStatusNull(state) {\n state.twoFactorStatus = null\n },\n setTwoFactorEnable(state, payload) {\n state.twoFactorStatus = 'enable'\n state.backupCodes = payload.backup_codes\n },\n setTwoFactorDisable(state) {\n state.twoFactorStatus = 'disable'\n },\n setTwoFactorToggleError(state, payload) {\n state.twoFactorToggleError = payload\n },\n setSecondFactorBackupCodesNull(state) {\n state.backupCodes = []\n },\n setSocialAccounts(state, payload) {\n state.socialAccounts = payload\n },\n setSocialAccountError(state, payload) {\n state.socialAccountError = payload\n }\n },\n actions: {\n async getCustomerProfile() {\n const response = await fetchCustomer()\n\n if (response && response.status === 200) {\n await setCustomer(JSON.stringify(response.data.customer))\n }\n },\n\n async updateCustomerProfile({ commit }, form) {\n await commit('setDefaultProfileIsUpdated')\n\n const response = await fetchCustomerProfile(form)\n\n if (response && response.status === 204) {\n await commit('setCustomerProfileIsUpdated')\n } else if (response) {\n await commit('setCustomerProfileErrors', response.data)\n }\n },\n\n async getCountries({ commit }) {\n const response = await fetchCountries()\n\n if (response && response.status === 200) {\n commit('setCountries', response.data)\n }\n },\n\n async updateCustomerPassword({ commit }, form) {\n const response = await fetchCustomerPassword(form)\n\n if (response && response.status === 204) {\n commit('setCustomerPasswordIsUpdated')\n } else if (response) {\n commit('setCustomerPasswordErrors', response.data)\n }\n },\n\n async getCustomerEmailPending({ commit }) {\n const response = await fetchCustomerEmailPending()\n\n if (response && response.status === 200) {\n commit('setCustomerEmailPending', response?.data)\n }\n else {\n commit('setCustomerEmailErrors', response?.data)\n }\n },\n\n async requestCustomerEmailChange({ commit }, form) {\n const response = await fetchCustomerEmailChange(form)\n\n if (response && response.status === 200) {\n commit('setCustomerEmailErrors', {})\n }\n else if (response) {\n commit('setCustomerEmailErrors', response?.data)\n }\n },\n\n async resendCustomerEmail({ commit }) {\n const response = await fetchCustomerEmailResend()\n\n if (response && response.status === 200) {\n commit('setCustomerEmailErrors', {})\n }\n else if (response) {\n commit('setCustomerEmailErrors', response?.data)\n }\n },\n\n async abortCustomerEmail({ commit }) {\n const response = await fetchCustomerEmailAbort()\n\n if (response && response.status === 200) {\n commit('setCustomerEmailErrors', {})\n }\n else if (response) {\n commit('setCustomerEmailErrors', response?.data)\n }\n },\n\n async getCustomerTwoFactor({ commit }) {\n const response = await fetchCustomerSecondFactor()\n\n if (response && response.status === 200) {\n commit('setTwoFactor', response.data)\n }\n },\n\n async enableTwoFactor({ commit }, data) {\n const response = await fetchCustomerToggleTwoFactor('enable', data)\n\n if (response && response.status === 200) {\n commit('setTwoFactorEnable', response.data)\n } else if (response) {\n commit('setTwoFactorToggleError', response.data)\n }\n },\n\n async disableTwoFactor({ commit }, data) {\n const response = await fetchCustomerToggleTwoFactor('disable', data)\n\n if (response && response.status === 200) {\n commit('setTwoFactorDisable')\n } else if (response) {\n commit('setTwoFactorToggleError', response.data)\n }\n },\n\n async verifyTwoFactor({ commit }, data) {\n const response = await fetchVerifySecondFactor(data)\n if (response && response.status !== 200) {\n commit('setTwoFactorToggleError', response.data)\n }\n return response\n },\n\n\n async getSocialAccounts({ commit }, data) {\n const response = await fetchSocialAccounts(data)\n if (response && response.status === 200) {\n commit('setSocialAccounts', response.data)\n } else if (response) {\n commit('setSocialAccountError', response.data)\n }\n },\n\n async toggleSocialAccount({ commit }, { providerName, toggle }) {\n const response = toggle ? await fetchLinkSocialAccount(providerName) : await fetchUnlinkSocialAccount(providerName);\n\n if (response && response.status === 200) {\n commit('setSocialAccounts', response.data);\n } else if (response) {\n commit('setSocialAccountError', response.data);\n }\n },\n\n async verifySMS({ commit }, data) {\n const response = await fetchCustomerSMSVerification(data)\n\n if (response && response.data.customer) {\n commit('setCustomer', response.data, { root: true })\n }\n\n return response\n }\n },\n}\n","\nconst initialState = {\n cancelTokens: []\n}\n\nexport default {\n state: initialState,\n getters: {\n cancelTokens(state) {\n return state.cancelTokens\n }\n },\n mutations: {\n add_cancel_token(state, token) {\n state.cancelTokens.push(token)\n },\n clear_cancel_tokens(state) {\n state.cancelTokens = []\n }\n },\n actions: {\n cancel_pending_requests({ state, commit }) {\n state.cancelTokens.forEach((request, i) => {\n if(request.cancel){\n request.cancel()\n }\n })\n\n commit('clear_cancel_tokens')\n }\n },\n}\n","import { getInstance } from '@/configs/axios'\n\nexport const fetchAnnouncements = async () => {\n return getInstance().get('/api/customer/v1/announcement')\n .catch(function (error) {\n return error.response\n })\n}\n\nexport const fetchAnnouncement = async (id) => {\n return getInstance().get(`/api/customer/v1/announcement/${id}`)\n .catch(function (error) {\n return error.response\n })\n}","import { fetchAnnouncements, fetchAnnouncement } from '@/services/announcement'\n\nconst initialState = {\n announcements: [],\n timestamp: null\n}\n\nexport default {\n state: initialState,\n getters: {\n announcements: (state) => state.announcements,\n announcementTimestamp: (state) => state.timestamp,\n hasNewAnnouncements: (state) => {\n if (state.announcements) {\n return state.announcements.find(item => item.read_at === null)\n }\n }\n },\n mutations: {\n setAnnouncements(state, payload) {\n state.announcements = payload\n },\n setTimestamp(state) {\n state.timestamp = new Date()\n }\n },\n actions: {\n async getAnnouncements({commit}) {\n const response = await fetchAnnouncements()\n\n if (response && response.status === 200) {\n commit('setAnnouncements', response.data.data)\n commit('setTimestamp')\n }\n },\n\n async getAnnouncement({commit}, id) {\n const response = await fetchAnnouncement(id)\n\n if (response && response.status === 200) {\n return response\n }\n }\n },\n}\n","import { createStore } from 'vuex'\nimport customer from '@/store/modules/customer'\nimport login from '@/store/modules/auth/login'\nimport registration from '@/store/modules/auth/registration'\nimport profilCompletion from '@/store/modules/auth/profile-completion'\nimport forgotPassword from '@/store/modules/auth/forgot-password'\nimport resetPassword from '@/store/modules/auth/reset-password'\nimport tickets from '@/store/modules/support/tickets'\nimport ticket from '@/store/modules/support/tickets/ticket'\nimport messages from '@/store/modules/support/tickets/messages'\nimport abuse from '@/store/modules/support/abuse'\nimport balance from '@/store/modules/payment/balance'\nimport {\n server,\n disks,\n ip,\n networks,\n settings,\n snapshots,\n backups,\n upgrades,\n vnc,\n reinstall,\n statistics\n} from '@/store/modules/service/server'\nimport sshKey from '@/store/modules/service/ssh-key'\nimport payment from '@/store/modules/payment'\nimport transaction from '@/store/modules/payment/transaction'\nimport invoice from '@/store/modules/payment/invoice'\nimport affiliates from '@/store/modules/payment/affiliate'\nimport profile from '@/store/modules/profile'\nimport pendingRequests from '@/store/modules/pending_requests'\nimport announcement from '@/store/modules/announcement'\n\nexport default createStore({\n modules: {\n customer,\n login,\n registration,\n profilCompletion,\n forgotPassword,\n resetPassword,\n tickets,\n ticket,\n messages,\n abuse,\n balance,\n server,\n disks,\n ip,\n networks,\n settings,\n snapshots,\n backups,\n upgrades,\n vnc,\n reinstall,\n statistics,\n sshKey,\n payment,\n transaction,\n invoice,\n affiliates,\n profile,\n pendingRequests,\n announcement\n },\n})\n","import { createApp, reactive } from 'vue'\nimport axios from 'axios'\nimport VueCookies from 'vue3-cookies'\nimport VueApexCharts from 'vue3-apexcharts'\nimport VueAxios from 'vue-axios'\nimport moment from 'moment'\nimport Toaster from '@meforma/vue-toaster'\nimport * as Sentry from '@sentry/vue'\nimport { BrowserTracing } from '@sentry/tracing'\nimport VueQrcode from '@chenfengyuan/vue-qrcode'\nimport App from './App.vue'\nimport store from '@/store'\nimport router from '@/router'\nimport i18n from './i18n'\nimport VueMatomo from 'vue-matomo'\nimport '@/main.less'\nimport 'moment/dist/locale/de'\nimport { useDark } from '@vueuse/core'\n\nconst app = createApp(App)\n\nexport const featureFlags = {\n // showAdvancedOptions: label === \"CLOUD2DAY\",\n // Other flags\n};\n\nasync function initApp() {\n const label = import.meta.env.VITE_LABEL;\n\n const assets = reactive({ logo: null, authLogo: null });\n\n if (label === \"VPS2DAY\") {\n assets.logo = (await import('@/assets/images/vps2day/logo-white.svg')).default;\n assets.authLogo = (await import('@/assets/images/vps2day/logo-blue.svg')).default;\n // add other assets\n\n } else if (label === \"CLOUD2DAY\") {\n assets.logo = (await import('@/assets/images/cloud2day/logo.svg')).default;\n }\n\n // Providing the assets object for child components to inject\n app.provide(\"assets\", assets);\n\n app.config.globalProperties.$filters = {\n timeAgo(date) {\n return moment(date).locale(i18n.global.locale.value).fromNow()\n },\n\n dateTime(date, format) {\n return moment(date).locale(i18n.global.locale.value).format(format)\n },\n\n diffDay(start, end) {\n return moment(start).locale(i18n.global.locale.value).diff(moment(end), 'days')\n }\n }\n\n Sentry.init({\n app,\n dsn: import.meta.env.VITE_SENTRY_DSN,\n integrations: [\n new BrowserTracing({\n routingInstrumentation: Sentry.vueRouterInstrumentation(router),\n tracingOrigins: [\"localhost\", \"vps2day.com\", \"servinga.com\", /^\\//],\n }),\n ],\n environment: import.meta.env.VITE_SENTRY_ENVIROMENT,\n tracesSampleRate: import.meta.env.VITE_SENTRY_RATE,\n })\n\n const isDark = useDark()\n isDark.value = localStorage.getItem('darkMode') === 'true'\n app.provide('isDark', isDark)\n\n app\n .use(Toaster)\n .use(VueAxios, axios)\n .use(VueCookies)\n .use(VueApexCharts)\n .use(store)\n .use(router)\n .use(i18n)\n .use(moment)\n .use(VueMatomo, {\n // Config\n router: router,\n enableHeartBeatTimer: true,\n host: import.meta.env.VITE_MATOMO_SERVER,\n siteId: import.meta.env.VITE_MATOMO_SITE_ID,\n disableCookies: import.meta.env.VITE_MATOMO_DISABLE_COOKIES,\n debug: import.meta.env.VITE_MATOMO_LOG_DEBUG_INFOS,\n })\n .component(VueQrcode.name, VueQrcode)\n .mount('#app')\n}\n\ninitApp();\n"],"file":"assets/index-DGMnBAUG.js"}