@northern.tech/store 0.19.2 → 0.21.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.
- package/dist/actions.cjs +3 -0
- package/dist/actions.cjs.map +1 -1
- package/dist/actions.d.cts +2 -1
- package/dist/actions.d.ts +2 -1
- package/dist/actions.js +3 -3
- package/dist/api/general-api.js +1 -1
- package/dist/api/users-api.js +1 -1
- package/dist/appSlice/constants.cjs +3 -45
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +0 -15
- package/dist/appSlice/constants.d.ts +0 -15
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.js +1 -1
- package/dist/appSlice/thunks.cjs +14 -56
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +13 -13
- package/dist/auth.js +1 -1
- package/dist/{chunk-KJ2SUFAU.js → chunk-4UV7ZJXY.js} +77 -12
- package/dist/chunk-4UV7ZJXY.js.map +1 -0
- package/dist/{chunk-43ZBO3JW.js → chunk-4ZYLGBJU.js} +2 -2
- package/dist/{chunk-45BHMNX6.js → chunk-6PYYMAFS.js} +6 -6
- package/dist/{chunk-ZAZTNDSY.js → chunk-7KSKENLP.js} +3 -3
- package/dist/{chunk-AV7SRATY.js → chunk-7VFPMJCH.js} +6 -6
- package/dist/{chunk-B3C6H2PR.js → chunk-7WIISD2N.js} +17 -14
- package/dist/{chunk-B3C6H2PR.js.map → chunk-7WIISD2N.js.map} +1 -1
- package/dist/{chunk-AJ6DIDO4.js → chunk-DBBE6D36.js} +4 -46
- package/dist/chunk-DBBE6D36.js.map +1 -0
- package/dist/{chunk-RJRZXDVT.js → chunk-GHATCG2U.js} +2 -2
- package/dist/{chunk-42GZ6FGV.js → chunk-PL6RIFD5.js} +2 -2
- package/dist/{chunk-VCEFZTWS.js → chunk-TIL2S3JA.js} +4 -1
- package/dist/chunk-TIL2S3JA.js.map +1 -0
- package/dist/{chunk-O7DR57RN.js → chunk-ZGRY42BZ.js} +9 -12
- package/dist/{chunk-O7DR57RN.js.map → chunk-ZGRY42BZ.js.map} +1 -1
- package/dist/{chunk-XOASGJZU.js → chunk-ZVE23XXF.js} +7 -7
- package/dist/{chunk-3NOV7X4M.js → chunk-ZZQJWNQT.js} +3 -1
- package/dist/chunk-ZZQJWNQT.js.map +1 -0
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.cjs +11 -56
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.js +7 -7
- package/dist/constants.cjs +3 -45
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.js +1 -1
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.cjs +14 -56
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +13 -13
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +8 -11
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.js +2 -2
- package/dist/devicesSlice/thunks.cjs +14 -56
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.js +13 -13
- package/dist/liststatehook.js +1 -1
- package/dist/locationutils.js +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/thunks.cjs +14 -56
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +11 -11
- package/dist/onboardingSlice/thunks.cjs +14 -56
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +13 -13
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.cjs +3 -0
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.d.cts +4 -1
- package/dist/organizationSlice/index.d.ts +4 -1
- package/dist/organizationSlice/index.js +2 -2
- package/dist/organizationSlice/mocks.cjs +175 -0
- package/dist/organizationSlice/mocks.cjs.map +1 -1
- package/dist/organizationSlice/mocks.d.cts +121 -2
- package/dist/organizationSlice/mocks.d.ts +121 -2
- package/dist/organizationSlice/mocks.js +87 -2
- package/dist/organizationSlice/mocks.js.map +1 -1
- package/dist/organizationSlice/selectors.cjs +3 -0
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +3 -2
- package/dist/organizationSlice/selectors.d.ts +3 -2
- package/dist/organizationSlice/selectors.js +4 -2
- package/dist/organizationSlice/thunks.cjs +97 -71
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +17 -3
- package/dist/organizationSlice/thunks.d.ts +17 -3
- package/dist/organizationSlice/thunks.js +19 -15
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +30 -7
- package/dist/organizationSlice/types.d.ts +30 -7
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.js +3 -3
- package/dist/releasesSlice/thunks.cjs +14 -56
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.js +11 -11
- package/dist/selectors.cjs +14 -56
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +1 -1
- package/dist/selectors.d.ts +1 -1
- package/dist/selectors.js +9 -7
- package/dist/sockethook.js +1 -1
- package/dist/store.cjs +3 -0
- package/dist/store.cjs.map +1 -1
- package/dist/store.js +4 -4
- package/dist/storehooks.cjs +91 -69
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +13 -13
- package/dist/thunks.cjs +95 -69
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +1 -1
- package/dist/thunks.d.ts +1 -1
- package/dist/thunks.js +17 -13
- package/dist/useDeploymentDevice.cjs +14 -56
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +13 -13
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.cjs +3 -45
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.js +3 -3
- package/dist/usersSlice/thunks.cjs +14 -56
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +13 -13
- package/dist/utils.cjs +18 -57
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +1 -3
- package/dist/utils.d.ts +1 -3
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3NOV7X4M.js.map +0 -1
- package/dist/chunk-AJ6DIDO4.js.map +0 -1
- package/dist/chunk-KJ2SUFAU.js.map +0 -1
- package/dist/chunk-VCEFZTWS.js.map +0 -1
- /package/dist/{chunk-43ZBO3JW.js.map → chunk-4ZYLGBJU.js.map} +0 -0
- /package/dist/{chunk-45BHMNX6.js.map → chunk-6PYYMAFS.js.map} +0 -0
- /package/dist/{chunk-ZAZTNDSY.js.map → chunk-7KSKENLP.js.map} +0 -0
- /package/dist/{chunk-AV7SRATY.js.map → chunk-7VFPMJCH.js.map} +0 -0
- /package/dist/{chunk-RJRZXDVT.js.map → chunk-GHATCG2U.js.map} +0 -0
- /package/dist/{chunk-42GZ6FGV.js.map → chunk-PL6RIFD5.js.map} +0 -0
- /package/dist/{chunk-XOASGJZU.js.map → chunk-ZVE23XXF.js.map} +0 -0
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
setSingleReleaseTags,
|
|
21
21
|
updateReleaseInfo,
|
|
22
22
|
uploadArtifact
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-7VFPMJCH.js";
|
|
24
|
+
import "../chunk-7KSKENLP.js";
|
|
25
25
|
import "../chunk-IRQRV552.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-GHATCG2U.js";
|
|
27
27
|
import "../chunk-TRKA7XYU.js";
|
|
28
28
|
import "../chunk-YR65C62H.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-TIL2S3JA.js";
|
|
30
30
|
import "../chunk-PVCHKW35.js";
|
|
31
31
|
import "../chunk-CQXDAXQF.js";
|
|
32
32
|
import "../chunk-VODRLEDP.js";
|
|
@@ -35,21 +35,21 @@ import "../chunk-OLKM53RL.js";
|
|
|
35
35
|
import "../chunk-UVTLZV34.js";
|
|
36
36
|
import "../chunk-53W2NRSL.js";
|
|
37
37
|
import "../chunk-NMAXZ3ZY.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-ZVE23XXF.js";
|
|
39
|
+
import "../chunk-PL6RIFD5.js";
|
|
40
|
+
import "../chunk-4ZYLGBJU.js";
|
|
41
|
+
import "../chunk-ZZQJWNQT.js";
|
|
42
42
|
import "../chunk-YO22XLHI.js";
|
|
43
43
|
import "../chunk-JIS4PA3R.js";
|
|
44
44
|
import "../chunk-WR6RQKF5.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-ZGRY42BZ.js";
|
|
46
46
|
import "../chunk-4BHM6WVX.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-7WIISD2N.js";
|
|
48
48
|
import "../chunk-WWED74SG.js";
|
|
49
49
|
import "../chunk-2DYA3X77.js";
|
|
50
50
|
import "../chunk-FAJ3I2UQ.js";
|
|
51
51
|
import "../chunk-ZKAH3APE.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-DBBE6D36.js";
|
|
53
53
|
export {
|
|
54
54
|
cancelFileUpload,
|
|
55
55
|
createArtifact,
|
package/dist/selectors.cjs
CHANGED
|
@@ -104,6 +104,7 @@ __export(selectors_exports, {
|
|
|
104
104
|
getOnboarding: () => getOnboarding,
|
|
105
105
|
getOnboardingState: () => getOnboardingState,
|
|
106
106
|
getOrganization: () => getOrganization,
|
|
107
|
+
getProducts: () => getProducts,
|
|
107
108
|
getReadAllHelptips: () => getReadAllHelptips,
|
|
108
109
|
getRecaptchaKey: () => getRecaptchaKey,
|
|
109
110
|
getRecentDeployments: () => getRecentDeployments,
|
|
@@ -191,10 +192,6 @@ var import_dayjs = __toESM(require("dayjs"), 1);
|
|
|
191
192
|
// src/appSlice/constants.ts
|
|
192
193
|
var import_icons_material = require("@mui/icons-material");
|
|
193
194
|
var import_utils = require("@northern.tech/utils");
|
|
194
|
-
var startingDeviceCount = {
|
|
195
|
-
os: "for first 50 devices",
|
|
196
|
-
professional: "for first 250 devices"
|
|
197
|
-
};
|
|
198
195
|
var chartTypes = {
|
|
199
196
|
bar: { key: "bar", Icon: import_icons_material.BarChart },
|
|
200
197
|
pie: { key: "pie", Icon: import_icons_material.PieChartOutline }
|
|
@@ -206,31 +203,17 @@ var PLANS = {
|
|
|
206
203
|
os: {
|
|
207
204
|
id: "os",
|
|
208
205
|
name: "Basic",
|
|
209
|
-
|
|
210
|
-
offer: true,
|
|
211
|
-
price: "$34 / month",
|
|
212
|
-
deviceCount: startingDeviceCount.os,
|
|
213
|
-
description: "The core features of Mender. To continue using Enterprise Trial features\u2014like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more\u2014please upgrade to a higher plan.",
|
|
214
|
-
features: ["Access to core features of Mender", "Basic support"]
|
|
206
|
+
description: "The core features of Mender. To continue using Enterprise Trial features\u2014like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more\u2014please upgrade to a higher plan."
|
|
215
207
|
},
|
|
216
208
|
professional: {
|
|
217
209
|
id: "professional",
|
|
218
210
|
name: "Professional",
|
|
219
|
-
|
|
220
|
-
offer: true,
|
|
221
|
-
price: "$291 / month",
|
|
222
|
-
deviceCount: startingDeviceCount.professional,
|
|
223
|
-
description: "Everything in Basic, plus enhanced update management and automation features.",
|
|
224
|
-
features: ["Advanced OTA features", "Higher priority support"]
|
|
211
|
+
description: "Everything in Basic, plus enhanced update management and automation features."
|
|
225
212
|
},
|
|
226
213
|
enterprise: {
|
|
227
214
|
id: "enterprise",
|
|
228
215
|
name: "Enterprise",
|
|
229
|
-
|
|
230
|
-
price: "Custom pricing",
|
|
231
|
-
deviceCount: "Unlimited devices",
|
|
232
|
-
description: "Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription \u2014 ask us for a quote.",
|
|
233
|
-
features: ["All Mender features", "Advanced security features", "SLA-backed support"]
|
|
216
|
+
description: "Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription \u2014 ask us for a quote."
|
|
234
217
|
}
|
|
235
218
|
};
|
|
236
219
|
var ADDONS = {
|
|
@@ -239,14 +222,6 @@ var ADDONS = {
|
|
|
239
222
|
title: "Configure",
|
|
240
223
|
description: "Seamlessly configure applications and devices remotely \u2013 configure each device to its environment.",
|
|
241
224
|
needs: ["hasDeviceConfig"],
|
|
242
|
-
os: {
|
|
243
|
-
price: "$11/month",
|
|
244
|
-
deviceCount: startingDeviceCount.os
|
|
245
|
-
},
|
|
246
|
-
professional: {
|
|
247
|
-
price: "$65/month",
|
|
248
|
-
deviceCount: startingDeviceCount.professional
|
|
249
|
-
},
|
|
250
225
|
eligible: ["os", "professional", "enterprise"]
|
|
251
226
|
},
|
|
252
227
|
monitor: {
|
|
@@ -254,14 +229,6 @@ var ADDONS = {
|
|
|
254
229
|
title: "Monitor",
|
|
255
230
|
description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
|
|
256
231
|
needs: ["hasMonitor"],
|
|
257
|
-
os: {
|
|
258
|
-
price: "-",
|
|
259
|
-
deviceCount: "-"
|
|
260
|
-
},
|
|
261
|
-
professional: {
|
|
262
|
-
price: "$86/month",
|
|
263
|
-
deviceCount: startingDeviceCount.professional
|
|
264
|
-
},
|
|
265
232
|
eligible: ["professional", "enterprise"]
|
|
266
233
|
},
|
|
267
234
|
troubleshoot: {
|
|
@@ -269,14 +236,6 @@ var ADDONS = {
|
|
|
269
236
|
title: "Troubleshoot",
|
|
270
237
|
description: "Secure, remote access to your devices \u2013 quickly diagnose and fix issues in real time.",
|
|
271
238
|
needs: ["hasDeviceConnect"],
|
|
272
|
-
os: {
|
|
273
|
-
price: "$27/month",
|
|
274
|
-
deviceCount: startingDeviceCount.os
|
|
275
|
-
},
|
|
276
|
-
professional: {
|
|
277
|
-
price: "$72/month",
|
|
278
|
-
deviceCount: startingDeviceCount.professional
|
|
279
|
-
},
|
|
280
239
|
eligible: ["os", "professional", "enterprise"]
|
|
281
240
|
}
|
|
282
241
|
};
|
|
@@ -985,17 +944,14 @@ var getAttributesList = (0, import_toolkit3.createSelector)(
|
|
|
985
944
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
986
945
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers2.duplicateFilter)
|
|
987
946
|
);
|
|
988
|
-
var getDeviceLimitStats = (0, import_toolkit3.createSelector)(
|
|
989
|
-
|
|
990
|
-
(limits,
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
}));
|
|
997
|
-
}
|
|
998
|
-
);
|
|
947
|
+
var getDeviceLimitStats = (0, import_toolkit3.createSelector)([getDeviceLimits, getAcceptedDevices], (limits, accepted) => {
|
|
948
|
+
const { counts } = accepted;
|
|
949
|
+
return Object.entries(limits).filter(([, limit]) => limit !== 0).map(([type, limit]) => ({
|
|
950
|
+
type,
|
|
951
|
+
limit,
|
|
952
|
+
total: counts[type] || 0
|
|
953
|
+
}));
|
|
954
|
+
});
|
|
999
955
|
var getDeviceTypes = (0, import_toolkit3.createSelector)(
|
|
1000
956
|
[getAcceptedDevices, getDevicesById],
|
|
1001
957
|
({ deviceIds = [] }, devicesById) => Object.keys(
|
|
@@ -1021,6 +977,7 @@ var getOnboarding = (state) => state.onboarding;
|
|
|
1021
977
|
// src/organizationSlice/selectors.ts
|
|
1022
978
|
var import_toolkit4 = require("@reduxjs/toolkit");
|
|
1023
979
|
var getOrganization = (state) => state.organization.organization;
|
|
980
|
+
var getProducts = (state) => state.organization.products;
|
|
1024
981
|
var getExternalIntegrations = (state) => state.organization.externalDeviceIntegrations;
|
|
1025
982
|
var getAuditlogState = (state) => state.organization.auditlog.selectionState;
|
|
1026
983
|
var getAuditLog = (state) => state.organization.auditlog.events;
|
|
@@ -1475,6 +1432,7 @@ var getShowSecurityAlert = (0, import_toolkit7.createSelector)(
|
|
|
1475
1432
|
getOnboarding,
|
|
1476
1433
|
getOnboardingState,
|
|
1477
1434
|
getOrganization,
|
|
1435
|
+
getProducts,
|
|
1478
1436
|
getReadAllHelptips,
|
|
1479
1437
|
getRecaptchaKey,
|
|
1480
1438
|
getRecentDeployments,
|