@northern.tech/store 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/actions.js +5 -5
  2. package/dist/api/general-api.js +2 -2
  3. package/dist/api/users-api.js +2 -2
  4. package/dist/appSlice/constants.cjs +2 -1
  5. package/dist/appSlice/constants.cjs.map +1 -1
  6. package/dist/appSlice/constants.js +1 -1
  7. package/dist/appSlice/index.js +2 -2
  8. package/dist/appSlice/mocks.js +2 -2
  9. package/dist/appSlice/thunks.cjs +1 -0
  10. package/dist/appSlice/thunks.cjs.map +1 -1
  11. package/dist/appSlice/thunks.js +16 -16
  12. package/dist/auth.js +2 -2
  13. package/dist/{chunk-Z5TDXPYZ.js → chunk-7QKCBSFU.js} +2 -2
  14. package/dist/{chunk-H5YHKATI.js → chunk-GGBE6KJV.js} +2 -2
  15. package/dist/{chunk-2TYNHR66.js → chunk-GX2TWNLC.js} +2 -2
  16. package/dist/{chunk-QYIBYU3O.js → chunk-ITGVP27I.js} +7 -7
  17. package/dist/{chunk-FEMN36LQ.js → chunk-MUZHPRLI.js} +9 -9
  18. package/dist/{chunk-KT7G4TSF.js → chunk-N3TU2WH2.js} +8 -8
  19. package/dist/{chunk-N3XU7WJM.js → chunk-OWWCFJZ5.js} +3 -2
  20. package/dist/chunk-OWWCFJZ5.js.map +1 -0
  21. package/dist/{chunk-U5QRV6YB.js → chunk-VWNMAIL2.js} +27 -27
  22. package/dist/chunk-VWNMAIL2.js.map +1 -0
  23. package/dist/{chunk-S22YDI7V.js → chunk-ZOF45MII.js} +8 -8
  24. package/dist/{chunk-TR7KJWVG.js → chunk-ZRSVD5QY.js} +16 -16
  25. package/dist/commonConstants.js +2 -2
  26. package/dist/commonSelectors.cjs +1 -0
  27. package/dist/commonSelectors.cjs.map +1 -1
  28. package/dist/commonSelectors.js +9 -9
  29. package/dist/constants.cjs +2 -1
  30. package/dist/constants.cjs.map +1 -1
  31. package/dist/constants.js +5 -5
  32. package/dist/deploymentsSlice/constants.js +2 -2
  33. package/dist/deploymentsSlice/index.js +2 -2
  34. package/dist/deploymentsSlice/mocks.js +2 -2
  35. package/dist/deploymentsSlice/selectors.js +2 -2
  36. package/dist/deploymentsSlice/thunks.cjs +1 -0
  37. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  38. package/dist/deploymentsSlice/thunks.js +16 -16
  39. package/dist/devicesSlice/constants.js +2 -2
  40. package/dist/devicesSlice/index.js +2 -2
  41. package/dist/devicesSlice/mocks.js +2 -2
  42. package/dist/devicesSlice/selectors.js +2 -2
  43. package/dist/devicesSlice/thunks.cjs +1 -0
  44. package/dist/devicesSlice/thunks.cjs.map +1 -1
  45. package/dist/devicesSlice/thunks.js +16 -16
  46. package/dist/liststatehook.js +2 -2
  47. package/dist/locationutils.js +2 -2
  48. package/dist/monitorSlice/index.js +2 -2
  49. package/dist/monitorSlice/mocks.js +2 -2
  50. package/dist/monitorSlice/thunks.cjs +1 -0
  51. package/dist/monitorSlice/thunks.cjs.map +1 -1
  52. package/dist/monitorSlice/thunks.js +14 -14
  53. package/dist/onboardingSlice/thunks.cjs +1 -0
  54. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  55. package/dist/onboardingSlice/thunks.js +16 -16
  56. package/dist/organizationSlice/constants.js +2 -2
  57. package/dist/organizationSlice/index.js +2 -2
  58. package/dist/organizationSlice/mocks.js +2 -2
  59. package/dist/organizationSlice/selectors.js +2 -2
  60. package/dist/organizationSlice/thunks.cjs +2 -1
  61. package/dist/organizationSlice/thunks.cjs.map +1 -1
  62. package/dist/organizationSlice/thunks.js +16 -16
  63. package/dist/releasesSlice/index.js +2 -2
  64. package/dist/releasesSlice/mocks.js +2 -2
  65. package/dist/releasesSlice/selectors.js +4 -4
  66. package/dist/releasesSlice/thunks.cjs +1 -0
  67. package/dist/releasesSlice/thunks.cjs.map +1 -1
  68. package/dist/releasesSlice/thunks.js +14 -14
  69. package/dist/selectors.cjs +1 -0
  70. package/dist/selectors.cjs.map +1 -1
  71. package/dist/selectors.js +22 -22
  72. package/dist/sockethook.cjs.map +1 -1
  73. package/dist/sockethook.js +2 -2
  74. package/dist/sockethook.js.map +1 -1
  75. package/dist/store.js +6 -6
  76. package/dist/storehooks.cjs +2 -1
  77. package/dist/storehooks.cjs.map +1 -1
  78. package/dist/storehooks.js +16 -16
  79. package/dist/thunks.cjs +2 -1
  80. package/dist/thunks.cjs.map +1 -1
  81. package/dist/thunks.js +16 -16
  82. package/dist/useDeploymentDevice.cjs +1 -0
  83. package/dist/useDeploymentDevice.cjs.map +1 -1
  84. package/dist/useDeploymentDevice.js +18 -18
  85. package/dist/usersSlice/constants.js +2 -2
  86. package/dist/usersSlice/index.js +2 -2
  87. package/dist/usersSlice/mocks.js +2 -2
  88. package/dist/usersSlice/selectors.cjs +1 -0
  89. package/dist/usersSlice/selectors.cjs.map +1 -1
  90. package/dist/usersSlice/selectors.js +4 -4
  91. package/dist/usersSlice/thunks.cjs +1 -0
  92. package/dist/usersSlice/thunks.cjs.map +1 -1
  93. package/dist/usersSlice/thunks.js +16 -16
  94. package/dist/utils.cjs +1 -0
  95. package/dist/utils.cjs.map +1 -1
  96. package/dist/utils.js +3 -3
  97. package/package.json +7 -7
  98. package/dist/chunk-N3XU7WJM.js.map +0 -1
  99. package/dist/chunk-U5QRV6YB.js.map +0 -1
  100. /package/dist/{chunk-Z5TDXPYZ.js.map → chunk-7QKCBSFU.js.map} +0 -0
  101. /package/dist/{chunk-H5YHKATI.js.map → chunk-GGBE6KJV.js.map} +0 -0
  102. /package/dist/{chunk-2TYNHR66.js.map → chunk-GX2TWNLC.js.map} +0 -0
  103. /package/dist/{chunk-QYIBYU3O.js.map → chunk-ITGVP27I.js.map} +0 -0
  104. /package/dist/{chunk-FEMN36LQ.js.map → chunk-MUZHPRLI.js.map} +0 -0
  105. /package/dist/{chunk-KT7G4TSF.js.map → chunk-N3TU2WH2.js.map} +0 -0
  106. /package/dist/{chunk-S22YDI7V.js.map → chunk-ZOF45MII.js.map} +0 -0
  107. /package/dist/{chunk-TR7KJWVG.js.map → chunk-ZRSVD5QY.js.map} +0 -0
@@ -3,39 +3,39 @@ import {
3
3
  setFirstLoginAfterSignup,
4
4
  setOfflineThreshold,
5
5
  setSearchState
6
- } from "../chunk-U5QRV6YB.js";
7
- import "../chunk-FEMN36LQ.js";
8
- import "../chunk-KT7G4TSF.js";
6
+ } from "../chunk-VWNMAIL2.js";
7
+ import "../chunk-MUZHPRLI.js";
8
+ import "../chunk-N3TU2WH2.js";
9
+ import "../chunk-ZOF45MII.js";
9
10
  import "../chunk-Y3DJIMEN.js";
10
11
  import "../chunk-5M6EUVNO.js";
11
- import "../chunk-S22YDI7V.js";
12
- import "../chunk-QYIBYU3O.js";
12
+ import "../chunk-ITGVP27I.js";
13
13
  import "../chunk-TRKA7XYU.js";
14
14
  import "../chunk-CKF76YO4.js";
15
- import "../chunk-VANBSJS5.js";
16
15
  import "../chunk-QOFVCPRW.js";
17
- import "../chunk-C2LGE3P6.js";
18
16
  import "../chunk-HLX5L3IM.js";
17
+ import "../chunk-VANBSJS5.js";
19
18
  import "../chunk-KQ6AGXRK.js";
20
19
  import "../chunk-OFGCC3GM.js";
20
+ import "../chunk-C2LGE3P6.js";
21
21
  import "../chunk-FDSMCFV5.js";
22
22
  import "../chunk-53W2NRSL.js";
23
23
  import "../chunk-NMAXZ3ZY.js";
24
- import "../chunk-TR7KJWVG.js";
25
- import "../chunk-H5YHKATI.js";
26
- import "../chunk-Z5TDXPYZ.js";
27
- import "../chunk-WR6RQKF5.js";
28
- import "../chunk-JIS4PA3R.js";
24
+ import "../chunk-ZRSVD5QY.js";
25
+ import "../chunk-GGBE6KJV.js";
26
+ import "../chunk-7QKCBSFU.js";
29
27
  import "../chunk-3NOV7X4M.js";
30
- import "../chunk-UVYRVFZX.js";
31
28
  import "../chunk-YO22XLHI.js";
29
+ import "../chunk-JIS4PA3R.js";
30
+ import "../chunk-WR6RQKF5.js";
31
+ import "../chunk-UVYRVFZX.js";
32
32
  import "../chunk-BYUPW7RA.js";
33
- import "../chunk-2TYNHR66.js";
33
+ import "../chunk-GX2TWNLC.js";
34
34
  import "../chunk-WWED74SG.js";
35
- import "../chunk-FAJ3I2UQ.js";
36
35
  import "../chunk-2DYA3X77.js";
36
+ import "../chunk-FAJ3I2UQ.js";
37
37
  import "../chunk-ZKAH3APE.js";
38
- import "../chunk-N3XU7WJM.js";
38
+ import "../chunk-OWWCFJZ5.js";
39
39
  export {
40
40
  getLatestReleaseInfo,
41
41
  setFirstLoginAfterSignup,
package/dist/auth.js CHANGED
@@ -6,10 +6,10 @@ import {
6
6
  updateMaxAge
7
7
  } from "./chunk-FDSMCFV5.js";
8
8
  import "./chunk-WWED74SG.js";
9
- import "./chunk-FAJ3I2UQ.js";
10
9
  import "./chunk-2DYA3X77.js";
10
+ import "./chunk-FAJ3I2UQ.js";
11
11
  import "./chunk-ZKAH3APE.js";
12
- import "./chunk-N3XU7WJM.js";
12
+ import "./chunk-OWWCFJZ5.js";
13
13
  export {
14
14
  cleanUp,
15
15
  getSessionInfo,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isDarkMode
3
- } from "./chunk-2TYNHR66.js";
3
+ } from "./chunk-GX2TWNLC.js";
4
4
  import {
5
5
  DEVICE_ONLINE_CUTOFF,
6
6
  READ_STATES,
@@ -77,4 +77,4 @@ export {
77
77
  getCurrentSession,
78
78
  getRolesInitialized
79
79
  };
80
- //# sourceMappingURL=chunk-Z5TDXPYZ.js.map
80
+ //# sourceMappingURL=chunk-7QKCBSFU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listItemMapper
3
- } from "./chunk-2TYNHR66.js";
3
+ } from "./chunk-GX2TWNLC.js";
4
4
 
5
5
  // src/releasesSlice/selectors.ts
6
6
  import { createSelector } from "@reduxjs/toolkit";
@@ -41,4 +41,4 @@ export {
41
41
  getDeltaJobById,
42
42
  getSelectedJob
43
43
  };
44
- //# sourceMappingURL=chunk-H5YHKATI.js.map
44
+ //# sourceMappingURL=chunk-GGBE6KJV.js.map
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-2DYA3X77.js";
17
17
  import {
18
18
  DARK_MODE
19
- } from "./chunk-N3XU7WJM.js";
19
+ } from "./chunk-OWWCFJZ5.js";
20
20
 
21
21
  // src/utils.ts
22
22
  import { duplicateFilter, yes } from "@northern.tech/utils/helpers";
@@ -233,4 +233,4 @@ export {
233
233
  isDarkMode,
234
234
  parseSubscriptionPreview
235
235
  };
236
- //# sourceMappingURL=chunk-2TYNHR66.js.map
236
+ //# sourceMappingURL=chunk-GX2TWNLC.js.map
@@ -4,24 +4,24 @@ import {
4
4
  import {
5
5
  actions as actions8
6
6
  } from "./chunk-CKF76YO4.js";
7
- import {
8
- actions as actions5
9
- } from "./chunk-VANBSJS5.js";
10
7
  import {
11
8
  actions as actions6
12
9
  } from "./chunk-QOFVCPRW.js";
13
- import {
14
- actions as actions2
15
- } from "./chunk-C2LGE3P6.js";
16
10
  import {
17
11
  actions as actions4
18
12
  } from "./chunk-HLX5L3IM.js";
13
+ import {
14
+ actions as actions5
15
+ } from "./chunk-VANBSJS5.js";
19
16
  import {
20
17
  actions as actions3
21
18
  } from "./chunk-KQ6AGXRK.js";
22
19
  import {
23
20
  actions
24
21
  } from "./chunk-OFGCC3GM.js";
22
+ import {
23
+ actions as actions2
24
+ } from "./chunk-C2LGE3P6.js";
25
25
 
26
26
  // src/actions.ts
27
27
  var actions_default = {
@@ -38,4 +38,4 @@ var actions_default = {
38
38
  export {
39
39
  actions_default
40
40
  };
41
- //# sourceMappingURL=chunk-QYIBYU3O.js.map
41
+ //# sourceMappingURL=chunk-ITGVP27I.js.map
@@ -1,14 +1,14 @@
1
- import {
2
- general_api_default
3
- } from "./chunk-5M6EUVNO.js";
4
1
  import {
5
2
  commonErrorFallback,
6
3
  commonErrorHandler,
7
4
  createAppAsyncThunk
8
- } from "./chunk-S22YDI7V.js";
5
+ } from "./chunk-ZOF45MII.js";
6
+ import {
7
+ general_api_default
8
+ } from "./chunk-5M6EUVNO.js";
9
9
  import {
10
10
  actions_default
11
- } from "./chunk-QYIBYU3O.js";
11
+ } from "./chunk-ITGVP27I.js";
12
12
  import {
13
13
  actions,
14
14
  sliceName
@@ -18,14 +18,14 @@ import {
18
18
  } from "./chunk-53W2NRSL.js";
19
19
  import {
20
20
  getSearchEndpoint
21
- } from "./chunk-TR7KJWVG.js";
21
+ } from "./chunk-ZRSVD5QY.js";
22
22
  import {
23
23
  getReleasesById
24
- } from "./chunk-H5YHKATI.js";
24
+ } from "./chunk-GGBE6KJV.js";
25
25
  import {
26
26
  convertDeviceListStateToFilters,
27
27
  progress
28
- } from "./chunk-2TYNHR66.js";
28
+ } from "./chunk-GX2TWNLC.js";
29
29
  import {
30
30
  DEVICE_LIST_DEFAULTS,
31
31
  SORTING_OPTIONS,
@@ -442,4 +442,4 @@ export {
442
442
  getDeltaGenerationJobs,
443
443
  getDeltaGenerationJobDetails
444
444
  };
445
- //# sourceMappingURL=chunk-FEMN36LQ.js.map
445
+ //# sourceMappingURL=chunk-MUZHPRLI.js.map
@@ -1,27 +1,27 @@
1
- import {
2
- general_api_default
3
- } from "./chunk-5M6EUVNO.js";
4
1
  import {
5
2
  commonErrorFallback,
6
3
  commonErrorHandler,
7
4
  createAppAsyncThunk
8
- } from "./chunk-S22YDI7V.js";
5
+ } from "./chunk-ZOF45MII.js";
6
+ import {
7
+ general_api_default
8
+ } from "./chunk-5M6EUVNO.js";
9
9
  import {
10
10
  actions_default
11
- } from "./chunk-QYIBYU3O.js";
11
+ } from "./chunk-ITGVP27I.js";
12
12
  import {
13
13
  actions,
14
14
  sliceName
15
15
  } from "./chunk-HLX5L3IM.js";
16
16
  import {
17
17
  getSearchEndpoint
18
- } from "./chunk-TR7KJWVG.js";
18
+ } from "./chunk-ZRSVD5QY.js";
19
19
  import {
20
20
  getDeviceFilters
21
21
  } from "./chunk-UVYRVFZX.js";
22
22
  import {
23
23
  convertDeviceListStateToFilters
24
- } from "./chunk-2TYNHR66.js";
24
+ } from "./chunk-GX2TWNLC.js";
25
25
  import {
26
26
  DEVICE_LIST_DEFAULTS,
27
27
  TIMEOUTS,
@@ -107,4 +107,4 @@ export {
107
107
  getDeviceMonitorConfig,
108
108
  changeNotificationSetting
109
109
  };
110
- //# sourceMappingURL=chunk-KT7G4TSF.js.map
110
+ //# sourceMappingURL=chunk-N3TU2WH2.js.map
@@ -1,5 +1,6 @@
1
1
  // src/appSlice/constants.ts
2
2
  import { BarChart as BarChartIcon, PieChartOutline as PieChartIcon } from "@mui/icons-material";
3
+ import { yes as yesUtil } from "@northern.tech/utils";
3
4
  var startingDeviceCount = {
4
5
  os: "for first 50 devices",
5
6
  professional: "for first 250 devices"
@@ -129,7 +130,7 @@ var BENEFITS = {
129
130
  },
130
131
  default: { id: "default", benefit: "gain access to this feature", requiredPlan: PLANS.enterprise.id }
131
132
  };
132
- var yes = () => true;
133
+ var yes = yesUtil;
133
134
  var canAccess = yes;
134
135
  var DARK_MODE = "dark";
135
136
  var LIGHT_MODE = "light";
@@ -149,4 +150,4 @@ export {
149
150
  DARK_MODE,
150
151
  LIGHT_MODE
151
152
  };
152
- //# sourceMappingURL=chunk-N3XU7WJM.js.map
153
+ //# sourceMappingURL=chunk-OWWCFJZ5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/appSlice/constants.ts"],"sourcesContent":["// Copyright 2019 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport { BarChart as BarChartIcon, PieChartOutline as PieChartIcon } from '@mui/icons-material';\n\nimport { yes as yesUtil } from '@northern.tech/utils';\n\nconst startingDeviceCount = {\n os: 'for first 50 devices',\n professional: 'for first 250 devices'\n} as const;\n\nexport const chartTypes = {\n bar: { key: 'bar', Icon: BarChartIcon },\n pie: { key: 'pie', Icon: PieChartIcon }\n} as const;\nexport const emptyChartSelection = { software: '', group: '', chartType: chartTypes.bar.key, attribute: 'artifact_name' };\nexport const defaultReportType = 'distribution';\nexport const defaultReports = [{ ...emptyChartSelection, group: null, attribute: 'artifact_name', type: defaultReportType }];\n\nexport const BEGINNING_OF_TIME = '2016-01-01T00:00:00.000Z';\n\nexport const locations = {\n cn: { key: 'cn', title: 'China', location: 'hosted.mender.cn' },\n eu: { key: 'eu', title: 'EU', location: 'eu.hosted.mender.io' },\n us: { key: 'us', title: 'US', location: 'hosted.mender.io' }\n} as const;\nexport type AvailablePlans = 'os' | 'professional' | 'enterprise';\n\nexport type Plan = {\n description: string;\n deviceCount: string;\n features: string[];\n id: AvailablePlans;\n minimalDeviceCount: number;\n name: string;\n offer?: boolean;\n offerprice?: string;\n price: string;\n price2?: string;\n};\n\nexport type AvailableAddon = 'configure' | 'troubleshoot' | 'monitor';\n\nexport const PLANS: { [key in AvailablePlans]: Plan } = {\n os: {\n id: 'os',\n name: 'Basic',\n minimalDeviceCount: 50,\n offer: true,\n price: '$34 / month',\n deviceCount: startingDeviceCount.os,\n description:\n 'The core features of Mender. To continue using Enterprise Trial features—like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more—please upgrade to a higher plan.',\n features: ['Access to core features of Mender', 'Basic support']\n },\n professional: {\n id: 'professional',\n name: 'Professional',\n minimalDeviceCount: 250,\n offer: true,\n price: '$291 / month',\n deviceCount: startingDeviceCount.professional,\n description: 'Everything in Basic, plus enhanced update management and automation features.',\n features: ['Advanced OTA features', 'Higher priority support']\n },\n enterprise: {\n id: 'enterprise',\n name: 'Enterprise',\n minimalDeviceCount: 1000,\n price: 'Custom pricing',\n deviceCount: 'Unlimited devices',\n description:\n 'Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription — ask us for a quote.',\n features: ['All Mender features', 'Advanced security features', 'SLA-backed support']\n }\n} as const;\nexport type Addon = {\n description: string;\n eligible: AvailablePlans[];\n id: string;\n needs: string[];\n title: string;\n} & {\n [key in Exclude<AvailablePlans, 'enterprise'>]: {\n deviceCount: string;\n price: string;\n };\n};\n\nexport type AddonId = keyof typeof ADDONS;\n\n// the needs names need to be aligned with the name of the features in the appReducer, as they will be checked in the addonselection\nexport const ADDONS: { [key in AvailableAddon]: Addon } = {\n configure: {\n id: 'configure',\n title: 'Configure',\n description: 'Expand your plan with device configuration features',\n needs: ['hasDeviceConfig'],\n os: {\n price: '$11/month',\n deviceCount: startingDeviceCount.os\n },\n professional: {\n price: '$65/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['os', 'professional', 'enterprise']\n },\n monitor: {\n id: 'monitor',\n title: 'Monitor',\n description: 'Expand your plan with device monitoring features',\n needs: ['hasMonitor'],\n os: {\n price: '-',\n deviceCount: '-'\n },\n professional: {\n price: '$86/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['professional', 'enterprise']\n },\n troubleshoot: {\n id: 'troubleshoot',\n title: 'Troubleshoot',\n description: 'Expand your plan with device troubleshooting features',\n needs: ['hasDeviceConnect'],\n os: {\n price: '$27/month',\n deviceCount: startingDeviceCount.os\n },\n professional: {\n price: '$72/month',\n deviceCount: startingDeviceCount.professional\n },\n eligible: ['os', 'professional', 'enterprise']\n }\n};\n\nexport const BENEFITS = {\n auditlog: { id: 'auditlog', benefit: 'trace change across your devices and access troubleshooting session replay', requiredPlan: PLANS.professional.id },\n dashboard: { id: 'dashboard', benefit: 'actionable insights into the devices you are updating with Mender', requiredPlan: PLANS.enterprise.id },\n deltaGeneration: {\n id: 'deltaGeneration',\n benefit: 'automatic delta artifacts generation to minimize data transfer and improve the update delivery',\n requiredPlan: PLANS.enterprise.id\n },\n deviceConfiguration: { id: 'deviceConfiguration', benefit: 'device configuration features', requiredAddon: ADDONS.configure.id },\n deviceMonitor: { id: 'deviceMonitor', benefit: 'device monitoring features', requiredAddon: ADDONS.monitor.id, requiredPlan: PLANS.professional.id },\n deviceTroubleshoot: { id: 'deviceTroubleshoot', benefit: 'device troubleshooting features', requiredAddon: ADDONS.troubleshoot.id },\n dynamicGroups: { id: 'dynamicGroups', benefit: 'create dynamic groups to ease device management', requiredPlan: PLANS.enterprise.id },\n fullFiltering: { id: 'fullFiltering', benefit: 'filtering by multiple attributes to improve the device overview', requiredPlan: PLANS.professional.id },\n gateway: { id: 'gateway', benefit: 'see devices connected to your gateway device for easy access', requiredPlans: PLANS.professional.id },\n pausedDeployments: {\n id: 'pausedDeployments',\n benefit: 'granular control about update rollout to allow synchronization across your fleet',\n requiredPlan: PLANS.enterprise.id\n },\n phasedDeployments: { id: 'phasedDeployments', benefit: 'choose to roll out deployments in multiple phases', requiredPlan: PLANS.enterprise.id },\n rbac: { id: 'rbac', benefit: 'granular role based access control', requiredPlan: PLANS.enterprise.id },\n retryDeployments: { id: 'retryDeployments', benefit: 'optional retries for failed rollout attempts', requiredPlan: PLANS.professional.id },\n scheduledDeployments: {\n id: 'scheduledDeployments',\n benefit: 'scheduled deployments to steer the distribution of your updates.',\n requiredPlan: PLANS.professional.id\n },\n webhookEvents: {\n id: 'webhookEvents',\n benefit: 'receive inventory events and select which type(s) of events the webhook will receive',\n requiredPlan: PLANS.professional.id\n },\n\n default: { id: 'default', benefit: 'gain access to this feature', requiredPlan: PLANS.enterprise.id }\n} as const;\n\nexport const yes = yesUtil;\nexport const canAccess = yes;\n\nexport const DARK_MODE = 'dark';\nexport const LIGHT_MODE = 'light';\n"],"mappings":";AAaA,SAAS,YAAY,cAAc,mBAAmB,oBAAoB;AAE1E,SAAS,OAAO,eAAe;AAE/B,IAAM,sBAAsB;AAAA,EAC1B,IAAI;AAAA,EACJ,cAAc;AAChB;AAEO,IAAM,aAAa;AAAA,EACxB,KAAK,EAAE,KAAK,OAAO,MAAM,aAAa;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AAAA,EACnJ,oBAAoB,EAAE,IAAI,sBAAsB,SAAS,mCAAmC,eAAe,OAAO,aAAa,GAAG;AAAA,EAClI,eAAe,EAAE,IAAI,iBAAiB,SAAS,mDAAmD,cAAc,MAAM,WAAW,GAAG;AAAA,EACpI,eAAe,EAAE,IAAI,iBAAiB,SAAS,mEAAmE,cAAc,MAAM,aAAa,GAAG;AAAA,EACtJ,SAAS,EAAE,IAAI,WAAW,SAAS,gEAAgE,eAAe,MAAM,aAAa,GAAG;AAAA,EACxI,mBAAmB;AAAA,IACjB,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,WAAW;AAAA,EACjC;AAAA,EACA,mBAAmB,EAAE,IAAI,qBAAqB,SAAS,qDAAqD,cAAc,MAAM,WAAW,GAAG;AAAA,EAC9I,MAAM,EAAE,IAAI,QAAQ,SAAS,sCAAsC,cAAc,MAAM,WAAW,GAAG;AAAA,EACrG,kBAAkB,EAAE,IAAI,oBAAoB,SAAS,gDAAgD,cAAc,MAAM,aAAa,GAAG;AAAA,EACzI,sBAAsB;AAAA,IACpB,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,aAAa;AAAA,EACnC;AAAA,EACA,eAAe;AAAA,IACb,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,cAAc,MAAM,aAAa;AAAA,EACnC;AAAA,EAEA,SAAS,EAAE,IAAI,WAAW,SAAS,+BAA+B,cAAc,MAAM,WAAW,GAAG;AACtG;AAEO,IAAM,MAAM;AACZ,IAAM,YAAY;AAElB,IAAM,YAAY;AAClB,IAAM,aAAa;","names":[]}
@@ -1,37 +1,33 @@
1
1
  import {
2
2
  getDeviceMonitorConfig,
3
3
  getLatestDeviceAlerts
4
- } from "./chunk-KT7G4TSF.js";
4
+ } from "./chunk-N3TU2WH2.js";
5
+ import {
6
+ commonErrorFallback,
7
+ commonErrorHandler,
8
+ createAppAsyncThunk
9
+ } from "./chunk-ZOF45MII.js";
5
10
  import {
6
11
  users_api_default
7
12
  } from "./chunk-Y3DJIMEN.js";
8
13
  import {
9
14
  general_api_default
10
15
  } from "./chunk-5M6EUVNO.js";
11
- import {
12
- commonErrorFallback,
13
- commonErrorHandler,
14
- createAppAsyncThunk
15
- } from "./chunk-S22YDI7V.js";
16
16
  import {
17
17
  actions_default
18
- } from "./chunk-QYIBYU3O.js";
18
+ } from "./chunk-ITGVP27I.js";
19
19
  import {
20
20
  actions as actions6,
21
21
  sliceName as sliceName6
22
22
  } from "./chunk-CKF76YO4.js";
23
- import {
24
- actions as actions4,
25
- sliceName as sliceName4
26
- } from "./chunk-VANBSJS5.js";
27
23
  import {
28
24
  actions as actions5,
29
25
  sliceName as sliceName5
30
26
  } from "./chunk-QOFVCPRW.js";
31
27
  import {
32
- actions as actions2,
33
- sliceName as sliceName2
34
- } from "./chunk-C2LGE3P6.js";
28
+ actions as actions4,
29
+ sliceName as sliceName4
30
+ } from "./chunk-VANBSJS5.js";
35
31
  import {
36
32
  actions as actions3,
37
33
  sliceName as sliceName3
@@ -40,6 +36,10 @@ import {
40
36
  actions,
41
37
  sliceName
42
38
  } from "./chunk-OFGCC3GM.js";
39
+ import {
40
+ actions as actions2,
41
+ sliceName as sliceName2
42
+ } from "./chunk-C2LGE3P6.js";
43
43
  import {
44
44
  cleanUp,
45
45
  getSessionInfo,
@@ -52,7 +52,7 @@ import {
52
52
  getSearchEndpoint,
53
53
  getTenantCapabilities,
54
54
  getUserCapabilities
55
- } from "./chunk-TR7KJWVG.js";
55
+ } from "./chunk-ZRSVD5QY.js";
56
56
  import {
57
57
  getCurrentSession,
58
58
  getCurrentUser,
@@ -64,17 +64,17 @@ import {
64
64
  getTooltipsState,
65
65
  getUserSettings,
66
66
  getUsersById
67
- } from "./chunk-Z5TDXPYZ.js";
68
- import {
69
- getDeploymentsById,
70
- getDeploymentsByStatus
71
- } from "./chunk-WR6RQKF5.js";
67
+ } from "./chunk-7QKCBSFU.js";
72
68
  import {
73
69
  getAuditlogState,
74
70
  getDeviceTwinIntegrations,
75
71
  getOrganization,
76
72
  getTenantsList
77
73
  } from "./chunk-3NOV7X4M.js";
74
+ import {
75
+ getDeploymentsById,
76
+ getDeploymentsByStatus
77
+ } from "./chunk-WR6RQKF5.js";
78
78
  import {
79
79
  getAcceptedDevices,
80
80
  getDeviceById,
@@ -100,7 +100,7 @@ import {
100
100
  mergePermissions,
101
101
  parseSubscriptionPreview,
102
102
  progress
103
- } from "./chunk-2TYNHR66.js";
103
+ } from "./chunk-GX2TWNLC.js";
104
104
  import {
105
105
  ALL_DEVICE_STATES,
106
106
  ALL_RELEASES,
@@ -153,16 +153,16 @@ import {
153
153
  useradmApiUrl,
154
154
  useradmApiUrlv2
155
155
  } from "./chunk-WWED74SG.js";
156
+ import {
157
+ rootfsImageVersion
158
+ } from "./chunk-2DYA3X77.js";
156
159
  import {
157
160
  onboardingSteps,
158
161
  orderedOnboardingSteps
159
162
  } from "./chunk-FAJ3I2UQ.js";
160
- import {
161
- rootfsImageVersion
162
- } from "./chunk-2DYA3X77.js";
163
163
  import {
164
164
  locations
165
- } from "./chunk-N3XU7WJM.js";
165
+ } from "./chunk-OWWCFJZ5.js";
166
166
 
167
167
  // src/appSlice/thunks.ts
168
168
  import { deepCompare as deepCompare4, extractErrorMessage as extractErrorMessage3 } from "@northern.tech/utils/helpers";
@@ -1846,7 +1846,7 @@ var storeSsoConfig = createAppAsyncThunk(
1846
1846
  );
1847
1847
  var changeSsoConfig = createAppAsyncThunk(
1848
1848
  `${sliceName5}/changeSsoConfig`,
1849
- ({ config, contentType }, { dispatch }) => general_api_default.put(`${ssoIdpApiUrlv1}/${config.id}`, config, { headers: { "Content-Type": contentType, Accept: "application/json" } }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "edit"))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("edit")), dispatch(getSsoConfigs())]))
1849
+ ({ config, contentType }, { dispatch }) => general_api_default.put(`${ssoIdpApiUrlv1}/${config.id}`, config.config, { headers: { "Content-Type": contentType, Accept: "application/json" } }).catch((err) => dispatch(ssoConfigActionErrorHandler(err, "edit"))).then(() => Promise.all([dispatch(ssoConfigActionSuccessHandler("edit")), dispatch(getSsoConfigs())]))
1850
1850
  );
1851
1851
  var deleteSsoConfig = createAppAsyncThunk(
1852
1852
  `${sliceName5}/deleteSsoConfig`,
@@ -2767,4 +2767,4 @@ export {
2767
2767
  setAllTooltipsReadState,
2768
2768
  submitUserFeedback
2769
2769
  };
2770
- //# sourceMappingURL=chunk-U5QRV6YB.js.map
2770
+ //# sourceMappingURL=chunk-VWNMAIL2.js.map