@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
package/dist/thunks.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { getLatestReleaseInfo, setFirstLoginAfterSignup, setOfflineThreshold, setSearchState } from './appSlice/thunks.cjs';
|
|
2
2
|
export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriveDeploymentGroup, generateDeploymentLogAnalysis, getDeploymentDevices, getDeploymentsByStatus, getDeploymentsConfig, getDeviceDeployments, getDeviceLog, getSingleDeployment, resetDeviceDeployments, saveDeltaDeploymentsConfig, setDeploymentsState, updateDeploymentControlMap } from './deploymentsSlice/thunks.cjs';
|
|
3
|
-
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 } from './devicesSlice/thunks.cjs';
|
|
3
|
+
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 } from './devicesSlice/thunks.cjs';
|
|
4
4
|
export { changeNotificationSetting, getDeviceAlerts, getDeviceMonitorConfig, getIssueCountsByType, getLatestDeviceAlerts } from './monitorSlice/thunks.cjs';
|
|
5
5
|
export { advanceOnboarding, getOnboardingState, setOnboardingApproach, setOnboardingCanceled, setOnboardingComplete, setOnboardingDeviceType } from './onboardingSlice/thunks.cjs';
|
|
6
|
-
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenantDeviceLimit, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage } from './organizationSlice/thunks.cjs';
|
|
6
|
+
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenantDeviceLimit, 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 './organizationSlice/thunks.cjs';
|
|
7
7
|
export { cancelFileUpload, createArtifact, editArtifact, getArtifactInstallCount, getArtifactUrl, getDeltaGenerationJobDetails, getDeltaGenerationJobs, getExistingReleaseTags, getRelease, getReleases, getUpdateTypes, removeArtifact, removeRelease, removeReleases, selectRelease, setReleaseTags, setReleasesListState, setReleasesTags, setSingleReleaseTags, updateReleaseInfo, uploadArtifact } from './releasesSlice/thunks.cjs';
|
|
8
8
|
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart } from './usersSlice/thunks.cjs';
|
|
9
9
|
import '@reduxjs/toolkit';
|
package/dist/thunks.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { getLatestReleaseInfo, setFirstLoginAfterSignup, setOfflineThreshold, setSearchState } from './appSlice/thunks.js';
|
|
2
2
|
export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriveDeploymentGroup, generateDeploymentLogAnalysis, getDeploymentDevices, getDeploymentsByStatus, getDeploymentsConfig, getDeviceDeployments, getDeviceLog, getSingleDeployment, resetDeviceDeployments, saveDeltaDeploymentsConfig, setDeploymentsState, updateDeploymentControlMap } from './deploymentsSlice/thunks.js';
|
|
3
|
-
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 } from './devicesSlice/thunks.js';
|
|
3
|
+
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 } from './devicesSlice/thunks.js';
|
|
4
4
|
export { changeNotificationSetting, getDeviceAlerts, getDeviceMonitorConfig, getIssueCountsByType, getLatestDeviceAlerts } from './monitorSlice/thunks.js';
|
|
5
5
|
export { advanceOnboarding, getOnboardingState, setOnboardingApproach, setOnboardingCanceled, setOnboardingComplete, setOnboardingDeviceType } from './onboardingSlice/thunks.js';
|
|
6
|
-
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenantDeviceLimit, getAuditLogs, getAuditLogsCsvLink, getBillingPreview, getCurrentCard, getCurrentSubscription, getIntegrations, getSsoConfigById, getSsoConfigs, getTargetLocation, getTenants, getUserBilling, getUserOrganization, getUserSubscription, getWebhookEvents, removeTenant, requestPlanChange, requestPlanUpgrade, sendSupportMessage, setAuditlogsState, setTenantsListState, startCardUpdate, startUpgrade, storeSsoConfig, tenantDataDivergedMessage } from './organizationSlice/thunks.js';
|
|
6
|
+
export { addTenant, cancelRequest, cancelUpgrade, changeIntegration, changeSsoConfig, completeUpgrade, confirmCardUpdate, createBillingProfile, createIntegration, createOrganizationTrial, deleteIntegration, deleteSsoConfig, downloadLicenseReport, editBillingProfile, editTenantDeviceLimit, 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 './organizationSlice/thunks.js';
|
|
7
7
|
export { cancelFileUpload, createArtifact, editArtifact, getArtifactInstallCount, getArtifactUrl, getDeltaGenerationJobDetails, getDeltaGenerationJobs, getExistingReleaseTags, getRelease, getReleases, getUpdateTypes, removeArtifact, removeRelease, removeReleases, selectRelease, setReleaseTags, setReleasesListState, setReleasesTags, setSingleReleaseTags, updateReleaseInfo, uploadArtifact } from './releasesSlice/thunks.js';
|
|
8
8
|
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart } from './usersSlice/thunks.js';
|
|
9
9
|
import '@reduxjs/toolkit';
|
package/dist/thunks.js
CHANGED
|
@@ -70,6 +70,7 @@ import {
|
|
|
70
70
|
getLatestReleaseInfo,
|
|
71
71
|
getOnboardingState,
|
|
72
72
|
getPermissionSets,
|
|
73
|
+
getProducts,
|
|
73
74
|
getReportDataWithoutBackendSupport,
|
|
74
75
|
getRoles,
|
|
75
76
|
getSessionDetails,
|
|
@@ -96,6 +97,7 @@ import {
|
|
|
96
97
|
preauthDevice,
|
|
97
98
|
removeDevicesFromGroup,
|
|
98
99
|
removeDynamicGroup,
|
|
100
|
+
removeReportsByGroupName,
|
|
99
101
|
removeRole,
|
|
100
102
|
removeStaticGroup,
|
|
101
103
|
removeTenant,
|
|
@@ -133,6 +135,7 @@ import {
|
|
|
133
135
|
submitUserFeedback,
|
|
134
136
|
switchUserOrganization,
|
|
135
137
|
tenantDataDivergedMessage,
|
|
138
|
+
transformProductResponse,
|
|
136
139
|
triggerDeviceUpdate,
|
|
137
140
|
updateDeploymentControlMap,
|
|
138
141
|
updateDeviceAuth,
|
|
@@ -143,7 +146,7 @@ import {
|
|
|
143
146
|
verify2FA,
|
|
144
147
|
verifyEmailComplete,
|
|
145
148
|
verifyEmailStart
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-AY7E7VA6.js";
|
|
147
150
|
import {
|
|
148
151
|
cancelFileUpload,
|
|
149
152
|
createArtifact,
|
|
@@ -166,44 +169,44 @@ import {
|
|
|
166
169
|
setSingleReleaseTags,
|
|
167
170
|
updateReleaseInfo,
|
|
168
171
|
uploadArtifact
|
|
169
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-E657OJL4.js";
|
|
170
173
|
import {
|
|
171
174
|
changeNotificationSetting,
|
|
172
175
|
getDeviceAlerts,
|
|
173
176
|
getDeviceMonitorConfig,
|
|
174
177
|
getIssueCountsByType,
|
|
175
178
|
getLatestDeviceAlerts
|
|
176
|
-
} from "./chunk-
|
|
177
|
-
import "./chunk-
|
|
179
|
+
} from "./chunk-V6BWOIRC.js";
|
|
180
|
+
import "./chunk-P3N2J3QT.js";
|
|
178
181
|
import "./chunk-XJLZK4QY.js";
|
|
179
182
|
import "./chunk-IRQRV552.js";
|
|
180
|
-
import "./chunk-
|
|
183
|
+
import "./chunk-3JBVI4UH.js";
|
|
184
|
+
import "./chunk-CQXDAXQF.js";
|
|
181
185
|
import "./chunk-YR65C62H.js";
|
|
182
|
-
import "./chunk-VODRLEDP.js";
|
|
183
186
|
import "./chunk-TRKA7XYU.js";
|
|
184
|
-
import "./chunk-CQXDAXQF.js";
|
|
185
|
-
import "./chunk-VCEFZTWS.js";
|
|
186
187
|
import "./chunk-PVCHKW35.js";
|
|
188
|
+
import "./chunk-TIL2S3JA.js";
|
|
189
|
+
import "./chunk-VODRLEDP.js";
|
|
187
190
|
import "./chunk-6WJI4MOP.js";
|
|
188
191
|
import "./chunk-OLKM53RL.js";
|
|
189
192
|
import "./chunk-UVTLZV34.js";
|
|
190
193
|
import "./chunk-53W2NRSL.js";
|
|
191
194
|
import "./chunk-NMAXZ3ZY.js";
|
|
192
|
-
import "./chunk-
|
|
193
|
-
import "./chunk-QL6FN2JC.js";
|
|
194
|
-
import "./chunk-O7DR57RN.js";
|
|
195
|
-
import "./chunk-GEQ2QQEE.js";
|
|
195
|
+
import "./chunk-FXKMYYK5.js";
|
|
196
196
|
import "./chunk-JIS4PA3R.js";
|
|
197
|
-
import "./chunk-
|
|
198
|
-
import "./chunk-
|
|
197
|
+
import "./chunk-4ZYLGBJU.js";
|
|
198
|
+
import "./chunk-PL6RIFD5.js";
|
|
199
199
|
import "./chunk-YO22XLHI.js";
|
|
200
|
+
import "./chunk-ZZQJWNQT.js";
|
|
201
|
+
import "./chunk-WR6RQKF5.js";
|
|
202
|
+
import "./chunk-ZGRY42BZ.js";
|
|
200
203
|
import "./chunk-4BHM6WVX.js";
|
|
201
|
-
import "./chunk-
|
|
204
|
+
import "./chunk-7WIISD2N.js";
|
|
202
205
|
import "./chunk-WWED74SG.js";
|
|
203
206
|
import "./chunk-2DYA3X77.js";
|
|
204
|
-
import "./chunk-ZKAH3APE.js";
|
|
205
207
|
import "./chunk-FAJ3I2UQ.js";
|
|
206
|
-
import "./chunk-
|
|
208
|
+
import "./chunk-ZKAH3APE.js";
|
|
209
|
+
import "./chunk-DBBE6D36.js";
|
|
207
210
|
export {
|
|
208
211
|
abortDeployment,
|
|
209
212
|
addDevicesToGroup,
|
|
@@ -289,6 +292,7 @@ export {
|
|
|
289
292
|
getLatestReleaseInfo,
|
|
290
293
|
getOnboardingState,
|
|
291
294
|
getPermissionSets,
|
|
295
|
+
getProducts,
|
|
292
296
|
getRelease,
|
|
293
297
|
getReleases,
|
|
294
298
|
getReportDataWithoutBackendSupport,
|
|
@@ -321,6 +325,7 @@ export {
|
|
|
321
325
|
removeDynamicGroup,
|
|
322
326
|
removeRelease,
|
|
323
327
|
removeReleases,
|
|
328
|
+
removeReportsByGroupName,
|
|
324
329
|
removeRole,
|
|
325
330
|
removeStaticGroup,
|
|
326
331
|
removeTenant,
|
|
@@ -363,6 +368,7 @@ export {
|
|
|
363
368
|
submitUserFeedback,
|
|
364
369
|
switchUserOrganization,
|
|
365
370
|
tenantDataDivergedMessage,
|
|
371
|
+
transformProductResponse,
|
|
366
372
|
triggerDeviceUpdate,
|
|
367
373
|
updateDeploymentControlMap,
|
|
368
374
|
updateDeviceAuth,
|
|
@@ -60,10 +60,6 @@ var import_dayjs = __toESM(require("dayjs"), 1);
|
|
|
60
60
|
// src/appSlice/constants.ts
|
|
61
61
|
var import_icons_material = require("@mui/icons-material");
|
|
62
62
|
var import_utils = require("@northern.tech/utils");
|
|
63
|
-
var startingDeviceCount = {
|
|
64
|
-
os: "for first 50 devices",
|
|
65
|
-
professional: "for first 250 devices"
|
|
66
|
-
};
|
|
67
63
|
var chartTypes = {
|
|
68
64
|
bar: { key: "bar", Icon: import_icons_material.BarChart },
|
|
69
65
|
pie: { key: "pie", Icon: import_icons_material.PieChartOutline }
|
|
@@ -75,82 +71,48 @@ var PLANS = {
|
|
|
75
71
|
os: {
|
|
76
72
|
id: "os",
|
|
77
73
|
name: "Basic",
|
|
78
|
-
|
|
79
|
-
offer: true,
|
|
80
|
-
price: "$34 / month",
|
|
81
|
-
deviceCount: startingDeviceCount.os,
|
|
82
|
-
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.",
|
|
83
|
-
features: ["Access to core features of Mender", "Basic support"]
|
|
74
|
+
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."
|
|
84
75
|
},
|
|
85
76
|
professional: {
|
|
86
77
|
id: "professional",
|
|
87
78
|
name: "Professional",
|
|
88
|
-
|
|
89
|
-
offer: true,
|
|
90
|
-
price: "$291 / month",
|
|
91
|
-
deviceCount: startingDeviceCount.professional,
|
|
92
|
-
description: "Everything in Basic, plus enhanced update management and automation features.",
|
|
93
|
-
features: ["Advanced OTA features", "Higher priority support"]
|
|
79
|
+
description: "Everything in Basic, plus enhanced update management and automation features."
|
|
94
80
|
},
|
|
95
81
|
enterprise: {
|
|
96
82
|
id: "enterprise",
|
|
97
83
|
name: "Enterprise",
|
|
98
|
-
|
|
99
|
-
price: "Custom pricing",
|
|
100
|
-
deviceCount: "Unlimited devices",
|
|
101
|
-
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.",
|
|
102
|
-
features: ["All Mender features", "Advanced security features", "SLA-backed support"]
|
|
84
|
+
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."
|
|
103
85
|
}
|
|
104
86
|
};
|
|
105
87
|
var ADDONS = {
|
|
106
88
|
configure: {
|
|
107
89
|
id: "configure",
|
|
108
90
|
title: "Configure",
|
|
109
|
-
description: "
|
|
91
|
+
description: "Seamlessly configure applications and devices remotely \u2013 configure each device to its environment.",
|
|
110
92
|
needs: ["hasDeviceConfig"],
|
|
111
|
-
os: {
|
|
112
|
-
price: "$11/month",
|
|
113
|
-
deviceCount: startingDeviceCount.os
|
|
114
|
-
},
|
|
115
|
-
professional: {
|
|
116
|
-
price: "$65/month",
|
|
117
|
-
deviceCount: startingDeviceCount.professional
|
|
118
|
-
},
|
|
119
93
|
eligible: ["os", "professional", "enterprise"]
|
|
120
94
|
},
|
|
121
95
|
monitor: {
|
|
122
96
|
id: "monitor",
|
|
123
97
|
title: "Monitor",
|
|
124
|
-
description: "
|
|
98
|
+
description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
|
|
125
99
|
needs: ["hasMonitor"],
|
|
126
|
-
os: {
|
|
127
|
-
price: "-",
|
|
128
|
-
deviceCount: "-"
|
|
129
|
-
},
|
|
130
|
-
professional: {
|
|
131
|
-
price: "$86/month",
|
|
132
|
-
deviceCount: startingDeviceCount.professional
|
|
133
|
-
},
|
|
134
100
|
eligible: ["professional", "enterprise"]
|
|
135
101
|
},
|
|
136
102
|
troubleshoot: {
|
|
137
103
|
id: "troubleshoot",
|
|
138
104
|
title: "Troubleshoot",
|
|
139
|
-
description: "
|
|
105
|
+
description: "Secure, remote access to your devices \u2013 quickly diagnose and fix issues in real time.",
|
|
140
106
|
needs: ["hasDeviceConnect"],
|
|
141
|
-
os: {
|
|
142
|
-
price: "$27/month",
|
|
143
|
-
deviceCount: startingDeviceCount.os
|
|
144
|
-
},
|
|
145
|
-
professional: {
|
|
146
|
-
price: "$72/month",
|
|
147
|
-
deviceCount: startingDeviceCount.professional
|
|
148
|
-
},
|
|
149
107
|
eligible: ["os", "professional", "enterprise"]
|
|
150
108
|
}
|
|
151
109
|
};
|
|
152
110
|
var BENEFITS = {
|
|
153
|
-
auditlog: {
|
|
111
|
+
auditlog: {
|
|
112
|
+
id: "auditlog",
|
|
113
|
+
benefit: "gain access to logs for important events such as changes to devices, deployments and user management, as well as remote terminal session replays",
|
|
114
|
+
requiredPlan: PLANS.enterprise.id
|
|
115
|
+
},
|
|
154
116
|
dashboard: { id: "dashboard", benefit: "actionable insights into the devices you are updating with Mender", requiredPlan: PLANS.enterprise.id },
|
|
155
117
|
deltaGeneration: {
|
|
156
118
|
id: "deltaGeneration",
|
|
@@ -919,17 +881,14 @@ var getAttributesList = (0, import_toolkit3.createSelector)(
|
|
|
919
881
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
920
882
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers2.duplicateFilter)
|
|
921
883
|
);
|
|
922
|
-
var getDeviceLimitStats = (0, import_toolkit3.createSelector)(
|
|
923
|
-
|
|
924
|
-
(limits,
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
}));
|
|
931
|
-
}
|
|
932
|
-
);
|
|
884
|
+
var getDeviceLimitStats = (0, import_toolkit3.createSelector)([getDeviceLimits, getAcceptedDevices], (limits, accepted) => {
|
|
885
|
+
const { counts } = accepted;
|
|
886
|
+
return Object.entries(limits).filter(([, limit]) => limit !== 0).map(([type, limit]) => ({
|
|
887
|
+
type,
|
|
888
|
+
limit,
|
|
889
|
+
total: counts[type] || 0
|
|
890
|
+
}));
|
|
891
|
+
});
|
|
933
892
|
var getDeviceTypes = (0, import_toolkit3.createSelector)(
|
|
934
893
|
[getAcceptedDevices, getDevicesById],
|
|
935
894
|
({ deviceIds = [] }, devicesById) => Object.keys(
|
|
@@ -2025,6 +1984,9 @@ var organizationSlice = (0, import_toolkit13.createSlice)({
|
|
|
2025
1984
|
setSubscription: (state, action) => {
|
|
2026
1985
|
state.organization.subscription = { ...state.organization.subscription, ...action.payload };
|
|
2027
1986
|
},
|
|
1987
|
+
setProducts: (state, action) => {
|
|
1988
|
+
state.products = action.payload;
|
|
1989
|
+
},
|
|
2028
1990
|
setBillingProfile: (state, action) => {
|
|
2029
1991
|
state.organization.billing_profile = action.payload;
|
|
2030
1992
|
},
|
|
@@ -3101,11 +3063,18 @@ var addStaticGroup = createAppAsyncThunk(
|
|
|
3101
3063
|
)
|
|
3102
3064
|
).catch((err) => commonErrorHandler(err, `Group could not be updated:`, dispatch))
|
|
3103
3065
|
);
|
|
3066
|
+
var removeReportsByGroupName = createAppAsyncThunk(`${sliceName3}/removeReportsByGroupName`, (groupName, { dispatch, getState }) => {
|
|
3067
|
+
if (!groupName) return Promise.resolve();
|
|
3068
|
+
const reports = getDeviceReportsForUser(getState());
|
|
3069
|
+
const filteredReports = reports.filter((report) => report.group !== groupName);
|
|
3070
|
+
dispatch(saveUserSettings({ reports: filteredReports }));
|
|
3071
|
+
});
|
|
3104
3072
|
var removeStaticGroup = createAppAsyncThunk(
|
|
3105
3073
|
`${sliceName3}/removeStaticGroup`,
|
|
3106
3074
|
(groupName, { dispatch }) => general_api_default.delete(`${import_constants4.inventoryApiUrl}/groups/${groupName}`).then(
|
|
3107
3075
|
() => Promise.all([
|
|
3108
3076
|
dispatch(actions3.removeGroup(groupName)),
|
|
3077
|
+
dispatch(removeReportsByGroupName(groupName)),
|
|
3109
3078
|
dispatch(getGroups2()),
|
|
3110
3079
|
dispatch(setSnackbar3({ message: "Group was removed successfully", autoHideDuration: TIMEOUTS.fiveSeconds }))
|
|
3111
3080
|
])
|
|
@@ -3171,6 +3140,7 @@ var removeDynamicGroup = createAppAsyncThunk(`${sliceName3}/removeDynamicGroup`,
|
|
|
3171
3140
|
return general_api_default.delete(`${import_constants4.inventoryApiUrlV2}/filters/${filterId}`).then(
|
|
3172
3141
|
() => Promise.all([
|
|
3173
3142
|
dispatch(actions3.removeGroup(groupName)),
|
|
3143
|
+
dispatch(removeReportsByGroupName(groupName)),
|
|
3174
3144
|
dispatch(setSnackbar3({ message: "Group was removed successfully", autoHideDuration: TIMEOUTS.fiveSeconds }))
|
|
3175
3145
|
])
|
|
3176
3146
|
);
|