@northern.tech/store 0.19.2 → 0.21.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 +3 -3
- package/dist/api/general-api.js +1 -1
- package/dist/api/users-api.js +1 -1
- package/dist/appSlice/constants.cjs +3 -45
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +0 -15
- package/dist/appSlice/constants.d.ts +0 -15
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.js +1 -1
- package/dist/appSlice/thunks.cjs +14 -56
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +13 -13
- package/dist/auth.js +1 -1
- package/dist/{chunk-KJ2SUFAU.js → chunk-4UV7ZJXY.js} +77 -12
- package/dist/chunk-4UV7ZJXY.js.map +1 -0
- package/dist/{chunk-43ZBO3JW.js → chunk-4ZYLGBJU.js} +2 -2
- package/dist/{chunk-45BHMNX6.js → chunk-6PYYMAFS.js} +6 -6
- package/dist/{chunk-ZAZTNDSY.js → chunk-7KSKENLP.js} +3 -3
- package/dist/{chunk-AV7SRATY.js → chunk-7VFPMJCH.js} +6 -6
- package/dist/{chunk-B3C6H2PR.js → chunk-7WIISD2N.js} +17 -14
- package/dist/{chunk-B3C6H2PR.js.map → chunk-7WIISD2N.js.map} +1 -1
- package/dist/{chunk-AJ6DIDO4.js → chunk-DBBE6D36.js} +4 -46
- package/dist/chunk-DBBE6D36.js.map +1 -0
- package/dist/{chunk-RJRZXDVT.js → chunk-GHATCG2U.js} +2 -2
- package/dist/{chunk-42GZ6FGV.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-O7DR57RN.js → chunk-ZGRY42BZ.js} +9 -12
- package/dist/{chunk-O7DR57RN.js.map → chunk-ZGRY42BZ.js.map} +1 -1
- package/dist/{chunk-XOASGJZU.js → chunk-ZVE23XXF.js} +7 -7
- package/dist/{chunk-3NOV7X4M.js → chunk-ZZQJWNQT.js} +3 -1
- package/dist/chunk-ZZQJWNQT.js.map +1 -0
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.cjs +11 -56
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.js +7 -7
- package/dist/constants.cjs +3 -45
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.js +1 -1
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.cjs +14 -56
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +13 -13
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +8 -11
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.js +2 -2
- package/dist/devicesSlice/thunks.cjs +14 -56
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.js +13 -13
- package/dist/liststatehook.js +1 -1
- package/dist/locationutils.js +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/thunks.cjs +14 -56
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +11 -11
- package/dist/onboardingSlice/thunks.cjs +14 -56
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +13 -13
- package/dist/organizationSlice/constants.js +1 -1
- 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 +2 -2
- 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 +87 -2
- 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 +4 -2
- package/dist/organizationSlice/thunks.cjs +97 -71
- 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 +19 -15
- 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 +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.js +3 -3
- package/dist/releasesSlice/thunks.cjs +14 -56
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.js +11 -11
- package/dist/selectors.cjs +14 -56
- 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 +9 -7
- package/dist/sockethook.js +1 -1
- package/dist/store.cjs +3 -0
- package/dist/store.cjs.map +1 -1
- package/dist/store.js +4 -4
- package/dist/storehooks.cjs +91 -69
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +13 -13
- package/dist/thunks.cjs +95 -69
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +1 -1
- package/dist/thunks.d.ts +1 -1
- package/dist/thunks.js +17 -13
- package/dist/useDeploymentDevice.cjs +14 -56
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +13 -13
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.cjs +3 -45
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.js +3 -3
- package/dist/usersSlice/thunks.cjs +14 -56
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +13 -13
- package/dist/utils.cjs +18 -57
- 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 +2 -2
- package/package.json +1 -1
- package/dist/chunk-3NOV7X4M.js.map +0 -1
- package/dist/chunk-AJ6DIDO4.js.map +0 -1
- package/dist/chunk-KJ2SUFAU.js.map +0 -1
- package/dist/chunk-VCEFZTWS.js.map +0 -1
- /package/dist/{chunk-43ZBO3JW.js.map → chunk-4ZYLGBJU.js.map} +0 -0
- /package/dist/{chunk-45BHMNX6.js.map → chunk-6PYYMAFS.js.map} +0 -0
- /package/dist/{chunk-ZAZTNDSY.js.map → chunk-7KSKENLP.js.map} +0 -0
- /package/dist/{chunk-AV7SRATY.js.map → chunk-7VFPMJCH.js.map} +0 -0
- /package/dist/{chunk-RJRZXDVT.js.map → chunk-GHATCG2U.js.map} +0 -0
- /package/dist/{chunk-42GZ6FGV.js.map → chunk-PL6RIFD5.js.map} +0 -0
- /package/dist/{chunk-XOASGJZU.js.map → chunk-ZVE23XXF.js.map} +0 -0
package/dist/thunks.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriv
|
|
|
3
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
|
@@ -3,7 +3,7 @@ export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriv
|
|
|
3
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,
|
|
@@ -134,6 +135,7 @@ import {
|
|
|
134
135
|
submitUserFeedback,
|
|
135
136
|
switchUserOrganization,
|
|
136
137
|
tenantDataDivergedMessage,
|
|
138
|
+
transformProductResponse,
|
|
137
139
|
triggerDeviceUpdate,
|
|
138
140
|
updateDeploymentControlMap,
|
|
139
141
|
updateDeviceAuth,
|
|
@@ -144,7 +146,7 @@ import {
|
|
|
144
146
|
verify2FA,
|
|
145
147
|
verifyEmailComplete,
|
|
146
148
|
verifyEmailStart
|
|
147
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-4UV7ZJXY.js";
|
|
148
150
|
import {
|
|
149
151
|
cancelFileUpload,
|
|
150
152
|
createArtifact,
|
|
@@ -167,21 +169,21 @@ import {
|
|
|
167
169
|
setSingleReleaseTags,
|
|
168
170
|
updateReleaseInfo,
|
|
169
171
|
uploadArtifact
|
|
170
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-7VFPMJCH.js";
|
|
171
173
|
import {
|
|
172
174
|
changeNotificationSetting,
|
|
173
175
|
getDeviceAlerts,
|
|
174
176
|
getDeviceMonitorConfig,
|
|
175
177
|
getIssueCountsByType,
|
|
176
178
|
getLatestDeviceAlerts
|
|
177
|
-
} from "./chunk-
|
|
178
|
-
import "./chunk-
|
|
179
|
+
} from "./chunk-6PYYMAFS.js";
|
|
180
|
+
import "./chunk-7KSKENLP.js";
|
|
179
181
|
import "./chunk-XJLZK4QY.js";
|
|
180
182
|
import "./chunk-IRQRV552.js";
|
|
181
|
-
import "./chunk-
|
|
183
|
+
import "./chunk-GHATCG2U.js";
|
|
182
184
|
import "./chunk-TRKA7XYU.js";
|
|
183
185
|
import "./chunk-YR65C62H.js";
|
|
184
|
-
import "./chunk-
|
|
186
|
+
import "./chunk-TIL2S3JA.js";
|
|
185
187
|
import "./chunk-PVCHKW35.js";
|
|
186
188
|
import "./chunk-CQXDAXQF.js";
|
|
187
189
|
import "./chunk-VODRLEDP.js";
|
|
@@ -190,21 +192,21 @@ import "./chunk-OLKM53RL.js";
|
|
|
190
192
|
import "./chunk-UVTLZV34.js";
|
|
191
193
|
import "./chunk-53W2NRSL.js";
|
|
192
194
|
import "./chunk-NMAXZ3ZY.js";
|
|
193
|
-
import "./chunk-
|
|
194
|
-
import "./chunk-
|
|
195
|
-
import "./chunk-
|
|
196
|
-
import "./chunk-
|
|
195
|
+
import "./chunk-ZVE23XXF.js";
|
|
196
|
+
import "./chunk-PL6RIFD5.js";
|
|
197
|
+
import "./chunk-4ZYLGBJU.js";
|
|
198
|
+
import "./chunk-ZZQJWNQT.js";
|
|
197
199
|
import "./chunk-YO22XLHI.js";
|
|
198
200
|
import "./chunk-JIS4PA3R.js";
|
|
199
201
|
import "./chunk-WR6RQKF5.js";
|
|
200
|
-
import "./chunk-
|
|
202
|
+
import "./chunk-ZGRY42BZ.js";
|
|
201
203
|
import "./chunk-4BHM6WVX.js";
|
|
202
|
-
import "./chunk-
|
|
204
|
+
import "./chunk-7WIISD2N.js";
|
|
203
205
|
import "./chunk-WWED74SG.js";
|
|
204
206
|
import "./chunk-2DYA3X77.js";
|
|
205
207
|
import "./chunk-FAJ3I2UQ.js";
|
|
206
208
|
import "./chunk-ZKAH3APE.js";
|
|
207
|
-
import "./chunk-
|
|
209
|
+
import "./chunk-DBBE6D36.js";
|
|
208
210
|
export {
|
|
209
211
|
abortDeployment,
|
|
210
212
|
addDevicesToGroup,
|
|
@@ -290,6 +292,7 @@ export {
|
|
|
290
292
|
getLatestReleaseInfo,
|
|
291
293
|
getOnboardingState,
|
|
292
294
|
getPermissionSets,
|
|
295
|
+
getProducts,
|
|
293
296
|
getRelease,
|
|
294
297
|
getReleases,
|
|
295
298
|
getReportDataWithoutBackendSupport,
|
|
@@ -365,6 +368,7 @@ export {
|
|
|
365
368
|
submitUserFeedback,
|
|
366
369
|
switchUserOrganization,
|
|
367
370
|
tenantDataDivergedMessage,
|
|
371
|
+
transformProductResponse,
|
|
368
372
|
triggerDeviceUpdate,
|
|
369
373
|
updateDeploymentControlMap,
|
|
370
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,31 +71,17 @@ 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 = {
|
|
@@ -108,14 +90,6 @@ var ADDONS = {
|
|
|
108
90
|
title: "Configure",
|
|
109
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: {
|
|
@@ -123,14 +97,6 @@ var ADDONS = {
|
|
|
123
97
|
title: "Monitor",
|
|
124
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: {
|
|
@@ -138,14 +104,6 @@ var ADDONS = {
|
|
|
138
104
|
title: "Troubleshoot",
|
|
139
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
|
};
|
|
@@ -923,17 +881,14 @@ var getAttributesList = (0, import_toolkit3.createSelector)(
|
|
|
923
881
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
924
882
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers2.duplicateFilter)
|
|
925
883
|
);
|
|
926
|
-
var getDeviceLimitStats = (0, import_toolkit3.createSelector)(
|
|
927
|
-
|
|
928
|
-
(limits,
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
}));
|
|
935
|
-
}
|
|
936
|
-
);
|
|
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
|
+
});
|
|
937
892
|
var getDeviceTypes = (0, import_toolkit3.createSelector)(
|
|
938
893
|
[getAcceptedDevices, getDevicesById],
|
|
939
894
|
({ deviceIds = [] }, devicesById) => Object.keys(
|
|
@@ -2029,6 +1984,9 @@ var organizationSlice = (0, import_toolkit13.createSlice)({
|
|
|
2029
1984
|
setSubscription: (state, action) => {
|
|
2030
1985
|
state.organization.subscription = { ...state.organization.subscription, ...action.payload };
|
|
2031
1986
|
},
|
|
1987
|
+
setProducts: (state, action) => {
|
|
1988
|
+
state.products = action.payload;
|
|
1989
|
+
},
|
|
2032
1990
|
setBillingProfile: (state, action) => {
|
|
2033
1991
|
state.organization.billing_profile = action.payload;
|
|
2034
1992
|
},
|