@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
|
@@ -120,10 +120,34 @@ declare const addStaticGroup: _reduxjs_toolkit.AsyncThunk<[_reduxjs_toolkit.Payl
|
|
|
120
120
|
fulfilledMeta?: unknown;
|
|
121
121
|
rejectedMeta?: unknown;
|
|
122
122
|
}>;
|
|
123
|
+
declare const removeReportsByGroupName: _reduxjs_toolkit.AsyncThunk<void | undefined, string, {
|
|
124
|
+
dispatch: AppDispatch;
|
|
125
|
+
state: RootState;
|
|
126
|
+
extra?: unknown;
|
|
127
|
+
rejectValue?: unknown;
|
|
128
|
+
serializedErrorType?: unknown;
|
|
129
|
+
pendingMeta?: unknown;
|
|
130
|
+
fulfilledMeta?: unknown;
|
|
131
|
+
rejectedMeta?: unknown;
|
|
132
|
+
}>;
|
|
123
133
|
declare const removeStaticGroup: _reduxjs_toolkit.AsyncThunk<[{
|
|
124
134
|
payload: string;
|
|
125
135
|
type: "devices/removeGroup";
|
|
126
|
-
}, _reduxjs_toolkit.PayloadAction<
|
|
136
|
+
}, _reduxjs_toolkit.PayloadAction<unknown, string, {
|
|
137
|
+
arg: string;
|
|
138
|
+
requestId: string;
|
|
139
|
+
requestStatus: "rejected";
|
|
140
|
+
aborted: boolean;
|
|
141
|
+
condition: boolean;
|
|
142
|
+
} & ({
|
|
143
|
+
rejectedWithValue: true;
|
|
144
|
+
} | ({
|
|
145
|
+
rejectedWithValue: false;
|
|
146
|
+
} & {})), _reduxjs_toolkit.SerializedError> | _reduxjs_toolkit.PayloadAction<void | undefined, string, {
|
|
147
|
+
arg: string;
|
|
148
|
+
requestId: string;
|
|
149
|
+
requestStatus: "fulfilled";
|
|
150
|
+
}, never>, _reduxjs_toolkit.PayloadAction<any, string, {
|
|
127
151
|
arg: void;
|
|
128
152
|
requestId: string;
|
|
129
153
|
requestStatus: "fulfilled";
|
|
@@ -215,7 +239,21 @@ declare const updateDynamicGroup: _reduxjs_toolkit.AsyncThunk<any, {
|
|
|
215
239
|
declare const removeDynamicGroup: _reduxjs_toolkit.AsyncThunk<[{
|
|
216
240
|
payload: string;
|
|
217
241
|
type: "devices/removeGroup";
|
|
218
|
-
}, {
|
|
242
|
+
}, _reduxjs_toolkit.PayloadAction<unknown, string, {
|
|
243
|
+
arg: string;
|
|
244
|
+
requestId: string;
|
|
245
|
+
requestStatus: "rejected";
|
|
246
|
+
aborted: boolean;
|
|
247
|
+
condition: boolean;
|
|
248
|
+
} & ({
|
|
249
|
+
rejectedWithValue: true;
|
|
250
|
+
} | ({
|
|
251
|
+
rejectedWithValue: false;
|
|
252
|
+
} & {})), _reduxjs_toolkit.SerializedError> | _reduxjs_toolkit.PayloadAction<void | undefined, string, {
|
|
253
|
+
arg: string;
|
|
254
|
+
requestId: string;
|
|
255
|
+
requestStatus: "fulfilled";
|
|
256
|
+
}, never>, {
|
|
219
257
|
payload: string | SnackbarContent;
|
|
220
258
|
type: "app/setSnackbar";
|
|
221
259
|
}], string, {
|
|
@@ -798,4 +836,4 @@ declare const getGatewayDevices: _reduxjs_toolkit.AsyncThunk<any[], string, {
|
|
|
798
836
|
rejectedMeta?: unknown;
|
|
799
837
|
}>;
|
|
800
838
|
|
|
801
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroups, getGatewayDevices, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getSystemDevices, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
839
|
+
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroups, getGatewayDevices, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getSystemDevices, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
@@ -120,10 +120,34 @@ declare const addStaticGroup: _reduxjs_toolkit.AsyncThunk<[_reduxjs_toolkit.Payl
|
|
|
120
120
|
fulfilledMeta?: unknown;
|
|
121
121
|
rejectedMeta?: unknown;
|
|
122
122
|
}>;
|
|
123
|
+
declare const removeReportsByGroupName: _reduxjs_toolkit.AsyncThunk<void | undefined, string, {
|
|
124
|
+
dispatch: AppDispatch;
|
|
125
|
+
state: RootState;
|
|
126
|
+
extra?: unknown;
|
|
127
|
+
rejectValue?: unknown;
|
|
128
|
+
serializedErrorType?: unknown;
|
|
129
|
+
pendingMeta?: unknown;
|
|
130
|
+
fulfilledMeta?: unknown;
|
|
131
|
+
rejectedMeta?: unknown;
|
|
132
|
+
}>;
|
|
123
133
|
declare const removeStaticGroup: _reduxjs_toolkit.AsyncThunk<[{
|
|
124
134
|
payload: string;
|
|
125
135
|
type: "devices/removeGroup";
|
|
126
|
-
}, _reduxjs_toolkit.PayloadAction<
|
|
136
|
+
}, _reduxjs_toolkit.PayloadAction<unknown, string, {
|
|
137
|
+
arg: string;
|
|
138
|
+
requestId: string;
|
|
139
|
+
requestStatus: "rejected";
|
|
140
|
+
aborted: boolean;
|
|
141
|
+
condition: boolean;
|
|
142
|
+
} & ({
|
|
143
|
+
rejectedWithValue: true;
|
|
144
|
+
} | ({
|
|
145
|
+
rejectedWithValue: false;
|
|
146
|
+
} & {})), _reduxjs_toolkit.SerializedError> | _reduxjs_toolkit.PayloadAction<void | undefined, string, {
|
|
147
|
+
arg: string;
|
|
148
|
+
requestId: string;
|
|
149
|
+
requestStatus: "fulfilled";
|
|
150
|
+
}, never>, _reduxjs_toolkit.PayloadAction<any, string, {
|
|
127
151
|
arg: void;
|
|
128
152
|
requestId: string;
|
|
129
153
|
requestStatus: "fulfilled";
|
|
@@ -215,7 +239,21 @@ declare const updateDynamicGroup: _reduxjs_toolkit.AsyncThunk<any, {
|
|
|
215
239
|
declare const removeDynamicGroup: _reduxjs_toolkit.AsyncThunk<[{
|
|
216
240
|
payload: string;
|
|
217
241
|
type: "devices/removeGroup";
|
|
218
|
-
}, {
|
|
242
|
+
}, _reduxjs_toolkit.PayloadAction<unknown, string, {
|
|
243
|
+
arg: string;
|
|
244
|
+
requestId: string;
|
|
245
|
+
requestStatus: "rejected";
|
|
246
|
+
aborted: boolean;
|
|
247
|
+
condition: boolean;
|
|
248
|
+
} & ({
|
|
249
|
+
rejectedWithValue: true;
|
|
250
|
+
} | ({
|
|
251
|
+
rejectedWithValue: false;
|
|
252
|
+
} & {})), _reduxjs_toolkit.SerializedError> | _reduxjs_toolkit.PayloadAction<void | undefined, string, {
|
|
253
|
+
arg: string;
|
|
254
|
+
requestId: string;
|
|
255
|
+
requestStatus: "fulfilled";
|
|
256
|
+
}, never>, {
|
|
219
257
|
payload: string | SnackbarContent;
|
|
220
258
|
type: "app/setSnackbar";
|
|
221
259
|
}], string, {
|
|
@@ -798,4 +836,4 @@ declare const getGatewayDevices: _reduxjs_toolkit.AsyncThunk<any[], string, {
|
|
|
798
836
|
rejectedMeta?: unknown;
|
|
799
837
|
}>;
|
|
800
838
|
|
|
801
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroups, getGatewayDevices, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getSystemDevices, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
839
|
+
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroups, getGatewayDevices, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getSystemDevices, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
preauthDevice,
|
|
32
32
|
removeDevicesFromGroup,
|
|
33
33
|
removeDynamicGroup,
|
|
34
|
+
removeReportsByGroupName,
|
|
34
35
|
removeStaticGroup,
|
|
35
36
|
searchDevices,
|
|
36
37
|
selectGroup,
|
|
@@ -43,39 +44,39 @@ import {
|
|
|
43
44
|
updateDevicesAuth,
|
|
44
45
|
updateDynamicGroup,
|
|
45
46
|
updateReportData
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
47
|
+
} from "../chunk-AY7E7VA6.js";
|
|
48
|
+
import "../chunk-E657OJL4.js";
|
|
49
|
+
import "../chunk-V6BWOIRC.js";
|
|
50
|
+
import "../chunk-P3N2J3QT.js";
|
|
50
51
|
import "../chunk-XJLZK4QY.js";
|
|
51
52
|
import "../chunk-IRQRV552.js";
|
|
52
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-3JBVI4UH.js";
|
|
54
|
+
import "../chunk-CQXDAXQF.js";
|
|
53
55
|
import "../chunk-YR65C62H.js";
|
|
54
|
-
import "../chunk-VODRLEDP.js";
|
|
55
56
|
import "../chunk-TRKA7XYU.js";
|
|
56
|
-
import "../chunk-CQXDAXQF.js";
|
|
57
|
-
import "../chunk-VCEFZTWS.js";
|
|
58
57
|
import "../chunk-PVCHKW35.js";
|
|
58
|
+
import "../chunk-TIL2S3JA.js";
|
|
59
|
+
import "../chunk-VODRLEDP.js";
|
|
59
60
|
import "../chunk-6WJI4MOP.js";
|
|
60
61
|
import "../chunk-OLKM53RL.js";
|
|
61
62
|
import "../chunk-UVTLZV34.js";
|
|
62
63
|
import "../chunk-53W2NRSL.js";
|
|
63
64
|
import "../chunk-NMAXZ3ZY.js";
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-QL6FN2JC.js";
|
|
66
|
-
import "../chunk-O7DR57RN.js";
|
|
67
|
-
import "../chunk-GEQ2QQEE.js";
|
|
65
|
+
import "../chunk-FXKMYYK5.js";
|
|
68
66
|
import "../chunk-JIS4PA3R.js";
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
67
|
+
import "../chunk-4ZYLGBJU.js";
|
|
68
|
+
import "../chunk-PL6RIFD5.js";
|
|
71
69
|
import "../chunk-YO22XLHI.js";
|
|
70
|
+
import "../chunk-ZZQJWNQT.js";
|
|
71
|
+
import "../chunk-WR6RQKF5.js";
|
|
72
|
+
import "../chunk-ZGRY42BZ.js";
|
|
72
73
|
import "../chunk-4BHM6WVX.js";
|
|
73
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-7WIISD2N.js";
|
|
74
75
|
import "../chunk-WWED74SG.js";
|
|
75
76
|
import "../chunk-2DYA3X77.js";
|
|
76
|
-
import "../chunk-ZKAH3APE.js";
|
|
77
77
|
import "../chunk-FAJ3I2UQ.js";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-ZKAH3APE.js";
|
|
79
|
+
import "../chunk-DBBE6D36.js";
|
|
79
80
|
export {
|
|
80
81
|
addDevicesToGroup,
|
|
81
82
|
addDynamicGroup,
|
|
@@ -109,6 +110,7 @@ export {
|
|
|
109
110
|
preauthDevice,
|
|
110
111
|
removeDevicesFromGroup,
|
|
111
112
|
removeDynamicGroup,
|
|
113
|
+
removeReportsByGroupName,
|
|
112
114
|
removeStaticGroup,
|
|
113
115
|
searchDevices,
|
|
114
116
|
selectGroup,
|
package/dist/liststatehook.js
CHANGED
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
} from "./chunk-53W2NRSL.js";
|
|
19
19
|
import "./chunk-WWED74SG.js";
|
|
20
20
|
import "./chunk-2DYA3X77.js";
|
|
21
|
-
import "./chunk-ZKAH3APE.js";
|
|
22
21
|
import "./chunk-FAJ3I2UQ.js";
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ZKAH3APE.js";
|
|
23
|
+
import "./chunk-DBBE6D36.js";
|
|
24
24
|
|
|
25
25
|
// src/liststatehook.ts
|
|
26
26
|
import { useCallback, useMemo } from "react";
|
package/dist/locationutils.js
CHANGED
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
} from "./chunk-53W2NRSL.js";
|
|
21
21
|
import "./chunk-WWED74SG.js";
|
|
22
22
|
import "./chunk-2DYA3X77.js";
|
|
23
|
-
import "./chunk-ZKAH3APE.js";
|
|
24
23
|
import "./chunk-FAJ3I2UQ.js";
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ZKAH3APE.js";
|
|
25
|
+
import "./chunk-DBBE6D36.js";
|
|
26
26
|
export {
|
|
27
27
|
commonProcessor,
|
|
28
28
|
formatAuditlogs,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
} from "../chunk-PVCHKW35.js";
|
|
8
8
|
import "../chunk-WWED74SG.js";
|
|
9
9
|
import "../chunk-2DYA3X77.js";
|
|
10
|
-
import "../chunk-ZKAH3APE.js";
|
|
11
10
|
import "../chunk-FAJ3I2UQ.js";
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-ZKAH3APE.js";
|
|
12
|
+
import "../chunk-DBBE6D36.js";
|
|
13
13
|
export {
|
|
14
14
|
actions,
|
|
15
15
|
monitorSlice_default as default,
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
DEVICE_LIST_DEFAULTS
|
|
7
7
|
} from "../chunk-WWED74SG.js";
|
|
8
8
|
import "../chunk-2DYA3X77.js";
|
|
9
|
-
import "../chunk-ZKAH3APE.js";
|
|
10
9
|
import "../chunk-FAJ3I2UQ.js";
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-ZKAH3APE.js";
|
|
11
|
+
import "../chunk-DBBE6D36.js";
|
|
12
12
|
|
|
13
13
|
// src/monitorSlice/mocks.ts
|
|
14
14
|
var mockState = {
|
|
@@ -47,10 +47,6 @@ var import_constants3 = require("@northern.tech/utils/constants");
|
|
|
47
47
|
// src/appSlice/constants.ts
|
|
48
48
|
var import_icons_material = require("@mui/icons-material");
|
|
49
49
|
var import_utils = require("@northern.tech/utils");
|
|
50
|
-
var startingDeviceCount = {
|
|
51
|
-
os: "for first 50 devices",
|
|
52
|
-
professional: "for first 250 devices"
|
|
53
|
-
};
|
|
54
50
|
var chartTypes = {
|
|
55
51
|
bar: { key: "bar", Icon: import_icons_material.BarChart },
|
|
56
52
|
pie: { key: "pie", Icon: import_icons_material.PieChartOutline }
|
|
@@ -62,82 +58,48 @@ var PLANS = {
|
|
|
62
58
|
os: {
|
|
63
59
|
id: "os",
|
|
64
60
|
name: "Basic",
|
|
65
|
-
|
|
66
|
-
offer: true,
|
|
67
|
-
price: "$34 / month",
|
|
68
|
-
deviceCount: startingDeviceCount.os,
|
|
69
|
-
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.",
|
|
70
|
-
features: ["Access to core features of Mender", "Basic support"]
|
|
61
|
+
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."
|
|
71
62
|
},
|
|
72
63
|
professional: {
|
|
73
64
|
id: "professional",
|
|
74
65
|
name: "Professional",
|
|
75
|
-
|
|
76
|
-
offer: true,
|
|
77
|
-
price: "$291 / month",
|
|
78
|
-
deviceCount: startingDeviceCount.professional,
|
|
79
|
-
description: "Everything in Basic, plus enhanced update management and automation features.",
|
|
80
|
-
features: ["Advanced OTA features", "Higher priority support"]
|
|
66
|
+
description: "Everything in Basic, plus enhanced update management and automation features."
|
|
81
67
|
},
|
|
82
68
|
enterprise: {
|
|
83
69
|
id: "enterprise",
|
|
84
70
|
name: "Enterprise",
|
|
85
|
-
|
|
86
|
-
price: "Custom pricing",
|
|
87
|
-
deviceCount: "Unlimited devices",
|
|
88
|
-
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.",
|
|
89
|
-
features: ["All Mender features", "Advanced security features", "SLA-backed support"]
|
|
71
|
+
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."
|
|
90
72
|
}
|
|
91
73
|
};
|
|
92
74
|
var ADDONS = {
|
|
93
75
|
configure: {
|
|
94
76
|
id: "configure",
|
|
95
77
|
title: "Configure",
|
|
96
|
-
description: "
|
|
78
|
+
description: "Seamlessly configure applications and devices remotely \u2013 configure each device to its environment.",
|
|
97
79
|
needs: ["hasDeviceConfig"],
|
|
98
|
-
os: {
|
|
99
|
-
price: "$11/month",
|
|
100
|
-
deviceCount: startingDeviceCount.os
|
|
101
|
-
},
|
|
102
|
-
professional: {
|
|
103
|
-
price: "$65/month",
|
|
104
|
-
deviceCount: startingDeviceCount.professional
|
|
105
|
-
},
|
|
106
80
|
eligible: ["os", "professional", "enterprise"]
|
|
107
81
|
},
|
|
108
82
|
monitor: {
|
|
109
83
|
id: "monitor",
|
|
110
84
|
title: "Monitor",
|
|
111
|
-
description: "
|
|
85
|
+
description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
|
|
112
86
|
needs: ["hasMonitor"],
|
|
113
|
-
os: {
|
|
114
|
-
price: "-",
|
|
115
|
-
deviceCount: "-"
|
|
116
|
-
},
|
|
117
|
-
professional: {
|
|
118
|
-
price: "$86/month",
|
|
119
|
-
deviceCount: startingDeviceCount.professional
|
|
120
|
-
},
|
|
121
87
|
eligible: ["professional", "enterprise"]
|
|
122
88
|
},
|
|
123
89
|
troubleshoot: {
|
|
124
90
|
id: "troubleshoot",
|
|
125
91
|
title: "Troubleshoot",
|
|
126
|
-
description: "
|
|
92
|
+
description: "Secure, remote access to your devices \u2013 quickly diagnose and fix issues in real time.",
|
|
127
93
|
needs: ["hasDeviceConnect"],
|
|
128
|
-
os: {
|
|
129
|
-
price: "$27/month",
|
|
130
|
-
deviceCount: startingDeviceCount.os
|
|
131
|
-
},
|
|
132
|
-
professional: {
|
|
133
|
-
price: "$72/month",
|
|
134
|
-
deviceCount: startingDeviceCount.professional
|
|
135
|
-
},
|
|
136
94
|
eligible: ["os", "professional", "enterprise"]
|
|
137
95
|
}
|
|
138
96
|
};
|
|
139
97
|
var BENEFITS = {
|
|
140
|
-
auditlog: {
|
|
98
|
+
auditlog: {
|
|
99
|
+
id: "auditlog",
|
|
100
|
+
benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays",
|
|
101
|
+
requiredPlan: PLANS.enterprise.id
|
|
102
|
+
},
|
|
141
103
|
dashboard: { id: "dashboard", benefit: "actionable insights into the devices you are updating with Mender", requiredPlan: PLANS.enterprise.id },
|
|
142
104
|
deltaGeneration: {
|
|
143
105
|
id: "deltaGeneration",
|
|
@@ -1336,6 +1298,9 @@ var organizationSlice = (0, import_toolkit6.createSlice)({
|
|
|
1336
1298
|
setSubscription: (state, action) => {
|
|
1337
1299
|
state.organization.subscription = { ...state.organization.subscription, ...action.payload };
|
|
1338
1300
|
},
|
|
1301
|
+
setProducts: (state, action) => {
|
|
1302
|
+
state.products = action.payload;
|
|
1303
|
+
},
|
|
1339
1304
|
setBillingProfile: (state, action) => {
|
|
1340
1305
|
state.organization.billing_profile = action.payload;
|
|
1341
1306
|
},
|
|
@@ -1898,17 +1863,14 @@ var getAttributesList = (0, import_toolkit11.createSelector)(
|
|
|
1898
1863
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
1899
1864
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers3.duplicateFilter)
|
|
1900
1865
|
);
|
|
1901
|
-
var getDeviceLimitStats = (0, import_toolkit11.createSelector)(
|
|
1902
|
-
|
|
1903
|
-
(limits,
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
}));
|
|
1910
|
-
}
|
|
1911
|
-
);
|
|
1866
|
+
var getDeviceLimitStats = (0, import_toolkit11.createSelector)([getDeviceLimits, getAcceptedDevices], (limits, accepted) => {
|
|
1867
|
+
const { counts } = accepted;
|
|
1868
|
+
return Object.entries(limits).filter(([, limit]) => limit !== 0).map(([type, limit]) => ({
|
|
1869
|
+
type,
|
|
1870
|
+
limit,
|
|
1871
|
+
total: counts[type] || 0
|
|
1872
|
+
}));
|
|
1873
|
+
});
|
|
1912
1874
|
var getDeviceTypes = (0, import_toolkit11.createSelector)(
|
|
1913
1875
|
[getAcceptedDevices, getDevicesById],
|
|
1914
1876
|
({ deviceIds = [] }, devicesById) => Object.keys(
|