@northern.tech/store 0.19.1 → 0.20.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 +6 -6
- package/dist/api/general-api.js +2 -2
- package/dist/api/users-api.js +2 -2
- package/dist/appSlice/constants.cjs +11 -49
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +1 -16
- package/dist/appSlice/constants.d.ts +1 -16
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +2 -2
- package/dist/appSlice/mocks.js +2 -2
- package/dist/appSlice/thunks.cjs +30 -60
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +17 -17
- package/dist/auth.js +2 -2
- package/dist/{chunk-QFYYTAYD.js → chunk-3JBVI4UH.js} +9 -9
- package/dist/{chunk-QL6FN2JC.js → chunk-4ZYLGBJU.js} +2 -2
- package/dist/{chunk-U5TPV5X5.js → chunk-7WIISD2N.js} +17 -14
- package/dist/{chunk-U5TPV5X5.js.map → chunk-7WIISD2N.js.map} +1 -1
- package/dist/{chunk-FUGCLQ5L.js → chunk-AY7E7VA6.js} +102 -28
- package/dist/chunk-AY7E7VA6.js.map +1 -0
- package/dist/{chunk-EL672W25.js → chunk-DBBE6D36.js} +12 -50
- package/dist/chunk-DBBE6D36.js.map +1 -0
- package/dist/{chunk-GBXG2XBY.js → chunk-E657OJL4.js} +6 -6
- package/dist/{chunk-MZ5NRW3K.js → chunk-FXKMYYK5.js} +17 -17
- package/dist/{chunk-KJHHSYGP.js → chunk-P3N2J3QT.js} +10 -10
- package/dist/{chunk-GEQ2QQEE.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-C3EMLDPU.js → chunk-V6BWOIRC.js} +6 -6
- 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-3NOV7X4M.js → chunk-ZZQJWNQT.js} +3 -1
- package/dist/chunk-ZZQJWNQT.js.map +1 -0
- package/dist/commonConstants.js +2 -2
- package/dist/commonSelectors.cjs +19 -60
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.js +9 -9
- package/dist/constants.cjs +11 -49
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.js +2 -2
- package/dist/deploymentsSlice/index.js +2 -2
- package/dist/deploymentsSlice/mocks.js +2 -2
- package/dist/deploymentsSlice/selectors.js +2 -2
- package/dist/deploymentsSlice/thunks.cjs +30 -60
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +17 -17
- package/dist/devicesSlice/constants.js +2 -2
- package/dist/devicesSlice/index.js +2 -2
- package/dist/devicesSlice/mocks.js +2 -2
- package/dist/devicesSlice/selectors.cjs +8 -11
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.js +3 -3
- package/dist/devicesSlice/thunks.cjs +32 -60
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +41 -3
- package/dist/devicesSlice/thunks.d.ts +41 -3
- package/dist/devicesSlice/thunks.js +19 -17
- package/dist/liststatehook.js +2 -2
- package/dist/locationutils.js +2 -2
- package/dist/monitorSlice/index.js +2 -2
- package/dist/monitorSlice/mocks.js +2 -2
- package/dist/monitorSlice/thunks.cjs +22 -60
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +15 -15
- package/dist/onboardingSlice/thunks.cjs +30 -60
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +17 -17
- package/dist/organizationSlice/constants.js +2 -2
- 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 +3 -3
- 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 +88 -3
- 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 +5 -3
- package/dist/organizationSlice/thunks.cjs +113 -75
- 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 +23 -19
- 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 +2 -2
- package/dist/releasesSlice/mocks.js +2 -2
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.js +4 -4
- package/dist/releasesSlice/thunks.cjs +22 -60
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.js +15 -15
- package/dist/selectors.cjs +22 -60
- 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 +39 -37
- package/dist/sockethook.js +2 -2
- package/dist/store.cjs +3 -0
- package/dist/store.cjs.map +1 -1
- package/dist/store.js +7 -7
- package/dist/storehooks.cjs +109 -74
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +24 -22
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +113 -73
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +2 -2
- package/dist/thunks.d.ts +2 -2
- package/dist/thunks.js +23 -17
- package/dist/useDeploymentDevice.cjs +30 -60
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +19 -19
- package/dist/usersSlice/constants.js +2 -2
- package/dist/usersSlice/index.js +2 -2
- package/dist/usersSlice/mocks.js +2 -2
- package/dist/usersSlice/selectors.cjs +11 -49
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.js +4 -4
- package/dist/usersSlice/thunks.cjs +30 -60
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +17 -17
- package/dist/utils.cjs +26 -61
- 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 +3 -3
- package/package.json +3 -3
- package/dist/chunk-3NOV7X4M.js.map +0 -1
- package/dist/chunk-EL672W25.js.map +0 -1
- package/dist/chunk-FUGCLQ5L.js.map +0 -1
- package/dist/chunk-VCEFZTWS.js.map +0 -1
- /package/dist/{chunk-QFYYTAYD.js.map → chunk-3JBVI4UH.js.map} +0 -0
- /package/dist/{chunk-QL6FN2JC.js.map → chunk-4ZYLGBJU.js.map} +0 -0
- /package/dist/{chunk-GBXG2XBY.js.map → chunk-E657OJL4.js.map} +0 -0
- /package/dist/{chunk-MZ5NRW3K.js.map → chunk-FXKMYYK5.js.map} +0 -0
- /package/dist/{chunk-KJHHSYGP.js.map → chunk-P3N2J3QT.js.map} +0 -0
- /package/dist/{chunk-GEQ2QQEE.js.map → chunk-PL6RIFD5.js.map} +0 -0
- /package/dist/{chunk-C3EMLDPU.js.map → chunk-V6BWOIRC.js.map} +0 -0
|
@@ -20,36 +20,36 @@ import {
|
|
|
20
20
|
setSingleReleaseTags,
|
|
21
21
|
updateReleaseInfo,
|
|
22
22
|
uploadArtifact
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-E657OJL4.js";
|
|
24
|
+
import "../chunk-P3N2J3QT.js";
|
|
25
25
|
import "../chunk-IRQRV552.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-3JBVI4UH.js";
|
|
27
|
+
import "../chunk-CQXDAXQF.js";
|
|
27
28
|
import "../chunk-YR65C62H.js";
|
|
28
|
-
import "../chunk-VODRLEDP.js";
|
|
29
29
|
import "../chunk-TRKA7XYU.js";
|
|
30
|
-
import "../chunk-CQXDAXQF.js";
|
|
31
|
-
import "../chunk-VCEFZTWS.js";
|
|
32
30
|
import "../chunk-PVCHKW35.js";
|
|
31
|
+
import "../chunk-TIL2S3JA.js";
|
|
32
|
+
import "../chunk-VODRLEDP.js";
|
|
33
33
|
import "../chunk-6WJI4MOP.js";
|
|
34
34
|
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-QL6FN2JC.js";
|
|
40
|
-
import "../chunk-O7DR57RN.js";
|
|
41
|
-
import "../chunk-GEQ2QQEE.js";
|
|
38
|
+
import "../chunk-FXKMYYK5.js";
|
|
42
39
|
import "../chunk-JIS4PA3R.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-4ZYLGBJU.js";
|
|
41
|
+
import "../chunk-PL6RIFD5.js";
|
|
45
42
|
import "../chunk-YO22XLHI.js";
|
|
43
|
+
import "../chunk-ZZQJWNQT.js";
|
|
44
|
+
import "../chunk-WR6RQKF5.js";
|
|
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
|
-
import "../chunk-ZKAH3APE.js";
|
|
51
50
|
import "../chunk-FAJ3I2UQ.js";
|
|
52
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-ZKAH3APE.js";
|
|
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,82 +203,48 @@ 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 = {
|
|
237
220
|
configure: {
|
|
238
221
|
id: "configure",
|
|
239
222
|
title: "Configure",
|
|
240
|
-
description: "
|
|
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: {
|
|
253
228
|
id: "monitor",
|
|
254
229
|
title: "Monitor",
|
|
255
|
-
description: "
|
|
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: {
|
|
268
235
|
id: "troubleshoot",
|
|
269
236
|
title: "Troubleshoot",
|
|
270
|
-
description: "
|
|
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
|
};
|
|
283
242
|
var BENEFITS = {
|
|
284
|
-
auditlog: {
|
|
243
|
+
auditlog: {
|
|
244
|
+
id: "auditlog",
|
|
245
|
+
benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays",
|
|
246
|
+
requiredPlan: PLANS.enterprise.id
|
|
247
|
+
},
|
|
285
248
|
dashboard: { id: "dashboard", benefit: "actionable insights into the devices you are updating with Mender", requiredPlan: PLANS.enterprise.id },
|
|
286
249
|
deltaGeneration: {
|
|
287
250
|
id: "deltaGeneration",
|
|
@@ -981,17 +944,14 @@ var getAttributesList = (0, import_toolkit3.createSelector)(
|
|
|
981
944
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
982
945
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers2.duplicateFilter)
|
|
983
946
|
);
|
|
984
|
-
var getDeviceLimitStats = (0, import_toolkit3.createSelector)(
|
|
985
|
-
|
|
986
|
-
(limits,
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
}));
|
|
993
|
-
}
|
|
994
|
-
);
|
|
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
|
+
});
|
|
995
955
|
var getDeviceTypes = (0, import_toolkit3.createSelector)(
|
|
996
956
|
[getAcceptedDevices, getDevicesById],
|
|
997
957
|
({ deviceIds = [] }, devicesById) => Object.keys(
|
|
@@ -1017,6 +977,7 @@ var getOnboarding = (state) => state.onboarding;
|
|
|
1017
977
|
// src/organizationSlice/selectors.ts
|
|
1018
978
|
var import_toolkit4 = require("@reduxjs/toolkit");
|
|
1019
979
|
var getOrganization = (state) => state.organization.organization;
|
|
980
|
+
var getProducts = (state) => state.organization.products;
|
|
1020
981
|
var getExternalIntegrations = (state) => state.organization.externalDeviceIntegrations;
|
|
1021
982
|
var getAuditlogState = (state) => state.organization.auditlog.selectionState;
|
|
1022
983
|
var getAuditLog = (state) => state.organization.auditlog.events;
|
|
@@ -1471,6 +1432,7 @@ var getShowSecurityAlert = (0, import_toolkit7.createSelector)(
|
|
|
1471
1432
|
getOnboarding,
|
|
1472
1433
|
getOnboardingState,
|
|
1473
1434
|
getOrganization,
|
|
1435
|
+
getProducts,
|
|
1474
1436
|
getReadAllHelptips,
|
|
1475
1437
|
getRecaptchaKey,
|
|
1476
1438
|
getRecentDeployments,
|