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,KAAK4hC,KAAKF,G,IC/CvF,IAAIG,EAAsBjD,EAAoBY,OAAEpxB,EAAW,CAAC,MAAM,WAAa,OAAOwwB,EAAoB,KAAO,IACjHiD,EAAsBjD,EAAoBY,EAAEqC,E","sources":["webpack://frontend/./src/App.vue","webpack://frontend/./src/App.vue?919b","webpack://frontend/./src/views/HomeView.vue","webpack://frontend/./src/components/MainNav.vue","webpack://frontend/./src/components/ProviderConfig.vue","webpack://frontend/./src/components/ProviderConfig.vue?5ab9","webpack://frontend/./src/components/MainNav.vue?a01c","webpack://frontend/./src/components/DeviceDetails.vue","webpack://frontend/./src/utils/constants.js","webpack://frontend/./src/store/modules/utils/unifiedBalances.js","webpack://frontend/./src/store/common.js","webpack://frontend/./src/utils/graphql_helpers.js","webpack://frontend/./src/utils/axiosInstances.js","webpack://frontend/./src/store/modules/utils/totogi/mutations.js","webpack://frontend/./src/components/common/tot-badge.vue","webpack://frontend/./src/components/common/tot-badge.vue?2728","webpack://frontend/./src/components/common/tot-input-modal.vue","webpack://frontend/./src/components/common/tot-button.vue","webpack://frontend/./src/components/common/tot-button.vue?fe08","webpack://frontend/./src/components/common/tot-input-modal.vue?5a22","webpack://frontend/./src/components/DataEdrs.vue","webpack://frontend/./src/components/DataEdrs.vue?0a16","webpack://frontend/./src/components/TextEdrs.vue","webpack://frontend/./src/components/TextEdrs.vue?17d4","webpack://frontend/./src/components/VoiceEdrs.vue","webpack://frontend/./src/components/VoiceEdrs.vue?6f12","webpack://frontend/./src/components/TopupEdrs.vue","webpack://frontend/./src/components/TopupEdrs.vue?3fe2","webpack://frontend/./src/components/SubscriptionEdrs.vue","webpack://frontend/./src/components/SubscriptionEdrs.vue?25be","webpack://frontend/./src/components/DeviceDetails.vue?c764","webpack://frontend/./src/views/HomeView.vue?2810","webpack://frontend/./src/views/SignInView.vue","webpack://frontend/./src/components/FrontPage.vue","webpack://frontend/./src/components/FrontPage.vue?19fa","webpack://frontend/./src/components/SignIn.vue","webpack://frontend/./src/components/SignIn.vue?5a66","webpack://frontend/./src/views/SignInView.vue?cc43","webpack://frontend/./src/store/modules/queries.js","webpack://frontend/./src/store/modules/utils/persistence/mutations.js","webpack://frontend/./src/store/modules/utils/persistence/queries.js","webpack://frontend/./src/store/modules/account.js","webpack://frontend/./src/utils/storageSizes.js","webpack://frontend/./src/store/modules/accountBalances.js","webpack://frontend/./src/store/modules/utils/charging.js","webpack://frontend/./src/store/modules/charge5g.js","webpack://frontend/./src/store/modules/device.js","webpack://frontend/./src/store/modules/edrs.js","webpack://frontend/./src/store/modules/notifications.js","webpack://frontend/./src/store/modules/planVersionAllocations.js","webpack://frontend/./src/store/modules/myProviderConfig.js","webpack://frontend/./src/store/modules/planVersions.js","webpack://frontend/./src/utils/providerId.js","webpack://frontend/./src/store/modules/signIn.js","webpack://frontend/./src/store/modules/unitMapping.js","webpack://frontend/./src/store/modules/credit5g.js","webpack://frontend/./src/store/modules/logging.js","webpack://frontend/./src/store/modules/settings.js","webpack://frontend/./src/store/modules/user.js","webpack://frontend/./src/store/index.js","webpack://frontend/./src/router/index.js","webpack://frontend/./src/main.js","webpack://frontend/./node_modules/moment-timezone/node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://frontend/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://frontend/webpack/bootstrap","webpack://frontend/webpack/runtime/chunk loaded","webpack://frontend/webpack/runtime/compat get default export","webpack://frontend/webpack/runtime/define property getters","webpack://frontend/webpack/runtime/global","webpack://frontend/webpack/runtime/hasOwnProperty shorthand","webpack://frontend/webpack/runtime/node module decorator","webpack://frontend/webpack/runtime/publicPath","webpack://frontend/webpack/runtime/jsonp chunk loading","webpack://frontend/webpack/startup"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=6e66fae1\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=6e66fae1&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","\n\n\n\n\n","\n\n\n","import { render } from \"./ProviderConfig.vue?vue&type=template&id=65a83c36\"\nimport script from \"./ProviderConfig.vue?vue&type=script&lang=js\"\nexport * from \"./ProviderConfig.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./MainNav.vue?vue&type=template&id=3ca82522\"\nimport script from \"./MainNav.vue?vue&type=script&lang=js\"\nexport * from \"./MainNav.vue?vue&type=script&lang=js\"\n\nimport \"./MainNav.vue?vue&type=style&index=0&id=3ca82522&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","export const GRAPHQL_DEVICE_NOT_FOUND_ERROR_CODE = 'DeviceNotFound'\n\nexport const RATING_GROUP_300_BUCKET = Array.from(Array(100).keys()).map(i => {\n return i + 300\n})\n\nexport const RATING_GROUP_VOICE = 100\nexport const RATING_GROUP_TEXT = 200\nexport const RATING_GROUP_DATA = 300\n\nexport const SERVICE_TYPE_VOICE = 'Voice'\nexport const SERVICE_TYPE_TEXT = 'Text'\nexport const SERVICE_TYPE_DATA = 'Data'\n\nexport const BALANCE_TYPE_MONETARY = 'monetary'\n\nexport const RATING_GROUP_SERVICE_MAPPING = {\n [RATING_GROUP_VOICE]: SERVICE_TYPE_VOICE,\n [RATING_GROUP_TEXT]: SERVICE_TYPE_TEXT,\n [RATING_GROUP_DATA]: SERVICE_TYPE_DATA\n}\n\nexport const EDR_UNLIMITED_PLAN_SERVICE_ID = 'Monetary'\nexport const UNLIMITED_BALANCE_VALUE = 'Unlimited'\n\nexport const EDRS_CALLED_BY_MAPPING_ZAIN = {\n 'ps-testing+zaindsp@totogi.com': 'Zain DSP',\n 'tarig.hussein+zain-prod@sd.zain.com': 'USSD',\n 'totogiapi+prod@sd.zain.com': 'Top-up Server',\n 'ps-testing+zain-prod@totogi.com': 'Totogi Services',\n 'zainusers+topup-hawatif-employees@totogi.com': 'Hwatif and KSHC Topups',\n // 'zainusers+topup-hawatif-employees@totogi.com': 'Hawatif Employees Topups',\n 'zainusers+topup-zain-staff@totogi.com': 'Zain Staff Topups',\n 'zainusers+topup-franchise-agent@totogi.com': 'Franchise Agent Topups'\n}\n\nexport const N28_SUBSCRIPTION_BASE_URL = process.env.NODE_ENV === 'development' ? 'https://zhfc8btxn8.execute-api.us-west-2.amazonaws.com' : 'https://s8j52zy9ak.execute-api.us-west-2.amazonaws.com'\nexport const N28_SUBSCRIPTION_URL = `${N28_SUBSCRIPTION_BASE_URL}/subscribe`\nexport const N28_SUBSCRIPTIONS_CALLBACK_URL = `${N28_SUBSCRIPTION_BASE_URL}/`\nexport const PLANAI_DATA_API_URL = 'https://cza9orktld.execute-api.us-east-1.amazonaws.com' // staging 'https://r594mllgfd.execute-api.us-east-1.amazonaws.com'\nexport const AVAILABLE_PLAN_OVERRIDES = [\n {\n field: 'alignToBillingDoM',\n type: 'BOOLEAN',\n scope: 'Plan',\n referencedField: 'ProratingOptionsInput.alignToBillingDoM',\n values: ['true', 'false']\n },\n {\n field: 'fee',\n type: 'NUMBER',\n scope: 'Plan',\n referencedField: 'fee'\n },\n {\n field: 'first usage fee',\n type: 'NUMBER',\n scope: 'Plan',\n referencedField: 'firstUsageFee'\n },\n {\n field: 'number of periods',\n type: 'NUMBER',\n scope: 'Plan',\n referencedField: 'RecurringPeriodInput.numberOfPeriods'\n },\n {\n field: 'recurring',\n type: 'BOOLEAN',\n scope: 'Plan',\n referencedField: 'RecurringPeriodInput.recurring',\n values: ['true', 'false']\n },\n {\n field: 'recurring period',\n type: 'STRING',\n scope: 'Plan',\n referencedField: 'RecurringPeriodInput.numberOfPeriods'\n },\n {\n field: 'refundPolicy',\n type: 'STRING (NONE / FULL_REFUND / TIME_BASED)',\n scope: 'Plan',\n referencedField: 'ProratingOptionsInput.refundPolicy',\n values: ['NONE', 'FULL_REFUND', 'TIME_BASED']\n },\n {\n field: 'renewalGracePeriod',\n type: 'STRING',\n scope: 'Plan',\n referencedField: 'InitialTemplateInstance.renewalGracePeriod'\n },\n {\n field: 'subscriptionPolicy',\n type: 'STRING (NONE / TIME_BASED)',\n scope: 'Plan',\n referencedField: 'ProratingOptionsInput.subscriptionPolicy',\n values: ['NONE', 'TIME_BASED']\n },\n {\n field: 'purchase fee',\n type: 'NUMBER',\n scope: 'Plan',\n referencedField: 'InitialTemplateInstance.purchaseFee'\n },\n {\n field: 'recurring units',\n type: 'NUMBER',\n scope: 'Plan Service',\n referencedField: 'UnitAllowance.periodAllowance'\n },\n {\n field: 'rollover',\n type: 'BOOLEAN',\n scope: 'Plan Service',\n referencedField: 'UnitAllowanceInput.rollover',\n values: ['true', 'false']\n },\n {\n field: 'workingHours',\n type: 'JSON',\n scope: 'Plan Service',\n referencedField: 'InitialTemplateServiceInput.workingHours'\n }\n]\n","export function buildReadableAllocationOrBalance (convertedEntity, entityType) {\n return Object.keys(convertedEntity).map(entityKey => {\n const entityValue = convertedEntity[entityKey]\n const entityType = getEntityType(entityKey)\n return {\n id: entityKey,\n name: getEntityName(entityKey),\n readableValue: getReadableEntityValue(entityType, entityValue),\n type: entityType,\n uuid: getEntityUUID(entityKey),\n value: entityValue\n }\n })[0]\n}\n\nexport async function buildReadableAllocationsOrBalances (convertedEntities, entityType) {\n return convertedEntities.map(convertedEntity => buildReadableAllocationOrBalance(convertedEntity, entityType))\n}\n\nexport function getEntityName (entityKey) {\n return entityKey.split('.')[0].split('-').map(word => `${word.charAt(0).toUpperCase()}${word.slice(1)}`).join(' ')\n}\n\nexport function getEntityType (entityKey) {\n if (entityKey.includes('voice-')) {\n return 'Voice'\n } else if (entityKey.includes('text-')) {\n return 'Text'\n } else if (entityKey.includes('data')) {\n return 'Data'\n }\n}\n\nexport function getEntityUUID (entityKey) {\n const entityKeySplitted = entityKey.split('.')\n return entityKeySplitted[entityKeySplitted.length - 1]\n}\n\nexport function getReadableEntityValue (entityType, entityValue, unitType) {\n if (entityValue === null) {\n return 'Unlimited'\n }\n switch (String(entityType)) {\n case 'voice':\n return (Math.round((entityValue / 60) * 100) / 100).toFixed(2) + ' mins'\n case 'data':\n return (Math.round((entityValue / (1024 * 1024)) * 100) / 100).toFixed(2) + ' MB'\n case 'text':\n return (entityValue).toString() + ' messages'\n }\n console.log('Readable entity', entityType, entityValue, unitType)\n switch (String(unitType).toLowerCase()) {\n case 'time':\n return (Math.round((entityValue / 60) * 100) / 100).toFixed(2) + ' mins'\n case 'volume':\n return (Math.round((entityValue / (1024 * 1024)) * 100) / 100).toFixed(2) + ' MB'\n default:\n return (Math.round(entityValue * 100) / 100).toFixed(2)\n }\n}\n\nexport async function getMonetaryBalance (balance) {\n return balance.Monetary.total\n}\n\nexport async function getAllServiceBalances (balance) {\n const voiceKeys = Object.keys(balance).filter(objectKey => objectKey.startsWith('voice-'))\n const textKeys = Object.keys(balance).filter(objectKey => objectKey.startsWith('text-'))\n const dataKeys = Object.keys(balance).filter(objectKey => objectKey.startsWith('data'))\n // start with naive implementation that assumes just one balance\n let convertedBalances = []\n for (let i = 0; i < voiceKeys.length; i++) {\n // Add voice seconds to minutes conversion\n const newBalance = {\n [voiceKeys[i]]: balance[voiceKeys[i]].total\n }\n convertedBalances = [...convertedBalances, newBalance]\n }\n for (let i = 0; i < textKeys.length; i++) {\n const newBalance = {\n [textKeys[i]]: balance[textKeys[i]].total\n }\n convertedBalances = [...convertedBalances, newBalance]\n }\n for (let i = 0; i < dataKeys.length; i++) {\n // Add bytes to MB conversion\n const newBalance = {\n [dataKeys[i]]: balance[dataKeys[i]].total\n }\n convertedBalances = [...convertedBalances, newBalance]\n }\n return convertedBalances\n}\n\nexport async function getAllServiceAllowances (allowances) {\n let convertedAllowances = []\n try {\n for (let i = 0; i < allowances.length; i++) {\n if (allowances[i].unit && allowances[i].unit.balanceName !== 'undefined') {\n const newAllowance = {\n [allowances[i].unit.balanceName]: allowances[i].unit.periodAllowance\n }\n convertedAllowances = [...convertedAllowances, newAllowance]\n }\n }\n return convertedAllowances\n } catch (e) {\n console.log('Undefined balance name found')\n console.log(e)\n return convertedAllowances\n }\n}\n","export const graphQLUrl = 'https://gql.produseast1.api.totogi.com/graphql' // 'https://api.produseast1.totogi.app/graphql'// 'https://4c3mrbifgveqpkxnni5fcjhjwi.appsync-api.us-east-1.amazonaws.com/graphql'\nexport const cognitoIdpSignInUrl = 'https://cognito-idp.us-east-1.amazonaws.com/us-east-1_us-east-1_foZ45Yf8D/'\nexport const proxyUrlProd = 'https://a6m27qjylj.execute-api.us-west-2.amazonaws.com/'\nexport const proxyUrlDev = 'https://qtl38i42a0.execute-api.us-west-2.amazonaws.com/'\nexport const notificationsUrlProd = 'https://s1troos7c4.execute-api.us-west-2.amazonaws.com/'\nexport const notificationsUrlDev = 'https://1k4plqkowb.execute-api.us-west-2.amazonaws.com/'\nexport const persistenceUrlDev = 'https://ylygkvbrercm7mmxwobfqykn5a.appsync-api.us-east-1.amazonaws.com/graphql'\nexport const persistenceUrlProd = 'https://74cwr6wm25dfnnkoh5wzxgsg6e.appsync-api.us-east-1.amazonaws.com/graphql'\n\nexport const notificationsEventBusArn = 'arn:aws:events:us-west-2:192911284903:event-bus/EB-Totogi-igototwireless'\nexport const notificationsUrl = process.env.NODE_ENV === 'development' ? notificationsUrlDev : notificationsUrlProd\nexport const proxyUrl = process.env.NODE_ENV === 'development' ? proxyUrlDev : proxyUrlProd\nexport const persistenceUrl = process.env.NODE_ENV === 'development' ? persistenceUrlDev : persistenceUrlProd\n","export const buildGraphQlPayload = (graphql, variables) => {\n return JSON.stringify({\n query: graphql,\n variables: variables\n })\n}\n","import axios from 'axios'\nimport router from '../router'\nimport { buildGraphQlPayload } from './graphql_helpers'\n\nexport const axiosInstance = axios.create()\n\naxiosInstance.interceptors.response.use(\n response => response,\n error => {\n if (error.response.status === 401) {\n router.push({ name: 'SignIn' })\n } else {\n throw error\n }\n }\n)\n\nexport const plainAxiosInstance = axios.create()\n\nexport const axiosGraphQlRequest = (graphQlUrl, graphQlPayload, graphQlPayloadVariables, graphQlHeaders) => {\n return axiosInstance.post(\n graphQlUrl,\n buildGraphQlPayload(graphQlPayload, graphQlPayloadVariables),\n graphQlHeaders\n )\n}\n","export const subscribeToPlan = /* GraphQL */ `\n mutation SubscribeToPlan($input: SubscribeToPlanVersionInput!) {\n subscribeToPlan(input: $input) {\n ... on SubscribeToPlanVersionValidationFailed {\n errorMessage\n errorCode\n }\n ... on InvalidField {\n errorMessage\n fieldName\n errorCode\n }\n ... on AccountNotFound {\n errorMessage\n providerId\n errorCode\n accountId\n }\n ... on PlanVersionIsNotAssignable {\n errorMessage\n providerId\n planVersionId\n errorCode\n }\n ... on PlanVersionNotFound {\n errorMessage\n planVersionId\n providerId\n errorCode\n }\n ... on SubscribeToPlanVersionPayload {\n __typename\n subscribedPlanVersion {\n to\n from\n planVersion {\n version\n state\n id\n }\n }\n account {\n customData\n id\n activePlanVersions {\n from\n to\n planVersion {\n version\n state\n id\n }\n }\n archivedPlanVersions {\n to\n from\n planVersion {\n version\n state\n id\n }\n }\n balance {\n version\n value\n customData\n }\n inactivePlanVersions {\n to\n planVersion {\n state\n version\n id\n }\n from\n }\n }\n }\n }\n }\n`\n\nexport const updateBalanceMutation = /* GraphQL */ `\n mutation UpdateBalance($input: UpdateBalanceInput!) {\n updateBalance(input: $input) {\n ... on BalancePayload {\n providerId\n accountId\n balanceInfo {\n balanceId\n balanceType {\n balanceTypeId\n name\n limit\n }\n priority\n balanceValue\n limit\n used\n available\n }\n }\n ... on BalanceNotFound {\n providerId\n balanceId\n errorCode\n errorMessage\n }\n ... on BalanceTypeNotFound {\n providerId\n balanceTypeId\n errorCode\n errorMessage\n }\n ... on AccountNotFound {\n providerId\n accountId\n errorCode\n errorMessage\n }\n ... on InvalidField {\n fieldName\n errorCode\n errorMessage\n }\n ... on RateLimitExceeded {\n providerId\n retryAfter\n errorCode\n errorMessage\n }\n ... on InternalServerError {\n errorCode\n errorMessage\n }\n }\n }\n`\n","\n\n\n\n\n","import { render } from \"./tot-badge.vue?vue&type=template&id=4e735cd4\"\nimport script from \"./tot-badge.vue?vue&type=script&lang=js\"\nexport * from \"./tot-badge.vue?vue&type=script&lang=js\"\n\nimport \"./tot-badge.vue?vue&type=style&index=0&id=4e735cd4&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","\n\n\n","import { render } from \"./tot-button.vue?vue&type=template&id=1b963c6b\"\nimport script from \"./tot-button.vue?vue&type=script&lang=js\"\nexport * from \"./tot-button.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./tot-input-modal.vue?vue&type=template&id=508bcdc9\"\nimport script from \"./tot-input-modal.vue?vue&type=script&lang=js\"\nexport * from \"./tot-input-modal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./DataEdrs.vue?vue&type=template&id=5a88a087\"\nimport script from \"./DataEdrs.vue?vue&type=script&lang=js\"\nexport * from \"./DataEdrs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./TextEdrs.vue?vue&type=template&id=0606b9e1\"\nimport script from \"./TextEdrs.vue?vue&type=script&lang=js\"\nexport * from \"./TextEdrs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./VoiceEdrs.vue?vue&type=template&id=46bf102e\"\nimport script from \"./VoiceEdrs.vue?vue&type=script&lang=js\"\nexport * from \"./VoiceEdrs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./TopupEdrs.vue?vue&type=template&id=6986ccc0\"\nimport script from \"./TopupEdrs.vue?vue&type=script&lang=js\"\nexport * from \"./TopupEdrs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n","import { render } from \"./SubscriptionEdrs.vue?vue&type=template&id=49e90eff\"\nimport script from \"./SubscriptionEdrs.vue?vue&type=script&lang=js\"\nexport * from \"./SubscriptionEdrs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./DeviceDetails.vue?vue&type=template&id=6749e1ef\"\nimport script from \"./DeviceDetails.vue?vue&type=script&lang=js\"\nexport * from \"./DeviceDetails.vue?vue&type=script&lang=js\"\n\nimport \"./DeviceDetails.vue?vue&type=style&index=0&id=6749e1ef&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./HomeView.vue?vue&type=template&id=33d6282c\"\nimport script from \"./HomeView.vue?vue&type=script&lang=js\"\nexport * from \"./HomeView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","\n\n\n\n\n","import { render } from \"./FrontPage.vue?vue&type=template&id=92c3d6d8\"\nimport script from \"./FrontPage.vue?vue&type=script&lang=js\"\nexport * from \"./FrontPage.vue?vue&type=script&lang=js\"\n\nimport \"./FrontPage.vue?vue&type=style&index=0&id=92c3d6d8&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./SignIn.vue?vue&type=template&id=1d225bfc\"\nimport script from \"./SignIn.vue?vue&type=script&lang=js\"\nexport * from \"./SignIn.vue?vue&type=script&lang=js\"\n\nimport \"./SignIn.vue?vue&type=style&index=0&id=1d225bfc&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./SignInView.vue?vue&type=template&id=6d7af5dc\"\nimport script from \"./SignInView.vue?vue&type=script&lang=js\"\nexport * from \"./SignInView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src677690602/src/customer360.totogi.solutions/frontend/node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export function getPlanVersionInformationQuery (providerId, planVersionId) {\r\n return JSON.stringify({\r\n query: `query GetPlanVersion {\r\n getPlanVersion(\r\n planVersionId: \"${planVersionId}\"\r\n providerId: \"${providerId}\"\r\n ) {\r\n ... on PlanVersionNotFound {\r\n errorMessage\r\n errorCode\r\n planVersionId\r\n providerId\r\n }\r\n ... on PlanVersion {\r\n providerId\r\n plan {\r\n name\r\n id\r\n }\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n template {\r\n __typename\r\n ... on InitialTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n managedBalance {\r\n managedBalanceTypeId\r\n periodAllowance\r\n rollover\r\n maxRolloverPeriods\r\n rolloverAllowance\r\n rolloverMaxAllowance\r\n chargeNewBalanceFirst\r\n }\r\n }\r\n }\r\n ... on InitialRecurringFirstUsageTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getMyProviderConfig () {\r\n return JSON.stringify({\r\n query: `query GetMyProviderConfig {\r\n getMyProviderConfig {\r\n ... on ProviderConfig {\r\n id\r\n allowedLifecycleTransitions\r\n commonName\r\n deleteProviderExecutionArn\r\n emergencyNumbers\r\n eventBusArn\r\n homeNetworks\r\n lifecycleStage\r\n limits {\r\n apiType\r\n hardLimitTps\r\n overHardLimitUntil\r\n overSoftLimitUntil\r\n rejectRequestsOverSoftLimit\r\n softLimitTps\r\n }\r\n name\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n errorCode\r\n errorMessage\r\n providerLifecycleStage\r\n }\r\n ... on RateLimitExceeded {\r\n errorCode\r\n errorMessage\r\n retryAfter\r\n }\r\n __typename\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function getSettingsQuery (providerId) {\r\n return JSON.stringify({\r\n query: `query GetSettings {\r\n getSettings(providerId: \"${providerId}\") {\r\n ... on Settings {\r\n providerId\r\n json\r\n }\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function subscribeToPlanQuery (accountId, providerId, planVersionId, planId) {\r\n return JSON.stringify({\r\n query: `mutation SubscribeToPlan {\r\n subscribeToPlan(\r\n input: {\r\n accountId: \"${accountId}\"\r\n providerId: \"${providerId}\"\r\n planVersionId: \"${planVersionId}\"\r\n planId: \"${planId}\"\r\n }\r\n ) {\r\n ... on SubscribeToPlanVersionValidationFailed {\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on PlanVersionIsNotAssignable {\r\n errorMessage\r\n providerId\r\n planVersionId\r\n errorCode\r\n }\r\n ... on PlanVersionNotFound {\r\n errorMessage\r\n planVersionId\r\n providerId\r\n errorCode\r\n }\r\n ... on SubscribeToPlanVersionPayload {\r\n __typename\r\n subscribedPlanVersion {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n account {\r\n customData\r\n id\r\n activePlanVersions {\r\n from\r\n to\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n archivedPlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n balance {\r\n version\r\n value\r\n customData\r\n }\r\n inactivePlanVersions {\r\n to\r\n planVersion {\r\n state\r\n version\r\n id\r\n }\r\n from\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function createAccountQuery (accountId, providerId, creditLimit, timezone, billingDayOfMonth, longFirstBillingCycle) {\r\n if (!creditLimit) {\r\n creditLimit = 0\r\n }\r\n return JSON.stringify({\r\n query: `mutation CreateAccount {\r\n createAccount(\r\n input: { accountId: \"${accountId}\", providerId: \"${providerId}\", creditLimit: ${creditLimit}${creditLimit > 0 ? `, postpaid: { timezone: \"${timezone}\", billingDayOfMonth: ${billingDayOfMonth}, longFirstBillingCycle: ${longFirstBillingCycle === true} }` : ''} }\r\n ) {\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n ... on AccountAlreadyExists {\r\n errorMessage\r\n errorCode\r\n accountId\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n accountId\r\n errorCode\r\n providerId\r\n }\r\n ... on CreateAccountPayload {\r\n __typename\r\n account {\r\n id\r\n providerId\r\n }\r\n }\r\n ... on BalanceTypeNotFound {\r\n providerId\r\n balanceTypeId\r\n errorMessage\r\n errorCode\r\n }\r\n ... on PostpaidFieldInPrepaidAccount {\r\n errorMessage\r\n errorCode\r\n }\r\n ... on PostpaidPropertiesRequired {\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n errorMessage\r\n errorCode\r\n providerLifecycleStage\r\n }\r\n ... on RateLimitExceeded {\r\n providerId\r\n retryAfter\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InternalServerError {\r\n errorMessage\r\n errorCode\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function deleteAccountQuery (accountId, providerId) {\r\n return JSON.stringify({\r\n query: `mutation DeleteAccount {\r\n deleteAccount(\r\n input: { accountId: \"${accountId}\", providerId: \"${providerId}\" }\r\n ) {\r\n ... on AccountHasReferences {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n accountId\r\n errorCode\r\n }\r\n ... on DeleteAccountPayload {\r\n __typename\r\n deletedAccountId\r\n parentAccount {\r\n providerId\r\n id\r\n friendsAndFamily\r\n customData\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function createDeviceQuery (deviceId, accountId, providerId) {\r\n return JSON.stringify({\r\n query: `mutation CreateDevice {\r\n createDevice(\r\n input: {\r\n accountId: \"${accountId}\"\r\n providerId: \"${providerId}\"\r\n deviceId: \"${deviceId}\"\r\n }\r\n ) {\r\n ... on CreateDevicePayload {\r\n __typename\r\n device {\r\n providerId\r\n id\r\n customData\r\n account {\r\n id\r\n providerId\r\n }\r\n }\r\n }\r\n ... on DeviceAlreadyExists {\r\n errorMessage\r\n errorCode\r\n deviceId\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function deleteDeviceQuery (deviceId, accountId, providerId) {\r\n return JSON.stringify({\r\n query: `mutation DeleteDevice {\r\n deleteDevice(\r\n input: {\r\n accountId: \"${accountId}\"\r\n providerId: \"${providerId}\"\r\n deviceId: \"${deviceId}\"\r\n }\r\n ) {\r\n ... on DeviceNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n deviceId\r\n }\r\n ... on DeleteDevicePayload {\r\n __typename\r\n deletedDeviceId\r\n account {\r\n providerId\r\n id\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getDeviceQuery (deviceId, providerId) {\r\n return JSON.stringify({\r\n query: `query GetDevice {\r\n getDevice(\r\n providerId: \"${providerId}\",\r\n deviceId: \"${deviceId}\"\r\n ) {\r\n ... on Device {\r\n providerId\r\n id\r\n account {\r\n providerId\r\n id\r\n customData\r\n churnScore\r\n creditLimit\r\n parent {\r\n providerId\r\n id\r\n activatedAt\r\n }\r\n balances {\r\n planSubscriptionId\r\n balanceId\r\n balanceType {\r\n balanceTypeId\r\n providerId\r\n name\r\n unitType\r\n limit\r\n rateBased\r\n }\r\n priority\r\n balanceValue\r\n limit\r\n from\r\n to\r\n total\r\n reserved\r\n used\r\n available\r\n }\r\n activePlanVersions {\r\n planSubscriptionId\r\n from\r\n to\r\n overrides {\r\n name\r\n value\r\n }\r\n planVersion {\r\n providerId\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n plan {\r\n providerId\r\n name\r\n id\r\n }\r\n template {\r\n __typename\r\n ... on InitialTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n managedBalance {\r\n managedBalanceTypeId\r\n periodAllowance\r\n rollover\r\n maxRolloverPeriods\r\n rolloverAllowance\r\n rolloverMaxAllowance\r\n chargeNewBalanceFirst\r\n }\r\n }\r\n }\r\n ... on InitialRecurringFirstUsageTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n }\r\n }\r\n }\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n archivedPlanVersions {\r\n planSubscriptionId\r\n from\r\n to\r\n overrides {\r\n name\r\n value\r\n }\r\n planVersion {\r\n providerId\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n plan {\r\n providerId\r\n name\r\n id\r\n }\r\n template {\r\n __typename\r\n ... on InitialTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n managedBalance {\r\n managedBalanceTypeId\r\n periodAllowance\r\n rollover\r\n maxRolloverPeriods\r\n rolloverAllowance\r\n rolloverMaxAllowance\r\n chargeNewBalanceFirst\r\n }\r\n }\r\n }\r\n ... on InitialRecurringFirstUsageTemplateInstance {\r\n services {\r\n balanceTypeIds\r\n }\r\n }\r\n }\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n friendsAndFamily\r\n activatedAt\r\n }\r\n customData\r\n }\r\n ... on DeviceNotFound {\r\n providerId\r\n deviceId\r\n errorCode\r\n errorMessage\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n providerLifecycleStage\r\n errorCode\r\n errorMessage\r\n }\r\n ... on RateLimitExceeded {\r\n retryAfter\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getPlansQuery (providerId, after) {\r\n const variables = {\r\n orderBy: {\r\n direction: 'DESC',\r\n field: 'LAST_MODIFICATION_DATE'\r\n }\r\n }\r\n if (after) {\r\n variables.after = after\r\n }\r\n return JSON.stringify({\r\n query: `query GetPlans($orderBy: PlanOrder, $after: String) {\r\n getPlans(first: 25, providerId: \"${providerId}\", orderBy: $orderBy, after: $after) {\r\n edges {\r\n node {\r\n id\r\n name\r\n versions(first: 100) {\r\n edges {\r\n node {\r\n version\r\n state\r\n id\r\n createdAt\r\n modifiedAt\r\n }\r\n }\r\n }\r\n }\r\n }\r\n pageInfo {\r\n hasNextPage\r\n endCursor\r\n }\r\n }\r\n }`,\r\n variables\r\n })\r\n}\r\n\r\nexport function getPlanQuery (providerId, planId) {\r\n return JSON.stringify({\r\n query: `query GetPlan {\r\n getPlan(\r\n providerId: \"${providerId},\r\n planId: \"${planId}\"\r\n ) {\r\n ... on Plan {\r\n providerId\r\n id\r\n name\r\n }\r\n ... on PlanNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n planId\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n providerLifecycleStage\r\n errorCode\r\n errorMessage\r\n }\r\n ... on RateLimitExceeded {\r\n retryAfter\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function getAccountActivePlansQuery (accountId, providerId) {\r\n return JSON.stringify({\r\n query: `\r\n query GetAccount {\r\n getAccount(accountId: \"${accountId}\", providerId: \"${providerId}\") {\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on Account {\r\n id\r\n providerId\r\n churnScore\r\n creditLimit\r\n postpaid {\r\n timezone\r\n billingDayOfMonth\r\n longFirstBillingCycle\r\n }\r\n balances {\r\n balanceId\r\n balanceType {\r\n balanceTypeId\r\n providerId\r\n name\r\n unitType\r\n limit\r\n rateBased\r\n counters {\r\n balanceTypeCounterId\r\n name\r\n period {\r\n type\r\n hourOfDay\r\n dayOfMonth\r\n }\r\n isActive\r\n states {\r\n name\r\n threshold\r\n actions\r\n }\r\n isExclusive\r\n isOnUsedBalance\r\n }\r\n }\r\n priority\r\n balanceValue\r\n limit\r\n from\r\n to\r\n total\r\n reserved\r\n used\r\n available\r\n counters {\r\n balanceTypeCounterId\r\n name\r\n period {\r\n type\r\n hourOfDay\r\n dayOfMonth\r\n }\r\n isActive\r\n states {\r\n name\r\n threshold\r\n actions\r\n }\r\n isExclusive\r\n isOnUsedBalance\r\n }\r\n }\r\n activePlanVersions {\r\n planSubscriptionId\r\n from\r\n to\r\n overrides {\r\n name\r\n value\r\n }\r\n planVersion {\r\n providerId\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getAccountQuery (accountId, providerId) {\r\n return JSON.stringify({\r\n query: `\r\n query GetAccount {\r\n getAccount(accountId: \"${accountId}\", providerId: \"${providerId}\") {\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on Account {\r\n id\r\n customData\r\n providerId\r\n churnScore\r\n creditLimit\r\n postpaid {\r\n timezone\r\n billingDayOfMonth\r\n longFirstBillingCycle\r\n }\r\n balance {\r\n customData\r\n value\r\n version\r\n }\r\n balances {\r\n balanceId\r\n balanceType {\r\n balanceTypeId\r\n providerId\r\n name\r\n unitType\r\n limit\r\n rateBased\r\n counters {\r\n balanceTypeCounterId\r\n name\r\n period {\r\n type\r\n hourOfDay\r\n dayOfMonth\r\n }\r\n isActive\r\n states {\r\n name\r\n threshold\r\n actions\r\n }\r\n isExclusive\r\n isOnUsedBalance\r\n }\r\n }\r\n priority\r\n balanceValue\r\n limit\r\n from\r\n to\r\n total\r\n reserved\r\n used\r\n available\r\n counters {\r\n balanceTypeCounterId\r\n name\r\n period {\r\n type\r\n hourOfDay\r\n dayOfMonth\r\n }\r\n isActive\r\n states {\r\n name\r\n threshold\r\n actions\r\n }\r\n isExclusive\r\n isOnUsedBalance\r\n }\r\n }\r\n activePlanVersions {\r\n planSubscriptionId\r\n from\r\n to\r\n overrides {\r\n name\r\n value\r\n }\r\n planVersion {\r\n providerId\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n plan {\r\n providerId\r\n name\r\n id\r\n }\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n archivedPlanVersions {\r\n from\r\n to\r\n overrides {\r\n name\r\n value\r\n }\r\n planVersion {\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n plan {\r\n providerId\r\n name\r\n id\r\n }\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n inactivePlanVersions {\r\n from\r\n to\r\n planVersion {\r\n createdAt\r\n createdBy\r\n deployedAt\r\n deployedBy\r\n id\r\n modifiedAt\r\n modifiedBy\r\n priority\r\n refCount\r\n state\r\n version\r\n planServices {\r\n providerId\r\n \r\n balanceTypeIds\r\n managedBalanceTypeId\r\n id\r\n name\r\n ratingGroupId\r\n priority\r\n providedFields {\r\n name\r\n dataType\r\n usedByRules {\r\n edges {\r\n node {\r\n providerId\r\n name\r\n id\r\n }\r\n }\r\n }\r\n customData\r\n }\r\n ruleSets {\r\n crediting {\r\n id\r\n name\r\n pluginId\r\n }\r\n recurring {\r\n id\r\n name\r\n pluginId\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function creditAccountMutation (accountId, providerId, amount) {\r\n return JSON.stringify({\r\n query: `mutation credit {\r\n creditAccount(\r\n input: { accountId: \"${accountId}\", providerId: \"${providerId}\", amount: ${amount} }\r\n ) {\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n ... on CreditAccountPayload {\r\n __typename\r\n account {\r\n id\r\n providerId\r\n balance {\r\n customData\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getEventDataRecordsByAccountQuery (providerId, accountId, types, after, fromTimestamp, toTimestamp) {\r\n let query\r\n if (!types) {\r\n types = 'BILLING'\r\n }\r\n query = `query getEventDataRecordsByAccount {\r\n getEventDataRecordsByAccount(\r\n providerId: \"${providerId}\",\r\n accountId: \"${accountId}\",`\r\n if (after) {\r\n query += `after: \"${after}\",`\r\n }\r\n query += `first: 25,\r\n filterBy: {\r\n types: [${types}],\r\n from: \"${fromTimestamp}\",\r\n to: \"${toTimestamp}\"\r\n })\r\n {\r\n ... on EventDataRecordAccountConnection{\r\n edges{\r\n node{\r\n providerId\r\n action\r\n eventData\r\n customData\r\n createdAt\r\n id\r\n }\r\n cursor\r\n }\r\n pageInfo{\r\n hasPreviousPage\r\n hasNextPage\r\n startCursor\r\n endCursor\r\n }\r\n }\r\n ... on AccountNotFound{\r\n providerId\r\n accountId\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }`\r\n return JSON.stringify({\r\n query: query\r\n })\r\n}\r\n\r\nexport function getEventDataRecordsByDeviceQuery (providerId, deviceId, timestampStart, timestampEnd, after) {\r\n let query\r\n query = `query getEventDataRecordsByDevice {\r\n getEventDataRecordsByDevice(\r\n providerId: \"${providerId}\",\r\n deviceId: \"${deviceId}\",`\r\n if (after !== undefined) {\r\n query += `after: \"${after}\",`\r\n }\r\n query += `first: 10,\r\n filterBy: {\r\n types: [BILLING, CHARGING],\r\n from: \"${timestampStart}\",\r\n to: \"${timestampEnd}\"\r\n })\r\n {\r\n ... on EventDataRecordDeviceConnection{\r\n edges{\r\n node{\r\n providerId\r\n action\r\n eventData\r\n customData\r\n createdAt\r\n id\r\n }\r\n cursor\r\n }\r\n pageInfo{\r\n hasPreviousPage\r\n hasNextPage\r\n startCursor\r\n endCursor\r\n }\r\n }\r\n ... on DeviceNotFound{\r\n providerId\r\n deviceId\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }`\r\n return JSON.stringify({\r\n query: query\r\n })\r\n}\r\nexport function CancelPlanSubscriptionByPlanVersionMutation (accountId, providerId, planVersionId) {\r\n return JSON.stringify({\r\n query: `mutation CancelPlanSubscription {\r\n cancelPlanSubscription(\r\n input: {\r\n accountId: \"${accountId}\"\r\n providerId: \"${providerId}\"\r\n planVersionId: \"${planVersionId}\"\r\n }\r\n ) {\r\n ... on SubscriptionNotFound {\r\n from\r\n to\r\n planVersionId\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on PlanVersionNotFound {\r\n providerId\r\n planVersionId\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InternalServerError {\r\n errorCode\r\n errorMessage\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n errorCode\r\n errorMessage\r\n providerLifecycleStage\r\n }\r\n ... on MultipleSubscriptions {\r\n planVersionId\r\n errorCode\r\n errorMessage\r\n }\r\n ... on CancelPlanVersionSubscriptionPayload {\r\n __typename\r\n account {\r\n providerId\r\n id\r\n customData\r\n activePlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n archivedPlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n inactivePlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function CancelPlanSubscriptionByPlanSubscriptionMutation (accountId, providerId, planSubscriptionId) {\r\n return JSON.stringify({\r\n query: `mutation CancelPlanSubscription {\r\n cancelPlanSubscription(\r\n input: {\r\n accountId: \"${accountId}\"\r\n providerId: \"${providerId}\"\r\n planSubscriptionId: \"${planSubscriptionId}\"\r\n }\r\n ) {\r\n ... on SubscriptionNotFound {\r\n from\r\n to\r\n planVersionId\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InvalidField {\r\n errorMessage\r\n fieldName\r\n errorCode\r\n }\r\n ... on AccountNotFound {\r\n errorMessage\r\n providerId\r\n errorCode\r\n accountId\r\n }\r\n ... on PlanVersionNotFound {\r\n providerId\r\n planVersionId\r\n errorMessage\r\n errorCode\r\n }\r\n ... on InternalServerError {\r\n errorCode\r\n errorMessage\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n errorCode\r\n errorMessage\r\n providerLifecycleStage\r\n }\r\n ... on MultipleSubscriptions {\r\n planVersionId\r\n errorCode\r\n errorMessage\r\n }\r\n ... on CancelPlanVersionSubscriptionPayload {\r\n __typename\r\n account {\r\n providerId\r\n id\r\n customData\r\n activePlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n archivedPlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n inactivePlanVersions {\r\n to\r\n from\r\n planVersion {\r\n version\r\n state\r\n id\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getCurrentUserQuery () {\r\n return JSON.stringify({\r\n query: `query GetCurrentUser {\r\n getCurrentUser {\r\n providerId\r\n userId\r\n email\r\n name\r\n roleGroupMemberships\r\n phoneNumber\r\n jobTitle\r\n softwareMfaEnabled\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function updateProviderConfigEventBusArn (eventBusArn) {\r\n return JSON.stringify({\r\n query: `mutation updateMyProviderConfig {\r\n updateMyProviderConfig(\r\n input: {\r\n eventBusArn: \"${eventBusArn}\"\r\n }\r\n ) {\r\n ... on ProviderConfig {\r\n commonName\r\n eventBusArn\r\n homeNetworks\r\n emergencyNumbers\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n errorCode\r\n errorMessage\r\n providerLifecycleStage\r\n }\r\n ... on InvalidField {\r\n fieldName\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function getFieldMappingsQuery (providerId, first) {\r\n return JSON.stringify({\r\n query: `query GetFieldMappings {\r\n getFieldMappings(\r\n providerId: \"${providerId}\",\r\n first: ${first}\r\n ) {\r\n ... on FieldMappingConnection {\r\n edges {\r\n node {\r\n path\r\n expr\r\n field {\r\n name\r\n dataType\r\n customData\r\n }\r\n }\r\n cursor\r\n }\r\n pageInfo {\r\n endCursor\r\n hasPreviousPage\r\n hasNextPage\r\n }\r\n }\r\n }\r\n }`\r\n })\r\n}\r\n\r\nexport function getRatingGroupHierarchyQuery (providerId) {\r\n return JSON.stringify({\r\n query: `\r\n query GetRatingGroupHierarchy {\r\n getRatingGroupHierarchy(providerId: \"${providerId}\") {\r\n ... on RatingGroup {\r\n providerId\r\n id\r\n name\r\n perUnitRounding\r\n minReservation\r\n maxReservation\r\n unitType\r\n quotaValidityTime\r\n quotaHoldingTime\r\n enableDynamicQuotaAllocation\r\n isDefault\r\n children {\r\n id\r\n name\r\n perUnitRounding\r\n minReservation\r\n maxReservation\r\n unitType\r\n quotaValidityTime\r\n quotaHoldingTime\r\n enableDynamicQuotaAllocation\r\n isDefault\r\n children {\r\n id\r\n name\r\n perUnitRounding\r\n minReservation\r\n maxReservation\r\n unitType\r\n quotaValidityTime\r\n quotaHoldingTime\r\n enableDynamicQuotaAllocation\r\n isDefault\r\n }\r\n }\r\n }\r\n ... on InvalidProviderLifecycleStage {\r\n providerLifecycleStage\r\n errorCode\r\n errorMessage\r\n }\r\n ... on RateLimitExceeded {\r\n providerId\r\n retryAfter\r\n errorCode\r\n errorMessage\r\n }\r\n ... on InternalServerError {\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n\r\nexport function getBalanceTypesQuery (providerId) {\r\n return JSON.stringify({\r\n query: `\r\n query GetBalanceTypes {\r\n getBalanceTypes(getBalanceTypesInput: { providerId: \"${providerId}\" }) {\r\n ... on GetBalanceTypesPayload {\r\n balanceTypes {\r\n balanceTypeId\r\n providerId\r\n name\r\n unitType\r\n limit\r\n rateBased\r\n counters {\r\n balanceTypeCounterId\r\n name\r\n period {\r\n type\r\n hourOfDay\r\n dayOfMonth\r\n }\r\n isActive\r\n states {\r\n name\r\n threshold\r\n actions\r\n }\r\n isExclusive\r\n isOnUsedBalance\r\n }\r\n }\r\n }\r\n ... on BalanceTypeNotFound {\r\n providerId\r\n balanceTypeId\r\n errorCode\r\n errorMessage\r\n }\r\n ... on RateLimitExceeded {\r\n providerId\r\n retryAfter\r\n errorCode\r\n errorMessage\r\n }\r\n ... on InternalServerError {\r\n errorCode\r\n errorMessage\r\n }\r\n }\r\n }\r\n `\r\n })\r\n}\r\n","/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const createAccount = /* GraphQL */ `\n mutation CreateAccount($input: CreateAccountInput!) {\n createAccount(input: $input) {\n account {\n pk\n sk\n accountId\n providerId\n createdAt\n updatedAt\n accountName\n parentId\n email\n churnScore\n creditLimit\n subscribedPlans {\n planId\n planName\n }\n }\n }\n }\n`;\nexport const deleteAccount = /* GraphQL */ `\n mutation DeleteAccount($input: DeleteAccountInput!) {\n deleteAccount(input: $input) {\n account {\n pk\n sk\n accountId\n providerId\n createdAt\n updatedAt\n accountName\n parentId\n email\n churnScore\n creditLimit\n subscribedPlans {\n planId\n planName\n }\n }\n }\n }\n`;\nexport const updateAccount = /* GraphQL */ `\n mutation UpdateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n account {\n pk\n sk\n accountId\n providerId\n createdAt\n updatedAt\n accountName\n parentId\n email\n churnScore\n creditLimit\n subscribedPlans {\n planId\n planName\n }\n }\n }\n }\n`;\nexport const createDevice = /* GraphQL */ `\n mutation CreateDevice($input: CreateDeviceInput!) {\n createDevice(input: $input) {\n device {\n pk\n sk\n deviceId\n accountId\n providerId\n createdAt\n updatedAt\n deviceName\n parentId\n email\n }\n }\n }\n`;\nexport const deleteDevice = /* GraphQL */ `\n mutation DeleteDevice($input: DeleteDeviceInput!) {\n deleteDevice(input: $input) {\n device {\n pk\n sk\n deviceId\n accountId\n providerId\n createdAt\n updatedAt\n deviceName\n parentId\n email\n }\n }\n }\n`;\nexport const updateDevice = /* GraphQL */ `\n mutation UpdateDevice($input: UpdateDeviceInput!) {\n updateDevice(input: $input) {\n device {\n pk\n sk\n deviceId\n accountId\n providerId\n createdAt\n updatedAt\n deviceName\n parentId\n email\n }\n }\n }\n`;\n","/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const getAccounts = /* GraphQL */ `\n query GetAccounts($providerId: ID!, $accountIds: [String]) {\n getAccounts(providerId: $providerId, accountIds: $accountIds) {\n count\n scannedCount\n accounts {\n pk\n sk\n accountId\n providerId\n createdAt\n updatedAt\n accountName\n parentId\n email\n churnScore\n creditLimit\n subscribedPlans {\n planId\n planName\n }\n }\n nextToken\n }\n }\n`;\nexport const getAccountsDevices = /* GraphQL */ `\n query GetAccountsDevices(\n $providerId: ID!\n $accountName: String\n $limit: Int\n $nextToken: String\n ) {\n getAccountsDevices(\n providerId: $providerId\n accountName: $accountName\n limit: $limit\n nextToken: $nextToken\n ) {\n count\n scannedCount\n accounts_devices {\n pk\n sk\n accountId\n providerId\n createdAt\n updatedAt\n accountName\n deviceId\n parentId\n email\n churnScore\n creditLimit\n }\n nextToken\n }\n }\n`;\nexport const getDevices = /* GraphQL */ `\n query GetDevices($providerId: ID!) {\n getDevices(providerId: $providerId) {\n devices {\n pk\n sk\n deviceId\n accountId\n providerId\n createdAt\n updatedAt\n deviceName\n parentId\n email\n }\n nextToken\n }\n }\n`;\n","import { axiosInstance as axios, axiosGraphQlRequest } from '../../utils/axiosInstances'\r\nimport {\r\n createAccountQuery,\r\n deleteAccountQuery,\r\n creditAccountMutation,\r\n CancelPlanSubscriptionByPlanVersionMutation,\r\n CancelPlanSubscriptionByPlanSubscriptionMutation,\r\n getAccountActivePlansQuery\r\n} from '../modules/queries'\r\nimport { createAccount, updateAccount } from './utils/persistence/mutations'\r\nimport { getAccounts, getAccountsDevices } from './utils/persistence/queries'\r\nimport { subscribeToPlan, updateBalanceMutation } from './utils/totogi/mutations'\r\nimport { buildGraphQlPayload } from '@/utils/graphql_helpers'\r\n\r\nimport { buildReadableAllocationsOrBalances } from './utils/unifiedBalances'\r\nimport _ from 'lodash'\r\nimport moment from 'moment'\r\nimport { graphQLUrl, persistenceUrl } from '@/store/common'\r\nimport { BALANCE_TYPE_MONETARY } from '@/utils/constants'\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n accounts: [],\r\n accountsDevices: [],\r\n accountsDevicesCount: 0,\r\n accountDevicesScannedCount: 0,\r\n accountsDevicesNextToken: null\r\n },\r\n getters: {},\r\n mutations: {\r\n setAccounts (state, newValue) {\r\n state.accounts = newValue\r\n },\r\n setAccountsDevices (state, newValue) {\r\n state.accountsDevices = newValue\r\n },\r\n setAccountsDevicesResult (state, newValue) {\r\n state.accountsDevices = newValue.accounts_devices\r\n state.accountsDevicesCount = newValue.count\r\n state.accountDevicesScannedCount = newValue.scannedCount\r\n state.accountsDevicesNextToken = newValue.nextToken\r\n console.log('Counts for accounts devices', newValue.count, newValue.scannedCount)\r\n }\r\n },\r\n actions: {\r\n async delete (context, { accountId }) {\r\n await axios.post(\r\n graphQLUrl,\r\n deleteAccountQuery(\r\n accountId,\r\n context.rootState.providerId\r\n ),\r\n {\r\n headers: {\r\n Authorization: `${context.rootState.idToken}`\r\n }\r\n }\r\n )\r\n },\r\n async create (context, { accountId, accountName = '', creditLimit = 0.0000001, timezone = '+00:00', billingDayOfMonth = 1, longFirstBillingCycle = false }) {\r\n const result = await axios.post(\r\n graphQLUrl,\r\n createAccountQuery(\r\n accountId,\r\n context.rootState.providerId,\r\n creditLimit,\r\n timezone,\r\n billingDayOfMonth,\r\n longFirstBillingCycle), {\r\n headers: {\r\n Authorization: `${context.rootState.idToken}`\r\n }\r\n }\r\n )\r\n if (!result?.data?.data?.createAccount?.account) {\r\n return\r\n }\r\n await axios.post(\r\n persistenceUrl,\r\n buildGraphQlPayload(createAccount, {\r\n input: {\r\n accountId,\r\n accountName: accountName,\r\n providerId: context.rootState.providerId\r\n }\r\n }),\r\n context.rootGetters.graphQLHeaders\r\n )\r\n await context.dispatch('updateEmulatorPersistence', {\r\n accountId,\r\n subscribedPlans: [],\r\n creditLimit: 0,\r\n churnScore: 0\r\n })\r\n },\r\n async credit (context, { accountId, amount }) {\r\n await axios.post(\r\n graphQLUrl,\r\n creditAccountMutation(\r\n accountId,\r\n context.rootState.providerId,\r\n amount\r\n ), {\r\n headers: {\r\n Authorization: `${context.rootState.idToken}`\r\n }\r\n }\r\n )\r\n const account = await context.dispatch('getAccountAndActivePlans', { accountId })\r\n await context.dispatch('updateEmulatorPersistence', {\r\n accountId,\r\n creditLimit: account.creditLimit\r\n })\r\n const accountPlansAndInfo = await context.dispatch('retrieveAccountPlansAndInfo', { accountId: accountId, includeAllocations: false })\r\n const balances = accountPlansAndInfo.balances\r\n console.log('Balances')\r\n console.table(balances)\r\n for (const balance of balances) {\r\n const balanceId = balance.balanceId\r\n const balanceTypeId = balance.balanceType.balanceTypeId\r\n const balanceValue = isNaN(balance.balanceValue) ? 0 : balance.balanceValue\r\n console.log('Processing balance', balanceId, balanceTypeId, balanceValue, balanceTypeId === BALANCE_TYPE_MONETARY)\r\n if (balanceTypeId === BALANCE_TYPE_MONETARY) {\r\n await axiosGraphQlRequest(\r\n graphQLUrl,\r\n updateBalanceMutation,\r\n {\r\n input: {\r\n balanceId,\r\n providerId: context.rootState.providerId,\r\n accountId,\r\n balanceInfo: {\r\n balanceTypeId,\r\n balanceValue: (balanceValue + 1000)\r\n }\r\n }\r\n },\r\n context.rootGetters.graphQLHeaders\r\n )\r\n }\r\n }\r\n return account.creditLimit\r\n },\r\n async getAccountAndActivePlans (context, { accountId }) {\r\n return (await axios.post(\r\n graphQLUrl,\r\n getAccountActivePlansQuery(accountId, context.rootState.providerId),\r\n context.rootGetters.graphQLHeaders\r\n )).data.data.getAccount\r\n },\r\n async updateEmulatorPersistence (context, { accountId, subscribedPlans = null, creditLimit = null, churnScore = null }) {\r\n const input = {\r\n providerId: context.rootState.providerId,\r\n accountId: accountId\r\n }\r\n if (subscribedPlans) {\r\n input.subscribedPlans = subscribedPlans\r\n }\r\n if (creditLimit !== null && creditLimit !== undefined) {\r\n input.creditLimit = creditLimit\r\n }\r\n if (churnScore !== null && churnScore !== undefined) {\r\n input.churnScore = churnScore\r\n }\r\n return await axiosGraphQlRequest(\r\n persistenceUrl,\r\n updateAccount,\r\n {\r\n input: input\r\n },\r\n context.rootGetters.graphQLHeaders\r\n )\r\n },\r\n async loadAccountsDevices (context, options) {\r\n const payload = { providerId: context.rootState.providerId, limit: 10 }\r\n if (options && options.accountName && options.accountName.length) {\r\n payload.accountName = options.accountName\r\n }\r\n if (options && options.nextToken) {\r\n payload.nextToken = options.nextToken\r\n }\r\n const result = (await axiosGraphQlRequest(\r\n persistenceUrl,\r\n getAccountsDevices,\r\n payload,\r\n context.rootGetters.graphQLHeaders\r\n )).data.data.getAccountsDevices\r\n const accountIds = []\r\n result.accounts_devices.forEach(accountDevice => {\r\n accountDevice.accountIdText = accountDevice.accountId.split('-')[0]\r\n if (accountDevice.accountIdText.length > 8) {\r\n accountDevice.accountIdText = accountDevice.accountIdText.substr(0, 16)\r\n }\r\n if (accountDevice.deviceId) {\r\n accountDevice.deviceIdText = accountDevice.deviceId.split('-')[0]\r\n if (accountDevice.deviceIdText.length > 8) {\r\n accountDevice.deviceIdText = accountDevice.deviceIdText.substr(0, 16)\r\n }\r\n }\r\n accountDevice.createdAtText = moment.unix(accountDevice.createdAt).format('DD-MMM-YYYY')\r\n if (accountIds.indexOf(accountDevice.accountId) < 0) {\r\n accountIds.push(accountDevice.accountId)\r\n }\r\n })\r\n const accountsResult = (await axiosGraphQlRequest(\r\n persistenceUrl,\r\n getAccounts,\r\n { providerId: context.rootState.providerId, accountIds: accountIds },\r\n context.rootGetters.graphQLHeaders\r\n )).data.data.getAccounts\r\n const accountsMap = {}\r\n accountsResult.accounts.forEach(account => {\r\n accountsMap[account.accountId] = account\r\n })\r\n result.accounts_devices.forEach(accountDevice => {\r\n const account = accountsMap[accountDevice.accountId]\r\n if (!account) {\r\n return\r\n }\r\n accountDevice.subscribedPlans = account.subscribedPlans || []\r\n accountDevice.subscribedPlansText = accountDevice.subscribedPlans.map(plan => plan.planName).join(', ')\r\n accountDevice.churnScore = account.churnScore || 0\r\n accountDevice.churnScoreText = `${Math.round((accountDevice.churnScore || 0) * 100)}%`\r\n accountDevice.creditLimit = account.creditLimit\r\n accountDevice.accountName = account.accountName\r\n })\r\n context.commit('setAccountsDevicesResult', result)\r\n const accountsToUpdate = {}\r\n if (options && options.syncAccounts) {\r\n const retrievedAccountsInfo = {}\r\n for (const index in context.state.accountsDevices) {\r\n const accountDevice = context.state.accountsDevices[index]\r\n retrievedAccountsInfo[accountDevice.accountId] = (retrievedAccountsInfo[accountDevice.accountId] ? retrievedAccountsInfo[accountDevice.accountId] : (await context.dispatch('retrieveAccountPlansAndInfo', { accountId: accountDevice.accountId, includeAllocations: false })))\r\n const accountPlansAndInfo = retrievedAccountsInfo[accountDevice.accountId]\r\n let persistenceUpdateRequired = false\r\n if (!accountsToUpdate[accountDevice.accountId]) {\r\n persistenceUpdateRequired = ((accountDevice.subscribedPlans && accountDevice.subscribedPlans.map(plan => `${plan.planId}${plan.planName}`).sort().join(',') !== accountPlansAndInfo.accountPlans.map(plan => `${plan.planId}${plan.planName}`).sort().join(',')) ||\r\n (accountDevice.creditLimit !== accountPlansAndInfo.creditLimit) ||\r\n (accountDevice.churnScore !== accountPlansAndInfo.churnScore))\r\n }\r\n accountDevice.subscribedPlans = accountPlansAndInfo.accountPlans\r\n accountDevice.subscribedPlansText = accountDevice.subscribedPlans.map(plan => plan.planName).join(', ')\r\n accountDevice.churnScore = accountPlansAndInfo.churnScore\r\n accountDevice.churnScoreText = `${Math.round((accountDevice.churnScore || 0) * 100)}%`\r\n accountDevice.creditLimit = accountPlansAndInfo.creditLimit\r\n if (persistenceUpdateRequired) {\r\n accountsToUpdate[accountDevice.accountId] = {\r\n accountId: accountDevice.accountId,\r\n providerId: context.rootState.providerId,\r\n subscribedPlans: accountDevice.subscribedPlans.map(plan => {\r\n return { planId: plan.planId, planName: plan.planName }\r\n }),\r\n creditLimit: accountDevice.creditLimit,\r\n churnScore: accountDevice.churnScore\r\n }\r\n }\r\n }\r\n console.log('Accounts to update', accountsToUpdate)\r\n Object.keys(accountsToUpdate).forEach(accountId => {\r\n const accountUpdatePayload = accountsToUpdate[accountId]\r\n context.dispatch('updateEmulatorPersistence', accountUpdatePayload)\r\n })\r\n context.commit('setAccountsDevices', [...context.state.accountsDevices])\r\n }\r\n },\r\n async subscribeToCurrentPlanVersion (context, { accountId, account = null, planId = null, creditAccount = false, overrides = [] }) {\r\n await axiosGraphQlRequest(\r\n graphQLUrl,\r\n subscribeToPlan,\r\n {\r\n input: {\r\n accountId,\r\n providerId: context.rootState.providerId,\r\n planId,\r\n overrides\r\n }\r\n },\r\n context.rootGetters.graphQLHeaders\r\n )\r\n const accountPlansAndInfo = await context.dispatch('retrieveAccountPlansAndInfo', { accountId: accountId, includeAllocations: false })\r\n const accountUpdatePayload = {\r\n accountId: accountId,\r\n providerId: context.rootState.providerId,\r\n subscribedPlans: accountPlansAndInfo.accountPlans.map(plan => {\r\n return { planId: plan.planId, planName: plan.planName }\r\n })\r\n }\r\n if (account) {\r\n account.subscribedPlans = accountPlansAndInfo.accountPlans\r\n }\r\n if (creditAccount) {\r\n const creditLimit = await context.dispatch('credit', {\r\n accountId,\r\n amount: 1000\r\n })\r\n accountUpdatePayload.creditLimit = creditLimit\r\n const balances = accountPlansAndInfo.balances\r\n for (const balance of balances) {\r\n const balanceId = balance.balanceId\r\n const balanceTypeId = balance.balanceType.balaneTypeId\r\n const balanceValue = isNaN(balance.balanceValue) ? 0 : balance.balanceValue\r\n if (balanceTypeId === BALANCE_TYPE_MONETARY) {\r\n await axiosGraphQlRequest(\r\n graphQLUrl,\r\n updateBalanceMutation,\r\n {\r\n input: {\r\n balanceId,\r\n providerId: context.rootState.providerId,\r\n accountId,\r\n balanceInfo: {\r\n balanceTypeId,\r\n balanceValue: (balanceValue + 1000)\r\n }\r\n }\r\n },\r\n context.rootGetters.graphQLHeaders\r\n )\r\n }\r\n }\r\n }\r\n context.dispatch('updateEmulatorPersistence', accountUpdatePayload)\r\n return accountPlansAndInfo.accountPlans\r\n },\r\n async latestPlanSubscription (context, { activePlans }) {\r\n return _.sortBy(activePlans, function (plan) {\r\n return moment(plan.createdAt)\r\n }).reverse()[0]\r\n },\r\n async invokeCancelPlanSubscription (context, { accountId, planSubscriptionId = null }) {\r\n const payload = [accountId, context.rootState.providerId]\r\n const cancellationMutation = planSubscriptionId ? CancelPlanSubscriptionByPlanSubscriptionMutation : CancelPlanSubscriptionByPlanVersionMutation\r\n if (planSubscriptionId) {\r\n payload.push(planSubscriptionId)\r\n }\r\n return (await axios.post(\r\n graphQLUrl,\r\n cancellationMutation(...payload),\r\n context.rootGetters.graphQLHeaders\r\n ))\r\n },\r\n async cancelPlanSubscription (context, { accountId, planVersionId = null, planSubscriptionIds = [], activePlans = [] }) {\r\n if (activePlans && activePlans.length && planVersionId) {\r\n if (!planSubscriptionIds) {\r\n planSubscriptionIds = []\r\n }\r\n activePlans.forEach(activePlan => {\r\n if (activePlan.planVersionId === planVersionId) {\r\n planSubscriptionIds.push(activePlan.planSubscriptionId)\r\n }\r\n })\r\n }\r\n console.log(accountId, planVersionId, planSubscriptionIds, activePlans)\r\n console.log('Cancelling plan subscriptions', planSubscriptionIds)\r\n if (planSubscriptionIds && planSubscriptionIds.length) {\r\n for (const planSubscriptionId of planSubscriptionIds) {\r\n await context.dispatch('invokeCancelPlanSubscription', { accountId, planSubscriptionId })\r\n }\r\n } else {\r\n await context.dispatch('invokeCancelPlanSubscription', { accountId, planSubscriptionId: null })\r\n }\r\n },\r\n async retrieveAccountPlansAndInfo (context, { accountId = null, account = null, includeAllocations = false }) {\r\n if (!account) {\r\n account = await context.dispatch('getAccountAndActivePlans', { accountId })\r\n }\r\n if (!context.rootState.allAvailablePlanInformation) {\r\n context.dispatch('planVersionAllocations/getPlanVersionInformation')\r\n }\r\n const accountPlans = (account.activePlanVersions || []).map(planSubscription => {\r\n console.log('Plan active subscription', planSubscription)\r\n const planVersion = planSubscription.planVersion\r\n const plan = context.rootState.allAvailablePlanInformation.filter(plan => plan.planVersionId === planVersion.id)[0]\r\n const subscriptionEndingAt = (planSubscription.to ? moment(planSubscription.to) : null)\r\n const planExpired = !subscriptionEndingAt || (moment() > plan.subscriptionEndingAt)\r\n const daysLeftInPlan = subscriptionEndingAt ? subscriptionEndingAt.diff(moment(), 'days') : null\r\n console.log('Validity', subscriptionEndingAt, planExpired, daysLeftInPlan)\r\n return {\r\n subscriptionStartedAt: moment(planSubscription.from),\r\n subscriptionEndingAt,\r\n createdAt: planVersion.createdAt,\r\n modifiedAt: planVersion.modifiedAt,\r\n overrides: planSubscription.overrides,\r\n planVersionName: planVersion.version,\r\n planName: plan?.planName || 'Plan not in available plans',\r\n planId: plan?.planId || null,\r\n planSubscriptionId: planSubscription.planSubscriptionId,\r\n planVersionId: planVersion.id,\r\n planVersionAllocation: context.dispatch('planVersionAllocations/getPlanVersionInformation', { planVersionId: planVersion.id }, { root: true }),\r\n planExpired,\r\n daysLeftInPlan\r\n }\r\n })\r\n if (!includeAllocations) {\r\n return { accountPlans, churnScore: account.churnScore, creditLimit: account.creditLimit, balances: account.balances }\r\n }\r\n const allocations = []\r\n for (const plan of accountPlans) {\r\n plan.planVersionAllocation = await plan.planVersionAllocation\r\n console.log('Overrides', plan.overrides)\r\n if (plan.planVersionAllocation.serviceAllowances) {\r\n console.log(plan.planVersionAllocation.serviceAllowances)\r\n if (plan.overrides && plan.planVersionAllocation.serviceNameMap) {\r\n const serviceNameMap = plan.planVersionAllocation.serviceNameMap\r\n const overrides = plan.overrides\r\n const serviceAllowances = plan.planVersionAllocation.serviceAllowances\r\n for (const serviceAllowance of serviceAllowances) {\r\n for (const key of Object.keys(serviceAllowance)) {\r\n if (key && serviceNameMap[key]) {\r\n const overrideName = serviceNameMap[key]\r\n const override = overrides.filter(overrideObject => overrideObject.name === overrideName)[0]\r\n if (override) {\r\n let overrideValue = override.value\r\n if (isNaN(overrideValue)) {\r\n try {\r\n overrideValue = Number(JSON.parse(overrideValue)['recurring units'])\r\n serviceAllowance[key] = overrideValue\r\n } catch (err) {\r\n console.error('Error parsing override value', overrideName, overrideValue)\r\n }\r\n } else {\r\n serviceAllowance[key] = Number(overrideValue)\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n plan.planVersionAllocation.serviceAllowances = await buildReadableAllocationsOrBalances(plan.planVersionAllocation.serviceAllowances, 'allocation')\r\n plan.planVersionAllocation.serviceAllowances.forEach(allocation => allocations.push(Object.assign({\r\n planVersionId: plan.planVersionId,\r\n subscriptionStartedAt: plan.subscriptionStartedAt\r\n }, allocation)))\r\n }\r\n }\r\n console.log('Built allocations', allocations)\r\n return { accountPlans, allocations, churnScore: account.churnScore, creditLimit: account.creditLimit, balances: account.balances }\r\n }\r\n }\r\n}\r\n","export default function getStorageSizeInBytesByUnit (unit) {\n let storageSize = 0\n if (unit === 'Bytes') {\n storageSize = 1\n } else if (unit === 'KB') {\n storageSize = 1024\n } else if (unit === 'MB') {\n storageSize = 1024 * 1024\n } else if (unit === 'GB') {\n storageSize = 1024 * 1024 * 1024\n }\n return storageSize\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport getStorageSizeInBytesByUnit from '@/utils/storageSizes'\nimport { graphQLUrl } from '@/store/common'\nimport { getAccountQuery } from './queries'\nimport {\n getMonetaryBalance,\n getAllServiceBalances\n} from './utils/unifiedBalances'\n\nexport default {\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async getAccount (context, { accountId }) {\n console.log(`Fetching account ${accountId}`)\n const providerId = context.rootState.providerId\n const response = await axios.post(\n graphQLUrl,\n getAccountQuery(accountId, providerId),\n context.rootGetters.graphQLHeaders\n )\n const result = {}\n const balanceData = JSON.parse(response.data.data.getAccount.balance.customData)\n // Testing wave 3\n try {\n const monetaryBalance = await getMonetaryBalance(balanceData.balance)\n context.commit('setCurrentMonetaryBalance', monetaryBalance.toString())\n console.log('Service Balance Original')\n console.table(balanceData.balance)\n const serviceBalances = await getAllServiceBalances(balanceData.balance)\n context.commit('setCurrentNonMonetaryBalances', serviceBalances)\n result.serviceBalances = serviceBalances\n result.monetaryBalance = monetaryBalance\n result.activePlanVersions = response.data.data.getAccount.activePlanVersions\n return result\n } catch (e) {\n console.log('Failed to do something in wave3 balances')\n console.log(e)\n }\n // Setting voice account balance\n try {\n // Try as if limited balance\n const currentVoiceBalanceSeconds = balanceData.balance.Voice.total\n const currentVoiceBalanceMinutes = Math.floor(currentVoiceBalanceSeconds / 60)\n context.commit('setCurrentVoiceBalanceMinutes', currentVoiceBalanceMinutes.toString())\n result.voiceBalanceMinutes = currentVoiceBalanceMinutes.toString()\n } catch (e) {\n // Try as if unlimited balance\n // TODO: Figure out if this differs at all from the limited balance\n try {\n const currentVoiceBalanceSeconds = balanceData.balance.voice.total\n const currentVoiceBalanceMinutes = Math.floor(currentVoiceBalanceSeconds / 60)\n context.commit('setCurrentVoiceBalanceMinutes', currentVoiceBalanceMinutes.toString())\n result.voiceBalanceMinutes = currentVoiceBalanceMinutes.toString()\n } catch (e) {\n // Try as if the service isn't on the plan\n try {\n const voiceAllocationNotFoundOnAccount = balanceData.balance.voice === undefined\n if (voiceAllocationNotFoundOnAccount && context.rootState.currentVoiceBalanceMinutes === 'No service') {\n context.commit('setCurrentVoiceBalanceMinutes', '0')\n result.voiceBalanceMinutes = '0'\n }\n } catch (e) {\n console.log('Real Error setting Voice balance')\n console.log(e)\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n // Setting SMS account balance\n try {\n // Try as if limited balance\n const currentSmsBalance = balanceData.balance.Text.total\n context.commit('setCurrentSmsBalance', currentSmsBalance.toString())\n result.smsBalance = currentSmsBalance.toString()\n } catch (e) {\n // Try as if unlimited balance\n // TODO: Figure out if this differs at all from the limited balance\n try {\n const currentSmsBalance = balanceData.balance.sms.total\n context.commit('setCurrentSmsBalance', currentSmsBalance.toString())\n result.smsBalance = currentSmsBalance.toString()\n } catch (e) {\n // Try as if the service isn't on the plan\n try {\n const smsAllocationNotFoundOnAccount = balanceData.balance.sms === undefined\n if (smsAllocationNotFoundOnAccount && context.rootState.currentSmsBalance === 'No service') {\n context.commit('setCurrentSmsBalance', '0')\n result.smsBalance = '0'\n }\n } catch (e) {\n console.log('Real Error setting SMS balance')\n console.log(e)\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n // Setting Data account balance\n try {\n // Try as if limited balance\n const currentDataBalanceBytes = balanceData.balance.Data.total\n const currentDataBalanceMb = Math.floor(currentDataBalanceBytes / getStorageSizeInBytesByUnit('MB'))\n context.commit('setCurrentDataBalanceMb', currentDataBalanceMb.toString())\n result.dataBalanceMb = currentDataBalanceMb.toString()\n } catch (e) {\n // Try as if unlimited balance\n // TODO: Figure out if this differs at all from the limited balance\n try {\n const currentDataBalanceBytes = balanceData.balance.data.total\n const currentDataBalanceMb = Math.floor(currentDataBalanceBytes / getStorageSizeInBytesByUnit('MB'))\n context.commit('setCurrentDataBalanceMb', currentDataBalanceMb.toString())\n result.dataBalanceMb = currentDataBalanceMb.toString()\n } catch (e) {\n // Try as if the service isn't on the plan\n try {\n const dataAllocationNotFoundOnAccount = balanceData.balance.data === undefined\n if (dataAllocationNotFoundOnAccount && context.rootState.currentDataBalanceMb === 'No service') {\n context.commit('setCurrentDataBalanceMb', '0')\n result.dataBalanceMb = '0'\n }\n } catch (e) {\n console.log('Real Error setting Data balance')\n console.log(e)\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n // Setting Monetary account balance\n try {\n const currentMonetaryBalance = balanceData.balance.Monetary.total\n context.commit('setCurrentMonetaryBalance', currentMonetaryBalance.toString())\n result.monetaryBalance = currentMonetaryBalance.toString()\n } catch (e) {\n console.log('Real Error setting Data balance')\n console.log(e)\n context.commit('setAccountDeviceError', true)\n }\n return result\n }\n }\n}\n","import moment from 'moment'\nimport getStorageSizeInBytesByUnit from '@/utils/storageSizes'\n\nconst baseUrl = 'https://5g.produseast1.api.totogi.com/nchf-convergedcharging/v3/chargingData'\n\nexport async function isoUtcNow () {\n const now = moment.utc().format('YYYY-MM-DDTHH:mm:ss.SSS') + 'Z'\n return now\n}\n\nexport async function topUpUrl () {\n // Just happens to be the same as the init URL\n return baseUrl\n}\n\nexport async function initUrl () {\n return baseUrl\n}\n\nexport async function updateUrl (sessionId) {\n const url = baseUrl + '/' + sessionId + '/update'\n return url\n}\n\nexport async function terminateUrl (sessionId) {\n const url = baseUrl + '/' + sessionId + '/release'\n return url\n}\n\nexport async function headers (idToken) {\n const headers = {\n Authorization: `Bearer ${idToken}`\n }\n return headers\n}\n\nexport async function topUpData (providerId, deviceId, volume) {\n const timestampNow = await isoUtcNow()\n const result = {\n invocationSequenceNumber: 1,\n tenantIdentifier: providerId,\n subscriberIdentifier: deviceId,\n multipleUnitUsage: [\n {\n requestedUnit: {\n serviceSpecificUnits: volume\n },\n ratingGroup: 400\n }\n ],\n oneTimeEvent: true,\n oneTimeEventType: 'IEC',\n requestedAction: 'TOP_UP',\n nfConsumerIdentification: {\n nodeFunctionality: 'SMF'\n },\n invocationTimeStamp: timestampNow\n }\n return result\n}\n\nexport async function initData (providerId, deviceId, callednumber, volume, ratingGroupNumber, unitType, mcc, mnc, carrierSelectRoutingInformation, numberPortabilityRoutingInformation) {\n const timestampNow = await isoUtcNow()\n return {\n invocationSequenceNumber: 1,\n tenantIdentifier: providerId,\n subscriberIdentifier: deviceId,\n multipleUnitUsage: [\n {\n requestedUnit: {\n [unitType]: volume\n },\n ratingGroup: ratingGroupNumber\n }\n ],\n iMSChargingInformation: {\n calledPartyAddress: callednumber,\n carrierSelectRoutingInformation: (carrierSelectRoutingInformation || 'ARIN'),\n numberPortabilityRoutingInformation: (numberPortabilityRoutingInformation || 'ARIN')\n },\n locationReportingChargingInformation: {\n pSCellInformation: {\n nrcgi: {\n nrCellId: '11',\n nid: '12',\n plmnId: {\n mcc: mcc,\n mnc: mnc\n }\n }\n }\n },\n nfConsumerIdentification: {\n nodeFunctionality: 'SMF'\n },\n invocationTimeStamp: timestampNow\n }\n}\n\nexport function getLogTimeSummary (logTimeRaw = moment.utc()) {\n return logTimeRaw.clone().subtract(1, 'seconds').format('YYYY-MM-DDTHH:mm:ss.SS') + 'Z'\n}\n\nexport function getLogTimeVerbose (logTimeRaw = moment.utc()) {\n return logTimeRaw.format('YYYY-MM-DDTHH:mm:ss.SS') + 'Z'\n}\n\nexport function getGrantedVolume (ratingGroup, grantedUnit) {\n switch (ratingGroup) {\n case 100: return grantedUnit.time\n case 200: return grantedUnit.serviceSpecificUnits\n case 300: return grantedUnit.totalVolume\n case 400: return grantedUnit.serviceSpecificUnits\n case 340: return grantedUnit.totalVolume\n case 380: return grantedUnit.totalVolume\n default:\n if (ratingGroup > 300 && ratingGroup < 400) {\n return grantedUnit.totalVolume\n } else {\n console.error('check Granted Volume ratingGroup ', ratingGroup, ' unit is ', JSON.stringify(grantedUnit))\n return -1 // unknown unit\n }\n }\n}\n\nexport function getRatingGroupName (ratingGroup) {\n switch (ratingGroup) {\n case 100: return 'voice'\n case 200: return 'sms'\n case 300:\n case 340:\n case 380: return 'data'\n default:\n if (ratingGroup > 300 && ratingGroup < 400) {\n return 'data'\n } else {\n return 'unknown' // an unknown unit\n }\n }\n}\n\nexport function getUnitFancy (ratingGroup, volume) {\n const MINUTE = 60\n\n switch (ratingGroup) {\n case 100: return `${volume / MINUTE} min`\n case 200: return `${volume} SMS`\n case 300:\n case 340:\n case 380: return `${volume / getStorageSizeInBytesByUnit('MB')} MB`\n default: return `ratingGroup ${ratingGroup} ${volume}` // an unknown unit\n }\n}\n\nexport async function updateData (providerId, callednumber, deviceId, volume, ratingGroupNumber, unitType, mcc, mnc, carrierSelectRoutingInformation, numberPortabilityRoutingInformation) {\n const timestampNow = await isoUtcNow()\n return {\n invocationSequenceNumber: 2,\n tenantIdentifier: providerId,\n subscriberIdentifier: deviceId,\n multipleUnitUsage: [\n {\n requestedUnit: {\n [unitType]: 0\n },\n usedUnitContainer: [\n {\n localSequenceNumber: 1,\n [unitType]: volume\n }\n ],\n ratingGroup: ratingGroupNumber\n }\n ],\n iMSChargingInformation: {\n calledPartyAddress: callednumber,\n carrierSelectRoutingInformation: (carrierSelectRoutingInformation || 'ARIN'),\n numberPortabilityRoutingInformation: (numberPortabilityRoutingInformation || 'ARIN')\n },\n locationReportingChargingInformation: {\n pSCellInformation: {\n nrcgi: {\n nrCellId: '11',\n nid: '12',\n plmnId: {\n mcc: mcc,\n mnc: mnc\n }\n }\n }\n },\n nfConsumerIdentification: {\n nodeFunctionality: 'SMF'\n },\n invocationTimeStamp: timestampNow\n }\n}\n\nexport async function terminateData (providerId, callednumber, deviceId, ratingGroupNumber, unitType, mcc, mnc, carrierSelectRoutingInformation, numberPortabilityRoutingInformation) {\n const timestampNow = await isoUtcNow()\n return {\n invocationSequenceNumber: 3,\n tenantIdentifier: providerId,\n subscriberIdentifier: deviceId,\n multipleUnitUsage: [\n {\n usedUnitContainer: [\n {\n localSequenceNumber: 2,\n [unitType]: 0\n }\n ],\n ratingGroup: ratingGroupNumber\n }\n ],\n iMSChargingInformation: {\n calledPartyAddress: callednumber,\n carrierSelectRoutingInformation: (carrierSelectRoutingInformation || 'ARIN'),\n numberPortabilityRoutingInformation: (numberPortabilityRoutingInformation || 'ARIN')\n },\n locationReportingChargingInformation: {\n pSCellInformation: {\n nrcgi: {\n nrCellId: '11',\n nid: '12',\n plmnId: {\n mcc: mcc,\n mnc: mnc\n }\n }\n }\n },\n nfConsumerIdentification: {\n nodeFunctionality: 'SMF'\n },\n invocationTimeStamp: timestampNow\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport moment from 'moment'\nimport {\n initUrl,\n initData,\n updateUrl,\n updateData,\n terminateUrl,\n terminateData,\n getLogTimeSummary,\n getLogTimeVerbose,\n getGrantedVolume,\n getUnitFancy,\n getRatingGroupName\n} from './utils/charging'\n\nimport { proxyUrl } from '@/store/common'\n\nexport default {\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async chargeAccount (context, { volume, callednumber, ratingGroupNumber, message, deviceId }) {\n const verboseLoggingOn = context.rootState.verboseLogging\n const token = context.rootState.idToken\n const providerId = context.rootState.providerId\n const unitTypeMapping = context.rootState.unitTypeMapping\n const mcc = context.rootState.mcc\n const mnc = context.rootState.mnc\n const unitType = unitTypeMapping[ratingGroupNumber]\n\n // be sure that volume is number\n volume = Number(volume)\n const urlForInit = await initUrl()\n const initRequestData = await initData(\n providerId,\n deviceId,\n callednumber,\n volume,\n ratingGroupNumber,\n unitType,\n mcc,\n mnc,\n context.rootState.settings.carrierSelectRoutingInformation,\n context.rootState.settings.numberPortabilityRoutingInformation\n )\n const initRequestBody = {\n url: urlForInit,\n requestData: initRequestData,\n token: token\n }\n console.log('Making N40 Init Request: ', initRequestBody)\n const initResult = await axios.post(proxyUrl, initRequestBody)\n console.log('init result:', initResult)\n const logTimeRaw = moment.utc()\n const logTimeSummary = getLogTimeSummary(logTimeRaw)\n const logTimeVerbose = getLogTimeVerbose(logTimeRaw)\n if (verboseLoggingOn) {\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: logTimeSummary,\n text: JSON.stringify(initRequestData, null, 4),\n style: 'info'\n }\n })\n }\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: logTimeVerbose,\n text: message,\n style: 'info'\n }\n })\n if (initResult.status !== 200 && initResult.status !== 203) {\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: `charging query returned ${initResult.status}`,\n style: 'error'\n }\n })\n return\n }\n\n if (initResult.data.response?.multipleUnitInformation === undefined) {\n const status = initResult.data.response.status\n const detail = initResult.data.response.detail\n const cause = initResult.data.response.cause\n const message = `FAILED: status:${status} cause:${cause} detail:${detail}`\n\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: message,\n style: 'quota-fail'\n }\n })\n } else {\n console.log('INIT Response: ', initResult.data.response)\n initResult.data.response.multipleUnitInformation.forEach(unitInfo => {\n const ratingGroup = unitInfo.ratingGroup\n const resultCode = unitInfo.resultCode\n if (resultCode === 'RATING_FAILED') {\n const message = `FAILED: Rating failed for Rating Group:${ratingGroup}`\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: message,\n style: 'quota-fail'\n }\n })\n } else if (resultCode === 'QUOTA_LIMIT_REACHED') {\n const message = `FAILED: Rating failed for Rating Group:${ratingGroup} - Quota Limit reached`\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: message,\n style: 'quota-fail'\n }\n })\n } else if (resultCode === 'END_USER_SERVICE_DENIED') {\n const message = `FAILED: Rating failed for Rating Group:${ratingGroup} - End User Service Denied`\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: message,\n style: 'quota-fail'\n }\n })\n } else {\n const grantedVolume = getGrantedVolume(ratingGroup, unitInfo.grantedUnit)\n const grantedUnit = getUnitFancy(ratingGroup, grantedVolume)\n const requestedUnit = getUnitFancy(ratingGroup, volume)\n const unitType = getRatingGroupName(ratingGroup)\n const isFulfilled = String(grantedVolume) === String(volume)\n\n const message = `${resultCode}${isFulfilled ? '' : '-PARTIAL'}[${ratingGroup} ${unitType}]: requested:${requestedUnit} granted:${grantedUnit}`\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: moment.utc(),\n text: message,\n style: isFulfilled ? 'quota-success' : 'quota-success-partial'\n }\n })\n }\n })\n }\n const sessionId = initResult.data.headers.location\n const urlForUpdate = await updateUrl(sessionId)\n const updateRequestData = await updateData(providerId, callednumber, deviceId, volume, ratingGroupNumber, unitType, mcc, mnc,\n context.rootState.settings.carrierSelectRoutingInformation,\n context.rootState.settings.numberPortabilityRoutingInformation)\n const updateRequestBody = {\n url: urlForUpdate,\n requestData: updateRequestData,\n token: token\n }\n const updateResult = await axios.post(proxyUrl, updateRequestBody)\n console.log('update result:', updateResult)\n const urlForTerminate = await terminateUrl(sessionId)\n const terminateRequestData = await terminateData(providerId, callednumber, deviceId, ratingGroupNumber, unitType, mcc, mnc,\n context.rootState.settings.carrierSelectRoutingInformation,\n context.rootState.settings.numberPortabilityRoutingInformation)\n const terminateRequestBody = {\n url: urlForTerminate,\n requestData: terminateRequestData,\n token: token\n }\n const terminateResult = await axios.post(proxyUrl, terminateRequestBody)\n console.log('terminate result:', terminateResult)\n }\n }\n}\n","import moment from 'moment-timezone'\nimport { axiosInstance as axios, axiosGraphQlRequest } from '../../utils/axiosInstances'\nimport {\n createDeviceQuery,\n deleteDeviceQuery,\n getDeviceQuery,\n getEventDataRecordsByAccountQuery,\n getPlanVersionInformationQuery\n} from '../modules/queries'\nimport { createDevice, deleteDevice } from './utils/persistence/mutations'\nimport { graphQLUrl, persistenceUrl } from '@/store/common'\nimport { buildGraphQlPayload } from '@/utils/graphql_helpers'\nimport { buildReadableAllocationsOrBalances } from './utils/unifiedBalances'\nimport { subscribeToPlan } from './utils/totogi/mutations'\nimport { PLANAI_DATA_API_URL } from '@/utils/constants'\n\nexport default {\n namespaced: true,\n state: {\n demoDeviceEdrEdges: [],\n devices: [],\n billingEDRs: [],\n accountEDRs: [],\n hasMoreBillingEDRs: false,\n billingEDRsEndCursor: null,\n hasMoreAccountEDRs: false,\n accountEDRsEndCursor: null,\n loadingDevice: false,\n deviceLoaded: false,\n edrsLoaded: false,\n edrsLoading: false,\n loadingPercent: 0,\n loadingStatus: '',\n planAIOffers: [],\n planAIOffersLoading: false,\n planVersionNameMap: {}\n },\n getters: {\n zainEDRFromTimestamp () {\n const zainStartDate = moment('2024-03-07T00:00:00+02:00').tz('UTC')\n const oneWeekBack = moment().tz('UTC').hour(0).minute(0).add(-7, 'days')\n return (oneWeekBack.isAfter(zainStartDate) ? oneWeekBack : zainStartDate).toISOString()\n }\n },\n mutations: {\n setBillingEDRs (state, edrs) {\n state.billingEDRs = edrs\n },\n setAccountEDRs (state, edrs) {\n state.accountEDRs = edrs\n },\n setLoadingDevice (state, newValue) {\n state.loadingDevice = newValue\n },\n setLoadingPercent (state, newValue) {\n state.loadingPercent = newValue\n },\n setLoadingStatus (state, newValue) {\n state.loadingStatus = newValue\n },\n setDeviceLoaded (state, newValue) {\n state.deviceLoaded = newValue\n },\n setEdrsLoaded (state, newValue) {\n state.edrsLoaded = newValue\n },\n setEdrsLoading (state, newValue) {\n state.edrsLoading = newValue\n },\n setDemoAccount (state, account) {\n state.demoAccount = account\n },\n setPlanAIOffers (state, newValue) {\n state.planAIOffers = newValue\n },\n setPlanAIOffersLoading (state, newValue) {\n state.planAIOffersLoading = newValue\n },\n setHasMoreBillingEDRs (state, newValue) {\n state.hasMoreBillingEDRs = newValue\n },\n setHasMoreAccountEDRs (state, newValue) {\n state.hasMoreAccountEDRs = newValue\n },\n setBillingEDRsEndCursor (state, newValue) {\n state.billingEDRsEndCursor = newValue\n },\n setAccountEDRsEndCursor (state, newValue) {\n state.accountEDRsEndCursor = newValue\n },\n setDemoAccountBalance (state, balance) {\n state.demoAccountBalance = balance\n },\n setDemoAccountAllocations (state, allocations) {\n state.demoAccountAllocations = allocations\n },\n setDemoAccountPlans (state, plans) {\n state.demoAccountPlans = plans\n },\n setDemoDevice (state, device) {\n state.demoDevice = device\n },\n setDemoDeviceEdrEdges (state, newValue) {\n state.demoDeviceEdrEdges = newValue\n },\n setDemoDeviceRefreshInterval (state, newValue) {\n state.demoDeviceRefreshInterval = newValue\n },\n setDevices (state, newValue) {\n state.devices = newValue\n },\n setPlanVersionNameMap (state, newValue) {\n state.planVersionNameMap = newValue\n },\n setN28NotificationRefreshInterval (state, newValue) {\n state.n28NotificationRefreshInterval = newValue\n }\n },\n actions: {\n async getPlanAIOffers (context, { deviceId }) {\n const result = (await axios.get(\n `${PLANAI_DATA_API_URL}/device_offers?device_id=${deviceId}&provider_id=${context.rootState.providerId}`,\n {\n headers: {\n Authorization: `${context.rootState.idToken}`\n }\n }\n )).data\n if (result.errorCode) {\n throw result\n }\n console.log('Retrieved plan AI offers', result)\n context.commit('setPlanAIOffers', result?.device_offers || [])\n return (result?.device_offers || [])\n },\n async delete (context, { deviceId, accountId }) {\n const result = await axios.post(\n graphQLUrl,\n deleteDeviceQuery(\n deviceId,\n accountId,\n context.rootState.providerId\n ), {\n headers: {\n Authorization: `${context.rootState.idToken}`\n }\n }\n )\n if (!result?.data?.data?.deleteDevice?.deletedDeviceId) {\n return\n }\n await axios.post(\n persistenceUrl,\n buildGraphQlPayload(deleteDevice, {\n input: {\n accountId,\n deviceId,\n deviceName: '-',\n providerId: context.rootState.providerId\n }\n }),\n context.rootGetters.graphQLHeaders\n )\n },\n async create (context, { deviceId, accountId }) {\n const result = await axios.post(\n graphQLUrl,\n createDeviceQuery(\n deviceId,\n accountId,\n context.rootState.providerId\n ),\n {\n headers: {\n Authorization: `${context.rootState.idToken}`\n }\n }\n )\n if (!result?.data?.data?.createDevice?.device) {\n return\n }\n await axios.post(\n persistenceUrl,\n buildGraphQlPayload(createDevice, {\n input: {\n accountId,\n deviceId,\n providerId: context.rootState.providerId\n }\n }),\n context.rootGetters.graphQLHeaders\n )\n },\n async getDevice (context, { deviceId }) {\n const result = (await axios.post(\n graphQLUrl,\n getDeviceQuery(\n deviceId,\n context.rootState.providerId\n ),\n context.rootGetters.graphQLHeaders\n )).data.data.getDevice\n if (result.errorCode) {\n throw result\n }\n return result\n },\n async getDemoDevice (context, { deviceId, fromTimestamp, toTimestamp }) {\n console.log(`Loading demo device ${deviceId}`)\n context.commit('setLoadingDevice', true)\n context.commit('setEdrsLoaded', false)\n context.commit('setLoadingPercent', 0)\n context.commit('setLoadingStatus', 'Loading Device Info')\n try {\n context.commit('setDemoDevice', await context.dispatch('getDevice', { deviceId }))\n } catch (err) {\n if (err.errorCode) {\n throw err\n }\n }\n if (!context.rootState.settings.settingsLoaded) {\n await context.dispatch('settings/loadSettings', null, { root: true })\n }\n const device = context.state.demoDevice\n context.commit('setDemoAccount', device.account)\n try {\n // Update plan version names for active and archived plans\n const planVersionNameMap = {}\n // Process active plan versions\n for (const activePlan of device.account.activePlanVersions || []) {\n if (activePlan.planVersion && activePlan.planVersion.id) {\n planVersionNameMap[activePlan.planVersion.id] = activePlan.planVersion.plan?.name || 'Unknown Plan'\n }\n }\n // Process archived plan versions\n for (const archivedPlan of device.account.archivedPlanVersions || []) {\n if (archivedPlan.planVersion && archivedPlan.planVersion.id) {\n planVersionNameMap[archivedPlan.planVersion.id] = archivedPlan.planVersion.plan?.name || 'Unknown Plan'\n }\n }\n // Update the state with the new plan version name map\n context.commit('setPlanVersionNameMap', { ...context.state.planVersionNameMap, ...planVersionNameMap })\n } catch (err) {\n console.error('Error updating plan version names', err)\n }\n /* const accountBalance = await context.dispatch('getAccount', { accountId: device.account.id }, { root: true })\n accountBalance.serviceBalances = await buildReadableAllocationsOrBalances(accountBalance.serviceBalances, 'balance')\n context.commit('setDemoAccountBalance', accountBalance)\n if (!context.rootState.allAvailablePlanInformation || !context.rootState.allAvailablePlanInformation.length) {\n await context.dispatch('planVersions/getPlanInformation', null, { root: true })\n } */\n context.commit('setLoadingDevice', false)\n context.commit('setDeviceLoaded', true)\n context.commit('setBillingEDRs', [])\n context.commit('setHasMoreBillingEDRs', false)\n context.commit('setBillingEDRsEndCursor', null)\n context.commit('setAccountEDRs', [])\n context.commit('setHasMoreAccountEDRs', false)\n context.commit('setAccountEDRsEndCursor', null)\n context.commit('setLoadingPercent', 0)\n context.commit('setLoadingStatus', '')\n context.commit('setEdrsLoaded', false)\n return device\n },\n async loadEDRs (context, { fromTimestamp, toTimestamp }) {\n context.commit('setEdrsLoading', true)\n context.commit('setBillingEDRs', [])\n context.commit('setHasMoreBillingEDRs', false)\n context.commit('setBillingEDRsEndCursor', null)\n context.commit('setAccountEDRs', [])\n context.commit('setHasMoreAccountEDRs', false)\n context.commit('setAccountEDRsEndCursor', null)\n context.commit('setLoadingPercent', 0)\n context.commit('setLoadingStatus', 'Loading Billing EDRs')\n await context.dispatch('loadBillingEDRs', { fromTimestamp, toTimestamp })\n context.commit('setLoadingPercent', 50)\n context.commit('setLoadingStatus', 'Loading Account EDRs')\n await context.dispatch('loadAccountEDRs', { fromTimestamp, toTimestamp })\n context.commit('setLoadingPercent', 0)\n context.commit('setLoadingStatus', '')\n context.commit('setEdrsLoading', false)\n context.commit('setEdrsLoaded', true)\n },\n async loadBillingEDRs (context, { fromTimestamp, toTimestamp }) {\n if (context.state.loadingDevice) {\n return\n }\n const result = (await axios.post(\n graphQLUrl,\n getEventDataRecordsByAccountQuery(\n context.rootState.providerId,\n context.state.demoDevice.account.id,\n 'BILLING',\n context.state.billingEDRsEndCursor,\n fromTimestamp,\n toTimestamp\n ),\n context.rootGetters.graphQLHeaders\n )).data.data.getEventDataRecordsByAccount\n if (context.state.loadingDevice) {\n return\n }\n const billingEDRs = result.edges.map(edge => {\n edge.node.eventData = JSON.parse(edge.node.eventData)\n edge.node.customData = JSON.parse(edge.node.customData)\n return edge.node\n })\n try {\n console.log('Multiple charges Billing EDRs', billingEDRs.filter(edr => edr.customData?.charginginformation?.multipleunitinformation[0]?.charges?.length > 1))\n } catch (err) {\n console.log('Multiple charges Billing EDRs - unable to filter and show', err)\n }\n try {\n billingEDRs.filter(edr => {\n return (\n edr.action === 'purchaseFee'\n )\n }).forEach(purchaseFeeEDR => {\n const planVersionId = purchaseFeeEDR.customData?.planversionid\n if (!context.state.planVersionNameMap[planVersionId]) {\n context.dispatch('updatePlanVersionNameMap', { planVersionId })\n }\n })\n } catch (err) {\n console.error('Error fetching plan name for purchase fee EDRs', err)\n }\n const pageInfo = result.pageInfo\n context.commit('setBillingEDRs', [...context.state.billingEDRs, ...billingEDRs])\n context.commit('setHasMoreAccountEDRs', pageInfo.hasNextPage)\n context.commit('setBillingEDRsEndCursor', pageInfo.endCursor)\n if (context.state.loadingDevice) {\n return\n }\n console.log('Billing EDRs', pageInfo.hasNextPage, pageInfo.endCursor)\n if (context.state.hasMoreBillingEDRs || billingEDRs.length >= 25) {\n context.dispatch('loadBillingEDRs', { fromTimestamp, toTimestamp })\n }\n },\n async loadAccountEDRs (context, { fromTimestamp, toTimestamp }) {\n if (context.state.loadingDevice) {\n return\n }\n const result = (await axios.post(\n graphQLUrl,\n getEventDataRecordsByAccountQuery(\n context.rootState.providerId,\n context.state.demoDevice.account.id,\n 'ACCOUNT',\n context.state.accountEDRsEndCursor,\n fromTimestamp,\n toTimestamp\n ),\n context.rootGetters.graphQLHeaders\n )).data.data.getEventDataRecordsByAccount\n if (context.state.loadingDevice) {\n return\n }\n const accountEDRs = result.edges.map(edge => {\n edge.node.eventData = JSON.parse(edge.node.eventData)\n edge.node.customData = JSON.parse(edge.node.customData)\n return edge.node\n })\n const pageInfo = result.pageInfo\n context.commit('setAccountEDRs', [...context.state.accountEDRs, ...accountEDRs])\n context.commit('setHasMoreBillingEDRs', pageInfo.hasNextPage)\n context.commit('setAccountEDRsEndCursor', pageInfo.endCursor)\n if (context.state.loadingDevice) {\n return\n }\n if (context.state.hasMoreAccountEDRs || accountEDRs.length >= 25) {\n context.dispatch('loadAccountEDRs', { fromTimestamp, toTimestamp })\n }\n },\n async updatePlanVersionNameMap (context, { planVersionId }) {\n const planName = (await axios.post(\n graphQLUrl,\n getPlanVersionInformationQuery(\n context.rootState.providerId,\n planVersionId\n ),\n context.rootGetters.graphQLHeaders\n )).data.data.getPlanVersion?.plan?.name\n if (planName) {\n context.commit('setPlanVersionNameMap', { ...context.state.planVersionNameMap, [planVersionId]: planName })\n }\n },\n async resubscribePlan (context, { planSubscriptionId, planVersionId }) {\n console.log('Resubscribing to plan')\n await context.dispatch('clearDemoDeviceRefresh')\n await context.dispatch('clearN28NotificationSubscription')\n await context.dispatch('loadDemoDevicePlans', { refresh: true })\n console.log(`Cancelling plan ${planSubscriptionId} - ${planVersionId}`)\n await context.dispatch('account/invokeCancelPlanSubscription', {\n accountId: context.state.demoAccount.id,\n planSubscriptionId\n }, { root: true })\n await new Promise(resolve => setTimeout(resolve, 1000))\n await axiosGraphQlRequest(\n graphQLUrl,\n subscribeToPlan,\n {\n input: {\n accountId: context.state.demoAccount.id,\n providerId: context.rootState.providerId,\n planVersionId: planVersionId\n }\n },\n context.rootGetters.graphQLHeaders\n )\n await context.dispatch('loadDemoDevicePlans', { refresh: true })\n console.log('Resubscribing to plan complete')\n context.dispatch('refreshDemoDeviceBalanceAndInfo')\n await context.dispatch('initiateDemoDeviceRefresh')\n },\n async provisionNewPlanDemoDevice (context) {\n console.log('Provisoning new demo device')\n await context.dispatch('clearDemoDeviceRefresh')\n await context.dispatch('clearN28NotificationSubscription')\n await context.dispatch('loadDemoDevicePlans', { refresh: true })\n const latestPlanSubscription = await context.dispatch('account/latestPlanSubscription', { activePlans: context.state.demoAccountPlans }, { root: true })\n console.log('Latest susbcription', latestPlanSubscription)\n if (latestPlanSubscription) {\n console.log('Cancelling plan')\n console.log(context.state.demoAccount, context.state.demoAccount.id, latestPlanSubscription.planVersionId, latestPlanSubscription, context.state.demoAccountPlans)\n await context.dispatch('account/cancelPlanSubscription', {\n accountId: context.state.demoAccount.id,\n planVersionId: latestPlanSubscription.planVersionId,\n activePlans: context.state.demoAccountPlans\n }, { root: true })\n await new Promise(resolve => setTimeout(resolve, 1000))\n }\n await context.dispatch('account/subscribeToCurrentPlanVersion', { accountId: context.state.demoAccount.id }, { root: true })\n await context.dispatch('loadDemoDevicePlans', { refresh: true })\n console.log('Provisioning new plan complete', context.state.demoAccountAllocations.map(a => a.subscriptionStartedAt.format()), context.state.demoAccountPlans.map(p => p.planSubscriptionId))\n context.dispatch('refreshDemoDeviceBalanceAndInfo')\n await context.dispatch('initiateDemoDeviceRefresh')\n },\n async refreshDemoDeviceBalanceAndInfo (context) {\n console.log('Refreshing Demo Device information')\n const accountBalance = await context.dispatch('getAccount', { accountId: context.state.demoDevice.account.id }, { root: true })\n accountBalance.serviceBalances = await buildReadableAllocationsOrBalances(accountBalance.serviceBalances, 'balance')\n /*\n Example Service balances:\n {\n id: \"voice-all-net.86acc42b-981d-4985-87f5-4f93eae5be91\",\n name: \"Voice All Net\",\n readableValue: \"0 mins\",\n type: \"Voice\",\n uuid: \"86acc42b-981d-4985-87f5-4f93eae5be91\",\n value: \"0\"\n }\n {\n \"id\": \"data.1GB.7e884ec2-c607-401d-9a26-08564268b303\",\n \"name\": \"Data\",\n \"readableValue\": \"1024 MB\",\n \"type\": \"Data\",\n \"uuid\": \"7e884ec2-c607-401d-9a26-08564268b303\",\n \"value\": \"1073741824\"\n }\n */\n for (const activePlanVersion of accountBalance.activePlanVersions) {\n for (const planService of activePlanVersion.planVersion.planServices) {\n for (const serviceBalance of accountBalance.serviceBalances) {\n if (planService.balanceName === serviceBalance.id) {\n serviceBalance.planId = activePlanVersion.planVersion.plan.id\n serviceBalance.planName = activePlanVersion.planVersion.plan.name\n serviceBalance.planSubscriptionId = activePlanVersion.planSubscriptionId\n serviceBalance.from = activePlanVersion.from\n serviceBalance.to = activePlanVersion.to\n serviceBalance.planVersionName = activePlanVersion.planVersion.version\n serviceBalance.planVersionId = activePlanVersion.planVersion.id\n break\n }\n }\n }\n }\n console.log('Account Balances')\n console.table(accountBalance.serviceBalances.concat([{ name: 'Monetary', value: accountBalance.monetaryBalance }]))\n console.log('Active plan versions')\n console.table(accountBalance.activePlanVersions)\n context.commit('setDemoAccountBalance', accountBalance)\n context.dispatch('notifications/update', { accountId: context.state.demoAccount.id, deviceId: context.state.demoDevice.id }, { root: true })\n const mappedEdrEdges = await context.dispatch('getAndSummarizeEdrs', { deviceId: context.state.demoDevice.id }, { root: true })\n context.commit('setDemoDeviceEdrEdges', mappedEdrEdges)\n try {\n const device = await context.dispatch('getDevice', { deviceId: context.state.demoDevice.id })\n context.commit('setDemoAccount', device.account)\n } catch (err) {\n if (err.errorCode) {\n throw err\n }\n }\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport moment from 'moment'\nimport { getEventDataRecordsByDeviceQuery } from './queries'\nimport { graphQLUrl } from '@/store/common'\n\nexport default {\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async getAndSummarizeEdrs (context, { deviceId }) {\n console.log('Fetching EDRS')\n const edges = await this.dispatch('getAllEdrs', { after: undefined, deviceId: deviceId })\n const summarizedEdges = []\n const multipleUnitInformations = []\n const allCharges = []\n edges.forEach(edge => {\n try {\n const customData = JSON.parse(edge.node.customData)\n const createdAt = moment(edge.node.createdAt)\n if (!(customData.charginginformation?.multipleunitinformation || []).length) {\n return\n }\n /*\n Multiple unit information example\n {\n charges: [charge],\n grantedunit: { totalvolume: 52428800 },\n plansused: [],\n ratinggroup: 300,\n resultcode: \"SUCCESS\"\n }\n */\n for (const multipleUnitInformation of (customData.charginginformation?.multipleunitinformation || [])) {\n multipleUnitInformations.push(multipleUnitInformation)\n if (multipleUnitInformation && multipleUnitInformation.charges && multipleUnitInformation.charges.length > 0) {\n multipleUnitInformation.charges.forEach(charge => { allCharges.push(charge) })\n }\n const ratingGroup = multipleUnitInformation.ratinggroup\n if (!ratingGroup) {\n continue\n }\n if (multipleUnitInformation.resultcode === 'RATING_FAILED') {\n continue\n }\n /*\n Charge Example\n {\n appliedrate: 1,\n appliedtaxrate: 0,\n balanceused: \"data.1GB.769c723c-d4e1-4701-a83b-b2dee8ca6582\",\n chargedtax: 0,\n chargedtotal: 52428800,\n perunitrounding: 1024,\n roundingtype: \"HALF_UP\"\n }\n */\n if (!(multipleUnitInformation && multipleUnitInformation.charges && multipleUnitInformation.charges.length > 0)) {\n continue\n }\n for (const charge of multipleUnitInformation.charges) {\n summarizedEdges.push({\n createdAt,\n ratingGroup,\n usedUnits: charge.chargedtotal,\n planServiceId: charge.balanceused,\n planVersionsUsed: multipleUnitInformation.plansused,\n resultcode: multipleUnitInformation.resultcode\n })\n }\n }\n } catch (err) {\n console.error('Error processing EDR', err)\n console.info('Edge that caused the error', edge)\n console.info('Edge.node.customData that caused error', JSON.parse(edge.node.customData))\n throw err\n }\n })\n console.log('All EDR Sumary')\n console.log('Multiple Unit Information')\n console.table(multipleUnitInformations)\n console.log('All EDR Charges')\n console.table(allCharges)\n return summarizedEdges.filter(edge => edge !== null)\n },\n async getAllEdrs (context, { after, deviceId }) {\n const idToken = context.rootState.idToken\n const providerId = context.rootState.providerId\n const now = moment.utc().format('YYYY-MM-DDTHH:mm:ss.SSS') + 'Z'\n const yesterday = moment.utc().subtract(1, 'day').format('YYYY-MM-DDTHH:mm:ss.SSS') + 'Z'\n const eventDataRecordsResponse = await axios.post(\n graphQLUrl,\n getEventDataRecordsByDeviceQuery(\n providerId,\n deviceId,\n yesterday,\n now,\n after\n ), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n const edges = eventDataRecordsResponse.data.data.getEventDataRecordsByDevice.edges\n const pageInfo = eventDataRecordsResponse.data.data.getEventDataRecordsByDevice.pageInfo\n if (pageInfo.hasNextPage !== false) {\n const nextEdges = await this.dispatch('getAllEdrs', { after: pageInfo.endCursor, deviceId: deviceId })\n return edges.concat(nextEdges)\n }\n return edges\n },\n async resetEdrs (context) {}\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\n\nimport { notificationsUrl } from '@/store/common'\n\nexport default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async update (context, { accountId, deviceId }) {\n const idToken = await context.rootState.idToken\n const providerId = context.rootState.providerId\n let url = `${notificationsUrl}notifications?providerId=${providerId}&accountId=${accountId}`\n let result = await axios.get(\n url, {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n let notifications = result.data.items\n for (let i = 0; i < notifications.length; i++) {\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: notifications[i].timestamp,\n text: notifications[i].message,\n style: 'notification'\n }\n }, { root: true })\n }\n url = `${notificationsUrl}notifications?accountId=${accountId}&deviceId=${deviceId}`\n result = await axios.get(\n url, {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n notifications = result.data.items\n for (let i = 0; i < notifications.length; i++) {\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: notifications[i].timestamp,\n text: notifications[i].message,\n style: 'notification'\n }\n }, { root: true })\n }\n url = `${notificationsUrl}notifications?accountId=undefined&deviceId=${deviceId}`\n result = await axios.get(\n url, {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n notifications = result.data.items\n for (let i = 0; i < notifications.length; i++) {\n context.commit('addLog', {\n deviceId: deviceId,\n log: {\n id: notifications[i].timestamp,\n text: notifications[i].message,\n style: 'notification'\n }\n }, { root: true })\n }\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport { graphQLUrl } from '@/store/common'\nimport { getPlanVersionInformationQuery } from '../modules/queries'\nimport getStorageSizeInBytesByUnit from '@/utils/storageSizes'\nimport {\n getAllServiceAllowances\n} from './utils/unifiedBalances'\n\nexport default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async getPlanVersionInformation (context, options) {\n const idToken = await context.rootState.idToken\n const providerId = await context.rootState.providerId\n const planVersionInformationResponse = await axios.post(\n graphQLUrl,\n getPlanVersionInformationQuery(\n providerId,\n options?.planVersionId || context.rootState.currentPlanVersionId\n ), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n console.log('Plan version information:')\n console.log(planVersionInformationResponse)\n const template = planVersionInformationResponse.data.data.getPlanVersion.template\n const planServices = planVersionInformationResponse.data.data.getPlanVersion.planServices || []\n const result = {}\n // if Wave 3 plan\n try {\n const services = template.services\n const serviceAllowances = await getAllServiceAllowances(services)\n console.log(serviceAllowances)\n context.commit('setAllPlanVersionAllocations', serviceAllowances, { root: true })\n const serviceNameMap = {}\n template.services.forEach(service => {\n for (const planService of planServices) {\n if (planService.balanceName === service?.unit?.balanceName) {\n serviceNameMap[planService.balanceName] = planService.name\n }\n }\n })\n console.log('Service Name map', serviceNameMap)\n result.serviceAllowances = serviceAllowances\n result.serviceNameMap = serviceNameMap\n return result\n } catch (e) {\n console.log('Wave3 plan version information failed, probably not wave3 plan')\n console.log(e)\n }\n // Remaining stuff only happens if not a wave 3 plan:\n // Setting Voice Allocation\n try {\n const voiceAllocationSeconds = template.voice.periodAllowance\n if (voiceAllocationSeconds != null) {\n const voiceAllocationMinutes = Math.floor(voiceAllocationSeconds / 60)\n context.commit('setPlanVersionVoiceAllocationMinutes', voiceAllocationMinutes.toString(), { root: true })\n result.voiceAllocationMinutes = voiceAllocationMinutes.toString()\n } else {\n throw new Error('Voice Allocation is null')\n }\n } catch (e) {\n try {\n const voiceIsUnlimited = template.voice.periodAllowance === null\n if (voiceIsUnlimited) {\n context.commit('setPlanVersionVoiceAllocationMinutes', 'Unlimited', { root: true })\n result.voiceAllocationMinutes = 'Unlimited'\n }\n } catch (e) {\n try {\n const voiceIsNotOnPlan = template.voice === null\n if (voiceIsNotOnPlan) {\n context.commit('setPlanVersionVoiceAllocationMinutes', 'No service', { root: true })\n result.voiceAllocationMinutes = 'No service'\n }\n } catch (e) {\n console.log('Unsupported Voice Plan')\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n // Setting SMS Allocation\n try {\n const smsAllocation = template.text.periodAllowance\n context.commit('setPlanVersionSmsAllocation', smsAllocation.toString(), { root: true })\n result.smsAllocation = smsAllocation.toString()\n } catch (e) {\n try {\n const smsIsUnlimited = template.text.periodAllowance === null\n if (smsIsUnlimited) {\n context.commit('setPlanVersionSmsAllocation', 'Unlimited', { root: true })\n result.smsAllocation = 'Unlimited'\n }\n } catch (e) {\n try {\n const smsIsNotOnPlan = template.text === null\n if (smsIsNotOnPlan) {\n context.commit('setPlanVersionSmsAllocation', 'No service', { root: true })\n result.smsAllocation = 'No service'\n }\n } catch (e) {\n console.log('Unsupported SMS Plan')\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n // Setting Data Allocation\n try {\n const dataAllocationBytes = template.data.periodAllowance\n if (dataAllocationBytes !== null) {\n const dataAllocationMb = Math.floor(dataAllocationBytes / getStorageSizeInBytesByUnit('MB'))\n context.commit('setPlanVersionDataAllocationMb', dataAllocationMb.toString(), { root: true })\n result.dataAllocationMb = dataAllocationMb.toString()\n } else {\n throw new Error('Data Allocation is null')\n }\n } catch (e) {\n try {\n const dataIsUnlimited = template.data.periodAllowance === null\n if (dataIsUnlimited) {\n context.commit('setPlanVersionDataAllocationMb', 'Unlimited', { root: true })\n result.dataAllocationMb = 'Unlimited'\n }\n } catch (e) {\n try {\n const dataIsNotOnPlan = template.data === null\n if (dataIsNotOnPlan) {\n context.commit('setPlanVersionDataAllocationMb', 'No service', { root: true })\n result.dataAllocationMb = 'No service'\n }\n } catch (e) {\n console.log('Unsupported Data Plan')\n context.commit('setAccountDeviceError', true)\n }\n }\n }\n return result\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport { graphQLUrl, notificationsEventBusArn } from '@/store/common'\nimport { getMyProviderConfig, updateProviderConfigEventBusArn, getFieldMappingsQuery, getRatingGroupHierarchyQuery, getBalanceTypesQuery } from '../modules/queries'\nimport { buildUnitTypeMapping } from '../index'\n\nexport default {\n namespaced: true,\n state: {\n tenantName: ''\n },\n getters: {},\n mutations: {\n setProviderConfigEventBusArn (state, eventBusArn) {\n state.providerConfigEventBusArn = eventBusArn\n },\n setTenantName (state, tenantName) {\n state.tenantName = tenantName\n }\n },\n actions: {\n async getMyProviderConfig (context) {\n const idToken = await context.rootState.idToken\n const providerConfigResponse = await axios.post(\n graphQLUrl,\n getMyProviderConfig(), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n console.log('My provider config response:')\n console.log(providerConfigResponse)\n try {\n const providerConfigData = providerConfigResponse.data.data.getMyProviderConfig\n if (providerConfigData.__typename !== 'ProviderConfig') {\n throw new Error('Error while fetching ProviderConfig!')\n }\n context.commit('setTenantName', providerConfigData.name)\n const homeNetworks = providerConfigData.homeNetworks\n const eventBusArn = providerConfigData.eventBusArn\n console.log('homeNetworks:', homeNetworks)\n console.log('Event Bus ARN', eventBusArn)\n let mcc = homeNetworks.substr(0, 3)\n let mnc = homeNetworks.substr(3)\n console.log('mcc:', mcc)\n console.log('mnc:', mnc)\n context.commit('updateMcc', mcc, { root: true })\n context.commit('updateMnc', mnc, { root: true })\n context.commit('setProviderConfigEventBusArn', eventBusArn)\n console.log('Checking for telcos')\n if (mcc && mnc) {\n mcc = String(mcc)\n mnc = String(mnc)\n if (mnc.length < 2) {\n mnc = `0${mnc}`\n }\n const telcoCountries = context.rootState.settings.telcosByCountries\n for (const country of Object.keys(telcoCountries)) {\n const telcos = telcoCountries[country]\n for (const telco of telcos.telcosWithCode) {\n if (telco.mcc === String(mcc) && telco.mnc === String(mnc)) {\n console.log('Found telco for default mcc/mnc', telco.label)\n context.commit('settings/setTelcoCountry', country, { root: true })\n context.commit('settings/setTelco', telco.label, { root: true })\n }\n }\n }\n }\n } catch (e) {\n console.error('Setting MCC and MNC failed: ', e.toString())\n }\n const fieldMappings = (await axios.post(\n graphQLUrl,\n getFieldMappingsQuery(context.rootState.providerId, 25),\n context.rootGetters.graphQLHeaders\n )).data.data.getFieldMappings\n console.log('Field mappings found', fieldMappings)\n\n const ratingGroupHierarchyResponse = await axios.post(\n graphQLUrl,\n getRatingGroupHierarchyQuery(context.rootState.providerId), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n console.log('Rating Group Hierarchy response:')\n console.log(ratingGroupHierarchyResponse)\n try {\n const rootRatingGroup = ratingGroupHierarchyResponse.data.data.getRatingGroupHierarchy\n console.log('Root rating group', rootRatingGroup)\n if (rootRatingGroup.name === 'Root') {\n const updatedDataSubGroups = {}\n const subDataGroups = ['netflix', 'podcast', 'whatsapp', 'instagram']\n for (const baseRatingGroup of rootRatingGroup.children) {\n console.log('Base rating group', baseRatingGroup)\n switch (baseRatingGroup.name) {\n case 'Voice':\n context.commit('setRatingGroup', { ratingGroup: 'voice', value: baseRatingGroup.id }, { root: true })\n context.commit('addRatingGroupBucket', { ratingGroup: 'voice', value: baseRatingGroup.id }, { root: true })\n for (const voiceSubRatingGroup of baseRatingGroup.children) {\n console.log('Voice sub rating group', voiceSubRatingGroup)\n context.commit('addRatingGroupBucket', { ratingGroup: 'voice', value: voiceSubRatingGroup.id }, { root: true })\n }\n break\n case 'Text':\n context.commit('setRatingGroup', { ratingGroup: 'text', value: baseRatingGroup.id }, { root: true })\n context.commit('addRatingGroupBucket', { ratingGroup: 'text', value: baseRatingGroup.id }, { root: true })\n for (const textSubRatingGroup of baseRatingGroup.children) {\n console.log('Text sub rating group', textSubRatingGroup)\n context.commit('addRatingGroupBucket', { ratingGroup: 'text', value: textSubRatingGroup.id }, { root: true })\n }\n break\n case 'Data':\n context.commit('setRatingGroup', { ratingGroup: 'data', value: baseRatingGroup.id }, { root: true })\n context.commit('addRatingGroupBucket', { ratingGroup: 'data', value: baseRatingGroup.id }, { root: true })\n for (const dataSubRatingGroup of baseRatingGroup.children) {\n console.log('Data sub rating group', dataSubRatingGroup)\n context.commit('addRatingGroupBucket', { ratingGroup: 'data', value: dataSubRatingGroup.id }, { root: true })\n for (const subDataGroup of subDataGroups) {\n if (dataSubRatingGroup.name.indexOf(subDataGroup) > -1) {\n context.commit('setRatingGroup', { ratingGroup: subDataGroup, value: dataSubRatingGroup.id }, { root: true })\n updatedDataSubGroups[subDataGroup] = true\n }\n }\n }\n }\n }\n for (const subDataGroup of subDataGroups) {\n if (!updatedDataSubGroups[subDataGroup]) {\n context.commit('setRatingGroup', { ratingGroup: subDataGroup, value: context.rootState.dataRatingGroup }, { root: true })\n }\n }\n context.commit('updateUnitTypeMapping', buildUnitTypeMapping(context.rootState), { root: true })\n }\n } catch (err) {\n console.error('Error setting rating group hierarchy: ', err.toString())\n }\n\n const getBalanceTypesResponse = await axios.post(\n graphQLUrl,\n getBalanceTypesQuery(context.rootState.providerId), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n console.log('Get Balance Types response:')\n console.log(getBalanceTypesResponse)\n try {\n const balanceTypes = getBalanceTypesResponse.data.data.getBalanceTypes.balanceTypes\n console.log('Balance Types', balanceTypes)\n context.commit('setBalanceTypes', balanceTypes, { root: true })\n } catch (err) {\n console.error('Error setting balance types: ', err.toString())\n }\n context.commit('setConfigLoaded', true, { root: true })\n },\n async setNotificationEventBus (context) {\n await context.dispatch('getMyProviderConfig')\n if (!context.state.providerConfigEventBusArn) {\n console.log('Setting event bus ARN', notificationsEventBusArn)\n const idToken = await context.rootState.idToken\n await axios.post(\n graphQLUrl,\n updateProviderConfigEventBusArn(notificationsEventBusArn), {\n headers: {\n Authorization: `${idToken}`\n }\n }\n )\n context.commit('setProviderConfigEventBusArn', notificationsEventBusArn)\n }\n console.log('event bus ARN', context.state.providerConfigEventBusArn)\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport moment from 'moment'\nimport _ from 'lodash'\nimport { graphQLUrl } from '@/store/common'\nimport { getPlansQuery, getPlanVersionInformationQuery } from '@/store/modules/queries'\n\n// var edges = [ { \"node\": { \"id\": \"1cfcb63b-8bd0-4879-969a-f3e13c0ce7b4\", \"name\": \"Igotot Bronze\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"AVAILABLE\", \"id\": \"92957a55-b564-444a-9b32-0109bb9a4548\", \"createdAt\": \"2022-05-02T22:16:41.817Z\" } } ] } } }, { \"node\": { \"id\": \"38b3ab77-28cc-456b-91f1-379d9e6c3427\", \"name\": \"Igotot Wood\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"AVAILABLE\", \"id\": \"5897591b-c45e-4a1c-8d5a-c4ec7e4d29ce\", \"createdAt\": \"2022-05-02T22:29:16.109Z\" } } ] } } }, { \"node\": { \"id\": \"4e304b9a-0022-4c98-bbcf-4662d0c94e0f\", \"name\": \"Igotot Unlimited\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"AVAILABLE\", \"id\": \"50611d74-a68a-4824-a21d-04105a1effdb\", \"createdAt\": \"2022-04-20T17:32:10.992Z\" } } ] } } }, { \"node\": { \"id\": \"65a35954-9595-4f29-80aa-1b500e6d4926\", \"name\": \"Igotot Legacy 3\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 2\", \"state\": \"SUSPENDED\", \"id\": \"8321c2ac-e807-4495-b5a5-50900ce359e0\", \"createdAt\": \"2022-04-08T17:59:19.842Z\" } }, { \"node\": { \"version\": \"Version 1\", \"state\": \"SUSPENDED\", \"id\": \"d7b2bb48-3fbb-45ae-8ae4-8a54d20b1f4c\", \"createdAt\": \"2022-03-28T22:18:50.389Z\" } } ] } } }, { \"node\": { \"id\": \"65d7ab3b-52d9-461a-a0ea-4718749314ec\", \"name\": \"Monster Data\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"AVAILABLE\", \"id\": \"0349e576-4118-46ab-8eca-dbabfbe7c88b\", \"createdAt\": \"2022-04-24T20:03:11.709Z\" } } ] } } }, { \"node\": { \"id\": \"84dbe7b8-6e4e-4440-bbaa-4e179429d1ab\", \"name\": \"Igotot Legacy\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1 (new)\", \"state\": \"ARCHIVED\", \"id\": \"0637e17b-ab0a-4df0-a097-f11bce19098d\", \"createdAt\": \"2022-04-11T16:25:51.642Z\" } }, { \"node\": { \"version\": \"Version 1\", \"state\": \"SUSPENDED\", \"id\": \"3248094d-d494-47a5-96ab-eaea04ad7e9f\", \"createdAt\": \"2022-04-11T15:43:41.205Z\" } } ] } } }, { \"node\": { \"id\": \"a9d88747-51bd-4564-a666-805e8d9cc529\", \"name\": \"Igotot Legacy 2\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"ARCHIVED\", \"id\": \"bfd95070-e2ae-4bbe-8aa4-fdbbb3792684\", \"createdAt\": \"2022-04-11T16:18:58.329Z\" } } ] } } }, { \"node\": { \"id\": \"b242aeae-af3c-4eb5-b49e-5e4ba3cb4eb9\", \"name\": \"Igotot Basics\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"SUSPENDED\", \"id\": \"8ab139f7-1cb3-4af0-a911-8ca4fa915e5b\", \"createdAt\": \"2022-04-20T16:38:11.368Z\" } }, { \"node\": { \"version\": \"Version 1 (new)\", \"state\": \"SUSPENDED\", \"id\": \"a95ce4a2-01c8-4ebe-a54d-5b844f2e6762\", \"createdAt\": \"2022-04-20T17:04:24.008Z\" } }, { \"node\": { \"version\": \"Version 3\", \"state\": \"AVAILABLE\", \"id\": \"e4d30227-5e6b-48b7-82a0-fca08f119cc1\", \"createdAt\": \"2022-04-26T15:33:59.141Z\" } } ] } } }, { \"node\": { \"id\": \"ea04e03f-c432-49a0-8921-34d6e8e63be0\", \"name\": \"Igotot LowBalanceNotification\", \"versions\": { \"edges\": [ { \"node\": { \"version\": \"Version 1\", \"state\": \"AVAILABLE\", \"id\": \"1f27e347-680f-4ad0-ad07-9b9b03bf0fc8\", \"createdAt\": \"2022-05-02T23:31:49.847Z\" } } ] } } } ];\nexport function availablePlansAndVersions (rawData) {\n function removeUnavailableVersions (edge) {\n if (['AVAILABLE'].includes(edge.node.state)) {\n return edge.node\n }\n }\n function removeCruft (edge) {\n return {\n planId: edge.node.id,\n planName: edge.node.name,\n planVersions: _.omitBy(\n _.map(\n edge.node.versions.edges,\n removeUnavailableVersions\n ),\n _.isNil\n )[_.keys(_.omitBy(_.map(edge.node.versions.edges, removeUnavailableVersions), _.isNil))]\n }\n }\n function removeUnavailablePlans (result) {\n return result.planVersions\n }\n let results\n results = _.map(rawData, removeCruft)\n results = _.remove(results, removeUnavailablePlans)\n results = _.map(results, function (result) {\n console.log('Available plan version result', result)\n return {\n planId: result.planId,\n planName: result.planName,\n planVersionName: result.planVersions.version,\n planVersionId: result.planVersions.id,\n createdAt: result.planVersions.createdAt,\n modifiedAt: result.planVersions.modifiedAt\n }\n })\n // filter anything that starts with \"Oldv\"\n // Rename plans to \"Oldv1, Oldv2 etc. or even OldvSomePlanName\"\n // Use this to help keep old plans decluttered by renaming them in the plan designer\n results = _.remove(results, function (result) {\n return !_.includes(result.planName, 'Oldv')\n })\n return results\n}\n\nexport default {\n namespaced: true,\n state: {\n planVersions: {}\n },\n getters: {},\n mutations: {\n setPlanVersion (state, planVersionId, planVersion) {\n state.planVersions[planVersionId] = planVersion\n }\n },\n actions: {\n async getPlanInformation (context) {\n console.log(`Loading all plans for provider ${context.rootState.providerId}`)\n const idToken = context.rootState.idToken\n const providerId = context.rootState.providerId\n const response = await axios.post(graphQLUrl, getPlansQuery(providerId), {\n headers: {\n Authorization: `${idToken}`\n }\n })\n console.log('All plans', response.data.data.getPlans)\n const plans = response.data.data.getPlans\n const edges = plans.edges\n const pageInfo = plans.pageInfo\n if (pageInfo.hasNextPage) {\n console.log('Getting more plans')\n const morePlans = await axios.post(graphQLUrl, getPlansQuery(providerId, pageInfo.endCursor), {\n headers: {\n Authorization: `${idToken}`\n }\n })\n edges.push(...morePlans.data.data.getPlans.edges)\n }\n console.log('Retrieved plans count', edges.length)\n const availablePlans = availablePlansAndVersions(edges)\n console.log('Available plans', availablePlans)\n context.commit('setAllAvailablePlanInformation', availablePlans, { root: true })\n const latestPlan = _.sortBy(availablePlans, function (plan) {\n return moment(plan.createdAt)\n }).reverse()[0]\n console.log('Latest plan', latestPlan)\n context.commit('setCurrentPlanInformation', latestPlan, { root: true })\n },\n async loadPlanVersion (context, { planVersionId }) {\n const response = await axios.post(graphQLUrl, getPlanVersionInformationQuery(context.rootState.providerId, planVersionId), {\n headers: {\n Authorization: `${context.rootState.idToken}`\n }\n })\n console.log('Plan Version')\n console.log(response.data.data.getPlanVersion)\n context.state.planVersions[planVersionId] = response.data.data.getPlanVersion\n }\n }\n}\n","export default function getProviderId (decodedToken) {\n const groups = decodedToken['cognito:groups']\n let result\n for (const i in groups) {\n const indexOfProvider = groups[i].indexOf('Provider')\n\n if (indexOfProvider === 0) {\n result = groups[i].substring(10)\n }\n }\n return (result)\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport * as jose from 'jose'\nimport router from '@/router'\nimport getProviderId from '@/utils/providerId'\nimport { cognitoIdpSignInUrl } from '../common'\n\nexport default {\n state: {\n signingIn: false\n },\n getters: {},\n mutations: {\n signInCompleted (state) {\n state.signingIn = false\n },\n startSignIn (state) {\n state.signingIn = true\n }\n },\n namespaced: true,\n actions: {\n async signIn (context, data) {\n try {\n console.log(data)\n context.commit('startSignIn')\n const response = await axios.post(cognitoIdpSignInUrl, data, {\n headers: {\n 'Content-Type': 'application/x-amz-json-1.1',\n 'X-Amz-Target': 'AWSCognitoIdentityProviderService.InitiateAuth'\n }\n })\n console.log(response)\n const idToken = response.data.AuthenticationResult.IdToken\n const decodedToken = jose.decodeJwt(idToken)\n const providerId = getProviderId(decodedToken)\n context.commit('setIdToken', idToken, { root: true })\n context.commit('setProviderId', providerId, { root: true })\n router.push('/')\n context.commit('signInCompleted')\n return response\n } catch (error) {\n console.log(error)\n context.commit('signInCompleted')\n router.push('/')\n if (error.response) {\n return error.response\n }\n return error\n }\n }\n }\n}\n","export default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async update (context, newMapping) {\n try {\n context.commit('updateUnitTypeMapping', newMapping, { root: true })\n } catch (error) {\n console.log(error)\n }\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport {\n topUpUrl,\n topUpData\n} from './utils/charging'\n\nimport { proxyUrl } from '@/store/common'\n\nexport default {\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async topUp (providerId, deviceId, volume, token) {\n const url = await topUpUrl()\n const requestData = await topUpData(providerId, deviceId, volume)\n const requestBody = {\n url: url,\n requestData: requestData,\n token: token\n }\n const result = await axios.post(proxyUrl, requestBody)\n return result\n }\n }\n}\n","export default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async toggleVerbosity (context) {\n try {\n context.commit('toggleVerboseLogging', null, { root: true })\n } catch (error) {\n console.log(error)\n }\n }\n }\n}\n","import { axiosInstance as axios } from '../../utils/axiosInstances'\nimport { getSettingsQuery } from './queries'\nimport { graphQLUrl } from '@/store/common'\nimport getSymbolFromCurrency from 'currency-symbol-map'\nimport telcos from './utils/telcos.json'\n\nconst telcoCountries = []\nconst telcosByCountries = {}\n\nfor (const telco of telcos) {\n if (telcoCountries.indexOf(telco.country) < 0) {\n telcoCountries.push(telco.country)\n }\n if (!telcosByCountries[telco.country]) {\n telcosByCountries[telco.country] = {\n telcos: [],\n telcosWithCode: []\n }\n }\n telcosByCountries[telco.country].telcos.push(telco.telco)\n telcosByCountries[telco.country].telcosWithCode.push({\n telco: telco.telco,\n mcc: telco.mcc,\n mnc: telco.mnc,\n label: `${telco.telco} - ${telco.mcc}/${telco.mnc}`,\n value: `${telco.telco} - ${telco.mcc}/${telco.mnc}`\n })\n}\n\nexport default {\n namespaced: true,\n state: {\n carrierSelectRoutingInformation: 'ARIN',\n numberPortabilityRoutingInformation: 'ARIN',\n isOnNetMode: true,\n telcos,\n telcoCountries,\n telcosByCountries,\n telcoCountry: telcoCountries[0],\n telco: null\n },\n getters: {},\n mutations: {\n setSettings (state, newValue) {\n state.settings = newValue\n state.currencyCode = state.settings.json_data.general.currency\n state.currencySymbol = getSymbolFromCurrency(state.currencyCode)\n state.settingsLoaded = true\n },\n setIsOnNetMode (state, isOnNetMode) {\n state.isOnNetMode = isOnNetMode\n },\n setCarrierSelectRoutingInformation (state, carrierSelectRoutingInformation) {\n state.carrierSelectRoutingInformation = carrierSelectRoutingInformation\n state.isOnNetMode = (state.carrierSelectRoutingInformation === state.numberPortabilityRoutingInformation)\n },\n setNumberPortabilityRoutingInformation (state, numberPortabilityRoutingInformation) {\n state.numberPortabilityRoutingInformation = numberPortabilityRoutingInformation\n state.isOnNetMode = (state.carrierSelectRoutingInformation === state.numberPortabilityRoutingInformation)\n },\n setTelcoCountry (state, telcoCountry) {\n state.telcoCountry = telcoCountry\n },\n setTelco (state, telco) {\n state.telco = telco\n }\n },\n actions: {\n async loadSettings (context) {\n try {\n const settings = (await axios.post(\n graphQLUrl,\n getSettingsQuery(\n context.rootState.providerId\n ),\n context.rootGetters.graphQLHeaders\n )).data.data.getSettings\n settings.json_data = JSON.parse(settings.json)\n context.commit('setSettings', settings)\n } catch (err) {\n console.error('Error loading settings', err)\n }\n },\n updateIsOnNetMode (context, { isOnNetMode }) {\n context.commit('setIsOnNetMode', isOnNetMode)\n if (!context.state.carrierSelectRoutingInformation) {\n context.commit('setCarrierSelectRoutingInformation', 'ARIN')\n }\n if (isOnNetMode && context.state.carrierSelectRoutingInformation !== context.state.numberPortabilityRoutingInformation) {\n context.commit('setNumberPortabilityRoutingInformation', context.state.carrierSelectRoutingInformation)\n } else if (context.state.carrierSelectRoutingInformation === context.state.numberPortabilityRoutingInformation) {\n context.commit('setNumberPortabilityRoutingInformation', Math.random().toString(36).slice(2).slice(0, 4).toUpperCase())\n }\n },\n updateTelco (context, { telco }) {\n context.commit('setTelco', telco)\n const telcoCountry = context.state.telcoCountry\n const telcoWithCode = context.state.telcosByCountries[telcoCountry].telcosWithCode.filter(telcoWithCode => telcoWithCode.value === telco)[0]\n context.commit('updateMcc', telcoWithCode.mcc, { root: true })\n context.commit('updateMnc', telcoWithCode.mnc, { root: true })\n }\n }\n}\n","\nimport { axiosInstance as axios, plainAxiosInstance } from '../../utils/axiosInstances'\nimport { graphQLUrl } from '@/store/common'\nimport { getCurrentUserQuery } from '@/store/modules/queries'\n\nexport default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n async getCurrentUser (context, testingCredentials) {\n const idToken = context.rootState.idToken\n const axiosToUse = testingCredentials ? plainAxiosInstance : axios\n const response = await axiosToUse.post(graphQLUrl, getCurrentUserQuery(), {\n headers: {\n Authorization: `${idToken}`\n }\n })\n console.log(response)\n const user = response.data.data.getCurrentUser\n context.commit('setCurrentUser', user, { root: true })\n }\n }\n}\n","import { createStore } from 'vuex'\n// import moment from 'moment-timezone'\nimport account from './modules/account.js'\nimport accountBalances from './modules/accountBalances.js'\nimport charge5g from './modules/charge5g.js'\nimport device from './modules/device.js'\nimport edrs from './modules/edrs.js'\nimport notifications from './modules/notifications.js'\nimport planVersionAllocations from './modules/planVersionAllocations.js'\nimport myProviderConfig from './modules/myProviderConfig.js'\nimport planVersions from './modules/planVersions.js'\nimport signIn from './modules/signIn.js'\nimport unitMapping from './modules/unitMapping.js'\nimport credit5g from './modules/credit5g.js'\nimport logging from './modules/logging.js'\nimport settings from './modules/settings.js'\nimport user from './modules/user.js'\n\nconst DEFAULT_UNIT_TYPE = 'totalVolume'\n\nexport const buildUnitTypeMapping = (state) => {\n const unitTypeMapping = {\n 400: 'serviceSpecificUnits'\n }\n unitTypeMapping[(state?.voiceRatingGroup || 100)] = 'time'\n unitTypeMapping[(state?.textRatingGroup || 200)] = 'serviceSpecificUnits'\n unitTypeMapping[(state?.dataRatingGroup || 300)] = 'totalVolume'\n Array.from(Array(100).keys()).forEach(i => {\n const key = i + 300\n const value = unitTypeMapping[key] || DEFAULT_UNIT_TYPE\n unitTypeMapping[key] = value\n })\n unitTypeMapping[state?.netflixRatingGroup] = 'totalVolume'\n unitTypeMapping[state?.instagramRatingGroup] = 'totalVolume'\n unitTypeMapping[state?.podcastRatingGroup] = 'totalVolume'\n unitTypeMapping[state?.whatsappRatingGroup] = 'totalVolume'\n return unitTypeMapping\n}\n\nexport default createStore({\n state () {\n return {\n verboseLogging: false,\n idToken: '',\n providerId: '',\n unitTypeMapping: buildUnitTypeMapping(),\n deviceLogs: {},\n zeroRatedData: false,\n accountDeviceError: false,\n currentSmsBalance: 'loading...',\n currentVoiceBalanceMinutes: 'loading...',\n currentDataBalanceMb: 'loading...',\n currentMonetaryBalance: 'loading...',\n currentNonMonetaryBalances: [],\n planVersionSmsAllocation: null,\n planVersionVoiceAllocationMinutes: null,\n planVersionDataAllocationMb: null,\n allAvailablePlanInformation: {},\n allPlanVersionAllocations: [],\n currentPlanInformation: {},\n currentUser: {},\n accounts: {},\n mcc: '244',\n mnc: '09',\n dispatchedProviderConfig: false,\n voiceRatingGroup: 100,\n textRatingGroup: 200,\n dataRatingGroup: 300,\n voiceRatingGroupBucket: [100],\n textRatingGroupBucket: [200],\n dataRatingGroupBucket: [300],\n netflixRatingGroup: 300,\n podcastRatingGroup: 300,\n whatsappRatingGroup: 300,\n instagramRatingGroup: 300,\n balanceTypes: [],\n configLoaded: false,\n appTimezone: 'Africa/Khartoum' // moment.tz.guess()\n }\n },\n getters: {\n graphQLHeaders (state) {\n return {\n headers: {\n Authorization: `${state.idToken}`\n }\n }\n }\n },\n mutations: {\n setBalanceTypes (state, balanceTypes) {\n state.balanceTypes = balanceTypes\n },\n addRatingGroupBucket (state, { ratingGroup, value }) {\n const ratingGroupBucket = state[`${ratingGroup}RatingGroupBucket`]\n if (ratingGroupBucket.indexOf(value) < 0) {\n ratingGroupBucket.push(value)\n }\n },\n setRatingGroup (state, { ratingGroup, value }) {\n state[`${ratingGroup}RatingGroup`] = value\n },\n setRatingGroupBucket (state, { ratingGroup, value }) {\n state[`${ratingGroup}RatingGroupBucket`] = value\n },\n toggleVerboseLogging (state) {\n state.verboseLogging = !state.verboseLogging\n },\n setProviderId (state, providerId) {\n state.providerId = providerId\n },\n setIdToken (state, idToken) {\n state.idToken = idToken\n },\n setDispatchedProviderConfig (state, dispatched) {\n state.dispatchedProviderConfig = dispatched\n },\n setConfigLoaded (state, newValue) {\n state.configLoaded = newValue\n },\n updateUnitTypeMapping (state, newMapping) {\n state.unitTypeMapping = newMapping\n },\n updateMcc (state, mcc) {\n state.mcc = mcc\n },\n updateMnc (state, mnc) {\n state.mnc = mnc\n },\n putAccount (state, newAccountDetails) {\n state.accounts[newAccountDetails.accountId] = newAccountDetails\n },\n addLog (state, { log, deviceId }) {\n // Check if the device ID has a log setup for it\n // otherwise create it\n if (!(deviceId in state.deviceLogs)) {\n state.deviceLogs[deviceId] = []\n }\n let logLengthLimit\n if (state.verboseLogging) {\n state.deviceLogs[deviceId].push(log)\n logLengthLimit = 4\n } else {\n state.deviceLogs[deviceId].push(log)\n logLengthLimit = 15\n }\n const ids = state.deviceLogs[deviceId].map(o => o.id)\n const filtered = state.deviceLogs[deviceId].filter(({ id }, index) => !ids.includes(id, index + 1))\n state.deviceLogs[deviceId] = filtered\n state.deviceLogs[deviceId].sort((a, b) => {\n if (a.id < b.id) {\n return -1\n }\n if (a.id > b.id) {\n return 1\n }\n return 0\n })\n if (state.deviceLogs[deviceId].length > logLengthLimit) {\n state.deviceLogs[deviceId].shift()\n }\n },\n setAccountDeviceError (state, errorState) {\n state.accountDeviceError = errorState\n },\n setPlanVersionSmsAllocation (state, planVersionSmsAllocation) {\n state.planVersionSmsAllocation = planVersionSmsAllocation\n },\n setPlanVersionVoiceAllocationMinutes (state, planVersionVoiceAllocationMinutes) {\n state.planVersionVoiceAllocationMinutes = planVersionVoiceAllocationMinutes\n },\n setPlanVersionDataAllocationMb (state, planVersionDataAllocationMb) {\n state.planVersionDataAllocationMb = planVersionDataAllocationMb\n },\n setCurrentSmsBalance (state, currentSmsBalance) {\n state.currentSmsBalance = currentSmsBalance\n },\n setCurrentVoiceBalanceMinutes (state, currentVoiceBalanceMinutes) {\n state.currentVoiceBalanceMinutes = currentVoiceBalanceMinutes\n },\n setCurrentDataBalanceMb (state, currentDataBalanceMb) {\n state.currentDataBalanceMb = currentDataBalanceMb\n },\n setCurrentMonetaryBalance (state, currentMonetaryBalance) {\n state.currentMonetaryBalance = currentMonetaryBalance\n },\n setCurrentNonMonetaryBalances (state, currentNonMonetaryBalances) {\n state.currentNonMonetaryBalances = currentNonMonetaryBalances\n },\n setCurrentPlanInformation (state, currentPlanInformation) {\n state.currentPlanInformation = currentPlanInformation\n state.currentPlanVersionId = currentPlanInformation.planVersionId\n },\n setAllAvailablePlanInformation (state, allAvailablePlanInformation) {\n state.allAvailablePlanInformation = allAvailablePlanInformation\n },\n setAllPlanVersionAllocations (state, allowances) {\n state.allPlanVersionAllocations = allowances\n },\n setCurrentUser (state, user) {\n state.currentUser = user\n }\n },\n actions: {\n\n },\n modules: {\n account: account,\n accountBalances: accountBalances,\n charge5g: charge5g,\n credit5g: credit5g,\n device: device,\n edrs: edrs,\n logging: logging,\n notifications: notifications,\n planVersionAllocations: planVersionAllocations,\n myProviderConfig: myProviderConfig,\n planVersions: planVersions,\n signIn: signIn,\n unitMapping: unitMapping,\n user: user,\n settings: settings\n }\n})\n","import { createRouter, createWebHistory } from 'vue-router'\nimport HomeView from '../views/HomeView.vue'\nimport SignInView from '../views/SignInView.vue'\nimport store from '../store/index'\n\nconst routes = [\n {\n path: '/sign-in',\n name: 'SignIn',\n component: SignInView\n },\n {\n path: '/',\n name: 'Home',\n component: HomeView\n }\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nrouter.beforeEach(async (to, from, next) => {\n const isAuthenticated = (store.state.idToken !== '')\n if (to.name !== 'SignIn' && !isAuthenticated) {\n next({ name: 'SignIn' })\n } else {\n next()\n }\n})\n\nexport default router\n","import { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport coreui from '@coreui/vue'\nimport VueCookies from 'vue-cookies'\nimport { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'\nimport { library } from '@fortawesome/fontawesome-svg-core'\nimport withUUID from 'vue-uuid'\n\nimport { faArrowLeft, faCircleExclamation, faPlus, faTrashCan, faMobileScreen, faSignal, faPhone, faReceipt, faCaretDown, faCaretRight, faR, faMessage, faEnvelopesBulk, faFileInvoice } from '@fortawesome/free-solid-svg-icons'\nimport { faCopy } from '@fortawesome/free-regular-svg-icons'\n\nimport 'bootstrap/dist/css/bootstrap.min.css'\nimport './main.scss'\n\nlibrary.add(faArrowLeft)\nlibrary.add(faCircleExclamation)\nlibrary.add(faCopy)\nlibrary.add(faPlus)\nlibrary.add(faTrashCan)\nlibrary.add(faMobileScreen)\nlibrary.add(faSignal)\nlibrary.add(faPhone)\nlibrary.add(faReceipt)\nlibrary.add(faCaretDown)\nlibrary.add(faCaretRight)\nlibrary.add(faR)\nlibrary.add(faMessage)\nlibrary.add(faEnvelopesBulk)\nlibrary.add(faFileInvoice)\n\nwithUUID(\n createApp(App).use(store).use(router).use(coreui).use(VueCookies).component('font-awesome-icon', FontAwesomeIcon).mount('#app')\n)\n","var map = {\n\t\"./af\": 6098,\n\t\"./af.js\": 6098,\n\t\"./ar\": 6126,\n\t\"./ar-dz\": 3229,\n\t\"./ar-dz.js\": 3229,\n\t\"./ar-kw\": 9565,\n\t\"./ar-kw.js\": 9565,\n\t\"./ar-ly\": 7596,\n\t\"./ar-ly.js\": 7596,\n\t\"./ar-ma\": 8621,\n\t\"./ar-ma.js\": 8621,\n\t\"./ar-ps\": 130,\n\t\"./ar-ps.js\": 130,\n\t\"./ar-sa\": 4631,\n\t\"./ar-sa.js\": 4631,\n\t\"./ar-tn\": 2609,\n\t\"./ar-tn.js\": 2609,\n\t\"./ar.js\": 6126,\n\t\"./az\": 6822,\n\t\"./az.js\": 6822,\n\t\"./be\": 544,\n\t\"./be.js\": 544,\n\t\"./bg\": 394,\n\t\"./bg.js\": 394,\n\t\"./bm\": 5160,\n\t\"./bm.js\": 5160,\n\t\"./bn\": 9489,\n\t\"./bn-bd\": 2764,\n\t\"./bn-bd.js\": 2764,\n\t\"./bn.js\": 9489,\n\t\"./bo\": 1602,\n\t\"./bo.js\": 1602,\n\t\"./br\": 213,\n\t\"./br.js\": 213,\n\t\"./bs\": 8150,\n\t\"./bs.js\": 8150,\n\t\"./ca\": 901,\n\t\"./ca.js\": 901,\n\t\"./cs\": 8819,\n\t\"./cs.js\": 8819,\n\t\"./cv\": 880,\n\t\"./cv.js\": 880,\n\t\"./cy\": 8509,\n\t\"./cy.js\": 8509,\n\t\"./da\": 5718,\n\t\"./da.js\": 5718,\n\t\"./de\": 1674,\n\t\"./de-at\": 2658,\n\t\"./de-at.js\": 2658,\n\t\"./de-ch\": 9876,\n\t\"./de-ch.js\": 9876,\n\t\"./de.js\": 1674,\n\t\"./dv\": 1335,\n\t\"./dv.js\": 1335,\n\t\"./el\": 6532,\n\t\"./el.js\": 6532,\n\t\"./en-au\": 1197,\n\t\"./en-au.js\": 1197,\n\t\"./en-ca\": 6215,\n\t\"./en-ca.js\": 6215,\n\t\"./en-gb\": 8462,\n\t\"./en-gb.js\": 8462,\n\t\"./en-ie\": 9829,\n\t\"./en-ie.js\": 9829,\n\t\"./en-il\": 4542,\n\t\"./en-il.js\": 4542,\n\t\"./en-in\": 5972,\n\t\"./en-in.js\": 5972,\n\t\"./en-nz\": 7191,\n\t\"./en-nz.js\": 7191,\n\t\"./en-sg\": 2645,\n\t\"./en-sg.js\": 2645,\n\t\"./eo\": 4413,\n\t\"./eo.js\": 4413,\n\t\"./es\": 1529,\n\t\"./es-do\": 9815,\n\t\"./es-do.js\": 9815,\n\t\"./es-mx\": 5467,\n\t\"./es-mx.js\": 5467,\n\t\"./es-us\": 1998,\n\t\"./es-us.js\": 1998,\n\t\"./es.js\": 1529,\n\t\"./et\": 3564,\n\t\"./et.js\": 3564,\n\t\"./eu\": 8787,\n\t\"./eu.js\": 8787,\n\t\"./fa\": 6968,\n\t\"./fa.js\": 6968,\n\t\"./fi\": 3472,\n\t\"./fi.js\": 3472,\n\t\"./fil\": 7270,\n\t\"./fil.js\": 7270,\n\t\"./fo\": 4662,\n\t\"./fo.js\": 4662,\n\t\"./fr\": 2897,\n\t\"./fr-ca\": 7414,\n\t\"./fr-ca.js\": 7414,\n\t\"./fr-ch\": 2157,\n\t\"./fr-ch.js\": 2157,\n\t\"./fr.js\": 2897,\n\t\"./fy\": 7248,\n\t\"./fy.js\": 7248,\n\t\"./ga\": 2497,\n\t\"./ga.js\": 2497,\n\t\"./gd\": 6830,\n\t\"./gd.js\": 6830,\n\t\"./gl\": 3846,\n\t\"./gl.js\": 3846,\n\t\"./gom-deva\": 3399,\n\t\"./gom-deva.js\": 3399,\n\t\"./gom-latn\": 8024,\n\t\"./gom-latn.js\": 8024,\n\t\"./gu\": 6269,\n\t\"./gu.js\": 6269,\n\t\"./he\": 6510,\n\t\"./he.js\": 6510,\n\t\"./hi\": 1498,\n\t\"./hi.js\": 1498,\n\t\"./hr\": 4847,\n\t\"./hr.js\": 4847,\n\t\"./hu\": 6990,\n\t\"./hu.js\": 6990,\n\t\"./hy-am\": 2009,\n\t\"./hy-am.js\": 2009,\n\t\"./id\": 6960,\n\t\"./id.js\": 6960,\n\t\"./is\": 3333,\n\t\"./is.js\": 3333,\n\t\"./it\": 3952,\n\t\"./it-ch\": 1226,\n\t\"./it-ch.js\": 1226,\n\t\"./it.js\": 3952,\n\t\"./ja\": 6308,\n\t\"./ja.js\": 6308,\n\t\"./jv\": 2721,\n\t\"./jv.js\": 2721,\n\t\"./ka\": 77,\n\t\"./ka.js\": 77,\n\t\"./kk\": 739,\n\t\"./kk.js\": 739,\n\t\"./km\": 3737,\n\t\"./km.js\": 3737,\n\t\"./kn\": 3376,\n\t\"./kn.js\": 3376,\n\t\"./ko\": 247,\n\t\"./ko.js\": 247,\n\t\"./ku\": 3425,\n\t\"./ku-kmr\": 6058,\n\t\"./ku-kmr.js\": 6058,\n\t\"./ku.js\": 3425,\n\t\"./ky\": 3045,\n\t\"./ky.js\": 3045,\n\t\"./lb\": 875,\n\t\"./lb.js\": 875,\n\t\"./lo\": 9680,\n\t\"./lo.js\": 9680,\n\t\"./lt\": 2321,\n\t\"./lt.js\": 2321,\n\t\"./lv\": 5135,\n\t\"./lv.js\": 5135,\n\t\"./me\": 3003,\n\t\"./me.js\": 3003,\n\t\"./mi\": 8119,\n\t\"./mi.js\": 8119,\n\t\"./mk\": 4761,\n\t\"./mk.js\": 4761,\n\t\"./ml\": 3148,\n\t\"./ml.js\": 3148,\n\t\"./mn\": 8550,\n\t\"./mn.js\": 8550,\n\t\"./mr\": 2002,\n\t\"./mr.js\": 2002,\n\t\"./ms\": 9889,\n\t\"./ms-my\": 2444,\n\t\"./ms-my.js\": 2444,\n\t\"./ms.js\": 9889,\n\t\"./mt\": 9764,\n\t\"./mt.js\": 9764,\n\t\"./my\": 4167,\n\t\"./my.js\": 4167,\n\t\"./nb\": 8393,\n\t\"./nb.js\": 8393,\n\t\"./ne\": 1196,\n\t\"./ne.js\": 1196,\n\t\"./nl\": 4107,\n\t\"./nl-be\": 8869,\n\t\"./nl-be.js\": 8869,\n\t\"./nl.js\": 4107,\n\t\"./nn\": 2173,\n\t\"./nn.js\": 2173,\n\t\"./oc-lnc\": 3533,\n\t\"./oc-lnc.js\": 3533,\n\t\"./pa-in\": 1032,\n\t\"./pa-in.js\": 1032,\n\t\"./pl\": 7357,\n\t\"./pl.js\": 7357,\n\t\"./pt\": 6853,\n\t\"./pt-br\": 4798,\n\t\"./pt-br.js\": 4798,\n\t\"./pt.js\": 6853,\n\t\"./ro\": 98,\n\t\"./ro.js\": 98,\n\t\"./ru\": 6128,\n\t\"./ru.js\": 6128,\n\t\"./sd\": 3050,\n\t\"./sd.js\": 3050,\n\t\"./se\": 3913,\n\t\"./se.js\": 3913,\n\t\"./si\": 253,\n\t\"./si.js\": 253,\n\t\"./sk\": 3867,\n\t\"./sk.js\": 3867,\n\t\"./sl\": 434,\n\t\"./sl.js\": 434,\n\t\"./sq\": 5749,\n\t\"./sq.js\": 5749,\n\t\"./sr\": 2700,\n\t\"./sr-cyrl\": 3699,\n\t\"./sr-cyrl.js\": 3699,\n\t\"./sr.js\": 2700,\n\t\"./ss\": 7155,\n\t\"./ss.js\": 7155,\n\t\"./sv\": 8896,\n\t\"./sv.js\": 8896,\n\t\"./sw\": 7671,\n\t\"./sw.js\": 7671,\n\t\"./ta\": 6854,\n\t\"./ta.js\": 6854,\n\t\"./te\": 2810,\n\t\"./te.js\": 2810,\n\t\"./tet\": 940,\n\t\"./tet.js\": 940,\n\t\"./tg\": 2384,\n\t\"./tg.js\": 2384,\n\t\"./th\": 6365,\n\t\"./th.js\": 6365,\n\t\"./tk\": 1780,\n\t\"./tk.js\": 1780,\n\t\"./tl-ph\": 4570,\n\t\"./tl-ph.js\": 4570,\n\t\"./tlh\": 3557,\n\t\"./tlh.js\": 3557,\n\t\"./tr\": 4387,\n\t\"./tr.js\": 4387,\n\t\"./tzl\": 1767,\n\t\"./tzl.js\": 1767,\n\t\"./tzm\": 2992,\n\t\"./tzm-latn\": 9648,\n\t\"./tzm-latn.js\": 9648,\n\t\"./tzm.js\": 2992,\n\t\"./ug-cn\": 2043,\n\t\"./ug-cn.js\": 2043,\n\t\"./uk\": 7521,\n\t\"./uk.js\": 7521,\n\t\"./ur\": 618,\n\t\"./ur.js\": 618,\n\t\"./uz\": 8002,\n\t\"./uz-latn\": 2050,\n\t\"./uz-latn.js\": 2050,\n\t\"./uz.js\": 8002,\n\t\"./vi\": 8800,\n\t\"./vi.js\": 8800,\n\t\"./x-pseudo\": 6036,\n\t\"./x-pseudo.js\": 6036,\n\t\"./yo\": 7057,\n\t\"./yo.js\": 7057,\n\t\"./zh-cn\": 8517,\n\t\"./zh-cn.js\": 8517,\n\t\"./zh-hk\": 1785,\n\t\"./zh-hk.js\": 1785,\n\t\"./zh-mo\": 5724,\n\t\"./zh-mo.js\": 5724,\n\t\"./zh-tw\": 2881,\n\t\"./zh-tw.js\": 2881\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 2220;","var map = {\n\t\"./af\": 2718,\n\t\"./af.js\": 2718,\n\t\"./ar\": 9394,\n\t\"./ar-dz\": 6153,\n\t\"./ar-dz.js\": 6153,\n\t\"./ar-kw\": 7657,\n\t\"./ar-kw.js\": 7657,\n\t\"./ar-ly\": 3384,\n\t\"./ar-ly.js\": 3384,\n\t\"./ar-ma\": 9081,\n\t\"./ar-ma.js\": 9081,\n\t\"./ar-sa\": 8331,\n\t\"./ar-sa.js\": 8331,\n\t\"./ar-tn\": 8549,\n\t\"./ar-tn.js\": 8549,\n\t\"./ar.js\": 9394,\n\t\"./az\": 2948,\n\t\"./az.js\": 2948,\n\t\"./be\": 8588,\n\t\"./be.js\": 8588,\n\t\"./bg\": 7046,\n\t\"./bg.js\": 7046,\n\t\"./bm\": 8148,\n\t\"./bm.js\": 8148,\n\t\"./bn\": 1946,\n\t\"./bn-bd\": 2400,\n\t\"./bn-bd.js\": 2400,\n\t\"./bn.js\": 1946,\n\t\"./bo\": 6350,\n\t\"./bo.js\": 6350,\n\t\"./br\": 9801,\n\t\"./br.js\": 9801,\n\t\"./bs\": 2586,\n\t\"./bs.js\": 2586,\n\t\"./ca\": 3049,\n\t\"./ca.js\": 3049,\n\t\"./cs\": 3159,\n\t\"./cs.js\": 3159,\n\t\"./cv\": 8188,\n\t\"./cv.js\": 8188,\n\t\"./cy\": 2737,\n\t\"./cy.js\": 2737,\n\t\"./da\": 9762,\n\t\"./da.js\": 9762,\n\t\"./de\": 7550,\n\t\"./de-at\": 7022,\n\t\"./de-at.js\": 7022,\n\t\"./de-ch\": 1464,\n\t\"./de-ch.js\": 1464,\n\t\"./de.js\": 7550,\n\t\"./dv\": 9243,\n\t\"./dv.js\": 9243,\n\t\"./el\": 1128,\n\t\"./el.js\": 1128,\n\t\"./en-au\": 7673,\n\t\"./en-au.js\": 7673,\n\t\"./en-ca\": 9787,\n\t\"./en-ca.js\": 9787,\n\t\"./en-gb\": 9818,\n\t\"./en-gb.js\": 9818,\n\t\"./en-ie\": 1473,\n\t\"./en-ie.js\": 1473,\n\t\"./en-il\": 5482,\n\t\"./en-il.js\": 5482,\n\t\"./en-in\": 5056,\n\t\"./en-in.js\": 5056,\n\t\"./en-nz\": 3363,\n\t\"./en-nz.js\": 3363,\n\t\"./en-sg\": 6817,\n\t\"./en-sg.js\": 6817,\n\t\"./eo\": 769,\n\t\"./eo.js\": 769,\n\t\"./es\": 4373,\n\t\"./es-do\": 9011,\n\t\"./es-do.js\": 9011,\n\t\"./es-mx\": 8863,\n\t\"./es-mx.js\": 8863,\n\t\"./es-us\": 6642,\n\t\"./es-us.js\": 6642,\n\t\"./es.js\": 4373,\n\t\"./et\": 1344,\n\t\"./et.js\": 1344,\n\t\"./eu\": 1063,\n\t\"./eu.js\": 1063,\n\t\"./fa\": 7348,\n\t\"./fa.js\": 7348,\n\t\"./fi\": 7020,\n\t\"./fi.js\": 7020,\n\t\"./fil\": 4034,\n\t\"./fil.js\": 4034,\n\t\"./fo\": 4730,\n\t\"./fo.js\": 4730,\n\t\"./fr\": 7869,\n\t\"./fr-ca\": 4082,\n\t\"./fr-ca.js\": 4082,\n\t\"./fr-ch\": 7577,\n\t\"./fr-ch.js\": 7577,\n\t\"./fr.js\": 7869,\n\t\"./fy\": 6892,\n\t\"./fy.js\": 6892,\n\t\"./ga\": 1117,\n\t\"./ga.js\": 1117,\n\t\"./gd\": 5474,\n\t\"./gd.js\": 5474,\n\t\"./gl\": 8237,\n\t\"./gl.js\": 8237,\n\t\"./gom-deva\": 6643,\n\t\"./gom-deva.js\": 6643,\n\t\"./gom-latn\": 5764,\n\t\"./gom-latn.js\": 5764,\n\t\"./gu\": 4465,\n\t\"./gu.js\": 4465,\n\t\"./he\": 9066,\n\t\"./he.js\": 9066,\n\t\"./hi\": 9886,\n\t\"./hi.js\": 9886,\n\t\"./hr\": 2867,\n\t\"./hr.js\": 2867,\n\t\"./hu\": 1706,\n\t\"./hu.js\": 1706,\n\t\"./hy-am\": 2101,\n\t\"./hy-am.js\": 2101,\n\t\"./id\": 4476,\n\t\"./id.js\": 4476,\n\t\"./is\": 2569,\n\t\"./is.js\": 2569,\n\t\"./it\": 956,\n\t\"./it-ch\": 7078,\n\t\"./it-ch.js\": 7078,\n\t\"./it.js\": 956,\n\t\"./ja\": 8008,\n\t\"./ja.js\": 8008,\n\t\"./jv\": 4797,\n\t\"./jv.js\": 4797,\n\t\"./ka\": 3537,\n\t\"./ka.js\": 3537,\n\t\"./kk\": 8391,\n\t\"./kk.js\": 8391,\n\t\"./km\": 5538,\n\t\"./km.js\": 5538,\n\t\"./kn\": 3420,\n\t\"./kn.js\": 3420,\n\t\"./ko\": 5059,\n\t\"./ko.js\": 5059,\n\t\"./ku\": 3661,\n\t\"./ku.js\": 3661,\n\t\"./ky\": 1513,\n\t\"./ky.js\": 1513,\n\t\"./lb\": 5671,\n\t\"./lb.js\": 5671,\n\t\"./lo\": 916,\n\t\"./lo.js\": 916,\n\t\"./lt\": 1541,\n\t\"./lt.js\": 1541,\n\t\"./lv\": 3523,\n\t\"./lv.js\": 3523,\n\t\"./me\": 7679,\n\t\"./me.js\": 7679,\n\t\"./mi\": 9795,\n\t\"./mi.js\": 9795,\n\t\"./mk\": 2933,\n\t\"./mk.js\": 2933,\n\t\"./ml\": 2432,\n\t\"./ml.js\": 2432,\n\t\"./mn\": 9754,\n\t\"./mn.js\": 9754,\n\t\"./mr\": 3518,\n\t\"./mr.js\": 3518,\n\t\"./ms\": 6733,\n\t\"./ms-my\": 5782,\n\t\"./ms-my.js\": 5782,\n\t\"./ms.js\": 6733,\n\t\"./mt\": 6520,\n\t\"./mt.js\": 6520,\n\t\"./my\": 3859,\n\t\"./my.js\": 3859,\n\t\"./nb\": 4261,\n\t\"./nb.js\": 4261,\n\t\"./ne\": 7936,\n\t\"./ne.js\": 7936,\n\t\"./nl\": 6479,\n\t\"./nl-be\": 4609,\n\t\"./nl-be.js\": 4609,\n\t\"./nl.js\": 6479,\n\t\"./nn\": 6881,\n\t\"./nn.js\": 6881,\n\t\"./oc-lnc\": 7409,\n\t\"./oc-lnc.js\": 7409,\n\t\"./pa-in\": 7044,\n\t\"./pa-in.js\": 7044,\n\t\"./pl\": 6633,\n\t\"./pl.js\": 6633,\n\t\"./pt\": 9425,\n\t\"./pt-br\": 6362,\n\t\"./pt-br.js\": 6362,\n\t\"./pt.js\": 9425,\n\t\"./ro\": 1390,\n\t\"./ro.js\": 1390,\n\t\"./ru\": 9852,\n\t\"./ru.js\": 9852,\n\t\"./sd\": 278,\n\t\"./sd.js\": 278,\n\t\"./se\": 2341,\n\t\"./se.js\": 2341,\n\t\"./si\": 5102,\n\t\"./si.js\": 5102,\n\t\"./sk\": 3903,\n\t\"./sk.js\": 3903,\n\t\"./sl\": 7054,\n\t\"./sl.js\": 7054,\n\t\"./sq\": 3033,\n\t\"./sq.js\": 3033,\n\t\"./sr\": 2672,\n\t\"./sr-cyrl\": 4415,\n\t\"./sr-cyrl.js\": 4415,\n\t\"./sr.js\": 2672,\n\t\"./ss\": 5895,\n\t\"./ss.js\": 5895,\n\t\"./sv\": 8396,\n\t\"./sv.js\": 8396,\n\t\"./sw\": 35,\n\t\"./sw.js\": 35,\n\t\"./ta\": 658,\n\t\"./ta.js\": 658,\n\t\"./te\": 4462,\n\t\"./te.js\": 4462,\n\t\"./tet\": 224,\n\t\"./tet.js\": 224,\n\t\"./tg\": 2068,\n\t\"./tg.js\": 2068,\n\t\"./th\": 4137,\n\t\"./th.js\": 4137,\n\t\"./tk\": 9600,\n\t\"./tk.js\": 9600,\n\t\"./tl-ph\": 5934,\n\t\"./tl-ph.js\": 5934,\n\t\"./tlh\": 1617,\n\t\"./tlh.js\": 1617,\n\t\"./tr\": 8303,\n\t\"./tr.js\": 8303,\n\t\"./tzl\": 4483,\n\t\"./tzl.js\": 4483,\n\t\"./tzm\": 6380,\n\t\"./tzm-latn\": 5908,\n\t\"./tzm-latn.js\": 5908,\n\t\"./tzm.js\": 6380,\n\t\"./ug-cn\": 7703,\n\t\"./ug-cn.js\": 7703,\n\t\"./uk\": 5991,\n\t\"./uk.js\": 5991,\n\t\"./ur\": 8806,\n\t\"./ur.js\": 8806,\n\t\"./uz\": 1790,\n\t\"./uz-latn\": 1574,\n\t\"./uz-latn.js\": 1574,\n\t\"./uz.js\": 1790,\n\t\"./vi\": 7916,\n\t\"./vi.js\": 7916,\n\t\"./x-pseudo\": 2864,\n\t\"./x-pseudo.js\": 2864,\n\t\"./yo\": 4989,\n\t\"./yo.js\": 4989,\n\t\"./zh-cn\": 177,\n\t\"./zh-cn.js\": 177,\n\t\"./zh-hk\": 5533,\n\t\"./zh-hk.js\": 5533,\n\t\"./zh-mo\": 3824,\n\t\"./zh-mo.js\": 3824,\n\t\"./zh-tw\": 5493,\n\t\"./zh-tw.js\": 5493\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5358;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkfrontend\"] = self[\"webpackChunkfrontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(8428); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_createBlock","_component_router_view","mounted","idToken","this","$cookies","get","providerId","$store","commit","root","__exports__","render","_createElementVNode","_createElementBlock","_createVNode","_component_MainNav","_hoisted_1","_component_DeviceDetails","src","_imports_0","alt","style","class","_component_CNavbar","expand","placement","_component_CContainer","fluid","_component_CNavbarBrand","href","_component_CNavbarNav","$options","_Fragment","key","_component_CDropdown","alignment","variant","popper","_component_CDropdownToggle","color","_component_CDropdownMenu","_component_CDropdownItem","disabled","_hoisted_2","_hoisted_3","_hoisted_4","_component_CDropdownDivider","onClick","_component_CModal","backdrop","centered","visible","$data","onClose","_component_CModalHeader","_component_CModalTitle","_component_CModalBody","_component_ProviderConfig","_component_CModalFooter","_component_CButton","id","_ctx","state","currentPlanInformation","planName","_hoisted_5","planId","_hoisted_6","_hoisted_7","planVersionName","_hoisted_8","_hoisted_9","planVersionId","_hoisted_10","_hoisted_11","_component_CFormSelect","onChange","$event","target","value","options","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","dispatch","shape","verboseLogging","_hoisted_17","_component_CForm","_component_CFormInput","type","label","placeholder","text","_hoisted_18","_hoisted_20","_hoisted_21","_component_CFormSwitch","size","_hoisted_22","computed","mcc","set","mnc","isOnNetMode","settings","newValue","carrierSelectRoutingInformation","numberPortabilityRoutingInformation","telcoCountries","telcosByCountry","telcosByCountries","telcoCountry","telcosWithCode","telco","methods","defaultOptions","ratingGroup","unitTypeMapping","updateMncMccValues","changeUnitType","newRatingGroupUnitType","currentState","newState","updatecarrierSelectRoutingInformation","updateNumberPortabilityRoutingInformation","name","components","ProviderConfig","data","configModalVisible","navItemClasses","windowMessageEvent","beforeRouteEnter","to","from","next","vm","console","log","window","addEventListener","event","signOut","dispatchedProviderConfig","beforeRouteLeave","removeEventListener","accountsLinkClasses","isAccountsPage","activeLinkClasses","inactiveLinkClasses","demoDeviceLinkClasses","isDeviceDemoPage","$router","currentRoute","isPlansPage","isProfilePage","plansLinkClasses","profileLinkClasses","signedIn","tenantName","myProviderConfig","nameOfUser","currentUser","userEmail","email","openConfigModal","closeConfigModal","handleConfigModalClose","push","sync","_component_CRow","_component_CCol","_component_CInputGroup","maxWidth","_component_CProgress","_component_CProgressBar","_component_CAlert","_component_font_awesome_icon","icon","_component_CCard","_component_CCardHeader","_component_CCardBody","_component_CCardText","_component_TotBadge","copyValue","sm","_component_CNav","_component_CNavItem","_component_CNavLink","cursor","_component_CListGroup","flush","offer","_component_CListGroupItem","offerId","_component_CTable","_component_CTableBody","_component_CTableRow","_component_CTableHeaderCell","_component_CTableDataCell","offerName","smsSentAt","expired","expiresAt","status","eligibilityCriteria","_component_CCardTitle","archivedPlanSubscription","index","planSubscriptionId","planVersion","plan","_hoisted_19","version","planSubscriptionIdText","_hoisted_24","_hoisted_25","fromText","_hoisted_27","toText","overrides","length","_hoisted_29","overridesExpanded","_hoisted_32","_hoisted_33","override","_hoisted_35","_component_CPagination","_component_CPaginationItem","title","_hoisted_36","active","_hoisted_37","activePlanSubscription","_hoisted_38","_hoisted_40","_hoisted_41","_hoisted_43","_hoisted_45","_hoisted_46","_hoisted_48","_hoisted_50","_hoisted_53","_hoisted_54","_component_CTableHead","balance","idx","balanceType","balanceId","substring","balanceTypeId","rateBased","Math","round","used","readable_used","available","readable_available","_hoisted_66","_hoisted_67","_component_CLabel","_hoisted_69","_component_Datepicker","is24","range","timezone","format","_hoisted_70","_component_VoiceEdrs","voiceEdrs","_component_TextEdrs","textEdrs","_component_DataEdrs","dataEdrs","_component_TopupEdrs","topupEdrs","_component_SubscriptionEdrs","subscriptionEdrs","_component_TotInputModal","error","showModal","helpText","processingAction","onModalClosed","onModalSubmitted","modalProcessingText","modalSubmitText","GRAPHQL_DEVICE_NOT_FOUND_ERROR_CODE","BALANCE_TYPE_MONETARY","Array","keys","map","i","EDRS_CALLED_BY_MAPPING_ZAIN","PLANAI_DATA_API_URL","buildReadableAllocationOrBalance","convertedEntity","entityType","Object","entityKey","entityValue","getEntityType","getEntityName","readableValue","getReadableEntityValue","uuid","getEntityUUID","async","buildReadableAllocationsOrBalances","convertedEntities","split","word","charAt","toUpperCase","slice","join","includes","entityKeySplitted","unitType","String","toFixed","toString","toLowerCase","getMonetaryBalance","Monetary","total","getAllServiceBalances","voiceKeys","filter","objectKey","startsWith","textKeys","dataKeys","convertedBalances","newBalance","getAllServiceAllowances","allowances","convertedAllowances","unit","balanceName","newAllowance","periodAllowance","e","graphQLUrl","cognitoIdpSignInUrl","proxyUrlProd","notificationsUrlProd","persistenceUrlProd","notificationsEventBusArn","notificationsUrl","proxyUrl","persistenceUrl","buildGraphQlPayload","graphql","variables","JSON","stringify","query","axiosInstance","axios","interceptors","response","use","router","plainAxiosInstance","axiosGraphQlRequest","graphQlUrl","graphQlPayload","graphQlPayloadVariables","graphQlHeaders","post","subscribeToPlan","updateBalanceMutation","_renderSlot","$props","_component_CTooltip","content","toggler","on","_mergeProps","_toHandlers","props","copyBtnTooltipText","copyBtnTooltip","copyToClipboard","navigator","clipboard","writeText","setTimeout","ref","_component_CFormText","_component_TotButton","loading","onButtonClick","initial","undefined","_component_CSpinner","default","Boolean","showLoader","emits","CButton","inputValue","handleModalClose","$emit","submitModal","watch","TotButton","dataEDR","isMonetary","edrs","edr","time","isRoaming","rgTotalVolume","base","tax","newBalanceValue","required","textEDR","fromParty","toParty","rgTextsUsed","voiceEDR","rgTotalTime","topUp","calledByOriginal","calledBy","adjustmentType","amount","balanceBefore","balanceAfter","subscriptionEdr","TotBadge","planVersionNameMap","device","SUBSCRIPTIONS_PAGINATION_LIMIT","rgTotalCalculation","charge","chargedAmount","chargedtotal","chargedtax","appliedrate","TotInputModal","Datepicker","DataEdrs","TextEdrs","VoiceEdrs","TopupEdrs","SubscriptionEdrs","deviceId","isDeviceLoading","isDeviceLoaded","deviceIdError","updatingBalance","entityInputModalTitle","entityInputModalShowModal","entityInputModalError","entityInputModalPlaceholder","entityInputModalHelpText","entityInputModalProcessing","entityInputModalProcessingText","entityInputModalSubmitText","entityInputModalType","balanceBeingUpdated","selectedPlanVersionList","selectedEdrsTab","date","moment","subtract","paginatedActivePlanSubscriptions","paginatedArchivedPlanSubscriptions","activePlanSubscriptionsPage","archivedPlanSubscriptionsPage","planAIOffersCount","planAIOffers","planAIOffer","buildEligibilityCriteria","criteria","offerType","minTopupAmount","bonusQuantity","bundlePrice","buildStatusText","offerAccepted","completionTime","tz","offerRejected","validUntil","isAfter","smsSentTime","configLoading","configLoaded","accountIdText","demoDevice","account","balances","diff","except","unlimitedText","readableAvailable","readable_total","isUnlimitedBalance","deviceIdText","deviceLoadingPercent","loadingPercent","deviceLoadingStatus","loadingStatus","deviceLoading","loadingDevice","edrsLoaded","edrsLoading","deviceLoaded","activePlanSubscriptionsCount","activePlanVersions","activePlanSubscriptionsPagesCount","ceil","activePlanSubscriptions","isToTimeFar","assign","archivedPlanSubscriptionsCount","archivedPlanVersions","archivedPlanSubscriptionsPagesCount","archivedPlanSubscriptions","archivedPlanVersion","currencySymbol","voiceEDRs","balanceTypesUsed","balanceTypeEDRs","billingEDRs","action","customData","charginginformation","multipleunitinformation","mui","voiceRatingGroupBucket","indexOf","ratinggroup","homeMcc","forEach","timeValue","createdAt","appTimezone","timeString","imsChargingInformation","imscharginginformation","edrMcc","locationreportingcharginginformation","pscellinformation","nrcgi","plmnid","callingpartyaddresses","pdusessioncharginginformation","userinformation","servedgpsi","calledpartyaddress","edrLevelBalanceTypes","edrLevelBalanceTypeData","totalTime","grantedunit","muiLevelBalanceTypes","muiLevelBalanceTypeData","charges","balanceused","rgTotal","muiLevelBalanceTypeId","edrLevelBalanceTypeId","newBalanceData","isArray","balancetypeid","isBefore","after","reduce","sum","availableBalanceValue","isNaN","Number","tableData","tableData2","voiceEdr","table","balanceTypes","find","floor","padStart","sort","a","b","textEDRs","textRatingGroupBucket","textsUsed","servicespecificunits","dataEDRs","dataRatingGroupBucket","totalVolume","totalvolume","volume","topUpHistory","accountEDRs","updateBalanceEDRs","updateBalanceEDR","balancebefore","balanceafter","adjustment","calledby","purchaseFeeHistory","purchaseFeeEDRs","purchaseFeeEDR","before","plansubscriptionid","planversionid","setActivePlansSubscriptionPage","page","setArchivedPlansSubscriptionPage","handleDateChange","loadEDRs","loadDevice","trim","fromTimestamp","toISOString","toTimestamp","err","errorCode","$nextTick","handleEntityInputModalSubmitted","submittedValue","updateBalance","handleEdrTabChange","tabName","handleEntityInputModalClose","toggleOverrideView","initiateUpdateBalance","input","accountId","balanceInfo","balanceValue","getters","graphQLHeaders","MainNav","DeviceDetails","_component_FrontPage","_component_SignIn","fluidGrow","lg","novalidate","validated","onSubmit","feedbackInvalid","password","errorMessage","formSubmitted","isFormSubmitted","signingIn","signIn","elements","element","checkValidity","AuthParameters","USERNAME","PASSWORD","AuthFlow","ClientId","then","__type","addWindowMessageEvent","clearWindowMessageEvent","checkUserSession","user","beforeUnmount","FrontPage","SignIn","getPlanVersionInformationQuery","getMyProviderConfig","getSettingsQuery","createAccountQuery","creditLimit","billingDayOfMonth","longFirstBillingCycle","deleteAccountQuery","createDeviceQuery","deleteDeviceQuery","getDeviceQuery","getPlansQuery","orderBy","direction","field","getAccountActivePlansQuery","getAccountQuery","creditAccountMutation","getEventDataRecordsByAccountQuery","types","getEventDataRecordsByDeviceQuery","timestampStart","timestampEnd","CancelPlanSubscriptionByPlanVersionMutation","CancelPlanSubscriptionByPlanSubscriptionMutation","getCurrentUserQuery","updateProviderConfigEventBusArn","eventBusArn","getFieldMappingsQuery","first","getRatingGroupHierarchyQuery","getBalanceTypesQuery","createAccount","updateAccount","createDevice","deleteDevice","getAccounts","getAccountsDevices","namespaced","accounts","accountsDevices","accountsDevicesCount","accountDevicesScannedCount","accountsDevicesNextToken","mutations","setAccounts","setAccountsDevices","setAccountsDevicesResult","accounts_devices","count","scannedCount","nextToken","actions","delete","context","rootState","headers","Authorization","create","accountName","result","rootGetters","subscribedPlans","churnScore","credit","accountPlansAndInfo","includeAllocations","getAccountAndActivePlans","getAccount","updateEmulatorPersistence","loadAccountsDevices","payload","limit","accountIds","accountDevice","substr","createdAtText","accountsResult","accountsMap","subscribedPlansText","churnScoreText","accountsToUpdate","syncAccounts","retrievedAccountsInfo","persistenceUpdateRequired","accountPlans","accountUpdatePayload","subscribeToCurrentPlanVersion","creditAccount","balaneTypeId","latestPlanSubscription","activePlans","_","reverse","invokeCancelPlanSubscription","cancellationMutation","cancelPlanSubscription","planSubscriptionIds","activePlan","retrieveAccountPlansAndInfo","allAvailablePlanInformation","planSubscription","subscriptionEndingAt","planExpired","daysLeftInPlan","subscriptionStartedAt","modifiedAt","planVersionAllocation","allocations","serviceAllowances","serviceNameMap","serviceAllowance","overrideName","overrideObject","overrideValue","parse","allocation","getStorageSizeInBytesByUnit","storageSize","balanceData","monetaryBalance","serviceBalances","currentVoiceBalanceSeconds","Voice","currentVoiceBalanceMinutes","voiceBalanceMinutes","voice","voiceAllocationNotFoundOnAccount","currentSmsBalance","Text","smsBalance","sms","smsAllocationNotFoundOnAccount","currentDataBalanceBytes","Data","currentDataBalanceMb","dataBalanceMb","dataAllocationNotFoundOnAccount","currentMonetaryBalance","baseUrl","isoUtcNow","now","topUpUrl","initUrl","updateUrl","sessionId","url","terminateUrl","topUpData","timestampNow","invocationSequenceNumber","tenantIdentifier","subscriberIdentifier","multipleUnitUsage","requestedUnit","serviceSpecificUnits","oneTimeEvent","oneTimeEventType","requestedAction","nfConsumerIdentification","nodeFunctionality","invocationTimeStamp","initData","callednumber","ratingGroupNumber","iMSChargingInformation","calledPartyAddress","locationReportingChargingInformation","pSCellInformation","nrCellId","nid","plmnId","getLogTimeSummary","logTimeRaw","clone","getLogTimeVerbose","getGrantedVolume","grantedUnit","getRatingGroupName","getUnitFancy","MINUTE","updateData","usedUnitContainer","localSequenceNumber","terminateData","chargeAccount","message","verboseLoggingOn","token","urlForInit","initRequestData","initRequestBody","requestData","initResult","logTimeSummary","logTimeVerbose","multipleUnitInformation","detail","cause","unitInfo","resultCode","grantedVolume","isFulfilled","location","urlForUpdate","updateRequestData","updateRequestBody","updateResult","urlForTerminate","terminateRequestData","terminateRequestBody","terminateResult","demoDeviceEdrEdges","devices","hasMoreBillingEDRs","billingEDRsEndCursor","hasMoreAccountEDRs","accountEDRsEndCursor","planAIOffersLoading","zainEDRFromTimestamp","zainStartDate","oneWeekBack","hour","minute","add","setBillingEDRs","setAccountEDRs","setLoadingDevice","setLoadingPercent","setLoadingStatus","setDeviceLoaded","setEdrsLoaded","setEdrsLoading","setDemoAccount","demoAccount","setPlanAIOffers","setPlanAIOffersLoading","setHasMoreBillingEDRs","setHasMoreAccountEDRs","setBillingEDRsEndCursor","setAccountEDRsEndCursor","setDemoAccountBalance","demoAccountBalance","setDemoAccountAllocations","demoAccountAllocations","setDemoAccountPlans","plans","demoAccountPlans","setDemoDevice","setDemoDeviceEdrEdges","setDemoDeviceRefreshInterval","demoDeviceRefreshInterval","setDevices","setPlanVersionNameMap","setN28NotificationRefreshInterval","n28NotificationRefreshInterval","getPlanAIOffers","device_offers","deletedDeviceId","deviceName","getDevice","getDemoDevice","settingsLoaded","archivedPlan","loadBillingEDRs","getEventDataRecordsByAccount","edges","edge","node","eventData","pageInfo","hasNextPage","endCursor","loadAccountEDRs","updatePlanVersionNameMap","getPlanVersion","resubscribePlan","refresh","Promise","resolve","provisionNewPlanDemoDevice","p","refreshDemoDeviceBalanceAndInfo","accountBalance","activePlanVersion","planService","planServices","serviceBalance","concat","mappedEdrEdges","getAndSummarizeEdrs","summarizedEdges","multipleUnitInformations","allCharges","resultcode","usedUnits","planServiceId","planVersionsUsed","plansused","info","getAllEdrs","yesterday","eventDataRecordsResponse","getEventDataRecordsByDevice","nextEdges","resetEdrs","update","notifications","items","timestamp","getPlanVersionInformation","planVersionInformationResponse","currentPlanVersionId","template","services","service","voiceAllocationSeconds","Error","voiceAllocationMinutes","voiceIsUnlimited","voiceIsNotOnPlan","smsAllocation","smsIsUnlimited","smsIsNotOnPlan","dataAllocationBytes","dataAllocationMb","dataIsUnlimited","dataIsNotOnPlan","setProviderConfigEventBusArn","providerConfigEventBusArn","setTenantName","providerConfigResponse","providerConfigData","__typename","homeNetworks","country","telcos","fieldMappings","getFieldMappings","ratingGroupHierarchyResponse","rootRatingGroup","getRatingGroupHierarchy","updatedDataSubGroups","subDataGroups","baseRatingGroup","children","voiceSubRatingGroup","textSubRatingGroup","dataSubRatingGroup","subDataGroup","dataRatingGroup","buildUnitTypeMapping","getBalanceTypesResponse","getBalanceTypes","setNotificationEventBus","availablePlansAndVersions","rawData","removeUnavailableVersions","removeCruft","planVersions","versions","removeUnavailablePlans","results","setPlanVersion","getPlanInformation","getPlans","morePlans","availablePlans","latestPlan","loadPlanVersion","getProviderId","decodedToken","groups","indexOfProvider","signInCompleted","startSignIn","AuthenticationResult","IdToken","jose","newMapping","requestBody","toggleVerbosity","setSettings","currencyCode","json_data","general","currency","getSymbolFromCurrency","setIsOnNetMode","setCarrierSelectRoutingInformation","setNumberPortabilityRoutingInformation","setTelcoCountry","setTelco","loadSettings","getSettings","json","updateIsOnNetMode","random","updateTelco","telcoWithCode","getCurrentUser","testingCredentials","axiosToUse","DEFAULT_UNIT_TYPE","voiceRatingGroup","textRatingGroup","netflixRatingGroup","instagramRatingGroup","podcastRatingGroup","whatsappRatingGroup","createStore","deviceLogs","zeroRatedData","accountDeviceError","currentNonMonetaryBalances","planVersionSmsAllocation","planVersionVoiceAllocationMinutes","planVersionDataAllocationMb","allPlanVersionAllocations","setBalanceTypes","addRatingGroupBucket","ratingGroupBucket","setRatingGroup","setRatingGroupBucket","toggleVerboseLogging","setProviderId","setIdToken","setDispatchedProviderConfig","dispatched","setConfigLoaded","updateUnitTypeMapping","updateMcc","updateMnc","putAccount","newAccountDetails","addLog","logLengthLimit","ids","o","filtered","shift","setAccountDeviceError","errorState","setPlanVersionSmsAllocation","setPlanVersionVoiceAllocationMinutes","setPlanVersionDataAllocationMb","setCurrentSmsBalance","setCurrentVoiceBalanceMinutes","setCurrentDataBalanceMb","setCurrentMonetaryBalance","setCurrentNonMonetaryBalances","setCurrentPlanInformation","setAllAvailablePlanInformation","setAllPlanVersionAllocations","setCurrentUser","modules","accountBalances","charge5g","credit5g","logging","planVersionAllocations","unitMapping","routes","path","component","SignInView","HomeView","createRouter","history","createWebHistory","process","beforeEach","isAuthenticated","store","library","faArrowLeft","faCircleExclamation","faCopy","faPlus","faTrashCan","faMobileScreen","faSignal","faPhone","faReceipt","faCaretDown","faCaretRight","faR","faMessage","faEnvelopesBulk","faFileInvoice","withUUID","createApp","App","coreui","VueCookies","FontAwesomeIcon","mount","webpackContext","req","webpackContextResolve","__webpack_require__","code","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","n","getter","__esModule","d","definition","defineProperty","enumerable","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}