@northern.tech/store 0.3.1 → 0.3.3
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 +20 -17
- package/dist/actions.cjs.map +1 -1
- package/dist/actions.js +8 -8
- package/dist/api/general-api.js +2 -2
- package/dist/api/types/Tenant.ts +17 -12
- package/dist/api/users-api.js +2 -2
- package/dist/appSlice/constants.cjs +18 -10
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +41 -84
- package/dist/appSlice/constants.d.ts +41 -84
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +2 -2
- package/dist/appSlice/thunks.cjs +140 -96
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +19 -19
- package/dist/auth.js +2 -2
- package/dist/{chunk-Q6M5TTDQ.js → chunk-2CYOM4BK.js} +1 -1
- package/dist/chunk-2CYOM4BK.js.map +1 -0
- package/dist/{chunk-APHL4JZP.js → chunk-2JHFUQ6B.js} +141 -102
- package/dist/chunk-2JHFUQ6B.js.map +1 -0
- package/dist/{chunk-YETZPQFR.js → chunk-4XJMRVFI.js} +12 -11
- package/dist/chunk-4XJMRVFI.js.map +1 -0
- package/dist/{chunk-RX55KAKX.js → chunk-7JKWI5FK.js} +2 -2
- package/dist/{chunk-A6CT6GTI.js → chunk-C5NEDBJI.js} +17 -11
- package/dist/chunk-C5NEDBJI.js.map +1 -0
- package/dist/{chunk-NNADGHSL.js → chunk-DAPAXWA5.js} +8 -8
- package/dist/{chunk-ANB5BM5J.js → chunk-DCK2DBOA.js} +27 -20
- package/dist/chunk-DCK2DBOA.js.map +1 -0
- package/dist/{chunk-E5LEU5PF.js → chunk-HPBE6KYY.js} +2 -2
- package/dist/{chunk-2RJIDREZ.js → chunk-LEMVXAYP.js} +25 -16
- package/dist/chunk-LEMVXAYP.js.map +1 -0
- package/dist/{chunk-NI4SZOCF.js → chunk-LGNOTPUG.js} +9 -9
- package/dist/{chunk-MDC7Y3EX.js → chunk-LTKOV26W.js} +22 -20
- package/dist/chunk-LTKOV26W.js.map +1 -0
- package/dist/{chunk-YTQUNAZP.js → chunk-QRGTG4YB.js} +2 -2
- package/dist/{chunk-XTRPX7JZ.js → chunk-TI2RL5P2.js} +2 -2
- package/dist/chunk-TI2RL5P2.js.map +1 -0
- package/dist/{chunk-YGBFDXXA.js → chunk-TUACATJA.js} +2 -2
- package/dist/{chunk-25AKG5HH.js → chunk-UWMYZNUB.js} +19 -11
- package/dist/chunk-UWMYZNUB.js.map +1 -0
- package/dist/{chunk-UEP36GCI.js → chunk-VMNMD6KF.js} +2 -2
- package/dist/{chunk-KAQJH2YL.js → chunk-WXL7PVI5.js} +12 -4
- package/dist/chunk-WXL7PVI5.js.map +1 -0
- package/dist/{chunk-VOCOFE4I.js → chunk-X7IEZBM4.js} +2 -2
- package/dist/{chunk-XXHONFSQ.js → chunk-YDS36ALB.js} +3 -3
- package/dist/{chunk-XXHONFSQ.js.map → chunk-YDS36ALB.js.map} +1 -1
- package/dist/commonSelectors.cjs +40 -18
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +54 -46
- package/dist/commonSelectors.d.ts +54 -46
- package/dist/commonSelectors.js +9 -9
- package/dist/constants.cjs +35 -19
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants.js +6 -2
- package/dist/deploymentdevicehook.cjs +146 -101
- package/dist/deploymentdevicehook.cjs.map +1 -1
- package/dist/deploymentdevicehook.d.cts +1 -1
- package/dist/deploymentdevicehook.d.ts +1 -1
- package/dist/deploymentdevicehook.js +24 -22
- package/dist/deploymentdevicehook.js.map +1 -1
- package/dist/deploymentsSlice/constants.cjs +8 -8
- package/dist/deploymentsSlice/constants.cjs.map +1 -1
- package/dist/deploymentsSlice/constants.js +2 -2
- package/dist/deploymentsSlice/index.cjs +8 -8
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.js +3 -3
- package/dist/deploymentsSlice/selectors.cjs +8 -8
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.js +3 -3
- package/dist/deploymentsSlice/thunks.cjs +140 -96
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +19 -19
- package/dist/devicesSlice/constants.cjs +11 -8
- package/dist/devicesSlice/constants.cjs.map +1 -1
- package/dist/devicesSlice/constants.d.cts +2 -1
- package/dist/devicesSlice/constants.d.ts +2 -1
- package/dist/devicesSlice/constants.js +4 -2
- package/dist/devicesSlice/index.cjs +8 -8
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.js +3 -3
- package/dist/devicesSlice/selectors.cjs +9 -9
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.js +3 -3
- package/dist/devicesSlice/thunks.cjs +142 -96
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +12 -2
- package/dist/devicesSlice/thunks.d.ts +12 -2
- package/dist/devicesSlice/thunks.js +21 -19
- package/dist/flag-eu-5477R2P4.svg +130 -0
- package/dist/flag-us-HNQAF66I.svg +63 -0
- package/dist/monitorSlice/constants.cjs +8 -8
- package/dist/monitorSlice/constants.cjs.map +1 -1
- package/dist/monitorSlice/constants.js +2 -2
- package/dist/monitorSlice/index.cjs +8 -8
- package/dist/monitorSlice/index.cjs.map +1 -1
- package/dist/monitorSlice/index.js +3 -3
- package/dist/monitorSlice/thunks.cjs +59 -37
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +17 -17
- package/dist/onboardingSlice/thunks.cjs +149 -102
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +1 -32
- package/dist/onboardingSlice/thunks.d.ts +1 -32
- package/dist/onboardingSlice/thunks.js +19 -19
- package/dist/organizationSlice/constants.cjs +22 -17
- package/dist/organizationSlice/constants.cjs.map +1 -1
- package/dist/organizationSlice/constants.d.cts +33 -1
- package/dist/organizationSlice/constants.d.ts +33 -1
- package/dist/organizationSlice/constants.js +4 -2
- package/dist/organizationSlice/index.cjs +18 -15
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.d.cts +26 -1012
- package/dist/organizationSlice/index.d.ts +26 -1012
- package/dist/organizationSlice/index.js +3 -3
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +9 -1
- package/dist/organizationSlice/selectors.d.ts +9 -1
- package/dist/organizationSlice/selectors.js +3 -3
- package/dist/organizationSlice/thunks.cjs +1608 -1540
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +61 -36
- package/dist/organizationSlice/thunks.d.ts +61 -36
- package/dist/organizationSlice/thunks.js +19 -19
- package/dist/organizationSlice/types.cjs +19 -0
- package/dist/organizationSlice/types.cjs.map +1 -0
- package/dist/organizationSlice/types.d.cts +114 -0
- package/dist/organizationSlice/types.d.ts +114 -0
- package/dist/organizationSlice/types.js +1 -0
- package/dist/organizationSlice/types.js.map +1 -0
- package/dist/releasesSlice/index.js +2 -2
- package/dist/releasesSlice/selectors.cjs +11 -0
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.js +4 -4
- package/dist/releasesSlice/thunks.cjs +73 -49
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +1 -4
- package/dist/releasesSlice/thunks.d.ts +1 -4
- package/dist/releasesSlice/thunks.js +17 -17
- package/dist/selectors.cjs +46 -18
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +9 -1
- package/dist/selectors.d.ts +9 -1
- package/dist/selectors.js +36 -30
- package/dist/store.cjs +36 -23
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +12 -231
- package/dist/store.d.ts +12 -231
- package/dist/store.js +13 -11
- package/dist/storehooks.cjs +222 -141
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +36 -24
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +199 -126
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +5 -1
- package/dist/thunks.d.ts +5 -1
- package/dist/thunks.js +21 -19
- package/dist/usersSlice/constants.cjs +10 -10
- package/dist/usersSlice/constants.cjs.map +1 -1
- package/dist/usersSlice/constants.js +2 -2
- package/dist/usersSlice/index.cjs +10 -10
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.js +3 -3
- package/dist/usersSlice/selectors.cjs +35 -13
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +44 -1
- package/dist/usersSlice/selectors.d.ts +44 -1
- package/dist/usersSlice/selectors.js +12 -6
- package/dist/usersSlice/thunks.cjs +138 -96
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.d.cts +10 -9
- package/dist/usersSlice/thunks.d.ts +10 -9
- package/dist/usersSlice/thunks.js +19 -19
- package/dist/utils.cjs +17 -16
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +3 -3
- package/package.json +7 -7
- package/dist/chunk-25AKG5HH.js.map +0 -1
- package/dist/chunk-2RJIDREZ.js.map +0 -1
- package/dist/chunk-A6CT6GTI.js.map +0 -1
- package/dist/chunk-ANB5BM5J.js.map +0 -1
- package/dist/chunk-APHL4JZP.js.map +0 -1
- package/dist/chunk-KAQJH2YL.js.map +0 -1
- package/dist/chunk-MDC7Y3EX.js.map +0 -1
- package/dist/chunk-Q6M5TTDQ.js.map +0 -1
- package/dist/chunk-XTRPX7JZ.js.map +0 -1
- package/dist/chunk-YETZPQFR.js.map +0 -1
- /package/dist/{chunk-RX55KAKX.js.map → chunk-7JKWI5FK.js.map} +0 -0
- /package/dist/{chunk-NNADGHSL.js.map → chunk-DAPAXWA5.js.map} +0 -0
- /package/dist/{chunk-E5LEU5PF.js.map → chunk-HPBE6KYY.js.map} +0 -0
- /package/dist/{chunk-NI4SZOCF.js.map → chunk-LGNOTPUG.js.map} +0 -0
- /package/dist/{chunk-YTQUNAZP.js.map → chunk-QRGTG4YB.js.map} +0 -0
- /package/dist/{chunk-YGBFDXXA.js.map → chunk-TUACATJA.js.map} +0 -0
- /package/dist/{chunk-UEP36GCI.js.map → chunk-VMNMD6KF.js.map} +0 -0
- /package/dist/{chunk-VOCOFE4I.js.map → chunk-X7IEZBM4.js.map} +0 -0
package/dist/selectors.d.cts
CHANGED
|
@@ -6,5 +6,13 @@ export { getIssueCountsByType } from './monitorSlice/selectors.cjs';
|
|
|
6
6
|
export { getOnboarding } from './onboardingSlice/selectors.cjs';
|
|
7
7
|
export { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getDeviceTwinIntegrations, getExternalIntegrations, getIsServiceProvider, getOrganization, getSsoConfig, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from './organizationSlice/selectors.cjs';
|
|
8
8
|
export { getHasReleases, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedRelease, getUpdateTypes } from './releasesSlice/selectors.cjs';
|
|
9
|
-
export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getRolesById, getRolesList, getShowHelptips, getTooltipsById, getTooltipsState, getUserSettings } from './usersSlice/selectors.cjs';
|
|
9
|
+
export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getRolesById, getRolesList, getSelectedDeviceAttribute, getShowHelptips, getTooltipsById, getTooltipsState, getUserSettings, getUsersById, getUsersList } from './usersSlice/selectors.cjs';
|
|
10
10
|
import 'reselect';
|
|
11
|
+
import './appSlice/constants.cjs';
|
|
12
|
+
import '@mui/material/OverridableComponent';
|
|
13
|
+
import '@mui/material';
|
|
14
|
+
import './store.cjs';
|
|
15
|
+
import '@reduxjs/toolkit';
|
|
16
|
+
import 'redux-thunk';
|
|
17
|
+
import 'redux';
|
|
18
|
+
import './organizationSlice/types.cjs';
|
package/dist/selectors.d.ts
CHANGED
|
@@ -6,5 +6,13 @@ export { getIssueCountsByType } from './monitorSlice/selectors.js';
|
|
|
6
6
|
export { getOnboarding } from './onboardingSlice/selectors.js';
|
|
7
7
|
export { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getDeviceTwinIntegrations, getExternalIntegrations, getIsServiceProvider, getOrganization, getSsoConfig, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from './organizationSlice/selectors.js';
|
|
8
8
|
export { getHasReleases, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedRelease, getUpdateTypes } from './releasesSlice/selectors.js';
|
|
9
|
-
export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getRolesById, getRolesList, getShowHelptips, getTooltipsById, getTooltipsState, getUserSettings } from './usersSlice/selectors.js';
|
|
9
|
+
export { getCurrentSession, getCurrentUser, getGlobalSettings, getHas2FA, getIdAttribute, getIsDarkMode, getOfflineThresholdSettings, getRolesById, getRolesList, getSelectedDeviceAttribute, getShowHelptips, getTooltipsById, getTooltipsState, getUserSettings, getUsersById, getUsersList } from './usersSlice/selectors.js';
|
|
10
10
|
import 'reselect';
|
|
11
|
+
import './appSlice/constants.js';
|
|
12
|
+
import '@mui/material/OverridableComponent';
|
|
13
|
+
import '@mui/material';
|
|
14
|
+
import './store.js';
|
|
15
|
+
import '@reduxjs/toolkit';
|
|
16
|
+
import 'redux-thunk';
|
|
17
|
+
import 'redux';
|
|
18
|
+
import './organizationSlice/types.js';
|
package/dist/selectors.js
CHANGED
|
@@ -18,7 +18,17 @@ import {
|
|
|
18
18
|
getTenantCapabilities,
|
|
19
19
|
getUserCapabilities,
|
|
20
20
|
getUserRoles
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DCK2DBOA.js";
|
|
22
|
+
import {
|
|
23
|
+
getHasReleases,
|
|
24
|
+
getReleaseListState,
|
|
25
|
+
getReleaseTags,
|
|
26
|
+
getReleaseTagsById,
|
|
27
|
+
getReleasesById,
|
|
28
|
+
getReleasesList,
|
|
29
|
+
getSelectedRelease,
|
|
30
|
+
getUpdateTypes
|
|
31
|
+
} from "./chunk-X7IEZBM4.js";
|
|
22
32
|
import {
|
|
23
33
|
getCurrentSession,
|
|
24
34
|
getCurrentUser,
|
|
@@ -29,33 +39,14 @@ import {
|
|
|
29
39
|
getOfflineThresholdSettings,
|
|
30
40
|
getRolesById,
|
|
31
41
|
getRolesList,
|
|
42
|
+
getSelectedDeviceAttribute,
|
|
32
43
|
getShowHelptips,
|
|
33
44
|
getTooltipsById,
|
|
34
45
|
getTooltipsState,
|
|
35
|
-
getUserSettings
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
getReleaseListState,
|
|
40
|
-
getReleaseTags,
|
|
41
|
-
getReleaseTagsById,
|
|
42
|
-
getReleasesById,
|
|
43
|
-
getReleasesList,
|
|
44
|
-
getSelectedRelease,
|
|
45
|
-
getUpdateTypes
|
|
46
|
-
} from "./chunk-VOCOFE4I.js";
|
|
47
|
-
import {
|
|
48
|
-
DEPLOYMENT_CUTOFF,
|
|
49
|
-
getDeploymentsById,
|
|
50
|
-
getDeploymentsByStatus,
|
|
51
|
-
getDeploymentsSelectionState,
|
|
52
|
-
getMappedDeploymentSelection,
|
|
53
|
-
getRecentDeployments,
|
|
54
|
-
getSelectedDeploymentDeviceIds
|
|
55
|
-
} from "./chunk-RX55KAKX.js";
|
|
56
|
-
import {
|
|
57
|
-
getOnboarding
|
|
58
|
-
} from "./chunk-JIS4PA3R.js";
|
|
46
|
+
getUserSettings,
|
|
47
|
+
getUsersById,
|
|
48
|
+
getUsersList
|
|
49
|
+
} from "./chunk-WXL7PVI5.js";
|
|
59
50
|
import {
|
|
60
51
|
getAuditLog,
|
|
61
52
|
getAuditLogEntry,
|
|
@@ -71,7 +62,19 @@ import {
|
|
|
71
62
|
getWebhookEventTotal,
|
|
72
63
|
getWebhookEvents,
|
|
73
64
|
getWebhooks
|
|
74
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-2CYOM4BK.js";
|
|
66
|
+
import {
|
|
67
|
+
DEPLOYMENT_CUTOFF,
|
|
68
|
+
getDeploymentsById,
|
|
69
|
+
getDeploymentsByStatus,
|
|
70
|
+
getDeploymentsSelectionState,
|
|
71
|
+
getMappedDeploymentSelection,
|
|
72
|
+
getRecentDeployments,
|
|
73
|
+
getSelectedDeploymentDeviceIds
|
|
74
|
+
} from "./chunk-7JKWI5FK.js";
|
|
75
|
+
import {
|
|
76
|
+
getOnboarding
|
|
77
|
+
} from "./chunk-JIS4PA3R.js";
|
|
75
78
|
import {
|
|
76
79
|
getAcceptedDevices,
|
|
77
80
|
getAttributesList,
|
|
@@ -94,11 +97,11 @@ import {
|
|
|
94
97
|
getSelectedGroup,
|
|
95
98
|
getSelectedGroupInfo,
|
|
96
99
|
getSortedFilteringAttributes
|
|
97
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-YDS36ALB.js";
|
|
98
101
|
import {
|
|
99
102
|
getIssueCountsByType
|
|
100
103
|
} from "./chunk-YO22XLHI.js";
|
|
101
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-4XJMRVFI.js";
|
|
102
105
|
import {
|
|
103
106
|
getDocsVersion,
|
|
104
107
|
getFeatures,
|
|
@@ -108,10 +111,10 @@ import {
|
|
|
108
111
|
getSearchedDevices,
|
|
109
112
|
getVersionInformation
|
|
110
113
|
} from "./chunk-LIJIIRON.js";
|
|
111
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-C5NEDBJI.js";
|
|
112
115
|
import "./chunk-CK6YE6AN.js";
|
|
113
116
|
import "./chunk-MRCFLG45.js";
|
|
114
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-UWMYZNUB.js";
|
|
115
118
|
import "./chunk-4B3IMP4I.js";
|
|
116
119
|
export {
|
|
117
120
|
DEPLOYMENT_CUTOFF,
|
|
@@ -185,6 +188,7 @@ export {
|
|
|
185
188
|
getSearchedDevices,
|
|
186
189
|
getSelectedDeploymentData,
|
|
187
190
|
getSelectedDeploymentDeviceIds,
|
|
191
|
+
getSelectedDeviceAttribute,
|
|
188
192
|
getSelectedGroup,
|
|
189
193
|
getSelectedGroupInfo,
|
|
190
194
|
getSelectedRelease,
|
|
@@ -199,6 +203,8 @@ export {
|
|
|
199
203
|
getUserCapabilities,
|
|
200
204
|
getUserRoles,
|
|
201
205
|
getUserSettings,
|
|
206
|
+
getUsersById,
|
|
207
|
+
getUsersList,
|
|
202
208
|
getVersionInformation,
|
|
203
209
|
getWebhookEventInfo,
|
|
204
210
|
getWebhookEventTotal,
|
package/dist/store.cjs
CHANGED
|
@@ -34,9 +34,11 @@ __export(store_exports, {
|
|
|
34
34
|
commonErrorHandler: () => commonErrorHandler,
|
|
35
35
|
getConfiguredStore: () => getConfiguredStore,
|
|
36
36
|
sessionReducer: () => sessionReducer,
|
|
37
|
-
store: () => store
|
|
37
|
+
store: () => store,
|
|
38
|
+
useAppDispatch: () => useAppDispatch
|
|
38
39
|
});
|
|
39
40
|
module.exports = __toCommonJS(store_exports);
|
|
41
|
+
var import_react_redux = require("react-redux");
|
|
40
42
|
var import_helpers2 = require("@northern.tech/utils/helpers");
|
|
41
43
|
var import_toolkit9 = require("@reduxjs/toolkit");
|
|
42
44
|
|
|
@@ -63,28 +65,28 @@ var PLANS = {
|
|
|
63
65
|
id: "os",
|
|
64
66
|
name: "Basic",
|
|
65
67
|
offer: true,
|
|
66
|
-
price: "$32/month",
|
|
68
|
+
price: "$32 / month",
|
|
67
69
|
deviceCount: startingDeviceCount.os,
|
|
68
|
-
offerprice: "$23/month for first 50 devices",
|
|
70
|
+
offerprice: "$23 / month for first 50 devices",
|
|
69
71
|
price2: "for first 6 months;\n$29/month thereafter",
|
|
70
|
-
features: ["
|
|
72
|
+
features: ["Access to core features of Mender", "Basic support"]
|
|
71
73
|
},
|
|
72
74
|
professional: {
|
|
73
75
|
id: "professional",
|
|
74
76
|
name: "Professional",
|
|
75
77
|
offer: true,
|
|
76
|
-
price: "$269/month",
|
|
78
|
+
price: "$269 / month",
|
|
77
79
|
deviceCount: startingDeviceCount.professional,
|
|
78
|
-
offerprice: "$200/month for first 50 devices",
|
|
80
|
+
offerprice: "$200 / month for first 50 devices",
|
|
79
81
|
price2: "for first 6 months;\n$249/month thereafter",
|
|
80
|
-
features: ["
|
|
82
|
+
features: ["Advanced OTA features", "Higher priority support"]
|
|
81
83
|
},
|
|
82
84
|
enterprise: {
|
|
83
85
|
id: "enterprise",
|
|
84
86
|
name: "Enterprise",
|
|
85
87
|
price: "Custom pricing",
|
|
86
|
-
deviceCount: "
|
|
87
|
-
features: ["
|
|
88
|
+
deviceCount: "Unlimited devices",
|
|
89
|
+
features: ["All Mender features", "Advanced security features", "SLA-backed support"]
|
|
88
90
|
}
|
|
89
91
|
};
|
|
90
92
|
var ADDONS = {
|
|
@@ -554,13 +556,16 @@ var auditLogsApiUrl = `${apiUrl.v1}/auditlogs`;
|
|
|
554
556
|
var tenantadmApiUrlv1 = `${apiUrl.v1}/tenantadm`;
|
|
555
557
|
var tenantadmApiUrlv2 = `${apiUrl.v2}/tenantadm`;
|
|
556
558
|
var ssoIdpApiUrlv1 = `${apiUrl.v1}/useradm/sso/idp/metadata`;
|
|
557
|
-
var
|
|
558
|
-
{ title: "Artifact", queryParameter: "object_type", value: "artifact" },
|
|
559
|
-
{ title: "Deployment", queryParameter: "object_deployment_name", value: "deployment" },
|
|
560
|
-
{ title: "Device", queryParameter: "object_id", value: "device" },
|
|
561
|
-
{ title: "
|
|
562
|
-
|
|
563
|
-
|
|
559
|
+
var auditlogTypes = {
|
|
560
|
+
artifact: { title: "Artifact", queryParameter: "object_type", value: "artifact" },
|
|
561
|
+
deployment: { title: "Deployment", queryParameter: "object_deployment_name", value: "deployment" },
|
|
562
|
+
device: { title: "Device", queryParameter: "object_id", value: "device" },
|
|
563
|
+
user_access_token: { title: "Personal Access Token", queryParameter: "user_access_token", value: "user_access_token" },
|
|
564
|
+
user: { title: "User", queryParameter: "object_id", value: "user" },
|
|
565
|
+
tenant: { title: "Tenant", queryParameter: "object_id", value: "tenant" }
|
|
566
|
+
};
|
|
567
|
+
var AUDIT_LOGS_TYPES = [auditlogTypes.artifact, auditlogTypes.deployment, auditlogTypes.device, auditlogTypes.user_access_token, auditlogTypes.user];
|
|
568
|
+
var SP_AUDIT_LOGS_TYPES = [auditlogTypes.user, auditlogTypes.tenant];
|
|
564
569
|
var emptyWebhook = {
|
|
565
570
|
description: "",
|
|
566
571
|
enabled: true,
|
|
@@ -689,7 +694,7 @@ var uiPermissionsByArea = {
|
|
|
689
694
|
explanation: "Granting access to the audit log will allow tracing changes to devices, releases and user accounts, as well as providing information about deployments.",
|
|
690
695
|
key: "auditlog",
|
|
691
696
|
uiPermissions: [uiPermissionsById.read],
|
|
692
|
-
title: "System
|
|
697
|
+
title: "System Audit Log"
|
|
693
698
|
},
|
|
694
699
|
deployments: {
|
|
695
700
|
endpoints: [
|
|
@@ -839,7 +844,7 @@ var serviceProviderRolesById = {
|
|
|
839
844
|
},
|
|
840
845
|
readOnly: {
|
|
841
846
|
name: "Read access",
|
|
842
|
-
value: staticRolesByName.
|
|
847
|
+
value: staticRolesByName.readOnly,
|
|
843
848
|
description: "This role can see all linked organizations but cannot make any changes",
|
|
844
849
|
permissions: [],
|
|
845
850
|
uiPermissions: {
|
|
@@ -1872,9 +1877,7 @@ var cleanUp = () => {
|
|
|
1872
1877
|
// src/store.ts
|
|
1873
1878
|
var { setSnackbar, uploadProgress } = actions_default;
|
|
1874
1879
|
var keys = ["sessionDeploymentChecker", settingsKeys.initialized];
|
|
1875
|
-
var resetEnvironment = () =>
|
|
1876
|
-
keys.map((key) => window.sessionStorage.removeItem(key));
|
|
1877
|
-
};
|
|
1880
|
+
var resetEnvironment = () => keys.forEach((key) => window.sessionStorage.removeItem(key));
|
|
1878
1881
|
resetEnvironment();
|
|
1879
1882
|
var commonErrorFallback = "Please check your connection.";
|
|
1880
1883
|
var commonErrorHandler = (err, errorContext, dispatch, fallback, mightBeAuthRelated = false) => {
|
|
@@ -1900,6 +1903,14 @@ var sessionReducer = (state, action) => {
|
|
|
1900
1903
|
}
|
|
1901
1904
|
return rootReducer(state, action);
|
|
1902
1905
|
};
|
|
1906
|
+
var rejectionLoggerMiddleware = () => (next) => (action) => {
|
|
1907
|
+
if (action.type.endsWith("/rejected")) {
|
|
1908
|
+
const { error } = action;
|
|
1909
|
+
console.error("Rejection in action:", action);
|
|
1910
|
+
console.error(error.stack);
|
|
1911
|
+
}
|
|
1912
|
+
return next(action);
|
|
1913
|
+
};
|
|
1903
1914
|
var getConfiguredStore = (options = {}) => {
|
|
1904
1915
|
const { preloadedState = {}, ...config } = options;
|
|
1905
1916
|
return (0, import_toolkit9.configureStore)({
|
|
@@ -1915,18 +1926,20 @@ var getConfiguredStore = (options = {}) => {
|
|
|
1915
1926
|
ignoredActionPaths: ["uploads", "snackbar", /payload\..*$/],
|
|
1916
1927
|
ignoredPaths: ["app.uploadsById", "app.snackbar", "organization.externalDeviceIntegrations"]
|
|
1917
1928
|
}
|
|
1918
|
-
})
|
|
1929
|
+
}).concat(rejectionLoggerMiddleware)
|
|
1919
1930
|
});
|
|
1920
1931
|
};
|
|
1921
1932
|
var store = getConfiguredStore({
|
|
1922
1933
|
preloadedState: {}
|
|
1923
1934
|
});
|
|
1935
|
+
var useAppDispatch = import_react_redux.useDispatch;
|
|
1924
1936
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1925
1937
|
0 && (module.exports = {
|
|
1926
1938
|
commonErrorFallback,
|
|
1927
1939
|
commonErrorHandler,
|
|
1928
1940
|
getConfiguredStore,
|
|
1929
1941
|
sessionReducer,
|
|
1930
|
-
store
|
|
1942
|
+
store,
|
|
1943
|
+
useAppDispatch
|
|
1931
1944
|
});
|
|
1932
1945
|
//# sourceMappingURL=store.cjs.map
|