@northern.tech/store 0.42.0 → 0.44.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.d.cts +3 -3
- package/dist/actions.d.ts +3 -3
- package/dist/appSlice/index.cjs +1 -0
- package/dist/appSlice/index.cjs.map +1 -1
- package/dist/appSlice/index.js +1 -0
- package/dist/appSlice/index.js.map +1 -1
- package/dist/appSlice/selectors.d.cts +3 -3
- package/dist/appSlice/selectors.d.ts +3 -3
- package/dist/appSlice/thunks.d.cts +1 -1
- package/dist/appSlice/thunks.d.ts +1 -1
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/commonSelectors.d.cts +3 -3
- package/dist/commonSelectors.d.ts +3 -3
- package/dist/deploymentsSlice/selectors.d.cts +3 -3
- package/dist/deploymentsSlice/selectors.d.ts +3 -3
- package/dist/deploymentsSlice/thunks.d.cts +2 -2
- package/dist/deploymentsSlice/thunks.d.ts +2 -2
- package/dist/devicesSlice/index.cjs +4 -1
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.d.cts +2 -2
- package/dist/devicesSlice/index.d.ts +2 -2
- package/dist/devicesSlice/index.js +4 -1
- package/dist/devicesSlice/index.js.map +1 -1
- package/dist/devicesSlice/mocks.d.cts +1 -0
- package/dist/devicesSlice/mocks.d.ts +1 -0
- package/dist/devicesSlice/selectors.cjs +2 -0
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +35 -34
- package/dist/devicesSlice/selectors.d.ts +35 -34
- package/dist/devicesSlice/selectors.js +2 -1
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.cjs +1 -0
- package/dist/devicesSlice/thunks.d.cts +18 -5
- package/dist/devicesSlice/thunks.d.ts +18 -5
- package/dist/devicesSlice/thunks.js +2 -2
- package/dist/{index-Bvyf8OO6.d.ts → index-BpamudGf.d.ts} +8 -6
- package/dist/{index-CpfhQHfg.d.ts → index-C0yQmQih.d.ts} +4 -2
- package/dist/{index-BgF6rhXn.d.cts → index-DjSjrp5b.d.cts} +4 -2
- package/dist/{index-CiQ95u1W.d.cts → index-DnKVKM0G.d.cts} +8 -6
- package/dist/locationutils.d.cts +1 -1
- package/dist/locationutils.d.ts +1 -1
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- package/dist/monitorSlice/thunks.d.cts +2 -2
- package/dist/monitorSlice/thunks.d.ts +2 -2
- package/dist/onboardingSlice/selectors.d.cts +1 -1
- package/dist/onboardingSlice/selectors.d.ts +1 -1
- package/dist/onboardingSlice/thunks.d.cts +2 -2
- package/dist/onboardingSlice/thunks.d.ts +2 -2
- package/dist/organizationSlice/selectors.d.cts +3 -3
- package/dist/organizationSlice/selectors.d.ts +3 -3
- package/dist/organizationSlice/thunks.cjs +1 -0
- package/dist/organizationSlice/thunks.d.cts +16 -3
- package/dist/organizationSlice/thunks.d.ts +16 -3
- package/dist/organizationSlice/thunks.js +2 -2
- package/dist/releasesSlice/selectors.d.cts +3 -3
- package/dist/releasesSlice/selectors.d.ts +3 -3
- package/dist/releasesSlice/thunks.cjs +5 -8
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +1 -1
- package/dist/releasesSlice/thunks.d.ts +1 -1
- package/dist/releasesSlice/thunks.js +5 -8
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors.cjs +1 -0
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/{store-CPptM5Ts.d.ts → store-BKVs6gSc.d.ts} +3 -3
- package/dist/{store-CUUm1GTI.d.cts → store-ByJVpIz9.d.cts} +3 -3
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/storehooks.cjs +3 -1
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.d.cts +2 -2
- package/dist/storehooks.d.ts +2 -2
- package/dist/storehooks.js +3 -1
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +17 -1
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +3 -3
- package/dist/thunks.d.ts +3 -3
- package/dist/thunks.js +17 -3
- package/dist/thunks.js.map +1 -1
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.d.cts +1 -1
- package/dist/usersSlice/index.d.ts +1 -1
- package/dist/usersSlice/index.js.map +1 -1
- package/dist/usersSlice/mocks.d.cts +1 -1
- package/dist/usersSlice/mocks.d.ts +1 -1
- package/dist/usersSlice/selectors.d.cts +3 -3
- package/dist/usersSlice/selectors.d.ts +3 -3
- package/dist/usersSlice/thunks.d.cts +2 -2
- package/dist/usersSlice/thunks.d.ts +2 -2
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ht as DeviceAuthState, m as DeviceIssueOptionKey } from "../constants-Rl3FJzFf.cjs";
|
|
2
|
-
import { i as DeviceGroup, o as DeviceListState, r as DeviceFilter, s as DeviceSelectedAttribute, t as Device$1 } from "../index-
|
|
2
|
+
import { i as DeviceGroup, o as DeviceListState, r as DeviceFilter, s as DeviceSelectedAttribute, t as Device$1 } from "../index-DnKVKM0G.cjs";
|
|
3
3
|
import { i as SnackbarContent, n as SearchState } from "../index-DeOpb2oK.cjs";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
-
import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse,
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-ByJVpIz9.cjs";
|
|
5
|
+
import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SearchIdentityParams, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
6
6
|
//#region src/devicesSlice/thunks.d.ts
|
|
7
7
|
declare const getGroups: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
8
|
payload: {
|
|
@@ -307,7 +307,7 @@ declare const getAllDeviceCounts: import("@reduxjs/toolkit").AsyncThunk<void, vo
|
|
|
307
307
|
rejectedMeta?: unknown;
|
|
308
308
|
}>;
|
|
309
309
|
declare const getDeviceLimits: import("@reduxjs/toolkit").AsyncThunk<{
|
|
310
|
-
payload: DeviceTierLimits;
|
|
310
|
+
payload: import("@northern.tech/types/types.gen").DeviceTierLimits;
|
|
311
311
|
type: "devices/setDeviceLimits";
|
|
312
312
|
}, void, {
|
|
313
313
|
dispatch: AppDispatch;
|
|
@@ -403,6 +403,19 @@ declare const searchDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
403
403
|
fulfilledMeta?: unknown;
|
|
404
404
|
rejectedMeta?: unknown;
|
|
405
405
|
}>;
|
|
406
|
+
declare const searchIdentities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
407
|
+
devices: DeviceInventoryResponse[];
|
|
408
|
+
total: number;
|
|
409
|
+
}, SearchIdentityParams, {
|
|
410
|
+
dispatch: AppDispatch;
|
|
411
|
+
state: RootState;
|
|
412
|
+
extra?: unknown;
|
|
413
|
+
rejectValue?: unknown;
|
|
414
|
+
serializedErrorType?: unknown;
|
|
415
|
+
pendingMeta?: unknown;
|
|
416
|
+
fulfilledMeta?: unknown;
|
|
417
|
+
rejectedMeta?: unknown;
|
|
418
|
+
}>;
|
|
406
419
|
declare const getDeviceAttributes: import("@reduxjs/toolkit").AsyncThunk<{
|
|
407
420
|
payload: {
|
|
408
421
|
identityAttributes: string[];
|
|
@@ -862,5 +875,5 @@ declare const getDeviceComponents: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
862
875
|
rejectedMeta?: unknown;
|
|
863
876
|
}>;
|
|
864
877
|
//#endregion
|
|
865
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
878
|
+
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, searchIdentities, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
866
879
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ht as DeviceAuthState, m as DeviceIssueOptionKey } from "../constants-B_H4squx.js";
|
|
2
|
-
import { i as DeviceGroup, o as DeviceListState, r as DeviceFilter, s as DeviceSelectedAttribute, t as Device$1 } from "../index-
|
|
2
|
+
import { i as DeviceGroup, o as DeviceListState, r as DeviceFilter, s as DeviceSelectedAttribute, t as Device$1 } from "../index-BpamudGf.js";
|
|
3
3
|
import { i as SnackbarContent, n as SearchState } from "../index-Bs0c1-WY.js";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
-
import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse,
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BKVs6gSc.js";
|
|
5
|
+
import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SearchIdentityParams, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
6
6
|
//#region src/devicesSlice/thunks.d.ts
|
|
7
7
|
declare const getGroups: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
8
|
payload: {
|
|
@@ -307,7 +307,7 @@ declare const getAllDeviceCounts: import("@reduxjs/toolkit").AsyncThunk<void, vo
|
|
|
307
307
|
rejectedMeta?: unknown;
|
|
308
308
|
}>;
|
|
309
309
|
declare const getDeviceLimits: import("@reduxjs/toolkit").AsyncThunk<{
|
|
310
|
-
payload: DeviceTierLimits;
|
|
310
|
+
payload: import("@northern.tech/types/types.gen").DeviceTierLimits;
|
|
311
311
|
type: "devices/setDeviceLimits";
|
|
312
312
|
}, void, {
|
|
313
313
|
dispatch: AppDispatch;
|
|
@@ -403,6 +403,19 @@ declare const searchDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
403
403
|
fulfilledMeta?: unknown;
|
|
404
404
|
rejectedMeta?: unknown;
|
|
405
405
|
}>;
|
|
406
|
+
declare const searchIdentities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
407
|
+
devices: DeviceInventoryResponse[];
|
|
408
|
+
total: number;
|
|
409
|
+
}, SearchIdentityParams, {
|
|
410
|
+
dispatch: AppDispatch;
|
|
411
|
+
state: RootState;
|
|
412
|
+
extra?: unknown;
|
|
413
|
+
rejectValue?: unknown;
|
|
414
|
+
serializedErrorType?: unknown;
|
|
415
|
+
pendingMeta?: unknown;
|
|
416
|
+
fulfilledMeta?: unknown;
|
|
417
|
+
rejectedMeta?: unknown;
|
|
418
|
+
}>;
|
|
406
419
|
declare const getDeviceAttributes: import("@reduxjs/toolkit").AsyncThunk<{
|
|
407
420
|
payload: {
|
|
408
421
|
identityAttributes: string[];
|
|
@@ -862,5 +875,5 @@ declare const getDeviceComponents: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
862
875
|
rejectedMeta?: unknown;
|
|
863
876
|
}>;
|
|
864
877
|
//#endregion
|
|
865
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
878
|
+
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, searchIdentities, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
866
879
|
//# sourceMappingURL=thunks.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData } from "../thunks.js";
|
|
2
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
1
|
+
import { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, searchIdentities, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData } from "../thunks.js";
|
|
2
|
+
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, searchIdentities, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
@@ -4,6 +4,7 @@ import { PayloadAction } from "@reduxjs/toolkit";
|
|
|
4
4
|
import { AttributeResponse, ConnectionState, Device, DeviceConfiguration, DeviceState, DeviceTierLimits, MonitorConfiguration, Scope, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
5
5
|
//#region src/devicesSlice/index.d.ts
|
|
6
6
|
declare const sliceName = "devices";
|
|
7
|
+
type DeviceTierLimits$1 = Omit<DeviceTierLimits, 'test'>;
|
|
7
8
|
type DeviceSelectedAttribute = {
|
|
8
9
|
attribute: string;
|
|
9
10
|
scope: string;
|
|
@@ -96,7 +97,7 @@ type DeviceGroups = {
|
|
|
96
97
|
type DeviceSliceType = {
|
|
97
98
|
byId: Record<string, Device$1>;
|
|
98
99
|
byStatus: Record<DeviceAuthState, {
|
|
99
|
-
counts: DeviceTierLimits & {
|
|
100
|
+
counts: DeviceTierLimits$1 & {
|
|
100
101
|
total: number;
|
|
101
102
|
};
|
|
102
103
|
deviceIds: string[];
|
|
@@ -107,9 +108,10 @@ type DeviceSliceType = {
|
|
|
107
108
|
filteringAttributesLimit: number;
|
|
108
109
|
filters: DeviceFilter[];
|
|
109
110
|
groups: DeviceGroups;
|
|
110
|
-
limits: DeviceTierLimits;
|
|
111
|
+
limits: DeviceTierLimits$1;
|
|
111
112
|
reports: DeviceReport[];
|
|
112
113
|
testDeviceCount: number;
|
|
114
|
+
testDeviceLimit: number;
|
|
113
115
|
total: number;
|
|
114
116
|
};
|
|
115
117
|
declare const initialState: DeviceSliceType;
|
|
@@ -141,7 +143,7 @@ declare const devicesSlice: import("@reduxjs/toolkit").Slice<DeviceSliceType, {
|
|
|
141
143
|
total: number;
|
|
142
144
|
}>) => void;
|
|
143
145
|
setDevicesCountByStatus: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<{
|
|
144
|
-
countsPerTier: DeviceTierLimits;
|
|
146
|
+
countsPerTier: DeviceTierLimits$1;
|
|
145
147
|
status: DeviceAuthState;
|
|
146
148
|
}>) => void;
|
|
147
149
|
setDeviceLimits: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<DeviceTierLimits>) => void;
|
|
@@ -182,7 +184,7 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
182
184
|
total: number;
|
|
183
185
|
}>) => void;
|
|
184
186
|
setDevicesCountByStatus: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<{
|
|
185
|
-
countsPerTier: DeviceTierLimits;
|
|
187
|
+
countsPerTier: DeviceTierLimits$1;
|
|
186
188
|
status: DeviceAuthState;
|
|
187
189
|
}>) => void;
|
|
188
190
|
setDeviceLimits: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<DeviceTierLimits>) => void;
|
|
@@ -197,5 +199,5 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
197
199
|
}, "devices">;
|
|
198
200
|
declare const _default: import("redux").Reducer<DeviceSliceType>;
|
|
199
201
|
//#endregion
|
|
200
|
-
export { DeviceGroups as a, DeviceSliceType as c,
|
|
201
|
-
//# sourceMappingURL=index-
|
|
202
|
+
export { DeviceGroups as a, DeviceSliceType as c, _default as d, actions as f, sliceName as h, DeviceGroup as i, DeviceTierLimits$1 as l, initialState as m, DeviceComponents as n, DeviceListState as o, devicesSlice as p, DeviceFilter as r, DeviceSelectedAttribute as s, Device$1 as t, InventoryAttributes as u };
|
|
203
|
+
//# sourceMappingURL=index-BpamudGf.d.ts.map
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Ct as FilterOperator, S as Role, v as PermissionSet } from "./constants-B_H4squx.js";
|
|
2
2
|
import { i as ReadState } from "./constants-B3Jdkn2b.js";
|
|
3
3
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
4
|
-
import { DeploymentPhase, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
|
|
4
|
+
import { DeploymentPhase, PersonalAccessToken, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
|
|
5
5
|
//#region src/usersSlice/index.d.ts
|
|
6
6
|
declare const sliceName = "users";
|
|
7
7
|
type User$1 = User & TenantInfo & {
|
|
8
8
|
tenants?: TenantsIdName;
|
|
9
|
+
} & {
|
|
10
|
+
tokens?: PersonalAccessToken[];
|
|
9
11
|
};
|
|
10
12
|
type UserSession = {
|
|
11
13
|
expiresAt?: string;
|
|
@@ -145,4 +147,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
145
147
|
declare const _default: import("redux").Reducer<UserSliceType>;
|
|
146
148
|
//#endregion
|
|
147
149
|
export { UserSettings as a, actions as c, usersSlice as d, UserSession as i, initialState as l, GlobalSettings as n, UserSliceType as o, User$1 as r, _default as s, CustomColumn as t, sliceName as u };
|
|
148
|
-
//# sourceMappingURL=index-
|
|
150
|
+
//# sourceMappingURL=index-C0yQmQih.d.ts.map
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Ct as FilterOperator, S as Role, v as PermissionSet } from "./constants-Rl3FJzFf.cjs";
|
|
2
2
|
import { i as ReadState } from "./constants-B3Jdkn2b.cjs";
|
|
3
|
-
import { DeploymentPhase, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
|
|
3
|
+
import { DeploymentPhase, PersonalAccessToken, TenantInfo, TenantsIdName, User } from "@northern.tech/types/MenderTypes";
|
|
4
4
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
5
5
|
//#region src/usersSlice/index.d.ts
|
|
6
6
|
declare const sliceName = "users";
|
|
7
7
|
type User$1 = User & TenantInfo & {
|
|
8
8
|
tenants?: TenantsIdName;
|
|
9
|
+
} & {
|
|
10
|
+
tokens?: PersonalAccessToken[];
|
|
9
11
|
};
|
|
10
12
|
type UserSession = {
|
|
11
13
|
expiresAt?: string;
|
|
@@ -145,4 +147,4 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
145
147
|
declare const _default: import("redux").Reducer<UserSliceType>;
|
|
146
148
|
//#endregion
|
|
147
149
|
export { UserSettings as a, actions as c, usersSlice as d, UserSession as i, initialState as l, GlobalSettings as n, UserSliceType as o, User$1 as r, _default as s, CustomColumn as t, sliceName as u };
|
|
148
|
-
//# sourceMappingURL=index-
|
|
150
|
+
//# sourceMappingURL=index-DjSjrp5b.d.cts.map
|
|
@@ -4,6 +4,7 @@ import { AttributeResponse, ConnectionState, Device, DeviceConfiguration, Device
|
|
|
4
4
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
5
5
|
//#region src/devicesSlice/index.d.ts
|
|
6
6
|
declare const sliceName = "devices";
|
|
7
|
+
type DeviceTierLimits$1 = Omit<DeviceTierLimits, 'test'>;
|
|
7
8
|
type DeviceSelectedAttribute = {
|
|
8
9
|
attribute: string;
|
|
9
10
|
scope: string;
|
|
@@ -96,7 +97,7 @@ type DeviceGroups = {
|
|
|
96
97
|
type DeviceSliceType = {
|
|
97
98
|
byId: Record<string, Device$1>;
|
|
98
99
|
byStatus: Record<DeviceAuthState, {
|
|
99
|
-
counts: DeviceTierLimits & {
|
|
100
|
+
counts: DeviceTierLimits$1 & {
|
|
100
101
|
total: number;
|
|
101
102
|
};
|
|
102
103
|
deviceIds: string[];
|
|
@@ -107,9 +108,10 @@ type DeviceSliceType = {
|
|
|
107
108
|
filteringAttributesLimit: number;
|
|
108
109
|
filters: DeviceFilter[];
|
|
109
110
|
groups: DeviceGroups;
|
|
110
|
-
limits: DeviceTierLimits;
|
|
111
|
+
limits: DeviceTierLimits$1;
|
|
111
112
|
reports: DeviceReport[];
|
|
112
113
|
testDeviceCount: number;
|
|
114
|
+
testDeviceLimit: number;
|
|
113
115
|
total: number;
|
|
114
116
|
};
|
|
115
117
|
declare const initialState: DeviceSliceType;
|
|
@@ -141,7 +143,7 @@ declare const devicesSlice: import("@reduxjs/toolkit").Slice<DeviceSliceType, {
|
|
|
141
143
|
total: number;
|
|
142
144
|
}>) => void;
|
|
143
145
|
setDevicesCountByStatus: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<{
|
|
144
|
-
countsPerTier: DeviceTierLimits;
|
|
146
|
+
countsPerTier: DeviceTierLimits$1;
|
|
145
147
|
status: DeviceAuthState;
|
|
146
148
|
}>) => void;
|
|
147
149
|
setDeviceLimits: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<DeviceTierLimits>) => void;
|
|
@@ -182,7 +184,7 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
182
184
|
total: number;
|
|
183
185
|
}>) => void;
|
|
184
186
|
setDevicesCountByStatus: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<{
|
|
185
|
-
countsPerTier: DeviceTierLimits;
|
|
187
|
+
countsPerTier: DeviceTierLimits$1;
|
|
186
188
|
status: DeviceAuthState;
|
|
187
189
|
}>) => void;
|
|
188
190
|
setDeviceLimits: (state: import("immer").WritableDraft<DeviceSliceType>, action: PayloadAction<DeviceTierLimits>) => void;
|
|
@@ -197,5 +199,5 @@ declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
197
199
|
}, "devices">;
|
|
198
200
|
declare const _default: import("redux").Reducer<DeviceSliceType>;
|
|
199
201
|
//#endregion
|
|
200
|
-
export { DeviceGroups as a, DeviceSliceType as c,
|
|
201
|
-
//# sourceMappingURL=index-
|
|
202
|
+
export { DeviceGroups as a, DeviceSliceType as c, _default as d, actions as f, sliceName as h, DeviceGroup as i, DeviceTierLimits$1 as l, initialState as m, DeviceComponents as n, DeviceListState as o, devicesSlice as p, DeviceFilter as r, DeviceSelectedAttribute as s, Device$1 as t, InventoryAttributes as u };
|
|
203
|
+
//# sourceMappingURL=index-DnKVKM0G.d.cts.map
|
package/dist/locationutils.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as SortOptions, g as PaginationOptions } from "./constants-Rl3FJzFf.cjs";
|
|
2
2
|
import { t as AUDIT_LOGS_TYPES } from "./constants-OZiiFKiA.cjs";
|
|
3
|
-
import { r as DeviceFilter } from "./index-
|
|
3
|
+
import { r as DeviceFilter } from "./index-DnKVKM0G.cjs";
|
|
4
4
|
//#region src/locationutils.d.ts
|
|
5
5
|
type PageState = Partial<PaginationOptions> & {
|
|
6
6
|
[key: string]: unknown;
|
package/dist/locationutils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as SortOptions, g as PaginationOptions } from "./constants-B_H4squx.js";
|
|
2
2
|
import { t as AUDIT_LOGS_TYPES } from "./constants-OZiiFKiA.js";
|
|
3
|
-
import { r as DeviceFilter } from "./index-
|
|
3
|
+
import { r as DeviceFilter } from "./index-BpamudGf.js";
|
|
4
4
|
//#region src/locationutils.d.ts
|
|
5
5
|
type PageState = Partial<PaginationOptions> & {
|
|
6
6
|
[key: string]: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-Rl3FJzFf.cjs";
|
|
2
|
-
import { r as DeviceFilter, t as Device } from "../index-
|
|
2
|
+
import { r as DeviceFilter, t as Device } from "../index-DnKVKM0G.cjs";
|
|
3
3
|
import { i as SnackbarContent } from "../index-DeOpb2oK.cjs";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-ByJVpIz9.cjs";
|
|
5
5
|
//#region src/monitorSlice/thunks.d.ts
|
|
6
6
|
interface GetDeviceAlertsPayload {
|
|
7
7
|
config?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-B_H4squx.js";
|
|
2
|
-
import { r as DeviceFilter, t as Device } from "../index-
|
|
2
|
+
import { r as DeviceFilter, t as Device } from "../index-BpamudGf.js";
|
|
3
3
|
import { i as SnackbarContent } from "../index-Bs0c1-WY.js";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BKVs6gSc.js";
|
|
5
5
|
//#region src/monitorSlice/thunks.d.ts
|
|
6
6
|
interface GetDeviceAlertsPayload {
|
|
7
7
|
config?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-ByJVpIz9.cjs";
|
|
3
3
|
//#region src/onboardingSlice/selectors.d.ts
|
|
4
4
|
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-BKVs6gSc.js";
|
|
3
3
|
//#region src/onboardingSlice/selectors.d.ts
|
|
4
4
|
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
5
5
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../constants-Rl3FJzFf.cjs";
|
|
2
2
|
import { t as OnboardingStep } from "../constants-Db_RBdlV.cjs";
|
|
3
|
-
import { a as UserSettings } from "../index-
|
|
3
|
+
import { a as UserSettings } from "../index-DjSjrp5b.cjs";
|
|
4
4
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "../index-CoObjWL4.cjs";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-ByJVpIz9.cjs";
|
|
6
6
|
//#region src/onboardingSlice/thunks.d.ts
|
|
7
7
|
declare const getOnboardingState: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
8
8
|
payload: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../constants-B_H4squx.js";
|
|
2
2
|
import { t as OnboardingStep } from "../constants-Db_RBdlV.js";
|
|
3
|
-
import { a as UserSettings } from "../index-
|
|
3
|
+
import { a as UserSettings } from "../index-C0yQmQih.js";
|
|
4
4
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "../index-CoObjWL4.js";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-BKVs6gSc.js";
|
|
6
6
|
//#region src/onboardingSlice/thunks.d.ts
|
|
7
7
|
declare const getOnboardingState: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
8
8
|
payload: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index-DjSjrp5b.cjs";
|
|
2
2
|
import { i as ReleaseSliceType } from "../index-DiAjzARZ.cjs";
|
|
3
3
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, u as Tenant } from "../types-B80ckxiy.cjs";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-mvxjivTJ.cjs";
|
|
6
|
-
import { c as DeviceSliceType } from "../index-
|
|
6
|
+
import { c as DeviceSliceType } from "../index-DnKVKM0G.cjs";
|
|
7
7
|
import { t as AppSliceType } from "../index-DeOpb2oK.cjs";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-Ctj2r57a.cjs";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-C_LGDJN2.cjs";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-ByJVpIz9.cjs";
|
|
11
11
|
//#region src/organizationSlice/selectors.d.ts
|
|
12
12
|
declare const getOrganization: (state: RootState) => Partial<Organization>;
|
|
13
13
|
declare const getProducts: (state: RootState) => ProductConfig | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index-C0yQmQih.js";
|
|
2
2
|
import { i as ReleaseSliceType } from "../index-C8uiyxnb.js";
|
|
3
3
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, u as Tenant } from "../types-B3qGQoMx.js";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-B8td4-rY.js";
|
|
6
|
-
import { c as DeviceSliceType } from "../index-
|
|
6
|
+
import { c as DeviceSliceType } from "../index-BpamudGf.js";
|
|
7
7
|
import { t as AppSliceType } from "../index-Bs0c1-WY.js";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-BAGyeC-q.js";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-ChKTa1aL.js";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-BKVs6gSc.js";
|
|
11
11
|
//#region src/organizationSlice/selectors.d.ts
|
|
12
12
|
declare const getOrganization: (state: RootState) => Partial<Organization>;
|
|
13
13
|
declare const getProducts: (state: RootState) => ProductConfig | undefined;
|
|
@@ -25,6 +25,7 @@ exports.getProducts = require_thunks.getProducts;
|
|
|
25
25
|
exports.getSsoConfigById = require_thunks.getSsoConfigById;
|
|
26
26
|
exports.getSsoConfigs = require_thunks.getSsoConfigs;
|
|
27
27
|
exports.getTargetLocation = require_thunks.getTargetLocation;
|
|
28
|
+
exports.getTenantToken = require_thunks.getTenantToken;
|
|
28
29
|
exports.getTenants = require_thunks.getTenants;
|
|
29
30
|
exports.getUserBilling = require_thunks.getUserBilling;
|
|
30
31
|
exports.getUserOrganization = require_thunks.getUserOrganization;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as locations, a as AvailablePlans } from "../constants-nKSWZ8oD.cjs";
|
|
2
2
|
import { T as SortOptions, g as PaginationOptions } from "../constants-Rl3FJzFf.cjs";
|
|
3
3
|
import { n as ContentType } from "../constants-OZiiFKiA.cjs";
|
|
4
|
-
import { d as TenantList, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-B80ckxiy.cjs";
|
|
4
|
+
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-B80ckxiy.cjs";
|
|
5
5
|
import { i as SnackbarContent } from "../index-DeOpb2oK.cjs";
|
|
6
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
6
|
+
import { r as RootState, t as AppDispatch } from "../store-ByJVpIz9.cjs";
|
|
7
7
|
import { BillingProfile, Integration, NewTenantTypeManagement, PreviewRequest, Product, ProductInfo, Subscription, SupportRequest, UpdateChildTenant } from "@northern.tech/types/MenderTypes";
|
|
8
8
|
//#region src/organizationSlice/thunks.d.ts
|
|
9
9
|
declare const cancelRequest: import("@reduxjs/toolkit").AsyncThunk<{
|
|
@@ -337,6 +337,19 @@ declare const getUserOrganization: import("@reduxjs/toolkit").AsyncThunk<import(
|
|
|
337
337
|
fulfilledMeta?: unknown;
|
|
338
338
|
rejectedMeta?: unknown;
|
|
339
339
|
}>;
|
|
340
|
+
declare const getTenantToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
341
|
+
payload: Partial<Organization>;
|
|
342
|
+
type: "organization/setOrganization";
|
|
343
|
+
}, void, {
|
|
344
|
+
dispatch: AppDispatch;
|
|
345
|
+
state: RootState;
|
|
346
|
+
extra?: unknown;
|
|
347
|
+
rejectValue?: unknown;
|
|
348
|
+
serializedErrorType?: unknown;
|
|
349
|
+
pendingMeta?: unknown;
|
|
350
|
+
fulfilledMeta?: unknown;
|
|
351
|
+
rejectedMeta?: unknown;
|
|
352
|
+
}>;
|
|
340
353
|
declare const getUserBilling: import("@reduxjs/toolkit").AsyncThunk<{
|
|
341
354
|
payload: BillingProfile;
|
|
342
355
|
type: "organization/setBillingProfile";
|
|
@@ -692,5 +705,5 @@ declare const getSsoConfigs: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
692
705
|
rejectedMeta?: unknown;
|
|
693
706
|
}>;
|
|
694
707
|
//#endregion
|
|
695
|
-
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
708
|
+
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenantToken, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
696
709
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as locations, a as AvailablePlans } from "../constants-nKSWZ8oD.js";
|
|
2
2
|
import { T as SortOptions, g as PaginationOptions } from "../constants-B_H4squx.js";
|
|
3
3
|
import { n as ContentType } from "../constants-OZiiFKiA.js";
|
|
4
|
-
import { d as TenantList, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-B3qGQoMx.js";
|
|
4
|
+
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-B3qGQoMx.js";
|
|
5
5
|
import { i as SnackbarContent } from "../index-Bs0c1-WY.js";
|
|
6
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
6
|
+
import { r as RootState, t as AppDispatch } from "../store-BKVs6gSc.js";
|
|
7
7
|
import { BillingProfile, Integration, NewTenantTypeManagement, PreviewRequest, Product, ProductInfo, Subscription, SupportRequest, UpdateChildTenant } from "@northern.tech/types/MenderTypes";
|
|
8
8
|
//#region src/organizationSlice/thunks.d.ts
|
|
9
9
|
declare const cancelRequest: import("@reduxjs/toolkit").AsyncThunk<{
|
|
@@ -337,6 +337,19 @@ declare const getUserOrganization: import("@reduxjs/toolkit").AsyncThunk<import(
|
|
|
337
337
|
fulfilledMeta?: unknown;
|
|
338
338
|
rejectedMeta?: unknown;
|
|
339
339
|
}>;
|
|
340
|
+
declare const getTenantToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
341
|
+
payload: Partial<Organization>;
|
|
342
|
+
type: "organization/setOrganization";
|
|
343
|
+
}, void, {
|
|
344
|
+
dispatch: AppDispatch;
|
|
345
|
+
state: RootState;
|
|
346
|
+
extra?: unknown;
|
|
347
|
+
rejectValue?: unknown;
|
|
348
|
+
serializedErrorType?: unknown;
|
|
349
|
+
pendingMeta?: unknown;
|
|
350
|
+
fulfilledMeta?: unknown;
|
|
351
|
+
rejectedMeta?: unknown;
|
|
352
|
+
}>;
|
|
340
353
|
declare const getUserBilling: import("@reduxjs/toolkit").AsyncThunk<{
|
|
341
354
|
payload: BillingProfile;
|
|
342
355
|
type: "organization/setBillingProfile";
|
|
@@ -692,5 +705,5 @@ declare const getSsoConfigs: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
692
705
|
rejectedMeta?: unknown;
|
|
693
706
|
}>;
|
|
694
707
|
//#endregion
|
|
695
|
-
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
708
|
+
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenantToken, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
696
709
|
//# sourceMappingURL=thunks.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse } from "../thunks.js";
|
|
2
|
-
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
1
|
+
import { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenantToken, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse } from "../thunks.js";
|
|
2
|
+
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenant, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getProducts, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenantToken, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage, transformProductResponse };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index-DjSjrp5b.cjs";
|
|
2
2
|
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release, s as SoftwareList } from "../index-DiAjzARZ.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-mvxjivTJ.cjs";
|
|
5
|
-
import { c as DeviceSliceType } from "../index-
|
|
5
|
+
import { c as DeviceSliceType } from "../index-DnKVKM0G.cjs";
|
|
6
6
|
import { t as AppSliceType } from "../index-DeOpb2oK.cjs";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-Ctj2r57a.cjs";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-C_LGDJN2.cjs";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-ByJVpIz9.cjs";
|
|
10
10
|
import { Manifest, ReleaseV2, Software } from "@northern.tech/types/MenderTypes";
|
|
11
11
|
//#region src/releasesSlice/selectors.d.ts
|
|
12
12
|
declare const getActiveTab: (state: RootState) => "releases" | "delta" | "manifests" | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as UserSliceType } from "../index-
|
|
1
|
+
import { o as UserSliceType } from "../index-C0yQmQih.js";
|
|
2
2
|
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release, s as SoftwareList } from "../index-C8uiyxnb.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-B8td4-rY.js";
|
|
5
|
-
import { c as DeviceSliceType } from "../index-
|
|
5
|
+
import { c as DeviceSliceType } from "../index-BpamudGf.js";
|
|
6
6
|
import { t as AppSliceType } from "../index-Bs0c1-WY.js";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-BAGyeC-q.js";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-ChKTa1aL.js";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BKVs6gSc.js";
|
|
10
10
|
import { Manifest, ReleaseV2, Software } from "@northern.tech/types/MenderTypes";
|
|
11
11
|
//#region src/releasesSlice/selectors.d.ts
|
|
12
12
|
declare const getActiveTab: (state: RootState) => "releases" | "delta" | "manifests" | undefined;
|
|
@@ -379,7 +379,7 @@ const setSingleReleaseTags = require_store.createAppAsyncThunk(`${require_releas
|
|
|
379
379
|
const setReleaseTags = require_store.createAppAsyncThunk(`${require_releasesSlice_index.sliceName}/setReleaseTags`, ({ name, tags = [] }, { dispatch }) => dispatch(setSingleReleaseTags({
|
|
380
380
|
name,
|
|
381
381
|
tags
|
|
382
|
-
})).catch((err) => require_store.commonErrorHandler(err, `Release tags couldn't be set.`, dispatch)).then(() => {
|
|
382
|
+
})).unwrap().catch((err) => require_store.commonErrorHandler(err, `Release tags couldn't be set.`, dispatch)).then(() => {
|
|
383
383
|
dispatch(setSnackbar({
|
|
384
384
|
message: "Release tags were set successfully.",
|
|
385
385
|
autoHideDuration: require_constants.TIMEOUTS.fiveSeconds,
|
|
@@ -391,13 +391,10 @@ const setReleaseTags = require_store.createAppAsyncThunk(`${require_releasesSlic
|
|
|
391
391
|
});
|
|
392
392
|
}));
|
|
393
393
|
const setReleasesTags = require_store.createAppAsyncThunk(`${require_releasesSlice_index.sliceName}/setReleasesTags`, ({ releases, tags = [] }, { dispatch }) => {
|
|
394
|
-
const addRequests = releases.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
})));
|
|
399
|
-
return accu;
|
|
400
|
-
}, []);
|
|
394
|
+
const addRequests = releases.map((release) => dispatch(setSingleReleaseTags({
|
|
395
|
+
name: release.name,
|
|
396
|
+
tags: [.../* @__PURE__ */ new Set([...release.tags ?? [], ...tags])]
|
|
397
|
+
})).unwrap());
|
|
401
398
|
return Promise.all(addRequests).catch((err) => require_store.commonErrorHandler(err, `Releases couldn't be tagged.`, dispatch)).then(() => {
|
|
402
399
|
dispatch(setSnackbar({
|
|
403
400
|
message: "Releases were tagged successfully.",
|